@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,53 @@
|
|
|
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.valueChanged)
|
|
14
|
+
-attrs['(valueChange)'] = variable.valueChanged + '';
|
|
15
|
+
if (variable.readonly)
|
|
16
|
+
-attrs['[readonly]'] = variable.readonly.value+"";
|
|
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
|
+
-attrs['placeholder'] = "{{'" + variable.placeHolderResourceId + "'|lang:lang:'"+variable.placeHolder+"'}}";
|
|
23
|
+
if(variable.hasDefaultFocus)
|
|
24
|
+
-attrs["farris-set-focus"]="";
|
|
25
|
+
if(variable.focusState)
|
|
26
|
+
-attrs["[focusState]"]=variable.focusState+"";
|
|
27
|
+
farris-combo-list(id=variable.replacedId "input-end-edit" '[data]'!=variable.enumDataLang?variable.enumDataLang:undefined '(selectedValues)'=variable.selectedValues?variable.selectedValues:undefined '[disabled]'!=(variable.disable||variable.disable==false)?variable.disable.toString():undefined '[enableCancelSelected]'=(variable.enableCancelSelected || variable.enableCancelSelected==false)?""+variable.enableCancelSelected:undefined '[editable]'=(variable.editable||variable.editable==false)?variable.editable.toString():undefined '[panelWidth]'=variable.panelWidth?"'"+variable.panelWidth+"'":undefined '[panelHeight]'=variable.panelHeight?"'"+variable.panelHeight+"'":undefined '[idField]'=variable.idField?"'"+variable.idField+"'":undefined '[valueField]'=variable.idField?"'"+variable.idField+"'":undefined '[textField]'=variable.textField?"'"+variable.textField+"'":undefined '[uri]'=variable.uri?"'"+variable.uri+"'":undefined '[multiSelect]'=(variable.multiSelect || variable.multiSelect==false)?variable.multiSelect.toString():undefined '(showPanel)'=variable.onShown?variable.onShown:undefined '(hidePanel)'=variable.onHidden?variable.onHidden:undefined '(clear)'=variable.onClear?variable.onClear:undefined '[autoWidth]'=(variable.autoWidth||variable.autoWidth==false)?variable.autoWidth.toString():undefined '[mappingField]'=variable.mappingField?"'"+variable.mappingField+"'":undefined '[beforeShow]'=variable.beforeShow?""+variable.beforeShow:undefined '[beforeHide]'=variable.beforeHide?""+variable.beforeHide:undefined '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined '[enableClear]'=(variable.enableClear || variable.enableClear==false)?""+variable.enableClear:undefined '[viewType]'=variable.viewType?"'"+variable.viewType+"'":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 '[nosearch]'=variable.noSearch?""+variable.noSearch.value:undefined '[maxLength]'=variable.maxSearchLength?""+variable.maxSearchLength: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)
|
|
28
|
+
if (variable.needValid && variable.binding && variable.binding.path)
|
|
29
|
+
-var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
|
|
30
|
+
validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
|
|
31
|
+
div(class="farris-feedback")
|
|
32
|
+
if(variable.isTextArea)
|
|
33
|
+
-var areaAttrs = {};
|
|
34
|
+
if(variable.readonly && variable.readonly.isComposite)
|
|
35
|
+
-areaAttrs["*ngIf"]=variable.readonly.value;
|
|
36
|
+
else
|
|
37
|
+
-areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
|
|
38
|
+
if (variable.binding && variable.binding.type == 'Variable')
|
|
39
|
+
-areaAttrs['[(ngModel)]'] = variable.binding.value;
|
|
40
|
+
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
41
|
+
else if (variable.includeInLoopContainer==false)
|
|
42
|
+
-areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
43
|
+
else
|
|
44
|
+
-areaAttrs['[(ngModel)]'] = variable.rowPrefix+(variable.binding && variable.binding.path);
|
|
45
|
+
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
46
|
+
farris-text('[type]'="'enum'" '[data]'!=variable.enumDataLang?variable.enumDataLang:undefined '[valueField]'=variable.idField?"'"+variable.idField+"'":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)
|
|
47
|
+
if(variable.titleTipsTemplate)
|
|
48
|
+
span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
|
|
49
|
+
i(class="f-icon f-icon-description-tips")
|
|
50
|
+
-var tipsAttrs= {};
|
|
51
|
+
-tipsAttrs['#'+variable.titleTipsTemplateName] = "";
|
|
52
|
+
ng-template()&attributes(tipsAttrs)
|
|
53
|
+
| !{variable.titleTipsTemplate}
|
|
@@ -0,0 +1,34 @@
|
|
|
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.valueChanged)
|
|
14
|
+
-attrs['(valueChange)'] = variable.valueChanged + '';
|
|
15
|
+
if (variable.readonly)
|
|
16
|
+
-attrs['[readonly]'] = variable.readonly.value+'';
|
|
17
|
+
|
|
18
|
+
-attrs['placeholder'] ="{{'" + variable.placeHolderResourceId + "'|lang:lang:'"+variable.placeHolder+"'}}";
|
|
19
|
+
if(variable.hasDefaultFocus)
|
|
20
|
+
-attrs["farris-set-focus"]="";
|
|
21
|
+
if(variable.focusState)
|
|
22
|
+
-attrs["[focusState]"]=variable.focusState+"";
|
|
23
|
+
farris-combo-lookup(id=variable.replacedId "input-end-edit" '(selectedValues)'=variable.selectedValues?variable.selectedValues:undefined '[displayType]'=variable.displayType?"'"+variable.displayType+"'":undefined '[disabled]'!=(variable.disable||variable.disable==false)?variable.disable.toString():undefined '[editable]'=(variable.editable||variable.editable==false)?variable.editable.toString():undefined '[panelWidth]'=variable.panelWidth?""+variable.panelWidth:undefined '[panelHeight]'=variable.panelHeight?""+variable.panelHeight:undefined '[idField]'=variable.idField?"'"+variable.idField+"'":undefined '[valueField]'=variable.valueField?"'"+variable.valueField+"'":undefined '[textField]'=variable.textField?"'"+variable.textField+"'":undefined '[uri]'=variable.uri?"'"+variable.uri+"'":undefined '[multiSelect]'=(variable.multiSelect || variable.multiSelect==false)?variable.multiSelect.toString():undefined '(showPanel)'=variable.onShown?variable.onShown:undefined '(hidePanel)'=variable.onHidden?variable.onHidden:undefined '(clear)'=variable.clear?variable.clear:undefined '[autoWidth]'=(variable.autoWidth||variable.autoWidth==false)?variable.autoWidth.toString():undefined '[mapFields]'=variable.mapFields?""+variable.mapFields:undefined '[beforeShow]'=variable.beforeShow?""+variable.beforeShow:undefined '[beforeHide]'=variable.beforeHide?""+variable.beforeHide:undefined '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined '[enableClear]'=(variable.enableClear || variable.enableClear==false)?""+variable.enableClear:undefined '[context]'!=variable.context?""+variable.context: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 '[nosearch]'=variable.noSearch?""+variable.noSearch.value:undefined '[maxLength]'=variable.maxSearchLength?""+variable.maxSearchLength:undefined '[showHeader]'=variable.showHeader?""+variable.showHeader.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)
|
|
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.titleTipsTemplate)
|
|
29
|
+
span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
|
|
30
|
+
i(class="f-icon f-icon-description-tips")
|
|
31
|
+
-var tipsAttrs= {};
|
|
32
|
+
-tipsAttrs['#'+variable.titleTipsTemplateName] = "";
|
|
33
|
+
ng-template()&attributes(tipsAttrs)
|
|
34
|
+
| !{variable.titleTipsTemplate}
|
|
@@ -0,0 +1,59 @@
|
|
|
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.valueChange)
|
|
15
|
+
-attrs['(valueChange)'] = variable.valueChange ;
|
|
16
|
+
|
|
17
|
+
-attrs['placeholder'] = "{{'" + variable.placeHolderResourceId + "'|lang:lang:'"+variable.placeHolder+"'}}";
|
|
18
|
+
-attrs['#'+variable.replacedId] = "";
|
|
19
|
+
if(variable.maxValue)
|
|
20
|
+
-attrs["[maxDate]"]=variable.maxValue?((variable.maxValue.useQuote?"'":"")+variable.maxValue.value+(variable.maxValue.useQuote?"'":"")):undefined
|
|
21
|
+
if(variable.minValue)
|
|
22
|
+
-attrs["[minDate]"]=variable.minValue?((variable.minValue.useQuote?"'":"")+variable.minValue.value+(variable.minValue.useQuote?"'":"")):undefined
|
|
23
|
+
- var readonlyValue=variable.readonly && variable.readonly.value
|
|
24
|
+
if(variable.isTextArea)
|
|
25
|
+
if(variable.readonly && variable.readonly.isComposite)
|
|
26
|
+
-attrs["*ngIf"]="!"+variable.readonly.value;
|
|
27
|
+
else
|
|
28
|
+
-attrs["*ngIf"]="viewModel.stateMachine['editable']";
|
|
29
|
+
if(variable.hasDefaultFocus)
|
|
30
|
+
-attrs["farris-set-focus"]="";
|
|
31
|
+
if(variable.focusState)
|
|
32
|
+
-attrs["[focusState]"]=variable.focusState+"";
|
|
33
|
+
farris-datepicker(id=variable.replacedId "input-end-edit" "farris-date-localization"=variable.localization?"":undefined '[disabled]'!=variable.disable?variable.disable.toString():undefined '[readonly]'!=variable.readonly?variable.readonly.value+"":undefined '[editable]'=(variable.editable||variable.editable==false)?variable.editable+"":undefined '[locale]'=variable.locale?"'"+variable.locale+"'":undefined '[dateRange]'!=(variable.dateRange||variable.dateRange==false)?variable.dateRange+"":undefined '[showTime]'=(variable.showTime || variable.showTime==false)?variable.showTime+"":undefined '[showType]'=(variable.showType || variable.showType==false)?""+variable.showType:undefined '[dateFormat]'!=variable.dateFormat?"'"+variable.dateFormat+"'":undefined '[disableDateRangesBegin]'!=variable.disableDateRangesBegin?variable.disableDateRangesBegin:undefined '[disableDateRangesEnd]'!=variable.disableDateRangesEnd?variable.disableDateRangesEnd:undefined '[disableDates]'!=variable.disableDates?variable.disableDates:undefined '[showWeekNumbers]'=(variable.showWeekNumbers || variable.showWeekNumbers==false)?variable.showWeekNumbers+"":undefined '[dateRangeDatesDelimiter]'!=variable.dateRangeDatesDelimiter?"'"+variable.dateRangeDatesDelimiter+"'":undefined '[shortcuts]'!=variable.shortcuts?variable.shortcuts:undefined '[returnType]'=variable.returnType?"'"+variable.returnType+"'":undefined '[useDefault]'=(variable.useDefault || variable.useDefault==false)?variable.useDefault.toString():undefined '[returnFormat]'=variable.returnFormat?"'"+variable.returnFormat+"'":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)
|
|
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]'="'date'" '[localization]'=variable.localization?""+true:undefined '[localizationType]'=variable.localization?"'"+variable.localizationType+"'":undefined "farris-text-localization"=variable.localization?"":undefined '[showTime]'=(variable.showTime || variable.showTime== false)?""+variable.showTime:undefined '[showType]'=(variable.showType || variable.showType==false)?""+variable.showType:undefined '[format]'=variable.dateFormat?"'"+variable.dateFormat+"'":undefined '[dateRange]'!=(variable.dateRange||variable.dateRange==false)?variable.dateRange+"":undefined '[dateRangeDelimiter]'!=variable.dateRangeDatesDelimiter?"'"+variable.dateRangeDatesDelimiter+"'":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,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
|
+
farris-number-range(id=variable.replacedId "input-end-edit" '[disabled]'!=variable.disable?variable.disable:undefined '[editable]'=(variable.editable || variable.editable==false)?variable.editable+"":undefined '[readonly]'!=variable.readonly ?""+variable.readonly.value:undefined '[precision]'=(variable.precision || variable.precision == 0)?variable.precision+"":undefined '[textAlign]'=variable.textAlign?"'"+variable.textAlign+"'":undefined '[useThousands]'=(variable.useThousands || variable.useThousands==false)?variable.useThousands+"":undefined '[step]'=(variable.step || variable.step == 0)?variable.step+"":undefined '[min]'=(variable.minValue||variable.minValue==0)?variable.minValue+"":undefined '[max]'=(variable.maxValue||variable.maxValue==0)?variable.maxValue+"":undefined '[formatter]'=variable.formatterName?variable.formatterName:undefined '[parser]'=variable.parserName?variable.parserName:undefined '(valueChange)'=variable.onChange?variable.onChange:undefined '(blur)'=variable.onBlur?variable.onBlur: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)
|
|
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]'="'number'" '[textAlign]'=variable.textAlign?"'"+variable.textAlign+"'":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,50 @@
|
|
|
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
|
+
-attrs['placeholder'] = "{{'" + variable.placeHolderResourceId + "'|lang:lang:'"+variable.placeHolder+"'}}";
|
|
20
|
+
if(variable.hasDefaultFocus)
|
|
21
|
+
-attrs["farris-set-focus"]="";
|
|
22
|
+
if(variable.focusState)
|
|
23
|
+
-attrs["[focusState]"]=variable.focusState+"";
|
|
24
|
+
farris-number-spinner(id=variable.replacedId "input-end-edit" '[disabled]'!=variable.disable?variable.disable:undefined '[editable]'=(variable.editable || variable.editable==false)?variable.editable+"":undefined '[readonly]'!=variable.readonly?""+variable.readonly.value:undefined '[useThousands]'=(variable.useThousands || variable.useThousands==false)?variable.useThousands+"":undefined '[textAlign]'=variable.textAlign?"'"+variable.textAlign+"'":undefined '[step]'=(variable.step || variable.step == 0)?variable.step+"":undefined '[min]'=(variable.minValue||variable.minValue==0)?variable.minValue+"":undefined '[max]'=(variable.maxValue||variable.maxValue==0)?variable.maxValue+"":undefined '[formatter]'=variable.formatterName?variable.formatterName:undefined '[parser]'=variable.parserName?variable.parserName:undefined '[precision]'=(variable.precision || variable.precision == 0)?variable.precision+"":undefined '(valueChange)'=variable.valueChange?variable.valueChange:undefined '(blur)'=variable.onBlur?variable.onBlur:undefined '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined '[canNull]'=(variable.canNull||variable.canNull==false)?""+variable.canNull:undefined '[bigNumber]'=(variable.bigNumber||variable.bigNumber==false)?""+variable.bigNumber: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 '[showZero]'=variable.showZero?""+variable.showZero.value:undefined '[showButton]'=variable.showButton?""+variable.showButton.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)
|
|
25
|
+
if (variable.needValid && variable.binding && variable.binding.path)
|
|
26
|
+
-var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
|
|
27
|
+
validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
|
|
28
|
+
div(class="farris-feedback")
|
|
29
|
+
if(variable.isTextArea)
|
|
30
|
+
-var areaAttrs = {};
|
|
31
|
+
if(variable.readonly && variable.readonly.isComposite)
|
|
32
|
+
-areaAttrs["*ngIf"]=variable.readonly.value;
|
|
33
|
+
else
|
|
34
|
+
-areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
|
|
35
|
+
if (variable.binding && variable.binding.type == 'Variable')
|
|
36
|
+
-areaAttrs['[(ngModel)]'] = variable.binding.value;
|
|
37
|
+
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
38
|
+
else if (variable.includeInLoopContainer==false)
|
|
39
|
+
-areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
40
|
+
else
|
|
41
|
+
-areaAttrs['[(ngModel)]'] = variable.rowPrefix+(variable.binding && variable.binding.path);
|
|
42
|
+
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
43
|
+
farris-text('[type]'="'number'" '[format]'=variable.format?"'"+variable.format+"'":undefined '[textAlign]'=variable.textAlign?"'"+variable.textAlign+"'":undefined '[option]'=variable.textOptionsName?variable.textOptionsName: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)
|
|
44
|
+
if(variable.titleTipsTemplate)
|
|
45
|
+
span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
|
|
46
|
+
i(class="f-icon f-icon-description-tips")
|
|
47
|
+
-var tipsAttrs= {};
|
|
48
|
+
-tipsAttrs['#'+variable.titleTipsTemplateName] = "";
|
|
49
|
+
ng-template()&attributes(tipsAttrs)
|
|
50
|
+
| !{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
|
+
farris-switch(id=variable.replacedId "input-end-edit" '[disabled]'!=variable.disable?variable.disable:undefined '[editable]'!=variable.readonly?"!("+variable.readonly.value+")":undefined '[square]'=variable.square?""+variable.square:undefined '[checkedLabel]'=variable.checkedLabel?"'"+variable.checkedLabel+"'":undefined '[uncheckedLabel]'=variable.uncheckedLabel?"'"+variable.uncheckedLabel+"'":undefined '(valueChange)'=variable.valueChange?variable.valueChange: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]'="'boolean'" '[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,54 @@
|
|
|
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.valueChange)
|
|
15
|
+
-attrs['(valueChange)'] = variable.valueChange + '';
|
|
16
|
+
|
|
17
|
+
-attrs['placeholder'] = "{{'" + variable.placeHolderResourceId + "'|lang:lang:'"+variable.placeHolder+"'}}";
|
|
18
|
+
-attrs['#'+variable.replacedId] = "";
|
|
19
|
+
if(variable.isTextArea)
|
|
20
|
+
if(variable.readonly && variable.readonly.isComposite)
|
|
21
|
+
-attrs["*ngIf"]="!"+variable.readonly.value;
|
|
22
|
+
else
|
|
23
|
+
-attrs["*ngIf"]="viewModel.stateMachine['editable']";
|
|
24
|
+
if(variable.hasDefaultFocus)
|
|
25
|
+
-attrs["farris-set-focus"]="";
|
|
26
|
+
if(variable.focusState)
|
|
27
|
+
-attrs["[focusState]"]=variable.focusState+"";
|
|
28
|
+
farris-time-picker(id=variable.replacedId "input-end-edit" '[disabled]'!=variable.disable?variable.disable.toString():undefined '[readonly]'!=variable.readonly?""+variable.readonly.value:undefined '[editable]'=(variable.editable||variable.editable==false)?variable.editable.toString():undefined '[hourStep]'=variable.hourStep?variable.hourStep.toString():undefined '[minuteStep]'=variable.minuteStep?variable.minuteStep.toString():undefined '[secondStep]'=variable.secondStep?variable.secondStep.toString():undefined '[format]'=variable.format?"'"+variable.format+"'":undefined '[hideDisabledOptions]'=(variable.hideDisabledOptions || variable.hideDisabledOptions==false)?variable.hideDisabledOptions.toString():undefined '(clear)'=variable.clear?variable.clear:undefined '(valueChanged)'=variable.valueChanged?variable.valueChanged.toString():undefined '(openChange)'=variable.openChange?variable.openChange.toString():undefined '[use12Hours]'=(variable.use12Hours || variable.use12Hours==false)?variable.use12Hours+"":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)
|
|
29
|
+
if (variable.needValid && variable.binding && variable.binding.path)
|
|
30
|
+
-var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
|
|
31
|
+
validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
|
|
32
|
+
div(class="farris-feedback")
|
|
33
|
+
if(variable.isTextArea)
|
|
34
|
+
-var areaAttrs = {};
|
|
35
|
+
if(variable.readonly && variable.readonly.isComposite)
|
|
36
|
+
-areaAttrs["*ngIf"]=variable.readonly.value;
|
|
37
|
+
else
|
|
38
|
+
-areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
|
|
39
|
+
if (variable.binding && variable.binding.type == 'Variable')
|
|
40
|
+
-areaAttrs['[(ngModel)]'] = variable.binding.value;
|
|
41
|
+
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
42
|
+
else if (variable.includeInLoopContainer==false)
|
|
43
|
+
-areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
44
|
+
else
|
|
45
|
+
-areaAttrs['[(ngModel)]'] = variable.rowPrefix+(variable.binding && variable.binding.path);
|
|
46
|
+
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
47
|
+
farris-text('[type]'="'date'" '[showTime]'=(variable.showTime || variable.showTime== false)?""+variable.showTime:undefined '[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)
|
|
48
|
+
if(variable.titleTipsTemplate)
|
|
49
|
+
span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
|
|
50
|
+
i(class="f-icon f-icon-description-tips")
|
|
51
|
+
-var tipsAttrs= {};
|
|
52
|
+
-tipsAttrs['#'+variable.titleTipsTemplateName] = "";
|
|
53
|
+
ng-template()&attributes(tipsAttrs)
|
|
54
|
+
| !{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
|
+
farris-time-spinner(id=variable.replacedId "input-end-edit" '[disabled]'!=(variable.disable||variable.disable==false)?variable.disable+"":undefined '[readonly]'!=variable.readonly?variable.readonly.value+"":undefined '[editable]'=(variable.editable||variable.editable==false)?variable.editable+"":undefined '[use12Hours]'=(variable.use12Hours||variable.use12Hours==false)?variable.use12Hours+"":undefined '[format]'=variable.format?"'"+variable.format+"'":undefined '[placeHolder]'=variable.placeHolderLangName?variable.placeHolderLangName:undefined '[hourStep]'=(variable.hourStep||variable.hourStep==0)?"'"+variable.hourStep+"'":undefined '[minuteStep]'=(variable.minuteStep||variable.minuteStep==0)?"'"+variable.minuteStep+"'":undefined '[secondStep]'=(variable.secondStep||variable.secondStep==0)?"'"+variable.secondStep+"'":undefined '[max]'=variable.maxValue?"'"+variable.maxValue+"'":undefined '[min]'=variable.minValue?"'"+variable.minValue+"'":undefined '[disabledSeconds]'=(variable.disabledSeconds||variable.disabledSeconds==false)?variable.disabledSeconds+"":undefined '[separator]'=variable.splitter?"'"+variable.splitter+"'":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,49 @@
|
|
|
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
|
+
input-group(id=variable.replacedId?""+variable.replacedId:undefined '[groupText]'=variable.groupTextLangName?""+variable.groupTextLangName:undefined "input-end-edit" '[disabled]'!=variable.disable?variable.disable+"":undefined '[readonly]'!=variable.readonly?variable.readonly.value+"":undefined '[editable]'=(variable.editable || variable.editable == false)?variable.editable+"":undefined '[enableClear]'=variable.enableClear?variable.enableClear+"":undefined '[customCls]'=variable.customCls?"'"+variable.customCls+"'":undefined '[showButtonWhenDisabled]'=variable.showButtonWhenDisabled?variable.showButtonWhenDisabled+"":undefined '[placeholder]'=variable.placeHolderLangName?""+variable.placeHolderLangName:undefined '(clear)'=variable.onClear?variable.onClear:undefined '(valueChange)'=variable.valueChange?variable.valueChange+"":undefined '(clickHandle)'=variable.click?variable.click+"":undefined '(blurHandle)'=variable.onBlur?variable.onBlur+"":undefined '[isPassword]'=(variable.isPassword || variable.isPassword == false)?""+variable.isPassword:undefined '[enableViewPassword]'=(variable.enableViewPassword || variable.enableViewPassword == false)?""+variable.enableViewPassword: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
|
+
if(variable.isTextArea)
|
|
28
|
+
-var areaAttrs = {};
|
|
29
|
+
if(variable.readonly && variable.readonly.isComposite)
|
|
30
|
+
-areaAttrs["*ngIf"]=variable.readonly.value;
|
|
31
|
+
else
|
|
32
|
+
-areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
|
|
33
|
+
if (variable.binding && variable.binding.type == 'Variable')
|
|
34
|
+
-areaAttrs['[(ngModel)]'] = variable.binding.value;
|
|
35
|
+
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
36
|
+
else if (variable.includeInLoopContainer==false)
|
|
37
|
+
-areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
38
|
+
else
|
|
39
|
+
-areaAttrs['[(ngModel)]'] = variable.rowPrefix+(variable.binding && variable.binding.path);
|
|
40
|
+
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
41
|
+
farris-text('[type]'="'string'" '[isPassword]'=(variable.isPassword || variable.isPassword == false)?""+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)
|
|
42
|
+
if(variable.titleTipsTemplate)
|
|
43
|
+
span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
|
|
44
|
+
i(class="f-icon f-icon-description-tips")
|
|
45
|
+
-var tipsAttrs= {};
|
|
46
|
+
-tipsAttrs['#'+variable.titleTipsTemplateName] = "";
|
|
47
|
+
ng-template()&attributes(tipsAttrs)
|
|
48
|
+
| !{variable.titleTipsTemplate}
|
|
49
|
+
|
|
@@ -0,0 +1,53 @@
|
|
|
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.valueChange)
|
|
15
|
+
-attrs['(valueChange)'] = variable.valueChange ;
|
|
16
|
+
|
|
17
|
+
//-attrs['placeholder'] = "{{'" + variable.placeHolderResourceId + "'|lang:lang:'"+variable.placeHolder+"'}}";
|
|
18
|
+
if(variable.isTextArea)
|
|
19
|
+
if(variable.readonly && variable.readonly.isComposite)
|
|
20
|
+
-attrs["*ngIf"]="!"+variable.readonly.value;
|
|
21
|
+
else
|
|
22
|
+
-attrs["*ngIf"]="viewModel.stateMachine['editable']";
|
|
23
|
+
if(variable.hasDefaultFocus)
|
|
24
|
+
-attrs["farris-set-focus"]="";
|
|
25
|
+
if(variable.focusState)
|
|
26
|
+
-attrs["[focusState]"]=variable.focusState+"";
|
|
27
|
+
language-textbox(id=variable.replacedId "input-end-edit" '[disabled]'!=variable.disable?variable.disable.toString():undefined '[readonly]'!=variable.readonly?variable.readonly.value+"":undefined '[languages]'=variable.useFrameworkLanguage?""+variable.currentLanguageListName:variable.currentLanguageListName '[enableClear]'=(variable.enableClear || variable.enableClear == false)?""+variable.enableClear: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 '[editable]'=variable.editable?""+variable.editable.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)
|
|
28
|
+
if (variable.needValid && variable.binding && variable.binding.path)
|
|
29
|
+
-var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
|
|
30
|
+
validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
|
|
31
|
+
div(class="farris-feedback")
|
|
32
|
+
if(variable.isTextArea)
|
|
33
|
+
-var areaAttrs = {};
|
|
34
|
+
if(variable.readonly && variable.readonly.isComposite)
|
|
35
|
+
-areaAttrs["*ngIf"]=variable.readonly.value;
|
|
36
|
+
else
|
|
37
|
+
-areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
|
|
38
|
+
if (variable.binding && variable.binding.type == 'Variable')
|
|
39
|
+
-areaAttrs['[(ngModel)]'] = variable.binding.value;
|
|
40
|
+
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
41
|
+
else if (variable.includeInLoopContainer==false)
|
|
42
|
+
-areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
43
|
+
else
|
|
44
|
+
-areaAttrs['[(ngModel)]'] = variable.rowPrefix+(variable.binding && variable.binding.path);
|
|
45
|
+
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
46
|
+
farris-text('[type]'="'string'" '[currentLanguage]'="this.lang" '[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)
|
|
47
|
+
if(variable.titleTipsTemplate)
|
|
48
|
+
span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
|
|
49
|
+
i(class="f-icon f-icon-description-tips")
|
|
50
|
+
-var tipsAttrs= {};
|
|
51
|
+
-tipsAttrs['#'+variable.titleTipsTemplateName] = "";
|
|
52
|
+
ng-template()&attributes(tipsAttrs)
|
|
53
|
+
| !{variable.titleTipsTemplate}
|