2015-12-17 03:34:20 +03:00
|
|
|
/**********************************************************************
|
|
|
|
|
*
|
|
|
|
|
*
|
|
|
|
|
*
|
|
|
|
|
**********************************************************************/
|
2016-08-21 02:19:24 +03:00
|
|
|
((typeof define)[0]=='u'?function(f){module.exports=f(require)}:define)
|
|
|
|
|
(function(require){ var module={} // make module AMD/node compatible...
|
2016-08-20 22:49:36 +03:00
|
|
|
/*********************************************************************/
|
2015-12-17 03:34:20 +03:00
|
|
|
|
|
|
|
|
var actions = require('lib/actions')
|
|
|
|
|
var features = require('lib/features')
|
|
|
|
|
|
|
|
|
|
var core = require('features/core')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*********************************************************************/
|
|
|
|
|
// Meta features...
|
|
|
|
|
//
|
|
|
|
|
// XXX need to make a set of basic configurations:
|
|
|
|
|
// - commandline - everything but no UI
|
|
|
|
|
// - viewer-minimal - basic browser compatible viewer
|
|
|
|
|
// - viewer - full viewer
|
|
|
|
|
// - editor - editing capability
|
|
|
|
|
//
|
|
|
|
|
|
2015-12-31 10:37:21 +03:00
|
|
|
core.ImageGridFeatures.Feature('viewer-commandline', [
|
2015-12-17 03:34:20 +03:00
|
|
|
'lifecycle',
|
2015-12-31 07:00:18 +03:00
|
|
|
'commandline',
|
2016-01-03 04:49:00 +03:00
|
|
|
])
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
core.ImageGridFeatures.Feature('viewer-minimal', [
|
|
|
|
|
'lifecycle',
|
|
|
|
|
'base-full',
|
2015-12-31 10:37:21 +03:00
|
|
|
|
2017-03-01 00:44:02 +03:00
|
|
|
'peer',
|
|
|
|
|
|
2015-12-31 10:37:21 +03:00
|
|
|
'image-marks',
|
|
|
|
|
'image-bookmarks',
|
|
|
|
|
|
2016-04-02 19:30:48 +03:00
|
|
|
'fs',
|
2016-05-23 03:42:53 +03:00
|
|
|
'sharp',
|
2016-01-18 05:20:14 +03:00
|
|
|
|
|
|
|
|
'metadata',
|
2015-12-31 10:37:21 +03:00
|
|
|
])
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
core.ImageGridFeatures.Feature('viewer-testing', [
|
|
|
|
|
'viewer-commandline',
|
2016-01-03 04:49:00 +03:00
|
|
|
'viewer-minimal',
|
2015-12-31 10:37:21 +03:00
|
|
|
|
2017-03-01 00:44:02 +03:00
|
|
|
'peer',
|
|
|
|
|
|
2016-03-28 22:07:38 +03:00
|
|
|
'workspace',
|
2015-12-17 03:34:20 +03:00
|
|
|
'ui',
|
2016-04-02 17:34:25 +03:00
|
|
|
'keyboard',
|
2015-12-17 03:34:20 +03:00
|
|
|
|
|
|
|
|
// features...
|
2017-01-13 06:35:11 +03:00
|
|
|
'ui-cursor',
|
|
|
|
|
'ui-animation',
|
|
|
|
|
|
2016-04-02 19:30:48 +03:00
|
|
|
'ui-single-image',
|
2017-05-03 15:25:44 +03:00
|
|
|
'ui-partial-ribbons',
|
2017-05-04 00:46:11 +03:00
|
|
|
/*/ XXX has bugs...
|
|
|
|
|
'ui-partial-ribbons-2',
|
|
|
|
|
'-ui-partial-ribbons',
|
|
|
|
|
//*/
|
2017-05-04 16:01:42 +03:00
|
|
|
/*/ XXX EXPERIMENTAL...
|
2017-04-26 00:32:22 +03:00
|
|
|
'ui-partial-ribbons-vdom',
|
2017-05-03 15:25:44 +03:00
|
|
|
'-ui-partial-ribbons',
|
2017-04-30 20:07:55 +03:00
|
|
|
'-ui-partial-ribbons-2',
|
2017-05-01 03:34:57 +03:00
|
|
|
//*/
|
2015-12-17 03:34:20 +03:00
|
|
|
|
2016-04-02 19:30:48 +03:00
|
|
|
'marks',
|
2016-12-28 23:36:32 +03:00
|
|
|
'ui-range',
|
2015-12-28 07:09:06 +03:00
|
|
|
|
|
|
|
|
// local storage + url...
|
2015-12-17 03:34:20 +03:00
|
|
|
'config-local-storage',
|
2015-12-28 07:09:06 +03:00
|
|
|
'ui-url-hash',
|
2016-04-02 19:30:48 +03:00
|
|
|
'url-history',
|
2015-12-17 03:34:20 +03:00
|
|
|
|
2015-12-28 07:09:06 +03:00
|
|
|
|
2016-01-05 01:13:20 +03:00
|
|
|
'external-editor',
|
|
|
|
|
|
2017-03-26 18:56:17 +03:00
|
|
|
'ui-preview-filters',
|
|
|
|
|
|
2015-12-17 03:34:20 +03:00
|
|
|
// chrome...
|
2016-11-15 22:15:14 +03:00
|
|
|
'ui-app-buttons',
|
|
|
|
|
'ui-buttons',
|
2016-11-04 23:00:34 +03:00
|
|
|
'ui-progress',
|
2016-02-10 06:03:59 +03:00
|
|
|
'ui-status-log',
|
2016-02-10 05:25:14 +03:00
|
|
|
'ui-scale',
|
2015-12-17 03:34:20 +03:00
|
|
|
'ui-animation',
|
|
|
|
|
'ui-bounds-indicators',
|
|
|
|
|
'ui-current-image-indicator',
|
|
|
|
|
// NOTE: only one of these can be set...
|
|
|
|
|
'ui-current-image-indicator-hide-on-fast-screen-nav',
|
|
|
|
|
//'ui-current-image-indicator-hide-on-screen-nav',
|
2017-04-30 20:07:55 +03:00
|
|
|
//*/
|
2015-12-20 20:59:19 +03:00
|
|
|
//'ui-base-ribbon-indicator',
|
|
|
|
|
'ui-passive-base-ribbon-indicator',
|
2016-02-18 04:16:55 +03:00
|
|
|
'ui-status-bar',
|
2015-12-17 03:34:20 +03:00
|
|
|
'ui-url-history',
|
|
|
|
|
|
2015-12-17 03:44:07 +03:00
|
|
|
'ui-browse-actions',
|
2016-03-05 02:45:02 +03:00
|
|
|
'ui-context-action-menu',
|
2015-12-17 03:44:07 +03:00
|
|
|
'ui-widget-test',
|
|
|
|
|
|
2016-03-12 06:24:35 +03:00
|
|
|
// slideshow...
|
|
|
|
|
'ui-slideshow',
|
|
|
|
|
|
2015-12-20 20:59:19 +03:00
|
|
|
// ui control...
|
2016-12-26 03:13:55 +03:00
|
|
|
//'ui-clickable',
|
2015-12-18 07:55:14 +03:00
|
|
|
//'ui-direct-control-jquery',
|
2015-12-26 06:44:43 +03:00
|
|
|
// XXX BUG: on touch down and first move this gets offset by a distance
|
|
|
|
|
// not sure why...
|
2015-12-26 23:21:14 +03:00
|
|
|
// ...seems to be related to scaling
|
|
|
|
|
//'ui-direct-control-gsap',
|
2016-05-09 03:32:46 +03:00
|
|
|
//'ui-direct-control-hammer',
|
|
|
|
|
//'ui-indirect-control',
|
|
|
|
|
'ui-control',
|
2015-12-18 07:55:14 +03:00
|
|
|
|
2015-12-17 03:34:20 +03:00
|
|
|
// experimental and optional features...
|
|
|
|
|
//'auto-single-image',
|
2015-12-20 20:59:19 +03:00
|
|
|
//'auto-ribbon',
|
2015-12-17 03:34:20 +03:00
|
|
|
|
2015-12-31 10:37:21 +03:00
|
|
|
'ui-app-control',
|
2015-12-28 07:09:06 +03:00
|
|
|
|
2015-12-17 03:34:20 +03:00
|
|
|
// XXX not yet fully tested...
|
2017-01-02 01:23:33 +03:00
|
|
|
'journal',
|
2016-05-05 02:25:44 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
'fail-safe-devtools',
|
2016-05-11 05:00:40 +03:00
|
|
|
|
|
|
|
|
'-experiments',
|
2015-12-17 03:34:20 +03:00
|
|
|
])
|
|
|
|
|
|
2016-01-03 04:49:00 +03:00
|
|
|
/*
|
2015-12-17 03:34:20 +03:00
|
|
|
core.ImageGridFeatures.Feature('viewer-minimal', [
|
|
|
|
|
'base',
|
|
|
|
|
'ui',
|
|
|
|
|
'ui-ribbon-align-to-order',
|
|
|
|
|
'ui-animation',
|
|
|
|
|
'ui-bounds-indicators',
|
|
|
|
|
'ui-current-image-indicator',
|
|
|
|
|
'ui-current-image-indicator-hide-on-fast-screen-nav',
|
|
|
|
|
//'ui-current-image-indicator-hide-on-screen-nav',
|
|
|
|
|
'ui-action-tree',
|
|
|
|
|
])
|
2016-01-03 04:49:00 +03:00
|
|
|
*/
|
2015-12-17 03:34:20 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**********************************************************************
|
2016-08-20 22:49:36 +03:00
|
|
|
* vim:set ts=4 sw=4 : */ return module })
|