lkt-vue-kernel 1.0.18 → 1.0.20

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
@@ -280,11 +280,11 @@ interface OptionConfig {
280
280
  declare class Option extends LktItem implements OptionConfig {
281
281
  value: ValidOptionValue;
282
282
  label: string;
283
- data: LktObject;
284
- disabled: boolean;
285
- group: string;
286
- icon: string;
287
- modal: ValidModalName;
283
+ data?: LktObject;
284
+ disabled?: boolean;
285
+ group?: string;
286
+ icon?: string;
287
+ modal?: ValidModalName;
288
288
  constructor(data?: Partial<OptionConfig>);
289
289
  }
290
290
 
@@ -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: string;
628
- sortable: boolean;
629
- hidden: boolean;
630
- editable: boolean;
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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lkt-vue-kernel",
3
- "version": "1.0.18",
3
+ "version": "1.0.20",
4
4
  "description": "LKT Vue Kernel",
5
5
  "keywords": [
6
6
  "lkt",