@acorex/platform 20.3.0-next.7 → 20.3.0-next.8

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 (32) hide show
  1. package/core/index.d.ts +331 -2
  2. package/fesm2022/acorex-platform-core.mjs +347 -45
  3. package/fesm2022/acorex-platform-core.mjs.map +1 -1
  4. package/fesm2022/acorex-platform-layout-builder.mjs +2 -2
  5. package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
  6. package/fesm2022/acorex-platform-layout-components.mjs +670 -51
  7. package/fesm2022/acorex-platform-layout-components.mjs.map +1 -1
  8. package/fesm2022/acorex-platform-layout-entity.mjs +9 -5
  9. package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
  10. package/fesm2022/acorex-platform-layout-views.mjs +15 -0
  11. package/fesm2022/acorex-platform-layout-views.mjs.map +1 -1
  12. package/fesm2022/{acorex-platform-themes-shared-icon-chooser-view.component-KpZWpnOJ.mjs → acorex-platform-themes-shared-icon-chooser-view.component-BgEh06Tn.mjs} +21 -11
  13. package/fesm2022/acorex-platform-themes-shared-icon-chooser-view.component-BgEh06Tn.mjs.map +1 -0
  14. package/fesm2022/{acorex-platform-themes-shared-theme-color-chooser-column.component-BvOiVCgt.mjs → acorex-platform-themes-shared-theme-color-chooser-column.component-AeOQxjbS.mjs} +20 -5
  15. package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-column.component-AeOQxjbS.mjs.map +1 -0
  16. package/fesm2022/{acorex-platform-themes-shared-theme-color-chooser-view.component-BW0rfkjk.mjs → acorex-platform-themes-shared-theme-color-chooser-view.component-DEVzRd6-.mjs} +20 -5
  17. package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-view.component-DEVzRd6-.mjs.map +1 -0
  18. package/fesm2022/acorex-platform-themes-shared.mjs +51 -15
  19. package/fesm2022/acorex-platform-themes-shared.mjs.map +1 -1
  20. package/fesm2022/{acorex-platform-widgets-checkbox-widget-view.component-C-4bWr9G.mjs → acorex-platform-widgets-checkbox-widget-view.component-KYCQ2qTJ.mjs} +51 -35
  21. package/fesm2022/acorex-platform-widgets-checkbox-widget-view.component-KYCQ2qTJ.mjs.map +1 -0
  22. package/fesm2022/acorex-platform-widgets.mjs +1089 -1657
  23. package/fesm2022/acorex-platform-widgets.mjs.map +1 -1
  24. package/layout/builder/index.d.ts +2 -3
  25. package/layout/components/index.d.ts +286 -7
  26. package/layout/entity/index.d.ts +8 -1
  27. package/package.json +1 -1
  28. package/widgets/index.d.ts +1240 -284
  29. package/fesm2022/acorex-platform-themes-shared-icon-chooser-view.component-KpZWpnOJ.mjs.map +0 -1
  30. package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-column.component-BvOiVCgt.mjs.map +0 -1
  31. package/fesm2022/acorex-platform-themes-shared-theme-color-chooser-view.component-BW0rfkjk.mjs.map +0 -1
  32. package/fesm2022/acorex-platform-widgets-checkbox-widget-view.component-C-4bWr9G.mjs.map +0 -1
@@ -11,7 +11,7 @@ import { AXDecoratorModule } from '@acorex/components/decorators';
11
11
  import * as i2 from '@acorex/components/loading';
12
12
  import { AXLoadingModule } from '@acorex/components/loading';
13
13
  import * as i0 from '@angular/core';
14
- import { computed, EventEmitter, ChangeDetectionStrategy, Component, inject, InjectionToken, Injectable, signal, effect, HostBinding, ViewEncapsulation, viewChild, CUSTOM_ELEMENTS_SCHEMA, untracked, output, input, ChangeDetectorRef, ViewChild, ElementRef, afterEveryRender, afterNextRender, NgZone, model, linkedSignal, HostListener, importProvidersFrom, NgModule } from '@angular/core';
14
+ import { computed, EventEmitter, ChangeDetectionStrategy, Component, inject, InjectionToken, Injectable, signal, effect, HostBinding, ViewEncapsulation, viewChild, CUSTOM_ELEMENTS_SCHEMA, untracked, output, input, ChangeDetectorRef, ViewChild, ElementRef, afterEveryRender, afterNextRender, NgZone, model, linkedSignal, importProvidersFrom, NgModule } from '@angular/core';
15
15
  import * as i1$1 from '@acorex/components/check-box';
16
16
  import { AXCheckBoxModule } from '@acorex/components/check-box';
17
17
  import * as i4 from '@acorex/components/form';
@@ -30,9 +30,9 @@ import { AXTextBoxModule } from '@acorex/components/text-box';
30
30
  import * as i5 from '@acorex/core/translation';
31
31
  import { AXTranslationModule, AXTranslationService } from '@acorex/core/translation';
32
32
  import * as i1$3 from '@angular/common';
33
- import { CommonModule } from '@angular/common';
33
+ import { CommonModule, AsyncPipe } from '@angular/common';
34
34
  import { AXBasePageComponent } from '@acorex/components/page';
35
- import { isNull, isEmpty, set, isNumber, castArray, isNil, get, cloneDeep, isEqual, sum } from 'lodash-es';
35
+ import { isNull, isEmpty, set, isNumber, castArray, isNil, get, cloneDeep, isEqual } from 'lodash-es';
36
36
  import { AXFormatService } from '@acorex/core/format';
37
37
  import * as i2$4 from '@acorex/components/datetime-box';
38
38
  import { AXDateTimeBoxModule } from '@acorex/components/datetime-box';
@@ -703,10 +703,6 @@ const AXP_LAYOUT_SPACING_PROPERTY = {
703
703
  group: AXP_BOX_MODEL_PROPERTY_GROUP,
704
704
  schema: {
705
705
  dataType: 'object',
706
- defaultValue: {
707
- margin: '0px 0px 0px 0px',
708
- padding: '0px 0px 0px 0px',
709
- },
710
706
  interface: {
711
707
  name: 'spacing',
712
708
  path: 'options.spacing',
@@ -722,12 +718,6 @@ const AXP_LAYOUT_BORDER_PROPERTY = {
722
718
  group: AXP_BOX_MODEL_PROPERTY_GROUP,
723
719
  schema: {
724
720
  dataType: 'object',
725
- defaultValue: {
726
- width: '1px 1px 1px 1px',
727
- radius: '0px 0px 0px 0px',
728
- color: '#000000 #000000 #000000 #000000',
729
- style: 'none none none none',
730
- },
731
721
  interface: {
732
722
  name: 'border',
733
723
  path: 'options.border',
@@ -811,7 +801,6 @@ const AXP_LAYOUT_DIRECTION_PROPERTY = {
811
801
  order: 99,
812
802
  schema: {
813
803
  dataType: 'string',
814
- defaultValue: 'ltr',
815
804
  interface: {
816
805
  name: 'direction',
817
806
  path: 'options.direction',
@@ -1167,7 +1156,7 @@ const AXPCheckBoxWidget = {
1167
1156
  component: () => import('./acorex-platform-widgets-checkbox-widget-designer.component-BXPrXy-h.mjs').then((c) => c.AXPCheckBoxWidgetDesignerComponent),
1168
1157
  },
1169
1158
  view: {
1170
- component: () => import('./acorex-platform-widgets-checkbox-widget-view.component-C-4bWr9G.mjs').then((c) => c.AXPCheckBoxWidgetViewComponent),
1159
+ component: () => import('./acorex-platform-widgets-checkbox-widget-view.component-KYCQ2qTJ.mjs').then((c) => c.AXPCheckBoxWidgetViewComponent),
1171
1160
  },
1172
1161
  edit: {
1173
1162
  component: () => Promise.resolve().then(function () { return checkboxWidgetEdit_component; }).then((c) => c.AXPCheckBoxWidgetEditComponent),
@@ -1178,9 +1167,6 @@ const AXPCheckBoxWidget = {
1178
1167
  column: {
1179
1168
  component: () => import('./acorex-platform-widgets-checkbox-widget-column.component-CzEFmKWG.mjs').then((c) => c.AXPCheckBoxWidgetColumnComponent),
1180
1169
  },
1181
- filter: {
1182
- component: () => Promise.resolve().then(function () { return checkboxWidgetEdit_component; }).then((c) => c.AXPCheckBoxWidgetEditComponent),
1183
- },
1184
1170
  },
1185
1171
  };
1186
1172
 
@@ -1800,9 +1786,6 @@ const AXPContactWidget = {
1800
1786
  edit: {
1801
1787
  component: () => Promise.resolve().then(function () { return contactWidgetEdit_component; }).then((c) => c.AXPContactWidgetEditComponent),
1802
1788
  },
1803
- filter: {
1804
- component: () => Promise.resolve().then(function () { return contactWidgetView_component; }).then((c) => c.AXPContactWidgetViewComponent),
1805
- },
1806
1789
  column: {
1807
1790
  component: () => Promise.resolve().then(function () { return contactWidgetColumn_component; }).then((c) => c.AXPContactWidgetColumnComponent),
1808
1791
  },
@@ -2202,115 +2185,70 @@ const AXPDateTimeBoxWidget = {
2202
2185
  },
2203
2186
  };
2204
2187
 
2205
- class AXPEmailBoxWidgetViewComponent extends AXPValueWidgetComponent {
2188
+ class AXPEmailBoxWidgetColumnComponent extends AXPColumnWidgetComponent {
2206
2189
  constructor() {
2207
2190
  super(...arguments);
2208
- this.clipboard = inject(AXPClipBoardService);
2209
- this.multiple = computed(() => this.options()["multiple"], ...(ngDevMode ? [{ debugName: "multiple" }] : []));
2210
- this.hasLabel = computed(() => this.options()["hasLabel"] ?? true, ...(ngDevMode ? [{ debugName: "hasLabel" }] : []));
2211
- this.internalValue = computed(() => this.getValue()
2212
- ? Array.isArray(this.getValue())
2213
- ? this.getValue().map((item) => this.extractItem(item))
2214
- : [this.extractItem(this.getValue())]
2215
- : [], ...(ngDevMode ? [{ debugName: "internalValue" }] : []));
2191
+ this.list = computed(() => Array.isArray(this.rawValue) ? this.rawValue.map((c) => this.extractItem(c)) : [this.extractItem(this.rawValue)], ...(ngDevMode ? [{ debugName: "list" }] : []));
2192
+ this.text = computed(() => this.list()
2193
+ .map((item) => item.value)
2194
+ .join('\n'), ...(ngDevMode ? [{ debugName: "text" }] : []));
2195
+ }
2196
+ dot3(text) {
2197
+ console.log(text);
2198
+ if (this.multiple)
2199
+ return text.split('\n')[0] + '...';
2200
+ else
2201
+ return text.split('\n')[0];
2216
2202
  }
2217
2203
  extractItem(item) {
2218
2204
  return typeof item == 'object'
2219
2205
  ? {
2220
2206
  value: item.value ?? '-',
2221
- label: item.label ?? 'Primary',
2207
+ type: item.type ?? 'primary',
2208
+ label: item.label,
2222
2209
  }
2223
2210
  : {
2224
2211
  value: item,
2225
- label: 'Primary',
2212
+ type: 'primary',
2213
+ label: null,
2226
2214
  };
2227
2215
  }
2228
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPEmailBoxWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
2229
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.8", type: AXPEmailBoxWidgetViewComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
2230
- <div class="ax-grid ax-grid-cols-12 ax-gap-2">
2231
- @if(multiple())
2232
- {
2233
- @for(item of internalValue();track item?.value) {
2234
- <ng-template [ngTemplateOutlet]="itemTemplate" [ngTemplateOutletContext]="{ data: item }" ]></ng-template>
2235
- }
2236
- }
2237
- @else
2238
- {
2239
- <ng-template [ngTemplateOutlet]="itemTemplate" [ngTemplateOutletContext]="{ data: internalValue()[0] }" ]></ng-template>
2240
- }
2241
- <ng-template #itemTemplate let-item="data">
2242
- @if(item)
2243
- {
2244
- <div class="ax-col-start-1 ax-col-end-10 lg:ax-col-end-7">
2245
- <div class="ax-flex ax-flex-1 ax-gap-3 ax-items-center ax-w-max ax-group">
2246
- <div class="ax-w-6 ax-h-6 ax-flex ax-items-center ax-justify-center">
2247
- <i class="fa-solid ax-text-neutral-400 fa-envelope"></i>
2248
- </div>
2249
- <a class="group-hover:!ax-text-primary-500" href="tel:{{ item.value }}">{{ item.value }}</a>
2250
- <span
2251
- class="ax-text-neutral-400 ax-cursor-pointer ax-invisible group-hover:ax-visible hover:!ax-text-primary-500"
2252
- (click)="clipboard.copy('Email', item.value)"
2253
- >
2254
- <i class="fa-solid fa-copy "></i>
2255
- </span>
2256
- @if(hasLabel()){
2257
- <ax-badge color="primary" [look]="'twotone'" [text]="item.label"></ax-badge>
2258
- }
2259
- </div>
2260
- </div>
2261
- }
2262
- </ng-template>
2216
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPEmailBoxWidgetColumnComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
2217
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.8", type: AXPEmailBoxWidgetColumnComponent, isStandalone: true, selector: "ng-component", inputs: { rawValue: "rawValue", rowData: "rowData" }, usesInheritance: true, ngImport: i0, template: `<div>
2218
+ @if(multiple && list.length>1){
2219
+ <div [title]="text()">{{ dot3(text()) }}</div>
2220
+ }@else {
2221
+ <div>
2222
+ @if(list() && list().length){
2223
+ {{ list()[0].value }}
2224
+ }@else { - }
2263
2225
  </div>
2264
- `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type: i1$4.AXBadgeComponent, selector: "ax-badge", inputs: ["color", "look", "text"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
2226
+ }
2227
+ </div>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
2265
2228
  }
2266
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPEmailBoxWidgetViewComponent, decorators: [{
2229
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPEmailBoxWidgetColumnComponent, decorators: [{
2267
2230
  type: Component,
2268
2231
  args: [{
2269
- template: `
2270
- <div class="ax-grid ax-grid-cols-12 ax-gap-2">
2271
- @if(multiple())
2272
- {
2273
- @for(item of internalValue();track item?.value) {
2274
- <ng-template [ngTemplateOutlet]="itemTemplate" [ngTemplateOutletContext]="{ data: item }" ]></ng-template>
2275
- }
2276
- }
2277
- @else
2278
- {
2279
- <ng-template [ngTemplateOutlet]="itemTemplate" [ngTemplateOutletContext]="{ data: internalValue()[0] }" ]></ng-template>
2280
- }
2281
- <ng-template #itemTemplate let-item="data">
2282
- @if(item)
2283
- {
2284
- <div class="ax-col-start-1 ax-col-end-10 lg:ax-col-end-7">
2285
- <div class="ax-flex ax-flex-1 ax-gap-3 ax-items-center ax-w-max ax-group">
2286
- <div class="ax-w-6 ax-h-6 ax-flex ax-items-center ax-justify-center">
2287
- <i class="fa-solid ax-text-neutral-400 fa-envelope"></i>
2288
- </div>
2289
- <a class="group-hover:!ax-text-primary-500" href="tel:{{ item.value }}">{{ item.value }}</a>
2290
- <span
2291
- class="ax-text-neutral-400 ax-cursor-pointer ax-invisible group-hover:ax-visible hover:!ax-text-primary-500"
2292
- (click)="clipboard.copy('Email', item.value)"
2293
- >
2294
- <i class="fa-solid fa-copy "></i>
2295
- </span>
2296
- @if(hasLabel()){
2297
- <ax-badge color="primary" [look]="'twotone'" [text]="item.label"></ax-badge>
2298
- }
2299
- </div>
2300
- </div>
2301
- }
2302
- </ng-template>
2232
+ template: `<div>
2233
+ @if(multiple && list.length>1){
2234
+ <div [title]="text()">{{ dot3(text()) }}</div>
2235
+ }@else {
2236
+ <div>
2237
+ @if(list() && list().length){
2238
+ {{ list()[0].value }}
2239
+ }@else { - }
2303
2240
  </div>
2304
- `,
2241
+ }
2242
+ </div>`,
2305
2243
  changeDetection: ChangeDetectionStrategy.OnPush,
2306
- imports: [CommonModule, AXBadgeModule],
2307
- inputs: []
2244
+ imports: [],
2245
+ inputs: ['rawValue', 'rowData']
2308
2246
  }]
2309
2247
  }] });
2310
2248
 
2311
- var emailBoxWidgetView_component = /*#__PURE__*/Object.freeze({
2249
+ var emailBoxWidgetColumn_component = /*#__PURE__*/Object.freeze({
2312
2250
  __proto__: null,
2313
- AXPEmailBoxWidgetViewComponent: AXPEmailBoxWidgetViewComponent
2251
+ AXPEmailBoxWidgetColumnComponent: AXPEmailBoxWidgetColumnComponent
2314
2252
  });
2315
2253
 
2316
2254
  class AXPEmailBoxWidgetEditComponent extends AXPValueWidgetComponent {
@@ -2569,108 +2507,134 @@ var emailBoxWidgetEdit_component = /*#__PURE__*/Object.freeze({
2569
2507
  AXPEmailBoxWidgetEditComponent: AXPEmailBoxWidgetEditComponent
2570
2508
  });
2571
2509
 
2572
- class AXPEmailBoxWidgetFilterComponent extends AXPValueWidgetComponent {
2573
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPEmailBoxWidgetFilterComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
2574
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.8", type: AXPEmailBoxWidgetFilterComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true, dependencies: [{ kind: "ngmodule", type: FormsModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
2510
+ class AXPEmailBoxWidgetPrintComponent extends AXPValueWidgetComponent {
2511
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPEmailBoxWidgetPrintComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
2512
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.8", type: AXPEmailBoxWidgetPrintComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
2575
2513
  }
2576
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPEmailBoxWidgetFilterComponent, decorators: [{
2514
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPEmailBoxWidgetPrintComponent, decorators: [{
2577
2515
  type: Component,
2578
2516
  args: [{
2579
2517
  template: ``,
2580
2518
  changeDetection: ChangeDetectionStrategy.OnPush,
2581
- imports: [FormsModule],
2519
+ imports: [],
2582
2520
  inputs: []
2583
2521
  }]
2584
2522
  }] });
2585
2523
 
2586
- var emailBoxWidgetFilter_component = /*#__PURE__*/Object.freeze({
2524
+ var emailBoxWidgetPrint_component = /*#__PURE__*/Object.freeze({
2587
2525
  __proto__: null,
2588
- AXPEmailBoxWidgetFilterComponent: AXPEmailBoxWidgetFilterComponent
2526
+ AXPEmailBoxWidgetPrintComponent: AXPEmailBoxWidgetPrintComponent
2589
2527
  });
2590
2528
 
2591
- class AXPEmailBoxWidgetColumnComponent extends AXPColumnWidgetComponent {
2529
+ class AXPEmailBoxWidgetViewComponent extends AXPValueWidgetComponent {
2592
2530
  constructor() {
2593
2531
  super(...arguments);
2594
- this.list = computed(() => Array.isArray(this.rawValue) ? this.rawValue.map((c) => this.extractItem(c)) : [this.extractItem(this.rawValue)], ...(ngDevMode ? [{ debugName: "list" }] : []));
2595
- this.text = computed(() => this.list()
2596
- .map((item) => item.value)
2597
- .join('\n'), ...(ngDevMode ? [{ debugName: "text" }] : []));
2598
- }
2599
- dot3(text) {
2600
- console.log(text);
2601
- if (this.multiple)
2602
- return text.split('\n')[0] + '...';
2603
- else
2604
- return text.split('\n')[0];
2532
+ this.clipboard = inject(AXPClipBoardService);
2533
+ this.multiple = computed(() => this.options()["multiple"], ...(ngDevMode ? [{ debugName: "multiple" }] : []));
2534
+ this.hasLabel = computed(() => this.options()["hasLabel"] ?? true, ...(ngDevMode ? [{ debugName: "hasLabel" }] : []));
2535
+ this.internalValue = computed(() => this.getValue()
2536
+ ? Array.isArray(this.getValue())
2537
+ ? this.getValue().map((item) => this.extractItem(item))
2538
+ : [this.extractItem(this.getValue())]
2539
+ : [], ...(ngDevMode ? [{ debugName: "internalValue" }] : []));
2605
2540
  }
2606
2541
  extractItem(item) {
2607
2542
  return typeof item == 'object'
2608
2543
  ? {
2609
2544
  value: item.value ?? '-',
2610
- type: item.type ?? 'primary',
2611
- label: item.label,
2545
+ label: item.label ?? 'Primary',
2612
2546
  }
2613
2547
  : {
2614
2548
  value: item,
2615
- type: 'primary',
2616
- label: null,
2549
+ label: 'Primary',
2617
2550
  };
2618
2551
  }
2619
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPEmailBoxWidgetColumnComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
2620
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.8", type: AXPEmailBoxWidgetColumnComponent, isStandalone: true, selector: "ng-component", inputs: { rawValue: "rawValue", rowData: "rowData" }, usesInheritance: true, ngImport: i0, template: `<div>
2621
- @if(multiple && list.length>1){
2622
- <div [title]="text()">{{ dot3(text()) }}</div>
2623
- }@else {
2624
- <div>
2625
- @if(list() && list().length){
2626
- {{ list()[0].value }}
2627
- }@else { - }
2628
- </div>
2629
- }
2630
- </div>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
2631
- }
2632
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPEmailBoxWidgetColumnComponent, decorators: [{
2633
- type: Component,
2634
- args: [{
2635
- template: `<div>
2636
- @if(multiple && list.length>1){
2637
- <div [title]="text()">{{ dot3(text()) }}</div>
2638
- }@else {
2639
- <div>
2640
- @if(list() && list().length){
2641
- {{ list()[0].value }}
2642
- }@else { - }
2552
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPEmailBoxWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
2553
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.8", type: AXPEmailBoxWidgetViewComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
2554
+ <div class="ax-grid ax-grid-cols-12 ax-gap-2">
2555
+ @if(multiple())
2556
+ {
2557
+ @for(item of internalValue();track item?.value) {
2558
+ <ng-template [ngTemplateOutlet]="itemTemplate" [ngTemplateOutletContext]="{ data: item }" ]></ng-template>
2559
+ }
2560
+ }
2561
+ @else
2562
+ {
2563
+ <ng-template [ngTemplateOutlet]="itemTemplate" [ngTemplateOutletContext]="{ data: internalValue()[0] }" ]></ng-template>
2564
+ }
2565
+ <ng-template #itemTemplate let-item="data">
2566
+ @if(item)
2567
+ {
2568
+ <div class="ax-col-start-1 ax-col-end-10 lg:ax-col-end-7">
2569
+ <div class="ax-flex ax-flex-1 ax-gap-3 ax-items-center ax-w-max ax-group">
2570
+ <div class="ax-w-6 ax-h-6 ax-flex ax-items-center ax-justify-center">
2571
+ <i class="fa-solid ax-text-neutral-400 fa-envelope"></i>
2572
+ </div>
2573
+ <a class="group-hover:!ax-text-primary-500" href="tel:{{ item.value }}">{{ item.value }}</a>
2574
+ <span
2575
+ class="ax-text-neutral-400 ax-cursor-pointer ax-invisible group-hover:ax-visible hover:!ax-text-primary-500"
2576
+ (click)="clipboard.copy('Email', item.value)"
2577
+ >
2578
+ <i class="fa-solid fa-copy "></i>
2579
+ </span>
2580
+ @if(hasLabel()){
2581
+ <ax-badge color="primary" [look]="'twotone'" [text]="item.label"></ax-badge>
2582
+ }
2583
+ </div>
2584
+ </div>
2585
+ }
2586
+ </ng-template>
2643
2587
  </div>
2644
- }
2645
- </div>`,
2646
- changeDetection: ChangeDetectionStrategy.OnPush,
2647
- imports: [],
2648
- inputs: ['rawValue', 'rowData']
2649
- }]
2650
- }] });
2651
-
2652
- var emailBoxWidgetColumn_component = /*#__PURE__*/Object.freeze({
2653
- __proto__: null,
2654
- AXPEmailBoxWidgetColumnComponent: AXPEmailBoxWidgetColumnComponent
2655
- });
2656
-
2657
- class AXPEmailBoxWidgetPrintComponent extends AXPValueWidgetComponent {
2658
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPEmailBoxWidgetPrintComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
2659
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.8", type: AXPEmailBoxWidgetPrintComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
2588
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type: i1$4.AXBadgeComponent, selector: "ax-badge", inputs: ["color", "look", "text"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
2660
2589
  }
2661
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPEmailBoxWidgetPrintComponent, decorators: [{
2590
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPEmailBoxWidgetViewComponent, decorators: [{
2662
2591
  type: Component,
2663
2592
  args: [{
2664
- template: ``,
2665
- changeDetection: ChangeDetectionStrategy.OnPush,
2666
- imports: [],
2667
- inputs: []
2668
- }]
2669
- }] });
2670
-
2671
- var emailBoxWidgetPrint_component = /*#__PURE__*/Object.freeze({
2593
+ template: `
2594
+ <div class="ax-grid ax-grid-cols-12 ax-gap-2">
2595
+ @if(multiple())
2596
+ {
2597
+ @for(item of internalValue();track item?.value) {
2598
+ <ng-template [ngTemplateOutlet]="itemTemplate" [ngTemplateOutletContext]="{ data: item }" ]></ng-template>
2599
+ }
2600
+ }
2601
+ @else
2602
+ {
2603
+ <ng-template [ngTemplateOutlet]="itemTemplate" [ngTemplateOutletContext]="{ data: internalValue()[0] }" ]></ng-template>
2604
+ }
2605
+ <ng-template #itemTemplate let-item="data">
2606
+ @if(item)
2607
+ {
2608
+ <div class="ax-col-start-1 ax-col-end-10 lg:ax-col-end-7">
2609
+ <div class="ax-flex ax-flex-1 ax-gap-3 ax-items-center ax-w-max ax-group">
2610
+ <div class="ax-w-6 ax-h-6 ax-flex ax-items-center ax-justify-center">
2611
+ <i class="fa-solid ax-text-neutral-400 fa-envelope"></i>
2612
+ </div>
2613
+ <a class="group-hover:!ax-text-primary-500" href="tel:{{ item.value }}">{{ item.value }}</a>
2614
+ <span
2615
+ class="ax-text-neutral-400 ax-cursor-pointer ax-invisible group-hover:ax-visible hover:!ax-text-primary-500"
2616
+ (click)="clipboard.copy('Email', item.value)"
2617
+ >
2618
+ <i class="fa-solid fa-copy "></i>
2619
+ </span>
2620
+ @if(hasLabel()){
2621
+ <ax-badge color="primary" [look]="'twotone'" [text]="item.label"></ax-badge>
2622
+ }
2623
+ </div>
2624
+ </div>
2625
+ }
2626
+ </ng-template>
2627
+ </div>
2628
+ `,
2629
+ changeDetection: ChangeDetectionStrategy.OnPush,
2630
+ imports: [CommonModule, AXBadgeModule],
2631
+ inputs: []
2632
+ }]
2633
+ }] });
2634
+
2635
+ var emailBoxWidgetView_component = /*#__PURE__*/Object.freeze({
2672
2636
  __proto__: null,
2673
- AXPEmailBoxWidgetPrintComponent: AXPEmailBoxWidgetPrintComponent
2637
+ AXPEmailBoxWidgetViewComponent: AXPEmailBoxWidgetViewComponent
2674
2638
  });
2675
2639
 
2676
2640
  const AXPEmailBoxWidget = {
@@ -2698,9 +2662,6 @@ const AXPEmailBoxWidget = {
2698
2662
  edit: {
2699
2663
  component: () => Promise.resolve().then(function () { return emailBoxWidgetEdit_component; }).then((c) => c.AXPEmailBoxWidgetEditComponent),
2700
2664
  },
2701
- filter: {
2702
- component: () => Promise.resolve().then(function () { return emailBoxWidgetFilter_component; }).then((c) => c.AXPEmailBoxWidgetFilterComponent),
2703
- },
2704
2665
  column: {
2705
2666
  component: () => Promise.resolve().then(function () { return emailBoxWidgetColumn_component; }).then((c) => c.AXPEmailBoxWidgetColumnComponent),
2706
2667
  },
@@ -2713,41 +2674,35 @@ const AXPEmailBoxWidget = {
2713
2674
  },
2714
2675
  };
2715
2676
 
2716
- class AXPLargeTextWidgetViewComponent extends AXPValueWidgetComponent {
2717
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPLargeTextWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
2718
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.8", type: AXPLargeTextWidgetViewComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
2719
- <div class="ax-max-w-full ax-text-muted">
2720
- @if (getValue()) {
2721
- <span> {{ getValue() }} </span>
2722
- } @else {
2723
- <span class="ax-text-muted">---</span>
2724
- }
2725
-
2726
- </div>
2677
+ class AXPLargeTextWidgetColumnComponent extends AXPColumnWidgetComponent {
2678
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPLargeTextWidgetColumnComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
2679
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.8", type: AXPLargeTextWidgetColumnComponent, isStandalone: true, selector: "ng-component", inputs: { rawValue: "rawValue", rowData: "rowData" }, usesInheritance: true, ngImport: i0, template: `
2680
+ @if (rawValue) {
2681
+ <span class="ax-truncate"> {{ rawValue }} </span>
2682
+ } @else {
2683
+ <span class="ax-text-muted">---</span>
2684
+ }
2727
2685
  `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
2728
2686
  }
2729
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPLargeTextWidgetViewComponent, decorators: [{
2687
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPLargeTextWidgetColumnComponent, decorators: [{
2730
2688
  type: Component,
2731
2689
  args: [{
2732
2690
  template: `
2733
- <div class="ax-max-w-full ax-text-muted">
2734
- @if (getValue()) {
2735
- <span> {{ getValue() }} </span>
2736
- } @else {
2737
- <span class="ax-text-muted">---</span>
2738
- }
2739
-
2740
- </div>
2691
+ @if (rawValue) {
2692
+ <span class="ax-truncate"> {{ rawValue }} </span>
2693
+ } @else {
2694
+ <span class="ax-text-muted">---</span>
2695
+ }
2741
2696
  `,
2742
2697
  changeDetection: ChangeDetectionStrategy.OnPush,
2743
2698
  imports: [],
2744
- inputs: []
2699
+ inputs: ['rawValue', 'rowData']
2745
2700
  }]
2746
2701
  }] });
2747
2702
 
2748
- var largeTextWidgetView_component = /*#__PURE__*/Object.freeze({
2703
+ var largeTextWidgetColumn_component = /*#__PURE__*/Object.freeze({
2749
2704
  __proto__: null,
2750
- AXPLargeTextWidgetViewComponent: AXPLargeTextWidgetViewComponent
2705
+ AXPLargeTextWidgetColumnComponent: AXPLargeTextWidgetColumnComponent
2751
2706
  });
2752
2707
 
2753
2708
  class AXPSelectLanguagePopup extends AXBasePageComponent {
@@ -2871,7 +2826,7 @@ class AXPLargeTextWidgetEditComponent extends AXPValueWidgetComponent {
2871
2826
  [disabled]="disabled()"
2872
2827
  [ngModel]="getValue()"
2873
2828
  (onValueChanged)="handleValueChange($event)"
2874
- [placeholder]="placeholder()"
2829
+ [placeholder]="(placeholder() | translate | async)!"
2875
2830
  >
2876
2831
  @if (clearButton()) {
2877
2832
  <ax-clear-button></ax-clear-button>
@@ -2911,7 +2866,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImpor
2911
2866
  [disabled]="disabled()"
2912
2867
  [ngModel]="getValue()"
2913
2868
  (onValueChanged)="handleValueChange($event)"
2914
- [placeholder]="placeholder()"
2869
+ [placeholder]="(placeholder() | translate | async)!"
2915
2870
  >
2916
2871
  @if (clearButton()) {
2917
2872
  <ax-clear-button></ax-clear-button>
@@ -2961,73 +2916,60 @@ var largeTextWidgetEdit_component = /*#__PURE__*/Object.freeze({
2961
2916
  AXPLargeTextWidgetEditComponent: AXPLargeTextWidgetEditComponent
2962
2917
  });
2963
2918
 
2964
- class AXPLargeTextWidgetFilterComponent extends AXPValueWidgetComponent {
2965
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPLargeTextWidgetFilterComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
2966
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.8", type: AXPLargeTextWidgetFilterComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true, dependencies: [{ kind: "ngmodule", type: FormsModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
2919
+ class AXPLargeTextWidgetPrintComponent extends AXPValueWidgetComponent {
2920
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPLargeTextWidgetPrintComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
2921
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.8", type: AXPLargeTextWidgetPrintComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
2967
2922
  }
2968
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPLargeTextWidgetFilterComponent, decorators: [{
2923
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPLargeTextWidgetPrintComponent, decorators: [{
2969
2924
  type: Component,
2970
2925
  args: [{
2971
2926
  template: ``,
2972
2927
  changeDetection: ChangeDetectionStrategy.OnPush,
2973
- imports: [FormsModule],
2928
+ imports: [],
2974
2929
  inputs: []
2975
2930
  }]
2976
2931
  }] });
2977
2932
 
2978
- var largeTextWidgetFilter_component = /*#__PURE__*/Object.freeze({
2933
+ var largeTextWidgetPrint_component = /*#__PURE__*/Object.freeze({
2979
2934
  __proto__: null,
2980
- AXPLargeTextWidgetFilterComponent: AXPLargeTextWidgetFilterComponent
2935
+ AXPLargeTextWidgetPrintComponent: AXPLargeTextWidgetPrintComponent
2981
2936
  });
2982
2937
 
2983
- class AXPLargeTextWidgetColumnComponent extends AXPColumnWidgetComponent {
2984
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPLargeTextWidgetColumnComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
2985
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.8", type: AXPLargeTextWidgetColumnComponent, isStandalone: true, selector: "ng-component", inputs: { rawValue: "rawValue", rowData: "rowData" }, usesInheritance: true, ngImport: i0, template: `
2986
- @if (rawValue) {
2987
- <span class="ax-truncate"> {{ rawValue }} </span>
2988
- } @else {
2989
- <span class="ax-text-muted">---</span>
2990
- }
2938
+ class AXPLargeTextWidgetViewComponent extends AXPValueWidgetComponent {
2939
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPLargeTextWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
2940
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.8", type: AXPLargeTextWidgetViewComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
2941
+ <div class="ax-max-w-full ax-text-muted">
2942
+ @if (getValue()) {
2943
+ <span> {{ getValue() }} </span>
2944
+ } @else {
2945
+ <span class="ax-text-muted">---</span>
2946
+ }
2947
+
2948
+ </div>
2991
2949
  `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
2992
2950
  }
2993
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPLargeTextWidgetColumnComponent, decorators: [{
2951
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPLargeTextWidgetViewComponent, decorators: [{
2994
2952
  type: Component,
2995
2953
  args: [{
2996
2954
  template: `
2997
- @if (rawValue) {
2998
- <span class="ax-truncate"> {{ rawValue }} </span>
2999
- } @else {
3000
- <span class="ax-text-muted">---</span>
3001
- }
2955
+ <div class="ax-max-w-full ax-text-muted">
2956
+ @if (getValue()) {
2957
+ <span> {{ getValue() }} </span>
2958
+ } @else {
2959
+ <span class="ax-text-muted">---</span>
2960
+ }
2961
+
2962
+ </div>
3002
2963
  `,
3003
- changeDetection: ChangeDetectionStrategy.OnPush,
3004
- imports: [],
3005
- inputs: ['rawValue', 'rowData']
3006
- }]
3007
- }] });
3008
-
3009
- var largeTextWidgetColumn_component = /*#__PURE__*/Object.freeze({
3010
- __proto__: null,
3011
- AXPLargeTextWidgetColumnComponent: AXPLargeTextWidgetColumnComponent
3012
- });
3013
-
3014
- class AXPLargeTextWidgetPrintComponent extends AXPValueWidgetComponent {
3015
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPLargeTextWidgetPrintComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
3016
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.8", type: AXPLargeTextWidgetPrintComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
3017
- }
3018
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPLargeTextWidgetPrintComponent, decorators: [{
3019
- type: Component,
3020
- args: [{
3021
- template: ``,
3022
2964
  changeDetection: ChangeDetectionStrategy.OnPush,
3023
2965
  imports: [],
3024
2966
  inputs: []
3025
2967
  }]
3026
2968
  }] });
3027
2969
 
3028
- var largeTextWidgetPrint_component = /*#__PURE__*/Object.freeze({
2970
+ var largeTextWidgetView_component = /*#__PURE__*/Object.freeze({
3029
2971
  __proto__: null,
3030
- AXPLargeTextWidgetPrintComponent: AXPLargeTextWidgetPrintComponent
2972
+ AXPLargeTextWidgetViewComponent: AXPLargeTextWidgetViewComponent
3031
2973
  });
3032
2974
 
3033
2975
  const AXPLargeTextWidget = {
@@ -3059,9 +3001,6 @@ const AXPLargeTextWidget = {
3059
3001
  edit: {
3060
3002
  component: () => Promise.resolve().then(function () { return largeTextWidgetEdit_component; }).then((c) => c.AXPLargeTextWidgetEditComponent),
3061
3003
  },
3062
- filter: {
3063
- component: () => Promise.resolve().then(function () { return largeTextWidgetFilter_component; }).then((c) => c.AXPLargeTextWidgetFilterComponent),
3064
- },
3065
3004
  column: {
3066
3005
  component: () => Promise.resolve().then(function () { return largeTextWidgetColumn_component; }).then((c) => c.AXPLargeTextWidgetColumnComponent),
3067
3006
  },
@@ -3074,118 +3013,23 @@ const AXPLargeTextWidget = {
3074
3013
  },
3075
3014
  };
3076
3015
 
3077
- class AXPLinkWidgetViewComponent extends AXPValueWidgetComponent {
3078
- constructor() {
3079
- super(...arguments);
3080
- this.clipboard = inject(AXPClipBoardService);
3081
- this.target = 'blank';
3082
- this.internalValue = computed(() => this.getValue()
3083
- ? Array.isArray(this.getValue())
3084
- ? this.getValue().map((item) => this.extractItem(item))
3085
- : [this.extractItem(this.getValue())]
3086
- : [], ...(ngDevMode ? [{ debugName: "internalValue" }] : []));
3087
- }
3088
- extractItem(item) {
3089
- return typeof item == 'object'
3090
- ? {
3091
- value: item.value ?? '-',
3092
- title: item.title,
3093
- label: this.hasLabel ? item.label || 'primary' : undefined,
3094
- icon: item.icon,
3095
- }
3096
- : {
3097
- value: item,
3098
- title: '',
3099
- icon: '',
3100
- label: 'Primary',
3101
- };
3102
- }
3103
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPLinkWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
3104
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.8", type: AXPLinkWidgetViewComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `<div class="ax-grid ax-grid-cols-12 ax-gap-2 ">
3105
- @if(multiple){ @for(item of internalValue();track item?.value) {
3106
- <ng-template [ngTemplateOutlet]="itemTemplate" [ngTemplateOutletContext]="{ data: item }" ]></ng-template>
3107
- } } @else{
3108
- <ng-template [ngTemplateOutlet]="itemTemplate" [ngTemplateOutletContext]="{ data: internalValue()[0] }" ]></ng-template>
3109
- }
3110
-
3111
- <ng-template #itemTemplate let-item="data">
3112
- @if(item){
3113
- <div class="ax-col-start-1 ax-col-end-10 lg:ax-col-end-7">
3114
- <div class="ax-flex ax-flex-1 ax-gap-3 ax-items-center ax-w-max ax-group">
3115
- <div class="ax-w-6 ax-h-6 ax-flex ax-items-center ax-justify-center">
3116
- @if(item.icon){
3117
- <ax-icon class="fa-solid ax-text-neutral-400" [class]="item.icon"> </ax-icon>
3118
- }
3119
- </div>
3120
- <a
3121
- [href]="item.value"
3122
- [target]="'_' + target"
3123
- class="ax-text-blue-700 group-hover:!ax-text-primary-500 group-hover:ax-underline group-hover:ax-decoration-blue-700"
3124
- >{{ item.title ?? item.value }}</a
3125
- >
3126
- <span
3127
- class="ax-text-neutral-400 ax-cursor-pointer ax-invisible group-hover:ax-visible hover:!ax-text-primary-500"
3128
- (click)="clipboard.copy('Email', item.value)"
3129
- >
3130
- <i class="fa-solid fa-copy "></i>
3131
- </span>
3132
- @if(hasLabel){
3133
- <ax-badge color="primary" [look]="'twotone'" [text]="item.label"></ax-badge>
3134
- }
3135
- </div>
3136
- </div>
3137
- }
3138
- </ng-template>
3139
- </div>`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type: i1$4.AXBadgeComponent, selector: "ax-badge", inputs: ["color", "look", "text"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i2$1.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
3016
+ class AXPLinkWidgetColumnComponent extends AXPColumnWidgetComponent {
3017
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPLinkWidgetColumnComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
3018
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.8", type: AXPLinkWidgetColumnComponent, isStandalone: true, selector: "ng-component", inputs: { rawValue: "rawValue", rowData: "rowData" }, usesInheritance: true, ngImport: i0, template: `{{rawValue}}`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
3140
3019
  }
3141
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPLinkWidgetViewComponent, decorators: [{
3020
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPLinkWidgetColumnComponent, decorators: [{
3142
3021
  type: Component,
3143
3022
  args: [{
3144
- template: `<div class="ax-grid ax-grid-cols-12 ax-gap-2 ">
3145
- @if(multiple){ @for(item of internalValue();track item?.value) {
3146
- <ng-template [ngTemplateOutlet]="itemTemplate" [ngTemplateOutletContext]="{ data: item }" ]></ng-template>
3147
- } } @else{
3148
- <ng-template [ngTemplateOutlet]="itemTemplate" [ngTemplateOutletContext]="{ data: internalValue()[0] }" ]></ng-template>
3149
- }
3023
+ template: `{{rawValue}}`,
3024
+ changeDetection: ChangeDetectionStrategy.OnPush,
3025
+ imports: [],
3026
+ inputs: ['rawValue', 'rowData']
3027
+ }]
3028
+ }] });
3150
3029
 
3151
- <ng-template #itemTemplate let-item="data">
3152
- @if(item){
3153
- <div class="ax-col-start-1 ax-col-end-10 lg:ax-col-end-7">
3154
- <div class="ax-flex ax-flex-1 ax-gap-3 ax-items-center ax-w-max ax-group">
3155
- <div class="ax-w-6 ax-h-6 ax-flex ax-items-center ax-justify-center">
3156
- @if(item.icon){
3157
- <ax-icon class="fa-solid ax-text-neutral-400" [class]="item.icon"> </ax-icon>
3158
- }
3159
- </div>
3160
- <a
3161
- [href]="item.value"
3162
- [target]="'_' + target"
3163
- class="ax-text-blue-700 group-hover:!ax-text-primary-500 group-hover:ax-underline group-hover:ax-decoration-blue-700"
3164
- >{{ item.title ?? item.value }}</a
3165
- >
3166
- <span
3167
- class="ax-text-neutral-400 ax-cursor-pointer ax-invisible group-hover:ax-visible hover:!ax-text-primary-500"
3168
- (click)="clipboard.copy('Email', item.value)"
3169
- >
3170
- <i class="fa-solid fa-copy "></i>
3171
- </span>
3172
- @if(hasLabel){
3173
- <ax-badge color="primary" [look]="'twotone'" [text]="item.label"></ax-badge>
3174
- }
3175
- </div>
3176
- </div>
3177
- }
3178
- </ng-template>
3179
- </div>`,
3180
- changeDetection: ChangeDetectionStrategy.OnPush,
3181
- imports: [CommonModule, AXBadgeModule, AXDecoratorModule],
3182
- inputs: []
3183
- }]
3184
- }] });
3185
-
3186
- var linkWidgetView_component = /*#__PURE__*/Object.freeze({
3030
+ var linkWidgetColumn_component = /*#__PURE__*/Object.freeze({
3187
3031
  __proto__: null,
3188
- AXPLinkWidgetViewComponent: AXPLinkWidgetViewComponent
3032
+ AXPLinkWidgetColumnComponent: AXPLinkWidgetColumnComponent
3189
3033
  });
3190
3034
 
3191
3035
  class AXPLinkWidgetEditComponent extends AXPValueWidgetComponent {
@@ -3592,61 +3436,137 @@ var linkWidgetEdit_component = /*#__PURE__*/Object.freeze({
3592
3436
  AXPLinkWidgetEditComponent: AXPLinkWidgetEditComponent
3593
3437
  });
3594
3438
 
3595
- class AXPLinkWidgetFilterComponent extends AXPValueWidgetComponent {
3596
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPLinkWidgetFilterComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
3597
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.8", type: AXPLinkWidgetFilterComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true, dependencies: [{ kind: "ngmodule", type: FormsModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
3439
+ class AXPLinkWidgetPrintComponent extends AXPValueWidgetComponent {
3440
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPLinkWidgetPrintComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
3441
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.8", type: AXPLinkWidgetPrintComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
3598
3442
  }
3599
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPLinkWidgetFilterComponent, decorators: [{
3443
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPLinkWidgetPrintComponent, decorators: [{
3600
3444
  type: Component,
3601
3445
  args: [{
3602
3446
  template: ``,
3603
3447
  changeDetection: ChangeDetectionStrategy.OnPush,
3604
- imports: [FormsModule],
3448
+ imports: [],
3605
3449
  inputs: []
3606
3450
  }]
3607
3451
  }] });
3608
3452
 
3609
- var linkWidgetFilter_component = /*#__PURE__*/Object.freeze({
3453
+ var linkWidgetPrint_component = /*#__PURE__*/Object.freeze({
3610
3454
  __proto__: null,
3611
- AXPLinkWidgetFilterComponent: AXPLinkWidgetFilterComponent
3455
+ AXPLinkWidgetPrintComponent: AXPLinkWidgetPrintComponent
3612
3456
  });
3613
3457
 
3614
- class AXPLinkWidgetColumnComponent extends AXPColumnWidgetComponent {
3615
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPLinkWidgetColumnComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
3616
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.8", type: AXPLinkWidgetColumnComponent, isStandalone: true, selector: "ng-component", inputs: { rawValue: "rawValue", rowData: "rowData" }, usesInheritance: true, ngImport: i0, template: `{{rawValue}}`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
3617
- }
3618
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPLinkWidgetColumnComponent, decorators: [{
3619
- type: Component,
3620
- args: [{
3621
- template: `{{rawValue}}`,
3622
- changeDetection: ChangeDetectionStrategy.OnPush,
3623
- imports: [],
3624
- inputs: ['rawValue', 'rowData']
3625
- }]
3626
- }] });
3627
-
3628
- var linkWidgetColumn_component = /*#__PURE__*/Object.freeze({
3629
- __proto__: null,
3630
- AXPLinkWidgetColumnComponent: AXPLinkWidgetColumnComponent
3631
- });
3458
+ class AXPLinkWidgetViewComponent extends AXPValueWidgetComponent {
3459
+ constructor() {
3460
+ super(...arguments);
3461
+ this.clipboard = inject(AXPClipBoardService);
3462
+ this.target = 'blank';
3463
+ this.internalValue = computed(() => this.getValue()
3464
+ ? Array.isArray(this.getValue())
3465
+ ? this.getValue().map((item) => this.extractItem(item))
3466
+ : [this.extractItem(this.getValue())]
3467
+ : [], ...(ngDevMode ? [{ debugName: "internalValue" }] : []));
3468
+ }
3469
+ extractItem(item) {
3470
+ return typeof item == 'object'
3471
+ ? {
3472
+ value: item.value ?? '-',
3473
+ title: item.title,
3474
+ label: this.hasLabel ? item.label || 'primary' : undefined,
3475
+ icon: item.icon,
3476
+ }
3477
+ : {
3478
+ value: item,
3479
+ title: '',
3480
+ icon: '',
3481
+ label: 'Primary',
3482
+ };
3483
+ }
3484
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPLinkWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
3485
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.8", type: AXPLinkWidgetViewComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `<div class="ax-grid ax-grid-cols-12 ax-gap-2 ">
3486
+ @if(multiple){ @for(item of internalValue();track item?.value) {
3487
+ <ng-template [ngTemplateOutlet]="itemTemplate" [ngTemplateOutletContext]="{ data: item }" ]></ng-template>
3488
+ } } @else{
3489
+ <ng-template [ngTemplateOutlet]="itemTemplate" [ngTemplateOutletContext]="{ data: internalValue()[0] }" ]></ng-template>
3490
+ }
3632
3491
 
3633
- class AXPLinkWidgetPrintComponent extends AXPValueWidgetComponent {
3634
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPLinkWidgetPrintComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
3635
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.8", type: AXPLinkWidgetPrintComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
3492
+ <ng-template #itemTemplate let-item="data">
3493
+ @if(item){
3494
+ <div class="ax-col-start-1 ax-col-end-10 lg:ax-col-end-7">
3495
+ <div class="ax-flex ax-flex-1 ax-gap-3 ax-items-center ax-w-max ax-group">
3496
+ <div class="ax-w-6 ax-h-6 ax-flex ax-items-center ax-justify-center">
3497
+ @if(item.icon){
3498
+ <ax-icon class="fa-solid ax-text-neutral-400" [class]="item.icon"> </ax-icon>
3499
+ }
3500
+ </div>
3501
+ <a
3502
+ [href]="item.value"
3503
+ [target]="'_' + target"
3504
+ class="ax-text-blue-700 group-hover:!ax-text-primary-500 group-hover:ax-underline group-hover:ax-decoration-blue-700"
3505
+ >{{ item.title ?? item.value }}</a
3506
+ >
3507
+ <span
3508
+ class="ax-text-neutral-400 ax-cursor-pointer ax-invisible group-hover:ax-visible hover:!ax-text-primary-500"
3509
+ (click)="clipboard.copy('Email', item.value)"
3510
+ >
3511
+ <i class="fa-solid fa-copy "></i>
3512
+ </span>
3513
+ @if(hasLabel){
3514
+ <ax-badge color="primary" [look]="'twotone'" [text]="item.label"></ax-badge>
3515
+ }
3516
+ </div>
3517
+ </div>
3518
+ }
3519
+ </ng-template>
3520
+ </div>`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type: i1$4.AXBadgeComponent, selector: "ax-badge", inputs: ["color", "look", "text"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i2$1.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
3636
3521
  }
3637
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPLinkWidgetPrintComponent, decorators: [{
3522
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPLinkWidgetViewComponent, decorators: [{
3638
3523
  type: Component,
3639
3524
  args: [{
3640
- template: ``,
3525
+ template: `<div class="ax-grid ax-grid-cols-12 ax-gap-2 ">
3526
+ @if(multiple){ @for(item of internalValue();track item?.value) {
3527
+ <ng-template [ngTemplateOutlet]="itemTemplate" [ngTemplateOutletContext]="{ data: item }" ]></ng-template>
3528
+ } } @else{
3529
+ <ng-template [ngTemplateOutlet]="itemTemplate" [ngTemplateOutletContext]="{ data: internalValue()[0] }" ]></ng-template>
3530
+ }
3531
+
3532
+ <ng-template #itemTemplate let-item="data">
3533
+ @if(item){
3534
+ <div class="ax-col-start-1 ax-col-end-10 lg:ax-col-end-7">
3535
+ <div class="ax-flex ax-flex-1 ax-gap-3 ax-items-center ax-w-max ax-group">
3536
+ <div class="ax-w-6 ax-h-6 ax-flex ax-items-center ax-justify-center">
3537
+ @if(item.icon){
3538
+ <ax-icon class="fa-solid ax-text-neutral-400" [class]="item.icon"> </ax-icon>
3539
+ }
3540
+ </div>
3541
+ <a
3542
+ [href]="item.value"
3543
+ [target]="'_' + target"
3544
+ class="ax-text-blue-700 group-hover:!ax-text-primary-500 group-hover:ax-underline group-hover:ax-decoration-blue-700"
3545
+ >{{ item.title ?? item.value }}</a
3546
+ >
3547
+ <span
3548
+ class="ax-text-neutral-400 ax-cursor-pointer ax-invisible group-hover:ax-visible hover:!ax-text-primary-500"
3549
+ (click)="clipboard.copy('Email', item.value)"
3550
+ >
3551
+ <i class="fa-solid fa-copy "></i>
3552
+ </span>
3553
+ @if(hasLabel){
3554
+ <ax-badge color="primary" [look]="'twotone'" [text]="item.label"></ax-badge>
3555
+ }
3556
+ </div>
3557
+ </div>
3558
+ }
3559
+ </ng-template>
3560
+ </div>`,
3641
3561
  changeDetection: ChangeDetectionStrategy.OnPush,
3642
- imports: [],
3562
+ imports: [CommonModule, AXBadgeModule, AXDecoratorModule],
3643
3563
  inputs: []
3644
3564
  }]
3645
3565
  }] });
3646
3566
 
3647
- var linkWidgetPrint_component = /*#__PURE__*/Object.freeze({
3567
+ var linkWidgetView_component = /*#__PURE__*/Object.freeze({
3648
3568
  __proto__: null,
3649
- AXPLinkWidgetPrintComponent: AXPLinkWidgetPrintComponent
3569
+ AXPLinkWidgetViewComponent: AXPLinkWidgetViewComponent
3650
3570
  });
3651
3571
 
3652
3572
  const AXPLinkWidget = {
@@ -3664,9 +3584,6 @@ const AXPLinkWidget = {
3664
3584
  edit: {
3665
3585
  component: () => Promise.resolve().then(function () { return linkWidgetEdit_component; }).then((c) => c.AXPLinkWidgetEditComponent),
3666
3586
  },
3667
- filter: {
3668
- component: () => Promise.resolve().then(function () { return linkWidgetFilter_component; }).then((c) => c.AXPLinkWidgetFilterComponent),
3669
- },
3670
3587
  column: {
3671
3588
  component: () => Promise.resolve().then(function () { return linkWidgetColumn_component; }).then((c) => c.AXPLinkWidgetColumnComponent),
3672
3589
  },
@@ -3679,52 +3596,41 @@ const AXPLinkWidget = {
3679
3596
  },
3680
3597
  };
3681
3598
 
3682
- class AXPNumberBoxWidgetViewComponent extends AXPValueWidgetComponent {
3599
+ class AXPNumberBoxWidgetColumnComponent extends AXPColumnWidgetComponent {
3683
3600
  constructor() {
3684
3601
  super(...arguments);
3685
- this.internalValue = computed(() => (Array.isArray(this.formattedValue()) ? this.formattedValue() : [this.formattedValue()]), ...(ngDevMode ? [{ debugName: "internalValue" }] : []));
3686
- this.multiple = computed(() => this.options()['multiple'], ...(ngDevMode ? [{ debugName: "multiple" }] : []));
3687
- this.format = computed(() => this.options()['format'], ...(ngDevMode ? [{ debugName: "format" }] : []));
3688
3602
  this.formatService = inject(AXFormatService);
3603
+ this.value = computed(() => {
3604
+ if (!isNumber(this.rawValue)) {
3605
+ return this.nullText;
3606
+ }
3607
+ const value = Number(this.rawValue);
3608
+ if (this.options['format'] && this.options['format']['name']) {
3609
+ const { name, options } = this.options['format'];
3610
+ return this.formatService.format(value, name, options);
3611
+ }
3612
+ else {
3613
+ return value.toString();
3614
+ }
3615
+ }, ...(ngDevMode ? [{ debugName: "value" }] : []));
3689
3616
  }
3690
- formattedValue() {
3691
- if (!isNumber(this.getValue()))
3692
- return '---';
3693
- const value = Number(this.getValue());
3694
- return this.formatService.format(value, 'number', this.format());
3695
- }
3696
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPNumberBoxWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
3697
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.8", type: AXPNumberBoxWidgetViewComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
3698
- <div class="ax-text-muted">
3699
- @if(multiple()){ @for (item of internalValue(); track $index) {
3700
- <p>{{ item }}</p>
3701
- } }@else {
3702
- <p>{{ internalValue()[0] }}</p>
3703
- }
3704
- </div>
3705
- `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
3617
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPNumberBoxWidgetColumnComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
3618
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.8", type: AXPNumberBoxWidgetColumnComponent, isStandalone: true, selector: "axp-number-box-widget-column", inputs: { rawValue: "rawValue", rowData: "rowData" }, usesInheritance: true, ngImport: i0, template: `{{value()}}`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
3706
3619
  }
3707
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPNumberBoxWidgetViewComponent, decorators: [{
3620
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPNumberBoxWidgetColumnComponent, decorators: [{
3708
3621
  type: Component,
3709
3622
  args: [{
3710
- template: `
3711
- <div class="ax-text-muted">
3712
- @if(multiple()){ @for (item of internalValue(); track $index) {
3713
- <p>{{ item }}</p>
3714
- } }@else {
3715
- <p>{{ internalValue()[0] }}</p>
3716
- }
3717
- </div>
3718
- `,
3623
+ selector: 'axp-number-box-widget-column',
3624
+ template: `{{value()}}`,
3719
3625
  changeDetection: ChangeDetectionStrategy.OnPush,
3720
3626
  imports: [],
3721
- inputs: []
3627
+ inputs: ['rawValue', 'rowData']
3722
3628
  }]
3723
3629
  }] });
3724
3630
 
3725
- var numberBoxWidgetView_component = /*#__PURE__*/Object.freeze({
3631
+ var numberBoxWidgetColumn_component = /*#__PURE__*/Object.freeze({
3726
3632
  __proto__: null,
3727
- AXPNumberBoxWidgetViewComponent: AXPNumberBoxWidgetViewComponent
3633
+ AXPNumberBoxWidgetColumnComponent: AXPNumberBoxWidgetColumnComponent
3728
3634
  });
3729
3635
 
3730
3636
  class AXPNumberBoxWidgetEditComponent extends AXPValueWidgetComponent {
@@ -3881,79 +3787,71 @@ var numberBoxWidgetEdit_component = /*#__PURE__*/Object.freeze({
3881
3787
  AXPNumberBoxWidgetEditComponent: AXPNumberBoxWidgetEditComponent
3882
3788
  });
3883
3789
 
3884
- class AXPNumberBoxWidgetFilterComponent extends AXPValueWidgetComponent {
3885
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPNumberBoxWidgetFilterComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
3886
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.8", type: AXPNumberBoxWidgetFilterComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true, dependencies: [{ kind: "ngmodule", type: FormsModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
3790
+ class AXPNumberBoxWidgetPrintComponent extends AXPValueWidgetComponent {
3791
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPNumberBoxWidgetPrintComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
3792
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.8", type: AXPNumberBoxWidgetPrintComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
3887
3793
  }
3888
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPNumberBoxWidgetFilterComponent, decorators: [{
3794
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPNumberBoxWidgetPrintComponent, decorators: [{
3889
3795
  type: Component,
3890
3796
  args: [{
3891
3797
  template: ``,
3892
3798
  changeDetection: ChangeDetectionStrategy.OnPush,
3893
- imports: [FormsModule],
3799
+ imports: [],
3894
3800
  inputs: []
3895
3801
  }]
3896
3802
  }] });
3897
3803
 
3898
- var numberBoxWidgetFilter_component = /*#__PURE__*/Object.freeze({
3804
+ var numberBoxWidgetPrint_component = /*#__PURE__*/Object.freeze({
3899
3805
  __proto__: null,
3900
- AXPNumberBoxWidgetFilterComponent: AXPNumberBoxWidgetFilterComponent
3806
+ AXPNumberBoxWidgetPrintComponent: AXPNumberBoxWidgetPrintComponent
3901
3807
  });
3902
3808
 
3903
- class AXPNumberBoxWidgetColumnComponent extends AXPColumnWidgetComponent {
3809
+ class AXPNumberBoxWidgetViewComponent extends AXPValueWidgetComponent {
3904
3810
  constructor() {
3905
3811
  super(...arguments);
3812
+ this.internalValue = computed(() => (Array.isArray(this.formattedValue()) ? this.formattedValue() : [this.formattedValue()]), ...(ngDevMode ? [{ debugName: "internalValue" }] : []));
3813
+ this.multiple = computed(() => this.options()['multiple'], ...(ngDevMode ? [{ debugName: "multiple" }] : []));
3814
+ this.format = computed(() => this.options()['format'], ...(ngDevMode ? [{ debugName: "format" }] : []));
3906
3815
  this.formatService = inject(AXFormatService);
3907
- this.value = computed(() => {
3908
- if (!isNumber(this.rawValue)) {
3909
- return this.nullText;
3910
- }
3911
- const value = Number(this.rawValue);
3912
- if (this.options['format'] && this.options['format']['name']) {
3913
- const { name, options } = this.options['format'];
3914
- return this.formatService.format(value, name, options);
3915
- }
3916
- else {
3917
- return value.toString();
3918
- }
3919
- }, ...(ngDevMode ? [{ debugName: "value" }] : []));
3920
3816
  }
3921
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPNumberBoxWidgetColumnComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
3922
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.8", type: AXPNumberBoxWidgetColumnComponent, isStandalone: true, selector: "axp-number-box-widget-column", inputs: { rawValue: "rawValue", rowData: "rowData" }, usesInheritance: true, ngImport: i0, template: `{{value()}}`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
3817
+ formattedValue() {
3818
+ if (!isNumber(this.getValue()))
3819
+ return '---';
3820
+ const value = Number(this.getValue());
3821
+ return this.formatService.format(value, 'number', this.format());
3822
+ }
3823
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPNumberBoxWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
3824
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.8", type: AXPNumberBoxWidgetViewComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
3825
+ <div class="ax-text-muted">
3826
+ @if(multiple()){ @for (item of internalValue(); track $index) {
3827
+ <p>{{ item }}</p>
3828
+ } }@else {
3829
+ <p>{{ internalValue()[0] }}</p>
3830
+ }
3831
+ </div>
3832
+ `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
3923
3833
  }
3924
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPNumberBoxWidgetColumnComponent, decorators: [{
3834
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPNumberBoxWidgetViewComponent, decorators: [{
3925
3835
  type: Component,
3926
3836
  args: [{
3927
- selector: 'axp-number-box-widget-column',
3928
- template: `{{value()}}`,
3929
- changeDetection: ChangeDetectionStrategy.OnPush,
3930
- imports: [],
3931
- inputs: ['rawValue', 'rowData']
3932
- }]
3933
- }] });
3934
-
3935
- var numberBoxWidgetColumn_component = /*#__PURE__*/Object.freeze({
3936
- __proto__: null,
3937
- AXPNumberBoxWidgetColumnComponent: AXPNumberBoxWidgetColumnComponent
3938
- });
3939
-
3940
- class AXPNumberBoxWidgetPrintComponent extends AXPValueWidgetComponent {
3941
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPNumberBoxWidgetPrintComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
3942
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.8", type: AXPNumberBoxWidgetPrintComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
3943
- }
3944
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPNumberBoxWidgetPrintComponent, decorators: [{
3945
- type: Component,
3946
- args: [{
3947
- template: ``,
3837
+ template: `
3838
+ <div class="ax-text-muted">
3839
+ @if(multiple()){ @for (item of internalValue(); track $index) {
3840
+ <p>{{ item }}</p>
3841
+ } }@else {
3842
+ <p>{{ internalValue()[0] }}</p>
3843
+ }
3844
+ </div>
3845
+ `,
3948
3846
  changeDetection: ChangeDetectionStrategy.OnPush,
3949
3847
  imports: [],
3950
3848
  inputs: []
3951
3849
  }]
3952
3850
  }] });
3953
3851
 
3954
- var numberBoxWidgetPrint_component = /*#__PURE__*/Object.freeze({
3852
+ var numberBoxWidgetView_component = /*#__PURE__*/Object.freeze({
3955
3853
  __proto__: null,
3956
- AXPNumberBoxWidgetPrintComponent: AXPNumberBoxWidgetPrintComponent
3854
+ AXPNumberBoxWidgetViewComponent: AXPNumberBoxWidgetViewComponent
3957
3855
  });
3958
3856
 
3959
3857
  const AXPNumberBoxWidget = {
@@ -3995,9 +3893,6 @@ const AXPNumberBoxWidget = {
3995
3893
  edit: {
3996
3894
  component: () => Promise.resolve().then(function () { return numberBoxWidgetEdit_component; }).then((c) => c.AXPNumberBoxWidgetEditComponent),
3997
3895
  },
3998
- filter: {
3999
- component: () => Promise.resolve().then(function () { return numberBoxWidgetFilter_component; }).then((c) => c.AXPNumberBoxWidgetFilterComponent),
4000
- },
4001
3896
  column: {
4002
3897
  component: () => Promise.resolve().then(function () { return numberBoxWidgetColumn_component; }).then((c) => c.AXPNumberBoxWidgetColumnComponent),
4003
3898
  },
@@ -4010,85 +3905,60 @@ const AXPNumberBoxWidget = {
4010
3905
  },
4011
3906
  };
4012
3907
 
4013
- class AXPPasswordBoxWidgetViewComponent extends AXPValueWidgetComponent {
3908
+ class AXPPasswordBoxWidgetColumnComponent extends AXPColumnWidgetComponent {
4014
3909
  constructor() {
4015
3910
  super(...arguments);
4016
- this.internalValue = computed(() => this.getValue(), ...(ngDevMode ? [{ debugName: "internalValue" }] : []));
4017
- this.hasCopyIcon = computed(() => this.options()['hasCopyIcon'], ...(ngDevMode ? [{ debugName: "hasCopyIcon" }] : []));
4018
- this.hasEyeIcon = computed(() => this.options()['hasEyeIcon'], ...(ngDevMode ? [{ debugName: "hasEyeIcon" }] : []));
4019
- this.showPassword = computed(() => this.options()['showPassword'], ...(ngDevMode ? [{ debugName: "showPassword" }] : []));
4020
- this.show = signal(false, ...(ngDevMode ? [{ debugName: "show" }] : []));
4021
- this.clipboard = inject(AXPClipBoardService);
3911
+ this.hasEyeIcon = this.options['hasEyeIcon'];
3912
+ this.showPassword = this.options['showPassword'];
3913
+ this.show = signal(!!this.rawValue, ...(ngDevMode ? [{ debugName: "show" }] : []));
4022
3914
  }
4023
3915
  toggleEye() {
4024
3916
  this.show.update((prev) => !prev);
4025
3917
  }
4026
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPPasswordBoxWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
4027
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.8", type: AXPPasswordBoxWidgetViewComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
4028
- <div class="ax-col-start-1 ax-col-end-10 lg:ax-col-end-7">
4029
- <div class="ax-flex ax-flex-1 ax-gap-3 ax-group ax-items-start ax-w-max">
4030
- <span>{{ show() ? internalValue() : '*******' }}</span>
4031
- @if(hasEyeIcon()){
4032
- <span
4033
- class="ax-text-neutral-400 ax-cursor-pointer ax-invisible group-hover:ax-visible hover:!ax-text-primary-500"
4034
- (click)="toggleEye()"
4035
- >
4036
- @if(!showPassword()){
4037
- <i class="fa-solid fa-eye"></i>
4038
- }@else {
4039
- <i class="fa-solid fa-eye-slash"></i>
4040
- }
4041
- </span>
4042
- } @if(hasCopyIcon() && hasEyeIcon()){
4043
- <span
4044
- class="ax-text-neutral-400 ax-cursor-pointer ax-invisible group-hover:ax-visible hover:!ax-text-primary-500"
4045
- (click)="clipboard.copy('Password', internalValue())"
4046
- >
4047
- <i class="fa-solid fa-copy "></i>
4048
- </span>
4049
- }
4050
- </div>
4051
- </div>
4052
- `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
3918
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPPasswordBoxWidgetColumnComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
3919
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.8", type: AXPPasswordBoxWidgetColumnComponent, isStandalone: true, selector: "ng-component", inputs: { rawValue: "rawValue", rowData: "rowData" }, usesInheritance: true, ngImport: i0, template: `<div class="ax-flex ax-flex-1 ax-gap-3 ax-group ax-items-start ax-w-max">
3920
+ <span>{{ show() ? rawValue : '*******' }}</span>
3921
+ @if(hasEyeIcon){
3922
+ <span
3923
+ class="ax-text-neutral-400 ax-cursor-pointer ax-invisible group-hover:ax-visible hover:!ax-text-primary-500"
3924
+ (click)="toggleEye()"
3925
+ >
3926
+ @if(!showPassword){
3927
+ <i class="fa-solid fa-eye"></i>
3928
+ }@else {
3929
+ <i class="fa-solid fa-eye-slash"></i>
3930
+ }
3931
+ </span>
3932
+ }
3933
+ </div>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
4053
3934
  }
4054
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPPasswordBoxWidgetViewComponent, decorators: [{
3935
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPPasswordBoxWidgetColumnComponent, decorators: [{
4055
3936
  type: Component,
4056
3937
  args: [{
4057
- template: `
4058
- <div class="ax-col-start-1 ax-col-end-10 lg:ax-col-end-7">
4059
- <div class="ax-flex ax-flex-1 ax-gap-3 ax-group ax-items-start ax-w-max">
4060
- <span>{{ show() ? internalValue() : '*******' }}</span>
4061
- @if(hasEyeIcon()){
4062
- <span
4063
- class="ax-text-neutral-400 ax-cursor-pointer ax-invisible group-hover:ax-visible hover:!ax-text-primary-500"
4064
- (click)="toggleEye()"
4065
- >
4066
- @if(!showPassword()){
4067
- <i class="fa-solid fa-eye"></i>
4068
- }@else {
4069
- <i class="fa-solid fa-eye-slash"></i>
4070
- }
4071
- </span>
4072
- } @if(hasCopyIcon() && hasEyeIcon()){
4073
- <span
4074
- class="ax-text-neutral-400 ax-cursor-pointer ax-invisible group-hover:ax-visible hover:!ax-text-primary-500"
4075
- (click)="clipboard.copy('Password', internalValue())"
4076
- >
4077
- <i class="fa-solid fa-copy "></i>
4078
- </span>
4079
- }
4080
- </div>
4081
- </div>
4082
- `,
3938
+ template: `<div class="ax-flex ax-flex-1 ax-gap-3 ax-group ax-items-start ax-w-max">
3939
+ <span>{{ show() ? rawValue : '*******' }}</span>
3940
+ @if(hasEyeIcon){
3941
+ <span
3942
+ class="ax-text-neutral-400 ax-cursor-pointer ax-invisible group-hover:ax-visible hover:!ax-text-primary-500"
3943
+ (click)="toggleEye()"
3944
+ >
3945
+ @if(!showPassword){
3946
+ <i class="fa-solid fa-eye"></i>
3947
+ }@else {
3948
+ <i class="fa-solid fa-eye-slash"></i>
3949
+ }
3950
+ </span>
3951
+ }
3952
+ </div>`,
4083
3953
  changeDetection: ChangeDetectionStrategy.OnPush,
4084
3954
  imports: [],
4085
- inputs: []
3955
+ inputs: ['rawValue', 'rowData']
4086
3956
  }]
4087
3957
  }] });
4088
3958
 
4089
- var passwordBoxWidgetView_component = /*#__PURE__*/Object.freeze({
3959
+ var passwordBoxWidgetColumn_component = /*#__PURE__*/Object.freeze({
4090
3960
  __proto__: null,
4091
- AXPPasswordBoxWidgetViewComponent: AXPPasswordBoxWidgetViewComponent
3961
+ AXPPasswordBoxWidgetColumnComponent: AXPPasswordBoxWidgetColumnComponent
4092
3962
  });
4093
3963
 
4094
3964
  class AXPPasswordBoxWidgetEditComponent extends AXPValueWidgetComponent {
@@ -4148,98 +4018,104 @@ var passwordBoxWidgetEdit_component = /*#__PURE__*/Object.freeze({
4148
4018
  AXPPasswordBoxWidgetEditComponent: AXPPasswordBoxWidgetEditComponent
4149
4019
  });
4150
4020
 
4151
- class AXPPasswordBoxWidgetFilterComponent extends AXPValueWidgetComponent {
4152
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPPasswordBoxWidgetFilterComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
4153
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.8", type: AXPPasswordBoxWidgetFilterComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true, dependencies: [{ kind: "ngmodule", type: FormsModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
4021
+ class AXPPasswordBoxWidgetPrintComponent extends AXPValueWidgetComponent {
4022
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPPasswordBoxWidgetPrintComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
4023
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.8", type: AXPPasswordBoxWidgetPrintComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
4154
4024
  }
4155
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPPasswordBoxWidgetFilterComponent, decorators: [{
4025
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPPasswordBoxWidgetPrintComponent, decorators: [{
4156
4026
  type: Component,
4157
4027
  args: [{
4158
4028
  template: ``,
4159
4029
  changeDetection: ChangeDetectionStrategy.OnPush,
4160
- imports: [FormsModule],
4030
+ imports: [],
4161
4031
  inputs: []
4162
4032
  }]
4163
4033
  }] });
4164
4034
 
4165
- var passwordBoxWidgetFilter_component = /*#__PURE__*/Object.freeze({
4035
+ var passwordBoxWidgetPrint_component = /*#__PURE__*/Object.freeze({
4166
4036
  __proto__: null,
4167
- AXPPasswordBoxWidgetFilterComponent: AXPPasswordBoxWidgetFilterComponent
4037
+ AXPPasswordBoxWidgetPrintComponent: AXPPasswordBoxWidgetPrintComponent
4168
4038
  });
4169
4039
 
4170
- class AXPPasswordBoxWidgetColumnComponent extends AXPColumnWidgetComponent {
4040
+ class AXPPasswordBoxWidgetViewComponent extends AXPValueWidgetComponent {
4171
4041
  constructor() {
4172
4042
  super(...arguments);
4173
- this.hasEyeIcon = this.options['hasEyeIcon'];
4174
- this.showPassword = this.options['showPassword'];
4175
- this.show = signal(!!this.rawValue, ...(ngDevMode ? [{ debugName: "show" }] : []));
4043
+ this.internalValue = computed(() => this.getValue(), ...(ngDevMode ? [{ debugName: "internalValue" }] : []));
4044
+ this.hasCopyIcon = computed(() => this.options()['hasCopyIcon'], ...(ngDevMode ? [{ debugName: "hasCopyIcon" }] : []));
4045
+ this.hasEyeIcon = computed(() => this.options()['hasEyeIcon'], ...(ngDevMode ? [{ debugName: "hasEyeIcon" }] : []));
4046
+ this.showPassword = computed(() => this.options()['showPassword'], ...(ngDevMode ? [{ debugName: "showPassword" }] : []));
4047
+ this.show = signal(false, ...(ngDevMode ? [{ debugName: "show" }] : []));
4048
+ this.clipboard = inject(AXPClipBoardService);
4176
4049
  }
4177
4050
  toggleEye() {
4178
4051
  this.show.update((prev) => !prev);
4179
4052
  }
4180
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPPasswordBoxWidgetColumnComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
4181
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.8", type: AXPPasswordBoxWidgetColumnComponent, isStandalone: true, selector: "ng-component", inputs: { rawValue: "rawValue", rowData: "rowData" }, usesInheritance: true, ngImport: i0, template: `<div class="ax-flex ax-flex-1 ax-gap-3 ax-group ax-items-start ax-w-max">
4182
- <span>{{ show() ? rawValue : '*******' }}</span>
4183
- @if(hasEyeIcon){
4184
- <span
4185
- class="ax-text-neutral-400 ax-cursor-pointer ax-invisible group-hover:ax-visible hover:!ax-text-primary-500"
4186
- (click)="toggleEye()"
4187
- >
4188
- @if(!showPassword){
4189
- <i class="fa-solid fa-eye"></i>
4190
- }@else {
4191
- <i class="fa-solid fa-eye-slash"></i>
4192
- }
4193
- </span>
4194
- }
4195
- </div>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
4196
- }
4197
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPPasswordBoxWidgetColumnComponent, decorators: [{
4198
- type: Component,
4199
- args: [{
4200
- template: `<div class="ax-flex ax-flex-1 ax-gap-3 ax-group ax-items-start ax-w-max">
4201
- <span>{{ show() ? rawValue : '*******' }}</span>
4202
- @if(hasEyeIcon){
4203
- <span
4204
- class="ax-text-neutral-400 ax-cursor-pointer ax-invisible group-hover:ax-visible hover:!ax-text-primary-500"
4205
- (click)="toggleEye()"
4206
- >
4207
- @if(!showPassword){
4208
- <i class="fa-solid fa-eye"></i>
4209
- }@else {
4210
- <i class="fa-solid fa-eye-slash"></i>
4211
- }
4212
- </span>
4213
- }
4214
- </div>`,
4215
- changeDetection: ChangeDetectionStrategy.OnPush,
4216
- imports: [],
4217
- inputs: ['rawValue', 'rowData']
4218
- }]
4219
- }] });
4220
-
4221
- var passwordBoxWidgetColumn_component = /*#__PURE__*/Object.freeze({
4222
- __proto__: null,
4223
- AXPPasswordBoxWidgetColumnComponent: AXPPasswordBoxWidgetColumnComponent
4224
- });
4225
-
4226
- class AXPPasswordBoxWidgetPrintComponent extends AXPValueWidgetComponent {
4227
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPPasswordBoxWidgetPrintComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
4228
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.8", type: AXPPasswordBoxWidgetPrintComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
4053
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPPasswordBoxWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
4054
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.8", type: AXPPasswordBoxWidgetViewComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
4055
+ <div class="ax-col-start-1 ax-col-end-10 lg:ax-col-end-7">
4056
+ <div class="ax-flex ax-flex-1 ax-gap-3 ax-group ax-items-start ax-w-max">
4057
+ <span>{{ show() ? internalValue() : '*******' }}</span>
4058
+ @if(hasEyeIcon()){
4059
+ <span
4060
+ class="ax-text-neutral-400 ax-cursor-pointer ax-invisible group-hover:ax-visible hover:!ax-text-primary-500"
4061
+ (click)="toggleEye()"
4062
+ >
4063
+ @if(!showPassword()){
4064
+ <i class="fa-solid fa-eye"></i>
4065
+ }@else {
4066
+ <i class="fa-solid fa-eye-slash"></i>
4067
+ }
4068
+ </span>
4069
+ } @if(hasCopyIcon() && hasEyeIcon()){
4070
+ <span
4071
+ class="ax-text-neutral-400 ax-cursor-pointer ax-invisible group-hover:ax-visible hover:!ax-text-primary-500"
4072
+ (click)="clipboard.copy('Password', internalValue())"
4073
+ >
4074
+ <i class="fa-solid fa-copy "></i>
4075
+ </span>
4076
+ }
4077
+ </div>
4078
+ </div>
4079
+ `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
4229
4080
  }
4230
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPPasswordBoxWidgetPrintComponent, decorators: [{
4081
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPPasswordBoxWidgetViewComponent, decorators: [{
4231
4082
  type: Component,
4232
4083
  args: [{
4233
- template: ``,
4084
+ template: `
4085
+ <div class="ax-col-start-1 ax-col-end-10 lg:ax-col-end-7">
4086
+ <div class="ax-flex ax-flex-1 ax-gap-3 ax-group ax-items-start ax-w-max">
4087
+ <span>{{ show() ? internalValue() : '*******' }}</span>
4088
+ @if(hasEyeIcon()){
4089
+ <span
4090
+ class="ax-text-neutral-400 ax-cursor-pointer ax-invisible group-hover:ax-visible hover:!ax-text-primary-500"
4091
+ (click)="toggleEye()"
4092
+ >
4093
+ @if(!showPassword()){
4094
+ <i class="fa-solid fa-eye"></i>
4095
+ }@else {
4096
+ <i class="fa-solid fa-eye-slash"></i>
4097
+ }
4098
+ </span>
4099
+ } @if(hasCopyIcon() && hasEyeIcon()){
4100
+ <span
4101
+ class="ax-text-neutral-400 ax-cursor-pointer ax-invisible group-hover:ax-visible hover:!ax-text-primary-500"
4102
+ (click)="clipboard.copy('Password', internalValue())"
4103
+ >
4104
+ <i class="fa-solid fa-copy "></i>
4105
+ </span>
4106
+ }
4107
+ </div>
4108
+ </div>
4109
+ `,
4234
4110
  changeDetection: ChangeDetectionStrategy.OnPush,
4235
4111
  imports: [],
4236
4112
  inputs: []
4237
4113
  }]
4238
4114
  }] });
4239
4115
 
4240
- var passwordBoxWidgetPrint_component = /*#__PURE__*/Object.freeze({
4116
+ var passwordBoxWidgetView_component = /*#__PURE__*/Object.freeze({
4241
4117
  __proto__: null,
4242
- AXPPasswordBoxWidgetPrintComponent: AXPPasswordBoxWidgetPrintComponent
4118
+ AXPPasswordBoxWidgetViewComponent: AXPPasswordBoxWidgetViewComponent
4243
4119
  });
4244
4120
 
4245
4121
  const AXPPasswordBoxWidget = {
@@ -4266,9 +4142,6 @@ const AXPPasswordBoxWidget = {
4266
4142
  edit: {
4267
4143
  component: () => Promise.resolve().then(function () { return passwordBoxWidgetEdit_component; }).then((c) => c.AXPPasswordBoxWidgetEditComponent),
4268
4144
  },
4269
- filter: {
4270
- component: () => Promise.resolve().then(function () { return passwordBoxWidgetFilter_component; }).then((c) => c.AXPPasswordBoxWidgetFilterComponent),
4271
- },
4272
4145
  column: {
4273
4146
  component: () => Promise.resolve().then(function () { return passwordBoxWidgetColumn_component; }).then((c) => c.AXPPasswordBoxWidgetColumnComponent),
4274
4147
  },
@@ -4281,115 +4154,70 @@ const AXPPasswordBoxWidget = {
4281
4154
  },
4282
4155
  };
4283
4156
 
4284
- class AXPPhoneBoxWidgetViewComponent extends AXPValueWidgetComponent {
4157
+ class AXPPhoneBoxWidgetColumnComponent extends AXPColumnWidgetComponent {
4285
4158
  constructor() {
4286
4159
  super(...arguments);
4287
- this.clipboard = inject(AXPClipBoardService);
4288
- this.multiple = computed(() => this.options()['multiple'], ...(ngDevMode ? [{ debugName: "multiple" }] : []));
4289
- this.hasLabel = computed(() => this.options()['hasLabel'], ...(ngDevMode ? [{ debugName: "hasLabel" }] : []));
4290
- this.internalValue = computed(() => this.getValue()
4291
- ? Array.isArray(this.getValue())
4292
- ? this.getValue().map((item) => this.extractItem(item))
4293
- : [this.extractItem(this.getValue())]
4294
- : [], ...(ngDevMode ? [{ debugName: "internalValue" }] : []));
4160
+ this.list = computed(() => Array.isArray(this.rawValue) ? this.rawValue.map((c) => this.extractItem(c)) : [this.extractItem(this.rawValue)], ...(ngDevMode ? [{ debugName: "list" }] : []));
4161
+ this.text = computed(() => this.list()
4162
+ .map((item) => item.value)
4163
+ .join('\n'), ...(ngDevMode ? [{ debugName: "text" }] : []));
4164
+ }
4165
+ dot3(text) {
4166
+ console.log(text);
4167
+ if (this.multiple)
4168
+ return text.split('\n')[0] + '...';
4169
+ else
4170
+ return text.split('\n')[0];
4295
4171
  }
4296
4172
  extractItem(item) {
4297
4173
  return typeof item == 'object'
4298
4174
  ? {
4299
4175
  value: item.value ?? '-',
4300
- type: item.type ?? 'mobile',
4176
+ type: item.type ?? 'primary',
4301
4177
  label: item.label,
4302
4178
  }
4303
4179
  : {
4304
4180
  value: item,
4305
- type: 'mobile',
4181
+ type: 'primary',
4306
4182
  label: null,
4307
4183
  };
4308
4184
  }
4309
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPPhoneBoxWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
4310
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.8", type: AXPPhoneBoxWidgetViewComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
4311
- <div class="ax-grid ax-grid-cols-12 ax-gap-2 ">
4312
- @if (multiple()) {
4313
- @for(item of internalValue();track item?.value) {
4314
- <ng-template [ngTemplateOutlet]="itemTemplate" [ngTemplateOutletContext]="{ data: item }" ]></ng-template>
4315
- }
4316
- }
4317
-
4318
- @if (!multiple()) {
4319
- <ng-template [ngTemplateOutlet]="itemTemplate" [ngTemplateOutletContext]="{ data: internalValue()[0] }" ]></ng-template>
4320
- }
4321
-
4322
- <ng-template #itemTemplate let-item="data">
4323
- @if (item) {
4324
- <div class="ax-col-start-1 ax-col-end-10 lg:ax-col-end-7">
4325
- <div class="ax-flex ax-flex-1 ax-gap-3 ax-items-center ax-w-max ax-group">
4326
- <div class="ax-w-6 ax-h-6 ax-flex ax-items-center ax-justify-center">
4327
- <i class="fa-solid ax-text-neutral-400 fa-phone"></i>
4328
- </div>
4329
- <a class="group-hover:!ax-text-primary-500" href="tel:{{ item.value }}">{{ item.value }}</a>
4330
- <span
4331
- class="ax-text-neutral-400 ax-cursor-pointer ax-invisible group-hover:ax-visible hover:!ax-text-primary-500"
4332
- (click)="clipboard.copy('Phone Number', item.value)"
4333
- >
4334
- <i class="fa-solid fa-copy "></i>
4335
- </span>
4336
- @if(hasLabel()){
4337
- <ax-badge color="primary" [look]="'twotone'" [text]="item.label"></ax-badge>
4338
- }
4339
- </div>
4340
- </div>
4341
- }
4342
- </ng-template>
4185
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPPhoneBoxWidgetColumnComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
4186
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.8", type: AXPPhoneBoxWidgetColumnComponent, isStandalone: true, selector: "ng-component", inputs: { rawValue: "rawValue", rowData: "rowData" }, usesInheritance: true, ngImport: i0, template: `<div>
4187
+ @if(multiple && list.length>1){
4188
+ <div [title]="text()">{{ dot3(text()) }}</div>
4189
+ }@else {
4190
+ <div>
4191
+ @if(list() && list().length){
4192
+ {{ list()[0].value }}
4193
+ }@else { - }
4343
4194
  </div>
4344
- `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type: i1$4.AXBadgeComponent, selector: "ax-badge", inputs: ["color", "look", "text"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
4195
+ }
4196
+ </div>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
4345
4197
  }
4346
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPPhoneBoxWidgetViewComponent, decorators: [{
4198
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPPhoneBoxWidgetColumnComponent, decorators: [{
4347
4199
  type: Component,
4348
4200
  args: [{
4349
- template: `
4350
- <div class="ax-grid ax-grid-cols-12 ax-gap-2 ">
4351
- @if (multiple()) {
4352
- @for(item of internalValue();track item?.value) {
4353
- <ng-template [ngTemplateOutlet]="itemTemplate" [ngTemplateOutletContext]="{ data: item }" ]></ng-template>
4354
- }
4355
- }
4356
-
4357
- @if (!multiple()) {
4358
- <ng-template [ngTemplateOutlet]="itemTemplate" [ngTemplateOutletContext]="{ data: internalValue()[0] }" ]></ng-template>
4359
- }
4360
-
4361
- <ng-template #itemTemplate let-item="data">
4362
- @if (item) {
4363
- <div class="ax-col-start-1 ax-col-end-10 lg:ax-col-end-7">
4364
- <div class="ax-flex ax-flex-1 ax-gap-3 ax-items-center ax-w-max ax-group">
4365
- <div class="ax-w-6 ax-h-6 ax-flex ax-items-center ax-justify-center">
4366
- <i class="fa-solid ax-text-neutral-400 fa-phone"></i>
4367
- </div>
4368
- <a class="group-hover:!ax-text-primary-500" href="tel:{{ item.value }}">{{ item.value }}</a>
4369
- <span
4370
- class="ax-text-neutral-400 ax-cursor-pointer ax-invisible group-hover:ax-visible hover:!ax-text-primary-500"
4371
- (click)="clipboard.copy('Phone Number', item.value)"
4372
- >
4373
- <i class="fa-solid fa-copy "></i>
4374
- </span>
4375
- @if(hasLabel()){
4376
- <ax-badge color="primary" [look]="'twotone'" [text]="item.label"></ax-badge>
4377
- }
4378
- </div>
4379
- </div>
4380
- }
4381
- </ng-template>
4201
+ template: `<div>
4202
+ @if(multiple && list.length>1){
4203
+ <div [title]="text()">{{ dot3(text()) }}</div>
4204
+ }@else {
4205
+ <div>
4206
+ @if(list() && list().length){
4207
+ {{ list()[0].value }}
4208
+ }@else { - }
4382
4209
  </div>
4383
- `,
4210
+ }
4211
+ </div>`,
4384
4212
  changeDetection: ChangeDetectionStrategy.OnPush,
4385
- imports: [CommonModule, AXBadgeModule],
4386
- inputs: []
4213
+ imports: [],
4214
+ inputs: ['rawValue', 'rowData']
4387
4215
  }]
4388
4216
  }] });
4389
4217
 
4390
- var phoneBoxWidgetView_component = /*#__PURE__*/Object.freeze({
4218
+ var phoneBoxWidgetColumn_component = /*#__PURE__*/Object.freeze({
4391
4219
  __proto__: null,
4392
- AXPPhoneBoxWidgetViewComponent: AXPPhoneBoxWidgetViewComponent
4220
+ AXPPhoneBoxWidgetColumnComponent: AXPPhoneBoxWidgetColumnComponent
4393
4221
  });
4394
4222
 
4395
4223
  class AXPPhoneBoxWidgetEditComponent extends AXPValueWidgetComponent {
@@ -4627,108 +4455,134 @@ var phoneBoxWidgetEdit_component = /*#__PURE__*/Object.freeze({
4627
4455
  AXPPhoneBoxWidgetEditComponent: AXPPhoneBoxWidgetEditComponent
4628
4456
  });
4629
4457
 
4630
- class AXPPhoneBoxWidgetFilterComponent extends AXPValueWidgetComponent {
4631
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPPhoneBoxWidgetFilterComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
4632
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.8", type: AXPPhoneBoxWidgetFilterComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true, dependencies: [{ kind: "ngmodule", type: FormsModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
4458
+ class AXPPhoneBoxWidgetPrintComponent extends AXPValueWidgetComponent {
4459
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPPhoneBoxWidgetPrintComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
4460
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.8", type: AXPPhoneBoxWidgetPrintComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
4633
4461
  }
4634
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPPhoneBoxWidgetFilterComponent, decorators: [{
4462
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPPhoneBoxWidgetPrintComponent, decorators: [{
4635
4463
  type: Component,
4636
4464
  args: [{
4637
4465
  template: ``,
4638
4466
  changeDetection: ChangeDetectionStrategy.OnPush,
4639
- imports: [FormsModule],
4467
+ imports: [],
4640
4468
  inputs: []
4641
4469
  }]
4642
4470
  }] });
4643
4471
 
4644
- var phoneBoxWidgetFilter_component = /*#__PURE__*/Object.freeze({
4472
+ var phoneBoxWidgetPrint_component = /*#__PURE__*/Object.freeze({
4645
4473
  __proto__: null,
4646
- AXPPhoneBoxWidgetFilterComponent: AXPPhoneBoxWidgetFilterComponent
4474
+ AXPPhoneBoxWidgetPrintComponent: AXPPhoneBoxWidgetPrintComponent
4647
4475
  });
4648
4476
 
4649
- class AXPPhoneBoxWidgetColumnComponent extends AXPColumnWidgetComponent {
4477
+ class AXPPhoneBoxWidgetViewComponent extends AXPValueWidgetComponent {
4650
4478
  constructor() {
4651
4479
  super(...arguments);
4652
- this.list = computed(() => Array.isArray(this.rawValue) ? this.rawValue.map((c) => this.extractItem(c)) : [this.extractItem(this.rawValue)], ...(ngDevMode ? [{ debugName: "list" }] : []));
4653
- this.text = computed(() => this.list()
4654
- .map((item) => item.value)
4655
- .join('\n'), ...(ngDevMode ? [{ debugName: "text" }] : []));
4656
- }
4657
- dot3(text) {
4658
- console.log(text);
4659
- if (this.multiple)
4660
- return text.split('\n')[0] + '...';
4661
- else
4662
- return text.split('\n')[0];
4480
+ this.clipboard = inject(AXPClipBoardService);
4481
+ this.multiple = computed(() => this.options()['multiple'], ...(ngDevMode ? [{ debugName: "multiple" }] : []));
4482
+ this.hasLabel = computed(() => this.options()['hasLabel'], ...(ngDevMode ? [{ debugName: "hasLabel" }] : []));
4483
+ this.internalValue = computed(() => this.getValue()
4484
+ ? Array.isArray(this.getValue())
4485
+ ? this.getValue().map((item) => this.extractItem(item))
4486
+ : [this.extractItem(this.getValue())]
4487
+ : [], ...(ngDevMode ? [{ debugName: "internalValue" }] : []));
4663
4488
  }
4664
4489
  extractItem(item) {
4665
4490
  return typeof item == 'object'
4666
4491
  ? {
4667
4492
  value: item.value ?? '-',
4668
- type: item.type ?? 'primary',
4493
+ type: item.type ?? 'mobile',
4669
4494
  label: item.label,
4670
4495
  }
4671
4496
  : {
4672
4497
  value: item,
4673
- type: 'primary',
4498
+ type: 'mobile',
4674
4499
  label: null,
4675
4500
  };
4676
4501
  }
4677
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPPhoneBoxWidgetColumnComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
4678
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.8", type: AXPPhoneBoxWidgetColumnComponent, isStandalone: true, selector: "ng-component", inputs: { rawValue: "rawValue", rowData: "rowData" }, usesInheritance: true, ngImport: i0, template: `<div>
4679
- @if(multiple && list.length>1){
4680
- <div [title]="text()">{{ dot3(text()) }}</div>
4681
- }@else {
4682
- <div>
4683
- @if(list() && list().length){
4684
- {{ list()[0].value }}
4685
- }@else { - }
4502
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPPhoneBoxWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
4503
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.8", type: AXPPhoneBoxWidgetViewComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
4504
+ <div class="ax-grid ax-grid-cols-12 ax-gap-2 ">
4505
+ @if (multiple()) {
4506
+ @for(item of internalValue();track item?.value) {
4507
+ <ng-template [ngTemplateOutlet]="itemTemplate" [ngTemplateOutletContext]="{ data: item }" ]></ng-template>
4508
+ }
4509
+ }
4510
+
4511
+ @if (!multiple()) {
4512
+ <ng-template [ngTemplateOutlet]="itemTemplate" [ngTemplateOutletContext]="{ data: internalValue()[0] }" ]></ng-template>
4513
+ }
4514
+
4515
+ <ng-template #itemTemplate let-item="data">
4516
+ @if (item) {
4517
+ <div class="ax-col-start-1 ax-col-end-10 lg:ax-col-end-7">
4518
+ <div class="ax-flex ax-flex-1 ax-gap-3 ax-items-center ax-w-max ax-group">
4519
+ <div class="ax-w-6 ax-h-6 ax-flex ax-items-center ax-justify-center">
4520
+ <i class="fa-solid ax-text-neutral-400 fa-phone"></i>
4521
+ </div>
4522
+ <a class="group-hover:!ax-text-primary-500" href="tel:{{ item.value }}">{{ item.value }}</a>
4523
+ <span
4524
+ class="ax-text-neutral-400 ax-cursor-pointer ax-invisible group-hover:ax-visible hover:!ax-text-primary-500"
4525
+ (click)="clipboard.copy('Phone Number', item.value)"
4526
+ >
4527
+ <i class="fa-solid fa-copy "></i>
4528
+ </span>
4529
+ @if(hasLabel()){
4530
+ <ax-badge color="primary" [look]="'twotone'" [text]="item.label"></ax-badge>
4531
+ }
4532
+ </div>
4533
+ </div>
4534
+ }
4535
+ </ng-template>
4686
4536
  </div>
4687
- }
4688
- </div>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
4537
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type: i1$4.AXBadgeComponent, selector: "ax-badge", inputs: ["color", "look", "text"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
4689
4538
  }
4690
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPPhoneBoxWidgetColumnComponent, decorators: [{
4539
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPPhoneBoxWidgetViewComponent, decorators: [{
4691
4540
  type: Component,
4692
4541
  args: [{
4693
- template: `<div>
4694
- @if(multiple && list.length>1){
4695
- <div [title]="text()">{{ dot3(text()) }}</div>
4696
- }@else {
4697
- <div>
4698
- @if(list() && list().length){
4699
- {{ list()[0].value }}
4700
- }@else { - }
4542
+ template: `
4543
+ <div class="ax-grid ax-grid-cols-12 ax-gap-2 ">
4544
+ @if (multiple()) {
4545
+ @for(item of internalValue();track item?.value) {
4546
+ <ng-template [ngTemplateOutlet]="itemTemplate" [ngTemplateOutletContext]="{ data: item }" ]></ng-template>
4547
+ }
4548
+ }
4549
+
4550
+ @if (!multiple()) {
4551
+ <ng-template [ngTemplateOutlet]="itemTemplate" [ngTemplateOutletContext]="{ data: internalValue()[0] }" ]></ng-template>
4552
+ }
4553
+
4554
+ <ng-template #itemTemplate let-item="data">
4555
+ @if (item) {
4556
+ <div class="ax-col-start-1 ax-col-end-10 lg:ax-col-end-7">
4557
+ <div class="ax-flex ax-flex-1 ax-gap-3 ax-items-center ax-w-max ax-group">
4558
+ <div class="ax-w-6 ax-h-6 ax-flex ax-items-center ax-justify-center">
4559
+ <i class="fa-solid ax-text-neutral-400 fa-phone"></i>
4560
+ </div>
4561
+ <a class="group-hover:!ax-text-primary-500" href="tel:{{ item.value }}">{{ item.value }}</a>
4562
+ <span
4563
+ class="ax-text-neutral-400 ax-cursor-pointer ax-invisible group-hover:ax-visible hover:!ax-text-primary-500"
4564
+ (click)="clipboard.copy('Phone Number', item.value)"
4565
+ >
4566
+ <i class="fa-solid fa-copy "></i>
4567
+ </span>
4568
+ @if(hasLabel()){
4569
+ <ax-badge color="primary" [look]="'twotone'" [text]="item.label"></ax-badge>
4570
+ }
4571
+ </div>
4572
+ </div>
4573
+ }
4574
+ </ng-template>
4701
4575
  </div>
4702
- }
4703
- </div>`,
4704
- changeDetection: ChangeDetectionStrategy.OnPush,
4705
- imports: [],
4706
- inputs: ['rawValue', 'rowData']
4707
- }]
4708
- }] });
4709
-
4710
- var phoneBoxWidgetColumn_component = /*#__PURE__*/Object.freeze({
4711
- __proto__: null,
4712
- AXPPhoneBoxWidgetColumnComponent: AXPPhoneBoxWidgetColumnComponent
4713
- });
4714
-
4715
- class AXPPhoneBoxWidgetPrintComponent extends AXPValueWidgetComponent {
4716
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPPhoneBoxWidgetPrintComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
4717
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.8", type: AXPPhoneBoxWidgetPrintComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
4718
- }
4719
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPPhoneBoxWidgetPrintComponent, decorators: [{
4720
- type: Component,
4721
- args: [{
4722
- template: ``,
4576
+ `,
4723
4577
  changeDetection: ChangeDetectionStrategy.OnPush,
4724
- imports: [],
4578
+ imports: [CommonModule, AXBadgeModule],
4725
4579
  inputs: []
4726
4580
  }]
4727
4581
  }] });
4728
4582
 
4729
- var phoneBoxWidgetPrint_component = /*#__PURE__*/Object.freeze({
4583
+ var phoneBoxWidgetView_component = /*#__PURE__*/Object.freeze({
4730
4584
  __proto__: null,
4731
- AXPPhoneBoxWidgetPrintComponent: AXPPhoneBoxWidgetPrintComponent
4585
+ AXPPhoneBoxWidgetViewComponent: AXPPhoneBoxWidgetViewComponent
4732
4586
  });
4733
4587
 
4734
4588
  const AXPPhoneBoxWidget = {
@@ -4752,9 +4606,6 @@ const AXPPhoneBoxWidget = {
4752
4606
  edit: {
4753
4607
  component: () => Promise.resolve().then(function () { return phoneBoxWidgetEdit_component; }).then((c) => c.AXPPhoneBoxWidgetEditComponent),
4754
4608
  },
4755
- filter: {
4756
- component: () => Promise.resolve().then(function () { return phoneBoxWidgetFilter_component; }).then((c) => c.AXPPhoneBoxWidgetFilterComponent),
4757
- },
4758
4609
  column: {
4759
4610
  component: () => Promise.resolve().then(function () { return phoneBoxWidgetColumn_component; }).then((c) => c.AXPPhoneBoxWidgetColumnComponent),
4760
4611
  properties: [AXP_TABLE_COLUMN_WIDTH_PROPERTY],
@@ -4768,7 +4619,7 @@ const AXPPhoneBoxWidget = {
4768
4619
  },
4769
4620
  };
4770
4621
 
4771
- class AXPRichTextWidgetViewComponent extends AXPValueWidgetComponent {
4622
+ class AXPRichTextWidgetColumnComponent extends AXPColumnWidgetComponent {
4772
4623
  constructor() {
4773
4624
  super(...arguments);
4774
4625
  this.popupService = inject(AXPopupService);
@@ -4776,49 +4627,48 @@ class AXPRichTextWidgetViewComponent extends AXPValueWidgetComponent {
4776
4627
  }
4777
4628
  async openPopup() {
4778
4629
  const { AXPRichTextPopupComponent } = await import('./acorex-platform-widgets-rich-text-popup.component-Cydlpsat.mjs');
4630
+ const html = this.rawValue;
4779
4631
  this.popupService.open(AXPRichTextPopupComponent, {
4780
4632
  size: this.platform.is('Mobile') || this.platform.is('SM') ? 'full' : 'md',
4781
4633
  header: true,
4782
4634
  closeOnBackdropClick: true,
4783
4635
  closeButton: true,
4784
4636
  draggable: true,
4637
+ //TODO access to title property
4785
4638
  title: this.path ?? '',
4786
4639
  data: {
4787
- html: this.getValue(),
4640
+ html,
4788
4641
  },
4789
4642
  });
4790
4643
  }
4791
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPRichTextWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
4792
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.8", type: AXPRichTextWidgetViewComponent, isStandalone: true, selector: "axp-rich-text-widget", usesInheritance: true, ngImport: i0, template: `
4793
- @if (getValue()) {
4794
- <span class="ax-truncate ax-underline ax-cursor-pointer ax-text-muted" (click)="openPopup()" [innerHTML]="getValue() | safe : 'html'">
4795
- </span>
4644
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPRichTextWidgetColumnComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
4645
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.8", type: AXPRichTextWidgetColumnComponent, isStandalone: true, selector: "ng-component", inputs: { rawValue: "rawValue", rowData: "rowData" }, usesInheritance: true, ngImport: i0, template: `
4646
+ @if (rawValue) {
4647
+ <span class="ax-truncate ax-underline ax-block ax-w-full ax-cursor-pointer" (click)="openPopup()" [innerHTML]="rawValue | safe : 'html'"> </span>
4796
4648
  } @else {
4797
4649
  <span class="ax-text-muted">---</span>
4798
4650
  }
4799
- `, isInline: true, dependencies: [{ kind: "pipe", type: AXSafePipe, name: "safe" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
4651
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: AXDecoratorModule }, { kind: "ngmodule", type: AXButtonModule }, { kind: "pipe", type: AXSafePipe, name: "safe" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
4800
4652
  }
4801
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPRichTextWidgetViewComponent, decorators: [{
4653
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPRichTextWidgetColumnComponent, decorators: [{
4802
4654
  type: Component,
4803
4655
  args: [{
4804
- selector: 'axp-rich-text-widget',
4805
4656
  template: `
4806
- @if (getValue()) {
4807
- <span class="ax-truncate ax-underline ax-cursor-pointer ax-text-muted" (click)="openPopup()" [innerHTML]="getValue() | safe : 'html'">
4808
- </span>
4657
+ @if (rawValue) {
4658
+ <span class="ax-truncate ax-underline ax-block ax-w-full ax-cursor-pointer" (click)="openPopup()" [innerHTML]="rawValue | safe : 'html'"> </span>
4809
4659
  } @else {
4810
4660
  <span class="ax-text-muted">---</span>
4811
4661
  }
4812
4662
  `,
4813
4663
  changeDetection: ChangeDetectionStrategy.OnPush,
4814
- imports: [AXSafePipe],
4815
- inputs: []
4664
+ imports: [AXDecoratorModule, AXButtonModule, AXSafePipe],
4665
+ inputs: ['rawValue', 'rowData']
4816
4666
  }]
4817
4667
  }] });
4818
4668
 
4819
- var richTextWidgetView_component = /*#__PURE__*/Object.freeze({
4669
+ var richTextWidgetColumn_component = /*#__PURE__*/Object.freeze({
4820
4670
  __proto__: null,
4821
- AXPRichTextWidgetViewComponent: AXPRichTextWidgetViewComponent
4671
+ AXPRichTextWidgetColumnComponent: AXPRichTextWidgetColumnComponent
4822
4672
  });
4823
4673
 
4824
4674
  class AXPRichTextWidgetEditComponent extends AXPValueWidgetComponent {
@@ -4889,7 +4739,7 @@ class AXPRichTextWidgetEditComponent extends AXPValueWidgetComponent {
4889
4739
  }
4890
4740
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPRichTextWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
4891
4741
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.8", type: AXPRichTextWidgetEditComponent, isStandalone: true, selector: "axp-rich-text-widget", host: { properties: { "class": "this.__class" } }, usesInheritance: true, ngImport: i0, template: `<ax-wysiwyg-container
4892
- [placeHolder]="placeholder()"
4742
+ [placeHolder]="(placeholder() | translate | async)!"
4893
4743
  [disabled]="disabled()"
4894
4744
  [look]="'solid'"
4895
4745
  [ngModel]="getValue()"
@@ -4926,14 +4776,14 @@ class AXPRichTextWidgetEditComponent extends AXPValueWidgetComponent {
4926
4776
  [options]="validation.options"
4927
4777
  ></ax-validation-rule>
4928
4778
  }
4929
- </ax-wysiwyg-container>`, isInline: true, dependencies: [{ kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i2$1.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i2$1.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXWysiwygModule }, { kind: "component", type: i2$5.AXWysiwygContainerComponent, selector: "ax-wysiwyg-container", inputs: ["look", "placeHolder"], outputs: ["onValueChanged"] }, { kind: "component", type: i2$5.AXWysiwygViewComponent, selector: "ax-wysiwyg-view", inputs: ["class"] }, { kind: "component", type: i2$5.AXWysiwygAlignmentComponent, selector: "ax-wysiwyg-alignment" }, { kind: "component", type: i2$5.AXWysiwygColorsComponent, selector: "ax-wysiwyg-colors" }, { kind: "component", type: i2$5.AXWysiwygFontStyleComponent, selector: "ax-wysiwyg-font-style" }, { kind: "component", type: i2$5.AXWysiwygHistoryComponent, selector: "ax-wysiwyg-history" }, { kind: "component", type: i2$5.AXWysiwygInsertComponent, selector: "ax-wysiwyg-insert" }, { kind: "component", type: i2$5.AXWysiwygListComponent, selector: "ax-wysiwyg-list" }, { kind: "ngmodule", type: AXToolBarModule }, { kind: "component", type: i3$3.AXToolBarComponent, selector: "ax-toolbar" }, { kind: "ngmodule", type: AXValidationModule }, { kind: "ngmodule", type: AXFormModule }, { kind: "directive", type: i4.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message", "disabled"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i1.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
4779
+ </ax-wysiwyg-container>`, isInline: true, dependencies: [{ kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i2$1.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i2$1.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXWysiwygModule }, { kind: "component", type: i2$5.AXWysiwygContainerComponent, selector: "ax-wysiwyg-container", inputs: ["look", "placeHolder"], outputs: ["onValueChanged"] }, { kind: "component", type: i2$5.AXWysiwygViewComponent, selector: "ax-wysiwyg-view", inputs: ["class"] }, { kind: "component", type: i2$5.AXWysiwygAlignmentComponent, selector: "ax-wysiwyg-alignment" }, { kind: "component", type: i2$5.AXWysiwygColorsComponent, selector: "ax-wysiwyg-colors" }, { kind: "component", type: i2$5.AXWysiwygFontStyleComponent, selector: "ax-wysiwyg-font-style" }, { kind: "component", type: i2$5.AXWysiwygHistoryComponent, selector: "ax-wysiwyg-history" }, { kind: "component", type: i2$5.AXWysiwygInsertComponent, selector: "ax-wysiwyg-insert" }, { kind: "component", type: i2$5.AXWysiwygListComponent, selector: "ax-wysiwyg-list" }, { kind: "ngmodule", type: AXToolBarModule }, { kind: "component", type: i3$3.AXToolBarComponent, selector: "ax-toolbar" }, { kind: "ngmodule", type: AXValidationModule }, { kind: "ngmodule", type: AXFormModule }, { kind: "directive", type: i4.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message", "disabled"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i1.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "pipe", type: i5.AXTranslatorPipe, name: "translate" }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
4930
4780
  }
4931
4781
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPRichTextWidgetEditComponent, decorators: [{
4932
4782
  type: Component,
4933
4783
  args: [{
4934
4784
  selector: 'axp-rich-text-widget',
4935
4785
  template: `<ax-wysiwyg-container
4936
- [placeHolder]="placeholder()"
4786
+ [placeHolder]="(placeholder() | translate | async)!"
4937
4787
  [disabled]="disabled()"
4938
4788
  [look]="'solid'"
4939
4789
  [ngModel]="getValue()"
@@ -4980,7 +4830,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImpor
4980
4830
  AXValidationModule,
4981
4831
  AXFormModule,
4982
4832
  FormsModule,
4983
- AXButtonModule
4833
+ AXButtonModule,
4834
+ AXTranslationModule,
4835
+ AsyncPipe
4984
4836
  ],
4985
4837
  }]
4986
4838
  }], propDecorators: { __class: [{
@@ -4993,26 +4845,26 @@ var richTextWidgetEdit_component = /*#__PURE__*/Object.freeze({
4993
4845
  AXPRichTextWidgetEditComponent: AXPRichTextWidgetEditComponent
4994
4846
  });
4995
4847
 
4996
- class AXPRichTextWidgetFilterComponent extends AXPValueWidgetComponent {
4997
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPRichTextWidgetFilterComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
4998
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.8", type: AXPRichTextWidgetFilterComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true, dependencies: [{ kind: "ngmodule", type: FormsModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
4848
+ class AXPRichTextWidgetPrintComponent extends AXPValueWidgetComponent {
4849
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPRichTextWidgetPrintComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
4850
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.8", type: AXPRichTextWidgetPrintComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
4999
4851
  }
5000
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPRichTextWidgetFilterComponent, decorators: [{
4852
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPRichTextWidgetPrintComponent, decorators: [{
5001
4853
  type: Component,
5002
4854
  args: [{
5003
4855
  template: ``,
5004
4856
  changeDetection: ChangeDetectionStrategy.OnPush,
5005
- imports: [FormsModule],
4857
+ imports: [],
5006
4858
  inputs: []
5007
4859
  }]
5008
4860
  }] });
5009
4861
 
5010
- var richTextWidgetFilter_component = /*#__PURE__*/Object.freeze({
4862
+ var richTextWidgetPrint_component = /*#__PURE__*/Object.freeze({
5011
4863
  __proto__: null,
5012
- AXPRichTextWidgetFilterComponent: AXPRichTextWidgetFilterComponent
4864
+ AXPRichTextWidgetPrintComponent: AXPRichTextWidgetPrintComponent
5013
4865
  });
5014
4866
 
5015
- class AXPRichTextWidgetColumnComponent extends AXPColumnWidgetComponent {
4867
+ class AXPRichTextWidgetViewComponent extends AXPValueWidgetComponent {
5016
4868
  constructor() {
5017
4869
  super(...arguments);
5018
4870
  this.popupService = inject(AXPopupService);
@@ -5020,67 +4872,49 @@ class AXPRichTextWidgetColumnComponent extends AXPColumnWidgetComponent {
5020
4872
  }
5021
4873
  async openPopup() {
5022
4874
  const { AXPRichTextPopupComponent } = await import('./acorex-platform-widgets-rich-text-popup.component-Cydlpsat.mjs');
5023
- const html = this.rawValue;
5024
4875
  this.popupService.open(AXPRichTextPopupComponent, {
5025
4876
  size: this.platform.is('Mobile') || this.platform.is('SM') ? 'full' : 'md',
5026
4877
  header: true,
5027
4878
  closeOnBackdropClick: true,
5028
4879
  closeButton: true,
5029
4880
  draggable: true,
5030
- //TODO access to title property
5031
4881
  title: this.path ?? '',
5032
4882
  data: {
5033
- html,
4883
+ html: this.getValue(),
5034
4884
  },
5035
4885
  });
5036
4886
  }
5037
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPRichTextWidgetColumnComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
5038
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.8", type: AXPRichTextWidgetColumnComponent, isStandalone: true, selector: "ng-component", inputs: { rawValue: "rawValue", rowData: "rowData" }, usesInheritance: true, ngImport: i0, template: `
5039
- @if (rawValue) {
5040
- <span class="ax-truncate ax-underline ax-block ax-w-full ax-cursor-pointer" (click)="openPopup()" [innerHTML]="rawValue | safe : 'html'"> </span>
4887
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPRichTextWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
4888
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.8", type: AXPRichTextWidgetViewComponent, isStandalone: true, selector: "axp-rich-text-widget", usesInheritance: true, ngImport: i0, template: `
4889
+ @if (getValue()) {
4890
+ <span class="ax-truncate ax-underline ax-cursor-pointer ax-text-muted" (click)="openPopup()" [innerHTML]="getValue() | safe : 'html'">
4891
+ </span>
5041
4892
  } @else {
5042
4893
  <span class="ax-text-muted">---</span>
5043
4894
  }
5044
- `, isInline: true, dependencies: [{ kind: "ngmodule", type: AXDecoratorModule }, { kind: "ngmodule", type: AXButtonModule }, { kind: "pipe", type: AXSafePipe, name: "safe" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
4895
+ `, isInline: true, dependencies: [{ kind: "pipe", type: AXSafePipe, name: "safe" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
5045
4896
  }
5046
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPRichTextWidgetColumnComponent, decorators: [{
4897
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPRichTextWidgetViewComponent, decorators: [{
5047
4898
  type: Component,
5048
4899
  args: [{
4900
+ selector: 'axp-rich-text-widget',
5049
4901
  template: `
5050
- @if (rawValue) {
5051
- <span class="ax-truncate ax-underline ax-block ax-w-full ax-cursor-pointer" (click)="openPopup()" [innerHTML]="rawValue | safe : 'html'"> </span>
4902
+ @if (getValue()) {
4903
+ <span class="ax-truncate ax-underline ax-cursor-pointer ax-text-muted" (click)="openPopup()" [innerHTML]="getValue() | safe : 'html'">
4904
+ </span>
5052
4905
  } @else {
5053
4906
  <span class="ax-text-muted">---</span>
5054
4907
  }
5055
4908
  `,
5056
4909
  changeDetection: ChangeDetectionStrategy.OnPush,
5057
- imports: [AXDecoratorModule, AXButtonModule, AXSafePipe],
5058
- inputs: ['rawValue', 'rowData']
5059
- }]
5060
- }] });
5061
-
5062
- var richTextWidgetColumn_component = /*#__PURE__*/Object.freeze({
5063
- __proto__: null,
5064
- AXPRichTextWidgetColumnComponent: AXPRichTextWidgetColumnComponent
5065
- });
5066
-
5067
- class AXPRichTextWidgetPrintComponent extends AXPValueWidgetComponent {
5068
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPRichTextWidgetPrintComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
5069
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.8", type: AXPRichTextWidgetPrintComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
5070
- }
5071
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPRichTextWidgetPrintComponent, decorators: [{
5072
- type: Component,
5073
- args: [{
5074
- template: ``,
5075
- changeDetection: ChangeDetectionStrategy.OnPush,
5076
- imports: [],
4910
+ imports: [AXSafePipe],
5077
4911
  inputs: []
5078
4912
  }]
5079
4913
  }] });
5080
4914
 
5081
- var richTextWidgetPrint_component = /*#__PURE__*/Object.freeze({
4915
+ var richTextWidgetView_component = /*#__PURE__*/Object.freeze({
5082
4916
  __proto__: null,
5083
- AXPRichTextWidgetPrintComponent: AXPRichTextWidgetPrintComponent
4917
+ AXPRichTextWidgetViewComponent: AXPRichTextWidgetViewComponent
5084
4918
  });
5085
4919
 
5086
4920
  const AXPRichTextWidget = {
@@ -5108,9 +4942,6 @@ const AXPRichTextWidget = {
5108
4942
  edit: {
5109
4943
  component: () => Promise.resolve().then(function () { return richTextWidgetEdit_component; }).then((c) => c.AXPRichTextWidgetEditComponent),
5110
4944
  },
5111
- filter: {
5112
- component: () => Promise.resolve().then(function () { return richTextWidgetFilter_component; }).then((c) => c.AXPRichTextWidgetFilterComponent),
5113
- },
5114
4945
  column: {
5115
4946
  component: () => Promise.resolve().then(function () { return richTextWidgetColumn_component; }).then((c) => c.AXPRichTextWidgetColumnComponent),
5116
4947
  },
@@ -5467,68 +5298,79 @@ const AXPSelectBoxWidget = {
5467
5298
  },
5468
5299
  };
5469
5300
 
5470
- class AXPSelectionListWidgetViewComponent extends AXPValueWidgetComponent {
5301
+ class AXPSelectionListWidgetColumnComponent extends AXPColumnWidgetComponent {
5471
5302
  constructor() {
5472
5303
  super(...arguments);
5473
- this.items = computed(() => this.options()['items'], ...(ngDevMode ? [{ debugName: "items" }] : []));
5474
- this.valueField = computed(() => this.options()['valueField'], ...(ngDevMode ? [{ debugName: "valueField" }] : []));
5475
- this.textField = computed(() => this.options()['textField'], ...(ngDevMode ? [{ debugName: "textField" }] : []));
5476
- this.imageMode = computed(() => this.options()['imageMode'], ...(ngDevMode ? [{ debugName: "imageMode" }] : []));
5477
- this.internalValue = computed(() => {
5478
- return this.items().filter((item) => {
5479
- if (Array.isArray(this.getValue()))
5480
- return this.getValue().includes(item[this.valueField()]);
5481
- else {
5482
- return this.getValue() == item[this.valueField()];
5483
- }
5304
+ this.valueField = this.options['valueField'];
5305
+ this.textField = this.options['textField'];
5306
+ this.items = this.options['items'];
5307
+ this.multiple = this.options['multiple'];
5308
+ this.imageMode = this.options['imageMode'];
5309
+ this.selectedItemIds = computed(() => {
5310
+ return this.rawValue || [];
5311
+ }, ...(ngDevMode ? [{ debugName: "selectedItemIds" }] : []));
5312
+ this.selectedItems = computed(() => {
5313
+ const selectedIds = this.selectedItemIds();
5314
+ const filteredItems = this.items.filter((item) => {
5315
+ const itemValue = item[this.valueField];
5316
+ const isSelected = selectedIds.includes(itemValue);
5317
+ return isSelected;
5484
5318
  });
5485
- }, ...(ngDevMode ? [{ debugName: "internalValue" }] : []));
5486
- }
5487
- get __class() {
5488
- const cls = {};
5489
- cls[`ax-flex`] = true;
5490
- cls[`ax-gap-1`] = true;
5491
- return cls;
5319
+ return filteredItems;
5320
+ }, ...(ngDevMode ? [{ debugName: "selectedItems" }] : []));
5321
+ this.firstItem = computed(() => {
5322
+ const first = this.selectedItems()[0];
5323
+ return first;
5324
+ }, ...(ngDevMode ? [{ debugName: "firstItem" }] : []));
5492
5325
  }
5493
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPSelectionListWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
5494
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.8", type: AXPSelectionListWidgetViewComponent, isStandalone: true, selector: "axp-selection-list-widget-view", host: { properties: { "class": "this.__class" } }, usesInheritance: true, ngImport: i0, template: `
5495
- @for (item of internalValue(); track $index) {
5496
- @if (imageMode()) {
5497
- <img class="ax-w-14 ax-h-14 ax-rounded-sm" [src]="item[this.textField()]" />
5326
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPSelectionListWidgetColumnComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
5327
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.8", type: AXPSelectionListWidgetColumnComponent, isStandalone: true, selector: "ng-component", inputs: { rawValue: "rawValue", rowData: "rowData" }, usesInheritance: true, ngImport: i0, template: ` <div class="ax-flex ax-gap-2">
5328
+ @if (multiple) {
5329
+ @for (item of selectedItems(); track $index) {
5330
+ @if (imageMode) {
5331
+ <img class="ax-w-10 ax-h-10 ax-rounded-sm" [src]="item[this.textField]" />
5332
+ } @else {
5333
+ <ax-badge [look]="'twotone'" [text]="item[this.textField]" color="primary"></ax-badge>
5334
+ }
5335
+ }
5336
+ } @else {
5337
+ @if (imageMode) {
5338
+ <img class="ax-w-10 ax-h-10 ax-rounded-sm" [src]="firstItem()[this.textField]" />
5498
5339
  } @else {
5499
- <ax-badge class="ax-p-0.5" [color]="'surface'" [text]="item[this.textField()]"></ax-badge>
5340
+ <ax-badge [look]="'twotone'" [text]="firstItem()[this.textField]" color="primary"></ax-badge>
5500
5341
  }
5501
- } @empty {
5502
- <span class="ax-text-muted">---</span>
5503
5342
  }
5504
- `, isInline: true, dependencies: [{ kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type: i1$4.AXBadgeComponent, selector: "ax-badge", inputs: ["color", "look", "text"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
5343
+ </div>`, isInline: true, dependencies: [{ kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type: i1$4.AXBadgeComponent, selector: "ax-badge", inputs: ["color", "look", "text"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
5505
5344
  }
5506
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPSelectionListWidgetViewComponent, decorators: [{
5345
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPSelectionListWidgetColumnComponent, decorators: [{
5507
5346
  type: Component,
5508
5347
  args: [{
5509
- selector: 'axp-selection-list-widget-view',
5510
- template: `
5511
- @for (item of internalValue(); track $index) {
5512
- @if (imageMode()) {
5513
- <img class="ax-w-14 ax-h-14 ax-rounded-sm" [src]="item[this.textField()]" />
5348
+ template: ` <div class="ax-flex ax-gap-2">
5349
+ @if (multiple) {
5350
+ @for (item of selectedItems(); track $index) {
5351
+ @if (imageMode) {
5352
+ <img class="ax-w-10 ax-h-10 ax-rounded-sm" [src]="item[this.textField]" />
5353
+ } @else {
5354
+ <ax-badge [look]="'twotone'" [text]="item[this.textField]" color="primary"></ax-badge>
5355
+ }
5356
+ }
5357
+ } @else {
5358
+ @if (imageMode) {
5359
+ <img class="ax-w-10 ax-h-10 ax-rounded-sm" [src]="firstItem()[this.textField]" />
5514
5360
  } @else {
5515
- <ax-badge class="ax-p-0.5" [color]="'surface'" [text]="item[this.textField()]"></ax-badge>
5361
+ <ax-badge [look]="'twotone'" [text]="firstItem()[this.textField]" color="primary"></ax-badge>
5516
5362
  }
5517
- } @empty {
5518
- <span class="ax-text-muted">---</span>
5519
5363
  }
5520
- `,
5364
+ </div>`,
5521
5365
  changeDetection: ChangeDetectionStrategy.OnPush,
5522
5366
  imports: [AXBadgeModule],
5367
+ inputs: ['rawValue', 'rowData'],
5523
5368
  }]
5524
- }], propDecorators: { __class: [{
5525
- type: HostBinding,
5526
- args: ['class']
5527
- }] } });
5369
+ }] });
5528
5370
 
5529
- var selectionListWidgetView_component = /*#__PURE__*/Object.freeze({
5371
+ var selectionListWidgetColumn_component = /*#__PURE__*/Object.freeze({
5530
5372
  __proto__: null,
5531
- AXPSelectionListWidgetViewComponent: AXPSelectionListWidgetViewComponent
5373
+ AXPSelectionListWidgetColumnComponent: AXPSelectionListWidgetColumnComponent
5532
5374
  });
5533
5375
 
5534
5376
  class AXPSelectionListWidgetDesignerComponent extends AXPDataListWidgetComponent {
@@ -5723,117 +5565,87 @@ var selectionListWidgetEdit_component = /*#__PURE__*/Object.freeze({
5723
5565
  AXPSelectionListWidgetEditComponent: AXPSelectionListWidgetEditComponent
5724
5566
  });
5725
5567
 
5726
- class AXPSelectionListWidgetFilterComponent extends AXPValueWidgetComponent {
5727
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPSelectionListWidgetFilterComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
5728
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.8", type: AXPSelectionListWidgetFilterComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true, dependencies: [{ kind: "ngmodule", type: FormsModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
5568
+ class AXPSelectionListWidgetPrintComponent extends AXPValueWidgetComponent {
5569
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPSelectionListWidgetPrintComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
5570
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.8", type: AXPSelectionListWidgetPrintComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
5729
5571
  }
5730
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPSelectionListWidgetFilterComponent, decorators: [{
5572
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPSelectionListWidgetPrintComponent, decorators: [{
5731
5573
  type: Component,
5732
5574
  args: [{
5733
5575
  template: ``,
5734
5576
  changeDetection: ChangeDetectionStrategy.OnPush,
5735
- imports: [FormsModule],
5577
+ imports: [],
5736
5578
  inputs: []
5737
5579
  }]
5738
5580
  }] });
5739
5581
 
5740
- var selectionListWidgetFilter_component = /*#__PURE__*/Object.freeze({
5582
+ var selectionListWidgetPrint_component = /*#__PURE__*/Object.freeze({
5741
5583
  __proto__: null,
5742
- AXPSelectionListWidgetFilterComponent: AXPSelectionListWidgetFilterComponent
5584
+ AXPSelectionListWidgetPrintComponent: AXPSelectionListWidgetPrintComponent
5743
5585
  });
5744
5586
 
5745
- class AXPSelectionListWidgetColumnComponent extends AXPColumnWidgetComponent {
5587
+ class AXPSelectionListWidgetViewComponent extends AXPValueWidgetComponent {
5746
5588
  constructor() {
5747
5589
  super(...arguments);
5748
- this.valueField = this.options['valueField'];
5749
- this.textField = this.options['textField'];
5750
- this.items = this.options['items'];
5751
- this.multiple = this.options['multiple'];
5752
- this.imageMode = this.options['imageMode'];
5753
- this.selectedItemIds = computed(() => {
5754
- return this.rawValue || [];
5755
- }, ...(ngDevMode ? [{ debugName: "selectedItemIds" }] : []));
5756
- this.selectedItems = computed(() => {
5757
- const selectedIds = this.selectedItemIds();
5758
- const filteredItems = this.items.filter((item) => {
5759
- const itemValue = item[this.valueField];
5760
- const isSelected = selectedIds.includes(itemValue);
5761
- return isSelected;
5590
+ this.items = computed(() => this.options()['items'], ...(ngDevMode ? [{ debugName: "items" }] : []));
5591
+ this.valueField = computed(() => this.options()['valueField'], ...(ngDevMode ? [{ debugName: "valueField" }] : []));
5592
+ this.textField = computed(() => this.options()['textField'], ...(ngDevMode ? [{ debugName: "textField" }] : []));
5593
+ this.imageMode = computed(() => this.options()['imageMode'], ...(ngDevMode ? [{ debugName: "imageMode" }] : []));
5594
+ this.internalValue = computed(() => {
5595
+ return this.items().filter((item) => {
5596
+ if (Array.isArray(this.getValue()))
5597
+ return this.getValue().includes(item[this.valueField()]);
5598
+ else {
5599
+ return this.getValue() == item[this.valueField()];
5600
+ }
5762
5601
  });
5763
- return filteredItems;
5764
- }, ...(ngDevMode ? [{ debugName: "selectedItems" }] : []));
5765
- this.firstItem = computed(() => {
5766
- const first = this.selectedItems()[0];
5767
- return first;
5768
- }, ...(ngDevMode ? [{ debugName: "firstItem" }] : []));
5602
+ }, ...(ngDevMode ? [{ debugName: "internalValue" }] : []));
5769
5603
  }
5770
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPSelectionListWidgetColumnComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
5771
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.8", type: AXPSelectionListWidgetColumnComponent, isStandalone: true, selector: "ng-component", inputs: { rawValue: "rawValue", rowData: "rowData" }, usesInheritance: true, ngImport: i0, template: ` <div class="ax-flex ax-gap-2">
5772
- @if (multiple) {
5773
- @for (item of selectedItems(); track $index) {
5774
- @if (imageMode) {
5775
- <img class="ax-w-10 ax-h-10 ax-rounded-sm" [src]="item[this.textField]" />
5776
- } @else {
5777
- <ax-badge [look]="'twotone'" [text]="item[this.textField]" color="primary"></ax-badge>
5778
- }
5779
- }
5780
- } @else {
5781
- @if (imageMode) {
5782
- <img class="ax-w-10 ax-h-10 ax-rounded-sm" [src]="firstItem()[this.textField]" />
5604
+ get __class() {
5605
+ const cls = {};
5606
+ cls[`ax-flex`] = true;
5607
+ cls[`ax-gap-1`] = true;
5608
+ return cls;
5609
+ }
5610
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPSelectionListWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
5611
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.8", type: AXPSelectionListWidgetViewComponent, isStandalone: true, selector: "axp-selection-list-widget-view", host: { properties: { "class": "this.__class" } }, usesInheritance: true, ngImport: i0, template: `
5612
+ @for (item of internalValue(); track $index) {
5613
+ @if (imageMode()) {
5614
+ <img class="ax-w-14 ax-h-14 ax-rounded-sm" [src]="item[this.textField()]" />
5783
5615
  } @else {
5784
- <ax-badge [look]="'twotone'" [text]="firstItem()[this.textField]" color="primary"></ax-badge>
5616
+ <ax-badge class="ax-p-0.5" [color]="'surface'" [text]="item[this.textField()]"></ax-badge>
5785
5617
  }
5618
+ } @empty {
5619
+ <span class="ax-text-muted">---</span>
5786
5620
  }
5787
- </div>`, isInline: true, dependencies: [{ kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type: i1$4.AXBadgeComponent, selector: "ax-badge", inputs: ["color", "look", "text"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
5621
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type: i1$4.AXBadgeComponent, selector: "ax-badge", inputs: ["color", "look", "text"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
5788
5622
  }
5789
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPSelectionListWidgetColumnComponent, decorators: [{
5623
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPSelectionListWidgetViewComponent, decorators: [{
5790
5624
  type: Component,
5791
5625
  args: [{
5792
- template: ` <div class="ax-flex ax-gap-2">
5793
- @if (multiple) {
5794
- @for (item of selectedItems(); track $index) {
5795
- @if (imageMode) {
5796
- <img class="ax-w-10 ax-h-10 ax-rounded-sm" [src]="item[this.textField]" />
5797
- } @else {
5798
- <ax-badge [look]="'twotone'" [text]="item[this.textField]" color="primary"></ax-badge>
5799
- }
5800
- }
5801
- } @else {
5802
- @if (imageMode) {
5803
- <img class="ax-w-10 ax-h-10 ax-rounded-sm" [src]="firstItem()[this.textField]" />
5626
+ selector: 'axp-selection-list-widget-view',
5627
+ template: `
5628
+ @for (item of internalValue(); track $index) {
5629
+ @if (imageMode()) {
5630
+ <img class="ax-w-14 ax-h-14 ax-rounded-sm" [src]="item[this.textField()]" />
5804
5631
  } @else {
5805
- <ax-badge [look]="'twotone'" [text]="firstItem()[this.textField]" color="primary"></ax-badge>
5632
+ <ax-badge class="ax-p-0.5" [color]="'surface'" [text]="item[this.textField()]"></ax-badge>
5806
5633
  }
5634
+ } @empty {
5635
+ <span class="ax-text-muted">---</span>
5807
5636
  }
5808
- </div>`,
5637
+ `,
5809
5638
  changeDetection: ChangeDetectionStrategy.OnPush,
5810
5639
  imports: [AXBadgeModule],
5811
- inputs: ['rawValue', 'rowData'],
5812
- }]
5813
- }] });
5814
-
5815
- var selectionListWidgetColumn_component = /*#__PURE__*/Object.freeze({
5816
- __proto__: null,
5817
- AXPSelectionListWidgetColumnComponent: AXPSelectionListWidgetColumnComponent
5818
- });
5819
-
5820
- class AXPSelectionListWidgetPrintComponent extends AXPValueWidgetComponent {
5821
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPSelectionListWidgetPrintComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
5822
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.8", type: AXPSelectionListWidgetPrintComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
5823
- }
5824
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPSelectionListWidgetPrintComponent, decorators: [{
5825
- type: Component,
5826
- args: [{
5827
- template: ``,
5828
- changeDetection: ChangeDetectionStrategy.OnPush,
5829
- imports: [],
5830
- inputs: []
5831
5640
  }]
5832
- }] });
5641
+ }], propDecorators: { __class: [{
5642
+ type: HostBinding,
5643
+ args: ['class']
5644
+ }] } });
5833
5645
 
5834
- var selectionListWidgetPrint_component = /*#__PURE__*/Object.freeze({
5646
+ var selectionListWidgetView_component = /*#__PURE__*/Object.freeze({
5835
5647
  __proto__: null,
5836
- AXPSelectionListWidgetPrintComponent: AXPSelectionListWidgetPrintComponent
5648
+ AXPSelectionListWidgetViewComponent: AXPSelectionListWidgetViewComponent
5837
5649
  });
5838
5650
 
5839
5651
  const AXPSelectionListWidget = {
@@ -5863,9 +5675,6 @@ const AXPSelectionListWidget = {
5863
5675
  edit: {
5864
5676
  component: () => Promise.resolve().then(function () { return selectionListWidgetEdit_component; }).then((c) => c.AXPSelectionListWidgetEditComponent),
5865
5677
  },
5866
- filter: {
5867
- component: () => Promise.resolve().then(function () { return selectionListWidgetFilter_component; }).then((c) => c.AXPSelectionListWidgetFilterComponent),
5868
- },
5869
5678
  column: {
5870
5679
  component: () => Promise.resolve().then(function () { return selectionListWidgetColumn_component; }).then((c) => c.AXPSelectionListWidgetColumnComponent),
5871
5680
  },
@@ -6153,26 +5962,6 @@ var templateBoxWidgetEdit_component = /*#__PURE__*/Object.freeze({
6153
5962
  AXPTemplateBoxWidgetEditComponent: AXPTemplateBoxWidgetEditComponent
6154
5963
  });
6155
5964
 
6156
- class AXPTemplateBoxWidgetFilterComponent extends AXPValueWidgetComponent {
6157
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPTemplateBoxWidgetFilterComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
6158
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.8", type: AXPTemplateBoxWidgetFilterComponent, isStandalone: true, selector: "axp-template-box-widget-filter", usesInheritance: true, ngImport: i0, template: ``, isInline: true, dependencies: [{ kind: "ngmodule", type: FormsModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
6159
- }
6160
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPTemplateBoxWidgetFilterComponent, decorators: [{
6161
- type: Component,
6162
- args: [{
6163
- selector: 'axp-template-box-widget-filter',
6164
- template: ``,
6165
- changeDetection: ChangeDetectionStrategy.OnPush,
6166
- imports: [FormsModule],
6167
- inputs: [],
6168
- }]
6169
- }] });
6170
-
6171
- var templateBoxWidgetFilter_component = /*#__PURE__*/Object.freeze({
6172
- __proto__: null,
6173
- AXPTemplateBoxWidgetFilterComponent: AXPTemplateBoxWidgetFilterComponent
6174
- });
6175
-
6176
5965
  class AXPTemplateBoxWidgetPrintComponent extends AXPValueWidgetComponent {
6177
5966
  constructor() {
6178
5967
  super(...arguments);
@@ -6274,9 +6063,6 @@ const AXPTemplateBoxWidget = {
6274
6063
  edit: {
6275
6064
  component: () => Promise.resolve().then(function () { return templateBoxWidgetEdit_component; }).then((c) => c.AXPTemplateBoxWidgetEditComponent),
6276
6065
  },
6277
- filter: {
6278
- component: () => Promise.resolve().then(function () { return templateBoxWidgetFilter_component; }).then((c) => c.AXPTemplateBoxWidgetFilterComponent),
6279
- },
6280
6066
  column: {
6281
6067
  component: () => Promise.resolve().then(function () { return templateBoxWidgetColumn_component; }).then((c) => c.AXPTemplateBoxWidgetColumnComponent),
6282
6068
  },
@@ -6289,71 +6075,38 @@ const AXPTemplateBoxWidget = {
6289
6075
  },
6290
6076
  };
6291
6077
 
6292
- class AXPTextBoxWidgetViewComponent extends AXPValueWidgetComponent {
6293
- constructor() {
6294
- super(...arguments);
6295
- this.internalValue = computed(() => (Array.isArray(this.getValue()) ? this.getValue() : [this.getValue()]), ...(ngDevMode ? [{ debugName: "internalValue" }] : []));
6296
- this.multiple = computed(() => this.options()["multiple"], ...(ngDevMode ? [{ debugName: "multiple" }] : []));
6297
- }
6298
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPTextBoxWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
6299
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.8", type: AXPTextBoxWidgetViewComponent, isStandalone: true, selector: "axp-text-box-widget", usesInheritance: true, ngImport: i0, template: `
6300
- <div class="ax-text-muted">
6301
- @if(multiple())
6302
- {
6303
- @for (item of internalValue(); track $index) {
6304
- @if (item) {
6305
- <p>{{ item }}</p>
6306
- }
6307
- @else {
6308
- <p class="ax-text-muted">---</p>
6309
- }
6310
- }
6311
- }@else {
6312
- @if (internalValue()[0]) {
6313
- <p>{{ internalValue()[0] }}</p>
6314
- }
6315
- @else {
6316
- <p class="ax-text-muted">---</p>
6317
- }
6318
- }
6319
- </div>
6320
- `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
6078
+ class AXPTextBoxWidgetColumnComponent extends AXPColumnWidgetComponent {
6079
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPTextBoxWidgetColumnComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
6080
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.8", type: AXPTextBoxWidgetColumnComponent, isStandalone: true, selector: "axp-text-box-widget-column", inputs: { rawValue: "rawValue", rowData: "rowData" }, usesInheritance: true, ngImport: i0, template: `
6081
+ @if (rawValue) {
6082
+ {{ rawValue }}
6083
+ }
6084
+ @else {
6085
+ <span class="ax-text-muted">---</span>
6086
+ }
6087
+ `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
6321
6088
  }
6322
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPTextBoxWidgetViewComponent, decorators: [{
6089
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPTextBoxWidgetColumnComponent, decorators: [{
6323
6090
  type: Component,
6324
6091
  args: [{
6325
- selector: 'axp-text-box-widget',
6092
+ selector: 'axp-text-box-widget-column',
6326
6093
  template: `
6327
- <div class="ax-text-muted">
6328
- @if(multiple())
6329
- {
6330
- @for (item of internalValue(); track $index) {
6331
- @if (item) {
6332
- <p>{{ item }}</p>
6333
- }
6334
- @else {
6335
- <p class="ax-text-muted">---</p>
6336
- }
6337
- }
6338
- }@else {
6339
- @if (internalValue()[0]) {
6340
- <p>{{ internalValue()[0] }}</p>
6341
- }
6342
- @else {
6343
- <p class="ax-text-muted">---</p>
6344
- }
6345
- }
6346
- </div>
6347
- `,
6094
+ @if (rawValue) {
6095
+ {{ rawValue }}
6096
+ }
6097
+ @else {
6098
+ <span class="ax-text-muted">---</span>
6099
+ }
6100
+ `,
6348
6101
  changeDetection: ChangeDetectionStrategy.OnPush,
6349
6102
  imports: [],
6350
- inputs: []
6103
+ inputs: ['rawValue', 'rowData']
6351
6104
  }]
6352
6105
  }] });
6353
6106
 
6354
- var textBoxWidgetView_component = /*#__PURE__*/Object.freeze({
6107
+ var textBoxWidgetColumn_component = /*#__PURE__*/Object.freeze({
6355
6108
  __proto__: null,
6356
- AXPTextBoxWidgetViewComponent: AXPTextBoxWidgetViewComponent
6109
+ AXPTextBoxWidgetColumnComponent: AXPTextBoxWidgetColumnComponent
6357
6110
  });
6358
6111
 
6359
6112
  class AXPTextBoxWidgetEditComponent extends AXPValueWidgetComponent {
@@ -6449,7 +6202,7 @@ class AXPTextBoxWidgetEditComponent extends AXPValueWidgetComponent {
6449
6202
  (onValueChanged)="handleValueChange($event, $index)"
6450
6203
  [disabled]="disabled()"
6451
6204
  [readonly]="readonly()"
6452
- [placeholder]="placeholder()"
6205
+ [placeholder]="placeholder() | translate | async"
6453
6206
  >
6454
6207
  @for (validation of validationRules(); track $index) {
6455
6208
  <ax-validation-rule
@@ -6493,7 +6246,7 @@ class AXPTextBoxWidgetEditComponent extends AXPValueWidgetComponent {
6493
6246
  </ax-button>
6494
6247
  }
6495
6248
  </div>
6496
- `, isInline: true, dependencies: [{ kind: "ngmodule", type: AXTextBoxModule }, { kind: "component", type: i1$2.AXTextBoxComponent, selector: "ax-text-box", inputs: ["disabled", "tabIndex", "readonly", "value", "state", "name", "id", "placeholder", "maxLength", "allowNull", "type", "autoComplete", "look", "mask-options", "class"], outputs: ["onBlur", "onFocus", "valueChange", "stateChange", "onValueChanged", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXFormModule }, { kind: "directive", type: i4.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message", "disabled"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i2$1.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i2$1.AXDecoratorClearButtonComponent, selector: "ax-clear-button", inputs: ["icon"] }, { kind: "component", type: i2$1.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXValidationModule }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i1.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
6249
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: AXTextBoxModule }, { kind: "component", type: i1$2.AXTextBoxComponent, selector: "ax-text-box", inputs: ["disabled", "tabIndex", "readonly", "value", "state", "name", "id", "placeholder", "maxLength", "allowNull", "type", "autoComplete", "look", "mask-options", "class"], outputs: ["onBlur", "onFocus", "valueChange", "stateChange", "onValueChanged", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXFormModule }, { kind: "directive", type: i4.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message", "disabled"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i2$1.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i2$1.AXDecoratorClearButtonComponent, selector: "ax-clear-button", inputs: ["icon"] }, { kind: "component", type: i2$1.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXValidationModule }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i1.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "pipe", type: i5.AXTranslatorPipe, name: "translate" }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
6497
6250
  }
6498
6251
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPTextBoxWidgetEditComponent, decorators: [{
6499
6252
  type: Component,
@@ -6509,7 +6262,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImpor
6509
6262
  (onValueChanged)="handleValueChange($event, $index)"
6510
6263
  [disabled]="disabled()"
6511
6264
  [readonly]="readonly()"
6512
- [placeholder]="placeholder()"
6265
+ [placeholder]="placeholder() | translate | async"
6513
6266
  >
6514
6267
  @for (validation of validationRules(); track $index) {
6515
6268
  <ax-validation-rule
@@ -6555,7 +6308,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImpor
6555
6308
  </div>
6556
6309
  `,
6557
6310
  changeDetection: ChangeDetectionStrategy.OnPush,
6558
- imports: [AXTextBoxModule, FormsModule, AXFormModule, AXDecoratorModule, AXValidationModule, AXButtonModule],
6311
+ imports: [AXTextBoxModule, FormsModule, AXFormModule, AXDecoratorModule, AXValidationModule, AXButtonModule, AXTranslationModule, AsyncPipe],
6559
6312
  inputs: [],
6560
6313
  }]
6561
6314
  }], propDecorators: { __class: [{
@@ -6568,59 +6321,6 @@ var textBoxWidgetEdit_component = /*#__PURE__*/Object.freeze({
6568
6321
  AXPTextBoxWidgetEditComponent: AXPTextBoxWidgetEditComponent
6569
6322
  });
6570
6323
 
6571
- class AXPTextBoxWidgetFilterComponent extends AXPValueWidgetComponent {
6572
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPTextBoxWidgetFilterComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
6573
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.8", type: AXPTextBoxWidgetFilterComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true, dependencies: [{ kind: "ngmodule", type: FormsModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
6574
- }
6575
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPTextBoxWidgetFilterComponent, decorators: [{
6576
- type: Component,
6577
- args: [{
6578
- template: ``,
6579
- changeDetection: ChangeDetectionStrategy.OnPush,
6580
- imports: [FormsModule],
6581
- inputs: []
6582
- }]
6583
- }] });
6584
-
6585
- var textBoxWidgetFilter_component = /*#__PURE__*/Object.freeze({
6586
- __proto__: null,
6587
- AXPTextBoxWidgetFilterComponent: AXPTextBoxWidgetFilterComponent
6588
- });
6589
-
6590
- class AXPTextBoxWidgetColumnComponent extends AXPColumnWidgetComponent {
6591
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPTextBoxWidgetColumnComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
6592
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.8", type: AXPTextBoxWidgetColumnComponent, isStandalone: true, selector: "axp-text-box-widget-column", inputs: { rawValue: "rawValue", rowData: "rowData" }, usesInheritance: true, ngImport: i0, template: `
6593
- @if (rawValue) {
6594
- {{ rawValue }}
6595
- }
6596
- @else {
6597
- <span class="ax-text-muted">---</span>
6598
- }
6599
- `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
6600
- }
6601
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPTextBoxWidgetColumnComponent, decorators: [{
6602
- type: Component,
6603
- args: [{
6604
- selector: 'axp-text-box-widget-column',
6605
- template: `
6606
- @if (rawValue) {
6607
- {{ rawValue }}
6608
- }
6609
- @else {
6610
- <span class="ax-text-muted">---</span>
6611
- }
6612
- `,
6613
- changeDetection: ChangeDetectionStrategy.OnPush,
6614
- imports: [],
6615
- inputs: ['rawValue', 'rowData']
6616
- }]
6617
- }] });
6618
-
6619
- var textBoxWidgetColumn_component = /*#__PURE__*/Object.freeze({
6620
- __proto__: null,
6621
- AXPTextBoxWidgetColumnComponent: AXPTextBoxWidgetColumnComponent
6622
- });
6623
-
6624
6324
  let AXPTextBoxWidgetPrintComponent$1 = class AXPTextBoxWidgetPrintComponent extends AXPValueWidgetComponent {
6625
6325
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPTextBoxWidgetPrintComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
6626
6326
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.8", type: AXPTextBoxWidgetPrintComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
@@ -6640,216 +6340,116 @@ var textBoxWidgetPrint_component = /*#__PURE__*/Object.freeze({
6640
6340
  AXPTextBoxWidgetPrintComponent: AXPTextBoxWidgetPrintComponent$1
6641
6341
  });
6642
6342
 
6643
- const AXPTextBoxWidget = {
6644
- name: 'text-editor',
6645
- title: 'Text Box',
6646
- icon: 'fa-light fa-input-text',
6647
- description: 'Inputs single-line text',
6648
- categories: AXP_WIDGETS_EDITOR_CATEGORY,
6649
- groups: [AXPWidgetGroupEnum.FormElement],
6650
- type: 'editor',
6651
- defaultFilterWidgetName: 'string-filter',
6652
- properties: [
6653
- AXP_NAME_PROPERTY,
6654
- AXP_DATA_PATH_PROPERTY,
6655
- AXP_ALLOW_MULTIPLE_PROPERTY,
6656
- AXP_DISABLED_PROPERTY,
6657
- AXP_READONLY_PROPERTY,
6658
- AXP_PLACEHOLDER_PROPERTY,
6659
- AXP_HAS_CLEAR_BUTTON_PROPERTY,
6660
- plainTextDefaultProperty(),
6661
- //
6662
- AXP_REQUIRED_VALIDATION_PROPERTY,
6663
- AXP_MIN_LENGTH_VALIDATION_PROPERTY,
6664
- AXP_REGULAR_EXPRESSION_VALIDATION_PROPERTY,
6665
- AXP_MAX_LENGTH_VALIDATION_PROPERTY,
6666
- ],
6667
- components: {
6668
- view: {
6669
- component: () => Promise.resolve().then(function () { return textBoxWidgetView_component; }).then((c) => c.AXPTextBoxWidgetViewComponent),
6670
- },
6671
- edit: {
6672
- component: () => Promise.resolve().then(function () { return textBoxWidgetEdit_component; }).then((c) => c.AXPTextBoxWidgetEditComponent),
6673
- },
6674
- filter: {
6675
- component: () => Promise.resolve().then(function () { return textBoxWidgetFilter_component; }).then((c) => c.AXPTextBoxWidgetFilterComponent),
6676
- },
6677
- column: {
6678
- component: () => Promise.resolve().then(function () { return textBoxWidgetColumn_component; }).then((c) => c.AXPTextBoxWidgetColumnComponent),
6679
- },
6680
- print: {
6681
- component: () => Promise.resolve().then(function () { return textBoxWidgetPrint_component; }).then((c) => c.AXPTextBoxWidgetPrintComponent),
6682
- },
6683
- designer: {
6684
- component: () => Promise.resolve().then(function () { return textBoxWidgetEdit_component; }).then((c) => c.AXPTextBoxWidgetEditComponent),
6685
- },
6686
- },
6687
- };
6688
-
6689
- class AXPToggleWidgetViewComponent extends AXPValueWidgetComponent {
6690
- constructor() {
6691
- super(...arguments);
6692
- this.negative = computed(() => this.options()['negative'], ...(ngDevMode ? [{ debugName: "negative" }] : []));
6693
- this.falsyText = computed(() => this.options()['falsyText'], ...(ngDevMode ? [{ debugName: "falsyText" }] : []));
6694
- this.trulyText = computed(() => this.options()['trulyText'], ...(ngDevMode ? [{ debugName: "trulyText" }] : []));
6695
- this.nullText = computed(() => this.options()['nullText'], ...(ngDevMode ? [{ debugName: "nullText" }] : []));
6696
- }
6697
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPToggleWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
6698
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.8", type: AXPToggleWidgetViewComponent, isStandalone: true, selector: "axp-switch-widget-view", usesInheritance: true, ngImport: i0, template: `
6699
- @if(getValue() === null || getValue() === undefined){
6700
- @if (nullText()) {
6701
- <span>{{nullText()}}</span>
6702
- }@else {
6703
- <span>---</span>
6704
- }
6705
- }
6706
- @else if (getValue()) {
6707
- @if (trulyText()) {
6708
- <ax-badge [text]="trulyText()" [color]="negative() ? 'danger' : 'success'" [look]="'twotone'"></ax-badge>
6709
- } @else {
6710
- @if (negative()) {
6711
- <ax-icon class="fa-solid fa-xmark ax-text-danger-500"> </ax-icon>
6712
- } @else {
6713
- <ax-icon class="fa-solid fa-check ax-text-success"> </ax-icon>
6714
- }
6715
- }
6716
- } @else {
6717
- @if (falsyText()) {
6718
- <ax-badge [text]="falsyText()" [color]="negative() ? 'success' : 'danger'" [look]="'twotone'"></ax-badge>
6719
- } @else {
6720
- @if (negative()) {
6721
- <ax-icon class="fa-solid fa-check ax-text-success"> </ax-icon>
6722
- } @else {
6723
- <ax-icon class="fa-solid fa-xmark ax-text-danger-500"> </ax-icon>
6724
- }
6725
- }
6726
- }`, isInline: true, dependencies: [{ kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i2$1.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type: i1$4.AXBadgeComponent, selector: "ax-badge", inputs: ["color", "look", "text"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
6727
- }
6728
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPToggleWidgetViewComponent, decorators: [{
6729
- type: Component,
6730
- args: [{
6731
- selector: 'axp-switch-widget-view',
6732
- template: `
6733
- @if(getValue() === null || getValue() === undefined){
6734
- @if (nullText()) {
6735
- <span>{{nullText()}}</span>
6736
- }@else {
6737
- <span>---</span>
6738
- }
6739
- }
6740
- @else if (getValue()) {
6741
- @if (trulyText()) {
6742
- <ax-badge [text]="trulyText()" [color]="negative() ? 'danger' : 'success'" [look]="'twotone'"></ax-badge>
6743
- } @else {
6744
- @if (negative()) {
6745
- <ax-icon class="fa-solid fa-xmark ax-text-danger-500"> </ax-icon>
6746
- } @else {
6747
- <ax-icon class="fa-solid fa-check ax-text-success"> </ax-icon>
6748
- }
6749
- }
6750
- } @else {
6751
- @if (falsyText()) {
6752
- <ax-badge [text]="falsyText()" [color]="negative() ? 'success' : 'danger'" [look]="'twotone'"></ax-badge>
6753
- } @else {
6754
- @if (negative()) {
6755
- <ax-icon class="fa-solid fa-check ax-text-success"> </ax-icon>
6756
- } @else {
6757
- <ax-icon class="fa-solid fa-xmark ax-text-danger-500"> </ax-icon>
6758
- }
6759
- }
6760
- }`,
6761
- changeDetection: ChangeDetectionStrategy.OnPush,
6762
- imports: [AXDecoratorModule, AXBadgeModule],
6763
- }]
6764
- }] });
6765
-
6766
- var toggleWidgetView_component = /*#__PURE__*/Object.freeze({
6767
- __proto__: null,
6768
- AXPToggleWidgetViewComponent: AXPToggleWidgetViewComponent
6769
- });
6770
-
6771
- class AXPToggleWidgetEditComponent extends AXPValueWidgetComponent {
6343
+ class AXPTextBoxWidgetViewComponent extends AXPValueWidgetComponent {
6772
6344
  constructor() {
6773
6345
  super(...arguments);
6774
- this.disabled = computed(() => this.options()['disabled'], ...(ngDevMode ? [{ debugName: "disabled" }] : []));
6775
- this.readonly = computed(() => this.options()['readonly'], ...(ngDevMode ? [{ debugName: "readonly" }] : []));
6776
- this.label = computed(() => this.options()['label'], ...(ngDevMode ? [{ debugName: "label" }] : []));
6777
- this.color = computed(() => this.options()['color']?.id ?? 'primary', ...(ngDevMode ? [{ debugName: "color" }] : []));
6778
- }
6779
- get __class() {
6780
- const cls = {};
6781
- //
6782
- cls['ax-inline-block'] = true;
6783
- return cls;
6346
+ this.internalValue = computed(() => (Array.isArray(this.getValue()) ? this.getValue() : [this.getValue()]), ...(ngDevMode ? [{ debugName: "internalValue" }] : []));
6347
+ this.multiple = computed(() => this.options()["multiple"], ...(ngDevMode ? [{ debugName: "multiple" }] : []));
6784
6348
  }
6785
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPToggleWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
6786
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.8", type: AXPToggleWidgetEditComponent, isStandalone: true, selector: "axp-switch-widget-edit", host: { properties: { "class": "this.__class" } }, usesInheritance: true, ngImport: i0, template: `
6787
- <div class="ax-flex ax-items-center ax-gap-2">
6788
- <ax-switch
6789
- [ngModel]="this.getValue()"
6790
- [disabled]="disabled()"
6791
- [readonly]="readonly()"
6792
- [color]="color()"
6793
- (onValueChanged)="handleValueChanged($event)"
6794
- >
6795
- </ax-switch>
6796
- @if (label()) {
6797
- <ax-label [textContent]="label()"></ax-label>
6349
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPTextBoxWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
6350
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.8", type: AXPTextBoxWidgetViewComponent, isStandalone: true, selector: "axp-text-box-widget", usesInheritance: true, ngImport: i0, template: `
6351
+ <div class="ax-text-muted">
6352
+ @if(multiple())
6353
+ {
6354
+ @for (item of internalValue(); track $index) {
6355
+ @if (item) {
6356
+ <p>{{ item }}</p>
6357
+ }
6358
+ @else {
6359
+ <p class="ax-text-muted">---</p>
6360
+ }
6361
+ }
6362
+ }@else {
6363
+ @if (internalValue()[0]) {
6364
+ <p>{{ internalValue()[0] }}</p>
6365
+ }
6366
+ @else {
6367
+ <p class="ax-text-muted">---</p>
6368
+ }
6798
6369
  }
6799
6370
  </div>
6800
- `, isInline: true, dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXFormModule }, { kind: "ngmodule", type: AXSwitchModule }, { kind: "component", type: i2$7.AXSwitchComponent, selector: "ax-switch", inputs: ["disabled", "readonly", "color", "tabIndex", "value", "name", "isLoading"], outputs: ["onBlur", "onFocus", "valueChange", "onValueChanged", "readonlyChange", "disabledChange"] }, { kind: "ngmodule", type: AXValidationModule }, { kind: "ngmodule", type: AXLabelModule }, { kind: "component", type: i2$3.AXLabelComponent, selector: "ax-label", inputs: ["required", "for"], outputs: ["requiredChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
6371
+ `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
6801
6372
  }
6802
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPToggleWidgetEditComponent, decorators: [{
6373
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPTextBoxWidgetViewComponent, decorators: [{
6803
6374
  type: Component,
6804
6375
  args: [{
6805
- selector: 'axp-switch-widget-edit',
6376
+ selector: 'axp-text-box-widget',
6806
6377
  template: `
6807
- <div class="ax-flex ax-items-center ax-gap-2">
6808
- <ax-switch
6809
- [ngModel]="this.getValue()"
6810
- [disabled]="disabled()"
6811
- [readonly]="readonly()"
6812
- [color]="color()"
6813
- (onValueChanged)="handleValueChanged($event)"
6814
- >
6815
- </ax-switch>
6816
- @if (label()) {
6817
- <ax-label [textContent]="label()"></ax-label>
6378
+ <div class="ax-text-muted">
6379
+ @if(multiple())
6380
+ {
6381
+ @for (item of internalValue(); track $index) {
6382
+ @if (item) {
6383
+ <p>{{ item }}</p>
6384
+ }
6385
+ @else {
6386
+ <p class="ax-text-muted">---</p>
6387
+ }
6388
+ }
6389
+ }@else {
6390
+ @if (internalValue()[0]) {
6391
+ <p>{{ internalValue()[0] }}</p>
6392
+ }
6393
+ @else {
6394
+ <p class="ax-text-muted">---</p>
6395
+ }
6818
6396
  }
6819
6397
  </div>
6820
6398
  `,
6821
6399
  changeDetection: ChangeDetectionStrategy.OnPush,
6822
- imports: [FormsModule, AXFormModule, AXSwitchModule, AXValidationModule, AXLabelModule],
6823
- }]
6824
- }], propDecorators: { __class: [{
6825
- type: HostBinding,
6826
- args: ['class']
6827
- }] } });
6828
-
6829
- var toggleWidgetEdit_component = /*#__PURE__*/Object.freeze({
6830
- __proto__: null,
6831
- AXPToggleWidgetEditComponent: AXPToggleWidgetEditComponent
6832
- });
6833
-
6834
- class AXPToggleWidgetFilterComponent extends AXPValueWidgetComponent {
6835
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPToggleWidgetFilterComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
6836
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.8", type: AXPToggleWidgetFilterComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true, dependencies: [{ kind: "ngmodule", type: FormsModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
6837
- }
6838
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPToggleWidgetFilterComponent, decorators: [{
6839
- type: Component,
6840
- args: [{
6841
- template: ``,
6842
- changeDetection: ChangeDetectionStrategy.OnPush,
6843
- imports: [FormsModule],
6400
+ imports: [],
6844
6401
  inputs: []
6845
6402
  }]
6846
6403
  }] });
6847
6404
 
6848
- var toggleWidgetFilter_component = /*#__PURE__*/Object.freeze({
6405
+ var textBoxWidgetView_component = /*#__PURE__*/Object.freeze({
6849
6406
  __proto__: null,
6850
- AXPToggleWidgetFilterComponent: AXPToggleWidgetFilterComponent
6407
+ AXPTextBoxWidgetViewComponent: AXPTextBoxWidgetViewComponent
6851
6408
  });
6852
6409
 
6410
+ const AXPTextBoxWidget = {
6411
+ name: 'text-editor',
6412
+ title: 'Text Box',
6413
+ icon: 'fa-light fa-input-text',
6414
+ description: 'Inputs single-line text',
6415
+ categories: AXP_WIDGETS_EDITOR_CATEGORY,
6416
+ groups: [AXPWidgetGroupEnum.FormElement],
6417
+ type: 'editor',
6418
+ defaultFilterWidgetName: 'string-filter',
6419
+ properties: [
6420
+ AXP_NAME_PROPERTY,
6421
+ AXP_DATA_PATH_PROPERTY,
6422
+ AXP_ALLOW_MULTIPLE_PROPERTY,
6423
+ AXP_DISABLED_PROPERTY,
6424
+ AXP_READONLY_PROPERTY,
6425
+ AXP_PLACEHOLDER_PROPERTY,
6426
+ AXP_HAS_CLEAR_BUTTON_PROPERTY,
6427
+ plainTextDefaultProperty(),
6428
+ //
6429
+ AXP_REQUIRED_VALIDATION_PROPERTY,
6430
+ AXP_MIN_LENGTH_VALIDATION_PROPERTY,
6431
+ AXP_REGULAR_EXPRESSION_VALIDATION_PROPERTY,
6432
+ AXP_MAX_LENGTH_VALIDATION_PROPERTY,
6433
+ ],
6434
+ components: {
6435
+ view: {
6436
+ component: () => Promise.resolve().then(function () { return textBoxWidgetView_component; }).then((c) => c.AXPTextBoxWidgetViewComponent),
6437
+ },
6438
+ edit: {
6439
+ component: () => Promise.resolve().then(function () { return textBoxWidgetEdit_component; }).then((c) => c.AXPTextBoxWidgetEditComponent),
6440
+ },
6441
+ column: {
6442
+ component: () => Promise.resolve().then(function () { return textBoxWidgetColumn_component; }).then((c) => c.AXPTextBoxWidgetColumnComponent),
6443
+ },
6444
+ print: {
6445
+ component: () => Promise.resolve().then(function () { return textBoxWidgetPrint_component; }).then((c) => c.AXPTextBoxWidgetPrintComponent),
6446
+ },
6447
+ designer: {
6448
+ component: () => Promise.resolve().then(function () { return textBoxWidgetEdit_component; }).then((c) => c.AXPTextBoxWidgetEditComponent),
6449
+ },
6450
+ },
6451
+ };
6452
+
6853
6453
  class AXPToggleWidgetColumnComponent extends AXPColumnWidgetComponent {
6854
6454
  constructor() {
6855
6455
  super(...arguments);
@@ -6966,6 +6566,69 @@ var toggleWidgetColumn_component = /*#__PURE__*/Object.freeze({
6966
6566
  AXPToggleWidgetColumnComponent: AXPToggleWidgetColumnComponent
6967
6567
  });
6968
6568
 
6569
+ class AXPToggleWidgetEditComponent extends AXPValueWidgetComponent {
6570
+ constructor() {
6571
+ super(...arguments);
6572
+ this.disabled = computed(() => this.options()['disabled'], ...(ngDevMode ? [{ debugName: "disabled" }] : []));
6573
+ this.readonly = computed(() => this.options()['readonly'], ...(ngDevMode ? [{ debugName: "readonly" }] : []));
6574
+ this.label = computed(() => this.options()['label'], ...(ngDevMode ? [{ debugName: "label" }] : []));
6575
+ this.color = computed(() => this.options()['color']?.id ?? 'primary', ...(ngDevMode ? [{ debugName: "color" }] : []));
6576
+ }
6577
+ get __class() {
6578
+ const cls = {};
6579
+ //
6580
+ cls['ax-inline-block'] = true;
6581
+ return cls;
6582
+ }
6583
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPToggleWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
6584
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.8", type: AXPToggleWidgetEditComponent, isStandalone: true, selector: "axp-switch-widget-edit", host: { properties: { "class": "this.__class" } }, usesInheritance: true, ngImport: i0, template: `
6585
+ <div class="ax-flex ax-items-center ax-gap-2">
6586
+ <ax-switch
6587
+ [ngModel]="this.getValue()"
6588
+ [disabled]="disabled()"
6589
+ [readonly]="readonly()"
6590
+ [color]="color()"
6591
+ (onValueChanged)="handleValueChanged($event)"
6592
+ >
6593
+ </ax-switch>
6594
+ @if (label()) {
6595
+ <ax-label [textContent]="label()"></ax-label>
6596
+ }
6597
+ </div>
6598
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXFormModule }, { kind: "ngmodule", type: AXSwitchModule }, { kind: "component", type: i2$7.AXSwitchComponent, selector: "ax-switch", inputs: ["disabled", "readonly", "color", "tabIndex", "value", "name", "isLoading"], outputs: ["onBlur", "onFocus", "valueChange", "onValueChanged", "readonlyChange", "disabledChange"] }, { kind: "ngmodule", type: AXValidationModule }, { kind: "ngmodule", type: AXLabelModule }, { kind: "component", type: i2$3.AXLabelComponent, selector: "ax-label", inputs: ["required", "for"], outputs: ["requiredChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
6599
+ }
6600
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPToggleWidgetEditComponent, decorators: [{
6601
+ type: Component,
6602
+ args: [{
6603
+ selector: 'axp-switch-widget-edit',
6604
+ template: `
6605
+ <div class="ax-flex ax-items-center ax-gap-2">
6606
+ <ax-switch
6607
+ [ngModel]="this.getValue()"
6608
+ [disabled]="disabled()"
6609
+ [readonly]="readonly()"
6610
+ [color]="color()"
6611
+ (onValueChanged)="handleValueChanged($event)"
6612
+ >
6613
+ </ax-switch>
6614
+ @if (label()) {
6615
+ <ax-label [textContent]="label()"></ax-label>
6616
+ }
6617
+ </div>
6618
+ `,
6619
+ changeDetection: ChangeDetectionStrategy.OnPush,
6620
+ imports: [FormsModule, AXFormModule, AXSwitchModule, AXValidationModule, AXLabelModule],
6621
+ }]
6622
+ }], propDecorators: { __class: [{
6623
+ type: HostBinding,
6624
+ args: ['class']
6625
+ }] } });
6626
+
6627
+ var toggleWidgetEdit_component = /*#__PURE__*/Object.freeze({
6628
+ __proto__: null,
6629
+ AXPToggleWidgetEditComponent: AXPToggleWidgetEditComponent
6630
+ });
6631
+
6969
6632
  class AXPToggleWidgetPrintComponent extends AXPValueWidgetComponent {
6970
6633
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPToggleWidgetPrintComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
6971
6634
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.8", type: AXPToggleWidgetPrintComponent, isStandalone: true, selector: "axp-swith-widget-print", usesInheritance: true, ngImport: i0, template: ``, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
@@ -6986,6 +6649,88 @@ var toggleWidgetPrint_component = /*#__PURE__*/Object.freeze({
6986
6649
  AXPToggleWidgetPrintComponent: AXPToggleWidgetPrintComponent
6987
6650
  });
6988
6651
 
6652
+ class AXPToggleWidgetViewComponent extends AXPValueWidgetComponent {
6653
+ constructor() {
6654
+ super(...arguments);
6655
+ this.negative = computed(() => this.options()['negative'], ...(ngDevMode ? [{ debugName: "negative" }] : []));
6656
+ this.falsyText = computed(() => this.options()['falsyText'], ...(ngDevMode ? [{ debugName: "falsyText" }] : []));
6657
+ this.trulyText = computed(() => this.options()['trulyText'], ...(ngDevMode ? [{ debugName: "trulyText" }] : []));
6658
+ this.nullText = computed(() => this.options()['nullText'], ...(ngDevMode ? [{ debugName: "nullText" }] : []));
6659
+ }
6660
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPToggleWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
6661
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.8", type: AXPToggleWidgetViewComponent, isStandalone: true, selector: "axp-switch-widget-view", usesInheritance: true, ngImport: i0, template: `
6662
+ @if(getValue() === null || getValue() === undefined){
6663
+ @if (nullText()) {
6664
+ <span>{{nullText()}}</span>
6665
+ }@else {
6666
+ <span>---</span>
6667
+ }
6668
+ }
6669
+ @else if (getValue()) {
6670
+ @if (trulyText()) {
6671
+ <ax-badge [text]="trulyText()" [color]="negative() ? 'danger' : 'success'" [look]="'twotone'"></ax-badge>
6672
+ } @else {
6673
+ @if (negative()) {
6674
+ <ax-icon class="fa-solid fa-xmark ax-text-danger-500"> </ax-icon>
6675
+ } @else {
6676
+ <ax-icon class="fa-solid fa-check ax-text-success"> </ax-icon>
6677
+ }
6678
+ }
6679
+ } @else {
6680
+ @if (falsyText()) {
6681
+ <ax-badge [text]="falsyText()" [color]="negative() ? 'success' : 'danger'" [look]="'twotone'"></ax-badge>
6682
+ } @else {
6683
+ @if (negative()) {
6684
+ <ax-icon class="fa-solid fa-check ax-text-success"> </ax-icon>
6685
+ } @else {
6686
+ <ax-icon class="fa-solid fa-xmark ax-text-danger-500"> </ax-icon>
6687
+ }
6688
+ }
6689
+ }`, isInline: true, dependencies: [{ kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i2$1.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type: i1$4.AXBadgeComponent, selector: "ax-badge", inputs: ["color", "look", "text"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
6690
+ }
6691
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPToggleWidgetViewComponent, decorators: [{
6692
+ type: Component,
6693
+ args: [{
6694
+ selector: 'axp-switch-widget-view',
6695
+ template: `
6696
+ @if(getValue() === null || getValue() === undefined){
6697
+ @if (nullText()) {
6698
+ <span>{{nullText()}}</span>
6699
+ }@else {
6700
+ <span>---</span>
6701
+ }
6702
+ }
6703
+ @else if (getValue()) {
6704
+ @if (trulyText()) {
6705
+ <ax-badge [text]="trulyText()" [color]="negative() ? 'danger' : 'success'" [look]="'twotone'"></ax-badge>
6706
+ } @else {
6707
+ @if (negative()) {
6708
+ <ax-icon class="fa-solid fa-xmark ax-text-danger-500"> </ax-icon>
6709
+ } @else {
6710
+ <ax-icon class="fa-solid fa-check ax-text-success"> </ax-icon>
6711
+ }
6712
+ }
6713
+ } @else {
6714
+ @if (falsyText()) {
6715
+ <ax-badge [text]="falsyText()" [color]="negative() ? 'success' : 'danger'" [look]="'twotone'"></ax-badge>
6716
+ } @else {
6717
+ @if (negative()) {
6718
+ <ax-icon class="fa-solid fa-check ax-text-success"> </ax-icon>
6719
+ } @else {
6720
+ <ax-icon class="fa-solid fa-xmark ax-text-danger-500"> </ax-icon>
6721
+ }
6722
+ }
6723
+ }`,
6724
+ changeDetection: ChangeDetectionStrategy.OnPush,
6725
+ imports: [AXDecoratorModule, AXBadgeModule],
6726
+ }]
6727
+ }] });
6728
+
6729
+ var toggleWidgetView_component = /*#__PURE__*/Object.freeze({
6730
+ __proto__: null,
6731
+ AXPToggleWidgetViewComponent: AXPToggleWidgetViewComponent
6732
+ });
6733
+
6989
6734
  const AXPToggleWidget = {
6990
6735
  name: 'toggle-editor',
6991
6736
  title: 'Toggle',
@@ -7011,9 +6756,6 @@ const AXPToggleWidget = {
7011
6756
  edit: {
7012
6757
  component: () => Promise.resolve().then(function () { return toggleWidgetEdit_component; }).then((c) => c.AXPToggleWidgetEditComponent),
7013
6758
  },
7014
- filter: {
7015
- component: () => Promise.resolve().then(function () { return toggleWidgetFilter_component; }).then((c) => c.AXPToggleWidgetFilterComponent),
7016
- },
7017
6759
  column: {
7018
6760
  component: () => Promise.resolve().then(function () { return toggleWidgetColumn_component; }).then((c) => c.AXPToggleWidgetColumnComponent),
7019
6761
  },
@@ -7239,16 +6981,12 @@ var avatarWidgetDesigner_component = /*#__PURE__*/Object.freeze({
7239
6981
  });
7240
6982
 
7241
6983
  const AXPAvatarWidget = {
7242
- name: "avatar",
7243
- title: "Avatar",
7244
- icon: "fa-solid fa-image-user",
6984
+ name: 'avatar',
6985
+ title: 'Avatar',
6986
+ icon: 'fa-solid fa-image-user',
7245
6987
  categories: AXP_WIDGETS_ADVANCE_CATEGORY,
7246
6988
  type: 'editor',
7247
- properties: [
7248
- AXP_NAME_PROPERTY,
7249
- AXP_DATA_PATH_PROPERTY,
7250
- AXP_READONLY_PROPERTY,
7251
- ],
6989
+ properties: [AXP_NAME_PROPERTY, AXP_DATA_PATH_PROPERTY, AXP_READONLY_PROPERTY],
7252
6990
  components: {
7253
6991
  view: {
7254
6992
  component: () => Promise.resolve().then(function () { return avatarWidgetView_component; }).then((c) => c.AXPAvatarWidgetViewComponent),
@@ -8164,8 +7902,8 @@ class AXPEditFileUploaderCommand {
8164
7902
  }
8165
7903
  },
8166
7904
  };
8167
- const result = await this.dialogService.showDialog(config);
8168
- return result.context;
7905
+ const dialogRef = await this.dialogService.showDialog(config);
7906
+ return dialogRef.context();
8169
7907
  }
8170
7908
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPEditFileUploaderCommand, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
8171
7909
  static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPEditFileUploaderCommand, providedIn: 'root' }); }
@@ -9384,7 +9122,7 @@ class AXPMapBoxWidgetEditComponent extends AXPValueWidgetComponent {
9384
9122
  this.longitude = computed(() => this.options()['longitude'] ?? 51, ...(ngDevMode ? [{ debugName: "longitude" }] : []));
9385
9123
  this.height = computed(() => this.options()['height'] ?? 300, ...(ngDevMode ? [{ debugName: "height" }] : []));
9386
9124
  this.fitToDraw = computed(() => this.options()['fitToDraw'] ?? false, ...(ngDevMode ? [{ debugName: "fitToDraw" }] : []));
9387
- this.limitDraw = computed(() => this.options()?.limitDraw ?? undefined, ...(ngDevMode ? [{ debugName: "limitDraw" }] : []));
9125
+ this.limitDraw = computed(() => this.options()?.['limitDraw'] ?? undefined, ...(ngDevMode ? [{ debugName: "limitDraw" }] : []));
9388
9126
  this.pois = computed(() => this.options()['pois'] ?? [], ...(ngDevMode ? [{ debugName: "pois" }] : []));
9389
9127
  }
9390
9128
  onMarkerChanged($event) {
@@ -12379,7 +12117,7 @@ const AXPBorderWidget = {
12379
12117
  class AXPDirectionWidgetEditComponent extends AXPValueWidgetComponent {
12380
12118
  constructor() {
12381
12119
  super(...arguments);
12382
- this.direction = computed(() => this.getValue() || 'ltr', ...(ngDevMode ? [{ debugName: "direction" }] : []));
12120
+ this.direction = computed(() => this.getValue() || 'inherit', ...(ngDevMode ? [{ debugName: "direction" }] : []));
12383
12121
  this.directionOptions = [
12384
12122
  { id: 'ltr', text: 'Left to Right', icon: 'fa-light fa-arrow-right' },
12385
12123
  { id: 'rtl', text: 'Right to Left', icon: 'fa-light fa-arrow-left' },
@@ -14293,7 +14031,6 @@ var index = /*#__PURE__*/Object.freeze({
14293
14031
  AXPEmailBoxWidget: AXPEmailBoxWidget,
14294
14032
  AXPEmailBoxWidgetColumnComponent: AXPEmailBoxWidgetColumnComponent,
14295
14033
  AXPEmailBoxWidgetEditComponent: AXPEmailBoxWidgetEditComponent,
14296
- AXPEmailBoxWidgetFilterComponent: AXPEmailBoxWidgetFilterComponent,
14297
14034
  AXPEmailBoxWidgetPrintComponent: AXPEmailBoxWidgetPrintComponent,
14298
14035
  AXPEmailBoxWidgetViewComponent: AXPEmailBoxWidgetViewComponent,
14299
14036
  AXPEqualValidationWidget: AXPEqualValidationWidget,
@@ -14336,7 +14073,6 @@ var index = /*#__PURE__*/Object.freeze({
14336
14073
  AXPLargeTextWidget: AXPLargeTextWidget,
14337
14074
  AXPLargeTextWidgetColumnComponent: AXPLargeTextWidgetColumnComponent,
14338
14075
  AXPLargeTextWidgetEditComponent: AXPLargeTextWidgetEditComponent,
14339
- AXPLargeTextWidgetFilterComponent: AXPLargeTextWidgetFilterComponent,
14340
14076
  AXPLargeTextWidgetPrintComponent: AXPLargeTextWidgetPrintComponent,
14341
14077
  AXPLargeTextWidgetViewComponent: AXPLargeTextWidgetViewComponent,
14342
14078
  AXPLessThanExpressionValidationWidget: AXPLessThanExpressionValidationWidget,
@@ -14344,7 +14080,6 @@ var index = /*#__PURE__*/Object.freeze({
14344
14080
  AXPLinkWidget: AXPLinkWidget,
14345
14081
  AXPLinkWidgetColumnComponent: AXPLinkWidgetColumnComponent,
14346
14082
  AXPLinkWidgetEditComponent: AXPLinkWidgetEditComponent,
14347
- AXPLinkWidgetFilterComponent: AXPLinkWidgetFilterComponent,
14348
14083
  AXPLinkWidgetPrintComponent: AXPLinkWidgetPrintComponent,
14349
14084
  AXPLinkWidgetViewComponent: AXPLinkWidgetViewComponent,
14350
14085
  AXPListWidget: AXPListWidget,
@@ -14359,7 +14094,6 @@ var index = /*#__PURE__*/Object.freeze({
14359
14094
  AXPNumberBoxWidget: AXPNumberBoxWidget,
14360
14095
  AXPNumberBoxWidgetColumnComponent: AXPNumberBoxWidgetColumnComponent,
14361
14096
  AXPNumberBoxWidgetEditComponent: AXPNumberBoxWidgetEditComponent,
14362
- AXPNumberBoxWidgetFilterComponent: AXPNumberBoxWidgetFilterComponent,
14363
14097
  AXPNumberBoxWidgetPrintComponent: AXPNumberBoxWidgetPrintComponent,
14364
14098
  AXPNumberBoxWidgetViewComponent: AXPNumberBoxWidgetViewComponent,
14365
14099
  AXPPageWidget: AXPPageWidget,
@@ -14367,13 +14101,11 @@ var index = /*#__PURE__*/Object.freeze({
14367
14101
  AXPPasswordBoxWidget: AXPPasswordBoxWidget,
14368
14102
  AXPPasswordBoxWidgetColumnComponent: AXPPasswordBoxWidgetColumnComponent,
14369
14103
  AXPPasswordBoxWidgetEditComponent: AXPPasswordBoxWidgetEditComponent,
14370
- AXPPasswordBoxWidgetFilterComponent: AXPPasswordBoxWidgetFilterComponent,
14371
14104
  AXPPasswordBoxWidgetPrintComponent: AXPPasswordBoxWidgetPrintComponent,
14372
14105
  AXPPasswordBoxWidgetViewComponent: AXPPasswordBoxWidgetViewComponent,
14373
14106
  AXPPhoneBoxWidget: AXPPhoneBoxWidget,
14374
14107
  AXPPhoneBoxWidgetColumnComponent: AXPPhoneBoxWidgetColumnComponent,
14375
14108
  AXPPhoneBoxWidgetEditComponent: AXPPhoneBoxWidgetEditComponent,
14376
- AXPPhoneBoxWidgetFilterComponent: AXPPhoneBoxWidgetFilterComponent,
14377
14109
  AXPPhoneBoxWidgetPrintComponent: AXPPhoneBoxWidgetPrintComponent,
14378
14110
  AXPPhoneBoxWidgetViewComponent: AXPPhoneBoxWidgetViewComponent,
14379
14111
  AXPRegularExpressionValidationWidget: AXPRegularExpressionValidationWidget,
@@ -14388,7 +14120,6 @@ var index = /*#__PURE__*/Object.freeze({
14388
14120
  AXPRichTextWidget: AXPRichTextWidget,
14389
14121
  AXPRichTextWidgetColumnComponent: AXPRichTextWidgetColumnComponent,
14390
14122
  AXPRichTextWidgetEditComponent: AXPRichTextWidgetEditComponent,
14391
- AXPRichTextWidgetFilterComponent: AXPRichTextWidgetFilterComponent,
14392
14123
  AXPRichTextWidgetPrintComponent: AXPRichTextWidgetPrintComponent,
14393
14124
  AXPRichTextWidgetViewComponent: AXPRichTextWidgetViewComponent,
14394
14125
  AXPSelectBoxWidget: AXPSelectBoxWidget,
@@ -14400,7 +14131,6 @@ var index = /*#__PURE__*/Object.freeze({
14400
14131
  AXPSelectionListWidgetColumnComponent: AXPSelectionListWidgetColumnComponent,
14401
14132
  AXPSelectionListWidgetDesignerComponent: AXPSelectionListWidgetDesignerComponent,
14402
14133
  AXPSelectionListWidgetEditComponent: AXPSelectionListWidgetEditComponent,
14403
- AXPSelectionListWidgetFilterComponent: AXPSelectionListWidgetFilterComponent,
14404
14134
  AXPSelectionListWidgetPrintComponent: AXPSelectionListWidgetPrintComponent,
14405
14135
  AXPSelectionListWidgetViewComponent: AXPSelectionListWidgetViewComponent,
14406
14136
  AXPSignatureWidget: AXPSignatureWidget,
@@ -14414,19 +14144,16 @@ var index = /*#__PURE__*/Object.freeze({
14414
14144
  AXPTemplateBoxWidget: AXPTemplateBoxWidget,
14415
14145
  AXPTemplateBoxWidgetColumnComponent: AXPTemplateBoxWidgetColumnComponent,
14416
14146
  AXPTemplateBoxWidgetEditComponent: AXPTemplateBoxWidgetEditComponent,
14417
- AXPTemplateBoxWidgetFilterComponent: AXPTemplateBoxWidgetFilterComponent,
14418
14147
  AXPTemplateBoxWidgetPrintComponent: AXPTemplateBoxWidgetPrintComponent,
14419
14148
  AXPTemplateBoxWidgetViewComponent: AXPTemplateBoxWidgetViewComponent,
14420
14149
  AXPTextBoxWidget: AXPTextBoxWidget,
14421
14150
  AXPTextBoxWidgetColumnComponent: AXPTextBoxWidgetColumnComponent,
14422
14151
  AXPTextBoxWidgetEditComponent: AXPTextBoxWidgetEditComponent,
14423
- AXPTextBoxWidgetFilterComponent: AXPTextBoxWidgetFilterComponent,
14424
14152
  AXPTextBoxWidgetPrintComponent: AXPTextBoxWidgetPrintComponent$1,
14425
14153
  AXPTextBoxWidgetViewComponent: AXPTextBoxWidgetViewComponent,
14426
14154
  AXPToggleWidget: AXPToggleWidget,
14427
14155
  AXPToggleWidgetColumnComponent: AXPToggleWidgetColumnComponent,
14428
14156
  AXPToggleWidgetEditComponent: AXPToggleWidgetEditComponent,
14429
- AXPToggleWidgetFilterComponent: AXPToggleWidgetFilterComponent,
14430
14157
  AXPToggleWidgetPrintComponent: AXPToggleWidgetPrintComponent,
14431
14158
  AXPToggleWidgetViewComponent: AXPToggleWidgetViewComponent,
14432
14159
  AXP_Flex_Box_Align_Options: AXP_Flex_Box_Align_Options,
@@ -14502,11 +14229,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImpor
14502
14229
  }]
14503
14230
  }] });
14504
14231
 
14505
- var cronJobWidgetFilter_component = /*#__PURE__*/Object.freeze({
14506
- __proto__: null,
14507
- AXPCronJobWidgetFilterComponent: AXPCronJobWidgetFilterComponent
14508
- });
14509
-
14510
14232
  class AXPCronJobWidgetColumnComponent extends AXPColumnWidgetComponent {
14511
14233
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPCronJobWidgetColumnComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
14512
14234
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.8", type: AXPCronJobWidgetColumnComponent, isStandalone: true, selector: "axp-text-box-widget-column", inputs: { rawValue: "rawValue", rowData: "rowData" }, usesInheritance: true, ngImport: i0, template: `{{ rawValue }}`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
@@ -14583,9 +14305,6 @@ const AXPCronJobWidget = {
14583
14305
  edit: {
14584
14306
  component: () => Promise.resolve().then(function () { return cronJobWidgetEdit_component; }).then((c) => c.AXPCronJobWidgetEditComponent),
14585
14307
  },
14586
- filter: {
14587
- component: () => Promise.resolve().then(function () { return cronJobWidgetFilter_component; }).then((c) => c.AXPCronJobWidgetFilterComponent),
14588
- },
14589
14308
  column: {
14590
14309
  component: () => Promise.resolve().then(function () { return cronJobWidgetColumn_component; }).then((c) => c.AXPCronJobWidgetColumnComponent),
14591
14310
  },
@@ -14716,43 +14435,42 @@ const AXPQrcodeWidget = {
14716
14435
  },
14717
14436
  };
14718
14437
 
14719
- class AXPColorBoxWidgetViewComponent extends AXPValueWidgetComponent {
14438
+ class AXPColorBoxWidgetColumnComponent extends AXPColumnWidgetComponent {
14720
14439
  constructor() {
14721
14440
  super(...arguments);
14722
- this.rgba = computed(() => AXColorUtil.toString(this.getValue(), 'rgba'), ...(ngDevMode ? [{ debugName: "rgba" }] : []));
14441
+ this.rgba = computed(() => AXColorUtil.toString(this.rawValue, 'rgba'), ...(ngDevMode ? [{ debugName: "rgba" }] : []));
14723
14442
  this.clipboard = inject(AXPClipBoardService);
14724
14443
  }
14725
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPColorBoxWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
14726
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.8", type: AXPColorBoxWidgetViewComponent, isStandalone: true, selector: "axp-color-box-widget", usesInheritance: true, ngImport: i0, template: `<div class="ax-flex ax-justify-start ax-items-center ax-gap-2 ax-group ax-w-fit">
14444
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPColorBoxWidgetColumnComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
14445
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.8", type: AXPColorBoxWidgetColumnComponent, isStandalone: true, selector: "ng-component", inputs: { rawValue: "rawValue", rowData: "rowData" }, usesInheritance: true, ngImport: i0, template: `<div class="ax-flex ax-justify-start ax-items-center ax-gap-2 ax-group ax-w-fit">
14727
14446
  <div class="ax-size-4 ax-rounded-full ax-border" [style.backgroundColor]="rgba()"></div>
14728
- <span>{{ getValue() }}</span>
14447
+ <span>{{ rawValue }}</span>
14729
14448
  <i
14730
- (click)="clipboard.copy('Color', getValue())"
14449
+ (click)="clipboard.copy('Color', rawValue)"
14731
14450
  class="fa-solid fa-copy ax-text-neutral-400 dark:hover:ax-text-neutral-100 hover:ax-text-neutral-900 group-hover:ax-visible ax-invisible"
14732
14451
  ></i>
14733
14452
  </div>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
14734
14453
  }
14735
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPColorBoxWidgetViewComponent, decorators: [{
14454
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPColorBoxWidgetColumnComponent, decorators: [{
14736
14455
  type: Component,
14737
14456
  args: [{
14738
- selector: 'axp-color-box-widget',
14739
14457
  template: `<div class="ax-flex ax-justify-start ax-items-center ax-gap-2 ax-group ax-w-fit">
14740
14458
  <div class="ax-size-4 ax-rounded-full ax-border" [style.backgroundColor]="rgba()"></div>
14741
- <span>{{ getValue() }}</span>
14459
+ <span>{{ rawValue }}</span>
14742
14460
  <i
14743
- (click)="clipboard.copy('Color', getValue())"
14461
+ (click)="clipboard.copy('Color', rawValue)"
14744
14462
  class="fa-solid fa-copy ax-text-neutral-400 dark:hover:ax-text-neutral-100 hover:ax-text-neutral-900 group-hover:ax-visible ax-invisible"
14745
14463
  ></i>
14746
14464
  </div>`,
14747
14465
  changeDetection: ChangeDetectionStrategy.OnPush,
14748
14466
  imports: [],
14749
- inputs: []
14467
+ inputs: ['rawValue', 'rowData']
14750
14468
  }]
14751
14469
  }] });
14752
14470
 
14753
- var colorBoxWidgetView_component = /*#__PURE__*/Object.freeze({
14471
+ var colorBoxWidgetColumn_component = /*#__PURE__*/Object.freeze({
14754
14472
  __proto__: null,
14755
- AXPColorBoxWidgetViewComponent: AXPColorBoxWidgetViewComponent
14473
+ AXPColorBoxWidgetColumnComponent: AXPColorBoxWidgetColumnComponent
14756
14474
  });
14757
14475
 
14758
14476
  class AXPColorBoxWidgetEditComponent extends AXPValueWidgetComponent {
@@ -14807,80 +14525,62 @@ var colorBoxWidgetEdit_component = /*#__PURE__*/Object.freeze({
14807
14525
  AXPColorBoxWidgetEditComponent: AXPColorBoxWidgetEditComponent
14808
14526
  });
14809
14527
 
14810
- class AXPColorBoxWidgetFilterComponent extends AXPValueWidgetComponent {
14811
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPColorBoxWidgetFilterComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
14812
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.8", type: AXPColorBoxWidgetFilterComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true, dependencies: [{ kind: "ngmodule", type: FormsModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
14528
+ class AXPColorBoxWidgetPrintComponent extends AXPValueWidgetComponent {
14529
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPColorBoxWidgetPrintComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
14530
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.8", type: AXPColorBoxWidgetPrintComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `{{getValue()}}`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
14813
14531
  }
14814
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPColorBoxWidgetFilterComponent, decorators: [{
14532
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPColorBoxWidgetPrintComponent, decorators: [{
14815
14533
  type: Component,
14816
14534
  args: [{
14817
- template: ``,
14535
+ template: `{{getValue()}}`,
14818
14536
  changeDetection: ChangeDetectionStrategy.OnPush,
14819
- imports: [FormsModule],
14537
+ imports: [],
14820
14538
  inputs: []
14821
14539
  }]
14822
14540
  }] });
14823
14541
 
14824
- var colorBoxWidgetFilter_component = /*#__PURE__*/Object.freeze({
14542
+ var colorBoxWidgetPrint_component = /*#__PURE__*/Object.freeze({
14825
14543
  __proto__: null,
14826
- AXPColorBoxWidgetFilterComponent: AXPColorBoxWidgetFilterComponent
14544
+ AXPColorBoxWidgetPrintComponent: AXPColorBoxWidgetPrintComponent
14827
14545
  });
14828
14546
 
14829
- class AXPColorBoxWidgetColumnComponent extends AXPColumnWidgetComponent {
14547
+ class AXPColorBoxWidgetViewComponent extends AXPValueWidgetComponent {
14830
14548
  constructor() {
14831
14549
  super(...arguments);
14832
- this.rgba = computed(() => AXColorUtil.toString(this.rawValue, 'rgba'), ...(ngDevMode ? [{ debugName: "rgba" }] : []));
14550
+ this.rgba = computed(() => AXColorUtil.toString(this.getValue(), 'rgba'), ...(ngDevMode ? [{ debugName: "rgba" }] : []));
14833
14551
  this.clipboard = inject(AXPClipBoardService);
14834
14552
  }
14835
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPColorBoxWidgetColumnComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
14836
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.8", type: AXPColorBoxWidgetColumnComponent, isStandalone: true, selector: "ng-component", inputs: { rawValue: "rawValue", rowData: "rowData" }, usesInheritance: true, ngImport: i0, template: `<div class="ax-flex ax-justify-start ax-items-center ax-gap-2 ax-group ax-w-fit">
14553
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPColorBoxWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
14554
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.8", type: AXPColorBoxWidgetViewComponent, isStandalone: true, selector: "axp-color-box-widget", usesInheritance: true, ngImport: i0, template: `<div class="ax-flex ax-justify-start ax-items-center ax-gap-2 ax-group ax-w-fit">
14837
14555
  <div class="ax-size-4 ax-rounded-full ax-border" [style.backgroundColor]="rgba()"></div>
14838
- <span>{{ rawValue }}</span>
14556
+ <span>{{ getValue() }}</span>
14839
14557
  <i
14840
- (click)="clipboard.copy('Color', rawValue)"
14558
+ (click)="clipboard.copy('Color', getValue())"
14841
14559
  class="fa-solid fa-copy ax-text-neutral-400 dark:hover:ax-text-neutral-100 hover:ax-text-neutral-900 group-hover:ax-visible ax-invisible"
14842
14560
  ></i>
14843
14561
  </div>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
14844
14562
  }
14845
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPColorBoxWidgetColumnComponent, decorators: [{
14563
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPColorBoxWidgetViewComponent, decorators: [{
14846
14564
  type: Component,
14847
14565
  args: [{
14566
+ selector: 'axp-color-box-widget',
14848
14567
  template: `<div class="ax-flex ax-justify-start ax-items-center ax-gap-2 ax-group ax-w-fit">
14849
14568
  <div class="ax-size-4 ax-rounded-full ax-border" [style.backgroundColor]="rgba()"></div>
14850
- <span>{{ rawValue }}</span>
14569
+ <span>{{ getValue() }}</span>
14851
14570
  <i
14852
- (click)="clipboard.copy('Color', rawValue)"
14571
+ (click)="clipboard.copy('Color', getValue())"
14853
14572
  class="fa-solid fa-copy ax-text-neutral-400 dark:hover:ax-text-neutral-100 hover:ax-text-neutral-900 group-hover:ax-visible ax-invisible"
14854
14573
  ></i>
14855
14574
  </div>`,
14856
- changeDetection: ChangeDetectionStrategy.OnPush,
14857
- imports: [],
14858
- inputs: ['rawValue', 'rowData']
14859
- }]
14860
- }] });
14861
-
14862
- var colorBoxWidgetColumn_component = /*#__PURE__*/Object.freeze({
14863
- __proto__: null,
14864
- AXPColorBoxWidgetColumnComponent: AXPColorBoxWidgetColumnComponent
14865
- });
14866
-
14867
- class AXPColorBoxWidgetPrintComponent extends AXPValueWidgetComponent {
14868
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPColorBoxWidgetPrintComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
14869
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.8", type: AXPColorBoxWidgetPrintComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `{{getValue()}}`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
14870
- }
14871
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPColorBoxWidgetPrintComponent, decorators: [{
14872
- type: Component,
14873
- args: [{
14874
- template: `{{getValue()}}`,
14875
14575
  changeDetection: ChangeDetectionStrategy.OnPush,
14876
14576
  imports: [],
14877
14577
  inputs: []
14878
14578
  }]
14879
14579
  }] });
14880
14580
 
14881
- var colorBoxWidgetPrint_component = /*#__PURE__*/Object.freeze({
14581
+ var colorBoxWidgetView_component = /*#__PURE__*/Object.freeze({
14882
14582
  __proto__: null,
14883
- AXPColorBoxWidgetPrintComponent: AXPColorBoxWidgetPrintComponent
14583
+ AXPColorBoxWidgetViewComponent: AXPColorBoxWidgetViewComponent
14884
14584
  });
14885
14585
 
14886
14586
  const AXPColorBoxWidget = {
@@ -14898,7 +14598,7 @@ const AXPColorBoxWidget = {
14898
14598
  AXP_DISABLED_PROPERTY,
14899
14599
  AXP_PLACEHOLDER_PROPERTY,
14900
14600
  //
14901
- AXP_REQUIRED_VALIDATION_PROPERTY
14601
+ AXP_REQUIRED_VALIDATION_PROPERTY,
14902
14602
  ],
14903
14603
  components: {
14904
14604
  designer: {
@@ -14910,9 +14610,6 @@ const AXPColorBoxWidget = {
14910
14610
  edit: {
14911
14611
  component: () => Promise.resolve().then(function () { return colorBoxWidgetEdit_component; }).then((c) => c.AXPColorBoxWidgetEditComponent),
14912
14612
  },
14913
- filter: {
14914
- component: () => Promise.resolve().then(function () { return colorBoxWidgetFilter_component; }).then((c) => c.AXPColorBoxWidgetFilterComponent),
14915
- },
14916
14613
  column: {
14917
14614
  component: () => Promise.resolve().then(function () { return colorBoxWidgetColumn_component; }).then((c) => c.AXPColorBoxWidgetColumnComponent),
14918
14615
  },
@@ -15006,25 +14703,6 @@ var metaDataWidgetEdit_component = /*#__PURE__*/Object.freeze({
15006
14703
  AXPMetaDataWidgetEditComponent: AXPMetaDataWidgetEditComponent
15007
14704
  });
15008
14705
 
15009
- class AXPMetaDataWidgetFilterComponent extends AXPValueWidgetComponent {
15010
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPMetaDataWidgetFilterComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
15011
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.8", type: AXPMetaDataWidgetFilterComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true, dependencies: [{ kind: "ngmodule", type: FormsModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
15012
- }
15013
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPMetaDataWidgetFilterComponent, decorators: [{
15014
- type: Component,
15015
- args: [{
15016
- template: ``,
15017
- changeDetection: ChangeDetectionStrategy.OnPush,
15018
- imports: [FormsModule],
15019
- inputs: [],
15020
- }]
15021
- }] });
15022
-
15023
- var metaDataWidgetFilter_component = /*#__PURE__*/Object.freeze({
15024
- __proto__: null,
15025
- AXPMetaDataWidgetFilterComponent: AXPMetaDataWidgetFilterComponent
15026
- });
15027
-
15028
14706
  class AXPTextBoxWidgetPrintComponent extends AXPValueWidgetComponent {
15029
14707
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPTextBoxWidgetPrintComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
15030
14708
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.8", type: AXPTextBoxWidgetPrintComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
@@ -15101,9 +14779,6 @@ const AXPMetaDataWidget = {
15101
14779
  edit: {
15102
14780
  component: () => Promise.resolve().then(function () { return metaDataWidgetEdit_component; }).then((c) => c.AXPMetaDataWidgetEditComponent),
15103
14781
  },
15104
- filter: {
15105
- component: () => Promise.resolve().then(function () { return metaDataWidgetFilter_component; }).then((c) => c.AXPMetaDataWidgetFilterComponent),
15106
- },
15107
14782
  column: {
15108
14783
  component: () => Promise.resolve().then(function () { return metaDataWidgetColumn_component; }).then((c) => c.AXPMetaDataWidgetColumnComponent),
15109
14784
  },
@@ -15349,25 +15024,6 @@ var numberUnitBoxWidgetEdit_component = /*#__PURE__*/Object.freeze({
15349
15024
  AXPNumberUnitBoxWidgetEditComponent: AXPNumberUnitBoxWidgetEditComponent
15350
15025
  });
15351
15026
 
15352
- class AXPNumberUnitBoxWidgetFilterComponent extends AXPValueWidgetComponent {
15353
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPNumberUnitBoxWidgetFilterComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
15354
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.8", type: AXPNumberUnitBoxWidgetFilterComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true, dependencies: [{ kind: "ngmodule", type: FormsModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
15355
- }
15356
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPNumberUnitBoxWidgetFilterComponent, decorators: [{
15357
- type: Component,
15358
- args: [{
15359
- template: ``,
15360
- changeDetection: ChangeDetectionStrategy.OnPush,
15361
- imports: [FormsModule],
15362
- inputs: [],
15363
- }]
15364
- }] });
15365
-
15366
- var numberUnitBoxWidgetFilter_component = /*#__PURE__*/Object.freeze({
15367
- __proto__: null,
15368
- AXPNumberUnitBoxWidgetFilterComponent: AXPNumberUnitBoxWidgetFilterComponent
15369
- });
15370
-
15371
15027
  class AXPNumberUnitBoxWidgetPrintComponent extends AXPValueWidgetComponent {
15372
15028
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPNumberUnitBoxWidgetPrintComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
15373
15029
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.8", type: AXPNumberUnitBoxWidgetPrintComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
@@ -15474,9 +15130,6 @@ const AXPNumberUnitBoxWidget = {
15474
15130
  edit: {
15475
15131
  component: () => Promise.resolve().then(function () { return numberUnitBoxWidgetEdit_component; }).then((c) => c.AXPNumberUnitBoxWidgetEditComponent),
15476
15132
  },
15477
- filter: {
15478
- component: () => Promise.resolve().then(function () { return numberUnitBoxWidgetFilter_component; }).then((c) => c.AXPNumberUnitBoxWidgetFilterComponent),
15479
- },
15480
15133
  column: {
15481
15134
  component: () => Promise.resolve().then(function () { return numberUnitBoxWidgetColumn_component; }).then((c) => c.AXPNumberUnitBoxWidgetColumnComponent),
15482
15135
  },
@@ -15576,11 +15229,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImpor
15576
15229
  }]
15577
15230
  }] });
15578
15231
 
15579
- var tabularDataFilter_component = /*#__PURE__*/Object.freeze({
15580
- __proto__: null,
15581
- AXPTabulaDataWidgetFilterComponent: AXPTabulaDataWidgetFilterComponent
15582
- });
15583
-
15584
15232
  class AXPTabularDataWidgetPrintComponent extends AXPValueWidgetComponent {
15585
15233
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPTabularDataWidgetPrintComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
15586
15234
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.8", type: AXPTabularDataWidgetPrintComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
@@ -15665,9 +15313,6 @@ const AXPTableEditorWidget = {
15665
15313
  edit: {
15666
15314
  component: () => Promise.resolve().then(function () { return tabularDataWidgetEdit_component; }).then((c) => c.AXPTabularDataWidgetEditComponent),
15667
15315
  },
15668
- filter: {
15669
- component: () => Promise.resolve().then(function () { return tabularDataFilter_component; }).then((c) => c.AXPTabulaDataWidgetFilterComponent),
15670
- },
15671
15316
  column: {
15672
15317
  component: () => Promise.resolve().then(function () { return tabularDataColumn_component; }).then((c) => c.AXPTabularDataWidgetColumnComponent),
15673
15318
  },
@@ -15745,7 +15390,7 @@ const AXPImageWidget = {
15745
15390
  path: 'options.lazy',
15746
15391
  group: AXP_BEHAVIOR_PROPERTY_GROUP,
15747
15392
  }),
15748
- AXP_READONLY_PROPERTY
15393
+ AXP_READONLY_PROPERTY,
15749
15394
  ],
15750
15395
  components: {
15751
15396
  view: {
@@ -15863,17 +15508,19 @@ class AXPImageWidgetEditComponent extends AXPValueWidgetComponent {
15863
15508
  //#region ---- Options & Derived State ----
15864
15509
  this.fileInput = viewChild('fileInput', ...(ngDevMode ? [{ debugName: "fileInput" }] : []));
15865
15510
  this.popupService = inject(AXPopupService);
15866
- this.width = computed(() => this.options()?.width ?? '320px', ...(ngDevMode ? [{ debugName: "width" }] : []));
15867
- this.height = computed(() => this.options()?.height ?? '200px', ...(ngDevMode ? [{ debugName: "height" }] : []));
15511
+ this.width = computed(() => this.options()?.['width'] ?? '320px', ...(ngDevMode ? [{ debugName: "width" }] : []));
15512
+ this.height = computed(() => this.options()?.['height'] ?? '200px', ...(ngDevMode ? [{ debugName: "height" }] : []));
15868
15513
  this.objectFit = computed(() => {
15869
15514
  const options = this.options();
15870
15515
  if (!options)
15871
15516
  return 'contain';
15872
15517
  // Handle both direct string value and object with id property
15873
- return typeof options.objectFit === 'string' ? options.objectFit : (options.objectFit?.id ?? 'contain');
15518
+ return typeof options?.['objectFit'] === 'string'
15519
+ ? options?.['objectFit']
15520
+ : (options?.['objectFit']?.id ?? 'contain');
15874
15521
  }, ...(ngDevMode ? [{ debugName: "objectFit" }] : []));
15875
- this.borderRadius = computed(() => this.options()?.borderRadius ?? '0', ...(ngDevMode ? [{ debugName: "borderRadius" }] : []));
15876
- this.readonly = computed(() => this.options()?.readonly ?? false, ...(ngDevMode ? [{ debugName: "readonly" }] : []));
15522
+ this.borderRadius = computed(() => this.options()?.['borderRadius'] ?? '0', ...(ngDevMode ? [{ debugName: "borderRadius" }] : []));
15523
+ this.readonly = computed(() => this.options()?.['readonly'] ?? false, ...(ngDevMode ? [{ debugName: "readonly" }] : []));
15877
15524
  this.imageUrl = signal(null, ...(ngDevMode ? [{ debugName: "imageUrl" }] : []));
15878
15525
  effect(() => {
15879
15526
  const value = this.options()['src'];
@@ -16422,25 +16069,6 @@ var timeDurationWidgetEdit_component = /*#__PURE__*/Object.freeze({
16422
16069
  AXPTimerDurationWidgetEditComponent: AXPTimerDurationWidgetEditComponent
16423
16070
  });
16424
16071
 
16425
- class AXPTimerDurationWidgetFilterComponent extends AXPValueWidgetComponent {
16426
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPTimerDurationWidgetFilterComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
16427
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.8", type: AXPTimerDurationWidgetFilterComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `AXPTimerDurationWidgetFilterComponent`, isInline: true, dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: AXTimeDurationModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
16428
- }
16429
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPTimerDurationWidgetFilterComponent, decorators: [{
16430
- type: Component,
16431
- args: [{
16432
- template: `AXPTimerDurationWidgetFilterComponent`,
16433
- changeDetection: ChangeDetectionStrategy.OnPush,
16434
- imports: [FormsModule, AXTimeDurationModule],
16435
- inputs: [],
16436
- }]
16437
- }] });
16438
-
16439
- var timeDurationWidgetFilter_component = /*#__PURE__*/Object.freeze({
16440
- __proto__: null,
16441
- AXPTimerDurationWidgetFilterComponent: AXPTimerDurationWidgetFilterComponent
16442
- });
16443
-
16444
16072
  class AXPTimerDurationWidgetPrintComponent extends AXPValueWidgetComponent {
16445
16073
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPTimerDurationWidgetPrintComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
16446
16074
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.8", type: AXPTimerDurationWidgetPrintComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `AXPTimerDurationWidgetPrintComponent`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
@@ -16561,9 +16189,6 @@ const AXPTimeDurationWidget = {
16561
16189
  edit: {
16562
16190
  component: () => Promise.resolve().then(function () { return timeDurationWidgetEdit_component; }).then((c) => c.AXPTimerDurationWidgetEditComponent),
16563
16191
  },
16564
- filter: {
16565
- component: () => Promise.resolve().then(function () { return timeDurationWidgetFilter_component; }).then((c) => c.AXPTimerDurationWidgetFilterComponent),
16566
- },
16567
16192
  column: {
16568
16193
  component: () => Promise.resolve().then(function () { return timeDurationWidgetColumn_component; }).then((c) => c.AXPTimeDurationWidgetColumnComponent),
16569
16194
  },
@@ -17509,12 +17134,7 @@ const AXPFieldsetWidget = {
17509
17134
  icon: 'fa-light fa-object-group',
17510
17135
  categories: AXP_WIDGETS_LAYOUT_CATEGORY,
17511
17136
  groups: [AXPWidgetGroupEnum.FormElement],
17512
- properties: [
17513
- AXP_NAME_PROPERTY,
17514
- AXP_TITLE_PROPERTY,
17515
- AXP_ICON_PROPERTY,
17516
- AXP_LAYOUT_SHOW_HEADER_PROPERTY
17517
- ],
17137
+ properties: [AXP_NAME_PROPERTY, AXP_TITLE_PROPERTY, AXP_ICON_PROPERTY, AXP_LAYOUT_SHOW_HEADER_PROPERTY],
17518
17138
  components: {
17519
17139
  designer: {
17520
17140
  component: () => Promise.resolve().then(function () { return fieldsetWidgetDesigner_component; }).then((c) => c.AXPFieldsetWidgetDesignerComponent),
@@ -17677,10 +17297,7 @@ const AXPFormFieldWidget = {
17677
17297
  groups: [AXPWidgetGroupEnum.FormElement],
17678
17298
  type: 'container',
17679
17299
  icon: 'fa-light fa-pen-field',
17680
- properties: [
17681
- AXP_NAME_PROPERTY,
17682
- cloneProperty(AXP_LABEL_PROPERTY, { schema: { defaultValue: 'Sample Label' } })
17683
- ],
17300
+ properties: [AXP_NAME_PROPERTY, cloneProperty(AXP_LABEL_PROPERTY, { schema: { defaultValue: 'Sample Label' } })],
17684
17301
  components: {
17685
17302
  view: {
17686
17303
  component: () => Promise.resolve().then(function () { return formFieldWidgetView_component; }).then((c) => c.AXPFormFieldWidgetViewComponent),
@@ -18052,181 +17669,6 @@ const AXPGridItemWidget = {
18052
17669
  },
18053
17670
  };
18054
17671
 
18055
- class AXPGridRowWidgetViewComponent extends AXPLayoutBaseWidgetComponent {
18056
- constructor() {
18057
- super(...arguments);
18058
- this.cols = computed(() => this.options()['cols'] ?? 1, ...(ngDevMode ? [{ debugName: "cols" }] : []));
18059
- this.rows = computed(() => this.options()['rows'] ?? 1, ...(ngDevMode ? [{ debugName: "rows" }] : []));
18060
- this.gap = computed(() => this.options()['gap'] ?? 0, ...(ngDevMode ? [{ debugName: "gap" }] : []));
18061
- }
18062
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPGridRowWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
18063
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.8", type: AXPGridRowWidgetViewComponent, isStandalone: true, selector: "axp-grid-row-widget", usesInheritance: true, ngImport: i0, template: `
18064
- <div class="ax-grid ax-grid-cols-{{ cols() }} ax-grid-rows-{{ rows() }} ax-gap-{{ gap() }}">
18065
- @for (child of children(); track $index) {
18066
- <ng-container axp-widget-renderer [node]="child" [index]="index" [parentNode]="this" [mode]="this.mode">
18067
- </ng-container>
18068
- }
18069
- </div>
18070
- `, isInline: true, dependencies: [{ kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "directive", type: i1$5.AXPWidgetRendererDirective, selector: "[axp-widget-renderer]", inputs: ["parentNode", "index", "mode", "node"], outputs: ["onOptionsChanged", "onValueChanged"], exportAs: ["widgetRenderer"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
18071
- }
18072
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPGridRowWidgetViewComponent, decorators: [{
18073
- type: Component,
18074
- args: [{
18075
- selector: 'axp-grid-row-widget',
18076
- template: `
18077
- <div class="ax-grid ax-grid-cols-{{ cols() }} ax-grid-rows-{{ rows() }} ax-gap-{{ gap() }}">
18078
- @for (child of children(); track $index) {
18079
- <ng-container axp-widget-renderer [node]="child" [index]="index" [parentNode]="this" [mode]="this.mode">
18080
- </ng-container>
18081
- }
18082
- </div>
18083
- `,
18084
- changeDetection: ChangeDetectionStrategy.OnPush,
18085
- imports: [AXPLayoutBuilderModule],
18086
- }]
18087
- }] });
18088
-
18089
- var gridRowWidgetView_component = /*#__PURE__*/Object.freeze({
18090
- __proto__: null,
18091
- AXPGridRowWidgetViewComponent: AXPGridRowWidgetViewComponent
18092
- });
18093
-
18094
- class AXPGridRowWidgetPrintComponent extends AXPValueWidgetComponent {
18095
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPGridRowWidgetPrintComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
18096
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.8", type: AXPGridRowWidgetPrintComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
18097
- }
18098
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPGridRowWidgetPrintComponent, decorators: [{
18099
- type: Component,
18100
- args: [{
18101
- template: ``,
18102
- changeDetection: ChangeDetectionStrategy.OnPush,
18103
- imports: [],
18104
- inputs: []
18105
- }]
18106
- }] });
18107
-
18108
- var gridRowWidgetPrint_component = /*#__PURE__*/Object.freeze({
18109
- __proto__: null,
18110
- AXPGridRowWidgetPrintComponent: AXPGridRowWidgetPrintComponent
18111
- });
18112
-
18113
- class AXPGridRowWidgetDesignerComponent extends AXPValueWidgetComponent {
18114
- constructor() {
18115
- super(...arguments);
18116
- this.designerService = inject(AXPDesignerService);
18117
- this.cols = computed(() => this.options()['cols'] ?? 1, ...(ngDevMode ? [{ debugName: "cols" }] : []));
18118
- this.gap = computed(() => this.options()['gap'] ?? 0, ...(ngDevMode ? [{ debugName: "gap" }] : []));
18119
- this.cells = computed(() => Array.from({ length: this.cols() - sum(this.children().map((c) => get(c.options, 'colSpan'))) }).map((c, index) => index), ...(ngDevMode ? [{ debugName: "cells" }] : []));
18120
- this.hoverIndex = signal(0, ...(ngDevMode ? [{ debugName: "hoverIndex" }] : []));
18121
- }
18122
- handleMouseHover(index) {
18123
- this.hoverIndex.set(index);
18124
- }
18125
- handleClick(e, index) {
18126
- e.stopPropagation();
18127
- this.hoverIndex.set(-1);
18128
- e.preventDefault();
18129
- this.designerService.addWidget(this.node, {
18130
- type: AXPWidgetsCatalog.gridItem,
18131
- options: {
18132
- colSpan: index + 1,
18133
- },
18134
- });
18135
- }
18136
- handleMouseLeave(event) {
18137
- this.hoverIndex.set(-1);
18138
- }
18139
- get __class() {
18140
- const cls = {};
18141
- //
18142
- cls[`ax-widget-container`] = true;
18143
- cls[`ax-block`] = true;
18144
- cls[`ax-w-full`] = true;
18145
- return cls;
18146
- }
18147
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPGridRowWidgetDesignerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
18148
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.8", type: AXPGridRowWidgetDesignerComponent, isStandalone: true, selector: "axp-grid-row-widget", host: { listeners: { "mouseleave": "handleMouseLeave($event)" }, properties: { "class": "this.__class" } }, providers: [
18149
- {
18150
- provide: AXPValueWidgetComponent,
18151
- useExisting: AXPGridWidgetDesignerComponent,
18152
- },
18153
- ], usesInheritance: true, ngImport: i0, template: `
18154
- <div class="ax-grid ax-grid-cols-{{ cols() }} ax-gap-{{ gap() }}">
18155
- @for (node of children(); track $index) {
18156
- <ng-container axp-widget-designer-renderer [node]="node" [parentNode]="this" [mode]="this.mode" [locked]="this.locked"> </ng-container>
18157
- } @for (node of cells(); track $index) {
18158
- <div
18159
- class="axp-empty-slot"
18160
- (mouseenter)="handleMouseHover($index)"
18161
- (mouseleave)="handleMouseLeave($event)"
18162
- (click)="handleClick($event, $index)"
18163
- [class.axp-state-hover]="hoverIndex() >= $index"
18164
- ></div>
18165
- }
18166
- </div>
18167
- `, isInline: true, styles: ["axp-grid-row-widget.axp-widget-host .axp-empty-slot{display:flex;flex:1 1 0%;align-items:center;justify-content:center;border-width:1px;border-style:dashed;padding:1rem;background-color:rgba(209,213,219,.1);background-image:linear-gradient(135deg,rgb(209 213 219 / 50%) 10%,transparent 0,transparent 50%,rgb(209 213 219 / 50%) 0,rgb(209 213 219 / 50%) 60%,transparent 0,transparent);background-size:7.5px 7.5px}axp-grid-row-widget.axp-widget-host .axp-empty-slot.axp-state-hover{border-color:transparent;--tw-bg-opacity: 1;background-color:rgba(var(--ax-sys-color-primary-300),var(--tw-bg-opacity, 1))}\n"], dependencies: [{ kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "directive", type: AXPWidgetDesignerRendererDirective, selector: "[axp-widget-designer-renderer]", inputs: ["parentNode", "index", "locked", "mode", "node"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
18168
- }
18169
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPGridRowWidgetDesignerComponent, decorators: [{
18170
- type: Component,
18171
- args: [{ selector: 'axp-grid-row-widget', template: `
18172
- <div class="ax-grid ax-grid-cols-{{ cols() }} ax-gap-{{ gap() }}">
18173
- @for (node of children(); track $index) {
18174
- <ng-container axp-widget-designer-renderer [node]="node" [parentNode]="this" [mode]="this.mode" [locked]="this.locked"> </ng-container>
18175
- } @for (node of cells(); track $index) {
18176
- <div
18177
- class="axp-empty-slot"
18178
- (mouseenter)="handleMouseHover($index)"
18179
- (mouseleave)="handleMouseLeave($event)"
18180
- (click)="handleClick($event, $index)"
18181
- [class.axp-state-hover]="hoverIndex() >= $index"
18182
- ></div>
18183
- }
18184
- </div>
18185
- `, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, imports: [
18186
- AXPLayoutBuilderModule,
18187
- AXPWidgetDesignerRendererDirective
18188
- ], providers: [
18189
- {
18190
- provide: AXPValueWidgetComponent,
18191
- useExisting: AXPGridWidgetDesignerComponent,
18192
- },
18193
- ], styles: ["axp-grid-row-widget.axp-widget-host .axp-empty-slot{display:flex;flex:1 1 0%;align-items:center;justify-content:center;border-width:1px;border-style:dashed;padding:1rem;background-color:rgba(209,213,219,.1);background-image:linear-gradient(135deg,rgb(209 213 219 / 50%) 10%,transparent 0,transparent 50%,rgb(209 213 219 / 50%) 0,rgb(209 213 219 / 50%) 60%,transparent 0,transparent);background-size:7.5px 7.5px}axp-grid-row-widget.axp-widget-host .axp-empty-slot.axp-state-hover{border-color:transparent;--tw-bg-opacity: 1;background-color:rgba(var(--ax-sys-color-primary-300),var(--tw-bg-opacity, 1))}\n"] }]
18194
- }], propDecorators: { handleMouseLeave: [{
18195
- type: HostListener,
18196
- args: ['mouseleave', ['$event']]
18197
- }], __class: [{
18198
- type: HostBinding,
18199
- args: ['class']
18200
- }] } });
18201
-
18202
- var gridRowWidgetDesigner_component = /*#__PURE__*/Object.freeze({
18203
- __proto__: null,
18204
- AXPGridRowWidgetDesignerComponent: AXPGridRowWidgetDesignerComponent
18205
- });
18206
-
18207
- const AXPGridRowWidget = {
18208
- name: 'grid-row-layout',
18209
- title: 'Grid Row Layout',
18210
- categories: AXP_WIDGETS_LAYOUT_CATEGORY,
18211
- type: 'container',
18212
- icon: 'fa-light fa-diagram-cells',
18213
- properties: [AXP_NAME_PROPERTY, ...AXP_LAYOUT_GRID_ROW_PROPERTIES],
18214
- components: {
18215
- view: {
18216
- component: () => Promise.resolve().then(function () { return gridRowWidgetView_component; }).then((c) => c.AXPGridRowWidgetViewComponent),
18217
- },
18218
- edit: {
18219
- component: () => Promise.resolve().then(function () { return gridRowWidgetView_component; }).then((c) => c.AXPGridRowWidgetViewComponent),
18220
- },
18221
- print: {
18222
- component: () => Promise.resolve().then(function () { return gridRowWidgetPrint_component; }).then((c) => c.AXPGridRowWidgetPrintComponent),
18223
- },
18224
- designer: {
18225
- component: () => Promise.resolve().then(function () { return gridRowWidgetDesigner_component; }).then((c) => c.AXPGridRowWidgetDesignerComponent),
18226
- },
18227
- },
18228
- };
18229
-
18230
17672
  class AXPPanelWidgetDesignerComponent extends AXPLayoutBaseWidgetComponent {
18231
17673
  constructor() {
18232
17674
  super(...arguments);
@@ -18681,18 +18123,14 @@ var tabsetWidgetDesigner_component = /*#__PURE__*/Object.freeze({
18681
18123
  });
18682
18124
 
18683
18125
  const AXPTabSetWidget = {
18684
- name: "tabset-layout",
18685
- title: "TabSet Layout",
18126
+ name: 'tabset-layout',
18127
+ title: 'TabSet Layout',
18686
18128
  description: 'A tab set layout is a widget that displays a tab set',
18687
18129
  type: 'view',
18688
18130
  categories: [],
18689
18131
  groups: [AXPWidgetGroupEnum.FormElement],
18690
- icon: "fa-solid fa-square",
18691
- properties: [
18692
- AXP_NAME_PROPERTY,
18693
- AXP_DATA_PATH_PROPERTY,
18694
- AXP_DISABLED_PROPERTY,
18695
- ],
18132
+ icon: 'fa-solid fa-square',
18133
+ properties: [AXP_NAME_PROPERTY, AXP_DATA_PATH_PROPERTY, AXP_DISABLED_PROPERTY],
18696
18134
  components: {
18697
18135
  view: {
18698
18136
  component: () => Promise.resolve().then(function () { return tabsetWidgetView_component; }).then((c) => c.AXPTabSetWidgetViewComponent),
@@ -18703,7 +18141,7 @@ const AXPTabSetWidget = {
18703
18141
  designer: {
18704
18142
  component: () => Promise.resolve().then(function () { return tabsetWidgetDesigner_component; }).then((c) => c.AXPTabSetWidgetDesignerComponent),
18705
18143
  },
18706
- }
18144
+ },
18707
18145
  };
18708
18146
 
18709
18147
  class AXPTabSetItemWidgetViewComponent extends AXPLayoutBaseWidgetComponent {
@@ -18773,18 +18211,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImpor
18773
18211
  }] });
18774
18212
 
18775
18213
  const AXPTabSetItemWidget = {
18776
- name: "tabset-item",
18777
- title: "TabSet Item",
18214
+ name: 'tabset-item',
18215
+ title: 'TabSet Item',
18778
18216
  description: 'A tab set item is a widget that displays a tab set item',
18779
18217
  type: 'view',
18780
18218
  categories: [],
18781
18219
  groups: [AXPWidgetGroupEnum.FormElement],
18782
- icon: "fa-solid fa-square",
18783
- properties: [
18784
- AXP_NAME_PROPERTY,
18785
- AXP_DATA_PATH_PROPERTY,
18786
- AXP_DISABLED_PROPERTY,
18787
- ],
18220
+ icon: 'fa-solid fa-square',
18221
+ properties: [AXP_NAME_PROPERTY, AXP_DATA_PATH_PROPERTY, AXP_DISABLED_PROPERTY],
18788
18222
  components: {
18789
18223
  view: {
18790
18224
  component: () => Promise.resolve().then(function () { return tabsetItemWidgetView_component; }).then((c) => c.AXPTabSetItemWidgetViewComponent),
@@ -18795,7 +18229,7 @@ const AXPTabSetItemWidget = {
18795
18229
  designer: {
18796
18230
  component: () => Promise.resolve().then(function () { return tabsetItemWidgetView_component; }).then((c) => c.AXPTabSetItemWidgetViewComponent),
18797
18231
  },
18798
- }
18232
+ },
18799
18233
  };
18800
18234
 
18801
18235
  class AXPTextBlockWidgetViewComponent extends AXPLayoutBaseWidgetComponent {
@@ -18890,7 +18324,6 @@ class AXPWidgetsModule {
18890
18324
  AXPAdvancedGridWidget,
18891
18325
  AXPAdvancedGridItemWidget,
18892
18326
  AXPGridItemWidget,
18893
- AXPGridRowWidget,
18894
18327
  AXPTabSetWidget,
18895
18328
  AXPTabSetItemWidget,
18896
18329
  AXPTimeDurationWidget,
@@ -18977,7 +18410,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImpor
18977
18410
  AXPAdvancedGridWidget,
18978
18411
  AXPAdvancedGridItemWidget,
18979
18412
  AXPGridItemWidget,
18980
- AXPGridRowWidget,
18981
18413
  AXPTabSetWidget,
18982
18414
  AXPTabSetItemWidget,
18983
18415
  AXPTimeDurationWidget,
@@ -19060,5 +18492,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImpor
19060
18492
  * Generated bundle index. Do not edit.
19061
18493
  */
19062
18494
 
19063
- export { AXPAdvancedGridItemWidget, AXPAdvancedGridItemWidgetDesignerComponent, AXPAdvancedGridItemWidgetPrintComponent, AXPAdvancedGridItemWidgetViewComponent, AXPAdvancedGridOptionsWidget, AXPAdvancedGridOptionsWidgetEditComponent, AXPAdvancedGridWidget, AXPAdvancedGridWidgetDesignerComponent, AXPAdvancedGridWidgetViewComponent, AXPAvatarWidget, AXPAvatarWidgetColumnComponent, AXPAvatarWidgetDesignerComponent, AXPAvatarWidgetEditComponent, AXPAvatarWidgetPrintComponent, AXPAvatarWidgetViewComponent, AXPBetweenExpressionValidationWidget, AXPBetweenValidationWidgetEditComponent, AXPBlockWidget, AXPBlockWidgetDesignerComponent, AXPBlockWidgetViewComponent, AXPBorderWidget, AXPBorderWidgetEditComponent, AXPButtonWidget, AXPButtonWidgetViewComponent, AXPCallbackValidationWidget, AXPCallbackValidationWidgetEditComponent, AXPCheckBoxWidget, AXPCheckBoxWidgetEditComponent, AXPContactWidget, AXPContactWidgetColumnComponent, AXPContactWidgetEditComponent, AXPContactWidgetViewComponent, AXPDateTimeBoxWidget, AXPDateTimeBoxWidgetColumnComponent, AXPDateTimeBoxWidgetEditComponent, AXPDateTimeBoxWidgetPrintComponent, AXPDateTimeBoxWidgetViewComponent, AXPDirectionWidget, AXPDirectionWidgetEditComponent, AXPEditFileUploaderCommand, AXPEmailBoxWidget, AXPEmailBoxWidgetColumnComponent, AXPEmailBoxWidgetEditComponent, AXPEmailBoxWidgetFilterComponent, AXPEmailBoxWidgetPrintComponent, AXPEmailBoxWidgetViewComponent, AXPEqualValidationWidget, AXPEqualValidationWidgetEditComponent, AXPExtraPropertiesSchemaWidget, AXPExtraPropertiesValuesWidget, AXPExtraPropertiesWidget, AXPFileListComponent, AXPFileUploaderWidget, AXPFileUploaderWidgetColumnComponent, AXPFileUploaderWidgetEditComponent, AXPFileUploaderWidgetPrintComponent, AXPFileUploaderWidgetService, AXPFileUploaderWidgetViewComponent, AXPFlexItemOptionsWidget, AXPFlexItemOptionsWidgetEditComponent, AXPFlexItemWidget, AXPFlexItemWidgetDesignerComponent, AXPFlexItemWidgetViewComponent, AXPFlexOptionsWidget, AXPFlexOptionsWidgetEditComponent, AXPFlexWidget, AXPFlexWidgetDesignerComponent, AXPFlexWidgetViewComponent, AXPGalleryWidget, AXPGalleryWidgetEditComponent, AXPGalleryWidgetPrintComponent, AXPGalleryWidgetViewComponent, AXPGreaterThanExpressionValidationWidget, AXPGreaterThanValidationWidgetEditComponent, AXPGridItemOptionsWidget, AXPGridItemOptionsWidgetEditComponent, AXPGridOptionsWidget, AXPGridOptionsWidgetEditComponent, AXPImageMarkerPopupComponent, AXPImageMarkerWidget, AXPImageMarkerWidgetColumnComponent, AXPImageMarkerWidgetEditComponent, AXPImageMarkerWidgetViewComponent, AXPLargeTextWidget, AXPLargeTextWidgetColumnComponent, AXPLargeTextWidgetEditComponent, AXPLargeTextWidgetFilterComponent, AXPLargeTextWidgetPrintComponent, AXPLargeTextWidgetViewComponent, AXPLessThanExpressionValidationWidget, AXPLessThanValidationWidgetEditComponent, AXPLinkWidget, AXPLinkWidgetColumnComponent, AXPLinkWidgetEditComponent, AXPLinkWidgetFilterComponent, AXPLinkWidgetPrintComponent, AXPLinkWidgetViewComponent, AXPListWidget, AXPListWidgetViewComponent, AXPMapBoxWidget, AXPMapBoxWidgetEditComponent, AXPMapBoxWidgetViewComponent, AXPMaxLengthExpressionValidationWidget, AXPMaxLengthValidationWidgetEditComponent, AXPMinLengthExpressionValidationWidget, AXPMinLengthValidationWidgetEditComponent, AXPNumberBoxWidget, AXPNumberBoxWidgetColumnComponent, AXPNumberBoxWidgetEditComponent, AXPNumberBoxWidgetFilterComponent, AXPNumberBoxWidgetPrintComponent, AXPNumberBoxWidgetViewComponent, AXPPageWidget, AXPPageWidgetViewComponent, AXPPasswordBoxWidget, AXPPasswordBoxWidgetColumnComponent, AXPPasswordBoxWidgetEditComponent, AXPPasswordBoxWidgetFilterComponent, AXPPasswordBoxWidgetPrintComponent, AXPPasswordBoxWidgetViewComponent, AXPPhoneBoxWidget, AXPPhoneBoxWidgetColumnComponent, AXPPhoneBoxWidgetEditComponent, AXPPhoneBoxWidgetFilterComponent, AXPPhoneBoxWidgetPrintComponent, AXPPhoneBoxWidgetViewComponent, AXPRegularExpressionValidationWidget, AXPRegularExpressionValidationWidgetEditComponent, AXPRepeaterWidget, AXPRepeaterWidgetDesignerComponent, AXPRepeaterWidgetEditComponent, AXPRepeaterWidgetPrintComponent, AXPRepeaterWidgetViewComponent, AXPRequiredValidationWidget, AXPRequiredValidationWidgetEditComponent, AXPRichTextWidget, AXPRichTextWidgetColumnComponent, AXPRichTextWidgetEditComponent, AXPRichTextWidgetFilterComponent, AXPRichTextWidgetPrintComponent, AXPRichTextWidgetViewComponent, AXPSelectBoxWidget, AXPSelectBoxWidgetColumnComponent, AXPSelectBoxWidgetEditComponent, AXPSelectBoxWidgetPrintComponent, AXPSelectBoxWidgetViewComponent, AXPSelectionListWidget, AXPSelectionListWidgetColumnComponent, AXPSelectionListWidgetDesignerComponent, AXPSelectionListWidgetEditComponent, AXPSelectionListWidgetFilterComponent, AXPSelectionListWidgetPrintComponent, AXPSelectionListWidgetViewComponent, AXPSignatureWidget, AXPSignatureWidgetColumnComponent, AXPSignatureWidgetEditComponent, AXPSignatureWidgetFilterComponent, AXPSignatureWidgetPrintComponent, AXPSignatureWidgetViewComponent, AXPSpacingWidget, AXPSpacingWidgetEditComponent, AXPTemplateBoxWidget, AXPTemplateBoxWidgetColumnComponent, AXPTemplateBoxWidgetEditComponent, AXPTemplateBoxWidgetFilterComponent, AXPTemplateBoxWidgetPrintComponent, AXPTemplateBoxWidgetViewComponent, AXPTextBoxWidget, AXPTextBoxWidgetColumnComponent, AXPTextBoxWidgetEditComponent, AXPTextBoxWidgetFilterComponent, AXPTextBoxWidgetPrintComponent$1 as AXPTextBoxWidgetPrintComponent, AXPTextBoxWidgetViewComponent, AXPToggleWidget, AXPToggleWidgetColumnComponent, AXPToggleWidgetEditComponent, AXPToggleWidgetFilterComponent, AXPToggleWidgetPrintComponent, AXPToggleWidgetViewComponent, AXPWidgetsModule, AXP_ALLOW_CLEAR_PROPERTY, AXP_ALLOW_MULTIPLE_PROPERTY, AXP_ALLOW_SEARCH_PROPERTY, AXP_ANIMATION_PROPERTY_GROUP, AXP_APPEARANCE_PROPERTY_GROUP, AXP_BEHAVIOR_PROPERTY_GROUP, AXP_BETWEEN_VALIDATION_PROPERTY, AXP_BG_COLOR_PROPERTY, AXP_BOX_MODEL_PROPERTY_GROUP, AXP_CALLBACK_VALIDATION_PROPERTY, AXP_COLOR_PROPERTY, AXP_CONTENT_PROPERTY, AXP_DATA_PATH_PROPERTY, AXP_DATA_PROPERTY_GROUP, AXP_DATA_SOURCE_PROPERTIES, AXP_DATA_SOURCE_PROPERTY, AXP_DATA_SOURCE_TEXT_FIELD, AXP_DATA_SOURCE_VALUE_FIELD, AXP_DATE_FORMAT_PROPERTY, AXP_DESCRIPTION_PROPERTY, AXP_DIRECTION_PROPERTY, AXP_DISABLED_PROPERTY, AXP_DOWNLOADABLE_PROPERTY, AXP_EQUAL_VALIDATION_PROPERTY, AXP_FALSY_TEXT_PROPERTY, AXP_FONT_SIZE_PROPERTY, AXP_Flex_Box_Align_Options, AXP_Flex_Box_Alignments, AXP_Flex_Box_Justify_Options, AXP_GREATER_THAN_VALIDATION_PROPERTY, AXP_Grid_Box_Align_Items_Options, AXP_Grid_Box_Alignments, AXP_Grid_Box_Justify_Items_Options, AXP_HAS_CLEAR_BUTTON_PROPERTY, AXP_HAS_COPY_ICON_PROPERTY, AXP_HAS_EYE_ICON_PROPERTY, AXP_HAS_ICON_PROPERTY, AXP_HAS_LABEL_PROPERTY, AXP_ICON_PROPERTY, AXP_IS_LOADING_PROPERTY, AXP_LABEL_PROPERTY, AXP_LAYOUT_ADVANCED_GRID_PROPERTY, AXP_LAYOUT_BORDER_PROPERTY, AXP_LAYOUT_COLUMNS_PROPERTY, AXP_LAYOUT_DIRECTION_PROPERTY, AXP_LAYOUT_FLEX_ITEM_PROPERTY, AXP_LAYOUT_FLEX_PROPERTY, AXP_LAYOUT_FLEX_PROPERTY_GROUP, AXP_LAYOUT_GAP_PROPERTY, AXP_LAYOUT_GRID_ITEM_PROPERTY, AXP_LAYOUT_GRID_PROPERTIES, AXP_LAYOUT_GRID_PROPERTY, AXP_LAYOUT_GRID_PROPERTY_GROUP, AXP_LAYOUT_GRID_ROW_PROPERTIES, AXP_LAYOUT_ROWS_PROPERTY, AXP_LAYOUT_SHOW_HEADER_PROPERTY, AXP_LAYOUT_SPACING_PROPERTY, AXP_LESS_THAN_VALIDATION_PROPERTY, AXP_MAX_LENGTH_VALIDATION_PROPERTY, AXP_MIN_LENGTH_VALIDATION_PROPERTY, AXP_NAME_PROPERTY, AXP_PLACEHOLDER_PROPERTY, AXP_READONLY_PROPERTY, AXP_REGULAR_EXPRESSION_VALIDATION_PROPERTY, AXP_REQUIRED_VALIDATION_PROPERTY, AXP_STYLE_COLOR_PROPERTY, AXP_STYLE_LOOK_PROPERTY, AXP_STYLING_PROPERTY_GROUP, AXP_TABLE_COLUMN_HEIGHT_PROPERTY, AXP_TABLE_COLUMN_WIDTH_PROPERTY, AXP_TEXT_FIELD_PROPERTY, AXP_TEXT_PROPERTY, AXP_THEME_PROPERTY, AXP_TITLE_PROPERTY, AXP_TRULY_TEXT_PROPERTY, AXP_VALIDATION_PROPERTY_GROUP, AXP_VALUE_FIELD_PROPERTY, AXP_WIDGET_PROPERTY_GROUP, AXP_default_Border_Box_Units, AXP_default_Border_Box_Value, AXP_default_Spacing_Box_Units, AXP_default_Spacing_Box_Value, DEFAULT_STRATEGY_CONFIG, STRATEGY_CONFIG_TOKEN, booleanDefaultProperty, largeTextDefaultProperty, numberDefaultProperty, numberMaxValueProperty, numberMinValueProperty, plainTextDefaultProperty };
18495
+ export { AXPAdvancedGridItemWidget, AXPAdvancedGridItemWidgetDesignerComponent, AXPAdvancedGridItemWidgetPrintComponent, AXPAdvancedGridItemWidgetViewComponent, AXPAdvancedGridOptionsWidget, AXPAdvancedGridOptionsWidgetEditComponent, AXPAdvancedGridWidget, AXPAdvancedGridWidgetDesignerComponent, AXPAdvancedGridWidgetViewComponent, AXPAvatarWidget, AXPAvatarWidgetColumnComponent, AXPAvatarWidgetDesignerComponent, AXPAvatarWidgetEditComponent, AXPAvatarWidgetPrintComponent, AXPAvatarWidgetViewComponent, AXPBetweenExpressionValidationWidget, AXPBetweenValidationWidgetEditComponent, AXPBlockWidget, AXPBlockWidgetDesignerComponent, AXPBlockWidgetViewComponent, AXPBorderWidget, AXPBorderWidgetEditComponent, AXPButtonWidget, AXPButtonWidgetViewComponent, AXPCallbackValidationWidget, AXPCallbackValidationWidgetEditComponent, AXPCheckBoxWidget, AXPCheckBoxWidgetEditComponent, AXPContactWidget, AXPContactWidgetColumnComponent, AXPContactWidgetEditComponent, AXPContactWidgetViewComponent, AXPDateTimeBoxWidget, AXPDateTimeBoxWidgetColumnComponent, AXPDateTimeBoxWidgetEditComponent, AXPDateTimeBoxWidgetPrintComponent, AXPDateTimeBoxWidgetViewComponent, AXPDirectionWidget, AXPDirectionWidgetEditComponent, AXPEditFileUploaderCommand, AXPEmailBoxWidget, AXPEmailBoxWidgetColumnComponent, AXPEmailBoxWidgetEditComponent, AXPEmailBoxWidgetPrintComponent, AXPEmailBoxWidgetViewComponent, AXPEqualValidationWidget, AXPEqualValidationWidgetEditComponent, AXPExtraPropertiesSchemaWidget, AXPExtraPropertiesValuesWidget, AXPExtraPropertiesWidget, AXPFileListComponent, AXPFileUploaderWidget, AXPFileUploaderWidgetColumnComponent, AXPFileUploaderWidgetEditComponent, AXPFileUploaderWidgetPrintComponent, AXPFileUploaderWidgetService, AXPFileUploaderWidgetViewComponent, AXPFlexItemOptionsWidget, AXPFlexItemOptionsWidgetEditComponent, AXPFlexItemWidget, AXPFlexItemWidgetDesignerComponent, AXPFlexItemWidgetViewComponent, AXPFlexOptionsWidget, AXPFlexOptionsWidgetEditComponent, AXPFlexWidget, AXPFlexWidgetDesignerComponent, AXPFlexWidgetViewComponent, AXPGalleryWidget, AXPGalleryWidgetEditComponent, AXPGalleryWidgetPrintComponent, AXPGalleryWidgetViewComponent, AXPGreaterThanExpressionValidationWidget, AXPGreaterThanValidationWidgetEditComponent, AXPGridItemOptionsWidget, AXPGridItemOptionsWidgetEditComponent, AXPGridOptionsWidget, AXPGridOptionsWidgetEditComponent, AXPImageMarkerPopupComponent, AXPImageMarkerWidget, AXPImageMarkerWidgetColumnComponent, AXPImageMarkerWidgetEditComponent, AXPImageMarkerWidgetViewComponent, AXPLargeTextWidget, AXPLargeTextWidgetColumnComponent, AXPLargeTextWidgetEditComponent, AXPLargeTextWidgetPrintComponent, AXPLargeTextWidgetViewComponent, AXPLessThanExpressionValidationWidget, AXPLessThanValidationWidgetEditComponent, AXPLinkWidget, AXPLinkWidgetColumnComponent, AXPLinkWidgetEditComponent, AXPLinkWidgetPrintComponent, AXPLinkWidgetViewComponent, AXPListWidget, AXPListWidgetViewComponent, AXPMapBoxWidget, AXPMapBoxWidgetEditComponent, AXPMapBoxWidgetViewComponent, AXPMaxLengthExpressionValidationWidget, AXPMaxLengthValidationWidgetEditComponent, AXPMinLengthExpressionValidationWidget, AXPMinLengthValidationWidgetEditComponent, AXPNumberBoxWidget, AXPNumberBoxWidgetColumnComponent, AXPNumberBoxWidgetEditComponent, AXPNumberBoxWidgetPrintComponent, AXPNumberBoxWidgetViewComponent, AXPPageWidget, AXPPageWidgetViewComponent, AXPPasswordBoxWidget, AXPPasswordBoxWidgetColumnComponent, AXPPasswordBoxWidgetEditComponent, AXPPasswordBoxWidgetPrintComponent, AXPPasswordBoxWidgetViewComponent, AXPPhoneBoxWidget, AXPPhoneBoxWidgetColumnComponent, AXPPhoneBoxWidgetEditComponent, AXPPhoneBoxWidgetPrintComponent, AXPPhoneBoxWidgetViewComponent, AXPRegularExpressionValidationWidget, AXPRegularExpressionValidationWidgetEditComponent, AXPRepeaterWidget, AXPRepeaterWidgetDesignerComponent, AXPRepeaterWidgetEditComponent, AXPRepeaterWidgetPrintComponent, AXPRepeaterWidgetViewComponent, AXPRequiredValidationWidget, AXPRequiredValidationWidgetEditComponent, AXPRichTextWidget, AXPRichTextWidgetColumnComponent, AXPRichTextWidgetEditComponent, AXPRichTextWidgetPrintComponent, AXPRichTextWidgetViewComponent, AXPSelectBoxWidget, AXPSelectBoxWidgetColumnComponent, AXPSelectBoxWidgetEditComponent, AXPSelectBoxWidgetPrintComponent, AXPSelectBoxWidgetViewComponent, AXPSelectionListWidget, AXPSelectionListWidgetColumnComponent, AXPSelectionListWidgetDesignerComponent, AXPSelectionListWidgetEditComponent, AXPSelectionListWidgetPrintComponent, AXPSelectionListWidgetViewComponent, AXPSignatureWidget, AXPSignatureWidgetColumnComponent, AXPSignatureWidgetEditComponent, AXPSignatureWidgetFilterComponent, AXPSignatureWidgetPrintComponent, AXPSignatureWidgetViewComponent, AXPSpacingWidget, AXPSpacingWidgetEditComponent, AXPTemplateBoxWidget, AXPTemplateBoxWidgetColumnComponent, AXPTemplateBoxWidgetEditComponent, AXPTemplateBoxWidgetPrintComponent, AXPTemplateBoxWidgetViewComponent, AXPTextBoxWidget, AXPTextBoxWidgetColumnComponent, AXPTextBoxWidgetEditComponent, AXPTextBoxWidgetPrintComponent$1 as AXPTextBoxWidgetPrintComponent, AXPTextBoxWidgetViewComponent, AXPToggleWidget, AXPToggleWidgetColumnComponent, AXPToggleWidgetEditComponent, AXPToggleWidgetPrintComponent, AXPToggleWidgetViewComponent, AXPWidgetsModule, AXP_ALLOW_CLEAR_PROPERTY, AXP_ALLOW_MULTIPLE_PROPERTY, AXP_ALLOW_SEARCH_PROPERTY, AXP_ANIMATION_PROPERTY_GROUP, AXP_APPEARANCE_PROPERTY_GROUP, AXP_BEHAVIOR_PROPERTY_GROUP, AXP_BETWEEN_VALIDATION_PROPERTY, AXP_BG_COLOR_PROPERTY, AXP_BOX_MODEL_PROPERTY_GROUP, AXP_CALLBACK_VALIDATION_PROPERTY, AXP_COLOR_PROPERTY, AXP_CONTENT_PROPERTY, AXP_DATA_PATH_PROPERTY, AXP_DATA_PROPERTY_GROUP, AXP_DATA_SOURCE_PROPERTIES, AXP_DATA_SOURCE_PROPERTY, AXP_DATA_SOURCE_TEXT_FIELD, AXP_DATA_SOURCE_VALUE_FIELD, AXP_DATE_FORMAT_PROPERTY, AXP_DESCRIPTION_PROPERTY, AXP_DIRECTION_PROPERTY, AXP_DISABLED_PROPERTY, AXP_DOWNLOADABLE_PROPERTY, AXP_EQUAL_VALIDATION_PROPERTY, AXP_FALSY_TEXT_PROPERTY, AXP_FONT_SIZE_PROPERTY, AXP_Flex_Box_Align_Options, AXP_Flex_Box_Alignments, AXP_Flex_Box_Justify_Options, AXP_GREATER_THAN_VALIDATION_PROPERTY, AXP_Grid_Box_Align_Items_Options, AXP_Grid_Box_Alignments, AXP_Grid_Box_Justify_Items_Options, AXP_HAS_CLEAR_BUTTON_PROPERTY, AXP_HAS_COPY_ICON_PROPERTY, AXP_HAS_EYE_ICON_PROPERTY, AXP_HAS_ICON_PROPERTY, AXP_HAS_LABEL_PROPERTY, AXP_ICON_PROPERTY, AXP_IS_LOADING_PROPERTY, AXP_LABEL_PROPERTY, AXP_LAYOUT_ADVANCED_GRID_PROPERTY, AXP_LAYOUT_BORDER_PROPERTY, AXP_LAYOUT_COLUMNS_PROPERTY, AXP_LAYOUT_DIRECTION_PROPERTY, AXP_LAYOUT_FLEX_ITEM_PROPERTY, AXP_LAYOUT_FLEX_PROPERTY, AXP_LAYOUT_FLEX_PROPERTY_GROUP, AXP_LAYOUT_GAP_PROPERTY, AXP_LAYOUT_GRID_ITEM_PROPERTY, AXP_LAYOUT_GRID_PROPERTIES, AXP_LAYOUT_GRID_PROPERTY, AXP_LAYOUT_GRID_PROPERTY_GROUP, AXP_LAYOUT_GRID_ROW_PROPERTIES, AXP_LAYOUT_ROWS_PROPERTY, AXP_LAYOUT_SHOW_HEADER_PROPERTY, AXP_LAYOUT_SPACING_PROPERTY, AXP_LESS_THAN_VALIDATION_PROPERTY, AXP_MAX_LENGTH_VALIDATION_PROPERTY, AXP_MIN_LENGTH_VALIDATION_PROPERTY, AXP_NAME_PROPERTY, AXP_PLACEHOLDER_PROPERTY, AXP_READONLY_PROPERTY, AXP_REGULAR_EXPRESSION_VALIDATION_PROPERTY, AXP_REQUIRED_VALIDATION_PROPERTY, AXP_STYLE_COLOR_PROPERTY, AXP_STYLE_LOOK_PROPERTY, AXP_STYLING_PROPERTY_GROUP, AXP_TABLE_COLUMN_HEIGHT_PROPERTY, AXP_TABLE_COLUMN_WIDTH_PROPERTY, AXP_TEXT_FIELD_PROPERTY, AXP_TEXT_PROPERTY, AXP_THEME_PROPERTY, AXP_TITLE_PROPERTY, AXP_TRULY_TEXT_PROPERTY, AXP_VALIDATION_PROPERTY_GROUP, AXP_VALUE_FIELD_PROPERTY, AXP_WIDGET_PROPERTY_GROUP, AXP_default_Border_Box_Units, AXP_default_Border_Box_Value, AXP_default_Spacing_Box_Units, AXP_default_Spacing_Box_Value, DEFAULT_STRATEGY_CONFIG, STRATEGY_CONFIG_TOKEN, booleanDefaultProperty, largeTextDefaultProperty, numberDefaultProperty, numberMaxValueProperty, numberMinValueProperty, plainTextDefaultProperty };
19064
18496
  //# sourceMappingURL=acorex-platform-widgets.mjs.map