ngx-axis-appforge 0.0.89 → 0.0.91

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.
Files changed (57) hide show
  1. package/axis-components/drawer/design/index.d.ts +5 -0
  2. package/axis-components/drawer/index.d.ts +32 -0
  3. package/axis-components/edit-table/index.d.ts +10 -7
  4. package/axis-components/input-component/index.d.ts +1 -0
  5. package/axis-components/input-list/design/index.d.ts +5 -0
  6. package/axis-components/input-list/index.d.ts +30 -0
  7. package/axis-components/table/index.d.ts +1 -0
  8. package/axis-components/time-line/design/index.d.ts +5 -0
  9. package/axis-components/time-line/index.d.ts +34 -0
  10. package/axis-components-covers/drawer.svg +24 -0
  11. package/axis-components-covers/image.png +0 -0
  12. package/axis-components-covers/input-list.png +0 -0
  13. package/axis-components-covers/time-line.svg +1 -0
  14. package/core/index.d.ts +2 -0
  15. package/fesm2022/ngx-axis-appforge-axis-components-date-picker.mjs +5 -2
  16. package/fesm2022/ngx-axis-appforge-axis-components-date-picker.mjs.map +1 -1
  17. package/fesm2022/ngx-axis-appforge-axis-components-design.mjs +25 -19
  18. package/fesm2022/ngx-axis-appforge-axis-components-design.mjs.map +1 -1
  19. package/fesm2022/ngx-axis-appforge-axis-components-drawer-design.mjs +195 -0
  20. package/fesm2022/ngx-axis-appforge-axis-components-drawer-design.mjs.map +1 -0
  21. package/fesm2022/ngx-axis-appforge-axis-components-drawer.mjs +63 -0
  22. package/fesm2022/ngx-axis-appforge-axis-components-drawer.mjs.map +1 -0
  23. package/fesm2022/ngx-axis-appforge-axis-components-edit-table-design.mjs +52 -4
  24. package/fesm2022/ngx-axis-appforge-axis-components-edit-table-design.mjs.map +1 -1
  25. package/fesm2022/ngx-axis-appforge-axis-components-edit-table.mjs +80 -21
  26. package/fesm2022/ngx-axis-appforge-axis-components-edit-table.mjs.map +1 -1
  27. package/fesm2022/ngx-axis-appforge-axis-components-form.mjs +3 -3
  28. package/fesm2022/ngx-axis-appforge-axis-components-form.mjs.map +1 -1
  29. package/fesm2022/ngx-axis-appforge-axis-components-input-component-design.mjs +6 -2
  30. package/fesm2022/ngx-axis-appforge-axis-components-input-component-design.mjs.map +1 -1
  31. package/fesm2022/ngx-axis-appforge-axis-components-input-component.mjs +5 -2
  32. package/fesm2022/ngx-axis-appforge-axis-components-input-component.mjs.map +1 -1
  33. package/fesm2022/ngx-axis-appforge-axis-components-input-json.mjs +1 -1
  34. package/fesm2022/ngx-axis-appforge-axis-components-input-json.mjs.map +1 -1
  35. package/fesm2022/ngx-axis-appforge-axis-components-input-list-design.mjs +89 -0
  36. package/fesm2022/ngx-axis-appforge-axis-components-input-list-design.mjs.map +1 -0
  37. package/fesm2022/ngx-axis-appforge-axis-components-input-list.mjs +94 -0
  38. package/fesm2022/ngx-axis-appforge-axis-components-input-list.mjs.map +1 -0
  39. package/fesm2022/ngx-axis-appforge-axis-components-select.mjs +6 -5
  40. package/fesm2022/ngx-axis-appforge-axis-components-select.mjs.map +1 -1
  41. package/fesm2022/ngx-axis-appforge-axis-components-table-design.mjs +7 -2
  42. package/fesm2022/ngx-axis-appforge-axis-components-table-design.mjs.map +1 -1
  43. package/fesm2022/ngx-axis-appforge-axis-components-table-helper.mjs +3 -1
  44. package/fesm2022/ngx-axis-appforge-axis-components-table-helper.mjs.map +1 -1
  45. package/fesm2022/ngx-axis-appforge-axis-components-table.mjs +7 -2
  46. package/fesm2022/ngx-axis-appforge-axis-components-table.mjs.map +1 -1
  47. package/fesm2022/ngx-axis-appforge-axis-components-tabs.mjs +2 -2
  48. package/fesm2022/ngx-axis-appforge-axis-components-tabs.mjs.map +1 -1
  49. package/fesm2022/ngx-axis-appforge-axis-components-time-line-design.mjs +201 -0
  50. package/fesm2022/ngx-axis-appforge-axis-components-time-line-design.mjs.map +1 -0
  51. package/fesm2022/ngx-axis-appforge-axis-components-time-line.mjs +106 -0
  52. package/fesm2022/ngx-axis-appforge-axis-components-time-line.mjs.map +1 -0
  53. package/fesm2022/ngx-axis-appforge-axis-components.mjs +75 -1
  54. package/fesm2022/ngx-axis-appforge-axis-components.mjs.map +1 -1
  55. package/fesm2022/ngx-axis-appforge-core.mjs +24 -6
  56. package/fesm2022/ngx-axis-appforge-core.mjs.map +1 -1
  57. package/package.json +25 -1
@@ -0,0 +1,195 @@
1
+ import { FunFieldValueBase, FormValidators, baseFbConfig, baseFunField, BaseDesignSetting, FunField, InputTrigger, DynamicDirective, OptionsNode, SimpleMenu, nameCode } from 'ngx-axis-appforge/core';
2
+ import * as i0 from '@angular/core';
3
+ import { ChangeDetectionStrategy, Component, inject, forwardRef } from '@angular/core';
4
+ import * as i1 from '@angular/forms';
5
+ import { FormsModule, ReactiveFormsModule, NG_VALUE_ACCESSOR } 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/input';
11
+ import { NzInputModule } from 'ng-zorro-antd/input';
12
+ import * as i7 from 'ng-zorro-antd/input-number';
13
+ import { NzInputNumberModule } from 'ng-zorro-antd/input-number';
14
+ import * as i6 from 'ng-zorro-antd/switch';
15
+ import { NzSwitchModule } from 'ng-zorro-antd/switch';
16
+ import * as i8 from 'ng-zorro-antd/select';
17
+ import { NzSelectModule } from 'ng-zorro-antd/select';
18
+ import * as i2 from 'ng-zorro-antd/grid';
19
+ import * as i4$1 from 'ng-zorro-antd/radio';
20
+ import { NzRadioModule } from 'ng-zorro-antd/radio';
21
+
22
+ class Setting extends FunFieldValueBase {
23
+ fg = this.fb.group({
24
+ ...baseFbConfig,
25
+ title: [],
26
+ footer: [],
27
+ visible: [undefined, FormValidators.requiredFun],
28
+ placement: [undefined, FormValidators.requiredFun],
29
+ size: [],
30
+ offset: [undefined, FormValidators.requiredFun],
31
+ closable: [undefined, FormValidators.requiredFun],
32
+ closeOnNavigation: [undefined, FormValidators.requiredFun],
33
+ keyboard: [undefined, FormValidators.requiredFun],
34
+ mask: [undefined, FormValidators.requiredFun],
35
+ maskClosable: [undefined, FormValidators.requiredFun],
36
+ maskStyle: [],
37
+ });
38
+ funFields = {
39
+ ...baseFunField,
40
+ title: {
41
+ defaultValue: "未命名"
42
+ },
43
+ footer: {
44
+ defaultValue: ""
45
+ },
46
+ visible: {
47
+ defaultValue: false
48
+ },
49
+ placement: {
50
+ defaultValue: "right"
51
+ },
52
+ size: {
53
+ defaultValue: undefined
54
+ },
55
+ offset: {
56
+ defaultValue: 0
57
+ },
58
+ closable: {
59
+ defaultValue: true
60
+ },
61
+ closeOnNavigation: {
62
+ defaultValue: true
63
+ },
64
+ keyboard: {
65
+ defaultValue: true
66
+ },
67
+ mask: {
68
+ defaultValue: true
69
+ },
70
+ maskClosable: {
71
+ defaultValue: true
72
+ },
73
+ maskStyle: {
74
+ defaultValue: undefined
75
+ },
76
+ };
77
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: Setting, deps: null, target: i0.ɵɵFactoryTarget.Component });
78
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.15", type: Setting, isStandalone: true, selector: "axis-design-modal-setting", usesInheritance: true, ngImport: i0, template: "<form [formGroup]=\"fg\" nz-form>\n <nz-collapse [nzBordered]=\"false\">\n <nz-collapse-panel nzHeader=\"\u5916\u89C2\u8BBE\u7F6E\" nzActive>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u6807\u9898\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"title\">\n <input nz-input ngModel [ngModelOptions]=\"{standalone:true}\" />\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u7ED3\u5C3E\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"footer\">\n <input nz-input ngModel [ngModelOptions]=\"{standalone:true}\" />\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u663E\u793A\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"visible\">\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\" nzRequired>\n \u65B9\u5411\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"placement\">\n <nz-select ngModel [ngModelOptions]=\"{standalone:true}\">\n <nz-option nzValue=\"top\" nzLabel=\"\u9876\u90E8\"></nz-option>\n <nz-option nzValue=\"right\" nzLabel=\"\u53F3\u4FA7\"></nz-option>\n <nz-option nzValue=\"bottom\" nzLabel=\"\u5E95\u90E8\"></nz-option>\n <nz-option nzValue=\"left\" nzLabel=\"\u5DE6\u4FA7\"></nz-option>\n </nz-select>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u5927\u5C0F\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"size\">\n <nz-input-number ngModel [ngModelOptions]=\"{standalone:true}\" [nzMin]=\"0\" [nzStep]=\"10\"\n style=\"width: 100%;\">\n <span nzInputAddonAfter>px</span>\n </nz-input-number>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u504F\u79FB\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"offset\">\n <nz-input-number ngModel [ngModelOptions]=\"{standalone:true}\" [nzMin]=\"0\" [nzStep]=\"10\"\n style=\"width: 100%;\">\n <span nzInputAddonAfter>px</span>\n </nz-input-number>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n <nz-collapse-panel nzHeader=\"\u5173\u95ED\u8BBE\u7F6E\">\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u6309\u94AE\u5173\u95ED\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"closable\">\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\" nzRequired>\n \u5BFC\u822A\u5173\u95ED\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"closeOnNavigation\">\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\" nzRequired>\n ESC\u952E\u5173\u95ED\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"keyboard\">\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\" nzRequired>\n \u906E\u7F69\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"mask\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n @if (formValue()?.mask.funMode || formValue()?.mask.originValue) {\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u70B9\u906E\u7F69\u5173\u95ED\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"maskClosable\">\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\">\n \u906E\u7F69\u6837\u5F0F\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"maskStyle\">\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 }\n @if (formValue().showOkButton?.funMode || formValue().showOkButton?.originValue) {\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u6309\u94AE\u6587\u672C\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"okText\">\n <input nz-input ngModel [ngModelOptions]=\"{standalone:true}\" />\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u786E\u5B9A\u540E\u5173\u95ED\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"closeOnOk\">\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\" nzRequired>\n \u7981\u7528\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"okDisabled\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n }\n </nz-collapse-panel>\n <axis-base-design-setting [fg]=\"fg\"></axis-base-design-setting>\n <axis-input-trigger formControlName=\"triggeEvents\"\n [eventDesc]=\"[{name: 'drawerClose',title: '\u5173\u95ED\u62BD\u5C49'}]\"></axis-input-trigger>\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", "nzRequiredMark"], 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", "nzCollapsible"], outputs: ["nzActiveChange"], exportAs: ["nzCollapsePanel"] }, { kind: "component", type: i4.NzCollapseComponent, selector: "nz-collapse", inputs: ["nzAccordion", "nzBordered", "nzGhost", "nzExpandIconPosition", "nzSize"], 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: NzInputModule }, { kind: "directive", type: i5.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzVariant", "nzSize", "nzStepperless", "nzStatus", "disabled", "readonly"], exportAs: ["nzInput"] }, { kind: "directive", type: i5.NzInputAddonAfterDirective, selector: "[nzInputAddonAfter]" }, { kind: "ngmodule", type: NzSwitchModule }, { kind: "component", type: i6.NzSwitchComponent, selector: "nz-switch", inputs: ["nzLoading", "nzDisabled", "nzControl", "nzCheckedChildren", "nzUnCheckedChildren", "nzSize", "nzId"], exportAs: ["nzSwitch"] }, { kind: "component", type: InputTrigger, selector: "axis-input-trigger", inputs: ["internalTriggers", "optionsNodeId", "value", "eventDesc", "isVisibleHandlerModal", "editEventHandler"], outputs: ["valueChange", "isVisibleHandlerModalChange", "editEventHandlerChange"] }, { kind: "ngmodule", type: NzInputNumberModule }, { kind: "component", type: i7.NzInputNumberComponent, selector: "nz-input-number", inputs: ["nzId", "nzSize", "nzPlaceHolder", "nzStatus", "nzVariant", "nzStep", "nzMin", "nzMax", "nzPrecision", "nzParser", "nzFormatter", "nzDisabled", "nzReadOnly", "nzAutoFocus", "nzBordered", "nzKeyboard", "nzControls", "nzPrefix", "nzSuffix", "nzAddonBefore", "nzAddonAfter"], outputs: ["nzBlur", "nzFocus", "nzOnStep"], exportAs: ["nzInputNumber"] }, { kind: "ngmodule", type: NzSelectModule }, { kind: "component", type: i8.NzOptionComponent, selector: "nz-option", inputs: ["nzTitle", "nzLabel", "nzValue", "nzKey", "nzDisabled", "nzHide", "nzCustomContent"], exportAs: ["nzOption"] }, { kind: "component", type: i8.NzSelectComponent, selector: "nz-select", inputs: ["nzId", "nzSize", "nzStatus", "nzVariant", "nzOptionHeightPx", "nzOptionOverflowSize", "nzDropdownClassName", "nzDropdownMatchSelectWidth", "nzDropdownStyle", "nzNotFoundContent", "nzPlaceHolder", "nzPlacement", "nzMaxTagCount", "nzDropdownRender", "nzCustomTemplate", "nzPrefix", "nzSuffixIcon", "nzClearIcon", "nzRemoveIcon", "nzMenuItemSelectedIcon", "nzTokenSeparators", "nzMaxTagPlaceholder", "nzMaxMultipleCount", "nzMode", "nzFilterOption", "compareWith", "nzAllowClear", "nzBorderless", "nzShowSearch", "nzLoading", "nzAutoFocus", "nzAutoClearSearchValue", "nzServerSearch", "nzDisabled", "nzOpen", "nzSelectOnTab", "nzBackdrop", "nzOptions", "nzShowArrow"], outputs: ["nzOnSearch", "nzScrollToBottom", "nzOpenChange", "nzBlur", "nzFocus", "nzOnClear"], exportAs: ["nzSelect"] }, { kind: "directive", type: DynamicDirective, selector: "[axisDynamic]", inputs: ["axisDynamic", "standalone", "isDesign", "forceRenderOnChange"], outputs: ["onRegisteValueAccess"], exportAs: ["axisDynamic"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
79
+ }
80
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: Setting, decorators: [{
81
+ type: Component,
82
+ args: [{ selector: 'axis-design-modal-setting', imports: [FormsModule, NzFormModule, ReactiveFormsModule, NzCollapseModule, BaseDesignSetting, FunField, NzInputModule, NzSwitchModule, InputTrigger, NzInputNumberModule, NzSelectModule, DynamicDirective], changeDetection: ChangeDetectionStrategy.OnPush, template: "<form [formGroup]=\"fg\" nz-form>\n <nz-collapse [nzBordered]=\"false\">\n <nz-collapse-panel nzHeader=\"\u5916\u89C2\u8BBE\u7F6E\" nzActive>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u6807\u9898\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"title\">\n <input nz-input ngModel [ngModelOptions]=\"{standalone:true}\" />\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u7ED3\u5C3E\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"footer\">\n <input nz-input ngModel [ngModelOptions]=\"{standalone:true}\" />\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u663E\u793A\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"visible\">\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\" nzRequired>\n \u65B9\u5411\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"placement\">\n <nz-select ngModel [ngModelOptions]=\"{standalone:true}\">\n <nz-option nzValue=\"top\" nzLabel=\"\u9876\u90E8\"></nz-option>\n <nz-option nzValue=\"right\" nzLabel=\"\u53F3\u4FA7\"></nz-option>\n <nz-option nzValue=\"bottom\" nzLabel=\"\u5E95\u90E8\"></nz-option>\n <nz-option nzValue=\"left\" nzLabel=\"\u5DE6\u4FA7\"></nz-option>\n </nz-select>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u5927\u5C0F\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"size\">\n <nz-input-number ngModel [ngModelOptions]=\"{standalone:true}\" [nzMin]=\"0\" [nzStep]=\"10\"\n style=\"width: 100%;\">\n <span nzInputAddonAfter>px</span>\n </nz-input-number>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u504F\u79FB\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"offset\">\n <nz-input-number ngModel [ngModelOptions]=\"{standalone:true}\" [nzMin]=\"0\" [nzStep]=\"10\"\n style=\"width: 100%;\">\n <span nzInputAddonAfter>px</span>\n </nz-input-number>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n <nz-collapse-panel nzHeader=\"\u5173\u95ED\u8BBE\u7F6E\">\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u6309\u94AE\u5173\u95ED\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"closable\">\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\" nzRequired>\n \u5BFC\u822A\u5173\u95ED\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"closeOnNavigation\">\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\" nzRequired>\n ESC\u952E\u5173\u95ED\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"keyboard\">\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\" nzRequired>\n \u906E\u7F69\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"mask\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n @if (formValue()?.mask.funMode || formValue()?.mask.originValue) {\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u70B9\u906E\u7F69\u5173\u95ED\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"maskClosable\">\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\">\n \u906E\u7F69\u6837\u5F0F\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"maskStyle\">\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 }\n @if (formValue().showOkButton?.funMode || formValue().showOkButton?.originValue) {\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u6309\u94AE\u6587\u672C\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"okText\">\n <input nz-input ngModel [ngModelOptions]=\"{standalone:true}\" />\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u786E\u5B9A\u540E\u5173\u95ED\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"closeOnOk\">\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\" nzRequired>\n \u7981\u7528\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"okDisabled\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n }\n </nz-collapse-panel>\n <axis-base-design-setting [fg]=\"fg\"></axis-base-design-setting>\n <axis-input-trigger formControlName=\"triggeEvents\"\n [eventDesc]=\"[{name: 'drawerClose',title: '\u5173\u95ED\u62BD\u5C49'}]\"></axis-input-trigger>\n </nz-collapse>\n</form>" }]
83
+ }] });
84
+
85
+ class SetDrawerVisibleHandler extends FunFieldValueBase {
86
+ noListen = inject(InputTrigger).noListen;
87
+ sendInitValue = true;
88
+ fg = this.fb.group({
89
+ visible: [undefined, FormValidators.requiredFun],
90
+ });
91
+ funFields = {
92
+ visible: {
93
+ defaultValue: true,
94
+ },
95
+ };
96
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SetDrawerVisibleHandler, deps: null, target: i0.ɵɵFactoryTarget.Component });
97
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.15", type: SetDrawerVisibleHandler, isStandalone: true, selector: "axis-drawer-design-set-drawer-visible-handler", providers: [
98
+ {
99
+ provide: NG_VALUE_ACCESSOR,
100
+ useExisting: forwardRef(() => SetDrawerVisibleHandler),
101
+ multi: true
102
+ }
103
+ ], usesInheritance: true, ngImport: i0, template: "<form nz-form [formGroup]=\"fg\">\n <nz-form-item>\n <nz-form-label [nzSpan]=\"6\" nzRequired>\n \u6253\u5F00/\u5173\u95ED\n </nz-form-label>\n <nz-form-control nzSpan=\"18\">\n <axis-fun-field formControlName=\"visible\" [noListen]=\"noListen()\">\n <nz-radio-group ngModel [ngModelOptions]=\"{standalone:true}\">\n <label nz-radio-button [nzValue]=\"true\">\u6253\u5F00</label>\n <label nz-radio-button [nzValue]=\"false\">\u5173\u95ED</label>\n </nz-radio-group>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n</form>", styles: [""], dependencies: [{ 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", "nzRequiredMark"], 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.ɵ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.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { 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: FormsModule }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: NzRadioModule }, { kind: "component", type: i4$1.NzRadioComponent, selector: "[nz-radio],[nz-radio-button]", inputs: ["nzValue", "nzDisabled", "nzAutoFocus", "nz-radio-button"], exportAs: ["nzRadio"] }, { kind: "component", type: i4$1.NzRadioGroupComponent, selector: "nz-radio-group", inputs: ["nzDisabled", "nzButtonStyle", "nzSize", "nzName"], exportAs: ["nzRadioGroup"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
104
+ }
105
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SetDrawerVisibleHandler, decorators: [{
106
+ type: Component,
107
+ args: [{ selector: 'axis-drawer-design-set-drawer-visible-handler', imports: [NzFormModule, ReactiveFormsModule, FunField, FormsModule, NzRadioModule], changeDetection: ChangeDetectionStrategy.OnPush, providers: [
108
+ {
109
+ provide: NG_VALUE_ACCESSOR,
110
+ useExisting: forwardRef(() => SetDrawerVisibleHandler),
111
+ multi: true
112
+ }
113
+ ], template: "<form nz-form [formGroup]=\"fg\">\n <nz-form-item>\n <nz-form-label [nzSpan]=\"6\" nzRequired>\n \u6253\u5F00/\u5173\u95ED\n </nz-form-label>\n <nz-form-control nzSpan=\"18\">\n <axis-fun-field formControlName=\"visible\" [noListen]=\"noListen()\">\n <nz-radio-group ngModel [ngModelOptions]=\"{standalone:true}\">\n <label nz-radio-button [nzValue]=\"true\">\u6253\u5F00</label>\n <label nz-radio-button [nzValue]=\"false\">\u5173\u95ED</label>\n </nz-radio-group>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n</form>" }]
114
+ }] });
115
+
116
+ const Config = {
117
+ componentName: "抽屉",
118
+ eventHandlerDescs: {
119
+ setDrawerVisible: {
120
+ name: "setDrawerVisible",
121
+ title: "打开/关闭抽屉",
122
+ dataComponent: SetDrawerVisibleHandler,
123
+ icon: "check-square",
124
+ target: "component",
125
+ targetComponent: "axis-components/drawer",
126
+ },
127
+ },
128
+ buildOptionsNodes(nextInfo) {
129
+ return {
130
+ treeNode: new OptionsNode({
131
+ parentId: nextInfo.parentId,
132
+ scopeId: nextInfo.scopeId,
133
+ name: nameCode("抽屉", nextInfo.currentObject.title),
134
+ canSetting: true,
135
+ canDrag: true,
136
+ dragType: "component",
137
+ parentObj: nextInfo.parentObject,
138
+ indexOfParentObj: nextInfo.indexOfParent,
139
+ rootOptions: nextInfo.currentObject,
140
+ settingType: Setting,
141
+ contextMenu: SimpleMenu,
142
+ icon: "container",
143
+ children: [
144
+ new OptionsNode({
145
+ id: nextInfo.currentObject.id + ".extra",
146
+ parentId: nextInfo.currentObject.id,
147
+ scopeId: nextInfo.scopeId,
148
+ contextMenu: SimpleMenu,
149
+ name: `操作`,
150
+ canDrop: true,
151
+ dropType: "component",
152
+ dropObj: nextInfo.currentObject,
153
+ defaultDropIndex: "extra",
154
+ icon: "control",
155
+ children: []
156
+ }),
157
+ new OptionsNode({
158
+ id: nextInfo.currentObject.id + ".child",
159
+ parentId: nextInfo.currentObject.id,
160
+ scopeId: nextInfo.scopeId,
161
+ contextMenu: SimpleMenu,
162
+ name: `抽屉内容`,
163
+ canDrop: true,
164
+ dropType: "component",
165
+ dropObj: nextInfo.currentObject,
166
+ defaultDropIndex: "child",
167
+ icon: "project",
168
+ children: []
169
+ }),
170
+ ],
171
+ }),
172
+ next: [{
173
+ parentId: nextInfo.currentObject.id + ".extra",
174
+ parentObject: nextInfo.currentObject,
175
+ indexOfParent: "extra",
176
+ scopeId: nextInfo.scopeId,
177
+ }, {
178
+ parentId: nextInfo.currentObject.id + ".child",
179
+ parentObject: nextInfo.currentObject,
180
+ indexOfParent: "child",
181
+ scopeId: nextInfo.scopeId,
182
+ }]
183
+ };
184
+ },
185
+ bindElementsOptionsNode(element, options) {
186
+ return {};
187
+ },
188
+ };
189
+
190
+ /**
191
+ * Generated bundle index. Do not edit.
192
+ */
193
+
194
+ export { Config };
195
+ //# sourceMappingURL=ngx-axis-appforge-axis-components-drawer-design.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ngx-axis-appforge-axis-components-drawer-design.mjs","sources":["../../../axis-components/drawer/design/setting/setting.ts","../../../axis-components/drawer/design/setting/setting.html","../../../axis-components/drawer/design/set-drawer-visible-handler/set-drawer-visible-handler.ts","../../../axis-components/drawer/design/set-drawer-visible-handler/set-drawer-visible-handler.html","../../../axis-components/drawer/design/config.ts","../../../axis-components/drawer/design/ngx-axis-appforge-axis-components-drawer-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 { NzInputModule } from 'ng-zorro-antd/input';\nimport { NzInputNumberModule } from 'ng-zorro-antd/input-number';\nimport { NzSwitchModule } from 'ng-zorro-antd/switch';\nimport { BaseDesignSetting, baseFbConfig, baseFunField, FormValidators, FunField, FunFieldOptions, FunFieldValueBase, InputTrigger, DynamicDirective } from 'ngx-axis-appforge/core';\nimport { NzSelectModule } from \"ng-zorro-antd/select\";\n\n@Component({\n selector: 'axis-design-modal-setting',\n imports: [FormsModule, NzFormModule, ReactiveFormsModule, NzCollapseModule, BaseDesignSetting, FunField, NzInputModule, NzSwitchModule, InputTrigger, NzInputNumberModule, NzSelectModule, 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 title: [],\n footer: [],\n visible: [undefined, FormValidators.requiredFun],\n placement: [undefined, FormValidators.requiredFun],\n size: [],\n offset: [undefined, FormValidators.requiredFun],\n closable: [undefined, FormValidators.requiredFun],\n closeOnNavigation: [undefined, FormValidators.requiredFun],\n keyboard: [undefined, FormValidators.requiredFun],\n mask: [undefined, FormValidators.requiredFun],\n maskClosable: [undefined, FormValidators.requiredFun],\n maskStyle: [],\n });\n\n protected override funFields: FunFieldOptions = {\n ...baseFunField,\n title: {\n defaultValue: \"未命名\"\n },\n footer: {\n defaultValue: \"\"\n },\n visible: {\n defaultValue: false\n },\n placement: {\n defaultValue: \"right\"\n },\n size: {\n defaultValue: undefined\n },\n offset: {\n defaultValue: 0\n },\n closable: {\n defaultValue: true\n },\n closeOnNavigation: {\n defaultValue: true\n },\n keyboard: {\n defaultValue: true\n },\n mask: {\n defaultValue: true\n },\n maskClosable: {\n defaultValue: true\n },\n maskStyle: {\n defaultValue: undefined\n },\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\">\n 标题\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"title\">\n <input nz-input ngModel [ngModelOptions]=\"{standalone:true}\" />\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n 结尾\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"footer\">\n <input nz-input ngModel [ngModelOptions]=\"{standalone:true}\" />\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=\"visible\">\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\" nzRequired>\n 方向\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"placement\">\n <nz-select ngModel [ngModelOptions]=\"{standalone:true}\">\n <nz-option nzValue=\"top\" nzLabel=\"顶部\"></nz-option>\n <nz-option nzValue=\"right\" nzLabel=\"右侧\"></nz-option>\n <nz-option nzValue=\"bottom\" nzLabel=\"底部\"></nz-option>\n <nz-option nzValue=\"left\" nzLabel=\"左侧\"></nz-option>\n </nz-select>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n 大小\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"size\">\n <nz-input-number ngModel [ngModelOptions]=\"{standalone:true}\" [nzMin]=\"0\" [nzStep]=\"10\"\n style=\"width: 100%;\">\n <span nzInputAddonAfter>px</span>\n </nz-input-number>\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=\"offset\">\n <nz-input-number ngModel [ngModelOptions]=\"{standalone:true}\" [nzMin]=\"0\" [nzStep]=\"10\"\n style=\"width: 100%;\">\n <span nzInputAddonAfter>px</span>\n </nz-input-number>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n <nz-collapse-panel nzHeader=\"关闭设置\">\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=\"closable\">\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\" nzRequired>\n 导航关闭\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"closeOnNavigation\">\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\" nzRequired>\n ESC键关闭\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"keyboard\">\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\" nzRequired>\n 遮罩\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"mask\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n @if (formValue()?.mask.funMode || formValue()?.mask.originValue) {\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=\"maskClosable\">\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\">\n 遮罩样式\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"maskStyle\">\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 }\n @if (formValue().showOkButton?.funMode || formValue().showOkButton?.originValue) {\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=\"okText\">\n <input nz-input ngModel [ngModelOptions]=\"{standalone:true}\" />\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=\"closeOnOk\">\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\" nzRequired>\n 禁用\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"okDisabled\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n }\n </nz-collapse-panel>\n <axis-base-design-setting [fg]=\"fg\"></axis-base-design-setting>\n <axis-input-trigger formControlName=\"triggeEvents\"\n [eventDesc]=\"[{name: 'drawerClose',title: '关闭抽屉'}]\"></axis-input-trigger>\n </nz-collapse>\n</form>","import { ChangeDetectionStrategy, Component, forwardRef, inject } from '@angular/core';\nimport { FormsModule, NG_VALUE_ACCESSOR, ReactiveFormsModule, UntypedFormGroup } from '@angular/forms';\nimport { NzFormModule } from 'ng-zorro-antd/form';\nimport { NzRadioModule } from 'ng-zorro-antd/radio';\nimport { FormValidators, FunField, FunFieldOptions, FunFieldValueBase, InputTrigger } from 'ngx-axis-appforge/core';\n\n@Component({\n selector: 'axis-drawer-design-set-drawer-visible-handler',\n imports: [NzFormModule, ReactiveFormsModule, FunField, FormsModule, NzRadioModule],\n templateUrl: './set-drawer-visible-handler.html',\n styleUrl: './set-drawer-visible-handler.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => SetDrawerVisibleHandler),\n multi: true\n }\n ]\n})\nexport class SetDrawerVisibleHandler extends FunFieldValueBase {\n readonly noListen = inject(InputTrigger).noListen;\n protected override sendInitValue: boolean = true;\n override fg: UntypedFormGroup = this.fb.group({\n visible: [undefined, FormValidators.requiredFun],\n });\n\n protected override funFields: FunFieldOptions = {\n visible: {\n defaultValue: true,\n },\n };\n\n}\n","<form nz-form [formGroup]=\"fg\">\n <nz-form-item>\n <nz-form-label [nzSpan]=\"6\" nzRequired>\n 打开/关闭\n </nz-form-label>\n <nz-form-control nzSpan=\"18\">\n <axis-fun-field formControlName=\"visible\" [noListen]=\"noListen()\">\n <nz-radio-group ngModel [ngModelOptions]=\"{standalone:true}\">\n <label nz-radio-button [nzValue]=\"true\">打开</label>\n <label nz-radio-button [nzValue]=\"false\">关闭</label>\n </nz-radio-group>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n</form>","import { NextInfo, DesignBuildResult, DesignBindElementsResult, DesignConfig, OptionsNode, nameCode, SimpleMenu } from \"ngx-axis-appforge/core\";\nimport { Setting } from \"./setting/setting\";\nimport { SetDrawerVisibleHandler } from \"./set-drawer-visible-handler/set-drawer-visible-handler\";\n\nexport const Config: DesignConfig = {\n\n componentName: \"抽屉\",\n eventHandlerDescs: {\n setDrawerVisible: {\n name: \"setDrawerVisible\",\n title: \"打开/关闭抽屉\",\n dataComponent: SetDrawerVisibleHandler,\n icon: \"check-square\",\n target: \"component\",\n targetComponent: \"axis-components/drawer\",\n },\n },\n buildOptionsNodes(nextInfo: NextInfo): DesignBuildResult {\n return {\n treeNode: new OptionsNode({\n parentId: nextInfo.parentId,\n scopeId: nextInfo.scopeId,\n name: nameCode(\"抽屉\", nextInfo.currentObject.title),\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: \"container\",\n children: [\n new OptionsNode({\n id: nextInfo.currentObject.id + \".extra\",\n parentId: nextInfo.currentObject.id,\n scopeId: nextInfo.scopeId,\n contextMenu: SimpleMenu,\n name: `操作`,\n canDrop: true,\n dropType: \"component\",\n dropObj: nextInfo.currentObject,\n defaultDropIndex: \"extra\",\n icon: \"control\",\n children: []\n }),\n new OptionsNode({\n id: nextInfo.currentObject.id + \".child\",\n parentId: nextInfo.currentObject.id,\n scopeId: nextInfo.scopeId,\n contextMenu: SimpleMenu,\n name: `抽屉内容`,\n canDrop: true,\n dropType: \"component\",\n dropObj: nextInfo.currentObject,\n defaultDropIndex: \"child\",\n icon: \"project\",\n children: []\n }),\n ],\n }),\n next: [{\n parentId: nextInfo.currentObject.id + \".extra\",\n parentObject: nextInfo.currentObject,\n indexOfParent: \"extra\",\n scopeId: nextInfo.scopeId,\n }, {\n parentId: nextInfo.currentObject.id + \".child\",\n parentObject: nextInfo.currentObject,\n indexOfParent: \"child\",\n scopeId: nextInfo.scopeId,\n }]\n };\n },\n bindElementsOptionsNode(element: HTMLElement, options: any): DesignBindElementsResult {\n return {}\n },\n};\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './config';\n"],"names":["i1","i2","i3","i4"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAiBM,MAAO,OAAQ,SAAQ,iBAAiB,CAAA;AAEnC,IAAA,EAAE,GAAqB,IAAI,CAAC,EAAE,CAAC,KAAK,CAAC;AAC5C,QAAA,GAAG,YAAY;AACf,QAAA,KAAK,EAAE,EAAE;AACT,QAAA,MAAM,EAAE,EAAE;AACV,QAAA,OAAO,EAAE,CAAC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* as i0 from '@angular/core';
2
+ import { signal, effect, model, ChangeDetectionStrategy, Component } from '@angular/core';
3
+ import { BaseOptions, Base, DynamicDirective } from 'ngx-axis-appforge/core';
4
+ import { of } from 'rxjs';
5
+ import * as i1 from 'ng-zorro-antd/drawer';
6
+ import { NzDrawerModule } from 'ng-zorro-antd/drawer';
7
+
8
+ class DrawerOptions extends BaseOptions {
9
+ title = signal("未命名", ...(ngDevMode ? [{ debugName: "title" }] : []));
10
+ footer = signal("", ...(ngDevMode ? [{ debugName: "footer" }] : []));
11
+ visible = signal(false, ...(ngDevMode ? [{ debugName: "visible" }] : []));
12
+ placement = signal("right", ...(ngDevMode ? [{ debugName: "placement" }] : []));
13
+ size = signal(undefined, ...(ngDevMode ? [{ debugName: "size" }] : []));
14
+ offset = signal(0, ...(ngDevMode ? [{ debugName: "offset" }] : []));
15
+ closable = signal(true, ...(ngDevMode ? [{ debugName: "closable" }] : []));
16
+ closeOnNavigation = signal(true, ...(ngDevMode ? [{ debugName: "closeOnNavigation" }] : []));
17
+ keyboard = signal(true, ...(ngDevMode ? [{ debugName: "keyboard" }] : []));
18
+ mask = signal(true, ...(ngDevMode ? [{ debugName: "mask" }] : []));
19
+ maskClosable = signal(true, ...(ngDevMode ? [{ debugName: "maskClosable" }] : []));
20
+ maskStyle = signal(undefined, ...(ngDevMode ? [{ debugName: "maskStyle" }] : []));
21
+ extra = signal(undefined, ...(ngDevMode ? [{ debugName: "extra" }] : []));
22
+ child = signal(undefined, ...(ngDevMode ? [{ debugName: "child" }] : []));
23
+ }
24
+
25
+ class Text extends Base {
26
+ constructor() {
27
+ super();
28
+ effect(() => {
29
+ this.isVisible.set(this.options.visible());
30
+ });
31
+ }
32
+ options = new DrawerOptions();
33
+ isVisible = model(false, ...(ngDevMode ? [{ debugName: "isVisible" }] : []));
34
+ onClose() {
35
+ this.isVisible.set(false);
36
+ this.triggeEvents("drawerClose").subscribe();
37
+ }
38
+ onEvents(e) {
39
+ const obs = super.onEvents?.(e);
40
+ if (obs) {
41
+ return;
42
+ }
43
+ switch (e.name) {
44
+ case "setDrawerVisible":
45
+ this.isVisible.set(e.data.visible);
46
+ return of(true);
47
+ }
48
+ return undefined;
49
+ }
50
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: Text, deps: [], target: i0.ɵɵFactoryTarget.Component });
51
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.15", type: Text, isStandalone: true, selector: "axis-drawer", inputs: { isVisible: { classPropertyName: "isVisible", publicName: "isVisible", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { isVisible: "isVisibleChange" }, usesInheritance: true, ngImport: i0, template: "<nz-drawer [nzTitle]=\"options.title()\" [nzFooter]=\"options.footer()\" [(nzVisible)]=\"isVisible\"\n [nzPlacement]=\"options.placement()\" [nzWidth]=\"options.size()\" [nzHeight]=\"options.size()\"\n [nzOffsetX]=\"options.offset()\" [nzOffsetY]=\"options.offset()\" [nzBodyStyle]=\"options.style()\"\n [nzClosable]=\"options.closable()\" [nzCloseOnNavigation]=\"options.closeOnNavigation()\"\n [nzKeyboard]=\"options.keyboard()\" [nzMask]=\"options.mask()\" [nzMaskStyle]=\"options.maskStyle()\"\n [nzMaskClosable]=\"options.maskClosable()\" [nzExtra]=\"extra\" (nzOnClose)=\"onClose()\">\n <ng-container *nzDrawerContent>\n <ng-container [axisDynamic]=\"options.child()\"></ng-container>\n </ng-container>\n</nz-drawer>\n<ng-template #extra>\n <ng-container [axisDynamic]=\"options.extra()\"></ng-container>\n</ng-template>", styles: [""], dependencies: [{ kind: "directive", type: DynamicDirective, selector: "[axisDynamic]", inputs: ["axisDynamic", "standalone", "isDesign", "forceRenderOnChange"], outputs: ["onRegisteValueAccess"], exportAs: ["axisDynamic"] }, { kind: "ngmodule", type: NzDrawerModule }, { kind: "component", type: i1.NzDrawerComponent, selector: "nz-drawer", inputs: ["nzContent", "nzCloseIcon", "nzClosable", "nzMaskClosable", "nzMask", "nzCloseOnNavigation", "nzNoAnimation", "nzKeyboard", "nzTitle", "nzExtra", "nzFooter", "nzPlacement", "nzSize", "nzMaskStyle", "nzBodyStyle", "nzWrapClassName", "nzWidth", "nzHeight", "nzZIndex", "nzOffsetX", "nzOffsetY", "nzVisible"], outputs: ["nzOnViewInit", "nzOnClose", "nzVisibleChange"], exportAs: ["nzDrawer"] }, { kind: "directive", type: i1.NzDrawerContentDirective, selector: "[nzDrawerContent]", exportAs: ["nzDrawerContent"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
52
+ }
53
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: Text, decorators: [{
54
+ type: Component,
55
+ args: [{ selector: 'axis-drawer', imports: [DynamicDirective, NzDrawerModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "<nz-drawer [nzTitle]=\"options.title()\" [nzFooter]=\"options.footer()\" [(nzVisible)]=\"isVisible\"\n [nzPlacement]=\"options.placement()\" [nzWidth]=\"options.size()\" [nzHeight]=\"options.size()\"\n [nzOffsetX]=\"options.offset()\" [nzOffsetY]=\"options.offset()\" [nzBodyStyle]=\"options.style()\"\n [nzClosable]=\"options.closable()\" [nzCloseOnNavigation]=\"options.closeOnNavigation()\"\n [nzKeyboard]=\"options.keyboard()\" [nzMask]=\"options.mask()\" [nzMaskStyle]=\"options.maskStyle()\"\n [nzMaskClosable]=\"options.maskClosable()\" [nzExtra]=\"extra\" (nzOnClose)=\"onClose()\">\n <ng-container *nzDrawerContent>\n <ng-container [axisDynamic]=\"options.child()\"></ng-container>\n </ng-container>\n</nz-drawer>\n<ng-template #extra>\n <ng-container [axisDynamic]=\"options.extra()\"></ng-container>\n</ng-template>" }]
56
+ }], ctorParameters: () => [], propDecorators: { isVisible: [{ type: i0.Input, args: [{ isSignal: true, alias: "isVisible", required: false }] }, { type: i0.Output, args: ["isVisibleChange"] }] } });
57
+
58
+ /**
59
+ * Generated bundle index. Do not edit.
60
+ */
61
+
62
+ export { Text };
63
+ //# sourceMappingURL=ngx-axis-appforge-axis-components-drawer.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ngx-axis-appforge-axis-components-drawer.mjs","sources":["../../../axis-components/drawer/drawer.options.ts","../../../axis-components/drawer/drawer.ts","../../../axis-components/drawer/drawer.html","../../../axis-components/drawer/ngx-axis-appforge-axis-components-drawer.ts"],"sourcesContent":["import { signal } from \"@angular/core\";\nimport { BaseOptions } from \"ngx-axis-appforge/core\";\n\nexport class DrawerOptions extends BaseOptions {\n\n readonly title = signal(\"未命名\");\n readonly footer = signal(\"\");\n readonly visible = signal(false);\n readonly placement = signal<'top' | 'right' | 'bottom' | 'left'>(\"right\");\n readonly size = signal<number | undefined>(undefined);\n readonly offset = signal<number>(0);\n\n readonly closable = signal(true);\n readonly closeOnNavigation = signal(true);\n readonly keyboard = signal(true);\n readonly mask = signal(true);\n readonly maskClosable = signal(true);\n readonly maskStyle = signal<any>(undefined);\n\n readonly extra = signal<any>(undefined);\n readonly child = signal<any>(undefined);\n\n}","import { ChangeDetectionStrategy, Component, effect, model } from '@angular/core';\nimport { Base, DynamicDirective, EventHandlerOptions } from 'ngx-axis-appforge/core';\nimport { Observable, of } from 'rxjs';\nimport { DrawerOptions } from './drawer.options';\nimport { NzDrawerModule } from 'ng-zorro-antd/drawer';\n\n@Component({\n selector: 'axis-drawer',\n imports: [DynamicDirective, NzDrawerModule],\n templateUrl: './drawer.html',\n styleUrl: './drawer.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class Text extends Base<DrawerOptions> {\n\n constructor() {\n super();\n effect(() => {\n this.isVisible.set(this.options.visible());\n })\n }\n\n override options: DrawerOptions = new DrawerOptions();\n\n readonly isVisible = model(false);\n\n onClose() {\n this.isVisible.set(false);\n this.triggeEvents(\"drawerClose\").subscribe();\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 \"setDrawerVisible\":\n this.isVisible.set(e.data.visible);\n return of(true);\n }\n return undefined;\n }\n\n}\n","<nz-drawer [nzTitle]=\"options.title()\" [nzFooter]=\"options.footer()\" [(nzVisible)]=\"isVisible\"\n [nzPlacement]=\"options.placement()\" [nzWidth]=\"options.size()\" [nzHeight]=\"options.size()\"\n [nzOffsetX]=\"options.offset()\" [nzOffsetY]=\"options.offset()\" [nzBodyStyle]=\"options.style()\"\n [nzClosable]=\"options.closable()\" [nzCloseOnNavigation]=\"options.closeOnNavigation()\"\n [nzKeyboard]=\"options.keyboard()\" [nzMask]=\"options.mask()\" [nzMaskStyle]=\"options.maskStyle()\"\n [nzMaskClosable]=\"options.maskClosable()\" [nzExtra]=\"extra\" (nzOnClose)=\"onClose()\">\n <ng-container *nzDrawerContent>\n <ng-container [axisDynamic]=\"options.child()\"></ng-container>\n </ng-container>\n</nz-drawer>\n<ng-template #extra>\n <ng-container [axisDynamic]=\"options.extra()\"></ng-container>\n</ng-template>","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './drawer';\n"],"names":[],"mappings":";;;;;;;AAGM,MAAO,aAAc,SAAQ,WAAW,CAAA;AAEjC,IAAA,KAAK,GAAG,MAAM,CAAC,KAAK,iDAAC;AACrB,IAAA,MAAM,GAAG,MAAM,CAAC,EAAE,kDAAC;AACnB,IAAA,OAAO,GAAG,MAAM,CAAC,KAAK,mDAAC;AACvB,IAAA,SAAS,GAAG,MAAM,CAAsC,OAAO,qDAAC;AAChE,IAAA,IAAI,GAAG,MAAM,CAAqB,SAAS,gDAAC;AAC5C,IAAA,MAAM,GAAG,MAAM,CAAS,CAAC,kDAAC;AAE1B,IAAA,QAAQ,GAAG,MAAM,CAAC,IAAI,oDAAC;AACvB,IAAA,iBAAiB,GAAG,MAAM,CAAC,IAAI,6DAAC;AAChC,IAAA,QAAQ,GAAG,MAAM,CAAC,IAAI,oDAAC;AACvB,IAAA,IAAI,GAAG,MAAM,CAAC,IAAI,g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