lkt-vue-kernel 1.0.6 → 1.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -163,10 +163,26 @@ interface FieldConfig {
163
163
  prop?: LktObject;
164
164
  }
165
165
 
166
+ declare enum ModalCallbackAction {
167
+ Refresh = "refresh",
168
+ Close = "close",
169
+ ReOpen = "reOpen",
170
+ Exec = "exec",
171
+ Open = "open"
172
+ }
173
+
166
174
  type EmptyModalKey = '_';
167
175
 
168
176
  type ValidModalKey = string | Function | EmptyModalKey;
169
177
 
178
+ interface ModalCallbackConfig {
179
+ modalName: ValidModalName;
180
+ modalKey?: ValidModalKey;
181
+ action: ModalCallbackAction;
182
+ method?: string;
183
+ args?: LktObject;
184
+ }
185
+
170
186
  type BeforeCloseModalData = {
171
187
  modalName: ValidModalKey;
172
188
  modalKey: ValidModalKey;
@@ -802,4 +818,4 @@ declare function getDefaultValues<T>(cls: {
802
818
  lktDefaultValues: (keyof T)[];
803
819
  }): Partial<T>;
804
820
 
805
- export { Anchor, type AnchorConfig, AnchorType, type BeforeCloseModalData, Button, type ButtonConfig, ButtonType, Column, type ColumnConfig, ColumnType, type DragConfig, type EmptyModalKey, Field, FieldAutoValidationTrigger, type FieldConfig, FieldType, LktItem, type LktObject, LktStrictItem, Modal, type ModalConfig, ModalType, MultipleOptionsDisplay, Option, type OptionConfig, SafeString, type ScanPropTarget, SortDirection, Table, type TableConfig, TablePermission, TableRowType, TableType, ToggleMode, Tooltip, type TooltipConfig, TooltipLocationX, TooltipLocationY, TooltipPositionEngine, type ValidBeforeCloseModal, type ValidColSpan, type ValidFieldMinMax, type ValidFieldValue, type ValidModalKey, type ValidModalName, type ValidOptionValue, type ValidSafeStringValue, type ValidScanPropTarget, type ValidTabIndex, type ValidTablePermission, type ValidTableRowTypeValue, extractPropValue, getDefaultValues };
821
+ export { Anchor, type AnchorConfig, AnchorType, type BeforeCloseModalData, Button, type ButtonConfig, ButtonType, Column, type ColumnConfig, ColumnType, type DragConfig, type EmptyModalKey, Field, FieldAutoValidationTrigger, type FieldConfig, FieldType, LktItem, type LktObject, LktStrictItem, Modal, ModalCallbackAction, type ModalCallbackConfig, type ModalConfig, ModalType, MultipleOptionsDisplay, Option, type OptionConfig, SafeString, type ScanPropTarget, SortDirection, Table, type TableConfig, TablePermission, TableRowType, TableType, ToggleMode, Tooltip, type TooltipConfig, TooltipLocationX, TooltipLocationY, TooltipPositionEngine, type ValidBeforeCloseModal, type ValidColSpan, type ValidFieldMinMax, type ValidFieldValue, type ValidModalKey, type ValidModalName, type ValidOptionValue, type ValidSafeStringValue, type ValidScanPropTarget, type ValidTabIndex, type ValidTablePermission, type ValidTableRowTypeValue, extractPropValue, getDefaultValues };
package/dist/index.js CHANGED
@@ -753,6 +753,16 @@ var Table = class extends LktItem {
753
753
  }
754
754
  };
755
755
 
756
+ // src/enums/ModalCallbackAction.ts
757
+ var ModalCallbackAction = /* @__PURE__ */ ((ModalCallbackAction2) => {
758
+ ModalCallbackAction2["Refresh"] = "refresh";
759
+ ModalCallbackAction2["Close"] = "close";
760
+ ModalCallbackAction2["ReOpen"] = "reOpen";
761
+ ModalCallbackAction2["Exec"] = "exec";
762
+ ModalCallbackAction2["Open"] = "open";
763
+ return ModalCallbackAction2;
764
+ })(ModalCallbackAction || {});
765
+
756
766
  // src/enums/ModalType.ts
757
767
  var ModalType = /* @__PURE__ */ ((ModalType2) => {
758
768
  ModalType2["Modal"] = "modal";
@@ -823,6 +833,7 @@ export {
823
833
  LktItem,
824
834
  LktStrictItem,
825
835
  Modal,
836
+ ModalCallbackAction,
826
837
  ModalType,
827
838
  MultipleOptionsDisplay,
828
839
  Option,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lkt-vue-kernel",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "LKT Vue Kernel",
5
5
  "keywords": [
6
6
  "lkt",