lkt-vue-kernel 1.0.8 → 1.0.9
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 +18 -14
- package/dist/index.js +2 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { VueElement } from 'vue';
|
|
1
|
+
import { VueElement, Component } from 'vue';
|
|
2
2
|
import { RouteLocationRaw } from 'vue-router';
|
|
3
3
|
|
|
4
4
|
interface LktObject {
|
|
@@ -345,12 +345,13 @@ declare enum PaginatorType {
|
|
|
345
345
|
}
|
|
346
346
|
|
|
347
347
|
interface PaginatorConfig {
|
|
348
|
-
type
|
|
349
|
-
modelValue
|
|
350
|
-
class
|
|
351
|
-
resource
|
|
352
|
-
readOnly
|
|
353
|
-
|
|
348
|
+
type?: PaginatorType;
|
|
349
|
+
modelValue?: number;
|
|
350
|
+
class?: string;
|
|
351
|
+
resource?: string;
|
|
352
|
+
readOnly?: boolean;
|
|
353
|
+
loading?: boolean;
|
|
354
|
+
filters?: LktObject;
|
|
354
355
|
}
|
|
355
356
|
|
|
356
357
|
declare enum TooltipLocationY {
|
|
@@ -749,12 +750,13 @@ declare class Modal extends LktItem implements ModalConfig {
|
|
|
749
750
|
declare class Paginator extends LktItem implements PaginatorConfig {
|
|
750
751
|
static lktAllowUndefinedProps: string[];
|
|
751
752
|
static lktDefaultValues: (keyof PaginatorConfig)[];
|
|
752
|
-
type
|
|
753
|
-
modelValue
|
|
754
|
-
class
|
|
755
|
-
resource
|
|
756
|
-
readOnly
|
|
757
|
-
|
|
753
|
+
type?: PaginatorType;
|
|
754
|
+
modelValue?: number;
|
|
755
|
+
class?: string;
|
|
756
|
+
resource?: string;
|
|
757
|
+
readOnly?: boolean;
|
|
758
|
+
loading?: boolean;
|
|
759
|
+
filters?: LktObject;
|
|
758
760
|
constructor(data?: Partial<PaginatorConfig>);
|
|
759
761
|
}
|
|
760
762
|
|
|
@@ -834,6 +836,8 @@ declare enum SortDirection {
|
|
|
834
836
|
|
|
835
837
|
type ScanPropTarget = string | number | undefined | Function;
|
|
836
838
|
|
|
839
|
+
type ValidCustomSlot = string | Component | undefined;
|
|
840
|
+
|
|
837
841
|
type ValidScanPropTarget = ScanPropTarget | ((...args: any[]) => ScanPropTarget);
|
|
838
842
|
|
|
839
843
|
declare const extractPropValue: (needle: ValidScanPropTarget, haystack: LktObject) => ValidScanPropTarget;
|
|
@@ -847,4 +851,4 @@ declare function getDefaultValues<T>(cls: {
|
|
|
847
851
|
lktDefaultValues: (keyof T)[];
|
|
848
852
|
}): Partial<T>;
|
|
849
853
|
|
|
850
|
-
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, Paginator, type PaginatorConfig, PaginatorType, 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 };
|
|
854
|
+
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, Paginator, type PaginatorConfig, PaginatorType, SafeString, type ScanPropTarget, SortDirection, Table, type TableConfig, TablePermission, TableRowType, TableType, ToggleMode, Tooltip, type TooltipConfig, TooltipLocationX, TooltipLocationY, TooltipPositionEngine, type ValidBeforeCloseModal, type ValidColSpan, type ValidCustomSlot, 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
|
@@ -610,6 +610,7 @@ var Paginator = class extends LktItem {
|
|
|
610
610
|
"class",
|
|
611
611
|
"resource",
|
|
612
612
|
"readOnly",
|
|
613
|
+
"loading",
|
|
613
614
|
"filters"
|
|
614
615
|
];
|
|
615
616
|
type = "pages-prev-next" /* PagesPrevNext */;
|
|
@@ -617,6 +618,7 @@ var Paginator = class extends LktItem {
|
|
|
617
618
|
class = "";
|
|
618
619
|
resource = "";
|
|
619
620
|
readOnly = false;
|
|
621
|
+
loading = false;
|
|
620
622
|
filters = {};
|
|
621
623
|
constructor(data = {}) {
|
|
622
624
|
super();
|