@vunk/plus 1.1.2 → 1.1.4

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.
@@ -1,7 +1,7 @@
1
- import { bindPropsFactory, onEmitsFactory } from '@vunk/core/shared/utils-vue';
2
- import { defineComponent, ref, onMounted, nextTick, watchEffect, openBlock, createElementBlock } from 'vue';
3
- import { editor } from 'monaco-editor';
4
1
  import { watchPausable } from '@vueuse/core';
2
+ import { editor } from 'monaco-editor';
3
+ import { defineComponent, ref, onMounted, nextTick, watchEffect, onBeforeUnmount, openBlock, createElementBlock } from 'vue';
4
+ import { bindPropsFactory, onEmitsFactory } from '@vunk/core/shared/utils-vue';
5
5
  import { _ as _export_sfc } from '../_plugin-vue_export-helper.mjs';
6
6
 
7
7
  const props = {
@@ -61,6 +61,14 @@ var _sfc_main = defineComponent({
61
61
  readOnly: props2.readOnly
62
62
  });
63
63
  });
64
+ const resizeObserver = new ResizeObserver(() => {
65
+ editor$1.layout();
66
+ });
67
+ resizeObserver.observe(editorNode.value);
68
+ onBeforeUnmount(() => {
69
+ resizeObserver.disconnect();
70
+ editor$1.dispose();
71
+ });
64
72
  });
65
73
  return {
66
74
  editorNode
@@ -1,4 +1,4 @@
1
- import { Ref } from 'vue';
1
+ import type { Ref } from 'vue';
2
2
  import { editor as mEditor } from 'monaco-editor';
3
3
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
4
  modelValue: {
@@ -0,0 +1,8 @@
1
+ .vk-tables-v1-checkbox.is-readonly .el-checkbox__input.is-disabled.is-checked .el-checkbox__inner{
2
+ background-color: var(--el-color-primary);
3
+
4
+ --el-checkbox-disabled-checked-icon-color: var(--el-color-white);
5
+ }
6
+ .vk-tables-v1-checkbox.is-readonly .n-radio.n-radio--disabled .n-radio__dot--checked::before{
7
+ background-color: var(--el-color-primary);
8
+ }
@@ -1,4 +1,5 @@
1
1
  import VkTablesV1Checkbox from './src/index.vue';
2
+ export * as _VkTablesV1CheckboxCtx from './src/ctx';
2
3
  export * as __VkTablesV1Checkbox from './src/types';
3
4
  export { VkTablesV1Checkbox, };
4
5
  export default VkTablesV1Checkbox;
@@ -3,6 +3,7 @@ import { _VkTabelsV1Ctx, VkTablesV1 } from '@vunk/plus/components/tables-v1';
3
3
  import { VkCheckRecordLogicProvider, VkCheckRecordLogic } from '@vunk/core';
4
4
  import { noop } from '@vunk/shared/function';
5
5
  import { ElCheckbox } from 'element-plus';
6
+ import { bindPropsFactory, onEmitsFactory } from '@vunk/core/shared/utils-vue';
6
7
  import { _ as _export_sfc } from '../_plugin-vue_export-helper.mjs';
7
8
 
8
9
  /* eslint-disable @typescript-eslint/restrict-template-expressions */
@@ -3966,10 +3967,20 @@ const props = {
3966
3967
  default: false
3967
3968
  }
3968
3969
  };
3970
+ const createBindProps = bindPropsFactory(props);
3969
3971
  const emits = {
3970
3972
  ..._VkTabelsV1Ctx.emits,
3971
3973
  "update:modelValue": (val) => Array.isArray(val)
3972
3974
  };
3975
+ const createOnEmits = onEmitsFactory(emits);
3976
+
3977
+ var ctx = /*#__PURE__*/Object.freeze({
3978
+ __proto__: null,
3979
+ createBindProps: createBindProps,
3980
+ createOnEmits: createOnEmits,
3981
+ emits: emits,
3982
+ props: props
3983
+ });
3973
3984
 
3974
3985
  const radioThemeOverrides = {
3975
3986
  dotColorActive: "var(--el-color-primary)",
@@ -4069,7 +4080,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
4069
4080
  uncheckedNodes
4070
4081
  } = getCurrentPageCheckInfo();
4071
4082
  return createVNode(ElCheckbox, {
4072
- "disabled": props2.disabled,
4083
+ "disabled": theDisabled.value,
4073
4084
  "indeterminate": checkedNodes.length > 0 && checkedNodes.length < props2.data.length,
4074
4085
  "modelValue": checkedNodes.length && checkedNodes.length === props2.data.length,
4075
4086
  "onUpdate:modelValue": checked => headerCheckboxChange(checked, uncheckedNodes)
@@ -4112,9 +4123,12 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
4112
4123
  _ctx.selectionHidden ? { hidden: true } : _ctx.checkboxCol,
4113
4124
  ..._ctx.columns
4114
4125
  ],
4126
+ class: ["vk-tables-v1-checkbox", {
4127
+ "is-readonly": _ctx.readonly
4128
+ }],
4115
4129
  disabled: _ctx.paginationDisabled,
4116
4130
  onRowClick: _ctx.handleRowClick
4117
- }, toHandlers(_ctx.coreEmits)), null, 16, ["columns", "disabled", "onRowClick"])
4131
+ }, toHandlers(_ctx.coreEmits)), null, 16, ["columns", "class", "disabled", "onRowClick"])
4118
4132
  ]),
4119
4133
  _: 1
4120
4134
  /* STABLE */
@@ -4130,4 +4144,4 @@ VkTablesV1Checkbox.install = (app) => {
4130
4144
  app.component(VkTablesV1Checkbox.name || "VkTablesV1Checkbox", VkTablesV1Checkbox);
4131
4145
  };
4132
4146
 
4133
- export { VkTablesV1Checkbox, types as __VkTablesV1Checkbox, VkTablesV1Checkbox as default };
4147
+ export { VkTablesV1Checkbox, ctx as _VkTablesV1CheckboxCtx, types as __VkTablesV1Checkbox, VkTablesV1Checkbox as default };
@@ -62,9 +62,7 @@ export declare const props: {
62
62
  border: {
63
63
  type: BooleanConstructor;
64
64
  default: boolean;
65
- }; /**
66
- * 是否只读
67
- */
65
+ };
68
66
  tableClass: {
69
67
  type: StringConstructor;
70
68
  default: string;
@@ -213,17 +211,14 @@ export declare const props: {
213
211
  default: string;
214
212
  };
215
213
  label: StringConstructor;
216
- className: StringConstructor; /**
217
- * 必须保证主键唯一且生效,选择逻辑才生效
218
- *
219
- */
214
+ className: StringConstructor;
220
215
  labelClassName: StringConstructor;
221
216
  property: StringConstructor;
222
217
  prop: StringConstructor;
223
218
  minWidth: {
224
219
  type: (StringConstructor | NumberConstructor)[];
225
220
  /**
226
- * 隐藏选择列
221
+ * 允许多个
227
222
  */
228
223
  default: string;
229
224
  };
@@ -266,6 +261,7 @@ export declare const props: {
266
261
  validator: (val: ("ascending" | "descending")[]) => boolean;
267
262
  };
268
263
  };
264
+ export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"load", keyof T2> | Extract<"fixed", keyof T2> | Extract<"small", keyof T2> | Extract<"data", keyof T2> | Extract<"filters", keyof T2> | Extract<"type", keyof T2> | Extract<"size", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"index", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"disabled", keyof T2> | Extract<"teleported", keyof T2> | Extract<"renderHeader", keyof T2> | Extract<"sortMethod", keyof T2> | Extract<"sortBy", keyof T2> | Extract<"formatter", keyof T2> | Extract<"selectable", keyof T2> | Extract<"filterMethod", keyof T2> | Extract<"filteredValue", keyof T2> | Extract<"sortOrders", keyof T2> | Extract<"label", keyof T2> | Extract<"className", keyof T2> | Extract<"labelClassName", keyof T2> | Extract<"property", keyof T2> | Extract<"prop", keyof T2> | Extract<"width", keyof T2> | Extract<"minWidth", keyof T2> | Extract<"sortable", keyof T2> | Extract<"resizable", keyof T2> | Extract<"columnKey", keyof T2> | Extract<"align", keyof T2> | Extract<"headerAlign", keyof T2> | Extract<"showOverflowTooltip", keyof T2> | Extract<"reserveSelection", keyof T2> | Extract<"filterPlacement", keyof T2> | Extract<"filterMultiple", keyof T2> | Extract<"showTooltipWhenOverflow", keyof T2> | Extract<"rowKey", keyof T2> | Extract<"summaryMethod", keyof T2> | Extract<"rowClassName", keyof T2> | Extract<"rowStyle", keyof T2> | Extract<"cellClassName", keyof T2> | Extract<"cellStyle", keyof T2> | Extract<"headerRowClassName", keyof T2> | Extract<"headerRowStyle", keyof T2> | Extract<"headerCellClassName", keyof T2> | Extract<"headerCellStyle", keyof T2> | Extract<"expandRowKeys", keyof T2> | Extract<"defaultSort", keyof T2> | Extract<"tooltipOptions", keyof T2> | Extract<"spanMethod", keyof T2> | Extract<"treeProps", keyof T2> | Extract<"height", keyof T2> | Extract<"maxHeight", keyof T2> | Extract<"fit", keyof T2> | Extract<"stripe", keyof T2> | Extract<"border", keyof T2> | Extract<"showHeader", keyof T2> | Extract<"showSummary", keyof T2> | Extract<"sumText", keyof T2> | Extract<"highlightCurrentRow", keyof T2> | Extract<"currentRowKey", keyof T2> | Extract<"emptyText", keyof T2> | Extract<"defaultExpandAll", keyof T2> | Extract<"tooltipEffect", keyof T2> | Extract<"selectOnIndeterminate", keyof T2> | Extract<"indent", keyof T2> | Extract<"lazy", keyof T2> | Extract<"tableLayout", keyof T2> | Extract<"scrollbarAlwaysOn", keyof T2> | Extract<"flexible", keyof T2> | Extract<"appendFilterPanelTo", keyof T2> | Extract<"scrollbarTabindex", keyof T2> | Extract<"pageSize", keyof T2> | Extract<"defaultPageSize", keyof T2> | Extract<"total", keyof T2> | Extract<"pageCount", keyof T2> | Extract<"pagerCount", keyof T2> | Extract<"currentPage", keyof T2> | Extract<"defaultCurrentPage", keyof T2> | Extract<"layout", keyof T2> | Extract<"pageSizes", keyof T2> | Extract<"prevText", keyof T2> | Extract<"prevIcon", keyof T2> | Extract<"nextText", keyof T2> | Extract<"nextIcon", keyof T2> | Extract<"background", keyof T2> | Extract<"hideOnSinglePage", keyof T2> | Extract<"columns", keyof T2> | Extract<"tableClass", keyof T2> | Extract<"tableStyle", keyof T2> | Extract<"start", keyof T2> | Extract<"modules", keyof T2> | Extract<"elRef", keyof T2> | Extract<"oidField", keyof T2> | Extract<"multiple", keyof T2> | Extract<"selectionHidden", keyof T2> | Extract<"checkTrigger", keyof T2> | Extract<"paginationDisabled", keyof T2> | Extract<"readonly", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"load", keyof T2>, KE> | Exclude<Extract<"fixed", keyof T2>, KE> | Exclude<Extract<"small", keyof T2>, KE> | Exclude<Extract<"data", keyof T2>, KE> | Exclude<Extract<"filters", keyof T2>, KE> | Exclude<Extract<"type", keyof T2>, KE> | Exclude<Extract<"size", keyof T2>, KE> | Exclude<Extract<"modelValue", keyof T2>, KE> | Exclude<Extract<"index", keyof T2>, KE> | Exclude<Extract<"popperClass", keyof T2>, KE> | Exclude<Extract<"disabled", keyof T2>, KE> | Exclude<Extract<"teleported", keyof T2>, KE> | Exclude<Extract<"renderHeader", keyof T2>, KE> | Exclude<Extract<"sortMethod", keyof T2>, KE> | Exclude<Extract<"sortBy", keyof T2>, KE> | Exclude<Extract<"formatter", keyof T2>, KE> | Exclude<Extract<"selectable", keyof T2>, KE> | Exclude<Extract<"filterMethod", keyof T2>, KE> | Exclude<Extract<"filteredValue", keyof T2>, KE> | Exclude<Extract<"sortOrders", keyof T2>, KE> | Exclude<Extract<"label", keyof T2>, KE> | Exclude<Extract<"className", keyof T2>, KE> | Exclude<Extract<"labelClassName", keyof T2>, KE> | Exclude<Extract<"property", keyof T2>, KE> | Exclude<Extract<"prop", keyof T2>, KE> | Exclude<Extract<"width", keyof T2>, KE> | Exclude<Extract<"minWidth", keyof T2>, KE> | Exclude<Extract<"sortable", keyof T2>, KE> | Exclude<Extract<"resizable", keyof T2>, KE> | Exclude<Extract<"columnKey", keyof T2>, KE> | Exclude<Extract<"align", keyof T2>, KE> | Exclude<Extract<"headerAlign", keyof T2>, KE> | Exclude<Extract<"showOverflowTooltip", keyof T2>, KE> | Exclude<Extract<"reserveSelection", keyof T2>, KE> | Exclude<Extract<"filterPlacement", keyof T2>, KE> | Exclude<Extract<"filterMultiple", keyof T2>, KE> | Exclude<Extract<"showTooltipWhenOverflow", keyof T2>, KE> | Exclude<Extract<"rowKey", keyof T2>, KE> | Exclude<Extract<"summaryMethod", keyof T2>, KE> | Exclude<Extract<"rowClassName", keyof T2>, KE> | Exclude<Extract<"rowStyle", keyof T2>, KE> | Exclude<Extract<"cellClassName", keyof T2>, KE> | Exclude<Extract<"cellStyle", keyof T2>, KE> | Exclude<Extract<"headerRowClassName", keyof T2>, KE> | Exclude<Extract<"headerRowStyle", keyof T2>, KE> | Exclude<Extract<"headerCellClassName", keyof T2>, KE> | Exclude<Extract<"headerCellStyle", keyof T2>, KE> | Exclude<Extract<"expandRowKeys", keyof T2>, KE> | Exclude<Extract<"defaultSort", keyof T2>, KE> | Exclude<Extract<"tooltipOptions", keyof T2>, KE> | Exclude<Extract<"spanMethod", keyof T2>, KE> | Exclude<Extract<"treeProps", keyof T2>, KE> | Exclude<Extract<"height", keyof T2>, KE> | Exclude<Extract<"maxHeight", keyof T2>, KE> | Exclude<Extract<"fit", keyof T2>, KE> | Exclude<Extract<"stripe", keyof T2>, KE> | Exclude<Extract<"border", keyof T2>, KE> | Exclude<Extract<"showHeader", keyof T2>, KE> | Exclude<Extract<"showSummary", keyof T2>, KE> | Exclude<Extract<"sumText", keyof T2>, KE> | Exclude<Extract<"highlightCurrentRow", keyof T2>, KE> | Exclude<Extract<"currentRowKey", keyof T2>, KE> | Exclude<Extract<"emptyText", keyof T2>, KE> | Exclude<Extract<"defaultExpandAll", keyof T2>, KE> | Exclude<Extract<"tooltipEffect", keyof T2>, KE> | Exclude<Extract<"selectOnIndeterminate", keyof T2>, KE> | Exclude<Extract<"indent", keyof T2>, KE> | Exclude<Extract<"lazy", keyof T2>, KE> | Exclude<Extract<"tableLayout", keyof T2>, KE> | Exclude<Extract<"scrollbarAlwaysOn", keyof T2>, KE> | Exclude<Extract<"flexible", keyof T2>, KE> | Exclude<Extract<"appendFilterPanelTo", keyof T2>, KE> | Exclude<Extract<"scrollbarTabindex", keyof T2>, KE> | Exclude<Extract<"pageSize", keyof T2>, KE> | Exclude<Extract<"defaultPageSize", keyof T2>, KE> | Exclude<Extract<"total", keyof T2>, KE> | Exclude<Extract<"pageCount", keyof T2>, KE> | Exclude<Extract<"pagerCount", keyof T2>, KE> | Exclude<Extract<"currentPage", keyof T2>, KE> | Exclude<Extract<"defaultCurrentPage", keyof T2>, KE> | Exclude<Extract<"layout", keyof T2>, KE> | Exclude<Extract<"pageSizes", keyof T2>, KE> | Exclude<Extract<"prevText", keyof T2>, KE> | Exclude<Extract<"prevIcon", keyof T2>, KE> | Exclude<Extract<"nextText", keyof T2>, KE> | Exclude<Extract<"nextIcon", keyof T2>, KE> | Exclude<Extract<"background", keyof T2>, KE> | Exclude<Extract<"hideOnSinglePage", keyof T2>, KE> | Exclude<Extract<"columns", keyof T2>, KE> | Exclude<Extract<"tableClass", keyof T2>, KE> | Exclude<Extract<"tableStyle", keyof T2>, KE> | Exclude<Extract<"start", keyof T2>, KE> | Exclude<Extract<"modules", keyof T2>, KE> | Exclude<Extract<"elRef", keyof T2>, KE> | Exclude<Extract<"oidField", keyof T2>, KE> | Exclude<Extract<"multiple", keyof T2>, KE> | Exclude<Extract<"selectionHidden", keyof T2>, KE> | Exclude<Extract<"checkTrigger", keyof T2>, KE> | Exclude<Extract<"paginationDisabled", keyof T2>, KE> | Exclude<Extract<"readonly", keyof T2>, KE> : Extract<"load", keyof T2> | Extract<"fixed", keyof T2> | Extract<"small", keyof T2> | Extract<"data", keyof T2> | Extract<"filters", keyof T2> | Extract<"type", keyof T2> | Extract<"size", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"index", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"disabled", keyof T2> | Extract<"teleported", keyof T2> | Extract<"renderHeader", keyof T2> | Extract<"sortMethod", keyof T2> | Extract<"sortBy", keyof T2> | Extract<"formatter", keyof T2> | Extract<"selectable", keyof T2> | Extract<"filterMethod", keyof T2> | Extract<"filteredValue", keyof T2> | Extract<"sortOrders", keyof T2> | Extract<"label", keyof T2> | Extract<"className", keyof T2> | Extract<"labelClassName", keyof T2> | Extract<"property", keyof T2> | Extract<"prop", keyof T2> | Extract<"width", keyof T2> | Extract<"minWidth", keyof T2> | Extract<"sortable", keyof T2> | Extract<"resizable", keyof T2> | Extract<"columnKey", keyof T2> | Extract<"align", keyof T2> | Extract<"headerAlign", keyof T2> | Extract<"showOverflowTooltip", keyof T2> | Extract<"reserveSelection", keyof T2> | Extract<"filterPlacement", keyof T2> | Extract<"filterMultiple", keyof T2> | Extract<"showTooltipWhenOverflow", keyof T2> | Extract<"rowKey", keyof T2> | Extract<"summaryMethod", keyof T2> | Extract<"rowClassName", keyof T2> | Extract<"rowStyle", keyof T2> | Extract<"cellClassName", keyof T2> | Extract<"cellStyle", keyof T2> | Extract<"headerRowClassName", keyof T2> | Extract<"headerRowStyle", keyof T2> | Extract<"headerCellClassName", keyof T2> | Extract<"headerCellStyle", keyof T2> | Extract<"expandRowKeys", keyof T2> | Extract<"defaultSort", keyof T2> | Extract<"tooltipOptions", keyof T2> | Extract<"spanMethod", keyof T2> | Extract<"treeProps", keyof T2> | Extract<"height", keyof T2> | Extract<"maxHeight", keyof T2> | Extract<"fit", keyof T2> | Extract<"stripe", keyof T2> | Extract<"border", keyof T2> | Extract<"showHeader", keyof T2> | Extract<"showSummary", keyof T2> | Extract<"sumText", keyof T2> | Extract<"highlightCurrentRow", keyof T2> | Extract<"currentRowKey", keyof T2> | Extract<"emptyText", keyof T2> | Extract<"defaultExpandAll", keyof T2> | Extract<"tooltipEffect", keyof T2> | Extract<"selectOnIndeterminate", keyof T2> | Extract<"indent", keyof T2> | Extract<"lazy", keyof T2> | Extract<"tableLayout", keyof T2> | Extract<"scrollbarAlwaysOn", keyof T2> | Extract<"flexible", keyof T2> | Extract<"appendFilterPanelTo", keyof T2> | Extract<"scrollbarTabindex", keyof T2> | Extract<"pageSize", keyof T2> | Extract<"defaultPageSize", keyof T2> | Extract<"total", keyof T2> | Extract<"pageCount", keyof T2> | Extract<"pagerCount", keyof T2> | Extract<"currentPage", keyof T2> | Extract<"defaultCurrentPage", keyof T2> | Extract<"layout", keyof T2> | Extract<"pageSizes", keyof T2> | Extract<"prevText", keyof T2> | Extract<"prevIcon", keyof T2> | Extract<"nextText", keyof T2> | Extract<"nextIcon", keyof T2> | Extract<"background", keyof T2> | Extract<"hideOnSinglePage", keyof T2> | Extract<"columns", keyof T2> | Extract<"tableClass", keyof T2> | Extract<"tableStyle", keyof T2> | Extract<"start", keyof T2> | Extract<"modules", keyof T2> | Extract<"elRef", keyof T2> | Extract<"oidField", keyof T2> | Extract<"multiple", keyof T2> | Extract<"selectionHidden", keyof T2> | Extract<"checkTrigger", keyof T2> | Extract<"paginationDisabled", keyof T2> | Extract<"readonly", keyof T2>]: { [k in Extract<"load", keyof T2> | Extract<"fixed", keyof T2> | Extract<"small", keyof T2> | Extract<"data", keyof T2> | Extract<"filters", keyof T2> | Extract<"type", keyof T2> | Extract<"size", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"index", keyof T2> | Extract<"popperClass", keyof T2> | Extract<"disabled", keyof T2> | Extract<"teleported", keyof T2> | Extract<"renderHeader", keyof T2> | Extract<"sortMethod", keyof T2> | Extract<"sortBy", keyof T2> | Extract<"formatter", keyof T2> | Extract<"selectable", keyof T2> | Extract<"filterMethod", keyof T2> | Extract<"filteredValue", keyof T2> | Extract<"sortOrders", keyof T2> | Extract<"label", keyof T2> | Extract<"className", keyof T2> | Extract<"labelClassName", keyof T2> | Extract<"property", keyof T2> | Extract<"prop", keyof T2> | Extract<"width", keyof T2> | Extract<"minWidth", keyof T2> | Extract<"sortable", keyof T2> | Extract<"resizable", keyof T2> | Extract<"columnKey", keyof T2> | Extract<"align", keyof T2> | Extract<"headerAlign", keyof T2> | Extract<"showOverflowTooltip", keyof T2> | Extract<"reserveSelection", keyof T2> | Extract<"filterPlacement", keyof T2> | Extract<"filterMultiple", keyof T2> | Extract<"showTooltipWhenOverflow", keyof T2> | Extract<"rowKey", keyof T2> | Extract<"summaryMethod", keyof T2> | Extract<"rowClassName", keyof T2> | Extract<"rowStyle", keyof T2> | Extract<"cellClassName", keyof T2> | Extract<"cellStyle", keyof T2> | Extract<"headerRowClassName", keyof T2> | Extract<"headerRowStyle", keyof T2> | Extract<"headerCellClassName", keyof T2> | Extract<"headerCellStyle", keyof T2> | Extract<"expandRowKeys", keyof T2> | Extract<"defaultSort", keyof T2> | Extract<"tooltipOptions", keyof T2> | Extract<"spanMethod", keyof T2> | Extract<"treeProps", keyof T2> | Extract<"height", keyof T2> | Extract<"maxHeight", keyof T2> | Extract<"fit", keyof T2> | Extract<"stripe", keyof T2> | Extract<"border", keyof T2> | Extract<"showHeader", keyof T2> | Extract<"showSummary", keyof T2> | Extract<"sumText", keyof T2> | Extract<"highlightCurrentRow", keyof T2> | Extract<"currentRowKey", keyof T2> | Extract<"emptyText", keyof T2> | Extract<"defaultExpandAll", keyof T2> | Extract<"tooltipEffect", keyof T2> | Extract<"selectOnIndeterminate", keyof T2> | Extract<"indent", keyof T2> | Extract<"lazy", keyof T2> | Extract<"tableLayout", keyof T2> | Extract<"scrollbarAlwaysOn", keyof T2> | Extract<"flexible", keyof T2> | Extract<"appendFilterPanelTo", keyof T2> | Extract<"scrollbarTabindex", keyof T2> | Extract<"pageSize", keyof T2> | Extract<"defaultPageSize", keyof T2> | Extract<"total", keyof T2> | Extract<"pageCount", keyof T2> | Extract<"pagerCount", keyof T2> | Extract<"currentPage", keyof T2> | Extract<"defaultCurrentPage", keyof T2> | Extract<"layout", keyof T2> | Extract<"pageSizes", keyof T2> | Extract<"prevText", keyof T2> | Extract<"prevIcon", keyof T2> | Extract<"nextText", keyof T2> | Extract<"nextIcon", keyof T2> | Extract<"background", keyof T2> | Extract<"hideOnSinglePage", keyof T2> | Extract<"columns", keyof T2> | Extract<"tableClass", keyof T2> | Extract<"tableStyle", keyof T2> | Extract<"start", keyof T2> | Extract<"modules", keyof T2> | Extract<"elRef", keyof T2> | Extract<"oidField", keyof T2> | Extract<"multiple", keyof T2> | Extract<"selectionHidden", keyof T2> | Extract<"checkTrigger", keyof T2> | Extract<"paginationDisabled", keyof T2> | Extract<"readonly", keyof T2>]: T2[k]; }[P]; }>;
269
265
  export declare const emits: {
270
266
  'update:modelValue': (val: any[]) => boolean;
271
267
  'update:start': (val: number) => boolean;
@@ -295,3 +291,32 @@ export declare const emits: {
295
291
  'prev-click': (val: number) => boolean;
296
292
  'next-click': (val: number) => boolean;
297
293
  };
294
+ export declare const createOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("update:modelValue" | "change" | "scroll" | "select" | "select-all" | "expand-change" | "current-change" | "selection-change" | "cell-mouse-enter" | "cell-mouse-leave" | "cell-contextmenu" | "cell-click" | "cell-dblclick" | "row-click" | "row-contextmenu" | "row-dblclick" | "header-click" | "header-contextmenu" | "sort-change" | "filter-change" | "header-dragend" | "update:start" | "update:current-page" | "update:page-size" | "size-change" | "prev-click" | "next-click")[]>(emit: T2, excludes?: EX) => { [P in EX extends (infer KE)[] ? Exclude<"update:modelValue", KE> | Exclude<"change", KE> | Exclude<"scroll", KE> | Exclude<"select", KE> | Exclude<"select-all", KE> | Exclude<"expand-change", KE> | Exclude<"current-change", KE> | Exclude<"selection-change", KE> | Exclude<"cell-mouse-enter", KE> | Exclude<"cell-mouse-leave", KE> | Exclude<"cell-contextmenu", KE> | Exclude<"cell-click", KE> | Exclude<"cell-dblclick", KE> | Exclude<"row-click", KE> | Exclude<"row-contextmenu", KE> | Exclude<"row-dblclick", KE> | Exclude<"header-click", KE> | Exclude<"header-contextmenu", KE> | Exclude<"sort-change", KE> | Exclude<"filter-change", KE> | Exclude<"header-dragend", KE> | Exclude<"update:start", KE> | Exclude<"update:current-page", KE> | Exclude<"update:page-size", KE> | Exclude<"size-change", KE> | Exclude<"prev-click", KE> | Exclude<"next-click", KE> : "update:modelValue" | "change" | "scroll" | "select" | "select-all" | "expand-change" | "current-change" | "selection-change" | "cell-mouse-enter" | "cell-mouse-leave" | "cell-contextmenu" | "cell-click" | "cell-dblclick" | "row-click" | "row-contextmenu" | "row-dblclick" | "header-click" | "header-contextmenu" | "sort-change" | "filter-change" | "header-dragend" | "update:start" | "update:current-page" | "update:page-size" | "size-change" | "prev-click" | "next-click"]: {
295
+ 'update:modelValue': (...e: import("@vunk/core").RestParameters<T2>) => void;
296
+ 'update:start': (...e: import("@vunk/core").RestParameters<T2>) => void;
297
+ select: (...e: import("@vunk/core").RestParameters<T2>) => void;
298
+ 'select-all': (...e: import("@vunk/core").RestParameters<T2>) => void;
299
+ 'selection-change': (...e: import("@vunk/core").RestParameters<T2>) => void;
300
+ 'cell-mouse-enter': (...e: import("@vunk/core").RestParameters<T2>) => void;
301
+ 'cell-mouse-leave': (...e: import("@vunk/core").RestParameters<T2>) => void;
302
+ 'cell-contextmenu': (...e: import("@vunk/core").RestParameters<T2>) => void;
303
+ 'cell-click': (...e: import("@vunk/core").RestParameters<T2>) => void;
304
+ 'cell-dblclick': (...e: import("@vunk/core").RestParameters<T2>) => void;
305
+ 'row-click': (...e: import("@vunk/core").RestParameters<T2>) => void;
306
+ 'row-contextmenu': (...e: import("@vunk/core").RestParameters<T2>) => void;
307
+ 'row-dblclick': (...e: import("@vunk/core").RestParameters<T2>) => void;
308
+ 'header-click': (...e: import("@vunk/core").RestParameters<T2>) => void;
309
+ 'header-contextmenu': (...e: import("@vunk/core").RestParameters<T2>) => void;
310
+ 'sort-change': (...e: import("@vunk/core").RestParameters<T2>) => void;
311
+ 'filter-change': (...e: import("@vunk/core").RestParameters<T2>) => void;
312
+ 'current-change': (...e: import("@vunk/core").RestParameters<T2>) => void;
313
+ 'header-dragend': (...e: import("@vunk/core").RestParameters<T2>) => void;
314
+ 'expand-change': (...e: import("@vunk/core").RestParameters<T2>) => void;
315
+ scroll: (...e: import("@vunk/core").RestParameters<T2>) => void;
316
+ 'update:current-page': (...e: import("@vunk/core").RestParameters<T2>) => void;
317
+ 'update:page-size': (...e: import("@vunk/core").RestParameters<T2>) => void;
318
+ 'size-change': (...e: import("@vunk/core").RestParameters<T2>) => void;
319
+ change: (...e: import("@vunk/core").RestParameters<T2>) => void;
320
+ 'prev-click': (...e: import("@vunk/core").RestParameters<T2>) => void;
321
+ 'next-click': (...e: import("@vunk/core").RestParameters<T2>) => void;
322
+ }[P]; };
package/index.css CHANGED
@@ -16,6 +16,15 @@
16
16
  justify-content: center;
17
17
  }
18
18
 
19
+ .vk-tables-v1-checkbox.is-readonly .el-checkbox__input.is-disabled.is-checked .el-checkbox__inner{
20
+ background-color: var(--el-color-primary);
21
+
22
+ --el-checkbox-disabled-checked-icon-color: var(--el-color-white);
23
+ }
24
+ .vk-tables-v1-checkbox.is-readonly .n-radio.n-radio--disabled .n-radio__dot--checked::before{
25
+ background-color: var(--el-color-primary);
26
+ }
27
+
19
28
  .vk-typing-markdown.is-typing .is-last::after{
20
29
  animation: blink 0.7s infinite;
21
30
  content: '|';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vunk/plus",
3
- "version": "1.1.2",
3
+ "version": "1.1.4",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "license": "ISC",
@@ -80,6 +80,9 @@
80
80
  "./components/typing-markdown/index.css": {
81
81
  "import": "./components/typing-markdown/index.css"
82
82
  },
83
+ "./components/tables-v1-checkbox/index.css": {
84
+ "import": "./components/tables-v1-checkbox/index.css"
85
+ },
83
86
  "./components/tables-v1/index.css": {
84
87
  "import": "./components/tables-v1/index.css"
85
88
  },