@farris/jit-engine 1.3.362 → 1.3.364
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/domstructure/devkit/appmodule.js +31 -31
- package/lib/domstructure/devkit/befProxy/bef-proxy-content.js +57 -57
- package/lib/domstructure/devkit/befProxy/bef-proxy-operation-parameter.js +68 -68
- package/lib/domstructure/devkit/befProxy/bef-proxy-operation.js +66 -66
- package/lib/domstructure/devkit/befProxy/bef-proxy-service.js +46 -46
- package/lib/domstructure/devkit/befProxy/bef-proxy.js +34 -34
- package/lib/domstructure/devkit/befProxy/index.js +13 -13
- package/lib/domstructure/devkit/entity/entity.js +182 -182
- package/lib/domstructure/devkit/event/event-command-array.js +20 -20
- package/lib/domstructure/devkit/event/event-command.js +25 -25
- package/lib/domstructure/devkit/event/event-declaraction.js +52 -52
- package/lib/domstructure/devkit/event/event.js +33 -33
- package/lib/domstructure/devkit/event/events-array.js +17 -17
- package/lib/domstructure/devkit/event/subscription.js +63 -63
- package/lib/domstructure/devkit/externalComponent/external-wizard-detail-component.js +11 -11
- package/lib/domstructure/devkit/externalComponent/externalCompoent.js +36 -36
- package/lib/domstructure/devkit/externalComponent/externalComponent-constant.js +6 -6
- package/lib/domstructure/devkit/externalComponent/externalComponent-creator-factory.js +42 -42
- package/lib/domstructure/devkit/externalComponent/externalModalComponent.js +33 -33
- package/lib/domstructure/devkit/externalComponent/externalRouteComponent.js +11 -11
- package/lib/domstructure/devkit/externalComponent/externalsection-component.js +11 -11
- package/lib/domstructure/devkit/externalComponent/externalsidebar-component.js +11 -11
- package/lib/domstructure/devkit/extraImports/extra-import.js +25 -25
- package/lib/domstructure/devkit/extraImports/index.js +13 -13
- package/lib/domstructure/devkit/index.js +33 -33
- package/lib/domstructure/devkit/module/module.js +216 -216
- package/lib/domstructure/devkit/module/module.js.map +1 -1
- package/lib/domstructure/devkit/module-reference/component-apply-range.js +9 -9
- package/lib/domstructure/devkit/module-reference/form-module-reference-range.js +9 -9
- package/lib/domstructure/devkit/module-reference/form-module-reference.js +29 -29
- package/lib/domstructure/devkit/module-reference/index.js +14 -14
- package/lib/domstructure/devkit/module-reference/module-reference.js +26 -26
- package/lib/domstructure/devkit/repository/repository.js +25 -25
- package/lib/domstructure/devkit/routing/routing.js +55 -55
- package/lib/domstructure/devkit/section-toolbar/farris-section-toolbar-item.js +57 -57
- package/lib/domstructure/devkit/section-toolbar/farris-section-toolbar.js +38 -38
- package/lib/domstructure/devkit/section-toolbar/index.js +14 -14
- package/lib/domstructure/devkit/solution.js +59 -59
- package/lib/domstructure/devkit/tab-toolbar/farris-tab-toolbar-Item.js +57 -57
- package/lib/domstructure/devkit/tab-toolbar/farris-tab-toolbar.js +38 -38
- package/lib/domstructure/devkit/tab-toolbar/index.js +14 -14
- package/lib/domstructure/devkit/viewmodel/command/command.js +169 -169
- package/lib/domstructure/devkit/viewmodel/command/shortcut.js +28 -28
- package/lib/domstructure/devkit/viewmodel/component/component-children-route.js +28 -28
- package/lib/domstructure/devkit/viewmodel/component/component-custom-provider.js +6 -6
- package/lib/domstructure/devkit/viewmodel/component/component-provider.js +26 -26
- package/lib/domstructure/devkit/viewmodel/component/index.js +14 -14
- package/lib/domstructure/devkit/viewmodel/form/form.js +169 -169
- package/lib/domstructure/devkit/viewmodel/service/service.js +41 -41
- package/lib/domstructure/devkit/viewmodel/statemachine/statemachine.js +108 -108
- package/lib/domstructure/devkit/viewmodel/states/state.js +100 -100
- package/lib/domstructure/editor-type-enum.js +8 -8
- package/lib/domstructure/i-entity-tojson.js +2 -2
- package/lib/domstructure/i-placeholder-resource.js +2 -2
- package/lib/domstructure/i-replacedid.js +2 -2
- package/lib/domstructure/i18n-resource.js +50 -50
- package/lib/domstructure/index.js +15 -15
- package/lib/domstructure/running-position-enum.js +8 -8
- package/lib/domstructure/ui/appointment-calendar/appoint-calendar.js +104 -104
- package/lib/domstructure/ui/appointment-calendar/index.js +13 -13
- package/lib/domstructure/ui/commands/button_group.js +16 -16
- package/lib/domstructure/ui/commands/command.js +61 -61
- package/lib/domstructure/ui/commands/command_container.js +40 -40
- package/lib/domstructure/ui/commands/context_menu.js +37 -37
- package/lib/domstructure/ui/commands/index.js +21 -21
- package/lib/domstructure/ui/commands/menu.js +16 -16
- package/lib/domstructure/ui/commands/menu_item.js +40 -40
- package/lib/domstructure/ui/commands/toolbar_item.js +42 -42
- package/lib/domstructure/ui/common/absctract_dom.js +2 -2
- package/lib/domstructure/ui/common/appearance.js +35 -35
- package/lib/domstructure/ui/common/background.js +33 -33
- package/lib/domstructure/ui/common/base-title-component.js +46 -46
- package/lib/domstructure/ui/common/basecomponent.js +160 -160
- package/lib/domstructure/ui/common/binding.js +164 -164
- package/lib/domstructure/ui/common/border.js +39 -39
- package/lib/domstructure/ui/common/font.js +38 -38
- package/lib/domstructure/ui/common/index.js +21 -21
- package/lib/domstructure/ui/common/margin.js +39 -39
- package/lib/domstructure/ui/common/padding.js +39 -39
- package/lib/domstructure/ui/common/size.js +34 -34
- package/lib/domstructure/ui/common/visible.js +69 -69
- package/lib/domstructure/ui/component.js +88 -88
- package/lib/domstructure/ui/container/collection_item.js +16 -16
- package/lib/domstructure/ui/container/collepse.js +16 -16
- package/lib/domstructure/ui/container/container.js +43 -43
- package/lib/domstructure/ui/container/content_container.js +64 -64
- package/lib/domstructure/ui/container/dynamic-area-item.js +36 -36
- package/lib/domstructure/ui/container/dynamic-area.js +36 -36
- package/lib/domstructure/ui/container/external_container.js +50 -50
- package/lib/domstructure/ui/container/fieldset.js +36 -36
- package/lib/domstructure/ui/container/flexlayout.js +39 -39
- package/lib/domstructure/ui/container/form.js +36 -36
- package/lib/domstructure/ui/container/form_group.js +16 -16
- package/lib/domstructure/ui/container/hidden-container.js +47 -47
- package/lib/domstructure/ui/container/html_template.js +59 -59
- package/lib/domstructure/ui/container/index.js +43 -43
- package/lib/domstructure/ui/container/item_container.js +40 -40
- package/lib/domstructure/ui/container/loop-container.js +53 -53
- package/lib/domstructure/ui/container/model.js +16 -16
- package/lib/domstructure/ui/container/model_container.js +43 -43
- package/lib/domstructure/ui/container/multi-view/index.js +14 -14
- package/lib/domstructure/ui/container/multi-view/multi-view-base-container.js +28 -28
- package/lib/domstructure/ui/container/multi-view/multi-view-container.js +46 -46
- package/lib/domstructure/ui/container/multi-view/multi-view-item.js +28 -28
- package/lib/domstructure/ui/container/panel.js +16 -16
- package/lib/domstructure/ui/container/plain_container.js +16 -16
- package/lib/domstructure/ui/container/popover.js +16 -16
- package/lib/domstructure/ui/container/qdp_condition_dialog.js +42 -42
- package/lib/domstructure/ui/container/qdp_condition_dialog_tab.js +38 -38
- package/lib/domstructure/ui/container/qdp_framework.js +96 -96
- package/lib/domstructure/ui/container/queryform.js +33 -33
- package/lib/domstructure/ui/container/response-layout/index.js +14 -14
- package/lib/domstructure/ui/container/response-layout/response-layout-item.js +10 -10
- package/lib/domstructure/ui/container/response-layout/response-layout.js +19 -19
- package/lib/domstructure/ui/container/route-container.js +36 -36
- package/lib/domstructure/ui/container/sidebar/farris-sidebar.js +132 -132
- package/lib/domstructure/ui/container/sidebar/index.js +13 -13
- package/lib/domstructure/ui/container/slide_view.js +16 -16
- package/lib/domstructure/ui/container/tab.js +16 -16
- package/lib/domstructure/ui/container/tab_page.js +33 -33
- package/lib/domstructure/ui/data/chart/chart.js +56 -56
- package/lib/domstructure/ui/data/collection/data_collection.js +308 -308
- package/lib/domstructure/ui/data/collection/farris-datagrid/farris-datagrid.js +453 -453
- package/lib/domstructure/ui/data/collection/farris-datagrid/index.js +13 -13
- package/lib/domstructure/ui/data/collection/flat/data_grid.js +76 -76
- package/lib/domstructure/ui/data/collection/flat/flat.js +50 -50
- package/lib/domstructure/ui/data/collection/flat/list_view.js +16 -16
- package/lib/domstructure/ui/data/collection/hierarchy/hierarchy.js +79 -79
- package/lib/domstructure/ui/data/collection/hierarchy/tree_view.js +16 -16
- package/lib/domstructure/ui/data/collection/qdp/spread_sheet.js +62 -62
- package/lib/domstructure/ui/data/data.js +58 -58
- package/lib/domstructure/ui/data/fields/collection/collection_field.js +66 -66
- package/lib/domstructure/ui/data/fields/collection/grid_field.js +93 -93
- package/lib/domstructure/ui/data/fields/collection/tree_grid_field.js +16 -16
- package/lib/domstructure/ui/data/fields/collection/view_field.js +16 -16
- package/lib/domstructure/ui/data/fields/form/datepicker.js +164 -164
- package/lib/domstructure/ui/data/fields/form/display/display_field.js +33 -33
- package/lib/domstructure/ui/data/fields/form/editable/editable_field.js +53 -53
- package/lib/domstructure/ui/data/fields/form/editable/inputs/input_field.js +63 -63
- package/lib/domstructure/ui/data/fields/form/editable/inputs/reference/external-service-lookup.js +48 -0
- package/lib/domstructure/ui/data/fields/form/editable/inputs/reference/external-service-lookup.js.map +1 -0
- package/lib/domstructure/ui/data/fields/form/editable/inputs/reference/lookup_edit.js +174 -174
- package/lib/domstructure/ui/data/fields/form/editable/inputs/reference/reference_field.js +50 -50
- package/lib/domstructure/ui/data/fields/form/editable/inputs/reference/select.js +49 -49
- package/lib/domstructure/ui/data/fields/form/editable/inputs/text/multi_text_box.js +55 -55
- package/lib/domstructure/ui/data/fields/form/editable/inputs/text/text_box.js +50 -50
- package/lib/domstructure/ui/data/fields/form/editable/inputs/text/text_field.js +49 -49
- package/lib/domstructure/ui/data/fields/form/editable/inputs/value/adminorganization-selector.js +44 -44
- package/lib/domstructure/ui/data/fields/form/editable/inputs/value/city-selector.js +36 -36
- package/lib/domstructure/ui/data/fields/form/editable/inputs/value/date_box.js +49 -49
- package/lib/domstructure/ui/data/fields/form/editable/inputs/value/employee-selector.js +80 -80
- package/lib/domstructure/ui/data/fields/form/editable/inputs/value/enum_field.js +50 -50
- package/lib/domstructure/ui/data/fields/form/editable/inputs/value/ext-intergration.js +33 -33
- package/lib/domstructure/ui/data/fields/form/editable/inputs/value/farris-combo-lookup.js +124 -124
- package/lib/domstructure/ui/data/fields/form/editable/inputs/value/farris-number-range.js +79 -79
- package/lib/domstructure/ui/data/fields/form/editable/inputs/value/farris-number-spinner.js +86 -86
- package/lib/domstructure/ui/data/fields/form/editable/inputs/value/language-textbox.js +60 -60
- package/lib/domstructure/ui/data/fields/form/editable/inputs/value/lookup_employee.js +80 -80
- package/lib/domstructure/ui/data/fields/form/editable/inputs/value/numeric_box.js +53 -53
- package/lib/domstructure/ui/data/fields/form/editable/inputs/value/organization-selector.js +49 -49
- package/lib/domstructure/ui/data/fields/form/editable/inputs/value/time_box.js +22 -22
- package/lib/domstructure/ui/data/fields/form/editable/inputs/value/value_fields.js +49 -49
- package/lib/domstructure/ui/data/fields/form/editable/switch/check_box.js +48 -48
- package/lib/domstructure/ui/data/fields/form/editable/switch/check_group.js +42 -42
- package/lib/domstructure/ui/data/fields/form/editable/switch/checkbox-group.js +80 -80
- package/lib/domstructure/ui/data/fields/form/editable/switch/collection_switch.js +57 -57
- package/lib/domstructure/ui/data/fields/form/editable/switch/farris-switch.js +57 -57
- package/lib/domstructure/ui/data/fields/form/editable/switch/radio_group.js +58 -58
- package/lib/domstructure/ui/data/fields/form/editable/switch/switch_field.js +40 -40
- package/lib/domstructure/ui/data/fields/form/form_field.js +105 -105
- package/lib/domstructure/ui/data/fields/form/input-group.js +78 -78
- package/lib/domstructure/ui/data/fields/form/rich-textbox.js +69 -69
- package/lib/domstructure/ui/data/fields/form/time-picker.js +67 -67
- package/lib/domstructure/ui/data/fields/form/time-spinner.js +74 -74
- package/lib/domstructure/ui/data/fields/form/tinymce-richtextbox.js +40 -40
- package/lib/domstructure/ui/data/index.js +69 -68
- package/lib/domstructure/ui/data/index.js.map +1 -1
- package/lib/domstructure/ui/data/scrollcollapse/index.js +13 -13
- package/lib/domstructure/ui/data/scrollcollapse/scroll-collapsible-area.js +32 -32
- package/lib/domstructure/ui/discussion/discussion-editor.js +51 -51
- package/lib/domstructure/ui/discussion/discussion-list.js +44 -44
- package/lib/domstructure/ui/discussion/index.js +14 -14
- package/lib/domstructure/ui/farris-avatar/farris-avatar.js +43 -43
- package/lib/domstructure/ui/farris-avatar/index.js +13 -13
- package/lib/domstructure/ui/farris-calendar/farris-calendar.js +36 -36
- package/lib/domstructure/ui/farris-calendar/index.js +13 -13
- package/lib/domstructure/ui/farris-dynamic-control-group/farris-dynamic-control-group.js +35 -35
- package/lib/domstructure/ui/farris-dynamic-control-group/index.js +13 -13
- package/lib/domstructure/ui/farris-file-preview/farris-file-preview.js +86 -86
- package/lib/domstructure/ui/farris-file-preview/index.js +13 -13
- package/lib/domstructure/ui/farris-file-upload/farris-file-upload.js +78 -78
- package/lib/domstructure/ui/farris-file-upload/index.js +13 -13
- package/lib/domstructure/ui/farris-scrollspy/farris-scrollspy.js +83 -83
- package/lib/domstructure/ui/farris-scrollspy/index.js +13 -13
- package/lib/domstructure/ui/farris-ui-footer/farris-ui-footer-header.js +25 -25
- package/lib/domstructure/ui/farris-ui-footer/farris-ui-footer.js +39 -39
- package/lib/domstructure/ui/farris-ui-footer/index.js +13 -13
- package/lib/domstructure/ui/farrisprogressstep/farris-progress-step.js +58 -58
- package/lib/domstructure/ui/farrisprogressstep/farris-progress-stepname-creator.js +9 -9
- package/lib/domstructure/ui/farrisprogressstep/index.js +13 -13
- package/lib/domstructure/ui/farrissplitter/index.js +14 -14
- package/lib/domstructure/ui/farrissplitter/splitter-pane.js +50 -50
- package/lib/domstructure/ui/farrissplitter/splitter.js +43 -43
- package/lib/domstructure/ui/formheader/form-header.js +43 -43
- package/lib/domstructure/ui/formheader/index.js +13 -13
- package/lib/domstructure/ui/header/header.js +43 -43
- package/lib/domstructure/ui/header/index.js +13 -13
- package/lib/domstructure/ui/i-component-title.js +2 -2
- package/lib/domstructure/ui/image/farris-image.js +60 -60
- package/lib/domstructure/ui/image/index.js +13 -13
- package/lib/domstructure/ui/image-upload/image-upload.js +93 -93
- package/lib/domstructure/ui/image-upload/index.js +13 -13
- package/lib/domstructure/ui/index.js +54 -54
- package/lib/domstructure/ui/light-listfilter/farris-light-listfilter.js +83 -83
- package/lib/domstructure/ui/light-listfilter/index.js +13 -13
- package/lib/domstructure/ui/list-filter/farris-list-filter.js +78 -78
- package/lib/domstructure/ui/list-filter/index.js +13 -13
- package/lib/domstructure/ui/list-nav/index.js +13 -13
- package/lib/domstructure/ui/list-nav/listnav.js +64 -64
- package/lib/domstructure/ui/listview/index.js +14 -14
- package/lib/domstructure/ui/listview/list-view-contenttemplate-field.js +34 -34
- package/lib/domstructure/ui/listview/list-view-contenttemplate.js +42 -42
- package/lib/domstructure/ui/listview/list-view-field.js +65 -65
- package/lib/domstructure/ui/listview/list-view-template-generator.js +54 -54
- package/lib/domstructure/ui/listview/list-view-template-toolbar-generator.js +38 -38
- package/lib/domstructure/ui/listview/list-view-toolbar.js +36 -36
- package/lib/domstructure/ui/listview/list-view.js +78 -78
- package/lib/domstructure/ui/modal-footer/index.js +13 -13
- package/lib/domstructure/ui/modal-footer/modal-footer.js +43 -43
- package/lib/domstructure/ui/multi-select/index.js +13 -13
- package/lib/domstructure/ui/multi-select/multi-select.js +85 -85
- package/lib/domstructure/ui/nav-tab/index.js +13 -13
- package/lib/domstructure/ui/nav-tab/nav-tab.js +91 -91
- package/lib/domstructure/ui/oa-relation/index.js +13 -13
- package/lib/domstructure/ui/oa-relation/oa-relation.js +53 -53
- package/lib/domstructure/ui/p-treetable/index.js +13 -13
- package/lib/domstructure/ui/p-treetable/p-treetable.js +105 -105
- package/lib/domstructure/ui/portlet/index.js +13 -13
- package/lib/domstructure/ui/portlet/portlet.js +36 -36
- package/lib/domstructure/ui/qr-code/index.js +13 -13
- package/lib/domstructure/ui/qr-code/qr-code.js +32 -32
- package/lib/domstructure/ui/queryScheme/index.js +13 -13
- package/lib/domstructure/ui/queryScheme/query-scheme.js +78 -78
- package/lib/domstructure/ui/static-control/index.js +13 -13
- package/lib/domstructure/ui/static-control/static-control-attribute.js +57 -57
- package/lib/domstructure/ui/table/farris-table-border.js +6 -6
- package/lib/domstructure/ui/table/farris-table-column.js +75 -75
- package/lib/domstructure/ui/table/farris-table-font.js +6 -6
- package/lib/domstructure/ui/table/farris-table-row.js +49 -49
- package/lib/domstructure/ui/table/farris-table-static-text.js +6 -6
- package/lib/domstructure/ui/table/farris-table.js +82 -82
- package/lib/domstructure/ui/table/index.js +16 -16
- package/lib/domstructure/ui/tabs/farris-tab-page.js +81 -81
- package/lib/domstructure/ui/tabs/index.js +14 -14
- package/lib/domstructure/ui/tag/farris-tag.js +64 -64
- package/lib/domstructure/ui/tag/index.js +13 -13
- package/lib/domstructure/ui/tags/farris-tags.js +35 -35
- package/lib/domstructure/ui/tags/index.js +13 -13
- package/lib/domstructure/ui/view-change/index.js +13 -13
- package/lib/domstructure/ui/view-change/view-change.js +65 -65
- package/lib/domstructure/ui/wizard/farris-wizard-page-detail.js +66 -66
- package/lib/domstructure/ui/wizard/farris-wizard-page.js +46 -46
- package/lib/domstructure/ui/wizard/farris-wizard.js +92 -92
- package/lib/domstructure/ui/wizard/index.js +16 -16
- package/lib/domstructure/ui/wizard/wizard-detail-container.js +46 -46
- package/lib/mobileapp/vue/domstructure/ui/common/vue-state.js +1 -1
- package/lib/template/ui/kendo/light-lookup.pug +183 -0
- package/lib/utility/adminorganization-selector-checker.js +57 -57
- package/lib/utility/advanced-component-recognizer.js +75 -0
- package/lib/utility/advanced-component-recognizer.js.map +1 -0
- package/lib/utility/aif-check.js +12 -12
- package/lib/utility/appointment-calendar-checker.js +57 -57
- package/lib/utility/approval-comments-checker.js +41 -41
- package/lib/utility/approval-logs-check.js +42 -42
- package/lib/utility/behavior/behavior-manager.js +319 -319
- package/lib/utility/behavior/behavior-params.js +2 -2
- package/lib/utility/behavior/index.js +13 -13
- package/lib/utility/build-file-version/abstract-build-file-version.js +23 -23
- package/lib/utility/build-file-version/build-file-next-version-generator.js +17 -17
- package/lib/utility/build-file-version/build-file-version-constants.js +18 -18
- package/lib/utility/build-file-version/build-file-version-context.js +6 -6
- package/lib/utility/build-file-version/build-file-version-factory.js +49 -49
- package/lib/utility/build-file-version/build-file-version-manager.js +56 -56
- package/lib/utility/build-file-version/farris-all-css-build-file-version.js +11 -11
- package/lib/utility/build-file-version/favicon-png-build-file-version.js +15 -15
- package/lib/utility/build-file-version/gsp-rtf-core-js-build-file-version.js +11 -11
- package/lib/utility/build-file-version/i-build-file-version.js +2 -2
- package/lib/utility/build-file-version/i18n-build-file-version.js +20 -20
- package/lib/utility/build-file-version/index.js +14 -14
- package/lib/utility/build-file-version/main-js-build-file-version.js +11 -11
- package/lib/utility/build-file-version/material-icons-css-build-file-version.js +11 -11
- package/lib/utility/build-file-version/polyfills-js-build-file-version.js +11 -11
- package/lib/utility/build-file-version/runtime-common-manifest-json-build-file-version.js +10 -10
- package/lib/utility/build-file-version/version-file/version-file-content.js +13 -13
- package/lib/utility/build-file-version/version-file/version-file-helper.js +37 -37
- package/lib/utility/build-file-version/version-file/version-file-manager.js +74 -74
- package/lib/utility/city-selector-checker.js +41 -41
- package/lib/utility/component-adminorganization-selector-parameter-helper.js +10 -10
- package/lib/utility/component-employee-selector-parameter-helper.js +10 -10
- package/lib/utility/component-enum-helper.js +27 -27
- package/lib/utility/component-fileupload-helper.js +10 -10
- package/lib/utility/component-header-helper.js +25 -25
- package/lib/utility/component-organization-selector-parameter-helper.js +10 -10
- package/lib/utility/component-personnel-selector-parameter-helper.js +10 -10
- package/lib/utility/component-title-executor.js +23 -23
- package/lib/utility/componentFrameID-helper.js +41 -41
- package/lib/utility/componentSelector-helper.js +20 -20
- package/lib/utility/config-hepler.js +1 -1
- package/lib/utility/content-type-creator.js +132 -132
- package/lib/utility/content-type-instance-generator.js +38 -38
- package/lib/utility/context-hepler.js +14 -14
- package/lib/utility/crypto/crypto-dhs256.js +42 -42
- package/lib/utility/crypto/crypto-helper.js +23 -23
- package/lib/utility/crypto/crypto-md5.js +42 -42
- package/lib/utility/crypto/crypto-mode.js +8 -8
- package/lib/utility/crypto/i-crypto.js +2 -2
- package/lib/utility/crypto/index.js +14 -14
- package/lib/utility/declaration-trigger.js +4 -1
- package/lib/utility/declaration-trigger.js.map +1 -1
- package/lib/utility/devkit/abstract-dom-creator.js +48 -48
- package/lib/utility/devkit/abstract-dom-map.js +2 -2
- package/lib/utility/devkit/checkgroup-type-creator-factory.js +21 -21
- package/lib/utility/devkit/component-adminorganization-selector-parameter.js +6 -6
- package/lib/utility/devkit/component-appointment-calendar-parameter.js +37 -37
- package/lib/utility/devkit/component-button-parameter.js +13 -13
- package/lib/utility/devkit/component-children-routes-creator.js +59 -59
- package/lib/utility/devkit/component-condition-dialog-parameter.js +28 -28
- package/lib/utility/devkit/component-creator.js +192 -191
- package/lib/utility/devkit/component-creator.js.map +1 -1
- package/lib/utility/devkit/component-employee-selector-parameter.js +6 -6
- package/lib/utility/devkit/component-event.js +2 -2
- package/lib/utility/devkit/component-farris-avatar-parameter-creator.js +14 -14
- package/lib/utility/devkit/component-farris-datagrid-contextmenu-parameter.js +15 -15
- package/lib/utility/devkit/component-farris-datagrid-parameter.js +89 -89
- package/lib/utility/devkit/component-farris-input-group-parameter.js +49 -49
- package/lib/utility/devkit/component-farris-lookup-parameter.js +52 -52
- package/lib/utility/devkit/component-farris-treegrid-parameter.js +21 -21
- package/lib/utility/devkit/component-fileupload-preview-creator.js +22 -22
- package/lib/utility/devkit/component-listview-parameter.js +6 -6
- package/lib/utility/devkit/component-nav-tab-parameter.js +16 -16
- package/lib/utility/devkit/component-number-spinner-range-creator.js +19 -19
- package/lib/utility/devkit/component-number-spinner-range.js +36 -36
- package/lib/utility/devkit/component-organization-selector-parameter.js +6 -6
- package/lib/utility/devkit/component-parameter-collector/abstract-component-parameter-collector.js +6 -6
- package/lib/utility/devkit/component-parameter-collector/combolist-parameter-collector.js +51 -51
- package/lib/utility/devkit/component-parameter-collector/component-adminorganization-selector-parameter-collector.js +45 -45
- package/lib/utility/devkit/component-parameter-collector/component-appointment-calendar-parameter-collector.js +90 -90
- package/lib/utility/devkit/component-parameter-collector/component-button-collector.js +59 -59
- package/lib/utility/devkit/component-parameter-collector/component-condition-dialog-collector.js +34 -34
- package/lib/utility/devkit/component-parameter-collector/component-datebox-parameter-collector.js +46 -46
- package/lib/utility/devkit/component-parameter-collector/component-employee-selector-parameter-collector.js +45 -45
- package/lib/utility/devkit/component-parameter-collector/component-events-collector.js +109 -109
- package/lib/utility/devkit/component-parameter-collector/component-file-upload-parameter-collector.js +202 -202
- package/lib/utility/devkit/component-parameter-collector/component-header-parameter-collector.js +78 -78
- package/lib/utility/devkit/component-parameter-collector/component-languagetextbox-parameter-collector.js +51 -51
- package/lib/utility/devkit/component-parameter-collector/component-listview-parameter-collector.js +100 -100
- package/lib/utility/devkit/component-parameter-collector/component-multitextbox-parameter-collector.js +46 -46
- package/lib/utility/devkit/component-parameter-collector/component-numericbox-parameter-collector.js +46 -46
- package/lib/utility/devkit/component-parameter-collector/component-organization-selector-parameter-collector.js +45 -45
- package/lib/utility/devkit/component-parameter-collector/component-parameter-collector-manager.js +222 -221
- package/lib/utility/devkit/component-parameter-collector/component-parameter-collector-manager.js.map +1 -1
- package/lib/utility/devkit/component-parameter-collector/component-parameter-collector-options-creator.js +14 -14
- package/lib/utility/devkit/component-parameter-collector/component-parameter-collector-options.js +6 -6
- package/lib/utility/devkit/component-parameter-collector/component-parameter-collector-type.js +57 -56
- package/lib/utility/devkit/component-parameter-collector/component-parameter-collector-type.js.map +1 -1
- package/lib/utility/devkit/component-parameter-collector/component-personnel-selector-parameter-collector.js +45 -45
- package/lib/utility/devkit/component-parameter-collector/component-readonly-parameter-collector.js +49 -49
- package/lib/utility/devkit/component-parameter-collector/component-viewchange-parameter-collector.js +70 -70
- package/lib/utility/devkit/component-parameter-collector/enum-field-collector.js +56 -56
- package/lib/utility/devkit/component-parameter-collector/farris-avatar-collector.js +44 -44
- package/lib/utility/devkit/component-parameter-collector/farris-checkbox-group-collector.js +69 -69
- package/lib/utility/devkit/component-parameter-collector/farris-datepicker-collector.js +50 -50
- package/lib/utility/devkit/component-parameter-collector/farris-input-group-collector.js +155 -155
- package/lib/utility/devkit/component-parameter-collector/farris-list-filter-parameter-collector.js +150 -150
- package/lib/utility/devkit/component-parameter-collector/farris-lookup-collector.js +64 -64
- package/lib/utility/devkit/component-parameter-collector/farris-lookup-collector.js.map +1 -1
- package/lib/utility/devkit/component-parameter-collector/farris-nav-tab-parameter-collector.js +82 -82
- package/lib/utility/devkit/component-parameter-collector/farris-radiogroup-collector.js +70 -70
- package/lib/utility/devkit/component-parameter-collector/farris-section-collector.js +128 -128
- package/lib/utility/devkit/component-parameter-collector/farris-tabs-collector.js +124 -124
- package/lib/utility/devkit/component-parameter-collector/farris-tags-parameter-collector.js +49 -49
- package/lib/utility/devkit/component-parameter-collector/farris-timepicker-collector.js +46 -46
- package/lib/utility/devkit/component-parameter-collector/farris-timespinner-parameter-collector.js +46 -46
- package/lib/utility/devkit/component-parameter-collector/farris-treegrid-parameter-collector.js +197 -197
- package/lib/utility/devkit/component-parameter-collector/farris-ui-footer-parameter-collector.js +41 -41
- package/lib/utility/devkit/component-parameter-collector/fieldset-collector.js +47 -47
- package/lib/utility/devkit/component-parameter-collector/i-component-parameter-collector.js +2 -2
- package/lib/utility/devkit/component-parameter-collector/index.js +14 -14
- package/lib/utility/devkit/component-parameter-collector/list-nav-collector.js +31 -31
- package/lib/utility/devkit/component-parameter-collector/number-spinner-range-collector.js +79 -79
- package/lib/utility/devkit/component-parameter-collector/primeng-tree-grid-parameter-collector.js +221 -221
- package/lib/utility/devkit/component-parameter-collector/qdp-framework-collector.js +30 -30
- package/lib/utility/devkit/component-parameter-collector/richtextbox-parameter-collector.js +46 -46
- package/lib/utility/devkit/component-parameter-collector/scrollspy-collector.js +86 -86
- package/lib/utility/devkit/component-parameter-collector/sidebar-parameter-collector.js +34 -34
- package/lib/utility/devkit/component-parameter-collector/textbox-parameter-collector.js +46 -46
- package/lib/utility/devkit/component-parameter-collector/tool-typechange-collector.js +27 -27
- package/lib/utility/devkit/component-parameter-collector/wizard-collector.js +73 -73
- package/lib/utility/devkit/component-parameter-creator.js +9 -9
- package/lib/utility/devkit/component-personnel-selector-parameter.js +6 -6
- package/lib/utility/devkit/component-primeng-treegrid-parameter.js +13 -13
- package/lib/utility/devkit/component-readonly-parameter-creator.js +10 -10
- package/lib/utility/devkit/component-readonly-parameter.js +6 -6
- package/lib/utility/devkit/component-sidebar-toolbar.js +6 -6
- package/lib/utility/devkit/component-viewchange-parameter.js +13 -13
- package/lib/utility/devkit/datagrid-type-creator-factory.js +22 -22
- package/lib/utility/devkit/datebox-type-creator-factory.js +35 -35
- package/lib/utility/devkit/declarationevents-modifier.js +54 -54
- package/lib/utility/devkit/devkit-constant.js +38 -38
- package/lib/utility/devkit/devkit-object-name-creator.js +52 -52
- package/lib/utility/devkit/entities-creator.js +94 -94
- package/lib/utility/devkit/entity-creator.js +47 -47
- package/lib/utility/devkit/entity-name-creator.js +14 -14
- package/lib/utility/devkit/enumfield-type-creator.js +35 -35
- package/lib/utility/devkit/external-component/className-isExternalcomponent-checker.js +19 -19
- package/lib/utility/devkit/external-component/external-component-childroutingpath-generator.js +20 -20
- package/lib/utility/devkit/external-component/external-component-prefix-creator.js +13 -13
- package/lib/utility/devkit/external-component/external-component-publisPath-generator.js +39 -39
- package/lib/utility/devkit/external-component/external-component-uniquecode-creator.js +26 -26
- package/lib/utility/devkit/external-component/external-components-creator.js +41 -41
- package/lib/utility/devkit/external-component/externalComponent-constant.js +15 -15
- package/lib/utility/devkit/external-component/index.js +15 -15
- package/lib/utility/devkit/field-creator.js +265 -265
- package/lib/utility/devkit/form-creator.js +110 -110
- package/lib/utility/devkit/form-file-executor.js +6 -1
- package/lib/utility/devkit/form-file-executor.js.map +1 -1
- package/lib/utility/devkit/form-resource-json-reader.js +21 -21
- package/lib/utility/devkit/handlers-creator.js +38 -38
- package/lib/utility/devkit/index.js +18 -18
- package/lib/utility/devkit/list-filter-type-creator-factory.js +36 -36
- package/lib/utility/devkit/lookup-type-creator-factory.js +52 -52
- package/lib/utility/devkit/module-creator.js +170 -167
- package/lib/utility/devkit/module-creator.js.map +1 -1
- package/lib/utility/devkit/repository-creator.js +60 -60
- package/lib/utility/devkit/response-layout-type-creator-factory.js +22 -22
- package/lib/utility/devkit/richtextbox-type-creator-factory.js +35 -35
- package/lib/utility/devkit/routing-creator.js +21 -21
- package/lib/utility/devkit/statemachine-creator.js +39 -39
- package/lib/utility/devkit/switch-type-creator-factory.js +35 -35
- package/lib/utility/devkit/tab-type-creator-factory.js +45 -45
- package/lib/utility/devkit/treegrid-type-creator-factory.js +36 -36
- package/lib/utility/devkit/viewmodels-creator.js +634 -634
- package/lib/utility/devkit-template-config.js +579 -576
- package/lib/utility/devkit-template-config.js.map +1 -1
- package/lib/utility/directory-file-helper.js +241 -241
- package/lib/utility/employee-selector-checker.js +57 -57
- package/lib/utility/environment-constants.js +45 -45
- package/lib/utility/event-token-generator.js +21 -21
- package/lib/utility/event-viewModel-modifier.js +100 -100
- package/lib/utility/expression/expression-manager.js +21 -21
- package/lib/utility/expression/index.js +13 -13
- package/lib/utility/expression-value-generator.js +22 -22
- package/lib/utility/ext-intergration-checker.js +46 -46
- package/lib/utility/external-service-lookup-checker.js +28 -0
- package/lib/utility/external-service-lookup-checker.js.map +1 -0
- package/lib/utility/externalComponent-type.js +12 -12
- package/lib/utility/farris-datagrid/abstract-editor.js +64 -64
- package/lib/utility/farris-datagrid/abstract-lookup-editor.js +156 -156
- package/lib/utility/farris-datagrid/checkbox-editor.js +18 -18
- package/lib/utility/farris-datagrid/column-editor-manager.js +115 -111
- package/lib/utility/farris-datagrid/column-editor-manager.js.map +1 -1
- package/lib/utility/farris-datagrid/combo-list-editor.js +145 -145
- package/lib/utility/farris-datagrid/command-column-template-generator.js +22 -22
- package/lib/utility/farris-datagrid/datagrid-column-footer-calculationtype-convertor.js +12 -12
- package/lib/utility/farris-datagrid/datagrid-column-footer-options.js +36 -36
- package/lib/utility/farris-datagrid/datagrid-column-footer.js +50 -50
- package/lib/utility/farris-datagrid/datagrid-column-formatter.js +122 -122
- package/lib/utility/farris-datagrid/datagrid-column-groupfooter.js +47 -47
- package/lib/utility/farris-datagrid/date-picker-editor.js +151 -151
- package/lib/utility/farris-datagrid/employee-selector-editor.js +105 -105
- package/lib/utility/farris-datagrid/employeeorg-selector-editor.js +117 -117
- package/lib/utility/farris-datagrid/enum-editor.js +59 -59
- package/lib/utility/farris-datagrid/ext-intergration-editor.js +64 -64
- package/lib/utility/farris-datagrid/external-service-lookup-editor.js +96 -0
- package/lib/utility/farris-datagrid/external-service-lookup-editor.js.map +1 -0
- package/lib/utility/farris-datagrid/farris-grid-column-type-convertor.js +112 -105
- package/lib/utility/farris-datagrid/farris-grid-column-type-convertor.js.map +1 -1
- package/lib/utility/farris-datagrid/index.js +15 -15
- package/lib/utility/farris-datagrid/input-group-editor.js +122 -122
- package/lib/utility/farris-datagrid/language-textbox-generator.js +63 -63
- package/lib/utility/farris-datagrid/number-box-editor.js +131 -131
- package/lib/utility/farris-datagrid/organization-selector-editor.js +118 -118
- package/lib/utility/farris-datagrid/personnel-selector-editor.js +107 -107
- package/lib/utility/farris-datagrid/switch-editor.js +37 -37
- package/lib/utility/farris-datagrid/textarea-editor.js +60 -60
- package/lib/utility/farris-datagrid/textbox-editor.js +36 -36
- package/lib/utility/farris-datagrid/time-picker-editor.js +44 -44
- package/lib/utility/file-operation/abstract-file-operation.js +40 -40
- package/lib/utility/file-operation/command-jsonfile-operation.js +14 -14
- package/lib/utility/file-operation/eapi-jsonfile-operation.js +17 -17
- package/lib/utility/file-operation/file-operation-factory.js +41 -41
- package/lib/utility/file-operation/file-operation-manager.js +14 -14
- package/lib/utility/file-operation/file-operation-options.js +23 -23
- package/lib/utility/file-operation/file-operation-type.js +12 -12
- package/lib/utility/file-operation/frm-jsonfile-operation.js +14 -14
- package/lib/utility/file-operation/i-file-operation.js +2 -2
- package/lib/utility/file-operation/index.js +14 -14
- package/lib/utility/file-operation/page-jsonfile-operation.js +20 -20
- package/lib/utility/file-operation/resource-jsonfile-operation.js +14 -14
- package/lib/utility/file-operation/statemachine-jsonfile-operation.js +15 -15
- package/lib/utility/form-sourcecode-delete/DeleteFormSourceCodeExecutor.js +19 -19
- package/lib/utility/form-sourcecode-delete/service/AbstractSourceCodeService.js +66 -66
- package/lib/utility/form-sourcecode-delete/service/SourceCodeDeleteContext.js +30 -30
- package/lib/utility/form-sourcecode-delete/service/SourceCodeDeleteResult.js +17 -17
- package/lib/utility/form-sourcecode-delete/service/SourceCodeDeleteService.js +2 -2
- package/lib/utility/form-sourcecode-delete/service/SourceCodeDeleteServiceChain.js +26 -26
- package/lib/utility/form-sourcecode-delete/service/SourceCodeDeleteServiceChainExecutor.js +12 -12
- package/lib/utility/form-sourcecode-delete/service/SourceCodeDeleteServiceRegistry.js +42 -42
- package/lib/utility/form-sourcecode-delete/service/impl/ComponentSourceCodeDeleteServiceImpl.js +20 -20
- package/lib/utility/form-sourcecode-delete/service/impl/DefaultSourceCodeDeleteServiceImpl.js +19 -19
- package/lib/utility/form-sourcecode-delete/service/impl/EventSourceCodeDeleteServiceImpl.js +20 -20
- package/lib/utility/form-sourcecode-delete/service/impl/ExpressionSourceCodeDeleteServiceImpl.js +20 -20
- package/lib/utility/form-sourcecode-delete/service/impl/ExternalComponentsSourceCodeDeleteServiceImpl.js +20 -20
- package/lib/utility/form-sourcecode-delete/service/impl/LangSourceCodeDeleteServiceImpl.js +20 -20
- package/lib/utility/form-sourcecode-delete/service/impl/ModelSourceCodeDeleteServiceImpl.js +20 -20
- package/lib/utility/form-sourcecode-delete/service/impl/ServiceSourceCodeDeleteServiceImpl.js +23 -23
- package/lib/utility/form-sourcecode-delete/service/impl/ViewModelSourceCodeDeleteServiceImpl.js +20 -20
- package/lib/utility/formatter/code-formatter.js +97 -97
- package/lib/utility/formatter/index.js +13 -13
- package/lib/utility/getPublishPathAndFileName.js +61 -61
- package/lib/utility/i18n/i18n-resource-manager.js +237 -237
- package/lib/utility/i18n/i18n-resource-manager.js.map +1 -1
- package/lib/utility/i18n/index.js +13 -13
- package/lib/utility/image-upload-checker.js +41 -41
- package/lib/utility/index.js +32 -32
- package/lib/utility/internal-entity/component-parameter/component-combolist-parameter.js +30 -30
- package/lib/utility/internal-entity/component-parameter/component-datebox-parameter.js +30 -30
- package/lib/utility/internal-entity/component-parameter/component-datepicker-parameter.js +30 -30
- package/lib/utility/internal-entity/component-parameter/component-enumfield-parameter.js +30 -30
- package/lib/utility/internal-entity/component-parameter/component-fieldset-parameter.js +24 -24
- package/lib/utility/internal-entity/component-parameter/component-file-upload-parameter.js +24 -24
- package/lib/utility/internal-entity/component-parameter/component-footer-parameter.js +24 -24
- package/lib/utility/internal-entity/component-parameter/component-header-parameter.js +24 -24
- package/lib/utility/internal-entity/component-parameter/component-inputgroup-modalconfig-parameter.js +46 -46
- package/lib/utility/internal-entity/component-parameter/component-language-textbox-parameter.js +37 -37
- package/lib/utility/internal-entity/component-parameter/component-listfilter-parameter.js +59 -59
- package/lib/utility/internal-entity/component-parameter/component-multitextbox-parameter.js +30 -30
- package/lib/utility/internal-entity/component-parameter/component-numericbox-parameter.js +30 -30
- package/lib/utility/internal-entity/component-parameter/component-placeholder-parameter.js +24 -24
- package/lib/utility/internal-entity/component-parameter/component-richtextbox-parameter.js +28 -28
- package/lib/utility/internal-entity/component-parameter/component-tags-parameter.js +31 -31
- package/lib/utility/internal-entity/component-parameter/component-textbox-parameter.js +28 -28
- package/lib/utility/internal-entity/component-parameter/component-timepicker-parameter.js +28 -28
- package/lib/utility/internal-entity/component-parameter/component-timespinner-parameter.js +28 -28
- package/lib/utility/internal-entity/component-parameter/i-component-parameter.js +2 -2
- package/lib/utility/internal-entity/component-parameter/index.js +16 -16
- package/lib/utility/internal-entity/i-project-read-data.js +2 -2
- package/lib/utility/internal-entity/index.js +13 -13
- package/lib/utility/internal-entity/viewmodel-parameter/index.js +13 -13
- package/lib/utility/internal-entity/viewmodel-parameter/viewmodel-pagination-parameter.js +11 -11
- package/lib/utility/jit-constant.js +53 -53
- package/lib/utility/jit-engine-executor/i-jit-engine-executor.js +2 -2
- package/lib/utility/jit-engine-executor/index.js +15 -15
- package/lib/utility/jit-engine-executor/jit-engine-executor-factory.js +30 -30
- package/lib/utility/jit-engine-executor/jit-engine-executor-manager.js +24 -24
- package/lib/utility/jit-engine-executor/jit-engine-executor-request-generator.js +21 -21
- package/lib/utility/jit-engine-executor/jit-engine-executor-request.js +26 -26
- package/lib/utility/jit-engine-executor/jit-engine-executor-response.js +9 -9
- package/lib/utility/jit-engine-executor/jit-engine-executor-type.js +9 -9
- package/lib/utility/jit-engine-executor/mobile-approve-executor.js +15 -15
- package/lib/utility/jit-engine-executor/specific-executor.js +31 -31
- package/lib/utility/jit-ignore/index.js +13 -13
- package/lib/utility/jit-ignore/jit-generate-ignore-manager.js +104 -104
- package/lib/utility/jit-ignore/jit-generate-ignore.js +56 -56
- package/lib/utility/jit-ignore/jit-ignore-json-helper.js +22 -22
- package/lib/utility/jit-path-helper.js +44 -44
- package/lib/utility/json-stringfy-helper/array.js +16 -16
- package/lib/utility/json-stringfy-helper/function.js +237 -237
- package/lib/utility/json-stringfy-helper/index.js +73 -73
- package/lib/utility/json-stringfy-helper/object.js +67 -67
- package/lib/utility/json-stringfy-helper/quote.js +58 -58
- package/lib/utility/json-stringfy-helper/stringify.js +29 -29
- package/lib/utility/json-stringfy-helper/types.js +2 -2
- package/lib/utility/line-reader.js +97 -97
- package/lib/utility/logger/date-format.js +37 -37
- package/lib/utility/logger/index.js +15 -15
- package/lib/utility/logger/logger-helper.js +47 -47
- package/lib/utility/logger/logger-level.js +12 -12
- package/lib/utility/mobile-approve/config-helper/form-jsonfile-reader.js +16 -16
- package/lib/utility/mobile-approve/config-helper/formatter-function-generator.js +67 -67
- package/lib/utility/mobile-approve/entity/attachment-panel-for-mobileapprove.js +51 -51
- package/lib/utility/mobile-approve/entity/base-mobile-approve.js +36 -36
- package/lib/utility/mobile-approve/entity/binding.js +25 -25
- package/lib/utility/mobile-approve/entity/child-detail-template.js +10 -10
- package/lib/utility/mobile-approve/entity/child-table-primary-relation.js +6 -6
- package/lib/utility/mobile-approve/entity/component-ref.js +33 -33
- package/lib/utility/mobile-approve/entity/component.js +55 -55
- package/lib/utility/mobile-approve/entity/content-container.js +42 -42
- package/lib/utility/mobile-approve/entity/detail-header-for-mobileapprove.js +122 -122
- package/lib/utility/mobile-approve/entity/detail-header-item.js +32 -32
- package/lib/utility/mobile-approve/entity/field-binding-parameter.js +24 -24
- package/lib/utility/mobile-approve/entity/fieldset-for-mobileapprove.js +42 -42
- package/lib/utility/mobile-approve/entity/flow-process-for-mobileapprove.js +34 -34
- package/lib/utility/mobile-approve/entity/html-panel-for-mobileapprove.js +48 -48
- package/lib/utility/mobile-approve/entity/html-template.js +25 -25
- package/lib/utility/mobile-approve/entity/index.js +27 -27
- package/lib/utility/mobile-approve/entity/module.js +39 -39
- package/lib/utility/mobile-approve/entity/panel-for-mobileapprove.js +101 -101
- package/lib/utility/mobile-approve/entity/panel-item-for-mobileapprove.js +38 -38
- package/lib/utility/mobile-approve/entity/person-avatar.js +24 -24
- package/lib/utility/mobile-approve/entity/static-text-for-mobileapprove.js +71 -71
- package/lib/utility/mobile-approve/generator/dom-generator.js +20 -20
- package/lib/utility/mobile-approve/mobile-approve-manager.js +50 -50
- package/lib/utility/mobile-approve/recuresive-generate-mobileapprove.js +430 -430
- package/lib/utility/mobile-approve/template-generator/abstract-template-generator.js +6 -6
- package/lib/utility/mobile-approve/template-generator/component-template-generator.js +10 -10
- package/lib/utility/mobile-approve/template-generator/content-container-template-generator.js +10 -10
- package/lib/utility/mobile-approve/template-generator/detailheader-for-mobileapprove-template-generator.js +10 -10
- package/lib/utility/mobile-approve/template-generator/i-template-generator.js +2 -2
- package/lib/utility/mobile-approve/template-generator/index-html-generator.js +582 -582
- package/lib/utility/mobile-approve/template-generator/index.js +13 -13
- package/lib/utility/mobile-approve/template-generator/mobile-approve-templateconfig.js +39 -39
- package/lib/utility/mobile-approve/template-generator/panel-for-mobileapprove-template-generator.js +10 -10
- package/lib/utility/mobile-approve/template-generator/static-text-for-mobileapprove-template-generator.js +10 -10
- package/lib/utility/mobile-approve/template-generator/template-generator-factory.js +39 -39
- package/lib/utility/mobile-approve/template-generator/template-generator-manager.js +31 -31
- package/lib/utility/mobile-approve/template-generator/template-generator-type.js +11 -11
- package/lib/utility/module-reference/index.js +15 -15
- package/lib/utility/module-reference/module-prefix-replace.js +15 -15
- package/lib/utility/module-reference/module-reference-constant.js +9 -9
- package/lib/utility/module-reference/module-reference-manager.js +149 -149
- package/lib/utility/multi-textbox-checker.js +41 -41
- package/lib/utility/oa-relation-checker.js +42 -42
- package/lib/utility/organization-selector-checker.js +57 -57
- package/lib/utility/pageflow/index.js +13 -13
- package/lib/utility/pageflow/pageflowfile-reader.js +21 -21
- package/lib/utility/personnel-selector-checker.js +57 -57
- package/lib/utility/portlet-checker.js +41 -41
- package/lib/utility/primeng-treegrid-checker.js +41 -41
- package/lib/utility/progress-steps-checker.js +40 -40
- package/lib/utility/project-route-validator.js +22 -22
- package/lib/utility/project-version/index.js +13 -13
- package/lib/utility/project-version/project-version-content.js +34 -34
- package/lib/utility/project-version/project-version-filename-generator.js +30 -30
- package/lib/utility/project-version/project-version-manager.js +38 -38
- package/lib/utility/project-version/projectversion-file-reader.js +34 -34
- package/lib/utility/project-version/projectversion-file-writer.js +44 -44
- package/lib/utility/project-version/projectversion.js +91 -91
- package/lib/utility/qdp-jointsearch-generator.js +39 -39
- package/lib/utility/qdpForm-checker.js +63 -63
- package/lib/utility/qrcode-selector-checker.js +57 -57
- package/lib/utility/random-generator.js +26 -26
- package/lib/utility/route-page-executor.js +19 -19
- package/lib/utility/source-code-delete/delete-sourcecode-executor.js +24 -24
- package/lib/utility/template-generator/abstract-template-generator.js +31 -31
- package/lib/utility/template-generator/devkit/befproxy-template-generator.js +126 -126
- package/lib/utility/template-generator/devkit/commandhandler-template-generator.js +94 -94
- package/lib/utility/template-generator/devkit/component-generator/component-adminorganization-selector-parameter-generator.js +20 -20
- package/lib/utility/template-generator/devkit/component-generator/component-appointment-calendar-parameter-generator.js +76 -76
- package/lib/utility/template-generator/devkit/component-generator/component-avatar-parameter-generator.js +19 -19
- package/lib/utility/template-generator/devkit/component-generator/component-button-parameter-generator.js +23 -23
- package/lib/utility/template-generator/devkit/component-generator/component-checkgroup-parameter-generator.js +40 -40
- package/lib/utility/template-generator/devkit/component-generator/component-combolist-parameter-generator.js +48 -48
- package/lib/utility/template-generator/devkit/component-generator/component-constructor-parameter-generator.js +68 -68
- package/lib/utility/template-generator/devkit/component-generator/component-datebox-parameter-generator.js +19 -19
- package/lib/utility/template-generator/devkit/component-generator/component-datepicker-parameter-generator.js +19 -19
- package/lib/utility/template-generator/devkit/component-generator/component-employee-selector-parameter-generator.js +20 -20
- package/lib/utility/template-generator/devkit/component-generator/component-enumfield-parameter-generator.js +42 -42
- package/lib/utility/template-generator/devkit/component-generator/component-external-container-parameter-generator.js +191 -191
- package/lib/utility/template-generator/devkit/component-generator/component-farris-inputgroup-parameter-generator.js +95 -95
- package/lib/utility/template-generator/devkit/component-generator/component-farrisgrid-parameter-generator.js +607 -607
- package/lib/utility/template-generator/devkit/component-generator/component-fieldset-parameter-generator.js +27 -27
- package/lib/utility/template-generator/devkit/component-generator/component-fileupload-parameter-generator.js +228 -228
- package/lib/utility/template-generator/devkit/component-generator/component-footer-parameter-generator.js +23 -23
- package/lib/utility/template-generator/devkit/component-generator/component-header-parameter-generator.js +74 -74
- package/lib/utility/template-generator/devkit/component-generator/component-hostbinding-class-generator.js +31 -31
- package/lib/utility/template-generator/devkit/component-generator/component-import-generator.js +184 -184
- package/lib/utility/template-generator/devkit/component-generator/component-joint-search-parameter-generator.js +15 -15
- package/lib/utility/template-generator/devkit/component-generator/component-keybinding-service-generator.js +18 -18
- package/lib/utility/template-generator/devkit/component-generator/component-languagetextbox-parameter-generator.js +19 -19
- package/lib/utility/template-generator/devkit/component-generator/component-listfilter-parameter-generator.js +218 -218
- package/lib/utility/template-generator/devkit/component-generator/component-listnav-parameter-generator.js +14 -14
- package/lib/utility/template-generator/devkit/component-generator/component-lookup-parameter-generator.js +71 -71
- package/lib/utility/template-generator/devkit/component-generator/component-modal-form-controls-generator.js +142 -142
- package/lib/utility/template-generator/devkit/component-generator/component-multitextbox-parameter-generator.js +19 -19
- package/lib/utility/template-generator/devkit/component-generator/component-nav-tab-parameter-generator.js +44 -44
- package/lib/utility/template-generator/devkit/component-generator/component-numberspinner-range-parameter-generator.js +52 -52
- package/lib/utility/template-generator/devkit/component-generator/component-numericbox-parameter-generator.js +19 -19
- package/lib/utility/template-generator/devkit/component-generator/component-organization-selector-parameter-generator.js +20 -20
- package/lib/utility/template-generator/devkit/component-generator/component-personnel-selector-parameter-generator.js +40 -40
- package/lib/utility/template-generator/devkit/component-generator/component-primeng-treegrid-parameter-generator.js +350 -350
- package/lib/utility/template-generator/devkit/component-generator/component-provider-generator.js +177 -177
- package/lib/utility/template-generator/devkit/component-generator/component-qdpframework-parameter-generator.js +17 -17
- package/lib/utility/template-generator/devkit/component-generator/component-queryschema-parameter-generator.js +385 -385
- package/lib/utility/template-generator/devkit/component-generator/component-radiogroup-parameter-generator.js +47 -47
- package/lib/utility/template-generator/devkit/component-generator/component-readonly-parameter-generator.js +17 -17
- package/lib/utility/template-generator/devkit/component-generator/component-richtextbox-parameter-generator.js +19 -19
- package/lib/utility/template-generator/devkit/component-generator/component-scrollspy-parameter-generator.js +64 -64
- package/lib/utility/template-generator/devkit/component-generator/component-selector-generator.js +18 -18
- package/lib/utility/template-generator/devkit/component-generator/component-sidebar-parameter-generator.js +17 -17
- package/lib/utility/template-generator/devkit/component-generator/component-styleurls-generator.js +20 -20
- package/lib/utility/template-generator/devkit/component-generator/component-tags-parameter-generator.js +40 -40
- package/lib/utility/template-generator/devkit/component-generator/component-textbox-parameter-generator.js +19 -19
- package/lib/utility/template-generator/devkit/component-generator/component-timepicker-parameter-generator.js +19 -19
- package/lib/utility/template-generator/devkit/component-generator/component-timespinner-parameter-generator.js +19 -19
- package/lib/utility/template-generator/devkit/component-generator/component-tooltype-parameter-generator.js +27 -27
- package/lib/utility/template-generator/devkit/component-generator/component-treegrid-parameter-generator.js +281 -281
- package/lib/utility/template-generator/devkit/component-generator/component-verify-parameter-generator.js +44 -44
- package/lib/utility/template-generator/devkit/component-generator/component-viewchange-parameter-generator.js +40 -40
- package/lib/utility/template-generator/devkit/component-generator/component-wizard-parameter-generator.js +59 -59
- package/lib/utility/template-generator/devkit/component-generator/index.js +40 -40
- package/lib/utility/template-generator/devkit/component-template-generator.js +513 -513
- package/lib/utility/template-generator/devkit/entity-template-generator.js +192 -192
- package/lib/utility/template-generator/devkit/event-template-generator.js +46 -46
- package/lib/utility/template-generator/devkit/form-template-generator.js +120 -120
- package/lib/utility/template-generator/devkit/module-generator/index.js +19 -19
- package/lib/utility/template-generator/devkit/module-generator/module-bootstrap-generator.js +23 -23
- package/lib/utility/template-generator/devkit/module-generator/module-declarations-generator.js +27 -27
- package/lib/utility/template-generator/devkit/module-generator/module-entrycomponents-generator.js +23 -23
- package/lib/utility/template-generator/devkit/module-generator/module-exports-generator.js +23 -23
- package/lib/utility/template-generator/devkit/module-generator/module-i18n-generator.js +17 -17
- package/lib/utility/template-generator/devkit/module-generator/module-import-statement-generator.js +304 -303
- package/lib/utility/template-generator/devkit/module-generator/module-import-statement-generator.js.map +1 -1
- package/lib/utility/template-generator/devkit/module-generator/module-imports-statement-generator.js +300 -282
- package/lib/utility/template-generator/devkit/module-generator/module-imports-statement-generator.js.map +1 -1
- package/lib/utility/template-generator/devkit/module-generator/module-providers-generator.js +158 -158
- package/lib/utility/template-generator/devkit/module-template-generator.js +46 -46
- package/lib/utility/template-generator/devkit/repository-template-generator.js +100 -100
- package/lib/utility/template-generator/devkit/router-template-generator.js +110 -110
- package/lib/utility/template-generator/devkit/state-template-generator.js +48 -48
- package/lib/utility/template-generator/devkit/statemachine-template-generator.js +70 -70
- package/lib/utility/template-generator/devkit/validrules-template-generator.js +55 -55
- package/lib/utility/template-generator/devkit/viewmodel-template-generator.js +140 -140
- package/lib/utility/template-generator/devkit-classname-templatetype-convertor.js +59 -59
- package/lib/utility/template-generator/form-jiexi/devkit/component-generator/index.js +15 -15
- package/lib/utility/template-generator/form-jiexi/devkit/component-generator/root-component-html-generator.js +10 -10
- package/lib/utility/template-generator/form-jiexi/devkit/component-generator/root-component-scss-generator.js +10 -10
- package/lib/utility/template-generator/form-jiexi/devkit/component-generator/root-component-ts-generator.js +62 -62
- package/lib/utility/template-generator/form-jiexi/devkit/metadata-generator/form-metadata-generator.js +50 -50
- package/lib/utility/template-generator/form-jiexi/devkit/metadata-generator/indexx.js +13 -13
- package/lib/utility/template-generator/form-jiexi/devkit/module-generator/form-module-generator.js +56 -56
- package/lib/utility/template-generator/form-jiexi/devkit/module-generator/form-module-routing-generator.js +35 -35
- package/lib/utility/template-generator/form-jiexi/devkit/module-generator/index.js +13 -13
- package/lib/utility/template-generator/form-jiexi/form-jiexi-generator-manager.js +81 -81
- package/lib/utility/template-generator/form-jiexi/sourcecode-delete-with-jiexiform.js +19 -19
- package/lib/utility/template-generator/i-template-generator.js +2 -2
- package/lib/utility/template-generator/index.js +16 -16
- package/lib/utility/template-generator/project/angularJson-generator.js +197 -197
- package/lib/utility/template-generator/project/environments/environment-prod-ts-generator.js +17 -17
- package/lib/utility/template-generator/project/environments/environment-ts-generator.js +17 -17
- package/lib/utility/template-generator/project/index-rollup-html-generator.js +109 -109
- package/lib/utility/template-generator/project/mail-ts-generator.js +27 -27
- package/lib/utility/template-generator/project/main-ts-aot-generaor.js +23 -23
- package/lib/utility/template-generator/project/package-json-generator.js +134 -134
- package/lib/utility/template-generator/project/polyfills-ts-generator.js +33 -33
- package/lib/utility/template-generator/project/tsconfig-app-flash-json-generator.js +26 -26
- package/lib/utility/template-generator/project/tsconfig-app-json-generator.js +26 -26
- package/lib/utility/template-generator/project/tsconfig-flash-json-generator.js +56 -56
- package/lib/utility/template-generator/project/tsconfig-json-generator.js +58 -58
- package/lib/utility/template-generator/project/version-check-service-generator.js +85 -85
- package/lib/utility/template-generator/project-app/app-component-scss-generator.js +17 -17
- package/lib/utility/template-generator/project-app/app-component-ts-generator.js +25 -25
- package/lib/utility/template-generator/project-app/app-module-ts-generator.js +151 -151
- package/lib/utility/template-generator/project-app/app-routing-module-generator.js +73 -73
- package/lib/utility/template-generator/project-app/index.js +16 -16
- package/lib/utility/template-generator/project-app/navigate-guard-generator.js +79 -79
- package/lib/utility/template-generator/project-app/systemjs-lc-moduleloader-generator.js +132 -132
- package/lib/utility/template-generator/subcontext-path-generator.js +19 -19
- package/lib/utility/template-generator/template-generator-factory.js +173 -173
- package/lib/utility/template-generator/template-generator-manager.js +119 -119
- package/lib/utility/template-generator/template-type.js +48 -48
- package/lib/utility/template-generator/ui/abstract-ui-template-generator.js +58 -58
- package/lib/utility/template-generator/ui/button-template-generator.js +17 -17
- package/lib/utility/template-generator/ui/html-attribute-name-constants.js +24 -24
- package/lib/utility/template-generator/ui/html-attribute-type.js +8 -8
- package/lib/utility/toolhepler.js +528 -528
- package/lib/utility/validator/IParams-validator.js +2 -2
- package/lib/utility/validator/default-params-validator.js +10 -10
- package/lib/utility/validator/index.js +16 -16
- package/lib/utility/validator/pageflow-json-validator.js +28 -28
- package/lib/utility/validator/params-validate-type.js +8 -8
- package/lib/utility/validator/params-validator-factory.js +54 -54
- package/lib/utility/validator/params-validator-manager.js +12 -12
- package/lib/utility/validator/uiconfig-parameter-validator.js +27 -27
- package/lib/utility/validator/validate-result.js +19 -19
- package/package.json +1 -1
|
@@ -1,68 +1,68 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.objectToString = void 0;
|
|
4
|
-
const quote_1 = require("./quote");
|
|
5
|
-
const function_1 = require("./function");
|
|
6
|
-
const array_1 = require("./array");
|
|
7
|
-
const objectToString = (value, space, next, key, noneQuotsString) => {
|
|
8
|
-
if (typeof Buffer === "function" && Buffer.isBuffer(value)) {
|
|
9
|
-
return `new Buffer(${next(value.toString())})`;
|
|
10
|
-
}
|
|
11
|
-
const toString = OBJECT_TYPES[Object.prototype.toString.call(value)];
|
|
12
|
-
return toString ? toString(value, space, next, key, noneQuotsString) : undefined;
|
|
13
|
-
};
|
|
14
|
-
exports.objectToString = objectToString;
|
|
15
|
-
const rawObjectToString = (obj, indent, next, key) => {
|
|
16
|
-
const eol = indent ? "\n" : "";
|
|
17
|
-
const space = indent ? " " : "";
|
|
18
|
-
const values = Object.keys(obj)
|
|
19
|
-
.reduce(function (values, key) {
|
|
20
|
-
const fn = obj[key];
|
|
21
|
-
const result = next(fn, key);
|
|
22
|
-
if (result === undefined)
|
|
23
|
-
return values;
|
|
24
|
-
const value = result.split("\n").join(`\n${indent}`);
|
|
25
|
-
if (function_1.USED_METHOD_KEY.has(fn)) {
|
|
26
|
-
values.push(`${indent}${value}`);
|
|
27
|
-
return values;
|
|
28
|
-
}
|
|
29
|
-
values.push(`"${indent}${quote_1.quoteKey(key, next)}":${space}${value}`);
|
|
30
|
-
return values;
|
|
31
|
-
}, [])
|
|
32
|
-
.join(`,${eol}`);
|
|
33
|
-
if (values === "")
|
|
34
|
-
return "{}";
|
|
35
|
-
return `{${eol}${values}${eol}}`;
|
|
36
|
-
};
|
|
37
|
-
const globalToString = (value, space, next) => {
|
|
38
|
-
return `Function(${next("return this")})()`;
|
|
39
|
-
};
|
|
40
|
-
const OBJECT_TYPES = {
|
|
41
|
-
"[object Array]": array_1.arrayToString,
|
|
42
|
-
"[object Object]": rawObjectToString,
|
|
43
|
-
"[object Error]": (error, space, next) => {
|
|
44
|
-
return `new Error(${next(error.message)})`;
|
|
45
|
-
},
|
|
46
|
-
"[object Date]": (date) => {
|
|
47
|
-
return `new Date(${date.getTime()})`;
|
|
48
|
-
},
|
|
49
|
-
"[object String]": (str, space, next) => {
|
|
50
|
-
return `new String(${next(str.toString())})`;
|
|
51
|
-
},
|
|
52
|
-
"[object Number]": (num) => {
|
|
53
|
-
return `new Number(${num})`;
|
|
54
|
-
},
|
|
55
|
-
"[object Boolean]": (bool) => {
|
|
56
|
-
return `new Boolean(${bool})`;
|
|
57
|
-
},
|
|
58
|
-
"[object Set]": (set, space, next) => {
|
|
59
|
-
return `new Set(${next(Array.from(set))})`;
|
|
60
|
-
},
|
|
61
|
-
"[object Map]": (map, space, next) => {
|
|
62
|
-
return `new Map(${next(Array.from(map))})`;
|
|
63
|
-
},
|
|
64
|
-
"[object RegExp]": String,
|
|
65
|
-
"[object global]": globalToString,
|
|
66
|
-
"[object Window]": globalToString
|
|
67
|
-
};
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.objectToString = void 0;
|
|
4
|
+
const quote_1 = require("./quote");
|
|
5
|
+
const function_1 = require("./function");
|
|
6
|
+
const array_1 = require("./array");
|
|
7
|
+
const objectToString = (value, space, next, key, noneQuotsString) => {
|
|
8
|
+
if (typeof Buffer === "function" && Buffer.isBuffer(value)) {
|
|
9
|
+
return `new Buffer(${next(value.toString())})`;
|
|
10
|
+
}
|
|
11
|
+
const toString = OBJECT_TYPES[Object.prototype.toString.call(value)];
|
|
12
|
+
return toString ? toString(value, space, next, key, noneQuotsString) : undefined;
|
|
13
|
+
};
|
|
14
|
+
exports.objectToString = objectToString;
|
|
15
|
+
const rawObjectToString = (obj, indent, next, key) => {
|
|
16
|
+
const eol = indent ? "\n" : "";
|
|
17
|
+
const space = indent ? " " : "";
|
|
18
|
+
const values = Object.keys(obj)
|
|
19
|
+
.reduce(function (values, key) {
|
|
20
|
+
const fn = obj[key];
|
|
21
|
+
const result = next(fn, key);
|
|
22
|
+
if (result === undefined)
|
|
23
|
+
return values;
|
|
24
|
+
const value = result.split("\n").join(`\n${indent}`);
|
|
25
|
+
if (function_1.USED_METHOD_KEY.has(fn)) {
|
|
26
|
+
values.push(`${indent}${value}`);
|
|
27
|
+
return values;
|
|
28
|
+
}
|
|
29
|
+
values.push(`"${indent}${quote_1.quoteKey(key, next)}":${space}${value}`);
|
|
30
|
+
return values;
|
|
31
|
+
}, [])
|
|
32
|
+
.join(`,${eol}`);
|
|
33
|
+
if (values === "")
|
|
34
|
+
return "{}";
|
|
35
|
+
return `{${eol}${values}${eol}}`;
|
|
36
|
+
};
|
|
37
|
+
const globalToString = (value, space, next) => {
|
|
38
|
+
return `Function(${next("return this")})()`;
|
|
39
|
+
};
|
|
40
|
+
const OBJECT_TYPES = {
|
|
41
|
+
"[object Array]": array_1.arrayToString,
|
|
42
|
+
"[object Object]": rawObjectToString,
|
|
43
|
+
"[object Error]": (error, space, next) => {
|
|
44
|
+
return `new Error(${next(error.message)})`;
|
|
45
|
+
},
|
|
46
|
+
"[object Date]": (date) => {
|
|
47
|
+
return `new Date(${date.getTime()})`;
|
|
48
|
+
},
|
|
49
|
+
"[object String]": (str, space, next) => {
|
|
50
|
+
return `new String(${next(str.toString())})`;
|
|
51
|
+
},
|
|
52
|
+
"[object Number]": (num) => {
|
|
53
|
+
return `new Number(${num})`;
|
|
54
|
+
},
|
|
55
|
+
"[object Boolean]": (bool) => {
|
|
56
|
+
return `new Boolean(${bool})`;
|
|
57
|
+
},
|
|
58
|
+
"[object Set]": (set, space, next) => {
|
|
59
|
+
return `new Set(${next(Array.from(set))})`;
|
|
60
|
+
},
|
|
61
|
+
"[object Map]": (map, space, next) => {
|
|
62
|
+
return `new Map(${next(Array.from(map))})`;
|
|
63
|
+
},
|
|
64
|
+
"[object RegExp]": String,
|
|
65
|
+
"[object global]": globalToString,
|
|
66
|
+
"[object Window]": globalToString
|
|
67
|
+
};
|
|
68
68
|
//# sourceMappingURL=object.js.map
|
|
@@ -1,59 +1,59 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.stringifyPath = exports.quoteKey = exports.isValidVariableName = exports.IS_VALID_IDENTIFIER = exports.quoteString = void 0;
|
|
4
|
-
const toolhepler_1 = require("../toolhepler");
|
|
5
|
-
const ESCAPABLE = /[\\\'\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g;
|
|
6
|
-
const META_CHARS = new Map([
|
|
7
|
-
["\b", "\\b"],
|
|
8
|
-
["\t", "\\t"],
|
|
9
|
-
["\n", "\\n"],
|
|
10
|
-
["\f", "\\f"],
|
|
11
|
-
["\r", "\\r"],
|
|
12
|
-
["'", "\\'"],
|
|
13
|
-
['"', '\\"'],
|
|
14
|
-
["\\", "\\\\"]
|
|
15
|
-
]);
|
|
16
|
-
function escapeChar(char) {
|
|
17
|
-
return (META_CHARS.get(char) ||
|
|
18
|
-
`\\u${`0000${char.charCodeAt(0).toString(16)}`.slice(-4)}`);
|
|
19
|
-
}
|
|
20
|
-
function quoteString(str, space, next, key, noneQuotsString) {
|
|
21
|
-
if (noneQuotsString.indexOf(key) == -1) {
|
|
22
|
-
return `"${toolhepler_1.ToolHelper.replaceQuoteToSingle(str.replace(ESCAPABLE, escapeChar))}"`;
|
|
23
|
-
}
|
|
24
|
-
else {
|
|
25
|
-
return `${str.replace(ESCAPABLE, escapeChar)}`;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
exports.quoteString = quoteString;
|
|
29
|
-
const RESERVED_WORDS = new Set(("break else new var case finally return void catch for switch while " +
|
|
30
|
-
"continue function this with default if throw delete in try " +
|
|
31
|
-
"do instanceof typeof abstract enum int short boolean export " +
|
|
32
|
-
"interface static byte extends long super char final native synchronized " +
|
|
33
|
-
"class float package throws const goto private transient debugger " +
|
|
34
|
-
"implements protected volatile double import public let yield").split(" "));
|
|
35
|
-
exports.IS_VALID_IDENTIFIER = /^[A-Za-z_$][A-Za-z0-9_$]*$/;
|
|
36
|
-
function isValidVariableName(name) {
|
|
37
|
-
return (typeof name === "string" &&
|
|
38
|
-
!RESERVED_WORDS.has(name) &&
|
|
39
|
-
exports.IS_VALID_IDENTIFIER.test(name));
|
|
40
|
-
}
|
|
41
|
-
exports.isValidVariableName = isValidVariableName;
|
|
42
|
-
function quoteKey(key, next) {
|
|
43
|
-
return isValidVariableName(key) ? key : next(key);
|
|
44
|
-
}
|
|
45
|
-
exports.quoteKey = quoteKey;
|
|
46
|
-
function stringifyPath(path, next) {
|
|
47
|
-
let result = "";
|
|
48
|
-
for (const key of path) {
|
|
49
|
-
if (isValidVariableName(key)) {
|
|
50
|
-
result += `.${key}`;
|
|
51
|
-
}
|
|
52
|
-
else {
|
|
53
|
-
result += `[${next(key)}]`;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
return result;
|
|
57
|
-
}
|
|
58
|
-
exports.stringifyPath = stringifyPath;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.stringifyPath = exports.quoteKey = exports.isValidVariableName = exports.IS_VALID_IDENTIFIER = exports.quoteString = void 0;
|
|
4
|
+
const toolhepler_1 = require("../toolhepler");
|
|
5
|
+
const ESCAPABLE = /[\\\'\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g;
|
|
6
|
+
const META_CHARS = new Map([
|
|
7
|
+
["\b", "\\b"],
|
|
8
|
+
["\t", "\\t"],
|
|
9
|
+
["\n", "\\n"],
|
|
10
|
+
["\f", "\\f"],
|
|
11
|
+
["\r", "\\r"],
|
|
12
|
+
["'", "\\'"],
|
|
13
|
+
['"', '\\"'],
|
|
14
|
+
["\\", "\\\\"]
|
|
15
|
+
]);
|
|
16
|
+
function escapeChar(char) {
|
|
17
|
+
return (META_CHARS.get(char) ||
|
|
18
|
+
`\\u${`0000${char.charCodeAt(0).toString(16)}`.slice(-4)}`);
|
|
19
|
+
}
|
|
20
|
+
function quoteString(str, space, next, key, noneQuotsString) {
|
|
21
|
+
if (noneQuotsString.indexOf(key) == -1) {
|
|
22
|
+
return `"${toolhepler_1.ToolHelper.replaceQuoteToSingle(str.replace(ESCAPABLE, escapeChar))}"`;
|
|
23
|
+
}
|
|
24
|
+
else {
|
|
25
|
+
return `${str.replace(ESCAPABLE, escapeChar)}`;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
exports.quoteString = quoteString;
|
|
29
|
+
const RESERVED_WORDS = new Set(("break else new var case finally return void catch for switch while " +
|
|
30
|
+
"continue function this with default if throw delete in try " +
|
|
31
|
+
"do instanceof typeof abstract enum int short boolean export " +
|
|
32
|
+
"interface static byte extends long super char final native synchronized " +
|
|
33
|
+
"class float package throws const goto private transient debugger " +
|
|
34
|
+
"implements protected volatile double import public let yield").split(" "));
|
|
35
|
+
exports.IS_VALID_IDENTIFIER = /^[A-Za-z_$][A-Za-z0-9_$]*$/;
|
|
36
|
+
function isValidVariableName(name) {
|
|
37
|
+
return (typeof name === "string" &&
|
|
38
|
+
!RESERVED_WORDS.has(name) &&
|
|
39
|
+
exports.IS_VALID_IDENTIFIER.test(name));
|
|
40
|
+
}
|
|
41
|
+
exports.isValidVariableName = isValidVariableName;
|
|
42
|
+
function quoteKey(key, next) {
|
|
43
|
+
return isValidVariableName(key) ? key : next(key);
|
|
44
|
+
}
|
|
45
|
+
exports.quoteKey = quoteKey;
|
|
46
|
+
function stringifyPath(path, next) {
|
|
47
|
+
let result = "";
|
|
48
|
+
for (const key of path) {
|
|
49
|
+
if (isValidVariableName(key)) {
|
|
50
|
+
result += `.${key}`;
|
|
51
|
+
}
|
|
52
|
+
else {
|
|
53
|
+
result += `[${next(key)}]`;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
return result;
|
|
57
|
+
}
|
|
58
|
+
exports.stringifyPath = stringifyPath;
|
|
59
59
|
//# sourceMappingURL=quote.js.map
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.toString = void 0;
|
|
4
|
-
const quote_1 = require("./quote");
|
|
5
|
-
const object_1 = require("./object");
|
|
6
|
-
const function_1 = require("./function");
|
|
7
|
-
const PRIMITIVE_TYPES = {
|
|
8
|
-
string: quote_1.quoteString,
|
|
9
|
-
number: (value) => (Object.is(value, -0) ? "-0" : String(value)),
|
|
10
|
-
boolean: String,
|
|
11
|
-
symbol: (value, space, next) => {
|
|
12
|
-
const key = Symbol.keyFor(value);
|
|
13
|
-
if (key !== undefined)
|
|
14
|
-
return `Symbol.for(${next(key)})`;
|
|
15
|
-
return `Symbol(${next(value.description)})`;
|
|
16
|
-
},
|
|
17
|
-
bigint: (value, space, next) => {
|
|
18
|
-
return `BigInt(${next(String(value))})`;
|
|
19
|
-
},
|
|
20
|
-
undefined: String,
|
|
21
|
-
object: object_1.objectToString,
|
|
22
|
-
function: function_1.functionToString
|
|
23
|
-
};
|
|
24
|
-
const toString = (value, space, next, key, noneQuotsString) => {
|
|
25
|
-
if (value === null)
|
|
26
|
-
return "null";
|
|
27
|
-
return PRIMITIVE_TYPES[typeof value](value, space, next, key, noneQuotsString);
|
|
28
|
-
};
|
|
29
|
-
exports.toString = toString;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.toString = void 0;
|
|
4
|
+
const quote_1 = require("./quote");
|
|
5
|
+
const object_1 = require("./object");
|
|
6
|
+
const function_1 = require("./function");
|
|
7
|
+
const PRIMITIVE_TYPES = {
|
|
8
|
+
string: quote_1.quoteString,
|
|
9
|
+
number: (value) => (Object.is(value, -0) ? "-0" : String(value)),
|
|
10
|
+
boolean: String,
|
|
11
|
+
symbol: (value, space, next) => {
|
|
12
|
+
const key = Symbol.keyFor(value);
|
|
13
|
+
if (key !== undefined)
|
|
14
|
+
return `Symbol.for(${next(key)})`;
|
|
15
|
+
return `Symbol(${next(value.description)})`;
|
|
16
|
+
},
|
|
17
|
+
bigint: (value, space, next) => {
|
|
18
|
+
return `BigInt(${next(String(value))})`;
|
|
19
|
+
},
|
|
20
|
+
undefined: String,
|
|
21
|
+
object: object_1.objectToString,
|
|
22
|
+
function: function_1.functionToString
|
|
23
|
+
};
|
|
24
|
+
const toString = (value, space, next, key, noneQuotsString) => {
|
|
25
|
+
if (value === null)
|
|
26
|
+
return "null";
|
|
27
|
+
return PRIMITIVE_TYPES[typeof value](value, space, next, key, noneQuotsString);
|
|
28
|
+
};
|
|
29
|
+
exports.toString = toString;
|
|
30
30
|
//# sourceMappingURL=stringify.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=types.js.map
|
|
@@ -1,98 +1,98 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.LineReader = void 0;
|
|
7
|
-
const fs_1 = __importDefault(require("fs"));
|
|
8
|
-
class LineReader {
|
|
9
|
-
constructor(path) {
|
|
10
|
-
this._leftOver = '';
|
|
11
|
-
this._EOF = false;
|
|
12
|
-
this._filename;
|
|
13
|
-
this._fd = 0;
|
|
14
|
-
this._bufferSize = 1024;
|
|
15
|
-
this._buffer = new Buffer(this._bufferSize);
|
|
16
|
-
this._filename = path;
|
|
17
|
-
if (path) {
|
|
18
|
-
try {
|
|
19
|
-
fs_1.default.statSync(path).isFile();
|
|
20
|
-
this.open();
|
|
21
|
-
}
|
|
22
|
-
catch (exception) {
|
|
23
|
-
console.log(path, 'is not a file.');
|
|
24
|
-
this._EOF = false;
|
|
25
|
-
return;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
close() {
|
|
30
|
-
try {
|
|
31
|
-
fs_1.default.closeSync(this._fd);
|
|
32
|
-
}
|
|
33
|
-
catch (exception) {
|
|
34
|
-
console.log('closing file failed.');
|
|
35
|
-
}
|
|
36
|
-
this._EOF = true;
|
|
37
|
-
this._fd = 0;
|
|
38
|
-
}
|
|
39
|
-
next() {
|
|
40
|
-
if (0 == this._fd) {
|
|
41
|
-
return;
|
|
42
|
-
}
|
|
43
|
-
let _idxStart = 0;
|
|
44
|
-
let idx = 0;
|
|
45
|
-
while ((this._leftOver.indexOf('\n', _idxStart)) == -1) {
|
|
46
|
-
let read;
|
|
47
|
-
try {
|
|
48
|
-
read = fs_1.default.readSync(this._fd, this._buffer, 0, this._bufferSize, null);
|
|
49
|
-
}
|
|
50
|
-
catch (exception) {
|
|
51
|
-
console.log('reading file failed.');
|
|
52
|
-
this.close();
|
|
53
|
-
return;
|
|
54
|
-
}
|
|
55
|
-
if (read !== 0) {
|
|
56
|
-
this._leftOver += this._buffer.toString('utf8', 0, read);
|
|
57
|
-
}
|
|
58
|
-
else {
|
|
59
|
-
try {
|
|
60
|
-
fs_1.default.closeSync(this._fd);
|
|
61
|
-
}
|
|
62
|
-
catch (exception) {
|
|
63
|
-
console.log('closing file failed.');
|
|
64
|
-
}
|
|
65
|
-
this._EOF = true;
|
|
66
|
-
this._fd = 0;
|
|
67
|
-
if (this._leftOver) {
|
|
68
|
-
return this._leftOver;
|
|
69
|
-
}
|
|
70
|
-
return;
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
if ((idx = this._leftOver.indexOf('\n', _idxStart)) !== -1) {
|
|
74
|
-
const line = this._leftOver.substring(_idxStart, idx);
|
|
75
|
-
_idxStart = idx + 1;
|
|
76
|
-
this._leftOver = this._leftOver.substring(_idxStart);
|
|
77
|
-
_idxStart = 0;
|
|
78
|
-
return line;
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
open() {
|
|
82
|
-
if (0 !== this._fd) {
|
|
83
|
-
this.close();
|
|
84
|
-
}
|
|
85
|
-
try {
|
|
86
|
-
this._fd = fs_1.default.openSync(this._filename, 'r');
|
|
87
|
-
}
|
|
88
|
-
catch (exception) {
|
|
89
|
-
console.log('open(): ' + this._filename + ' not found.');
|
|
90
|
-
this._EOF = true;
|
|
91
|
-
return;
|
|
92
|
-
}
|
|
93
|
-
this._EOF = false;
|
|
94
|
-
return;
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
exports.LineReader = LineReader;
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.LineReader = void 0;
|
|
7
|
+
const fs_1 = __importDefault(require("fs"));
|
|
8
|
+
class LineReader {
|
|
9
|
+
constructor(path) {
|
|
10
|
+
this._leftOver = '';
|
|
11
|
+
this._EOF = false;
|
|
12
|
+
this._filename;
|
|
13
|
+
this._fd = 0;
|
|
14
|
+
this._bufferSize = 1024;
|
|
15
|
+
this._buffer = new Buffer(this._bufferSize);
|
|
16
|
+
this._filename = path;
|
|
17
|
+
if (path) {
|
|
18
|
+
try {
|
|
19
|
+
fs_1.default.statSync(path).isFile();
|
|
20
|
+
this.open();
|
|
21
|
+
}
|
|
22
|
+
catch (exception) {
|
|
23
|
+
console.log(path, 'is not a file.');
|
|
24
|
+
this._EOF = false;
|
|
25
|
+
return;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
close() {
|
|
30
|
+
try {
|
|
31
|
+
fs_1.default.closeSync(this._fd);
|
|
32
|
+
}
|
|
33
|
+
catch (exception) {
|
|
34
|
+
console.log('closing file failed.');
|
|
35
|
+
}
|
|
36
|
+
this._EOF = true;
|
|
37
|
+
this._fd = 0;
|
|
38
|
+
}
|
|
39
|
+
next() {
|
|
40
|
+
if (0 == this._fd) {
|
|
41
|
+
return;
|
|
42
|
+
}
|
|
43
|
+
let _idxStart = 0;
|
|
44
|
+
let idx = 0;
|
|
45
|
+
while ((this._leftOver.indexOf('\n', _idxStart)) == -1) {
|
|
46
|
+
let read;
|
|
47
|
+
try {
|
|
48
|
+
read = fs_1.default.readSync(this._fd, this._buffer, 0, this._bufferSize, null);
|
|
49
|
+
}
|
|
50
|
+
catch (exception) {
|
|
51
|
+
console.log('reading file failed.');
|
|
52
|
+
this.close();
|
|
53
|
+
return;
|
|
54
|
+
}
|
|
55
|
+
if (read !== 0) {
|
|
56
|
+
this._leftOver += this._buffer.toString('utf8', 0, read);
|
|
57
|
+
}
|
|
58
|
+
else {
|
|
59
|
+
try {
|
|
60
|
+
fs_1.default.closeSync(this._fd);
|
|
61
|
+
}
|
|
62
|
+
catch (exception) {
|
|
63
|
+
console.log('closing file failed.');
|
|
64
|
+
}
|
|
65
|
+
this._EOF = true;
|
|
66
|
+
this._fd = 0;
|
|
67
|
+
if (this._leftOver) {
|
|
68
|
+
return this._leftOver;
|
|
69
|
+
}
|
|
70
|
+
return;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
if ((idx = this._leftOver.indexOf('\n', _idxStart)) !== -1) {
|
|
74
|
+
const line = this._leftOver.substring(_idxStart, idx);
|
|
75
|
+
_idxStart = idx + 1;
|
|
76
|
+
this._leftOver = this._leftOver.substring(_idxStart);
|
|
77
|
+
_idxStart = 0;
|
|
78
|
+
return line;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
open() {
|
|
82
|
+
if (0 !== this._fd) {
|
|
83
|
+
this.close();
|
|
84
|
+
}
|
|
85
|
+
try {
|
|
86
|
+
this._fd = fs_1.default.openSync(this._filename, 'r');
|
|
87
|
+
}
|
|
88
|
+
catch (exception) {
|
|
89
|
+
console.log('open(): ' + this._filename + ' not found.');
|
|
90
|
+
this._EOF = true;
|
|
91
|
+
return;
|
|
92
|
+
}
|
|
93
|
+
this._EOF = false;
|
|
94
|
+
return;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
exports.LineReader = LineReader;
|
|
98
98
|
//# sourceMappingURL=line-reader.js.map
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DateFormat = void 0;
|
|
4
|
-
class DateFormat {
|
|
5
|
-
static format(currentDate) {
|
|
6
|
-
let month = currentDate.getMonth() + 1;
|
|
7
|
-
let strDate = currentDate.getDate();
|
|
8
|
-
let milliSeconds = currentDate.getMilliseconds();
|
|
9
|
-
if (month <= 9) {
|
|
10
|
-
month = "0" + month;
|
|
11
|
-
}
|
|
12
|
-
if (strDate <= 9) {
|
|
13
|
-
strDate = "0" + strDate;
|
|
14
|
-
}
|
|
15
|
-
let seconds = currentDate.getSeconds();
|
|
16
|
-
if (seconds <= 9) {
|
|
17
|
-
seconds = "0" + seconds;
|
|
18
|
-
}
|
|
19
|
-
let minutes = currentDate.getMinutes();
|
|
20
|
-
if (minutes <= 9) {
|
|
21
|
-
minutes = "0" + minutes;
|
|
22
|
-
}
|
|
23
|
-
if (milliSeconds < 9) {
|
|
24
|
-
milliSeconds = "00" + milliSeconds.toString();
|
|
25
|
-
}
|
|
26
|
-
else if (milliSeconds < 100) {
|
|
27
|
-
milliSeconds = "0" + milliSeconds.toString();
|
|
28
|
-
}
|
|
29
|
-
return currentDate.getFullYear() + "/" + month + "/" + strDate + " "
|
|
30
|
-
+ currentDate.getHours() + ":" + minutes + ":" + seconds;
|
|
31
|
-
}
|
|
32
|
-
static getNowDate() {
|
|
33
|
-
const date = new Date();
|
|
34
|
-
return DateFormat.format(date);
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
exports.DateFormat = DateFormat;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DateFormat = void 0;
|
|
4
|
+
class DateFormat {
|
|
5
|
+
static format(currentDate) {
|
|
6
|
+
let month = currentDate.getMonth() + 1;
|
|
7
|
+
let strDate = currentDate.getDate();
|
|
8
|
+
let milliSeconds = currentDate.getMilliseconds();
|
|
9
|
+
if (month <= 9) {
|
|
10
|
+
month = "0" + month;
|
|
11
|
+
}
|
|
12
|
+
if (strDate <= 9) {
|
|
13
|
+
strDate = "0" + strDate;
|
|
14
|
+
}
|
|
15
|
+
let seconds = currentDate.getSeconds();
|
|
16
|
+
if (seconds <= 9) {
|
|
17
|
+
seconds = "0" + seconds;
|
|
18
|
+
}
|
|
19
|
+
let minutes = currentDate.getMinutes();
|
|
20
|
+
if (minutes <= 9) {
|
|
21
|
+
minutes = "0" + minutes;
|
|
22
|
+
}
|
|
23
|
+
if (milliSeconds < 9) {
|
|
24
|
+
milliSeconds = "00" + milliSeconds.toString();
|
|
25
|
+
}
|
|
26
|
+
else if (milliSeconds < 100) {
|
|
27
|
+
milliSeconds = "0" + milliSeconds.toString();
|
|
28
|
+
}
|
|
29
|
+
return currentDate.getFullYear() + "/" + month + "/" + strDate + " "
|
|
30
|
+
+ currentDate.getHours() + ":" + minutes + ":" + seconds;
|
|
31
|
+
}
|
|
32
|
+
static getNowDate() {
|
|
33
|
+
const date = new Date();
|
|
34
|
+
return DateFormat.format(date);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
exports.DateFormat = DateFormat;
|
|
38
38
|
//# sourceMappingURL=date-format.js.map
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
-
}) : (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
o[k2] = m[k];
|
|
8
|
-
}));
|
|
9
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
-
};
|
|
12
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
-
__exportStar(require("./logger-helper"), exports);
|
|
14
|
-
__exportStar(require("./logger-level"), exports);
|
|
15
|
-
__exportStar(require("./date-format"), exports);
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
+
};
|
|
12
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
__exportStar(require("./logger-helper"), exports);
|
|
14
|
+
__exportStar(require("./logger-level"), exports);
|
|
15
|
+
__exportStar(require("./date-format"), exports);
|
|
16
16
|
//# sourceMappingURL=index.js.map
|