@kominal/common-angular 0.0.19 → 0.0.21
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.
@@ -11,15 +11,19 @@ import { DropdownModule } from 'primeng/dropdown';
|
|
11
11
|
import * as i4 from 'primeng/selectbutton';
|
12
12
|
import { SelectButtonModule } from 'primeng/selectbutton';
|
13
13
|
import { startWith, map, shareReplay } from 'rxjs';
|
14
|
+
import * as i1 from 'primeng/inputswitch';
|
15
|
+
import { InputSwitchModule } from 'primeng/inputswitch';
|
14
16
|
import * as i2$2 from 'primeng/datepicker';
|
15
17
|
import { DatePickerModule } from 'primeng/datepicker';
|
16
|
-
import * as i1 from 'primeng/
|
18
|
+
import * as i1$1 from 'primeng/multiselect';
|
19
|
+
import { MultiSelectModule } from 'primeng/multiselect';
|
20
|
+
import * as i1$2 from 'primeng/inputnumber';
|
17
21
|
import { InputNumberModule } from 'primeng/inputnumber';
|
18
|
-
import * as i1$
|
22
|
+
import * as i1$3 from 'primeng/select';
|
19
23
|
import { SelectModule } from 'primeng/select';
|
20
|
-
import * as i1$
|
24
|
+
import * as i1$4 from 'primeng/inputtext';
|
21
25
|
import { InputTextModule } from 'primeng/inputtext';
|
22
|
-
import * as i1$
|
26
|
+
import * as i1$5 from 'primeng/textarea';
|
23
27
|
import { TextareaModule } from 'primeng/textarea';
|
24
28
|
|
25
29
|
class LabelComponent {
|
@@ -173,6 +177,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
|
|
173
177
|
args: [{ selector: 'app-enum-input', standalone: true, imports: [ReactiveFormsModule, DropdownModule, CommonModule, TranslateSelectItemsPipe, TranslateModule, LabelComponent, SelectButtonModule], host: { class: 'flex flex-col gap-1 w-full' }, template: "<app-label [label]=\"label()\" [formElement]=\"formElement()\" />\r\n@if (mode() === 'DROPDOWN') {\r\n <p-dropdown\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 ></p-dropdown>\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" }]
|
174
178
|
}], ctorParameters: () => [] });
|
175
179
|
|
180
|
+
class InputBooleanComponent {
|
181
|
+
label = input.required();
|
182
|
+
formElement = input.required();
|
183
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: InputBooleanComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
184
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.10", type: InputBooleanComponent, isStandalone: true, selector: "lib-input-boolean", 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 items-center gap-3 w-full" }, ngImport: i0, template: "<p-inputSwitch [formControl]=\"formElement()\" />\r\n<app-label style=\"margin-top: 0.4rem\" [label]=\"label()\" [formElement]=\"formElement()\" />\r\n", dependencies: [{ kind: "ngmodule", type: InputSwitchModule }, { kind: "component", type: i1.InputSwitch, selector: "p-inputSwitch, p-inputswitch", inputs: ["style", "styleClass", "tabindex", "inputId", "name", "disabled", "readonly", "trueValue", "falseValue", "ariaLabel", "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"] }] });
|
185
|
+
}
|
186
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: InputBooleanComponent, decorators: [{
|
187
|
+
type: Component,
|
188
|
+
args: [{ selector: 'lib-input-boolean', imports: [InputSwitchModule, LabelComponent, ReactiveFormsModule], host: { class: 'flex items-center gap-3 w-full' }, template: "<p-inputSwitch [formControl]=\"formElement()\" />\r\n<app-label style=\"margin-top: 0.4rem\" [label]=\"label()\" [formElement]=\"formElement()\" />\r\n" }]
|
189
|
+
}] });
|
190
|
+
|
176
191
|
class InputDateComponent {
|
177
192
|
destroyRef = inject(DestroyRef);
|
178
193
|
label = input.required();
|
@@ -192,6 +207,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
|
|
192
207
|
args: [{ selector: 'app-input-date', imports: [ReactiveFormsModule, LabelComponent, DatePickerModule], host: { class: 'flex flex-col gap-1 w-full' }, template: "<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" }]
|
193
208
|
}], ctorParameters: () => [] });
|
194
209
|
|
210
|
+
class InputMultiSelectComponent {
|
211
|
+
destroyRef = inject(DestroyRef);
|
212
|
+
label = input.required();
|
213
|
+
formElement = input.required();
|
214
|
+
options = input.required();
|
215
|
+
required = signal(false);
|
216
|
+
constructor() {
|
217
|
+
effect(() => {
|
218
|
+
const formElement = this.formElement();
|
219
|
+
formElement.statusChanges.pipe(startWith(undefined), takeUntilDestroyed(this.destroyRef)).subscribe(() => this.required.set(formElement.hasValidator(Validators.required)));
|
220
|
+
});
|
221
|
+
}
|
222
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: InputMultiSelectComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
223
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.10", type: InputMultiSelectComponent, isStandalone: true, selector: "app-input-select", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: true, 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: "<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", dependencies: [{ kind: "ngmodule", type: MultiSelectModule }, { kind: "component", type: i1$1.MultiSelect, selector: "p-multiSelect, p-multiselect, p-multi-select", inputs: ["id", "ariaLabel", "style", "styleClass", "panelStyle", "panelStyleClass", "inputId", "disabled", "fluid", "readonly", "group", "filter", "filterPlaceHolder", "filterLocale", "overlayVisible", "tabindex", "variant", "appendTo", "dataKey", "name", "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", "size", "showClear", "autofocus", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "defaultLabel", "placeholder", "options", "filterValue", "itemSize", "selectAll", "focusOnHover", "filterFields", "selectOnFocus", "autoOptionFocus", "highlightOnSelect"], 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"] }] });
|
224
|
+
}
|
225
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: InputMultiSelectComponent, decorators: [{
|
226
|
+
type: Component,
|
227
|
+
args: [{ selector: 'app-input-select', imports: [MultiSelectModule, ReactiveFormsModule, LabelComponent], host: { class: 'flex flex-col gap-1 w-full' }, template: "<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" }]
|
228
|
+
}], ctorParameters: () => [] });
|
229
|
+
|
195
230
|
class InputNumberComponent {
|
196
231
|
label = input.required();
|
197
232
|
formElement = input.required();
|
@@ -199,7 +234,7 @@ class InputNumberComponent {
|
|
199
234
|
max = input();
|
200
235
|
step = input();
|
201
236
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: InputNumberComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
202
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.10", type: InputNumberComponent, isStandalone: true, selector: "app-input-number", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: true, 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 } }, host: { classAttribute: "flex flex-col gap-1 w-full" }, ngImport: i0, template: "<app-label [label]=\"label()\" [formElement]=\"formElement()\" />\r\n<p-inputNumber [formControl]=\"formElement()\" [min]=\"min()\" [max]=\"max()\" [step]=\"step()\" mode=\"decimal\" />\r\n", dependencies: [{ kind: "component", type: LabelComponent, selector: "app-label", inputs: ["label", "formElement"] }, { kind: "ngmodule", type: InputNumberModule }, { kind: "component", type: i1.InputNumber, selector: "p-inputNumber, p-inputnumber, p-input-number", inputs: ["showButtons", "format", "buttonLayout", "inputId", "styleClass", "style", "placeholder", "size", "maxlength", "tabindex", "title", "ariaLabelledBy", "ariaDescribedBy", "ariaLabel", "ariaRequired", "name", "required", "autocomplete", "min", "max", "incrementButtonClass", "decrementButtonClass", "incrementButtonIcon", "decrementButtonIcon", "readonly", "step", "allowEmpty", "locale", "localeMatcher", "mode", "currency", "currencyDisplay", "useGrouping", "variant", "minFractionDigits", "maxFractionDigits", "prefix", "suffix", "inputStyle", "inputStyleClass", "showClear", "autofocus", "disabled", "fluid"], 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"] }] });
|
237
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.10", type: InputNumberComponent, isStandalone: true, selector: "app-input-number", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: true, 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 } }, host: { classAttribute: "flex flex-col gap-1 w-full" }, ngImport: i0, template: "<app-label [label]=\"label()\" [formElement]=\"formElement()\" />\r\n<p-inputNumber [formControl]=\"formElement()\" [min]=\"min()\" [max]=\"max()\" [step]=\"step()\" mode=\"decimal\" />\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", "style", "placeholder", "size", "maxlength", "tabindex", "title", "ariaLabelledBy", "ariaDescribedBy", "ariaLabel", "ariaRequired", "name", "required", "autocomplete", "min", "max", "incrementButtonClass", "decrementButtonClass", "incrementButtonIcon", "decrementButtonIcon", "readonly", "step", "allowEmpty", "locale", "localeMatcher", "mode", "currency", "currencyDisplay", "useGrouping", "variant", "minFractionDigits", "maxFractionDigits", "prefix", "suffix", "inputStyle", "inputStyleClass", "showClear", "autofocus", "disabled", "fluid"], 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"] }] });
|
203
238
|
}
|
204
239
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: InputNumberComponent, decorators: [{
|
205
240
|
type: Component,
|
@@ -219,7 +254,7 @@ class InputSelectComponent {
|
|
219
254
|
});
|
220
255
|
}
|
221
256
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: InputSelectComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
222
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.10", type: InputSelectComponent, isStandalone: true, selector: "app-input-select", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: true, 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: "<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", dependencies: [{ kind: "ngmodule", type: SelectModule }, { kind: "component", type: i1$
|
257
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.10", type: InputSelectComponent, isStandalone: true, selector: "app-input-select", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: true, 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: "<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", dependencies: [{ kind: "ngmodule", type: SelectModule }, { kind: "component", type: i1$3.Select, selector: "p-select", inputs: ["id", "scrollHeight", "filter", "name", "style", "panelStyle", "styleClass", "panelStyleClass", "readonly", "required", "editable", "appendTo", "tabindex", "placeholder", "loadingIcon", "filterPlaceholder", "filterLocale", "variant", "inputId", "dataKey", "filterBy", "filterFields", "autofocus", "resetFilterOnHide", "checkmark", "dropdownIcon", "loading", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "autoDisplayFirst", "group", "showClear", "emptyFilterMessage", "emptyMessage", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "size", "overlayOptions", "ariaFilterLabel", "ariaLabel", "ariaLabelledBy", "filterMatchMode", "maxlength", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "focusOnHover", "selectOnFocus", "autoOptionFocus", "autofocusFilter", "fluid", "disabled", "itemSize", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "filterValue", "options"], 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"] }] });
|
223
258
|
}
|
224
259
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: InputSelectComponent, decorators: [{
|
225
260
|
type: Component,
|
@@ -230,7 +265,7 @@ class InputTextComponent {
|
|
230
265
|
label = input.required();
|
231
266
|
formElement = input.required();
|
232
267
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: InputTextComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
233
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.10", type: InputTextComponent, isStandalone: true, selector: "app-input-text", 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: "<app-label [label]=\"label()\" [formElement]=\"formElement()\" />\r\n<input pInputText [formControl]=\"formElement()\" />\r\n", dependencies: [{ kind: "ngmodule", type: InputTextModule }, { kind: "directive", type: i1$
|
268
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.10", type: InputTextComponent, isStandalone: true, selector: "app-input-text", 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: "<app-label [label]=\"label()\" [formElement]=\"formElement()\" />\r\n<input pInputText [formControl]=\"formElement()\" />\r\n", dependencies: [{ kind: "ngmodule", type: InputTextModule }, { kind: "directive", type: i1$4.InputText, selector: "[pInputText]", inputs: ["variant", "fluid", "pSize"] }, { 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"] }] });
|
234
269
|
}
|
235
270
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: InputTextComponent, decorators: [{
|
236
271
|
type: Component,
|
@@ -241,7 +276,7 @@ class InputTextareaComponent {
|
|
241
276
|
label = input.required();
|
242
277
|
formElement = input.required();
|
243
278
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: InputTextareaComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
244
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.10", type: InputTextareaComponent, isStandalone: true, selector: "app-input-textarea", 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: "<app-label [label]=\"label()\" [formElement]=\"formElement()\" />\r\n<textarea pInputTextarea [autoResize]=\"true\" [formControl]=\"formElement()\"></textarea>\r\n", dependencies: [{ kind: "ngmodule", type: TextareaModule }, { kind: "directive", type: i1$
|
279
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.10", type: InputTextareaComponent, isStandalone: true, selector: "app-input-textarea", 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: "<app-label [label]=\"label()\" [formElement]=\"formElement()\" />\r\n<textarea pInputTextarea [autoResize]=\"true\" [formControl]=\"formElement()\"></textarea>\r\n", dependencies: [{ kind: "ngmodule", type: TextareaModule }, { kind: "directive", type: i1$5.Textarea, selector: "[pTextarea], [pInputTextarea]", inputs: ["autoResize", "variant", "fluid", "pSize"], 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"] }] });
|
245
280
|
}
|
246
281
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: InputTextareaComponent, decorators: [{
|
247
282
|
type: Component,
|
@@ -256,5 +291,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
|
|
256
291
|
* Generated bundle index. Do not edit.
|
257
292
|
*/
|
258
293
|
|
259
|
-
export { EnumInputComponent, InputDateComponent, InputNumberComponent, InputSelectComponent, InputTextComponent, InputTextareaComponent, ListRequest, TranslateSelectItemsPipe, generateRandomString, moveControlInFormArray, moveDownInFormArray, moveUpInFormArray, shareReplayOne, toListRequest, toSelectItems };
|
294
|
+
export { EnumInputComponent, InputBooleanComponent, InputDateComponent, InputMultiSelectComponent, InputNumberComponent, InputSelectComponent, InputTextComponent, InputTextareaComponent, ListRequest, TranslateSelectItemsPipe, generateRandomString, moveControlInFormArray, moveDownInFormArray, moveUpInFormArray, shareReplayOne, toListRequest, toSelectItems };
|
260
295
|
//# sourceMappingURL=kominal-common-angular.mjs.map
|
@@ -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/pipes/translate-select-items.pipe.ts","../../../projects/common-angular/src/lib/util.ts","../../../projects/common-angular/src/lib/enum-input/enum-input.component.ts","../../../projects/common-angular/src/lib/enum-input/enum-input.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/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 { 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 { DropdownModule } from 'primeng/dropdown';\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-enum-input',\r\n standalone: true,\r\n imports: [ReactiveFormsModule, DropdownModule, CommonModule, TranslateSelectItemsPipe, TranslateModule, LabelComponent, SelectButtonModule],\r\n templateUrl: './enum-input.component.html',\r\n host: { class: 'flex flex-col gap-1 w-full' },\r\n})\r\nexport class EnumInputComponent {\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-dropdown\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 ></p-dropdown>\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 { 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 { 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}\r\n","<app-label [label]=\"label()\" [formElement]=\"formElement()\" />\r\n<p-inputNumber [formControl]=\"formElement()\" [min]=\"min()\" [max]=\"max()\" [step]=\"step()\" mode=\"decimal\" />\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[]>();\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}\r\n","<app-label [label]=\"label()\" [formElement]=\"formElement()\" />\r\n<input pInputText [formControl]=\"formElement()\" />\r\n","import { Component, input } from '@angular/core';\r\nimport { FormControl, ReactiveFormsModule } from '@angular/forms';\r\nimport { 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","<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/enum-input/enum-input.component';\r\nexport * from './lib/input-date/input-date.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\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":["i2","i1"],"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,IAA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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/pipes/translate-select-items.pipe.ts","../../../projects/common-angular/src/lib/util.ts","../../../projects/common-angular/src/lib/enum-input/enum-input.component.ts","../../../projects/common-angular/src/lib/enum-input/enum-input.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/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 { 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 { DropdownModule } from 'primeng/dropdown';\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-enum-input',\r\n standalone: true,\r\n imports: [ReactiveFormsModule, DropdownModule, CommonModule, TranslateSelectItemsPipe, TranslateModule, LabelComponent, SelectButtonModule],\r\n templateUrl: './enum-input.component.html',\r\n host: { class: 'flex flex-col gap-1 w-full' },\r\n})\r\nexport class EnumInputComponent {\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-dropdown\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 ></p-dropdown>\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, input } from '@angular/core';\r\nimport { FormControl, ReactiveFormsModule } from '@angular/forms';\r\nimport { InputSwitchModule } from 'primeng/inputswitch';\r\nimport { LabelComponent } from '../label/label.component';\r\n\r\n@Component({\r\n selector: 'lib-input-boolean',\r\n imports: [InputSwitchModule, 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<string>>();\r\n}\r\n","<p-inputSwitch [formControl]=\"formElement()\" />\r\n<app-label style=\"margin-top: 0.4rem\" [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 { 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-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[]>();\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}\r\n","<app-label [label]=\"label()\" [formElement]=\"formElement()\" />\r\n<p-inputNumber [formControl]=\"formElement()\" [min]=\"min()\" [max]=\"max()\" [step]=\"step()\" mode=\"decimal\" />\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[]>();\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}\r\n","<app-label [label]=\"label()\" [formElement]=\"formElement()\" />\r\n<input pInputText [formControl]=\"formElement()\" />\r\n","import { Component, input } from '@angular/core';\r\nimport { FormControl, ReactiveFormsModule } from '@angular/forms';\r\nimport { 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","<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/enum-input/enum-input.component';\r\nexport * from './lib/input-boolean/input-boolean.component';\r\nexport * from './lib/input-date/input-date.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\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":["i2","i1"],"mappings":";;;;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KAAK,CAAC,QAAQ,EAAuB;wGAF/C,sBAAsB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAtB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,sBAAsB,kZCXnC,qKAEA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EDKY,cAAc,EAAE,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAAA,IAAA,CAAA,QAAA,EAAA,QAAA,EAAA,+BAAA,EAAA,MAAA,EAAA,CAAA,YAAA,EAAA,SAAA,EAAA,OAAA,EAAA,OAAA,CAAA,EAAA,OAAA,EAAA,CAAA,UAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,mBAAmB,0kBAAE,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;;;;"}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import { FormControl } from '@angular/forms';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export declare class InputBooleanComponent {
|
4
|
+
label: import("@angular/core").InputSignal<string>;
|
5
|
+
formElement: import("@angular/core").InputSignal<FormControl<string>>;
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputBooleanComponent, never>;
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputBooleanComponent, "lib-input-boolean", never, { "label": { "alias": "label"; "required": true; "isSignal": true; }; "formElement": { "alias": "formElement"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
8
|
+
}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { FormControl } from '@angular/forms';
|
2
|
+
import { SelectItem } from 'primeng/api';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
export declare class InputMultiSelectComponent {
|
5
|
+
private destroyRef;
|
6
|
+
label: import("@angular/core").InputSignal<string>;
|
7
|
+
formElement: import("@angular/core").InputSignal<FormControl<string>>;
|
8
|
+
options: import("@angular/core").InputSignal<SelectItem<any>[]>;
|
9
|
+
required: import("@angular/core").WritableSignal<boolean>;
|
10
|
+
constructor();
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputMultiSelectComponent, never>;
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputMultiSelectComponent, "app-input-select", never, { "label": { "alias": "label"; "required": true; "isSignal": true; }; "formElement": { "alias": "formElement"; "required": true; "isSignal": true; }; "options": { "alias": "options"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
13
|
+
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
export * from './lib/enum-input/enum-input.component';
|
2
|
+
export * from './lib/input-boolean/input-boolean.component';
|
2
3
|
export * from './lib/input-date/input-date.component';
|
4
|
+
export * from './lib/input-multi-select/input-multi-select.component';
|
3
5
|
export * from './lib/input-number/input-number.component';
|
4
6
|
export * from './lib/input-select/input-select.component';
|
5
7
|
export * from './lib/input-text/input-text.component';
|