define(['exports', './lib/array-helpers', './lib/canvas-helpers', './lib/device-helper', './lib/dom-helper', './lib/drag-manager', './lib/dataset-factory', './lib/dataset', './lib/datasource', './lib/dynamic-view-factory', './lib/dynamic-view-loader', './lib/group-worker', './lib/input-listener', './lib/search-filter', './lib/template-parser', './lib/template-parser-contstants', './lib/validation-dom', './lib/validation-rules', './lib/view-helper', './lib/view-model', './lib/process-manager', 'aurelia-pal'], function (exports, _arrayHelpers, _canvasHelpers, _deviceHelper, _domHelper, _dragManager, _datasetFactory, _dataset, _datasource, _dynamicViewFactory, _dynamicViewLoader, _groupWorker, _inputListener, _searchFilter, _templateParser, _templateParserContstants, _validationDom, _validationRules, _viewHelper, _viewModel, _processManager, _aureliaPal) {
    'use strict';

    exports.__esModule = true;
    Object.keys(_arrayHelpers).forEach(function (key) {
        if (key === "default" || key === "__esModule") return;
        Object.defineProperty(exports, key, {
            enumerable: true,
            get: function () {
                return _arrayHelpers[key];
            }
        });
    });
    Object.keys(_canvasHelpers).forEach(function (key) {
        if (key === "default" || key === "__esModule") return;
        Object.defineProperty(exports, key, {
            enumerable: true,
            get: function () {
                return _canvasHelpers[key];
            }
        });
    });
    Object.keys(_deviceHelper).forEach(function (key) {
        if (key === "default" || key === "__esModule") return;
        Object.defineProperty(exports, key, {
            enumerable: true,
            get: function () {
                return _deviceHelper[key];
            }
        });
    });
    Object.keys(_domHelper).forEach(function (key) {
        if (key === "default" || key === "__esModule") return;
        Object.defineProperty(exports, key, {
            enumerable: true,
            get: function () {
                return _domHelper[key];
            }
        });
    });
    Object.keys(_dragManager).forEach(function (key) {
        if (key === "default" || key === "__esModule") return;
        Object.defineProperty(exports, key, {
            enumerable: true,
            get: function () {
                return _dragManager[key];
            }
        });
    });
    Object.keys(_datasetFactory).forEach(function (key) {
        if (key === "default" || key === "__esModule") return;
        Object.defineProperty(exports, key, {
            enumerable: true,
            get: function () {
                return _datasetFactory[key];
            }
        });
    });
    Object.keys(_dataset).forEach(function (key) {
        if (key === "default" || key === "__esModule") return;
        Object.defineProperty(exports, key, {
            enumerable: true,
            get: function () {
                return _dataset[key];
            }
        });
    });
    Object.keys(_datasource).forEach(function (key) {
        if (key === "default" || key === "__esModule") return;
        Object.defineProperty(exports, key, {
            enumerable: true,
            get: function () {
                return _datasource[key];
            }
        });
    });
    Object.keys(_dynamicViewFactory).forEach(function (key) {
        if (key === "default" || key === "__esModule") return;
        Object.defineProperty(exports, key, {
            enumerable: true,
            get: function () {
                return _dynamicViewFactory[key];
            }
        });
    });
    Object.keys(_dynamicViewLoader).forEach(function (key) {
        if (key === "default" || key === "__esModule") return;
        Object.defineProperty(exports, key, {
            enumerable: true,
            get: function () {
                return _dynamicViewLoader[key];
            }
        });
    });
    Object.keys(_groupWorker).forEach(function (key) {
        if (key === "default" || key === "__esModule") return;
        Object.defineProperty(exports, key, {
            enumerable: true,
            get: function () {
                return _groupWorker[key];
            }
        });
    });
    Object.keys(_inputListener).forEach(function (key) {
        if (key === "default" || key === "__esModule") return;
        Object.defineProperty(exports, key, {
            enumerable: true,
            get: function () {
                return _inputListener[key];
            }
        });
    });
    Object.keys(_searchFilter).forEach(function (key) {
        if (key === "default" || key === "__esModule") return;
        Object.defineProperty(exports, key, {
            enumerable: true,
            get: function () {
                return _searchFilter[key];
            }
        });
    });
    Object.keys(_templateParser).forEach(function (key) {
        if (key === "default" || key === "__esModule") return;
        Object.defineProperty(exports, key, {
            enumerable: true,
            get: function () {
                return _templateParser[key];
            }
        });
    });
    Object.keys(_templateParserContstants).forEach(function (key) {
        if (key === "default" || key === "__esModule") return;
        Object.defineProperty(exports, key, {
            enumerable: true,
            get: function () {
                return _templateParserContstants[key];
            }
        });
    });
    Object.keys(_validationDom).forEach(function (key) {
        if (key === "default" || key === "__esModule") return;
        Object.defineProperty(exports, key, {
            enumerable: true,
            get: function () {
                return _validationDom[key];
            }
        });
    });
    Object.keys(_validationRules).forEach(function (key) {
        if (key === "default" || key === "__esModule") return;
        Object.defineProperty(exports, key, {
            enumerable: true,
            get: function () {
                return _validationRules[key];
            }
        });
    });
    Object.keys(_viewHelper).forEach(function (key) {
        if (key === "default" || key === "__esModule") return;
        Object.defineProperty(exports, key, {
            enumerable: true,
            get: function () {
                return _viewHelper[key];
            }
        });
    });
    Object.keys(_viewModel).forEach(function (key) {
        if (key === "default" || key === "__esModule") return;
        Object.defineProperty(exports, key, {
            enumerable: true,
            get: function () {
                return _viewModel[key];
            }
        });
    });
    Object.keys(_processManager).forEach(function (key) {
        if (key === "default" || key === "__esModule") return;
        Object.defineProperty(exports, key, {
            enumerable: true,
            get: function () {
                return _processManager[key];
            }
        });
    });
    exports.configure = configure;
    function configure(aurelia, configCallback) {
        const builder = aurelia.container.get(ConfigBuilder);

        if (configCallback !== undefined && typeof configCallback === 'function') {
            configCallback(builder);
        }

        aurelia.globalResources(builder.globalResources);
    }

    let ConfigBuilder = class ConfigBuilder {
        constructor() {
            this.globalResources = [];
        }

        useAll() {
            return this.useAssistant().useIcons().useDynamicScreens().useMasterDetail().useCollections().useToolItems().useTreeview().useErrors().useMessages().useLookups().useVisualization();
        }

        useAssistant() {
            this.globalResources.push(_aureliaPal.PLATFORM.moduleName('./components/assistant/assistant'));
            return this;
        }

        useIcons() {
            this.globalResources.push(_aureliaPal.PLATFORM.moduleName('./components/icons/icon.html'));
            this.globalResources.push(_aureliaPal.PLATFORM.moduleName('./components/icons/icons.html'));
            return this;
        }

        useDynamicScreens() {
            this.globalResources.push(_aureliaPal.PLATFORM.moduleName('./components/pragma-template/pragma-template'));
            this.globalResources.push(_aureliaPal.PLATFORM.moduleName('./components/pragma-form/pragma-form'));
            this.globalResources.push(_aureliaPal.PLATFORM.moduleName('./components/pragma-details/pragma-details'));
            return this;
        }

        useMasterDetail() {
            this.globalResources.push(_aureliaPal.PLATFORM.moduleName('./components/master-detail/master-detail'));
            return this;
        }

        useCollections() {
            this.globalResources.push(_aureliaPal.PLATFORM.moduleName('./custom-attributes/selectable'));
            this.globalResources.push(_aureliaPal.PLATFORM.moduleName('./custom-attributes/model-selector'));
            return this;
        }

        useToolItems() {
            this.globalResources.push(_aureliaPal.PLATFORM.moduleName('./components/pragma-dropdown-menu/pragma-dropdown-menu'));
            this.globalResources.push(_aureliaPal.PLATFORM.moduleName('./components/pragma-options-toolbar/pragma-options-toolbar'));
            return this;
        }

        useTreeview() {
            this.globalResources.push(_aureliaPal.PLATFORM.moduleName('./components/pragma-treeview/pragma-treeview'));
            return this;
        }

        useErrors() {
            this.globalResources.push(_aureliaPal.PLATFORM.moduleName('./components/pragma-errors/pragma-errors'));
            return this;
        }

        useMessages() {
            this.globalResources.push(_aureliaPal.PLATFORM.moduleName('./components/pragma-messages/pragma-messages'));
            return this;
        }

        useLookups() {
            this.globalResources.push(_aureliaPal.PLATFORM.moduleName('./components/pragma-lookup/pragma-lookup'));
            return this;
        }

        useVisualization() {
            this.globalResources.push(_aureliaPal.PLATFORM.moduleName('./components/visualization/visualization'));
            return this;
        }
    };
});
//# sourceMappingURL=data:application/json;charset=utf-8;base64, 