lkt-vue-kernel 1.0.18 → 1.0.19
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 +5 -17
- package/dist/index.js +0 -12
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -473,19 +473,7 @@ declare enum ColumnType {
|
|
|
473
473
|
None = "",
|
|
474
474
|
Field = "field",
|
|
475
475
|
Button = "button",
|
|
476
|
-
Anchor = "anchor"
|
|
477
|
-
Text = "text",
|
|
478
|
-
Number = "number",
|
|
479
|
-
Check = "check",
|
|
480
|
-
Switch = "switch",
|
|
481
|
-
Select = "select",
|
|
482
|
-
Email = "email",
|
|
483
|
-
Tel = "tel",
|
|
484
|
-
File = "file",
|
|
485
|
-
Link = "link",
|
|
486
|
-
Action = "action",
|
|
487
|
-
Integer = "int",
|
|
488
|
-
Float = "float"
|
|
476
|
+
Anchor = "anchor"
|
|
489
477
|
}
|
|
490
478
|
|
|
491
479
|
type ValidColSpan = Function | boolean | number | undefined;
|
|
@@ -624,10 +612,10 @@ declare class Button extends LktItem implements ButtonConfig {
|
|
|
624
612
|
interface ColumnConfig {
|
|
625
613
|
type: ColumnType;
|
|
626
614
|
key: string;
|
|
627
|
-
label
|
|
628
|
-
sortable
|
|
629
|
-
hidden
|
|
630
|
-
editable
|
|
615
|
+
label?: string;
|
|
616
|
+
sortable?: boolean;
|
|
617
|
+
hidden?: boolean;
|
|
618
|
+
editable?: boolean;
|
|
631
619
|
formatter?: Function | undefined;
|
|
632
620
|
checkEmpty?: Function | undefined;
|
|
633
621
|
colspan?: ValidColSpan;
|
package/dist/index.js
CHANGED
|
@@ -294,18 +294,6 @@ var ColumnType = /* @__PURE__ */ ((ColumnType2) => {
|
|
|
294
294
|
ColumnType2["Field"] = "field";
|
|
295
295
|
ColumnType2["Button"] = "button";
|
|
296
296
|
ColumnType2["Anchor"] = "anchor";
|
|
297
|
-
ColumnType2["Text"] = "text";
|
|
298
|
-
ColumnType2["Number"] = "number";
|
|
299
|
-
ColumnType2["Check"] = "check";
|
|
300
|
-
ColumnType2["Switch"] = "switch";
|
|
301
|
-
ColumnType2["Select"] = "select";
|
|
302
|
-
ColumnType2["Email"] = "email";
|
|
303
|
-
ColumnType2["Tel"] = "tel";
|
|
304
|
-
ColumnType2["File"] = "file";
|
|
305
|
-
ColumnType2["Link"] = "link";
|
|
306
|
-
ColumnType2["Action"] = "action";
|
|
307
|
-
ColumnType2["Integer"] = "int";
|
|
308
|
-
ColumnType2["Float"] = "float";
|
|
309
297
|
return ColumnType2;
|
|
310
298
|
})(ColumnType || {});
|
|
311
299
|
|