@farris/jit-engine 1.3.122 → 1.3.126
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 +8 -0
- package/lib/context/index.js +1 -1
- package/lib/domstructure/devkit/befProxy/index.js +1 -1
- package/lib/domstructure/devkit/devkit.js.map +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/farris-section-toolbar-item.js +2 -2
- package/lib/domstructure/devkit/section-toolbar/farris-section-toolbar-item.js.map +1 -1
- package/lib/domstructure/devkit/section-toolbar/farris-section-toolbar.js +1 -1
- package/lib/domstructure/devkit/section-toolbar/farris-section-toolbar.js.map +1 -1
- package/lib/domstructure/devkit/section-toolbar/index.js +1 -1
- package/lib/domstructure/devkit/tab-toolbar/farris-tab-toolbar-Item.js +1 -1
- package/lib/domstructure/devkit/tab-toolbar/farris-tab-toolbar-Item.js.map +1 -1
- package/lib/domstructure/devkit/tab-toolbar/farris-tab-toolbar.js +1 -1
- package/lib/domstructure/devkit/tab-toolbar/farris-tab-toolbar.js.map +1 -1
- package/lib/domstructure/devkit/tab-toolbar/index.js +1 -1
- package/lib/domstructure/devkit/viewmodel/component/component.js +1 -1
- package/lib/domstructure/devkit/viewmodel/component/component.js.map +1 -1
- package/lib/domstructure/devkit/viewmodel/component/index.js +1 -1
- package/lib/domstructure/editor-type-enum.js +9 -0
- package/lib/domstructure/editor-type-enum.js.map +1 -0
- package/lib/domstructure/index.js +1 -1
- package/lib/domstructure/ui/approve-logs/index.js +1 -1
- package/lib/domstructure/ui/commands/command_container.js +1 -1
- package/lib/domstructure/ui/commands/command_container.js.map +1 -1
- package/lib/domstructure/ui/commands/index.js +1 -1
- package/lib/domstructure/ui/commands/menu_item.js +1 -1
- package/lib/domstructure/ui/commands/menu_item.js.map +1 -1
- package/lib/domstructure/ui/commands/toolbar.js +1 -1
- package/lib/domstructure/ui/commands/toolbar.js.map +1 -1
- package/lib/domstructure/ui/commands/toolbar_item.js +1 -1
- package/lib/domstructure/ui/commands/toolbar_item.js.map +1 -1
- package/lib/domstructure/ui/common/basecomponent.js +8 -1
- package/lib/domstructure/ui/common/basecomponent.js.map +1 -1
- package/lib/domstructure/ui/common/index.js +1 -1
- package/lib/domstructure/ui/component.js +1 -1
- package/lib/domstructure/ui/component.js.map +1 -1
- package/lib/domstructure/ui/container/content_container.js +1 -1
- package/lib/domstructure/ui/container/content_container.js.map +1 -1
- package/lib/domstructure/ui/container/dynamic-area-item.js +37 -0
- package/lib/domstructure/ui/container/dynamic-area-item.js.map +1 -0
- package/lib/domstructure/ui/container/dynamic-area.js +37 -0
- package/lib/domstructure/ui/container/dynamic-area.js.map +1 -0
- package/lib/domstructure/ui/container/hidden-container.js +1 -1
- package/lib/domstructure/ui/container/hidden-container.js.map +1 -1
- package/lib/domstructure/ui/container/index.js +4 -1
- package/lib/domstructure/ui/container/index.js.map +1 -1
- package/lib/domstructure/ui/container/item_container.js +1 -1
- package/lib/domstructure/ui/container/item_container.js.map +1 -1
- package/lib/domstructure/ui/container/loop-container.js +42 -0
- package/lib/domstructure/ui/container/loop-container.js.map +1 -0
- package/lib/domstructure/ui/container/multi-view/index.js +1 -1
- package/lib/domstructure/ui/container/qdp_framework.js +5 -2
- package/lib/domstructure/ui/container/qdp_framework.js.map +1 -1
- package/lib/domstructure/ui/container/sidebar/farris-sidebar.js +2 -2
- package/lib/domstructure/ui/container/sidebar/farris-sidebar.js.map +1 -1
- package/lib/domstructure/ui/container/sidebar/index.js +1 -1
- package/lib/domstructure/ui/data/collection/data_collection.js +1 -1
- package/lib/domstructure/ui/data/collection/data_collection.js.map +1 -1
- package/lib/domstructure/ui/data/collection/farris-datagrid/index.js +1 -1
- package/lib/domstructure/ui/data/collection/qdp/spread_sheet.js +7 -2
- package/lib/domstructure/ui/data/collection/qdp/spread_sheet.js.map +1 -1
- package/lib/domstructure/ui/data/fields/collection/grid_field.js +1 -1
- package/lib/domstructure/ui/data/fields/collection/grid_field.js.map +1 -1
- package/lib/domstructure/ui/data/fields/form/datepicker.js +6 -3
- package/lib/domstructure/ui/data/fields/form/datepicker.js.map +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/switch/collection_switch.js +1 -1
- package/lib/domstructure/ui/data/fields/form/editable/switch/collection_switch.js.map +1 -1
- package/lib/domstructure/ui/data/fields/form/form_field.js +24 -1
- package/lib/domstructure/ui/data/fields/form/form_field.js.map +1 -1
- package/lib/domstructure/ui/data/index.js +1 -1
- package/lib/domstructure/ui/data/scrollcollapse/index.js +1 -1
- package/lib/domstructure/ui/discussion/discussion-list.js.map +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/index.js +1 -1
- package/lib/domstructure/ui/farris-scrollspy/index.js +1 -1
- package/lib/domstructure/ui/farris-ui-footer/farris-ui-footer.js +1 -1
- package/lib/domstructure/ui/farris-ui-footer/farris-ui-footer.js.map +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/farrissplitter/splitter-pane.js +1 -1
- package/lib/domstructure/ui/farrissplitter/splitter-pane.js.map +1 -1
- package/lib/domstructure/ui/farrissplitter/splitter.js +1 -1
- package/lib/domstructure/ui/farrissplitter/splitter.js.map +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/index.js +2 -1
- package/lib/domstructure/ui/index.js.map +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/list-nav/listnav.js +2 -2
- package/lib/domstructure/ui/list-nav/listnav.js.map +1 -1
- package/lib/domstructure/ui/listview/index.js +1 -1
- package/lib/domstructure/ui/listview/list-view.js +1 -1
- package/lib/domstructure/ui/listview/list-view.js.map +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/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/section/section.js +2 -2
- package/lib/domstructure/ui/section/section.js.map +1 -1
- package/lib/domstructure/ui/static-control/index.js +1 -1
- package/lib/domstructure/ui/table/farris-table-column.js +66 -0
- package/lib/domstructure/ui/table/farris-table-column.js.map +1 -0
- package/lib/domstructure/ui/table/farris-table-row.js +44 -0
- package/lib/domstructure/ui/table/farris-table-row.js.map +1 -0
- package/lib/domstructure/ui/table/farris-table-static-text.js +7 -0
- package/lib/domstructure/ui/table/farris-table-static-text.js.map +1 -0
- package/lib/domstructure/ui/table/farris-table.js +44 -0
- package/lib/domstructure/ui/table/farris-table.js.map +1 -0
- package/lib/domstructure/ui/table/index.js +17 -0
- package/lib/domstructure/ui/table/index.js.map +1 -0
- package/lib/domstructure/ui/tabs/farris-tab-page.js +1 -1
- package/lib/domstructure/ui/tabs/farris-tab-page.js.map +1 -1
- package/lib/domstructure/ui/tabs/farris-tabs.js +1 -1
- package/lib/domstructure/ui/tabs/farris-tabs.js.map +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/farris-wizard-page-detail.js +2 -2
- package/lib/domstructure/ui/wizard/farris-wizard-page-detail.js.map +1 -1
- package/lib/domstructure/ui/wizard/farris-wizard-page.js +1 -1
- package/lib/domstructure/ui/wizard/farris-wizard-page.js.map +1 -1
- package/lib/domstructure/ui/wizard/farris-wizard.js +2 -2
- package/lib/domstructure/ui/wizard/farris-wizard.js.map +1 -1
- package/lib/domstructure/ui/wizard/index.js +1 -1
- package/lib/domstructure/ui/wizard/wizard-detail-container.js +1 -1
- package/lib/domstructure/ui/wizard/wizard-detail-container.js.map +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/file-generator/app-generator/vue-app-index-vue-generator.js +5 -7
- package/lib/mobileapp/vue/code-generator/file-generator/app-generator/vue-app-index-vue-generator.js.map +1 -1
- package/lib/mobileapp/vue/static/.gitignore +13 -0
- package/lib/mobileapp/vue/static/src/app.vue +5 -1
- package/lib/mobileapp/vue/utility/devkit/vue-viewmodels-creator.js +2 -2
- package/lib/mobileapp/vue/utility/devkit/vue-viewmodels-creator.js.map +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 +14 -2
- package/lib/task/recursiveGenerateDevkit.js.map +1 -1
- package/lib/template/ui/kendo/dynamic-area-item.pug +2 -0
- package/lib/template/ui/kendo/dynamic-area.pug +1 -0
- package/lib/template/ui/kendo/farris-file-upload-preview.pug +32 -34
- package/lib/template/ui/kendo/list-nav.pug +1 -1
- package/lib/template/ui/kendo/loop-container.pug +2 -0
- package/lib/template/ui/kendo/qdpframework.pug +3 -2
- package/lib/template/ui/kendo/section.pug +2 -0
- package/lib/template/ui/kendo/spreadsheet.pug +4 -2
- package/lib/template/ui/kendo/table/checkbox.pug +87 -0
- package/lib/template/ui/kendo/table/checkboxgroup.pug +30 -0
- package/lib/template/ui/kendo/table/combobox.pug +53 -0
- package/lib/template/ui/kendo/table/datepicker.pug +52 -0
- package/lib/template/ui/kendo/table/farris-avatar.pug +18 -0
- package/lib/template/ui/kendo/table/farris-checkbox-group.pug +50 -0
- package/lib/template/ui/kendo/table/farris-combo-list.pug +53 -0
- package/lib/template/ui/kendo/table/farris-combo-lookup.pug +34 -0
- package/lib/template/ui/kendo/table/farris-datepicker.pug +59 -0
- package/lib/template/ui/kendo/table/farris-number-range.pug +51 -0
- package/lib/template/ui/kendo/table/farris-number-spinner.pug +50 -0
- package/lib/template/ui/kendo/table/farris-static-text.pug +5 -0
- package/lib/template/ui/kendo/table/farris-switch.pug +49 -0
- package/lib/template/ui/kendo/table/farris-table-column.pug +2 -0
- package/lib/template/ui/kendo/table/farris-table-row.pug +2 -0
- package/lib/template/ui/kendo/table/farris-table.pug +2 -0
- package/lib/template/ui/kendo/table/farris-time-picker.pug +54 -0
- package/lib/template/ui/kendo/table/farris-time-spinner.pug +29 -0
- package/lib/template/ui/kendo/table/input-group.pug +49 -0
- package/lib/template/ui/kendo/table/language-textbox.pug +53 -0
- package/lib/template/ui/kendo/table/lookup.pug +59 -0
- package/lib/template/ui/kendo/table/multi-select.pug +17 -0
- package/lib/template/ui/kendo/table/multitextbox.pug +51 -0
- package/lib/template/ui/kendo/table/numericbox.pug +52 -0
- package/lib/template/ui/kendo/table/radiobox.pug +27 -0
- package/lib/template/ui/kendo/table/radioboxgroup.pug +50 -0
- package/lib/template/ui/kendo/table/richtextbox.pug +32 -0
- package/lib/template/ui/kendo/table/select.pug +17 -0
- package/lib/template/ui/kendo/table/switch.pug +49 -0
- package/lib/template/ui/kendo/table/textbox.pug +57 -0
- package/lib/template/ui/kendo/table/timebox.pug +29 -0
- package/lib/template/ui/kendo/table/timepicker.pug +21 -0
- 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/content-type-creator.js +3 -0
- package/lib/utility/content-type-creator.js.map +1 -1
- package/lib/utility/content-type-instance-generator.js +4 -3
- package/lib/utility/content-type-instance-generator.js.map +1 -1
- 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-parameter-collector/combolist-parameter-collector.js +11 -0
- package/lib/utility/devkit/component-parameter-collector/combolist-parameter-collector.js.map +1 -1
- package/lib/utility/devkit/component-parameter-collector/component-datebox-parameter-collector.js +12 -0
- package/lib/utility/devkit/component-parameter-collector/component-datebox-parameter-collector.js.map +1 -1
- package/lib/utility/devkit/component-parameter-collector/component-file-upload-parameter-collector.js +11 -0
- package/lib/utility/devkit/component-parameter-collector/component-file-upload-parameter-collector.js.map +1 -1
- package/lib/utility/devkit/component-parameter-collector/component-header-parameter-collector.js.map +1 -1
- package/lib/utility/devkit/component-parameter-collector/component-languagetextbox-parameter-collector.js +12 -0
- package/lib/utility/devkit/component-parameter-collector/component-languagetextbox-parameter-collector.js.map +1 -1
- package/lib/utility/devkit/component-parameter-collector/component-listview-parameter-collector.js +11 -0
- package/lib/utility/devkit/component-parameter-collector/component-listview-parameter-collector.js.map +1 -1
- package/lib/utility/devkit/component-parameter-collector/component-multitextbox-parameter-collector.js +12 -0
- package/lib/utility/devkit/component-parameter-collector/component-multitextbox-parameter-collector.js.map +1 -1
- package/lib/utility/devkit/component-parameter-collector/component-numericbox-parameter-collector.js +12 -0
- package/lib/utility/devkit/component-parameter-collector/component-numericbox-parameter-collector.js.map +1 -1
- package/lib/utility/devkit/component-parameter-collector/component-personnel-selector-parameter-collector.js +12 -0
- package/lib/utility/devkit/component-parameter-collector/component-personnel-selector-parameter-collector.js.map +1 -1
- package/lib/utility/devkit/component-parameter-collector/enum-field-collector.js +11 -0
- package/lib/utility/devkit/component-parameter-collector/enum-field-collector.js.map +1 -1
- package/lib/utility/devkit/component-parameter-collector/farris-checkbox-group-collector.js +11 -0
- package/lib/utility/devkit/component-parameter-collector/farris-checkbox-group-collector.js.map +1 -1
- package/lib/utility/devkit/component-parameter-collector/farris-datagrid-collector.js +6 -2
- package/lib/utility/devkit/component-parameter-collector/farris-datagrid-collector.js.map +1 -1
- package/lib/utility/devkit/component-parameter-collector/farris-datepicker-collector.js +12 -0
- package/lib/utility/devkit/component-parameter-collector/farris-datepicker-collector.js.map +1 -1
- package/lib/utility/devkit/component-parameter-collector/farris-input-group-collector.js +11 -0
- package/lib/utility/devkit/component-parameter-collector/farris-input-group-collector.js.map +1 -1
- package/lib/utility/devkit/component-parameter-collector/farris-lookup-collector.js +11 -0
- package/lib/utility/devkit/component-parameter-collector/farris-lookup-collector.js.map +1 -1
- package/lib/utility/devkit/component-parameter-collector/farris-radiogroup-collector.js +11 -0
- package/lib/utility/devkit/component-parameter-collector/farris-radiogroup-collector.js.map +1 -1
- package/lib/utility/devkit/component-parameter-collector/farris-tabs-collector.js +1 -1
- package/lib/utility/devkit/component-parameter-collector/farris-tabs-collector.js.map +1 -1
- package/lib/utility/devkit/component-parameter-collector/farris-timepicker-collector.js +12 -0
- package/lib/utility/devkit/component-parameter-collector/farris-timepicker-collector.js.map +1 -1
- package/lib/utility/devkit/component-parameter-collector/farris-timespinner-parameter-collector.js +12 -0
- package/lib/utility/devkit/component-parameter-collector/farris-timespinner-parameter-collector.js.map +1 -1
- package/lib/utility/devkit/component-parameter-collector/index.js +1 -1
- package/lib/utility/devkit/component-parameter-collector/number-spinner-range-collector.js +11 -0
- package/lib/utility/devkit/component-parameter-collector/number-spinner-range-collector.js.map +1 -1
- package/lib/utility/devkit/component-parameter-collector/richtextbox-parameter-collector.js +12 -0
- package/lib/utility/devkit/component-parameter-collector/richtextbox-parameter-collector.js.map +1 -1
- package/lib/utility/devkit/component-parameter-collector/textbox-parameter-collector.js +12 -0
- package/lib/utility/devkit/component-parameter-collector/textbox-parameter-collector.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 -0
- package/lib/utility/devkit/viewmodels-creator.js.map +1 -1
- package/lib/utility/devkit-template-config.js +126 -1
- package/lib/utility/devkit-template-config.js.map +1 -1
- package/lib/utility/environment-constants.js +1 -1
- package/lib/utility/expression/index.js +1 -1
- package/lib/utility/ext-intergration-checker.js.map +1 -1
- package/lib/utility/farris-datagrid/column-editor-manager.js +2 -0
- package/lib/utility/farris-datagrid/column-editor-manager.js.map +1 -1
- package/lib/utility/farris-datagrid/combo-list-editor.js +4 -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/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/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/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-external-container-parameter-generator.js.map +1 -1
- package/lib/utility/template-generator/devkit/component-generator/component-import-generator.js +4 -0
- package/lib/utility/template-generator/devkit/component-generator/component-import-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-provider-generator.js +5 -1
- package/lib/utility/template-generator/devkit/component-generator/component-provider-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/component-section-parameter-generator.js +1 -1
- package/lib/utility/template-generator/devkit/component-generator/component-section-parameter-generator.js.map +1 -1
- package/lib/utility/template-generator/devkit/component-generator/index.js +1 -1
- package/lib/utility/template-generator/devkit/component-template-generator.js +3 -3
- package/lib/utility/template-generator/devkit/component-template-generator.js.map +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/app-routing-module-generator.js +1 -1
- package/lib/utility/template-generator/project-app/app-routing-module-generator.js.map +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 -2
- package/lib/template/ui/mobilevue/fm-staff-info.pug +0 -10
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
|
|
2
|
+
div(class="farris-input-wrap")
|
|
3
|
+
-var attrs = {};
|
|
4
|
+
if (variable.binding && variable.binding.type == 'Variable')
|
|
5
|
+
-attrs['[(UIStateBinding)]'] = variable.binding.value;
|
|
6
|
+
-attrs['name'] = variable.replacedId;
|
|
7
|
+
else if (variable.includeInLoopContainer==false)
|
|
8
|
+
-attrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
9
|
+
else
|
|
10
|
+
-attrs['[(ngModel)]'] = variable.rowPrefix+(variable.binding && variable.binding.path);
|
|
11
|
+
-attrs['name'] = variable.replacedId;
|
|
12
|
+
-attrs['[ngModelOptions]'] = "{standalone:true}";
|
|
13
|
+
if (variable.lookupPicking)
|
|
14
|
+
-attrs['[dictPicking]'] = variable.lookupPicking;
|
|
15
|
+
if (variable.lookupPicked)
|
|
16
|
+
-attrs['[dictPicked]'] = variable.lookupPicked;
|
|
17
|
+
if (variable.beforeSelectData)
|
|
18
|
+
-attrs['[beforeSelectData]'] = variable.beforeSelectData;
|
|
19
|
+
if (variable.readonly)
|
|
20
|
+
-attrs['[readonly]'] = variable.readonly.value+"";
|
|
21
|
+
|
|
22
|
+
-attrs['placeholder'] = "{{'" + variable.placeHolderResourceId + "'|lang:lang:'"+variable.placeHolder+"'}}";
|
|
23
|
+
if(variable.isTextArea)
|
|
24
|
+
if(variable.readonly && variable.readonly.isComposite)
|
|
25
|
+
-attrs["*ngIf"]="!"+variable.readonly.value;
|
|
26
|
+
else
|
|
27
|
+
-attrs["*ngIf"]="viewModel.stateMachine['editable']";
|
|
28
|
+
if(variable.hasDefaultFocus)
|
|
29
|
+
-attrs["farris-set-focus"]="";
|
|
30
|
+
if(variable.focusState)
|
|
31
|
+
-attrs["[focusState]"]=variable.focusState+"";
|
|
32
|
+
-attrs['#'+variable.replacedId] = "";
|
|
33
|
+
farris-lookup-grid(id=variable.replacedId "input-end-edit" 'data-mapping' '[useTip]'=(variable.useTip || variable.useTip==false)?variable.useTip+"":undefined '[useFavorite]'=(variable.useFavorite || variable.useFavorite==false)?variable.useFavorite+"":undefined '[nosearch]'=variable.noSearch?""+variable.noSearch.value:undefined '[editable]'=(variable.editable || variable.editable==false)?""+variable.editable:undefined '[disabled]'!=variable.disable?variable.disable.toString():undefined '[displayType]'="'" + variable.displayType+ "'" '[uri]'="'" + (variable.dataSource && variable.dataSource.uri) + "'" '[idField]'="'" + (variable.dataSource && variable.dataSource.idField) + "'" '[mapFields]'=variable.mapFields?variable.mapFields:undefined '[singleSelect]'=(!variable.multiSelect) + "" '[pageSize]'=(variable.pageSize || 20) '[pageList]'=variable.arrPageList?variable.arrPageList:undefined '[pageIndex]'=(variable.pageIndex || 1) '[pagination]'=(variable.pagination == null | variable.pagination == undefined)?"true":variable.pagination + "" '[textField]'="'" + variable.textField + "'" '[valueField]'="'" + variable.valueField + "'" '[title]'=variable.dialogTitleLang?""+variable.dialogTitleLang:undefined '[showMaxButton]'=(variable.showMaxButton == null | variable.showMaxButton == undefined)?"true":variable.showMaxButton + "" '[showCloseButton]'=(variable.showCloseButton == null | variable.showCloseButton == undefined)?"true":variable.showCloseButton + "" '[resizable]'=(variable.resizable == null | variable.resizable == undefined)?"true":variable.resizable + "" '(clear)'=variable.clear?variable.clear:undefined '[context]'=variable.context?variable.context:undefined '[enableToSelect]'=(variable.enableToSelect || variable.enableToSelect == false)?""+variable.enableToSelect:undefined '[expandLevel]'=""+variable.expandLevel '[isRecordSize]'=(variable.isRecordSize || variable.isRecordSize == false)?""+variable.isRecordSize:undefined '[enableFullTree]'=(variable.enableFullTree || variable.enableFullTree == false)?""+variable.enableFullTree:undefined '[loadTreeDataType]'=variable.loadTreeDataType ?"'"+variable.loadTreeDataType+"'":undefined '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined '[enableClear]'=(variable.enableClear || variable.enableClear==false)?""+variable.enableClear:undefined '[dialogWidth]'=variable.panelWidth?""+variable.panelWidth:undefined '[dialogHeight]'=variable.panelHeight?""+variable.panelHeight:undefined '[enableCascade]'=variable.enableCascade?""+variable.enableCascade:undefined '[cascadeStatus]'=variable.cascadeStatus?"'"+variable.cascadeStatus+"'":undefined '[useExtendInfo]'=(variable.useExtendInfo || variable.useExtendInfo==false)?""+variable.useExtendInfo:undefined '[extInfoFields]'=variable.extInfoFields?"'"+variable.extInfoFields+"'":undefined '[extInfoFormatter]'=variable.extInfoFormatterName?""+variable.extInfoFormatterName:undefined '[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined 'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined '[customFormatter]'=variable.customFormatterName?""+variable.customFormatterName:undefined '[selectFirstInNav]'=variable.selectFirstInNav?""+variable.selectFirstInNav.value:undefined '[loadDataWhenOpen]'=variable.loadDataWhenOpen?""+variable.loadDataWhenOpen.value:undefined '[customNavFormatter]'=variable.customNavFormatterName?""+variable.customNavFormatterName:undefined '[treeInfo]'=variable.treeInfo?variable.treeInfo:undefined '[maxLength]'=variable.maxSearchLength?""+variable.maxSearchLength:undefined '[viewType]'=variable.viewType?"'"+variable.viewType+"'":undefined '[target]'="row" '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined ' [inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined '[inputAppendControlType]'=variable.originalType?"'"+variable.originalType+"'":undefined )&attributes(attrs)
|
|
34
|
+
if (variable.needValid && variable.binding && variable.binding.path)
|
|
35
|
+
-var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
|
|
36
|
+
validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
|
|
37
|
+
div(class="farris-feedback")
|
|
38
|
+
if(variable.isTextArea)
|
|
39
|
+
-var areaAttrs = {};
|
|
40
|
+
if(variable.readonly && variable.readonly.isComposite)
|
|
41
|
+
-areaAttrs["*ngIf"]=variable.readonly.value;
|
|
42
|
+
else
|
|
43
|
+
-areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
|
|
44
|
+
if (variable.binding && variable.binding.type == 'Variable')
|
|
45
|
+
-areaAttrs['[(ngModel)]'] = variable.binding.value;
|
|
46
|
+
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
47
|
+
else if (variable.includeInLoopContainer==false)
|
|
48
|
+
-areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
49
|
+
else
|
|
50
|
+
-areaAttrs['[(ngModel)]'] = variable.rowPrefix+(variable.binding && variable.binding.path);
|
|
51
|
+
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
52
|
+
farris-text('[type]'="'string'" '[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined '[maxHeight]'=variable.maxHeight?""+variable.maxHeight:undefined '[inputAppendControlType]'="'StaticText'" '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined ' [inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined )&attributes(areaAttrs)
|
|
53
|
+
if(variable.titleTipsTemplate)
|
|
54
|
+
span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
|
|
55
|
+
i(class="f-icon f-icon-description-tips")
|
|
56
|
+
-var tipsAttrs= {};
|
|
57
|
+
-tipsAttrs['#'+variable.titleTipsTemplateName] = "";
|
|
58
|
+
ng-template()&attributes(tipsAttrs)
|
|
59
|
+
| !{variable.titleTipsTemplate}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
doctype html
|
|
2
|
+
|
|
|
3
|
+
-var attrs = {};
|
|
4
|
+
if (variable.binding && variable.binding.type == 'Variable')
|
|
5
|
+
-attrs['[(selectedId)]'] = variable.binding.value;
|
|
6
|
+
else
|
|
7
|
+
-attrs['[(selectedId)]'] = (variable.binding && variable.binding.path);
|
|
8
|
+
if(variable.hasDefaultFocus)
|
|
9
|
+
-attrs["farris-set-focus"]="";
|
|
10
|
+
if(variable.focusState)
|
|
11
|
+
-attrs["[focusState]"]=variable.focusState+"";
|
|
12
|
+
multi-select(id=variable.replacedId?""+variable.replacedId:undefined 'multiSelectDataMapping' "input-end-edit" '[fjmField]'=variable.fjmField?"'"+variable.fjmField+"'":undefined '[fjdField]'=variable.fjdField?"'"+variable.fjdField+"'":undefined '[uiStateField]'=variable.uiStateField?"'"+variable.uiStateField+"'":undefined '[dataSource]'=variable.dataSource?variable.dataSource:undefined '[idField]' = variable.idField?"'"+variable.idField+"'":undefined '[valueField]'=variable.valueField?"'"+variable.valueField+"'":undefined '[textField]' = variable.textField?"'"+variable.textField+"'":undefined '[displayType]' = variable.displayType?"'"+variable.displayType+"'":undefined '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined ' [inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined '[inputAppendControlType]'=variable.originalType?"'"+variable.originalType+"'":undefined )&attributes(attrs)
|
|
13
|
+
ng-template(farrisTemplate="text" let-data 'let-ms'="instance")
|
|
14
|
+
if(variable.content)
|
|
15
|
+
| !{variable.content}
|
|
16
|
+
else
|
|
17
|
+
| {{ ms.getText(data)}} [ {{ ms.getValue(data) }}]
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
|
|
2
|
+
div(class="farris-input-wrap")
|
|
3
|
+
-var attrs = {};
|
|
4
|
+
if (variable.binding && variable.binding.type == 'Variable')
|
|
5
|
+
-attrs['[(ngModel)]'] = variable.binding.value;
|
|
6
|
+
-attrs['name'] = variable.replacedId;
|
|
7
|
+
-attrs['[ngModelOptions]'] = "{standalone:true}";
|
|
8
|
+
else if (variable.includeInLoopContainer==false)
|
|
9
|
+
-attrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
10
|
+
else
|
|
11
|
+
-attrs['[(ngModel)]'] = variable.rowPrefix+(variable.binding && variable.binding.path);
|
|
12
|
+
-attrs['name'] = variable.replacedId;
|
|
13
|
+
-attrs['[ngModelOptions]'] = "{standalone:true}";
|
|
14
|
+
if(variable.isTextArea)
|
|
15
|
+
if(variable.readonly && variable.readonly.isComposite)
|
|
16
|
+
-attrs["*ngIf"]="!"+variable.readonly.value;
|
|
17
|
+
else
|
|
18
|
+
-attrs["*ngIf"]="viewModel.stateMachine['editable']";
|
|
19
|
+
|
|
20
|
+
-attrs['placeholder'] = "{{'" + variable.placeHolderResourceId + "'|lang:lang:'"+variable.placeHolder+"'}}";
|
|
21
|
+
if(variable.hasDefaultFocus)
|
|
22
|
+
-attrs["farris-set-focus"]="";
|
|
23
|
+
if(variable.focusState)
|
|
24
|
+
-attrs["[focusState]"]=variable.focusState+"";
|
|
25
|
+
textarea(id=variable.replacedId '[style.height]'=(variable.size&&variable.size.height)?"'"+variable.size.height+"px"+"'":undefined '[maxHeight]'= variable.maxHeight?""+variable.maxHeight:undefined '[style.width]'=(variable.size&&variable.size.width)?"'"+variable.size.width+"px"+"'":undefined class="form-control" "input-end-edit" 'kendoTextArea' '[disabled]'!=variable.disable?variable.disable.toString():undefined '[readonly]'!=variable.readonly?variable.readonly.value+"":undefined '[value]'=variable.value?variable.value:undefined tabindex=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined '[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined 'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined '[auto-size]'=variable.autoHeight?""+variable.autoHeight.value:undefined '[textarea-zoom]'=variable.enableDialog+"" '[title]'=variable.enableDialog?""+titleValue:undefined '[dialogWidth]'=variable.enableDialog?variable.dialogWidth+"":undefined '[dialogHeight]'=variable.enableDialog?variable.dialogHeight+"":undefined 'maxlength'=(variable.maxLength && variable.maxLength!=0)?""+variable.maxLength:undefined '[word-count]'=(variable.enableWordCount || variable.enableWordCount==false)?""+variable.enableWordCount:undefined '[countType]'=variable.countType?"'"+variable.countType+"'":undefined '[onlyShowInDialog]'=(variable.onlyShowInDialog||variable.onlyShowInDialog==false)?""+variable.onlyShowInDialog:undefined '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined ' [inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined '[inputAppendControlType]'=variable.originalType?"'"+variable.originalType+"'":undefined )&attributes(attrs)
|
|
26
|
+
if (variable.needValid && variable.binding && variable.binding.path)
|
|
27
|
+
-var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
|
|
28
|
+
validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
|
|
29
|
+
div(class="farris-feedback")
|
|
30
|
+
if(variable.isTextArea)
|
|
31
|
+
-var areaAttrs = {};
|
|
32
|
+
if(variable.readonly && variable.readonly.isComposite)
|
|
33
|
+
-areaAttrs["*ngIf"]=variable.readonly.value;
|
|
34
|
+
else
|
|
35
|
+
-areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
|
|
36
|
+
if (variable.binding && variable.binding.type == 'Variable')
|
|
37
|
+
-areaAttrs['[(ngModel)]'] = variable.binding.value;
|
|
38
|
+
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
39
|
+
else if (variable.includeInLoopContainer==false)
|
|
40
|
+
-areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
41
|
+
else
|
|
42
|
+
-areaAttrs['[(ngModel)]'] = variable.rowPrefix+(variable.binding && variable.binding.path);
|
|
43
|
+
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
44
|
+
farris-text('[type]'="'string'" '[isTextArea]'="true" '[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined '[maxHeight]'= variable.maxHeight?""+variable.maxHeight:undefined '[textarea-zoom]'=variable.enableDialog+"" '[title]'=variable.enableDialog?""+titleValue:undefined '[dialogWidth]'=variable.enableDialog?variable.dialogWidth+"":undefined '[dialogHeight]'=variable.enableDialog?variable.dialogHeight+"":undefined '[attr.maxLength]'=variable.maxLength?""+variable.maxLength:undefined '[inputAppendControlType]'="'StaticText'" '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined ' [inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined )&attributes(areaAttrs)
|
|
45
|
+
if(variable.titleTipsTemplate)
|
|
46
|
+
span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
|
|
47
|
+
i(class="f-icon f-icon-description-tips")
|
|
48
|
+
-var tipsAttrs= {};
|
|
49
|
+
-tipsAttrs['#'+variable.titleTipsTemplateName] = "";
|
|
50
|
+
ng-template()&attributes(tipsAttrs)
|
|
51
|
+
| !{variable.titleTipsTemplate}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
|
|
2
|
+
div(class="farris-input-wrap")
|
|
3
|
+
-var attrs = {};
|
|
4
|
+
if (variable.binding && variable.binding.type == 'Variable')
|
|
5
|
+
-attrs['[(ngModel)]'] = variable.binding.value;
|
|
6
|
+
-attrs['name'] = variable.replacedId;
|
|
7
|
+
-attrs['[ngModelOptions]'] = "{standalone:true}";
|
|
8
|
+
else if (variable.includeInLoopContainer==false)
|
|
9
|
+
-attrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
10
|
+
else
|
|
11
|
+
-attrs['[(ngModel)]'] = variable.rowPrefix+(variable.binding && variable.binding.path);
|
|
12
|
+
-attrs['name'] = variable.replacedId;
|
|
13
|
+
-attrs['[ngModelOptions]'] = "{standalone:true}";
|
|
14
|
+
|
|
15
|
+
-attrs['placeholder'] = "{{'" + variable.placeHolderResourceId + "'|lang:lang:'"+variable.placeHolder+"'}}";
|
|
16
|
+
if(variable.isTextArea)
|
|
17
|
+
if(variable.readonly && variable.readonly.isComposite)
|
|
18
|
+
-attrs["*ngIf"]="!"+variable.readonly.value;
|
|
19
|
+
else
|
|
20
|
+
-attrs["*ngIf"]="viewModel.stateMachine['editable']";
|
|
21
|
+
if(variable.hasDefaultFocus)
|
|
22
|
+
-attrs["farris-set-focus"]="";
|
|
23
|
+
if(variable.focusState)
|
|
24
|
+
-attrs["[focusState]"]=variable.focusState+"";
|
|
25
|
+
kendo-numerictextbox(id=variable.replacedId "input-end-edit" class="form-control k-widget k-numerictextbox" '[format]'=variable.format?"'"+variable.format+"'":undefined '[decimals]'=(variable.precision || variable.precision==0)? variable.precision+'':undefined '[disabled]'!=variable.disable?variable.disable.toString():undefined '[class.f-state-readonly]'=variable.readonly?variable.readonly.value+"":undefined '[readonly]'!=variable.readonly?variable.readonly.value+"":undefined '[value]'=variable.value?variable.value:undefined '[step]'=variable.step?variable.step:undefined '[min]'=variable.minValue!=null?variable.minValue:undefined '[max]'=variable.maxValue!=null?variable.maxValue:undefined '[autoCorrect]'="true" '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined '[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined 'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined ' [inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined '[inputAppendControlType]'=variable.originalType?"'"+variable.originalType+"'":undefined )&attributes(attrs)
|
|
26
|
+
kendo-numerictextbox-messages('[decrement]'="'减少'" '[increment]'="'增加'")
|
|
27
|
+
if (variable.needValid)
|
|
28
|
+
-var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
|
|
29
|
+
validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
|
|
30
|
+
div(class="farris-feedback")
|
|
31
|
+
if(variable.isTextArea)
|
|
32
|
+
-var areaAttrs = {};
|
|
33
|
+
if(variable.readonly && variable.readonly.isComposite)
|
|
34
|
+
-areaAttrs["*ngIf"]=variable.readonly.value;
|
|
35
|
+
else
|
|
36
|
+
-areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
|
|
37
|
+
if (variable.binding && variable.binding.type == 'Variable')
|
|
38
|
+
-areaAttrs['[(ngModel)]'] = variable.binding.value;
|
|
39
|
+
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
40
|
+
else if (variable.includeInLoopContainer==false)
|
|
41
|
+
-areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
42
|
+
else
|
|
43
|
+
-areaAttrs['[(ngModel)]'] = variable.rowPrefix+(variable.binding && variable.binding.path);
|
|
44
|
+
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
45
|
+
farris-text('[type]'="'number'" '[format]'=variable.format?"'"+variable.format+"'":undefined '[inputAppendControlType]'="'StaticText'" '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined ' [inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined)&attributes(areaAttrs)
|
|
46
|
+
if(variable.titleTipsTemplate)
|
|
47
|
+
span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
|
|
48
|
+
i(class="f-icon f-icon-description-tips")
|
|
49
|
+
-var tipsAttrs= {};
|
|
50
|
+
-tipsAttrs['#'+variable.titleTipsTemplateName] = "";
|
|
51
|
+
ng-template()&attributes(tipsAttrs)
|
|
52
|
+
| !{variable.titleTipsTemplate}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
|
|
2
|
+
div(class="farris-input-wrap")
|
|
3
|
+
div(class="custom-control custom-radio")
|
|
4
|
+
-var attrs = {};
|
|
5
|
+
if (variable.binding && variable.binding.type == 'Variable')
|
|
6
|
+
-attrs['[(ngModel)]'] = variable.binding.value;
|
|
7
|
+
-attrs['name'] = variable.replacedId;
|
|
8
|
+
-attrs['[ngModelOptions]'] = "{standalone:true}";
|
|
9
|
+
else if (variable.includeInLoopContainer==false)
|
|
10
|
+
-attrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
11
|
+
else
|
|
12
|
+
-attrs['[(ngModel)]'] = variable.rowPrefix+(variable.binding && variable.binding.path);
|
|
13
|
+
-attrs['name'] = variable.replacedId;
|
|
14
|
+
-attrs['[ngModelOptions]'] = "{standalone:true}";
|
|
15
|
+
if(variable.hasDefaultFocus)
|
|
16
|
+
-attrs["farris-set-focus"]="";
|
|
17
|
+
if(variable.focusState)
|
|
18
|
+
-attrs["[focusState]"]=variable.focusState+"";
|
|
19
|
+
input(class="custom-control-input" "input-end-edit" type="radio" id=variable.replacedId '[disabled]'!=variable.disable?variable.disable.toString():undefined '[readonly]'!=variable.readonly?variable.readonly.value+"":undefined tabindex=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined '[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined 'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined ' [inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined '[inputAppendControlType]'=variable.originalType?"'"+variable.originalType+"'":undefined )&attributes(attrs)
|
|
20
|
+
label(class="custom-control-label" for=variable.replacedId)
|
|
21
|
+
if(variable.titleTipsTemplate)
|
|
22
|
+
span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
|
|
23
|
+
i(class="f-icon f-icon-description-tips")
|
|
24
|
+
-var tipsAttrs= {};
|
|
25
|
+
-tipsAttrs['#'+variable.titleTipsTemplateName] = "";
|
|
26
|
+
ng-template()&attributes(tipsAttrs)
|
|
27
|
+
| !{variable.titleTipsTemplate}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
|
|
2
|
+
-var attrs = {};
|
|
3
|
+
if (variable.binding && variable.binding.type == 'Variable')
|
|
4
|
+
-attrs['[(ngModel)]'] = variable.binding.value;
|
|
5
|
+
-attrs['name'] = variable.replacedId;
|
|
6
|
+
-attrs['[ngModelOptions]'] = "{standalone:true}";
|
|
7
|
+
else if (variable.includeInLoopContainer==false)
|
|
8
|
+
-attrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
9
|
+
else
|
|
10
|
+
-attrs['[(ngModel)]'] = variable.rowPrefix+(variable.binding && variable.binding.path);
|
|
11
|
+
-attrs['name'] = variable.replacedId;
|
|
12
|
+
-attrs['[ngModelOptions]'] = "{standalone:true}";
|
|
13
|
+
if(variable.isTextArea)
|
|
14
|
+
if(variable.readonly && variable.readonly.isComposite)
|
|
15
|
+
-attrs["*ngIf"]="!"+variable.readonly.value;
|
|
16
|
+
else
|
|
17
|
+
-attrs["*ngIf"]="viewModel.stateMachine['editable']";
|
|
18
|
+
if(variable.hasDefaultFocus)
|
|
19
|
+
-attrs["farris-set-focus"]="";
|
|
20
|
+
if(variable.focusState)
|
|
21
|
+
-attrs["[focusState]"]=variable.focusState+"";
|
|
22
|
+
div('class'='farris-input-wrap')
|
|
23
|
+
farris-radiogroup(id=variable.replacedId?""+variable.replacedId:undefined "input-end-edit" '[disabled]'!=variable.readonly?""+variable.readonly.value:undefined '[horizontal]'= ""+variable.isHorizontal+"" '[data]'=variable.enumDataLang?""+variable.enumDataLang:undefined '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined '(setRadioData)'=variable.setRadioData?""+variable.setRadioData:undefined '[valueField]'=variable.valueField?"'"+variable.valueField+"'":undefined '[textField]'=variable.textField?"'"+variable.textField+"'":undefined '[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined 'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined ' [inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined '[inputAppendControlType]'=variable.originalType?"'"+variable.originalType+"'":undefined )&attributes(attrs)
|
|
24
|
+
if (variable.needValid && variable.binding && variable.binding.path)
|
|
25
|
+
-var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
|
|
26
|
+
validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
|
|
27
|
+
div(class="farris-feedback")
|
|
28
|
+
if(variable.isTextArea)
|
|
29
|
+
-var areaAttrs = {};
|
|
30
|
+
if(variable.readonly && variable.readonly.isComposite)
|
|
31
|
+
-areaAttrs["*ngIf"]=variable.readonly.value;
|
|
32
|
+
else
|
|
33
|
+
-areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
|
|
34
|
+
if (variable.binding && variable.binding.type == 'Variable')
|
|
35
|
+
-areaAttrs['[(ngModel)]'] = variable.binding.value;
|
|
36
|
+
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
37
|
+
else if (variable.includeInLoopContainer==false)
|
|
38
|
+
-areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
39
|
+
else
|
|
40
|
+
-areaAttrs['[(ngModel)]'] = variable.rowPrefix+(variable.binding && variable.binding.path);
|
|
41
|
+
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
42
|
+
farris-text('[type]'="'enum'" '[data]'!=variable.enumDataLang?""+variable.enumDataLang:undefined '[valueField]'=variable.valueField?"'"+variable.valueField+"'":undefined '[textField]'=variable.textField?"'"+variable.textField+"'":undefined '[inputAppendControlType]'="'StaticText'" '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined ' [inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined )&attributes(areaAttrs)
|
|
43
|
+
if(variable.titleTipsTemplate)
|
|
44
|
+
span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
|
|
45
|
+
i(class="f-icon f-icon-description-tips")
|
|
46
|
+
-var tipsAttrs= {};
|
|
47
|
+
-tipsAttrs['#'+variable.titleTipsTemplateName] = "";
|
|
48
|
+
ng-template()&attributes(tipsAttrs)
|
|
49
|
+
| !{variable.titleTipsTemplate}
|
|
50
|
+
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
|
|
2
|
+
div(class="farris-input-wrap")
|
|
3
|
+
-var attrs = {};
|
|
4
|
+
if (variable.binding && variable.binding.type == 'Variable')
|
|
5
|
+
-attrs['[(ngModel)]'] = variable.binding.value;
|
|
6
|
+
-attrs['name'] = variable.replacedId;
|
|
7
|
+
-attrs['[ngModelOptions]'] = "{standalone:true}";
|
|
8
|
+
else if (variable.includeInLoopContainer==false)
|
|
9
|
+
-attrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
10
|
+
else
|
|
11
|
+
-attrs['[(ngModel)]'] =variable.rowPrefix+ variable.binding && variable.binding.path;
|
|
12
|
+
-attrs['name'] = variable.replacedId;
|
|
13
|
+
-attrs['[ngModelOptions]'] = "{standalone:true}";
|
|
14
|
+
|
|
15
|
+
-attrs['placeholder'] = "{{'" + variable.placeHolderResourceId + "'|lang:lang:'"+variable.placeHolder+"'}}";
|
|
16
|
+
|
|
17
|
+
if(variable.hasDefaultFocus)
|
|
18
|
+
-attrs["farris-set-focus"]="";
|
|
19
|
+
if(variable.focusState)
|
|
20
|
+
-attrs["[focusState]"]=variable.focusState+"";
|
|
21
|
+
farris-html-editor(id=variable.replacedId "html-editor-end-edit" class="form-control" '[disabled]'!=variable.disable?variable.disable.toString():undefined '[readonly]'!=variable.readonly?variable.readonly.value+"":undefined '[value]'=variable.value?variable.value:undefined '[format]'=variable.format?"'"+variable.format+"'":undefined '[theme]'=variable.theme?"'"+variable.theme+"'":undefined '[maxLength]'=variable.maxLength?"'"+variable.maxLength+"'":undefined '[minLength]'=variable.minLength?"'"+variable.minLength+"'":undefined '[required]'=variable.require?""+variable.require.value:undefined '[customToolbarPosition]'=variable.customToolbarPosition?"'"+variable.customToolbarPosition+"'":undefined '(onEditorCreated)'=variable.onEditorCreated?variable.onEditorCreated+"(param)":undefined '(onContentChanged)'=variable.onContentChanged?variable.onContentChanged+"(param)":undefined '(onSelectionChanged)'=variable.onSelectionChanged?variable.onSelectionChanged+"":undefined '(onFocus)'=variable.onFocus?variable.onFocus+"(param)":undefined '(onBlur)'=variable.onBlur?variable.onBlur+"(param)":undefined '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined '[styles]'=variable.customEditorStyle?""+variable.customEditorStyle:undefined '[showBorder]'=(variable.isTextArea ||variable.isTextArea==false)?""+variable.isTextArea:undefined '[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined 'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined )&attributes(attrs)
|
|
22
|
+
if (variable.needValid && variable.binding && variable.binding.path)
|
|
23
|
+
-var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
|
|
24
|
+
validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
|
|
25
|
+
div(class="farris-feedback")
|
|
26
|
+
if(variable.titleTipsTemplate)
|
|
27
|
+
span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
|
|
28
|
+
i(class="f-icon f-icon-description-tips")
|
|
29
|
+
-var tipsAttrs= {};
|
|
30
|
+
-tipsAttrs['#'+variable.titleTipsTemplateName] = "";
|
|
31
|
+
ng-template()&attributes(tipsAttrs)
|
|
32
|
+
| !{variable.titleTipsTemplate}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
|
|
2
|
+
div(class="farris-input-wrap")
|
|
3
|
+
if (variable.mulitSelect)
|
|
4
|
+
kendo-multiselect(id=variable.replacedId "input-end-edit" class="form-control k-widget k-multiselect k-header" '[data]'=variable.dataSource?variable.dataSource:undefined '[disabled]'!=variable.disable?variable.disable:undefined '[readonly]'!=variable.readonly?variable.readonly.value+"":undefined '[class.f-state-readonly]'=variable.readonly?variable.readonly.value+"":undefined '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined '[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined 'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined )&attributes(attrs)
|
|
5
|
+
else
|
|
6
|
+
kendo-dropdownlist(id=variable.replacedId "input-end-edit" class="form-control k-widget k-dropdown k-header" '[data]'=variable.dataSource?variable.dataSource:undefined '[disabled]'!=variable.disable?variable.disable:undefined '[readonly]'!=variable.readonly?variable.readonly.value+"":undefined '[class.f-state-readonly]'=variable.readonly?variable.readonly.value+"":undefined '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined '[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined 'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined )&attributes(attrs)
|
|
7
|
+
if (variable.needValid && variable.binding && variable.binding.path)
|
|
8
|
+
-var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
|
|
9
|
+
validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
|
|
10
|
+
div(class="farris-feedback")
|
|
11
|
+
if(variable.titleTipsTemplate)
|
|
12
|
+
span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
|
|
13
|
+
i(class="f-icon f-icon-description-tips")
|
|
14
|
+
-var tipsAttrs= {};
|
|
15
|
+
-tipsAttrs['#'+variable.titleTipsTemplateName] = "";
|
|
16
|
+
ng-template()&attributes(tipsAttrs)
|
|
17
|
+
| !{variable.titleTipsTemplate}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
|
|
2
|
+
div(class="farris-input-wrap")
|
|
3
|
+
-var attrs = {};
|
|
4
|
+
if (variable.binding && variable.binding.type == 'Variable')
|
|
5
|
+
-attrs['[(ngModel)]'] = variable.binding.value;
|
|
6
|
+
-attrs['name'] = variable.replacedId;
|
|
7
|
+
-attrs['[ngModelOptions]'] = "{standalone:true}";
|
|
8
|
+
else if (variable.includeInLoopContainer==false)
|
|
9
|
+
-attrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
10
|
+
else
|
|
11
|
+
-attrs['[(ngModel)]'] = variable.rowPrefix+(variable.binding && variable.binding.path);
|
|
12
|
+
-attrs['name'] = variable.replacedId;
|
|
13
|
+
-attrs['[ngModelOptions]'] = "{standalone:true}";
|
|
14
|
+
if(variable.isTextArea)
|
|
15
|
+
if(variable.readonly && variable.readonly.isComposite)
|
|
16
|
+
-attrs["*ngIf"]="!"+variable.readonly.value;
|
|
17
|
+
else
|
|
18
|
+
-attrs["*ngIf"]="viewModel.stateMachine['editable']";
|
|
19
|
+
if(variable.hasDefaultFocus)
|
|
20
|
+
-attrs["farris-set-focus"]="";
|
|
21
|
+
if(variable.focusState)
|
|
22
|
+
-attrs["[focusState]"]=variable.focusState+"";
|
|
23
|
+
kendo-switch(id=variable.replacedId "input-end-edit" class="form-control k-widget k-switch" '[disabled]'!=variable.disable?variable.disable:undefined '[class.f-state-readonly]'=variable.readonly?variable.readonly.value+"":undefined '[readonly]'!=variable.readonly?variable.readonly.value+"":undefined '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined '[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined 'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined ' [inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined '[inputAppendControlType]'=variable.originalType?"'"+variable.originalType+"'":undefined )&attributes(attrs)
|
|
24
|
+
if (variable.needValid && variable.binding && variable.binding.path)
|
|
25
|
+
-var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
|
|
26
|
+
validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
|
|
27
|
+
div(class="farris-feedback")
|
|
28
|
+
if(variable.isTextArea)
|
|
29
|
+
-var areaAttrs = {};
|
|
30
|
+
if(variable.readonly && variable.readonly.isComposite)
|
|
31
|
+
-areaAttrs["*ngIf"]=variable.readonly.value;
|
|
32
|
+
else
|
|
33
|
+
-areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
|
|
34
|
+
if (variable.binding && variable.binding.type == 'Variable')
|
|
35
|
+
-areaAttrs['[(ngModel)]'] = variable.binding.value;
|
|
36
|
+
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
37
|
+
else if (variable.includeInLoopContainer==false)
|
|
38
|
+
-areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
39
|
+
else
|
|
40
|
+
-areaAttrs['[(ngModel)]'] = variable.rowPrefix+(variable.binding && variable.binding.path);
|
|
41
|
+
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
42
|
+
farris-text('[type]'="'string'" '[inputAppendControlType]'="'StaticText'" '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined ' [inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined)&attributes(areaAttrs)
|
|
43
|
+
if(variable.titleTipsTemplate)
|
|
44
|
+
span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
|
|
45
|
+
i(class="f-icon f-icon-description-tips")
|
|
46
|
+
-var tipsAttrs= {};
|
|
47
|
+
-tipsAttrs['#'+variable.titleTipsTemplateName] = "";
|
|
48
|
+
ng-template()&attributes(tipsAttrs)
|
|
49
|
+
| !{variable.titleTipsTemplate}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
|
|
2
|
+
div(class="farris-input-wrap")
|
|
3
|
+
-var type = 'input';
|
|
4
|
+
-var attrs = {};
|
|
5
|
+
if (variable.binding && variable.binding.type == 'Variable')
|
|
6
|
+
-attrs['[(ngModel)]'] = variable.binding.value;
|
|
7
|
+
-attrs['[ngModelOptions]'] = "{standalone:true}";
|
|
8
|
+
-attrs['name'] = variable.replacedId;
|
|
9
|
+
else if (variable.includeInLoopContainer==false)
|
|
10
|
+
-attrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
11
|
+
else
|
|
12
|
+
-attrs['[(ngModel)]'] = variable.rowPrefix+(variable.binding && variable.binding.path);
|
|
13
|
+
-attrs['[ngModelOptions]'] = "{standalone:true}";
|
|
14
|
+
-attrs['name'] = variable.replacedId;
|
|
15
|
+
|
|
16
|
+
-attrs['placeholder'] = "{{'" + variable.placeHolderResourceId + "'|lang:lang:'"+variable.placeHolder+"'}}";
|
|
17
|
+
if(variable.isTextArea)
|
|
18
|
+
if(variable.readonly && variable.readonly.isComposite)
|
|
19
|
+
-attrs["*ngIf"]="!"+variable.readonly.value;
|
|
20
|
+
else
|
|
21
|
+
-attrs["*ngIf"]="viewModel.stateMachine['editable']";
|
|
22
|
+
if(variable.hasDefaultFocus)
|
|
23
|
+
-attrs["farris-set-focus"]="";
|
|
24
|
+
if(variable.focusState)
|
|
25
|
+
-attrs["[focusState]"]=variable.focusState+"";
|
|
26
|
+
if (variable.format)
|
|
27
|
+
kendo-maskedtextbox(id=variable.replacedId "input-end-edit" class="form-control k-widget k-maskedtextbox" '[mask]'=variable.format?variable.format:undefined '[disabled]'!=variable.disable?variable.disable.toString():undefined '[readonly]'!=variable.readonly?variable.readonly.value+"":undefined '[class.f-state-readonly]'=variable.readonly?variable.readonly.value+"":undefined '[value]'=variable.value?variable.value:undefined '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined '[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined 'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined )&attributes(attrs)
|
|
28
|
+
else
|
|
29
|
+
if(variable.isPassword)
|
|
30
|
+
-attrs["type"]="password";
|
|
31
|
+
input(id=variable.replacedId class="form-control" "input-end-edit" '[disabled]'!=variable.disable?variable.disable.toString():undefined '[readonly]'!=variable.readonly?variable.readonly.value+"":undefined '[value]'=variable.value?variable.value:undefined tabindex=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined 'maxlength'=(variable.maxLength && variable.maxLength!=0)?""+variable.maxLength:undefined 'minlength'=(variable.minLength && variable.minLength!=0)?""+variable.minLength:undefined '[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined 'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined '[f-input-tips]'=variable.enableTips?""+variable.enableTips.value:undefined '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined ' [inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined '[inputAppendControlType]'=variable.originalType?"'"+variable.originalType+"'":undefined )&attributes(attrs)
|
|
32
|
+
if (variable.needValid && variable.binding && variable.binding.path)
|
|
33
|
+
-var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
|
|
34
|
+
validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
|
|
35
|
+
div(class="farris-feedback")
|
|
36
|
+
if(variable.isTextArea)
|
|
37
|
+
-var areaAttrs = {};
|
|
38
|
+
if(variable.readonly && variable.readonly.isComposite)
|
|
39
|
+
-areaAttrs["*ngIf"]=variable.readonly.value;
|
|
40
|
+
else
|
|
41
|
+
-areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
|
|
42
|
+
if (variable.binding && variable.binding.type == 'Variable')
|
|
43
|
+
-areaAttrs['[(ngModel)]'] = variable.binding.value;
|
|
44
|
+
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
45
|
+
else if (variable.includeInLoopContainer==false)
|
|
46
|
+
-areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
47
|
+
else
|
|
48
|
+
-areaAttrs['[(ngModel)]'] = variable.rowPrefix+(variable.binding && variable.binding.path);
|
|
49
|
+
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
50
|
+
farris-text('[type]'="'string'" '[isPassword]'=variable.isPassword?""+variable.isPassword:undefined '[inputAppendControlType]'="'StaticText'" '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined ' [inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined)&attributes(areaAttrs)
|
|
51
|
+
if(variable.titleTipsTemplate)
|
|
52
|
+
span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
|
|
53
|
+
i(class="f-icon f-icon-description-tips")
|
|
54
|
+
-var tipsAttrs= {};
|
|
55
|
+
-tipsAttrs['#'+variable.titleTipsTemplateName] = "";
|
|
56
|
+
ng-template()&attributes(tipsAttrs)
|
|
57
|
+
| !{variable.titleTipsTemplate}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
|
|
2
|
+
div(class="farris-input-wrap")
|
|
3
|
+
-var attrs = {};
|
|
4
|
+
if (variable.binding && variable.binding.type == 'Variable')
|
|
5
|
+
-attrs['[(ngModel)]'] = variable.binding.value;
|
|
6
|
+
-attrs['name'] = variable.replacedId;
|
|
7
|
+
-attrs['[ngModelOptions]'] = "{standalone:true}";
|
|
8
|
+
else if (variable.includeInLoopContainer==false)
|
|
9
|
+
-attrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
10
|
+
else
|
|
11
|
+
-attrs['[(ngModel)]'] = variable.rowPrefix+(variable.binding && variable.binding.path);
|
|
12
|
+
-attrs['name'] = variable.replacedId;
|
|
13
|
+
-attrs['[ngModelOptions]'] = "{standalone:true}";
|
|
14
|
+
if(variable.hasDefaultFocus)
|
|
15
|
+
-attrs["farris-set-focus"]="";
|
|
16
|
+
if(variable.focusState)
|
|
17
|
+
-attrs["[focusState]"]=variable.focusState+"";
|
|
18
|
+
kendo-timepicker(id=variable.replacedId "input-end-edit" class="form-control k-widget k-timepicker k-header" '[format]'=variable.format?variable.format:undefined '[disabled]'!=variable.disable?variable.disable.toString():undefined '[readonly]'!=variable.readonly?variable.readonly.value+"":undefined '[class.f-state-readonly]'=variable.readonly?variable.readonly.value+"":undefined '[value]'=variable.value?variable.value:undefined '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined '[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined 'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined ' [inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined '[inputAppendControlType]'=variable.originalType?"'"+variable.originalType+"'":undefined )&attributes(attrs)
|
|
19
|
+
if (variable.needValid && variable.binding && variable.binding.path)
|
|
20
|
+
-var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
|
|
21
|
+
validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
|
|
22
|
+
div(class="farris-feedback")
|
|
23
|
+
if(variable.titleTipsTemplate)
|
|
24
|
+
span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
|
|
25
|
+
i(class="f-icon f-icon-description-tips")
|
|
26
|
+
-var tipsAttrs= {};
|
|
27
|
+
-tipsAttrs['#'+variable.titleTipsTemplateName] = "";
|
|
28
|
+
ng-template()&attributes(tipsAttrs)
|
|
29
|
+
| !{variable.titleTipsTemplate}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
//- -var variable = {format: "'HH:mm:ss'", placeholder: "开始日期"}
|
|
2
|
+
|
|
3
|
+
div(class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style) '*ngIf'!=variable.visible?variable.visible.value+'':undefined )
|
|
4
|
+
-var attrs = {};
|
|
5
|
+
if (variable.binding && variable.binding.type == 'Variable')
|
|
6
|
+
-attrs['[(ngModel)]'] = variable.binding.value;
|
|
7
|
+
-attrs['name'] = variable.replacedId;
|
|
8
|
+
-attrs['[ngModelOptions]'] = "{standalone:true}";
|
|
9
|
+
else if (variable.includeInLoopContainer==false)
|
|
10
|
+
-attrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
11
|
+
else
|
|
12
|
+
-attrs['[(ngModel)]'] = variable.rowPrefix+(variable.binding && variable.binding.path);
|
|
13
|
+
-attrs['name'] = variable.replacedId;
|
|
14
|
+
-attrs['[ngModelOptions]'] = "{standalone:true}";
|
|
15
|
+
if(variable.hasDefaultFocus)
|
|
16
|
+
-attrs["farris-set-focus"]="";
|
|
17
|
+
if(variable.focusState)
|
|
18
|
+
-attrs["[focusState]"]=variable.focusState+"";
|
|
19
|
+
|
|
20
|
+
-attrs['placeholder'] = "{{'" + variable.placeHolderResourceId + "'|lang:lang:'"+variable.placeHolder+"'}}";
|
|
21
|
+
kendo-timepicker(id=variable.replacedId "input-end-edit" '[format]'=variable.format?variable.format:undefined '[(value)]'=variable.value?variable.value:undefined '[disabled]'!=variable.disable?variable.disable.toString():undefined '[readonly]'!=variable.readonly?variable.readonly.value+"":undefined '[class.f-state-readonly]'=variable.readonly?variable.readonly.value+"":undefined style="width: 100%" '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined )&attributes(attrs)
|
|
@@ -14,7 +14,7 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
14
14
|
var __importStar = (this && this.__importStar) || function (mod) {
|
|
15
15
|
if (mod && mod.__esModule) return mod;
|
|
16
16
|
var result = {};
|
|
17
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
17
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
18
18
|
__setModuleDefault(result, mod);
|
|
19
19
|
return result;
|
|
20
20
|
};
|
|
@@ -7,7 +7,7 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
|
|
|
7
7
|
o[k2] = m[k];
|
|
8
8
|
}));
|
|
9
9
|
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
-
for (var p in m) if (p !== "default" && !
|
|
10
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
11
|
};
|
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
13
|
__exportStar(require("./build-file-version-manager"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"content-type-creator.js","sourceRoot":"","sources":["../../src/utility/content-type-creator.ts"],"names":[],"mappings":";;;AAAA,gFAA0E;AAC1E,0FAAoF;AACpF,8FAAwF;AACxF,sFAAgF;AAChF,sFAAgF;AAChF,wFAAkF;AAClF,4EAA8E;AAC9E,0FAAoF;AACpF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AW,IAAI,YAAY,EAAE;YAC7B,MAAM,GAAG,kBAAkB,CAAC;SAC/B;QACD,IAAI,WAAW,IAAI,aAAa,EAAE;YAC9B,MAAM,GAAG,mBAAmB,CAAC;SAChC;QACD,IAAI,WAAW,IAAI,mBAAmB,EAAE;YACpC,MAAM,GAAG,4BAA4B,CAAC;SACzC;QAED,IAAI,WAAW,KAAK,OAAO,EAAE;YACzB,MAAM,GAAG,aAAa,CAAC;SAC1B;QAGD,OAAO,MAAM,CAAC;IAClB,CAAC;CACJ;AAjJD,gDAiJC"}
|
|
@@ -6,20 +6,20 @@ const devkit_constant_1 = require("./devkit/devkit-constant");
|
|
|
6
6
|
const jit_constant_1 = require("./jit-constant");
|
|
7
7
|
const toolhepler_1 = require("./toolhepler");
|
|
8
8
|
class ContentTypeInstanceGenerator {
|
|
9
|
-
static generate(metaDataContents, resourcePrefix, externalComponentNameSpace, viewModelInstance) {
|
|
9
|
+
static generate(metaDataContents, resourcePrefix, externalComponentNameSpace, viewModelInstance, includeInLoopContainer) {
|
|
10
10
|
const contentsInstance = [];
|
|
11
11
|
if (!toolhepler_1.ToolHelper.isArray(metaDataContents, false)) {
|
|
12
12
|
return contentsInstance;
|
|
13
13
|
}
|
|
14
14
|
metaDataContents.forEach((item) => {
|
|
15
|
-
const domValue = this.generateWithSingle(item, resourcePrefix, externalComponentNameSpace, viewModelInstance);
|
|
15
|
+
const domValue = this.generateWithSingle(item, resourcePrefix, externalComponentNameSpace, viewModelInstance, includeInLoopContainer);
|
|
16
16
|
if (domValue) {
|
|
17
17
|
contentsInstance.push(domValue);
|
|
18
18
|
}
|
|
19
19
|
});
|
|
20
20
|
return contentsInstance;
|
|
21
21
|
}
|
|
22
|
-
static generateWithSingle(metaDataContent, resourcePrefix, externalComponentNameSpace, viewModelInstance) {
|
|
22
|
+
static generateWithSingle(metaDataContent, resourcePrefix, externalComponentNameSpace, viewModelInstance, includeInLoopContainer) {
|
|
23
23
|
if (!metaDataContent || !metaDataContent.type) {
|
|
24
24
|
return;
|
|
25
25
|
}
|
|
@@ -29,6 +29,7 @@ class ContentTypeInstanceGenerator {
|
|
|
29
29
|
metaDataContent[jit_constant_1.JITConstant.i18nResourcePrefix] = resourcePrefix;
|
|
30
30
|
metaDataContent[devkit_constant_1.DevkitConstant.ExternalComponentNameSpace] = externalComponentNameSpace;
|
|
31
31
|
metaDataContent[devkit_constant_1.DevkitConstant.ViewModelName] = viewModelInstance;
|
|
32
|
+
metaDataContent["includeInLoopContainer"] = includeInLoopContainer;
|
|
32
33
|
const domValue = new domObj(metaDataContent);
|
|
33
34
|
return domValue;
|
|
34
35
|
}
|