lkt-vue-kernel 1.0.26 → 1.0.28
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/dist/index.d.ts +206 -83
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -203,12 +203,12 @@ interface ButtonConfig {
|
|
|
203
203
|
iconEnd?: string;
|
|
204
204
|
img?: string;
|
|
205
205
|
checked?: boolean;
|
|
206
|
-
textOn?:
|
|
207
|
-
textOff?:
|
|
208
|
-
iconOn?:
|
|
209
|
-
iconOff?:
|
|
210
|
-
iconEndOn?:
|
|
211
|
-
iconEndOff?:
|
|
206
|
+
textOn?: ValidTextValue;
|
|
207
|
+
textOff?: ValidTextValue;
|
|
208
|
+
iconOn?: ValidTextValue;
|
|
209
|
+
iconOff?: ValidTextValue;
|
|
210
|
+
iconEndOn?: ValidTextValue;
|
|
211
|
+
iconEndOff?: ValidTextValue;
|
|
212
212
|
dot?: ValidButtonDot;
|
|
213
213
|
anchor?: AnchorConfig | Anchor;
|
|
214
214
|
resource?: string;
|
|
@@ -235,6 +235,54 @@ interface ButtonConfig {
|
|
|
235
235
|
declare class LktSettings {
|
|
236
236
|
static debugEnabled: boolean;
|
|
237
237
|
static debugMode(enabled?: boolean): typeof LktSettings;
|
|
238
|
+
static defaultCreateErrorText: string;
|
|
239
|
+
static defaultCreateErrorDetails: string;
|
|
240
|
+
static defaultCreateErrorIcon: string;
|
|
241
|
+
static setDefaultCreateError(config: {
|
|
242
|
+
text?: string;
|
|
243
|
+
details?: string;
|
|
244
|
+
icon?: string;
|
|
245
|
+
}): void;
|
|
246
|
+
static defaultUpdateErrorText: string;
|
|
247
|
+
static defaultUpdateErrorDetails: string;
|
|
248
|
+
static defaultUpdateErrorIcon: string;
|
|
249
|
+
static setDefaultUpdateError(config: {
|
|
250
|
+
text?: string;
|
|
251
|
+
details?: string;
|
|
252
|
+
icon?: string;
|
|
253
|
+
}): void;
|
|
254
|
+
static defaultDropErrorText: string;
|
|
255
|
+
static defaultDropErrorDetails: string;
|
|
256
|
+
static defaultDropErrorIcon: string;
|
|
257
|
+
static setDefaultDropError(config: {
|
|
258
|
+
text?: string;
|
|
259
|
+
details?: string;
|
|
260
|
+
icon?: string;
|
|
261
|
+
}): void;
|
|
262
|
+
static defaultCreateSuccessText: string;
|
|
263
|
+
static defaultCreateSuccessDetails: string;
|
|
264
|
+
static defaultCreateSuccessIcon: string;
|
|
265
|
+
static setDefaultCreateSuccess(config: {
|
|
266
|
+
text?: string;
|
|
267
|
+
details?: string;
|
|
268
|
+
icon?: string;
|
|
269
|
+
}): void;
|
|
270
|
+
static defaultUpdateSuccessText: string;
|
|
271
|
+
static defaultUpdateSuccessDetails: string;
|
|
272
|
+
static defaultUpdateSuccessIcon: string;
|
|
273
|
+
static setDefaultUpdateSuccess(config: {
|
|
274
|
+
text?: string;
|
|
275
|
+
details?: string;
|
|
276
|
+
icon?: string;
|
|
277
|
+
}): void;
|
|
278
|
+
static defaultDropSuccessText: string;
|
|
279
|
+
static defaultDropSuccessDetails: string;
|
|
280
|
+
static defaultDropSuccessIcon: string;
|
|
281
|
+
static setDefaultDropSuccess(config: {
|
|
282
|
+
text?: string;
|
|
283
|
+
details?: string;
|
|
284
|
+
icon?: string;
|
|
285
|
+
}): void;
|
|
238
286
|
static defaultSaveButton: Partial<ButtonConfig>;
|
|
239
287
|
static setDefaultSaveButton(button: Partial<ButtonConfig>, override?: boolean): typeof LktSettings;
|
|
240
288
|
static defaultConfirmButton: Partial<ButtonConfig>;
|
|
@@ -251,6 +299,8 @@ declare class LktSettings {
|
|
|
251
299
|
static setDefaultEditModeButton(button: Partial<ButtonConfig>, override?: boolean): typeof LktSettings;
|
|
252
300
|
static defaultToggleButton: Partial<ButtonConfig>;
|
|
253
301
|
static setDefaultToggleButton(button: Partial<ButtonConfig>, override?: boolean): typeof LktSettings;
|
|
302
|
+
static defaultLoadMoreButton: Partial<ButtonConfig>;
|
|
303
|
+
static setDefaultLoadMoreButton(button: Partial<ButtonConfig>, override?: boolean): typeof LktSettings;
|
|
254
304
|
}
|
|
255
305
|
|
|
256
306
|
declare enum FieldType {
|
|
@@ -585,12 +635,12 @@ declare class Button extends LktItem implements ButtonConfig {
|
|
|
585
635
|
confirmData: Partial<ModalConfig>;
|
|
586
636
|
modalCallbacks?: Array<ModalCallbackConfig>;
|
|
587
637
|
text: ValidTextValue;
|
|
588
|
-
textOn:
|
|
589
|
-
textOff:
|
|
590
|
-
iconOn:
|
|
591
|
-
iconOff:
|
|
592
|
-
iconEndOn:
|
|
593
|
-
iconEndOff:
|
|
638
|
+
textOn: ValidTextValue;
|
|
639
|
+
textOff: ValidTextValue;
|
|
640
|
+
iconOn: ValidTextValue;
|
|
641
|
+
iconOff: ValidTextValue;
|
|
642
|
+
iconEndOn: ValidTextValue;
|
|
643
|
+
iconEndOff: ValidTextValue;
|
|
594
644
|
icon: string;
|
|
595
645
|
dot: ValidButtonDot;
|
|
596
646
|
iconEnd: string;
|
|
@@ -643,12 +693,25 @@ interface DragConfig {
|
|
|
643
693
|
dragKey?: string;
|
|
644
694
|
}
|
|
645
695
|
|
|
696
|
+
declare enum IconType {
|
|
697
|
+
NotDefined = "",
|
|
698
|
+
Button = "button"
|
|
699
|
+
}
|
|
700
|
+
|
|
646
701
|
interface IconConfig {
|
|
647
702
|
icon?: ValidTextValue;
|
|
648
703
|
text?: ValidTextValue;
|
|
649
704
|
class?: ValidTextValue;
|
|
650
705
|
pack?: ValidTextValue;
|
|
651
|
-
type?:
|
|
706
|
+
type?: IconType;
|
|
707
|
+
}
|
|
708
|
+
|
|
709
|
+
interface ImageConfig {
|
|
710
|
+
src?: string;
|
|
711
|
+
alt?: string;
|
|
712
|
+
text?: string;
|
|
713
|
+
class?: string;
|
|
714
|
+
imageStyle?: string | LktObject;
|
|
652
715
|
}
|
|
653
716
|
|
|
654
717
|
declare enum ItemCrudView {
|
|
@@ -710,6 +773,25 @@ interface ItemCrudConfig {
|
|
|
710
773
|
notificationType?: NotificationType;
|
|
711
774
|
}
|
|
712
775
|
|
|
776
|
+
interface MenuEntryConfig {
|
|
777
|
+
key?: string;
|
|
778
|
+
href?: string;
|
|
779
|
+
label?: string;
|
|
780
|
+
icon?: string;
|
|
781
|
+
onClick?: Function | undefined;
|
|
782
|
+
isActiveChecker?: Function | undefined;
|
|
783
|
+
isOpened?: boolean;
|
|
784
|
+
isActive?: boolean;
|
|
785
|
+
parent?: MenuEntryConfig | undefined;
|
|
786
|
+
children?: MenuEntryConfig[];
|
|
787
|
+
}
|
|
788
|
+
|
|
789
|
+
interface MenuConfig {
|
|
790
|
+
modelValue?: MenuEntryConfig[];
|
|
791
|
+
resource?: string;
|
|
792
|
+
resourceData: LktObject;
|
|
793
|
+
}
|
|
794
|
+
|
|
713
795
|
declare enum PaginatorType {
|
|
714
796
|
Pages = "pages",
|
|
715
797
|
PrevNext = "prev-next",
|
|
@@ -724,9 +806,9 @@ interface PaginatorConfig {
|
|
|
724
806
|
modelValue?: number;
|
|
725
807
|
class?: string;
|
|
726
808
|
resource?: string;
|
|
809
|
+
resourceData?: LktObject;
|
|
727
810
|
readOnly?: boolean;
|
|
728
811
|
loading?: boolean;
|
|
729
|
-
filters?: LktObject;
|
|
730
812
|
}
|
|
731
813
|
|
|
732
814
|
declare enum ProgressType {
|
|
@@ -826,9 +908,7 @@ interface TableConfig {
|
|
|
826
908
|
modelValue: LktObject[];
|
|
827
909
|
type?: TableType;
|
|
828
910
|
columns: Column[];
|
|
829
|
-
resource?: string;
|
|
830
911
|
noResultsText?: string;
|
|
831
|
-
filters?: LktObject[];
|
|
832
912
|
hideEmptyColumns?: boolean;
|
|
833
913
|
itemDisplayChecker?: Function;
|
|
834
914
|
rowDisplayType?: ValidTableRowTypeValue;
|
|
@@ -847,6 +927,7 @@ interface TableConfig {
|
|
|
847
927
|
titleTag?: string;
|
|
848
928
|
titleIcon?: string;
|
|
849
929
|
headerClass?: string;
|
|
930
|
+
editModeButton?: ButtonConfig;
|
|
850
931
|
saveButton?: ButtonConfig;
|
|
851
932
|
createButton?: ButtonConfig;
|
|
852
933
|
dropButton?: ButtonConfig;
|
|
@@ -854,20 +935,10 @@ interface TableConfig {
|
|
|
854
935
|
wrapContentTag?: string;
|
|
855
936
|
wrapContentClass?: string;
|
|
856
937
|
itemsContainerClass?: string;
|
|
857
|
-
createText?: string;
|
|
858
|
-
createIcon?: string;
|
|
859
|
-
createRoute?: string;
|
|
860
|
-
createDisabled?: boolean;
|
|
861
938
|
createEnabledValidator?: Function;
|
|
862
|
-
dropText?: string;
|
|
863
|
-
dropIcon?: string;
|
|
864
|
-
dropConfirm?: string;
|
|
865
|
-
dropResource?: string;
|
|
866
939
|
editText?: string;
|
|
867
940
|
editIcon?: string;
|
|
868
941
|
editLink?: string;
|
|
869
|
-
editModeText?: string;
|
|
870
|
-
switchEditionEnabled?: boolean;
|
|
871
942
|
addNavigation?: boolean;
|
|
872
943
|
newValueGenerator?: Function;
|
|
873
944
|
requiredItemsForTopCreate?: number;
|
|
@@ -875,6 +946,30 @@ interface TableConfig {
|
|
|
875
946
|
slotItemVar?: string;
|
|
876
947
|
}
|
|
877
948
|
|
|
949
|
+
interface TabsConfig {
|
|
950
|
+
modelValue: string | number;
|
|
951
|
+
id?: string;
|
|
952
|
+
useSession?: boolean;
|
|
953
|
+
cacheLifetime?: number;
|
|
954
|
+
contentPad?: string;
|
|
955
|
+
titles?: LktObject;
|
|
956
|
+
}
|
|
957
|
+
|
|
958
|
+
declare enum TagType {
|
|
959
|
+
NotDefined = "",
|
|
960
|
+
ActionIcon = "action-icon"
|
|
961
|
+
}
|
|
962
|
+
|
|
963
|
+
interface TagConfig {
|
|
964
|
+
class?: string;
|
|
965
|
+
text?: string;
|
|
966
|
+
featuredText?: string;
|
|
967
|
+
icon?: string;
|
|
968
|
+
iconAtEnd?: boolean;
|
|
969
|
+
featuredAtStart?: boolean;
|
|
970
|
+
type?: TagType;
|
|
971
|
+
}
|
|
972
|
+
|
|
878
973
|
declare enum ToastType {
|
|
879
974
|
Message = "message",
|
|
880
975
|
Button = "button"
|
|
@@ -889,6 +984,7 @@ declare enum ToastPositionX {
|
|
|
889
984
|
interface ToastConfig {
|
|
890
985
|
type?: ToastType;
|
|
891
986
|
text?: ValidTextValue;
|
|
987
|
+
details?: ValidTextValue;
|
|
892
988
|
icon?: ValidTextValue;
|
|
893
989
|
positionX?: ToastPositionX;
|
|
894
990
|
duration?: number;
|
|
@@ -900,6 +996,27 @@ declare class LktStrictItem extends LktItem {
|
|
|
900
996
|
lktStrictItem: boolean;
|
|
901
997
|
}
|
|
902
998
|
|
|
999
|
+
declare class Accordion extends LktItem implements AccordionConfig {
|
|
1000
|
+
static lktAllowUndefinedProps: string[];
|
|
1001
|
+
static lktDefaultValues: (keyof AccordionConfig)[];
|
|
1002
|
+
modelValue?: boolean;
|
|
1003
|
+
type?: AccordionType;
|
|
1004
|
+
toggleMode?: AccordionToggleMode;
|
|
1005
|
+
actionButton?: ButtonConfig;
|
|
1006
|
+
toggleButton?: ButtonConfig;
|
|
1007
|
+
toggleOnClickIntro?: boolean;
|
|
1008
|
+
toggleTimeout?: number;
|
|
1009
|
+
title?: string;
|
|
1010
|
+
icon?: string;
|
|
1011
|
+
class?: string;
|
|
1012
|
+
contentClass?: string;
|
|
1013
|
+
iconRotation?: '90' | '180' | '-90' | '-180';
|
|
1014
|
+
minHeight?: number | undefined;
|
|
1015
|
+
iconAtEnd?: boolean;
|
|
1016
|
+
toggleIconAtEnd?: boolean;
|
|
1017
|
+
constructor(data?: Partial<AnchorConfig>);
|
|
1018
|
+
}
|
|
1019
|
+
|
|
903
1020
|
declare enum ValidationCode {
|
|
904
1021
|
MinStringLength = "min-str",
|
|
905
1022
|
MinNumber = "min-num",
|
|
@@ -956,55 +1073,26 @@ declare class FieldValidation {
|
|
|
956
1073
|
static createEqualTo(value: number | string, status?: ValidationStatus): FieldValidation;
|
|
957
1074
|
}
|
|
958
1075
|
|
|
959
|
-
declare class
|
|
1076
|
+
declare class Icon extends LktItem implements IconConfig {
|
|
960
1077
|
static lktAllowUndefinedProps: string[];
|
|
961
|
-
static lktDefaultValues: (keyof
|
|
962
|
-
modelValue?: boolean;
|
|
963
|
-
type?: AccordionType;
|
|
964
|
-
toggleMode?: AccordionToggleMode;
|
|
965
|
-
actionButton?: ButtonConfig;
|
|
966
|
-
toggleButton?: ButtonConfig;
|
|
967
|
-
toggleOnClickIntro?: boolean;
|
|
968
|
-
toggleTimeout?: number;
|
|
969
|
-
title?: string;
|
|
970
|
-
icon?: string;
|
|
971
|
-
class?: string;
|
|
972
|
-
contentClass?: string;
|
|
973
|
-
iconRotation?: '90' | '180' | '-90' | '-180';
|
|
974
|
-
minHeight?: number | undefined;
|
|
975
|
-
iconAtEnd?: boolean;
|
|
976
|
-
toggleIconAtEnd?: boolean;
|
|
977
|
-
constructor(data?: Partial<AnchorConfig>);
|
|
978
|
-
}
|
|
979
|
-
|
|
980
|
-
declare class Toast extends LktItem implements ToastConfig {
|
|
981
|
-
static lktDefaultValues: (keyof ToastConfig)[];
|
|
982
|
-
type?: ToastType;
|
|
983
|
-
text?: ValidTextValue;
|
|
1078
|
+
static lktDefaultValues: (keyof IconConfig)[];
|
|
984
1079
|
icon?: ValidTextValue;
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
constructor(data?: Partial<
|
|
1080
|
+
text?: ValidTextValue;
|
|
1081
|
+
class?: ValidTextValue;
|
|
1082
|
+
pack?: ValidTextValue;
|
|
1083
|
+
type?: IconType;
|
|
1084
|
+
constructor(data?: Partial<IconConfig>);
|
|
990
1085
|
}
|
|
991
1086
|
|
|
992
|
-
declare class
|
|
993
|
-
static
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
text
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
referrerWidth: boolean;
|
|
1002
|
-
referrerMargin: number | string;
|
|
1003
|
-
windowMargin: number | string;
|
|
1004
|
-
referrer: HTMLElement | undefined;
|
|
1005
|
-
locationY: TooltipLocationY;
|
|
1006
|
-
locationX: TooltipLocationX;
|
|
1007
|
-
constructor(data?: Partial<TooltipConfig>);
|
|
1087
|
+
declare class Image extends LktItem implements ImageConfig {
|
|
1088
|
+
static lktAllowUndefinedProps: string[];
|
|
1089
|
+
static lktDefaultValues: (keyof ImageConfig)[];
|
|
1090
|
+
src?: string;
|
|
1091
|
+
alt?: string;
|
|
1092
|
+
text?: string;
|
|
1093
|
+
class?: string;
|
|
1094
|
+
imageStyle?: string | LktObject;
|
|
1095
|
+
constructor(data?: Partial<ImageConfig>);
|
|
1008
1096
|
}
|
|
1009
1097
|
|
|
1010
1098
|
declare class ItemCrud extends LktItem implements ItemCrudConfig {
|
|
@@ -1062,7 +1150,7 @@ declare class Paginator extends LktItem implements PaginatorConfig {
|
|
|
1062
1150
|
resource?: string;
|
|
1063
1151
|
readOnly?: boolean;
|
|
1064
1152
|
loading?: boolean;
|
|
1065
|
-
|
|
1153
|
+
resourceData?: LktObject;
|
|
1066
1154
|
constructor(data?: Partial<PaginatorConfig>);
|
|
1067
1155
|
}
|
|
1068
1156
|
|
|
@@ -1092,6 +1180,7 @@ declare class Table extends LktItem implements TableConfig {
|
|
|
1092
1180
|
titleTag?: string;
|
|
1093
1181
|
titleIcon?: string;
|
|
1094
1182
|
headerClass?: string;
|
|
1183
|
+
editModeButton?: ButtonConfig;
|
|
1095
1184
|
saveButton?: ButtonConfig;
|
|
1096
1185
|
createButton?: ButtonConfig;
|
|
1097
1186
|
dropButton?: ButtonConfig;
|
|
@@ -1099,19 +1188,9 @@ declare class Table extends LktItem implements TableConfig {
|
|
|
1099
1188
|
wrapContentTag?: string;
|
|
1100
1189
|
wrapContentClass?: string;
|
|
1101
1190
|
itemsContainerClass?: string;
|
|
1102
|
-
createText?: string;
|
|
1103
|
-
createIcon?: string;
|
|
1104
|
-
createRoute?: string;
|
|
1105
|
-
dropText?: string;
|
|
1106
|
-
dropIcon?: string;
|
|
1107
1191
|
editText?: string;
|
|
1108
1192
|
editIcon?: string;
|
|
1109
1193
|
editLink?: string;
|
|
1110
|
-
editModeText?: string;
|
|
1111
|
-
switchEditionEnabled?: boolean;
|
|
1112
|
-
createDisabled?: boolean;
|
|
1113
|
-
dropConfirm?: string;
|
|
1114
|
-
dropResource?: string;
|
|
1115
1194
|
addNavigation?: boolean;
|
|
1116
1195
|
createEnabledValidator?: Function;
|
|
1117
1196
|
newValueGenerator?: Function;
|
|
@@ -1121,6 +1200,50 @@ declare class Table extends LktItem implements TableConfig {
|
|
|
1121
1200
|
constructor(data?: Partial<TableConfig>);
|
|
1122
1201
|
}
|
|
1123
1202
|
|
|
1203
|
+
declare class Tag extends LktItem implements TagConfig {
|
|
1204
|
+
static lktAllowUndefinedProps: string[];
|
|
1205
|
+
static lktDefaultValues: (keyof TagConfig)[];
|
|
1206
|
+
class?: string;
|
|
1207
|
+
text?: string;
|
|
1208
|
+
featuredText?: string;
|
|
1209
|
+
icon?: string;
|
|
1210
|
+
iconAtEnd?: boolean;
|
|
1211
|
+
featuredAtStart?: boolean;
|
|
1212
|
+
type?: TagType;
|
|
1213
|
+
constructor(data?: Partial<TagConfig>);
|
|
1214
|
+
}
|
|
1215
|
+
|
|
1216
|
+
declare class Toast extends LktItem implements ToastConfig {
|
|
1217
|
+
static lktDefaultValues: (keyof ToastConfig)[];
|
|
1218
|
+
type?: ToastType;
|
|
1219
|
+
text?: ValidTextValue;
|
|
1220
|
+
details?: ValidTextValue;
|
|
1221
|
+
icon?: ValidTextValue;
|
|
1222
|
+
positionX?: ToastPositionX;
|
|
1223
|
+
duration?: number | undefined;
|
|
1224
|
+
buttonConfig?: ButtonConfig | undefined;
|
|
1225
|
+
zIndex?: number;
|
|
1226
|
+
constructor(data?: Partial<ToastConfig>);
|
|
1227
|
+
}
|
|
1228
|
+
|
|
1229
|
+
declare class Tooltip extends LktItem implements TooltipConfig {
|
|
1230
|
+
static lktDefaultValues: (keyof TooltipConfig)[];
|
|
1231
|
+
modelValue: boolean;
|
|
1232
|
+
alwaysOpen: boolean;
|
|
1233
|
+
class: string;
|
|
1234
|
+
text: string;
|
|
1235
|
+
icon: string;
|
|
1236
|
+
iconAtEnd: boolean;
|
|
1237
|
+
engine: TooltipPositionEngine;
|
|
1238
|
+
referrerWidth: boolean;
|
|
1239
|
+
referrerMargin: number | string;
|
|
1240
|
+
windowMargin: number | string;
|
|
1241
|
+
referrer: HTMLElement | undefined;
|
|
1242
|
+
locationY: TooltipLocationY;
|
|
1243
|
+
locationX: TooltipLocationX;
|
|
1244
|
+
constructor(data?: Partial<TooltipConfig>);
|
|
1245
|
+
}
|
|
1246
|
+
|
|
1124
1247
|
declare enum SortDirection {
|
|
1125
1248
|
Asc = "asc",
|
|
1126
1249
|
Desc = "desc"
|
|
@@ -1155,4 +1278,4 @@ declare function getDefaultValues<T>(cls: {
|
|
|
1155
1278
|
lktDefaultValues: (keyof T)[];
|
|
1156
1279
|
}): Partial<T>;
|
|
1157
1280
|
|
|
1158
|
-
export { Accordion, type AccordionConfig, AccordionToggleMode, AccordionType, Anchor, type AnchorConfig, AnchorType, type BeforeCloseModalData, Button, type ButtonConfig, ButtonType, Column, type ColumnConfig, ColumnType, type DragConfig, type EmptyModalKey, Field, FieldAutoValidationTrigger, type FieldConfig, FieldType, FieldValidation, type FieldValidationConfig, type IconConfig, type IsDisabledChecker, type IsDisabledCheckerArgs, ItemCrud, ItemCrudButtonNavPosition, ItemCrudButtonNavVisibility, type ItemCrudConfig, ItemCrudMode, ItemCrudView, LktItem, type LktObject, LktSettings, LktStrictItem, Modal, ModalCallbackAction, type ModalCallbackConfig, type ModalConfig, ModalType, MultipleOptionsDisplay, NotificationType, Option, type OptionConfig, Paginator, type PaginatorConfig, PaginatorType, type ProgressConfig, ProgressType, ProgressValueFormat, SafeString, type SaveConfig, SaveType, type ScanPropTarget, SortDirection, Table, type TableConfig, TablePermission, TableRowType, TableType, Toast, type ToastConfig, ToastPositionX, ToastType, ToggleMode, Tooltip, type TooltipConfig, TooltipLocationX, TooltipLocationY, TooltipPositionEngine, type ValidBeforeCloseModal, type ValidButtonDot, type ValidColSpan, type ValidCustomSlot, type ValidDragConfig, type ValidFieldMinMax, type ValidFieldValue, type ValidIsDisabledValue, type ValidModalKey, type ValidModalName, type ValidOptionValue, type ValidPaginatorConfig, type ValidSafeStringValue, type ValidScanPropTarget, type ValidTabIndex, type ValidTablePermission, type ValidTableRowTypeValue, type ValidTextValue, ValidationCode, ValidationStatus, booleanFieldTypes, createColumn, ensureButtonConfig, extractI18nValue, extractPropValue, fieldTypesWithOptions, fieldTypesWithoutClear, fieldTypesWithoutUndo, fieldsWithMultipleMode, getDefaultValues, lktDebug, textFieldTypes, textFieldTypesWithOptions };
|
|
1281
|
+
export { Accordion, type AccordionConfig, AccordionToggleMode, AccordionType, Anchor, type AnchorConfig, AnchorType, type BeforeCloseModalData, Button, type ButtonConfig, ButtonType, Column, type ColumnConfig, ColumnType, type DragConfig, type EmptyModalKey, Field, FieldAutoValidationTrigger, type FieldConfig, FieldType, FieldValidation, type FieldValidationConfig, Icon, type IconConfig, Image, type ImageConfig, type IsDisabledChecker, type IsDisabledCheckerArgs, ItemCrud, ItemCrudButtonNavPosition, ItemCrudButtonNavVisibility, type ItemCrudConfig, ItemCrudMode, ItemCrudView, LktItem, type LktObject, LktSettings, LktStrictItem, type MenuConfig, type MenuEntryConfig, Modal, ModalCallbackAction, type ModalCallbackConfig, type ModalConfig, ModalType, MultipleOptionsDisplay, NotificationType, Option, type OptionConfig, Paginator, type PaginatorConfig, PaginatorType, type ProgressConfig, ProgressType, ProgressValueFormat, SafeString, type SaveConfig, SaveType, type ScanPropTarget, SortDirection, Table, type TableConfig, TablePermission, TableRowType, TableType, type TabsConfig, Tag, type TagConfig, TagType, Toast, type ToastConfig, ToastPositionX, ToastType, ToggleMode, Tooltip, type TooltipConfig, TooltipLocationX, TooltipLocationY, TooltipPositionEngine, type ValidBeforeCloseModal, type ValidButtonDot, type ValidColSpan, type ValidCustomSlot, type ValidDragConfig, type ValidFieldMinMax, type ValidFieldValue, type ValidIsDisabledValue, type ValidModalKey, type ValidModalName, type ValidOptionValue, type ValidPaginatorConfig, type ValidSafeStringValue, type ValidScanPropTarget, type ValidTabIndex, type ValidTablePermission, type ValidTableRowTypeValue, type ValidTextValue, ValidationCode, ValidationStatus, booleanFieldTypes, createColumn, ensureButtonConfig, extractI18nValue, extractPropValue, fieldTypesWithOptions, fieldTypesWithoutClear, fieldTypesWithoutUndo, fieldsWithMultipleMode, getDefaultValues, lktDebug, textFieldTypes, textFieldTypesWithOptions };
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var L=(f=>(f.Button="button",f.Submit="submit",f.Reset="reset",f.Anchor="anchor",f.Content="content",f.Switch="switch",f.HiddenSwitch="hidden-switch",f.Split="split",f.SplitLazy="split-lazy",f.SplitEver="split-ever",f.Tooltip="tooltip",f.TooltipLazy="tooltip-lazy",f.TooltipEver="tooltip-ever",f))(L||{});var u=(e,t)=>typeof e>"u"?t:{...t,...e};var g=class e{static debugEnabled=!1;static debugMode(t=!0){return e.debugEnabled=t,e}static defaultSaveButton={text:"Save"};static setDefaultSaveButton(t,o=!0){return o?e.defaultSaveButton=t:e.defaultSaveButton=u(t,e.defaultSaveButton),e}static defaultConfirmButton={text:"Confirm"};static setDefaultConfirmButton(t,o=!0){return o?e.defaultConfirmButton=t:e.defaultConfirmButton=u(t,e.defaultConfirmButton),e}static defaultCancelButton={text:"Cancel"};static setDefaultCancelButton(t,o=!0){return o?e.defaultCancelButton=t:e.defaultCancelButton=u(t,e.defaultCancelButton),e}static defaultCreateButton={text:"Create"};static setDefaultCreateButton(t,o=!0){return o?e.defaultCreateButton=t:e.defaultCreateButton=u(t,e.defaultCreateButton),e}static defaultUpdateButton={text:"Update"};static setDefaultUpdateButton(t,o=!0){return o?e.defaultUpdateButton=t:e.defaultUpdateButton=u(t,e.defaultUpdateButton),e}static defaultDropButton={text:"Drop"};static setDefaultDropButton(t,o=!0){return o?e.defaultDropButton=t:e.defaultDropButton=u(t,e.defaultDropButton),e}static defaultEditModeButton={text:"Edit mode",type:"switch"};static setDefaultEditModeButton(t,o=!0){return o?e.defaultEditModeButton=t:e.defaultEditModeButton=u(t,e.defaultEditModeButton),e}static defaultToggleButton={text:"Toggle",textOn:"Close",textOff:"Show more",type:"hidden-switch"};static setDefaultToggleButton(t,o=!0){return o?e.defaultToggleButton=t:e.defaultToggleButton=u(t,e.defaultToggleButton),e}};var T=(a=>(a.Text="text",a.Email="email",a.Tel="tel",a.Password="password",a.Search="search",a.Number="number",a.Color="color",a.Range="range",a.Textarea="textarea",a.Html="html",a.Date="date",a.File="file",a.Image="image",a.Select="select",a.Check="check",a.Switch="switch",a.Calc="calc",a.Card="card",a.Elements="elements",a))(T||{});var lt=["text","search","select"],st=["switch","check"],ft=["switch","check"],dt=["text","search"],ut=["switch","check"],mt=["select","color","card"],pt=["text","email","password"];var ct=["lktDateProps","lktStrictItem","lktExcludedProps"],i=class e{static lktAllowUndefinedProps=[];static lktExcludedProps=[];static lktDateProps=[];static lktStrictItem=!1;static lktDefaultValues=[];constructor(t){}feed(t={},o=this){if(typeof t=="object")for(let[n,r]of Object.entries(t))o.assignProp(n,r)}assignProp(t,o){if(!(ct.includes(t)||e.lktExcludedProps.includes(t))&&!(e.lktStrictItem&&!this.hasOwnProperty(t))){if(e.lktDateProps.includes(t)){this[t]=new Date(o);return}this[t]=o}}};var M=class extends i{lktStrictItem=!0};var V=class extends i{value=void 0;label="";data={};disabled=!1;group="";icon="";modal="";constructor(t={}){super(),this.feed(t)}};import{generateRandomString as gt}from"lkt-string-tools";var P=(n=>(n.List="list",n.Inline="inline",n.Count="count",n))(P||{});var v=(r=>(r.None="",r.Focus="focus",r.Blur="blur",r.Always="always",r))(v||{});var x=class extends i{modelValue="";type="text";valid=void 0;placeholder="";searchPlaceholder="";label="";labelIcon="";labelIconAtEnd=!1;name=gt(16);autocomplete=!1;disabled=!1;readonly=!1;readMode=!1;allowReadModeSwitch=!1;tabindex=void 0;mandatory=!1;showPassword=!1;canClear=!1;canUndo=!1;canI18n=!1;canStep=!0;canTag=!0;mandatoryMessage="";infoMessage="";errorMessage="";min=void 0;max=void 0;step=1;enableAutoNumberFix=!0;emptyValueSlot="";optionSlot=void 0;valueSlot=void 0;editSlot=void 0;slotData={};resource="";resourceData={};validationResource="";validationResourceData={};autoValidation=!1;autoValidationType="blur";validationStack="default";minNumbers=void 0;maxNumbers=void 0;minChars=void 0;maxChars=void 0;minUpperChars=void 0;maxUpperChars=void 0;minLowerChars=void 0;maxLowerChars=void 0;minSpecialChars=void 0;maxSpecialChars=void 0;checkEqualTo=void 0;featuredButton="";infoButtonEllipsis=!1;fileName="";customButtonText="";customButtonClass="";options=[];multiple=!1;multipleDisplay="list";multipleDisplayEdition="inline";searchable=!1;autoloadOptionsResource=!1;optionsDownload="";optionsModal="";optionsModalData={};optionsText="";optionsIcon="";optionsClass="";optionsLabelFormatter=void 0;optionsResource="";optionsResourceData={};icon="";download="";modal="";modalKey="";modalData={};data={};validation={};constructor(t={}){super(),this.feed(t)}};var E=(s=>(s.MinStringLength="min-str",s.MinNumber="min-num",s.MaxStringLength="max-str",s.MaxNumber="max-num",s.Email="email",s.Empty="empty",s.EqualTo="equal-to",s.MinNumbers="min-numbers",s.MaxNumbers="max-numbers",s.MinChars="min-chars",s.MaxChars="max-chars",s.MinUpperChars="min-upper-chars",s.MaxUpperChars="max-upper-chars",s.MinLowerChars="min-lower-chars",s.MaxLowerChars="max-lower-chars",s.MinSpecialChars="min-special-chars",s.MaxSpecialChars="max-special-chars",s))(E||{});var F=(n=>(n.Ok="ok",n.Ko="ko",n.Info="info",n))(F||{});var k=class e{code=void 0;status="info";min=0;max=0;equalToValue=void 0;constructor(t,o){this.code=t,this.status=o}setMin(t){return this.min=t,this}setMax(t){return this.max=t,this}setEqualToValue(t){return this.equalToValue=t,this}static createEmpty(t="ko"){return new e("empty",t)}static createEmail(t="ko"){return new e("email",t)}static createMinStr(t,o="ko"){return new e("min-str",o).setMin(t)}static createMaxStr(t,o="ko"){return new e("max-str",o).setMax(t)}static createMinNum(t,o="ko"){return new e("min-num",o).setMin(t)}static createMaxNum(t,o="ko"){return new e("max-num",o).setMax(t)}static createNumBetween(t,o,n="ko"){return new e("max-num",n).setMin(t).setMax(o)}static createMinNumbers(t,o="ko"){return new e("min-numbers",o).setMin(t)}static createMaxNumbers(t,o="ko"){return new e("max-numbers",o).setMax(t)}static createMinUpperChars(t,o="ko"){return new e("min-upper-chars",o).setMin(t)}static createMaxUpperChars(t,o="ko"){return new e("max-upper-chars",o).setMax(t)}static createMinLowerChars(t,o="ko"){return new e("min-lower-chars",o).setMin(t)}static createMaxLowerChars(t,o="ko"){return new e("max-lower-chars",o).setMax(t)}static createMinSpecialChars(t,o="ko"){return new e("min-special-chars",o).setMin(t)}static createMaxSpecialChars(t,o="ko"){return new e("max-special-chars",o).setMax(t)}static createMinChars(t,o="ko"){return new e("min-chars",o).setMin(t)}static createMaxChars(t,o="ko"){return new e("max-chars",o).setMax(t)}static createEqualTo(t,o="ko"){return new e("equal-to",o).setEqualToValue(t)}};var N=(r=>(r.None="",r.Field="field",r.Button="button",r.Anchor="anchor",r))(N||{});var C=class e{value;constructor(t){this.value=t}getValue(...t){return typeof this.value=="function"?this.value(...t):typeof this.value=="object"&&typeof this.value==typeof e?this.value.getValue(...t):typeof this.value=="string"?this.value:""}};var A=(m=>(m.Href="href",m.RouterLink="router-link",m.RouterLinkBack="router-link-back",m.Mail="mail",m.Tel="tel",m.Tab="tab",m.Download="download",m.Action="action",m.Legacy="",m))(A||{});var p=class extends i{static lktAllowUndefinedProps=["onClick"];static lktDefaultValues=["type","to","class","isActive","downloadFileName","disabled","onClick","confirmModal","confirmModalKey","confirmData","imposter","external"];type="router-link";to="";class="";isActive=!1;downloadFileName="";disabled=!1;onClick=void 0;confirmModal="";confirmModalKey="_";confirmData={};imposter=!1;external=!1;getHref(){let t="";return typeof this.to=="string"&&(t=this.to),"mail"===this.type?`mailto:${t}`:"tel"===this.type?`tel:${t}`:["href","mail","tel","tab","download"].includes(this.type)?t:typeof this.to=="string"&&this.to!==""?this.to:""}constructor(t={}){super(),this.feed(t)}};import{generateRandomString as xt}from"lkt-string-tools";var b=class extends i{lktAllowUndefinedProps=["clickRef","tabindex","anchor","showTooltipOnHover","hideTooltipOnLeave"];static lktDefaultValues=["type","name","class","containerClass","value","disabled","loading","wrapContent","splitIcon","resource","resourceData","modal","modalKey","modalData","confirmModal","confirmModalKey","confirmData","modalCallbacks","text","textOn","textOff","icon","iconOn","iconOff","iconEndOn","iconEndOff","dot","iconEnd","img","showTooltipOnHoverDelay","tooltip","checked","clickRef","openTooltip","tabindex","anchor","showTooltipOnHover","hideTooltipOnLeave","splitClass","prop","onClick"];type="button";name=xt(10);palette="";class="";containerClass="";value="";disabled=!1;loading=!1;wrapContent=!1;splitIcon="";resource="";resourceData={};modal="";modalKey="_";modalData={};confirmModal="";confirmModalKey="_";confirmData={};modalCallbacks=[];text="";textOn=void 0;textOff=void 0;iconOn=void 0;iconOff=void 0;iconEndOn=void 0;iconEndOff=void 0;icon="";dot=!1;iconEnd="";img="";showTooltipOnHoverDelay=0;checked=!1;clickRef=void 0;openTooltip=!1;tabindex=void 0;anchor=void 0;showTooltipOnHover=void 0;hideTooltipOnLeave=void 0;splitClass="";tooltip={};prop={};onClick=void 0;constructor(t={}){super(),this.feed(t),this.anchor=new p(t.anchor)}isDisabled(){return typeof this.disabled=="function"?this.disabled():this.disabled}};var h=class extends i{lktExcludedProps=["link","field","anchor","button"];lktAllowUndefinedProps=["formatter","checkEmpty","colspan","field","anchor","button","link","action"];static lktDefaultValues=["type","key","label","sortable","hidden","editable","formatter","checkEmpty","colspan","preferSlot","isForRowKey","extractTitleFromColumn","slotData","field","anchor","button","link","action"];type="";key="";label="";sortable=!0;hidden=!1;editable=!1;formatter=void 0;checkEmpty=void 0;colspan=void 0;preferSlot=!0;isForRowKey=!1;extractTitleFromColumn="";slotData={};field=void 0;anchor=void 0;button=void 0;link=void 0;action=void 0;constructor(t={}){switch(super(),this.feed(t),this.type){case"field":this.field=new x(t.field);break;case"anchor":this.anchor=new p(t.anchor);break;case"button":this.button=new b(t.button);break}this.link=new C(t.link)}getHref(t){return typeof this.link!="object"?"":this.link.getValue(t)}doAction(t){if(typeof this.action=="function")return this.action(t);console.warn("No action defined")}};var j=(r=>(r.Auto="auto",r.Always="always",r.Lazy="lazy",r.Ever="ever",r))(j||{});var K=(n=>(n.Transform="transform",n.Height="height",n.Display="display",n))(K||{});var B=class extends i{static lktAllowUndefinedProps=["onClick"];static lktDefaultValues=["modelValue","type","toggleMode","actionButton","toggleButton","toggleOnClickIntro","toggleTimeout","title","icon","class","contentClass","iconRotation","minHeight","iconAtEnd","toggleIconAtEnd"];modelValue=!1;type="auto";toggleMode="height";actionButton={};toggleButton={};toggleOnClickIntro=!1;toggleTimeout=0;title="";icon="";class="";contentClass="";iconRotation="90";minHeight=void 0;iconAtEnd=!1;toggleIconAtEnd=!1;constructor(t={}){super(),this.feed(t)}};var R=(o=>(o.Message="message",o.Button="button",o))(R||{});var U=(n=>(n.Left="left",n.Center="center",n.Right="right",n))(U||{});var S=class extends i{static lktDefaultValues=["type","text","icon","positionX","duration","buttonConfig","zIndex"];type="message";text="";icon="";positionX="right";duration=void 0;buttonConfig=void 0;zIndex=1e3;constructor(t={}){super(),this.feed(t)}};var H=(o=>(o.Fixed="fixed",o.Absolute="absolute",o))(H||{});var z=(r=>(r.Top="top",r.Bottom="bottom",r.Center="center",r.ReferrerCenter="referrer-center",r))(z||{});var W=(l=>(l.Left="left",l.Right="right",l.Center="center",l.LeftCorner="left-corner",l.RightCorner="right-corner",l))(W||{});var w=class extends i{static lktDefaultValues=["modelValue","alwaysOpen","class","text","icon","iconAtEnd","engine","referrerWidth","referrerMargin","windowMargin","referrer","locationY","locationX"];modelValue=!1;alwaysOpen=!1;class="";text="";icon="";iconAtEnd=!1;engine="fixed";referrerWidth=!1;referrerMargin=0;windowMargin=0;referrer=void 0;locationY="bottom";locationX="left-corner";constructor(t={}){super(),this.feed(t)}};var q=(n=>(n.Create="create",n.Update="update",n.Read="read",n))(q||{});var $=(o=>(o.Inline="inline",o.Modal="modal",o))($||{});var G=(o=>(o.Top="top",o.Bottom="bottom",o))(G||{});var X=(n=>(n.Changed="changed",n.Always="always",n.Never="never",n))(X||{});var Y=(n=>(n.Manual="manual",n.Auto="auto",n.Delay="delay",n))(Y||{});var J=(o=>(o.Toast="toast",o.Inline="inline",o))(J||{});var y=class extends i{static lktDefaultValues=["modelValue","editing","mode","view","editModeButton","dropButton","createButton","updateButton","modalConfig","saveConfig","title","readResource","readData","beforeEmitUpdate","dataStateConfig","buttonNavPosition","buttonNavVisibility","notificationType"];modelValue={};editing=!1;mode="read";view="inline";editModeButton={};dropButton={};createButton={};updateButton={};modalConfig={};saveConfig={type:"manual"};title="";readResource="";readData={};beforeEmitUpdate=void 0;dataStateConfig={};buttonNavPosition="top";buttonNavVisibility="always";notificationType="toast";constructor(t={}){super(),this.feed(t)}};var D=class extends i{static lktDefaultValues=["size","preTitle","preTitleIcon","title","closeIcon","closeConfirm","closeConfirmKey","showClose","disabledClose","disabledVeilClick","hiddenFooter","modalName","modalKey","zIndex","beforeClose","item"];size="";preTitle="";preTitleIcon="";title="";closeIcon="";closeConfirm="";closeConfirmKey="_";showClose=!0;disabledClose=!1;disabledVeilClick=!1;hiddenFooter=!1;modalName="";modalKey="_";zIndex=500;beforeClose=void 0;item={};confirmButton={};cancelButton={};constructor(t={}){super(),this.feed(t)}};var Q=(c=>(c.Pages="pages",c.PrevNext="prev-next",c.PagesPrevNext="pages-prev-next",c.PagesPrevNextFirstLast="pages-prev-next-first-last",c.LoadMore="load-more",c.Infinite="infinite",c))(Q||{});var O=class extends i{static lktAllowUndefinedProps=[];static lktDefaultValues=["type","modelValue","class","resource","readOnly","loading","filters"];type="pages-prev-next";modelValue=1;class="";resource="";readOnly=!1;loading=!1;filters={};constructor(t={}){super(),this.feed(t)}};var Z=(r=>(r.Table="table",r.Item="item",r.Ul="ul",r.Ol="ol",r))(Z||{});var _=(r=>(r[r.Auto=0]="Auto",r[r.PreferItem=1]="PreferItem",r[r.PreferCustomItem=2]="PreferCustomItem",r[r.PreferColumns=3]="PreferColumns",r))(_||{});var I=class extends i{static lktDefaultValues=["modelValue","type","columns","resource","noResultsText","filters","hideEmptyColumns","itemDisplayChecker","loading","page","perms","editMode","dataStateConfig","sortable","sorter","initialSorting","drag","paginator","header","title","titleTag","titleIcon","headerClass","saveButton","createButton","dropButton","wrapContentTag","wrapContentClass","itemsContainerClass","hiddenSave","createText","createIcon","createRoute","dropText","dropIcon","editText","editIcon","editLink","editModeText","switchEditionEnabled","createDisabled","dropConfirm","dropResource","addNavigation","createEnabledValidator","newValueGenerator","requiredItemsForTopCreate","requiredItemsForBottomCreate","slotItemVar"];modelValue=[];type="table";columns=[];resource="";noResultsText="";filters=[];hideEmptyColumns=!1;itemDisplayChecker=void 0;rowDisplayType=0;loading=!1;page=1;perms=[];editMode=!1;dataStateConfig={};sortable=!1;sorter=void 0;initialSorting=!1;drag=void 0;paginator=void 0;header;title="";titleTag="h2";titleIcon="";headerClass="";saveButton={};createButton={};dropButton={};hiddenSave=!1;wrapContentTag="div";wrapContentClass="";itemsContainerClass="";createText="";createIcon="";createRoute="";dropText="";dropIcon="";editText="";editIcon="";editLink="";editModeText="";switchEditionEnabled=!1;createDisabled=!1;dropConfirm="";dropResource="";addNavigation=!1;createEnabledValidator=void 0;newValueGenerator=void 0;requiredItemsForTopCreate=0;requiredItemsForBottomCreate=0;slotItemVar="item";constructor(t={}){super(),this.feed(t)}};var tt=(l=>(l.Refresh="refresh",l.Close="close",l.ReOpen="reOpen",l.Exec="exec",l.Open="open",l))(tt||{});var et=(o=>(o.Modal="modal",o.Confirm="confirm",o))(et||{});var ot=(n=>(n.None="",n.Incremental="incremental",n.Decremental="decremental",n))(ot||{});var nt=(l=>(l.NotDefined="",l.Hidden="hidden",l.Integer="integer",l.Decimal="decimal",l.Auto="auto",l))(nt||{});var rt=(o=>(o.Asc="asc",o.Desc="desc",o))(rt||{});var it=(d=>(d.Create="create",d.Update="update",d.Edit="edit",d.Drop="drop",d.Sort="sort",d.SwitchEditMode="switch-edit-mode",d.InlineEdit="inline-edit",d.InlineCreate="inline-create",d.ModalCreate="modal-create",d.InlineCreateEver="inline-create-ever",d))(it||{});var at=(o=>(o.Lazy="lazy",o.Ever="ever",o))(at||{});import{__ as Ct}from"lkt-i18n";var bt=(e,t)=>typeof e=="string"&&e.startsWith("prop:")?t[e.substring(5)]:e,ht=e=>{let t=String(e);return t.startsWith("__:")?Ct(t.substring(3)):t};var Mt=(e,...t)=>{g.debugEnabled&&console.info("::lkt::",`[${e}] `,...t)};var Vt=e=>new h(e);function qe(e){let t=new e,o={};if(!Array.isArray(e.lktDefaultValues))throw new Error("lktDefaultValues must be a keys array.");for(let n of e.lktDefaultValues)n in t&&(o[n]=t[n]);return o}export{B as Accordion,K as AccordionToggleMode,j as AccordionType,p as Anchor,A as AnchorType,b as Button,L as ButtonType,h as Column,N as ColumnType,x as Field,v as FieldAutoValidationTrigger,T as FieldType,k as FieldValidation,y as ItemCrud,G as ItemCrudButtonNavPosition,X as ItemCrudButtonNavVisibility,q as ItemCrudMode,$ as ItemCrudView,i as LktItem,g as LktSettings,M as LktStrictItem,D as Modal,tt as ModalCallbackAction,et as ModalType,P as MultipleOptionsDisplay,J as NotificationType,V as Option,O as Paginator,Q as PaginatorType,ot as ProgressType,nt as ProgressValueFormat,C as SafeString,Y as SaveType,rt as SortDirection,I as Table,it as TablePermission,_ as TableRowType,Z as TableType,S as Toast,U as ToastPositionX,R as ToastType,at as ToggleMode,w as Tooltip,W as TooltipLocationX,z as TooltipLocationY,H as TooltipPositionEngine,E as ValidationCode,F as ValidationStatus,ut as booleanFieldTypes,Vt as createColumn,u as ensureButtonConfig,ht as extractI18nValue,bt as extractPropValue,lt as fieldTypesWithOptions,st as fieldTypesWithoutClear,ft as fieldTypesWithoutUndo,mt as fieldsWithMultipleMode,qe as getDefaultValues,Mt as lktDebug,pt as textFieldTypes,dt as textFieldTypesWithOptions};
|
|
1
|
+
var P=(f=>(f.Button="button",f.Submit="submit",f.Reset="reset",f.Anchor="anchor",f.Content="content",f.Switch="switch",f.HiddenSwitch="hidden-switch",f.Split="split",f.SplitLazy="split-lazy",f.SplitEver="split-ever",f.Tooltip="tooltip",f.TooltipLazy="tooltip-lazy",f.TooltipEver="tooltip-ever",f))(P||{});var d=(e,t)=>typeof e>"u"?t:{...t,...e};var g=class e{static debugEnabled=!1;static debugMode(t=!0){return e.debugEnabled=t,e}static defaultCreateErrorText="Creation failed";static defaultCreateErrorDetails="An error occurred while creating the item. Please try again.";static defaultCreateErrorIcon="";static setDefaultCreateError(t){e.defaultCreateErrorText=t.text??e.defaultCreateErrorText,e.defaultCreateErrorDetails=t.details??e.defaultCreateErrorDetails,e.defaultCreateErrorIcon=t.icon??e.defaultCreateErrorIcon}static defaultUpdateErrorText="Update failed";static defaultUpdateErrorDetails="An error occurred while updating the item. Please try again.";static defaultUpdateErrorIcon="";static setDefaultUpdateError(t){e.defaultUpdateErrorText=t.text??e.defaultUpdateErrorText,e.defaultUpdateErrorDetails=t.details??e.defaultUpdateErrorDetails,e.defaultUpdateErrorIcon=t.icon??e.defaultUpdateErrorIcon}static defaultDropErrorText="Drop failed";static defaultDropErrorDetails="An error occurred while removing the item. Please try again.";static defaultDropErrorIcon="";static setDefaultDropError(t){e.defaultDropErrorText=t.text??e.defaultDropErrorText,e.defaultDropErrorDetails=t.details??e.defaultDropErrorDetails,e.defaultDropErrorIcon=t.icon??e.defaultDropErrorIcon}static defaultCreateSuccessText="Item created";static defaultCreateSuccessDetails="";static defaultCreateSuccessIcon="";static setDefaultCreateSuccess(t){e.defaultCreateSuccessText=t.text??e.defaultCreateSuccessText,e.defaultCreateSuccessDetails=t.details??e.defaultCreateSuccessDetails,e.defaultCreateSuccessIcon=t.icon??e.defaultCreateSuccessIcon}static defaultUpdateSuccessText="Item updated";static defaultUpdateSuccessDetails="";static defaultUpdateSuccessIcon="";static setDefaultUpdateSuccess(t){e.defaultUpdateSuccessText=t.text??e.defaultUpdateSuccessText,e.defaultUpdateSuccessDetails=t.details??e.defaultUpdateSuccessDetails,e.defaultUpdateSuccessIcon=t.icon??e.defaultUpdateSuccessIcon}static defaultDropSuccessText="Item removed";static defaultDropSuccessDetails="";static defaultDropSuccessIcon="";static setDefaultDropSuccess(t){e.defaultDropSuccessText=t.text??e.defaultDropSuccessText,e.defaultDropSuccessDetails=t.details??e.defaultDropSuccessDetails,e.defaultDropSuccessIcon=t.icon??e.defaultDropSuccessIcon}static defaultSaveButton={text:"Save"};static setDefaultSaveButton(t,o=!0){return o?e.defaultSaveButton=t:e.defaultSaveButton=d(t,e.defaultSaveButton),e}static defaultConfirmButton={text:"Confirm"};static setDefaultConfirmButton(t,o=!0){return o?e.defaultConfirmButton=t:e.defaultConfirmButton=d(t,e.defaultConfirmButton),e}static defaultCancelButton={text:"Cancel"};static setDefaultCancelButton(t,o=!0){return o?e.defaultCancelButton=t:e.defaultCancelButton=d(t,e.defaultCancelButton),e}static defaultCreateButton={text:"Create"};static setDefaultCreateButton(t,o=!0){return o?e.defaultCreateButton=t:e.defaultCreateButton=d(t,e.defaultCreateButton),e}static defaultUpdateButton={text:"Update"};static setDefaultUpdateButton(t,o=!0){return o?e.defaultUpdateButton=t:e.defaultUpdateButton=d(t,e.defaultUpdateButton),e}static defaultDropButton={text:"Drop"};static setDefaultDropButton(t,o=!0){return o?e.defaultDropButton=t:e.defaultDropButton=d(t,e.defaultDropButton),e}static defaultEditModeButton={text:"Edit mode",type:"switch"};static setDefaultEditModeButton(t,o=!0){return o?e.defaultEditModeButton=t:e.defaultEditModeButton=d(t,e.defaultEditModeButton),e}static defaultToggleButton={text:"Toggle",textOn:"Close",textOff:"Show more",type:"hidden-switch"};static setDefaultToggleButton(t,o=!0){return o?e.defaultToggleButton=t:e.defaultToggleButton=d(t,e.defaultToggleButton),e}static defaultLoadMoreButton={text:"Load more",type:"hidden-switch"};static setDefaultLoadMoreButton(t,o=!0){return o?e.defaultLoadMoreButton=t:e.defaultLoadMoreButton=d(t,e.defaultLoadMoreButton),e}};var v=(i=>(i.Text="text",i.Email="email",i.Tel="tel",i.Password="password",i.Search="search",i.Number="number",i.Color="color",i.Range="range",i.Textarea="textarea",i.Html="html",i.Date="date",i.File="file",i.Image="image",i.Select="select",i.Check="check",i.Switch="switch",i.Calc="calc",i.Card="card",i.Elements="elements",i))(v||{});var ut=["text","search","select"],mt=["switch","check"],ct=["switch","check"],pt=["text","search"],gt=["switch","check"],xt=["select","color","card"],Ct=["text","email","password"];var bt=["lktDateProps","lktStrictItem","lktExcludedProps"],n=class e{static lktAllowUndefinedProps=[];static lktExcludedProps=[];static lktDateProps=[];static lktStrictItem=!1;static lktDefaultValues=[];constructor(t){}feed(t={},o=this){if(typeof t=="object")for(let[r,a]of Object.entries(t))o.assignProp(r,a)}assignProp(t,o){if(!(bt.includes(t)||e.lktExcludedProps.includes(t))&&!(e.lktStrictItem&&!this.hasOwnProperty(t))){if(e.lktDateProps.includes(t)){this[t]=new Date(o);return}this[t]=o}}};var V=class extends n{lktStrictItem=!0};var F=(a=>(a.Auto="auto",a.Always="always",a.Lazy="lazy",a.Ever="ever",a))(F||{});var N=(r=>(r.Transform="transform",r.Height="height",r.Display="display",r))(N||{});var M=class extends n{static lktAllowUndefinedProps=["onClick"];static lktDefaultValues=["modelValue","type","toggleMode","actionButton","toggleButton","toggleOnClickIntro","toggleTimeout","title","icon","class","contentClass","iconRotation","minHeight","iconAtEnd","toggleIconAtEnd"];modelValue=!1;type="auto";toggleMode="height";actionButton={};toggleButton={};toggleOnClickIntro=!1;toggleTimeout=0;title="";icon="";class="";contentClass="";iconRotation="90";minHeight=void 0;iconAtEnd=!1;toggleIconAtEnd=!1;constructor(t={}){super(),this.feed(t)}};var A=(m=>(m.Href="href",m.RouterLink="router-link",m.RouterLinkBack="router-link-back",m.Mail="mail",m.Tel="tel",m.Tab="tab",m.Download="download",m.Action="action",m.Legacy="",m))(A||{});var c=class extends n{static lktAllowUndefinedProps=["onClick"];static lktDefaultValues=["type","to","class","isActive","downloadFileName","disabled","onClick","confirmModal","confirmModalKey","confirmData","imposter","external"];type="router-link";to="";class="";isActive=!1;downloadFileName="";disabled=!1;onClick=void 0;confirmModal="";confirmModalKey="_";confirmData={};imposter=!1;external=!1;getHref(){let t="";return typeof this.to=="string"&&(t=this.to),"mail"===this.type?`mailto:${t}`:"tel"===this.type?`tel:${t}`:["href","mail","tel","tab","download"].includes(this.type)?t:typeof this.to=="string"&&this.to!==""?this.to:""}constructor(t={}){super(),this.feed(t)}};import{generateRandomString as ht}from"lkt-string-tools";var x=class extends n{lktAllowUndefinedProps=["clickRef","tabindex","anchor","showTooltipOnHover","hideTooltipOnLeave"];static lktDefaultValues=["type","name","class","containerClass","value","disabled","loading","wrapContent","splitIcon","resource","resourceData","modal","modalKey","modalData","confirmModal","confirmModalKey","confirmData","modalCallbacks","text","textOn","textOff","icon","iconOn","iconOff","iconEndOn","iconEndOff","dot","iconEnd","img","showTooltipOnHoverDelay","tooltip","checked","clickRef","openTooltip","tabindex","anchor","showTooltipOnHover","hideTooltipOnLeave","splitClass","prop","onClick"];type="button";name=ht(10);palette="";class="";containerClass="";value="";disabled=!1;loading=!1;wrapContent=!1;splitIcon="";resource="";resourceData={};modal="";modalKey="_";modalData={};confirmModal="";confirmModalKey="_";confirmData={};modalCallbacks=[];text="";textOn=void 0;textOff=void 0;iconOn=void 0;iconOff=void 0;iconEndOn=void 0;iconEndOff=void 0;icon="";dot=!1;iconEnd="";img="";showTooltipOnHoverDelay=0;checked=!1;clickRef=void 0;openTooltip=!1;tabindex=void 0;anchor=void 0;showTooltipOnHover=void 0;hideTooltipOnLeave=void 0;splitClass="";tooltip={};prop={};onClick=void 0;constructor(t={}){super(),this.feed(t),this.anchor=new c(t.anchor)}isDisabled(){return typeof this.disabled=="function"?this.disabled():this.disabled}};var U=(a=>(a.None="",a.Field="field",a.Button="button",a.Anchor="anchor",a))(U||{});import{generateRandomString as Vt}from"lkt-string-tools";var j=(r=>(r.List="list",r.Inline="inline",r.Count="count",r))(j||{});var K=(a=>(a.None="",a.Focus="focus",a.Blur="blur",a.Always="always",a))(K||{});var C=class extends n{modelValue="";type="text";valid=void 0;placeholder="";searchPlaceholder="";label="";labelIcon="";labelIconAtEnd=!1;name=Vt(16);autocomplete=!1;disabled=!1;readonly=!1;readMode=!1;allowReadModeSwitch=!1;tabindex=void 0;mandatory=!1;showPassword=!1;canClear=!1;canUndo=!1;canI18n=!1;canStep=!0;canTag=!0;mandatoryMessage="";infoMessage="";errorMessage="";min=void 0;max=void 0;step=1;enableAutoNumberFix=!0;emptyValueSlot="";optionSlot=void 0;valueSlot=void 0;editSlot=void 0;slotData={};resource="";resourceData={};validationResource="";validationResourceData={};autoValidation=!1;autoValidationType="blur";validationStack="default";minNumbers=void 0;maxNumbers=void 0;minChars=void 0;maxChars=void 0;minUpperChars=void 0;maxUpperChars=void 0;minLowerChars=void 0;maxLowerChars=void 0;minSpecialChars=void 0;maxSpecialChars=void 0;checkEqualTo=void 0;featuredButton="";infoButtonEllipsis=!1;fileName="";customButtonText="";customButtonClass="";options=[];multiple=!1;multipleDisplay="list";multipleDisplayEdition="inline";searchable=!1;autoloadOptionsResource=!1;optionsDownload="";optionsModal="";optionsModalData={};optionsText="";optionsIcon="";optionsClass="";optionsLabelFormatter=void 0;optionsResource="";optionsResourceData={};icon="";download="";modal="";modalKey="";modalData={};data={};validation={};constructor(t={}){super(),this.feed(t)}};var b=class e{value;constructor(t){this.value=t}getValue(...t){return typeof this.value=="function"?this.value(...t):typeof this.value=="object"&&typeof this.value==typeof e?this.value.getValue(...t):typeof this.value=="string"?this.value:""}};var h=class extends n{lktExcludedProps=["link","field","anchor","button"];lktAllowUndefinedProps=["formatter","checkEmpty","colspan","field","anchor","button","link","action"];static lktDefaultValues=["type","key","label","sortable","hidden","editable","formatter","checkEmpty","colspan","preferSlot","isForRowKey","extractTitleFromColumn","slotData","field","anchor","button","link","action"];type="";key="";label="";sortable=!0;hidden=!1;editable=!1;formatter=void 0;checkEmpty=void 0;colspan=void 0;preferSlot=!0;isForRowKey=!1;extractTitleFromColumn="";slotData={};field=void 0;anchor=void 0;button=void 0;link=void 0;action=void 0;constructor(t={}){switch(super(),this.feed(t),this.type){case"field":this.field=new C(t.field);break;case"anchor":this.anchor=new c(t.anchor);break;case"button":this.button=new x(t.button);break}this.link=new b(t.link)}getHref(t){return typeof this.link!="object"?"":this.link.getValue(t)}doAction(t){if(typeof this.action=="function")return this.action(t);console.warn("No action defined")}};var R=(s=>(s.MinStringLength="min-str",s.MinNumber="min-num",s.MaxStringLength="max-str",s.MaxNumber="max-num",s.Email="email",s.Empty="empty",s.EqualTo="equal-to",s.MinNumbers="min-numbers",s.MaxNumbers="max-numbers",s.MinChars="min-chars",s.MaxChars="max-chars",s.MinUpperChars="min-upper-chars",s.MaxUpperChars="max-upper-chars",s.MinLowerChars="min-lower-chars",s.MaxLowerChars="max-lower-chars",s.MinSpecialChars="min-special-chars",s.MaxSpecialChars="max-special-chars",s))(R||{});var H=(r=>(r.Ok="ok",r.Ko="ko",r.Info="info",r))(H||{});var k=class e{code=void 0;status="info";min=0;max=0;equalToValue=void 0;constructor(t,o){this.code=t,this.status=o}setMin(t){return this.min=t,this}setMax(t){return this.max=t,this}setEqualToValue(t){return this.equalToValue=t,this}static createEmpty(t="ko"){return new e("empty",t)}static createEmail(t="ko"){return new e("email",t)}static createMinStr(t,o="ko"){return new e("min-str",o).setMin(t)}static createMaxStr(t,o="ko"){return new e("max-str",o).setMax(t)}static createMinNum(t,o="ko"){return new e("min-num",o).setMin(t)}static createMaxNum(t,o="ko"){return new e("max-num",o).setMax(t)}static createNumBetween(t,o,r="ko"){return new e("max-num",r).setMin(t).setMax(o)}static createMinNumbers(t,o="ko"){return new e("min-numbers",o).setMin(t)}static createMaxNumbers(t,o="ko"){return new e("max-numbers",o).setMax(t)}static createMinUpperChars(t,o="ko"){return new e("min-upper-chars",o).setMin(t)}static createMaxUpperChars(t,o="ko"){return new e("max-upper-chars",o).setMax(t)}static createMinLowerChars(t,o="ko"){return new e("min-lower-chars",o).setMin(t)}static createMaxLowerChars(t,o="ko"){return new e("max-lower-chars",o).setMax(t)}static createMinSpecialChars(t,o="ko"){return new e("min-special-chars",o).setMin(t)}static createMaxSpecialChars(t,o="ko"){return new e("max-special-chars",o).setMax(t)}static createMinChars(t,o="ko"){return new e("min-chars",o).setMin(t)}static createMaxChars(t,o="ko"){return new e("max-chars",o).setMax(t)}static createEqualTo(t,o="ko"){return new e("equal-to",o).setEqualToValue(t)}};var S=class extends n{static lktAllowUndefinedProps=["onClick"];static lktDefaultValues=["icon","text","class","pack","type"];icon="";text="";class="";pack="";type="";constructor(t={}){super(),this.feed(t)}};var D=class extends n{static lktAllowUndefinedProps=["onClick"];static lktDefaultValues=["src","alt","text","class","imageStyle"];src="";alt="";text="";class="";imageStyle="";constructor(t={}){super(),this.feed(t)}};var z=(r=>(r.Create="create",r.Update="update",r.Read="read",r))(z||{});var W=(o=>(o.Inline="inline",o.Modal="modal",o))(W||{});var q=(o=>(o.Top="top",o.Bottom="bottom",o))(q||{});var $=(r=>(r.Changed="changed",r.Always="always",r.Never="never",r))($||{});var G=(r=>(r.Manual="manual",r.Auto="auto",r.Delay="delay",r))(G||{});var X=(o=>(o.Toast="toast",o.Inline="inline",o))(X||{});var B=class extends n{static lktDefaultValues=["modelValue","editing","mode","view","editModeButton","dropButton","createButton","updateButton","modalConfig","saveConfig","title","readResource","readData","beforeEmitUpdate","dataStateConfig","buttonNavPosition","buttonNavVisibility","notificationType"];modelValue={};editing=!1;mode="read";view="inline";editModeButton={};dropButton={};createButton={};updateButton={};modalConfig={};saveConfig={type:"manual"};title="";readResource="";readData={};beforeEmitUpdate=void 0;dataStateConfig={};buttonNavPosition="top";buttonNavVisibility="always";notificationType="toast";constructor(t={}){super(),this.feed(t)}};var y=class extends n{static lktDefaultValues=["size","preTitle","preTitleIcon","title","closeIcon","closeConfirm","closeConfirmKey","showClose","disabledClose","disabledVeilClick","hiddenFooter","modalName","modalKey","zIndex","beforeClose","item"];size="";preTitle="";preTitleIcon="";title="";closeIcon="";closeConfirm="";closeConfirmKey="_";showClose=!0;disabledClose=!1;disabledVeilClick=!1;hiddenFooter=!1;modalName="";modalKey="_";zIndex=500;beforeClose=void 0;item={};confirmButton={};cancelButton={};constructor(t={}){super(),this.feed(t)}};var I=class extends n{value=void 0;label="";data={};disabled=!1;group="";icon="";modal="";constructor(t={}){super(),this.feed(t)}};var Y=(p=>(p.Pages="pages",p.PrevNext="prev-next",p.PagesPrevNext="pages-prev-next",p.PagesPrevNextFirstLast="pages-prev-next-first-last",p.LoadMore="load-more",p.Infinite="infinite",p))(Y||{});var w=class extends n{static lktAllowUndefinedProps=[];static lktDefaultValues=["type","modelValue","class","resource","readOnly","loading","resourceData"];type="pages-prev-next";modelValue=1;class="";resource="";readOnly=!1;loading=!1;resourceData={};constructor(t={}){super(),this.feed(t)}};var J=(a=>(a.Table="table",a.Item="item",a.Ul="ul",a.Ol="ol",a))(J||{});var Q=(a=>(a[a.Auto=0]="Auto",a[a.PreferItem=1]="PreferItem",a[a.PreferCustomItem=2]="PreferCustomItem",a[a.PreferColumns=3]="PreferColumns",a))(Q||{});var T=class extends n{static lktDefaultValues=["modelValue","type","columns","noResultsText","hideEmptyColumns","itemDisplayChecker","loading","page","perms","editMode","dataStateConfig","sortable","sorter","initialSorting","drag","paginator","header","title","titleTag","titleIcon","headerClass","editModeButton","saveButton","createButton","dropButton","wrapContentTag","wrapContentClass","itemsContainerClass","hiddenSave","editText","editIcon","editLink","addNavigation","createEnabledValidator","newValueGenerator","requiredItemsForTopCreate","requiredItemsForBottomCreate","slotItemVar"];modelValue=[];type="table";columns=[];resource="";noResultsText="";filters=[];hideEmptyColumns=!1;itemDisplayChecker=void 0;rowDisplayType=0;loading=!1;page=1;perms=[];editMode=!1;dataStateConfig={};sortable=!1;sorter=void 0;initialSorting=!1;drag=void 0;paginator=void 0;header;title="";titleTag="h2";titleIcon="";headerClass="";editModeButton={};saveButton={};createButton={};dropButton={};hiddenSave=!1;wrapContentTag="div";wrapContentClass="";itemsContainerClass="";editText="";editIcon="";editLink="";addNavigation=!1;createEnabledValidator=void 0;newValueGenerator=void 0;requiredItemsForTopCreate=0;requiredItemsForBottomCreate=0;slotItemVar="item";constructor(t={}){super(),this.feed(t)}};var Z=(o=>(o.NotDefined="",o.ActionIcon="action-icon",o))(Z||{});var E=class extends n{static lktAllowUndefinedProps=["onClick"];static lktDefaultValues=["class","text","featuredText","icon","iconAtEnd","featuredAtStart","type"];class="";text="";featuredText="";icon="";iconAtEnd=!1;featuredAtStart=!1;type="";constructor(t={}){super(),this.feed(t)}};var _=(o=>(o.Message="message",o.Button="button",o))(_||{});var tt=(r=>(r.Left="left",r.Center="center",r.Right="right",r))(tt||{});var L=class extends n{static lktDefaultValues=["type","text","details","icon","positionX","duration","buttonConfig","zIndex"];type="message";text="";details="";icon="";positionX="right";duration=void 0;buttonConfig=void 0;zIndex=1e3;constructor(t={}){super(),this.feed(t)}};var et=(o=>(o.Fixed="fixed",o.Absolute="absolute",o))(et||{});var ot=(a=>(a.Top="top",a.Bottom="bottom",a.Center="center",a.ReferrerCenter="referrer-center",a))(ot||{});var rt=(l=>(l.Left="left",l.Right="right",l.Center="center",l.LeftCorner="left-corner",l.RightCorner="right-corner",l))(rt||{});var O=class extends n{static lktDefaultValues=["modelValue","alwaysOpen","class","text","icon","iconAtEnd","engine","referrerWidth","referrerMargin","windowMargin","referrer","locationY","locationX"];modelValue=!1;alwaysOpen=!1;class="";text="";icon="";iconAtEnd=!1;engine="fixed";referrerWidth=!1;referrerMargin=0;windowMargin=0;referrer=void 0;locationY="bottom";locationX="left-corner";constructor(t={}){super(),this.feed(t)}};var at=(l=>(l.Refresh="refresh",l.Close="close",l.ReOpen="reOpen",l.Exec="exec",l.Open="open",l))(at||{});var nt=(o=>(o.Modal="modal",o.Confirm="confirm",o))(nt||{});var it=(r=>(r.None="",r.Incremental="incremental",r.Decremental="decremental",r))(it||{});var lt=(l=>(l.NotDefined="",l.Hidden="hidden",l.Integer="integer",l.Decimal="decimal",l.Auto="auto",l))(lt||{});var st=(o=>(o.Asc="asc",o.Desc="desc",o))(st||{});var ft=(u=>(u.Create="create",u.Update="update",u.Edit="edit",u.Drop="drop",u.Sort="sort",u.SwitchEditMode="switch-edit-mode",u.InlineEdit="inline-edit",u.InlineCreate="inline-create",u.ModalCreate="modal-create",u.InlineCreateEver="inline-create-ever",u))(ft||{});var dt=(o=>(o.Lazy="lazy",o.Ever="ever",o))(dt||{});import{__ as Mt}from"lkt-i18n";var kt=(e,t)=>typeof e=="string"&&e.startsWith("prop:")?t[e.substring(5)]:e,St=e=>{let t=String(e);return t.startsWith("__:")?Mt(t.substring(3)):t};var Dt=(e,...t)=>{g.debugEnabled&&console.info("::lkt::",`[${e}] `,...t)};var Bt=e=>new h(e);function oo(e){let t=new e,o={};if(!Array.isArray(e.lktDefaultValues))throw new Error("lktDefaultValues must be a keys array.");for(let r of e.lktDefaultValues)r in t&&(o[r]=t[r]);return o}export{M as Accordion,N as AccordionToggleMode,F as AccordionType,c as Anchor,A as AnchorType,x as Button,P as ButtonType,h as Column,U as ColumnType,C as Field,K as FieldAutoValidationTrigger,v as FieldType,k as FieldValidation,S as Icon,D as Image,B as ItemCrud,q as ItemCrudButtonNavPosition,$ as ItemCrudButtonNavVisibility,z as ItemCrudMode,W as ItemCrudView,n as LktItem,g as LktSettings,V as LktStrictItem,y as Modal,at as ModalCallbackAction,nt as ModalType,j as MultipleOptionsDisplay,X as NotificationType,I as Option,w as Paginator,Y as PaginatorType,it as ProgressType,lt as ProgressValueFormat,b as SafeString,G as SaveType,st as SortDirection,T as Table,ft as TablePermission,Q as TableRowType,J as TableType,E as Tag,Z as TagType,L as Toast,tt as ToastPositionX,_ as ToastType,dt as ToggleMode,O as Tooltip,rt as TooltipLocationX,ot as TooltipLocationY,et as TooltipPositionEngine,R as ValidationCode,H as ValidationStatus,gt as booleanFieldTypes,Bt as createColumn,d as ensureButtonConfig,St as extractI18nValue,kt as extractPropValue,ut as fieldTypesWithOptions,mt as fieldTypesWithoutClear,ct as fieldTypesWithoutUndo,xt as fieldsWithMultipleMode,oo as getDefaultValues,Dt as lktDebug,Ct as textFieldTypes,pt as textFieldTypesWithOptions};
|