@acorex/platform 18.0.8 → 18.0.9
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/widgets/lib/editors/contact-widget/contact-widget-column.component.mjs +19 -0
- package/esm2022/widgets/lib/editors/contact-widget/contact-widget-designer.component.mjs +19 -0
- package/esm2022/widgets/lib/editors/contact-widget/contact-widget-edit.component.mjs +267 -0
- package/esm2022/widgets/lib/editors/contact-widget/contact-widget-filter.component.mjs +20 -0
- package/esm2022/widgets/lib/editors/contact-widget/contact-widget-print.component.mjs +19 -0
- package/esm2022/widgets/lib/editors/contact-widget/contact-widget-view.component.mjs +20 -0
- package/esm2022/widgets/lib/editors/contact-widget/contact-widget.config.mjs +24 -0
- package/esm2022/widgets/lib/editors/contact-widget/index.mjs +8 -0
- package/esm2022/widgets/lib/editors/contact-widget/popup-component.mjs +78 -0
- package/esm2022/widgets/lib/editors/large-text-widget/index.mjs +8 -0
- package/esm2022/widgets/lib/editors/large-text-widget/large-text-widget-column.component.mjs +23 -0
- package/esm2022/widgets/lib/editors/large-text-widget/large-text-widget-designer.component.mjs +19 -0
- package/esm2022/widgets/lib/editors/large-text-widget/large-text-widget-edit.component.mjs +47 -0
- package/esm2022/widgets/lib/editors/large-text-widget/large-text-widget-filter.component.mjs +20 -0
- package/esm2022/widgets/lib/editors/large-text-widget/large-text-widget-print.component.mjs +19 -0
- package/esm2022/widgets/lib/editors/large-text-widget/large-text-widget-view.component.mjs +31 -0
- package/esm2022/widgets/lib/editors/large-text-widget/large-text-widget.config.mjs +24 -0
- package/esm2022/widgets/lib/editors/link-widget/link-widget-edit.component.mjs +114 -114
- package/esm2022/widgets/lib/editors/link-widget/link-widget-view.component.mjs +3 -3
- package/esm2022/widgets/lib/editors/rich-text-widget/rich-text-widget-column.component.mjs +10 -6
- package/esm2022/widgets/lib/widgets.module.mjs +7 -1
- package/fesm2022/acorex-platform-widgets.mjs +784 -155
- package/fesm2022/acorex-platform-widgets.mjs.map +1 -1
- package/package.json +7 -7
- package/widgets/lib/editors/contact-widget/contact-widget-column.component.d.ts +6 -0
- package/widgets/lib/editors/contact-widget/contact-widget-designer.component.d.ts +6 -0
- package/widgets/lib/editors/contact-widget/contact-widget-edit.component.d.ts +36 -0
- package/widgets/lib/editors/contact-widget/contact-widget-filter.component.d.ts +6 -0
- package/widgets/lib/editors/contact-widget/contact-widget-print.component.d.ts +6 -0
- package/widgets/lib/editors/contact-widget/contact-widget-view.component.d.ts +6 -0
- package/widgets/lib/editors/contact-widget/contact-widget.config.d.ts +2 -0
- package/widgets/lib/editors/contact-widget/index.d.ts +7 -0
- package/widgets/lib/editors/contact-widget/popup-component.d.ts +10 -0
- package/widgets/lib/editors/large-text-widget/index.d.ts +7 -0
- package/widgets/lib/editors/large-text-widget/large-text-widget-column.component.d.ts +6 -0
- package/widgets/lib/editors/large-text-widget/large-text-widget-designer.component.d.ts +6 -0
- package/widgets/lib/editors/large-text-widget/large-text-widget-edit.component.d.ts +10 -0
- package/widgets/lib/editors/large-text-widget/large-text-widget-filter.component.d.ts +6 -0
- package/widgets/lib/editors/large-text-widget/large-text-widget-print.component.d.ts +6 -0
- package/widgets/lib/editors/large-text-widget/large-text-widget-view.component.d.ts +6 -0
- package/widgets/lib/editors/large-text-widget/large-text-widget.config.d.ts +2 -0
- package/widgets/lib/editors/link-widget/link-widget-edit.component.d.ts +1 -8
- package/widgets/lib/editors/rich-text-widget/rich-text-widget-column.component.d.ts +2 -2
|
@@ -1,41 +1,46 @@
|
|
|
1
|
-
import * as i1$
|
|
1
|
+
import * as i1$4 from '@acorex/platform/layout/builder';
|
|
2
2
|
import { AXPWidgetBase, AXPColumnWidgetBase, AXPLayoutBuilderModule } from '@acorex/platform/layout/builder';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
|
-
import { inject, Component, ChangeDetectionStrategy,
|
|
5
|
-
import * as
|
|
4
|
+
import { inject, Component, ChangeDetectionStrategy, signal, computed, effect, ViewEncapsulation, ViewChild, Input, HostBinding, NgModule } from '@angular/core';
|
|
5
|
+
import * as i5 from '@acorex/components/button';
|
|
6
6
|
import { AXButtonModule } from '@acorex/components/button';
|
|
7
7
|
import * as i1 from '@acorex/components/check-box';
|
|
8
8
|
import { AXCheckBoxModule } from '@acorex/components/check-box';
|
|
9
|
-
import * as i3
|
|
9
|
+
import * as i3 from '@acorex/components/decorators';
|
|
10
10
|
import { AXDecoratorModule } from '@acorex/components/decorators';
|
|
11
|
-
import * as i3 from '@acorex/components/form';
|
|
11
|
+
import * as i3$1 from '@acorex/components/form';
|
|
12
12
|
import { AXFormModule } from '@acorex/components/form';
|
|
13
13
|
import { AXValidationService, AXValidationModule } from '@acorex/core/validation';
|
|
14
|
-
import * as i1$
|
|
14
|
+
import * as i1$2 from '@angular/common';
|
|
15
15
|
import { CommonModule } from '@angular/common';
|
|
16
16
|
import * as i2 from '@angular/forms';
|
|
17
17
|
import { FormsModule } from '@angular/forms';
|
|
18
|
+
import { AXDataSource } from '@acorex/components/common';
|
|
19
|
+
import { AXPopupService } from '@acorex/components/popup';
|
|
20
|
+
import * as i3$2 from '@acorex/components/select-box';
|
|
21
|
+
import { AXSelectBoxModule, AXSelectBoxComponent } from '@acorex/components/select-box';
|
|
22
|
+
import * as i7 from '@acorex/components/text-box';
|
|
23
|
+
import { AXTextBoxModule } from '@acorex/components/text-box';
|
|
24
|
+
import * as i1$1 from '@acorex/core/translation';
|
|
25
|
+
import { AXTranslationModule, AXTranslationService } from '@acorex/core/translation';
|
|
26
|
+
import { AXBasePageComponent } from '@acorex/components/page';
|
|
18
27
|
import { AXDateTimeFormatter } from '@acorex/core/date-time';
|
|
19
|
-
import * as i3$
|
|
28
|
+
import * as i3$3 from '@acorex/components/datetime-box';
|
|
20
29
|
import { AXDateTimeBoxModule } from '@acorex/components/datetime-box';
|
|
21
30
|
import * as i2$1 from '@acorex/components/badge';
|
|
22
31
|
import { AXBadgeModule } from '@acorex/components/badge';
|
|
23
32
|
import { AXPClipBoardService } from '@acorex/platform/common';
|
|
24
|
-
import * as i6 from '@acorex/components/select-box';
|
|
25
|
-
import { AXSelectBoxModule, AXSelectBoxComponent } from '@acorex/components/select-box';
|
|
26
|
-
import * as i7 from '@acorex/components/text-box';
|
|
27
|
-
import { AXTextBoxModule } from '@acorex/components/text-box';
|
|
28
33
|
import * as i2$2 from '@acorex/components/image';
|
|
29
34
|
import { AXImageModule } from '@acorex/components/image';
|
|
30
|
-
import * as i4
|
|
35
|
+
import * as i4 from '@acorex/components/loading';
|
|
31
36
|
import { AXLoadingModule } from '@acorex/components/loading';
|
|
32
|
-
import * as i5 from '@acorex/components/uploader';
|
|
37
|
+
import * as i5$1 from '@acorex/components/uploader';
|
|
33
38
|
import { AXUploaderModule } from '@acorex/components/uploader';
|
|
34
|
-
import
|
|
35
|
-
import {
|
|
39
|
+
import * as i3$4 from '@acorex/components/text-area';
|
|
40
|
+
import { AXTextAreaModule } from '@acorex/components/text-area';
|
|
36
41
|
import { AXFormatService } from '@acorex/core/format';
|
|
37
42
|
import { isNumber } from 'lodash-es';
|
|
38
|
-
import * as i1$
|
|
43
|
+
import * as i1$3 from '@acorex/components/number-box';
|
|
39
44
|
import { AXNumberBoxModule } from '@acorex/components/number-box';
|
|
40
45
|
import * as i2$3 from '@acorex/components/password-box';
|
|
41
46
|
import { AXPasswordBoxModule } from '@acorex/components/password-box';
|
|
@@ -99,6 +104,440 @@ const AXPCheckBoxWidget = {
|
|
|
99
104
|
},
|
|
100
105
|
};
|
|
101
106
|
|
|
107
|
+
class AXPContactWidgetViewComponent extends AXPWidgetBase {
|
|
108
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPContactWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
109
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.2", type: AXPContactWidgetViewComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
110
|
+
}
|
|
111
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPContactWidgetViewComponent, decorators: [{
|
|
112
|
+
type: Component,
|
|
113
|
+
args: [{
|
|
114
|
+
template: ``,
|
|
115
|
+
standalone: true,
|
|
116
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
117
|
+
imports: [CommonModule, FormsModule],
|
|
118
|
+
inputs: []
|
|
119
|
+
}]
|
|
120
|
+
}] });
|
|
121
|
+
|
|
122
|
+
var contactWidgetView_component = /*#__PURE__*/Object.freeze({
|
|
123
|
+
__proto__: null,
|
|
124
|
+
AXPContactWidgetViewComponent: AXPContactWidgetViewComponent
|
|
125
|
+
});
|
|
126
|
+
|
|
127
|
+
class popupComponent extends AXBasePageComponent {
|
|
128
|
+
constructor() {
|
|
129
|
+
super();
|
|
130
|
+
}
|
|
131
|
+
handleClose(form) {
|
|
132
|
+
form.validate().then((res) => {
|
|
133
|
+
if (res.result) {
|
|
134
|
+
this.close({ value: this.value });
|
|
135
|
+
}
|
|
136
|
+
});
|
|
137
|
+
}
|
|
138
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: popupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
139
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.2", type: popupComponent, isStandalone: true, selector: "popup-component", usesInheritance: true, ngImport: i0, template: `
|
|
140
|
+
<ax-header>
|
|
141
|
+
<ax-suffix> </ax-suffix>
|
|
142
|
+
</ax-header>
|
|
143
|
+
<div class="ax-p-6">
|
|
144
|
+
<ax-form #form>
|
|
145
|
+
<ax-form-field>
|
|
146
|
+
<ax-text-box [(ngModel)]="value" type="text" name="lable" placeholder="Enter Lable ..." class="ax-w-10/12">
|
|
147
|
+
<ax-validation-rule message="field can't be empty" rule="required"> </ax-validation-rule>
|
|
148
|
+
</ax-text-box>
|
|
149
|
+
</ax-form-field>
|
|
150
|
+
</ax-form>
|
|
151
|
+
</div>
|
|
152
|
+
<ax-footer>
|
|
153
|
+
<ax-suffix>
|
|
154
|
+
<ax-button [text]="'apply' | translate | async" color="primary" (onClick)="handleClose(form)"></ax-button>
|
|
155
|
+
</ax-suffix>
|
|
156
|
+
</ax-footer>
|
|
157
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: AXTranslationModule }, { kind: "pipe", type: i1$1.AXTranslatorPipe, name: "translate" }, { kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: i1$2.AsyncPipe, name: "async" }, { 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: AXDecoratorModule }, { 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: AXButtonModule }, { kind: "component", type: i5.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXValidationModule }, { kind: "ngmodule", type: AXFormModule }, { kind: "component", type: i3$1.AXFormFieldComponent, selector: "ax-form-field", inputs: ["labelMode"] }, { kind: "component", type: i3$1.AXFormComponent, selector: "ax-form", inputs: ["labelMode", "messageStyle", "updateOn"], outputs: ["onValidate", "updateOnChange"] }, { kind: "directive", type: i3$1.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message"] }] }); }
|
|
158
|
+
}
|
|
159
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: popupComponent, decorators: [{
|
|
160
|
+
type: Component,
|
|
161
|
+
args: [{
|
|
162
|
+
selector: 'popup-component',
|
|
163
|
+
standalone: true,
|
|
164
|
+
template: `
|
|
165
|
+
<ax-header>
|
|
166
|
+
<ax-suffix> </ax-suffix>
|
|
167
|
+
</ax-header>
|
|
168
|
+
<div class="ax-p-6">
|
|
169
|
+
<ax-form #form>
|
|
170
|
+
<ax-form-field>
|
|
171
|
+
<ax-text-box [(ngModel)]="value" type="text" name="lable" placeholder="Enter Lable ..." class="ax-w-10/12">
|
|
172
|
+
<ax-validation-rule message="field can't be empty" rule="required"> </ax-validation-rule>
|
|
173
|
+
</ax-text-box>
|
|
174
|
+
</ax-form-field>
|
|
175
|
+
</ax-form>
|
|
176
|
+
</div>
|
|
177
|
+
<ax-footer>
|
|
178
|
+
<ax-suffix>
|
|
179
|
+
<ax-button [text]="'apply' | translate | async" color="primary" (onClick)="handleClose(form)"></ax-button>
|
|
180
|
+
</ax-suffix>
|
|
181
|
+
</ax-footer>
|
|
182
|
+
`,
|
|
183
|
+
imports: [AXTranslationModule, CommonModule, AXTextBoxModule, AXDecoratorModule, AXButtonModule, FormsModule, AXValidationModule, AXFormModule],
|
|
184
|
+
}]
|
|
185
|
+
}], ctorParameters: () => [] });
|
|
186
|
+
|
|
187
|
+
class AXPContactWidgetEditComponent extends AXPWidgetBase {
|
|
188
|
+
constructor() {
|
|
189
|
+
super(...arguments);
|
|
190
|
+
this.lableList = signal(['primary', 'secondary', 'Add New']);
|
|
191
|
+
this.popup = inject(AXPopupService);
|
|
192
|
+
this.dataSource = new AXDataSource({
|
|
193
|
+
pageSize: this.lableList().length,
|
|
194
|
+
load: (e) => {
|
|
195
|
+
return Promise.resolve({
|
|
196
|
+
items: this.lableList().slice(e.skip, (e.skip ?? 0) + (e.take ?? 0)),
|
|
197
|
+
total: this.lableList().length,
|
|
198
|
+
});
|
|
199
|
+
},
|
|
200
|
+
byKey: (key) => {
|
|
201
|
+
return Promise.resolve(this.lableList().find((i) => i === key));
|
|
202
|
+
},
|
|
203
|
+
});
|
|
204
|
+
this.internalValue = computed(() => this.valueToArray());
|
|
205
|
+
this.validationService = inject(AXValidationService);
|
|
206
|
+
this._validationRules = [];
|
|
207
|
+
this.itemToArray = (item) => {
|
|
208
|
+
if (typeof item === 'object')
|
|
209
|
+
return {
|
|
210
|
+
value: item.value ?? '',
|
|
211
|
+
lable: this.hasLable ? item.lable || this.lableList()[0] : undefined,
|
|
212
|
+
icon: this.hasIcon ? item.icon || this.chooseIcon() : undefined,
|
|
213
|
+
};
|
|
214
|
+
else
|
|
215
|
+
return {
|
|
216
|
+
value: item,
|
|
217
|
+
lable: this.hasLable ? this.lableList()[0] : undefined,
|
|
218
|
+
icon: this.hasIcon ? this.chooseIcon() : undefined,
|
|
219
|
+
};
|
|
220
|
+
};
|
|
221
|
+
this.chooseIcon = () => {
|
|
222
|
+
switch (this.widgetType) {
|
|
223
|
+
case 'email':
|
|
224
|
+
return 'fa-link';
|
|
225
|
+
case 'link':
|
|
226
|
+
return 'fa-envelope';
|
|
227
|
+
case 'phone':
|
|
228
|
+
return 'fa-phone';
|
|
229
|
+
default:
|
|
230
|
+
return 'fa-info';
|
|
231
|
+
}
|
|
232
|
+
};
|
|
233
|
+
}
|
|
234
|
+
addItem() {
|
|
235
|
+
const newValues = [...this.internalValue(), this.emptyValue()];
|
|
236
|
+
this.setValue(newValues);
|
|
237
|
+
}
|
|
238
|
+
deleteItem(deletedIndex) {
|
|
239
|
+
const newValues = this.internalValue().filter((_, index) => index != deletedIndex);
|
|
240
|
+
this.setValue(newValues);
|
|
241
|
+
}
|
|
242
|
+
async handleValueChange(e, selectedIndex) {
|
|
243
|
+
let { name, value, isUserInteraction } = e;
|
|
244
|
+
if (isUserInteraction) {
|
|
245
|
+
if (e.name === 'lable') {
|
|
246
|
+
if (e.value === 'Add New') {
|
|
247
|
+
const options = {
|
|
248
|
+
title: 'Enter Lable...',
|
|
249
|
+
// header: false,
|
|
250
|
+
// footer: true,
|
|
251
|
+
size: 'sm',
|
|
252
|
+
draggable: true,
|
|
253
|
+
// hasBackdrop: true,
|
|
254
|
+
// closeButton: true,
|
|
255
|
+
// closeOnBackdropClick: true,
|
|
256
|
+
};
|
|
257
|
+
const newValue = await this.popup.open(popupComponent, { ...options }).then((e) => e.data);
|
|
258
|
+
value = newValue.value;
|
|
259
|
+
this.lableList().pop();
|
|
260
|
+
this.lableList().push(value, 'Add New');
|
|
261
|
+
this.dataSource.refresh();
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
const newValues = this.internalValue().map((item, index) => (selectedIndex === index ? { ...item, [name]: value } : item));
|
|
266
|
+
if (this.multiple)
|
|
267
|
+
this.setValue(newValues);
|
|
268
|
+
else
|
|
269
|
+
this.setValue(newValues[0]);
|
|
270
|
+
}
|
|
271
|
+
generateClasses(element) {
|
|
272
|
+
if (this.multiple) {
|
|
273
|
+
if (this.hasLable) {
|
|
274
|
+
if (element === 'value') {
|
|
275
|
+
return 'ax-col-start-1 ax-col-end-13 lg:ax-col-end-7';
|
|
276
|
+
}
|
|
277
|
+
else {
|
|
278
|
+
return 'ax-col-start-1 ax-col-end-11 lg:ax-col-start-7 lg:ax-col-end-12';
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
else {
|
|
282
|
+
if (element === 'value') {
|
|
283
|
+
return 'ax-col-start-1 ax-col-end-12';
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
else {
|
|
288
|
+
if (this.hasLable) {
|
|
289
|
+
if (element === 'value') {
|
|
290
|
+
return 'ax-col-start-1 ax-col-end-13 lg:ax-col-end-7';
|
|
291
|
+
}
|
|
292
|
+
else {
|
|
293
|
+
return 'ax-col-start-1 ax-col-end-13 lg:ax-col-start-7 lg:ax-col-end-13';
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
else {
|
|
297
|
+
if (element === 'value') {
|
|
298
|
+
return 'ax-col-start-1 ax-col-end-13';
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
get validationRules() {
|
|
304
|
+
return this._validationRules;
|
|
305
|
+
}
|
|
306
|
+
set validationRules(v) {
|
|
307
|
+
this._validationRules = v;
|
|
308
|
+
}
|
|
309
|
+
valueToArray() {
|
|
310
|
+
const value = this.getValue();
|
|
311
|
+
if (Array.isArray(value)) {
|
|
312
|
+
return value.map((item) => this.itemToArray(item));
|
|
313
|
+
}
|
|
314
|
+
else {
|
|
315
|
+
return [this.itemToArray(value)];
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
emptyValue() {
|
|
319
|
+
return {
|
|
320
|
+
value: '',
|
|
321
|
+
};
|
|
322
|
+
}
|
|
323
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPContactWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
324
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.2", type: AXPContactWidgetEditComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `<div class="ax-grid ax-grid-cols-12 ax-gap-4">
|
|
325
|
+
@for(item of internalValue();track $index) {
|
|
326
|
+
<ax-text-box
|
|
327
|
+
[ngModel]="item.value"
|
|
328
|
+
(onValueChanged)="handleValueChange($event, $index)"
|
|
329
|
+
type="text"
|
|
330
|
+
name="value"
|
|
331
|
+
placeholder="Enter {{ widgetType }} ..."
|
|
332
|
+
[ngClass]="generateClasses('value')"
|
|
333
|
+
>
|
|
334
|
+
@for (validation of validationRules; track $index) {
|
|
335
|
+
<ax-validation-rule [rule]="validation.rule" [message]="validation.options?.message" [options]="validation.options"></ax-validation-rule>
|
|
336
|
+
}
|
|
337
|
+
<ax-validation-rule message="field can't be empty" rule="required"> </ax-validation-rule>
|
|
338
|
+
</ax-text-box>
|
|
339
|
+
@if(hasLable){
|
|
340
|
+
<ax-select-box
|
|
341
|
+
[dataSource]="dataSource"
|
|
342
|
+
[ngModel]="item.lable"
|
|
343
|
+
(onValueChanged)="handleValueChange($event, $index)"
|
|
344
|
+
placeholder="Choose lable..."
|
|
345
|
+
name="lable"
|
|
346
|
+
[ngClass]="generateClasses('lable')"
|
|
347
|
+
>
|
|
348
|
+
</ax-select-box>
|
|
349
|
+
} @if(multiple){
|
|
350
|
+
<ax-button look="twotone" color="danger" (onClick)="deleteItem($index)" class="ax-col-start-12 ax-col-end-13 ax-justify-self-end">
|
|
351
|
+
<ax-icon icon="fa-regular fa-xmark"></ax-icon>
|
|
352
|
+
</ax-button>
|
|
353
|
+
} } @if(multiple){
|
|
354
|
+
|
|
355
|
+
<ax-button
|
|
356
|
+
[text]="internalValue().length == 0 ? 'Add New' : 'Add Another'"
|
|
357
|
+
look="twotone"
|
|
358
|
+
(onClick)="addItem()"
|
|
359
|
+
class="ax-col-start-8 lg:ax-col-start-10 2xl:ax-col-start-10 ax-col-end-13"
|
|
360
|
+
>
|
|
361
|
+
<ax-prefix>
|
|
362
|
+
<ax-icon class="fa-solid fa-add"></ax-icon>
|
|
363
|
+
</ax-prefix>
|
|
364
|
+
</ax-button>
|
|
365
|
+
}
|
|
366
|
+
</div> `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXSelectBoxModule }, { kind: "component", type: i3$2.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: i3$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", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "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 }); }
|
|
367
|
+
}
|
|
368
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPContactWidgetEditComponent, decorators: [{
|
|
369
|
+
type: Component,
|
|
370
|
+
args: [{
|
|
371
|
+
template: `<div class="ax-grid ax-grid-cols-12 ax-gap-4">
|
|
372
|
+
@for(item of internalValue();track $index) {
|
|
373
|
+
<ax-text-box
|
|
374
|
+
[ngModel]="item.value"
|
|
375
|
+
(onValueChanged)="handleValueChange($event, $index)"
|
|
376
|
+
type="text"
|
|
377
|
+
name="value"
|
|
378
|
+
placeholder="Enter {{ widgetType }} ..."
|
|
379
|
+
[ngClass]="generateClasses('value')"
|
|
380
|
+
>
|
|
381
|
+
@for (validation of validationRules; track $index) {
|
|
382
|
+
<ax-validation-rule [rule]="validation.rule" [message]="validation.options?.message" [options]="validation.options"></ax-validation-rule>
|
|
383
|
+
}
|
|
384
|
+
<ax-validation-rule message="field can't be empty" rule="required"> </ax-validation-rule>
|
|
385
|
+
</ax-text-box>
|
|
386
|
+
@if(hasLable){
|
|
387
|
+
<ax-select-box
|
|
388
|
+
[dataSource]="dataSource"
|
|
389
|
+
[ngModel]="item.lable"
|
|
390
|
+
(onValueChanged)="handleValueChange($event, $index)"
|
|
391
|
+
placeholder="Choose lable..."
|
|
392
|
+
name="lable"
|
|
393
|
+
[ngClass]="generateClasses('lable')"
|
|
394
|
+
>
|
|
395
|
+
</ax-select-box>
|
|
396
|
+
} @if(multiple){
|
|
397
|
+
<ax-button look="twotone" color="danger" (onClick)="deleteItem($index)" class="ax-col-start-12 ax-col-end-13 ax-justify-self-end">
|
|
398
|
+
<ax-icon icon="fa-regular fa-xmark"></ax-icon>
|
|
399
|
+
</ax-button>
|
|
400
|
+
} } @if(multiple){
|
|
401
|
+
|
|
402
|
+
<ax-button
|
|
403
|
+
[text]="internalValue().length == 0 ? 'Add New' : 'Add Another'"
|
|
404
|
+
look="twotone"
|
|
405
|
+
(onClick)="addItem()"
|
|
406
|
+
class="ax-col-start-8 lg:ax-col-start-10 2xl:ax-col-start-10 ax-col-end-13"
|
|
407
|
+
>
|
|
408
|
+
<ax-prefix>
|
|
409
|
+
<ax-icon class="fa-solid fa-add"></ax-icon>
|
|
410
|
+
</ax-prefix>
|
|
411
|
+
</ax-button>
|
|
412
|
+
}
|
|
413
|
+
</div> `,
|
|
414
|
+
standalone: true,
|
|
415
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
416
|
+
imports: [
|
|
417
|
+
CommonModule,
|
|
418
|
+
FormsModule,
|
|
419
|
+
AXSelectBoxModule,
|
|
420
|
+
AXFormModule,
|
|
421
|
+
AXButtonModule,
|
|
422
|
+
AXDecoratorModule,
|
|
423
|
+
AXSelectBoxModule,
|
|
424
|
+
AXTextBoxModule,
|
|
425
|
+
AXValidationModule,
|
|
426
|
+
AXTranslationModule,
|
|
427
|
+
],
|
|
428
|
+
inputs: [],
|
|
429
|
+
}]
|
|
430
|
+
}] });
|
|
431
|
+
|
|
432
|
+
var contactWidgetEdit_component = /*#__PURE__*/Object.freeze({
|
|
433
|
+
__proto__: null,
|
|
434
|
+
AXPContactWidgetEditComponent: AXPContactWidgetEditComponent
|
|
435
|
+
});
|
|
436
|
+
|
|
437
|
+
class AXPContactWidgetFilterComponent extends AXPWidgetBase {
|
|
438
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPContactWidgetFilterComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
439
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.2", type: AXPContactWidgetFilterComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
440
|
+
}
|
|
441
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPContactWidgetFilterComponent, decorators: [{
|
|
442
|
+
type: Component,
|
|
443
|
+
args: [{
|
|
444
|
+
template: ``,
|
|
445
|
+
standalone: true,
|
|
446
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
447
|
+
imports: [CommonModule, FormsModule],
|
|
448
|
+
inputs: []
|
|
449
|
+
}]
|
|
450
|
+
}] });
|
|
451
|
+
|
|
452
|
+
var contactWidgetFilter_component = /*#__PURE__*/Object.freeze({
|
|
453
|
+
__proto__: null,
|
|
454
|
+
AXPContactWidgetFilterComponent: AXPContactWidgetFilterComponent
|
|
455
|
+
});
|
|
456
|
+
|
|
457
|
+
class AXPContactWidgetColumnComponent extends AXPColumnWidgetBase {
|
|
458
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPContactWidgetColumnComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
459
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.2", type: AXPContactWidgetColumnComponent, isStandalone: true, selector: "ng-component", inputs: { rawValue: "rawValue" }, usesInheritance: true, ngImport: i0, template: `{{rawValue}}`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
460
|
+
}
|
|
461
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPContactWidgetColumnComponent, decorators: [{
|
|
462
|
+
type: Component,
|
|
463
|
+
args: [{
|
|
464
|
+
template: `{{rawValue}}`,
|
|
465
|
+
standalone: true,
|
|
466
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
467
|
+
imports: [CommonModule],
|
|
468
|
+
inputs: ['rawValue']
|
|
469
|
+
}]
|
|
470
|
+
}] });
|
|
471
|
+
|
|
472
|
+
var contactWidgetColumn_component = /*#__PURE__*/Object.freeze({
|
|
473
|
+
__proto__: null,
|
|
474
|
+
AXPContactWidgetColumnComponent: AXPContactWidgetColumnComponent
|
|
475
|
+
});
|
|
476
|
+
|
|
477
|
+
class AXPContactWidgetPrintComponent extends AXPWidgetBase {
|
|
478
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPContactWidgetPrintComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
479
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.2", type: AXPContactWidgetPrintComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
480
|
+
}
|
|
481
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPContactWidgetPrintComponent, decorators: [{
|
|
482
|
+
type: Component,
|
|
483
|
+
args: [{
|
|
484
|
+
template: ``,
|
|
485
|
+
standalone: true,
|
|
486
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
487
|
+
imports: [CommonModule],
|
|
488
|
+
inputs: []
|
|
489
|
+
}]
|
|
490
|
+
}] });
|
|
491
|
+
|
|
492
|
+
var contactWidgetPrint_component = /*#__PURE__*/Object.freeze({
|
|
493
|
+
__proto__: null,
|
|
494
|
+
AXPContactWidgetPrintComponent: AXPContactWidgetPrintComponent
|
|
495
|
+
});
|
|
496
|
+
|
|
497
|
+
class AXPContactWidgetDesignerComponent extends AXPWidgetBase {
|
|
498
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPContactWidgetDesignerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
499
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.2", type: AXPContactWidgetDesignerComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
500
|
+
}
|
|
501
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPContactWidgetDesignerComponent, decorators: [{
|
|
502
|
+
type: Component,
|
|
503
|
+
args: [{
|
|
504
|
+
template: ``,
|
|
505
|
+
standalone: true,
|
|
506
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
507
|
+
imports: [CommonModule],
|
|
508
|
+
inputs: []
|
|
509
|
+
}]
|
|
510
|
+
}] });
|
|
511
|
+
|
|
512
|
+
var contactWidgetDesigner_component = /*#__PURE__*/Object.freeze({
|
|
513
|
+
__proto__: null,
|
|
514
|
+
AXPContactWidgetDesignerComponent: AXPContactWidgetDesignerComponent
|
|
515
|
+
});
|
|
516
|
+
|
|
517
|
+
const AXPContactWidget = {
|
|
518
|
+
name: "contact",
|
|
519
|
+
components: {
|
|
520
|
+
view: {
|
|
521
|
+
component: () => Promise.resolve().then(function () { return contactWidgetView_component; }).then((c) => c.AXPContactWidgetViewComponent),
|
|
522
|
+
},
|
|
523
|
+
edit: {
|
|
524
|
+
component: () => Promise.resolve().then(function () { return contactWidgetEdit_component; }).then((c) => c.AXPContactWidgetEditComponent),
|
|
525
|
+
},
|
|
526
|
+
filter: {
|
|
527
|
+
component: () => Promise.resolve().then(function () { return contactWidgetFilter_component; }).then((c) => c.AXPContactWidgetFilterComponent),
|
|
528
|
+
},
|
|
529
|
+
column: {
|
|
530
|
+
component: () => Promise.resolve().then(function () { return contactWidgetColumn_component; }).then((c) => c.AXPContactWidgetColumnComponent),
|
|
531
|
+
},
|
|
532
|
+
print: {
|
|
533
|
+
component: () => Promise.resolve().then(function () { return contactWidgetPrint_component; }).then((c) => c.AXPContactWidgetPrintComponent),
|
|
534
|
+
},
|
|
535
|
+
designer: {
|
|
536
|
+
component: () => Promise.resolve().then(function () { return contactWidgetDesigner_component; }).then((c) => c.AXPContactWidgetDesignerComponent),
|
|
537
|
+
},
|
|
538
|
+
}
|
|
539
|
+
};
|
|
540
|
+
|
|
102
541
|
class AXPDateTimeBoxWidgetViewComponent extends AXPWidgetBase {
|
|
103
542
|
constructor() {
|
|
104
543
|
super(...arguments);
|
|
@@ -212,7 +651,7 @@ class AXPDateTimeBoxWidgetEditComponent extends AXPWidgetBase {
|
|
|
212
651
|
<ax-button class="ax-col-span-2" [text]="!internalValue().length ? 'Add New' : 'Add Another'" look="twotone" (onClick)="addItem()"></ax-button>
|
|
213
652
|
}
|
|
214
653
|
</div>
|
|
215
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXFormModule }, { kind: "directive", type: i3.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message"] }, { kind: "ngmodule", type: AXValidationModule }, { kind: "ngmodule", type: AXDateTimeBoxModule }, { kind: "component", type: i3$
|
|
654
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXFormModule }, { kind: "directive", type: i3$1.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message"] }, { kind: "ngmodule", type: AXValidationModule }, { kind: "ngmodule", type: AXDateTimeBoxModule }, { kind: "component", type: i3$3.AXDateTimeBoxComponent, selector: "ax-datetime-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "minValue", "maxValue", "value", "state", "name", "depth", "id", "type", "look", "holidayDates", "allowTyping", "format"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "onOpened", "onClosed", "readonlyChange", "disabledChange", "formatChange"] }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i5.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i3.AXDecoratorClearButtonComponent, selector: "ax-clear-button", 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" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
216
655
|
}
|
|
217
656
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPDateTimeBoxWidgetEditComponent, decorators: [{
|
|
218
657
|
type: Component,
|
|
@@ -440,7 +879,7 @@ class AXPEmailBoxWidgetViewComponent extends AXPWidgetBase {
|
|
|
440
879
|
</ng-container>
|
|
441
880
|
</ng-template>
|
|
442
881
|
</div>
|
|
443
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$
|
|
882
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type: i2$1.AXBadgeComponent, selector: "ax-badge", inputs: ["color", "look", "text"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
444
883
|
}
|
|
445
884
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPEmailBoxWidgetViewComponent, decorators: [{
|
|
446
885
|
type: Component,
|
|
@@ -619,7 +1058,7 @@ class AXPEmailBoxWidgetEditComponent extends AXPWidgetBase {
|
|
|
619
1058
|
</ax-prefix>
|
|
620
1059
|
</ax-button>
|
|
621
1060
|
</div>
|
|
622
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$
|
|
1061
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXFormModule }, { kind: "directive", type: i3$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", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "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: AXSelectBoxModule }, { kind: "component", type: i3$2.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: 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 }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
623
1062
|
}
|
|
624
1063
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPEmailBoxWidgetEditComponent, decorators: [{
|
|
625
1064
|
type: Component,
|
|
@@ -952,7 +1391,7 @@ class AXPFileBoxWidgetViewComponent extends AXPWidgetBase {
|
|
|
952
1391
|
</div>
|
|
953
1392
|
</ng-template>
|
|
954
1393
|
</div>
|
|
955
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$
|
|
1394
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$2.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", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
956
1395
|
}
|
|
957
1396
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPFileBoxWidgetViewComponent, decorators: [{
|
|
958
1397
|
type: Component,
|
|
@@ -1112,7 +1551,7 @@ class AXPFileBoxWidgetEditComponent extends AXPWidgetBase {
|
|
|
1112
1551
|
</ax-prefix>
|
|
1113
1552
|
</ax-button>
|
|
1114
1553
|
</div>
|
|
1115
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$
|
|
1554
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i5.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "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" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1116
1555
|
}
|
|
1117
1556
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPFileBoxWidgetEditComponent, decorators: [{
|
|
1118
1557
|
type: Component,
|
|
@@ -1376,7 +1815,7 @@ class AXPGalleryWidgetViewComponent extends AXPWidgetBase {
|
|
|
1376
1815
|
<small>No Media!</small>
|
|
1377
1816
|
}
|
|
1378
1817
|
</div>
|
|
1379
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$
|
|
1818
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: AXImageModule }, { kind: "component", type: i2$2.AXImageComponent, selector: "ax-image", inputs: ["overlayMode", "src", "alt", "priority", "lazy"], outputs: ["onLoad", "onError"] }, { 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: AXLoadingModule }, { kind: "component", type: i4.AXLoadingComponent, selector: "ax-loading", inputs: ["visible", "type", "context"], outputs: ["visibleChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1380
1819
|
}
|
|
1381
1820
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPGalleryWidgetViewComponent, decorators: [{
|
|
1382
1821
|
type: Component,
|
|
@@ -1534,7 +1973,7 @@ class AXPGalleryWidgetEditComponent extends AXPWidgetBase {
|
|
|
1534
1973
|
|
|
1535
1974
|
}
|
|
1536
1975
|
</div>
|
|
1537
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$
|
|
1976
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: AXImageModule }, { kind: "component", type: i2$2.AXImageComponent, selector: "ax-image", inputs: ["overlayMode", "src", "alt", "priority", "lazy"], outputs: ["onLoad", "onError"] }, { 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: AXLoadingModule }, { kind: "component", type: i4.AXLoadingComponent, selector: "ax-loading", inputs: ["visible", "type", "context"], outputs: ["visibleChange"] }, { kind: "ngmodule", type: AXUploaderModule }, { kind: "component", type: i5$1.AXUploaderDropZoneComponent, selector: "ax-uploader-drop-zone" }, { kind: "directive", type: i5$1.AXUploaderZoneDirective, selector: "[axUploaderZone]", inputs: ["multiple"] }, { kind: "directive", type: i5$1.AXUploaderBrowseDirective, selector: "[axUploaderBrowseHandle]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1538
1977
|
}
|
|
1539
1978
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPGalleryWidgetEditComponent, decorators: [{
|
|
1540
1979
|
type: Component,
|
|
@@ -1709,6 +2148,188 @@ const AXPGalleryWidget = {
|
|
|
1709
2148
|
}
|
|
1710
2149
|
};
|
|
1711
2150
|
|
|
2151
|
+
class AXPLargeTextWidgetViewComponent extends AXPWidgetBase {
|
|
2152
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPLargeTextWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
2153
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.2", type: AXPLargeTextWidgetViewComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
|
|
2154
|
+
<div class="ax-border ax-p-3 ax-rounded-lg ax-max-w-full">
|
|
2155
|
+
<span>
|
|
2156
|
+
{{ getValue() }}
|
|
2157
|
+
</span>
|
|
2158
|
+
</div>
|
|
2159
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
2160
|
+
}
|
|
2161
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPLargeTextWidgetViewComponent, decorators: [{
|
|
2162
|
+
type: Component,
|
|
2163
|
+
args: [{
|
|
2164
|
+
template: `
|
|
2165
|
+
<div class="ax-border ax-p-3 ax-rounded-lg ax-max-w-full">
|
|
2166
|
+
<span>
|
|
2167
|
+
{{ getValue() }}
|
|
2168
|
+
</span>
|
|
2169
|
+
</div>
|
|
2170
|
+
`,
|
|
2171
|
+
standalone: true,
|
|
2172
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2173
|
+
imports: [CommonModule],
|
|
2174
|
+
inputs: [],
|
|
2175
|
+
}]
|
|
2176
|
+
}] });
|
|
2177
|
+
|
|
2178
|
+
var largeTextWidgetView_component = /*#__PURE__*/Object.freeze({
|
|
2179
|
+
__proto__: null,
|
|
2180
|
+
AXPLargeTextWidgetViewComponent: AXPLargeTextWidgetViewComponent
|
|
2181
|
+
});
|
|
2182
|
+
|
|
2183
|
+
class AXPLargeTextWidgetEditComponent extends AXPWidgetBase {
|
|
2184
|
+
constructor() {
|
|
2185
|
+
super(...arguments);
|
|
2186
|
+
this._validationRules = [];
|
|
2187
|
+
}
|
|
2188
|
+
get validationRules() {
|
|
2189
|
+
return this._validationRules;
|
|
2190
|
+
}
|
|
2191
|
+
set validationRules(v) {
|
|
2192
|
+
this._validationRules = v;
|
|
2193
|
+
}
|
|
2194
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPLargeTextWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
2195
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.2", type: AXPLargeTextWidgetEditComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
|
|
2196
|
+
<ax-text-area [ngModel]="getValue()" (ngModelChange)="setValue($event)">
|
|
2197
|
+
@for (validation of validationRules; track $index) {
|
|
2198
|
+
<ax-validation-rule [rule]="validation.rule" [message]="validation.options?.message" [options]="validation.options"></ax-validation-rule>
|
|
2199
|
+
}
|
|
2200
|
+
</ax-text-area>
|
|
2201
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXFormModule }, { kind: "directive", type: i3$1.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message"] }, { kind: "ngmodule", type: AXTextAreaModule }, { kind: "component", type: i3$4.AXTextAreaComponent, selector: "ax-text-area", inputs: ["disabled", "tabIndex", "readonly", "value", "state", "name", "placeholder", "maxLength", "look", "rows", "allowResize", "showCounter"], outputs: ["onBlur", "onFocus", "valueChange", "stateChange", "onValueChanged", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
2202
|
+
}
|
|
2203
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPLargeTextWidgetEditComponent, decorators: [{
|
|
2204
|
+
type: Component,
|
|
2205
|
+
args: [{
|
|
2206
|
+
template: `
|
|
2207
|
+
<ax-text-area [ngModel]="getValue()" (ngModelChange)="setValue($event)">
|
|
2208
|
+
@for (validation of validationRules; track $index) {
|
|
2209
|
+
<ax-validation-rule [rule]="validation.rule" [message]="validation.options?.message" [options]="validation.options"></ax-validation-rule>
|
|
2210
|
+
}
|
|
2211
|
+
</ax-text-area>
|
|
2212
|
+
`,
|
|
2213
|
+
standalone: true,
|
|
2214
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2215
|
+
imports: [CommonModule, FormsModule, AXFormModule, AXTextAreaModule],
|
|
2216
|
+
inputs: [],
|
|
2217
|
+
}]
|
|
2218
|
+
}] });
|
|
2219
|
+
|
|
2220
|
+
var largeTextWidgetEdit_component = /*#__PURE__*/Object.freeze({
|
|
2221
|
+
__proto__: null,
|
|
2222
|
+
AXPLargeTextWidgetEditComponent: AXPLargeTextWidgetEditComponent
|
|
2223
|
+
});
|
|
2224
|
+
|
|
2225
|
+
class AXPLargeTextWidgetFilterComponent extends AXPWidgetBase {
|
|
2226
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPLargeTextWidgetFilterComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
2227
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.2", type: AXPLargeTextWidgetFilterComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
2228
|
+
}
|
|
2229
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPLargeTextWidgetFilterComponent, decorators: [{
|
|
2230
|
+
type: Component,
|
|
2231
|
+
args: [{
|
|
2232
|
+
template: ``,
|
|
2233
|
+
standalone: true,
|
|
2234
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2235
|
+
imports: [CommonModule, FormsModule],
|
|
2236
|
+
inputs: []
|
|
2237
|
+
}]
|
|
2238
|
+
}] });
|
|
2239
|
+
|
|
2240
|
+
var largeTextWidgetFilter_component = /*#__PURE__*/Object.freeze({
|
|
2241
|
+
__proto__: null,
|
|
2242
|
+
AXPLargeTextWidgetFilterComponent: AXPLargeTextWidgetFilterComponent
|
|
2243
|
+
});
|
|
2244
|
+
|
|
2245
|
+
class AXPLargeTextWidgetColumnComponent extends AXPColumnWidgetBase {
|
|
2246
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPLargeTextWidgetColumnComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
2247
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.2", type: AXPLargeTextWidgetColumnComponent, isStandalone: true, selector: "ng-component", inputs: { rawValue: "rawValue" }, usesInheritance: true, ngImport: i0, template: `<span class="ax-truncate">
|
|
2248
|
+
{{ rawValue }}
|
|
2249
|
+
</span>`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
2250
|
+
}
|
|
2251
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPLargeTextWidgetColumnComponent, decorators: [{
|
|
2252
|
+
type: Component,
|
|
2253
|
+
args: [{
|
|
2254
|
+
template: `<span class="ax-truncate">
|
|
2255
|
+
{{ rawValue }}
|
|
2256
|
+
</span>`,
|
|
2257
|
+
standalone: true,
|
|
2258
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2259
|
+
imports: [CommonModule],
|
|
2260
|
+
inputs: ['rawValue'],
|
|
2261
|
+
}]
|
|
2262
|
+
}] });
|
|
2263
|
+
|
|
2264
|
+
var largeTextWidgetColumn_component = /*#__PURE__*/Object.freeze({
|
|
2265
|
+
__proto__: null,
|
|
2266
|
+
AXPLargeTextWidgetColumnComponent: AXPLargeTextWidgetColumnComponent
|
|
2267
|
+
});
|
|
2268
|
+
|
|
2269
|
+
class AXPLargeTextWidgetPrintComponent extends AXPWidgetBase {
|
|
2270
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPLargeTextWidgetPrintComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
2271
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.2", type: AXPLargeTextWidgetPrintComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
2272
|
+
}
|
|
2273
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPLargeTextWidgetPrintComponent, decorators: [{
|
|
2274
|
+
type: Component,
|
|
2275
|
+
args: [{
|
|
2276
|
+
template: ``,
|
|
2277
|
+
standalone: true,
|
|
2278
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2279
|
+
imports: [CommonModule],
|
|
2280
|
+
inputs: []
|
|
2281
|
+
}]
|
|
2282
|
+
}] });
|
|
2283
|
+
|
|
2284
|
+
var largeTextWidgetPrint_component = /*#__PURE__*/Object.freeze({
|
|
2285
|
+
__proto__: null,
|
|
2286
|
+
AXPLargeTextWidgetPrintComponent: AXPLargeTextWidgetPrintComponent
|
|
2287
|
+
});
|
|
2288
|
+
|
|
2289
|
+
class AXPLargeTextWidgetDesignerComponent extends AXPWidgetBase {
|
|
2290
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPLargeTextWidgetDesignerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
2291
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.2", type: AXPLargeTextWidgetDesignerComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
2292
|
+
}
|
|
2293
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPLargeTextWidgetDesignerComponent, decorators: [{
|
|
2294
|
+
type: Component,
|
|
2295
|
+
args: [{
|
|
2296
|
+
template: ``,
|
|
2297
|
+
standalone: true,
|
|
2298
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2299
|
+
imports: [CommonModule],
|
|
2300
|
+
inputs: []
|
|
2301
|
+
}]
|
|
2302
|
+
}] });
|
|
2303
|
+
|
|
2304
|
+
var largeTextWidgetDesigner_component = /*#__PURE__*/Object.freeze({
|
|
2305
|
+
__proto__: null,
|
|
2306
|
+
AXPLargeTextWidgetDesignerComponent: AXPLargeTextWidgetDesignerComponent
|
|
2307
|
+
});
|
|
2308
|
+
|
|
2309
|
+
const AXPLargeTextWidget = {
|
|
2310
|
+
name: "large-text",
|
|
2311
|
+
components: {
|
|
2312
|
+
view: {
|
|
2313
|
+
component: () => Promise.resolve().then(function () { return largeTextWidgetView_component; }).then((c) => c.AXPLargeTextWidgetViewComponent),
|
|
2314
|
+
},
|
|
2315
|
+
edit: {
|
|
2316
|
+
component: () => Promise.resolve().then(function () { return largeTextWidgetEdit_component; }).then((c) => c.AXPLargeTextWidgetEditComponent),
|
|
2317
|
+
},
|
|
2318
|
+
filter: {
|
|
2319
|
+
component: () => Promise.resolve().then(function () { return largeTextWidgetFilter_component; }).then((c) => c.AXPLargeTextWidgetFilterComponent),
|
|
2320
|
+
},
|
|
2321
|
+
column: {
|
|
2322
|
+
component: () => Promise.resolve().then(function () { return largeTextWidgetColumn_component; }).then((c) => c.AXPLargeTextWidgetColumnComponent),
|
|
2323
|
+
},
|
|
2324
|
+
print: {
|
|
2325
|
+
component: () => Promise.resolve().then(function () { return largeTextWidgetPrint_component; }).then((c) => c.AXPLargeTextWidgetPrintComponent),
|
|
2326
|
+
},
|
|
2327
|
+
designer: {
|
|
2328
|
+
component: () => Promise.resolve().then(function () { return largeTextWidgetDesigner_component; }).then((c) => c.AXPLargeTextWidgetDesignerComponent),
|
|
2329
|
+
},
|
|
2330
|
+
}
|
|
2331
|
+
};
|
|
2332
|
+
|
|
1712
2333
|
class AXPLinkWidgetViewComponent extends AXPWidgetBase {
|
|
1713
2334
|
constructor() {
|
|
1714
2335
|
super(...arguments);
|
|
@@ -1755,7 +2376,7 @@ class AXPLinkWidgetViewComponent extends AXPWidgetBase {
|
|
|
1755
2376
|
<a
|
|
1756
2377
|
[href]="item.value"
|
|
1757
2378
|
[target]="'_' + target"
|
|
1758
|
-
class="group-hover:!ax-text-primary-500"
|
|
2379
|
+
class="ax-text-blue-700 group-hover:!ax-text-primary-500 group-hover:ax-underline group-hover:ax-decoration-blue-700"
|
|
1759
2380
|
>{{ item.title ?? item.value }}</a
|
|
1760
2381
|
>
|
|
1761
2382
|
<span
|
|
@@ -1771,7 +2392,7 @@ class AXPLinkWidgetViewComponent extends AXPWidgetBase {
|
|
|
1771
2392
|
</div>
|
|
1772
2393
|
}
|
|
1773
2394
|
</ng-template>
|
|
1774
|
-
</div>`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$
|
|
2395
|
+
</div>`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type: i2$1.AXBadgeComponent, selector: "ax-badge", inputs: ["color", "look", "text"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1775
2396
|
}
|
|
1776
2397
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPLinkWidgetViewComponent, decorators: [{
|
|
1777
2398
|
type: Component,
|
|
@@ -1795,7 +2416,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
|
|
|
1795
2416
|
<a
|
|
1796
2417
|
[href]="item.value"
|
|
1797
2418
|
[target]="'_' + target"
|
|
1798
|
-
class="group-hover:!ax-text-primary-500"
|
|
2419
|
+
class="ax-text-blue-700 group-hover:!ax-text-primary-500 group-hover:ax-underline group-hover:ax-decoration-blue-700"
|
|
1799
2420
|
>{{ item.title ?? item.value }}</a
|
|
1800
2421
|
>
|
|
1801
2422
|
<span
|
|
@@ -1859,17 +2480,6 @@ class AXPLinkWidgetEditComponent extends AXPWidgetBase {
|
|
|
1859
2480
|
else
|
|
1860
2481
|
return e.value;
|
|
1861
2482
|
};
|
|
1862
|
-
this.validateFn = async (val) => {
|
|
1863
|
-
const urlRegex = /^([a-zA-Z0-9.-]+\.[a-zA-Z]{2,})(\/[a-zA-Z0-9._~:/?#\[\]@!$&'()*+,;=-]*)?$/;
|
|
1864
|
-
const isValid = urlRegex.test(val);
|
|
1865
|
-
const translatedMessage = await this.translateService.translateAsync('validation.messages.url');
|
|
1866
|
-
return {
|
|
1867
|
-
rule: 'callback',
|
|
1868
|
-
result: isValid,
|
|
1869
|
-
message: translatedMessage,
|
|
1870
|
-
value: val,
|
|
1871
|
-
};
|
|
1872
|
-
};
|
|
1873
2483
|
}
|
|
1874
2484
|
ngOnInit() {
|
|
1875
2485
|
super.ngOnInit();
|
|
@@ -1885,11 +2495,10 @@ class AXPLinkWidgetEditComponent extends AXPWidgetBase {
|
|
|
1885
2495
|
const value = this.getValue();
|
|
1886
2496
|
if (Array.isArray(value)) {
|
|
1887
2497
|
return value.map((item) => {
|
|
1888
|
-
typeof item === 'object'
|
|
2498
|
+
return typeof item === 'object'
|
|
1889
2499
|
? {
|
|
1890
2500
|
value: item.value ?? '-',
|
|
1891
2501
|
title: item.title,
|
|
1892
|
-
protocol: item.protocol ?? 'https',
|
|
1893
2502
|
label: this.hasLabel ? item.label || 'primary' : undefined,
|
|
1894
2503
|
icon: item.icon,
|
|
1895
2504
|
}
|
|
@@ -1897,12 +2506,13 @@ class AXPLinkWidgetEditComponent extends AXPWidgetBase {
|
|
|
1897
2506
|
value: item,
|
|
1898
2507
|
title: '',
|
|
1899
2508
|
icon: '',
|
|
1900
|
-
protocol: 'https',
|
|
1901
2509
|
label: this.hasLabel ? 'Primary' : undefined,
|
|
1902
2510
|
};
|
|
1903
2511
|
});
|
|
1904
2512
|
}
|
|
1905
|
-
|
|
2513
|
+
else {
|
|
2514
|
+
return typeof value === 'object' ? [value] : [{ value: value || '' }];
|
|
2515
|
+
}
|
|
1906
2516
|
}
|
|
1907
2517
|
handleValueChange(e, selectedIndex) {
|
|
1908
2518
|
const { name, value, isUserInteraction } = e;
|
|
@@ -1924,39 +2534,80 @@ class AXPLinkWidgetEditComponent extends AXPWidgetBase {
|
|
|
1924
2534
|
// }
|
|
1925
2535
|
// }
|
|
1926
2536
|
addItem() {
|
|
1927
|
-
const newValues = [
|
|
2537
|
+
const newValues = [
|
|
2538
|
+
...this.internalValue(),
|
|
2539
|
+
{
|
|
2540
|
+
value: '',
|
|
2541
|
+
title: '',
|
|
2542
|
+
label: 'primary',
|
|
2543
|
+
icon: '',
|
|
2544
|
+
},
|
|
2545
|
+
];
|
|
1928
2546
|
this.setValue(newValues);
|
|
1929
2547
|
}
|
|
1930
2548
|
deleteItem(deletedIndex) {
|
|
1931
2549
|
const newValues = this.internalValue().filter((_, index) => index != deletedIndex);
|
|
1932
2550
|
this.setValue(newValues);
|
|
1933
2551
|
}
|
|
1934
|
-
generateClasses(elementName) {
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
2552
|
+
generateClasses(elementName, type = 'single') {
|
|
2553
|
+
if (type === 'multiple') {
|
|
2554
|
+
switch (elementName) {
|
|
2555
|
+
case 'url':
|
|
2556
|
+
if (this.hasTitle || this.hasLabel) {
|
|
2557
|
+
//already has ax-col-start-1 ax-col-end-13
|
|
2558
|
+
return ['lg:ax-col-end-7'];
|
|
2559
|
+
}
|
|
2560
|
+
else {
|
|
2561
|
+
return ['lg:ax-col-end-12'];
|
|
2562
|
+
}
|
|
2563
|
+
case 'title':
|
|
2564
|
+
if (this.hasLabel) {
|
|
2565
|
+
return ['ax-col-start-1 ax-col-end-7 lg:ax-col-start-7 lg:ax-col-end-10'];
|
|
2566
|
+
}
|
|
2567
|
+
else {
|
|
2568
|
+
return ['ax-col-start-1 ax-col-end-11 lg:ax-col-start-7 lg:ax-col-end-12'];
|
|
2569
|
+
}
|
|
2570
|
+
case 'label':
|
|
2571
|
+
if (this.hasTitle) {
|
|
2572
|
+
return ['ax-col-start-7 ax-col-end-11 lg:ax-col-start-10 lg:ax-col-end-12'];
|
|
2573
|
+
}
|
|
2574
|
+
else {
|
|
2575
|
+
return ['ax-col-start-1 ax-col-end-11 lg:ax-col-start-7 lg:ax-col-end-12'];
|
|
2576
|
+
}
|
|
2577
|
+
default:
|
|
2578
|
+
return [''];
|
|
2579
|
+
}
|
|
2580
|
+
}
|
|
2581
|
+
else if (type === 'single') {
|
|
2582
|
+
switch (elementName) {
|
|
2583
|
+
case 'url':
|
|
2584
|
+
if (this.hasTitle || this.hasLabel) {
|
|
2585
|
+
//already has ax-col-start-1 ax-col-end-13
|
|
2586
|
+
return ['lg:ax-col-end-7'];
|
|
2587
|
+
}
|
|
2588
|
+
else {
|
|
2589
|
+
return ['lg:ax-col-end-13'];
|
|
2590
|
+
}
|
|
2591
|
+
case 'title':
|
|
2592
|
+
if (this.hasLabel) {
|
|
2593
|
+
return ['ax-col-start-1 ax-col-end-7 lg:ax-col-start-7 lg:ax-col-end-10'];
|
|
2594
|
+
}
|
|
2595
|
+
else {
|
|
2596
|
+
return ['ax-col-start-1 ax-col-end-13 lg:ax-col-start-7 lg:ax-col-end-13'];
|
|
2597
|
+
}
|
|
2598
|
+
case 'label':
|
|
2599
|
+
if (this.hasTitle) {
|
|
2600
|
+
return ['ax-col-start-7 ax-col-end-13 lg:ax-col-start-10 lg:ax-col-end-13'];
|
|
2601
|
+
}
|
|
2602
|
+
else {
|
|
2603
|
+
return ['ax-col-start-1 ax-col-end-13 lg:ax-col-start-7 lg:ax-col-end-13'];
|
|
2604
|
+
}
|
|
2605
|
+
default:
|
|
2606
|
+
return [''];
|
|
2607
|
+
}
|
|
2608
|
+
}
|
|
2609
|
+
else {
|
|
2610
|
+
return [''];
|
|
1960
2611
|
}
|
|
1961
2612
|
}
|
|
1962
2613
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPLinkWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
@@ -1968,41 +2619,39 @@ class AXPLinkWidgetEditComponent extends AXPWidgetBase {
|
|
|
1968
2619
|
(onValueChanged)="handleValueChange($event, $index)"
|
|
1969
2620
|
type="text"
|
|
1970
2621
|
placeholder="Enter Link"
|
|
1971
|
-
class="ax-col-start-1 ax-col-end-13
|
|
1972
|
-
[
|
|
2622
|
+
class="ax-col-start-1 ax-col-end-13"
|
|
2623
|
+
[ngClass]="generateClasses('url', 'multiple')"
|
|
1973
2624
|
>
|
|
1974
|
-
<ax-prefix>
|
|
1975
|
-
<ax-select-box
|
|
1976
|
-
[dataSource]="linkTypes"
|
|
1977
|
-
[ngModel]="item.label"
|
|
1978
|
-
(onValueChanged)="handleValueChange($event, $index)"
|
|
1979
|
-
[look]="'fill'"
|
|
1980
|
-
placeholder="Choose..."
|
|
1981
|
-
>
|
|
1982
|
-
</ax-select-box>
|
|
1983
|
-
</ax-prefix>
|
|
1984
2625
|
@for (validation of validationRules; track $index) {
|
|
1985
2626
|
<ax-validation-rule [rule]="validation.rule" [message]="validation.options?.message" [options]="validation.options"></ax-validation-rule>
|
|
1986
2627
|
}
|
|
1987
2628
|
<ax-validation-rule message="field can't be empty" rule="required"> </ax-validation-rule>
|
|
1988
|
-
<ax-validation-rule message="field can't be empty" rule="callback" [options]="{ validate: validateFn }"> </ax-validation-rule>
|
|
1989
2629
|
</ax-text-box>
|
|
1990
|
-
@if(
|
|
2630
|
+
@if(hasTitle){
|
|
2631
|
+
<ax-text-box
|
|
2632
|
+
[ngModel]="item.title"
|
|
2633
|
+
(onValueChanged)="handleValueChange($event, $index)"
|
|
2634
|
+
placeholder="Choose Title..."
|
|
2635
|
+
name="title"
|
|
2636
|
+
[ngClass]="generateClasses('title', 'multiple')"
|
|
2637
|
+
>
|
|
2638
|
+
</ax-text-box>
|
|
2639
|
+
} @if(hasLabel){
|
|
1991
2640
|
<ax-select-box
|
|
1992
2641
|
[dataSource]="labelTypes"
|
|
1993
2642
|
[ngModel]="item.label"
|
|
1994
2643
|
(onValueChanged)="handleValueChange($event, $index)"
|
|
1995
2644
|
placeholder="Choose Label..."
|
|
1996
|
-
|
|
2645
|
+
name="label"
|
|
2646
|
+
[ngClass]="generateClasses('label', 'multiple')"
|
|
1997
2647
|
>
|
|
1998
|
-
<ax-clear-button></ax-clear-button>
|
|
1999
2648
|
</ax-select-box>
|
|
2000
|
-
}
|
|
2649
|
+
}}
|
|
2001
2650
|
<ax-button
|
|
2002
2651
|
look="twotone"
|
|
2003
2652
|
color="danger"
|
|
2004
2653
|
(onClick)="deleteItem($index)"
|
|
2005
|
-
class="ax-col-start-
|
|
2654
|
+
class="ax-col-start-12 ax-col-end-13 lg:ax-col-start-12 lg:ax-col-end-13 ax-justify-self-end !ax-h-full"
|
|
2006
2655
|
>
|
|
2007
2656
|
<ax-icon icon="fa-regular fa-xmark"></ax-icon>
|
|
2008
2657
|
</ax-button>
|
|
@@ -2017,9 +2666,9 @@ class AXPLinkWidgetEditComponent extends AXPWidgetBase {
|
|
|
2017
2666
|
<ax-icon class="fa-solid fa-add"></ax-icon>
|
|
2018
2667
|
</ax-prefix>
|
|
2019
2668
|
</ax-button>
|
|
2020
|
-
}
|
|
2669
|
+
} @else{
|
|
2021
2670
|
<ax-text-box
|
|
2022
|
-
[ngClass]="generateClasses('url')"
|
|
2671
|
+
[ngClass]="generateClasses('url', 'single')"
|
|
2023
2672
|
[ngModel]="internalValue()[0].value"
|
|
2024
2673
|
(onValueChanged)="handleValueChange($event, 0)"
|
|
2025
2674
|
type="text"
|
|
@@ -2027,27 +2676,14 @@ class AXPLinkWidgetEditComponent extends AXPWidgetBase {
|
|
|
2027
2676
|
placeholder="Link"
|
|
2028
2677
|
class="ax-col-start-1 ax-col-end-13"
|
|
2029
2678
|
>
|
|
2030
|
-
<ax-prefix
|
|
2031
|
-
><ax-select-box
|
|
2032
|
-
[dataSource]="linkTypes"
|
|
2033
|
-
[look]="'fill'"
|
|
2034
|
-
name="protocol"
|
|
2035
|
-
placeholder="Protocol"
|
|
2036
|
-
[ngModel]="internalValue()[0].protocol"
|
|
2037
|
-
(onValueChanged)="handleValueChange($event, 0)"
|
|
2038
|
-
>
|
|
2039
|
-
<!-- <ax-validation-rule message="field can't be empty" rule="required"> </ax-validation-rule> -->
|
|
2040
|
-
<ax-clear-button></ax-clear-button> </ax-select-box
|
|
2041
|
-
></ax-prefix>
|
|
2042
2679
|
@for (validation of validationRules; track $index) {
|
|
2043
2680
|
<ax-validation-rule [rule]="validation.rule" [message]="validation.options?.message" [options]="validation.options"></ax-validation-rule>
|
|
2044
2681
|
}
|
|
2045
2682
|
<ax-validation-rule message="field can't be empty" rule="required"> </ax-validation-rule>
|
|
2046
|
-
<ax-validation-rule message="field can't be empty" rule="callback" [options]="{ validate: validateFn }"> </ax-validation-rule>
|
|
2047
2683
|
</ax-text-box>
|
|
2048
2684
|
@if(hasTitle){
|
|
2049
2685
|
<ax-text-box
|
|
2050
|
-
[ngClass]="generateClasses('title')"
|
|
2686
|
+
[ngClass]="generateClasses('title', 'single')"
|
|
2051
2687
|
[ngModel]="internalValue()[0].title"
|
|
2052
2688
|
(onValueChanged)="handleValueChange($event, 0)"
|
|
2053
2689
|
type="text"
|
|
@@ -2057,7 +2693,7 @@ class AXPLinkWidgetEditComponent extends AXPWidgetBase {
|
|
|
2057
2693
|
</ax-text-box>
|
|
2058
2694
|
} @if(hasLabel){
|
|
2059
2695
|
<ax-select-box
|
|
2060
|
-
[ngClass]="generateClasses('label')"
|
|
2696
|
+
[ngClass]="generateClasses('label', 'single')"
|
|
2061
2697
|
[dataSource]="labelTypes"
|
|
2062
2698
|
[ngModel]="internalValue()[0].label"
|
|
2063
2699
|
(onValueChanged)="handleValueChange($event, 0)"
|
|
@@ -2066,7 +2702,7 @@ class AXPLinkWidgetEditComponent extends AXPWidgetBase {
|
|
|
2066
2702
|
>
|
|
2067
2703
|
</ax-select-box>
|
|
2068
2704
|
} }
|
|
2069
|
-
</div>`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$
|
|
2705
|
+
</div>`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXSelectBoxModule }, { kind: "component", type: i3$2.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: i3$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", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "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 }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
2070
2706
|
}
|
|
2071
2707
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPLinkWidgetEditComponent, decorators: [{
|
|
2072
2708
|
type: Component,
|
|
@@ -2079,41 +2715,39 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
|
|
|
2079
2715
|
(onValueChanged)="handleValueChange($event, $index)"
|
|
2080
2716
|
type="text"
|
|
2081
2717
|
placeholder="Enter Link"
|
|
2082
|
-
class="ax-col-start-1 ax-col-end-13
|
|
2083
|
-
[
|
|
2718
|
+
class="ax-col-start-1 ax-col-end-13"
|
|
2719
|
+
[ngClass]="generateClasses('url', 'multiple')"
|
|
2084
2720
|
>
|
|
2085
|
-
<ax-prefix>
|
|
2086
|
-
<ax-select-box
|
|
2087
|
-
[dataSource]="linkTypes"
|
|
2088
|
-
[ngModel]="item.label"
|
|
2089
|
-
(onValueChanged)="handleValueChange($event, $index)"
|
|
2090
|
-
[look]="'fill'"
|
|
2091
|
-
placeholder="Choose..."
|
|
2092
|
-
>
|
|
2093
|
-
</ax-select-box>
|
|
2094
|
-
</ax-prefix>
|
|
2095
2721
|
@for (validation of validationRules; track $index) {
|
|
2096
2722
|
<ax-validation-rule [rule]="validation.rule" [message]="validation.options?.message" [options]="validation.options"></ax-validation-rule>
|
|
2097
2723
|
}
|
|
2098
2724
|
<ax-validation-rule message="field can't be empty" rule="required"> </ax-validation-rule>
|
|
2099
|
-
<ax-validation-rule message="field can't be empty" rule="callback" [options]="{ validate: validateFn }"> </ax-validation-rule>
|
|
2100
2725
|
</ax-text-box>
|
|
2101
|
-
@if(
|
|
2726
|
+
@if(hasTitle){
|
|
2727
|
+
<ax-text-box
|
|
2728
|
+
[ngModel]="item.title"
|
|
2729
|
+
(onValueChanged)="handleValueChange($event, $index)"
|
|
2730
|
+
placeholder="Choose Title..."
|
|
2731
|
+
name="title"
|
|
2732
|
+
[ngClass]="generateClasses('title', 'multiple')"
|
|
2733
|
+
>
|
|
2734
|
+
</ax-text-box>
|
|
2735
|
+
} @if(hasLabel){
|
|
2102
2736
|
<ax-select-box
|
|
2103
2737
|
[dataSource]="labelTypes"
|
|
2104
2738
|
[ngModel]="item.label"
|
|
2105
2739
|
(onValueChanged)="handleValueChange($event, $index)"
|
|
2106
2740
|
placeholder="Choose Label..."
|
|
2107
|
-
|
|
2741
|
+
name="label"
|
|
2742
|
+
[ngClass]="generateClasses('label', 'multiple')"
|
|
2108
2743
|
>
|
|
2109
|
-
<ax-clear-button></ax-clear-button>
|
|
2110
2744
|
</ax-select-box>
|
|
2111
|
-
}
|
|
2745
|
+
}}
|
|
2112
2746
|
<ax-button
|
|
2113
2747
|
look="twotone"
|
|
2114
2748
|
color="danger"
|
|
2115
2749
|
(onClick)="deleteItem($index)"
|
|
2116
|
-
class="ax-col-start-
|
|
2750
|
+
class="ax-col-start-12 ax-col-end-13 lg:ax-col-start-12 lg:ax-col-end-13 ax-justify-self-end !ax-h-full"
|
|
2117
2751
|
>
|
|
2118
2752
|
<ax-icon icon="fa-regular fa-xmark"></ax-icon>
|
|
2119
2753
|
</ax-button>
|
|
@@ -2128,9 +2762,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
|
|
|
2128
2762
|
<ax-icon class="fa-solid fa-add"></ax-icon>
|
|
2129
2763
|
</ax-prefix>
|
|
2130
2764
|
</ax-button>
|
|
2131
|
-
}
|
|
2765
|
+
} @else{
|
|
2132
2766
|
<ax-text-box
|
|
2133
|
-
[ngClass]="generateClasses('url')"
|
|
2767
|
+
[ngClass]="generateClasses('url', 'single')"
|
|
2134
2768
|
[ngModel]="internalValue()[0].value"
|
|
2135
2769
|
(onValueChanged)="handleValueChange($event, 0)"
|
|
2136
2770
|
type="text"
|
|
@@ -2138,27 +2772,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
|
|
|
2138
2772
|
placeholder="Link"
|
|
2139
2773
|
class="ax-col-start-1 ax-col-end-13"
|
|
2140
2774
|
>
|
|
2141
|
-
<ax-prefix
|
|
2142
|
-
><ax-select-box
|
|
2143
|
-
[dataSource]="linkTypes"
|
|
2144
|
-
[look]="'fill'"
|
|
2145
|
-
name="protocol"
|
|
2146
|
-
placeholder="Protocol"
|
|
2147
|
-
[ngModel]="internalValue()[0].protocol"
|
|
2148
|
-
(onValueChanged)="handleValueChange($event, 0)"
|
|
2149
|
-
>
|
|
2150
|
-
<!-- <ax-validation-rule message="field can't be empty" rule="required"> </ax-validation-rule> -->
|
|
2151
|
-
<ax-clear-button></ax-clear-button> </ax-select-box
|
|
2152
|
-
></ax-prefix>
|
|
2153
2775
|
@for (validation of validationRules; track $index) {
|
|
2154
2776
|
<ax-validation-rule [rule]="validation.rule" [message]="validation.options?.message" [options]="validation.options"></ax-validation-rule>
|
|
2155
2777
|
}
|
|
2156
2778
|
<ax-validation-rule message="field can't be empty" rule="required"> </ax-validation-rule>
|
|
2157
|
-
<ax-validation-rule message="field can't be empty" rule="callback" [options]="{ validate: validateFn }"> </ax-validation-rule>
|
|
2158
2779
|
</ax-text-box>
|
|
2159
2780
|
@if(hasTitle){
|
|
2160
2781
|
<ax-text-box
|
|
2161
|
-
[ngClass]="generateClasses('title')"
|
|
2782
|
+
[ngClass]="generateClasses('title', 'single')"
|
|
2162
2783
|
[ngModel]="internalValue()[0].title"
|
|
2163
2784
|
(onValueChanged)="handleValueChange($event, 0)"
|
|
2164
2785
|
type="text"
|
|
@@ -2168,7 +2789,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
|
|
|
2168
2789
|
</ax-text-box>
|
|
2169
2790
|
} @if(hasLabel){
|
|
2170
2791
|
<ax-select-box
|
|
2171
|
-
[ngClass]="generateClasses('label')"
|
|
2792
|
+
[ngClass]="generateClasses('label', 'single')"
|
|
2172
2793
|
[dataSource]="labelTypes"
|
|
2173
2794
|
[ngModel]="internalValue()[0].label"
|
|
2174
2795
|
(onValueChanged)="handleValueChange($event, 0)"
|
|
@@ -2694,7 +3315,7 @@ class AXPNumberBoxWidgetEditComponent extends AXPWidgetBase {
|
|
|
2694
3315
|
</ax-button>
|
|
2695
3316
|
}
|
|
2696
3317
|
</div>
|
|
2697
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXNumberBoxModule }, { kind: "component", type: i1$
|
|
3318
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXNumberBoxModule }, { kind: "component", type: i1$3.AXNumberBoxComponent, selector: "ax-number-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "value", "state", "name", "id", "look", "thousandsSeparator", "padDecimalZeros", "step", "decimals", "decimalStep", "showSpinButtons", "minValue", "maxValue", "class"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i3.AXDecoratorClearButtonComponent, selector: "ax-clear-button", 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: AXFormModule }, { kind: "directive", type: i3$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", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
2698
3319
|
}
|
|
2699
3320
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPNumberBoxWidgetEditComponent, decorators: [{
|
|
2700
3321
|
type: Component,
|
|
@@ -2954,7 +3575,7 @@ class AXPPasswordBoxWidgetEditComponent extends AXPWidgetBase {
|
|
|
2954
3575
|
<ax-password-box [ngModel]="getValue()" (onValueChanged)="handleValueChanged($event)">
|
|
2955
3576
|
<ax-validation-rule rule="required"></ax-validation-rule>
|
|
2956
3577
|
</ax-password-box>
|
|
2957
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXPasswordBoxModule }, { kind: "component", type: i2$3.AXPasswordBoxComponent, selector: "ax-password-box", inputs: ["readonly", "disabled", "tabIndex", "placeholder", "value", "state", "name", "id", "look", "autoComplete", "showToggleButton", "class"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }, { kind: "ngmodule", type: AXValidationModule }, { kind: "ngmodule", type: AXFormModule }, { kind: "directive", type: i3.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
3578
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXPasswordBoxModule }, { kind: "component", type: i2$3.AXPasswordBoxComponent, selector: "ax-password-box", inputs: ["readonly", "disabled", "tabIndex", "placeholder", "value", "state", "name", "id", "look", "autoComplete", "showToggleButton", "class"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }, { kind: "ngmodule", type: AXValidationModule }, { kind: "ngmodule", type: AXFormModule }, { kind: "directive", type: i3$1.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
2958
3579
|
}
|
|
2959
3580
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPPasswordBoxWidgetEditComponent, decorators: [{
|
|
2960
3581
|
type: Component,
|
|
@@ -3138,7 +3759,7 @@ class AXPPhoneBoxWidgetViewComponent extends AXPWidgetBase {
|
|
|
3138
3759
|
</ng-container>
|
|
3139
3760
|
</ng-template>
|
|
3140
3761
|
</div>
|
|
3141
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$
|
|
3762
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type: i2$1.AXBadgeComponent, selector: "ax-badge", inputs: ["color", "look", "text"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
3142
3763
|
}
|
|
3143
3764
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPPhoneBoxWidgetViewComponent, decorators: [{
|
|
3144
3765
|
type: Component,
|
|
@@ -3311,7 +3932,7 @@ class AXPPhoneBoxWidgetEditComponent extends AXPWidgetBase {
|
|
|
3311
3932
|
</ax-prefix>
|
|
3312
3933
|
</ax-button>
|
|
3313
3934
|
</div>
|
|
3314
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$
|
|
3935
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXFormModule }, { kind: "directive", type: i3$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", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "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: AXSelectBoxModule }, { kind: "component", type: i3$2.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: 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 }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
3315
3936
|
}
|
|
3316
3937
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPPhoneBoxWidgetEditComponent, decorators: [{
|
|
3317
3938
|
type: Component,
|
|
@@ -3563,7 +4184,7 @@ class AXPRichTextWidgetViewComponent extends AXPWidgetBase {
|
|
|
3563
4184
|
<div [ngClass]="{'ax-border ax-p-3 ax-rounded-lg':this.getValue(),'ax-text-gray-300':this.getValue()==null}">
|
|
3564
4185
|
<div [innerHTML]="innerValue()"></div>
|
|
3565
4186
|
</div>
|
|
3566
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$
|
|
4187
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
3567
4188
|
}
|
|
3568
4189
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPRichTextWidgetViewComponent, decorators: [{
|
|
3569
4190
|
type: Component,
|
|
@@ -3670,18 +4291,22 @@ var richTextWidgetFilter_component = /*#__PURE__*/Object.freeze({
|
|
|
3670
4291
|
AXPRichTextWidgetFilterComponent: AXPRichTextWidgetFilterComponent
|
|
3671
4292
|
});
|
|
3672
4293
|
|
|
3673
|
-
class AXPRichTextWidgetColumnComponent extends
|
|
4294
|
+
class AXPRichTextWidgetColumnComponent extends AXPColumnWidgetBase {
|
|
3674
4295
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPRichTextWidgetColumnComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
3675
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.2", type: AXPRichTextWidgetColumnComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template:
|
|
4296
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.2", type: AXPRichTextWidgetColumnComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `<span class="ax-truncate">
|
|
4297
|
+
{{ rawValue }}
|
|
4298
|
+
</span>`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
3676
4299
|
}
|
|
3677
4300
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPRichTextWidgetColumnComponent, decorators: [{
|
|
3678
4301
|
type: Component,
|
|
3679
4302
|
args: [{
|
|
3680
|
-
template:
|
|
4303
|
+
template: `<span class="ax-truncate">
|
|
4304
|
+
{{ rawValue }}
|
|
4305
|
+
</span>`,
|
|
3681
4306
|
standalone: true,
|
|
3682
4307
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3683
4308
|
imports: [CommonModule],
|
|
3684
|
-
inputs: []
|
|
4309
|
+
inputs: [],
|
|
3685
4310
|
}]
|
|
3686
4311
|
}] });
|
|
3687
4312
|
|
|
@@ -3848,7 +4473,7 @@ class AXPSelectBoxWidgetEditComponent extends AXPWidgetBase {
|
|
|
3848
4473
|
>
|
|
3849
4474
|
<ax-clear-button></ax-clear-button>
|
|
3850
4475
|
</ax-select-box>
|
|
3851
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXSelectBoxModule }, { kind: "component", type:
|
|
4476
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXSelectBoxModule }, { kind: "component", type: i3$2.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: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorClearButtonComponent, selector: "ax-clear-button", inputs: ["icon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
3852
4477
|
}
|
|
3853
4478
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPSelectBoxWidgetEditComponent, decorators: [{
|
|
3854
4479
|
type: Component,
|
|
@@ -4339,7 +4964,7 @@ class AXPSignatureWidgetEditComponent extends AXPWidgetBase {
|
|
|
4339
4964
|
</div>
|
|
4340
4965
|
}
|
|
4341
4966
|
</div>
|
|
4342
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type:
|
|
4967
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i5.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "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: AXImageModule }, { kind: "component", type: i2$2.AXImageComponent, selector: "ax-image", inputs: ["overlayMode", "src", "alt", "priority", "lazy"], outputs: ["onLoad", "onError"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
4343
4968
|
}
|
|
4344
4969
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPSignatureWidgetEditComponent, decorators: [{
|
|
4345
4970
|
type: Component,
|
|
@@ -4596,7 +5221,7 @@ class AXPTextBoxWidgetEditComponent extends AXPWidgetBase {
|
|
|
4596
5221
|
</ax-button>
|
|
4597
5222
|
}
|
|
4598
5223
|
</div>
|
|
4599
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { 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: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXFormModule }, { kind: "directive", type: i3.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3
|
|
5224
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { 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: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXFormModule }, { kind: "directive", type: i3$1.AXValidationRuleDirective, selector: "ax-validation-rule", inputs: ["rule", "options", "message"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i3.AXDecoratorClearButtonComponent, selector: "ax-clear-button", 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: AXValidationModule }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i5.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
4600
5225
|
}
|
|
4601
5226
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPTextBoxWidgetEditComponent, decorators: [{
|
|
4602
5227
|
type: Component,
|
|
@@ -4765,7 +5390,7 @@ class AXPToggleWidgetViewComponent extends AXPWidgetBase {
|
|
|
4765
5390
|
<ax-icon class="fa-solid fa-xmark ax-text-success"> </ax-icon>
|
|
4766
5391
|
}@else {
|
|
4767
5392
|
<ax-icon class="fa-solid fa-xmark ax-text-danger"> </ax-icon>
|
|
4768
|
-
} } }`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3
|
|
5393
|
+
} } }`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type: i2$1.AXBadgeComponent, selector: "ax-badge", inputs: ["color", "look", "text"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
4769
5394
|
}
|
|
4770
5395
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPToggleWidgetViewComponent, decorators: [{
|
|
4771
5396
|
type: Component,
|
|
@@ -4853,7 +5478,7 @@ class AXPToggleWidgetColumnComponent extends AXPColumnWidgetBase {
|
|
|
4853
5478
|
<ax-icon class="fa-solid fa-xmark ax-text-success"> </ax-icon>
|
|
4854
5479
|
}@else {
|
|
4855
5480
|
<ax-icon class="fa-solid fa-xmark ax-text-danger"> </ax-icon>
|
|
4856
|
-
} } }`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3
|
|
5481
|
+
} } }`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type: i2$1.AXBadgeComponent, selector: "ax-badge", inputs: ["color", "look", "text"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
4857
5482
|
}
|
|
4858
5483
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPToggleWidgetColumnComponent, decorators: [{
|
|
4859
5484
|
type: Component,
|
|
@@ -4957,7 +5582,7 @@ class AXPBlockWidgetViewComponent extends AXPWidgetBase {
|
|
|
4957
5582
|
<axp-widget-renderer [node]="node" >
|
|
4958
5583
|
</axp-widget-renderer>
|
|
4959
5584
|
}
|
|
4960
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "component", type: i1$
|
|
5585
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXPLayoutBuilderModule }, { kind: "component", type: i1$4.AXPWidgetRendererComponent, selector: "axp-widget-renderer", inputs: ["node"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
4961
5586
|
}
|
|
4962
5587
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPBlockWidgetViewComponent, decorators: [{
|
|
4963
5588
|
type: Component,
|
|
@@ -4997,7 +5622,7 @@ const AXPBlockWidget = {
|
|
|
4997
5622
|
|
|
4998
5623
|
class AXPWidgetsModule {
|
|
4999
5624
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPWidgetsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
5000
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.2", ngImport: i0, type: AXPWidgetsModule, imports: [i1$
|
|
5625
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.2", ngImport: i0, type: AXPWidgetsModule, imports: [i1$4.AXPLayoutBuilderModule] }); }
|
|
5001
5626
|
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.2", ngImport: i0, type: AXPWidgetsModule, imports: [AXPLayoutBuilderModule.forChild({
|
|
5002
5627
|
widgets: [
|
|
5003
5628
|
AXPTextBoxWidget,
|
|
@@ -5008,7 +5633,9 @@ class AXPWidgetsModule {
|
|
|
5008
5633
|
AXPNumberBoxWidget,
|
|
5009
5634
|
AXPSignatureWidget,
|
|
5010
5635
|
AXPDateTimeBoxWidget,
|
|
5636
|
+
AXPContactWidget,
|
|
5011
5637
|
AXPSelectionListWidget,
|
|
5638
|
+
AXPLargeTextWidget,
|
|
5012
5639
|
AXPMapBoxWidget,
|
|
5013
5640
|
AXPPhoneBoxWidget,
|
|
5014
5641
|
AXPEmailBoxWidget,
|
|
@@ -5034,7 +5661,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.2", ngImpor
|
|
|
5034
5661
|
AXPNumberBoxWidget,
|
|
5035
5662
|
AXPSignatureWidget,
|
|
5036
5663
|
AXPDateTimeBoxWidget,
|
|
5664
|
+
AXPContactWidget,
|
|
5037
5665
|
AXPSelectionListWidget,
|
|
5666
|
+
AXPLargeTextWidget,
|
|
5038
5667
|
AXPMapBoxWidget,
|
|
5039
5668
|
AXPPhoneBoxWidget,
|
|
5040
5669
|
AXPEmailBoxWidget,
|