ngx-axis-appforge 0.0.2 → 0.0.3
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/axis-components/badge/design/index.d.ts +5 -0
- package/axis-components/badge/index.d.ts +27 -0
- package/axis-components/button/design/index.d.ts +5 -0
- package/axis-components/button/index.d.ts +32 -0
- package/axis-components/desc/design/index.d.ts +5 -0
- package/axis-components/desc/index.d.ts +30 -0
- package/axis-components/design/design/index.d.ts +5 -0
- package/axis-components/design/index.d.ts +246 -0
- package/axis-components/dynamic-container/design/index.d.ts +5 -0
- package/axis-components/dynamic-container/index.d.ts +14 -0
- package/axis-components/editor/index.d.ts +33 -0
- package/axis-components/flex/design/index.d.ts +5 -0
- package/axis-components/flex/index.d.ts +20 -0
- package/axis-components/form/design/index.d.ts +5 -0
- package/axis-components/form/index.d.ts +30 -0
- package/axis-components/form-item/design/index.d.ts +5 -0
- package/axis-components/form-item/index.d.ts +34 -0
- package/axis-components/icon/design/index.d.ts +5 -0
- package/axis-components/icon/index.d.ts +16 -0
- package/axis-components/image/design/index.d.ts +5 -0
- package/axis-components/image/index.d.ts +16 -0
- package/axis-components/index.d.ts +5 -0
- package/axis-components/input/design/index.d.ts +5 -0
- package/axis-components/input/index.d.ts +27 -0
- package/axis-components/input-component/design/index.d.ts +5 -0
- package/axis-components/input-component/index.d.ts +33 -0
- package/axis-components/input-icon/design/index.d.ts +5 -0
- package/axis-components/input-icon/index.d.ts +24 -0
- package/axis-components/input-json/design/index.d.ts +5 -0
- package/axis-components/input-json/index.d.ts +24 -0
- package/axis-components/input-number/design/index.d.ts +5 -0
- package/axis-components/input-number/index.d.ts +25 -0
- package/axis-components/modal/design/index.d.ts +5 -0
- package/axis-components/modal/index.d.ts +33 -0
- package/axis-components/scope/design/index.d.ts +5 -0
- package/axis-components/scope/index.d.ts +24 -0
- package/axis-components/single-selector/design/index.d.ts +5 -0
- package/axis-components/single-selector/index.d.ts +37 -0
- package/axis-components/splitter/design/index.d.ts +5 -0
- package/axis-components/splitter/index.d.ts +28 -0
- package/axis-components/table/design/index.d.ts +5 -0
- package/axis-components/table/index.d.ts +183 -0
- package/axis-components/text/design/index.d.ts +5 -0
- package/axis-components/text/index.d.ts +24 -0
- package/axis-components/textarea/design/index.d.ts +5 -0
- package/axis-components/textarea/index.d.ts +25 -0
- package/axis-components/tree-selector/design/index.d.ts +5 -0
- package/axis-components/tree-selector/index.d.ts +76 -0
- package/axis-components/upload/design/index.d.ts +5 -0
- package/axis-components/upload/index.d.ts +51 -0
- package/core/index.d.ts +773 -0
- package/fesm2022/ngx-axis-appforge-axis-components-badge-design.mjs +191 -0
- package/fesm2022/ngx-axis-appforge-axis-components-badge-design.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-badge.mjs +39 -0
- package/fesm2022/ngx-axis-appforge-axis-components-badge.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-button-design.mjs +116 -0
- package/fesm2022/ngx-axis-appforge-axis-components-button-design.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-button.mjs +78 -0
- package/fesm2022/ngx-axis-appforge-axis-components-button.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-desc-design.mjs +224 -0
- package/fesm2022/ngx-axis-appforge-axis-components-desc-design.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-desc.mjs +51 -0
- package/fesm2022/ngx-axis-appforge-axis-components-desc.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-design-design.mjs +69 -0
- package/fesm2022/ngx-axis-appforge-axis-components-design-design.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-design.mjs +1746 -0
- package/fesm2022/ngx-axis-appforge-axis-components-design.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-dynamic-container-design.mjs +65 -0
- package/fesm2022/ngx-axis-appforge-axis-components-dynamic-container-design.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-dynamic-container.mjs +26 -0
- package/fesm2022/ngx-axis-appforge-axis-components-dynamic-container.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-editor.mjs +99 -0
- package/fesm2022/ngx-axis-appforge-axis-components-editor.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-flex-design.mjs +98 -0
- package/fesm2022/ngx-axis-appforge-axis-components-flex-design.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-flex.mjs +31 -0
- package/fesm2022/ngx-axis-appforge-axis-components-flex.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-form-design.mjs +108 -0
- package/fesm2022/ngx-axis-appforge-axis-components-form-design.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-form-item-design.mjs +242 -0
- package/fesm2022/ngx-axis-appforge-axis-components-form-item-design.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-form-item.mjs +144 -0
- package/fesm2022/ngx-axis-appforge-axis-components-form-item.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-form.mjs +132 -0
- package/fesm2022/ngx-axis-appforge-axis-components-form.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-icon-design.mjs +88 -0
- package/fesm2022/ngx-axis-appforge-axis-components-icon-design.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-icon.mjs +28 -0
- package/fesm2022/ngx-axis-appforge-axis-components-icon.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-image-design.mjs +75 -0
- package/fesm2022/ngx-axis-appforge-axis-components-image-design.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-image.mjs +43 -0
- package/fesm2022/ngx-axis-appforge-axis-components-image.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-input-component-design.mjs +70 -0
- package/fesm2022/ngx-axis-appforge-axis-components-input-component-design.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-input-component.mjs +61 -0
- package/fesm2022/ngx-axis-appforge-axis-components-input-component.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-input-design.mjs +142 -0
- package/fesm2022/ngx-axis-appforge-axis-components-input-design.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-input-icon-design.mjs +71 -0
- package/fesm2022/ngx-axis-appforge-axis-components-input-icon-design.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-input-icon.mjs +64 -0
- package/fesm2022/ngx-axis-appforge-axis-components-input-icon.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-input-json-design.mjs +60 -0
- package/fesm2022/ngx-axis-appforge-axis-components-input-json-design.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-input-json.mjs +70 -0
- package/fesm2022/ngx-axis-appforge-axis-components-input-json.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-input-number-design.mjs +107 -0
- package/fesm2022/ngx-axis-appforge-axis-components-input-number-design.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-input-number.mjs +48 -0
- package/fesm2022/ngx-axis-appforge-axis-components-input-number.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-input.mjs +68 -0
- package/fesm2022/ngx-axis-appforge-axis-components-input.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-modal-design.mjs +181 -0
- package/fesm2022/ngx-axis-appforge-axis-components-modal-design.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-modal.mjs +74 -0
- package/fesm2022/ngx-axis-appforge-axis-components-modal.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-scope-design.mjs +330 -0
- package/fesm2022/ngx-axis-appforge-axis-components-scope-design.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-scope.mjs +55 -0
- package/fesm2022/ngx-axis-appforge-axis-components-scope.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-single-selector-design.mjs +120 -0
- package/fesm2022/ngx-axis-appforge-axis-components-single-selector-design.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-single-selector.mjs +102 -0
- package/fesm2022/ngx-axis-appforge-axis-components-single-selector.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-splitter-design.mjs +178 -0
- package/fesm2022/ngx-axis-appforge-axis-components-splitter-design.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-splitter.mjs +49 -0
- package/fesm2022/ngx-axis-appforge-axis-components-splitter.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-table-design.mjs +442 -0
- package/fesm2022/ngx-axis-appforge-axis-components-table-design.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-table.mjs +452 -0
- package/fesm2022/ngx-axis-appforge-axis-components-table.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-text-design.mjs +95 -0
- package/fesm2022/ngx-axis-appforge-axis-components-text-design.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-text.mjs +64 -0
- package/fesm2022/ngx-axis-appforge-axis-components-text.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-textarea-design.mjs +94 -0
- package/fesm2022/ngx-axis-appforge-axis-components-textarea-design.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-textarea.mjs +64 -0
- package/fesm2022/ngx-axis-appforge-axis-components-textarea.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-tree-selector-design.mjs +222 -0
- package/fesm2022/ngx-axis-appforge-axis-components-tree-selector-design.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-tree-selector.mjs +295 -0
- package/fesm2022/ngx-axis-appforge-axis-components-tree-selector.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-upload-design.mjs +146 -0
- package/fesm2022/ngx-axis-appforge-axis-components-upload-design.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components-upload.mjs +156 -0
- package/fesm2022/ngx-axis-appforge-axis-components-upload.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-axis-components.mjs +988 -0
- package/fesm2022/ngx-axis-appforge-axis-components.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge-core.mjs +3169 -0
- package/fesm2022/ngx-axis-appforge-core.mjs.map +1 -0
- package/{providers/providers.ts → fesm2022/ngx-axis-appforge-providers.mjs} +16 -8
- package/fesm2022/ngx-axis-appforge-providers.mjs.map +1 -0
- package/fesm2022/ngx-axis-appforge.mjs +6 -0
- package/fesm2022/ngx-axis-appforge.mjs.map +1 -0
- package/index.d.ts +2 -0
- package/package.json +217 -16
- package/providers/index.d.ts +13 -0
- package/.editorconfig +0 -17
- package/angular.json +0 -40
- package/axis-components/badge/badge.css +0 -3
- package/axis-components/badge/badge.html +0 -20
- package/axis-components/badge/badge.options.ts +0 -23
- package/axis-components/badge/badge.ts +0 -17
- package/axis-components/badge/design/config.ts +0 -52
- package/axis-components/badge/design/ng-package.json +0 -5
- package/axis-components/badge/design/setting/setting.css +0 -0
- package/axis-components/badge/design/setting/setting.html +0 -181
- package/axis-components/badge/design/setting/setting.ts +0 -126
- package/axis-components/badge/ng-package.json +0 -5
- package/axis-components/button/button.css +0 -3
- package/axis-components/button/button.html +0 -13
- package/axis-components/button/button.options.ts +0 -17
- package/axis-components/button/button.ts +0 -56
- package/axis-components/button/design/config.ts +0 -30
- package/axis-components/button/design/ng-package.json +0 -5
- package/axis-components/button/design/setting/setting.css +0 -0
- package/axis-components/button/design/setting/setting.html +0 -151
- package/axis-components/button/design/setting/setting.ts +0 -76
- package/axis-components/button/ng-package.json +0 -5
- package/axis-components/cmp-map.ts +0 -52
- package/axis-components/cmplib.ts +0 -9
- package/axis-components/desc/desc.css +0 -8
- package/axis-components/desc/desc.html +0 -19
- package/axis-components/desc/desc.options.ts +0 -24
- package/axis-components/desc/desc.ts +0 -29
- package/axis-components/desc/design/config.ts +0 -113
- package/axis-components/desc/design/desc-item-setting/desc-item-setting.css +0 -0
- package/axis-components/desc/design/desc-item-setting/desc-item-setting.html +0 -47
- package/axis-components/desc/design/desc-item-setting/desc-item-setting.ts +0 -40
- package/axis-components/desc/design/desc-items-menu/desc-items-menu.css +0 -0
- package/axis-components/desc/design/desc-items-menu/desc-items-menu.html +0 -9
- package/axis-components/desc/design/desc-items-menu/desc-items-menu.ts +0 -23
- package/axis-components/desc/design/desc-setting/desc-setting.css +0 -0
- package/axis-components/desc/design/desc-setting/desc-setting.html +0 -76
- package/axis-components/desc/design/desc-setting/desc-setting.ts +0 -51
- package/axis-components/desc/design/ng-package.json +0 -5
- package/axis-components/desc/ng-package.json +0 -5
- package/axis-components/design/cmplib/cmplib.css +0 -5
- package/axis-components/design/cmplib/cmplib.html +0 -52
- package/axis-components/design/cmplib/cmplib.ts +0 -96
- package/axis-components/design/design/config.ts +0 -29
- package/axis-components/design/design/ng-package.json +0 -5
- package/axis-components/design/design/setting/setting.css +0 -0
- package/axis-components/design/design/setting/setting.html +0 -33
- package/axis-components/design/design/setting/setting.ts +0 -33
- package/axis-components/design/design.css +0 -15
- package/axis-components/design/design.html +0 -51
- package/axis-components/design/design.options.ts +0 -9
- package/axis-components/design/design.ts +0 -509
- package/axis-components/design/ng-package.json +0 -5
- package/axis-components/design/preview/drag.service.ts +0 -148
- package/axis-components/design/preview/drop-handler.ts +0 -56
- package/axis-components/design/preview/preview.css +0 -3
- package/axis-components/design/preview/preview.html +0 -1
- package/axis-components/design/preview/preview.ts +0 -250
- package/axis-components/design/preview/select.service.ts +0 -140
- package/axis-components/design/shortcut-key.ts +0 -160
- package/axis-components/design/toolbar/toolbar.css +0 -24
- package/axis-components/design/toolbar/toolbar.html +0 -96
- package/axis-components/design/toolbar/toolbar.ts +0 -65
- package/axis-components/design/tree/drag-drop.ts +0 -125
- package/axis-components/design/tree/tree.css +0 -30
- package/axis-components/design/tree/tree.html +0 -49
- package/axis-components/design/tree/tree.ts +0 -292
- package/axis-components/dynamic-container/design/config.ts +0 -30
- package/axis-components/dynamic-container/design/ng-package.json +0 -5
- package/axis-components/dynamic-container/design/setting/setting.css +0 -0
- package/axis-components/dynamic-container/design/setting/setting.html +0 -20
- package/axis-components/dynamic-container/design/setting/setting.ts +0 -30
- package/axis-components/dynamic-container/dynamic-container.css +0 -3
- package/axis-components/dynamic-container/dynamic-container.html +0 -2
- package/axis-components/dynamic-container/dynamic-container.options.ts +0 -6
- package/axis-components/dynamic-container/dynamic-container.ts +0 -17
- package/axis-components/dynamic-container/ng-package.json +0 -5
- package/axis-components/editor/editor.css +0 -47
- package/axis-components/editor/editor.html +0 -10
- package/axis-components/editor/editor.options.ts +0 -10
- package/axis-components/editor/editor.ts +0 -86
- package/axis-components/editor/ng-package.json +0 -5
- package/axis-components/examples/examples/badge.ts +0 -17
- package/axis-components/examples/examples/button.ts +0 -38
- package/axis-components/examples/examples/desc.ts +0 -31
- package/axis-components/examples/examples/design.ts +0 -15
- package/axis-components/examples/examples/dynamic-container.ts +0 -21
- package/axis-components/examples/examples/flex.ts +0 -18
- package/axis-components/examples/examples/form-item.ts +0 -39
- package/axis-components/examples/examples/form.ts +0 -315
- package/axis-components/examples/examples/icon.ts +0 -16
- package/axis-components/examples/examples/image.ts +0 -15
- package/axis-components/examples/examples/input-component.ts +0 -15
- package/axis-components/examples/examples/input-icon.ts +0 -15
- package/axis-components/examples/examples/input-json.ts +0 -15
- package/axis-components/examples/examples/input-number.ts +0 -15
- package/axis-components/examples/examples/input.ts +0 -15
- package/axis-components/examples/examples/modal.ts +0 -15
- package/axis-components/examples/examples/scope.ts +0 -17
- package/axis-components/examples/examples/single-selector.ts +0 -25
- package/axis-components/examples/examples/splitter.ts +0 -36
- package/axis-components/examples/examples/table.ts +0 -126
- package/axis-components/examples/examples/text.ts +0 -15
- package/axis-components/examples/examples/textarea.ts +0 -15
- package/axis-components/examples/examples/tree-selector.ts +0 -35
- package/axis-components/examples/examples/upload.ts +0 -15
- package/axis-components/examples/examples.ts +0 -73
- package/axis-components/flex/design/config.ts +0 -49
- package/axis-components/flex/design/ng-package.json +0 -5
- package/axis-components/flex/design/setting/setting.css +0 -0
- package/axis-components/flex/design/setting/setting.html +0 -72
- package/axis-components/flex/design/setting/setting.ts +0 -43
- package/axis-components/flex/flex.css +0 -5
- package/axis-components/flex/flex.html +0 -6
- package/axis-components/flex/flex.options.ts +0 -12
- package/axis-components/flex/flex.ts +0 -15
- package/axis-components/flex/ng-package.json +0 -5
- package/axis-components/form/design/config.ts +0 -71
- package/axis-components/form/design/ng-package.json +0 -5
- package/axis-components/form/design/setting/setting.css +0 -0
- package/axis-components/form/design/setting/setting.html +0 -21
- package/axis-components/form/design/setting/setting.ts +0 -31
- package/axis-components/form/form.css +0 -3
- package/axis-components/form/form.html +0 -3
- package/axis-components/form/form.options.ts +0 -9
- package/axis-components/form/form.ts +0 -121
- package/axis-components/form/ng-package.json +0 -5
- package/axis-components/form-item/design/config.ts +0 -43
- package/axis-components/form-item/design/ng-package.json +0 -5
- package/axis-components/form-item/design/setting/input-validator/input-validator.css +0 -8
- package/axis-components/form-item/design/setting/input-validator/input-validator.html +0 -140
- package/axis-components/form-item/design/setting/input-validator/input-validator.ts +0 -158
- package/axis-components/form-item/design/setting/setting.css +0 -0
- package/axis-components/form-item/design/setting/setting.html +0 -39
- package/axis-components/form-item/design/setting/setting.ts +0 -40
- package/axis-components/form-item/form-item.css +0 -4
- package/axis-components/form-item/form-item.html +0 -16
- package/axis-components/form-item/form-item.options.ts +0 -12
- package/axis-components/form-item/form-item.ts +0 -128
- package/axis-components/form-item/ng-package.json +0 -5
- package/axis-components/icon/design/config.ts +0 -29
- package/axis-components/icon/design/ng-package.json +0 -5
- package/axis-components/icon/design/setting/setting.css +0 -0
- package/axis-components/icon/design/setting/setting.html +0 -67
- package/axis-components/icon/design/setting/setting.ts +0 -48
- package/axis-components/icon/icon.css +0 -0
- package/axis-components/icon/icon.html +0 -7
- package/axis-components/icon/icon.options.ts +0 -10
- package/axis-components/icon/icon.ts +0 -17
- package/axis-components/icon/ng-package.json +0 -5
- package/axis-components/image/design/config.ts +0 -30
- package/axis-components/image/design/ng-package.json +0 -5
- package/axis-components/image/design/setting/setting.css +0 -0
- package/axis-components/image/design/setting/setting.html +0 -42
- package/axis-components/image/design/setting/setting.ts +0 -37
- package/axis-components/image/image.css +0 -58
- package/axis-components/image/image.html +0 -14
- package/axis-components/image/image.options.ts +0 -8
- package/axis-components/image/image.ts +0 -29
- package/axis-components/image/ng-package.json +0 -5
- package/axis-components/input/design/config.ts +0 -80
- package/axis-components/input/design/ng-package.json +0 -5
- package/axis-components/input/design/setting/setting.css +0 -0
- package/axis-components/input/design/setting/setting.html +0 -79
- package/axis-components/input/design/setting/setting.ts +0 -51
- package/axis-components/input/input.css +0 -4
- package/axis-components/input/input.html +0 -32
- package/axis-components/input/input.options.ts +0 -14
- package/axis-components/input/input.ts +0 -53
- package/axis-components/input/ng-package.json +0 -5
- package/axis-components/input-component/design/config.ts +0 -30
- package/axis-components/input-component/design/ng-package.json +0 -5
- package/axis-components/input-component/design/setting/setting.css +0 -0
- package/axis-components/input-component/design/setting/setting.html +0 -33
- package/axis-components/input-component/design/setting/setting.ts +0 -33
- package/axis-components/input-component/input-component.css +0 -4
- package/axis-components/input-component/input-component.html +0 -25
- package/axis-components/input-component/input-component.options.ts +0 -7
- package/axis-components/input-component/input-component.ts +0 -50
- package/axis-components/input-component/ng-package.json +0 -5
- package/axis-components/input-icon/design/config.ts +0 -30
- package/axis-components/input-icon/design/ng-package.json +0 -5
- package/axis-components/input-icon/design/setting/setting.css +0 -0
- package/axis-components/input-icon/design/setting/setting.html +0 -29
- package/axis-components/input-icon/design/setting/setting.ts +0 -33
- package/axis-components/input-icon/input-icon.css +0 -4
- package/axis-components/input-icon/input-icon.html +0 -70
- package/axis-components/input-icon/input-icon.options.ts +0 -7
- package/axis-components/input-icon/input-icon.ts +0 -51
- package/axis-components/input-icon/ng-package.json +0 -5
- package/axis-components/input-json/design/config.ts +0 -29
- package/axis-components/input-json/design/ng-package.json +0 -5
- package/axis-components/input-json/design/setting/setting.css +0 -0
- package/axis-components/input-json/design/setting/setting.html +0 -7
- package/axis-components/input-json/design/setting/setting.ts +0 -26
- package/axis-components/input-json/input-json.css +0 -4
- package/axis-components/input-json/input-json.html +0 -19
- package/axis-components/input-json/input-json.ts +0 -67
- package/axis-components/input-json/ng-package.json +0 -5
- package/axis-components/input-number/design/config.ts +0 -30
- package/axis-components/input-number/design/ng-package.json +0 -5
- package/axis-components/input-number/design/setting/setting.css +0 -0
- package/axis-components/input-number/design/setting/setting.html +0 -118
- package/axis-components/input-number/design/setting/setting.ts +0 -66
- package/axis-components/input-number/input-number.css +0 -22
- package/axis-components/input-number/input-number.html +0 -11
- package/axis-components/input-number/input-number.options.ts +0 -17
- package/axis-components/input-number/input-number.ts +0 -30
- package/axis-components/input-number/ng-package.json +0 -5
- package/axis-components/modal/design/config.ts +0 -50
- package/axis-components/modal/design/ng-package.json +0 -5
- package/axis-components/modal/design/set-modal-visible-handler/set-modal-visible-handler.css +0 -0
- package/axis-components/modal/design/set-modal-visible-handler/set-modal-visible-handler.html +0 -15
- package/axis-components/modal/design/set-modal-visible-handler/set-modal-visible-handler.ts +0 -34
- package/axis-components/modal/design/setting/setting.css +0 -0
- package/axis-components/modal/design/setting/setting.html +0 -139
- package/axis-components/modal/design/setting/setting.ts +0 -92
- package/axis-components/modal/modal.css +0 -0
- package/axis-components/modal/modal.html +0 -7
- package/axis-components/modal/modal.options.ts +0 -20
- package/axis-components/modal/modal.ts +0 -57
- package/axis-components/modal/ng-package.json +0 -5
- package/axis-components/ng-package.json +0 -5
- package/axis-components/scope/design/config.ts +0 -59
- package/axis-components/scope/design/ng-package.json +0 -5
- package/axis-components/scope/design/setting/datasource-editor/datasource-editor.css +0 -28
- package/axis-components/scope/design/setting/datasource-editor/datasource-editor.html +0 -188
- package/axis-components/scope/design/setting/datasource-editor/datasource-editor.ts +0 -245
- package/axis-components/scope/design/setting/setting.css +0 -0
- package/axis-components/scope/design/setting/setting.html +0 -19
- package/axis-components/scope/design/setting/setting.ts +0 -30
- package/axis-components/scope/ng-package.json +0 -5
- package/axis-components/scope/scope.css +0 -6
- package/axis-components/scope/scope.html +0 -4
- package/axis-components/scope/scope.options.ts +0 -8
- package/axis-components/scope/scope.ts +0 -48
- package/axis-components/single-selector/design/config.ts +0 -30
- package/axis-components/single-selector/design/ng-package.json +0 -5
- package/axis-components/single-selector/design/setting/setting.css +0 -0
- package/axis-components/single-selector/design/setting/setting.html +0 -164
- package/axis-components/single-selector/design/setting/setting.ts +0 -80
- package/axis-components/single-selector/ng-package.json +0 -5
- package/axis-components/single-selector/single-selector.css +0 -8
- package/axis-components/single-selector/single-selector.html +0 -51
- package/axis-components/single-selector/single-selector.options.ts +0 -22
- package/axis-components/single-selector/single-selector.ts +0 -80
- package/axis-components/splitter/design/config.ts +0 -84
- package/axis-components/splitter/design/ng-package.json +0 -5
- package/axis-components/splitter/design/splitter-menu/splitter-menu.css +0 -0
- package/axis-components/splitter/design/splitter-menu/splitter-menu.html +0 -10
- package/axis-components/splitter/design/splitter-menu/splitter-menu.ts +0 -22
- package/axis-components/splitter/design/splitter-panel-setting/splitter-panel-setting.css +0 -0
- package/axis-components/splitter/design/splitter-panel-setting/splitter-panel-setting.html +0 -66
- package/axis-components/splitter/design/splitter-panel-setting/splitter-panel-setting.ts +0 -47
- package/axis-components/splitter/design/splitter-setting/splitter-setting.css +0 -0
- package/axis-components/splitter/design/splitter-setting/splitter-setting.html +0 -28
- package/axis-components/splitter/design/splitter-setting/splitter-setting.ts +0 -30
- package/axis-components/splitter/ng-package.json +0 -5
- package/axis-components/splitter/splitter.css +0 -7
- package/axis-components/splitter/splitter.html +0 -12
- package/axis-components/splitter/splitter.options.ts +0 -18
- package/axis-components/splitter/splitter.ts +0 -29
- package/axis-components/table/design/config.ts +0 -147
- package/axis-components/table/design/ng-package.json +0 -5
- package/axis-components/table/design/table-field-setting/table-field-setting.css +0 -0
- package/axis-components/table/design/table-field-setting/table-field-setting.html +0 -259
- package/axis-components/table/design/table-field-setting/table-field-setting.ts +0 -105
- package/axis-components/table/design/table-fields-menu/table-fields-menu.css +0 -0
- package/axis-components/table/design/table-fields-menu/table-fields-menu.html +0 -9
- package/axis-components/table/design/table-fields-menu/table-fields-menu.ts +0 -24
- package/axis-components/table/design/table-setting/table-setting.css +0 -0
- package/axis-components/table/design/table-setting/table-setting.html +0 -417
- package/axis-components/table/design/table-setting/table-setting.ts +0 -173
- package/axis-components/table/expand.ts +0 -12
- package/axis-components/table/ng-package.json +0 -5
- package/axis-components/table/select.ts +0 -66
- package/axis-components/table/table-setter/table-setter.css +0 -55
- package/axis-components/table/table-setter/table-setter.html +0 -38
- package/axis-components/table/table-setter/table-setter.ts +0 -121
- package/axis-components/table/table.css +0 -5
- package/axis-components/table/table.html +0 -191
- package/axis-components/table/table.options.ts +0 -72
- package/axis-components/table/table.ts +0 -204
- package/axis-components/text/design/config.ts +0 -30
- package/axis-components/text/design/ng-package.json +0 -5
- package/axis-components/text/design/setting/setting.css +0 -0
- package/axis-components/text/design/setting/setting.html +0 -84
- package/axis-components/text/design/setting/setting.ts +0 -54
- package/axis-components/text/ng-package.json +0 -5
- package/axis-components/text/text.css +0 -3
- package/axis-components/text/text.html +0 -17
- package/axis-components/text/text.options.ts +0 -10
- package/axis-components/text/text.ts +0 -54
- package/axis-components/textarea/design/config.ts +0 -30
- package/axis-components/textarea/design/ng-package.json +0 -5
- package/axis-components/textarea/design/setting/setting.css +0 -0
- package/axis-components/textarea/design/setting/setting.html +0 -76
- package/axis-components/textarea/design/setting/setting.ts +0 -55
- package/axis-components/textarea/ng-package.json +0 -5
- package/axis-components/textarea/textarea.css +0 -4
- package/axis-components/textarea/textarea.html +0 -11
- package/axis-components/textarea/textarea.options.ts +0 -13
- package/axis-components/textarea/textarea.ts +0 -49
- package/axis-components/tree-selector/design/config.ts +0 -55
- package/axis-components/tree-selector/design/ng-package.json +0 -5
- package/axis-components/tree-selector/design/tree-selector-menu/tree-selector-menu.css +0 -0
- package/axis-components/tree-selector/design/tree-selector-menu/tree-selector-menu.html +0 -9
- package/axis-components/tree-selector/design/tree-selector-menu/tree-selector-menu.ts +0 -26
- package/axis-components/tree-selector/design/tree-selector-menu-setting/tree-selector-menu-setting.css +0 -0
- package/axis-components/tree-selector/design/tree-selector-menu-setting/tree-selector-menu-setting.html +0 -80
- package/axis-components/tree-selector/design/tree-selector-menu-setting/tree-selector-menu-setting.ts +0 -58
- package/axis-components/tree-selector/design/tree-selector-setting/tree-selector-setting.css +0 -0
- package/axis-components/tree-selector/design/tree-selector-setting/tree-selector-setting.html +0 -235
- package/axis-components/tree-selector/design/tree-selector-setting/tree-selector-setting.ts +0 -87
- package/axis-components/tree-selector/ng-package.json +0 -5
- package/axis-components/tree-selector/tree-selector.css +0 -43
- package/axis-components/tree-selector/tree-selector.html +0 -65
- package/axis-components/tree-selector/tree-selector.options.ts +0 -50
- package/axis-components/tree-selector/tree-selector.ts +0 -252
- package/axis-components/upload/design/config.ts +0 -37
- package/axis-components/upload/design/ng-package.json +0 -5
- package/axis-components/upload/design/setting/setting.css +0 -0
- package/axis-components/upload/design/setting/setting.html +0 -288
- package/axis-components/upload/design/setting/setting.ts +0 -96
- package/axis-components/upload/ng-package.json +0 -5
- package/axis-components/upload/upload.css +0 -3
- package/axis-components/upload/upload.html +0 -36
- package/axis-components/upload/upload.options.ts +0 -29
- package/axis-components/upload/upload.ts +0 -130
- package/core/base/base-menu.ts +0 -22
- package/core/base/base.ts +0 -143
- package/core/base/design-builder.ts +0 -8
- package/core/base/funfield-base.ts +0 -106
- package/core/base/funfield-value-base.ts +0 -53
- package/core/base/value-access.ts +0 -70
- package/core/directives/dynamic.ts +0 -216
- package/core/directives/scope.ts +0 -432
- package/core/models/api.options.ts +0 -5
- package/core/models/base.options.ts +0 -11
- package/core/models/cmplib.ts +0 -7
- package/core/models/data-source.options.ts +0 -11
- package/core/models/data.options.ts +0 -6
- package/core/models/design-build.ts +0 -26
- package/core/models/design-config.ts +0 -14
- package/core/models/design-tree-node.ts +0 -16
- package/core/models/event-desc.ts +0 -28
- package/core/models/event-handler.ts +0 -6
- package/core/models/event.options.ts +0 -14
- package/core/models/examples.ts +0 -21
- package/core/models/form-registe.options.ts +0 -12
- package/core/models/fun-field.options.ts +0 -6
- package/core/models/initobs.ts +0 -8
- package/core/models/options-node.ts +0 -149
- package/core/models/static-data-source.options.ts +0 -4
- package/core/models/trigge-events.options.ts +0 -3
- package/core/models/value-access.options.ts +0 -10
- package/core/ng-package.json +0 -5
- package/core/pipes/how-long.pipe.ts +0 -69
- package/core/public-api.ts +0 -39
- package/core/share/api-handler/api-handler.css +0 -0
- package/core/share/api-handler/api-handler.html +0 -38
- package/core/share/api-handler/api-handler.ts +0 -51
- package/core/share/array-filter-handler/array-filter-handler.css +0 -0
- package/core/share/array-filter-handler/array-filter-handler.html +0 -26
- package/core/share/array-filter-handler/array-filter-handler.ts +0 -65
- package/core/share/array-filter-handler/input-filter-options/filter-options.css +0 -19
- package/core/share/array-filter-handler/input-filter-options/filter-options.html +0 -57
- package/core/share/array-filter-handler/input-filter-options/filter-options.ts +0 -100
- package/core/share/base-design-setting/base-design-setting.css +0 -0
- package/core/share/base-design-setting/base-design-setting.html +0 -50
- package/core/share/base-design-setting/base-design-setting.ts +0 -55
- package/core/share/base-event-handler-descs.ts +0 -100
- package/core/share/common-menu/common-menu.css +0 -0
- package/core/share/common-menu/common-menu.html +0 -21
- package/core/share/common-menu/common-menu.ts +0 -73
- package/core/share/data-handler/data-handler.css +0 -0
- package/core/share/data-handler/data-handler.html +0 -13
- package/core/share/data-handler/data-handler.ts +0 -39
- package/core/share/events-handler.service.ts +0 -185
- package/core/share/fun-field/fun-field.css +0 -55
- package/core/share/fun-field/fun-field.html +0 -175
- package/core/share/fun-field/fun-field.ts +0 -363
- package/core/share/input-trigger/input-trigger.css +0 -16
- package/core/share/input-trigger/input-trigger.html +0 -114
- package/core/share/input-trigger/input-trigger.ts +0 -394
- package/core/share/msg-tip-handler/msg-tip-handler.css +0 -0
- package/core/share/msg-tip-handler/msg-tip-handler.html +0 -40
- package/core/share/msg-tip-handler/msg-tip-handler.ts +0 -46
- package/core/share/refresh-data-source-handler/refresh-data-source-handler.css +0 -0
- package/core/share/refresh-data-source-handler/refresh-data-source-handler.html +0 -29
- package/core/share/refresh-data-source-handler/refresh-data-source-handler.ts +0 -55
- package/core/share/route-handler/route-handler.css +0 -0
- package/core/share/route-handler/route-handler.html +0 -49
- package/core/share/route-handler/route-handler.ts +0 -51
- package/core/share/set-data-source-handler/set-data-source-handler.css +0 -0
- package/core/share/set-data-source-handler/set-data-source-handler.html +0 -23
- package/core/share/set-data-source-handler/set-data-source-handler.ts +0 -44
- package/core/share/simple-menu/simple-menu.css +0 -0
- package/core/share/simple-menu/simple-menu.html +0 -5
- package/core/share/simple-menu/simple-menu.ts +0 -17
- package/core/share/tokens.ts +0 -29
- package/core/share/value-design-setting/value-design-setting.css +0 -0
- package/core/share/value-design-setting/value-design-setting.html +0 -48
- package/core/share/value-design-setting/value-design-setting.ts +0 -54
- package/core/utils/code-name.utils.ts +0 -19
- package/core/utils/components-loader.ts +0 -29
- package/core/utils/declaration.utils.ts +0 -38
- package/core/utils/dynamic.util.ts +0 -57
- package/core/utils/form-validators.ts +0 -160
- package/core/utils/form.util.ts +0 -25
- package/core/utils/http.utils.ts +0 -8
- package/core/utils/object.utils.ts +0 -182
- package/core/utils/scripts-loader.ts +0 -25
- package/ng-package.json +0 -13
- package/providers/ng-package.json +0 -5
- package/providers/public-api.ts +0 -1
- package/public-api.ts +0 -1
- package/tsconfig.json +0 -35
- package/tsconfig.lib.json +0 -19
- package/tsconfig.lib.prod.json +0 -11
|
@@ -0,0 +1,295 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { signal, effect, untracked, inject, computed, model, ViewChild, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
+
import { ValueAccessOptions, ValueAccess, recursionArray, copy, fn, DynamicDirective } from 'ngx-axis-appforge/core';
|
|
4
|
+
import * as i1 from 'ng-zorro-antd/input';
|
|
5
|
+
import { NzInputModule } from 'ng-zorro-antd/input';
|
|
6
|
+
import * as i2 from 'ng-zorro-antd/tree';
|
|
7
|
+
import { NzTreeModule } from 'ng-zorro-antd/tree';
|
|
8
|
+
import * as i4 from 'ng-zorro-antd/dropdown';
|
|
9
|
+
import { NzContextMenuService, NzDropDownModule, NzDropdownMenuComponent } from 'ng-zorro-antd/dropdown';
|
|
10
|
+
import * as i5 from '@angular/forms';
|
|
11
|
+
import { FormsModule } from '@angular/forms';
|
|
12
|
+
import { NzHighlightPipe } from 'ng-zorro-antd/core/highlight';
|
|
13
|
+
import * as i6 from 'ng-zorro-antd/icon';
|
|
14
|
+
import { NzIconModule } from 'ng-zorro-antd/icon';
|
|
15
|
+
import * as i7 from 'ng-zorro-antd/button';
|
|
16
|
+
import { NzButtonModule } from 'ng-zorro-antd/button';
|
|
17
|
+
import * as i9 from 'ng-zorro-antd/flex';
|
|
18
|
+
import { NzFlexModule } from 'ng-zorro-antd/flex';
|
|
19
|
+
import * as i10 from 'ng-zorro-antd/tree-select';
|
|
20
|
+
import { NzTreeSelectModule, NzTreeSelectComponent } from 'ng-zorro-antd/tree-select';
|
|
21
|
+
import * as i11 from 'ng-zorro-antd/cascader';
|
|
22
|
+
import { NzCascaderModule } from 'ng-zorro-antd/cascader';
|
|
23
|
+
import { NzModalService, NzModalModule } from 'ng-zorro-antd/modal';
|
|
24
|
+
import * as i3 from 'ng-zorro-antd/menu';
|
|
25
|
+
import * as i8 from 'ng-zorro-antd/core/transition-patch';
|
|
26
|
+
|
|
27
|
+
class TreeSelectorOptions extends ValueAccessOptions {
|
|
28
|
+
labelField = signal("title", ...(ngDevMode ? [{ debugName: "labelField" }] : []));
|
|
29
|
+
valueField = signal("key", ...(ngDevMode ? [{ debugName: "valueField" }] : []));
|
|
30
|
+
selectableField = signal("selectable", ...(ngDevMode ? [{ debugName: "selectableField" }] : []));
|
|
31
|
+
iconField = signal("icon", ...(ngDevMode ? [{ debugName: "iconField" }] : []));
|
|
32
|
+
fullValue = signal(false, ...(ngDevMode ? [{ debugName: "fullValue" }] : []));
|
|
33
|
+
levelStart = signal(0, ...(ngDevMode ? [{ debugName: "levelStart" }] : []));
|
|
34
|
+
levelEnd = signal(null, ...(ngDevMode ? [{ debugName: "levelEnd" }] : []));
|
|
35
|
+
data = signal(undefined, ...(ngDevMode ? [{ debugName: "data" }] : []));
|
|
36
|
+
nodeFn = signal(undefined, ...(ngDevMode ? [{ debugName: "nodeFn" }] : []));
|
|
37
|
+
selectAbleLevel = signal("", ...(ngDevMode ? [{ debugName: "selectAbleLevel" }] : []));
|
|
38
|
+
multiple = signal(false, ...(ngDevMode ? [{ debugName: "multiple" }] : []));
|
|
39
|
+
maxSelectCount = signal(Number.MAX_VALUE, ...(ngDevMode ? [{ debugName: "maxSelectCount" }] : []));
|
|
40
|
+
defaultFirst = signal(false, ...(ngDevMode ? [{ debugName: "defaultFirst" }] : []));
|
|
41
|
+
allowClear = signal(true, ...(ngDevMode ? [{ debugName: "allowClear" }] : []));
|
|
42
|
+
type = signal("tree", ...(ngDevMode ? [{ debugName: "type" }] : []));
|
|
43
|
+
showSearch = signal(true, ...(ngDevMode ? [{ debugName: "showSearch" }] : []));
|
|
44
|
+
hideUnMatched = signal(true, ...(ngDevMode ? [{ debugName: "hideUnMatched" }] : []));
|
|
45
|
+
showLine = signal(false, ...(ngDevMode ? [{ debugName: "showLine" }] : []));
|
|
46
|
+
title = signal("", ...(ngDevMode ? [{ debugName: "title" }] : []));
|
|
47
|
+
expandedLevel = signal(null, ...(ngDevMode ? [{ debugName: "expandedLevel" }] : []));
|
|
48
|
+
placeHolder = signal("", ...(ngDevMode ? [{ debugName: "placeHolder" }] : []));
|
|
49
|
+
size = signal("default", ...(ngDevMode ? [{ debugName: "size" }] : []));
|
|
50
|
+
variant = signal("outlined", ...(ngDevMode ? [{ debugName: "variant" }] : []));
|
|
51
|
+
expandTrigger = signal("click", ...(ngDevMode ? [{ debugName: "expandTrigger" }] : []));
|
|
52
|
+
menus = signal([], ...(ngDevMode ? [{ debugName: "menus" }] : []));
|
|
53
|
+
}
|
|
54
|
+
class TreeNodeMenuOptions {
|
|
55
|
+
inuse = signal(true, ...(ngDevMode ? [{ debugName: "inuse" }] : []));
|
|
56
|
+
title = signal("未命名", ...(ngDevMode ? [{ debugName: "title" }] : []));
|
|
57
|
+
icon = signal(undefined, ...(ngDevMode ? [{ debugName: "icon" }] : []));
|
|
58
|
+
danger = signal(false, ...(ngDevMode ? [{ debugName: "danger" }] : []));
|
|
59
|
+
confirm = signal(false, ...(ngDevMode ? [{ debugName: "confirm" }] : []));
|
|
60
|
+
confirmText = signal("是否确认?", ...(ngDevMode ? [{ debugName: "confirmText" }] : []));
|
|
61
|
+
disabled = signal(false, ...(ngDevMode ? [{ debugName: "disabled" }] : []));
|
|
62
|
+
triggeEvents = signal(undefined, ...(ngDevMode ? [{ debugName: "triggeEvents" }] : []));
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
class TreeSelector extends ValueAccess {
|
|
66
|
+
constructor() {
|
|
67
|
+
super();
|
|
68
|
+
effect(() => {
|
|
69
|
+
if (untracked(this.options.defaultFirst)) {
|
|
70
|
+
let fullArray = [];
|
|
71
|
+
recursionArray(this.treeData(), {
|
|
72
|
+
before: n => {
|
|
73
|
+
if (n.selectable) {
|
|
74
|
+
fullArray.push(n.data);
|
|
75
|
+
return false;
|
|
76
|
+
}
|
|
77
|
+
return undefined;
|
|
78
|
+
}
|
|
79
|
+
});
|
|
80
|
+
const value = this.fullArrayToValue(fullArray);
|
|
81
|
+
if (value != null) {
|
|
82
|
+
this.setInitValue(value);
|
|
83
|
+
this.initComponentValue();
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
});
|
|
87
|
+
effect(() => this.initComponentValue());
|
|
88
|
+
}
|
|
89
|
+
treeSelect;
|
|
90
|
+
menu;
|
|
91
|
+
menuService = inject(NzContextMenuService);
|
|
92
|
+
modal = inject(NzModalService);
|
|
93
|
+
menuNodeDs;
|
|
94
|
+
options = new TreeSelectorOptions();
|
|
95
|
+
menus = computed(() => this.options.menus().map(_ => new TreeNodeMenuOptions()), ...(ngDevMode ? [{ debugName: "menus" }] : []));
|
|
96
|
+
searchValue = model(...(ngDevMode ? [undefined, { debugName: "searchValue" }] : []));
|
|
97
|
+
treeData = computed(() => this.buildTreeData(), ...(ngDevMode ? [{ debugName: "treeData" }] : []));
|
|
98
|
+
selectedKeys = signal([], ...(ngDevMode ? [{ debugName: "selectedKeys" }] : []));
|
|
99
|
+
selectValue = model(...(ngDevMode ? [undefined, { debugName: "selectValue" }] : []));
|
|
100
|
+
treeNodeMap = computed(() => {
|
|
101
|
+
const map = new Map();
|
|
102
|
+
recursionArray(this.treeData(), {
|
|
103
|
+
before: n => {
|
|
104
|
+
map.set(n.key, n);
|
|
105
|
+
}
|
|
106
|
+
});
|
|
107
|
+
return map;
|
|
108
|
+
}, ...(ngDevMode ? [{ debugName: "treeNodeMap" }] : []));
|
|
109
|
+
changeOn = (option, level) => {
|
|
110
|
+
return option['selectable'];
|
|
111
|
+
};
|
|
112
|
+
writeValue(value) {
|
|
113
|
+
super.writeValue(value);
|
|
114
|
+
this.initComponentValue();
|
|
115
|
+
}
|
|
116
|
+
buildTreeData() {
|
|
117
|
+
let data = this.options.data() ? copy(this.options.data(), true) : [];
|
|
118
|
+
if (this.options.levelStart() < 0) {
|
|
119
|
+
data = [{
|
|
120
|
+
[this.options.labelField()]: "全部",
|
|
121
|
+
[this.options.valueField()]: "",
|
|
122
|
+
children: data,
|
|
123
|
+
}];
|
|
124
|
+
}
|
|
125
|
+
const selectableLevels = this.options.selectAbleLevel()?.split(",").filter(l => l).map(l => +l.trim());
|
|
126
|
+
const treeData = [];
|
|
127
|
+
recursionArray(data, {
|
|
128
|
+
before: (n, l, parent) => {
|
|
129
|
+
const nodeData = {};
|
|
130
|
+
if (this.options.nodeFn()) {
|
|
131
|
+
fn(this.options.nodeFn(), { node: n, level: l });
|
|
132
|
+
}
|
|
133
|
+
for (const key in n) {
|
|
134
|
+
if (key !== "children") {
|
|
135
|
+
nodeData[key] = n[key];
|
|
136
|
+
delete n[key];
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
if (l >= this.options.levelStart() || l <= (this.options.levelEnd() ?? Infinity)) {
|
|
140
|
+
if (l == this.options.levelStart()) {
|
|
141
|
+
treeData.push(n);
|
|
142
|
+
}
|
|
143
|
+
if (l == (this.options.levelEnd() ?? Infinity) || (this.options.type() == 'cascader' && selectableLevels?.length && selectableLevels[selectableLevels.length - 1] == l)) {
|
|
144
|
+
n.isLeaf = true;
|
|
145
|
+
n.expanded = false;
|
|
146
|
+
delete n.children;
|
|
147
|
+
}
|
|
148
|
+
else {
|
|
149
|
+
n.isLeaf = !n.children?.length;
|
|
150
|
+
n.expanded = l < (this.options.expandedLevel() ?? Infinity);
|
|
151
|
+
}
|
|
152
|
+
n.selectable = n[this.options.selectableField()] ?? true;
|
|
153
|
+
if (n.selectable && this.options.selectAbleLevel()) {
|
|
154
|
+
if (!selectableLevels.includes(l)) {
|
|
155
|
+
n.selectable = false;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
n.key = nodeData[this.options.valueField()];
|
|
159
|
+
n.title = nodeData[this.options.labelField()];
|
|
160
|
+
n.icon = nodeData[this.options.iconField()];
|
|
161
|
+
n.keys = (parent?.keys ?? []).concat([n.key]);
|
|
162
|
+
n.data = nodeData;
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
}, this.options.levelStart() < 0 ? -1 : 0);
|
|
166
|
+
return treeData;
|
|
167
|
+
}
|
|
168
|
+
initComponentValue() {
|
|
169
|
+
let value = untracked(this.value);
|
|
170
|
+
if (!untracked(this.options.multiple)) {
|
|
171
|
+
value = [value];
|
|
172
|
+
}
|
|
173
|
+
if (untracked(this.options.fullValue)) {
|
|
174
|
+
value = value.map((e) => e[untracked(this.options.valueField)]);
|
|
175
|
+
}
|
|
176
|
+
if (value) {
|
|
177
|
+
switch (untracked(this.options.type)) {
|
|
178
|
+
case "tree":
|
|
179
|
+
this.selectedKeys.set(value);
|
|
180
|
+
break;
|
|
181
|
+
case "input-tree":
|
|
182
|
+
if (!untracked(this.options.multiple)) {
|
|
183
|
+
value = value[0];
|
|
184
|
+
}
|
|
185
|
+
this.selectValue.set(value);
|
|
186
|
+
break;
|
|
187
|
+
case "cascader":
|
|
188
|
+
value = value.map((e) => this.treeNodeMap().get(e)?.['keys']);
|
|
189
|
+
if (!untracked(this.options.multiple)) {
|
|
190
|
+
value = value[0];
|
|
191
|
+
}
|
|
192
|
+
this.selectValue.set(value);
|
|
193
|
+
break;
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
nodeClick(e) {
|
|
198
|
+
if (!e.node.isSelectable) {
|
|
199
|
+
if (e.node && !e.node.isLeaf) {
|
|
200
|
+
e.node.isExpanded = !e.node.isExpanded;
|
|
201
|
+
}
|
|
202
|
+
return;
|
|
203
|
+
}
|
|
204
|
+
else if (!e.node.isSelected && e.keys?.length == 0 && !this.options.allowClear()) {
|
|
205
|
+
e.node.isSelected = true;
|
|
206
|
+
return;
|
|
207
|
+
}
|
|
208
|
+
if (this.options.readonly() || this.options.disabled()) {
|
|
209
|
+
e.node.isSelected = false;
|
|
210
|
+
return;
|
|
211
|
+
}
|
|
212
|
+
const value = this.treeNodeToValue(e.selectedKeys?.filter(e => e.isSelected) ?? []);
|
|
213
|
+
this.value.set(value);
|
|
214
|
+
this.onChange?.(this.value());
|
|
215
|
+
}
|
|
216
|
+
treeNodeToValue(nodes) {
|
|
217
|
+
return this.fullArrayToValue(nodes.map(n => n.origin['data']));
|
|
218
|
+
}
|
|
219
|
+
fullArrayToValue(fullArray) {
|
|
220
|
+
let value = fullArray.map(n => {
|
|
221
|
+
const res = {};
|
|
222
|
+
for (const key in n) {
|
|
223
|
+
if (key !== "children") {
|
|
224
|
+
res[key] = n[key];
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
return res;
|
|
228
|
+
});
|
|
229
|
+
if (!untracked(this.options.fullValue)) {
|
|
230
|
+
value = fullArray.map(r => r[untracked(this.options.valueField)]);
|
|
231
|
+
}
|
|
232
|
+
if (!this.options.multiple()) {
|
|
233
|
+
value = value?.[0];
|
|
234
|
+
}
|
|
235
|
+
return value;
|
|
236
|
+
}
|
|
237
|
+
hasExpanded(node) {
|
|
238
|
+
return node.isExpanded || node.children.some(c => this.hasExpanded(c));
|
|
239
|
+
}
|
|
240
|
+
expand(node, expanded) {
|
|
241
|
+
node.isExpanded = expanded;
|
|
242
|
+
node.children.forEach(c => this.expand(c, expanded));
|
|
243
|
+
}
|
|
244
|
+
onContextMenu(e) {
|
|
245
|
+
if (this.menu) {
|
|
246
|
+
this.menuNodeDs = { node: e.node?.origin["data"], level: e.node?.level };
|
|
247
|
+
this.menus().forEach((m, i) => {
|
|
248
|
+
this.bindWithConfig(this.options.menus()[i], { options: m, snapshot: true, tempDataSource: this.menuNodeDs });
|
|
249
|
+
});
|
|
250
|
+
this.menuService.create(e.event, this.menu);
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
menuClick(options) {
|
|
254
|
+
if (options.confirm()) {
|
|
255
|
+
this.modal.confirm({
|
|
256
|
+
nzContent: options.confirmText(),
|
|
257
|
+
nzOnOk: () => {
|
|
258
|
+
this.triggeEvents("treeNodeMenuClick", this.menuNodeDs, options.triggeEvents()).subscribe();
|
|
259
|
+
}
|
|
260
|
+
});
|
|
261
|
+
}
|
|
262
|
+
else {
|
|
263
|
+
this.triggeEvents("treeNodeMenuClick", this.menuNodeDs, options.triggeEvents()).subscribe();
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
onInputTreeChange() {
|
|
267
|
+
const value = this.treeNodeToValue((this.options.multiple() ? this.treeSelect?.getCheckedNodeList() : this.treeSelect?.getSelectedNodeList()) ?? []);
|
|
268
|
+
this.value.set(value);
|
|
269
|
+
this.onChange?.(this.value());
|
|
270
|
+
}
|
|
271
|
+
onCascaderChange(v) {
|
|
272
|
+
const value = this.fullArrayToValue(this.options.multiple() ? v.map((e) => this.treeNodeMap().get(e[e.length - 1])['data']) : [this.treeNodeMap().get(v[v.length - 1])['data']]);
|
|
273
|
+
this.value.set(value);
|
|
274
|
+
this.onChange?.(this.value());
|
|
275
|
+
}
|
|
276
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.2", ngImport: i0, type: TreeSelector, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
277
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.2", type: TreeSelector, isStandalone: true, selector: "axis-tree-selector", inputs: { searchValue: { classPropertyName: "searchValue", publicName: "searchValue", isSignal: true, isRequired: false, transformFunction: null }, selectValue: { classPropertyName: "selectValue", publicName: "selectValue", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { searchValue: "searchValueChange", selectValue: "selectValueChange" }, viewQueries: [{ propertyName: "treeSelect", first: true, predicate: NzTreeSelectComponent, descendants: true }, { propertyName: "menu", first: true, predicate: NzDropdownMenuComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "@switch (options.type() ) {\n@case (\"tree\") {\n<div class=\"tree-box\">\n @if (options.title()) {\n <div class=\"title-container\">{{options.title()}}</div>\n }\n @if (options.showSearch()) {\n <div class=\"search-inp\">\n <input type=\"text\" nz-input placeholder=\"\u641C\u7D22\" [(ngModel)]=\"searchValue\" nzVariant=\"borderless\" nzSize=\"small\" />\n </div>\n }\n <div class=\"tree-body\">\n <nz-tree [nzSearchValue]=\"searchValue()??''\" [nzTreeTemplate]=\"optionItem\"\n [nzHideUnMatched]=\"options.hideUnMatched()\" [nzData]=\"treeData()\" nzBlockNode\n [nzSelectedKeys]=\"selectedKeys()\" [nzMultiple]=\"options.multiple()\" [nzShowLine]=\"options.showLine()\"\n (nzClick)=\"nodeClick($event)\" (nzContextMenu)=\"onContextMenu($event)\">\n </nz-tree>\n </div>\n</div>\n<nz-dropdown-menu>\n <ul nz-menu>\n @for (m of menus(); track $index) {\n @if (m.inuse()) {\n <li nz-menu-item [nzDisabled]=\"m.disabled()\" [nzDanger]=\"m.danger()\" (click)=\"menuClick(m)\">\n @if (m.icon()) {\n <ng-container [axisDynamic]=\"m.icon()\"></ng-container>\n }\n {{m.title()}}\n </li>\n }\n }\n </ul>\n</nz-dropdown-menu>\n}\n@case (\"input-tree\") {\n<nz-tree-select [nzNodes]=\"treeData()\" [nzAllowClear]=\"options.allowClear()\" [nzSize]=\"options.size()\"\n [nzVariant]=\"options.variant()\" [nzShowSearch]=\"options.showSearch()\" [nzShowLine]=\"options.showLine()\"\n [nzPlaceHolder]=\"options.placeHolder()\" [nzTreeTemplate]=\"optionItem\" [nzCheckable]=\"options.multiple()\"\n [nzMaxTagCount]=\"options.maxSelectCount()\" [nzHideUnMatched]=\"options.hideUnMatched()\"\n [nzDisabled]=\"options.disabled()\" [(ngModel)]=\"selectValue\" (ngModelChange)=\"onInputTreeChange()\"></nz-tree-select>\n}\n@case (\"cascader\"){\n<nz-cascader style=\"width: 100%;\" [nzOptions]=\"treeData()\" [(ngModel)]=\"selectValue\"\n (ngModelChange)=\"onCascaderChange($event)\" [nzMultiple]=\"options.multiple()\"\n [nzMaxTagCount]=\"options.maxSelectCount()\" [nzAllowClear]=\"options.allowClear()\" [nzChangeOn]=\"changeOn\"\n [nzDisabled]=\"options.disabled()\" nzLabelProperty=\"title\" [nzPlaceHolder]=\"options.placeHolder()\"\n [nzShowSearch]=\"options.showSearch()\" [nzSize]=\"options.size()\" nzValueProperty=\"key\"\n [nzVariant]=\"options.variant()\" [nzExpandTrigger]=\"options.expandTrigger()\"\n [nzOptionRender]=\"optionItem\"></nz-cascader>\n}\n}\n<ng-template #optionItem let-option>\n <div class=\"node-item\" nz-flex nzGap=\"4px\">\n @if (option.icon) {\n <ng-container [axisDynamic]=\"option.icon\"></ng-container>\n }\n <span [innerHTML]=\"option.title | nzHighlight: searchValue()??'' : 'i' : 'highlight'\"></span>\n @if (options.type() != 'cascader' && option.children.length) {\n <a class=\"expand-button\" nz-button nzType=\"text\" nzSize=\"small\" nzShape=\"circle\"\n (click)=\"$event.stopPropagation(); expand(option,!hasExpanded(option))\">\n <nz-icon [nzType]=\"hasExpanded(option)?'shrink':'arrows-alt'\"></nz-icon>\n </a>\n }\n </div>\n</ng-template>", styles: [":host{display:block;width:100%}.title-container{padding:20px;border-bottom:.5px solid rgba(128,128,128,.3);font-weight:500;font-size:16px}::ng-deep .highlight{color:#f50}.tree-box{height:100%;display:flex;flex-direction:column}.tree-body{flex:1;overflow:auto}.expand-button{opacity:0}.node-item{width:100%}.node-item:hover .expand-button{opacity:1}.node-item span{flex:1;white-space:nowrap}\n"], dependencies: [{ kind: "ngmodule", type: NzInputModule }, { kind: "directive", type: i1.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzVariant", "nzSize", "nzStepperless", "nzStatus", "disabled"], exportAs: ["nzInput"] }, { kind: "directive", type: DynamicDirective, selector: "[axisDynamic]", inputs: ["axisDynamic", "standalone", "isDesign"], exportAs: ["axisDynamic"] }, { kind: "ngmodule", type: NzTreeModule }, { kind: "component", type: i2.NzTreeComponent, selector: "nz-tree", inputs: ["nzShowIcon", "nzHideUnMatched", "nzBlockNode", "nzExpandAll", "nzSelectMode", "nzCheckStrictly", "nzShowExpand", "nzShowLine", "nzCheckable", "nzAsyncData", "nzDraggable", "nzMultiple", "nzExpandedIcon", "nzVirtualItemSize", "nzVirtualMaxBufferPx", "nzVirtualMinBufferPx", "nzVirtualHeight", "nzTreeTemplate", "nzBeforeDrop", "nzData", "nzExpandedKeys", "nzSelectedKeys", "nzCheckedKeys", "nzSearchValue", "nzSearchFunc"], outputs: ["nzExpandedKeysChange", "nzSelectedKeysChange", "nzCheckedKeysChange", "nzSearchValueChange", "nzClick", "nzDblClick", "nzContextMenu", "nzCheckboxChange", "nzExpandChange", "nzOnDragStart", "nzOnDragEnter", "nzOnDragOver", "nzOnDragLeave", "nzOnDrop", "nzOnDragEnd"], exportAs: ["nzTree"] }, { kind: "ngmodule", type: NzDropDownModule }, { kind: "directive", type: i3.NzMenuDirective, selector: "[nz-menu]", inputs: ["nzInlineIndent", "nzTheme", "nzMode", "nzInlineCollapsed", "nzSelectable"], outputs: ["nzClick"], exportAs: ["nzMenu"] }, { kind: "component", type: i3.NzMenuItemComponent, selector: "[nz-menu-item]", inputs: ["nzPaddingLeft", "nzDisabled", "nzSelected", "nzDanger", "nzMatchRouterExact", "nzMatchRouter"], exportAs: ["nzMenuItem"] }, { kind: "component", type: i4.NzDropdownMenuComponent, selector: "nz-dropdown-menu", exportAs: ["nzDropdownMenu"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i5.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i5.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i5.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: NzIconModule }, { kind: "directive", type: i6.NzIconDirective, selector: "nz-icon,[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "ngmodule", type: NzButtonModule }, { kind: "component", type: i7.NzButtonComponent, selector: "button[nz-button], a[nz-button]", inputs: ["nzBlock", "nzGhost", "nzSearch", "nzLoading", "nzDanger", "disabled", "tabIndex", "nzType", "nzShape", "nzSize"], exportAs: ["nzButton"] }, { kind: "directive", type: i8.ɵNzTransitionPatchDirective, selector: "[nz-button], [nz-icon], nz-icon, [nz-menu-item], [nz-submenu], nz-select-top-control, nz-select-placeholder, nz-input-group", inputs: ["hidden"] }, { kind: "ngmodule", type: NzFlexModule }, { kind: "directive", type: i9.NzFlexDirective, selector: "[nz-flex],nz-flex", inputs: ["nzVertical", "nzJustify", "nzAlign", "nzGap", "nzWrap", "nzFlex"], exportAs: ["nzFlex"] }, { kind: "ngmodule", type: NzTreeSelectModule }, { kind: "component", type: i10.NzTreeSelectComponent, selector: "nz-tree-select", inputs: ["nzId", "nzAllowClear", "nzShowExpand", "nzShowLine", "nzDropdownMatchSelectWidth", "nzCheckable", "nzHideUnMatched", "nzShowIcon", "nzShowSearch", "nzDisabled", "nzAsyncData", "nzMultiple", "nzDefaultExpandAll", "nzCheckStrictly", "nzVirtualItemSize", "nzVirtualMaxBufferPx", "nzVirtualMinBufferPx", "nzVirtualHeight", "nzExpandedIcon", "nzNotFoundContent", "nzNodes", "nzOpen", "nzSize", "nzVariant", "nzPlaceHolder", "nzDropdownStyle", "nzDropdownClassName", "nzBackdrop", "nzStatus", "nzPlacement", "nzExpandedKeys", "nzDisplayWith", "nzMaxTagCount", "nzMaxTagPlaceholder", "nzTreeTemplate"], outputs: ["nzOpenChange", "nzCleared", "nzRemoved", "nzExpandChange", "nzTreeClick", "nzTreeCheckboxChange"], exportAs: ["nzTreeSelect"] }, { kind: "ngmodule", type: NzCascaderModule }, { kind: "component", type: i11.NzCascaderComponent, selector: "nz-cascader, [nz-cascader]", inputs: ["nzOptionRender", "nzShowInput", "nzShowArrow", "nzAllowClear", "nzAutoFocus", "nzChangeOnSelect", "nzDisabled", "nzColumnClassName", "nzExpandTrigger", "nzValueProperty", "nzLabelProperty", "nzLabelRender", "nzVariant", "nzNotFoundContent", "nzSize", "nzBackdrop", "nzShowSearch", "nzPlaceHolder", "nzMenuClassName", "nzMenuStyle", "nzMouseLeaveDelay", "nzMouseEnterDelay", "nzStatus", "nzMultiple", "nzMaxTagCount", "nzPlacement", "nzTriggerAction", "nzChangeOn", "nzLoadData", "nzDisplayWith", "nzSuffixIcon", "nzExpandIcon", "nzOptions"], outputs: ["nzVisibleChange", "nzSelectionChange", "nzRemoved", "nzClear"], exportAs: ["nzCascader"] }, { kind: "ngmodule", type: NzModalModule }, { kind: "pipe", type: NzHighlightPipe, name: "nzHighlight" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
278
|
+
}
|
|
279
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.2", ngImport: i0, type: TreeSelector, decorators: [{
|
|
280
|
+
type: Component,
|
|
281
|
+
args: [{ selector: 'axis-tree-selector', imports: [NzInputModule, DynamicDirective, NzTreeModule, NzDropDownModule, FormsModule, NzHighlightPipe, NzIconModule, NzButtonModule, NzFlexModule, NzTreeSelectModule, NzCascaderModule, NzModalModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "@switch (options.type() ) {\n@case (\"tree\") {\n<div class=\"tree-box\">\n @if (options.title()) {\n <div class=\"title-container\">{{options.title()}}</div>\n }\n @if (options.showSearch()) {\n <div class=\"search-inp\">\n <input type=\"text\" nz-input placeholder=\"\u641C\u7D22\" [(ngModel)]=\"searchValue\" nzVariant=\"borderless\" nzSize=\"small\" />\n </div>\n }\n <div class=\"tree-body\">\n <nz-tree [nzSearchValue]=\"searchValue()??''\" [nzTreeTemplate]=\"optionItem\"\n [nzHideUnMatched]=\"options.hideUnMatched()\" [nzData]=\"treeData()\" nzBlockNode\n [nzSelectedKeys]=\"selectedKeys()\" [nzMultiple]=\"options.multiple()\" [nzShowLine]=\"options.showLine()\"\n (nzClick)=\"nodeClick($event)\" (nzContextMenu)=\"onContextMenu($event)\">\n </nz-tree>\n </div>\n</div>\n<nz-dropdown-menu>\n <ul nz-menu>\n @for (m of menus(); track $index) {\n @if (m.inuse()) {\n <li nz-menu-item [nzDisabled]=\"m.disabled()\" [nzDanger]=\"m.danger()\" (click)=\"menuClick(m)\">\n @if (m.icon()) {\n <ng-container [axisDynamic]=\"m.icon()\"></ng-container>\n }\n {{m.title()}}\n </li>\n }\n }\n </ul>\n</nz-dropdown-menu>\n}\n@case (\"input-tree\") {\n<nz-tree-select [nzNodes]=\"treeData()\" [nzAllowClear]=\"options.allowClear()\" [nzSize]=\"options.size()\"\n [nzVariant]=\"options.variant()\" [nzShowSearch]=\"options.showSearch()\" [nzShowLine]=\"options.showLine()\"\n [nzPlaceHolder]=\"options.placeHolder()\" [nzTreeTemplate]=\"optionItem\" [nzCheckable]=\"options.multiple()\"\n [nzMaxTagCount]=\"options.maxSelectCount()\" [nzHideUnMatched]=\"options.hideUnMatched()\"\n [nzDisabled]=\"options.disabled()\" [(ngModel)]=\"selectValue\" (ngModelChange)=\"onInputTreeChange()\"></nz-tree-select>\n}\n@case (\"cascader\"){\n<nz-cascader style=\"width: 100%;\" [nzOptions]=\"treeData()\" [(ngModel)]=\"selectValue\"\n (ngModelChange)=\"onCascaderChange($event)\" [nzMultiple]=\"options.multiple()\"\n [nzMaxTagCount]=\"options.maxSelectCount()\" [nzAllowClear]=\"options.allowClear()\" [nzChangeOn]=\"changeOn\"\n [nzDisabled]=\"options.disabled()\" nzLabelProperty=\"title\" [nzPlaceHolder]=\"options.placeHolder()\"\n [nzShowSearch]=\"options.showSearch()\" [nzSize]=\"options.size()\" nzValueProperty=\"key\"\n [nzVariant]=\"options.variant()\" [nzExpandTrigger]=\"options.expandTrigger()\"\n [nzOptionRender]=\"optionItem\"></nz-cascader>\n}\n}\n<ng-template #optionItem let-option>\n <div class=\"node-item\" nz-flex nzGap=\"4px\">\n @if (option.icon) {\n <ng-container [axisDynamic]=\"option.icon\"></ng-container>\n }\n <span [innerHTML]=\"option.title | nzHighlight: searchValue()??'' : 'i' : 'highlight'\"></span>\n @if (options.type() != 'cascader' && option.children.length) {\n <a class=\"expand-button\" nz-button nzType=\"text\" nzSize=\"small\" nzShape=\"circle\"\n (click)=\"$event.stopPropagation(); expand(option,!hasExpanded(option))\">\n <nz-icon [nzType]=\"hasExpanded(option)?'shrink':'arrows-alt'\"></nz-icon>\n </a>\n }\n </div>\n</ng-template>", styles: [":host{display:block;width:100%}.title-container{padding:20px;border-bottom:.5px solid rgba(128,128,128,.3);font-weight:500;font-size:16px}::ng-deep .highlight{color:#f50}.tree-box{height:100%;display:flex;flex-direction:column}.tree-body{flex:1;overflow:auto}.expand-button{opacity:0}.node-item{width:100%}.node-item:hover .expand-button{opacity:1}.node-item span{flex:1;white-space:nowrap}\n"] }]
|
|
282
|
+
}], ctorParameters: () => [], propDecorators: { treeSelect: [{
|
|
283
|
+
type: ViewChild,
|
|
284
|
+
args: [NzTreeSelectComponent]
|
|
285
|
+
}], menu: [{
|
|
286
|
+
type: ViewChild,
|
|
287
|
+
args: [NzDropdownMenuComponent]
|
|
288
|
+
}] } });
|
|
289
|
+
|
|
290
|
+
/**
|
|
291
|
+
* Generated bundle index. Do not edit.
|
|
292
|
+
*/
|
|
293
|
+
|
|
294
|
+
export { TreeSelector };
|
|
295
|
+
//# sourceMappingURL=ngx-axis-appforge-axis-components-tree-selector.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ngx-axis-appforge-axis-components-tree-selector.mjs","sources":["../../../axis-components/tree-selector/tree-selector.options.ts","../../../axis-components/tree-selector/tree-selector.ts","../../../axis-components/tree-selector/tree-selector.html","../../../axis-components/tree-selector/ngx-axis-appforge-axis-components-tree-selector.ts"],"sourcesContent":["import { signal } from \"@angular/core\";\nimport { ValueAccessOptions, TriggeEventsOptions } from \"ngx-axis-appforge/core\";\n\nexport class TreeSelectorOptions extends ValueAccessOptions {\n\n\n readonly labelField = signal(\"title\");\n readonly valueField = signal(\"key\");\n readonly selectableField = signal(\"selectable\");\n readonly iconField = signal(\"icon\");\n readonly fullValue = signal(false);\n readonly levelStart = signal(0);\n readonly levelEnd = signal<number | null>(null);\n readonly data = signal<any>(undefined);\n readonly nodeFn = signal<string | undefined>(undefined);\n\n readonly selectAbleLevel = signal<string>(\"\");\n readonly multiple = signal(false);\n readonly maxSelectCount = signal(Number.MAX_VALUE);\n readonly defaultFirst = signal(false);\n readonly allowClear = signal(true);\n\n readonly type = signal<\"tree\" | \"input-tree\" | \"cascader\">(\"tree\");\n readonly showSearch = signal(true);\n readonly hideUnMatched = signal(true);\n readonly showLine = signal(false);\n\n readonly title = signal(\"\");\n readonly expandedLevel = signal<number | null>(null);\n\n readonly placeHolder = signal(\"\");\n readonly size = signal<'large' | 'small' | 'default'>(\"default\");\n readonly variant = signal<'outlined' | 'borderless' | 'filled' | 'underlined'>(\"outlined\");\n\n readonly expandTrigger = signal<'click' | 'hover'>(\"click\");\n\n readonly menus = signal<TreeNodeMenuOptions[]>([]);\n\n}\n\nexport class TreeNodeMenuOptions {\n inuse = signal(true);\n title = signal(\"未命名\");\n icon = signal<any>(undefined);\n danger = signal(false);\n confirm = signal(false);\n confirmText = signal(\"是否确认?\");\n disabled = signal(false);\n triggeEvents = signal<TriggeEventsOptions | undefined>(undefined);\n}","import { ChangeDetectionStrategy, Component, computed, effect, inject, model, signal, untracked, ViewChild } from '@angular/core';\nimport { TreeNodeMenuOptions, TreeSelectorOptions } from './tree-selector.options';\nimport { copy, DynamicDirective, fn, recursionArray, ValueAccess } from 'ngx-axis-appforge/core';\nimport { NzInputModule } from 'ng-zorro-antd/input';\nimport { NzTreeModule, NzTreeNodeOptions } from 'ng-zorro-antd/tree';\nimport { NzContextMenuService, NzDropdownMenuComponent, NzDropDownModule } from 'ng-zorro-antd/dropdown';\nimport { FormsModule } from '@angular/forms';\nimport { NzFormatEmitEvent, NzTreeNode, NzTreeNodeKey } from 'ng-zorro-antd/core/tree';\nimport { NzHighlightPipe } from 'ng-zorro-antd/core/highlight';\nimport { NzIconModule } from 'ng-zorro-antd/icon';\nimport { NzButtonModule } from 'ng-zorro-antd/button';\nimport { NzFlexModule } from 'ng-zorro-antd/flex';\nimport { NzTreeSelectComponent, NzTreeSelectModule } from 'ng-zorro-antd/tree-select';\nimport { NzCascaderModule, NzCascaderOption } from 'ng-zorro-antd/cascader';\nimport { NzModalModule, NzModalService } from 'ng-zorro-antd/modal';\n\n@Component({\n selector: 'axis-tree-selector',\n imports: [NzInputModule, DynamicDirective, NzTreeModule, NzDropDownModule, FormsModule, NzHighlightPipe, NzIconModule, NzButtonModule, NzFlexModule, NzTreeSelectModule, NzCascaderModule, NzModalModule],\n templateUrl: './tree-selector.html',\n styleUrl: './tree-selector.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TreeSelector extends ValueAccess<TreeSelectorOptions> {\n\n constructor() {\n super();\n effect(() => {\n if (untracked(this.options.defaultFirst)) {\n let fullArray: any[] = [];\n recursionArray(this.treeData(), {\n before: n => {\n if (n.selectable) {\n fullArray.push(n.data);\n return false;\n }\n return undefined;\n }\n });\n const value = this.fullArrayToValue(fullArray);\n if (value != null) {\n this.setInitValue(value);\n this.initComponentValue();\n }\n }\n });\n effect(() => this.initComponentValue());\n }\n\n @ViewChild(NzTreeSelectComponent)\n private treeSelect?: NzTreeSelectComponent;\n\n @ViewChild(NzDropdownMenuComponent)\n private menu?: NzDropdownMenuComponent;\n private readonly menuService = inject(NzContextMenuService);\n private readonly modal = inject(NzModalService);\n private menuNodeDs?: any;\n\n protected override options: TreeSelectorOptions = new TreeSelectorOptions();\n readonly menus = computed(() => this.options.menus().map(_ => new TreeNodeMenuOptions()));\n readonly searchValue = model<string>();\n readonly treeData = computed(() => this.buildTreeData());\n readonly selectedKeys = signal<NzTreeNodeKey[]>([]);\n readonly selectValue = model<any>();\n readonly treeNodeMap = computed(() => {\n const map = new Map<NzTreeNodeKey, NzTreeNodeOptions>();\n recursionArray(this.treeData(), {\n before: n => {\n map.set(n.key, n);\n }\n });\n return map;\n });\n\n readonly changeOn = (option: NzCascaderOption, level: number): boolean => {\n return option['selectable'];\n }\n\n override writeValue(value: any): void {\n super.writeValue(value);\n this.initComponentValue();\n }\n\n private buildTreeData(): NzTreeNodeOptions[] {\n let data = this.options.data() ? copy(this.options.data(), true) : [];\n if (this.options.levelStart() < 0) {\n data = [{\n [this.options.labelField()]: \"全部\",\n [this.options.valueField()]: \"\",\n children: data,\n }];\n }\n const selectableLevels = this.options.selectAbleLevel()?.split(\",\").filter(l => l).map(l => +l.trim());\n const treeData: NzTreeNodeOptions[] = [];\n recursionArray(data, {\n before: (n, l, parent) => {\n const nodeData: any = {};\n if (this.options.nodeFn()) {\n fn(this.options.nodeFn()!, { node: n, level: l });\n }\n for (const key in n) {\n if (key !== \"children\") {\n nodeData[key] = n[key];\n delete n[key];\n }\n }\n if (l >= this.options.levelStart() || l <= (this.options.levelEnd() ?? Infinity)) {\n if (l == this.options.levelStart()) {\n treeData.push(n);\n }\n if (l == (this.options.levelEnd() ?? Infinity) || (this.options.type() == 'cascader' && selectableLevels?.length && selectableLevels[selectableLevels.length - 1] == l)) {\n n.isLeaf = true;\n n.expanded = false;\n delete n.children;\n } else {\n n.isLeaf = !n.children?.length;\n n.expanded = l < (this.options.expandedLevel() ?? Infinity);\n }\n n.selectable = n[this.options.selectableField()] ?? true;\n if (n.selectable && this.options.selectAbleLevel()) {\n if (!selectableLevels.includes(l)) {\n n.selectable = false;\n }\n }\n n.key = nodeData[this.options.valueField()];\n n.title = nodeData[this.options.labelField()];\n n.icon = nodeData[this.options.iconField()];\n n.keys = (parent?.keys ?? []).concat([n.key]);\n n.data = nodeData;\n }\n }\n }, this.options.levelStart() < 0 ? -1 : 0);\n return treeData;\n }\n\n private initComponentValue() {\n let value = untracked(this.value);\n if (!untracked(this.options.multiple)) {\n value = [value];\n }\n if (untracked(this.options.fullValue)) {\n value = value.map((e: any) => e[untracked(this.options.valueField)]);\n }\n if (value) {\n switch (untracked(this.options.type)) {\n case \"tree\":\n this.selectedKeys.set(value);\n break;\n case \"input-tree\":\n if (!untracked(this.options.multiple)) {\n value = value[0];\n }\n this.selectValue.set(value);\n break;\n case \"cascader\":\n value = value.map((e: any) => this.treeNodeMap().get(e)?.['keys']);\n if (!untracked(this.options.multiple)) {\n value = value[0];\n }\n this.selectValue.set(value);\n break;\n }\n }\n }\n\n nodeClick(e: NzFormatEmitEvent) {\n if (!e.node!.isSelectable) {\n if (e.node && !e.node.isLeaf) {\n e.node!.isExpanded = !e.node!.isExpanded;\n }\n return;\n } else if (!e.node!.isSelected && e.keys?.length == 0 && !this.options.allowClear()) {\n e.node!.isSelected = true;\n return;\n }\n if (this.options.readonly() || this.options.disabled()) {\n e.node!.isSelected = false;\n return;\n }\n const value = this.treeNodeToValue(e.selectedKeys?.filter(e => e.isSelected) ?? []);\n this.value.set(value);\n this.onChange?.(this.value());\n }\n\n private treeNodeToValue(nodes: NzTreeNode[]): any {\n return this.fullArrayToValue(nodes.map(n => n.origin['data']));\n }\n\n private fullArrayToValue(fullArray: any[]): any {\n let value: any = fullArray.map(n => {\n const res: any = {};\n for (const key in n) {\n if (key !== \"children\") {\n res[key] = n[key];\n }\n }\n return res;\n });\n if (!untracked(this.options.fullValue)) {\n value = fullArray.map(r => r[untracked(this.options.valueField)]);\n }\n if (!this.options.multiple()) {\n value = value?.[0];\n }\n return value;\n }\n\n hasExpanded(node: NzTreeNode): boolean {\n return node.isExpanded || node.children.some(c => this.hasExpanded(c));\n }\n\n expand(node: NzTreeNode, expanded: boolean) {\n node.isExpanded = expanded;\n node.children.forEach(c => this.expand(c, expanded));\n }\n\n onContextMenu(e: NzFormatEmitEvent) {\n if (this.menu) {\n this.menuNodeDs = { node: e.node?.origin[\"data\"], level: e.node?.level };\n this.menus().forEach((m, i) => {\n this.bindWithConfig(this.options.menus()[i], { options: m, snapshot: true, tempDataSource: this.menuNodeDs });\n });\n this.menuService.create(e.event as MouseEvent, this.menu);\n }\n }\n\n menuClick(options: TreeNodeMenuOptions) {\n if (options.confirm()) {\n this.modal.confirm({\n nzContent: options.confirmText(),\n nzOnOk: () => {\n this.triggeEvents(\"treeNodeMenuClick\", this.menuNodeDs, options.triggeEvents()).subscribe();\n }\n })\n } else {\n this.triggeEvents(\"treeNodeMenuClick\", this.menuNodeDs, options.triggeEvents()).subscribe();\n }\n }\n\n onInputTreeChange() {\n const value = this.treeNodeToValue((this.options.multiple() ? this.treeSelect?.getCheckedNodeList() : this.treeSelect?.getSelectedNodeList()) ?? []);\n this.value.set(value);\n this.onChange?.(this.value());\n }\n\n onCascaderChange(v: any[]) {\n const value = this.fullArrayToValue(this.options.multiple() ? v.map((e: any[]) => this.treeNodeMap().get(e[e.length - 1])!['data']) : [this.treeNodeMap().get(v[v.length - 1])!['data']]);\n this.value.set(value);\n this.onChange?.(this.value());\n }\n\n}\n","@switch (options.type() ) {\n@case (\"tree\") {\n<div class=\"tree-box\">\n @if (options.title()) {\n <div class=\"title-container\">{{options.title()}}</div>\n }\n @if (options.showSearch()) {\n <div class=\"search-inp\">\n <input type=\"text\" nz-input placeholder=\"搜索\" [(ngModel)]=\"searchValue\" nzVariant=\"borderless\" nzSize=\"small\" />\n </div>\n }\n <div class=\"tree-body\">\n <nz-tree [nzSearchValue]=\"searchValue()??''\" [nzTreeTemplate]=\"optionItem\"\n [nzHideUnMatched]=\"options.hideUnMatched()\" [nzData]=\"treeData()\" nzBlockNode\n [nzSelectedKeys]=\"selectedKeys()\" [nzMultiple]=\"options.multiple()\" [nzShowLine]=\"options.showLine()\"\n (nzClick)=\"nodeClick($event)\" (nzContextMenu)=\"onContextMenu($event)\">\n </nz-tree>\n </div>\n</div>\n<nz-dropdown-menu>\n <ul nz-menu>\n @for (m of menus(); track $index) {\n @if (m.inuse()) {\n <li nz-menu-item [nzDisabled]=\"m.disabled()\" [nzDanger]=\"m.danger()\" (click)=\"menuClick(m)\">\n @if (m.icon()) {\n <ng-container [axisDynamic]=\"m.icon()\"></ng-container>\n }\n {{m.title()}}\n </li>\n }\n }\n </ul>\n</nz-dropdown-menu>\n}\n@case (\"input-tree\") {\n<nz-tree-select [nzNodes]=\"treeData()\" [nzAllowClear]=\"options.allowClear()\" [nzSize]=\"options.size()\"\n [nzVariant]=\"options.variant()\" [nzShowSearch]=\"options.showSearch()\" [nzShowLine]=\"options.showLine()\"\n [nzPlaceHolder]=\"options.placeHolder()\" [nzTreeTemplate]=\"optionItem\" [nzCheckable]=\"options.multiple()\"\n [nzMaxTagCount]=\"options.maxSelectCount()\" [nzHideUnMatched]=\"options.hideUnMatched()\"\n [nzDisabled]=\"options.disabled()\" [(ngModel)]=\"selectValue\" (ngModelChange)=\"onInputTreeChange()\"></nz-tree-select>\n}\n@case (\"cascader\"){\n<nz-cascader style=\"width: 100%;\" [nzOptions]=\"treeData()\" [(ngModel)]=\"selectValue\"\n (ngModelChange)=\"onCascaderChange($event)\" [nzMultiple]=\"options.multiple()\"\n [nzMaxTagCount]=\"options.maxSelectCount()\" [nzAllowClear]=\"options.allowClear()\" [nzChangeOn]=\"changeOn\"\n [nzDisabled]=\"options.disabled()\" nzLabelProperty=\"title\" [nzPlaceHolder]=\"options.placeHolder()\"\n [nzShowSearch]=\"options.showSearch()\" [nzSize]=\"options.size()\" nzValueProperty=\"key\"\n [nzVariant]=\"options.variant()\" [nzExpandTrigger]=\"options.expandTrigger()\"\n [nzOptionRender]=\"optionItem\"></nz-cascader>\n}\n}\n<ng-template #optionItem let-option>\n <div class=\"node-item\" nz-flex nzGap=\"4px\">\n @if (option.icon) {\n <ng-container [axisDynamic]=\"option.icon\"></ng-container>\n }\n <span [innerHTML]=\"option.title | nzHighlight: searchValue()??'' : 'i' : 'highlight'\"></span>\n @if (options.type() != 'cascader' && option.children.length) {\n <a class=\"expand-button\" nz-button nzType=\"text\" nzSize=\"small\" nzShape=\"circle\"\n (click)=\"$event.stopPropagation(); expand(option,!hasExpanded(option))\">\n <nz-icon [nzType]=\"hasExpanded(option)?'shrink':'arrows-alt'\"></nz-icon>\n </a>\n }\n </div>\n</ng-template>","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './tree-selector';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAGM,MAAO,mBAAoB,SAAQ,kBAAkB,CAAA;AAG9C,IAAA,UAAU,GAAG,MAAM,CAAC,OAAO,sDAAC;AAC5B,IAA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