@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
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.VueContainer = void 0;
|
|
4
4
|
const vue_base_component_1 = require("../vue-base-component");
|
|
5
|
+
const vue_content_type_creator_1 = require("../../../utility/vue-content-type-creator");
|
|
6
|
+
const vue_object_creator_1 = require("../../../utility/vue-object-creator");
|
|
7
|
+
const vue_display_1 = require("../common/vue-display");
|
|
8
|
+
const vue_position_1 = require("../common/vue-position");
|
|
5
9
|
class VueContainer extends vue_base_component_1.VueBaseComponent {
|
|
6
10
|
constructor(param) {
|
|
7
11
|
super(param);
|
|
@@ -15,10 +19,29 @@ class VueContainer extends vue_base_component_1.VueBaseComponent {
|
|
|
15
19
|
if (!obj) {
|
|
16
20
|
return;
|
|
17
21
|
}
|
|
18
|
-
|
|
22
|
+
this.contents = [];
|
|
23
|
+
const keys = 'contents,display,position';
|
|
19
24
|
Object.keys(obj).forEach(key => {
|
|
20
25
|
if (keys.includes(key)) {
|
|
21
|
-
|
|
26
|
+
if (key === 'contents') {
|
|
27
|
+
obj[key].forEach((item) => {
|
|
28
|
+
const contentType = vue_content_type_creator_1.VueContentTypeCreator.create(item.type, item.controlSource, item);
|
|
29
|
+
const domObj = vue_object_creator_1.VueObjectCreator.createObjectByType(contentType, this.resourcePrefix);
|
|
30
|
+
if (domObj) {
|
|
31
|
+
const domValue = new domObj(item);
|
|
32
|
+
this.contents.push(domValue);
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
else if (key === 'display' && obj[key] === 'flex') {
|
|
37
|
+
this.display = new vue_display_1.VueFlex(obj.flexBox);
|
|
38
|
+
}
|
|
39
|
+
else if (key === 'position') {
|
|
40
|
+
this[key] = new vue_position_1.VuePosition(obj[key]);
|
|
41
|
+
}
|
|
42
|
+
else {
|
|
43
|
+
this[key] = obj[key];
|
|
44
|
+
}
|
|
22
45
|
}
|
|
23
46
|
});
|
|
24
47
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vue-container.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/container/vue-container.ts"],"names":[],"mappings":";;;AAAA,8DAAyD;
|
|
1
|
+
{"version":3,"file":"vue-container.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/container/vue-container.ts"],"names":[],"mappings":";;;AAAA,8DAAyD;AACzD,wFAAkF;AAClF,4EAAuE;AACvE,uDAAgD;AAChD,yDAAqD;AACrD,MAAa,YAAa,SAAQ,qCAAgB;IAG9C,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,IAAI,CAAC,QAAQ,GAAG,EAAE,CAAC;QACnB,MAAM,IAAI,GAAG,2BAA2B,CAAC;QACzC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;YAC3B,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBACpB,IAAI,GAAG,KAAK,UAAU,EAAE;oBACpB,GAAG,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC,IAAS,EAAE,EAAE;wBAC3B,MAAM,WAAW,GAAG,gDAAqB,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,aAAa,EAAE,IAAI,CAAC,CAAC;wBACtF,MAAM,MAAM,GAAG,qCAAgB,CAAC,kBAAkB,CAAC,WAAW,EAAE,IAAI,CAAC,cAAc,CAAC,CAAC;wBACrF,IAAI,MAAM,EAAE;4BACR,MAAM,QAAQ,GAAG,IAAI,MAAM,CAAC,IAAI,CAAC,CAAC;4BAClC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;yBAChC;oBACL,CAAC,CAAC,CAAC;iBACN;qBAAM,IAAG,GAAG,KAAK,SAAS,IAAI,GAAG,CAAC,GAAG,CAAC,KAAK,MAAM,EAAC;oBAC/C,IAAI,CAAC,OAAO,GAAG,IAAI,qBAAO,CAAC,GAAG,CAAC,OAAO,CAAC,CAAA;iBAC1C;qBAAM,IAAI,GAAG,KAAK,UAAU,EAAE;oBAC3B,IAAI,CAAC,GAAG,CAAC,GAAG,IAAI,0BAAW,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAA;iBACxC;qBAAM;oBACH,IAAI,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;iBACxB;aACJ;QACL,CAAC,CAAC,CAAC;IAEP,CAAC;CACJ;AAxCD,oCAwCC"}
|
|
@@ -2,10 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.VueContentContainer = void 0;
|
|
4
4
|
const vue_container_1 = require("./vue-container");
|
|
5
|
-
const vue_content_type_creator_1 = require("../../../utility/vue-content-type-creator");
|
|
6
|
-
const vue_object_creator_1 = require("../../../utility/vue-object-creator");
|
|
7
5
|
class VueContentContainer extends vue_container_1.VueContainer {
|
|
8
6
|
constructor(param) {
|
|
7
|
+
var _a, _b, _c, _d;
|
|
9
8
|
super(param);
|
|
10
9
|
let obj;
|
|
11
10
|
if (typeof param === 'string') {
|
|
@@ -17,25 +16,18 @@ class VueContentContainer extends vue_container_1.VueContainer {
|
|
|
17
16
|
if (!obj) {
|
|
18
17
|
return;
|
|
19
18
|
}
|
|
20
|
-
|
|
21
|
-
const keys = 'contents,title';
|
|
19
|
+
const keys = 'title,fill';
|
|
22
20
|
Object.keys(obj).forEach(key => {
|
|
23
21
|
if (keys.includes(key)) {
|
|
24
|
-
|
|
25
|
-
obj[key].forEach((item) => {
|
|
26
|
-
const contentType = vue_content_type_creator_1.VueContentTypeCreator.create(item.type, item.controlSource, item);
|
|
27
|
-
const domObj = vue_object_creator_1.VueObjectCreator.createObjectByType(contentType, this.resourcePrefix);
|
|
28
|
-
if (domObj) {
|
|
29
|
-
const domValue = new domObj(item);
|
|
30
|
-
this.contents.push(domValue);
|
|
31
|
-
}
|
|
32
|
-
});
|
|
33
|
-
}
|
|
34
|
-
else {
|
|
35
|
-
this[key] = obj[key];
|
|
36
|
-
}
|
|
22
|
+
this[key] = obj[key];
|
|
37
23
|
}
|
|
38
24
|
});
|
|
25
|
+
this.fill && this.addClass('flex-fill');
|
|
26
|
+
this.display && this.addClass(this.display.getClass());
|
|
27
|
+
((_a = this.size) === null || _a === void 0 ? void 0 : _a.getStyle) && this.addStyle(this.size.getStyle());
|
|
28
|
+
((_b = this.position) === null || _b === void 0 ? void 0 : _b.getStyle) && this.addStyle(this.position.getStyle());
|
|
29
|
+
((_c = this.padding) === null || _c === void 0 ? void 0 : _c.getStyle) && this.addStyle(this.padding.getStyle());
|
|
30
|
+
((_d = this.margin) === null || _d === void 0 ? void 0 : _d.getStyle) && this.addStyle(this.margin.getStyle());
|
|
39
31
|
}
|
|
40
32
|
}
|
|
41
33
|
exports.VueContentContainer = VueContentContainer;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vue-content-container.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/container/vue-content-container.ts"],"names":[],"mappings":";;;AAAA,mDAA+C;
|
|
1
|
+
{"version":3,"file":"vue-content-container.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/container/vue-content-container.ts"],"names":[],"mappings":";;;AAAA,mDAA+C;AAI/C,MAAa,mBAAoB,SAAQ,4BAAY;IAIjD,YAAY,KAAmB;;QAC3B,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;QAED,MAAM,IAAI,GAAG,YAAY,CAAC;QAC1B,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,CAAC,IAAI,IAAI,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAA;QACvC,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,CAAA;QACtD,CAAA,MAAA,IAAI,CAAC,IAAI,0CAAE,QAAQ,KAAI,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAA;QAC1D,CAAA,MAAA,IAAI,CAAC,QAAQ,0CAAE,QAAQ,KAAI,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,QAAQ,EAAE,CAAC,CAAA;QAClE,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;IAClE,CAAC;CACJ;AAhCD,kDAgCC"}
|
|
@@ -7,8 +7,8 @@ class VueFloatContainer extends vue_container_1.VueContainer {
|
|
|
7
7
|
var _a, _b, _c, _d, _e;
|
|
8
8
|
super(param);
|
|
9
9
|
this.addClass('position-absolute');
|
|
10
|
-
((_a = this.
|
|
11
|
-
|
|
10
|
+
((_a = this.size) === null || _a === void 0 ? void 0 : _a.getStyle) && this.addStyle(this.size.getStyle());
|
|
11
|
+
((_b = this.position) === null || _b === void 0 ? void 0 : _b.getStyle) && this.addStyle(this.position.getStyle());
|
|
12
12
|
((_c = this.display) === null || _c === void 0 ? void 0 : _c.getClass) && this.addClass(this.display.getClass());
|
|
13
13
|
((_d = this.padding) === null || _d === void 0 ? void 0 : _d.getStyle) && this.addStyle(this.padding.getStyle());
|
|
14
14
|
((_e = this.margin) === null || _e === void 0 ? void 0 : _e.getStyle) && this.addStyle(this.margin.getStyle());
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vue-float-container.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/container/vue-float-container.ts"],"names":[],"mappings":";;;AACA,mDAA+C;AAE/C,MAAa,iBAAkB,SAAQ,4BAAY;IAG/C,YAAY,KAAmB;;QAC3B,KAAK,CAAC,KAAK,CAAC,CAAC;QAEb,IAAI,CAAC,QAAQ,CAAC,mBAAmB,CAAC,CAAA;QAClC,CAAA,MAAA,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"vue-float-container.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/container/vue-float-container.ts"],"names":[],"mappings":";;;AACA,mDAA+C;AAE/C,MAAa,iBAAkB,SAAQ,4BAAY;IAG/C,YAAY,KAAmB;;QAC3B,KAAK,CAAC,KAAK,CAAC,CAAC;QAEb,IAAI,CAAC,QAAQ,CAAC,mBAAmB,CAAC,CAAA;QAClC,CAAA,MAAA,IAAI,CAAC,IAAI,0CAAE,QAAQ,KAAI,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAA;QAC1D,CAAA,MAAA,IAAI,CAAC,QAAQ,0CAAE,QAAQ,KAAI,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,QAAQ,EAAE,CAAC,CAAA;QAClE,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,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;IAClE,CAAC;CACJ;AAbD,8CAaC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VueTabPage = void 0;
|
|
4
|
+
const vue_container_1 = require("./vue-container");
|
|
5
|
+
class VueTabPage 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,tabChange,bindTitle';
|
|
19
|
+
Object.keys(obj).forEach(key => {
|
|
20
|
+
if (keys.includes(key)) {
|
|
21
|
+
this[key] = obj[key];
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
exports.VueTabPage = VueTabPage;
|
|
27
|
+
//# sourceMappingURL=vue-tab-page.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vue-tab-page.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/container/vue-tab-page.ts"],"names":[],"mappings":";;;AAAA,mDAA+C;AAE/C,MAAa,UAAW,SAAQ,4BAAY;IAQxC,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;QAED,MAAM,IAAI,GAAG,8BAA8B,CAAC;QAC5C,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;CACJ;AA7BD,gCA6BC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VueTabs = void 0;
|
|
4
|
+
const vue_container_1 = require("./vue-container");
|
|
5
|
+
class VueTabs 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 = 'selected,tabChange,fill,titleTemplate,value';
|
|
19
|
+
Object.keys(obj).forEach(key => {
|
|
20
|
+
if (keys.includes(key)) {
|
|
21
|
+
this[key] = obj[key];
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
exports.VueTabs = VueTabs;
|
|
27
|
+
//# sourceMappingURL=vue-tabs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vue-tabs.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/container/vue-tabs.ts"],"names":[],"mappings":";;;AAAA,mDAA+C;AAE/C,MAAa,OAAQ,SAAQ,4BAAY;IAOrC,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;QAED,MAAM,IAAI,GAAG,6CAA6C,CAAC;QAC3D,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;CACJ;AA5BD,0BA4BC"}
|
|
@@ -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-banner"), exports);
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/mobileapp/vue/domstructure/ui/display/banner/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAA6B"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VueBanner = void 0;
|
|
4
|
+
const vue_base_component_1 = require("../../vue-base-component");
|
|
5
|
+
class VueBanner extends vue_base_component_1.VueBaseComponent {
|
|
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,subTitle,completed,backgroudImg`;
|
|
19
|
+
Object.keys(obj).forEach(key => {
|
|
20
|
+
if (keys.includes(key)) {
|
|
21
|
+
this[key] = obj[key];
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
exports.VueBanner = VueBanner;
|
|
27
|
+
//# sourceMappingURL=vue-banner.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vue-banner.js","sourceRoot":"","sources":["../../../../../../../src/mobileapp/vue/domstructure/ui/display/banner/vue-banner.ts"],"names":[],"mappings":";;;AAAA,iEAA4D;AAE5D,MAAa,SAAU,SAAQ,qCAAgB;IAG3C,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,uCAAuC,CAAC;QACrD,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;CACJ;AAvBD,8BAuBC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VueCalendar = void 0;
|
|
4
|
+
const vue_base_component_1 = require("../../vue-base-component");
|
|
5
|
+
class VueCalendar extends vue_base_component_1.VueBaseComponent {
|
|
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 = 'appearance,visible,value,firstDay,title,mark,event,events,view,valueType,theme,dayClick,render';
|
|
19
|
+
Object.keys(obj).forEach(key => {
|
|
20
|
+
if (keys.includes(key)) {
|
|
21
|
+
this[key] = obj[key];
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
exports.VueCalendar = VueCalendar;
|
|
27
|
+
//# sourceMappingURL=calendar.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"calendar.js","sourceRoot":"","sources":["../../../../../../../src/mobileapp/vue/domstructure/ui/display/calendar/calendar.ts"],"names":[],"mappings":";;;AAAA,iEAA4D;AAE5D,MAAa,WAAY,SAAQ,qCAAgB;IAU7C,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;QAED,MAAM,IAAI,GAAG,gGAAgG,CAAC;QAC9G,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"}
|
|
@@ -0,0 +1,15 @@
|
|
|
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("./calendar"), exports);
|
|
14
|
+
__exportStar(require("./schedule"), exports);
|
|
15
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/mobileapp/vue/domstructure/ui/display/calendar/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAA4B;AAC5B,6CAA4B"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VueSchedule = void 0;
|
|
4
|
+
const vue_base_component_1 = require("../../vue-base-component");
|
|
5
|
+
class VueSchedule extends vue_base_component_1.VueBaseComponent {
|
|
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 = 'appearance,visible,startTime,endTime,events,eventColor, onEventClick';
|
|
19
|
+
Object.keys(obj).forEach(key => {
|
|
20
|
+
if (keys.includes(key)) {
|
|
21
|
+
if (key === 'events') {
|
|
22
|
+
this[key] = typeof obj[key] === 'string' ? obj[key] : JSON.stringify(obj[key]);
|
|
23
|
+
}
|
|
24
|
+
else {
|
|
25
|
+
this[key] = obj[key];
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
exports.VueSchedule = VueSchedule;
|
|
32
|
+
//# sourceMappingURL=schedule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schedule.js","sourceRoot":"","sources":["../../../../../../../src/mobileapp/vue/domstructure/ui/display/calendar/schedule.ts"],"names":[],"mappings":";;;AAAA,iEAA4D;AAE5D,MAAa,WAAY,SAAQ,qCAAgB;IAO7C,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;QAED,MAAM,IAAI,GAAG,sEAAsE,CAAC;QACpF,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;YAC3B,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBACpB,IAAG,GAAG,KAAK,QAAQ,EAAE;oBACjB,IAAI,CAAC,GAAG,CAAC,GAAG,OAAO,GAAG,CAAC,GAAG,CAAC,KAAK,QAAQ,CAAA,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAA;iBAChF;qBAAM;oBACH,IAAI,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;iBACxB;aACJ;QACL,CAAC,CAAC,CAAC;IACP,CAAC;CAGJ;AAlCD,kCAkCC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VueHtmlTemplate = void 0;
|
|
4
|
+
const vue_base_component_1 = require("../../vue-base-component");
|
|
5
|
+
class VueHtmlTemplate extends vue_base_component_1.VueBaseComponent {
|
|
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,html,type,visible';
|
|
19
|
+
Object.keys(obj).forEach(key => {
|
|
20
|
+
if (keys.includes(key)) {
|
|
21
|
+
this[key] = obj[key];
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
exports.VueHtmlTemplate = VueHtmlTemplate;
|
|
27
|
+
//# sourceMappingURL=html-template.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"html-template.js","sourceRoot":"","sources":["../../../../../../../src/mobileapp/vue/domstructure/ui/display/html-template/html-template.ts"],"names":[],"mappings":";;;AAAA,iEAA4D;AAE5D,MAAa,eAAgB,SAAQ,qCAAgB;IAMjD,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;QAED,MAAM,IAAI,GAAG,sBAAsB,CAAC;QACpC,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;AA7BD,0CA6BC"}
|
|
@@ -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("./html-template"), exports);
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/mobileapp/vue/domstructure/ui/display/html-template/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAiC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
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("./list-view"), exports);
|
|
14
|
+
__exportStar(require("./html-template"), exports);
|
|
15
|
+
__exportStar(require("./calendar"), exports);
|
|
16
|
+
__exportStar(require("./static-text"), exports);
|
|
17
|
+
__exportStar(require("./banner"), exports);
|
|
18
|
+
__exportStar(require("./staff-info"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/display/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,8CAA4B;AAC5B,kDAAgC;AAChC,6CAA2B;AAC3B,gDAA8B;AAC9B,2CAAyB;AACzB,+CAA6B"}
|
|
@@ -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-list-view"), exports);
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/mobileapp/vue/domstructure/ui/display/list-view/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAgC"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VueListView = void 0;
|
|
4
|
+
const vue_base_component_1 = require("../../vue-base-component");
|
|
5
|
+
const utility_1 = require("../../../../../../utility");
|
|
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 VueListView 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 = `label,multiSelect,offset,loadingText,finishedText,errorText,immediateCheck,data,
|
|
22
|
+
direction,showSubmitBtn,longPressCommand,load,multipleSubmit,multipleCancel,itemClick,contentTemplate,listClick,toolbar,
|
|
23
|
+
fill,enablePullUpLoad,enablePullDownRefresh,swipeTemplate,swipeToolbar,initMultiSelect,showValidatorResults`;
|
|
24
|
+
Object.keys(obj).forEach(key => {
|
|
25
|
+
if (keys.includes(key)) {
|
|
26
|
+
if (key === 'toolbar') {
|
|
27
|
+
let btns = '';
|
|
28
|
+
obj[key].items && obj[key].items.forEach((btn) => {
|
|
29
|
+
const tmp = `{ text: '${btn.text}', type: '${btn.showType}', disabled: ${btn.disable}, handler: ${btn.click ? btn.click : 'null'} }`;
|
|
30
|
+
btns = btns ? `${btns},${tmp}` : tmp;
|
|
31
|
+
});
|
|
32
|
+
this['btns'] = `[${btns}]`;
|
|
33
|
+
}
|
|
34
|
+
else if (key === 'swipeToolbar') {
|
|
35
|
+
if (obj[key] && utility_1.ToolHelper.isArray(obj[key].items)) {
|
|
36
|
+
this.swipeToolbar = Object.assign(Object.assign({}, obj[key]), { items: [] });
|
|
37
|
+
obj[key].items.forEach((item) => {
|
|
38
|
+
const contentType = vue_content_type_creator_1.VueContentTypeCreator.create(item.type, item.controlSource, item);
|
|
39
|
+
const domObj = vue_object_creator_1.VueObjectCreator.createObjectByType(contentType, this.resourcePrefix);
|
|
40
|
+
if (domObj) {
|
|
41
|
+
const domValue = new domObj(item);
|
|
42
|
+
this.swipeToolbar.items.push(domValue);
|
|
43
|
+
}
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
else {
|
|
48
|
+
this[key] = obj[key];
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
exports.VueListView = VueListView;
|
|
55
|
+
//# sourceMappingURL=vue-list-view.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vue-list-view.js","sourceRoot":"","sources":["../../../../../../../src/mobileapp/vue/domstructure/ui/display/list-view/vue-list-view.ts"],"names":[],"mappings":";;;AAAA,iEAA4D;AAC5D,uDAAuD;AACvD,2FAAqF;AACrF,+EAA0E;AAC1E,MAAa,WAAY,SAAQ,qCAAgB;IAqB7C,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;QAED,MAAM,IAAI,GAAG;;oHAE+F,CAAC;QAC7G,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;YAC3B,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBACpB,IAAI,GAAG,KAAK,SAAS,EAAE;oBASnB,IAAI,IAAI,GAAG,EAAE,CAAA;oBACb,GAAG,CAAC,GAAG,CAAC,CAAC,KAAK,IAAI,GAAG,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,GAAQ,EAAE,EAAE;wBAClD,MAAM,GAAG,GAAG,YAAY,GAAG,CAAC,IAAI,aAAa,GAAG,CAAC,QAAQ,gBAAgB,GAAG,CAAC,OAAO,cAAc,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,IAAI,CAAA;wBACpI,IAAI,GAAG,IAAI,CAAC,CAAC,CAAC,GAAG,IAAI,IAAI,GAAG,EAAE,CAAC,CAAC,CAAC,GAAG,CAAA;oBACxC,CAAC,CAAC,CAAA;oBACF,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,IAAI,GAAG,CAAA;iBAC7B;qBAAM,IAAG,GAAG,KAAK,cAAc,EAAC;oBAC7B,IAAI,GAAG,CAAC,GAAG,CAAC,IAAI,oBAAU,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC,EAAE;wBAChD,IAAI,CAAC,YAAY,mCAAQ,GAAG,CAAC,GAAG,CAAC,KAAE,KAAK,EAAE,EAAE,GAAE,CAAC;wBAE/C,GAAG,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,IAAS,EAAE,EAAE;4BACjC,MAAM,WAAW,GAAG,gDAAqB,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,aAAa,EAAE,IAAI,CAAC,CAAC;4BACtF,MAAM,MAAM,GAAG,qCAAgB,CAAC,kBAAkB,CAAC,WAAW,EAAE,IAAI,CAAC,cAAc,CAAC,CAAC;4BACrF,IAAI,MAAM,EAAE;gCACR,MAAM,QAAQ,GAAG,IAAI,MAAM,CAAC,IAAI,CAAC,CAAC;gCAClC,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;6BAC1C;wBACL,CAAC,CAAC,CAAC;qBACN;iBACJ;qBAAM;oBACH,IAAI,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;iBACxB;aACJ;QACL,CAAC,CAAC,CAAC;IACP,CAAC;CACJ;AA1ED,kCA0EC"}
|
|
@@ -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("./staff-info"), exports);
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/mobileapp/vue/domstructure/ui/display/staff-info/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAA6B"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VueStaffInfo = void 0;
|
|
4
|
+
const vue_base_component_1 = require("../../vue-base-component");
|
|
5
|
+
class VueStaffInfo extends vue_base_component_1.VueBaseComponent {
|
|
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 = `visible,titleText,staffIdField,staffNameField,departmentNameField,avatarType`;
|
|
19
|
+
Object.keys(obj).forEach((key) => {
|
|
20
|
+
if (keys.includes(key)) {
|
|
21
|
+
switch (key) {
|
|
22
|
+
case 'staffIdField':
|
|
23
|
+
this.staffId =
|
|
24
|
+
obj.staffIdField && obj.staffIdField.bindingPath
|
|
25
|
+
? 'currentEntityData.' + obj.staffIdField.bindingPath
|
|
26
|
+
: undefined;
|
|
27
|
+
break;
|
|
28
|
+
case 'staffNameField':
|
|
29
|
+
this.staffName =
|
|
30
|
+
obj.staffNameField && obj.staffNameField.bindingPath
|
|
31
|
+
? 'currentEntityData.' + obj.staffNameField.bindingPath
|
|
32
|
+
: undefined;
|
|
33
|
+
break;
|
|
34
|
+
case 'departmentNameField':
|
|
35
|
+
this.departmentName =
|
|
36
|
+
obj.departmentNameField && obj.departmentNameField.bindingPath
|
|
37
|
+
? 'currentEntityData.' + obj.departmentNameField.bindingPath
|
|
38
|
+
: undefined;
|
|
39
|
+
break;
|
|
40
|
+
default:
|
|
41
|
+
this[key] = obj[key];
|
|
42
|
+
break;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
exports.VueStaffInfo = VueStaffInfo;
|
|
49
|
+
//# sourceMappingURL=staff-info.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"staff-info.js","sourceRoot":"","sources":["../../../../../../../src/mobileapp/vue/domstructure/ui/display/staff-info/staff-info.ts"],"names":[],"mappings":";;;AAAA,iEAA4D;AAE5D,MAAa,YAAa,SAAQ,qCAAgB;IAGhD,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,8EAA8E,CAAA;QAC3F,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE;YAC/B,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBACtB,QAAQ,GAAG,EAAE;oBACX,KAAK,cAAc;wBACjB,IAAI,CAAC,OAAO;4BACV,GAAG,CAAC,YAAY,IAAI,GAAG,CAAC,YAAY,CAAC,WAAW;gCAC9C,CAAC,CAAC,oBAAoB,GAAG,GAAG,CAAC,YAAY,CAAC,WAAW;gCACrD,CAAC,CAAC,SAAS,CAAA;wBACf,MAAK;oBACP,KAAK,gBAAgB;wBACnB,IAAI,CAAC,SAAS;4BACZ,GAAG,CAAC,cAAc,IAAI,GAAG,CAAC,cAAc,CAAC,WAAW;gCAClD,CAAC,CAAC,oBAAoB,GAAG,GAAG,CAAC,cAAc,CAAC,WAAW;gCACvD,CAAC,CAAC,SAAS,CAAA;wBACf,MAAK;oBACP,KAAK,qBAAqB;wBACxB,IAAI,CAAC,cAAc;4BACjB,GAAG,CAAC,mBAAmB,IAAI,GAAG,CAAC,mBAAmB,CAAC,WAAW;gCAC5D,CAAC,CAAC,oBAAoB,GAAG,GAAG,CAAC,mBAAmB,CAAC,WAAW;gCAC5D,CAAC,CAAC,SAAS,CAAA;wBACf,MAAK;oBACP;wBACE,IAAI,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAA;wBACpB,MAAK;iBACR;aACF;QACH,CAAC,CAAC,CAAA;IACJ,CAAC;CACF;AA7CD,oCA6CC"}
|
|
@@ -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("./static-text"), exports);
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/mobileapp/vue/domstructure/ui/display/static-text/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,gDAA+B"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VueStaticText = void 0;
|
|
4
|
+
const vue_base_component_1 = require("../../vue-base-component");
|
|
5
|
+
class VueStaticText extends vue_base_component_1.VueBaseComponent {
|
|
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,html,type,visible';
|
|
19
|
+
Object.keys(obj).forEach(key => {
|
|
20
|
+
if (keys.includes(key)) {
|
|
21
|
+
this[key] = obj[key];
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
exports.VueStaticText = VueStaticText;
|
|
27
|
+
//# sourceMappingURL=static-text.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"static-text.js","sourceRoot":"","sources":["../../../../../../../src/mobileapp/vue/domstructure/ui/display/static-text/static-text.ts"],"names":[],"mappings":";;;AAAA,iEAA4D;AAE5D,MAAa,aAAc,SAAQ,qCAAgB;IAM/C,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;QAED,MAAM,IAAI,GAAG,sBAAsB,CAAC;QACpC,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;AA7BD,sCA6BC"}
|