lkt-vue-kernel 1.0.0 → 1.0.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/dist/index.d.ts +24 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -136,6 +136,29 @@ interface FieldConfig {
|
|
|
136
136
|
optionValueType?: string;
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
+
type EmptyModalKey = '_';
|
|
140
|
+
|
|
141
|
+
type ValidModalKey = string | EmptyModalKey;
|
|
142
|
+
|
|
143
|
+
interface ModalConfig {
|
|
144
|
+
size?: string;
|
|
145
|
+
preTitle?: string;
|
|
146
|
+
preTitleIcon?: string;
|
|
147
|
+
title?: string;
|
|
148
|
+
closeIcon?: string;
|
|
149
|
+
closeConfirm?: string;
|
|
150
|
+
closeConfirmKey?: string;
|
|
151
|
+
showClose?: boolean;
|
|
152
|
+
disabledClose?: boolean;
|
|
153
|
+
disabledVeilClick?: boolean;
|
|
154
|
+
hiddenFooter?: boolean;
|
|
155
|
+
modalName?: string;
|
|
156
|
+
modalKey?: ValidModalKey;
|
|
157
|
+
zIndex?: number;
|
|
158
|
+
beforeClose?: Function;
|
|
159
|
+
item?: LktObject;
|
|
160
|
+
}
|
|
161
|
+
|
|
139
162
|
declare enum TooltipLocationY {
|
|
140
163
|
Top = "top",
|
|
141
164
|
Bottom = "bottom",
|
|
@@ -185,4 +208,4 @@ declare const enum ButtonType {
|
|
|
185
208
|
HiddenSwitch = "hidden-switch"
|
|
186
209
|
}
|
|
187
210
|
|
|
188
|
-
export { ButtonType, type FieldConfig, FieldType, LktItem, type LktObject, LktStrictItem, Option, type OptionConfig, type TooltipConfig, TooltipLocationX, TooltipLocationY, TooltipPositionEngine, type ValidFieldValue, type ValidOptionValue };
|
|
211
|
+
export { ButtonType, type EmptyModalKey, type FieldConfig, FieldType, LktItem, type LktObject, LktStrictItem, type ModalConfig, Option, type OptionConfig, type TooltipConfig, TooltipLocationX, TooltipLocationY, TooltipPositionEngine, type ValidFieldValue, type ValidModalKey, type ValidOptionValue };
|