@acorex/platform 18.1.1 → 18.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/common/lib/schema/widgets/rich-text/rich-text-widget-edit.component.mjs +1 -2
- package/esm2022/layout/builder/lib/builder/widget-catalog.mjs +2 -1
- package/esm2022/layout/builder/lib/builder/widget.types.mjs +64 -2
- package/esm2022/layout/designer/lib/designer/index.mjs +5 -4
- package/esm2022/layout/entity/lib/entity.module.mjs +4 -3
- package/esm2022/layout/entity/lib/widgets/widget-selector/index.mjs +4 -0
- package/esm2022/layout/entity/lib/widgets/widget-selector/widget-selector-widget-edit.component.mjs +130 -0
- package/esm2022/layout/entity/lib/widgets/widget-selector/widget-selector-widget-view.component.mjs +18 -0
- package/esm2022/layout/entity/lib/widgets/widget-selector/widget-selector-widget.config.mjs +19 -0
- package/esm2022/themes/default/lib/layouts/entity-layouts/entity-master-single-view/entity-master-single-view.component.mjs +2 -2
- package/esm2022/themes/default/lib/layouts/entity-layouts/entity-master-single-view/overview/entity-single-overview.component.mjs +3 -3
- package/esm2022/themes/default/lib/layouts/entity-layouts/index.mjs +2 -2
- package/esm2022/themes/shared/acorex-platform-themes-shared.mjs +5 -0
- package/esm2022/themes/shared/index.mjs +6 -0
- package/esm2022/themes/shared/lib/comments/comment-list-view.component.mjs +397 -0
- package/esm2022/themes/shared/lib/comments/comment-lookup-popup.component.mjs +56 -0
- package/esm2022/themes/shared/lib/comments/comments.service.mjs +3 -0
- package/esm2022/themes/shared/lib/comments/comments.type.mjs +2 -0
- package/esm2022/themes/shared/lib/shared.module.mjs +16 -0
- package/esm2022/widgets/lib/properties/editors.props.mjs +102 -308
- package/esm2022/widgets/lib/properties/general.props.mjs +4 -13
- package/esm2022/widgets/lib/widgets/actions/button/button-widget-designer.component.mjs +1 -2
- package/esm2022/widgets/lib/widgets/advance/map/map-box-widget-edit.component.mjs +9 -4
- package/esm2022/widgets/lib/widgets/advance/map/map-box-widget-view.component.mjs +4 -4
- package/esm2022/widgets/lib/widgets/editors/checkbox/checkbox-widget-designer.component.mjs +4 -4
- package/esm2022/widgets/lib/widgets/editors/contact/contact-widget-edit.component.mjs +31 -22
- package/esm2022/widgets/lib/widgets/editors/date-time/date-time-box-widget.config.mjs +3 -3
- package/esm2022/widgets/lib/widgets/layout/block/block-widget-designer.component.mjs +3 -7
- package/esm2022/widgets/lib/widgets/layout/form-field/form-field-widget-view.component.mjs +1 -3
- package/esm2022/widgets/lib/widgets/layout/grid/grid-widget-view.component.mjs +1 -3
- package/esm2022/widgets/lib/widgets/layout/grid-item/grid-item-widget-view.component.mjs +1 -5
- package/esm2022/widgets/lib/widgets/layout/grid-row/grid-row-widget-view.component.mjs +1 -3
- package/esm2022/widgets/lib/widgets/layout/page/page-widget-view.component.mjs +1 -3
- package/esm2022/widgets/lib/widgets/layout/repeater/repeater-widget-designer.component.mjs +94 -19
- package/esm2022/widgets/lib/widgets/layout/repeater/repeater-widget-edit.component.mjs +119 -8
- package/esm2022/widgets/lib/widgets/layout/repeater/repeater-widget-print.component.mjs +3 -2
- package/esm2022/widgets/lib/widgets/layout/repeater/repeater-widget-view.component.mjs +14 -22
- package/esm2022/widgets/lib/widgets/layout/repeater/repeater-widget.config.mjs +16 -3
- package/fesm2022/{acorex-platform-common-rich-text-widget-edit.component-CnH3MjYz.mjs → acorex-platform-common-rich-text-widget-edit.component-Do3YcmKg.mjs} +1 -2
- package/fesm2022/acorex-platform-common-rich-text-widget-edit.component-Do3YcmKg.mjs.map +1 -0
- package/fesm2022/acorex-platform-common.mjs +1 -1
- package/fesm2022/acorex-platform-layout-builder.mjs +98 -36
- package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-designer.mjs +190 -100
- package/fesm2022/acorex-platform-layout-designer.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity.mjs +157 -5
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/{acorex-platform-themes-default-entity-master-list-view.component-CWXJxLS0.mjs → acorex-platform-themes-default-entity-master-list-view.component-fZ6QEYcd.mjs} +6 -6
- package/fesm2022/{acorex-platform-themes-default-entity-master-list-view.component-CWXJxLS0.mjs.map → acorex-platform-themes-default-entity-master-list-view.component-fZ6QEYcd.mjs.map} +1 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-Bnrabotu.mjs +145 -0
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-Bnrabotu.mjs.map +1 -0
- package/fesm2022/acorex-platform-themes-default.mjs +128 -8
- package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
- package/fesm2022/acorex-platform-themes-shared.mjs +469 -0
- package/fesm2022/acorex-platform-themes-shared.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-button-widget-designer.component-Oxpdaz9P.mjs → acorex-platform-widgets-button-widget-designer.component-B9bfVuC4.mjs} +1 -2
- package/fesm2022/acorex-platform-widgets-button-widget-designer.component-B9bfVuC4.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-checkbox-widget-designer.component-DAGbdSTk.mjs → acorex-platform-widgets-checkbox-widget-designer.component-DzGg-uFi.mjs} +4 -4
- package/fesm2022/acorex-platform-widgets-checkbox-widget-designer.component-DzGg-uFi.mjs.map +1 -0
- package/fesm2022/acorex-platform-widgets.mjs +378 -410
- package/fesm2022/acorex-platform-widgets.mjs.map +1 -1
- package/layout/builder/lib/builder/widget.types.d.ts +31 -1
- package/layout/designer/lib/designer/index.d.ts +4 -3
- package/layout/entity/lib/widgets/widget-selector/index.d.ts +3 -0
- package/layout/entity/lib/widgets/widget-selector/widget-selector-widget-edit.component.d.ts +25 -0
- package/layout/entity/lib/widgets/widget-selector/widget-selector-widget-view.component.d.ts +6 -0
- package/layout/entity/lib/widgets/widget-selector/widget-selector-widget.config.d.ts +7 -0
- package/package.json +19 -13
- package/themes/default/lib/layouts/entity-layouts/index.d.ts +1 -1
- package/themes/shared/README.md +4 -0
- package/themes/shared/index.d.ts +5 -0
- package/themes/shared/lib/comments/comment-list-view.component.d.ts +60 -0
- package/themes/shared/lib/comments/comment-lookup-popup.component.d.ts +10 -0
- package/themes/shared/lib/comments/comments.service.d.ts +8 -0
- package/themes/shared/lib/comments/comments.type.d.ts +70 -0
- package/themes/shared/lib/shared.module.d.ts +6 -0
- package/widgets/lib/properties/editors.props.d.ts +3 -3
- package/widgets/lib/widgets/advance/map/map-box-widget-edit.component.d.ts +1 -0
- package/widgets/lib/widgets/editors/contact/contact-widget-edit.component.d.ts +4 -1
- package/widgets/lib/widgets/layout/repeater/repeater-widget-designer.component.d.ts +4 -3
- package/widgets/lib/widgets/layout/repeater/repeater-widget-edit.component.d.ts +10 -2
- package/widgets/lib/widgets/layout/repeater/repeater-widget-print.component.d.ts +1 -1
- package/widgets/lib/widgets/layout/repeater/repeater-widget-view.component.d.ts +2 -4
- package/esm2022/themes/default/lib/layouts/entity-layouts/entity-master-single-view/comments/comment-list-view.component.mjs +0 -123
- package/esm2022/themes/default/lib/layouts/entity-layouts/entity-master-single-view/comments/comments.service.mjs +0 -3
- package/fesm2022/acorex-platform-common-rich-text-widget-edit.component-CnH3MjYz.mjs.map +0 -1
- package/fesm2022/acorex-platform-layout-designer-widget-picker.component-BZryrCyh.mjs +0 -100
- package/fesm2022/acorex-platform-layout-designer-widget-picker.component-BZryrCyh.mjs.map +0 -1
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-B9lGgO_u.mjs +0 -357
- package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-B9lGgO_u.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-button-widget-designer.component-Oxpdaz9P.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-checkbox-widget-designer.component-DAGbdSTk.mjs.map +0 -1
- package/themes/default/lib/layouts/entity-layouts/entity-master-single-view/comments/comment-list-view.component.d.ts +0 -33
- package/themes/default/lib/layouts/entity-layouts/entity-master-single-view/comments/comments.service.d.ts +0 -11
|
@@ -7,12 +7,12 @@ import { AXDecoratorModule } from '@acorex/components/decorators';
|
|
|
7
7
|
import * as i4 from '@acorex/components/loading';
|
|
8
8
|
import { AXLoadingModule } from '@acorex/components/loading';
|
|
9
9
|
import * as i1$7 from '@acorex/platform/layout/builder';
|
|
10
|
-
import { AXPWidgetComponent, AXPWidgetsCatalog, cloneProperty, AXP_WIDGETS_ACTION_GROUP, AXP_WIDGETS_EDITOR_GROUP, AXPColumnWidgetComponent, AXP_WIDGETS_ADVANCE_GROUP, AXPContainerWidgetComponent, AXPLayoutBuilderModule, AXP_WIDGETS_LAYOUT_GROUP } from '@acorex/platform/layout/builder';
|
|
10
|
+
import { AXPWidgetComponent, AXPWidgetsCatalog, createStringProperty, createBooleanProperty, createSelectProperty, cloneProperty, AXP_WIDGETS_ACTION_GROUP, AXP_WIDGETS_EDITOR_GROUP, AXPColumnWidgetComponent, AXP_WIDGETS_ADVANCE_GROUP, AXPContainerWidgetComponent, AXPLayoutBuilderModule, AXP_WIDGETS_LAYOUT_GROUP } from '@acorex/platform/layout/builder';
|
|
11
11
|
import * as i1$3 from '@angular/common';
|
|
12
12
|
import { CommonModule } from '@angular/common';
|
|
13
13
|
import * as i0 from '@angular/core';
|
|
14
|
-
import { computed, EventEmitter, Component, ChangeDetectionStrategy,
|
|
15
|
-
import { AX_STYLE_COLOR_TYPES, AXDataSource, convertArrayToDataSource } from '@acorex/components/common';
|
|
14
|
+
import { computed, EventEmitter, Component, ChangeDetectionStrategy, signal, inject, HostBinding, effect, ViewEncapsulation, ViewChild, ChangeDetectorRef, HostListener, NgModule } from '@angular/core';
|
|
15
|
+
import { AX_STYLE_COLOR_TYPES, AX_STYLE_LOOK_TYPES, AXDataSource, convertArrayToDataSource } from '@acorex/components/common';
|
|
16
16
|
import * as i1 from '@acorex/components/check-box';
|
|
17
17
|
import { AXCheckBoxModule } from '@acorex/components/check-box';
|
|
18
18
|
import * as i1$1 from '@angular/forms';
|
|
@@ -169,20 +169,11 @@ const AXP_DATA_SOURCE_PROPERTY = {
|
|
|
169
169
|
visible: true,
|
|
170
170
|
};
|
|
171
171
|
|
|
172
|
-
const AXP_NAME_PROPERTY = {
|
|
172
|
+
const AXP_NAME_PROPERTY = createStringProperty({
|
|
173
173
|
name: 'name',
|
|
174
174
|
title: 'Name',
|
|
175
175
|
group: AXP_WIDGET_PROPERTY_GROUP,
|
|
176
|
-
|
|
177
|
-
dataType: 'string',
|
|
178
|
-
interface: {
|
|
179
|
-
name: 'name',
|
|
180
|
-
path: 'name',
|
|
181
|
-
type: AXPWidgetsCatalog.text,
|
|
182
|
-
},
|
|
183
|
-
},
|
|
184
|
-
visible: true,
|
|
185
|
-
};
|
|
176
|
+
});
|
|
186
177
|
const AXP_THEME_PROPERTY = {
|
|
187
178
|
name: 'theme',
|
|
188
179
|
title: 'Theme',
|
|
@@ -305,379 +296,173 @@ const AXP_VALIDATION_PROPERTY = {
|
|
|
305
296
|
},
|
|
306
297
|
visible: true,
|
|
307
298
|
};
|
|
308
|
-
const AXP_CONTENT_PROPERTY = {
|
|
299
|
+
const AXP_CONTENT_PROPERTY = createStringProperty({
|
|
309
300
|
name: 'content',
|
|
310
301
|
title: 'Content',
|
|
302
|
+
path: 'options.content',
|
|
311
303
|
group: AXP_DATA_PROPERTY_GROUP,
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
interface: {
|
|
315
|
-
name: 'content',
|
|
316
|
-
path: 'options.content',
|
|
317
|
-
type: AXPWidgetsCatalog.text,
|
|
318
|
-
},
|
|
319
|
-
},
|
|
320
|
-
visible: true,
|
|
321
|
-
};
|
|
322
|
-
const AXP_DISABLED_PROPERTY = {
|
|
323
|
-
name: 'disabled',
|
|
324
|
-
title: 'Disabled',
|
|
325
|
-
group: AXP_BEHAVIOR_PROPERTY_GROUP,
|
|
326
|
-
schema: {
|
|
327
|
-
dataType: 'boolean',
|
|
328
|
-
defaultValue: false,
|
|
329
|
-
interface: {
|
|
330
|
-
name: 'disabled',
|
|
331
|
-
path: 'options.disabled',
|
|
332
|
-
type: AXPWidgetsCatalog.toggle,
|
|
333
|
-
},
|
|
334
|
-
},
|
|
335
|
-
visible: true,
|
|
336
|
-
};
|
|
337
|
-
const AXP_READONLY_PROPERTY = {
|
|
338
|
-
name: 'readonly',
|
|
339
|
-
title: 'Readonly',
|
|
340
|
-
group: AXP_BEHAVIOR_PROPERTY_GROUP,
|
|
341
|
-
schema: {
|
|
342
|
-
dataType: 'boolean',
|
|
343
|
-
defaultValue: false,
|
|
344
|
-
interface: {
|
|
345
|
-
name: 'readonly',
|
|
346
|
-
path: 'options.readonly',
|
|
347
|
-
type: AXPWidgetsCatalog.toggle,
|
|
348
|
-
},
|
|
349
|
-
},
|
|
350
|
-
visible: true,
|
|
351
|
-
};
|
|
352
|
-
const AXP_PLACEHOLDER_PROPERTY = {
|
|
304
|
+
});
|
|
305
|
+
const AXP_PLACEHOLDER_PROPERTY = createStringProperty({
|
|
353
306
|
name: 'placeholder',
|
|
354
307
|
title: 'Placeholder',
|
|
308
|
+
path: 'options.placeholder',
|
|
355
309
|
group: AXP_BEHAVIOR_PROPERTY_GROUP,
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
interface: {
|
|
359
|
-
name: 'placeholder',
|
|
360
|
-
path: 'options.placeholder',
|
|
361
|
-
type: AXPWidgetsCatalog.text,
|
|
362
|
-
},
|
|
363
|
-
},
|
|
364
|
-
visible: true,
|
|
365
|
-
};
|
|
366
|
-
const AXP_DATA_PATH_PROPERTY = {
|
|
310
|
+
});
|
|
311
|
+
const AXP_DATA_PATH_PROPERTY = createStringProperty({
|
|
367
312
|
name: 'path',
|
|
368
313
|
title: 'Data Path',
|
|
369
314
|
group: AXP_DATA_PROPERTY_GROUP,
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
315
|
+
});
|
|
316
|
+
const AXP_DISABLED_PROPERTY = createBooleanProperty({
|
|
317
|
+
name: 'disabled',
|
|
318
|
+
title: 'Disabled',
|
|
319
|
+
path: 'options.disabled',
|
|
320
|
+
group: AXP_BEHAVIOR_PROPERTY_GROUP,
|
|
321
|
+
});
|
|
322
|
+
const AXP_READONLY_PROPERTY = createBooleanProperty({
|
|
323
|
+
name: 'readonly',
|
|
324
|
+
title: 'Readonly',
|
|
325
|
+
path: 'options.readonly',
|
|
326
|
+
group: AXP_BEHAVIOR_PROPERTY_GROUP,
|
|
327
|
+
});
|
|
328
|
+
const AXP_ALLOW_MULTIPLE_PROPERTY = createBooleanProperty({
|
|
381
329
|
name: 'multiple',
|
|
382
330
|
title: 'Multiple',
|
|
331
|
+
path: 'options.multiple',
|
|
383
332
|
group: AXP_BEHAVIOR_PROPERTY_GROUP,
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
defaultValue: false,
|
|
387
|
-
interface: {
|
|
388
|
-
name: 'multiple',
|
|
389
|
-
path: 'options.multiple',
|
|
390
|
-
type: AXPWidgetsCatalog.toggle,
|
|
391
|
-
},
|
|
392
|
-
},
|
|
393
|
-
visible: true,
|
|
394
|
-
};
|
|
395
|
-
const AXP_HAS_LABEL_PROPERTY = {
|
|
333
|
+
});
|
|
334
|
+
const AXP_HAS_LABEL_PROPERTY = createBooleanProperty({
|
|
396
335
|
name: 'hasLabel',
|
|
397
336
|
title: 'Label',
|
|
337
|
+
path: 'options.hasLabel',
|
|
398
338
|
group: AXP_BEHAVIOR_PROPERTY_GROUP,
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
interface: {
|
|
403
|
-
name: 'hasLabel',
|
|
404
|
-
path: 'options.hasLabel',
|
|
405
|
-
type: AXPWidgetsCatalog.toggle,
|
|
406
|
-
},
|
|
407
|
-
},
|
|
408
|
-
visible: true,
|
|
409
|
-
};
|
|
410
|
-
const AXP_HAS_ICON_PROPERTY = {
|
|
339
|
+
defaultValue: true,
|
|
340
|
+
});
|
|
341
|
+
const AXP_HAS_ICON_PROPERTY = createBooleanProperty({
|
|
411
342
|
name: 'hasIcon',
|
|
412
343
|
title: 'Icon',
|
|
344
|
+
path: 'options.hasIcon',
|
|
413
345
|
group: AXP_BEHAVIOR_PROPERTY_GROUP,
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
interface: {
|
|
418
|
-
name: 'hasIcon',
|
|
419
|
-
path: 'options.hasIcon',
|
|
420
|
-
type: AXPWidgetsCatalog.toggle,
|
|
421
|
-
},
|
|
422
|
-
},
|
|
423
|
-
visible: true,
|
|
424
|
-
};
|
|
425
|
-
const AXP_ICON_PROPERTY = {
|
|
346
|
+
defaultValue: true,
|
|
347
|
+
});
|
|
348
|
+
const AXP_ICON_PROPERTY = createStringProperty({
|
|
426
349
|
name: 'icon',
|
|
427
350
|
title: 'Icon Name',
|
|
428
351
|
group: AXP_BEHAVIOR_PROPERTY_GROUP,
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
name: 'icon',
|
|
433
|
-
path: 'options.icon',
|
|
434
|
-
type: AXPWidgetsCatalog.text,
|
|
435
|
-
},
|
|
436
|
-
},
|
|
437
|
-
visible: true,
|
|
438
|
-
};
|
|
439
|
-
const AXP_IS_LOADING_PROPERTY = {
|
|
352
|
+
path: 'options.icon',
|
|
353
|
+
});
|
|
354
|
+
const AXP_IS_LOADING_PROPERTY = createBooleanProperty({
|
|
440
355
|
name: 'loading',
|
|
441
356
|
title: 'Is Loading',
|
|
442
357
|
group: AXP_BEHAVIOR_PROPERTY_GROUP,
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
name: 'loading',
|
|
447
|
-
path: 'options.loading',
|
|
448
|
-
type: AXPWidgetsCatalog.toggle,
|
|
449
|
-
},
|
|
450
|
-
},
|
|
451
|
-
visible: true,
|
|
452
|
-
};
|
|
453
|
-
const AXP_HAS_CLEAR_BUTTON_PROPERTY = {
|
|
358
|
+
path: 'options.loading',
|
|
359
|
+
});
|
|
360
|
+
const AXP_HAS_CLEAR_BUTTON_PROPERTY = createBooleanProperty({
|
|
454
361
|
name: 'hasClearButton',
|
|
455
362
|
title: 'Clear Button',
|
|
363
|
+
path: 'options.hasClearButton',
|
|
456
364
|
group: AXP_BEHAVIOR_PROPERTY_GROUP,
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
name: 'hasClearButton',
|
|
461
|
-
path: 'options.hasClearButton',
|
|
462
|
-
type: AXPWidgetsCatalog.toggle,
|
|
463
|
-
},
|
|
464
|
-
},
|
|
465
|
-
visible: true,
|
|
466
|
-
};
|
|
467
|
-
const AXP_HAS_COPY_ICON_PROPERTY = {
|
|
365
|
+
defaultValue: true,
|
|
366
|
+
});
|
|
367
|
+
const AXP_HAS_COPY_ICON_PROPERTY = createBooleanProperty({
|
|
468
368
|
name: 'hasCopyIcon',
|
|
469
369
|
title: 'Copy Icon',
|
|
370
|
+
path: 'options.hasCopyIcon',
|
|
470
371
|
group: AXP_BEHAVIOR_PROPERTY_GROUP,
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
name: 'hasCopyIcon',
|
|
475
|
-
path: 'options.hasCopyIcon',
|
|
476
|
-
type: AXPWidgetsCatalog.toggle,
|
|
477
|
-
},
|
|
478
|
-
},
|
|
479
|
-
visible: true,
|
|
480
|
-
};
|
|
481
|
-
const AXP_HAS_EYE_ICON_PROPERTY = {
|
|
372
|
+
defaultValue: true,
|
|
373
|
+
});
|
|
374
|
+
const AXP_HAS_EYE_ICON_PROPERTY = createBooleanProperty({
|
|
482
375
|
name: 'hasEyeIcon',
|
|
483
376
|
title: 'Eye Icon',
|
|
377
|
+
path: 'options.hasEyeIcon',
|
|
484
378
|
group: AXP_BEHAVIOR_PROPERTY_GROUP,
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
name: 'hasEyeIcon',
|
|
489
|
-
path: 'options.hasEyeIcon',
|
|
490
|
-
type: AXPWidgetsCatalog.toggle,
|
|
491
|
-
},
|
|
492
|
-
},
|
|
493
|
-
visible: true,
|
|
494
|
-
};
|
|
495
|
-
const AXP_DOWNLOADABLE_PROPERTY = {
|
|
379
|
+
defaultValue: true,
|
|
380
|
+
});
|
|
381
|
+
const AXP_DOWNLOADABLE_PROPERTY = createBooleanProperty({
|
|
496
382
|
name: 'downloadable',
|
|
497
383
|
title: 'Downloadable',
|
|
384
|
+
path: 'options.downloadable',
|
|
498
385
|
group: AXP_BEHAVIOR_PROPERTY_GROUP,
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
path: 'options.downloadable',
|
|
504
|
-
type: AXPWidgetsCatalog.toggle,
|
|
505
|
-
},
|
|
506
|
-
},
|
|
507
|
-
visible: true,
|
|
508
|
-
};
|
|
509
|
-
const AXP_TRULY_TEXT_PROPERTY = {
|
|
386
|
+
defaultValue: true,
|
|
387
|
+
});
|
|
388
|
+
// Converted with createStringProperty
|
|
389
|
+
const AXP_TRULY_TEXT_PROPERTY = createStringProperty({
|
|
510
390
|
name: 'trulyText',
|
|
511
391
|
title: 'Truly Text',
|
|
392
|
+
path: 'options.trulyText',
|
|
512
393
|
group: AXP_BEHAVIOR_PROPERTY_GROUP,
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
interface: {
|
|
516
|
-
name: 'trulyText',
|
|
517
|
-
path: 'options.trulyText',
|
|
518
|
-
type: AXPWidgetsCatalog.text,
|
|
519
|
-
},
|
|
520
|
-
},
|
|
521
|
-
visible: true,
|
|
522
|
-
};
|
|
523
|
-
const AXP_FALSY_TEXT_PROPERTY = {
|
|
394
|
+
});
|
|
395
|
+
const AXP_FALSY_TEXT_PROPERTY = createStringProperty({
|
|
524
396
|
name: 'falsyText',
|
|
525
397
|
title: 'Falsy Text',
|
|
398
|
+
path: 'options.falsyText',
|
|
526
399
|
group: AXP_BEHAVIOR_PROPERTY_GROUP,
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
interface: {
|
|
530
|
-
name: 'falsyText',
|
|
531
|
-
path: 'options.falsyText',
|
|
532
|
-
type: AXPWidgetsCatalog.text,
|
|
533
|
-
},
|
|
534
|
-
},
|
|
535
|
-
visible: true,
|
|
536
|
-
};
|
|
537
|
-
const AXP_TEXT_PROPERTY = {
|
|
400
|
+
});
|
|
401
|
+
const AXP_TEXT_PROPERTY = createStringProperty({
|
|
538
402
|
name: 'text',
|
|
539
403
|
title: 'Text',
|
|
404
|
+
path: 'options.text',
|
|
540
405
|
group: AXP_BEHAVIOR_PROPERTY_GROUP,
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
interface: {
|
|
544
|
-
name: 'text',
|
|
545
|
-
path: 'options.text',
|
|
546
|
-
type: AXPWidgetsCatalog.text,
|
|
547
|
-
},
|
|
548
|
-
},
|
|
549
|
-
visible: true,
|
|
550
|
-
};
|
|
551
|
-
const AXP_TITLE_PROPERTY = {
|
|
406
|
+
});
|
|
407
|
+
const AXP_TITLE_PROPERTY = createStringProperty({
|
|
552
408
|
name: 'title',
|
|
553
409
|
title: 'Title',
|
|
410
|
+
path: 'options.title',
|
|
554
411
|
group: AXP_BEHAVIOR_PROPERTY_GROUP,
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
interface: {
|
|
558
|
-
name: 'title',
|
|
559
|
-
path: 'options.title',
|
|
560
|
-
type: AXPWidgetsCatalog.text,
|
|
561
|
-
},
|
|
562
|
-
},
|
|
563
|
-
visible: true,
|
|
564
|
-
};
|
|
565
|
-
const AXP_LABEL_PROPERTY = {
|
|
412
|
+
});
|
|
413
|
+
const AXP_LABEL_PROPERTY = createStringProperty({
|
|
566
414
|
name: 'label',
|
|
567
415
|
title: 'Label',
|
|
416
|
+
path: 'options.label',
|
|
568
417
|
group: AXP_BEHAVIOR_PROPERTY_GROUP,
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
interface: {
|
|
573
|
-
name: 'label',
|
|
574
|
-
path: 'options.label',
|
|
575
|
-
type: AXPWidgetsCatalog.text,
|
|
576
|
-
},
|
|
577
|
-
},
|
|
578
|
-
visible: true,
|
|
579
|
-
};
|
|
580
|
-
const AXP_VALUE_FIELD_PROPERTY = {
|
|
418
|
+
defaultValue: 'Sample Label',
|
|
419
|
+
});
|
|
420
|
+
const AXP_VALUE_FIELD_PROPERTY = createStringProperty({
|
|
581
421
|
name: 'valueField',
|
|
582
422
|
title: 'Value Field',
|
|
423
|
+
path: 'options.valueField',
|
|
583
424
|
group: AXP_DATA_PROPERTY_GROUP,
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
interface: {
|
|
587
|
-
name: 'valueField',
|
|
588
|
-
path: 'options.valueField',
|
|
589
|
-
type: AXPWidgetsCatalog.text,
|
|
590
|
-
},
|
|
591
|
-
},
|
|
592
|
-
visible: true,
|
|
593
|
-
};
|
|
594
|
-
const AXP_TEXT_FIELD_PROPERTY = {
|
|
425
|
+
});
|
|
426
|
+
const AXP_TEXT_FIELD_PROPERTY = createStringProperty({
|
|
595
427
|
name: 'textField',
|
|
596
428
|
title: 'Text Field',
|
|
429
|
+
path: 'options.textField',
|
|
597
430
|
group: AXP_DATA_PROPERTY_GROUP,
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
interface: {
|
|
601
|
-
name: 'textField',
|
|
602
|
-
path: 'options.textField',
|
|
603
|
-
type: AXPWidgetsCatalog.text,
|
|
604
|
-
},
|
|
605
|
-
},
|
|
606
|
-
visible: true,
|
|
607
|
-
};
|
|
608
|
-
const AXP_DESCRIPTION_PROPERTY = {
|
|
431
|
+
});
|
|
432
|
+
const AXP_DESCRIPTION_PROPERTY = createStringProperty({
|
|
609
433
|
name: 'description',
|
|
610
434
|
title: 'Description',
|
|
435
|
+
path: 'options.description',
|
|
611
436
|
group: AXP_BEHAVIOR_PROPERTY_GROUP,
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
interface: {
|
|
615
|
-
name: 'description',
|
|
616
|
-
path: 'options.description',
|
|
617
|
-
type: AXPWidgetsCatalog.text,
|
|
618
|
-
},
|
|
619
|
-
},
|
|
620
|
-
visible: true,
|
|
621
|
-
};
|
|
622
|
-
const AXP_STYLE_COLOR_PROPERTY = {
|
|
437
|
+
});
|
|
438
|
+
const AXP_STYLE_COLOR_PROPERTY = createSelectProperty({
|
|
623
439
|
name: 'color',
|
|
624
440
|
title: 'Color',
|
|
441
|
+
dataSource: AX_STYLE_COLOR_TYPES,
|
|
442
|
+
defaultValue: 'primary',
|
|
443
|
+
path: 'options.color',
|
|
625
444
|
group: AXP_STYLING_PROPERTY_GROUP,
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
defaultValue: { id: 'primary' },
|
|
629
|
-
interface: {
|
|
630
|
-
name: 'color',
|
|
631
|
-
path: 'options.color',
|
|
632
|
-
type: AXPWidgetsCatalog.select,
|
|
633
|
-
options: {
|
|
634
|
-
dataSource: AX_STYLE_COLOR_TYPES.map((i) => ({ id: i, title: i })),
|
|
635
|
-
hasClearButton: true,
|
|
636
|
-
},
|
|
637
|
-
},
|
|
638
|
-
},
|
|
639
|
-
visible: true,
|
|
640
|
-
};
|
|
641
|
-
const AXP_STYLE_LOOK_PROPERTY = {
|
|
445
|
+
});
|
|
446
|
+
const AXP_STYLE_LOOK_PROPERTY = createSelectProperty({
|
|
642
447
|
name: 'look',
|
|
643
448
|
title: 'Look',
|
|
449
|
+
dataSource: AX_STYLE_LOOK_TYPES,
|
|
450
|
+
defaultValue: 'solid',
|
|
451
|
+
path: 'options.look',
|
|
644
452
|
group: AXP_STYLING_PROPERTY_GROUP,
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
defaultValue: { id: 'solid' },
|
|
648
|
-
interface: {
|
|
649
|
-
name: 'look',
|
|
650
|
-
path: 'options.look',
|
|
651
|
-
type: AXPWidgetsCatalog.select,
|
|
652
|
-
options: {
|
|
653
|
-
dataSource: ['solid', 'blank', 'outline', 'twotone', 'flat', 'fill', 'none'].map((i) => ({ id: i, title: i })), //TODO remove this array and use AX_STYLE_LOOK_TYPES instead
|
|
654
|
-
},
|
|
655
|
-
},
|
|
656
|
-
},
|
|
657
|
-
visible: true,
|
|
658
|
-
};
|
|
659
|
-
const AXP_DATE_FROMAT_PROPERTY = {
|
|
453
|
+
});
|
|
454
|
+
const AXP_DATE_FORMAT_PROPERTY = createSelectProperty({
|
|
660
455
|
name: 'format',
|
|
661
456
|
title: 'Format',
|
|
457
|
+
dataSource: [
|
|
458
|
+
{ id: 'date', title: 'Date' },
|
|
459
|
+
{ id: 'datetime', title: 'DateTime' },
|
|
460
|
+
{ id: 'time', title: 'Time' },
|
|
461
|
+
],
|
|
462
|
+
defaultValue: { id: 'date', title: 'date' },
|
|
463
|
+
path: 'options.format',
|
|
662
464
|
group: AXP_BEHAVIOR_PROPERTY_GROUP,
|
|
663
|
-
|
|
664
|
-
dataType: 'string',
|
|
665
|
-
defaultValue: { id: 'date', title: 'Date' },
|
|
666
|
-
interface: {
|
|
667
|
-
name: 'format',
|
|
668
|
-
path: 'options.format',
|
|
669
|
-
type: AXPWidgetsCatalog.select,
|
|
670
|
-
options: {
|
|
671
|
-
dataSource: [
|
|
672
|
-
{ id: 'date', title: 'Date' },
|
|
673
|
-
{ id: 'datetime', title: 'DateTime' },
|
|
674
|
-
{ id: 'time', title: 'Time' },
|
|
675
|
-
],
|
|
676
|
-
},
|
|
677
|
-
},
|
|
678
|
-
},
|
|
679
|
-
visible: true,
|
|
680
|
-
};
|
|
465
|
+
});
|
|
681
466
|
function booleanDefaultProperty(defaultValue = false) {
|
|
682
467
|
return {
|
|
683
468
|
name: 'defaultValue',
|
|
@@ -1061,7 +846,7 @@ const AXPButtonWidget = {
|
|
|
1061
846
|
],
|
|
1062
847
|
components: {
|
|
1063
848
|
designer: {
|
|
1064
|
-
component: () => import('./acorex-platform-widgets-button-widget-designer.component-
|
|
849
|
+
component: () => import('./acorex-platform-widgets-button-widget-designer.component-B9bfVuC4.mjs').then((c) => c.AXPButtonWidgetDesignerComponent),
|
|
1065
850
|
},
|
|
1066
851
|
view: {
|
|
1067
852
|
component: () => Promise.resolve().then(function () { return buttonWidgetView_component; }).then((c) => c.AXPButtonWidgetViewComponent),
|
|
@@ -1133,7 +918,7 @@ const AXPCheckBoxWidget = {
|
|
|
1133
918
|
],
|
|
1134
919
|
components: {
|
|
1135
920
|
designer: {
|
|
1136
|
-
component: () => import('./acorex-platform-widgets-checkbox-widget-designer.component-
|
|
921
|
+
component: () => import('./acorex-platform-widgets-checkbox-widget-designer.component-DzGg-uFi.mjs').then((c) => c.AXPCheckBoxWidgetDesignerComponent),
|
|
1137
922
|
},
|
|
1138
923
|
view: {
|
|
1139
924
|
component: () => import('./acorex-platform-widgets-checkbox-widget-view.component-tPk6Gylo.mjs').then((c) => c.AXPCheckBoxWidgetViewComponent),
|
|
@@ -1260,6 +1045,8 @@ class AXPContactWidgetEditComponent extends AXPWidgetComponent {
|
|
|
1260
1045
|
this.multiple = computed(() => this.options()['multiple']);
|
|
1261
1046
|
this.hasIcon = computed(() => this.options()['hasIcon']);
|
|
1262
1047
|
this.disabled = computed(() => this.options()['disabled']);
|
|
1048
|
+
this.placeholder = computed(() => this.options()['placeholder'] ?? `Enter ${this.type()} ...`);
|
|
1049
|
+
this.format = signal(undefined);
|
|
1263
1050
|
this.popup = inject(AXPopupService);
|
|
1264
1051
|
this.dataSource = new AXDataSource({
|
|
1265
1052
|
pageSize: this.labelList().length,
|
|
@@ -1302,15 +1089,14 @@ class AXPContactWidgetEditComponent extends AXPWidgetComponent {
|
|
|
1302
1089
|
return 'fa-info';
|
|
1303
1090
|
}
|
|
1304
1091
|
};
|
|
1305
|
-
effect(() => console.log(this.type()));
|
|
1306
1092
|
}
|
|
1307
1093
|
addItem() {
|
|
1308
1094
|
const newValues = [...this.internalValue(), this.emptyValue()];
|
|
1309
|
-
this.setValue(newValues);
|
|
1095
|
+
this.setValue(this.setFormatedValue(newValues));
|
|
1310
1096
|
}
|
|
1311
1097
|
deleteItem(deletedIndex) {
|
|
1312
1098
|
const newValues = this.internalValue().filter((_, index) => index != deletedIndex);
|
|
1313
|
-
this.setValue(newValues);
|
|
1099
|
+
this.setValue(this.setFormatedValue(newValues));
|
|
1314
1100
|
}
|
|
1315
1101
|
async handleValueChange(e, selectedIndex) {
|
|
1316
1102
|
let { name, value, isUserInteraction } = e;
|
|
@@ -1335,10 +1121,11 @@ class AXPContactWidgetEditComponent extends AXPWidgetComponent {
|
|
|
1335
1121
|
}
|
|
1336
1122
|
}
|
|
1337
1123
|
const newValues = this.internalValue().map((item, index) => selectedIndex === index ? { ...item, [name]: value } : item);
|
|
1338
|
-
if (this.multiple())
|
|
1339
|
-
this.setValue(newValues);
|
|
1124
|
+
if (this.multiple()) {
|
|
1125
|
+
this.setValue(this.setFormatedValue(newValues));
|
|
1126
|
+
}
|
|
1340
1127
|
else
|
|
1341
|
-
this.setValue(newValues[0]);
|
|
1128
|
+
this.setValue(this.setFormatedValue(newValues[0]));
|
|
1342
1129
|
}
|
|
1343
1130
|
}
|
|
1344
1131
|
generateClasses(element) {
|
|
@@ -1380,12 +1167,18 @@ class AXPContactWidgetEditComponent extends AXPWidgetComponent {
|
|
|
1380
1167
|
this._validationRules = v;
|
|
1381
1168
|
}
|
|
1382
1169
|
valueToArray() {
|
|
1170
|
+
if (this.hasIcon() || this.hasLabel()) {
|
|
1171
|
+
this.format.set('object');
|
|
1172
|
+
}
|
|
1173
|
+
else {
|
|
1174
|
+
this.format.set('string');
|
|
1175
|
+
}
|
|
1383
1176
|
const value = this.getValue();
|
|
1384
1177
|
if (Array.isArray(value)) {
|
|
1385
1178
|
return value.map((item) => this.itemToArray(item));
|
|
1386
1179
|
}
|
|
1387
1180
|
else {
|
|
1388
|
-
return [this.itemToArray(value)];
|
|
1181
|
+
return [this.itemToArray(value ?? '')];
|
|
1389
1182
|
}
|
|
1390
1183
|
}
|
|
1391
1184
|
emptyValue() {
|
|
@@ -1393,6 +1186,14 @@ class AXPContactWidgetEditComponent extends AXPWidgetComponent {
|
|
|
1393
1186
|
value: '',
|
|
1394
1187
|
};
|
|
1395
1188
|
}
|
|
1189
|
+
setFormatedValue(items) {
|
|
1190
|
+
if (this.format() === 'string') {
|
|
1191
|
+
return Array.isArray(items) ? items.map((x) => x.value) : items.value;
|
|
1192
|
+
}
|
|
1193
|
+
else {
|
|
1194
|
+
return items;
|
|
1195
|
+
}
|
|
1196
|
+
}
|
|
1396
1197
|
get __class() {
|
|
1397
1198
|
const cls = {};
|
|
1398
1199
|
cls[`ax-block`] = true;
|
|
@@ -1407,7 +1208,7 @@ class AXPContactWidgetEditComponent extends AXPWidgetComponent {
|
|
|
1407
1208
|
(onValueChanged)="handleValueChange($event, $index)"
|
|
1408
1209
|
type="text"
|
|
1409
1210
|
name="value"
|
|
1410
|
-
placeholder="
|
|
1211
|
+
[placeholder]="placeholder()"
|
|
1411
1212
|
[ngClass]="generateClasses('value')"
|
|
1412
1213
|
[disabled]="disabled()"
|
|
1413
1214
|
>
|
|
@@ -1418,7 +1219,6 @@ class AXPContactWidgetEditComponent extends AXPWidgetComponent {
|
|
|
1418
1219
|
[options]="validation.options"
|
|
1419
1220
|
></ax-validation-rule>
|
|
1420
1221
|
}
|
|
1421
|
-
<ax-validation-rule message="field can't be empty" rule="required"> </ax-validation-rule>
|
|
1422
1222
|
</ax-text-box>
|
|
1423
1223
|
@if(hasLabel()){
|
|
1424
1224
|
<ax-select-box
|
|
@@ -1426,13 +1226,10 @@ class AXPContactWidgetEditComponent extends AXPWidgetComponent {
|
|
|
1426
1226
|
[ngModel]="item.label"
|
|
1427
1227
|
[disabled]="disabled()"
|
|
1428
1228
|
(onValueChanged)="handleValueChange($event, $index)"
|
|
1429
|
-
placeholder="
|
|
1229
|
+
placeholder="{{ 'selectbox.popover.title' | translate | async }}"
|
|
1430
1230
|
name="label"
|
|
1431
1231
|
[ngClass]="generateClasses('label')"
|
|
1432
1232
|
>
|
|
1433
|
-
@if(type()==='email'){
|
|
1434
|
-
<ax-validation-rule [rule]="'email'"></ax-validation-rule>
|
|
1435
|
-
}
|
|
1436
1233
|
</ax-select-box>
|
|
1437
1234
|
} @if(multiple()){
|
|
1438
1235
|
<ax-button
|
|
@@ -1458,7 +1255,7 @@ class AXPContactWidgetEditComponent extends AXPWidgetComponent {
|
|
|
1458
1255
|
</ax-prefix>
|
|
1459
1256
|
</ax-button>
|
|
1460
1257
|
}
|
|
1461
|
-
</div> `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXSelectBoxModule }, { kind: "component", type: i3$1.AXSelectBoxComponent, selector: "ax-select-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "minValue", "maxValue", "value", "state", "name", "id", "type", "look", "multiple", "valueField", "textField", "textTemplate", "dataSource", "caption", "itemTemplate", "selectedTemplate", "emptyTemplate", "loadingTemplate", "dropdownWidth"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "onOpened", "onClosed"] }, { kind: "ngmodule", type: AXFormModule }, { kind: "directive", type: i4$1.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message"] }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i5.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type", "responsiveOn", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "responsiveOnChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i3.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-sub-title, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXTextBoxModule }, { kind: "component", type: i7.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: AXValidationModule }, { kind: "ngmodule", type: AXTranslationModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1258
|
+
</div> `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "pipe", type: i1$3.AsyncPipe, name: "async" }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXSelectBoxModule }, { kind: "component", type: i3$1.AXSelectBoxComponent, selector: "ax-select-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "minValue", "maxValue", "value", "state", "name", "id", "type", "look", "multiple", "valueField", "textField", "textTemplate", "dataSource", "caption", "itemTemplate", "selectedTemplate", "emptyTemplate", "loadingTemplate", "dropdownWidth"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "onOpened", "onClosed"] }, { kind: "ngmodule", type: AXFormModule }, { kind: "directive", type: i4$1.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message"] }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i5.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type", "responsiveOn", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "responsiveOnChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i3.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-sub-title, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXTextBoxModule }, { kind: "component", type: i7.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: AXValidationModule }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "pipe", type: i1$2.AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1462
1259
|
}
|
|
1463
1260
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPContactWidgetEditComponent, decorators: [{
|
|
1464
1261
|
type: Component,
|
|
@@ -1470,7 +1267,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
|
1470
1267
|
(onValueChanged)="handleValueChange($event, $index)"
|
|
1471
1268
|
type="text"
|
|
1472
1269
|
name="value"
|
|
1473
|
-
placeholder="
|
|
1270
|
+
[placeholder]="placeholder()"
|
|
1474
1271
|
[ngClass]="generateClasses('value')"
|
|
1475
1272
|
[disabled]="disabled()"
|
|
1476
1273
|
>
|
|
@@ -1481,7 +1278,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
|
1481
1278
|
[options]="validation.options"
|
|
1482
1279
|
></ax-validation-rule>
|
|
1483
1280
|
}
|
|
1484
|
-
<ax-validation-rule message="field can't be empty" rule="required"> </ax-validation-rule>
|
|
1485
1281
|
</ax-text-box>
|
|
1486
1282
|
@if(hasLabel()){
|
|
1487
1283
|
<ax-select-box
|
|
@@ -1489,13 +1285,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
|
1489
1285
|
[ngModel]="item.label"
|
|
1490
1286
|
[disabled]="disabled()"
|
|
1491
1287
|
(onValueChanged)="handleValueChange($event, $index)"
|
|
1492
|
-
placeholder="
|
|
1288
|
+
placeholder="{{ 'selectbox.popover.title' | translate | async }}"
|
|
1493
1289
|
name="label"
|
|
1494
1290
|
[ngClass]="generateClasses('label')"
|
|
1495
1291
|
>
|
|
1496
|
-
@if(type()==='email'){
|
|
1497
|
-
<ax-validation-rule [rule]="'email'"></ax-validation-rule>
|
|
1498
|
-
}
|
|
1499
1292
|
</ax-select-box>
|
|
1500
1293
|
} @if(multiple()){
|
|
1501
1294
|
<ax-button
|
|
@@ -2062,7 +1855,7 @@ const AXPDateTimeBoxWidget = {
|
|
|
2062
1855
|
AXP_NAME_PROPERTY,
|
|
2063
1856
|
AXP_DATA_PATH_PROPERTY,
|
|
2064
1857
|
AXP_ALLOW_MULTIPLE_PROPERTY,
|
|
2065
|
-
|
|
1858
|
+
AXP_DATE_FORMAT_PROPERTY,
|
|
2066
1859
|
AXP_READONLY_PROPERTY,
|
|
2067
1860
|
AXP_DISABLED_PROPERTY,
|
|
2068
1861
|
AXP_VALIDATION_PROPERTY,
|
|
@@ -6666,20 +6459,20 @@ class AXPMapBoxWidgetViewComponent extends AXPWidgetComponent {
|
|
|
6666
6459
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPMapBoxWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
6667
6460
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXPMapBoxWidgetViewComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `<div [style.height.px]="height()" class="ax-w-full">
|
|
6668
6461
|
<ax-map
|
|
6669
|
-
[
|
|
6462
|
+
[hasDraw]="false"
|
|
6670
6463
|
[markers]="markers()"
|
|
6671
6464
|
[zoomLevel]="zoomLevel()"
|
|
6672
6465
|
[latitude]="initialLocation().latitude"
|
|
6673
6466
|
[longitude]="initialLocation().longitude"
|
|
6674
6467
|
></ax-map>
|
|
6675
|
-
</div>`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXMapModule }, { kind: "component", type: i1$6.AXMapComponent, selector: "ax-map", inputs: ["zoomLevel", "latitude", "longitude", "maxMarker", "
|
|
6468
|
+
</div>`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXMapModule }, { kind: "component", type: i1$6.AXMapComponent, selector: "ax-map", inputs: ["zoomLevel", "latitude", "longitude", "maxMarker", "hasDraw", "hasLocator", "markerPlace", "locatePlace", "markers"], outputs: ["onMarkerAdded", "onMarkerChanged", "onLocationFound"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
6676
6469
|
}
|
|
6677
6470
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPMapBoxWidgetViewComponent, decorators: [{
|
|
6678
6471
|
type: Component,
|
|
6679
6472
|
args: [{
|
|
6680
6473
|
template: `<div [style.height.px]="height()" class="ax-w-full">
|
|
6681
6474
|
<ax-map
|
|
6682
|
-
[
|
|
6475
|
+
[hasDraw]="false"
|
|
6683
6476
|
[markers]="markers()"
|
|
6684
6477
|
[zoomLevel]="zoomLevel()"
|
|
6685
6478
|
[latitude]="initialLocation().latitude"
|
|
@@ -6721,6 +6514,9 @@ class AXPMapBoxWidgetEditComponent extends AXPWidgetComponent {
|
|
|
6721
6514
|
},
|
|
6722
6515
|
});
|
|
6723
6516
|
}
|
|
6517
|
+
onMarkerChanged(event) {
|
|
6518
|
+
this.setValue(event);
|
|
6519
|
+
}
|
|
6724
6520
|
get __class() {
|
|
6725
6521
|
const cls = {};
|
|
6726
6522
|
cls[`ax-block`] = true;
|
|
@@ -6731,15 +6527,16 @@ class AXPMapBoxWidgetEditComponent extends AXPWidgetComponent {
|
|
|
6731
6527
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXPMapBoxWidgetEditComponent, isStandalone: true, selector: "ng-component", host: { properties: { "class": "this.__class" } }, usesInheritance: true, ngImport: i0, template: ` <div [style.height.px]="height()" class="ax-w-full">
|
|
6732
6528
|
<ax-map
|
|
6733
6529
|
class="ax-h-full"
|
|
6530
|
+
(onMarkerChanged)="onMarkerChanged($event)"
|
|
6734
6531
|
[hasLocator]="hasLocate()"
|
|
6735
|
-
[
|
|
6532
|
+
[hasDraw]="hasDraw()"
|
|
6736
6533
|
[latitude]="initialLocation().latitude"
|
|
6737
6534
|
[longitude]="initialLocation().longitude"
|
|
6738
6535
|
[zoomLevel]="zoomLevel()"
|
|
6739
6536
|
[maxMarker]="maxMarker()"
|
|
6740
6537
|
>
|
|
6741
6538
|
</ax-map>
|
|
6742
|
-
</div>`, isInline: true, dependencies: [{ kind: "ngmodule", type: AXMapModule }, { kind: "component", type: i1$6.AXMapComponent, selector: "ax-map", inputs: ["zoomLevel", "latitude", "longitude", "maxMarker", "
|
|
6539
|
+
</div>`, isInline: true, dependencies: [{ kind: "ngmodule", type: AXMapModule }, { kind: "component", type: i1$6.AXMapComponent, selector: "ax-map", inputs: ["zoomLevel", "latitude", "longitude", "maxMarker", "hasDraw", "hasLocator", "markerPlace", "locatePlace", "markers"], outputs: ["onMarkerAdded", "onMarkerChanged", "onLocationFound"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
6743
6540
|
}
|
|
6744
6541
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPMapBoxWidgetEditComponent, decorators: [{
|
|
6745
6542
|
type: Component,
|
|
@@ -6747,8 +6544,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
|
6747
6544
|
template: ` <div [style.height.px]="height()" class="ax-w-full">
|
|
6748
6545
|
<ax-map
|
|
6749
6546
|
class="ax-h-full"
|
|
6547
|
+
(onMarkerChanged)="onMarkerChanged($event)"
|
|
6750
6548
|
[hasLocator]="hasLocate()"
|
|
6751
|
-
[
|
|
6549
|
+
[hasDraw]="hasDraw()"
|
|
6752
6550
|
[latitude]="initialLocation().latitude"
|
|
6753
6551
|
[longitude]="initialLocation().longitude"
|
|
6754
6552
|
[zoomLevel]="zoomLevel()"
|
|
@@ -7206,9 +7004,7 @@ class AXPBlockWidgetDesignerComponent extends AXPContainerWidgetComponent {
|
|
|
7206
7004
|
@for (node of children(); track $index) {
|
|
7207
7005
|
<ng-container axp-widget-designer-renderer [node]="node" [parentNode]="this" [mode]="this.mode"></ng-container>
|
|
7208
7006
|
}
|
|
7209
|
-
|
|
7210
|
-
<axp-designer-add-widget-button class="ax-flex-1 ax-self-center ax-place-self-end"></axp-designer-add-widget-button>
|
|
7211
|
-
}
|
|
7007
|
+
<axp-designer-add-widget-button class="ax-flex-1 ax-self-center ax-place-self-end"></axp-designer-add-widget-button>
|
|
7212
7008
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "directive", type: AXPWidgetDesignerRendererDirective, selector: "[axp-widget-designer-renderer]", inputs: ["parentNode", "index", "mode", "node"] }, { kind: "component", type: AXPDesignerAddWidgetButtonComponent, selector: "axp-designer-add-widget-button" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
7213
7009
|
}
|
|
7214
7010
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPBlockWidgetDesignerComponent, decorators: [{
|
|
@@ -7219,9 +7015,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
|
7219
7015
|
@for (node of children(); track $index) {
|
|
7220
7016
|
<ng-container axp-widget-designer-renderer [node]="node" [parentNode]="this" [mode]="this.mode"></ng-container>
|
|
7221
7017
|
}
|
|
7222
|
-
|
|
7223
|
-
<axp-designer-add-widget-button class="ax-flex-1 ax-self-center ax-place-self-end"></axp-designer-add-widget-button>
|
|
7224
|
-
}
|
|
7018
|
+
<axp-designer-add-widget-button class="ax-flex-1 ax-self-center ax-place-self-end"></axp-designer-add-widget-button>
|
|
7225
7019
|
`,
|
|
7226
7020
|
standalone: true,
|
|
7227
7021
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -7348,7 +7142,6 @@ class AXPPageWidgetViewComponent extends AXPWidgetComponent {
|
|
|
7348
7142
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPPageWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
7349
7143
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPPageWidgetViewComponent, isStandalone: true, selector: "axp-page-widget", host: { properties: { "style": "this.__style" } }, usesInheritance: true, ngImport: i0, template: `
|
|
7350
7144
|
@for (node of children(); track $index) {
|
|
7351
|
-
<!-- <axp-widget-renderer [node]="node" [parentNode]="this" [mode]="mode" > </axp-widget-renderer> -->
|
|
7352
7145
|
<ng-container axp-widget-renderer [node]="node" [parentNode]="this" [mode]="this.mode"></ng-container>
|
|
7353
7146
|
}
|
|
7354
7147
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "directive", type: i1$7.AXPWidgetRendererDirective, selector: "[axp-widget-renderer]", inputs: ["parentNode", "index", "mode", "node"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
@@ -7359,7 +7152,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
|
7359
7152
|
selector: 'axp-page-widget',
|
|
7360
7153
|
template: `
|
|
7361
7154
|
@for (node of children(); track $index) {
|
|
7362
|
-
<!-- <axp-widget-renderer [node]="node" [parentNode]="this" [mode]="mode" > </axp-widget-renderer> -->
|
|
7363
7155
|
<ng-container axp-widget-renderer [node]="node" [parentNode]="this" [mode]="this.mode"></ng-container>
|
|
7364
7156
|
}
|
|
7365
7157
|
`,
|
|
@@ -7415,41 +7207,33 @@ class AXPRepeaterWidgetViewComponent extends AXPWidgetComponent {
|
|
|
7415
7207
|
ngAfterViewInit() {
|
|
7416
7208
|
this.rows.set(this.getValue() ?? []);
|
|
7417
7209
|
}
|
|
7418
|
-
addNew() {
|
|
7419
|
-
this.rows.update((prev) => [...prev, {}]);
|
|
7420
|
-
}
|
|
7421
|
-
api() {
|
|
7422
|
-
return {
|
|
7423
|
-
"addNew": this.addNew.bind(this)
|
|
7424
|
-
};
|
|
7425
|
-
}
|
|
7426
7210
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPRepeaterWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
7427
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPRepeaterWidgetViewComponent, isStandalone: true, selector: "
|
|
7428
|
-
@for(row of rows();let i=$index; track i)
|
|
7429
|
-
|
|
7430
|
-
@for (node of children();track $index)
|
|
7431
|
-
|
|
7211
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPRepeaterWidgetViewComponent, isStandalone: true, selector: "axp-repeater-widget", usesInheritance: true, ngImport: i0, template: `
|
|
7212
|
+
@for(row of rows();let i=$index; track i)
|
|
7213
|
+
{
|
|
7214
|
+
@for (node of children();track $index)
|
|
7215
|
+
{
|
|
7216
|
+
<ng-container axp-widget-renderer [node]="node" [parentNode]="this" [index]="i" [mode]="this.mode"></ng-container>
|
|
7432
7217
|
}
|
|
7433
|
-
</ng-container>
|
|
7434
7218
|
}
|
|
7435
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "
|
|
7219
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "directive", type: i1$7.AXPWidgetRendererDirective, selector: "[axp-widget-renderer]", inputs: ["parentNode", "index", "mode", "node"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
7436
7220
|
}
|
|
7437
7221
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPRepeaterWidgetViewComponent, decorators: [{
|
|
7438
7222
|
type: Component,
|
|
7439
7223
|
args: [{
|
|
7224
|
+
selector: 'axp-repeater-widget',
|
|
7440
7225
|
template: `
|
|
7441
|
-
@for(row of rows();let i=$index; track i)
|
|
7442
|
-
|
|
7443
|
-
@for (node of children();track $index)
|
|
7444
|
-
|
|
7226
|
+
@for(row of rows();let i=$index; track i)
|
|
7227
|
+
{
|
|
7228
|
+
@for (node of children();track $index)
|
|
7229
|
+
{
|
|
7230
|
+
<ng-container axp-widget-renderer [node]="node" [parentNode]="this" [index]="i" [mode]="this.mode"></ng-container>
|
|
7445
7231
|
}
|
|
7446
|
-
</ng-container>
|
|
7447
7232
|
}
|
|
7448
7233
|
`,
|
|
7449
7234
|
standalone: true,
|
|
7450
7235
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
7451
7236
|
imports: [CommonModule, FormsModule, AXPLayoutBuilderModule],
|
|
7452
|
-
inputs: [],
|
|
7453
7237
|
}]
|
|
7454
7238
|
}] });
|
|
7455
7239
|
|
|
@@ -7459,27 +7243,139 @@ var repeaterWidgetView_component = /*#__PURE__*/Object.freeze({
|
|
|
7459
7243
|
});
|
|
7460
7244
|
|
|
7461
7245
|
class AXPRepeaterWidgetEditComponent extends AXPWidgetComponent {
|
|
7246
|
+
constructor() {
|
|
7247
|
+
super(...arguments);
|
|
7248
|
+
this.rows = signal([]);
|
|
7249
|
+
this.disabled = computed(() => this.options()["disabled"]);
|
|
7250
|
+
this.hasControls = computed(() => this.options()["hasControls"]);
|
|
7251
|
+
}
|
|
7252
|
+
ngAfterViewInit() {
|
|
7253
|
+
this.rows.set(this.getValue() ?? []);
|
|
7254
|
+
}
|
|
7255
|
+
handleAddItemClick() {
|
|
7256
|
+
this.addNew();
|
|
7257
|
+
}
|
|
7258
|
+
addNew() {
|
|
7259
|
+
this.rows.update((prev) => [...prev, {}]);
|
|
7260
|
+
}
|
|
7261
|
+
api() {
|
|
7262
|
+
return {
|
|
7263
|
+
"addNew": this.addNew.bind(this)
|
|
7264
|
+
};
|
|
7265
|
+
}
|
|
7462
7266
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPRepeaterWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
7463
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
7267
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPRepeaterWidgetEditComponent, isStandalone: true, selector: "axp-repeater-widget", usesInheritance: true, ngImport: i0, template: `
|
|
7268
|
+
@if(hasControls())
|
|
7269
|
+
{
|
|
7270
|
+
<div class="ax-grid ax-grid-cols-12 ax-gap-4">
|
|
7271
|
+
@for(row of rows();let i=$index; track i)
|
|
7272
|
+
{
|
|
7273
|
+
<div class="ax-col-span-11">
|
|
7274
|
+
<ng-container [ngTemplateOutlet]="tpl" [ngTemplateOutletContext]="{index:i}"></ng-container>
|
|
7275
|
+
</div>
|
|
7276
|
+
<ax-button
|
|
7277
|
+
[disabled]="disabled()"
|
|
7278
|
+
look="twotone"
|
|
7279
|
+
color="danger"
|
|
7280
|
+
class="ax-col-start-12 ax-col-end-13 ax-justify-self-end"
|
|
7281
|
+
>
|
|
7282
|
+
<ax-icon icon="fa-regular fa-xmark"></ax-icon>
|
|
7283
|
+
</ax-button>
|
|
7284
|
+
}
|
|
7285
|
+
<ax-button
|
|
7286
|
+
[text]="'Add New'"
|
|
7287
|
+
look="twotone"
|
|
7288
|
+
[disabled]="disabled()"
|
|
7289
|
+
(onClick)="handleAddItemClick()"
|
|
7290
|
+
class="ax-col-start-10 ax-col-end-13"
|
|
7291
|
+
>
|
|
7292
|
+
<ax-prefix>
|
|
7293
|
+
<ax-icon class="fa-solid fa-add"></ax-icon>
|
|
7294
|
+
</ax-prefix>
|
|
7295
|
+
</ax-button>
|
|
7296
|
+
</div>
|
|
7297
|
+
}
|
|
7298
|
+
@else {
|
|
7299
|
+
@for(row of rows();let i=$index; track i)
|
|
7300
|
+
{
|
|
7301
|
+
<ng-container [ngTemplateOutlet]="tpl" [ngTemplateOutletContext]="{index:i}"></ng-container>
|
|
7302
|
+
}
|
|
7303
|
+
}
|
|
7304
|
+
<ng-template #tpl let-index>
|
|
7305
|
+
@for (node of children();track $index)
|
|
7306
|
+
{
|
|
7307
|
+
<ng-container axp-widget-renderer [node]="node" [parentNode]="this" [index]="index" [mode]="this.mode"></ng-container>
|
|
7308
|
+
}
|
|
7309
|
+
</ng-template>
|
|
7310
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i5.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type", "responsiveOn", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "responsiveOnChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i3.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-sub-title, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "directive", type: i1$7.AXPWidgetRendererDirective, selector: "[axp-widget-renderer]", inputs: ["parentNode", "index", "mode", "node"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
7464
7311
|
}
|
|
7465
7312
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPRepeaterWidgetEditComponent, decorators: [{
|
|
7466
7313
|
type: Component,
|
|
7467
7314
|
args: [{
|
|
7468
|
-
|
|
7315
|
+
selector: 'axp-repeater-widget',
|
|
7316
|
+
template: `
|
|
7317
|
+
@if(hasControls())
|
|
7318
|
+
{
|
|
7319
|
+
<div class="ax-grid ax-grid-cols-12 ax-gap-4">
|
|
7320
|
+
@for(row of rows();let i=$index; track i)
|
|
7321
|
+
{
|
|
7322
|
+
<div class="ax-col-span-11">
|
|
7323
|
+
<ng-container [ngTemplateOutlet]="tpl" [ngTemplateOutletContext]="{index:i}"></ng-container>
|
|
7324
|
+
</div>
|
|
7325
|
+
<ax-button
|
|
7326
|
+
[disabled]="disabled()"
|
|
7327
|
+
look="twotone"
|
|
7328
|
+
color="danger"
|
|
7329
|
+
class="ax-col-start-12 ax-col-end-13 ax-justify-self-end"
|
|
7330
|
+
>
|
|
7331
|
+
<ax-icon icon="fa-regular fa-xmark"></ax-icon>
|
|
7332
|
+
</ax-button>
|
|
7333
|
+
}
|
|
7334
|
+
<ax-button
|
|
7335
|
+
[text]="'Add New'"
|
|
7336
|
+
look="twotone"
|
|
7337
|
+
[disabled]="disabled()"
|
|
7338
|
+
(onClick)="handleAddItemClick()"
|
|
7339
|
+
class="ax-col-start-10 ax-col-end-13"
|
|
7340
|
+
>
|
|
7341
|
+
<ax-prefix>
|
|
7342
|
+
<ax-icon class="fa-solid fa-add"></ax-icon>
|
|
7343
|
+
</ax-prefix>
|
|
7344
|
+
</ax-button>
|
|
7345
|
+
</div>
|
|
7346
|
+
}
|
|
7347
|
+
@else {
|
|
7348
|
+
@for(row of rows();let i=$index; track i)
|
|
7349
|
+
{
|
|
7350
|
+
<ng-container [ngTemplateOutlet]="tpl" [ngTemplateOutletContext]="{index:i}"></ng-container>
|
|
7351
|
+
}
|
|
7352
|
+
}
|
|
7353
|
+
<ng-template #tpl let-index>
|
|
7354
|
+
@for (node of children();track $index)
|
|
7355
|
+
{
|
|
7356
|
+
<ng-container axp-widget-renderer [node]="node" [parentNode]="this" [index]="index" [mode]="this.mode"></ng-container>
|
|
7357
|
+
}
|
|
7358
|
+
</ng-template>
|
|
7359
|
+
`,
|
|
7469
7360
|
standalone: true,
|
|
7470
7361
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
7471
|
-
imports: [CommonModule,
|
|
7472
|
-
inputs: []
|
|
7362
|
+
imports: [CommonModule, AXButtonModule, AXDecoratorModule, AXPLayoutBuilderModule],
|
|
7473
7363
|
}]
|
|
7474
7364
|
}] });
|
|
7475
7365
|
|
|
7366
|
+
var repeaterWidgetEdit_component = /*#__PURE__*/Object.freeze({
|
|
7367
|
+
__proto__: null,
|
|
7368
|
+
AXPRepeaterWidgetEditComponent: AXPRepeaterWidgetEditComponent
|
|
7369
|
+
});
|
|
7370
|
+
|
|
7476
7371
|
class AXPRepeaterWidgetPrintComponent extends AXPWidgetComponent {
|
|
7477
7372
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPRepeaterWidgetPrintComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
7478
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXPRepeaterWidgetPrintComponent, isStandalone: true, selector: "
|
|
7373
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXPRepeaterWidgetPrintComponent, isStandalone: true, selector: "axp-repeater-widget", usesInheritance: true, ngImport: i0, template: ``, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
7479
7374
|
}
|
|
7480
7375
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPRepeaterWidgetPrintComponent, decorators: [{
|
|
7481
7376
|
type: Component,
|
|
7482
7377
|
args: [{
|
|
7378
|
+
selector: 'axp-repeater-widget',
|
|
7483
7379
|
template: ``,
|
|
7484
7380
|
standalone: true,
|
|
7485
7381
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -7496,47 +7392,117 @@ var repeaterWidgetPrint_component = /*#__PURE__*/Object.freeze({
|
|
|
7496
7392
|
class AXPRepeaterWidgetDesignerComponent extends AXPContainerWidgetComponent {
|
|
7497
7393
|
constructor() {
|
|
7498
7394
|
super(...arguments);
|
|
7499
|
-
this.
|
|
7395
|
+
this.disabled = computed(() => this.options()["disabled"]);
|
|
7396
|
+
this.hasControls = computed(() => this.options()["hasControls"]);
|
|
7397
|
+
}
|
|
7398
|
+
get __class() {
|
|
7399
|
+
const cls = {};
|
|
7400
|
+
//
|
|
7401
|
+
cls[`ax-block`] = true;
|
|
7402
|
+
cls[`ax-w-full`] = true;
|
|
7403
|
+
return cls;
|
|
7500
7404
|
}
|
|
7501
7405
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPRepeaterWidgetDesignerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
7502
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPRepeaterWidgetDesignerComponent, isStandalone: true, selector: "
|
|
7406
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXPRepeaterWidgetDesignerComponent, isStandalone: true, selector: "axp-repeater-widget", host: { properties: { "class": "this.__class" } }, providers: [
|
|
7503
7407
|
{
|
|
7504
7408
|
provide: AXPContainerWidgetComponent, useExisting: AXPRepeaterWidgetDesignerComponent
|
|
7505
7409
|
}
|
|
7506
7410
|
], usesInheritance: true, ngImport: i0, template: `
|
|
7507
|
-
@
|
|
7508
|
-
|
|
7411
|
+
@if(hasControls())
|
|
7412
|
+
{
|
|
7413
|
+
<div class="ax-grid ax-grid-cols-12 ax-gap-4">
|
|
7414
|
+
<div class="ax-col-span-11 ax-border-dashed ax-border">
|
|
7415
|
+
<ng-container [ngTemplateOutlet]="tpl" ></ng-container>
|
|
7416
|
+
</div>
|
|
7417
|
+
<ax-button
|
|
7418
|
+
[disabled]="disabled()"
|
|
7419
|
+
look="twotone"
|
|
7420
|
+
color="danger"
|
|
7421
|
+
class="ax-col-start-12 ax-col-end-13 ax-justify-self-end"
|
|
7422
|
+
>
|
|
7423
|
+
<ax-icon icon="fa-regular fa-xmark"></ax-icon>
|
|
7424
|
+
</ax-button>
|
|
7425
|
+
<ax-button
|
|
7426
|
+
[text]="'Add New'"
|
|
7427
|
+
look="twotone"
|
|
7428
|
+
[disabled]="disabled()"
|
|
7429
|
+
class="ax-col-start-10 ax-col-end-13"
|
|
7430
|
+
>
|
|
7431
|
+
<ax-prefix>
|
|
7432
|
+
<ax-icon class="fa-solid fa-add"></ax-icon>
|
|
7433
|
+
</ax-prefix>
|
|
7434
|
+
</ax-button>
|
|
7435
|
+
</div>
|
|
7436
|
+
}
|
|
7437
|
+
@else {
|
|
7438
|
+
<ng-container [ngTemplateOutlet]="tpl"></ng-container>
|
|
7439
|
+
}
|
|
7440
|
+
<ng-template #tpl>
|
|
7509
7441
|
@for (node of children();track $index) {
|
|
7510
|
-
<ng-container axp-widget-designer-renderer [node]="node" [parentNode]="this"
|
|
7442
|
+
<ng-container axp-widget-designer-renderer [node]="node" [parentNode]="this" [mode]="this.mode"> </ng-container>
|
|
7511
7443
|
}
|
|
7512
|
-
|
|
7513
|
-
|
|
7514
|
-
|
|
7515
|
-
|
|
7444
|
+
@empty {
|
|
7445
|
+
<axp-designer-add-widget-button class="ax-flex-1 ax-self-center ax-place-self-end axp-empty-space ax-block ax-p-0 " ></axp-designer-add-widget-button>
|
|
7446
|
+
}
|
|
7447
|
+
</ng-template>
|
|
7448
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i5.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type", "responsiveOn", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "responsiveOnChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i3.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-sub-title, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "directive", type: AXPWidgetDesignerRendererDirective, selector: "[axp-widget-designer-renderer]", inputs: ["parentNode", "index", "mode", "node"] }, { kind: "component", type: AXPDesignerAddWidgetButtonComponent, selector: "axp-designer-add-widget-button" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
7516
7449
|
}
|
|
7517
7450
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXPRepeaterWidgetDesignerComponent, decorators: [{
|
|
7518
7451
|
type: Component,
|
|
7519
7452
|
args: [{
|
|
7453
|
+
selector: 'axp-repeater-widget',
|
|
7520
7454
|
template: `
|
|
7521
|
-
@
|
|
7522
|
-
|
|
7455
|
+
@if(hasControls())
|
|
7456
|
+
{
|
|
7457
|
+
<div class="ax-grid ax-grid-cols-12 ax-gap-4">
|
|
7458
|
+
<div class="ax-col-span-11 ax-border-dashed ax-border">
|
|
7459
|
+
<ng-container [ngTemplateOutlet]="tpl" ></ng-container>
|
|
7460
|
+
</div>
|
|
7461
|
+
<ax-button
|
|
7462
|
+
[disabled]="disabled()"
|
|
7463
|
+
look="twotone"
|
|
7464
|
+
color="danger"
|
|
7465
|
+
class="ax-col-start-12 ax-col-end-13 ax-justify-self-end"
|
|
7466
|
+
>
|
|
7467
|
+
<ax-icon icon="fa-regular fa-xmark"></ax-icon>
|
|
7468
|
+
</ax-button>
|
|
7469
|
+
<ax-button
|
|
7470
|
+
[text]="'Add New'"
|
|
7471
|
+
look="twotone"
|
|
7472
|
+
[disabled]="disabled()"
|
|
7473
|
+
class="ax-col-start-10 ax-col-end-13"
|
|
7474
|
+
>
|
|
7475
|
+
<ax-prefix>
|
|
7476
|
+
<ax-icon class="fa-solid fa-add"></ax-icon>
|
|
7477
|
+
</ax-prefix>
|
|
7478
|
+
</ax-button>
|
|
7479
|
+
</div>
|
|
7480
|
+
}
|
|
7481
|
+
@else {
|
|
7482
|
+
<ng-container [ngTemplateOutlet]="tpl"></ng-container>
|
|
7483
|
+
}
|
|
7484
|
+
<ng-template #tpl>
|
|
7523
7485
|
@for (node of children();track $index) {
|
|
7524
|
-
<ng-container axp-widget-designer-renderer [node]="node" [parentNode]="this"
|
|
7486
|
+
<ng-container axp-widget-designer-renderer [node]="node" [parentNode]="this" [mode]="this.mode"> </ng-container>
|
|
7525
7487
|
}
|
|
7526
|
-
|
|
7527
|
-
|
|
7528
|
-
|
|
7488
|
+
@empty {
|
|
7489
|
+
<axp-designer-add-widget-button class="ax-flex-1 ax-self-center ax-place-self-end axp-empty-space ax-block ax-p-0 " ></axp-designer-add-widget-button>
|
|
7490
|
+
}
|
|
7491
|
+
</ng-template>
|
|
7529
7492
|
`,
|
|
7530
7493
|
standalone: true,
|
|
7531
7494
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
7532
|
-
imports: [CommonModule, AXPLayoutBuilderModule, AXPWidgetDesignerRendererDirective, AXPDesignerAddWidgetButtonComponent],
|
|
7495
|
+
imports: [CommonModule, AXButtonModule, AXDecoratorModule, AXPLayoutBuilderModule, AXPWidgetDesignerRendererDirective, AXPDesignerAddWidgetButtonComponent],
|
|
7533
7496
|
providers: [
|
|
7534
7497
|
{
|
|
7535
7498
|
provide: AXPContainerWidgetComponent, useExisting: AXPRepeaterWidgetDesignerComponent
|
|
7536
7499
|
}
|
|
7537
7500
|
]
|
|
7538
7501
|
}]
|
|
7539
|
-
}]
|
|
7502
|
+
}], propDecorators: { __class: [{
|
|
7503
|
+
type: HostBinding,
|
|
7504
|
+
args: ['class']
|
|
7505
|
+
}] } });
|
|
7540
7506
|
|
|
7541
7507
|
var repeaterWidgetDesigner_component = /*#__PURE__*/Object.freeze({
|
|
7542
7508
|
__proto__: null,
|
|
@@ -7550,12 +7516,24 @@ const AXPRepeaterWidget = {
|
|
|
7550
7516
|
icon: 'fa-solid fa-table-list',
|
|
7551
7517
|
group: AXP_WIDGETS_LAYOUT_GROUP,
|
|
7552
7518
|
type: 'container',
|
|
7519
|
+
properties: [
|
|
7520
|
+
AXP_NAME_PROPERTY,
|
|
7521
|
+
AXP_DATA_PATH_PROPERTY,
|
|
7522
|
+
AXP_DISABLED_PROPERTY,
|
|
7523
|
+
createBooleanProperty({
|
|
7524
|
+
name: "hasControls",
|
|
7525
|
+
title: "Controls",
|
|
7526
|
+
group: AXP_BEHAVIOR_PROPERTY_GROUP,
|
|
7527
|
+
defaultValue: true,
|
|
7528
|
+
path: "options.hasControls",
|
|
7529
|
+
})
|
|
7530
|
+
],
|
|
7553
7531
|
components: {
|
|
7554
7532
|
view: {
|
|
7555
7533
|
component: () => Promise.resolve().then(function () { return repeaterWidgetView_component; }).then((c) => c.AXPRepeaterWidgetViewComponent),
|
|
7556
7534
|
},
|
|
7557
7535
|
edit: {
|
|
7558
|
-
component: () => Promise.resolve().then(function () { return
|
|
7536
|
+
component: () => Promise.resolve().then(function () { return repeaterWidgetEdit_component; }).then((c) => c.AXPRepeaterWidgetEditComponent),
|
|
7559
7537
|
},
|
|
7560
7538
|
print: {
|
|
7561
7539
|
component: () => Promise.resolve().then(function () { return repeaterWidgetPrint_component; }).then((c) => c.AXPRepeaterWidgetPrintComponent),
|
|
@@ -7884,7 +7862,6 @@ class AXPFormFieldWidgetViewComponent extends AXPWidgetComponent {
|
|
|
7884
7862
|
<ax-label>{{ label() }}</ax-label>
|
|
7885
7863
|
@for (node of children(); track $index) {
|
|
7886
7864
|
<ng-container axp-widget-renderer [node]="node" [parentNode]="this" [mode]="this.mode"> </ng-container>
|
|
7887
|
-
<!-- <axp-widget-renderer [node]="node" [parentNode]="this" [mode]="this.mode"> </axp-widget-renderer> -->
|
|
7888
7865
|
}
|
|
7889
7866
|
</ax-form-field>
|
|
7890
7867
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXFormModule }, { kind: "component", type: i4$1.AXFormFieldComponent, selector: "ax-form-field", inputs: ["labelMode"] }, { kind: "ngmodule", type: AXLabelModule }, { kind: "component", type: i2.AXLabelComponent, selector: "ax-label", inputs: ["required", "for"], outputs: ["requiredChange"] }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "directive", type: i1$7.AXPWidgetRendererDirective, selector: "[axp-widget-renderer]", inputs: ["parentNode", "index", "mode", "node"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
@@ -7898,7 +7875,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
|
7898
7875
|
<ax-label>{{ label() }}</ax-label>
|
|
7899
7876
|
@for (node of children(); track $index) {
|
|
7900
7877
|
<ng-container axp-widget-renderer [node]="node" [parentNode]="this" [mode]="this.mode"> </ng-container>
|
|
7901
|
-
<!-- <axp-widget-renderer [node]="node" [parentNode]="this" [mode]="this.mode"> </axp-widget-renderer> -->
|
|
7902
7878
|
}
|
|
7903
7879
|
</ax-form-field>
|
|
7904
7880
|
`,
|
|
@@ -8013,7 +7989,6 @@ class AXPGridWidgetViewComponent extends AXPWidgetComponent {
|
|
|
8013
7989
|
<div class="ax-grid ax-grid-cols-{{ cols() }} ax-grid-rows-{{ rows() }} ax-gap-{{ gap() }}">
|
|
8014
7990
|
@for (child of children(); track $index) {
|
|
8015
7991
|
<ng-container axp-widget-renderer [node]="child" [parentNode]="this" [mode]="this.mode"> </ng-container>
|
|
8016
|
-
<!-- <axp-widget-renderer [node]="child" [parentNode]="this" [mode]="this.mode"> </axp-widget-renderer> -->
|
|
8017
7992
|
}
|
|
8018
7993
|
</div>
|
|
8019
7994
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "directive", type: i1$7.AXPWidgetRendererDirective, selector: "[axp-widget-renderer]", inputs: ["parentNode", "index", "mode", "node"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
@@ -8025,7 +8000,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
|
8025
8000
|
<div class="ax-grid ax-grid-cols-{{ cols() }} ax-grid-rows-{{ rows() }} ax-gap-{{ gap() }}">
|
|
8026
8001
|
@for (child of children(); track $index) {
|
|
8027
8002
|
<ng-container axp-widget-renderer [node]="child" [parentNode]="this" [mode]="this.mode"> </ng-container>
|
|
8028
|
-
<!-- <axp-widget-renderer [node]="child" [parentNode]="this" [mode]="this.mode"> </axp-widget-renderer> -->
|
|
8029
8003
|
}
|
|
8030
8004
|
</div>
|
|
8031
8005
|
`,
|
|
@@ -8249,9 +8223,7 @@ class AXPGridItemWidgetViewComponent extends AXPContainerWidgetComponent {
|
|
|
8249
8223
|
},
|
|
8250
8224
|
], usesInheritance: true, ngImport: i0, template: `
|
|
8251
8225
|
@for (child of children(); track $index) {
|
|
8252
|
-
<!-- <axp-widget-renderer [node]="child" [parentNode]="this" [mode]="this.mode"></axp-widget-renderer> -->
|
|
8253
8226
|
<ng-container axp-widget-renderer [node]="child" [parentNode]="this" [mode]="this.mode"> </ng-container>
|
|
8254
|
-
|
|
8255
8227
|
}
|
|
8256
8228
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "directive", type: i1$7.AXPWidgetRendererDirective, selector: "[axp-widget-renderer]", inputs: ["parentNode", "index", "mode", "node"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
8257
8229
|
}
|
|
@@ -8260,9 +8232,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
|
8260
8232
|
args: [{
|
|
8261
8233
|
template: `
|
|
8262
8234
|
@for (child of children(); track $index) {
|
|
8263
|
-
<!-- <axp-widget-renderer [node]="child" [parentNode]="this" [mode]="this.mode"></axp-widget-renderer> -->
|
|
8264
8235
|
<ng-container axp-widget-renderer [node]="child" [parentNode]="this" [mode]="this.mode"> </ng-container>
|
|
8265
|
-
|
|
8266
8236
|
}
|
|
8267
8237
|
`,
|
|
8268
8238
|
standalone: true,
|
|
@@ -8451,7 +8421,6 @@ class AXPGridRowWidgetViewComponent extends AXPWidgetComponent {
|
|
|
8451
8421
|
<div class="ax-grid ax-grid-cols-{{ cols() }} ax-grid-rows-{{ rows() }} ax-gap-{{ gap() }}">
|
|
8452
8422
|
@for (child of children(); track $index) {
|
|
8453
8423
|
<ng-container axp-widget-renderer [node]="child" [parentNode]="this" [mode]="this.mode"> </ng-container>
|
|
8454
|
-
<!-- <axp-widget-renderer [node]="child" [parentNode]="this" [mode]="this.mode"> </axp-widget-renderer> -->
|
|
8455
8424
|
}
|
|
8456
8425
|
</div>
|
|
8457
8426
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "directive", type: i1$7.AXPWidgetRendererDirective, selector: "[axp-widget-renderer]", inputs: ["parentNode", "index", "mode", "node"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
@@ -8463,7 +8432,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
|
8463
8432
|
<div class="ax-grid ax-grid-cols-{{ cols() }} ax-grid-rows-{{ rows() }} ax-gap-{{ gap() }}">
|
|
8464
8433
|
@for (child of children(); track $index) {
|
|
8465
8434
|
<ng-container axp-widget-renderer [node]="child" [parentNode]="this" [mode]="this.mode"> </ng-container>
|
|
8466
|
-
<!-- <axp-widget-renderer [node]="child" [parentNode]="this" [mode]="this.mode"> </axp-widget-renderer> -->
|
|
8467
8435
|
}
|
|
8468
8436
|
</div>
|
|
8469
8437
|
`,
|
|
@@ -8768,5 +8736,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
|
8768
8736
|
* Generated bundle index. Do not edit.
|
|
8769
8737
|
*/
|
|
8770
8738
|
|
|
8771
|
-
export { AXPBlockWidget, AXPBlockWidgetDesignerComponent, AXPBlockWidgetViewComponent, AXPButtonWidget, AXPButtonWidgetViewComponent, AXPCheckBoxWidget, AXPCheckBoxWidgetEditComponent, AXPContactWidget, AXPContactWidgetColumnComponent, AXPContactWidgetEditComponent, AXPContactWidgetPrintComponent, AXPContactWidgetViewComponent, AXPDateTimeBoxWidget, AXPDateTimeBoxWidgetColumnComponent, AXPDateTimeBoxWidgetEditComponent, AXPDateTimeBoxWidgetFilterComponent, AXPDateTimeBoxWidgetPrintComponent, AXPDateTimeBoxWidgetViewComponent, AXPEmailBoxWidget, AXPEmailBoxWidgetColumnComponent, AXPEmailBoxWidgetEditComponent, AXPEmailBoxWidgetFilterComponent, AXPEmailBoxWidgetPrintComponent, AXPEmailBoxWidgetViewComponent, AXPFileBoxWidget, AXPFileBoxWidgetColumnComponent, AXPFileBoxWidgetEditComponent, AXPFileBoxWidgetFilterComponent, AXPFileBoxWidgetPrintComponent, AXPFileBoxWidgetViewComponent, AXPFileManagementService, AXPGalleryWidget, AXPGalleryWidgetColumnComponent, AXPGalleryWidgetEditComponent, AXPGalleryWidgetFilterComponent, AXPGalleryWidgetPrintComponent, AXPGalleryWidgetViewComponent, AXPLargeTextWidget, AXPLargeTextWidgetColumnComponent, AXPLargeTextWidgetEditComponent, AXPLargeTextWidgetFilterComponent, AXPLargeTextWidgetPrintComponent, AXPLargeTextWidgetViewComponent, AXPLinkWidget, AXPLinkWidgetColumnComponent, AXPLinkWidgetEditComponent, AXPLinkWidgetFilterComponent, AXPLinkWidgetPrintComponent, AXPLinkWidgetViewComponent, AXPMapBoxWidget, AXPMapBoxWidgetEditComponent, AXPMapBoxWidgetViewComponent, AXPNumberBoxWidget, AXPNumberBoxWidgetColumnComponent, AXPNumberBoxWidgetEditComponent, AXPNumberBoxWidgetFilterComponent, AXPNumberBoxWidgetPrintComponent, AXPNumberBoxWidgetViewComponent, AXPPageWidget, AXPPageWidgetViewComponent, AXPPasswordBoxWidget, AXPPasswordBoxWidgetColumnComponent, AXPPasswordBoxWidgetEditComponent, AXPPasswordBoxWidgetFilterComponent, AXPPasswordBoxWidgetPrintComponent, AXPPasswordBoxWidgetViewComponent, AXPPhoneBoxWidget, AXPPhoneBoxWidgetColumnComponent, AXPPhoneBoxWidgetEditComponent, AXPPhoneBoxWidgetFilterComponent, AXPPhoneBoxWidgetPrintComponent, AXPPhoneBoxWidgetViewComponent, AXPRepeaterWidget, AXPRepeaterWidgetDesignerComponent, AXPRepeaterWidgetEditComponent, AXPRepeaterWidgetPrintComponent, AXPRepeaterWidgetViewComponent, AXPRichTextWidget, AXPRichTextWidgetColumnComponent, AXPRichTextWidgetEditComponent, AXPRichTextWidgetFilterComponent, AXPRichTextWidgetPrintComponent, AXPRichTextWidgetViewComponent, AXPSelectBoxWidget, AXPSelectBoxWidgetColumnComponent, AXPSelectBoxWidgetEditComponent, AXPSelectBoxWidgetFilterComponent, AXPSelectBoxWidgetPrintComponent, AXPSelectBoxWidgetViewComponent, AXPSelectionListWidget, AXPSelectionListWidgetColumnComponent, AXPSelectionListWidgetDesignerComponent, AXPSelectionListWidgetEditComponent, AXPSelectionListWidgetFilterComponent, AXPSelectionListWidgetPrintComponent, AXPSelectionListWidgetViewComponent, AXPSignatureWidget, AXPSignatureWidgetColumnComponent, AXPSignatureWidgetEditComponent, AXPSignatureWidgetFilterComponent, AXPSignatureWidgetPrintComponent, AXPSignatureWidgetViewComponent, AXPTextBoxWidget, AXPTextBoxWidgetColumnComponent, AXPTextBoxWidgetEditComponent, AXPTextBoxWidgetFilterComponent, AXPTextBoxWidgetPrintComponent, AXPTextBoxWidgetViewComponent, AXPToggleWidget, AXPToggleWidgetColumnComponent, AXPToggleWidgetEditComponent, AXPToggleWidgetFilterComponent, AXPToggleWidgetPrintComponent, AXPToggleWidgetViewComponent, AXPWidgetsModule, AXP_ALLOW_MULTIPLE_PROPERTY, AXP_BEHAVIOR_PROPERTY_GROUP, AXP_BG_COLOR_PROPERTY, AXP_COLOR_PROPERTY, AXP_CONTENT_PROPERTY, AXP_DATA_PATH_PROPERTY, AXP_DATA_PROPERTY_GROUP, AXP_DATA_SOURCE_PROPERTY,
|
|
8739
|
+
export { AXPBlockWidget, AXPBlockWidgetDesignerComponent, AXPBlockWidgetViewComponent, AXPButtonWidget, AXPButtonWidgetViewComponent, AXPCheckBoxWidget, AXPCheckBoxWidgetEditComponent, AXPContactWidget, AXPContactWidgetColumnComponent, AXPContactWidgetEditComponent, AXPContactWidgetPrintComponent, AXPContactWidgetViewComponent, AXPDateTimeBoxWidget, AXPDateTimeBoxWidgetColumnComponent, AXPDateTimeBoxWidgetEditComponent, AXPDateTimeBoxWidgetFilterComponent, AXPDateTimeBoxWidgetPrintComponent, AXPDateTimeBoxWidgetViewComponent, AXPEmailBoxWidget, AXPEmailBoxWidgetColumnComponent, AXPEmailBoxWidgetEditComponent, AXPEmailBoxWidgetFilterComponent, AXPEmailBoxWidgetPrintComponent, AXPEmailBoxWidgetViewComponent, AXPFileBoxWidget, AXPFileBoxWidgetColumnComponent, AXPFileBoxWidgetEditComponent, AXPFileBoxWidgetFilterComponent, AXPFileBoxWidgetPrintComponent, AXPFileBoxWidgetViewComponent, AXPFileManagementService, AXPGalleryWidget, AXPGalleryWidgetColumnComponent, AXPGalleryWidgetEditComponent, AXPGalleryWidgetFilterComponent, AXPGalleryWidgetPrintComponent, AXPGalleryWidgetViewComponent, AXPLargeTextWidget, AXPLargeTextWidgetColumnComponent, AXPLargeTextWidgetEditComponent, AXPLargeTextWidgetFilterComponent, AXPLargeTextWidgetPrintComponent, AXPLargeTextWidgetViewComponent, AXPLinkWidget, AXPLinkWidgetColumnComponent, AXPLinkWidgetEditComponent, AXPLinkWidgetFilterComponent, AXPLinkWidgetPrintComponent, AXPLinkWidgetViewComponent, AXPMapBoxWidget, AXPMapBoxWidgetEditComponent, AXPMapBoxWidgetViewComponent, AXPNumberBoxWidget, AXPNumberBoxWidgetColumnComponent, AXPNumberBoxWidgetEditComponent, AXPNumberBoxWidgetFilterComponent, AXPNumberBoxWidgetPrintComponent, AXPNumberBoxWidgetViewComponent, AXPPageWidget, AXPPageWidgetViewComponent, AXPPasswordBoxWidget, AXPPasswordBoxWidgetColumnComponent, AXPPasswordBoxWidgetEditComponent, AXPPasswordBoxWidgetFilterComponent, AXPPasswordBoxWidgetPrintComponent, AXPPasswordBoxWidgetViewComponent, AXPPhoneBoxWidget, AXPPhoneBoxWidgetColumnComponent, AXPPhoneBoxWidgetEditComponent, AXPPhoneBoxWidgetFilterComponent, AXPPhoneBoxWidgetPrintComponent, AXPPhoneBoxWidgetViewComponent, AXPRepeaterWidget, AXPRepeaterWidgetDesignerComponent, AXPRepeaterWidgetEditComponent, AXPRepeaterWidgetPrintComponent, AXPRepeaterWidgetViewComponent, AXPRichTextWidget, AXPRichTextWidgetColumnComponent, AXPRichTextWidgetEditComponent, AXPRichTextWidgetFilterComponent, AXPRichTextWidgetPrintComponent, AXPRichTextWidgetViewComponent, AXPSelectBoxWidget, AXPSelectBoxWidgetColumnComponent, AXPSelectBoxWidgetEditComponent, AXPSelectBoxWidgetFilterComponent, AXPSelectBoxWidgetPrintComponent, AXPSelectBoxWidgetViewComponent, AXPSelectionListWidget, AXPSelectionListWidgetColumnComponent, AXPSelectionListWidgetDesignerComponent, AXPSelectionListWidgetEditComponent, AXPSelectionListWidgetFilterComponent, AXPSelectionListWidgetPrintComponent, AXPSelectionListWidgetViewComponent, AXPSignatureWidget, AXPSignatureWidgetColumnComponent, AXPSignatureWidgetEditComponent, AXPSignatureWidgetFilterComponent, AXPSignatureWidgetPrintComponent, AXPSignatureWidgetViewComponent, AXPTextBoxWidget, AXPTextBoxWidgetColumnComponent, AXPTextBoxWidgetEditComponent, AXPTextBoxWidgetFilterComponent, AXPTextBoxWidgetPrintComponent, AXPTextBoxWidgetViewComponent, AXPToggleWidget, AXPToggleWidgetColumnComponent, AXPToggleWidgetEditComponent, AXPToggleWidgetFilterComponent, AXPToggleWidgetPrintComponent, AXPToggleWidgetViewComponent, AXPWidgetsModule, AXP_ALLOW_MULTIPLE_PROPERTY, AXP_BEHAVIOR_PROPERTY_GROUP, AXP_BG_COLOR_PROPERTY, AXP_COLOR_PROPERTY, AXP_CONTENT_PROPERTY, AXP_DATA_PATH_PROPERTY, AXP_DATA_PROPERTY_GROUP, AXP_DATA_SOURCE_PROPERTY, AXP_DATE_FORMAT_PROPERTY, AXP_DESCRIPTION_PROPERTY, AXP_DIRECTION_PROPERTY, AXP_DISABLED_PROPERTY, AXP_DOWNLOADABLE_PROPERTY, AXP_FALSY_TEXT_PROPERTY, AXP_FONT_SIZE_PROPERTY, 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_ALIGN_CONTENT_PROPERTY, AXP_LAYOUT_COLUMNS_PROPERTY, AXP_LAYOUT_COL_END_PROPERTY, AXP_LAYOUT_COL_SPAN_PROPERTY, AXP_LAYOUT_COL_START_PROPERTY, AXP_LAYOUT_FLEX_ALIGN_PROPERTY, AXP_LAYOUT_FLEX_DIRECTION_PROPERTY, AXP_LAYOUT_FLEX_JUSTIFY_PROPERTY, AXP_LAYOUT_FLEX_PROPERTIES, AXP_LAYOUT_FLEX_PROPERTY_GROUP, AXP_LAYOUT_FLEX_WRAP_PROPERTY, AXP_LAYOUT_GAP_PROPERTY, AXP_LAYOUT_GRID_ITEM_PROPERTIES, AXP_LAYOUT_GRID_PROPERTIES, AXP_LAYOUT_GRID_PROPERTY_GROUP, AXP_LAYOUT_GRID_ROW_PROPERTIES, AXP_LAYOUT_ROWS_PROPERTY, AXP_NAME_PROPERTY, AXP_PLACEHOLDER_PROPERTY, AXP_READONLY_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, AXP_VALUE_FIELD_PROPERTY, AXP_WIDGET_PROPERTY_GROUP, booleanDefaultProperty, largeTextDefaultProperty, numberDefaultProperty, plainTextDefaultProperty };
|
|
8772
8740
|
//# sourceMappingURL=acorex-platform-widgets.mjs.map
|