@kominal/common-angular 0.2.5 → 0.2.7
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/fesm2022/kominal-common-angular.mjs +23 -23
- package/fesm2022/kominal-common-angular.mjs.map +1 -1
- package/lib/input-boolean/input-boolean.component.d.ts +2 -2
- package/lib/input-enum/input-enum.component.d.ts +2 -2
- package/lib/input-multi-select/input-multi-select.component.d.ts +2 -2
- package/lib/input-number/input-number.component.d.ts +2 -2
- package/lib/input-select/input-select.component.d.ts +2 -2
- package/lib/input-text/input-text.component.d.ts +2 -2
- package/lib/input-textarea/input-textarea.component.d.ts +2 -2
- package/package.json +1 -1
|
@@ -44,14 +44,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
|
|
|
44
44
|
}], ctorParameters: () => [] });
|
|
45
45
|
|
|
46
46
|
class InputBooleanComponent {
|
|
47
|
-
label = input
|
|
47
|
+
label = input();
|
|
48
48
|
formElement = input.required();
|
|
49
49
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: InputBooleanComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
50
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.
|
|
50
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.10", type: InputBooleanComponent, isStandalone: true, selector: "app-input-boolean", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, formElement: { classPropertyName: "formElement", publicName: "formElement", isSignal: true, isRequired: true, transformFunction: null } }, host: { classAttribute: "flex items-center gap-3 w-full" }, ngImport: i0, template: "<p-toggleswitch class=\"flex-shrink-0\" [formControl]=\"formElement()\" />\r\n@if (label(); as label) {\r\n <app-label [label]=\"label\" [formElement]=\"formElement()\" />\r\n}\r\n", dependencies: [{ kind: "ngmodule", type: ToggleSwitchModule }, { kind: "component", type: i1.ToggleSwitch, selector: "p-toggleswitch, p-toggleSwitch, p-toggle-switch", inputs: ["styleClass", "tabindex", "inputId", "readonly", "trueValue", "falseValue", "ariaLabel", "size", "ariaLabelledBy", "autofocus"], outputs: ["onChange"] }, { kind: "component", type: LabelComponent, selector: "app-label", inputs: ["label", "formElement"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }] });
|
|
51
51
|
}
|
|
52
52
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: InputBooleanComponent, decorators: [{
|
|
53
53
|
type: Component,
|
|
54
|
-
args: [{ selector: 'app-input-boolean', imports: [ToggleSwitchModule, LabelComponent, ReactiveFormsModule], host: { class: 'flex items-center gap-3 w-full' }, template: "<p-toggleswitch class=\"flex-shrink-0\" [formControl]=\"formElement()\" />\r\n<app-label [label]=\"label
|
|
54
|
+
args: [{ selector: 'app-input-boolean', imports: [ToggleSwitchModule, LabelComponent, ReactiveFormsModule], host: { class: 'flex items-center gap-3 w-full' }, template: "<p-toggleswitch class=\"flex-shrink-0\" [formControl]=\"formElement()\" />\r\n@if (label(); as label) {\r\n <app-label [label]=\"label\" [formElement]=\"formElement()\" />\r\n}\r\n" }]
|
|
55
55
|
}] });
|
|
56
56
|
|
|
57
57
|
class InputDateComponent {
|
|
@@ -66,11 +66,11 @@ class InputDateComponent {
|
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
68
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: InputDateComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
69
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.
|
|
69
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.10", type: InputDateComponent, isStandalone: true, selector: "app-input-date", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: true, transformFunction: null }, formElement: { classPropertyName: "formElement", publicName: "formElement", isSignal: true, isRequired: true, transformFunction: null } }, host: { classAttribute: "flex flex-col gap-1 w-full" }, ngImport: i0, template: "@if (label(); as label) {\r\n <app-label [label]=\"label\" [formElement]=\"formElement()\" />\r\n}\r\n<p-datepicker [formControl]=\"formElement()\" styleClass=\"w-full\" dateFormat=\"dd.mm.yy\" [showClear]=\"!required()\" appendTo=\"body\" />\r\n", dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: LabelComponent, selector: "app-label", inputs: ["label", "formElement"] }, { kind: "ngmodule", type: DatePickerModule }, { kind: "component", type: i2$1.DatePicker, selector: "p-datePicker, p-datepicker, p-date-picker", inputs: ["iconDisplay", "styleClass", "inputStyle", "inputId", "inputStyleClass", "placeholder", "ariaLabelledBy", "ariaLabel", "iconAriaLabel", "dateFormat", "multipleSeparator", "rangeSeparator", "inline", "showOtherMonths", "selectOtherMonths", "showIcon", "icon", "readonlyInput", "shortYearCutoff", "hourFormat", "timeOnly", "stepHour", "stepMinute", "stepSecond", "showSeconds", "showOnFocus", "showWeek", "startWeekFromFirstDayOfYear", "showClear", "dataType", "selectionMode", "maxDateCount", "showButtonBar", "todayButtonStyleClass", "clearButtonStyleClass", "autofocus", "autoZIndex", "baseZIndex", "panelStyleClass", "panelStyle", "keepInvalid", "hideOnDateTimeSelect", "touchUI", "timeSeparator", "focusTrap", "showTransitionOptions", "hideTransitionOptions", "tabindex", "minDate", "maxDate", "disabledDates", "disabledDays", "showTime", "responsiveOptions", "numberOfMonths", "firstDayOfWeek", "view", "defaultDate", "appendTo"], outputs: ["onFocus", "onBlur", "onClose", "onSelect", "onClear", "onInput", "onTodayClick", "onClearClick", "onMonthChange", "onYearChange", "onClickOutside", "onShow"] }] });
|
|
70
70
|
}
|
|
71
71
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: InputDateComponent, decorators: [{
|
|
72
72
|
type: Component,
|
|
73
|
-
args: [{ selector: 'app-input-date', imports: [ReactiveFormsModule, LabelComponent, DatePickerModule], host: { class: 'flex flex-col gap-1 w-full' }, template: "<app-label [label]=\"label
|
|
73
|
+
args: [{ selector: 'app-input-date', imports: [ReactiveFormsModule, LabelComponent, DatePickerModule], host: { class: 'flex flex-col gap-1 w-full' }, template: "@if (label(); as label) {\r\n <app-label [label]=\"label\" [formElement]=\"formElement()\" />\r\n}\r\n<p-datepicker [formControl]=\"formElement()\" styleClass=\"w-full\" dateFormat=\"dd.mm.yy\" [showClear]=\"!required()\" appendTo=\"body\" />\r\n" }]
|
|
74
74
|
}], ctorParameters: () => [] });
|
|
75
75
|
|
|
76
76
|
class TranslateSelectItemsPipe {
|
|
@@ -184,7 +184,7 @@ function generateRandomString(length) {
|
|
|
184
184
|
|
|
185
185
|
class InputEnumComponent {
|
|
186
186
|
destroyRef = inject(DestroyRef);
|
|
187
|
-
label = input
|
|
187
|
+
label = input();
|
|
188
188
|
enum = input.required();
|
|
189
189
|
enumName = input.required();
|
|
190
190
|
formElement = input.required();
|
|
@@ -198,16 +198,16 @@ class InputEnumComponent {
|
|
|
198
198
|
});
|
|
199
199
|
}
|
|
200
200
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: InputEnumComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
201
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.10", type: InputEnumComponent, isStandalone: true, selector: "app-input-enum", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired:
|
|
201
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.10", type: InputEnumComponent, isStandalone: true, selector: "app-input-enum", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, enum: { classPropertyName: "enum", publicName: "enum", isSignal: true, isRequired: true, transformFunction: null }, enumName: { classPropertyName: "enumName", publicName: "enumName", isSignal: true, isRequired: true, transformFunction: null }, formElement: { classPropertyName: "formElement", publicName: "formElement", isSignal: true, isRequired: true, transformFunction: null }, mode: { classPropertyName: "mode", publicName: "mode", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "flex flex-col gap-1 w-full" }, ngImport: i0, template: "@if (label(); as label) {\r\n <app-label [label]=\"label\" [formElement]=\"formElement()\" />\r\n}\r\n@if (mode() === 'DROPDOWN') {\r\n <p-select\r\n [filter]=\"true\"\r\n class=\"w-full\"\r\n styleClass=\"w-full\"\r\n appendTo=\"body\"\r\n [formControl]=\"formElement()\"\r\n [options]=\"(options() | translateSelectItems | async) || []\"\r\n optionLabel=\"label\"\r\n optionValue=\"value\"\r\n [showClear]=\"!required()\"\r\n panelStyleClass=\"w-full\"\r\n ></p-select>\r\n}\r\n@if (mode() === 'BUTTON') {\r\n <p-selectButton [formControl]=\"formElement()\" [options]=\"(options() | translateSelectItems | async) || []\" optionLabel=\"label\" optionValue=\"value\" />\r\n}\r\n", dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: SelectModule }, { kind: "component", type: i2$2.Select, selector: "p-select", inputs: ["id", "scrollHeight", "filter", "panelStyle", "styleClass", "panelStyleClass", "readonly", "editable", "tabindex", "placeholder", "loadingIcon", "filterPlaceholder", "filterLocale", "inputId", "dataKey", "filterBy", "filterFields", "autofocus", "resetFilterOnHide", "checkmark", "dropdownIcon", "loading", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "group", "showClear", "emptyFilterMessage", "emptyMessage", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "ariaLabel", "ariaLabelledBy", "filterMatchMode", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "focusOnHover", "selectOnFocus", "autoOptionFocus", "autofocusFilter", "filterValue", "options", "appendTo"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onShow", "onHide", "onClear", "onLazyLoad"] }, { kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: i3.AsyncPipe, name: "async" }, { kind: "pipe", type: TranslateSelectItemsPipe, name: "translateSelectItems" }, { kind: "ngmodule", type: TranslateModule }, { kind: "component", type: LabelComponent, selector: "app-label", inputs: ["label", "formElement"] }, { kind: "ngmodule", type: SelectButtonModule }, { kind: "component", type: i4.SelectButton, selector: "p-selectButton, p-selectbutton, p-select-button", inputs: ["options", "optionLabel", "optionValue", "optionDisabled", "unselectable", "tabindex", "multiple", "allowEmpty", "styleClass", "ariaLabelledBy", "dataKey", "autofocus", "size", "fluid"], outputs: ["onOptionClick", "onChange"] }] });
|
|
202
202
|
}
|
|
203
203
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: InputEnumComponent, decorators: [{
|
|
204
204
|
type: Component,
|
|
205
|
-
args: [{ selector: 'app-input-enum', standalone: true, imports: [ReactiveFormsModule, SelectModule, CommonModule, TranslateSelectItemsPipe, TranslateModule, LabelComponent, SelectButtonModule], host: { class: 'flex flex-col gap-1 w-full' }, template: "<app-label [label]=\"label
|
|
205
|
+
args: [{ selector: 'app-input-enum', standalone: true, imports: [ReactiveFormsModule, SelectModule, CommonModule, TranslateSelectItemsPipe, TranslateModule, LabelComponent, SelectButtonModule], host: { class: 'flex flex-col gap-1 w-full' }, template: "@if (label(); as label) {\r\n <app-label [label]=\"label\" [formElement]=\"formElement()\" />\r\n}\r\n@if (mode() === 'DROPDOWN') {\r\n <p-select\r\n [filter]=\"true\"\r\n class=\"w-full\"\r\n styleClass=\"w-full\"\r\n appendTo=\"body\"\r\n [formControl]=\"formElement()\"\r\n [options]=\"(options() | translateSelectItems | async) || []\"\r\n optionLabel=\"label\"\r\n optionValue=\"value\"\r\n [showClear]=\"!required()\"\r\n panelStyleClass=\"w-full\"\r\n ></p-select>\r\n}\r\n@if (mode() === 'BUTTON') {\r\n <p-selectButton [formControl]=\"formElement()\" [options]=\"(options() | translateSelectItems | async) || []\" optionLabel=\"label\" optionValue=\"value\" />\r\n}\r\n" }]
|
|
206
206
|
}], ctorParameters: () => [] });
|
|
207
207
|
|
|
208
208
|
class InputMultiSelectComponent {
|
|
209
209
|
destroyRef = inject(DestroyRef);
|
|
210
|
-
label = input
|
|
210
|
+
label = input();
|
|
211
211
|
formElement = input.required();
|
|
212
212
|
options = input.required();
|
|
213
213
|
required = signal(false);
|
|
@@ -218,15 +218,15 @@ class InputMultiSelectComponent {
|
|
|
218
218
|
});
|
|
219
219
|
}
|
|
220
220
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: InputMultiSelectComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
221
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.
|
|
221
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.10", type: InputMultiSelectComponent, isStandalone: true, selector: "app-input-multi-select", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, formElement: { classPropertyName: "formElement", publicName: "formElement", isSignal: true, isRequired: true, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: true, transformFunction: null } }, host: { classAttribute: "flex flex-col gap-1 w-full" }, ngImport: i0, template: "@if (label(); as label) {\r\n <app-label [label]=\"label\" [formElement]=\"formElement()\" />\r\n}\r\n<p-multi-select\r\n [filter]=\"true\"\r\n class=\"w-full\"\r\n styleClass=\"w-full\"\r\n appendTo=\"body\"\r\n [formControl]=\"formElement()\"\r\n [options]=\"options() || []\"\r\n optionLabel=\"label\"\r\n optionValue=\"value\"\r\n [showClear]=\"!required()\"\r\n panelStyleClass=\"w-full\"\r\n/>\r\n", dependencies: [{ kind: "ngmodule", type: MultiSelectModule }, { kind: "component", type: i1$1.MultiSelect, selector: "p-multiSelect, p-multiselect, p-multi-select", inputs: ["id", "ariaLabel", "styleClass", "panelStyle", "panelStyleClass", "inputId", "readonly", "group", "filter", "filterPlaceHolder", "filterLocale", "overlayVisible", "tabindex", "dataKey", "ariaLabelledBy", "displaySelectedLabel", "maxSelectedLabels", "selectionLimit", "selectedItemsLabel", "showToggleAll", "emptyFilterMessage", "emptyMessage", "resetFilterOnHide", "dropdownIcon", "chipIcon", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "showHeader", "filterBy", "scrollHeight", "lazy", "virtualScroll", "loading", "virtualScrollItemSize", "loadingIcon", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "filterMatchMode", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "autofocusFilter", "display", "autocomplete", "showClear", "autofocus", "placeholder", "options", "filterValue", "selectAll", "focusOnHover", "filterFields", "selectOnFocus", "autoOptionFocus", "highlightOnSelect", "size", "variant", "fluid", "appendTo"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onClear", "onPanelShow", "onPanelHide", "onLazyLoad", "onRemove", "onSelectAllChange"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: LabelComponent, selector: "app-label", inputs: ["label", "formElement"] }] });
|
|
222
222
|
}
|
|
223
223
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: InputMultiSelectComponent, decorators: [{
|
|
224
224
|
type: Component,
|
|
225
|
-
args: [{ selector: 'app-input-multi-select', imports: [MultiSelectModule, ReactiveFormsModule, LabelComponent], host: { class: 'flex flex-col gap-1 w-full' }, template: "<app-label [label]=\"label
|
|
225
|
+
args: [{ selector: 'app-input-multi-select', imports: [MultiSelectModule, ReactiveFormsModule, LabelComponent], host: { class: 'flex flex-col gap-1 w-full' }, template: "@if (label(); as label) {\r\n <app-label [label]=\"label\" [formElement]=\"formElement()\" />\r\n}\r\n<p-multi-select\r\n [filter]=\"true\"\r\n class=\"w-full\"\r\n styleClass=\"w-full\"\r\n appendTo=\"body\"\r\n [formControl]=\"formElement()\"\r\n [options]=\"options() || []\"\r\n optionLabel=\"label\"\r\n optionValue=\"value\"\r\n [showClear]=\"!required()\"\r\n panelStyleClass=\"w-full\"\r\n/>\r\n" }]
|
|
226
226
|
}], ctorParameters: () => [] });
|
|
227
227
|
|
|
228
228
|
class InputNumberComponent {
|
|
229
|
-
label = input
|
|
229
|
+
label = input();
|
|
230
230
|
formElement = input.required();
|
|
231
231
|
min = input();
|
|
232
232
|
max = input();
|
|
@@ -236,16 +236,16 @@ class InputNumberComponent {
|
|
|
236
236
|
useGrouping = input(true);
|
|
237
237
|
placeholder = input();
|
|
238
238
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: InputNumberComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
239
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.
|
|
239
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.10", type: InputNumberComponent, isStandalone: true, selector: "app-input-number", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, formElement: { classPropertyName: "formElement", publicName: "formElement", isSignal: true, isRequired: true, transformFunction: null }, min: { classPropertyName: "min", publicName: "min", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: true, isRequired: false, transformFunction: null }, step: { classPropertyName: "step", publicName: "step", isSignal: true, isRequired: false, transformFunction: null }, mode: { classPropertyName: "mode", publicName: "mode", isSignal: true, isRequired: false, transformFunction: null }, currency: { classPropertyName: "currency", publicName: "currency", isSignal: true, isRequired: false, transformFunction: null }, useGrouping: { classPropertyName: "useGrouping", publicName: "useGrouping", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "flex flex-col gap-1 w-full" }, ngImport: i0, template: "@if (label(); as label) {\r\n <app-label [label]=\"label\" [formElement]=\"formElement()\" />\r\n}\r\n<p-inputNumber\r\n [formControl]=\"formElement()\"\r\n [min]=\"min()\"\r\n [max]=\"max()\"\r\n [step]=\"step()\"\r\n [mode]=\"mode()\"\r\n [currency]=\"currency()\"\r\n locale=\"de-DE\"\r\n [useGrouping]=\"useGrouping()\"\r\n [placeholder]=\"placeholder() || ''\"\r\n/>\r\n", dependencies: [{ kind: "component", type: LabelComponent, selector: "app-label", inputs: ["label", "formElement"] }, { kind: "ngmodule", type: InputNumberModule }, { kind: "component", type: i1$2.InputNumber, selector: "p-inputNumber, p-inputnumber, p-input-number", inputs: ["showButtons", "format", "buttonLayout", "inputId", "styleClass", "placeholder", "tabindex", "title", "ariaLabelledBy", "ariaDescribedBy", "ariaLabel", "ariaRequired", "autocomplete", "incrementButtonClass", "decrementButtonClass", "incrementButtonIcon", "decrementButtonIcon", "readonly", "allowEmpty", "locale", "localeMatcher", "mode", "currency", "currencyDisplay", "useGrouping", "minFractionDigits", "maxFractionDigits", "prefix", "suffix", "inputStyle", "inputStyleClass", "showClear", "autofocus"], outputs: ["onInput", "onFocus", "onBlur", "onKeyDown", "onClear"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }] });
|
|
240
240
|
}
|
|
241
241
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: InputNumberComponent, decorators: [{
|
|
242
242
|
type: Component,
|
|
243
|
-
args: [{ selector: 'app-input-number', imports: [LabelComponent, InputNumberModule, ReactiveFormsModule], host: { class: 'flex flex-col gap-1 w-full' }, template: "<app-label [label]=\"label
|
|
243
|
+
args: [{ selector: 'app-input-number', imports: [LabelComponent, InputNumberModule, ReactiveFormsModule], host: { class: 'flex flex-col gap-1 w-full' }, template: "@if (label(); as label) {\r\n <app-label [label]=\"label\" [formElement]=\"formElement()\" />\r\n}\r\n<p-inputNumber\r\n [formControl]=\"formElement()\"\r\n [min]=\"min()\"\r\n [max]=\"max()\"\r\n [step]=\"step()\"\r\n [mode]=\"mode()\"\r\n [currency]=\"currency()\"\r\n locale=\"de-DE\"\r\n [useGrouping]=\"useGrouping()\"\r\n [placeholder]=\"placeholder() || ''\"\r\n/>\r\n" }]
|
|
244
244
|
}] });
|
|
245
245
|
|
|
246
246
|
class InputSelectComponent {
|
|
247
247
|
destroyRef = inject(DestroyRef);
|
|
248
|
-
label = input
|
|
248
|
+
label = input();
|
|
249
249
|
formElement = input.required();
|
|
250
250
|
options = input.required();
|
|
251
251
|
required = signal(false);
|
|
@@ -256,27 +256,27 @@ class InputSelectComponent {
|
|
|
256
256
|
});
|
|
257
257
|
}
|
|
258
258
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: InputSelectComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
259
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.
|
|
259
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.10", type: InputSelectComponent, isStandalone: true, selector: "app-input-select", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, formElement: { classPropertyName: "formElement", publicName: "formElement", isSignal: true, isRequired: true, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: true, transformFunction: null } }, host: { classAttribute: "flex flex-col gap-1 w-full" }, ngImport: i0, template: "@if (label(); as label) {\r\n <app-label [label]=\"label\" [formElement]=\"formElement()\" />\r\n}\r\n<p-select\r\n [filter]=\"true\"\r\n class=\"w-full\"\r\n styleClass=\"w-full\"\r\n appendTo=\"body\"\r\n [formControl]=\"formElement()\"\r\n [options]=\"options() || []\"\r\n optionLabel=\"label\"\r\n optionValue=\"value\"\r\n [showClear]=\"!required()\"\r\n panelStyleClass=\"w-full\"\r\n/>\r\n", dependencies: [{ kind: "ngmodule", type: SelectModule }, { kind: "component", type: i2$2.Select, selector: "p-select", inputs: ["id", "scrollHeight", "filter", "panelStyle", "styleClass", "panelStyleClass", "readonly", "editable", "tabindex", "placeholder", "loadingIcon", "filterPlaceholder", "filterLocale", "inputId", "dataKey", "filterBy", "filterFields", "autofocus", "resetFilterOnHide", "checkmark", "dropdownIcon", "loading", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "group", "showClear", "emptyFilterMessage", "emptyMessage", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "ariaLabel", "ariaLabelledBy", "filterMatchMode", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "focusOnHover", "selectOnFocus", "autoOptionFocus", "autofocusFilter", "filterValue", "options", "appendTo"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onShow", "onHide", "onClear", "onLazyLoad"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: LabelComponent, selector: "app-label", inputs: ["label", "formElement"] }] });
|
|
260
260
|
}
|
|
261
261
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: InputSelectComponent, decorators: [{
|
|
262
262
|
type: Component,
|
|
263
|
-
args: [{ selector: 'app-input-select', imports: [SelectModule, ReactiveFormsModule, LabelComponent], host: { class: 'flex flex-col gap-1 w-full' }, template: "<app-label [label]=\"label
|
|
263
|
+
args: [{ selector: 'app-input-select', imports: [SelectModule, ReactiveFormsModule, LabelComponent], host: { class: 'flex flex-col gap-1 w-full' }, template: "@if (label(); as label) {\r\n <app-label [label]=\"label\" [formElement]=\"formElement()\" />\r\n}\r\n<p-select\r\n [filter]=\"true\"\r\n class=\"w-full\"\r\n styleClass=\"w-full\"\r\n appendTo=\"body\"\r\n [formControl]=\"formElement()\"\r\n [options]=\"options() || []\"\r\n optionLabel=\"label\"\r\n optionValue=\"value\"\r\n [showClear]=\"!required()\"\r\n panelStyleClass=\"w-full\"\r\n/>\r\n" }]
|
|
264
264
|
}], ctorParameters: () => [] });
|
|
265
265
|
|
|
266
266
|
class InputTextComponent {
|
|
267
|
-
label = input
|
|
267
|
+
label = input();
|
|
268
268
|
formElement = input.required();
|
|
269
269
|
placeholder = input();
|
|
270
270
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: InputTextComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
271
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.
|
|
271
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.10", type: InputTextComponent, isStandalone: true, selector: "app-input-text", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, formElement: { classPropertyName: "formElement", publicName: "formElement", isSignal: true, isRequired: true, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "flex flex-col gap-1 w-full" }, ngImport: i0, template: "@if (label(); as label) {\r\n <app-label [label]=\"label\" [formElement]=\"formElement()\" />\r\n}\r\n<input pInputText [formControl]=\"formElement()\" [placeholder]=\"placeholder() || ''\" />\r\n", dependencies: [{ kind: "ngmodule", type: InputTextModule }, { kind: "directive", type: i1$3.InputText, selector: "[pInputText]", inputs: ["pSize", "variant", "fluid", "invalid"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: LabelComponent, selector: "app-label", inputs: ["label", "formElement"] }] });
|
|
272
272
|
}
|
|
273
273
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: InputTextComponent, decorators: [{
|
|
274
274
|
type: Component,
|
|
275
|
-
args: [{ selector: 'app-input-text', imports: [InputTextModule, ReactiveFormsModule, LabelComponent], host: { class: 'flex flex-col gap-1 w-full' }, template: "<app-label [label]=\"label
|
|
275
|
+
args: [{ selector: 'app-input-text', imports: [InputTextModule, ReactiveFormsModule, LabelComponent], host: { class: 'flex flex-col gap-1 w-full' }, template: "@if (label(); as label) {\r\n <app-label [label]=\"label\" [formElement]=\"formElement()\" />\r\n}\r\n<input pInputText [formControl]=\"formElement()\" [placeholder]=\"placeholder() || ''\" />\r\n" }]
|
|
276
276
|
}] });
|
|
277
277
|
|
|
278
278
|
class InputTextareaComponent {
|
|
279
|
-
label = input
|
|
279
|
+
label = input();
|
|
280
280
|
formElement = input.required();
|
|
281
281
|
textareas = viewChildren(Textarea);
|
|
282
282
|
constructor() {
|
|
@@ -296,11 +296,11 @@ class InputTextareaComponent {
|
|
|
296
296
|
});
|
|
297
297
|
}
|
|
298
298
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: InputTextareaComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
299
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.
|
|
299
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.10", type: InputTextareaComponent, isStandalone: true, selector: "app-input-textarea", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, formElement: { classPropertyName: "formElement", publicName: "formElement", isSignal: true, isRequired: true, transformFunction: null } }, host: { classAttribute: "flex flex-col gap-1 w-full" }, viewQueries: [{ propertyName: "textareas", predicate: Textarea, descendants: true, isSignal: true }], ngImport: i0, template: "@if (label(); as label) {\r\n <app-label [label]=\"label\" [formElement]=\"formElement()\" />\r\n}\r\n<textarea pInputTextarea [autoResize]=\"true\" [formControl]=\"formElement()\"></textarea>\r\n", dependencies: [{ kind: "ngmodule", type: TextareaModule }, { kind: "directive", type: i1$4.Textarea, selector: "[pTextarea], [pInputTextarea]", inputs: ["autoResize", "pSize", "variant", "fluid", "invalid"], outputs: ["onResize"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: LabelComponent, selector: "app-label", inputs: ["label", "formElement"] }] });
|
|
300
300
|
}
|
|
301
301
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: InputTextareaComponent, decorators: [{
|
|
302
302
|
type: Component,
|
|
303
|
-
args: [{ selector: 'app-input-textarea', imports: [TextareaModule, ReactiveFormsModule, LabelComponent], host: { class: 'flex flex-col gap-1 w-full' }, template: "<app-label [label]=\"label
|
|
303
|
+
args: [{ selector: 'app-input-textarea', imports: [TextareaModule, ReactiveFormsModule, LabelComponent], host: { class: 'flex flex-col gap-1 w-full' }, template: "@if (label(); as label) {\r\n <app-label [label]=\"label\" [formElement]=\"formElement()\" />\r\n}\r\n<textarea pInputTextarea [autoResize]=\"true\" [formControl]=\"formElement()\"></textarea>\r\n" }]
|
|
304
304
|
}], ctorParameters: () => [] });
|
|
305
305
|
|
|
306
306
|
/*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kominal-common-angular.mjs","sources":["../../../projects/common-angular/src/lib/label/label.component.ts","../../../projects/common-angular/src/lib/label/label.component.html","../../../projects/common-angular/src/lib/input-boolean/input-boolean.component.ts","../../../projects/common-angular/src/lib/input-boolean/input-boolean.component.html","../../../projects/common-angular/src/lib/input-date/input-date.component.ts","../../../projects/common-angular/src/lib/input-date/input-date.component.html","../../../projects/common-angular/src/lib/pipes/translate-select-items.pipe.ts","../../../projects/common-angular/src/lib/util.ts","../../../projects/common-angular/src/lib/input-enum/input-enum.component.ts","../../../projects/common-angular/src/lib/input-enum/input-enum.component.html","../../../projects/common-angular/src/lib/input-multi-select/input-multi-select.component.ts","../../../projects/common-angular/src/lib/input-multi-select/input-multi-select.component.html","../../../projects/common-angular/src/lib/input-number/input-number.component.ts","../../../projects/common-angular/src/lib/input-number/input-number.component.html","../../../projects/common-angular/src/lib/input-select/input-select.component.ts","../../../projects/common-angular/src/lib/input-select/input-select.component.html","../../../projects/common-angular/src/lib/input-text/input-text.component.ts","../../../projects/common-angular/src/lib/input-text/input-text.component.html","../../../projects/common-angular/src/lib/input-textarea/input-textarea.component.ts","../../../projects/common-angular/src/lib/input-textarea/input-textarea.component.html","../../../projects/common-angular/src/public-api.ts","../../../projects/common-angular/src/kominal-common-angular.ts"],"sourcesContent":["import { Component, DestroyRef, effect, inject, input, signal } from '@angular/core';\r\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\r\nimport { AbstractControl, Validators } from '@angular/forms';\r\nimport { TranslatePipe } from '@ngx-translate/core';\r\nimport { startWith } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'app-label',\r\n imports: [TranslatePipe],\r\n templateUrl: './label.component.html',\r\n})\r\nexport class LabelComponent {\r\n private destroyRef = inject(DestroyRef);\r\n\r\n public label = input.required<string>();\r\n public formElement = input.required<AbstractControl>();\r\n\r\n public required = signal(false);\r\n\r\n public constructor() {\r\n effect(() => {\r\n const formElement = this.formElement();\r\n formElement.statusChanges.pipe(startWith(undefined), takeUntilDestroyed(this.destroyRef)).subscribe(() => this.required.set(formElement.hasValidator(Validators.required)));\r\n });\r\n }\r\n}\r\n","<span>{{ label() | translate }}{{ required() ? ' *' : '' }}</span>\r\n","import { Component, input } from '@angular/core';\r\nimport { FormControl, ReactiveFormsModule } from '@angular/forms';\r\nimport { ToggleSwitchModule } from 'primeng/toggleswitch';\r\nimport { LabelComponent } from '../label/label.component';\r\n\r\n@Component({\r\n selector: 'app-input-boolean',\r\n imports: [ToggleSwitchModule, LabelComponent, ReactiveFormsModule],\r\n templateUrl: './input-boolean.component.html',\r\n host: { class: 'flex items-center gap-3 w-full' },\r\n})\r\nexport class InputBooleanComponent {\r\n public label = input.required<string>();\r\n public formElement = input.required<FormControl<boolean>>();\r\n}\r\n","<p-toggleswitch class=\"flex-shrink-0\" [formControl]=\"formElement()\" />\r\n<app-label [label]=\"label()\" [formElement]=\"formElement()\" />\r\n","import { Component, DestroyRef, effect, inject, input, signal } from '@angular/core';\r\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\r\nimport { FormControl, ReactiveFormsModule, Validators } from '@angular/forms';\r\nimport { DatePickerModule } from 'primeng/datepicker';\r\nimport { startWith } from 'rxjs';\r\nimport { LabelComponent } from '../label/label.component';\r\n\r\n@Component({\r\n selector: 'app-input-date',\r\n imports: [ReactiveFormsModule, LabelComponent, DatePickerModule],\r\n templateUrl: './input-date.component.html',\r\n host: { class: 'flex flex-col gap-1 w-full' },\r\n})\r\nexport class InputDateComponent {\r\n private destroyRef = inject(DestroyRef);\r\n\r\n public label = input.required<string>();\r\n public formElement = input.required<FormControl<Date>>();\r\n\r\n public required = signal(false);\r\n\r\n public constructor() {\r\n effect(() => {\r\n const formElement = this.formElement();\r\n formElement.statusChanges.pipe(startWith(undefined), takeUntilDestroyed(this.destroyRef)).subscribe(() => this.required.set(formElement.hasValidator(Validators.required)));\r\n });\r\n }\r\n}\r\n","<app-label [label]=\"label()\" [formElement]=\"formElement()\" />\r\n<p-datepicker [formControl]=\"formElement()\" styleClass=\"w-full\" dateFormat=\"dd.mm.yy\" [showClear]=\"!required()\" appendTo=\"body\" />\r\n","import { inject, Pipe, PipeTransform } from '@angular/core';\nimport { TranslateService } from '@ngx-translate/core';\nimport { SelectItem } from 'primeng/api';\nimport { map, Observable, startWith } from 'rxjs';\n\n@Pipe({\n name: 'translateSelectItems',\n standalone: true,\n})\nexport class TranslateSelectItemsPipe implements PipeTransform {\n private translateService = inject(TranslateService);\n\n public transform(value: SelectItem[]): Observable<SelectItem[]> {\n return this.translateService.onLangChange.pipe(\n startWith(this.translateService.currentLang),\n map((): SelectItem[] =>\n value.map((item) => ({\n label: this.translateService.instant(item.label!),\n value: item.value,\n })),\n ),\n );\n }\n}\n","import { FormArray } from '@angular/forms';\nimport { SelectItem } from 'primeng/api';\nimport { OperatorFunction, shareReplay } from 'rxjs';\n\nexport function moveControlInFormArray(formArray: FormArray, previousIndex: number, currentIndex: number): void {\n const dir = currentIndex > previousIndex ? 1 : -1;\n\n const temp = formArray.at(previousIndex);\n for (let i = previousIndex; i * dir < currentIndex * dir; i += dir) {\n const current = formArray.at(i + dir);\n formArray.setControl(i, current);\n }\n formArray.setControl(currentIndex, temp);\n formArray.markAsDirty();\n}\n\nexport function moveUpInFormArray(formArray: FormArray, previousIndex: number): void {\n const currentIndex = previousIndex - 1;\n\n if (currentIndex >= 0) {\n moveControlInFormArray(formArray, previousIndex, currentIndex);\n }\n}\n\nexport function moveDownInFormArray(formArray: FormArray, previousIndex: number): void {\n const currentIndex = previousIndex + 1;\n\n if (currentIndex < formArray.length) {\n moveControlInFormArray(formArray, previousIndex, currentIndex);\n }\n}\n\nexport function shareReplayOne<T>(): OperatorFunction<T, T> {\n return shareReplay({ bufferSize: 1, refCount: true });\n}\n\nexport class ListRequest {\n public active?: string;\n public direction?: string;\n public pageIndex?: number;\n public pageSize?: number;\n public filter?: string;\n public select?: string;\n}\n\nexport function toListRequest<T>(conditions: any | undefined, additionalFilters?: Partial<Record<keyof T, any>>, select?: (keyof T)[]): ListRequest {\n if (!conditions && !additionalFilters && !select) {\n return {};\n }\n\n if (!conditions) {\n return {\n filter: JSON.stringify(additionalFilters),\n select: select?.join(' '),\n };\n }\n\n const filter: any = {};\n\n for (const [key, value] of Object.entries<any>(conditions.filters || {})) {\n if (value) {\n if (value.matchMode === 'startsWith' && value.value) {\n filter[key] = { $regex: `^${value.value}`, $options: 'i' };\n }\n if (value.matchMode === 'contains' && value.value) {\n filter[key] = { $regex: `${value.value}`, $options: 'i' };\n }\n if (value.matchMode === 'notContains' && value.value) {\n filter[key] = { $not: { $regex: `${value.value}`, $options: 'i' } };\n }\n if (value.matchMode === 'endsWith' && value.value) {\n filter[key] = { $regex: `${value.value}$`, $options: 'i' };\n }\n if (value.matchMode === 'equals' && value.value) {\n filter[key] = { $eq: value.value };\n }\n if (value.matchMode === 'notEquals' && value.value) {\n filter[key] = { $ne: value.value };\n }\n if (value.matchMode === 'in' && value.value && value.value.length > 0) {\n filter[key] = { $in: value.value };\n }\n }\n }\n\n return {\n active: conditions.sortField,\n direction: conditions.sortOrder === -1 ? 'asc' : 'desc',\n pageIndex: conditions.first / conditions.rows,\n pageSize: conditions.rows,\n filter: JSON.stringify({ ...filter, ...(additionalFilters || {}) }),\n select: select?.join(' '),\n };\n}\n\nexport function toSelectItems(name: string, type: any): SelectItem<string>[] {\n return Object.values<any>(type).map((value) => ({ label: `enums.${name}.${value}`, value }));\n}\n\nexport function generateRandomString(length: number): string {\n const characters = 'ABCDEFGHJKLMNRSTUYZ0123456789';\n let result = '';\n for (let i = 0; i < length; i += 1) {\n result += characters.charAt(Math.floor(Math.random() * characters.length));\n }\n return result;\n}\n","import { CommonModule } from '@angular/common';\r\nimport { Component, computed, DestroyRef, effect, inject, input, signal } from '@angular/core';\r\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\r\nimport { FormControl, ReactiveFormsModule, Validators } from '@angular/forms';\r\nimport { TranslateModule } from '@ngx-translate/core';\r\nimport { SelectModule } from 'primeng/select';\r\nimport { SelectButtonModule } from 'primeng/selectbutton';\r\nimport { startWith } from 'rxjs';\r\nimport { LabelComponent } from '../label/label.component';\r\nimport { TranslateSelectItemsPipe } from '../pipes/translate-select-items.pipe';\r\nimport { toSelectItems } from '../util';\r\n\r\n@Component({\r\n selector: 'app-input-enum',\r\n standalone: true,\r\n imports: [ReactiveFormsModule, SelectModule, CommonModule, TranslateSelectItemsPipe, TranslateModule, LabelComponent, SelectButtonModule],\r\n templateUrl: './input-enum.component.html',\r\n host: { class: 'flex flex-col gap-1 w-full' },\r\n})\r\nexport class InputEnumComponent {\r\n private destroyRef = inject(DestroyRef);\r\n\r\n public label = input.required<string>();\r\n public enum = input.required<any>();\r\n public enumName = input.required<string>();\r\n public formElement = input.required<FormControl<any>>();\r\n public mode = input<'DROPDOWN' | 'BUTTON'>('DROPDOWN');\r\n\r\n public options = computed(() => toSelectItems(this.enumName(), this.enum()));\r\n\r\n public required = signal(false);\r\n\r\n public constructor() {\r\n effect(() => {\r\n const formElement = this.formElement();\r\n formElement.statusChanges.pipe(startWith(undefined), takeUntilDestroyed(this.destroyRef)).subscribe(() => this.required.set(formElement.hasValidator(Validators.required)));\r\n });\r\n }\r\n}\r\n","<app-label [label]=\"label()\" [formElement]=\"formElement()\" />\r\n@if (mode() === 'DROPDOWN') {\r\n <p-select\r\n [filter]=\"true\"\r\n class=\"w-full\"\r\n styleClass=\"w-full\"\r\n appendTo=\"body\"\r\n [formControl]=\"formElement()\"\r\n [options]=\"(options() | translateSelectItems | async) || []\"\r\n optionLabel=\"label\"\r\n optionValue=\"value\"\r\n [showClear]=\"!required()\"\r\n panelStyleClass=\"w-full\"\r\n ></p-select>\r\n}\r\n@if (mode() === 'BUTTON') {\r\n <p-selectButton [formControl]=\"formElement()\" [options]=\"(options() | translateSelectItems | async) || []\" optionLabel=\"label\" optionValue=\"value\" />\r\n}\r\n","import { Component, DestroyRef, effect, inject, input, signal } from '@angular/core';\r\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\r\nimport { FormControl, ReactiveFormsModule, Validators } from '@angular/forms';\r\nimport { SelectItem } from 'primeng/api';\r\nimport { MultiSelectModule } from 'primeng/multiselect';\r\nimport { startWith } from 'rxjs';\r\nimport { LabelComponent } from '../label/label.component';\r\n\r\n@Component({\r\n selector: 'app-input-multi-select',\r\n imports: [MultiSelectModule, ReactiveFormsModule, LabelComponent],\r\n templateUrl: './input-multi-select.component.html',\r\n host: { class: 'flex flex-col gap-1 w-full' },\r\n})\r\nexport class InputMultiSelectComponent {\r\n private destroyRef = inject(DestroyRef);\r\n\r\n public label = input.required<string>();\r\n public formElement = input.required<FormControl<string[]>>();\r\n public options = input.required<SelectItem[] | undefined | null>();\r\n\r\n public required = signal(false);\r\n\r\n public constructor() {\r\n effect(() => {\r\n const formElement = this.formElement();\r\n formElement.statusChanges.pipe(startWith(undefined), takeUntilDestroyed(this.destroyRef)).subscribe(() => this.required.set(formElement.hasValidator(Validators.required)));\r\n });\r\n }\r\n}\r\n","<app-label [label]=\"label()\" [formElement]=\"formElement()\" />\r\n<p-multi-select\r\n [filter]=\"true\"\r\n class=\"w-full\"\r\n styleClass=\"w-full\"\r\n appendTo=\"body\"\r\n [formControl]=\"formElement()\"\r\n [options]=\"options() || []\"\r\n optionLabel=\"label\"\r\n optionValue=\"value\"\r\n [showClear]=\"!required()\"\r\n panelStyleClass=\"w-full\"\r\n/>\r\n","import { Component, input } from '@angular/core';\r\nimport { FormControl, ReactiveFormsModule } from '@angular/forms';\r\nimport { InputNumberModule } from 'primeng/inputnumber';\r\nimport { LabelComponent } from '../label/label.component';\r\n\r\n@Component({\r\n selector: 'app-input-number',\r\n imports: [LabelComponent, InputNumberModule, ReactiveFormsModule],\r\n templateUrl: './input-number.component.html',\r\n host: { class: 'flex flex-col gap-1 w-full' },\r\n})\r\nexport class InputNumberComponent {\r\n public label = input.required<string>();\r\n public formElement = input.required<FormControl<number>>();\r\n public min = input<number>();\r\n public max = input<number>();\r\n public step = input<number>();\r\n public mode = input<'decimal' | 'currency'>('decimal');\r\n public currency = input<string>('EUR');\r\n public useGrouping = input<boolean>(true);\r\n public placeholder = input<string>();\r\n}\r\n","<app-label [label]=\"label()\" [formElement]=\"formElement()\" />\r\n<p-inputNumber\r\n [formControl]=\"formElement()\"\r\n [min]=\"min()\"\r\n [max]=\"max()\"\r\n [step]=\"step()\"\r\n [mode]=\"mode()\"\r\n [currency]=\"currency()\"\r\n locale=\"de-DE\"\r\n [useGrouping]=\"useGrouping()\"\r\n [placeholder]=\"placeholder()\"\r\n/>\r\n","import { Component, DestroyRef, effect, inject, input, signal } from '@angular/core';\r\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\r\nimport { FormControl, ReactiveFormsModule, Validators } from '@angular/forms';\r\nimport { SelectItem } from 'primeng/api';\r\nimport { SelectModule } from 'primeng/select';\r\nimport { startWith } from 'rxjs';\r\nimport { LabelComponent } from '../label/label.component';\r\n\r\n@Component({\r\n selector: 'app-input-select',\r\n imports: [SelectModule, ReactiveFormsModule, LabelComponent],\r\n templateUrl: './input-select.component.html',\r\n host: { class: 'flex flex-col gap-1 w-full' },\r\n})\r\nexport class InputSelectComponent {\r\n private destroyRef = inject(DestroyRef);\r\n\r\n public label = input.required<string>();\r\n public formElement = input.required<FormControl<string>>();\r\n public options = input.required<SelectItem[] | undefined | null>();\r\n\r\n public required = signal(false);\r\n\r\n public constructor() {\r\n effect(() => {\r\n const formElement = this.formElement();\r\n formElement.statusChanges.pipe(startWith(undefined), takeUntilDestroyed(this.destroyRef)).subscribe(() => this.required.set(formElement.hasValidator(Validators.required)));\r\n });\r\n }\r\n}\r\n","<app-label [label]=\"label()\" [formElement]=\"formElement()\" />\r\n<p-select\r\n [filter]=\"true\"\r\n class=\"w-full\"\r\n styleClass=\"w-full\"\r\n appendTo=\"body\"\r\n [formControl]=\"formElement()\"\r\n [options]=\"options() || []\"\r\n optionLabel=\"label\"\r\n optionValue=\"value\"\r\n [showClear]=\"!required()\"\r\n panelStyleClass=\"w-full\"\r\n/>\r\n","import { Component, input } from '@angular/core';\r\nimport { FormControl, ReactiveFormsModule } from '@angular/forms';\r\nimport { InputTextModule } from 'primeng/inputtext';\r\nimport { LabelComponent } from '../label/label.component';\r\n\r\n@Component({\r\n selector: 'app-input-text',\r\n imports: [InputTextModule, ReactiveFormsModule, LabelComponent],\r\n templateUrl: './input-text.component.html',\r\n host: { class: 'flex flex-col gap-1 w-full' },\r\n})\r\nexport class InputTextComponent {\r\n public label = input.required<string>();\r\n public formElement = input.required<FormControl<string>>();\r\n public placeholder = input<string>();\r\n}\r\n","<app-label [label]=\"label()\" [formElement]=\"formElement()\" />\r\n<input pInputText [formControl]=\"formElement()\" [placeholder]=\"placeholder()\" />\r\n","import { Component, effect, input, viewChildren } from '@angular/core';\r\nimport { FormControl, ReactiveFormsModule } from '@angular/forms';\r\nimport { Textarea, TextareaModule } from 'primeng/textarea';\r\nimport { LabelComponent } from '../label/label.component';\r\n\r\n@Component({\r\n selector: 'app-input-textarea',\r\n imports: [TextareaModule, ReactiveFormsModule, LabelComponent],\r\n templateUrl: './input-textarea.component.html',\r\n host: { class: 'flex flex-col gap-1 w-full' },\r\n})\r\nexport class InputTextareaComponent {\r\n public label = input.required<string>();\r\n public formElement = input.required<FormControl<string>>();\r\n\r\n private textareas = viewChildren(Textarea);\r\n\r\n public constructor() {\r\n effect(() => {\r\n const textareas = this.textareas();\r\n const formElement = this.formElement();\r\n if (textareas && formElement) {\r\n textareas.forEach((inputTextarea) => {\r\n inputTextarea.el.nativeElement.style.minHeight = `${inputTextarea.el.nativeElement.scrollHeight}px`;\r\n });\r\n formElement.valueChanges.subscribe(() => {\r\n textareas.forEach((inputTextarea) => {\r\n inputTextarea.el.nativeElement.style.minHeight = undefined;\r\n });\r\n });\r\n }\r\n });\r\n }\r\n}\r\n","<app-label [label]=\"label()\" [formElement]=\"formElement()\" />\r\n<textarea pInputTextarea [autoResize]=\"true\" [formControl]=\"formElement()\"></textarea>\r\n","/*\r\n * Public API Surface of common-angular\r\n */\r\n\r\nexport * from './lib/input-boolean/input-boolean.component';\r\nexport * from './lib/input-date/input-date.component';\r\nexport * from './lib/input-enum/input-enum.component';\r\nexport * from './lib/input-multi-select/input-multi-select.component';\r\nexport * from './lib/input-number/input-number.component';\r\nexport * from './lib/input-select/input-select.component';\r\nexport * from './lib/input-text/input-text.component';\r\nexport * from './lib/input-textarea/input-textarea.component';\r\nexport * from './lib/label/label.component';\r\n\r\nexport * from './lib/pipes/translate-select-items.pipe';\r\n\r\nexport * from './lib/util';\r\n\r\nexport * from './lib/models/form.model';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport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A,EAAA,OAAA,EAAA,SAAA,EAAA,OAAA,EAAA,SAAA,CAAA,EAAA,OAAA,EAAA,CAAA,UAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAE,mBAAmB,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,oBAAA,EAAA,QAAA,EAAA,8MAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,eAAA,EAAA,QAAA,EAAA,2CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,oBAAA,EAAA,QAAA,EAAA,eAAA,EAAA,MAAA,EAAA,CAAA,aAAA,EAAA,UAAA,EAAA,SAAA,CAAA,EAAA,OAAA,EAAA,CAAA,eAAA,CAAA,EAAA,QAAA,EAAA,CAAA,QAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAE,cAAc,EAAA,QAAA,EAAA,WAAA,EAAA,MAAA,EAAA,CAAA,OAAA,EAAA,aAAA,CAAA,EAAA,CAAA,EAAA,CAAA;;4FAIlD,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBANlC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,oBAAoB,EACrB,OAAA,EAAA,CAAC,cAAc,EAAE,mBAAmB,EAAE,cAAc,CAAC,EAExD,IAAA,EAAA,EAAE,KAAK,EAAE,4BAA4B,EAAE,EAAA,QAAA,EAAA,qKAAA,EAAA;;;AET/C;;AAEG;;ACFH;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"kominal-common-angular.mjs","sources":["../../../projects/common-angular/src/lib/label/label.component.ts","../../../projects/common-angular/src/lib/label/label.component.html","../../../projects/common-angular/src/lib/input-boolean/input-boolean.component.ts","../../../projects/common-angular/src/lib/input-boolean/input-boolean.component.html","../../../projects/common-angular/src/lib/input-date/input-date.component.ts","../../../projects/common-angular/src/lib/input-date/input-date.component.html","../../../projects/common-angular/src/lib/pipes/translate-select-items.pipe.ts","../../../projects/common-angular/src/lib/util.ts","../../../projects/common-angular/src/lib/input-enum/input-enum.component.ts","../../../projects/common-angular/src/lib/input-enum/input-enum.component.html","../../../projects/common-angular/src/lib/input-multi-select/input-multi-select.component.ts","../../../projects/common-angular/src/lib/input-multi-select/input-multi-select.component.html","../../../projects/common-angular/src/lib/input-number/input-number.component.ts","../../../projects/common-angular/src/lib/input-number/input-number.component.html","../../../projects/common-angular/src/lib/input-select/input-select.component.ts","../../../projects/common-angular/src/lib/input-select/input-select.component.html","../../../projects/common-angular/src/lib/input-text/input-text.component.ts","../../../projects/common-angular/src/lib/input-text/input-text.component.html","../../../projects/common-angular/src/lib/input-textarea/input-textarea.component.ts","../../../projects/common-angular/src/lib/input-textarea/input-textarea.component.html","../../../projects/common-angular/src/public-api.ts","../../../projects/common-angular/src/kominal-common-angular.ts"],"sourcesContent":["import { Component, DestroyRef, effect, inject, input, signal } from '@angular/core';\r\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\r\nimport { AbstractControl, Validators } from '@angular/forms';\r\nimport { TranslatePipe } from '@ngx-translate/core';\r\nimport { startWith } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'app-label',\r\n imports: [TranslatePipe],\r\n templateUrl: './label.component.html',\r\n})\r\nexport class LabelComponent {\r\n private destroyRef = inject(DestroyRef);\r\n\r\n public label = input.required<string>();\r\n public formElement = input.required<AbstractControl>();\r\n\r\n public required = signal(false);\r\n\r\n public constructor() {\r\n effect(() => {\r\n const formElement = this.formElement();\r\n formElement.statusChanges.pipe(startWith(undefined), takeUntilDestroyed(this.destroyRef)).subscribe(() => this.required.set(formElement.hasValidator(Validators.required)));\r\n });\r\n }\r\n}\r\n","<span>{{ label() | translate }}{{ required() ? ' *' : '' }}</span>\r\n","import { Component, input } from '@angular/core';\r\nimport { FormControl, ReactiveFormsModule } from '@angular/forms';\r\nimport { ToggleSwitchModule } from 'primeng/toggleswitch';\r\nimport { LabelComponent } from '../label/label.component';\r\n\r\n@Component({\r\n selector: 'app-input-boolean',\r\n imports: [ToggleSwitchModule, LabelComponent, ReactiveFormsModule],\r\n templateUrl: './input-boolean.component.html',\r\n host: { class: 'flex items-center gap-3 w-full' },\r\n})\r\nexport class InputBooleanComponent {\r\n public label = input<string>();\r\n public formElement = input.required<FormControl<boolean>>();\r\n}\r\n","<p-toggleswitch class=\"flex-shrink-0\" [formControl]=\"formElement()\" />\r\n@if (label(); as label) {\r\n <app-label [label]=\"label\" [formElement]=\"formElement()\" />\r\n}\r\n","import { Component, DestroyRef, effect, inject, input, signal } from '@angular/core';\r\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\r\nimport { FormControl, ReactiveFormsModule, Validators } from '@angular/forms';\r\nimport { DatePickerModule } from 'primeng/datepicker';\r\nimport { startWith } from 'rxjs';\r\nimport { LabelComponent } from '../label/label.component';\r\n\r\n@Component({\r\n selector: 'app-input-date',\r\n imports: [ReactiveFormsModule, LabelComponent, DatePickerModule],\r\n templateUrl: './input-date.component.html',\r\n host: { class: 'flex flex-col gap-1 w-full' },\r\n})\r\nexport class InputDateComponent {\r\n private destroyRef = inject(DestroyRef);\r\n\r\n public label = input.required<string>();\r\n public formElement = input.required<FormControl<Date>>();\r\n\r\n public required = signal(false);\r\n\r\n public constructor() {\r\n effect(() => {\r\n const formElement = this.formElement();\r\n formElement.statusChanges.pipe(startWith(undefined), takeUntilDestroyed(this.destroyRef)).subscribe(() => this.required.set(formElement.hasValidator(Validators.required)));\r\n });\r\n }\r\n}\r\n","@if (label(); as label) {\r\n <app-label [label]=\"label\" [formElement]=\"formElement()\" />\r\n}\r\n<p-datepicker [formControl]=\"formElement()\" styleClass=\"w-full\" dateFormat=\"dd.mm.yy\" [showClear]=\"!required()\" appendTo=\"body\" />\r\n","import { inject, Pipe, PipeTransform } from '@angular/core';\nimport { TranslateService } from '@ngx-translate/core';\nimport { SelectItem } from 'primeng/api';\nimport { map, Observable, startWith } from 'rxjs';\n\n@Pipe({\n name: 'translateSelectItems',\n standalone: true,\n})\nexport class TranslateSelectItemsPipe implements PipeTransform {\n private translateService = inject(TranslateService);\n\n public transform(value: SelectItem[]): Observable<SelectItem[]> {\n return this.translateService.onLangChange.pipe(\n startWith(this.translateService.currentLang),\n map((): SelectItem[] =>\n value.map((item) => ({\n label: this.translateService.instant(item.label!),\n value: item.value,\n })),\n ),\n );\n }\n}\n","import { FormArray } from '@angular/forms';\nimport { SelectItem } from 'primeng/api';\nimport { OperatorFunction, shareReplay } from 'rxjs';\n\nexport function moveControlInFormArray(formArray: FormArray, previousIndex: number, currentIndex: number): void {\n const dir = currentIndex > previousIndex ? 1 : -1;\n\n const temp = formArray.at(previousIndex);\n for (let i = previousIndex; i * dir < currentIndex * dir; i += dir) {\n const current = formArray.at(i + dir);\n formArray.setControl(i, current);\n }\n formArray.setControl(currentIndex, temp);\n formArray.markAsDirty();\n}\n\nexport function moveUpInFormArray(formArray: FormArray, previousIndex: number): void {\n const currentIndex = previousIndex - 1;\n\n if (currentIndex >= 0) {\n moveControlInFormArray(formArray, previousIndex, currentIndex);\n }\n}\n\nexport function moveDownInFormArray(formArray: FormArray, previousIndex: number): void {\n const currentIndex = previousIndex + 1;\n\n if (currentIndex < formArray.length) {\n moveControlInFormArray(formArray, previousIndex, currentIndex);\n }\n}\n\nexport function shareReplayOne<T>(): OperatorFunction<T, T> {\n return shareReplay({ bufferSize: 1, refCount: true });\n}\n\nexport class ListRequest {\n public active?: string;\n public direction?: string;\n public pageIndex?: number;\n public pageSize?: number;\n public filter?: string;\n public select?: string;\n}\n\nexport function toListRequest<T>(conditions: any | undefined, additionalFilters?: Partial<Record<keyof T, any>>, select?: (keyof T)[]): ListRequest {\n if (!conditions && !additionalFilters && !select) {\n return {};\n }\n\n if (!conditions) {\n return {\n filter: JSON.stringify(additionalFilters),\n select: select?.join(' '),\n };\n }\n\n const filter: any = {};\n\n for (const [key, value] of Object.entries<any>(conditions.filters || {})) {\n if (value) {\n if (value.matchMode === 'startsWith' && value.value) {\n filter[key] = { $regex: `^${value.value}`, $options: 'i' };\n }\n if (value.matchMode === 'contains' && value.value) {\n filter[key] = { $regex: `${value.value}`, $options: 'i' };\n }\n if (value.matchMode === 'notContains' && value.value) {\n filter[key] = { $not: { $regex: `${value.value}`, $options: 'i' } };\n }\n if (value.matchMode === 'endsWith' && value.value) {\n filter[key] = { $regex: `${value.value}$`, $options: 'i' };\n }\n if (value.matchMode === 'equals' && value.value) {\n filter[key] = { $eq: value.value };\n }\n if (value.matchMode === 'notEquals' && value.value) {\n filter[key] = { $ne: value.value };\n }\n if (value.matchMode === 'in' && value.value && value.value.length > 0) {\n filter[key] = { $in: value.value };\n }\n }\n }\n\n return {\n active: conditions.sortField,\n direction: conditions.sortOrder === -1 ? 'asc' : 'desc',\n pageIndex: conditions.first / conditions.rows,\n pageSize: conditions.rows,\n filter: JSON.stringify({ ...filter, ...(additionalFilters || {}) }),\n select: select?.join(' '),\n };\n}\n\nexport function toSelectItems(name: string, type: any): SelectItem<string>[] {\n return Object.values<any>(type).map((value) => ({ label: `enums.${name}.${value}`, value }));\n}\n\nexport function generateRandomString(length: number): string {\n const characters = 'ABCDEFGHJKLMNRSTUYZ0123456789';\n let result = '';\n for (let i = 0; i < length; i += 1) {\n result += characters.charAt(Math.floor(Math.random() * characters.length));\n }\n return result;\n}\n","import { CommonModule } from '@angular/common';\r\nimport { Component, computed, DestroyRef, effect, inject, input, signal } from '@angular/core';\r\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\r\nimport { FormControl, ReactiveFormsModule, Validators } from '@angular/forms';\r\nimport { TranslateModule } from '@ngx-translate/core';\r\nimport { SelectModule } from 'primeng/select';\r\nimport { SelectButtonModule } from 'primeng/selectbutton';\r\nimport { startWith } from 'rxjs';\r\nimport { LabelComponent } from '../label/label.component';\r\nimport { TranslateSelectItemsPipe } from '../pipes/translate-select-items.pipe';\r\nimport { toSelectItems } from '../util';\r\n\r\n@Component({\r\n selector: 'app-input-enum',\r\n standalone: true,\r\n imports: [ReactiveFormsModule, SelectModule, CommonModule, TranslateSelectItemsPipe, TranslateModule, LabelComponent, SelectButtonModule],\r\n templateUrl: './input-enum.component.html',\r\n host: { class: 'flex flex-col gap-1 w-full' },\r\n})\r\nexport class InputEnumComponent {\r\n private destroyRef = inject(DestroyRef);\r\n\r\n public label = input<string>();\r\n public enum = input.required<any>();\r\n public enumName = input.required<string>();\r\n public formElement = input.required<FormControl<any>>();\r\n public mode = input<'DROPDOWN' | 'BUTTON'>('DROPDOWN');\r\n\r\n public options = computed(() => toSelectItems(this.enumName(), this.enum()));\r\n\r\n public required = signal(false);\r\n\r\n public constructor() {\r\n effect(() => {\r\n const formElement = this.formElement();\r\n formElement.statusChanges.pipe(startWith(undefined), takeUntilDestroyed(this.destroyRef)).subscribe(() => this.required.set(formElement.hasValidator(Validators.required)));\r\n });\r\n }\r\n}\r\n","@if (label(); as label) {\r\n <app-label [label]=\"label\" [formElement]=\"formElement()\" />\r\n}\r\n@if (mode() === 'DROPDOWN') {\r\n <p-select\r\n [filter]=\"true\"\r\n class=\"w-full\"\r\n styleClass=\"w-full\"\r\n appendTo=\"body\"\r\n [formControl]=\"formElement()\"\r\n [options]=\"(options() | translateSelectItems | async) || []\"\r\n optionLabel=\"label\"\r\n optionValue=\"value\"\r\n [showClear]=\"!required()\"\r\n panelStyleClass=\"w-full\"\r\n ></p-select>\r\n}\r\n@if (mode() === 'BUTTON') {\r\n <p-selectButton [formControl]=\"formElement()\" [options]=\"(options() | translateSelectItems | async) || []\" optionLabel=\"label\" optionValue=\"value\" />\r\n}\r\n","import { Component, DestroyRef, effect, inject, input, signal } from '@angular/core';\r\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\r\nimport { FormControl, ReactiveFormsModule, Validators } from '@angular/forms';\r\nimport { SelectItem } from 'primeng/api';\r\nimport { MultiSelectModule } from 'primeng/multiselect';\r\nimport { startWith } from 'rxjs';\r\nimport { LabelComponent } from '../label/label.component';\r\n\r\n@Component({\r\n selector: 'app-input-multi-select',\r\n imports: [MultiSelectModule, ReactiveFormsModule, LabelComponent],\r\n templateUrl: './input-multi-select.component.html',\r\n host: { class: 'flex flex-col gap-1 w-full' },\r\n})\r\nexport class InputMultiSelectComponent {\r\n private destroyRef = inject(DestroyRef);\r\n\r\n public label = input<string>();\r\n public formElement = input.required<FormControl<string[]>>();\r\n public options = input.required<SelectItem[] | undefined | null>();\r\n\r\n public required = signal(false);\r\n\r\n public constructor() {\r\n effect(() => {\r\n const formElement = this.formElement();\r\n formElement.statusChanges.pipe(startWith(undefined), takeUntilDestroyed(this.destroyRef)).subscribe(() => this.required.set(formElement.hasValidator(Validators.required)));\r\n });\r\n }\r\n}\r\n","@if (label(); as label) {\r\n <app-label [label]=\"label\" [formElement]=\"formElement()\" />\r\n}\r\n<p-multi-select\r\n [filter]=\"true\"\r\n class=\"w-full\"\r\n styleClass=\"w-full\"\r\n appendTo=\"body\"\r\n [formControl]=\"formElement()\"\r\n [options]=\"options() || []\"\r\n optionLabel=\"label\"\r\n optionValue=\"value\"\r\n [showClear]=\"!required()\"\r\n panelStyleClass=\"w-full\"\r\n/>\r\n","import { Component, input } from '@angular/core';\r\nimport { FormControl, ReactiveFormsModule } from '@angular/forms';\r\nimport { InputNumberModule } from 'primeng/inputnumber';\r\nimport { LabelComponent } from '../label/label.component';\r\n\r\n@Component({\r\n selector: 'app-input-number',\r\n imports: [LabelComponent, InputNumberModule, ReactiveFormsModule],\r\n templateUrl: './input-number.component.html',\r\n host: { class: 'flex flex-col gap-1 w-full' },\r\n})\r\nexport class InputNumberComponent {\r\n public label = input<string>();\r\n public formElement = input.required<FormControl<number>>();\r\n public min = input<number>();\r\n public max = input<number>();\r\n public step = input<number>();\r\n public mode = input<'decimal' | 'currency'>('decimal');\r\n public currency = input<string>('EUR');\r\n public useGrouping = input<boolean>(true);\r\n public placeholder = input<string>();\r\n}\r\n","@if (label(); as label) {\r\n <app-label [label]=\"label\" [formElement]=\"formElement()\" />\r\n}\r\n<p-inputNumber\r\n [formControl]=\"formElement()\"\r\n [min]=\"min()\"\r\n [max]=\"max()\"\r\n [step]=\"step()\"\r\n [mode]=\"mode()\"\r\n [currency]=\"currency()\"\r\n locale=\"de-DE\"\r\n [useGrouping]=\"useGrouping()\"\r\n [placeholder]=\"placeholder() || ''\"\r\n/>\r\n","import { Component, DestroyRef, effect, inject, input, signal } from '@angular/core';\r\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\r\nimport { FormControl, ReactiveFormsModule, Validators } from '@angular/forms';\r\nimport { SelectItem } from 'primeng/api';\r\nimport { SelectModule } from 'primeng/select';\r\nimport { startWith } from 'rxjs';\r\nimport { LabelComponent } from '../label/label.component';\r\n\r\n@Component({\r\n selector: 'app-input-select',\r\n imports: [SelectModule, ReactiveFormsModule, LabelComponent],\r\n templateUrl: './input-select.component.html',\r\n host: { class: 'flex flex-col gap-1 w-full' },\r\n})\r\nexport class InputSelectComponent {\r\n private destroyRef = inject(DestroyRef);\r\n\r\n public label = input<string>();\r\n public formElement = input.required<FormControl<string>>();\r\n public options = input.required<SelectItem[] | undefined | null>();\r\n\r\n public required = signal(false);\r\n\r\n public constructor() {\r\n effect(() => {\r\n const formElement = this.formElement();\r\n formElement.statusChanges.pipe(startWith(undefined), takeUntilDestroyed(this.destroyRef)).subscribe(() => this.required.set(formElement.hasValidator(Validators.required)));\r\n });\r\n }\r\n}\r\n","@if (label(); as label) {\r\n <app-label [label]=\"label\" [formElement]=\"formElement()\" />\r\n}\r\n<p-select\r\n [filter]=\"true\"\r\n class=\"w-full\"\r\n styleClass=\"w-full\"\r\n appendTo=\"body\"\r\n [formControl]=\"formElement()\"\r\n [options]=\"options() || []\"\r\n optionLabel=\"label\"\r\n optionValue=\"value\"\r\n [showClear]=\"!required()\"\r\n panelStyleClass=\"w-full\"\r\n/>\r\n","import { Component, input } from '@angular/core';\r\nimport { FormControl, ReactiveFormsModule } from '@angular/forms';\r\nimport { InputTextModule } from 'primeng/inputtext';\r\nimport { LabelComponent } from '../label/label.component';\r\n\r\n@Component({\r\n selector: 'app-input-text',\r\n imports: [InputTextModule, ReactiveFormsModule, LabelComponent],\r\n templateUrl: './input-text.component.html',\r\n host: { class: 'flex flex-col gap-1 w-full' },\r\n})\r\nexport class InputTextComponent {\r\n public label = input<string>();\r\n public formElement = input.required<FormControl<string>>();\r\n public placeholder = input<string>();\r\n}\r\n","@if (label(); as label) {\r\n <app-label [label]=\"label\" [formElement]=\"formElement()\" />\r\n}\r\n<input pInputText [formControl]=\"formElement()\" [placeholder]=\"placeholder() || ''\" />\r\n","import { Component, effect, input, viewChildren } from '@angular/core';\r\nimport { FormControl, ReactiveFormsModule } from '@angular/forms';\r\nimport { Textarea, TextareaModule } from 'primeng/textarea';\r\nimport { LabelComponent } from '../label/label.component';\r\n\r\n@Component({\r\n selector: 'app-input-textarea',\r\n imports: [TextareaModule, ReactiveFormsModule, LabelComponent],\r\n templateUrl: './input-textarea.component.html',\r\n host: { class: 'flex flex-col gap-1 w-full' },\r\n})\r\nexport class InputTextareaComponent {\r\n public label = input<string>();\r\n public formElement = input.required<FormControl<string>>();\r\n\r\n private textareas = viewChildren(Textarea);\r\n\r\n public constructor() {\r\n effect(() => {\r\n const textareas = this.textareas();\r\n const formElement = this.formElement();\r\n if (textareas && formElement) {\r\n textareas.forEach((inputTextarea) => {\r\n inputTextarea.el.nativeElement.style.minHeight = `${inputTextarea.el.nativeElement.scrollHeight}px`;\r\n });\r\n formElement.valueChanges.subscribe(() => {\r\n textareas.forEach((inputTextarea) => {\r\n inputTextarea.el.nativeElement.style.minHeight = undefined;\r\n });\r\n });\r\n }\r\n });\r\n }\r\n}\r\n","@if (label(); as label) {\r\n <app-label [label]=\"label\" [formElement]=\"formElement()\" />\r\n}\r\n<textarea pInputTextarea [autoResize]=\"true\" [formControl]=\"formElement()\"></textarea>\r\n","/*\r\n * Public API Surface of common-angular\r\n */\r\n\r\nexport * from './lib/input-boolean/input-boolean.component';\r\nexport * from './lib/input-date/input-date.component';\r\nexport * from './lib/input-enum/input-enum.component';\r\nexport * from './lib/input-multi-select/input-multi-select.component';\r\nexport * from './lib/input-number/input-number.component';\r\nexport * from './lib/input-select/input-select.component';\r\nexport * from './lib/input-text/input-text.component';\r\nexport * from './lib/input-textarea/input-textarea.component';\r\nexport * from './lib/label/label.component';\r\n\r\nexport * from './lib/pipes/translate-select-items.pipe';\r\n\r\nexport * from './lib/util';\r\n\r\nexport * from './lib/models/form.model';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1","i2"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;MAWa,cAAc,CAAA;AACjB,IAAA,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC;AAEhC,IAAA,KAAK,GAAG,KAAK,CAAC,QAAQ,EAAU;AAChC,IAAA,WAAW,GAAG,KAAK,CAAC,QAAQ,EAAmB;AAE/C,IAAA,QAAQ,GAAG,MAAM,CAAC,KAAK,CAAC;AAE/B,IAAA,WAAA,GAAA;QACE,MAAM,CAAC,MAAK;AACV,YAAA,MAAM,WAAW,GAAG,IAAI,CAAC,WAAW,EAAE;AACtC,YAAA,WAAW,CAAC,aAAa,CAAC,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC,EAAE,kBAAkB,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC,MAAM,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,WAAW,CAAC,YAAY,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC,CAAC;AAC7K,SAAC,CAAC;;wGAZO,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;4FAAd,cAAc,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,WAAA,EAAA,MAAA,EAAA,EAAA,KAAA,EAAA,EAAA,iBAAA,E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AA;;;AET/C;;AAEG;;ACFH;;AAEG;;;;"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { FormControl } from '@angular/forms';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class InputBooleanComponent {
|
|
4
|
-
label: import("@angular/core").InputSignal<string>;
|
|
4
|
+
label: import("@angular/core").InputSignal<string | undefined>;
|
|
5
5
|
formElement: import("@angular/core").InputSignal<FormControl<boolean>>;
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputBooleanComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InputBooleanComponent, "app-input-boolean", never, { "label": { "alias": "label"; "required":
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputBooleanComponent, "app-input-boolean", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "formElement": { "alias": "formElement"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
8
8
|
}
|
|
@@ -2,7 +2,7 @@ import { FormControl } from '@angular/forms';
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class InputEnumComponent {
|
|
4
4
|
private destroyRef;
|
|
5
|
-
label: import("@angular/core").InputSignal<string>;
|
|
5
|
+
label: import("@angular/core").InputSignal<string | undefined>;
|
|
6
6
|
enum: import("@angular/core").InputSignal<any>;
|
|
7
7
|
enumName: import("@angular/core").InputSignal<string>;
|
|
8
8
|
formElement: import("@angular/core").InputSignal<FormControl<any>>;
|
|
@@ -11,5 +11,5 @@ export declare class InputEnumComponent {
|
|
|
11
11
|
required: import("@angular/core").WritableSignal<boolean>;
|
|
12
12
|
constructor();
|
|
13
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputEnumComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InputEnumComponent, "app-input-enum", never, { "label": { "alias": "label"; "required":
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputEnumComponent, "app-input-enum", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "enum": { "alias": "enum"; "required": true; "isSignal": true; }; "enumName": { "alias": "enumName"; "required": true; "isSignal": true; }; "formElement": { "alias": "formElement"; "required": true; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
15
15
|
}
|
|
@@ -3,11 +3,11 @@ import { SelectItem } from 'primeng/api';
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class InputMultiSelectComponent {
|
|
5
5
|
private destroyRef;
|
|
6
|
-
label: import("@angular/core").InputSignal<string>;
|
|
6
|
+
label: import("@angular/core").InputSignal<string | undefined>;
|
|
7
7
|
formElement: import("@angular/core").InputSignal<FormControl<string[]>>;
|
|
8
8
|
options: import("@angular/core").InputSignal<SelectItem<any>[] | null | undefined>;
|
|
9
9
|
required: import("@angular/core").WritableSignal<boolean>;
|
|
10
10
|
constructor();
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputMultiSelectComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InputMultiSelectComponent, "app-input-multi-select", never, { "label": { "alias": "label"; "required":
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputMultiSelectComponent, "app-input-multi-select", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "formElement": { "alias": "formElement"; "required": true; "isSignal": true; }; "options": { "alias": "options"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
13
13
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FormControl } from '@angular/forms';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class InputNumberComponent {
|
|
4
|
-
label: import("@angular/core").InputSignal<string>;
|
|
4
|
+
label: import("@angular/core").InputSignal<string | undefined>;
|
|
5
5
|
formElement: import("@angular/core").InputSignal<FormControl<number>>;
|
|
6
6
|
min: import("@angular/core").InputSignal<number | undefined>;
|
|
7
7
|
max: import("@angular/core").InputSignal<number | undefined>;
|
|
@@ -11,5 +11,5 @@ export declare class InputNumberComponent {
|
|
|
11
11
|
useGrouping: import("@angular/core").InputSignal<boolean>;
|
|
12
12
|
placeholder: import("@angular/core").InputSignal<string | undefined>;
|
|
13
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputNumberComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InputNumberComponent, "app-input-number", never, { "label": { "alias": "label"; "required":
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputNumberComponent, "app-input-number", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "formElement": { "alias": "formElement"; "required": true; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "step": { "alias": "step"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "currency": { "alias": "currency"; "required": false; "isSignal": true; }; "useGrouping": { "alias": "useGrouping"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
15
15
|
}
|
|
@@ -3,11 +3,11 @@ import { SelectItem } from 'primeng/api';
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class InputSelectComponent {
|
|
5
5
|
private destroyRef;
|
|
6
|
-
label: import("@angular/core").InputSignal<string>;
|
|
6
|
+
label: import("@angular/core").InputSignal<string | undefined>;
|
|
7
7
|
formElement: import("@angular/core").InputSignal<FormControl<string>>;
|
|
8
8
|
options: import("@angular/core").InputSignal<SelectItem<any>[] | null | undefined>;
|
|
9
9
|
required: import("@angular/core").WritableSignal<boolean>;
|
|
10
10
|
constructor();
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputSelectComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InputSelectComponent, "app-input-select", never, { "label": { "alias": "label"; "required":
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputSelectComponent, "app-input-select", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "formElement": { "alias": "formElement"; "required": true; "isSignal": true; }; "options": { "alias": "options"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
13
13
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { FormControl } from '@angular/forms';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class InputTextComponent {
|
|
4
|
-
label: import("@angular/core").InputSignal<string>;
|
|
4
|
+
label: import("@angular/core").InputSignal<string | undefined>;
|
|
5
5
|
formElement: import("@angular/core").InputSignal<FormControl<string>>;
|
|
6
6
|
placeholder: import("@angular/core").InputSignal<string | undefined>;
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputTextComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InputTextComponent, "app-input-text", never, { "label": { "alias": "label"; "required":
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputTextComponent, "app-input-text", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "formElement": { "alias": "formElement"; "required": true; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
9
9
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { FormControl } from '@angular/forms';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class InputTextareaComponent {
|
|
4
|
-
label: import("@angular/core").InputSignal<string>;
|
|
4
|
+
label: import("@angular/core").InputSignal<string | undefined>;
|
|
5
5
|
formElement: import("@angular/core").InputSignal<FormControl<string>>;
|
|
6
6
|
private textareas;
|
|
7
7
|
constructor();
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputTextareaComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InputTextareaComponent, "app-input-textarea", never, { "label": { "alias": "label"; "required":
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputTextareaComponent, "app-input-textarea", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "formElement": { "alias": "formElement"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
10
10
|
}
|