xrk-components 2.0.0-beta.85 → 2.0.0-beta.87

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/lib/index.esm.js CHANGED
@@ -71521,7 +71521,8 @@ var script$D = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$B
71521
71521
  maxLine: { type: Number, required: false, default: 1 },
71522
71522
  trigger: { type: String, required: false, default: 'click' },
71523
71523
  maxCount: { type: Number, required: false },
71524
- notRepeatShow: { type: Boolean, required: false, default: true }
71524
+ notRepeatShow: { type: Boolean, required: false, default: true },
71525
+ type: { type: null, required: false, default: 'primary2' }
71525
71526
  }, setup: function (__props) {
71526
71527
  var props = __props;
71527
71528
  var popoverRef = ref();
@@ -71588,7 +71589,7 @@ var script$D = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$B
71588
71589
  ref: btnsRef
71589
71590
  }, [
71590
71591
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.btns, function (btn, index) {
71591
- return (openBlock(), createBlock(unref(BaseButton), mergeProps({ key: index }, __assign({ type: 'primary2', link: true }, btn)), {
71592
+ return (openBlock(), createBlock(unref(BaseButton), mergeProps({ key: index }, __assign({ type: __props.type, link: true }, btn)), {
71592
71593
  default: withCtx(function () { return [
71593
71594
  createTextVNode(toDisplayString(btn.content), 1 /* TEXT */)
71594
71595
  ]; }),
@@ -71609,13 +71610,13 @@ var script$D = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$B
71609
71610
  reference: withCtx(function () { return [
71610
71611
  createVNode(unref(BaseButton), {
71611
71612
  link: "",
71612
- type: "primary2"
71613
+ type: __props.type
71613
71614
  }, {
71614
71615
  default: withCtx(function () { return [
71615
71616
  _hoisted_1$h
71616
71617
  ]; }),
71617
71618
  _: 1 /* STABLE */
71618
- })
71619
+ }, 8 /* PROPS */, ["type"])
71619
71620
  ]; }),
71620
71621
  default: withCtx(function () { return [
71621
71622
  createElementVNode("div", _hoisted_2$a, [
@@ -76707,6 +76708,7 @@ var script$8 = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$8
76707
76708
  });
76708
76709
  }); };
76709
76710
  return function (_ctx, _cache) {
76711
+ var _component_table_column = resolveComponent("table-column", true);
76710
76712
  return (openBlock(), createBlock(unref(ElTableColumn), {
76711
76713
  prop: __props.prop,
76712
76714
  type: __props.type,
@@ -76729,6 +76731,12 @@ var script$8 = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$8
76729
76731
  default: withCtx(function (_a) {
76730
76732
  var row = _a.row, column = _a.column, $index = _a.$index;
76731
76733
  return [
76734
+ createCommentVNode(" 数据结构+组件递归实现多表头,使用render会出现el-table-column解析顺序问题 "),
76735
+ (openBlock(true), createElementBlock(Fragment, null, renderList(__props.children, function (item) {
76736
+ return (openBlock(), createBlock(_component_table_column, normalizeProps(mergeProps({
76737
+ key: item.label
76738
+ }, item)), null, 16 /* FULL_PROPS */));
76739
+ }), 128 /* KEYED_FRAGMENT */)),
76732
76740
  (__props.render)
76733
76741
  ? (openBlock(), createBlock(unref(BaseTableColumnContentRender), {
76734
76742
  key: 0,
package/lib/index.umd.js CHANGED
@@ -71524,7 +71524,8 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
71524
71524
  maxLine: { type: Number, required: false, default: 1 },
71525
71525
  trigger: { type: String, required: false, default: 'click' },
71526
71526
  maxCount: { type: Number, required: false },
71527
- notRepeatShow: { type: Boolean, required: false, default: true }
71527
+ notRepeatShow: { type: Boolean, required: false, default: true },
71528
+ type: { type: null, required: false, default: 'primary2' }
71528
71529
  }, setup: function (__props) {
71529
71530
  var props = __props;
71530
71531
  var popoverRef = vue.ref();
@@ -71591,7 +71592,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
71591
71592
  ref: btnsRef
71592
71593
  }, [
71593
71594
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.btns, function (btn, index) {
71594
- return (vue.openBlock(), vue.createBlock(vue.unref(BaseButton), vue.mergeProps({ key: index }, __assign({ type: 'primary2', link: true }, btn)), {
71595
+ return (vue.openBlock(), vue.createBlock(vue.unref(BaseButton), vue.mergeProps({ key: index }, __assign({ type: __props.type, link: true }, btn)), {
71595
71596
  default: vue.withCtx(function () { return [
71596
71597
  vue.createTextVNode(vue.toDisplayString(btn.content), 1 /* TEXT */)
71597
71598
  ]; }),
@@ -71612,13 +71613,13 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
71612
71613
  reference: vue.withCtx(function () { return [
71613
71614
  vue.createVNode(vue.unref(BaseButton), {
71614
71615
  link: "",
71615
- type: "primary2"
71616
+ type: __props.type
71616
71617
  }, {
71617
71618
  default: vue.withCtx(function () { return [
71618
71619
  _hoisted_1$h
71619
71620
  ]; }),
71620
71621
  _: 1 /* STABLE */
71621
- })
71622
+ }, 8 /* PROPS */, ["type"])
71622
71623
  ]; }),
71623
71624
  default: vue.withCtx(function () { return [
71624
71625
  vue.createElementVNode("div", _hoisted_2$a, [
@@ -76710,6 +76711,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
76710
76711
  });
76711
76712
  }); };
76712
76713
  return function (_ctx, _cache) {
76714
+ var _component_table_column = vue.resolveComponent("table-column", true);
76713
76715
  return (vue.openBlock(), vue.createBlock(vue.unref(ElTableColumn), {
76714
76716
  prop: __props.prop,
76715
76717
  type: __props.type,
@@ -76732,6 +76734,12 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
76732
76734
  default: vue.withCtx(function (_a) {
76733
76735
  var row = _a.row, column = _a.column, $index = _a.$index;
76734
76736
  return [
76737
+ vue.createCommentVNode(" 数据结构+组件递归实现多表头,使用render会出现el-table-column解析顺序问题 "),
76738
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.children, function (item) {
76739
+ return (vue.openBlock(), vue.createBlock(_component_table_column, vue.normalizeProps(vue.mergeProps({
76740
+ key: item.label
76741
+ }, item)), null, 16 /* FULL_PROPS */));
76742
+ }), 128 /* KEYED_FRAGMENT */)),
76735
76743
  (__props.render)
76736
76744
  ? (vue.openBlock(), vue.createBlock(vue.unref(BaseTableColumnContentRender), {
76737
76745
  key: 0,
@@ -30,6 +30,7 @@ export declare type BaseButtonMoreProps = {
30
30
  maxLine?: number;
31
31
  trigger?: 'hover' | 'focus' | 'click' | 'contextmenu';
32
32
  notRepeatShow?: boolean;
33
+ type?: BaseButtonProps['type'];
33
34
  btns: Array<BaseButtonProps & {
34
35
  content: any;
35
36
  }>;
@@ -22,6 +22,11 @@ declare const _default: import("vue").DefineComponent<{
22
22
  required: false;
23
23
  default: boolean;
24
24
  };
25
+ type: {
26
+ type: null;
27
+ required: false;
28
+ default: string;
29
+ };
25
30
  }, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
26
31
  [key: string]: any;
27
32
  }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
@@ -48,9 +53,15 @@ declare const _default: import("vue").DefineComponent<{
48
53
  required: false;
49
54
  default: boolean;
50
55
  };
56
+ type: {
57
+ type: null;
58
+ required: false;
59
+ default: string;
60
+ };
51
61
  }>>, {
52
62
  maxLine: number;
53
63
  trigger: string;
54
64
  notRepeatShow: boolean;
65
+ type: any;
55
66
  }>;
56
67
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xrk-components",
3
- "version": "2.0.0-beta.85",
3
+ "version": "2.0.0-beta.87",
4
4
  "description": "",
5
5
  "main": "lib/index.esm.js",
6
6
  "typings": "lib/packages/index.d.ts",