lkt-vue-kernel 1.0.22 → 1.0.24

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 CHANGED
@@ -186,6 +186,8 @@ interface TooltipConfig {
186
186
 
187
187
  type ValidButtonDot = boolean | string | number;
188
188
 
189
+ type ValidTextValue = string | number;
190
+
189
191
  interface ButtonConfig {
190
192
  type?: ButtonType;
191
193
  name?: string;
@@ -196,7 +198,7 @@ interface ButtonConfig {
196
198
  class?: string;
197
199
  containerClass?: string;
198
200
  wrapContent?: boolean;
199
- text?: string | number;
201
+ text?: ValidTextValue;
200
202
  icon?: string;
201
203
  iconEnd?: string;
202
204
  img?: string;
@@ -309,6 +311,7 @@ interface AccordionConfig {
309
311
  iconRotation?: '90' | '180' | '-90' | '-180';
310
312
  minHeight?: number | undefined;
311
313
  iconAtEnd?: boolean;
314
+ toggleIconAtEnd?: boolean;
312
315
  }
313
316
 
314
317
  declare enum ColumnType {
@@ -581,7 +584,7 @@ declare class Button extends LktItem implements ButtonConfig {
581
584
  confirmModalKey: ValidModalKey;
582
585
  confirmData: Partial<ModalConfig>;
583
586
  modalCallbacks?: Array<ModalCallbackConfig>;
584
- text: string | number;
587
+ text: ValidTextValue;
585
588
  textOn: string | number | undefined;
586
589
  textOff: string | number | undefined;
587
590
  iconOn: string | number | undefined;
@@ -834,6 +837,25 @@ interface TableConfig {
834
837
  slotItemVar?: string;
835
838
  }
836
839
 
840
+ declare enum ToastType {
841
+ Message = "message",
842
+ Button = "button"
843
+ }
844
+
845
+ declare enum ToastPositionX {
846
+ Left = "left",
847
+ Center = "center",
848
+ Right = "right"
849
+ }
850
+
851
+ interface ToastConfig {
852
+ type?: ToastType;
853
+ text?: ValidTextValue;
854
+ positionX?: ToastPositionX;
855
+ duration?: number;
856
+ buttonConfig?: ButtonConfig;
857
+ }
858
+
837
859
  declare class LktStrictItem extends LktItem {
838
860
  lktStrictItem: boolean;
839
861
  }
@@ -911,6 +933,7 @@ declare class Accordion extends LktItem implements AccordionConfig {
911
933
  iconRotation?: '90' | '180' | '-90' | '-180';
912
934
  minHeight?: number | undefined;
913
935
  iconAtEnd?: boolean;
936
+ toggleIconAtEnd?: boolean;
914
937
  constructor(data?: Partial<AnchorConfig>);
915
938
  }
916
939
 
@@ -1079,4 +1102,4 @@ declare function getDefaultValues<T>(cls: {
1079
1102
  lktDefaultValues: (keyof T)[];
1080
1103
  }): Partial<T>;
1081
1104
 
1082
- 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 IsDisabledChecker, type IsDisabledCheckerArgs, ItemCrud, ItemCrudButtonNavPosition, ItemCrudButtonNavVisibility, type ItemCrudConfig, ItemCrudMode, ItemCrudView, LktItem, type LktObject, LktSettings, LktStrictItem, Modal, ModalCallbackAction, type ModalCallbackConfig, type ModalConfig, ModalType, MultipleOptionsDisplay, Option, type OptionConfig, Paginator, type PaginatorConfig, PaginatorType, SafeString, type SaveConfig, SaveType, type ScanPropTarget, SortDirection, Table, type TableConfig, TablePermission, TableRowType, TableType, 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, ValidationCode, ValidationStatus, booleanFieldTypes, createColumn, ensureButtonConfig, extractI18nValue, extractPropValue, fieldTypesWithOptions, fieldTypesWithoutClear, fieldTypesWithoutUndo, fieldsWithMultipleMode, getDefaultValues, lktDebug, textFieldTypes, textFieldTypesWithOptions };
1105
+ 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 IsDisabledChecker, type IsDisabledCheckerArgs, ItemCrud, ItemCrudButtonNavPosition, ItemCrudButtonNavVisibility, type ItemCrudConfig, ItemCrudMode, ItemCrudView, LktItem, type LktObject, LktSettings, LktStrictItem, Modal, ModalCallbackAction, type ModalCallbackConfig, type ModalConfig, ModalType, MultipleOptionsDisplay, Option, type OptionConfig, Paginator, type PaginatorConfig, PaginatorType, SafeString, type SaveConfig, SaveType, type ScanPropTarget, SortDirection, Table, type TableConfig, TablePermission, TableRowType, TableType, 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 };