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,132 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { signal, inject, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
+
import { ValueAccessOptions, ValueAccess, updateAndValidAll, DynamicDirective, AXIS_FORM_REGISTE_CONTROL_TOKEN } from 'ngx-axis-appforge/core';
|
|
4
|
+
import * as i1 from '@angular/forms';
|
|
5
|
+
import { FormBuilder, ReactiveFormsModule } from '@angular/forms';
|
|
6
|
+
import { bufferWhen, debounceTime, map, Subject, of } from 'rxjs';
|
|
7
|
+
import { NzModalService, NzModalModule } from 'ng-zorro-antd/modal';
|
|
8
|
+
|
|
9
|
+
class FormOptions extends ValueAccessOptions {
|
|
10
|
+
submitConfirm = signal(true, ...(ngDevMode ? [{ debugName: "submitConfirm" }] : []));
|
|
11
|
+
child = signal(undefined, ...(ngDevMode ? [{ debugName: "child" }] : []));
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
class Form extends ValueAccess {
|
|
15
|
+
constructor() {
|
|
16
|
+
super();
|
|
17
|
+
this.addSubscribe(this.fg.valueChanges.subscribe(v => {
|
|
18
|
+
this.onChange?.(v);
|
|
19
|
+
}));
|
|
20
|
+
this.addSubscribe(this.resetSubject.pipe(bufferWhen(() => this.resetSubject.pipe(debounceTime(50))), map(v => v.reduce((a, b) => a || b, false)))
|
|
21
|
+
.subscribe(emitEvent => this.reset(emitEvent)));
|
|
22
|
+
this.addSubscribe(this.fg.statusChanges.subscribe(_ => {
|
|
23
|
+
const { valid, dirty } = this.fg;
|
|
24
|
+
this.triggeEvents("formStatusChange", { status: { valid, dirty } });
|
|
25
|
+
}));
|
|
26
|
+
}
|
|
27
|
+
options = new FormOptions();
|
|
28
|
+
fb = inject(FormBuilder);
|
|
29
|
+
modal = inject(NzModalService);
|
|
30
|
+
fg = this.fb.group({});
|
|
31
|
+
oriValue;
|
|
32
|
+
resetSubject = new Subject();
|
|
33
|
+
writeValue(value) {
|
|
34
|
+
super.writeValue(value);
|
|
35
|
+
this.oriValue = value;
|
|
36
|
+
this.resetSubject.next(false);
|
|
37
|
+
}
|
|
38
|
+
setInitValue(value) {
|
|
39
|
+
super.setInitValue(value);
|
|
40
|
+
if (this.options.initValue() !== undefined) {
|
|
41
|
+
this.oriValue = this.options.initValue();
|
|
42
|
+
this.resetSubject.next(true);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
ngOnInit() {
|
|
46
|
+
this.registValueAccess({
|
|
47
|
+
validFn: (control) => {
|
|
48
|
+
return updateAndValidAll(this.fg, { markAsDirty: control.dirty });
|
|
49
|
+
}
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
registerControl(opt) {
|
|
53
|
+
if (opt.control) {
|
|
54
|
+
this.fg.setControl(opt.name, opt.control, { emitEvent: false });
|
|
55
|
+
}
|
|
56
|
+
let emitEvent = false;
|
|
57
|
+
if (opt.initValue !== undefined) {
|
|
58
|
+
this.oriValue = Object.assign({}, this.oriValue, { [opt.name]: opt.initValue });
|
|
59
|
+
this.registValueAccess({
|
|
60
|
+
initValue: this.oriValue
|
|
61
|
+
});
|
|
62
|
+
emitEvent = true;
|
|
63
|
+
}
|
|
64
|
+
this.resetSubject.next(emitEvent);
|
|
65
|
+
}
|
|
66
|
+
reset(emitEvent = false) {
|
|
67
|
+
this.fg.reset(this.oriValue, { emitEvent: emitEvent, onlySelf: true });
|
|
68
|
+
}
|
|
69
|
+
onEvents(e) {
|
|
70
|
+
const obs = super.onEvents(e);
|
|
71
|
+
if (obs) {
|
|
72
|
+
return;
|
|
73
|
+
}
|
|
74
|
+
switch (e.name) {
|
|
75
|
+
case "validForm":
|
|
76
|
+
if (updateAndValidAll(this.fg)) {
|
|
77
|
+
if (this.options.submitConfirm()) {
|
|
78
|
+
const subject = new Subject();
|
|
79
|
+
this.modal.confirm({
|
|
80
|
+
nzTitle: "确定提交吗?",
|
|
81
|
+
nzOnOk: () => {
|
|
82
|
+
console.log(this.fg.value);
|
|
83
|
+
this.triggeEvents("formValid", { formValue: this.fg.value }, e.triggeEvents).subscribe(subject);
|
|
84
|
+
},
|
|
85
|
+
nzOnCancel: () => {
|
|
86
|
+
subject.next(false);
|
|
87
|
+
subject.complete();
|
|
88
|
+
}
|
|
89
|
+
});
|
|
90
|
+
return subject.asObservable();
|
|
91
|
+
}
|
|
92
|
+
else {
|
|
93
|
+
return this.triggeEvents("formValid", { formValue: this.fg.value }, e.triggeEvents);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
return of(false);
|
|
97
|
+
case "resetForm":
|
|
98
|
+
this.reset(true);
|
|
99
|
+
return of(true);
|
|
100
|
+
}
|
|
101
|
+
return undefined;
|
|
102
|
+
}
|
|
103
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.2", ngImport: i0, type: Form, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
104
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.2", type: Form, isStandalone: true, selector: "axis-form", providers: [
|
|
105
|
+
{
|
|
106
|
+
provide: AXIS_FORM_REGISTE_CONTROL_TOKEN,
|
|
107
|
+
useFactory: (form) => {
|
|
108
|
+
return form.registerControl.bind(form);
|
|
109
|
+
},
|
|
110
|
+
deps: [Form]
|
|
111
|
+
}
|
|
112
|
+
], usesInheritance: true, ngImport: i0, template: "<form [formGroup]=\"fg\">\n <ng-container [axisDynamic]=\"options.child()\"></ng-container>\n</form>", styles: [":host{display:block}\n"], dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: DynamicDirective, selector: "[axisDynamic]", inputs: ["axisDynamic", "standalone", "isDesign"], exportAs: ["axisDynamic"] }, { kind: "ngmodule", type: NzModalModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
113
|
+
}
|
|
114
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.2", ngImport: i0, type: Form, decorators: [{
|
|
115
|
+
type: Component,
|
|
116
|
+
args: [{ selector: 'axis-form', imports: [ReactiveFormsModule, DynamicDirective, NzModalModule], changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
117
|
+
{
|
|
118
|
+
provide: AXIS_FORM_REGISTE_CONTROL_TOKEN,
|
|
119
|
+
useFactory: (form) => {
|
|
120
|
+
return form.registerControl.bind(form);
|
|
121
|
+
},
|
|
122
|
+
deps: [Form]
|
|
123
|
+
}
|
|
124
|
+
], template: "<form [formGroup]=\"fg\">\n <ng-container [axisDynamic]=\"options.child()\"></ng-container>\n</form>", styles: [":host{display:block}\n"] }]
|
|
125
|
+
}], ctorParameters: () => [] });
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* Generated bundle index. Do not edit.
|
|
129
|
+
*/
|
|
130
|
+
|
|
131
|
+
export { Form };
|
|
132
|
+
//# sourceMappingURL=ngx-axis-appforge-axis-components-form.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ngx-axis-appforge-axis-components-form.mjs","sources":["../../../axis-components/form/form.options.ts","../../../axis-components/form/form.ts","../../../axis-components/form/form.html","../../../axis-components/form/ngx-axis-appforge-axis-components-form.ts"],"sourcesContent":["import { signal } from \"@angular/core\";\nimport { ValueAccessOptions } from \"ngx-axis-appforge/core\";\n\nexport class FormOptions extends ValueAccessOptions {\n\n readonly submitConfirm = signal(true);\n readonly child = signal<any>(undefined);\n\n}","import { ChangeDetectionStrategy, Component, inject, OnInit } from '@angular/core';\nimport { AXIS_FORM_REGISTE_CONTROL_TOKEN, DynamicDirective, EventHandlerOptions, RegisteFormControlOptions, updateAndValidAll, ValueAccess } from 'ngx-axis-appforge/core';\nimport { FormOptions } from './form.options';\nimport { AbstractControl, FormBuilder, ReactiveFormsModule } from '@angular/forms';\nimport { bufferWhen, debounceTime, map, Observable, of, Subject } from 'rxjs';\nimport { NzModalModule, NzModalService } from 'ng-zorro-antd/modal';\n\n@Component({\n selector: 'axis-form',\n imports: [ReactiveFormsModule, DynamicDirective, NzModalModule],\n templateUrl: './form.html',\n styleUrl: './form.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: AXIS_FORM_REGISTE_CONTROL_TOKEN,\n useFactory: (form: Form) => {\n return form.registerControl.bind(form);\n },\n deps: [Form]\n }\n ]\n})\nexport class Form extends ValueAccess<FormOptions> implements OnInit {\n\n constructor() {\n super();\n this.addSubscribe(this.fg.valueChanges.subscribe(v => {\n this.onChange?.(v);\n }));\n this.addSubscribe(this.resetSubject.pipe(bufferWhen(() => this.resetSubject.pipe(debounceTime(50))), map(v => v.reduce((a, b) => a || b, false)))\n .subscribe(emitEvent => this.reset(emitEvent)));\n this.addSubscribe(this.fg.statusChanges.subscribe(_ => {\n const { valid, dirty } = this.fg\n this.triggeEvents(\"formStatusChange\", { status: { valid, dirty } });\n }))\n }\n\n protected override options: FormOptions = new FormOptions();\n private readonly fb = inject(FormBuilder);\n private readonly modal = inject(NzModalService);\n readonly fg = this.fb.group({});\n private oriValue: any;\n private resetSubject = new Subject<boolean>();\n\n override writeValue(value: any): void {\n super.writeValue(value);\n this.oriValue = value;\n this.resetSubject.next(false);\n }\n\n override setInitValue(value: any): void {\n super.setInitValue(value);\n if (this.options.initValue() !== undefined) {\n this.oriValue = this.options.initValue();\n this.resetSubject.next(true);\n }\n }\n\n ngOnInit(): void {\n this.registValueAccess({\n validFn: (control: AbstractControl) => {\n return updateAndValidAll(this.fg, { markAsDirty: control.dirty })\n }\n })\n }\n\n registerControl(opt: RegisteFormControlOptions) {\n if (opt.control) {\n this.fg.setControl(opt.name, opt.control, { emitEvent: false });\n }\n let emitEvent = false;\n if (opt.initValue !== undefined) {\n this.oriValue = Object.assign({}, this.oriValue, { [opt.name]: opt.initValue });\n this.registValueAccess({\n initValue: this.oriValue\n });\n emitEvent = true;\n }\n this.resetSubject.next(emitEvent);\n }\n\n reset(emitEvent = false) {\n this.fg.reset(this.oriValue, { emitEvent: emitEvent, onlySelf: true });\n }\n\n override onEvents(e: EventHandlerOptions<any>): Observable<boolean> | undefined {\n const obs = super.onEvents(e);\n if (obs) {\n return;\n }\n switch (e.name) {\n case \"validForm\":\n if (updateAndValidAll(this.fg)) {\n if (this.options.submitConfirm()) {\n const subject = new Subject<boolean>();\n this.modal.confirm({\n nzTitle: \"确定提交吗?\",\n nzOnOk: () => {\n console.log(this.fg.value)\n this.triggeEvents(\"formValid\", { formValue: this.fg.value }, e.triggeEvents).subscribe(subject);\n },\n nzOnCancel: () => {\n subject.next(false);\n subject.complete();\n }\n });\n return subject.asObservable();\n } else {\n return this.triggeEvents(\"formValid\", { formValue: this.fg.value }, e.triggeEvents)\n }\n }\n return of(false);\n case \"resetForm\":\n this.reset(true);\n return of(true);\n }\n return undefined;\n }\n\n}\n","<form [formGroup]=\"fg\">\n <ng-container [axisDynamic]=\"options.child()\"></ng-container>\n</form>","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './form';\n"],"names":[],"mappings":";;;;;;;;AAGM,MAAO,WAAY,SAAQ,kBAAkB,CAAA;AAEtC,IAAA,aAAa,GAAG,MAAM,CAAC,IAAI,yDAAC;AAC5B,IAAA,KAAK,GAAG,MAAM,CAAM,SAAS,iDAAC;AAE1C;;ACeK,MAAO,IAAK,SAAQ,WAAwB,CAAA;AAEhD,IAAA,WAAA,GAAA;AACE,QAAA,KAAK,EAAE;AACP,QAAA,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,EAAE,CAAC,YAAY,CAAC,SAAS,CAAC,CAAC,IAAG;AACnD,YAAA,IAAI,CAAC,QAAQ,GAAG,CAAC,CAAC;SACnB,CAAC,CAAC;QACH,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC,MAAM,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,CAA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AuB,CAAC,MAAM,EAAA,SAAA,EACpC;AACT,wBAAA;AACE,4BAAA,OAAO,EAAE,+BAA+B;AACxC,4BAAA,UAAU,EAAE,CAAC,IAAU,KAAI;gCACzB,OAAO,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,CAAC;6BACvC;AACD,4BAAA,IAAI,EAAE,CAAA,IAAA;AACP;AACF,qBAAA,EAAA,QAAA,EAAA,yGAAA,EAAA,MAAA,EAAA,CAAA,wBAAA,CAAA,EAAA;;;AErBH;;AAEG;;;;"}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { FunFieldValueBase, FormValidators, baseFbConfig, baseFunField, BaseDesignSetting, FunField, DynamicDirective, OptionsNode, SimpleMenu, nameCode } from 'ngx-axis-appforge/core';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { computed, ViewChild, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
4
|
+
import * as i1 from '@angular/forms';
|
|
5
|
+
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
6
|
+
import * as i4 from 'ng-zorro-antd/collapse';
|
|
7
|
+
import { NzCollapseModule } from 'ng-zorro-antd/collapse';
|
|
8
|
+
import * as i3 from 'ng-zorro-antd/form';
|
|
9
|
+
import { NzFormModule } from 'ng-zorro-antd/form';
|
|
10
|
+
import * as i6 from 'ng-zorro-antd/input';
|
|
11
|
+
import { NzInputModule } from 'ng-zorro-antd/input';
|
|
12
|
+
import * as i5 from 'ng-zorro-antd/radio';
|
|
13
|
+
import { NzRadioModule } from 'ng-zorro-antd/radio';
|
|
14
|
+
import * as i2 from 'ng-zorro-antd/grid';
|
|
15
|
+
|
|
16
|
+
class Setting extends FunFieldValueBase {
|
|
17
|
+
fg = this.fb.group({
|
|
18
|
+
...baseFbConfig,
|
|
19
|
+
lib: [undefined, FormValidators.requiredFun],
|
|
20
|
+
theme: [undefined, FormValidators.requiredFun],
|
|
21
|
+
icon: [undefined, FormValidators.requiredFun],
|
|
22
|
+
});
|
|
23
|
+
funFields = {
|
|
24
|
+
...baseFunField,
|
|
25
|
+
lib: {
|
|
26
|
+
defaultValue: "antdesign"
|
|
27
|
+
},
|
|
28
|
+
theme: {
|
|
29
|
+
defaultValue: "outline"
|
|
30
|
+
},
|
|
31
|
+
icon: {
|
|
32
|
+
defaultValue: undefined
|
|
33
|
+
},
|
|
34
|
+
};
|
|
35
|
+
lib;
|
|
36
|
+
theme;
|
|
37
|
+
icon;
|
|
38
|
+
preview = computed(() => ({ component: "axis-components/icon", inuse: true, lib: this.lib.computeResult(), theme: this.theme?.computeResult(), icon: this.icon.computeResult() }), ...(ngDevMode ? [{ debugName: "preview" }] : []));
|
|
39
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.2", ngImport: i0, type: Setting, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
40
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.2", type: Setting, isStandalone: true, selector: "axis-design-icon-setting", viewQueries: [{ propertyName: "lib", first: true, predicate: ["lib"], descendants: true, static: true }, { propertyName: "theme", first: true, predicate: ["theme"], descendants: true }, { propertyName: "icon", first: true, predicate: ["icon"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<form [formGroup]=\"fg\" nz-form>\n <nz-collapse [nzBordered]=\"false\">\n <nz-collapse-panel nzHeader=\"\u57FA\u672C\u8BBE\u7F6E\" nzActive>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u56FE\u6807\u5E93\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"lib\" #lib>\n <nz-radio-group ngModel [ngModelOptions]=\"{standalone:true}\" nzSize=\"small\">\n <label nz-radio-button nzValue=\"antdesign\">antdesign</label>\n <label nz-radio-button nzValue=\"iconfont\">iconfont</label>\n </nz-radio-group>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n @if (formValue()?.lib.funMode || formValue()?.lib.originValue == 'antdesign') {\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\u56FE\u6807\u4E3B\u9898</nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"theme\" #theme>\n <nz-radio-group ngModel [ngModelOptions]=\"{standalone:true}\" nzSize=\"small\">\n <label nz-radio-button nzValue=\"outline\">outline</label>\n <label nz-radio-button nzValue=\"fill\">fill</label>\n <label nz-radio-button nzValue=\"twotone\">twotone</label>\n </nz-radio-group>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n }\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\u56FE\u6807</nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"icon\" #icon>\n <nz-input-group style=\"max-width: 200px;\" [nzSuffix]=\"iconPreview\">\n <input autofocus placeholder=\"\u8F93\u5165\u56FE\u6807\uFF0C\u5982 edit\" nz-input ngModel\n [ngModelOptions]=\"{standalone:true}\" />\n </nz-input-group>\n </axis-fun-field>\n <ng-template #iconPreview>\n @if (value()) {\n <ng-container [axisDynamic]=\"preview()\" [standalone]=\"true\"></ng-container>\n }\n </ng-template>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n antdesign \u56FE\u6807\u5E93\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <a target=\"_blank\"\n href=\"https://ng.ant.design/components/icon/zh\">https://ng.ant.design/components/icon/zh</a>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n iconfont \u56FE\u6807\u5E93\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <a target=\"_blank\" href=\"https://www.iconfont.cn/\">https://www.iconfont.cn/</a>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n <axis-base-design-setting [fg]=\"fg\"></axis-base-design-setting>\n </nz-collapse>\n</form>", styles: [""], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.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: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: NzFormModule }, { kind: "directive", type: i2.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }, { kind: "directive", type: i2.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { kind: "directive", type: i3.NzFormDirective, selector: "[nz-form]", inputs: ["nzLayout", "nzNoColon", "nzAutoTips", "nzDisableAutoTips", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap"], exportAs: ["nzForm"] }, { kind: "component", type: i3.NzFormItemComponent, selector: "nz-form-item", exportAs: ["nzFormItem"] }, { kind: "component", type: i3.NzFormLabelComponent, selector: "nz-form-label", inputs: ["nzFor", "nzRequired", "nzNoColon", "nzTooltipTitle", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap"], exportAs: ["nzFormLabel"] }, { kind: "component", type: i3.NzFormControlComponent, selector: "nz-form-control", inputs: ["nzSuccessTip", "nzWarningTip", "nzErrorTip", "nzValidatingTip", "nzExtra", "nzAutoTips", "nzDisableAutoTips", "nzHasFeedback", "nzValidateStatus"], exportAs: ["nzFormControl"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: NzCollapseModule }, { kind: "component", type: i4.NzCollapsePanelComponent, selector: "nz-collapse-panel", inputs: ["nzActive", "nzDisabled", "nzShowArrow", "nzExtra", "nzHeader", "nzExpandedIcon"], outputs: ["nzActiveChange"], exportAs: ["nzCollapsePanel"] }, { kind: "component", type: i4.NzCollapseComponent, selector: "nz-collapse", inputs: ["nzAccordion", "nzBordered", "nzGhost", "nzExpandIconPosition"], exportAs: ["nzCollapse"] }, { kind: "component", type: BaseDesignSetting, selector: "axis-base-design-setting", inputs: ["scopeId", "exclude", "fg"] }, { kind: "component", type: FunField, selector: "axis-fun-field", inputs: ["scopes", "exclude", "scopeId", "onlyFun", "noListen", "disabled", "editTip", "value", "open", "showCreateListenModal", "createListenDataSourceName"], outputs: ["valueChange", "openChange", "showCreateListenModalChange", "createListenDataSourceNameChange"] }, { kind: "ngmodule", type: NzRadioModule }, { kind: "component", type: i5.NzRadioComponent, selector: "[nz-radio],[nz-radio-button]", inputs: ["nzValue", "nzDisabled", "nzAutoFocus", "nz-radio-button"], exportAs: ["nzRadio"] }, { kind: "component", type: i5.NzRadioGroupComponent, selector: "nz-radio-group", inputs: ["nzDisabled", "nzButtonStyle", "nzSize", "nzName"], exportAs: ["nzRadioGroup"] }, { kind: "ngmodule", type: NzInputModule }, { kind: "directive", type: i6.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzVariant", "nzSize", "nzStepperless", "nzStatus", "disabled"], exportAs: ["nzInput"] }, { kind: "component", type: i6.NzInputGroupComponent, selector: "nz-input-group", inputs: ["nzAddOnBeforeIcon", "nzAddOnAfterIcon", "nzPrefixIcon", "nzSuffixIcon", "nzAddOnBefore", "nzAddOnAfter", "nzPrefix", "nzStatus", "nzSuffix", "nzSize", "nzSearch"], exportAs: ["nzInputGroup"] }, { kind: "directive", type: i6.NzInputGroupWhitSuffixOrPrefixDirective, selector: "nz-input-group[nzSuffix], nz-input-group[nzPrefix]" }, { kind: "directive", type: DynamicDirective, selector: "[axisDynamic]", inputs: ["axisDynamic", "standalone", "isDesign"], exportAs: ["axisDynamic"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
41
|
+
}
|
|
42
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.2", ngImport: i0, type: Setting, decorators: [{
|
|
43
|
+
type: Component,
|
|
44
|
+
args: [{ selector: 'axis-design-icon-setting', imports: [FormsModule, NzFormModule, ReactiveFormsModule, NzCollapseModule, BaseDesignSetting, FunField, NzRadioModule, NzInputModule, DynamicDirective], changeDetection: ChangeDetectionStrategy.OnPush, template: "<form [formGroup]=\"fg\" nz-form>\n <nz-collapse [nzBordered]=\"false\">\n <nz-collapse-panel nzHeader=\"\u57FA\u672C\u8BBE\u7F6E\" nzActive>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u56FE\u6807\u5E93\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"lib\" #lib>\n <nz-radio-group ngModel [ngModelOptions]=\"{standalone:true}\" nzSize=\"small\">\n <label nz-radio-button nzValue=\"antdesign\">antdesign</label>\n <label nz-radio-button nzValue=\"iconfont\">iconfont</label>\n </nz-radio-group>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n @if (formValue()?.lib.funMode || formValue()?.lib.originValue == 'antdesign') {\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\u56FE\u6807\u4E3B\u9898</nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"theme\" #theme>\n <nz-radio-group ngModel [ngModelOptions]=\"{standalone:true}\" nzSize=\"small\">\n <label nz-radio-button nzValue=\"outline\">outline</label>\n <label nz-radio-button nzValue=\"fill\">fill</label>\n <label nz-radio-button nzValue=\"twotone\">twotone</label>\n </nz-radio-group>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n }\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\u56FE\u6807</nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"icon\" #icon>\n <nz-input-group style=\"max-width: 200px;\" [nzSuffix]=\"iconPreview\">\n <input autofocus placeholder=\"\u8F93\u5165\u56FE\u6807\uFF0C\u5982 edit\" nz-input ngModel\n [ngModelOptions]=\"{standalone:true}\" />\n </nz-input-group>\n </axis-fun-field>\n <ng-template #iconPreview>\n @if (value()) {\n <ng-container [axisDynamic]=\"preview()\" [standalone]=\"true\"></ng-container>\n }\n </ng-template>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n antdesign \u56FE\u6807\u5E93\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <a target=\"_blank\"\n href=\"https://ng.ant.design/components/icon/zh\">https://ng.ant.design/components/icon/zh</a>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n iconfont \u56FE\u6807\u5E93\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <a target=\"_blank\" href=\"https://www.iconfont.cn/\">https://www.iconfont.cn/</a>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n <axis-base-design-setting [fg]=\"fg\"></axis-base-design-setting>\n </nz-collapse>\n</form>" }]
|
|
45
|
+
}], propDecorators: { lib: [{
|
|
46
|
+
type: ViewChild,
|
|
47
|
+
args: ["lib", { static: true }]
|
|
48
|
+
}], theme: [{
|
|
49
|
+
type: ViewChild,
|
|
50
|
+
args: ["theme"]
|
|
51
|
+
}], icon: [{
|
|
52
|
+
type: ViewChild,
|
|
53
|
+
args: ["icon", { static: true }]
|
|
54
|
+
}] } });
|
|
55
|
+
|
|
56
|
+
const Config = {
|
|
57
|
+
componentName: "图标",
|
|
58
|
+
buildOptionsNodes(nextInfo) {
|
|
59
|
+
return {
|
|
60
|
+
treeNode: new OptionsNode({
|
|
61
|
+
parentId: nextInfo.parentId,
|
|
62
|
+
scopeId: nextInfo.scopeId,
|
|
63
|
+
name: nameCode("图标", nextInfo.currentObject.icon),
|
|
64
|
+
canSetting: true,
|
|
65
|
+
canDrag: true,
|
|
66
|
+
dragType: "component",
|
|
67
|
+
parentObj: nextInfo.parentObject,
|
|
68
|
+
indexOfParentObj: nextInfo.indexOfParent,
|
|
69
|
+
rootOptions: nextInfo.currentObject,
|
|
70
|
+
settingType: Setting,
|
|
71
|
+
contextMenu: SimpleMenu,
|
|
72
|
+
icon: "fire"
|
|
73
|
+
})
|
|
74
|
+
};
|
|
75
|
+
},
|
|
76
|
+
bindElementsOptionsNode(element, options) {
|
|
77
|
+
return {
|
|
78
|
+
[options.id]: { element }
|
|
79
|
+
};
|
|
80
|
+
},
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* Generated bundle index. Do not edit.
|
|
85
|
+
*/
|
|
86
|
+
|
|
87
|
+
export { Config };
|
|
88
|
+
//# sourceMappingURL=ngx-axis-appforge-axis-components-icon-design.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ngx-axis-appforge-axis-components-icon-design.mjs","sources":["../../../axis-components/icon/design/setting/setting.ts","../../../axis-components/icon/design/setting/setting.html","../../../axis-components/icon/design/config.ts","../../../axis-components/icon/design/ngx-axis-appforge-axis-components-icon-design.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, computed, ViewChild } from '@angular/core';\nimport { FormsModule, ReactiveFormsModule, UntypedFormGroup } from '@angular/forms';\nimport { NzCollapseModule } from 'ng-zorro-antd/collapse';\nimport { NzFormModule } from 'ng-zorro-antd/form';\nimport { NzInputModule } from 'ng-zorro-antd/input';\nimport { NzRadioModule } from 'ng-zorro-antd/radio';\nimport { BaseDesignSetting, baseFbConfig, baseFunField, DynamicDirective, FormValidators, FunField, FunFieldOptions, FunFieldValueBase } from 'ngx-axis-appforge/core';\n\n@Component({\n selector: 'axis-design-icon-setting',\n imports: [FormsModule, NzFormModule, ReactiveFormsModule, NzCollapseModule, BaseDesignSetting, FunField, NzRadioModule, NzInputModule, DynamicDirective],\n templateUrl: './setting.html',\n styleUrl: './setting.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class Setting extends FunFieldValueBase {\n\n override fg: UntypedFormGroup = this.fb.group({\n ...baseFbConfig,\n lib: [undefined, FormValidators.requiredFun],\n theme: [undefined, FormValidators.requiredFun],\n icon: [undefined, FormValidators.requiredFun],\n });\n\n protected override funFields: FunFieldOptions = {\n ...baseFunField,\n lib: {\n defaultValue: \"antdesign\"\n },\n theme: {\n defaultValue: \"outline\"\n },\n icon: {\n defaultValue: undefined\n },\n };\n\n @ViewChild(\"lib\", { static: true })\n lib!: FunField;\n\n @ViewChild(\"theme\")\n theme?: FunField;\n\n @ViewChild(\"icon\", { static: true })\n icon!: FunField;\n\n readonly preview = computed(() => ({ component: \"axis-components/icon\", inuse: true, lib: this.lib.computeResult(), theme: this.theme?.computeResult(), icon: this.icon.computeResult() }));\n}\n","<form [formGroup]=\"fg\" nz-form>\n <nz-collapse [nzBordered]=\"false\">\n <nz-collapse-panel nzHeader=\"基本设置\" nzActive>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n 图标库\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"lib\" #lib>\n <nz-radio-group ngModel [ngModelOptions]=\"{standalone:true}\" nzSize=\"small\">\n <label nz-radio-button nzValue=\"antdesign\">antdesign</label>\n <label nz-radio-button nzValue=\"iconfont\">iconfont</label>\n </nz-radio-group>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n @if (formValue()?.lib.funMode || formValue()?.lib.originValue == 'antdesign') {\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>图标主题</nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"theme\" #theme>\n <nz-radio-group ngModel [ngModelOptions]=\"{standalone:true}\" nzSize=\"small\">\n <label nz-radio-button nzValue=\"outline\">outline</label>\n <label nz-radio-button nzValue=\"fill\">fill</label>\n <label nz-radio-button nzValue=\"twotone\">twotone</label>\n </nz-radio-group>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n }\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>图标</nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"icon\" #icon>\n <nz-input-group style=\"max-width: 200px;\" [nzSuffix]=\"iconPreview\">\n <input autofocus placeholder=\"输入图标,如 edit\" nz-input ngModel\n [ngModelOptions]=\"{standalone:true}\" />\n </nz-input-group>\n </axis-fun-field>\n <ng-template #iconPreview>\n @if (value()) {\n <ng-container [axisDynamic]=\"preview()\" [standalone]=\"true\"></ng-container>\n }\n </ng-template>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n antdesign 图标库\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <a target=\"_blank\"\n href=\"https://ng.ant.design/components/icon/zh\">https://ng.ant.design/components/icon/zh</a>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n iconfont 图标库\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <a target=\"_blank\" href=\"https://www.iconfont.cn/\">https://www.iconfont.cn/</a>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n <axis-base-design-setting [fg]=\"fg\"></axis-base-design-setting>\n </nz-collapse>\n</form>","import { NextInfo, DesignBuildResult, DesignBindElementsResult, DesignConfig, OptionsNode, nameCode, SimpleMenu } from \"ngx-axis-appforge/core\";\nimport { Setting } from \"./setting/setting\";\n\nexport const Config: DesignConfig = {\n componentName: \"图标\",\n buildOptionsNodes(nextInfo: NextInfo): DesignBuildResult {\n return {\n treeNode: new OptionsNode({\n parentId: nextInfo.parentId,\n scopeId: nextInfo.scopeId,\n name: nameCode(\"图标\", nextInfo.currentObject.icon),\n canSetting: true,\n canDrag: true,\n dragType: \"component\",\n parentObj: nextInfo.parentObject,\n indexOfParentObj: nextInfo.indexOfParent,\n rootOptions: nextInfo.currentObject,\n settingType: Setting,\n contextMenu: SimpleMenu,\n icon: \"fire\"\n })\n };\n },\n bindElementsOptionsNode(element: HTMLElement, options: any): DesignBindElementsResult {\n return {\n [options.id]: { element }\n }\n },\n};\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './config';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;AAeM,MAAO,OAAQ,SAAQ,iBAAiB,CAAA;AAEnC,IAAA,EAAE,GAAqB,IAAI,CAAC,EAAE,CAAC,KAAK,CAAC;AAC5C,QAAA,GAAG,YAAY;AACf,QAAA,GAAG,EAAE,CAAC,SAAS,EAAE,cAAc,CAAC,WAAW,CAAC;AAC5C,QAAA,KAAK,EAAE,CAAC,SAAS,EAAE,cAAc,CAAC,WAAW,CAAC;AAC9C,QAAA,IAAI,EAAE,CAAC,SAAS,EAAE,cAAc,CAAC,WAAW,CAAC;AAC9C,KAAA,CAAC;AAEiB,IAAA,SAAS,GAAoB;AAC9C,QAAA,GAAG,YAAY;AACf,QAAA,GAAG,EAAE;AACH,YAAA,YAAY,EAAE;AACf,SAAA;AACD,QAAA,KAAK,EAAE;AACL,YAAA,YAAY,EAAE;AACf,SAAA;AACD,QAAA,IAAI,EAAE;AACJ,YAAA,YAAY,EAAE;AACf,SAAA;KACF;AAGD,IAAA,GAAG;AAGH,IAAA,KAAK;AAGL,IAAA,IAAI;IAEK,OAAO,GAAG,QAAQ,CAAC,OAAO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B/C,GAAG,EAAA,CAAA;sBADF,SAAS;AAAC,gBAAA,IAAA,EAAA,CAAA,KAAK,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE;gBAIlC,KAAK,EAAA,CAAA;sBADJ,SAAS;uBAAC,OAAO;gBAIlB,IAAI,EAAA,CAAA;sBADH,SAAS;AAAC,gBAAA,IAAA,EAAA,CAAA,MAAM,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE;;;AExC9B,MAAM,MAAM,GAAiB;AAChC,IAAA,aAAa,EAAE,IAAI;AACnB,IAAA,iBAAiB,CAAC,QAAkB,EAAA;QAChC,OAAO;YACH,QAAQ,EAAE,IAAI,WAAW,CAAC;gBACtB,QAAQ,EAAE,QAAQ,CAAC,QAAQ;gBAC3B,OAAO,EAAE,QAAQ,CAAC,OAAO;gBACzB,IAAI,EAAE,QAAQ,CAAC,IAAI,EAAE,QAAQ,CAAC,aAAa,CAAC,IAAI,CAAC;AACjD,gBAAA,UAAU,EAAE,IAAI;AAChB,gBAAA,OAAO,EAAE,IAAI;AACb,gBAAA,QAAQ,EAAE,WAAW;gBACrB,SAAS,EAAE,QAAQ,CAAC,YAAY;gBAChC,gBAAgB,EAAE,QAAQ,CAAC,aAAa;gBACxC,WAAW,EAAE,QAAQ,CAAC,aAAa;AACnC,gBAAA,WAAW,EAAE,OAAO;AACpB,gBAAA,WAAW,EAAE,UAAU;AACvB,gBAAA,IAAI,EAAE;aACT;SACJ;KACJ;IACD,uBAAuB,CAAC,OAAoB,EAAE,OAAY,EAAA;QACtD,OAAO;AACH,YAAA,CAAC,OAAO,CAAC,EAAE,GAAG,EAAE,OAAO;SAC1B;KACJ;;;AC3BL;;AAEG;;;;"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { signal, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
+
import { BaseOptions, Base } from 'ngx-axis-appforge/core';
|
|
4
|
+
import * as i1 from 'ng-zorro-antd/icon';
|
|
5
|
+
import { NzIconModule } from 'ng-zorro-antd/icon';
|
|
6
|
+
|
|
7
|
+
class IconOptions extends BaseOptions {
|
|
8
|
+
lib = signal("antdesign", ...(ngDevMode ? [{ debugName: "lib" }] : []));
|
|
9
|
+
icon = signal("", ...(ngDevMode ? [{ debugName: "icon" }] : []));
|
|
10
|
+
theme = signal("outline", ...(ngDevMode ? [{ debugName: "theme" }] : []));
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
class Icon extends Base {
|
|
14
|
+
options = new IconOptions();
|
|
15
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.2", ngImport: i0, type: Icon, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
16
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.2", type: Icon, isStandalone: true, selector: "axis-icon", usesInheritance: true, ngImport: i0, template: "@if (options.icon()) {\n@if (options.lib()!='iconfont') {\n<nz-icon [nzType]=\"options.icon()\" [nzTheme]=\"options.theme()\"></nz-icon>\n}@else {\n<nz-icon [nzIconfont]=\"options.icon()\"></nz-icon>\n}\n}", styles: [""], dependencies: [{ kind: "ngmodule", type: NzIconModule }, { kind: "directive", type: i1.NzIconDirective, selector: "nz-icon,[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
17
|
+
}
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.2", ngImport: i0, type: Icon, decorators: [{
|
|
19
|
+
type: Component,
|
|
20
|
+
args: [{ selector: 'axis-icon', imports: [NzIconModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "@if (options.icon()) {\n@if (options.lib()!='iconfont') {\n<nz-icon [nzType]=\"options.icon()\" [nzTheme]=\"options.theme()\"></nz-icon>\n}@else {\n<nz-icon [nzIconfont]=\"options.icon()\"></nz-icon>\n}\n}" }]
|
|
21
|
+
}] });
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Generated bundle index. Do not edit.
|
|
25
|
+
*/
|
|
26
|
+
|
|
27
|
+
export { Icon };
|
|
28
|
+
//# sourceMappingURL=ngx-axis-appforge-axis-components-icon.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ngx-axis-appforge-axis-components-icon.mjs","sources":["../../../axis-components/icon/icon.options.ts","../../../axis-components/icon/icon.ts","../../../axis-components/icon/icon.html","../../../axis-components/icon/ngx-axis-appforge-axis-components-icon.ts"],"sourcesContent":["import { signal } from \"@angular/core\";\nimport { BaseOptions } from \"ngx-axis-appforge/core\";\n\nexport class IconOptions extends BaseOptions {\n\n readonly lib = signal<\"antdesign\" | \"iconfont\">(\"antdesign\");\n readonly icon = signal<string>(\"\");\n readonly theme = signal<\"outline\" | \"fill\" | \"twotone\">(\"outline\");\n\n}","import { ChangeDetectionStrategy, Component } from '@angular/core';\nimport { IconOptions } from './icon.options';\nimport { NzIconModule } from 'ng-zorro-antd/icon';\nimport { Base } from 'ngx-axis-appforge/core';\n\n@Component({\n selector: 'axis-icon',\n imports: [NzIconModule],\n templateUrl: './icon.html',\n styleUrl: './icon.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class Icon extends Base<IconOptions> {\n\n protected override options: IconOptions = new IconOptions();\n\n}\n","@if (options.icon()) {\n@if (options.lib()!='iconfont') {\n<nz-icon [nzType]=\"options.icon()\" [nzTheme]=\"options.theme()\"></nz-icon>\n}@else {\n<nz-icon [nzIconfont]=\"options.icon()\"></nz-icon>\n}\n}","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './icon';\n"],"names":[],"mappings":";;;;;;AAGM,MAAO,WAAY,SAAQ,WAAW,CAAA;AAE/B,IAAA,GAAG,GAAG,MAAM,CAA2B,WAAW,+CAAC;AACnD,IAAA,IAAI,GAAG,MAAM,CAAS,EAAE,gDAAC;AACzB,IAAA,KAAK,GAAG,MAAM,CAAiC,SAAS,iDAAC;AAErE;;ACGK,MAAO,IAAK,SAAQ,IAAiB,CAAA;AAEtB,IAAA,OAAO,GAAgB,IAAI,WAAW,EAAE;uGAFhD,IAAI,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;2FAAJ,IAAI,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,WAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECZjB,+MAMC,EAAA,MAAA,EAAA,CAAA,EAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EDCW,YAAY,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,eAAA,EAAA,QAAA,EAAA,mBAAA,EAAA,MAAA,EAAA,CAAA,QAAA,EAAA,UAAA,EAAA,QAAA,EAAA,SAAA,EAAA,gBAAA,EAAA,YAAA,CAAA,EAAA,QAAA,EAAA,CAAA,QAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;2FAKX,IAAI,EAAA,UAAA,EAAA,CAAA;kBAPhB,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,WAAW,WACZ,CAAC,YAAY,CAAC,EAAA,eAAA,EAGN,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,+MAAA,EAAA;;;AEVjD;;AAEG;;;;"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { FunFieldValueBase, FormValidators, baseFbConfig, baseFunField, BaseDesignSetting, DynamicDirective, FunField, OptionsNode, SimpleMenu, nameCode } from 'ngx-axis-appforge/core';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { ChangeDetectionStrategy, Component } from '@angular/core';
|
|
4
|
+
import * as i1 from '@angular/forms';
|
|
5
|
+
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
6
|
+
import * as i4 from 'ng-zorro-antd/collapse';
|
|
7
|
+
import { NzCollapseModule } from 'ng-zorro-antd/collapse';
|
|
8
|
+
import * as i3 from 'ng-zorro-antd/form';
|
|
9
|
+
import { NzFormModule } from 'ng-zorro-antd/form';
|
|
10
|
+
import * as i5 from 'ng-zorro-antd/radio';
|
|
11
|
+
import { NzRadioModule } from 'ng-zorro-antd/radio';
|
|
12
|
+
import * as i6 from 'ng-zorro-antd/switch';
|
|
13
|
+
import { NzSwitchModule } from 'ng-zorro-antd/switch';
|
|
14
|
+
import * as i2 from 'ng-zorro-antd/grid';
|
|
15
|
+
|
|
16
|
+
class Setting extends FunFieldValueBase {
|
|
17
|
+
fg = this.fb.group({
|
|
18
|
+
...baseFbConfig,
|
|
19
|
+
mode: [undefined, FormValidators.requiredFun],
|
|
20
|
+
preview: [undefined, FormValidators.requiredFun],
|
|
21
|
+
data: [],
|
|
22
|
+
});
|
|
23
|
+
funFields = {
|
|
24
|
+
...baseFunField,
|
|
25
|
+
mode: {
|
|
26
|
+
defaultValue: "aspectFit"
|
|
27
|
+
},
|
|
28
|
+
preview: {
|
|
29
|
+
defaultValue: true
|
|
30
|
+
},
|
|
31
|
+
data: {
|
|
32
|
+
defaultValue: undefined
|
|
33
|
+
},
|
|
34
|
+
};
|
|
35
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.2", ngImport: i0, type: Setting, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
36
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.2", type: Setting, isStandalone: true, selector: "axis-design-text-setting", usesInheritance: true, ngImport: i0, template: "<form [formGroup]=\"fg\" nz-form>\n <nz-collapse [nzBordered]=\"false\">\n <nz-collapse-panel nzHeader=\"\u57FA\u672C\u8BBE\u7F6E\" nzActive>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u7F29\u653E\u6A21\u5F0F\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"mode\">\n <nz-radio-group ngModel [ngModelOptions]=\"{standalone:true}\" nzSize=\"small\">\n <label nz-radio-button nzValue=\"aspectFit\">\u5305\u542B</label>\n <label nz-radio-button nzValue=\"aspectFill\">\u94FA\u6EE1</label>\n <label nz-radio-button nzValue=\"scaleToFill\">\u62C9\u4F38</label>\n </nz-radio-group>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u9884\u89C8\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"preview\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzTooltipTitle=\"\u652F\u6301\u5355\u4E2A\u5730\u5740\u4EE5\u53CA\u6570\u7EC4\u5B58\u653E\u7684\u591A\u5730\u5740\">\n \u56FE\u7247\u5730\u5740\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"data\" #dataFunField>\n <ng-container [axisDynamic]=\"{component:'axis-components/input-json',inuse:true}\"\n [standalone]=\"true\" ngModel [ngModelOptions]=\"{standalone:true}\"></ng-container>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n <axis-base-design-setting [fg]=\"fg\"></axis-base-design-setting>\n </nz-collapse>\n</form>", styles: [""], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: NzFormModule }, { kind: "directive", type: i2.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }, { kind: "directive", type: i2.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { kind: "directive", type: i3.NzFormDirective, selector: "[nz-form]", inputs: ["nzLayout", "nzNoColon", "nzAutoTips", "nzDisableAutoTips", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap"], exportAs: ["nzForm"] }, { kind: "component", type: i3.NzFormItemComponent, selector: "nz-form-item", exportAs: ["nzFormItem"] }, { kind: "component", type: i3.NzFormLabelComponent, selector: "nz-form-label", inputs: ["nzFor", "nzRequired", "nzNoColon", "nzTooltipTitle", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap"], exportAs: ["nzFormLabel"] }, { kind: "component", type: i3.NzFormControlComponent, selector: "nz-form-control", inputs: ["nzSuccessTip", "nzWarningTip", "nzErrorTip", "nzValidatingTip", "nzExtra", "nzAutoTips", "nzDisableAutoTips", "nzHasFeedback", "nzValidateStatus"], exportAs: ["nzFormControl"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: NzCollapseModule }, { kind: "component", type: i4.NzCollapsePanelComponent, selector: "nz-collapse-panel", inputs: ["nzActive", "nzDisabled", "nzShowArrow", "nzExtra", "nzHeader", "nzExpandedIcon"], outputs: ["nzActiveChange"], exportAs: ["nzCollapsePanel"] }, { kind: "component", type: i4.NzCollapseComponent, selector: "nz-collapse", inputs: ["nzAccordion", "nzBordered", "nzGhost", "nzExpandIconPosition"], exportAs: ["nzCollapse"] }, { kind: "component", type: BaseDesignSetting, selector: "axis-base-design-setting", inputs: ["scopeId", "exclude", "fg"] }, { kind: "directive", type: DynamicDirective, selector: "[axisDynamic]", inputs: ["axisDynamic", "standalone", "isDesign"], exportAs: ["axisDynamic"] }, { kind: "component", type: FunField, selector: "axis-fun-field", inputs: ["scopes", "exclude", "scopeId", "onlyFun", "noListen", "disabled", "editTip", "value", "open", "showCreateListenModal", "createListenDataSourceName"], outputs: ["valueChange", "openChange", "showCreateListenModalChange", "createListenDataSourceNameChange"] }, { kind: "ngmodule", type: NzRadioModule }, { kind: "component", type: i5.NzRadioComponent, selector: "[nz-radio],[nz-radio-button]", inputs: ["nzValue", "nzDisabled", "nzAutoFocus", "nz-radio-button"], exportAs: ["nzRadio"] }, { kind: "component", type: i5.NzRadioGroupComponent, selector: "nz-radio-group", inputs: ["nzDisabled", "nzButtonStyle", "nzSize", "nzName"], exportAs: ["nzRadioGroup"] }, { kind: "ngmodule", type: NzSwitchModule }, { kind: "component", type: i6.NzSwitchComponent, selector: "nz-switch", inputs: ["nzLoading", "nzDisabled", "nzControl", "nzCheckedChildren", "nzUnCheckedChildren", "nzSize", "nzId"], exportAs: ["nzSwitch"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
37
|
+
}
|
|
38
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.2", ngImport: i0, type: Setting, decorators: [{
|
|
39
|
+
type: Component,
|
|
40
|
+
args: [{ selector: 'axis-design-text-setting', imports: [FormsModule, NzFormModule, ReactiveFormsModule, NzCollapseModule, BaseDesignSetting, DynamicDirective, FunField, NzRadioModule, NzSwitchModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "<form [formGroup]=\"fg\" nz-form>\n <nz-collapse [nzBordered]=\"false\">\n <nz-collapse-panel nzHeader=\"\u57FA\u672C\u8BBE\u7F6E\" nzActive>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u7F29\u653E\u6A21\u5F0F\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"mode\">\n <nz-radio-group ngModel [ngModelOptions]=\"{standalone:true}\" nzSize=\"small\">\n <label nz-radio-button nzValue=\"aspectFit\">\u5305\u542B</label>\n <label nz-radio-button nzValue=\"aspectFill\">\u94FA\u6EE1</label>\n <label nz-radio-button nzValue=\"scaleToFill\">\u62C9\u4F38</label>\n </nz-radio-group>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u9884\u89C8\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"preview\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzTooltipTitle=\"\u652F\u6301\u5355\u4E2A\u5730\u5740\u4EE5\u53CA\u6570\u7EC4\u5B58\u653E\u7684\u591A\u5730\u5740\">\n \u56FE\u7247\u5730\u5740\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"data\" #dataFunField>\n <ng-container [axisDynamic]=\"{component:'axis-components/input-json',inuse:true}\"\n [standalone]=\"true\" ngModel [ngModelOptions]=\"{standalone:true}\"></ng-container>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n <axis-base-design-setting [fg]=\"fg\"></axis-base-design-setting>\n </nz-collapse>\n</form>" }]
|
|
41
|
+
}] });
|
|
42
|
+
|
|
43
|
+
const Config = {
|
|
44
|
+
componentName: "图片",
|
|
45
|
+
buildOptionsNodes(nextInfo) {
|
|
46
|
+
return {
|
|
47
|
+
treeNode: new OptionsNode({
|
|
48
|
+
parentId: nextInfo.parentId,
|
|
49
|
+
scopeId: nextInfo.scopeId,
|
|
50
|
+
name: nameCode("图片", nextInfo.currentObject.data),
|
|
51
|
+
canSetting: true,
|
|
52
|
+
canDrag: true,
|
|
53
|
+
dragType: "component",
|
|
54
|
+
parentObj: nextInfo.parentObject,
|
|
55
|
+
indexOfParentObj: nextInfo.indexOfParent,
|
|
56
|
+
rootOptions: nextInfo.currentObject,
|
|
57
|
+
settingType: Setting,
|
|
58
|
+
contextMenu: SimpleMenu,
|
|
59
|
+
icon: "file-image"
|
|
60
|
+
})
|
|
61
|
+
};
|
|
62
|
+
},
|
|
63
|
+
bindElementsOptionsNode(element, options) {
|
|
64
|
+
return {
|
|
65
|
+
[options.id]: { element }
|
|
66
|
+
};
|
|
67
|
+
},
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Generated bundle index. Do not edit.
|
|
72
|
+
*/
|
|
73
|
+
|
|
74
|
+
export { Config };
|
|
75
|
+
//# sourceMappingURL=ngx-axis-appforge-axis-components-image-design.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ngx-axis-appforge-axis-components-image-design.mjs","sources":["../../../axis-components/image/design/setting/setting.ts","../../../axis-components/image/design/setting/setting.html","../../../axis-components/image/design/config.ts","../../../axis-components/image/design/ngx-axis-appforge-axis-components-image-design.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component } from '@angular/core';\nimport { FormsModule, ReactiveFormsModule, UntypedFormGroup } from '@angular/forms';\nimport { NzCollapseModule } from 'ng-zorro-antd/collapse';\nimport { NzFormModule } from 'ng-zorro-antd/form';\nimport { BaseDesignSetting, baseFbConfig, baseFunField, DynamicDirective, FormValidators, FunField, FunFieldOptions, FunFieldValueBase } from 'ngx-axis-appforge/core';\nimport { NzRadioModule } from 'ng-zorro-antd/radio';\nimport { NzSwitchModule } from 'ng-zorro-antd/switch';\n\n@Component({\n selector: 'axis-design-text-setting',\n imports: [FormsModule, NzFormModule, ReactiveFormsModule, NzCollapseModule, BaseDesignSetting, DynamicDirective, FunField, NzRadioModule, NzSwitchModule],\n templateUrl: './setting.html',\n styleUrl: './setting.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class Setting extends FunFieldValueBase {\n\n override fg: UntypedFormGroup = this.fb.group({\n ...baseFbConfig,\n mode: [undefined, FormValidators.requiredFun],\n preview: [undefined, FormValidators.requiredFun],\n data: [],\n });\n\n protected override funFields: FunFieldOptions = {\n ...baseFunField,\n mode: {\n defaultValue: \"aspectFit\"\n },\n preview: {\n defaultValue: true\n },\n data: {\n defaultValue: undefined\n },\n };\n}\n","<form [formGroup]=\"fg\" nz-form>\n <nz-collapse [nzBordered]=\"false\">\n <nz-collapse-panel nzHeader=\"基本设置\" nzActive>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n 缩放模式\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"mode\">\n <nz-radio-group ngModel [ngModelOptions]=\"{standalone:true}\" nzSize=\"small\">\n <label nz-radio-button nzValue=\"aspectFit\">包含</label>\n <label nz-radio-button nzValue=\"aspectFill\">铺满</label>\n <label nz-radio-button nzValue=\"scaleToFill\">拉伸</label>\n </nz-radio-group>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n 预览\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"preview\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzTooltipTitle=\"支持单个地址以及数组存放的多地址\">\n 图片地址\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"data\" #dataFunField>\n <ng-container [axisDynamic]=\"{component:'axis-components/input-json',inuse:true}\"\n [standalone]=\"true\" ngModel [ngModelOptions]=\"{standalone:true}\"></ng-container>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n <axis-base-design-setting [fg]=\"fg\"></axis-base-design-setting>\n </nz-collapse>\n</form>","import { NextInfo, DesignBuildResult, DesignBindElementsResult, DesignConfig, OptionsNode, nameCode, SimpleMenu } from \"ngx-axis-appforge/core\";\nimport { Setting } from \"./setting/setting\";\n\nexport const Config: DesignConfig = {\n\n componentName: \"图片\",\n buildOptionsNodes(nextInfo: NextInfo): DesignBuildResult {\n return {\n treeNode: new OptionsNode({\n parentId: nextInfo.parentId,\n scopeId: nextInfo.scopeId,\n name: nameCode(\"图片\", nextInfo.currentObject.data),\n canSetting: true,\n canDrag: true,\n dragType: \"component\",\n parentObj: nextInfo.parentObject,\n indexOfParentObj: nextInfo.indexOfParent,\n rootOptions: nextInfo.currentObject,\n settingType: Setting,\n contextMenu: SimpleMenu,\n icon: \"file-image\"\n })\n };\n },\n bindElementsOptionsNode(element: HTMLElement, options: any): DesignBindElementsResult {\n return {\n [options.id]: { element }\n }\n },\n};\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './config';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;AAeM,MAAO,OAAQ,SAAQ,iBAAiB,CAAA;AAEnC,IAAA,EAAE,GAAqB,IAAI,CAAC,EAAE,CAAC,KAAK,CAAC;AAC5C,QAAA,GAAG,YAAY;AACf,QAAA,IAAI,EAAE,CAAC,SAAS,EAAE,cAAc,CAAC,WAAW,CAAC;AAC7C,QAAA,OAAO,EAAE,CAAC,SAAS,EAAE,cAAc,CAAC,WAAW,CAAC;AAChD,QAAA,IAAI,EAAE,EAAE;AACT,KAAA,CAAC;AAEiB,IAAA,SAAS,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QAAQ,EAAE,WAAW;gBACrB,SAAS,EAAE,QAAQ,CAAC,YAAY;gBAChC,gBAAgB,EAAE,QAAQ,CAAC,aAAa;gBACxC,WAAW,EAAE,QAAQ,CAAC,aAAa;AACnC,gBAAA,WAAW,EAAE,OAAO;AACpB,gBAAA,WAAW,EAAE,UAAU;AACvB,gBAAA,IAAI,EAAE;aACT;SACJ;KACJ;IACD,uBAAuB,CAAC,OAAoB,EAAE,OAAY,EAAA;QACtD,OAAO;AACH,YAAA,CAAC,OAAO,CAAC,EAAE,GAAG,EAAE,OAAO;SAC1B;KACJ;;;AC5BL;;AAEG;;;;"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { signal, computed, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
+
import { DataOptions, Base } from 'ngx-axis-appforge/core';
|
|
4
|
+
import * as i1 from 'ng-zorro-antd/image';
|
|
5
|
+
import { NzImageModule } from 'ng-zorro-antd/image';
|
|
6
|
+
import * as i2 from 'ng-zorro-antd/icon';
|
|
7
|
+
import { NzIconModule } from 'ng-zorro-antd/icon';
|
|
8
|
+
import * as i3 from 'ng-zorro-antd/flex';
|
|
9
|
+
import { NzFlexModule } from 'ng-zorro-antd/flex';
|
|
10
|
+
|
|
11
|
+
class ImageOptions extends DataOptions {
|
|
12
|
+
mode = signal("aspectFit", ...(ngDevMode ? [{ debugName: "mode" }] : []));
|
|
13
|
+
preview = signal(true, ...(ngDevMode ? [{ debugName: "preview" }] : []));
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
class Image extends Base {
|
|
17
|
+
options = new ImageOptions();
|
|
18
|
+
imgList = computed(() => {
|
|
19
|
+
const data = this.options.data();
|
|
20
|
+
if (Array.isArray(data)) {
|
|
21
|
+
return data;
|
|
22
|
+
}
|
|
23
|
+
else if (data) {
|
|
24
|
+
return [data];
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
return [];
|
|
28
|
+
}
|
|
29
|
+
}, ...(ngDevMode ? [{ debugName: "imgList" }] : []));
|
|
30
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.2", ngImport: i0, type: Image, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
31
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.2", type: Image, isStandalone: true, selector: "axis-image", usesInheritance: true, ngImport: i0, template: "<nz-image-group>\n <nz-flex nzWrap=\"wrap\" nzGap=\"4px\" style=\"width: 100%;height: 100%;\">\n @for (i of imgList(); track $index) {\n <div class=\"img-box\" [class.preview]=\"options.preview()\">\n <img nz-image [nzSrc]=\"i\" [class]=\"options.mode()\" />\n @if (options.preview()) {\n <div class=\"pre\">\n <i nz-icon nzType=\"eye\" nzTheme=\"outline\"></i>\n </div>\n }\n </div>\n }\n </nz-flex>\n</nz-image-group>", styles: [":host{display:block;overflow:hidden;position:relative}.img-box{position:relative;overflow:hidden;border-radius:4px;border:1px solid #00000017;pointer-events:none;width:100%;height:100%}.img-box.preview{pointer-events:all;cursor:pointer}.img-box img{width:100%;height:100%}.img-box img.aspectFill{object-fit:cover}.img-box img.scaleToFill{object-fit:fill}.img-box img.aspectFit{object-fit:contain}.pre{pointer-events:none;transition:all .3s;position:absolute;top:0;left:0;width:100%;height:100%;background-color:#00000080;z-index:1;display:flex;justify-content:center;align-items:center;color:#fff;opacity:0}.img-box:hover .pre{opacity:1}\n"], dependencies: [{ kind: "ngmodule", type: NzImageModule }, { kind: "directive", type: i1.NzImageDirective, selector: "img[nz-image]", inputs: ["nzSrc", "nzSrcset", "nzDisablePreview", "nzFallback", "nzPlaceholder", "nzScaleStep"], exportAs: ["nzImage"] }, { kind: "component", type: i1.NzImageGroupComponent, selector: "nz-image-group", inputs: ["nzScaleStep"], exportAs: ["nzImageGroup"] }, { kind: "ngmodule", type: NzIconModule }, { kind: "directive", type: i2.NzIconDirective, selector: "nz-icon,[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "ngmodule", type: NzFlexModule }, { kind: "directive", type: i3.NzFlexDirective, selector: "[nz-flex],nz-flex", inputs: ["nzVertical", "nzJustify", "nzAlign", "nzGap", "nzWrap", "nzFlex"], exportAs: ["nzFlex"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
32
|
+
}
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.2", ngImport: i0, type: Image, decorators: [{
|
|
34
|
+
type: Component,
|
|
35
|
+
args: [{ selector: 'axis-image', imports: [NzImageModule, NzIconModule, NzFlexModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "<nz-image-group>\n <nz-flex nzWrap=\"wrap\" nzGap=\"4px\" style=\"width: 100%;height: 100%;\">\n @for (i of imgList(); track $index) {\n <div class=\"img-box\" [class.preview]=\"options.preview()\">\n <img nz-image [nzSrc]=\"i\" [class]=\"options.mode()\" />\n @if (options.preview()) {\n <div class=\"pre\">\n <i nz-icon nzType=\"eye\" nzTheme=\"outline\"></i>\n </div>\n }\n </div>\n }\n </nz-flex>\n</nz-image-group>", styles: [":host{display:block;overflow:hidden;position:relative}.img-box{position:relative;overflow:hidden;border-radius:4px;border:1px solid #00000017;pointer-events:none;width:100%;height:100%}.img-box.preview{pointer-events:all;cursor:pointer}.img-box img{width:100%;height:100%}.img-box img.aspectFill{object-fit:cover}.img-box img.scaleToFill{object-fit:fill}.img-box img.aspectFit{object-fit:contain}.pre{pointer-events:none;transition:all .3s;position:absolute;top:0;left:0;width:100%;height:100%;background-color:#00000080;z-index:1;display:flex;justify-content:center;align-items:center;color:#fff;opacity:0}.img-box:hover .pre{opacity:1}\n"] }]
|
|
36
|
+
}] });
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Generated bundle index. Do not edit.
|
|
40
|
+
*/
|
|
41
|
+
|
|
42
|
+
export { Image };
|
|
43
|
+
//# sourceMappingURL=ngx-axis-appforge-axis-components-image.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ngx-axis-appforge-axis-components-image.mjs","sources":["../../../axis-components/image/image.options.ts","../../../axis-components/image/image.ts","../../../axis-components/image/image.html","../../../axis-components/image/ngx-axis-appforge-axis-components-image.ts"],"sourcesContent":["import { signal } from \"@angular/core\";\nimport { DataOptions } from \"ngx-axis-appforge/core\";\n\nexport class ImageOptions extends DataOptions {\n\n mode = signal<\"aspectFit\" | \"aspectFill\" | \"scaleToFill\">(\"aspectFit\");\n preview = signal(true);\n}","import { ChangeDetectionStrategy, Component, computed } from '@angular/core';\nimport { Base } from 'ngx-axis-appforge/core';\nimport { ImageOptions } from './image.options';\nimport { NzImageModule } from 'ng-zorro-antd/image';\nimport { NzIconModule } from 'ng-zorro-antd/icon';\nimport { NzFlexModule } from 'ng-zorro-antd/flex';\n\n@Component({\n selector: 'axis-image',\n imports: [NzImageModule, NzIconModule, NzFlexModule],\n templateUrl: './image.html',\n styleUrl: './image.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class Image extends Base<ImageOptions> {\n\n override options: ImageOptions = new ImageOptions();\n\n readonly imgList = computed(() => {\n const data = this.options.data();\n if (Array.isArray(data)) {\n return data;\n } else if (data) {\n return [data];\n } else {\n return [];\n }\n });\n}\n","<nz-image-group>\n <nz-flex nzWrap=\"wrap\" nzGap=\"4px\" style=\"width: 100%;height: 100%;\">\n @for (i of imgList(); track $index) {\n <div class=\"img-box\" [class.preview]=\"options.preview()\">\n <img nz-image [nzSrc]=\"i\" [class]=\"options.mode()\" />\n @if (options.preview()) {\n <div class=\"pre\">\n <i nz-icon nzType=\"eye\" nzTheme=\"outline\"></i>\n </div>\n }\n </div>\n }\n </nz-flex>\n</nz-image-group>","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './image';\n"],"names":[],"mappings":";;;;;;;;;;AAGM,MAAO,YAAa,SAAQ,WAAW,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