@farris/jit-engine 1.3.183 → 1.3.185
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/mobileapp/vue/code-generator/devkit-manager/app-indexvue-manager.js +1 -1
- package/lib/mobileapp/vue/code-generator/devkit-manager/app-indexvue-manager.js.map +1 -1
- package/lib/mobileapp/vue/code-generator/devkit-manager/app-router-manager.js +1 -1
- package/lib/mobileapp/vue/code-generator/devkit-manager/app-router-manager.js.map +1 -1
- package/lib/mobileapp/vue/code-generator/devkit-manager/index.js +1 -1
- package/lib/mobileapp/vue/code-generator/file-generator/app-generator/index.js +1 -1
- package/lib/mobileapp/vue/code-generator/file-generator/app-generator/vue-app-expression.js.map +1 -1
- package/lib/mobileapp/vue/code-generator/file-generator/app-generator/vue-app-validation-rule.js.map +1 -1
- package/lib/mobileapp/vue/code-generator/file-generator/index.js +1 -1
- package/lib/mobileapp/vue/code-generator/file-generator/page-generator/page-component-generator.js +2 -1
- package/lib/mobileapp/vue/code-generator/file-generator/page-generator/page-component-generator.js.map +1 -1
- package/lib/mobileapp/vue/code-generator/file-generator/page-generator/page-form-generator.js +1 -1
- package/lib/mobileapp/vue/code-generator/file-generator/page-generator/page-form-generator.js.map +1 -1
- package/lib/mobileapp/vue/code-generator/file-generator/project-generator/package-json-generator.js.map +1 -1
- package/lib/mobileapp/vue/code-generator/file-generator-path-manager.js +1 -1
- package/lib/mobileapp/vue/code-generator/index.js +1 -1
- package/lib/mobileapp/vue/code-generator/page-manager/page-component-manager.js +4 -0
- package/lib/mobileapp/vue/code-generator/page-manager/page-component-manager.js.map +1 -1
- package/lib/mobileapp/vue/code-generator/workspace-manager/workspace-file-manager.js +1 -1
- package/lib/mobileapp/vue/domstructure/devkit/befproxy/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/devkit/component/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/devkit/component/vue-component.js +1 -1
- package/lib/mobileapp/vue/domstructure/devkit/component/vue-component.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/devkit/form/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/devkit/form/vue-control.js +1 -1
- package/lib/mobileapp/vue/domstructure/devkit/form/vue-control.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/devkit/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/devkit/statemachine/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/devkit/states/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/devkit/viewmodel/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/internal-entity/page-flow/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/internal-entity/vue-page-component-generate-parameter.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/action-bar/action-bar.js +57 -0
- package/lib/mobileapp/vue/domstructure/ui/basic/action-bar/action-bar.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/basic/action-bar/index.js +14 -0
- package/lib/mobileapp/vue/domstructure/ui/basic/action-bar/index.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/basic/button/button.js +39 -0
- package/lib/mobileapp/vue/domstructure/ui/basic/button/button.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/basic/button/index.js +14 -0
- package/lib/mobileapp/vue/domstructure/ui/basic/button/index.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/basic/image/image.js +27 -0
- package/lib/mobileapp/vue/domstructure/ui/basic/image/image.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/basic/image/index.js +14 -0
- package/lib/mobileapp/vue/domstructure/ui/basic/image/index.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/basic/index.js +21 -0
- package/lib/mobileapp/vue/domstructure/ui/basic/index.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/basic/nav-bar/index.js +14 -0
- package/lib/mobileapp/vue/domstructure/ui/basic/nav-bar/index.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/basic/nav-bar/vue-nav-bar.js +45 -0
- package/lib/mobileapp/vue/domstructure/ui/basic/nav-bar/vue-nav-bar.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/basic/search/index.js +14 -0
- package/lib/mobileapp/vue/domstructure/ui/basic/search/index.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/basic/search/search.js +39 -0
- package/lib/mobileapp/vue/domstructure/ui/basic/search/search.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/basic/sidebar/index.js +15 -0
- package/lib/mobileapp/vue/domstructure/ui/basic/sidebar/index.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/basic/sidebar/sidebar-item.js +42 -0
- package/lib/mobileapp/vue/domstructure/ui/basic/sidebar/sidebar-item.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/basic/sidebar/sidebar.js +42 -0
- package/lib/mobileapp/vue/domstructure/ui/basic/sidebar/sidebar.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/basic/tab/index.js +14 -0
- package/lib/mobileapp/vue/domstructure/ui/basic/tab/index.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/basic/tab/vue-tab-bar.js +36 -0
- package/lib/mobileapp/vue/domstructure/ui/basic/tab/vue-tab-bar.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/basic/toolbar/index.js +16 -0
- package/lib/mobileapp/vue/domstructure/ui/basic/toolbar/index.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/basic/toolbar/vue-toolbar-area.js +35 -0
- package/lib/mobileapp/vue/domstructure/ui/basic/toolbar/vue-toolbar-area.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/basic/toolbar/vue-toolbar-item.js +32 -0
- package/lib/mobileapp/vue/domstructure/ui/basic/toolbar/vue-toolbar-item.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/basic/toolbar/vue-toolbar.js +42 -0
- package/lib/mobileapp/vue/domstructure/ui/basic/toolbar/vue-toolbar.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/business/approval/approval-info.js +27 -0
- package/lib/mobileapp/vue/domstructure/ui/business/approval/approval-info.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/business/approval/approval-logs.js +46 -0
- package/lib/mobileapp/vue/domstructure/ui/business/approval/approval-logs.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/business/approval/index.js +15 -0
- package/lib/mobileapp/vue/domstructure/ui/business/approval/index.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment-entry.js +27 -0
- package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment-entry.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment-file.js +29 -0
- package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment-file.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment-uploader.js +27 -0
- package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment-uploader.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment.js +29 -0
- package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/business/attachment/image-uploader.js +27 -0
- package/lib/mobileapp/vue/domstructure/ui/business/attachment/image-uploader.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/business/attachment/index.js +18 -0
- package/lib/mobileapp/vue/domstructure/ui/business/attachment/index.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/business/filter/filter.js +39 -0
- package/lib/mobileapp/vue/domstructure/ui/business/filter/filter.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/business/filter/index.js +14 -0
- package/lib/mobileapp/vue/domstructure/ui/business/filter/index.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/business/index.js +16 -0
- package/lib/mobileapp/vue/domstructure/ui/business/index.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/common/vue-position.js +1 -1
- package/lib/mobileapp/vue/domstructure/ui/common/vue-position.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/common/vue-size.js +8 -2
- package/lib/mobileapp/vue/domstructure/ui/common/vue-size.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/common/vue-state.js +6 -3
- package/lib/mobileapp/vue/domstructure/ui/common/vue-state.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/common/vue-toolbar.js +23 -0
- package/lib/mobileapp/vue/domstructure/ui/common/vue-toolbar.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/common/vue-visible.js +3 -49
- package/lib/mobileapp/vue/domstructure/ui/common/vue-visible.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/container/card.js +36 -0
- package/lib/mobileapp/vue/domstructure/ui/container/card.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/container/field-set.js +27 -0
- package/lib/mobileapp/vue/domstructure/ui/container/field-set.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/container/index.js +10 -1
- package/lib/mobileapp/vue/domstructure/ui/container/index.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/container/section/index.js +14 -0
- package/lib/mobileapp/vue/domstructure/ui/container/section/index.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/container/section/vue-section.js +46 -0
- package/lib/mobileapp/vue/domstructure/ui/container/section/vue-section.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/container/vue-container.js +25 -2
- package/lib/mobileapp/vue/domstructure/ui/container/vue-container.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/container/vue-content-container.js +9 -17
- package/lib/mobileapp/vue/domstructure/ui/container/vue-content-container.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/container/vue-float-container.js +2 -2
- package/lib/mobileapp/vue/domstructure/ui/container/vue-float-container.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/container/vue-tab-page.js +27 -0
- package/lib/mobileapp/vue/domstructure/ui/container/vue-tab-page.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/container/vue-tabs.js +27 -0
- package/lib/mobileapp/vue/domstructure/ui/container/vue-tabs.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/display/banner/index.js +14 -0
- package/lib/mobileapp/vue/domstructure/ui/display/banner/index.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/display/banner/vue-banner.js +27 -0
- package/lib/mobileapp/vue/domstructure/ui/display/banner/vue-banner.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/display/calendar/calendar.js +27 -0
- package/lib/mobileapp/vue/domstructure/ui/display/calendar/calendar.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/display/calendar/index.js +15 -0
- package/lib/mobileapp/vue/domstructure/ui/display/calendar/index.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/display/calendar/schedule.js +32 -0
- package/lib/mobileapp/vue/domstructure/ui/display/calendar/schedule.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/display/html-template/html-template.js +27 -0
- package/lib/mobileapp/vue/domstructure/ui/display/html-template/html-template.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/display/html-template/index.js +14 -0
- package/lib/mobileapp/vue/domstructure/ui/display/html-template/index.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/display/index.js +19 -0
- package/lib/mobileapp/vue/domstructure/ui/display/index.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/display/list-view/index.js +14 -0
- package/lib/mobileapp/vue/domstructure/ui/display/list-view/index.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/display/list-view/vue-list-view.js +55 -0
- package/lib/mobileapp/vue/domstructure/ui/display/list-view/vue-list-view.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/display/staff-info/index.js +14 -0
- package/lib/mobileapp/vue/domstructure/ui/display/staff-info/index.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/display/staff-info/staff-info.js +49 -0
- package/lib/mobileapp/vue/domstructure/ui/display/staff-info/staff-info.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/display/static-text/index.js +14 -0
- package/lib/mobileapp/vue/domstructure/ui/display/static-text/index.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/display/static-text/static-text.js +27 -0
- package/lib/mobileapp/vue/domstructure/ui/display/static-text/static-text.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/index.js +5 -33
- package/lib/mobileapp/vue/domstructure/ui/index.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/area-picker.js +27 -0
- package/lib/mobileapp/vue/domstructure/ui/input/area-picker.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/input/calendar-input.js +28 -0
- package/lib/mobileapp/vue/domstructure/ui/input/calendar-input.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/input/checkbox-group.js +36 -0
- package/lib/mobileapp/vue/domstructure/ui/input/checkbox-group.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/input/common.js +83 -0
- package/lib/mobileapp/vue/domstructure/ui/input/common.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/input/date-picker.js +34 -0
- package/lib/mobileapp/vue/domstructure/ui/input/date-picker.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/input/html-preview.js +27 -0
- package/lib/mobileapp/vue/domstructure/ui/input/html-preview.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/input/index.js +31 -0
- package/lib/mobileapp/vue/domstructure/ui/input/index.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/input/lookup-department.js +27 -0
- package/lib/mobileapp/vue/domstructure/ui/input/lookup-department.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/input/lookup-employee.js +27 -0
- package/lib/mobileapp/vue/domstructure/ui/input/lookup-employee.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/input/lookup-input.js +33 -0
- package/lib/mobileapp/vue/domstructure/ui/input/lookup-input.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/input/number.js +27 -0
- package/lib/mobileapp/vue/domstructure/ui/input/number.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/input/picker.js +36 -0
- package/lib/mobileapp/vue/domstructure/ui/input/picker.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/input/radio-group.js +36 -0
- package/lib/mobileapp/vue/domstructure/ui/input/radio-group.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/input/rich-text-editor.js +27 -0
- package/lib/mobileapp/vue/domstructure/ui/input/rich-text-editor.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/input/switch-input.js +27 -0
- package/lib/mobileapp/vue/domstructure/ui/input/switch-input.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/input/text-area.js +42 -0
- package/lib/mobileapp/vue/domstructure/ui/input/text-area.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/input/text-box-external.js +27 -0
- package/lib/mobileapp/vue/domstructure/ui/input/text-box-external.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/input/text-box.js +27 -0
- package/lib/mobileapp/vue/domstructure/ui/input/text-box.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/input/text-scan.js +27 -0
- package/lib/mobileapp/vue/domstructure/ui/input/text-scan.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/input/text-telphone.js +27 -0
- package/lib/mobileapp/vue/domstructure/ui/input/text-telphone.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/vue-base-component.js +51 -7
- package/lib/mobileapp/vue/domstructure/ui/vue-base-component.js.map +1 -1
- package/lib/mobileapp/vue/jit-engine-executor/index.js +1 -1
- package/lib/mobileapp/vue/pug-generator/index.js +1 -1
- package/lib/mobileapp/vue/pug-template/config/ui-template-config.js +72 -67
- package/lib/mobileapp/vue/pug-template/config/ui-template-config.js.map +1 -1
- package/lib/mobileapp/vue/utility/devkit/vue-component-creator.js +2 -0
- package/lib/mobileapp/vue/utility/devkit/vue-component-creator.js.map +1 -1
- package/lib/mobileapp/vue/utility/devkit/vue-form-creator.js +46 -30
- package/lib/mobileapp/vue/utility/devkit/vue-form-creator.js.map +1 -1
- package/lib/mobileapp/vue/utility/devkit/vue-viewmodels-creator.js.map +1 -1
- package/lib/mobileapp/vue/utility/index.js +1 -1
- package/lib/mobileapp/vue/utility/parameter-collector/page-component-collector/index.js +1 -1
- package/lib/mobileapp/vue/utility/template-generator/page-child-component-generator.js +1 -4
- package/lib/mobileapp/vue/utility/template-generator/page-child-component-generator.js.map +1 -1
- package/lib/mobileapp/vue/utility/template-generator/page-component-external-generator.js +39 -0
- package/lib/mobileapp/vue/utility/template-generator/page-component-external-generator.js.map +1 -0
- package/lib/mobileapp/vue/utility/type-convert.js +2 -1
- package/lib/mobileapp/vue/utility/type-convert.js.map +1 -1
- package/lib/mobileapp/vue/utility/vue-content-type-creator.js +47 -40
- package/lib/mobileapp/vue/utility/vue-content-type-creator.js.map +1 -1
- package/lib/mobileapp/vue/utility/vue-object-creator.js +1 -1
- package/lib/template/ui/mobilevue/area-picker.pug +29 -14
- package/lib/template/ui/mobilevue/button.pug +18 -12
- package/lib/template/ui/mobilevue/calendar-input.pug +41 -10
- package/lib/template/ui/mobilevue/card.pug +11 -8
- package/lib/template/ui/mobilevue/checkbox-group.pug +29 -14
- package/lib/template/ui/mobilevue/container.pug +10 -0
- package/lib/template/ui/mobilevue/contentcontainer.pug +6 -6
- package/lib/template/ui/mobilevue/date-time-picker.pug +33 -15
- package/lib/template/ui/mobilevue/field-set.pug +14 -33
- package/lib/template/ui/mobilevue/filter.pug +12 -9
- package/lib/template/ui/mobilevue/fm-staff-info.pug +10 -0
- package/lib/template/ui/mobilevue/form.pug +6 -10
- package/lib/template/ui/mobilevue/list-view.pug +39 -27
- package/lib/template/ui/mobilevue/lookup-department.pug +26 -14
- package/lib/template/ui/mobilevue/lookup-employee.pug +26 -14
- package/lib/template/ui/mobilevue/lookup-input.pug +29 -19
- package/lib/template/ui/mobilevue/nav-bar.pug +7 -5
- package/lib/template/ui/mobilevue/number.pug +24 -15
- package/lib/template/ui/mobilevue/page-content-container.pug +10 -0
- package/lib/template/ui/mobilevue/page-footer-container.pug +10 -0
- package/lib/template/ui/mobilevue/page-header-container.pug +10 -0
- package/lib/template/ui/mobilevue/picker.pug +31 -15
- package/lib/template/ui/mobilevue/radio-group.pug +28 -14
- package/lib/template/ui/mobilevue/rich-text-editor.pug +33 -22
- package/lib/template/ui/mobilevue/search.pug +20 -0
- package/lib/template/ui/mobilevue/section.pug +2 -6
- package/lib/template/ui/mobilevue/switch.pug +32 -10
- package/lib/template/ui/mobilevue/tab-bar.pug +12 -6
- package/lib/template/ui/mobilevue/tabpage.pug +12 -7
- package/lib/template/ui/mobilevue/tabs.pug +11 -7
- package/lib/template/ui/mobilevue/text-area.pug +23 -14
- package/lib/template/ui/mobilevue/text-box-external.pug +24 -14
- package/lib/template/ui/mobilevue/text-box.pug +24 -15
- package/lib/template/ui/mobilevue/text-scan.pug +40 -14
- package/lib/template/ui/mobilevue/text-telphone.pug +22 -13
- package/lib/template/ui/mobilevue/toolbar-area.pug +8 -5
- package/lib/template/ui/mobilevue/toolbar-item.pug +9 -1
- package/package.json +3 -2
- package/lib/mobileapp/vue/static/.gitignore +0 -13
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VueAttachmentFile = void 0;
|
|
4
|
+
const lodash_1 = require("lodash");
|
|
5
|
+
const vue_base_component_1 = require("../../vue-base-component");
|
|
6
|
+
class VueAttachmentFile extends vue_base_component_1.VueBaseComponent {
|
|
7
|
+
constructor(param) {
|
|
8
|
+
super(param);
|
|
9
|
+
let obj;
|
|
10
|
+
if (typeof param === 'string') {
|
|
11
|
+
obj = JSON.parse(param);
|
|
12
|
+
}
|
|
13
|
+
else {
|
|
14
|
+
obj = param;
|
|
15
|
+
}
|
|
16
|
+
if (!obj) {
|
|
17
|
+
return;
|
|
18
|
+
}
|
|
19
|
+
const keys = `title,visible,attachmentPath,disabled,removable,remove,afterAppendFile,
|
|
20
|
+
binding,parentDirName,rootId,maxSize,maxCount,allowMaxSize,allowMaxCount,uploadOptions,data,sizeList`;
|
|
21
|
+
Object.keys(obj).forEach((key) => {
|
|
22
|
+
if (keys.includes(key)) {
|
|
23
|
+
this[key] = lodash_1.isObject(obj[key]) ? JSON.stringify(obj[key]).replace(/"/g, "'") : obj[key];
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
exports.VueAttachmentFile = VueAttachmentFile;
|
|
29
|
+
//# sourceMappingURL=attachment-file.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"attachment-file.js","sourceRoot":"","sources":["../../../../../../../src/mobileapp/vue/domstructure/ui/business/attachment/attachment-file.ts"],"names":[],"mappings":";;;AAAA,mCAAiC;AACjC,iEAA4D;AAE5D,MAAa,iBAAkB,SAAQ,qCAAgB;IAYrD,YAAY,KAAmB;QAC7B,KAAK,CAAC,KAAK,CAAC,CAAA;QACZ,IAAI,GAAQ,CAAA;QACZ,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;YAC7B,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAA;SACxB;aAAM;YACL,GAAG,GAAG,KAAK,CAAA;SACZ;QAED,IAAI,CAAC,GAAG,EAAE;YACR,OAAM;SACP;QAED,MAAM,IAAI,GAAE;yGACyF,CAAA;QACrG,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE;YAC/B,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBACtB,IAAI,CAAC,GAAG,CAAC,GAAI,iBAAQ,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAA;aACzF;QACH,CAAC,CAAC,CAAA;IACJ,CAAC;CACF;AAjCD,8CAiCC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VueAttachmentUploader = void 0;
|
|
4
|
+
const attachment_file_1 = require("./attachment-file");
|
|
5
|
+
class VueAttachmentUploader extends attachment_file_1.VueAttachmentFile {
|
|
6
|
+
constructor(param) {
|
|
7
|
+
super(param);
|
|
8
|
+
let obj;
|
|
9
|
+
if (typeof param === 'string') {
|
|
10
|
+
obj = JSON.parse(param);
|
|
11
|
+
}
|
|
12
|
+
else {
|
|
13
|
+
obj = param;
|
|
14
|
+
}
|
|
15
|
+
if (!obj) {
|
|
16
|
+
return;
|
|
17
|
+
}
|
|
18
|
+
const keys = `title,binding`;
|
|
19
|
+
Object.keys(obj).forEach((key) => {
|
|
20
|
+
if (keys.includes(key)) {
|
|
21
|
+
this[key] = obj[key];
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
exports.VueAttachmentUploader = VueAttachmentUploader;
|
|
27
|
+
//# sourceMappingURL=attachment-uploader.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"attachment-uploader.js","sourceRoot":"","sources":["../../../../../../../src/mobileapp/vue/domstructure/ui/business/attachment/attachment-uploader.ts"],"names":[],"mappings":";;;AAAA,uDAAqD;AAErD,MAAa,qBAAsB,SAAQ,mCAAiB;IAE1D,YAAY,KAAmB;QAC7B,KAAK,CAAC,KAAK,CAAC,CAAA;QACZ,IAAI,GAAQ,CAAA;QACZ,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;YAC7B,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAA;SACxB;aAAM;YACL,GAAG,GAAG,KAAK,CAAA;SACZ;QAED,IAAI,CAAC,GAAG,EAAE;YACR,OAAM;SACP;QAED,MAAM,IAAI,GAAG,eAAe,CAAA;QAC5B,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE;YAC/B,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBACtB,IAAI,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAA;aACrB;QACH,CAAC,CAAC,CAAA;IACJ,CAAC;CACF;AAtBD,sDAsBC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VueAttachment = void 0;
|
|
4
|
+
const lodash_1 = require("lodash");
|
|
5
|
+
const vue_base_component_1 = require("../../vue-base-component");
|
|
6
|
+
class VueAttachment extends vue_base_component_1.VueBaseComponent {
|
|
7
|
+
constructor(param) {
|
|
8
|
+
super(param);
|
|
9
|
+
let obj;
|
|
10
|
+
if (typeof param === 'string') {
|
|
11
|
+
obj = JSON.parse(param);
|
|
12
|
+
}
|
|
13
|
+
else {
|
|
14
|
+
obj = param;
|
|
15
|
+
}
|
|
16
|
+
if (!obj) {
|
|
17
|
+
return;
|
|
18
|
+
}
|
|
19
|
+
const keys = `visible,attachmentPath,multiple,accept,disabled,uploadInfo,remove,selectChange,afterAppendFile,
|
|
20
|
+
binding,parentDirName,rootId,pattern,cloudPlus,ccWork,externalVideoUrl,useWatermark,watermarkcontentMode,customWatermarkContent,watermarkStyle`;
|
|
21
|
+
Object.keys(obj).forEach((key) => {
|
|
22
|
+
if (keys.includes(key)) {
|
|
23
|
+
this[key] = lodash_1.isObject(obj[key]) ? JSON.stringify(obj[key]).replace(/"/g, "'") : obj[key];
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
exports.VueAttachment = VueAttachment;
|
|
29
|
+
//# sourceMappingURL=attachment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"attachment.js","sourceRoot":"","sources":["../../../../../../../src/mobileapp/vue/domstructure/ui/business/attachment/attachment.ts"],"names":[],"mappings":";;;AAAA,mCAAiC;AACjC,iEAA4D;AAE5D,MAAa,aAAc,SAAQ,qCAAgB;IAYjD,YAAY,KAAmB;QAC7B,KAAK,CAAC,KAAK,CAAC,CAAA;QACZ,IAAI,GAAQ,CAAA;QACZ,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;YAC7B,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAA;SACxB;aAAM;YACL,GAAG,GAAG,KAAK,CAAA;SACZ;QAED,IAAI,CAAC,GAAG,EAAE;YACR,OAAM;SACP;QAED,MAAM,IAAI,GAAE;mJACmI,CAAA;QAC/I,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE;YAC/B,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBACtB,IAAI,CAAC,GAAG,CAAC,GAAI,iBAAQ,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAA;aACzF;QACH,CAAC,CAAC,CAAA;IACJ,CAAC;CACF;AAjCD,sCAiCC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VueImageUploader = void 0;
|
|
4
|
+
const attachment_file_1 = require("./attachment-file");
|
|
5
|
+
class VueImageUploader extends attachment_file_1.VueAttachmentFile {
|
|
6
|
+
constructor(param) {
|
|
7
|
+
super(param);
|
|
8
|
+
let obj;
|
|
9
|
+
if (typeof param === 'string') {
|
|
10
|
+
obj = JSON.parse(param);
|
|
11
|
+
}
|
|
12
|
+
else {
|
|
13
|
+
obj = param;
|
|
14
|
+
}
|
|
15
|
+
if (!obj) {
|
|
16
|
+
return;
|
|
17
|
+
}
|
|
18
|
+
const keys = `title,binding`;
|
|
19
|
+
Object.keys(obj).forEach((key) => {
|
|
20
|
+
if (keys.includes(key)) {
|
|
21
|
+
this[key] = obj[key];
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
exports.VueImageUploader = VueImageUploader;
|
|
27
|
+
//# sourceMappingURL=image-uploader.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"image-uploader.js","sourceRoot":"","sources":["../../../../../../../src/mobileapp/vue/domstructure/ui/business/attachment/image-uploader.ts"],"names":[],"mappings":";;;AAAA,uDAAqD;AAErD,MAAa,gBAAiB,SAAQ,mCAAiB;IAErD,YAAY,KAAmB;QAC7B,KAAK,CAAC,KAAK,CAAC,CAAA;QACZ,IAAI,GAAQ,CAAA;QACZ,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;YAC7B,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAA;SACxB;aAAM;YACL,GAAG,GAAG,KAAK,CAAA;SACZ;QAED,IAAI,CAAC,GAAG,EAAE;YACR,OAAM;SACP;QAED,MAAM,IAAI,GAAG,eAAe,CAAA;QAC5B,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE;YAC/B,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBACtB,IAAI,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAA;aACrB;QACH,CAAC,CAAC,CAAA;IACJ,CAAC;CACF;AAtBD,4CAsBC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
+
};
|
|
12
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
__exportStar(require("./attachment"), exports);
|
|
14
|
+
__exportStar(require("./attachment-entry"), exports);
|
|
15
|
+
__exportStar(require("./attachment-file"), exports);
|
|
16
|
+
__exportStar(require("./attachment-uploader"), exports);
|
|
17
|
+
__exportStar(require("./image-uploader"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/mobileapp/vue/domstructure/ui/business/attachment/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAA6B;AAC7B,qDAAmC;AACnC,oDAAkC;AAClC,wDAAsC;AACtC,mDAAiC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VueFilter = void 0;
|
|
4
|
+
const vue_state_1 = require("../../common/vue-state");
|
|
5
|
+
const vue_base_component_1 = require("../../vue-base-component");
|
|
6
|
+
class VueFilter extends vue_base_component_1.VueBaseComponent {
|
|
7
|
+
constructor(param) {
|
|
8
|
+
super(param);
|
|
9
|
+
let obj;
|
|
10
|
+
if (typeof param === 'string') {
|
|
11
|
+
obj = JSON.parse(param);
|
|
12
|
+
}
|
|
13
|
+
else {
|
|
14
|
+
obj = param;
|
|
15
|
+
}
|
|
16
|
+
if (!obj) {
|
|
17
|
+
return;
|
|
18
|
+
}
|
|
19
|
+
const keys = 'id,disabled,showType,fieldConfigs,searchFields,searchBoxValue,searchBoxChange,placeholder,useSearch,onQuery,binding,lookupCellTemplate,position';
|
|
20
|
+
Object.keys(obj).forEach((key) => {
|
|
21
|
+
if (keys.includes(key)) {
|
|
22
|
+
if (key === 'fieldConfigs') {
|
|
23
|
+
this[key] = JSON.stringify(obj[key]);
|
|
24
|
+
this[key] = this[key].replace(/(preEventCmd":)("[A-Za-z0-9]+")/g, (arg1, arg2, arg3) => {
|
|
25
|
+
return arg2 + arg3.replace(/"/g, '');
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
else if (key === 'searchFields' && obj[key]) {
|
|
29
|
+
this[key] = new vue_state_1.VueState(obj[key]);
|
|
30
|
+
}
|
|
31
|
+
else {
|
|
32
|
+
this[key] = obj[key];
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
exports.VueFilter = VueFilter;
|
|
39
|
+
//# sourceMappingURL=filter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"filter.js","sourceRoot":"","sources":["../../../../../../../src/mobileapp/vue/domstructure/ui/business/filter/filter.ts"],"names":[],"mappings":";;;AAAA,sDAAiD;AACjD,iEAA4D;AAE5D,MAAa,SAAU,SAAQ,qCAAgB;IAG7C,YAAY,KAAU;QACpB,KAAK,CAAC,KAAK,CAAC,CAAA;QAEZ,IAAI,GAAQ,CAAA;QACZ,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;YAC7B,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAA;SACxB;aAAM;YACL,GAAG,GAAG,KAAK,CAAA;SACZ;QAED,IAAI,CAAC,GAAG,EAAE;YACR,OAAM;SACP;QAED,MAAM,IAAI,GACR,iJAAiJ,CAAA;QACnJ,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE;YAC/B,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBACtB,IAAI,GAAG,KAAK,cAAc,EAAE;oBAC1B,IAAI,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAA;oBACpC,IAAI,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAC3B,kCAAkC,EAClC,CAAC,IAAY,EAAE,IAAY,EAAE,IAAY,EAAE,EAAE;wBAC3C,OAAO,IAAI,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,CAAA;oBACtC,CAAC,CACF,CAAA;iBACF;qBAAM,IAAI,GAAG,KAAK,cAAc,IAAI,GAAG,CAAC,GAAG,CAAC,EAAE;oBAC7C,IAAI,CAAC,GAAG,CAAC,GAAG,IAAI,oBAAQ,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAA;iBAMnC;qBAAM;oBACL,IAAI,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAA;iBACrB;aACF;QACH,CAAC,CAAC,CAAA;IACJ,CAAC;CACF;AA1CD,8BA0CC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
+
};
|
|
12
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
__exportStar(require("./filter"), exports);
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/mobileapp/vue/domstructure/ui/business/filter/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA0B"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
+
};
|
|
12
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
__exportStar(require("./attachment"), exports);
|
|
14
|
+
__exportStar(require("./filter"), exports);
|
|
15
|
+
__exportStar(require("./approval"), exports);
|
|
16
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/business/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAA6B;AAC7B,2CAAyB;AACzB,6CAA2B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vue-position.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/common/vue-position.ts"],"names":[],"mappings":";;;AAAA,kEAA+D;AAE/D,MAAa,WAAW;IASpB,YAAY,KAAmB;QAFvB,SAAI,GAAG,mCAAmC,CAAC;QAG/C,IAAI,GAAQ,CAAC;QACb,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;
|
|
1
|
+
{"version":3,"file":"vue-position.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/common/vue-position.ts"],"names":[],"mappings":";;;AAAA,kEAA+D;AAE/D,MAAa,WAAW;IASpB,YAAY,KAAmB;QAFvB,SAAI,GAAG,mCAAmC,CAAC;QAG/C,IAAI,GAAQ,CAAC;QACb,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;YAE3B,OAAM;SACT;aAAM;YACH,GAAG,GAAG,KAAK,CAAC;SACf;QAED,IAAI,CAAC,GAAG,EAAE;YACN,OAAO;SACV;QACD,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;YAC3B,IAAI,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBACzB,IAAI,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;aACxB;QACL,CAAC,CAAC,CAAC;IACP,CAAC;IACD,QAAQ;QACJ,OAAO,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,GAAG,CAAA,EAAE,CAAC,uBAAU,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE;YAC9E,IAAG,GAAG,KAAK,MAAM,EAAE;gBACf,OAAO,aAAa,IAAI,CAAC,GAAG,CAAC,GAAG,CAAA;aACnC;iBAAM,IAAG,GAAG,KAAK,QAAQ,EAAE;gBACxB,OAAO,YAAY,IAAI,CAAC,GAAG,CAAC,GAAG,CAAA;aAClC;iBAAM;gBACH,OAAQ,GAAG,GAAG,KAAK,IAAI,CAAC,GAAG,CAAC,KAAK,CAAA;aACpC;QACL,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;IAChB,CAAC;CACJ;AAtCD,kCAsCC"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.VueSize = void 0;
|
|
4
|
+
const toolhepler_1 = require("../../../../../utility/toolhepler");
|
|
4
5
|
class VueSize {
|
|
5
6
|
constructor(param) {
|
|
7
|
+
this.keys = 'width,height';
|
|
6
8
|
let obj;
|
|
7
9
|
if (typeof param === 'string') {
|
|
8
10
|
obj = JSON.parse(param);
|
|
@@ -13,13 +15,17 @@ class VueSize {
|
|
|
13
15
|
if (!obj) {
|
|
14
16
|
return;
|
|
15
17
|
}
|
|
16
|
-
const keys = 'width,height';
|
|
17
18
|
Object.keys(obj).forEach(key => {
|
|
18
|
-
if (keys.includes(key)) {
|
|
19
|
+
if (this.keys.includes(key)) {
|
|
19
20
|
this[key] = obj[key];
|
|
20
21
|
}
|
|
21
22
|
});
|
|
22
23
|
}
|
|
24
|
+
getStyle() {
|
|
25
|
+
return this.keys.split(',').filter(key => toolhepler_1.ToolHelper.isDef(this[key])).map((key) => {
|
|
26
|
+
return `${key}: ${this[key]}px;`;
|
|
27
|
+
}).join(' ');
|
|
28
|
+
}
|
|
23
29
|
}
|
|
24
30
|
exports.VueSize = VueSize;
|
|
25
31
|
//# sourceMappingURL=vue-size.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vue-size.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/common/vue-size.ts"],"names":[],"mappings":";;;AAAA,MAAa,OAAO;
|
|
1
|
+
{"version":3,"file":"vue-size.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/common/vue-size.ts"],"names":[],"mappings":";;;AAAA,kEAA+D;AAC/D,MAAa,OAAO;IAMhB,YAAY,KAAmB;QAFvB,SAAI,GAAG,cAAc,CAAC;QAG1B,IAAI,GAAQ,CAAC;QACb,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;YAC3B,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;SAC3B;aAAM;YACH,GAAG,GAAG,KAAK,CAAC;SACf;QAED,IAAI,CAAC,GAAG,EAAE;YACN,OAAO;SACV;QAED,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;YAC3B,IAAI,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBACzB,IAAI,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;aACxB;QACL,CAAC,CAAC,CAAC;IACP,CAAC;IACD,QAAQ;QACJ,OAAO,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,GAAG,CAAA,EAAE,CAAC,uBAAU,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE;YAC9E,OAAO,GAAG,GAAG,KAAK,IAAI,CAAC,GAAG,CAAC,KAAK,CAAA;QACpC,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;IAChB,CAAC;CACJ;AA7BD,0BA6BC"}
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.VueState = void 0;
|
|
4
4
|
const toolhepler_1 = require("../../../../../utility/toolhepler");
|
|
5
5
|
class VueState {
|
|
6
|
-
constructor(param) {
|
|
6
|
+
constructor(param, name, context) {
|
|
7
7
|
if (!toolhepler_1.ToolHelper.isDef(param)) {
|
|
8
8
|
this.value = true;
|
|
9
9
|
return;
|
|
@@ -17,9 +17,9 @@ class VueState {
|
|
|
17
17
|
this.value = param;
|
|
18
18
|
}
|
|
19
19
|
else {
|
|
20
|
-
this.value = '$'
|
|
20
|
+
this.value = `'${param}'`;
|
|
21
21
|
}
|
|
22
|
-
this.useQuote =
|
|
22
|
+
this.useQuote = true;
|
|
23
23
|
return;
|
|
24
24
|
}
|
|
25
25
|
let obj;
|
|
@@ -41,6 +41,9 @@ class VueState {
|
|
|
41
41
|
if (this.type == "Variable") {
|
|
42
42
|
this.value = `uiState.${this.path}`;
|
|
43
43
|
}
|
|
44
|
+
if (this.type == "Expression") {
|
|
45
|
+
this.value = `form.${context.binding.path}.${name}`;
|
|
46
|
+
}
|
|
44
47
|
}
|
|
45
48
|
}
|
|
46
49
|
exports.VueState = VueState;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vue-state.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/common/vue-state.ts"],"names":[],"mappings":";;;AAAA,kEAA+D;AAE/D,MAAa,QAAQ;IAQjB,YAAY,KAAmB;
|
|
1
|
+
{"version":3,"file":"vue-state.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/common/vue-state.ts"],"names":[],"mappings":";;;AAAA,kEAA+D;AAE/D,MAAa,QAAQ;IAQjB,YAAY,KAAmB,EAAE,IAAa,EAAE,OAAa;QAEzD,IAAG,CAAC,uBAAU,CAAC,KAAK,CAAC,KAAK,CAAC,EAAC;YACxB,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC;YAClB,OAAO;SACV;QAGD,IAAI,uBAAU,CAAC,SAAS,CAAC,KAAK,CAAC,EAAE;YAC7B,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;YACnB,OAAO;SACV;QAGD,IAAI,uBAAU,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE;YAE5B,IAAI,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE;gBAC1B,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;aACtB;iBAAM;gBACH,IAAI,CAAC,KAAK,GAAG,IAAI,KAAK,GAAG,CAAA;aAC5B;YACD,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC;YACrB,OAAO;SACV;QAED,IAAI,GAAQ,CAAC;QACb,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;YAC3B,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;SAC3B;aAAM;YACH,GAAG,GAAG,KAAK,CAAC;SACf;QAED,IAAI,CAAC,GAAG,EAAE;YACN,OAAO;SACV;QAED,MAAM,IAAI,GAAG,WAAW,CAAC;QACzB,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;YAC3B,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBACpB,IAAI,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;aACxB;QACL,CAAC,CAAC,CAAC;QAEH,IAAI,IAAI,CAAC,IAAI,IAAI,UAAU,EAAE;YACzB,IAAI,CAAC,KAAK,GAAG,WAAW,IAAI,CAAC,IAAI,EAAE,CAAA;SACtC;QAED,IAAI,IAAI,CAAC,IAAI,IAAI,YAAY,EAAE;YAC3B,IAAI,CAAC,KAAK,GAAG,QAAQ,OAAO,CAAC,OAAO,CAAC,IAAI,IAAI,IAAI,EAAE,CAAA;SACtD;IACL,CAAC;CACJ;AA3DD,4BA2DC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VueToolbar = void 0;
|
|
4
|
+
class VueToolbar {
|
|
5
|
+
constructor(param, variables) {
|
|
6
|
+
this.variables = ['click'];
|
|
7
|
+
this.keys = ['id', 'text', 'type', 'icon', 'click'];
|
|
8
|
+
this.param = param;
|
|
9
|
+
variables && (this.variables = variables);
|
|
10
|
+
}
|
|
11
|
+
toString() {
|
|
12
|
+
return '{' + Object.keys(this.param).filter(key => this.keys.includes(key)).map(key => {
|
|
13
|
+
if (this.variables.includes(key)) {
|
|
14
|
+
return `'${key}': ${this.param[key]}`;
|
|
15
|
+
}
|
|
16
|
+
else {
|
|
17
|
+
return `'${key}': '${this.param[key]}'`;
|
|
18
|
+
}
|
|
19
|
+
}).join(',') + '}';
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
exports.VueToolbar = VueToolbar;
|
|
23
|
+
//# sourceMappingURL=vue-toolbar.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vue-toolbar.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/common/vue-toolbar.ts"],"names":[],"mappings":";;;AACA,MAAa,UAAU;IAIrB,YAAY,KAA6B,EAAE,SAAoB;QAH/D,cAAS,GAAG,CAAC,OAAO,CAAC,CAAC;QACtB,SAAI,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC;QAG7C,IAAI,CAAC,KAAK,GAAG,KAAK,CAAA;QAClB,SAAS,IAAI,CAAC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC,CAAA;IAC3C,CAAC;IACD,QAAQ;QACN,OAAO,GAAG,GAAG,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,GAAG,CAAA,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAA,EAAE;YAClF,IAAG,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBAC/B,OAAO,IAAI,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE,CAAA;aACtC;iBAAM;gBACL,OAAO,IAAI,GAAG,OAAO,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,CAAA;aACxC;QACH,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,GAAG,CAAA;IACpB,CAAC;CACF;AAjBD,gCAiBC"}
|
|
@@ -1,56 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.VueVisible = void 0;
|
|
4
|
-
const
|
|
5
|
-
class VueVisible {
|
|
4
|
+
const vue_state_1 = require("./vue-state");
|
|
5
|
+
class VueVisible extends vue_state_1.VueState {
|
|
6
6
|
constructor(param) {
|
|
7
|
-
|
|
8
|
-
if (!param && param != false) {
|
|
9
|
-
this.useQuote = false;
|
|
10
|
-
this.value = true;
|
|
11
|
-
return;
|
|
12
|
-
}
|
|
13
|
-
if (toolhepler_1.ToolHelper.isBoolean(param)) {
|
|
14
|
-
this.useQuote = false;
|
|
15
|
-
this.value = param;
|
|
16
|
-
return;
|
|
17
|
-
}
|
|
18
|
-
if (toolhepler_1.ToolHelper.isString(param) && toolhepler_1.ToolHelper.isObject(param) == false) {
|
|
19
|
-
if (param.indexOf("=>") >= 0) {
|
|
20
|
-
this.value = param;
|
|
21
|
-
}
|
|
22
|
-
else {
|
|
23
|
-
this.value = toolhepler_1.ToolHelper.viewModelReplaceToThisViewModel(param);
|
|
24
|
-
}
|
|
25
|
-
this.useQuote = false;
|
|
26
|
-
return;
|
|
27
|
-
}
|
|
28
|
-
let obj;
|
|
29
|
-
if (typeof param === 'string') {
|
|
30
|
-
obj = JSON.parse(param);
|
|
31
|
-
}
|
|
32
|
-
else {
|
|
33
|
-
obj = param;
|
|
34
|
-
}
|
|
35
|
-
if (!obj) {
|
|
36
|
-
return;
|
|
37
|
-
}
|
|
38
|
-
const keys = 'type,path';
|
|
39
|
-
Object.keys(obj).forEach(key => {
|
|
40
|
-
if (keys.includes(key)) {
|
|
41
|
-
this[key] = obj[key];
|
|
42
|
-
}
|
|
43
|
-
});
|
|
44
|
-
if (this.type == "Variable") {
|
|
45
|
-
this.useQuote = false;
|
|
46
|
-
const [frameComponentId, variablePath] = this.path.split('.');
|
|
47
|
-
if (!variablePath) {
|
|
48
|
-
this.value = "this.viewModel['uiState']['" + this.path + "']";
|
|
49
|
-
}
|
|
50
|
-
else {
|
|
51
|
-
this.value = "this.context.appContext.getFrameContext('" + frameComponentId + "')['uiState']['" + variablePath + "']";
|
|
52
|
-
}
|
|
53
|
-
}
|
|
7
|
+
super(param);
|
|
54
8
|
}
|
|
55
9
|
}
|
|
56
10
|
exports.VueVisible = VueVisible;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vue-visible.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/common/vue-visible.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"vue-visible.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/common/vue-visible.ts"],"names":[],"mappings":";;;AACA,2CAAuC;AAEvC,MAAa,UAAW,SAAQ,oBAAQ;IACpC,YAAY,KAAmB;QAC3B,KAAK,CAAC,KAAK,CAAC,CAAA;IAChB,CAAC;CACJ;AAJD,gCAIC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VueCard = void 0;
|
|
4
|
+
const vue_toolbar_1 = require("../common/vue-toolbar");
|
|
5
|
+
const vue_container_1 = require("./vue-container");
|
|
6
|
+
class VueCard extends vue_container_1.VueContainer {
|
|
7
|
+
constructor(param) {
|
|
8
|
+
var _a, _b;
|
|
9
|
+
super(param);
|
|
10
|
+
let obj;
|
|
11
|
+
if (typeof param === 'string') {
|
|
12
|
+
obj = JSON.parse(param);
|
|
13
|
+
}
|
|
14
|
+
else {
|
|
15
|
+
obj = param;
|
|
16
|
+
}
|
|
17
|
+
if (!obj) {
|
|
18
|
+
return;
|
|
19
|
+
}
|
|
20
|
+
const keys = 'title,collapsible,collapse,icon,actions,headerTemplate,footerTemplate';
|
|
21
|
+
Object.keys(obj).forEach((key) => {
|
|
22
|
+
if (keys.includes(key)) {
|
|
23
|
+
if (key === 'actions') {
|
|
24
|
+
this[key] = obj[key] ? '[' + obj.actions.map((action) => new vue_toolbar_1.VueToolbar(action).toString()).join(',') + ']' : undefined;
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
this[key] = obj[key];
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
((_a = this.padding) === null || _a === void 0 ? void 0 : _a.getStyle) && this.addStyle(this.padding.getStyle());
|
|
32
|
+
((_b = this.margin) === null || _b === void 0 ? void 0 : _b.getStyle) && this.addStyle(this.margin.getStyle());
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
exports.VueCard = VueCard;
|
|
36
|
+
//# sourceMappingURL=card.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"card.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/container/card.ts"],"names":[],"mappings":";;;AAAA,uDAAkD;AAClD,mDAA8C;AAE9C,MAAa,OAAQ,SAAQ,4BAAY;IASvC,YAAY,KAAU;;QACpB,KAAK,CAAC,KAAK,CAAC,CAAA;QAEZ,IAAI,GAAQ,CAAA;QACZ,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;YAC7B,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAA;SACxB;aAAM;YACL,GAAG,GAAG,KAAK,CAAA;SACZ;QAED,IAAI,CAAC,GAAG,EAAE;YACR,OAAM;SACP;QACD,MAAM,IAAI,GAAG,uEAAuE,CAAA;QACpF,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE;YAC/B,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBACtB,IAAI,GAAG,KAAK,SAAS,EAAE;oBACrB,IAAI,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,MAAW,EAAC,EAAE,CAAC,IAAI,wBAAU,CAAC,MAAM,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,GAAG,CAAE,CAAC,CAAC,SAAS,CAAA;iBAC7H;qBAAM;oBACL,IAAI,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAA;iBACrB;aACF;QACH,CAAC,CAAC,CAAA;QACF,CAAA,MAAA,IAAI,CAAC,OAAO,0CAAE,QAAQ,KAAI,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,CAAA;QAChE,CAAA,MAAA,IAAI,CAAC,MAAM,0CAAE,QAAQ,KAAI,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,QAAQ,EAAE,CAAC,CAAA;IAChE,CAAC;CACF;AAnCD,0BAmCC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VueFieldSet = void 0;
|
|
4
|
+
const vue_container_1 = require("./vue-container");
|
|
5
|
+
class VueFieldSet extends vue_container_1.VueContainer {
|
|
6
|
+
constructor(param) {
|
|
7
|
+
super(param);
|
|
8
|
+
let obj;
|
|
9
|
+
if (typeof param === 'string') {
|
|
10
|
+
obj = JSON.parse(param);
|
|
11
|
+
}
|
|
12
|
+
else {
|
|
13
|
+
obj = param;
|
|
14
|
+
}
|
|
15
|
+
if (!obj) {
|
|
16
|
+
return;
|
|
17
|
+
}
|
|
18
|
+
const keys = 'id,title,isInner,headerTemplate,bindTitle,collapse';
|
|
19
|
+
Object.keys(obj).forEach(key => {
|
|
20
|
+
if (keys.includes(key)) {
|
|
21
|
+
this[key] = obj[key];
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
exports.VueFieldSet = VueFieldSet;
|
|
27
|
+
//# sourceMappingURL=field-set.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"field-set.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/container/field-set.ts"],"names":[],"mappings":";;;AAAA,mDAA8C;AAE9C,MAAa,WAAY,SAAQ,4BAAY;IAWzC,YAAY,KAAU;QAClB,KAAK,CAAC,KAAK,CAAC,CAAC;QAEb,IAAI,GAAQ,CAAC;QACb,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;YAC3B,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;SAC3B;aAAM;YACH,GAAG,GAAG,KAAK,CAAC;SACf;QAED,IAAI,CAAC,GAAG,EAAE;YACN,OAAO;SACV;QACD,MAAM,IAAI,GAAG,oDAAoD,CAAC;QAClE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;YAC3B,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBACpB,IAAI,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;aACxB;QACL,CAAC,CAAC,CAAC;IACP,CAAC;CAGJ;AAjCD,kCAiCC"}
|
|
@@ -7,11 +7,20 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
|
|
|
7
7
|
o[k2] = m[k];
|
|
8
8
|
}));
|
|
9
9
|
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
-
for (var p in m) if (p !== "default" && !
|
|
10
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
11
|
};
|
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
13
|
__exportStar(require("./vue-container"), exports);
|
|
14
|
+
__exportStar(require("./vue-page-container"), exports);
|
|
15
|
+
__exportStar(require("./vue-page-header-container"), exports);
|
|
16
|
+
__exportStar(require("./vue-page-content-container"), exports);
|
|
17
|
+
__exportStar(require("./vue-page-footer-container"), exports);
|
|
14
18
|
__exportStar(require("./vue-content-container"), exports);
|
|
19
|
+
__exportStar(require("./vue-float-container"), exports);
|
|
15
20
|
__exportStar(require("./vue-form"), exports);
|
|
16
21
|
__exportStar(require("./vue-item-container"), exports);
|
|
22
|
+
__exportStar(require("./card"), exports);
|
|
23
|
+
__exportStar(require("./field-set"), exports);
|
|
24
|
+
__exportStar(require("./vue-tab-page"), exports);
|
|
25
|
+
__exportStar(require("./vue-tabs"), exports);
|
|
17
26
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/container/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAiC;AACjC,0DAAwC;AACxC,6CAA2B;AAC3B,uDAAqC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/container/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAiC;AACjC,uDAAsC;AACtC,8DAA6C;AAC7C,+DAA8C;AAC9C,8DAA6C;AAC7C,0DAAwC;AACxC,wDAAsC;AACtC,6CAA2B;AAC3B,uDAAqC;AACrC,yCAAuB;AACvB,8CAA4B;AAC5B,iDAA+B;AAC/B,6CAA2B"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
+
};
|
|
12
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
__exportStar(require("./vue-section"), exports);
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/mobileapp/vue/domstructure/ui/container/section/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,gDAA8B"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VueSection = void 0;
|
|
4
|
+
const vue_base_component_1 = require("../../vue-base-component");
|
|
5
|
+
const toolhepler_1 = require("../../../../../../utility/toolhepler");
|
|
6
|
+
const vue_content_type_creator_1 = require("../../../../utility/vue-content-type-creator");
|
|
7
|
+
const vue_object_creator_1 = require("../../../../utility/vue-object-creator");
|
|
8
|
+
class VueSection extends vue_base_component_1.VueBaseComponent {
|
|
9
|
+
constructor(param) {
|
|
10
|
+
super(param);
|
|
11
|
+
let obj;
|
|
12
|
+
if (typeof param === 'string') {
|
|
13
|
+
obj = JSON.parse(param);
|
|
14
|
+
}
|
|
15
|
+
else {
|
|
16
|
+
obj = param;
|
|
17
|
+
}
|
|
18
|
+
if (!obj) {
|
|
19
|
+
return;
|
|
20
|
+
}
|
|
21
|
+
const keys = `contents,visible,mainTitle,headerTemplate,footerTemplate,footerToolbar`;
|
|
22
|
+
Object.keys(obj).forEach(key => {
|
|
23
|
+
if (keys.includes(key)) {
|
|
24
|
+
switch (key) {
|
|
25
|
+
case "contents":
|
|
26
|
+
this.contents = [];
|
|
27
|
+
if (toolhepler_1.ToolHelper.isArray(obj[key], false)) {
|
|
28
|
+
obj[key].forEach((item) => {
|
|
29
|
+
const contentType = vue_content_type_creator_1.VueContentTypeCreator.create(item.type, item.controlSource, item);
|
|
30
|
+
const domObj = vue_object_creator_1.VueObjectCreator.createObjectByType(contentType, this.resourcePrefix);
|
|
31
|
+
if (domObj) {
|
|
32
|
+
const domValue = new domObj(item);
|
|
33
|
+
this.contents.push(domValue);
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
break;
|
|
38
|
+
default:
|
|
39
|
+
this[key] = obj[key];
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
exports.VueSection = VueSection;
|
|
46
|
+
//# sourceMappingURL=vue-section.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vue-section.js","sourceRoot":"","sources":["../../../../../../../src/mobileapp/vue/domstructure/ui/container/section/vue-section.ts"],"names":[],"mappings":";;;AAAA,iEAA4D;AAC5D,qEAAkE;AAClE,2FAAqF;AACrF,+EAA0E;AAE1E,MAAa,UAAW,SAAQ,qCAAgB;IAG5C,YAAY,KAAmB;QAC3B,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,IAAI,GAAQ,CAAC;QACb,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;YAC3B,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;SAC3B;aAAM;YACH,GAAG,GAAG,KAAK,CAAC;SACf;QAED,IAAI,CAAC,GAAG,EAAE;YACN,OAAO;SACV;QAED,MAAM,IAAI,GAAG,wEAAwE,CAAC;QACtF,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;YAC3B,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBACpB,QAAQ,GAAG,EAAE;oBACT,KAAK,UAAU;wBACX,IAAI,CAAC,QAAQ,GAAG,EAAE,CAAC;wBACnB,IAAI,uBAAU,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,KAAK,CAAC,EAAE;4BACrC,GAAG,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC,IAAS,EAAE,EAAE;gCAC3B,MAAM,WAAW,GAAG,gDAAqB,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,aAAa,EAAE,IAAI,CAAC,CAAC;gCACtF,MAAM,MAAM,GAAG,qCAAgB,CAAC,kBAAkB,CAAC,WAAW,EAAE,IAAI,CAAC,cAAc,CAAC,CAAC;gCACrF,IAAI,MAAM,EAAE;oCACR,MAAM,QAAQ,GAAG,IAAI,MAAM,CAAC,IAAI,CAAC,CAAC;oCAClC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;iCAChC;4BACL,CAAC,CAAC,CAAC;yBACN;wBACD,MAAM;oBACV;wBACI,IAAI,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;iBAC5B;aACJ;QACL,CAAC,CAAC,CAAC;IACP,CAAC;CACJ;AAvCD,gCAuCC"}
|