@3kles/kles-material-dynamicforms 21.5.1 → 21.6.1
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@3kles/kles-material-dynamicforms",
|
|
3
|
-
"version": "21.
|
|
3
|
+
"version": "21.6.1",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/3kles-lab/klesmaterialdynamicforms"
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
"author": "3Kles Lab",
|
|
16
16
|
"license": "ISC",
|
|
17
17
|
"peerDependencies": {
|
|
18
|
+
"@3kles/kles-material-color-picker": "^21.2.0",
|
|
18
19
|
"@3kles/kles-material-datepicker": "^21.0.0",
|
|
19
20
|
"@angular/cdk": "^21.2.14",
|
|
20
21
|
"@angular/common": "^21.2.19",
|
|
@@ -22,7 +23,6 @@
|
|
|
22
23
|
"@angular/forms": "^21.2.19",
|
|
23
24
|
"@angular/material": "^21.2.14",
|
|
24
25
|
"lodash": "^4.17.21",
|
|
25
|
-
"ngx-color-picker": "^20.1.1",
|
|
26
26
|
"ngx-mat-select-search": "^9.0.0",
|
|
27
27
|
"rxjs": "^6.5.3 || ^7.4.0",
|
|
28
28
|
"uuid": "^8.3.0"
|
|
@@ -9,6 +9,8 @@ import * as i10 from '@angular/material/form-field';
|
|
|
9
9
|
import { SubscriptSizing, MatFormFieldControl } from '@angular/material/form-field';
|
|
10
10
|
import * as i3 from '@angular/material/button';
|
|
11
11
|
import { MatButtonAppearance } from '@angular/material/button';
|
|
12
|
+
import * as _3kles_kles_material_color_picker from '@3kles/kles-material-color-picker';
|
|
13
|
+
import { ColorPickerPosition, ColorOutputFormat, ColorCommitMode } from '@3kles/kles-material-color-picker';
|
|
12
14
|
import * as i24 from '@angular/material/checkbox';
|
|
13
15
|
import { MatCheckbox, MatCheckboxChange } from '@angular/material/checkbox';
|
|
14
16
|
import * as i16 from '@angular/material/tooltip';
|
|
@@ -51,7 +53,6 @@ import * as i36 from '@angular/cdk/scrolling';
|
|
|
51
53
|
import { CdkVirtualScrollViewport } from '@angular/cdk/scrolling';
|
|
52
54
|
import * as i4$1 from 'ngx-mat-select-search';
|
|
53
55
|
import * as _3kles_kles_material_dynamicforms from '@3kles/kles-material-dynamicforms';
|
|
54
|
-
import * as i61 from 'ngx-color-picker';
|
|
55
56
|
|
|
56
57
|
type Exclusive<T, U> = (T & {
|
|
57
58
|
[K in keyof U]?: never;
|
|
@@ -179,10 +180,15 @@ interface IKlesFieldUi {
|
|
|
179
180
|
visible?: boolean;
|
|
180
181
|
colorOption?: {
|
|
181
182
|
disable?: boolean;
|
|
182
|
-
position?:
|
|
183
|
-
positionOffset?:
|
|
184
|
-
|
|
185
|
-
|
|
183
|
+
position?: ColorPickerPosition;
|
|
184
|
+
positionOffset?: number;
|
|
185
|
+
format?: ColorOutputFormat;
|
|
186
|
+
commitMode?: ColorCommitMode;
|
|
187
|
+
alpha?: boolean;
|
|
188
|
+
eyeDropper?: boolean;
|
|
189
|
+
saveOnOutside?: boolean;
|
|
190
|
+
fallbackColor?: string;
|
|
191
|
+
presets?: readonly string[];
|
|
186
192
|
};
|
|
187
193
|
direction?: 'column' | 'row' | 'grid' | 'inline-grid';
|
|
188
194
|
textareaAutoSize?: {
|
|
@@ -731,10 +737,17 @@ declare class KlesFormListFieldComponent extends KlesFieldAbstract implements On
|
|
|
731
737
|
static ɵcmp: i0.ɵɵComponentDeclaration<KlesFormListFieldComponent, "kles-form-listfield", never, {}, {}, never, never, true, never>;
|
|
732
738
|
}
|
|
733
739
|
|
|
734
|
-
declare class KlesFormColorComponent extends KlesFieldAbstract
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
740
|
+
declare class KlesFormColorComponent extends KlesFieldAbstract {
|
|
741
|
+
private readonly formControl;
|
|
742
|
+
private readonly controlValue;
|
|
743
|
+
private readonly controlStatus;
|
|
744
|
+
readonly colorOption: i0.Signal<any>;
|
|
745
|
+
readonly parsedColor: i0.Signal<_3kles_kles_material_color_picker.RgbaColor>;
|
|
746
|
+
readonly currentColor: i0.Signal<any>;
|
|
747
|
+
readonly backgroundColor: i0.Signal<string>;
|
|
748
|
+
readonly foregroundColor: i0.Signal<"#000000" | "#ffffff">;
|
|
749
|
+
readonly pickerDisabled: i0.Signal<boolean>;
|
|
750
|
+
setColor(value: string): void;
|
|
738
751
|
static ɵfac: i0.ɵɵFactoryDeclaration<KlesFormColorComponent, never>;
|
|
739
752
|
static ɵcmp: i0.ɵɵComponentDeclaration<KlesFormColorComponent, "kles-form-color", never, {}, {}, never, ["*"], true, never>;
|
|
740
753
|
}
|
|
@@ -1205,7 +1218,7 @@ declare class KlesFormChipGridComponent extends KlesFieldAbstract implements OnI
|
|
|
1205
1218
|
declare class KlesMaterialDynamicformsModule {
|
|
1206
1219
|
static declarations: ((typeof KlesFormClearComponent | typeof KlesDynamicFormComponent | typeof KlesFormLabelComponent | typeof KlesButtonComponent | typeof KlesIndeterminateCheckboxComponent | typeof KlesFileControlComponent | typeof KlesFormCopyComponent)[] | (typeof KlesDynamicFieldDirective | typeof MatErrorFormDirective | typeof KlesComponentDirective | typeof MatErrorMessageDirective)[] | (typeof KlesTransformPipe | typeof ArrayFormatPipe)[])[];
|
|
1207
1220
|
static ɵfac: i0.ɵɵFactoryDeclaration<KlesMaterialDynamicformsModule, never>;
|
|
1208
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<KlesMaterialDynamicformsModule, never, [typeof i1.CommonModule, typeof i2$1.ReactiveFormsModule, typeof i2$1.FormsModule, typeof MaterialModule, typeof i4$1.NgxMatSelectSearchModule, typeof KlesDynamicFormComponent, typeof KlesFormLabelComponent, typeof KlesFormInputComponent, typeof KlesFormInputClearableComponent, typeof KlesFormBadgeComponent, typeof KlesFormFileComponent, typeof KlesFileControlComponent, typeof KlesButtonComponent, typeof KlesFormButtonComponent, typeof KlesButtonCheckerComponent, typeof KlesFormButtonCheckerComponent, typeof KlesButtonFileComponent, typeof KlesFormButtonFileComponent, typeof KlesFormSelectComponent, typeof KlesFormDateComponent, typeof KlesFormDateTimeComponent, typeof KlesFormRadioComponent, typeof KlesFormCheckboxComponent, typeof KlesIndeterminateCheckboxComponent, typeof KlesFormCheckboxIndeterminateComponent, typeof KlesFormListFieldComponent, typeof KlesFormColorComponent, typeof KlesFormTextareaComponent, typeof KlesFormTextComponent, typeof KlesFormChipComponent, typeof KlesFormGroupComponent, typeof KlesFormIconComponent, typeof KlesFormSelectSearchComponent, typeof KlesFormLineBreakComponent, typeof KlesFormLinkComponent, typeof KlesFormSlideToggleComponent, typeof KlesFormSelectionListComponent, typeof KlesFormButtonToogleGroupComponent, typeof KlesFormArrayComponent, typeof KlesFormRangeComponent, typeof KlesFormClearComponent, typeof KlesFormSelectLazySearchComponent, typeof KlesFormFabComponent, typeof KlesFabComponent, typeof KlesMiniFabComponent, typeof KlesFormMiniFabComponent, typeof KlesIconButtonComponent, typeof KlesFormIconButtonComponent, typeof KlesFormSelectionListSearchComponent, typeof KlesFormCopyComponent, typeof KlesFormTileComponent, typeof KlesFormActionMenuComponent, typeof KlesFormCurrencyComponent, typeof KlesFormStatusComponent, typeof KlesFormChipGridComponent, typeof KlesDynamicFieldDirective, typeof KlesComponentDirective, typeof MatErrorMessageDirective, typeof MatErrorFormDirective, typeof KlesTransformPipe, typeof ArrayFormatPipe
|
|
1221
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KlesMaterialDynamicformsModule, never, [typeof i1.CommonModule, typeof i2$1.ReactiveFormsModule, typeof i2$1.FormsModule, typeof MaterialModule, typeof i4$1.NgxMatSelectSearchModule, typeof KlesDynamicFormComponent, typeof KlesFormLabelComponent, typeof KlesFormInputComponent, typeof KlesFormInputClearableComponent, typeof KlesFormBadgeComponent, typeof KlesFormFileComponent, typeof KlesFileControlComponent, typeof KlesButtonComponent, typeof KlesFormButtonComponent, typeof KlesButtonCheckerComponent, typeof KlesFormButtonCheckerComponent, typeof KlesButtonFileComponent, typeof KlesFormButtonFileComponent, typeof KlesFormSelectComponent, typeof KlesFormDateComponent, typeof KlesFormDateTimeComponent, typeof KlesFormRadioComponent, typeof KlesFormCheckboxComponent, typeof KlesIndeterminateCheckboxComponent, typeof KlesFormCheckboxIndeterminateComponent, typeof KlesFormListFieldComponent, typeof KlesFormColorComponent, typeof KlesFormTextareaComponent, typeof KlesFormTextComponent, typeof KlesFormChipComponent, typeof KlesFormGroupComponent, typeof KlesFormIconComponent, typeof KlesFormSelectSearchComponent, typeof KlesFormLineBreakComponent, typeof KlesFormLinkComponent, typeof KlesFormSlideToggleComponent, typeof KlesFormSelectionListComponent, typeof KlesFormButtonToogleGroupComponent, typeof KlesFormArrayComponent, typeof KlesFormRangeComponent, typeof KlesFormClearComponent, typeof KlesFormSelectLazySearchComponent, typeof KlesFormFabComponent, typeof KlesFabComponent, typeof KlesMiniFabComponent, typeof KlesFormMiniFabComponent, typeof KlesIconButtonComponent, typeof KlesFormIconButtonComponent, typeof KlesFormSelectionListSearchComponent, typeof KlesFormCopyComponent, typeof KlesFormTileComponent, typeof KlesFormActionMenuComponent, typeof KlesFormCurrencyComponent, typeof KlesFormStatusComponent, typeof KlesFormChipGridComponent, typeof KlesDynamicFieldDirective, typeof KlesComponentDirective, typeof MatErrorMessageDirective, typeof MatErrorFormDirective, typeof KlesTransformPipe, typeof ArrayFormatPipe], [typeof KlesDynamicFormComponent, typeof KlesFormLabelComponent, typeof KlesFormInputComponent, typeof KlesFormInputClearableComponent, typeof KlesFormBadgeComponent, typeof KlesFormFileComponent, typeof KlesFileControlComponent, typeof KlesButtonComponent, typeof KlesFormButtonComponent, typeof KlesButtonCheckerComponent, typeof KlesFormButtonCheckerComponent, typeof KlesButtonFileComponent, typeof KlesFormButtonFileComponent, typeof KlesFormSelectComponent, typeof KlesFormDateComponent, typeof KlesFormDateTimeComponent, typeof KlesFormRadioComponent, typeof KlesFormCheckboxComponent, typeof KlesIndeterminateCheckboxComponent, typeof KlesFormCheckboxIndeterminateComponent, typeof KlesFormListFieldComponent, typeof KlesFormColorComponent, typeof KlesFormTextareaComponent, typeof KlesFormTextComponent, typeof KlesFormChipComponent, typeof KlesFormGroupComponent, typeof KlesFormIconComponent, typeof KlesFormSelectSearchComponent, typeof KlesFormLineBreakComponent, typeof KlesFormLinkComponent, typeof KlesFormSlideToggleComponent, typeof KlesFormSelectionListComponent, typeof KlesFormButtonToogleGroupComponent, typeof KlesFormArrayComponent, typeof KlesFormRangeComponent, typeof KlesFormClearComponent, typeof KlesFormSelectLazySearchComponent, typeof KlesFormFabComponent, typeof KlesFabComponent, typeof KlesMiniFabComponent, typeof KlesFormMiniFabComponent, typeof KlesIconButtonComponent, typeof KlesFormIconButtonComponent, typeof KlesFormSelectionListSearchComponent, typeof KlesFormCopyComponent, typeof KlesFormTileComponent, typeof KlesFormActionMenuComponent, typeof KlesFormCurrencyComponent, typeof KlesFormStatusComponent, typeof KlesFormChipGridComponent, typeof KlesTransformPipe, typeof ArrayFormatPipe, typeof KlesDynamicFieldDirective, typeof KlesComponentDirective, typeof MatErrorMessageDirective, typeof MatErrorFormDirective]>;
|
|
1209
1222
|
static ɵinj: i0.ɵɵInjectorDeclaration<KlesMaterialDynamicformsModule>;
|
|
1210
1223
|
}
|
|
1211
1224
|
|