@farris/jit-engine 1.3.185 → 1.3.187-dev
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/README.md +9 -46
- package/lib/context/index.js +1 -1
- package/lib/domstructure/devkit/befProxy/index.js +1 -1
- package/lib/domstructure/devkit/extraImports/index.js +1 -1
- package/lib/domstructure/devkit/index.js +1 -1
- package/lib/domstructure/devkit/module-reference/index.js +1 -1
- package/lib/domstructure/devkit/section-toolbar/index.js +1 -1
- package/lib/domstructure/devkit/tab-toolbar/index.js +1 -1
- package/lib/domstructure/devkit/viewmodel/component/index.js +1 -1
- package/lib/domstructure/index.js +1 -1
- package/lib/domstructure/ui/appointment-calendar/index.js +1 -1
- package/lib/domstructure/ui/approve-comments/approval-comments.js +4 -1
- package/lib/domstructure/ui/approve-comments/approval-comments.js.map +1 -1
- package/lib/domstructure/ui/approve-comments/index.js +1 -1
- package/lib/domstructure/ui/approve-logs/index.js +1 -1
- package/lib/domstructure/ui/commands/index.js +1 -1
- package/lib/domstructure/ui/common/index.js +1 -1
- package/lib/domstructure/ui/container/index.js +1 -1
- package/lib/domstructure/ui/container/multi-view/index.js +1 -1
- package/lib/domstructure/ui/container/qdp_framework.js +1 -1
- package/lib/domstructure/ui/container/response-layout/index.js +1 -1
- package/lib/domstructure/ui/container/sidebar/index.js +1 -1
- package/lib/domstructure/ui/data/collection/farris-datagrid/index.js +1 -1
- package/lib/domstructure/ui/data/fields/form/editable/inputs/reference/lookup_edit.js.map +1 -1
- package/lib/domstructure/ui/data/fields/form/editable/inputs/value/approval-comments.js +37 -0
- package/lib/domstructure/ui/data/fields/form/editable/inputs/value/approval-comments.js.map +1 -0
- package/lib/domstructure/ui/data/fields/form/editable/inputs/value/employeeorg-selector.js +45 -0
- package/lib/domstructure/ui/data/fields/form/editable/inputs/value/employeeorg-selector.js.map +1 -0
- package/lib/domstructure/ui/data/index.js +1 -1
- package/lib/domstructure/ui/data/scrollcollapse/index.js +1 -1
- package/lib/domstructure/ui/discussion/index.js +1 -1
- package/lib/domstructure/ui/farris-avatar/index.js +1 -1
- package/lib/domstructure/ui/farris-calendar/index.js +1 -1
- package/lib/domstructure/ui/farris-dynamic-control-group/index.js +1 -1
- package/lib/domstructure/ui/farris-file-preview/index.js +1 -1
- package/lib/domstructure/ui/farris-file-upload/index.js +1 -1
- package/lib/domstructure/ui/farris-fileupload-preview/farris-file-upload-preview.js +4 -1
- package/lib/domstructure/ui/farris-fileupload-preview/farris-file-upload-preview.js.map +1 -1
- package/lib/domstructure/ui/farris-fileupload-preview/index.js +1 -1
- package/lib/domstructure/ui/farris-scrollspy/index.js +1 -1
- package/lib/domstructure/ui/farris-ui-footer/index.js +1 -1
- package/lib/domstructure/ui/farrisprogressstep/index.js +1 -1
- package/lib/domstructure/ui/farrissplitter/index.js +1 -1
- package/lib/domstructure/ui/formheader/index.js +1 -1
- package/lib/domstructure/ui/header/index.js +1 -1
- package/lib/domstructure/ui/image/index.js +1 -1
- package/lib/domstructure/ui/image-upload/index.js +1 -1
- package/lib/domstructure/ui/index.js +1 -1
- package/lib/domstructure/ui/light-listfilter/index.js +1 -1
- package/lib/domstructure/ui/list-filter/index.js +1 -1
- package/lib/domstructure/ui/list-nav/index.js +1 -1
- package/lib/domstructure/ui/listview/index.js +1 -1
- package/lib/domstructure/ui/modal-footer/index.js +1 -1
- package/lib/domstructure/ui/multi-select/index.js +1 -1
- package/lib/domstructure/ui/nav-tab/index.js +1 -1
- package/lib/domstructure/ui/oa-relation/index.js +1 -1
- package/lib/domstructure/ui/oa-relation/oa-relation.js +1 -1
- package/lib/domstructure/ui/oa-relation/oa-relation.js.map +1 -1
- package/lib/domstructure/ui/p-treetable/index.js +1 -1
- package/lib/domstructure/ui/portlet/index.js +1 -1
- package/lib/domstructure/ui/queryScheme/index.js +1 -1
- package/lib/domstructure/ui/section/index.js +1 -1
- package/lib/domstructure/ui/static-control/index.js +1 -1
- package/lib/domstructure/ui/table/farris-table-column.js.map +1 -1
- package/lib/domstructure/ui/table/index.js +1 -1
- package/lib/domstructure/ui/tabs/index.js +1 -1
- package/lib/domstructure/ui/tag/index.js +1 -1
- package/lib/domstructure/ui/tags/index.js +1 -1
- package/lib/domstructure/ui/view-change/index.js +1 -1
- package/lib/domstructure/ui/wizard/index.js +1 -1
- package/lib/engine/index.js +1 -1
- package/lib/entity/index.js +1 -1
- package/lib/entity/jit-input-options/index.js +1 -1
- package/lib/entity/page-flow/index.js +1 -1
- package/lib/factory/index.js +1 -1
- package/lib/generator/index.js +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/file-generator/page-generator/page-component-generator.js +1 -2
- 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/page-manager/page-component-manager.js +0 -4
- package/lib/mobileapp/vue/code-generator/page-manager/page-component-manager.js.map +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/vue-control.js +1 -1
- package/lib/mobileapp/vue/domstructure/devkit/form/vue-control.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/internal-entity/vue-page-component-generate-parameter.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/action-bar/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/ui/approval/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/ui/attachment/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/ui/banner/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/ui/button/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/ui/calendar/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/ui/card/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/ui/checkbox/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/ui/common/vue-size.js +2 -8
- package/lib/mobileapp/vue/domstructure/ui/common/vue-size.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/common/vue-visible.js +49 -3
- package/lib/mobileapp/vue/domstructure/ui/common/vue-visible.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/container/index.js +0 -9
- package/lib/mobileapp/vue/domstructure/ui/container/index.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/container/vue-container.js +2 -25
- package/lib/mobileapp/vue/domstructure/ui/container/vue-container.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/container/vue-content-container.js +17 -9
- package/lib/mobileapp/vue/domstructure/ui/container/vue-content-container.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/data/fields/form/display/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/ui/data/fields/form/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/ui/data/fields/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/ui/data/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/ui/date-time-picker/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/ui/field-set/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/ui/filter/filter.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/filter/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/ui/footer/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/ui/html-preview/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/ui/html-template/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/ui/image/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/ui/index.js +32 -4
- package/lib/mobileapp/vue/domstructure/ui/index.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/list-view/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/ui/lookup/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/ui/nav-bar/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/ui/number/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/ui/picker/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/ui/radio/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/ui/rich-text-editor/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/ui/section/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/ui/sidebar/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/ui/staff-info/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/ui/static-text/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/ui/switch/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/ui/tab/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/ui/tab/vue-tab-bar.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/text-area/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/ui/text-box/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/ui/toolbar/index.js +1 -1
- package/lib/mobileapp/vue/domstructure/ui/vue-base-component.js +7 -51
- package/lib/mobileapp/vue/domstructure/ui/vue-base-component.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/vue-input-component.js.map +1 -1
- package/lib/mobileapp/vue/pug-template/config/ui-template-config.js +66 -71
- package/lib/mobileapp/vue/pug-template/config/ui-template-config.js.map +1 -1
- package/lib/mobileapp/vue/static/.gitignore +13 -0
- package/lib/mobileapp/vue/utility/devkit/vue-component-creator.js +0 -2
- package/lib/mobileapp/vue/utility/devkit/vue-component-creator.js.map +1 -1
- package/lib/mobileapp/vue/utility/devkit/vue-form-creator.js +30 -46
- package/lib/mobileapp/vue/utility/devkit/vue-form-creator.js.map +1 -1
- package/lib/mobileapp/vue/utility/template-generator/page-child-component-generator.js +4 -1
- package/lib/mobileapp/vue/utility/template-generator/page-child-component-generator.js.map +1 -1
- package/lib/mobileapp/vue/utility/vue-content-type-creator.js +40 -47
- package/lib/mobileapp/vue/utility/vue-content-type-creator.js.map +1 -1
- package/lib/mobileapp/vue2/code-generator/devkit-manager/app-indexvue-manager.js +1 -1
- package/lib/mobileapp/vue2/code-generator/devkit-manager/index.js +1 -1
- package/lib/mobileapp/vue2/code-generator/file-generator/app-generator/index.js +1 -1
- package/lib/mobileapp/vue2/code-generator/file-generator/index.js +1 -1
- package/lib/mobileapp/vue2/code-generator/file-generator-path-manager.js +1 -1
- package/lib/mobileapp/vue2/code-generator/index.js +1 -1
- package/lib/mobileapp/vue2/code-generator/workspace-manager/workspace-file-manager.js +1 -1
- package/lib/mobileapp/vue2/domstructure/devkit/befproxy/index.js +1 -1
- package/lib/mobileapp/vue2/domstructure/devkit/component/index.js +1 -1
- package/lib/mobileapp/vue2/domstructure/devkit/form/index.js +1 -1
- package/lib/mobileapp/vue2/domstructure/devkit/index.js +1 -1
- package/lib/mobileapp/vue2/domstructure/devkit/statemachine/index.js +1 -1
- package/lib/mobileapp/vue2/domstructure/devkit/states/index.js +1 -1
- package/lib/mobileapp/vue2/domstructure/devkit/viewmodel/index.js +1 -1
- package/lib/mobileapp/vue2/domstructure/index.js +1 -1
- package/lib/mobileapp/vue2/domstructure/ui/action-bar/index.js +1 -1
- package/lib/mobileapp/vue2/domstructure/ui/attachment/index.js +1 -1
- package/lib/mobileapp/vue2/domstructure/ui/button/index.js +1 -1
- package/lib/mobileapp/vue2/domstructure/ui/calendar/index.js +1 -1
- package/lib/mobileapp/vue2/domstructure/ui/checkbox/index.js +1 -1
- package/lib/mobileapp/vue2/domstructure/ui/container/index.js +1 -1
- package/lib/mobileapp/vue2/domstructure/ui/data/fields/form/display/index.js +1 -1
- package/lib/mobileapp/vue2/domstructure/ui/data/fields/form/index.js +1 -1
- package/lib/mobileapp/vue2/domstructure/ui/data/fields/index.js +1 -1
- package/lib/mobileapp/vue2/domstructure/ui/data/index.js +1 -1
- package/lib/mobileapp/vue2/domstructure/ui/date-time-picker/index.js +1 -1
- package/lib/mobileapp/vue2/domstructure/ui/field-set/index.js +1 -1
- package/lib/mobileapp/vue2/domstructure/ui/filter/index.js +1 -1
- package/lib/mobileapp/vue2/domstructure/ui/footer/index.js +1 -1
- package/lib/mobileapp/vue2/domstructure/ui/html-template/index.js +1 -1
- package/lib/mobileapp/vue2/domstructure/ui/image/index.js +1 -1
- package/lib/mobileapp/vue2/domstructure/ui/index.js +1 -1
- package/lib/mobileapp/vue2/domstructure/ui/list-view/index.js +1 -1
- package/lib/mobileapp/vue2/domstructure/ui/lookup/index.js +1 -1
- package/lib/mobileapp/vue2/domstructure/ui/nav-bar/index.js +1 -1
- package/lib/mobileapp/vue2/domstructure/ui/number/index.js +1 -1
- package/lib/mobileapp/vue2/domstructure/ui/picker/index.js +1 -1
- package/lib/mobileapp/vue2/domstructure/ui/radio/index.js +1 -1
- package/lib/mobileapp/vue2/domstructure/ui/section/index.js +1 -1
- package/lib/mobileapp/vue2/domstructure/ui/switch/index.js +1 -1
- package/lib/mobileapp/vue2/domstructure/ui/tab/index.js +1 -1
- package/lib/mobileapp/vue2/domstructure/ui/text-area/index.js +1 -1
- package/lib/mobileapp/vue2/domstructure/ui/text-box/index.js +1 -1
- package/lib/mobileapp/vue2/domstructure/ui/toolbar/index.js +1 -1
- package/lib/mobileapp/vue2/internal-entity/page-flow/index.js +1 -1
- package/lib/mobileapp/vue2/jit-engine-executor/index.js +1 -1
- package/lib/mobileapp/vue2/pug-generator/index.js +1 -1
- package/lib/mobileapp/vue2/pug-template/config/ui-template-config.js +1 -1
- package/lib/mobileapp/vue2/utility/index.js +1 -1
- package/lib/mobileapp/vue2/utility/parameter-collector/page-component-collector/index.js +1 -1
- package/lib/mobileapp/vue2/utility/type-convert.js +2 -1
- package/lib/mobileapp/vue2/utility/type-convert.js.map +1 -1
- package/lib/mobileapp/vue2/utility/vue-object-creator.js +1 -1
- package/lib/task/devkit-className-modifier.ts/index.js +1 -1
- package/lib/task/index.js +1 -1
- package/lib/task/kendo-task.js +2 -1
- package/lib/task/kendo-task.js.map +1 -1
- package/lib/task/recursiveGenerateDevkit.js +1 -1
- package/lib/template/ui/kendo/approval-comments.pug +2 -1
- package/lib/template/ui/kendo/farris-file-upload-preview.pug +1 -0
- package/lib/template/ui/kendo/oa-relation.pug +12 -1
- package/lib/template/ui/kendo/table/adminorganization-selector.pug +1 -0
- package/lib/template/ui/kendo/table/city-selector.pug +44 -0
- package/lib/template/ui/kendo/table/employee-selector.pug +1 -0
- package/lib/template/ui/kendo/table/farris-ext-intergration.pug +54 -0
- package/lib/template/ui/kendo/table/image-upload.pug +57 -0
- package/lib/template/ui/kendo/table/oa-relation.pug +16 -0
- package/lib/template/ui/mobilevue/area-picker.pug +14 -29
- package/lib/template/ui/mobilevue/button.pug +12 -18
- package/lib/template/ui/mobilevue/calendar-input.pug +10 -41
- package/lib/template/ui/mobilevue/card.pug +8 -11
- package/lib/template/ui/mobilevue/checkbox-group.pug +14 -29
- package/lib/template/ui/mobilevue/contentcontainer.pug +6 -6
- package/lib/template/ui/mobilevue/date-time-picker.pug +15 -33
- package/lib/template/ui/mobilevue/field-set.pug +33 -14
- package/lib/template/ui/mobilevue/filter.pug +9 -12
- package/lib/template/ui/mobilevue/form.pug +10 -6
- package/lib/template/ui/mobilevue/list-view.pug +27 -39
- package/lib/template/ui/mobilevue/lookup-department.pug +14 -26
- package/lib/template/ui/mobilevue/lookup-employee.pug +14 -26
- package/lib/template/ui/mobilevue/lookup-input.pug +19 -29
- package/lib/template/ui/mobilevue/nav-bar.pug +5 -7
- package/lib/template/ui/mobilevue/number.pug +15 -24
- package/lib/template/ui/mobilevue/picker.pug +15 -31
- package/lib/template/ui/mobilevue/radio-group.pug +14 -28
- package/lib/template/ui/mobilevue/rich-text-editor.pug +22 -33
- package/lib/template/ui/mobilevue/section.pug +6 -2
- package/lib/template/ui/mobilevue/switch.pug +10 -32
- package/lib/template/ui/mobilevue/tab-bar.pug +6 -12
- package/lib/template/ui/mobilevue/tabpage.pug +7 -12
- package/lib/template/ui/mobilevue/tabs.pug +7 -11
- package/lib/template/ui/mobilevue/text-area.pug +14 -23
- package/lib/template/ui/mobilevue/text-box-external.pug +14 -24
- package/lib/template/ui/mobilevue/text-box.pug +15 -24
- package/lib/template/ui/mobilevue/text-scan.pug +14 -40
- package/lib/template/ui/mobilevue/text-telphone.pug +13 -22
- package/lib/template/ui/mobilevue/toolbar-area.pug +5 -8
- package/lib/template/ui/mobilevue/toolbar-item.pug +1 -9
- package/lib/utility/adminorganization-selector-checker.js.map +1 -1
- package/lib/utility/appointment-calendar-checker.js.map +1 -1
- package/lib/utility/build-file-version/build-file-version-manager.js +1 -1
- package/lib/utility/build-file-version/index.js +1 -1
- package/lib/utility/city-selector-checker.js +23 -15
- package/lib/utility/city-selector-checker.js.map +1 -1
- package/lib/utility/component-employeeorg-selector-parameter-helper.js +11 -0
- package/lib/utility/component-employeeorg-selector-parameter-helper.js.map +1 -0
- package/lib/utility/crypto/crypto-dhs256.js +1 -1
- package/lib/utility/crypto/crypto-md5.js +1 -1
- package/lib/utility/crypto/index.js +1 -1
- package/lib/utility/devkit/component-employeeorg-selector-parameter.js +7 -0
- package/lib/utility/devkit/component-employeeorg-selector-parameter.js.map +1 -0
- package/lib/utility/devkit/component-parameter-collector/component-employeeorg-selector-parameter-collector.js +46 -0
- package/lib/utility/devkit/component-parameter-collector/component-employeeorg-selector-parameter-collector.js.map +1 -0
- package/lib/utility/devkit/component-parameter-collector/component-header-parameter-collector.js.map +1 -1
- package/lib/utility/devkit/component-parameter-collector/farris-datagrid-collector.js.map +1 -1
- package/lib/utility/devkit/component-parameter-collector/index.js +1 -1
- package/lib/utility/devkit/entities-creator.js +2 -15
- package/lib/utility/devkit/entities-creator.js.map +1 -1
- package/lib/utility/devkit/entity-creator.js +3 -0
- package/lib/utility/devkit/entity-creator.js.map +1 -1
- package/lib/utility/devkit/external-component/external-component-creator.js +1 -1
- package/lib/utility/devkit/external-component/external-component-publisPath-generator.js +1 -1
- package/lib/utility/devkit/external-component/index.js +1 -1
- package/lib/utility/devkit/form-file-executor.js.map +1 -1
- package/lib/utility/devkit/index.js +1 -1
- package/lib/utility/devkit/viewmodels-creator.js +3 -5
- package/lib/utility/devkit/viewmodels-creator.js.map +1 -1
- package/lib/utility/devkit-template-config.js +12 -0
- package/lib/utility/devkit-template-config.js.map +1 -1
- package/lib/utility/employee-selector-checker.js.map +1 -1
- package/lib/utility/employeeorg-selector-checker.js +58 -0
- package/lib/utility/employeeorg-selector-checker.js.map +1 -0
- package/lib/utility/environment-constants.js +1 -1
- package/lib/utility/expression/index.js +1 -1
- package/lib/utility/ext-intergration-checker.js +11 -0
- package/lib/utility/ext-intergration-checker.js.map +1 -1
- package/lib/utility/farris-datagrid/combo-list-editor.js +1 -1
- package/lib/utility/farris-datagrid/combo-list-editor.js.map +1 -1
- package/lib/utility/farris-datagrid/date-picker-editor.js +1 -1
- package/lib/utility/farris-datagrid/date-picker-editor.js.map +1 -1
- package/lib/utility/farris-datagrid/employee-selector-editor.js.map +1 -1
- package/lib/utility/farris-datagrid/index.js +1 -1
- package/lib/utility/farris-datagrid/number-box-editor.js +1 -1
- package/lib/utility/farris-datagrid/number-box-editor.js.map +1 -1
- package/lib/utility/farris-datagrid/personnel-selector-editor.js.map +1 -1
- package/lib/utility/file-operation/index.js +1 -1
- package/lib/utility/formatter/code-formatter.js +1 -1
- package/lib/utility/formatter/index.js +1 -1
- package/lib/utility/i18n/index.js +1 -1
- package/lib/utility/image-upload-checker.js +23 -15
- package/lib/utility/image-upload-checker.js.map +1 -1
- package/lib/utility/index.js +1 -1
- package/lib/utility/internal-entity/component-parameter/index.js +1 -1
- package/lib/utility/internal-entity/index.js +1 -1
- package/lib/utility/internal-entity/viewmodel-parameter/index.js +1 -1
- package/lib/utility/jit-engine-executor/index.js +1 -1
- package/lib/utility/jit-ignore/index.js +1 -1
- package/lib/utility/jit-path-helper.js +1 -1
- package/lib/utility/json-stringfy-helper/array.js +2 -1
- package/lib/utility/json-stringfy-helper/array.js.map +1 -1
- package/lib/utility/json-stringfy-helper/function.js +2 -1
- package/lib/utility/json-stringfy-helper/function.js.map +1 -1
- package/lib/utility/json-stringfy-helper/object.js +2 -1
- package/lib/utility/json-stringfy-helper/object.js.map +1 -1
- package/lib/utility/json-stringfy-helper/stringify.js +2 -1
- package/lib/utility/json-stringfy-helper/stringify.js.map +1 -1
- package/lib/utility/logger/index.js +1 -1
- package/lib/utility/mobile-approve/entity/index.js +1 -1
- package/lib/utility/mobile-approve/mobile-approve-manager.js +1 -1
- package/lib/utility/mobile-approve/template-generator/index.js +1 -1
- package/lib/utility/module-reference/index.js +1 -1
- package/lib/utility/oa-relation-checker.js +23 -16
- package/lib/utility/oa-relation-checker.js.map +1 -1
- package/lib/utility/organization-selector-checker.js.map +1 -1
- package/lib/utility/pageflow/index.js +1 -1
- package/lib/utility/personnel-selector-checker.js.map +1 -1
- package/lib/utility/project-version/index.js +1 -1
- package/lib/utility/project-version/project-version-filename-generator.js +1 -1
- package/lib/utility/template-generator/devkit/component-generator/component-appointment-calendar-parameter-generator.js +1 -1
- package/lib/utility/template-generator/devkit/component-generator/component-employeeorg-selector-parameter-generator.js +21 -0
- package/lib/utility/template-generator/devkit/component-generator/component-employeeorg-selector-parameter-generator.js.map +1 -0
- package/lib/utility/template-generator/devkit/component-generator/component-external-container-parameter-generator.js.map +1 -1
- package/lib/utility/template-generator/devkit/component-generator/component-listfilter-parameter-generator.js +1 -1
- package/lib/utility/template-generator/devkit/component-generator/component-modal-form-controls-generator.js.map +1 -1
- package/lib/utility/template-generator/devkit/component-generator/component-queryschema-parameter-generator.js +1 -1
- package/lib/utility/template-generator/devkit/component-generator/index.js +1 -1
- package/lib/utility/template-generator/devkit/module-generator/index.js +1 -1
- package/lib/utility/template-generator/form-jiexi/devkit/component-generator/index.js +1 -1
- package/lib/utility/template-generator/form-jiexi/devkit/metadata-generator/form-metadata-generator.js +1 -1
- package/lib/utility/template-generator/form-jiexi/devkit/metadata-generator/indexx.js +1 -1
- package/lib/utility/template-generator/form-jiexi/devkit/module-generator/index.js +1 -1
- package/lib/utility/template-generator/form-jiexi/form-jiexi-generator-manager.js +1 -1
- package/lib/utility/template-generator/index.js +1 -1
- package/lib/utility/template-generator/project-app/index.js +1 -1
- package/lib/utility/template-generator/template-generator-manager.js +1 -1
- package/lib/utility/toolhepler.js +1 -1
- package/lib/utility/validator/index.js +1 -1
- package/package.json +2 -3
- package/lib/mobileapp/vue/domstructure/ui/basic/action-bar/action-bar.js +0 -57
- package/lib/mobileapp/vue/domstructure/ui/basic/action-bar/action-bar.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/action-bar/index.js +0 -14
- package/lib/mobileapp/vue/domstructure/ui/basic/action-bar/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/button/button.js +0 -39
- package/lib/mobileapp/vue/domstructure/ui/basic/button/button.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/button/index.js +0 -14
- package/lib/mobileapp/vue/domstructure/ui/basic/button/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/image/image.js +0 -27
- package/lib/mobileapp/vue/domstructure/ui/basic/image/image.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/image/index.js +0 -14
- package/lib/mobileapp/vue/domstructure/ui/basic/image/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/index.js +0 -21
- package/lib/mobileapp/vue/domstructure/ui/basic/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/nav-bar/index.js +0 -14
- package/lib/mobileapp/vue/domstructure/ui/basic/nav-bar/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/nav-bar/vue-nav-bar.js +0 -45
- package/lib/mobileapp/vue/domstructure/ui/basic/nav-bar/vue-nav-bar.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/search/index.js +0 -14
- package/lib/mobileapp/vue/domstructure/ui/basic/search/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/search/search.js +0 -39
- package/lib/mobileapp/vue/domstructure/ui/basic/search/search.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/sidebar/index.js +0 -15
- package/lib/mobileapp/vue/domstructure/ui/basic/sidebar/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/sidebar/sidebar-item.js +0 -42
- package/lib/mobileapp/vue/domstructure/ui/basic/sidebar/sidebar-item.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/sidebar/sidebar.js +0 -42
- package/lib/mobileapp/vue/domstructure/ui/basic/sidebar/sidebar.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/tab/index.js +0 -14
- package/lib/mobileapp/vue/domstructure/ui/basic/tab/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/tab/vue-tab-bar.js +0 -36
- package/lib/mobileapp/vue/domstructure/ui/basic/tab/vue-tab-bar.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/toolbar/index.js +0 -16
- package/lib/mobileapp/vue/domstructure/ui/basic/toolbar/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/toolbar/vue-toolbar-area.js +0 -35
- package/lib/mobileapp/vue/domstructure/ui/basic/toolbar/vue-toolbar-area.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/toolbar/vue-toolbar-item.js +0 -32
- package/lib/mobileapp/vue/domstructure/ui/basic/toolbar/vue-toolbar-item.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/toolbar/vue-toolbar.js +0 -42
- package/lib/mobileapp/vue/domstructure/ui/basic/toolbar/vue-toolbar.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/business/approval/approval-info.js +0 -27
- package/lib/mobileapp/vue/domstructure/ui/business/approval/approval-info.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/business/approval/approval-logs.js +0 -46
- package/lib/mobileapp/vue/domstructure/ui/business/approval/approval-logs.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/business/approval/index.js +0 -15
- package/lib/mobileapp/vue/domstructure/ui/business/approval/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment-entry.js +0 -27
- package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment-entry.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment-file.js +0 -29
- package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment-file.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment-uploader.js +0 -27
- package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment-uploader.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment.js +0 -29
- package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/business/attachment/image-uploader.js +0 -27
- package/lib/mobileapp/vue/domstructure/ui/business/attachment/image-uploader.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/business/attachment/index.js +0 -18
- package/lib/mobileapp/vue/domstructure/ui/business/attachment/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/business/filter/filter.js +0 -39
- package/lib/mobileapp/vue/domstructure/ui/business/filter/filter.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/business/filter/index.js +0 -14
- package/lib/mobileapp/vue/domstructure/ui/business/filter/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/business/index.js +0 -16
- package/lib/mobileapp/vue/domstructure/ui/business/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/common/vue-display.js +0 -49
- package/lib/mobileapp/vue/domstructure/ui/common/vue-display.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/common/vue-margin.js +0 -31
- package/lib/mobileapp/vue/domstructure/ui/common/vue-margin.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/common/vue-padding.js +0 -31
- package/lib/mobileapp/vue/domstructure/ui/common/vue-padding.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/common/vue-position.js +0 -39
- package/lib/mobileapp/vue/domstructure/ui/common/vue-position.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/common/vue-state.js +0 -50
- package/lib/mobileapp/vue/domstructure/ui/common/vue-state.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/common/vue-toolbar.js +0 -23
- package/lib/mobileapp/vue/domstructure/ui/common/vue-toolbar.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/container/card.js +0 -36
- package/lib/mobileapp/vue/domstructure/ui/container/card.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/container/field-set.js +0 -27
- package/lib/mobileapp/vue/domstructure/ui/container/field-set.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/container/section/index.js +0 -14
- package/lib/mobileapp/vue/domstructure/ui/container/section/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/container/section/vue-section.js +0 -46
- package/lib/mobileapp/vue/domstructure/ui/container/section/vue-section.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/container/vue-float-container.js +0 -18
- package/lib/mobileapp/vue/domstructure/ui/container/vue-float-container.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/container/vue-page-container.js +0 -12
- package/lib/mobileapp/vue/domstructure/ui/container/vue-page-container.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/container/vue-page-content-container.js +0 -12
- package/lib/mobileapp/vue/domstructure/ui/container/vue-page-content-container.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/container/vue-page-footer-container.js +0 -12
- package/lib/mobileapp/vue/domstructure/ui/container/vue-page-footer-container.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/container/vue-page-header-container.js +0 -12
- package/lib/mobileapp/vue/domstructure/ui/container/vue-page-header-container.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/container/vue-tab-page.js +0 -27
- package/lib/mobileapp/vue/domstructure/ui/container/vue-tab-page.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/container/vue-tabs.js +0 -27
- package/lib/mobileapp/vue/domstructure/ui/container/vue-tabs.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/display/banner/index.js +0 -14
- package/lib/mobileapp/vue/domstructure/ui/display/banner/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/display/banner/vue-banner.js +0 -27
- package/lib/mobileapp/vue/domstructure/ui/display/banner/vue-banner.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/display/calendar/calendar.js +0 -27
- package/lib/mobileapp/vue/domstructure/ui/display/calendar/calendar.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/display/calendar/index.js +0 -15
- package/lib/mobileapp/vue/domstructure/ui/display/calendar/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/display/calendar/schedule.js +0 -32
- package/lib/mobileapp/vue/domstructure/ui/display/calendar/schedule.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/display/html-template/html-template.js +0 -27
- package/lib/mobileapp/vue/domstructure/ui/display/html-template/html-template.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/display/html-template/index.js +0 -14
- package/lib/mobileapp/vue/domstructure/ui/display/html-template/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/display/index.js +0 -19
- package/lib/mobileapp/vue/domstructure/ui/display/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/display/list-view/index.js +0 -14
- package/lib/mobileapp/vue/domstructure/ui/display/list-view/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/display/list-view/vue-list-view.js +0 -55
- package/lib/mobileapp/vue/domstructure/ui/display/list-view/vue-list-view.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/display/staff-info/index.js +0 -14
- package/lib/mobileapp/vue/domstructure/ui/display/staff-info/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/display/staff-info/staff-info.js +0 -49
- package/lib/mobileapp/vue/domstructure/ui/display/staff-info/staff-info.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/display/static-text/index.js +0 -14
- package/lib/mobileapp/vue/domstructure/ui/display/static-text/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/display/static-text/static-text.js +0 -27
- package/lib/mobileapp/vue/domstructure/ui/display/static-text/static-text.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/input/area-picker.js +0 -27
- package/lib/mobileapp/vue/domstructure/ui/input/area-picker.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/input/calendar-input.js +0 -28
- package/lib/mobileapp/vue/domstructure/ui/input/calendar-input.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/input/checkbox-group.js +0 -36
- package/lib/mobileapp/vue/domstructure/ui/input/checkbox-group.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/input/common.js +0 -83
- package/lib/mobileapp/vue/domstructure/ui/input/common.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/input/date-picker.js +0 -34
- package/lib/mobileapp/vue/domstructure/ui/input/date-picker.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/input/html-preview.js +0 -27
- package/lib/mobileapp/vue/domstructure/ui/input/html-preview.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/input/index.js +0 -31
- package/lib/mobileapp/vue/domstructure/ui/input/index.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/input/lookup-department.js +0 -27
- package/lib/mobileapp/vue/domstructure/ui/input/lookup-department.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/input/lookup-employee.js +0 -27
- package/lib/mobileapp/vue/domstructure/ui/input/lookup-employee.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/input/lookup-input.js +0 -33
- package/lib/mobileapp/vue/domstructure/ui/input/lookup-input.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/input/number.js +0 -27
- package/lib/mobileapp/vue/domstructure/ui/input/number.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/input/picker.js +0 -36
- package/lib/mobileapp/vue/domstructure/ui/input/picker.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/input/radio-group.js +0 -36
- package/lib/mobileapp/vue/domstructure/ui/input/radio-group.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/input/rich-text-editor.js +0 -27
- package/lib/mobileapp/vue/domstructure/ui/input/rich-text-editor.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/input/switch-input.js +0 -27
- package/lib/mobileapp/vue/domstructure/ui/input/switch-input.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/input/text-area.js +0 -42
- package/lib/mobileapp/vue/domstructure/ui/input/text-area.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/input/text-box-external.js +0 -27
- package/lib/mobileapp/vue/domstructure/ui/input/text-box-external.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/input/text-box.js +0 -27
- package/lib/mobileapp/vue/domstructure/ui/input/text-box.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/input/text-scan.js +0 -27
- package/lib/mobileapp/vue/domstructure/ui/input/text-scan.js.map +0 -1
- package/lib/mobileapp/vue/domstructure/ui/input/text-telphone.js +0 -27
- package/lib/mobileapp/vue/domstructure/ui/input/text-telphone.js.map +0 -1
- package/lib/mobileapp/vue/utility/template-generator/page-component-external-generator.js +0 -39
- package/lib/mobileapp/vue/utility/template-generator/page-component-external-generator.js.map +0 -1
- package/lib/template/ui/mobilevue/container.pug +0 -10
- package/lib/template/ui/mobilevue/fm-staff-info.pug +0 -10
- package/lib/template/ui/mobilevue/page-content-container.pug +0 -10
- package/lib/template/ui/mobilevue/page-footer-container.pug +0 -10
- package/lib/template/ui/mobilevue/page-header-container.pug +0 -10
- package/lib/template/ui/mobilevue/search.pug +0 -20
|
@@ -1,41 +1,26 @@
|
|
|
1
|
-
|
|
2
|
-
-var attrs = {}
|
|
3
|
-
-attrs.class = variable.appearance && variable.appearance.class;
|
|
4
|
-
-attrs.style = variable.appearance && variable.appearance.style;
|
|
5
|
-
-attrs.label = variable.title? String(variable.title) : undefined
|
|
6
|
-
-var checkerStyle = variable.checkerWidth ? { width: variable.checkerWidth + 'px' } : undefined
|
|
7
|
-
-var visible = variable.visible ? String(variable.visible.value) : 'false';
|
|
8
|
-
-var require = variable.require ? String(variable.require.value) : undefined;
|
|
9
|
-
-var readonly = variable.readonly ? String(variable.readonly.value) : undefined;
|
|
10
|
-
-var disable = variable.disable ? String(variable.disable.value) : undefined;
|
|
11
|
-
-var inputDirection = variable.displayType !== 'button' ? 'vertical' : variable.direction
|
|
1
|
+
-variable.readonly = variable.readonly?String(variable.readonly).replace(/"/g, "'")+"":undefined;
|
|
2
|
+
-var attrs = variable.direction === 'vertical' ? {'#default': ''} : {'#value': ''}
|
|
12
3
|
-var direction = variable.displayType === 'button' ? 'horizontal' : variable.direction
|
|
13
|
-
-var
|
|
14
|
-
|
|
15
|
-
-var items = variable.dataSourceType === 'dynamic' ? String(variable.bindDataSource.value) : variable.items
|
|
16
|
-
|
|
17
|
-
div(
|
|
18
|
-
v-if=visible
|
|
19
|
-
class="fm-input-wrapper"
|
|
20
|
-
)
|
|
4
|
+
-var checkerStyle = variable.checkerWidth ? { width: variable.checkerWidth + 'px' } : undefined
|
|
5
|
+
div(class="fm-input-wrapper" v-if!=variable.visible?variable.visible+"":"false")
|
|
21
6
|
fm-input(
|
|
22
|
-
|
|
23
|
-
:
|
|
24
|
-
|
|
7
|
+
class="fm-input-vertical"
|
|
8
|
+
label=variable.title?""+variable.title:undefined
|
|
9
|
+
:required!=variable.require?variable.require+"":undefined
|
|
25
10
|
:labelWidth!=variable.labelWidth?variable.labelWidth+"":undefined
|
|
26
|
-
direction=inputDirection?inputDirection+"":undefined
|
|
27
11
|
:error-message!=variable.errorMessage
|
|
28
12
|
error-message-align=variable.errorMessage ? "right" : undefined
|
|
29
|
-
)
|
|
13
|
+
)
|
|
30
14
|
template(#default)
|
|
31
15
|
fm-checkbox-group(
|
|
32
|
-
class=
|
|
33
|
-
|
|
34
|
-
:
|
|
35
|
-
:
|
|
36
|
-
:items=items ? items : undefined
|
|
16
|
+
class=(variable.appearance && variable.appearance.class)
|
|
17
|
+
style=(variable.appearance && variable.appearance.style)
|
|
18
|
+
v-model=variable.binding && variable.binding.path?"form."+variable.binding.path+".value":undefined
|
|
19
|
+
:items=variable.items?""+variable.items:undefined
|
|
37
20
|
valueField=variable.valueField?""+variable.valueField:undefined
|
|
38
21
|
textField=variable.textField?""+variable.textField:undefined
|
|
22
|
+
:readonly!=variable.readonly?variable.readonly+"":undefined
|
|
23
|
+
:disabled!=variable.readonly?variable.readonly+"":undefined
|
|
39
24
|
:checkerStyle=checkerStyle
|
|
40
25
|
direction=direction?direction+"":undefined
|
|
41
26
|
type=variable.displayType?variable.displayType+"":undefined
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
//- -var variable={"appearance": {"class": "p-2", "style": "width:'20px'"}};
|
|
1
2
|
-var attrs = {};
|
|
2
|
-
-attrs.class = variable.appearance && variable.appearance.class;
|
|
3
|
-
-attrs.style = variable.appearance && variable.appearance.style;
|
|
4
|
-
-var visible = variable.visible ? String(variable.visible.value) : 'false';
|
|
5
|
-
|
|
6
3
|
|
|
7
4
|
div(
|
|
8
|
-
v-if
|
|
9
|
-
id=variable.replacedId
|
|
5
|
+
v-if!=variable.visible?variable.visible+'':"false"
|
|
6
|
+
id=variable.replacedId?""+variable.replacedId:undefined
|
|
7
|
+
class=(variable.appearance && variable.appearance.class)
|
|
8
|
+
style=(variable.appearance && variable.appearance.style)
|
|
10
9
|
ref=variable.ref?""+variable.ref:undefined
|
|
10
|
+
data-scrollable=variable.scrollable?""+variable.scrollable:undefined
|
|
11
11
|
)&attributes(attrs)
|
|
12
12
|
| {{content}}
|
|
@@ -1,50 +1,32 @@
|
|
|
1
|
-
|
|
2
|
-
-var attrs = {};
|
|
3
|
-
-attrs.class = variable.appearance && variable.appearance.class;
|
|
4
|
-
-attrs.style = variable.appearance && variable.appearance.style;
|
|
5
|
-
-attrs.id = variable.replacedId? String(variable.replacedId) : undefined
|
|
6
|
-
-attrs.placeholder = variable.placeholder? String(variable.placeholder) : undefined
|
|
7
|
-
-attrs.label = variable.title? String(variable.title) : undefined
|
|
8
|
-
-var visible = variable.visible ? String(variable.visible.value) : 'false';
|
|
9
|
-
-var require = variable.require ? String(variable.require.value) : undefined;
|
|
10
|
-
-var readonly = variable.readonly ? String(variable.readonly.value) : undefined;
|
|
11
|
-
-var disable = variable.disable ? String(variable.disable.value) : undefined;
|
|
12
|
-
-var binding = variable.binding && variable.binding.path ? "form."+variable.binding.path+".value" : undefined
|
|
13
|
-
-var minValue = variable.minValue ? String(variable.minValue.value) : undefined;
|
|
14
|
-
-var maxValue = variable.maxValue ? String(variable.maxValue.value) : undefined;
|
|
1
|
+
-variable.readonly = variable.readonly?String(variable.readonly).replace(/"/g, "'")+"":undefined;
|
|
15
2
|
|
|
16
|
-
div(
|
|
17
|
-
v-if=visible
|
|
18
|
-
class="fm-input-wrapper"
|
|
19
|
-
)
|
|
3
|
+
div(v-if!=variable.visible?variable.visible+"":"false" class="fm-input-wrapper")
|
|
20
4
|
fm-datetime-picker(
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
:readonly=readonly
|
|
24
|
-
:disabled=disable
|
|
25
|
-
:minValue=minValue
|
|
26
|
-
:maxValue=maxValue
|
|
27
|
-
:modelValue=variable.modelValue ? variable.modelValue+"":undefined
|
|
5
|
+
style=(variable.appearance && variable.appearance.style)
|
|
6
|
+
class=(variable.appearance && variable.appearance.class)
|
|
28
7
|
inputClass=variable.direction === 'vertical' ? "fm-input-vertical" : undefined
|
|
8
|
+
v-if=variable.isTextArea?"!stateMachine['showStaticText']":undefined
|
|
9
|
+
id=variable.id?""+variable.id:undefined
|
|
10
|
+
label=variable.title?""+variable.title:undefined
|
|
11
|
+
disable=variable.disable?""+variable.disable:undefined
|
|
12
|
+
:readonly!=variable.readonly?""+variable.readonly:undefined
|
|
13
|
+
:required!=variable.require?variable.require+"":undefined
|
|
14
|
+
v-model=variable.binding && variable.binding.path?"form."+variable.binding.path+".value":undefined
|
|
15
|
+
placeholder=variable.placeholder?""+variable.placeholder:undefined
|
|
29
16
|
type=variable.showType?""+variable.showType:undefined
|
|
30
17
|
title=variable.title?""+variable.title:undefined
|
|
31
18
|
format=variable.format?""+variable.format:undefined
|
|
32
19
|
input-align="right"
|
|
33
|
-
direction=variable.direction?variable.direction+"":undefined
|
|
34
20
|
:labelWidth!=variable.labelWidth?variable.labelWidth+"":undefined
|
|
21
|
+
:minValue=variable.minValue?""+variable.minValue:undefined
|
|
22
|
+
:maxValue=variable.maxValue?""+variable.maxValue:undefined
|
|
35
23
|
:useCurrentSecond=variable.useCurrentSecond?""+variable.useCurrentSecond:undefined
|
|
36
24
|
:error-message!=variable.errorMessage
|
|
37
25
|
error-message-align=variable.errorMessage ? "right" : undefined
|
|
38
|
-
)
|
|
39
|
-
if(variable.leftTemplate)
|
|
40
|
-
template(#left-icon)
|
|
41
|
-
| !{variable.leftTemplate}
|
|
26
|
+
)
|
|
42
27
|
if(variable.rightTemplate)
|
|
43
28
|
template(#right-icon)
|
|
44
29
|
| !{variable.rightTemplate}
|
|
45
|
-
if(variable.extraTemplate)
|
|
46
|
-
template(#extra)
|
|
47
|
-
| !{variable.extraTemplate}
|
|
48
30
|
if(variable.labelTips)
|
|
49
31
|
template(#title)
|
|
50
32
|
<span>!{variable.title}</span>
|
|
@@ -1,15 +1,34 @@
|
|
|
1
|
-
-var
|
|
2
|
-
-
|
|
3
|
-
-
|
|
4
|
-
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
position=variable.isInner ? 'bottom' : 'top'
|
|
10
|
-
:collapse=variable.collapse?String(variable.collapse): undefined
|
|
11
|
-
)&attributes(attrs)
|
|
1
|
+
- var titleClass = variable.isInner ? '' : 'fm-tmpl-header-with-img'
|
|
2
|
+
fm-collapse(
|
|
3
|
+
v-if=variable.visible?variable.visible+"":"false"
|
|
4
|
+
title-class=variable.isInner ? undefined : 'fm-tmpl-header-with-img'
|
|
5
|
+
class=variable.isInner ? 'fm-tmpl-collapse-sub' : undefined
|
|
6
|
+
:isInner=variable.isInner ? ''+variable.isInner : undefined
|
|
7
|
+
:collapse=variable.collapse ? ''+variable.collapse : undefined
|
|
8
|
+
)
|
|
12
9
|
if(variable.headerTemplate)
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
10
|
+
| !{variable.headerTemplate}
|
|
11
|
+
| {{content}}
|
|
12
|
+
else
|
|
13
|
+
if(variable.isInner)
|
|
14
|
+
<template #icon>
|
|
15
|
+
<h6 class="collapse">展开信息</h6>
|
|
16
|
+
<h6 class="expand">收起信息</h6>
|
|
17
|
+
</template>
|
|
18
|
+
<template #right-icon>
|
|
19
|
+
<span class="fm-icon fm-icon-cardunfold collapse-icon"></span>
|
|
20
|
+
</template>
|
|
21
|
+
| {{content}}
|
|
22
|
+
|
|
23
|
+
else
|
|
24
|
+
if(variable.title)
|
|
25
|
+
template(#title)
|
|
26
|
+
//- div(class="header-with-img--img-wrapper")
|
|
27
|
+
//- div(class="header-with-img--img fm-bg-blue")
|
|
28
|
+
//- span(class="fm-icon fm-icon-addpicture")
|
|
29
|
+
//- h5
|
|
30
|
+
//- =variable.title
|
|
31
|
+
div(class="fm-title")
|
|
32
|
+
span(class="fm-title-text")
|
|
33
|
+
| !{variable.title}
|
|
34
|
+
| {{content}}
|
|
@@ -1,24 +1,21 @@
|
|
|
1
|
-
-var attrs = {};
|
|
2
|
-
-attrs.class = variable.appearance && variable.appearance.class;
|
|
3
|
-
-attrs.style = variable.appearance && variable.appearance.style;
|
|
4
|
-
-attrs.id = variable.replacedId ? String(variable.replacedId) : undefined;
|
|
5
|
-
-var visible = variable.visible ? String(variable.visible.value) : 'false';
|
|
6
|
-
-var searchFields = variable.searchFields ? String(variable.searchFields.value) : undefined;
|
|
7
|
-
|
|
8
1
|
fm-filter(
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
:
|
|
12
|
-
|
|
2
|
+
style=(variable.appearance && variable.appearance.style)
|
|
3
|
+
class=(variable.appearance && variable.appearance.class)
|
|
4
|
+
v-if=variable.visible?variable.visible+"":"false"
|
|
5
|
+
id=variable.id?""+variable.id:undefined
|
|
6
|
+
formId=variable.formId?""+variable.formId:undefined
|
|
13
7
|
type=variable.showType?""+variable.showType:undefined
|
|
14
8
|
position=variable.position?""+variable.position:undefined
|
|
15
9
|
placeholder=variable.placeholder?""+variable.placeholder:undefined
|
|
10
|
+
v-model=variable.binding?""+variable.binding:undefined
|
|
11
|
+
ref=variable.replacedId
|
|
12
|
+
:searchFields=variable.searchFields?""+variable.searchFields:undefined
|
|
16
13
|
:searchBoxValue=variable.searchBoxValue?""+variable.searchBoxValue:undefined
|
|
17
14
|
:useSearch=variable.useSearch?""+variable.useSearch:undefined
|
|
18
15
|
:fieldConfigs=variable.fieldConfigs?""+variable.fieldConfigs:[]
|
|
19
16
|
@confirm=variable.onQuery?""+variable.onQuery:undefined
|
|
20
17
|
@searchBoxChange=variable.searchBoxChange?""+variable.searchBoxChange:undefined
|
|
21
|
-
)
|
|
18
|
+
)
|
|
22
19
|
if(variable.lookupCellTemplate)
|
|
23
20
|
template(v-slot:lookup-cell="slotProps")
|
|
24
21
|
| !{variable.lookupCellTemplate}
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
-var attrs = {};
|
|
2
|
-
-attrs.class = variable.appearance && variable.appearance.class;
|
|
3
|
-
-attrs.style = variable.appearance && variable.appearance.style;
|
|
4
2
|
|
|
5
|
-
|
|
6
|
-
id=variable.id
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
if(variable.formAutoIntl == true)
|
|
4
|
+
div(id=variable.id?""+variable.id:undefined class=(variable.appearance && variable.appearance.class)?variable.appearance.class + "":undefined style=(variable.appearance && variable.appearance.style) )&attributes(attrs)
|
|
5
|
+
| {{content}}
|
|
6
|
+
else
|
|
7
|
+
if ((variable.controlsInline + '') == "true")
|
|
8
|
+
div(id=variable.id?""+variable.id:undefined class=(variable.appearance && variable.appearance.class)?variable.appearance.class + " farris-form-controls-inline":undefined style=(variable.appearance && variable.appearance.style) )&attributes(attrs)
|
|
9
|
+
| {{content}}
|
|
10
|
+
else
|
|
11
|
+
div(id=variable.id?""+variable.id:undefined class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style) )&attributes(attrs)
|
|
12
|
+
| {{content}}
|
|
@@ -1,24 +1,21 @@
|
|
|
1
1
|
|
|
2
|
-
- var attrs = {};
|
|
3
|
-
- attrs.class = variable.appearance && variable.appearance.class;
|
|
4
|
-
- attrs.style = variable.appearance && variable.appearance.style;
|
|
5
2
|
- var finished = variable.enablePullUpLoad ? "uiState['listaviewState']['loadMoreFinished']" : "true"
|
|
6
|
-
- var loading = "uiState['listaviewState']['loadMoreLoading']"
|
|
7
|
-
- var listRefreshing = variable.enablePullDownRefresh ? "uiState['listaviewState']['refreshLoading']" : undefined
|
|
8
3
|
- var showFinishedText = variable.enablePullUpLoad ? undefined : "false"
|
|
9
|
-
- var visible = variable.visible ? String(variable.visible.value) : undefined;
|
|
10
4
|
|
|
11
5
|
fm-listview(
|
|
12
|
-
v-if=visible
|
|
6
|
+
v-if=variable.visible?variable.visible+"":"false"
|
|
7
|
+
className="fm-tmpl-list-with-img-detail"
|
|
8
|
+
style=(variable.appearance && variable.appearance.style)
|
|
9
|
+
class=(variable.appearance && variable.appearance.class)
|
|
13
10
|
ref=variable.replacedId
|
|
11
|
+
:list-data=variable.data?""+variable.data:"entityListData"
|
|
14
12
|
:finished=finished
|
|
15
13
|
:showFinishedText=showFinishedText
|
|
16
|
-
:loading=
|
|
17
|
-
:listRefreshing=listRefreshing
|
|
18
|
-
:list-data=variable.data?""+variable.data:"entityListData"
|
|
14
|
+
:loading="uiState['listaviewState']['loadMoreLoading']"
|
|
19
15
|
:enablePullRefresh = variable.enablePullDownRefresh ? 'true' : undefined
|
|
20
|
-
:
|
|
21
|
-
:
|
|
16
|
+
:listRefreshing=variable.enablePullDownRefresh ? "uiState['listaviewState']['refreshLoading']" : undefined
|
|
17
|
+
:multiple=(variable.multiSelect ||variable.multiSelect==false)?""+variable.multiSelect:undefined
|
|
18
|
+
:offset=(variable.offset || variable.offset==0)?""+variable.offset:undefined
|
|
22
19
|
:loadingText=variable.loadingText?"'"+variable.loadingText+"'":undefined
|
|
23
20
|
:finishedText=variable.finishedText?"'"+variable.finishedText+"'":undefined
|
|
24
21
|
:errorText=variable.errorText?"'"+variable.errorText+"'":undefined
|
|
@@ -29,11 +26,11 @@ fm-listview(
|
|
|
29
26
|
:fill=variable.fill?""+variable.fill:undefined
|
|
30
27
|
:immediateCheck=variable.immediateCheck?""+variable.immediateCheck:"false"
|
|
31
28
|
data-scrollable=variable.scrollable?""+variable.scrollable:undefined
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
)
|
|
29
|
+
v-on:load=variable.load?""+variable.load:undefined
|
|
30
|
+
v-on:multipleSubmit=variable.multipleSubmit?""+variable.multipleSubmit:undefined
|
|
31
|
+
v-on:multipleCancel=variable.multipleCancel?""+variable.multipleCancel:undefined
|
|
32
|
+
v-on:itemClick=variable.itemClick?""+variable.itemClick:undefined
|
|
33
|
+
)
|
|
37
34
|
if(variable.showValidatorResults)
|
|
38
35
|
template(#listViewHeader v-if!="uiState.childValidatorResults && uiState.childValidatorResults.length > 0")
|
|
39
36
|
div(class="fm-listview-error")
|
|
@@ -49,32 +46,23 @@ fm-listview(
|
|
|
49
46
|
<span class="fm-error-text">详情</span>
|
|
50
47
|
|
|
51
48
|
template(v-slot="props")
|
|
52
|
-
if(variable.
|
|
53
|
-
fm-swipecell
|
|
54
|
-
!=variable.swipeTemplate?variable.swipeTemplate:''
|
|
55
|
-
div(
|
|
56
|
-
class="fm-listview-item-tmpl-wrapper"
|
|
57
|
-
@click=variable.listClick?""+variable.listClick:undefined
|
|
58
|
-
)
|
|
59
|
-
!=variable.contentTemplate?variable.contentTemplate:''
|
|
60
|
-
else if(variable.swipeToolbar && variable.swipeToolbar.items && variable.swipeToolbar.items.length >0)
|
|
49
|
+
if(variable.swipeToolbar)
|
|
61
50
|
fm-swipecell
|
|
62
51
|
template(v-slot:right="{close}")
|
|
63
52
|
each item in variable.swipeToolbar.items
|
|
64
|
-
div(
|
|
65
|
-
v-if!=item.visible?
|
|
66
|
-
class=
|
|
67
|
-
style!=item.
|
|
53
|
+
div(
|
|
54
|
+
v-if!=item.visible?item.visible+"":"false"
|
|
55
|
+
class="fm-list-view-swipe-toolbar"
|
|
56
|
+
style!=item.style?item.style+"":undefined
|
|
68
57
|
@click.stop=item.click?item.click+"({ swipecellClose: close })":undefined
|
|
69
58
|
)=item.text
|
|
70
|
-
div(
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
59
|
+
div(class="fm-bussiness-travel-record-list-item limg-rcon--item" @click=variable.listClick?""+variable.listClick:undefined)
|
|
60
|
+
!=variable.contentTemplate?variable.contentTemplate:''
|
|
61
|
+
else if(variable.swipeTemplate)
|
|
62
|
+
fm-swipecell(@click=variable.listClick?""+variable.listClick:undefined)
|
|
63
|
+
!=variable.swipeTemplate?variable.swipeTemplate:''
|
|
64
|
+
div(class="fm-bussiness-travel-record-list-item limg-rcon--item")
|
|
74
65
|
!=variable.contentTemplate?variable.contentTemplate:''
|
|
75
66
|
else
|
|
76
|
-
div(
|
|
77
|
-
|
|
78
|
-
@click=variable.listClick?""+variable.listClick:undefined
|
|
79
|
-
)
|
|
80
|
-
!=variable.contentTemplate?variable.contentTemplate:''
|
|
67
|
+
div(class="fm-bussiness-travel-record-list-item limg-rcon--item" @click=variable.listClick?""+variable.listClick:undefined)
|
|
68
|
+
!=variable.contentTemplate?variable.contentTemplate:''
|
|
@@ -1,29 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
-var attrs = {};
|
|
3
|
-
-attrs.class = variable.appearance && variable.appearance.class;
|
|
4
|
-
-attrs.style = variable.appearance && variable.appearance.style;
|
|
5
|
-
-attrs.id = variable.replacedId? String(variable.replacedId) : undefined
|
|
6
|
-
-attrs.placeholder = variable.placeholder? String(variable.placeholder) : undefined
|
|
7
|
-
-attrs.label = variable.title? String(variable.title) : undefined
|
|
8
|
-
-var visible = variable.visible ? String(variable.visible.value) : 'false';
|
|
9
|
-
-var require = variable.require ? String(variable.require.value) : undefined;
|
|
10
|
-
-var readonly = variable.readonly ? String(variable.readonly.value) : undefined;
|
|
11
|
-
-var disable = variable.disable ? String(variable.disable.value) : undefined;
|
|
12
|
-
-var binding = variable.binding && variable.binding.path ? "form."+variable.binding.path+".value" : undefined
|
|
1
|
+
-variable.readonly = variable.readonly?String(variable.readonly).replace(/"/g, "'")+"":undefined;
|
|
13
2
|
|
|
14
|
-
div(
|
|
15
|
-
v-if=visible
|
|
16
|
-
class="fm-input-wrapper"
|
|
17
|
-
)
|
|
3
|
+
div(v-if!=variable.visible?variable.visible+"":"false" class="fm-input-wrapper")
|
|
18
4
|
fm-lookup-department(
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
:
|
|
22
|
-
:
|
|
23
|
-
|
|
5
|
+
style=(variable.appearance && variable.appearance.style)
|
|
6
|
+
class=(variable.appearance && variable.appearance.class)
|
|
7
|
+
v-if=variable.isTextArea?"!stateMachine['showStaticText']":undefined
|
|
8
|
+
id=variable.id?""+variable.id:undefined
|
|
9
|
+
label=variable.title?""+variable.title:undefined
|
|
24
10
|
title=variable.title?""+variable.title:undefined
|
|
25
11
|
navTitle=variable.navTitle?""+variable.navTitle:undefined
|
|
12
|
+
disabled!=variable.disabled?""+variable.disabled:undefined
|
|
13
|
+
:readonly!=variable.readonly?""+variable.readonly:undefined
|
|
14
|
+
:required!=variable.require?variable.require+"":undefined
|
|
26
15
|
:clearable!=variable.clearable?variable.clearable+"":undefined
|
|
16
|
+
placeholder=variable.placeholder?""+variable.placeholder:undefined
|
|
17
|
+
v-model=variable.binding && variable.binding.path?"form."+variable.binding.path+".value":undefined
|
|
18
|
+
modelValue=variable.value ?""+variable.value:undefined
|
|
27
19
|
url=variable.dataSource.uri?""+variable.dataSource.uri:undefined
|
|
28
20
|
data=variable.data?""+variable.data:undefined
|
|
29
21
|
idField=variable.dataSource.idField?""+variable.dataSource.idField:undefined
|
|
@@ -55,15 +47,11 @@ div(
|
|
|
55
47
|
:labelWidth!=variable.labelWidth?variable.labelWidth+"":undefined
|
|
56
48
|
:error-message!=variable.errorMessage
|
|
57
49
|
error-message-align=variable.errorMessage ? "right" : undefined
|
|
58
|
-
direction=variable.direction?variable.direction+"":undefined
|
|
59
50
|
inputTemplate=variable.inputTemplateName?""+variable.inputTemplateName:undefined
|
|
60
51
|
:formatter=variable.formatter?""+variable.formatter:undefined
|
|
61
52
|
@confirm=variable.lookupPicked?""+variable.lookupPicked:undefined
|
|
62
53
|
@valueChange=variable.valueChange?""+variable.valueChange:undefined
|
|
63
|
-
)
|
|
64
|
-
if(variable.leftTemplate)
|
|
65
|
-
template(#left-icon)
|
|
66
|
-
| !{variable.leftTemplate}
|
|
54
|
+
)
|
|
67
55
|
if(variable.rightTemplate)
|
|
68
56
|
template(#right-icon)
|
|
69
57
|
| !{variable.rightTemplate}
|
|
@@ -1,30 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
-var attrs = {};
|
|
3
|
-
-attrs.class = variable.appearance && variable.appearance.class;
|
|
4
|
-
-attrs.style = variable.appearance && variable.appearance.style;
|
|
5
|
-
-attrs.id = variable.replacedId? String(variable.replacedId) : undefined
|
|
6
|
-
-attrs.placeholder = variable.placeholder? String(variable.placeholder) : undefined
|
|
7
|
-
-attrs.label = variable.title? String(variable.title) : undefined
|
|
8
|
-
-var visible = variable.visible ? String(variable.visible.value) : 'false';
|
|
9
|
-
-var require = variable.require ? String(variable.require.value) : undefined;
|
|
10
|
-
-var readonly = variable.readonly ? String(variable.readonly.value) : undefined;
|
|
11
|
-
-var disable = variable.disable ? String(variable.disable.value) : undefined;
|
|
12
|
-
-var binding = variable.binding && variable.binding.path ? "form."+variable.binding.path+".value" : undefined
|
|
1
|
+
-variable.readonly = variable.readonly?String(variable.readonly).replace(/"/g, "'")+"":undefined;
|
|
13
2
|
|
|
14
|
-
div(
|
|
15
|
-
v-if=visible
|
|
16
|
-
class="fm-input-wrapper"
|
|
17
|
-
)
|
|
3
|
+
div(v-if!=variable.visible?variable.visible+"":"false" class="fm-input-wrapper")
|
|
18
4
|
fm-lookup-employee(
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
:
|
|
22
|
-
:
|
|
23
|
-
|
|
5
|
+
style=(variable.appearance && variable.appearance.style)
|
|
6
|
+
class=(variable.appearance && variable.appearance.class)
|
|
7
|
+
v-if=variable.isTextArea?"!stateMachine['showStaticText']":undefined
|
|
8
|
+
id=variable.id?""+variable.id:undefined
|
|
9
|
+
label=variable.title?""+variable.title:undefined
|
|
24
10
|
title=variable.title?""+variable.title:undefined
|
|
25
11
|
navTitle=variable.navTitle?""+variable.navTitle:undefined
|
|
26
12
|
groupTitle=variable.groupTitle?""+variable.groupTitle:undefined
|
|
13
|
+
disabled!=variable.disabled?""+variable.disabled:undefined
|
|
14
|
+
:readonly!=variable.readonly?""+variable.readonly:undefined
|
|
15
|
+
:required!=variable.require?variable.require+"":undefined
|
|
27
16
|
:clearable!=variable.clearable?variable.clearable+"":undefined
|
|
17
|
+
placeholder=variable.placeholder?""+variable.placeholder:undefined
|
|
18
|
+
v-model=variable.binding && variable.binding.path?"form."+variable.binding.path+".value":undefined
|
|
19
|
+
modelValue=variable.value ?""+variable.value:undefined
|
|
28
20
|
url=variable.dataSource.uri?""+variable.dataSource.uri:undefined
|
|
29
21
|
data=variable.data?""+variable.data:undefined
|
|
30
22
|
idField=variable.dataSource.idField?""+variable.dataSource.idField:undefined
|
|
@@ -56,16 +48,12 @@ div(
|
|
|
56
48
|
inputTemplate=variable.inputTemplateName?""+variable.inputTemplateName:undefined
|
|
57
49
|
:formatter=variable.formatter?""+variable.formatter:undefined
|
|
58
50
|
:labelWidth!=variable.labelWidth?variable.labelWidth+"":undefined
|
|
59
|
-
direction=variable.direction?variable.direction+"":undefined
|
|
60
51
|
dataStrategy!=variable.dataStrategy?variable.dataStrategy+"":undefined
|
|
61
52
|
:error-message!=variable.errorMessage
|
|
62
53
|
error-message-align=variable.errorMessage ? "right" : undefined
|
|
63
54
|
@confirm=variable.lookupPicked?""+variable.lookupPicked:undefined
|
|
64
55
|
@valueChange=variable.valueChange?""+variable.valueChange:undefined
|
|
65
|
-
)
|
|
66
|
-
if(variable.leftTemplate)
|
|
67
|
-
template(#left-icon)
|
|
68
|
-
| !{variable.leftTemplate}
|
|
56
|
+
)
|
|
69
57
|
if(variable.rightTemplate)
|
|
70
58
|
template(#right-icon)
|
|
71
59
|
| !{variable.rightTemplate}
|
|
@@ -1,31 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
-var attrs = {};
|
|
3
|
-
-attrs.class = variable.appearance && variable.appearance.class;
|
|
4
|
-
-attrs.style = variable.appearance && variable.appearance.style;
|
|
5
|
-
-attrs.id = variable.replacedId? String(variable.replacedId) : undefined
|
|
6
|
-
-attrs.placeholder = variable.placeholder? String(variable.placeholder) : undefined
|
|
7
|
-
-attrs.label = variable.title? String(variable.title) : undefined
|
|
8
|
-
-var visible = variable.visible ? String(variable.visible.value) : 'false';
|
|
9
|
-
-var require = variable.require ? String(variable.require.value) : undefined;
|
|
10
|
-
-var readonly = variable.readonly ? String(variable.readonly.value) : undefined;
|
|
11
|
-
-var disable = variable.disable ? String(variable.disable.value) : undefined;
|
|
12
|
-
-var binding = variable.binding && variable.binding.path ? "form."+variable.binding.path+".value" : undefined
|
|
1
|
+
-variable.readonly = variable.readonly?String(variable.readonly).replace(/"/g, "'")+"":undefined;
|
|
13
2
|
|
|
14
|
-
div(
|
|
15
|
-
v-if=visible
|
|
16
|
-
class="fm-input-wrapper"
|
|
17
|
-
)
|
|
3
|
+
div(v-if!=variable.visible?variable.visible+"":"false" class="fm-input-wrapper")
|
|
18
4
|
fm-lookup-input(
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
:
|
|
22
|
-
:
|
|
23
|
-
|
|
24
|
-
|
|
5
|
+
style=(variable.appearance && variable.appearance.style)
|
|
6
|
+
class=(variable.appearance && variable.appearance.class)
|
|
7
|
+
inputClass=variable.direction === 'vertical' ? "fm-input-vertical" : undefined
|
|
8
|
+
v-if!=variable.isTextArea?"!stateMachine['showStaticText']":undefined
|
|
9
|
+
id=variable.id?""+variable.id:undefined
|
|
10
|
+
label=variable.title?""+variable.title:undefined
|
|
25
11
|
title=variable.title?""+variable.title:undefined
|
|
26
12
|
navTitle=variable.navTitle?""+variable.navTitle:undefined
|
|
27
13
|
groupTitle=variable.groupTitle?""+variable.groupTitle:undefined
|
|
14
|
+
disabled!=variable.disabled?""+variable.disabled:undefined
|
|
15
|
+
:readonly!=variable.readonly?""+variable.readonly:undefined
|
|
16
|
+
:required!=variable.require?variable.require+"":undefined
|
|
28
17
|
:clearable!=variable.clearable?variable.clearable+"":undefined
|
|
18
|
+
placeholder=variable.placeholder?""+variable.placeholder:undefined
|
|
19
|
+
v-model=variable.binding && variable.binding.path?"form."+variable.binding.path+".value":undefined
|
|
20
|
+
modelValue=variable.value ?""+variable.value:undefined
|
|
29
21
|
url=variable.dataSource.uri?""+variable.dataSource.uri:undefined
|
|
30
22
|
data=variable.data?""+variable.data:undefined
|
|
31
23
|
idField=variable.dataSource.idField?""+variable.dataSource.idField:undefined
|
|
@@ -60,19 +52,14 @@ div(
|
|
|
60
52
|
:labelWidth!=variable.labelWidth?variable.labelWidth+"":undefined
|
|
61
53
|
:formatter!=variable.formatter?""+variable.formatter:undefined
|
|
62
54
|
:error-message!=variable.errorMessage
|
|
55
|
+
|
|
63
56
|
error-message-align=variable.errorMessage ? "right" : undefined
|
|
64
57
|
@confirm=variable.lookupPicked?""+variable.lookupPicked:undefined
|
|
65
58
|
@valueChange=variable.valueChange?""+variable.valueChange:undefined
|
|
66
|
-
)
|
|
67
|
-
if(variable.leftTemplate)
|
|
68
|
-
template(#left-icon)
|
|
69
|
-
| !{variable.leftTemplate}
|
|
59
|
+
)
|
|
70
60
|
if(variable.rightTemplate)
|
|
71
61
|
template(#right-icon)
|
|
72
62
|
| !{variable.rightTemplate}
|
|
73
|
-
if(variable.extraTemplate)
|
|
74
|
-
template(v-slot:extra="slotProps")
|
|
75
|
-
| !{variable.extraTemplate}
|
|
76
63
|
if(variable.inputTemplate)
|
|
77
64
|
template(v-slot:template="slotProps")
|
|
78
65
|
| !{variable.inputTemplate}
|
|
@@ -82,6 +69,9 @@ div(
|
|
|
82
69
|
if(variable.cellTemplate)
|
|
83
70
|
template(v-slot:cell="slotProps")
|
|
84
71
|
| !{variable.cellTemplate}
|
|
72
|
+
if(variable.extraTemplate)
|
|
73
|
+
template(v-slot:extra="slotProps")
|
|
74
|
+
| !{variable.extraTemplate}
|
|
85
75
|
if(variable.labelTips)
|
|
86
76
|
template(#title)
|
|
87
77
|
<span>!{variable.title}</span>
|
|
@@ -1,19 +1,17 @@
|
|
|
1
|
-
-var attrs = {};
|
|
2
|
-
-attrs.class = variable.appearance && variable.appearance.class;
|
|
3
|
-
-attrs.style = variable.appearance && variable.appearance.style;
|
|
4
|
-
-var visible = variable.visible ? String(variable.visible.value) : undefined;
|
|
5
|
-
|
|
6
1
|
fm-navbar(
|
|
7
|
-
|
|
2
|
+
style=(variable.appearance && variable.appearance.style)
|
|
3
|
+
class=(variable.appearance && variable.appearance.class)
|
|
8
4
|
id=variable.replaceId
|
|
9
5
|
title=variable.title?""+variable.title:undefined
|
|
10
6
|
:leftArrow=variable.leftArrow!==undefined?""+variable.leftArrow:undefined
|
|
11
7
|
@click-left=variable.leftClick?""+variable.leftClick:undefined
|
|
12
8
|
@click-right=variable.rightClick?""+variable.rightClick:undefined
|
|
13
|
-
|
|
9
|
+
v-if=variable.visible?variable.visible+"":"false"
|
|
10
|
+
)
|
|
14
11
|
if variable.leftTemplate
|
|
15
12
|
template(#left)
|
|
16
13
|
| !{variable.leftTemplate}
|
|
14
|
+
//- van-icon( name="arrow-left" size="18" color="#333" )
|
|
17
15
|
if variable.titleTemplate
|
|
18
16
|
template(#title)
|
|
19
17
|
| !{variable.titleTemplate}
|
|
@@ -1,27 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
-
|
|
3
|
-
-attrs.type = "number"
|
|
4
|
-
-attrs.class = variable.appearance && variable.appearance.class;
|
|
5
|
-
-attrs.style = variable.appearance && variable.appearance.style;
|
|
6
|
-
-attrs.id = variable.replacedId? String(variable.replacedId) : undefined
|
|
7
|
-
-attrs.placeholder = variable.placeholder? String(variable.placeholder) : undefined
|
|
8
|
-
-attrs.label = variable.title? String(variable.title) : undefined
|
|
9
|
-
-var visible = variable.visible ? String(variable.visible.value) : 'false';
|
|
10
|
-
-var require = variable.require ? String(variable.require.value) : undefined;
|
|
11
|
-
-var readonly = variable.readonly ? String(variable.readonly.value) : undefined;
|
|
12
|
-
-var disable = variable.disable ? String(variable.disable.value) : undefined;
|
|
13
|
-
-var binding = variable.binding && variable.binding.path ? "form."+variable.binding.path+".value" : undefined
|
|
1
|
+
-variable.readonly = variable.readonly?String(variable.readonly).replace(/"/g, "'")+"":undefined;
|
|
2
|
+
//- -variable.errorMessage = variable.binding && variable.binding.path? `form.${variable.binding.path}.validationResult && form.${variable.binding.path}.validationResult.message`:undefined
|
|
14
3
|
|
|
15
|
-
div(
|
|
16
|
-
v-if=visible
|
|
17
|
-
class="fm-input-wrapper"
|
|
18
|
-
)
|
|
4
|
+
div(class="fm-input-wrapper" v-if=variable.visible?variable.visible+"":"false")
|
|
19
5
|
fm-input(
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
:
|
|
23
|
-
:
|
|
24
|
-
|
|
6
|
+
style=(variable.appearance && variable.appearance.style)
|
|
7
|
+
class=variable.className
|
|
8
|
+
id=variable.id?"" + variable.id:undefined
|
|
9
|
+
v-if=variable.isTextArea?"!stateMachine['showStaticText']":undefined
|
|
10
|
+
v-model=variable.binding && variable.binding.path?"form."+variable.binding.path+".value":undefined
|
|
11
|
+
label=variable.title?variable.title:undefined
|
|
12
|
+
placeholder=variable.placeholder?""+variable.placeholder:undefined
|
|
13
|
+
type="number"
|
|
14
|
+
:readonly!=variable.readonly?variable.readonly+"":undefined
|
|
15
|
+
:required!=variable.require?variable.require+"":undefined
|
|
16
|
+
:disabled!=variable.disabled?variable.disabled+"":undefined
|
|
25
17
|
:clearable!=variable.clearable?variable.clearable+"":undefined
|
|
26
18
|
:is-link!=variable.isLink?variable.isLink+"":undefined
|
|
27
19
|
:minValue!=variable.minValue?variable.minValue+"":undefined
|
|
@@ -29,11 +21,10 @@ div(
|
|
|
29
21
|
:precision=variable.precision || variable.precision===0?variable.precision+"":undefined
|
|
30
22
|
input-align="right"
|
|
31
23
|
:labelWidth!=variable.labelWidth?variable.labelWidth+"":undefined
|
|
32
|
-
direction=variable.direction?variable.direction+"":undefined
|
|
33
24
|
extra=variable.suffix?variable.suffix+"":undefined
|
|
34
25
|
:error-message!=variable.errorMessage
|
|
35
26
|
error-message-align=variable.errorMessage ? "right" : undefined
|
|
36
|
-
)
|
|
27
|
+
)
|
|
37
28
|
if(variable.rightTemplate)
|
|
38
29
|
template(#right-icon)
|
|
39
30
|
| !{variable.rightTemplate}
|