ngx-axis-appforge 0.0.52 → 0.0.53

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.
@@ -14,6 +14,7 @@ declare class RichTextEditor extends ValueAccess<RichTextEditorOptions> {
14
14
  options: RichTextEditorOptions;
15
15
  private readonly fileBaseUrl;
16
16
  private readonly http;
17
+ private platformLocation;
17
18
  editor: EditorComponent;
18
19
  editorConfig: _angular_core.Signal<any>;
19
20
  filePickerCallback(callback: (value: string, meta?: Record<string, any>) => void, value: string, meta: Record<string, any>): void;
@@ -10,7 +10,7 @@ import { of } from 'rxjs';
10
10
  import * as i3 from 'ng-zorro-antd/icon';
11
11
  import { NzIconModule } from 'ng-zorro-antd/icon';
12
12
  import * as i4 from 'ng-zorro-antd/tooltip';
13
- import { NzToolTipModule, NzTooltipDirective } from 'ng-zorro-antd/tooltip';
13
+ import { NzTooltipModule, NzTooltipDirective } from 'ng-zorro-antd/tooltip';
14
14
  import * as i5 from 'ng-zorro-antd/button';
15
15
  import { NzButtonModule } from 'ng-zorro-antd/button';
16
16
  import * as i6 from 'ng-zorro-antd/core/transition-patch';
@@ -72,11 +72,11 @@ class Editor extends ValueAccess {
72
72
  });
73
73
  }
74
74
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: Editor, deps: null, target: i0.ɵɵFactoryTarget.Component });
75
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.4", type: Editor, isStandalone: true, selector: "axis-editor", host: { listeners: { "mouseenter": "mouseenter()", "keydown": "keydown($event)" } }, viewQueries: [{ propertyName: "tooltip", first: true, predicate: NzTooltipDirective, descendants: true }, { propertyName: "editor", first: true, predicate: NzCodeEditorComponent, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"container\" [class.full-screen]=\"fullScreen()\">\n <div class=\"toolBar\">\n <a nz-button nzType=\"link\" nzSize=\"small\" (click)=\"toggleFullScreen()\">\n <nz-icon [class.active]=\"fullScreen()\" nz-tooltip nzTooltipTitle=\"\u5207\u6362\u5168\u5C4F\"\n [nzType]=\"fullScreen() ? 'fullscreen-exit' : 'fullscreen'\" />\n </a>\n </div>\n <nz-code-editor [(ngModel)]=\"value\" (ngModelChange)=\"onChange?.($event)\"\n [nzEditorOption]=\"config()\"></nz-code-editor>\n</div>", styles: [":host{display:block;width:100%;height:100%}.container{display:flex;flex-direction:column;height:100%;width:100%;background-color:#fff;position:relative}nz-code-editor{height:100%;width:100%;flex:1}.full-screen{position:fixed;z-index:999;height:100vh;inset:0}.toolBar{display:flex;justify-content:end;position:absolute;top:20px;right:50px;border-radius:16px;z-index:1000}.toolBar:hover{background-color:#fff;box-shadow:2px 2px 5px #00000026;transition:all .2s ease-in-out}\n"], dependencies: [{ kind: "ngmodule", type: NzCodeEditorModule }, { kind: "component", type: i1.NzCodeEditorComponent, selector: "nz-code-editor", inputs: ["nzEditorMode", "nzOriginalText", "nzLoading", "nzFullControl", "nzToolkit", "nzEditorOption"], outputs: ["nzEditorInitialized"], exportAs: ["nzCodeEditor"] }, { kind: "ngmodule", type: NzFormModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: NzIconModule }, { kind: "directive", type: i3.NzIconDirective, selector: "nz-icon,[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "ngmodule", type: NzToolTipModule }, { kind: "directive", type: i4.NzTooltipDirective, selector: "[nz-tooltip]", inputs: ["nzTooltipTitle", "nzTooltipTitleContext", "nz-tooltip", "nzTooltipTrigger", "nzTooltipPlacement", "nzTooltipOrigin", "nzTooltipVisible", "nzTooltipMouseEnterDelay", "nzTooltipMouseLeaveDelay", "nzTooltipOverlayClassName", "nzTooltipOverlayStyle", "nzTooltipArrowPointAtCenter", "cdkConnectedOverlayPush", "nzTooltipColor"], outputs: ["nzTooltipVisibleChange"], exportAs: ["nzTooltip"] }, { kind: "ngmodule", type: NzButtonModule }, { kind: "component", type: i5.NzButtonComponent, selector: "button[nz-button], a[nz-button]", inputs: ["nzBlock", "nzGhost", "nzSearch", "nzLoading", "nzDanger", "disabled", "tabIndex", "nzType", "nzShape", "nzSize"], exportAs: ["nzButton"] }, { kind: "directive", type: i6.ɵNzTransitionPatchDirective, selector: "[nz-button], [nz-icon], nz-icon, [nz-menu-item], [nz-submenu], nz-select-top-control, nz-select-placeholder, nz-input-group", inputs: ["hidden"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
75
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.4", type: Editor, isStandalone: true, selector: "axis-editor", host: { listeners: { "mouseenter": "mouseenter()", "keydown": "keydown($event)" } }, viewQueries: [{ propertyName: "tooltip", first: true, predicate: NzTooltipDirective, descendants: true }, { propertyName: "editor", first: true, predicate: NzCodeEditorComponent, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"container\" [class.full-screen]=\"fullScreen()\">\n <div class=\"toolBar\">\n <a nz-button nzType=\"link\" nzSize=\"small\" (click)=\"toggleFullScreen()\">\n <nz-icon [class.active]=\"fullScreen()\" nz-tooltip nzTooltipTitle=\"\u5207\u6362\u5168\u5C4F\"\n [nzType]=\"fullScreen() ? 'fullscreen-exit' : 'fullscreen'\" />\n </a>\n </div>\n <nz-code-editor [(ngModel)]=\"value\" (ngModelChange)=\"onChange?.($event)\"\n [nzEditorOption]=\"config()\"></nz-code-editor>\n</div>", styles: [":host{display:block;width:100%;height:100%}.container{display:flex;flex-direction:column;height:100%;width:100%;background-color:#fff;position:relative}nz-code-editor{height:100%;width:100%;flex:1}.full-screen{position:fixed;z-index:999;height:100vh;inset:0}.toolBar{display:flex;justify-content:end;position:absolute;top:20px;right:50px;border-radius:16px;z-index:1000}.toolBar:hover{background-color:#fff;box-shadow:2px 2px 5px #00000026;transition:all .2s ease-in-out}\n"], dependencies: [{ kind: "ngmodule", type: NzCodeEditorModule }, { kind: "component", type: i1.NzCodeEditorComponent, selector: "nz-code-editor", inputs: ["nzEditorMode", "nzOriginalText", "nzLoading", "nzFullControl", "nzToolkit", "nzEditorOption"], outputs: ["nzEditorInitialized"], exportAs: ["nzCodeEditor"] }, { kind: "ngmodule", type: NzFormModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: NzIconModule }, { kind: "directive", type: i3.NzIconDirective, selector: "nz-icon,[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "ngmodule", type: NzTooltipModule }, { kind: "directive", type: i4.NzTooltipDirective, selector: "[nz-tooltip]", inputs: ["nzTooltipTitle", "nzTooltipTitleContext", "nz-tooltip", "nzTooltipTrigger", "nzTooltipPlacement", "nzTooltipOrigin", "nzTooltipVisible", "nzTooltipMouseEnterDelay", "nzTooltipMouseLeaveDelay", "nzTooltipOverlayClassName", "nzTooltipOverlayStyle", "nzTooltipArrowPointAtCenter", "cdkConnectedOverlayPush", "nzTooltipColor"], outputs: ["nzTooltipVisibleChange"], exportAs: ["nzTooltip"] }, { kind: "ngmodule", type: NzButtonModule }, { kind: "component", type: i5.NzButtonComponent, selector: "button[nz-button], a[nz-button]", inputs: ["nzBlock", "nzGhost", "nzSearch", "nzLoading", "nzDanger", "disabled", "tabIndex", "nzType", "nzShape", "nzSize"], exportAs: ["nzButton"] }, { kind: "directive", type: i6.ɵNzTransitionPatchDirective, selector: "[nz-button], [nz-icon], nz-icon, [nz-menu-item], [nz-submenu], nz-select-top-control, nz-select-placeholder, nz-input-group", inputs: ["hidden"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
76
76
  }
77
77
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: Editor, decorators: [{
78
78
  type: Component,
79
- args: [{ selector: 'axis-editor', imports: [NzCodeEditorModule, NzFormModule, FormsModule, NzIconModule, NzToolTipModule, NzButtonModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"container\" [class.full-screen]=\"fullScreen()\">\n <div class=\"toolBar\">\n <a nz-button nzType=\"link\" nzSize=\"small\" (click)=\"toggleFullScreen()\">\n <nz-icon [class.active]=\"fullScreen()\" nz-tooltip nzTooltipTitle=\"\u5207\u6362\u5168\u5C4F\"\n [nzType]=\"fullScreen() ? 'fullscreen-exit' : 'fullscreen'\" />\n </a>\n </div>\n <nz-code-editor [(ngModel)]=\"value\" (ngModelChange)=\"onChange?.($event)\"\n [nzEditorOption]=\"config()\"></nz-code-editor>\n</div>", styles: [":host{display:block;width:100%;height:100%}.container{display:flex;flex-direction:column;height:100%;width:100%;background-color:#fff;position:relative}nz-code-editor{height:100%;width:100%;flex:1}.full-screen{position:fixed;z-index:999;height:100vh;inset:0}.toolBar{display:flex;justify-content:end;position:absolute;top:20px;right:50px;border-radius:16px;z-index:1000}.toolBar:hover{background-color:#fff;box-shadow:2px 2px 5px #00000026;transition:all .2s ease-in-out}\n"] }]
79
+ args: [{ selector: 'axis-editor', imports: [NzCodeEditorModule, NzFormModule, FormsModule, NzIconModule, NzTooltipModule, NzButtonModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"container\" [class.full-screen]=\"fullScreen()\">\n <div class=\"toolBar\">\n <a nz-button nzType=\"link\" nzSize=\"small\" (click)=\"toggleFullScreen()\">\n <nz-icon [class.active]=\"fullScreen()\" nz-tooltip nzTooltipTitle=\"\u5207\u6362\u5168\u5C4F\"\n [nzType]=\"fullScreen() ? 'fullscreen-exit' : 'fullscreen'\" />\n </a>\n </div>\n <nz-code-editor [(ngModel)]=\"value\" (ngModelChange)=\"onChange?.($event)\"\n [nzEditorOption]=\"config()\"></nz-code-editor>\n</div>", styles: [":host{display:block;width:100%;height:100%}.container{display:flex;flex-direction:column;height:100%;width:100%;background-color:#fff;position:relative}nz-code-editor{height:100%;width:100%;flex:1}.full-screen{position:fixed;z-index:999;height:100vh;inset:0}.toolBar{display:flex;justify-content:end;position:absolute;top:20px;right:50px;border-radius:16px;z-index:1000}.toolBar:hover{background-color:#fff;box-shadow:2px 2px 5px #00000026;transition:all .2s ease-in-out}\n"] }]
80
80
  }], propDecorators: { tooltip: [{
81
81
  type: ViewChild,
82
82
  args: [NzTooltipDirective, { static: false }]
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-axis-appforge-axis-components-editor.mjs","sources":["../../../axis-components/editor/editor.options.ts","../../../axis-components/editor/editor.ts","../../../axis-components/editor/editor.html","../../../axis-components/editor/ngx-axis-appforge-axis-components-editor.ts"],"sourcesContent":["import { signal } from \"@angular/core\";\nimport { ValueAccessOptions } from \"ngx-axis-appforge/core\";\n\nexport class EditorOptions extends ValueAccessOptions {\n\n readonly mode = signal<\"json\" | \"javascript\" | \"plain_text\" | \"sql\" | \"html\">(\"plain_text\");\n readonly otherOptions = signal<any>({});\n readonly typescriptExtLibs = signal<{ content: string; filePath?: string; }[]>([]);\n\n}","import { ChangeDetectionStrategy, Component, computed, DOCUMENT, HostListener, inject, Renderer2, signal, ViewChild } from '@angular/core';\nimport { EditorOptions } from './editor.options';\nimport { NzCodeEditorComponent, NzCodeEditorModule } from 'ng-zorro-antd/code-editor';\nimport { NzFormModule } from 'ng-zorro-antd/form';\nimport { FormsModule } from '@angular/forms';\nimport { ValueAccess, EventHandlerOptions } from 'ngx-axis-appforge/core';\nimport type { languages } from 'monaco-editor';\nimport { NzSafeAny } from 'ng-zorro-antd/core/types';\nimport { Observable, of } from 'rxjs';\nimport { NzIconModule } from 'ng-zorro-antd/icon';\nimport { NzTooltipDirective, NzToolTipModule } from 'ng-zorro-antd/tooltip';\nimport { NzButtonModule } from 'ng-zorro-antd/button';\ndeclare const monaco: NzSafeAny;\n\n@Component({\n selector: 'axis-editor',\n imports: [NzCodeEditorModule, NzFormModule, FormsModule, NzIconModule, NzToolTipModule, NzButtonModule],\n templateUrl: './editor.html',\n styleUrl: './editor.css',\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class Editor extends ValueAccess<EditorOptions> {\n\n override options: EditorOptions = new EditorOptions();\n\n override writeValue(value: any): void {\n super.writeValue(value ?? \"\");\n }\n\n config = computed(() => ({\n language: this.options.mode(),\n readOnly: this.options.readonly() || this.options.disabled(),\n domReadOnly: this.options.readonly() || this.options.disabled(),\n fixedOverflowWidgets: true,\n ...this.options.otherOptions(),\n }));\n\n readonly fullScreen = signal(false);\n private document: Document = inject(DOCUMENT);\n private renderer: Renderer2 = inject(Renderer2);\n @ViewChild(NzTooltipDirective, { static: false })\n tooltip?: NzTooltipDirective;\n\n\n @ViewChild(NzCodeEditorComponent, { static: true })\n editor!: NzCodeEditorComponent;\n\n @HostListener(\"mouseenter\")\n mouseenter() {\n if (this.config().language == \"javascript\") {\n const lsd: languages.typescript.LanguageServiceDefaults = monaco.languages.typescript.javascriptDefaults;\n lsd.setExtraLibs(this.options.typescriptExtLibs());\n }\n }\n\n @HostListener(\"keydown\", ['$event'])\n keydown(e: KeyboardEvent) {\n if (e.key == \"Escape\" && this.fullScreen()) {\n this.toggleFullScreen();\n e.stopPropagation();\n e.preventDefault();\n }\n }\n\n override onEvents(e: EventHandlerOptions<any>): Observable<boolean> | undefined {\n const obs = super.onEvents?.(e);\n if (obs) {\n return obs;\n }\n switch (e.name) {\n case \"layout\":\n this.editor?.layout();\n return of(true);\n }\n return undefined;\n }\n\n toggleFullScreen(): void {\n this.fullScreen.set(!this.fullScreen());\n this.renderer.setStyle(this.document.body, 'overflow-y', this.fullScreen() ? 'hidden' : null);\n this.tooltip?.hide();\n setTimeout(() => {\n this.editor?.layout();\n });\n }\n}\n","<div class=\"container\" [class.full-screen]=\"fullScreen()\">\n <div class=\"toolBar\">\n <a nz-button nzType=\"link\" nzSize=\"small\" (click)=\"toggleFullScreen()\">\n <nz-icon [class.active]=\"fullScreen()\" nz-tooltip nzTooltipTitle=\"切换全屏\"\n [nzType]=\"fullScreen() ? 'fullscreen-exit' : 'fullscreen'\" />\n </a>\n </div>\n <nz-code-editor [(ngModel)]=\"value\" (ngModelChange)=\"onChange?.($event)\"\n [nzEditorOption]=\"config()\"></nz-code-editor>\n</div>","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './editor';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAGM,MAAO,aAAc,SAAQ,kBAAkB,CAAA;AAExC,IAAA,IAAI,GAAG,MAAM,CAAwD,YAAY,gDAAC;AAClF,IAAA,YAAY,GAAG,MAAM,CAAM,EAAE,wDAAC;AAC9B,IAAA,iBAAiB,GAAG,MAAM,CAA4C,EAAE,6DAAC;AAErF;;ACYK,MAAO,MAAO,SAAQ,WAA0B,CAAA;AAE3C,IAAA,OAAO,GAAkB,IAAI,aAAa,EAAE;AAE5C,IAAA,UAAU,CAAC,KAAU,EAAA;AAC5B,QAAA,KAAK,CAAC,UAAU,CAAC,KAAK,IAAI,EAAE,CAAC;IAC/B;AAEA,IAAA,MAAM,GAAG,QAAQ,CAAC,OAAO;AACvB,QAAA,QAAQ,EAAE,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE;AAC7B,QAAA,QAAQ,EAAE,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE,IAAI,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE;AAC5D,QAAA,WAAW,EAAE,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE,IAAI,IAAI,CAAC,OAAO,CAAC,Q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PlB,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,aAAa,WACd,CAAC,kBAAkB,EAAE,YAAY,EAAE,WAAW,EAAE,YAAY,EAAE,eAAe,EAAE,cAAc,CAAC,EAAA,eAAA,EAGtF,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,+hBAAA,EAAA,MAAA,EAAA,CAAA,2dAAA,CAAA,EAAA;8BAsB/C,OAAO,EAAA,CAAA;sBADN,SAAS;AAAC,gBAAA,IAAA,EAAA,CAAA,kBAAkB,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE;gBAKhD,MAAM,EAAA,CAAA;sBADL,SAAS;AAAC,gBAAA,IAAA,EAAA,CAAA,qBAAqB,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE;gBAIlD,UAAU,EAAA,CAAA;sBADT,YAAY;uBAAC,YAAY;gBAS1B,OAAO,EAAA,CAAA;sBADN,YAAY;uBAAC,SAAS,EAAE,CAAC,QAAQ,CAAC;;;AEvDrC;;AAEG;;;;"}
1
+ {"version":3,"file":"ngx-axis-appforge-axis-components-editor.mjs","sources":["../../../axis-components/editor/editor.options.ts","../../../axis-components/editor/editor.ts","../../../axis-components/editor/editor.html","../../../axis-components/editor/ngx-axis-appforge-axis-components-editor.ts"],"sourcesContent":["import { signal } from \"@angular/core\";\nimport { ValueAccessOptions } from \"ngx-axis-appforge/core\";\n\nexport class EditorOptions extends ValueAccessOptions {\n\n readonly mode = signal<\"json\" | \"javascript\" | \"plain_text\" | \"sql\" | \"html\">(\"plain_text\");\n readonly otherOptions = signal<any>({});\n readonly typescriptExtLibs = signal<{ content: string; filePath?: string; }[]>([]);\n\n}","import { ChangeDetectionStrategy, Component, computed, DOCUMENT, HostListener, inject, Renderer2, signal, ViewChild } from '@angular/core';\nimport { EditorOptions } from './editor.options';\nimport { NzCodeEditorComponent, NzCodeEditorModule } from 'ng-zorro-antd/code-editor';\nimport { NzFormModule } from 'ng-zorro-antd/form';\nimport { FormsModule } from '@angular/forms';\nimport { ValueAccess, EventHandlerOptions } from 'ngx-axis-appforge/core';\nimport type { languages } from 'monaco-editor';\nimport { NzSafeAny } from 'ng-zorro-antd/core/types';\nimport { Observable, of } from 'rxjs';\nimport { NzIconModule } from 'ng-zorro-antd/icon';\nimport { NzTooltipDirective, NzTooltipModule } from 'ng-zorro-antd/tooltip';\nimport { NzButtonModule } from 'ng-zorro-antd/button';\ndeclare const monaco: NzSafeAny;\n\n@Component({\n selector: 'axis-editor',\n imports: [NzCodeEditorModule, NzFormModule, FormsModule, NzIconModule, NzTooltipModule, NzButtonModule],\n templateUrl: './editor.html',\n styleUrl: './editor.css',\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class Editor extends ValueAccess<EditorOptions> {\n\n override options: EditorOptions = new EditorOptions();\n\n override writeValue(value: any): void {\n super.writeValue(value ?? \"\");\n }\n\n config = computed(() => ({\n language: this.options.mode(),\n readOnly: this.options.readonly() || this.options.disabled(),\n domReadOnly: this.options.readonly() || this.options.disabled(),\n fixedOverflowWidgets: true,\n ...this.options.otherOptions(),\n }));\n\n readonly fullScreen = signal(false);\n private document: Document = inject(DOCUMENT);\n private renderer: Renderer2 = inject(Renderer2);\n @ViewChild(NzTooltipDirective, { static: false })\n tooltip?: NzTooltipDirective;\n\n\n @ViewChild(NzCodeEditorComponent, { static: true })\n editor!: NzCodeEditorComponent;\n\n @HostListener(\"mouseenter\")\n mouseenter() {\n if (this.config().language == \"javascript\") {\n const lsd: languages.typescript.LanguageServiceDefaults = monaco.languages.typescript.javascriptDefaults;\n lsd.setExtraLibs(this.options.typescriptExtLibs());\n }\n }\n\n @HostListener(\"keydown\", ['$event'])\n keydown(e: KeyboardEvent) {\n if (e.key == \"Escape\" && this.fullScreen()) {\n this.toggleFullScreen();\n e.stopPropagation();\n e.preventDefault();\n }\n }\n\n override onEvents(e: EventHandlerOptions<any>): Observable<boolean> | undefined {\n const obs = super.onEvents?.(e);\n if (obs) {\n return obs;\n }\n switch (e.name) {\n case \"layout\":\n this.editor?.layout();\n return of(true);\n }\n return undefined;\n }\n\n toggleFullScreen(): void {\n this.fullScreen.set(!this.fullScreen());\n this.renderer.setStyle(this.document.body, 'overflow-y', this.fullScreen() ? 'hidden' : null);\n this.tooltip?.hide();\n setTimeout(() => {\n this.editor?.layout();\n });\n }\n}\n","<div class=\"container\" [class.full-screen]=\"fullScreen()\">\n <div class=\"toolBar\">\n <a nz-button nzType=\"link\" nzSize=\"small\" (click)=\"toggleFullScreen()\">\n <nz-icon [class.active]=\"fullScreen()\" nz-tooltip nzTooltipTitle=\"切换全屏\"\n [nzType]=\"fullScreen() ? 'fullscreen-exit' : 'fullscreen'\" />\n </a>\n </div>\n <nz-code-editor [(ngModel)]=\"value\" (ngModelChange)=\"onChange?.($event)\"\n [nzEditorOption]=\"config()\"></nz-code-editor>\n</div>","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './editor';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAGM,MAAO,aAAc,SAAQ,kBAAkB,CAAA;AAExC,IAAA,IAAI,GAAG,MAAM,CAAwD,YAAY,gDAAC;AAClF,IAAA,YAAY,GAAG,MAAM,CAAM,EAAE,wDAAC;AAC9B,IAAA,iBAAiB,GAAG,MAAM,CAA4C,EAAE,6DAAC;AAErF;;ACYK,MAAO,MAAO,SAAQ,WAA0B,CAAA;AAE3C,IAAA,OAAO,GAAkB,IAAI,aAAa,EAAE;AAE5C,IAAA,UAAU,CAAC,KAAU,EAAA;AAC5B,QAAA,KAAK,CAAC,UAAU,CAAC,KAAK,IAAI,EAAE,CAAC;IAC/B;AAEA,IAAA,MAAM,GAAG,QAAQ,CAAC,OAAO;AACvB,QAAA,QAAQ,EAAE,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE;AAC7B,QAAA,QAAQ,EAAE,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE,IAAI,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE;AAC5D,QAAA,WAAW,EAAE,IAAI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A,MAAA,EAAA,CAAA;;2FAK3F,MAAM,EAAA,UAAA,EAAA,CAAA;kBAPlB,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,aAAa,WACd,CAAC,kBAAkB,EAAE,YAAY,EAAE,WAAW,EAAE,YAAY,EAAE,eAAe,EAAE,cAAc,CAAC,EAAA,eAAA,EAGtF,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,+hBAAA,EAAA,MAAA,EAAA,CAAA,2dAAA,CAAA,EAAA;8BAsB/C,OAAO,EAAA,CAAA;sBADN,SAAS;AAAC,gBAAA,IAAA,EAAA,CAAA,kBAAkB,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE;gBAKhD,MAAM,EAAA,CAAA;sBADL,SAAS;AAAC,gBAAA,IAAA,EAAA,CAAA,qBAAqB,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE;gBAIlD,UAAU,EAAA,CAAA;sBADT,YAAY;uBAAC,YAAY;gBAS1B,OAAO,EAAA,CAAA;sBADN,YAAY;uBAAC,SAAS,EAAE,CAAC,QAAQ,CAAC;;;AEvDrC;;AAEG;;;;"}
@@ -7,6 +7,7 @@ import * as i2 from '@tinymce/tinymce-angular';
7
7
  import { EditorModule, EditorComponent, TINYMCE_SCRIPT_SRC } from '@tinymce/tinymce-angular';
8
8
  import { BehaviorSubject } from 'rxjs';
9
9
  import { HttpClient, HttpResponse, HttpEventType } from '@angular/common/http';
10
+ import { PlatformLocation } from '@angular/common';
10
11
 
11
12
  class RichTextEditorOptions extends ValueAccessOptions {
12
13
  fileUploadUrl = signal("", ...(ngDevMode ? [{ debugName: "fileUploadUrl" }] : []));
@@ -19,6 +20,7 @@ class RichTextEditor extends ValueAccess {
19
20
  options = new RichTextEditorOptions();
20
21
  fileBaseUrl = inject(AXIS_FILE_BASE_URL_TOKEN, { optional: true }) ?? "";
21
22
  http = inject(HttpClient);
23
+ platformLocation = inject(PlatformLocation);
22
24
  editor;
23
25
  editorConfig = computed(() => {
24
26
  return Object.assign({}, this.defaultEditorConfig, this.options.tinymceOptions());
@@ -92,7 +94,7 @@ class RichTextEditor extends ValueAccess {
92
94
  }
93
95
  }
94
96
  defaultEditorConfig = {
95
- base_url: "/tinymce",
97
+ base_url: `${this.platformLocation.getBaseHrefFromDOM()}tinymce`,
96
98
  suffix: '.min',
97
99
  language: 'zh_CN',
98
100
  skin: (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'oxide-dark' : 'oxide'),
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-axis-appforge-axis-components-rich-text-editor.mjs","sources":["../../../axis-components/rich-text-editor/rich-text-editor.options.ts","../../../axis-components/rich-text-editor/rich-text-editor.ts","../../../axis-components/rich-text-editor/rich-text-editor.html","../../../axis-components/rich-text-editor/ngx-axis-appforge-axis-components-rich-text-editor.ts"],"sourcesContent":["import { signal } from \"@angular/core\";\nimport { ValueAccessOptions } from \"ngx-axis-appforge/core\";\n\nexport class RichTextEditorOptions extends ValueAccessOptions {\n\n readonly fileUploadUrl = signal(\"\");\n readonly fileUploadFormName = signal(\"file\");\n readonly fileUploadResponseFn = signal(\"\");\n readonly tinymceOptions = signal<any>(undefined);\n}","import { ChangeDetectionStrategy, Component, computed, inject, ViewChild } from '@angular/core';\nimport { RichTextEditorOptions } from './rich-text-editor.options';\nimport { AXIS_FILE_BASE_URL_TOKEN, ValueAccess } from 'ngx-axis-appforge/core';\nimport { FormsModule } from '@angular/forms';\nimport { EditorComponent, EditorModule, TINYMCE_SCRIPT_SRC } from '@tinymce/tinymce-angular';\nimport { RawEditorOptions } from 'tinymce';\nimport { BehaviorSubject } from 'rxjs';\nimport { HttpClient, HttpEventType, HttpResponse } from '@angular/common/http';\n\n@Component({\n selector: 'axis-rich-text-editor',\n imports: [FormsModule, EditorModule],\n templateUrl: './rich-text-editor.html',\n styleUrl: './rich-text-editor.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n { provide: TINYMCE_SCRIPT_SRC, useValue: 'tinymce/tinymce.min.js' }\n ]\n})\nexport class RichTextEditor extends ValueAccess<RichTextEditorOptions> {\n\n override options: RichTextEditorOptions = new RichTextEditorOptions();\n private readonly fileBaseUrl = inject(AXIS_FILE_BASE_URL_TOKEN, { optional: true }) ?? \"\";\n private readonly http = inject(HttpClient);\n\n @ViewChild(EditorComponent, { static: true })\n editor!: EditorComponent;\n\n editorConfig = computed(() => {\n return Object.assign({}, this.defaultEditorConfig, this.options.tinymceOptions());\n })\n\n filePickerCallback(callback: (value: string, meta?: Record<string, any>) => void, value: string, meta: Record<string, any>) {\n const input = document.createElement('input');\n input.setAttribute('type', 'file');\n let accept;\n switch (meta['filetype']) {\n case \"image\":\n accept = \"image/*\";\n break;\n case \"media\":\n accept = \"video/*,audio/*\";\n break;\n default:\n accept = \"*/*\";\n }\n input.setAttribute('accept', accept);\n input.onchange = (e) => {\n const file = (e?.target as HTMLInputElement | undefined)?.files?.[0];\n if (file) {\n const reader = new FileReader();\n reader.onload = () => {\n if (reader.result) {\n const id = 'blobid' + (new Date()).getTime();\n const blobCache = this.editor.editor.editorUpload.blobCache;\n const base64 = reader.result?.toString()?.split(',')[1];\n const blobInfo = blobCache.create(id, file, base64);\n blobCache.add(blobInfo);\n callback(blobInfo.blobUri(), { title: file.name });\n }\n }\n reader.readAsDataURL(file);\n }\n };\n\n input.click();\n }\n\n uploadHandler(blobInfo: any, progress: any): Promise<string> {\n return new Promise((resolve, reject) => {\n const formData = new FormData();\n formData.append(this.options.fileUploadFormName(), blobInfo.blob(), blobInfo.filename());\n this.http.post(this.options.fileUploadUrl(), formData, { reportProgress: true, observe: 'events' }).subscribe(event => {\n if (event instanceof HttpResponse) {\n if (this.options.fileUploadResponseFn()) {\n const res = this.runFn(this.options.fileUploadResponseFn(), { apiResponse: event.body });\n const { success, errmsg, url } = res;\n if (success) {\n resolve(this.getUrl(url));\n } else {\n reject(errmsg || \"上传失败\");\n }\n }\n } else if (event.type == HttpEventType.UploadProgress) {\n progress(Math.floor(event.loaded / event.total! * 100));\n }\n });\n });\n }\n\n getUrl(url: string): string {\n if (url.startsWith(\"http\")) {\n return url;\n } else if (this.fileBaseUrl instanceof BehaviorSubject) {\n return this.fileBaseUrl.value + url;\n } else {\n return this.fileBaseUrl + url;\n }\n }\n\n\n defaultEditorConfig: RawEditorOptions = {\n base_url: \"/tinymce\",\n suffix: '.min',\n language: 'zh_CN',\n skin: (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'oxide-dark' : 'oxide'),\n content_css: (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'default'),\n promotion: false,\n onboarding: false,\n branding: false,\n plugins: 'preview importcss searchreplace autolink directionality code visualblocks visualchars fullscreen image link media codesample table charmap pagebreak nonbreaking anchor insertdatetime advlist lists wordcount help charmap quickbars emoticons accordion',\n menubar: 'file edit view insert format tools table help',\n toolbar: \"undo redo | blocks fontfamily fontsize | bold italic underline strikethrough | align numlist bullist | link image | table media | lineheight outdent indent| forecolor backcolor removeformat | charmap emoticons | accordion accordionremove | code fullscreen preview | print | pagebreak anchor codesample | ltr rtl\",\n hidden_input: false,\n file_picker_callback: this.filePickerCallback.bind(this),\n images_upload_handler: this.uploadHandler.bind(this),\n convert_urls: false,\n image_advtab: true,\n importcss_append: true,\n image_caption: true,\n images_reuse_filename: true,\n quickbars_selection_toolbar: 'bold italic | quicklink h2 h3 blockquote quickimage quicktable',\n noneditable_class: 'mceNonEditable',\n toolbar_mode: 'sliding',\n contextmenu: 'link image table',\n }\n}\n","<editor style=\"height: 100%;\" [init]=\"editorConfig()\" licenseKey=\"gpl\" [(ngModel)]=\"value\" (ngModelChange)=\"onChange?.($event)\"></editor>","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './rich-text-editor';\n"],"names":[],"mappings":";;;;;;;;;;AAGM,MAAO,qBAAsB,SAAQ,kBAAkB,CAAA;AAEhD,IAAA,aAAa,GAAG,MAAM,CAAC,EAAE,yDAAC;AAC1B,IAAA,kBAAkB,GAAG,MAAM,CAAC,MAAM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IAAA,EAAA,SAAA,EAQU,eAAe,EAAA,WAAA,EAAA,IAAA,EAAA,MAAA,EAAA,IAAA,EAAA,CAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECzB5B,qJAAyI,EAAA,MAAA,EAAA,CAAA,mCAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EDW7H,WAAW,8VAAE,YAAY,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,eAAA,EAAA,QAAA,EAAA,QAAA,EAAA,MAAA,EAAA,CAAA,cAAA,EAAA,QAAA,EAAA,YAAA,EAAA,MAAA,EAAA,IAAA,EAAA,cAAA,EAAA,cAAA,EAAA,QAAA,EAAA,SAAA,EAAA,SAAA,EAAA,SAAA,EAAA,aAAA,EAAA,eAAA,EAAA,cAAA,EAAA,UAAA,EAAA,UAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;2FAQxB,cAAc,EAAA,UAAA,EAAA,CAAA;kBAV1B,SAAS;+BACE,uBAAuB,EAAA,OAAA,EACxB,CAAC,WAAW,EAAE,YAAY,CAAC,EAAA,eAAA,EAGnB,uBAAuB,CAAC,MAAM,EAAA,SAAA,EACpC;AACT,wBAAA,EAAE,OAAO,EAAE,kBAAkB,EAAE,QAAQ,EAAE,wBAAwB;AAClE,qBAAA,EAAA,QAAA,EAAA,qJAAA,EAAA,MAAA,EAAA,CAAA,mCAAA,CAAA,EAAA;8BASD,MAAM,EAAA,CAAA;sBADL,SAAS;AAAC,gBAAA,IAAA,EAAA,CAAA,eAAe,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE;;;AEzB9C;;AAEG;;;;"}
1
+ {"version":3,"file":"ngx-axis-appforge-axis-components-rich-text-editor.mjs","sources":["../../../axis-components/rich-text-editor/rich-text-editor.options.ts","../../../axis-components/rich-text-editor/rich-text-editor.ts","../../../axis-components/rich-text-editor/rich-text-editor.html","../../../axis-components/rich-text-editor/ngx-axis-appforge-axis-components-rich-text-editor.ts"],"sourcesContent":["import { signal } from \"@angular/core\";\nimport { ValueAccessOptions } from \"ngx-axis-appforge/core\";\n\nexport class RichTextEditorOptions extends ValueAccessOptions {\n\n readonly fileUploadUrl = signal(\"\");\n readonly fileUploadFormName = signal(\"file\");\n readonly fileUploadResponseFn = signal(\"\");\n readonly tinymceOptions = signal<any>(undefined);\n}","import { ChangeDetectionStrategy, Component, computed, inject, ViewChild } from '@angular/core';\nimport { RichTextEditorOptions } from './rich-text-editor.options';\nimport { AXIS_FILE_BASE_URL_TOKEN, ValueAccess } from 'ngx-axis-appforge/core';\nimport { FormsModule } from '@angular/forms';\nimport { EditorComponent, EditorModule, TINYMCE_SCRIPT_SRC } from '@tinymce/tinymce-angular';\nimport { RawEditorOptions } from 'tinymce';\nimport { BehaviorSubject } from 'rxjs';\nimport { HttpClient, HttpEventType, HttpResponse } from '@angular/common/http';\nimport { PlatformLocation } from '@angular/common';\n\n@Component({\n selector: 'axis-rich-text-editor',\n imports: [FormsModule, EditorModule],\n templateUrl: './rich-text-editor.html',\n styleUrl: './rich-text-editor.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n { provide: TINYMCE_SCRIPT_SRC, useValue: 'tinymce/tinymce.min.js' }\n ]\n})\nexport class RichTextEditor extends ValueAccess<RichTextEditorOptions> {\n\n override options: RichTextEditorOptions = new RichTextEditorOptions();\n private readonly fileBaseUrl = inject(AXIS_FILE_BASE_URL_TOKEN, { optional: true }) ?? \"\";\n private readonly http = inject(HttpClient);\n private platformLocation = inject(PlatformLocation);\n @ViewChild(EditorComponent, { static: true })\n editor!: EditorComponent;\n\n editorConfig = computed(() => {\n return Object.assign({}, this.defaultEditorConfig, this.options.tinymceOptions());\n })\n\n filePickerCallback(callback: (value: string, meta?: Record<string, any>) => void, value: string, meta: Record<string, any>) {\n const input = document.createElement('input');\n input.setAttribute('type', 'file');\n let accept;\n switch (meta['filetype']) {\n case \"image\":\n accept = \"image/*\";\n break;\n case \"media\":\n accept = \"video/*,audio/*\";\n break;\n default:\n accept = \"*/*\";\n }\n input.setAttribute('accept', accept);\n input.onchange = (e) => {\n const file = (e?.target as HTMLInputElement | undefined)?.files?.[0];\n if (file) {\n const reader = new FileReader();\n reader.onload = () => {\n if (reader.result) {\n const id = 'blobid' + (new Date()).getTime();\n const blobCache = this.editor.editor.editorUpload.blobCache;\n const base64 = reader.result?.toString()?.split(',')[1];\n const blobInfo = blobCache.create(id, file, base64);\n blobCache.add(blobInfo);\n callback(blobInfo.blobUri(), { title: file.name });\n }\n }\n reader.readAsDataURL(file);\n }\n };\n\n input.click();\n }\n\n uploadHandler(blobInfo: any, progress: any): Promise<string> {\n return new Promise((resolve, reject) => {\n const formData = new FormData();\n formData.append(this.options.fileUploadFormName(), blobInfo.blob(), blobInfo.filename());\n this.http.post(this.options.fileUploadUrl(), formData, { reportProgress: true, observe: 'events' }).subscribe(event => {\n if (event instanceof HttpResponse) {\n if (this.options.fileUploadResponseFn()) {\n const res = this.runFn(this.options.fileUploadResponseFn(), { apiResponse: event.body });\n const { success, errmsg, url } = res;\n if (success) {\n resolve(this.getUrl(url));\n } else {\n reject(errmsg || \"上传失败\");\n }\n }\n } else if (event.type == HttpEventType.UploadProgress) {\n progress(Math.floor(event.loaded / event.total! * 100));\n }\n });\n });\n }\n\n getUrl(url: string): string {\n if (url.startsWith(\"http\")) {\n return url;\n } else if (this.fileBaseUrl instanceof BehaviorSubject) {\n return this.fileBaseUrl.value + url;\n } else {\n return this.fileBaseUrl + url;\n }\n }\n\n\n defaultEditorConfig: RawEditorOptions = {\n base_url: `${this.platformLocation.getBaseHrefFromDOM()}tinymce`,\n suffix: '.min',\n language: 'zh_CN',\n skin: (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'oxide-dark' : 'oxide'),\n content_css: (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'default'),\n promotion: false,\n onboarding: false,\n branding: false,\n plugins: 'preview importcss searchreplace autolink directionality code visualblocks visualchars fullscreen image link media codesample table charmap pagebreak nonbreaking anchor insertdatetime advlist lists wordcount help charmap quickbars emoticons accordion',\n menubar: 'file edit view insert format tools table help',\n toolbar: \"undo redo | blocks fontfamily fontsize | bold italic underline strikethrough | align numlist bullist | link image | table media | lineheight outdent indent| forecolor backcolor removeformat | charmap emoticons | accordion accordionremove | code fullscreen preview | print | pagebreak anchor codesample | ltr rtl\",\n hidden_input: false,\n file_picker_callback: this.filePickerCallback.bind(this),\n images_upload_handler: this.uploadHandler.bind(this),\n convert_urls: false,\n image_advtab: true,\n importcss_append: true,\n image_caption: true,\n images_reuse_filename: true,\n quickbars_selection_toolbar: 'bold italic | quicklink h2 h3 blockquote quickimage quicktable',\n noneditable_class: 'mceNonEditable',\n toolbar_mode: 'sliding',\n contextmenu: 'link image table',\n }\n}\n","<editor style=\"height: 100%;\" [init]=\"editorConfig()\" licenseKey=\"gpl\" [(ngModel)]=\"value\" (ngModelChange)=\"onChange?.($event)\"></editor>","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './rich-text-editor';\n"],"names":[],"mappings":";;;;;;;;;;;AAGM,MAAO,qBAAsB,SAAQ,kBAAkB,CAAA;AAEhD,IAAA,aAAa,GAAG,MAAM,CAAC,EAAE,yDAAC;AAC1B,IAAA,kBAAkB,GAAG,MAAM,CAAC,MAAM,8DAAC;AACnC,IAAA,oBAAoB,GAAG,MAAM,CAAC,EAAE,gEAAC;AACjC,IAAA,cAAc,GAAG,MAAM,CAAM,SAAS,0DAAC;AACnD;;ACWK,MAAO,cAAe,SAAQ,WAAkC,CAAA;AAE3D,IAAA,OAAO,GAA0B,IAAI,qBAAqB,EAAE;AACpD,IAAA,WAAW,GAAG,MAAM,CAAC,wBAAwB,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,IAAI,EAAE;AACxE,IAAA,IAAI,GAAG,MAAM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AA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EDY7H,WAAW,8VAAE,YAAY,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,eAAA,EAAA,QAAA,EAAA,QAAA,EAAA,MAAA,EAAA,CAAA,cAAA,EAAA,QAAA,EAAA,YAAA,EAAA,MAAA,EAAA,IAAA,EAAA,cAAA,EAAA,cAAA,EAAA,QAAA,EAAA,SAAA,EAAA,SAAA,EAAA,SAAA,EAAA,aAAA,EAAA,eAAA,EAAA,cAAA,EAAA,UAAA,EAAA,UAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;2FAQxB,cAAc,EAAA,UAAA,EAAA,CAAA;kBAV1B,SAAS;+BACE,uBAAuB,EAAA,OAAA,EACxB,CAAC,WAAW,EAAE,YAAY,CAAC,EAAA,eAAA,EAGnB,uBAAuB,CAAC,MAAM,EAAA,SAAA,EACpC;AACT,wBAAA,EAAE,OAAO,EAAE,kBAAkB,EAAE,QAAQ,EAAE,wBAAwB;AAClE,qBAAA,EAAA,QAAA,EAAA,qJAAA,EAAA,MAAA,EAAA,CAAA,mCAAA,CAAA,EAAA;8BASD,MAAM,EAAA,CAAA;sBADL,SAAS;AAAC,gBAAA,IAAA,EAAA,CAAA,eAAe,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE;;;AE1B9C;;AAEG;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-axis-appforge",
3
- "version": "0.0.52",
3
+ "version": "0.0.53",
4
4
  "author": "ZengCheng <zengc694623467@gmail.com>",
5
5
  "license": "MIT",
6
6
  "dependencies": {
@@ -30,33 +30,41 @@
30
30
  "types": "./index.d.ts",
31
31
  "default": "./fesm2022/ngx-axis-appforge.mjs"
32
32
  },
33
+ "./core": {
34
+ "types": "./core/index.d.ts",
35
+ "default": "./fesm2022/ngx-axis-appforge-core.mjs"
36
+ },
33
37
  "./axis-components": {
34
38
  "types": "./axis-components/index.d.ts",
35
39
  "default": "./fesm2022/ngx-axis-appforge-axis-components.mjs"
36
40
  },
37
- "./core": {
38
- "types": "./core/index.d.ts",
39
- "default": "./fesm2022/ngx-axis-appforge-core.mjs"
41
+ "./providers": {
42
+ "types": "./providers/index.d.ts",
43
+ "default": "./fesm2022/ngx-axis-appforge-providers.mjs"
40
44
  },
41
45
  "./axis-components/button": {
42
46
  "types": "./axis-components/button/index.d.ts",
43
47
  "default": "./fesm2022/ngx-axis-appforge-axis-components-button.mjs"
44
48
  },
45
- "./axis-components/checkbox": {
46
- "types": "./axis-components/checkbox/index.d.ts",
47
- "default": "./fesm2022/ngx-axis-appforge-axis-components-checkbox.mjs"
49
+ "./axis-components/badge": {
50
+ "types": "./axis-components/badge/index.d.ts",
51
+ "default": "./fesm2022/ngx-axis-appforge-axis-components-badge.mjs"
48
52
  },
49
53
  "./axis-components/color-picker": {
50
54
  "types": "./axis-components/color-picker/index.d.ts",
51
55
  "default": "./fesm2022/ngx-axis-appforge-axis-components-color-picker.mjs"
52
56
  },
57
+ "./axis-components/checkbox": {
58
+ "types": "./axis-components/checkbox/index.d.ts",
59
+ "default": "./fesm2022/ngx-axis-appforge-axis-components-checkbox.mjs"
60
+ },
53
61
  "./axis-components/cytoscape": {
54
62
  "types": "./axis-components/cytoscape/index.d.ts",
55
63
  "default": "./fesm2022/ngx-axis-appforge-axis-components-cytoscape.mjs"
56
64
  },
57
- "./axis-components/badge": {
58
- "types": "./axis-components/badge/index.d.ts",
59
- "default": "./fesm2022/ngx-axis-appforge-axis-components-badge.mjs"
65
+ "./axis-components/design": {
66
+ "types": "./axis-components/design/index.d.ts",
67
+ "default": "./fesm2022/ngx-axis-appforge-axis-components-design.mjs"
60
68
  },
61
69
  "./axis-components/date-picker": {
62
70
  "types": "./axis-components/date-picker/index.d.ts",
@@ -74,26 +82,18 @@
74
82
  "types": "./axis-components/dynamic-container/index.d.ts",
75
83
  "default": "./fesm2022/ngx-axis-appforge-axis-components-dynamic-container.mjs"
76
84
  },
77
- "./axis-components/dynamic-value": {
78
- "types": "./axis-components/dynamic-value/index.d.ts",
79
- "default": "./fesm2022/ngx-axis-appforge-axis-components-dynamic-value.mjs"
80
- },
81
- "./axis-components/edit-table": {
82
- "types": "./axis-components/edit-table/index.d.ts",
83
- "default": "./fesm2022/ngx-axis-appforge-axis-components-edit-table.mjs"
84
- },
85
85
  "./axis-components/editor": {
86
86
  "types": "./axis-components/editor/index.d.ts",
87
87
  "default": "./fesm2022/ngx-axis-appforge-axis-components-editor.mjs"
88
88
  },
89
- "./axis-components/design": {
90
- "types": "./axis-components/design/index.d.ts",
91
- "default": "./fesm2022/ngx-axis-appforge-axis-components-design.mjs"
92
- },
93
89
  "./axis-components/flex": {
94
90
  "types": "./axis-components/flex/index.d.ts",
95
91
  "default": "./fesm2022/ngx-axis-appforge-axis-components-flex.mjs"
96
92
  },
93
+ "./axis-components/dynamic-value": {
94
+ "types": "./axis-components/dynamic-value/index.d.ts",
95
+ "default": "./fesm2022/ngx-axis-appforge-axis-components-dynamic-value.mjs"
96
+ },
97
97
  "./axis-components/form-item": {
98
98
  "types": "./axis-components/form-item/index.d.ts",
99
99
  "default": "./fesm2022/ngx-axis-appforge-axis-components-form-item.mjs"
@@ -102,18 +102,18 @@
102
102
  "types": "./axis-components/icon/index.d.ts",
103
103
  "default": "./fesm2022/ngx-axis-appforge-axis-components-icon.mjs"
104
104
  },
105
- "./axis-components/image": {
106
- "types": "./axis-components/image/index.d.ts",
107
- "default": "./fesm2022/ngx-axis-appforge-axis-components-image.mjs"
105
+ "./axis-components/edit-table": {
106
+ "types": "./axis-components/edit-table/index.d.ts",
107
+ "default": "./fesm2022/ngx-axis-appforge-axis-components-edit-table.mjs"
108
+ },
109
+ "./axis-components/form": {
110
+ "types": "./axis-components/form/index.d.ts",
111
+ "default": "./fesm2022/ngx-axis-appforge-axis-components-form.mjs"
108
112
  },
109
113
  "./axis-components/input": {
110
114
  "types": "./axis-components/input/index.d.ts",
111
115
  "default": "./fesm2022/ngx-axis-appforge-axis-components-input.mjs"
112
116
  },
113
- "./axis-components/input-component": {
114
- "types": "./axis-components/input-component/index.d.ts",
115
- "default": "./fesm2022/ngx-axis-appforge-axis-components-input-component.mjs"
116
- },
117
117
  "./axis-components/input-icon": {
118
118
  "types": "./axis-components/input-icon/index.d.ts",
119
119
  "default": "./fesm2022/ngx-axis-appforge-axis-components-input-icon.mjs"
@@ -122,46 +122,54 @@
122
122
  "types": "./axis-components/input-json/index.d.ts",
123
123
  "default": "./fesm2022/ngx-axis-appforge-axis-components-input-json.mjs"
124
124
  },
125
- "./axis-components/form": {
126
- "types": "./axis-components/form/index.d.ts",
127
- "default": "./fesm2022/ngx-axis-appforge-axis-components-form.mjs"
125
+ "./axis-components/input-component": {
126
+ "types": "./axis-components/input-component/index.d.ts",
127
+ "default": "./fesm2022/ngx-axis-appforge-axis-components-input-component.mjs"
128
128
  },
129
- "./axis-components/input-number": {
130
- "types": "./axis-components/input-number/index.d.ts",
131
- "default": "./fesm2022/ngx-axis-appforge-axis-components-input-number.mjs"
129
+ "./axis-components/menu": {
130
+ "types": "./axis-components/menu/index.d.ts",
131
+ "default": "./fesm2022/ngx-axis-appforge-axis-components-menu.mjs"
132
+ },
133
+ "./axis-components/image": {
134
+ "types": "./axis-components/image/index.d.ts",
135
+ "default": "./fesm2022/ngx-axis-appforge-axis-components-image.mjs"
132
136
  },
133
137
  "./axis-components/modal": {
134
138
  "types": "./axis-components/modal/index.d.ts",
135
139
  "default": "./fesm2022/ngx-axis-appforge-axis-components-modal.mjs"
136
140
  },
137
- "./axis-components/menu": {
138
- "types": "./axis-components/menu/index.d.ts",
139
- "default": "./fesm2022/ngx-axis-appforge-axis-components-menu.mjs"
140
- },
141
- "./axis-components/radio": {
142
- "types": "./axis-components/radio/index.d.ts",
143
- "default": "./fesm2022/ngx-axis-appforge-axis-components-radio.mjs"
141
+ "./axis-components/rich-text-editor": {
142
+ "types": "./axis-components/rich-text-editor/index.d.ts",
143
+ "default": "./fesm2022/ngx-axis-appforge-axis-components-rich-text-editor.mjs"
144
144
  },
145
- "./axis-components/rate": {
146
- "types": "./axis-components/rate/index.d.ts",
147
- "default": "./fesm2022/ngx-axis-appforge-axis-components-rate.mjs"
145
+ "./axis-components/input-number": {
146
+ "types": "./axis-components/input-number/index.d.ts",
147
+ "default": "./fesm2022/ngx-axis-appforge-axis-components-input-number.mjs"
148
148
  },
149
149
  "./axis-components/scope": {
150
150
  "types": "./axis-components/scope/index.d.ts",
151
151
  "default": "./fesm2022/ngx-axis-appforge-axis-components-scope.mjs"
152
152
  },
153
+ "./axis-components/radio": {
154
+ "types": "./axis-components/radio/index.d.ts",
155
+ "default": "./fesm2022/ngx-axis-appforge-axis-components-radio.mjs"
156
+ },
153
157
  "./axis-components/select": {
154
158
  "types": "./axis-components/select/index.d.ts",
155
159
  "default": "./fesm2022/ngx-axis-appforge-axis-components-select.mjs"
156
160
  },
157
- "./axis-components/single-selector": {
158
- "types": "./axis-components/single-selector/index.d.ts",
159
- "default": "./fesm2022/ngx-axis-appforge-axis-components-single-selector.mjs"
161
+ "./axis-components/rate": {
162
+ "types": "./axis-components/rate/index.d.ts",
163
+ "default": "./fesm2022/ngx-axis-appforge-axis-components-rate.mjs"
160
164
  },
161
165
  "./axis-components/splitter": {
162
166
  "types": "./axis-components/splitter/index.d.ts",
163
167
  "default": "./fesm2022/ngx-axis-appforge-axis-components-splitter.mjs"
164
168
  },
169
+ "./axis-components/single-selector": {
170
+ "types": "./axis-components/single-selector/index.d.ts",
171
+ "default": "./fesm2022/ngx-axis-appforge-axis-components-single-selector.mjs"
172
+ },
165
173
  "./axis-components/switch": {
166
174
  "types": "./axis-components/switch/index.d.ts",
167
175
  "default": "./fesm2022/ngx-axis-appforge-axis-components-switch.mjs"
@@ -170,34 +178,30 @@
170
178
  "types": "./axis-components/steps/index.d.ts",
171
179
  "default": "./fesm2022/ngx-axis-appforge-axis-components-steps.mjs"
172
180
  },
173
- "./providers": {
174
- "types": "./providers/index.d.ts",
175
- "default": "./fesm2022/ngx-axis-appforge-providers.mjs"
176
- },
177
- "./axis-components/rich-text-editor": {
178
- "types": "./axis-components/rich-text-editor/index.d.ts",
179
- "default": "./fesm2022/ngx-axis-appforge-axis-components-rich-text-editor.mjs"
181
+ "./axis-components/table": {
182
+ "types": "./axis-components/table/index.d.ts",
183
+ "default": "./fesm2022/ngx-axis-appforge-axis-components-table.mjs"
180
184
  },
181
185
  "./axis-components/text": {
182
186
  "types": "./axis-components/text/index.d.ts",
183
187
  "default": "./fesm2022/ngx-axis-appforge-axis-components-text.mjs"
184
188
  },
185
- "./axis-components/textarea": {
186
- "types": "./axis-components/textarea/index.d.ts",
187
- "default": "./fesm2022/ngx-axis-appforge-axis-components-textarea.mjs"
188
- },
189
- "./axis-components/table": {
190
- "types": "./axis-components/table/index.d.ts",
191
- "default": "./fesm2022/ngx-axis-appforge-axis-components-table.mjs"
192
- },
193
189
  "./axis-components/table-helper": {
194
190
  "types": "./axis-components/table-helper/index.d.ts",
195
191
  "default": "./fesm2022/ngx-axis-appforge-axis-components-table-helper.mjs"
196
192
  },
193
+ "./axis-components/tabs": {
194
+ "types": "./axis-components/tabs/index.d.ts",
195
+ "default": "./fesm2022/ngx-axis-appforge-axis-components-tabs.mjs"
196
+ },
197
197
  "./axis-components/timer": {
198
198
  "types": "./axis-components/timer/index.d.ts",
199
199
  "default": "./fesm2022/ngx-axis-appforge-axis-components-timer.mjs"
200
200
  },
201
+ "./axis-components/textarea": {
202
+ "types": "./axis-components/textarea/index.d.ts",
203
+ "default": "./fesm2022/ngx-axis-appforge-axis-components-textarea.mjs"
204
+ },
201
205
  "./axis-components/tree-selector": {
202
206
  "types": "./axis-components/tree-selector/index.d.ts",
203
207
  "default": "./fesm2022/ngx-axis-appforge-axis-components-tree-selector.mjs"
@@ -206,34 +210,34 @@
206
210
  "types": "./axis-components/transfer/index.d.ts",
207
211
  "default": "./fesm2022/ngx-axis-appforge-axis-components-transfer.mjs"
208
212
  },
209
- "./axis-components/tabs": {
210
- "types": "./axis-components/tabs/index.d.ts",
211
- "default": "./fesm2022/ngx-axis-appforge-axis-components-tabs.mjs"
213
+ "./axis-components/upload": {
214
+ "types": "./axis-components/upload/index.d.ts",
215
+ "default": "./fesm2022/ngx-axis-appforge-axis-components-upload.mjs"
212
216
  },
213
217
  "./axis-components/button/design": {
214
218
  "types": "./axis-components/button/design/index.d.ts",
215
219
  "default": "./fesm2022/ngx-axis-appforge-axis-components-button-design.mjs"
216
220
  },
217
- "./axis-components/upload": {
218
- "types": "./axis-components/upload/index.d.ts",
219
- "default": "./fesm2022/ngx-axis-appforge-axis-components-upload.mjs"
220
- },
221
- "./axis-components/checkbox/design": {
222
- "types": "./axis-components/checkbox/design/index.d.ts",
223
- "default": "./fesm2022/ngx-axis-appforge-axis-components-checkbox-design.mjs"
221
+ "./axis-components/badge/design": {
222
+ "types": "./axis-components/badge/design/index.d.ts",
223
+ "default": "./fesm2022/ngx-axis-appforge-axis-components-badge-design.mjs"
224
224
  },
225
225
  "./axis-components/color-picker/design": {
226
226
  "types": "./axis-components/color-picker/design/index.d.ts",
227
227
  "default": "./fesm2022/ngx-axis-appforge-axis-components-color-picker-design.mjs"
228
228
  },
229
- "./axis-components/badge/design": {
230
- "types": "./axis-components/badge/design/index.d.ts",
231
- "default": "./fesm2022/ngx-axis-appforge-axis-components-badge-design.mjs"
229
+ "./axis-components/checkbox/design": {
230
+ "types": "./axis-components/checkbox/design/index.d.ts",
231
+ "default": "./fesm2022/ngx-axis-appforge-axis-components-checkbox-design.mjs"
232
232
  },
233
233
  "./axis-components/cytoscape/design": {
234
234
  "types": "./axis-components/cytoscape/design/index.d.ts",
235
235
  "default": "./fesm2022/ngx-axis-appforge-axis-components-cytoscape-design.mjs"
236
236
  },
237
+ "./axis-components/design/design": {
238
+ "types": "./axis-components/design/design/index.d.ts",
239
+ "default": "./fesm2022/ngx-axis-appforge-axis-components-design-design.mjs"
240
+ },
237
241
  "./axis-components/date-picker/design": {
238
242
  "types": "./axis-components/date-picker/design/index.d.ts",
239
243
  "default": "./fesm2022/ngx-axis-appforge-axis-components-date-picker-design.mjs"
@@ -250,10 +254,18 @@
250
254
  "types": "./axis-components/dynamic-container/design/index.d.ts",
251
255
  "default": "./fesm2022/ngx-axis-appforge-axis-components-dynamic-container-design.mjs"
252
256
  },
257
+ "./axis-components/flex/design": {
258
+ "types": "./axis-components/flex/design/index.d.ts",
259
+ "default": "./fesm2022/ngx-axis-appforge-axis-components-flex-design.mjs"
260
+ },
253
261
  "./axis-components/dynamic-value/design": {
254
262
  "types": "./axis-components/dynamic-value/design/index.d.ts",
255
263
  "default": "./fesm2022/ngx-axis-appforge-axis-components-dynamic-value-design.mjs"
256
264
  },
265
+ "./axis-components/icon/design": {
266
+ "types": "./axis-components/icon/design/index.d.ts",
267
+ "default": "./fesm2022/ngx-axis-appforge-axis-components-icon-design.mjs"
268
+ },
257
269
  "./axis-components/editor/design": {
258
270
  "types": "./axis-components/editor/design/index.d.ts",
259
271
  "default": "./fesm2022/ngx-axis-appforge-axis-components-editor-design.mjs"
@@ -262,30 +274,10 @@
262
274
  "types": "./axis-components/edit-table/design/index.d.ts",
263
275
  "default": "./fesm2022/ngx-axis-appforge-axis-components-edit-table-design.mjs"
264
276
  },
265
- "./axis-components/design/design": {
266
- "types": "./axis-components/design/design/index.d.ts",
267
- "default": "./fesm2022/ngx-axis-appforge-axis-components-design-design.mjs"
268
- },
269
- "./axis-components/flex/design": {
270
- "types": "./axis-components/flex/design/index.d.ts",
271
- "default": "./fesm2022/ngx-axis-appforge-axis-components-flex-design.mjs"
272
- },
273
- "./axis-components/image/design": {
274
- "types": "./axis-components/image/design/index.d.ts",
275
- "default": "./fesm2022/ngx-axis-appforge-axis-components-image-design.mjs"
276
- },
277
- "./axis-components/form-item/design": {
278
- "types": "./axis-components/form-item/design/index.d.ts",
279
- "default": "./fesm2022/ngx-axis-appforge-axis-components-form-item-design.mjs"
280
- },
281
277
  "./axis-components/input/design": {
282
278
  "types": "./axis-components/input/design/index.d.ts",
283
279
  "default": "./fesm2022/ngx-axis-appforge-axis-components-input-design.mjs"
284
280
  },
285
- "./axis-components/input-component/design": {
286
- "types": "./axis-components/input-component/design/index.d.ts",
287
- "default": "./fesm2022/ngx-axis-appforge-axis-components-input-component-design.mjs"
288
- },
289
281
  "./axis-components/input-icon/design": {
290
282
  "types": "./axis-components/input-icon/design/index.d.ts",
291
283
  "default": "./fesm2022/ngx-axis-appforge-axis-components-input-icon-design.mjs"
@@ -294,29 +286,37 @@
294
286
  "types": "./axis-components/input-json/design/index.d.ts",
295
287
  "default": "./fesm2022/ngx-axis-appforge-axis-components-input-json-design.mjs"
296
288
  },
297
- "./axis-components/form/design": {
298
- "types": "./axis-components/form/design/index.d.ts",
299
- "default": "./fesm2022/ngx-axis-appforge-axis-components-form-design.mjs"
289
+ "./axis-components/input-component/design": {
290
+ "types": "./axis-components/input-component/design/index.d.ts",
291
+ "default": "./fesm2022/ngx-axis-appforge-axis-components-input-component-design.mjs"
300
292
  },
301
- "./axis-components/input-number/design": {
302
- "types": "./axis-components/input-number/design/index.d.ts",
303
- "default": "./fesm2022/ngx-axis-appforge-axis-components-input-number-design.mjs"
293
+ "./axis-components/menu/design": {
294
+ "types": "./axis-components/menu/design/index.d.ts",
295
+ "default": "./fesm2022/ngx-axis-appforge-axis-components-menu-design.mjs"
296
+ },
297
+ "./axis-components/image/design": {
298
+ "types": "./axis-components/image/design/index.d.ts",
299
+ "default": "./fesm2022/ngx-axis-appforge-axis-components-image-design.mjs"
304
300
  },
305
301
  "./axis-components/modal/design": {
306
302
  "types": "./axis-components/modal/design/index.d.ts",
307
303
  "default": "./fesm2022/ngx-axis-appforge-axis-components-modal-design.mjs"
308
304
  },
309
- "./axis-components/icon/design": {
310
- "types": "./axis-components/icon/design/index.d.ts",
311
- "default": "./fesm2022/ngx-axis-appforge-axis-components-icon-design.mjs"
305
+ "./axis-components/rich-text-editor/design": {
306
+ "types": "./axis-components/rich-text-editor/design/index.d.ts",
307
+ "default": "./fesm2022/ngx-axis-appforge-axis-components-rich-text-editor-design.mjs"
312
308
  },
313
- "./axis-components/menu/design": {
314
- "types": "./axis-components/menu/design/index.d.ts",
315
- "default": "./fesm2022/ngx-axis-appforge-axis-components-menu-design.mjs"
309
+ "./axis-components/input-number/design": {
310
+ "types": "./axis-components/input-number/design/index.d.ts",
311
+ "default": "./fesm2022/ngx-axis-appforge-axis-components-input-number-design.mjs"
316
312
  },
317
- "./axis-components/rate/design": {
318
- "types": "./axis-components/rate/design/index.d.ts",
319
- "default": "./fesm2022/ngx-axis-appforge-axis-components-rate-design.mjs"
313
+ "./axis-components/scope/design": {
314
+ "types": "./axis-components/scope/design/index.d.ts",
315
+ "default": "./fesm2022/ngx-axis-appforge-axis-components-scope-design.mjs"
316
+ },
317
+ "./axis-components/form-item/design": {
318
+ "types": "./axis-components/form-item/design/index.d.ts",
319
+ "default": "./fesm2022/ngx-axis-appforge-axis-components-form-item-design.mjs"
320
320
  },
321
321
  "./axis-components/radio/design": {
322
322
  "types": "./axis-components/radio/design/index.d.ts",
@@ -326,34 +326,34 @@
326
326
  "types": "./axis-components/select/design/index.d.ts",
327
327
  "default": "./fesm2022/ngx-axis-appforge-axis-components-select-design.mjs"
328
328
  },
329
- "./axis-components/splitter/design": {
330
- "types": "./axis-components/splitter/design/index.d.ts",
331
- "default": "./fesm2022/ngx-axis-appforge-axis-components-splitter-design.mjs"
329
+ "./axis-components/rate/design": {
330
+ "types": "./axis-components/rate/design/index.d.ts",
331
+ "default": "./fesm2022/ngx-axis-appforge-axis-components-rate-design.mjs"
332
332
  },
333
333
  "./axis-components/single-selector/design": {
334
334
  "types": "./axis-components/single-selector/design/index.d.ts",
335
335
  "default": "./fesm2022/ngx-axis-appforge-axis-components-single-selector-design.mjs"
336
336
  },
337
- "./axis-components/scope/design": {
338
- "types": "./axis-components/scope/design/index.d.ts",
339
- "default": "./fesm2022/ngx-axis-appforge-axis-components-scope-design.mjs"
337
+ "./axis-components/splitter/design": {
338
+ "types": "./axis-components/splitter/design/index.d.ts",
339
+ "default": "./fesm2022/ngx-axis-appforge-axis-components-splitter-design.mjs"
340
340
  },
341
341
  "./axis-components/switch/design": {
342
342
  "types": "./axis-components/switch/design/index.d.ts",
343
343
  "default": "./fesm2022/ngx-axis-appforge-axis-components-switch-design.mjs"
344
344
  },
345
- "./axis-components/rich-text-editor/design": {
346
- "types": "./axis-components/rich-text-editor/design/index.d.ts",
347
- "default": "./fesm2022/ngx-axis-appforge-axis-components-rich-text-editor-design.mjs"
345
+ "./axis-components/form/design": {
346
+ "types": "./axis-components/form/design/index.d.ts",
347
+ "default": "./fesm2022/ngx-axis-appforge-axis-components-form-design.mjs"
348
+ },
349
+ "./axis-components/table/design": {
350
+ "types": "./axis-components/table/design/index.d.ts",
351
+ "default": "./fesm2022/ngx-axis-appforge-axis-components-table-design.mjs"
348
352
  },
349
353
  "./axis-components/steps/design": {
350
354
  "types": "./axis-components/steps/design/index.d.ts",
351
355
  "default": "./fesm2022/ngx-axis-appforge-axis-components-steps-design.mjs"
352
356
  },
353
- "./axis-components/textarea/design": {
354
- "types": "./axis-components/textarea/design/index.d.ts",
355
- "default": "./fesm2022/ngx-axis-appforge-axis-components-textarea-design.mjs"
356
- },
357
357
  "./axis-components/text/design": {
358
358
  "types": "./axis-components/text/design/index.d.ts",
359
359
  "default": "./fesm2022/ngx-axis-appforge-axis-components-text-design.mjs"
@@ -362,9 +362,13 @@
362
362
  "types": "./axis-components/timer/design/index.d.ts",
363
363
  "default": "./fesm2022/ngx-axis-appforge-axis-components-timer-design.mjs"
364
364
  },
365
- "./axis-components/table/design": {
366
- "types": "./axis-components/table/design/index.d.ts",
367
- "default": "./fesm2022/ngx-axis-appforge-axis-components-table-design.mjs"
365
+ "./axis-components/textarea/design": {
366
+ "types": "./axis-components/textarea/design/index.d.ts",
367
+ "default": "./fesm2022/ngx-axis-appforge-axis-components-textarea-design.mjs"
368
+ },
369
+ "./axis-components/transfer/design": {
370
+ "types": "./axis-components/transfer/design/index.d.ts",
371
+ "default": "./fesm2022/ngx-axis-appforge-axis-components-transfer-design.mjs"
368
372
  },
369
373
  "./axis-components/tree-selector/design": {
370
374
  "types": "./axis-components/tree-selector/design/index.d.ts",
@@ -374,10 +378,6 @@
374
378
  "types": "./axis-components/upload/design/index.d.ts",
375
379
  "default": "./fesm2022/ngx-axis-appforge-axis-components-upload-design.mjs"
376
380
  },
377
- "./axis-components/transfer/design": {
378
- "types": "./axis-components/transfer/design/index.d.ts",
379
- "default": "./fesm2022/ngx-axis-appforge-axis-components-transfer-design.mjs"
380
- },
381
381
  "./axis-components/tabs/design": {
382
382
  "types": "./axis-components/tabs/design/index.d.ts",
383
383
  "default": "./fesm2022/ngx-axis-appforge-axis-components-tabs-design.mjs"