xrk-components 0.4.2-beta.5 → 0.4.2-beta.6

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
@@ -20446,7 +20446,7 @@ const inputEmits = {
20446
20446
 
20447
20447
  const _hoisted_1$y = ["role"];
20448
20448
  const _hoisted_2$m = ["id", "type", "disabled", "formatter", "parser", "readonly", "autocomplete", "tabindex", "aria-label", "placeholder", "form"];
20449
- const _hoisted_3$a = ["id", "tabindex", "disabled", "readonly", "autocomplete", "aria-label", "placeholder", "form"];
20449
+ const _hoisted_3$b = ["id", "tabindex", "disabled", "readonly", "autocomplete", "aria-label", "placeholder", "form"];
20450
20450
  const __default__$Q = defineComponent({
20451
20451
  name: "ElInput",
20452
20452
  inheritAttrs: false
@@ -20839,7 +20839,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
20839
20839
  onBlur: handleBlur,
20840
20840
  onChange: handleChange,
20841
20841
  onKeydown: handleKeydown
20842
- }), null, 16, _hoisted_3$a),
20842
+ }), null, 16, _hoisted_3$b),
20843
20843
  unref(isWordLimitVisible) ? (openBlock(), createElementBlock("span", {
20844
20844
  key: 0,
20845
20845
  style: normalizeStyle(countStyle.value),
@@ -25940,7 +25940,7 @@ const useCheckbox = (props, slots) => {
25940
25940
 
25941
25941
  const _hoisted_1$t = ["tabindex", "role", "aria-checked"];
25942
25942
  const _hoisted_2$i = ["id", "aria-hidden", "name", "tabindex", "disabled", "true-value", "false-value"];
25943
- const _hoisted_3$9 = ["id", "aria-hidden", "disabled", "value", "name", "tabindex"];
25943
+ const _hoisted_3$a = ["id", "aria-hidden", "disabled", "value", "name", "tabindex"];
25944
25944
  const __default__$E = defineComponent({
25945
25945
  name: "ElCheckbox"
25946
25946
  });
@@ -26020,7 +26020,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
26020
26020
  onChange: _cache[5] || (_cache[5] = (...args) => unref(handleChange) && unref(handleChange)(...args)),
26021
26021
  onFocus: _cache[6] || (_cache[6] = ($event) => isFocused.value = true),
26022
26022
  onBlur: _cache[7] || (_cache[7] = ($event) => isFocused.value = false)
26023
- }, null, 42, _hoisted_3$9)), [
26023
+ }, null, 42, _hoisted_3$a)), [
26024
26024
  [vModelCheckbox, unref(model)]
26025
26025
  ]),
26026
26026
  createElementVNode("span", {
@@ -26877,7 +26877,7 @@ const _hoisted_2$g = {
26877
26877
  key: 0,
26878
26878
  scope: "col"
26879
26879
  };
26880
- const _hoisted_3$8 = ["aria-label"];
26880
+ const _hoisted_3$9 = ["aria-label"];
26881
26881
  const _hoisted_4$5 = ["aria-current", "aria-selected", "tabindex"];
26882
26882
  const _sfc_main$m = /* @__PURE__ */ defineComponent({
26883
26883
  __name: "basic-date-table",
@@ -27195,7 +27195,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
27195
27195
  key,
27196
27196
  scope: "col",
27197
27197
  "aria-label": unref(t)("el.datepicker.weeksFull." + week)
27198
- }, toDisplayString(unref(t)("el.datepicker.weeks." + week)), 9, _hoisted_3$8);
27198
+ }, toDisplayString(unref(t)("el.datepicker.weeks." + week)), 9, _hoisted_3$9);
27199
27199
  }), 128))
27200
27200
  ]),
27201
27201
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref(rows), (row, rowKey) => {
@@ -27233,7 +27233,7 @@ const basicMonthTableProps = buildProps({
27233
27233
 
27234
27234
  const _hoisted_1$n = ["aria-label"];
27235
27235
  const _hoisted_2$f = ["aria-selected", "aria-label", "tabindex", "onKeydown"];
27236
- const _hoisted_3$7 = { class: "cell" };
27236
+ const _hoisted_3$8 = { class: "cell" };
27237
27237
  const _sfc_main$l = /* @__PURE__ */ defineComponent({
27238
27238
  __name: "basic-month-table",
27239
27239
  props: basicMonthTableProps,
@@ -27416,7 +27416,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
27416
27416
  ]
27417
27417
  }, [
27418
27418
  createElementVNode("div", null, [
27419
- createElementVNode("span", _hoisted_3$7, toDisplayString(unref(t)("el.datepicker.months." + months.value[cell.text])), 1)
27419
+ createElementVNode("span", _hoisted_3$8, toDisplayString(unref(t)("el.datepicker.months." + months.value[cell.text])), 1)
27420
27420
  ])
27421
27421
  ], 42, _hoisted_2$f);
27422
27422
  }), 128))
@@ -27438,7 +27438,7 @@ const basicYearTableProps = buildProps({
27438
27438
 
27439
27439
  const _hoisted_1$m = ["aria-label"];
27440
27440
  const _hoisted_2$e = ["aria-selected", "tabindex", "onKeydown"];
27441
- const _hoisted_3$6 = { class: "cell" };
27441
+ const _hoisted_3$7 = { class: "cell" };
27442
27442
  const _hoisted_4$4 = { key: 1 };
27443
27443
  const _sfc_main$k = /* @__PURE__ */ defineComponent({
27444
27444
  __name: "basic-year-table",
@@ -27523,7 +27523,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
27523
27523
  withKeys(withModifiers(handleYearTableClick, ["prevent", "stop"]), ["enter"])
27524
27524
  ]
27525
27525
  }, [
27526
- createElementVNode("span", _hoisted_3$6, toDisplayString(unref(startYear) + i * 4 + j), 1)
27526
+ createElementVNode("span", _hoisted_3$7, toDisplayString(unref(startYear) + i * 4 + j), 1)
27527
27527
  ], 42, _hoisted_2$e)) : (openBlock(), createElementBlock("td", _hoisted_4$4))
27528
27528
  ], 64);
27529
27529
  }), 64))
@@ -27538,7 +27538,7 @@ var YearTable = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__file", "/home/runn
27538
27538
 
27539
27539
  const _hoisted_1$l = ["onClick"];
27540
27540
  const _hoisted_2$d = ["aria-label"];
27541
- const _hoisted_3$5 = ["aria-label"];
27541
+ const _hoisted_3$6 = ["aria-label"];
27542
27542
  const _hoisted_4$3 = ["aria-label"];
27543
27543
  const _hoisted_5$3 = ["aria-label"];
27544
27544
  const _sfc_main$j = /* @__PURE__ */ defineComponent({
@@ -28026,7 +28026,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
28026
28026
  ]),
28027
28027
  _: 1
28028
28028
  })
28029
- ], 10, _hoisted_3$5), [
28029
+ ], 10, _hoisted_3$6), [
28030
28030
  [vShow, currentView.value === "date"]
28031
28031
  ])
28032
28032
  ], 2),
@@ -28265,7 +28265,7 @@ const useRangePicker = (props, {
28265
28265
 
28266
28266
  const _hoisted_1$k = ["onClick"];
28267
28267
  const _hoisted_2$c = ["disabled"];
28268
- const _hoisted_3$4 = ["disabled"];
28268
+ const _hoisted_3$5 = ["disabled"];
28269
28269
  const _hoisted_4$2 = ["disabled"];
28270
28270
  const _hoisted_5$2 = ["disabled"];
28271
28271
  const unit$1 = "month";
@@ -28781,7 +28781,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
28781
28781
  ]),
28782
28782
  _: 1
28783
28783
  })
28784
- ], 10, _hoisted_3$4)) : createCommentVNode("v-if", true),
28784
+ ], 10, _hoisted_3$5)) : createCommentVNode("v-if", true),
28785
28785
  createElementVNode("div", null, toDisplayString(unref(leftLabel)), 1)
28786
28786
  ], 2),
28787
28787
  createVNode(DateTable, {
@@ -28965,7 +28965,7 @@ const useMonthRangeHeader = ({
28965
28965
 
28966
28966
  const _hoisted_1$j = ["onClick"];
28967
28967
  const _hoisted_2$b = ["disabled"];
28968
- const _hoisted_3$3 = ["disabled"];
28968
+ const _hoisted_3$4 = ["disabled"];
28969
28969
  const unit = "year";
28970
28970
  const __default__$x = defineComponent({
28971
28971
  name: "DatePickerMonthRange"
@@ -29143,7 +29143,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
29143
29143
  ]),
29144
29144
  _: 1
29145
29145
  })
29146
- ], 10, _hoisted_3$3)) : createCommentVNode("v-if", true),
29146
+ ], 10, _hoisted_3$4)) : createCommentVNode("v-if", true),
29147
29147
  createElementVNode("button", {
29148
29148
  type: "button",
29149
29149
  class: normalizeClass([unref(ppNs).e("icon-btn"), "d-arrow-right"]),
@@ -33722,7 +33722,7 @@ const paginationPagerProps = buildProps({
33722
33722
 
33723
33723
  const _hoisted_1$a = ["onKeyup"];
33724
33724
  const _hoisted_2$6 = ["aria-current", "tabindex"];
33725
- const _hoisted_3$2 = ["tabindex"];
33725
+ const _hoisted_3$3 = ["tabindex"];
33726
33726
  const _hoisted_4$1 = ["aria-current", "tabindex"];
33727
33727
  const _hoisted_5$1 = ["tabindex"];
33728
33728
  const _hoisted_6 = ["aria-current", "tabindex"];
@@ -33879,7 +33879,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
33879
33879
  onBlur: _cache[3] || (_cache[3] = ($event) => quickPrevFocus.value = false)
33880
33880
  }, [
33881
33881
  quickPrevHover.value || quickPrevFocus.value ? (openBlock(), createBlock(unref(d_arrow_left_default), { key: 0 })) : (openBlock(), createBlock(unref(more_filled_default), { key: 1 }))
33882
- ], 42, _hoisted_3$2)) : createCommentVNode("v-if", true),
33882
+ ], 42, _hoisted_3$3)) : createCommentVNode("v-if", true),
33883
33883
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref(pagers), (pager) => {
33884
33884
  return openBlock(), createElementBlock("li", {
33885
33885
  key: pager,
@@ -34265,7 +34265,7 @@ const switchEmits = {
34265
34265
 
34266
34266
  const _hoisted_1$9 = ["onClick"];
34267
34267
  const _hoisted_2$5 = ["id", "aria-checked", "aria-disabled", "name", "true-value", "false-value", "disabled", "tabindex", "onKeydown"];
34268
- const _hoisted_3$1 = ["aria-hidden"];
34268
+ const _hoisted_3$2 = ["aria-hidden"];
34269
34269
  const _hoisted_4 = ["aria-hidden"];
34270
34270
  const _hoisted_5 = ["aria-hidden"];
34271
34271
  const COMPONENT_NAME = "ElSwitch";
@@ -34426,7 +34426,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
34426
34426
  !_ctx.inactiveIcon && _ctx.inactiveText ? (openBlock(), createElementBlock("span", {
34427
34427
  key: 1,
34428
34428
  "aria-hidden": unref(checked)
34429
- }, toDisplayString(_ctx.inactiveText), 9, _hoisted_3$1)) : createCommentVNode("v-if", true)
34429
+ }, toDisplayString(_ctx.inactiveText), 9, _hoisted_3$2)) : createCommentVNode("v-if", true)
34430
34430
  ], 2)) : createCommentVNode("v-if", true),
34431
34431
  createElementVNode("span", {
34432
34432
  ref_key: "core",
@@ -36262,7 +36262,7 @@ const _sfc_main$1 = defineComponent({
36262
36262
  });
36263
36263
  const _hoisted_1$8 = { key: 0 };
36264
36264
  const _hoisted_2$4 = ["disabled"];
36265
- const _hoisted_3 = ["label", "onClick"];
36265
+ const _hoisted_3$1 = ["label", "onClick"];
36266
36266
  function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
36267
36267
  const _component_el_checkbox = resolveComponent("el-checkbox");
36268
36268
  const _component_el_checkbox_group = resolveComponent("el-checkbox-group");
@@ -36351,7 +36351,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
36351
36351
  class: normalizeClass([_ctx.ns.e("list-item"), _ctx.ns.is("active", _ctx.isActive(filter))]),
36352
36352
  label: filter.value,
36353
36353
  onClick: ($event) => _ctx.handleSelect(filter.value)
36354
- }, toDisplayString(filter.text), 11, _hoisted_3);
36354
+ }, toDisplayString(filter.text), 11, _hoisted_3$1);
36355
36355
  }), 128))
36356
36356
  ], 2))
36357
36357
  ]),
@@ -41897,6 +41897,7 @@ var XrkTable = script$1;
41897
41897
 
41898
41898
  var _hoisted_1 = { key: 1 };
41899
41899
  var _hoisted_2 = { key: 1 };
41900
+ var _hoisted_3 = { key: 1 };
41900
41901
  var __default__ = {
41901
41902
  name: 'base-dialog'
41902
41903
  };
@@ -42022,14 +42023,16 @@ var script = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__), {
42022
42023
  onClosed: handleClosed
42023
42024
  }, {
42024
42025
  header: withCtx(function () { return [
42025
- (__props.titleRender)
42026
- ? (openBlock(), createBlock(unref(BaseDialogRender), {
42027
- key: 0,
42028
- render: __props.titleRender
42029
- }, null, 8 /* PROPS */, ["render"]))
42030
- : renderSlot(_ctx.$slots, "header", { key: 1 }, function () { return [
42031
- createTextVNode(toDisplayString(__props.title), 1 /* TEXT */)
42032
- ]; })
42026
+ renderSlot(_ctx.$slots, "header", {}, function () { return [
42027
+ (__props.titleRender)
42028
+ ? (openBlock(), createBlock(unref(BaseDialogRender), {
42029
+ key: 0,
42030
+ render: __props.titleRender
42031
+ }, null, 8 /* PROPS */, ["render"]))
42032
+ : (__props.title)
42033
+ ? (openBlock(), createElementBlock("span", _hoisted_1, toDisplayString(__props.title), 1 /* TEXT */))
42034
+ : createCommentVNode("v-if", true)
42035
+ ]; })
42033
42036
  ]; }),
42034
42037
  footer: withCtx(function () { return [
42035
42038
  renderSlot(_ctx.$slots, "footer", {}, function () { return [
@@ -42039,7 +42042,7 @@ var script = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__), {
42039
42042
  render: __props.footerRender
42040
42043
  }, null, 8 /* PROPS */, ["render"]))
42041
42044
  : (__props.showFooter)
42042
- ? (openBlock(), createElementBlock("div", _hoisted_2, [
42045
+ ? (openBlock(), createElementBlock("div", _hoisted_3, [
42043
42046
  (__props.cancelBtnConfig.show)
42044
42047
  ? (openBlock(), createBlock(unref(BaseButton), mergeProps({
42045
42048
  key: 0,
@@ -42067,14 +42070,16 @@ var script = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__), {
42067
42070
  ]; })
42068
42071
  ]; }),
42069
42072
  default: withCtx(function () { return [
42070
- (__props.contentRender)
42071
- ? (openBlock(), createBlock(unref(BaseDialogRender), {
42072
- key: 0,
42073
- render: __props.contentRender
42074
- }, null, 8 /* PROPS */, ["render"]))
42075
- : (__props.content)
42076
- ? (openBlock(), createElementBlock("div", _hoisted_1, toDisplayString(__props.content), 1 /* TEXT */))
42077
- : renderSlot(_ctx.$slots, "default", { key: 2 })
42073
+ renderSlot(_ctx.$slots, "default", {}, function () { return [
42074
+ (__props.contentRender)
42075
+ ? (openBlock(), createBlock(unref(BaseDialogRender), {
42076
+ key: 0,
42077
+ render: __props.contentRender
42078
+ }, null, 8 /* PROPS */, ["render"]))
42079
+ : (__props.content)
42080
+ ? (openBlock(), createElementBlock("div", _hoisted_2, toDisplayString(__props.content), 1 /* TEXT */))
42081
+ : createCommentVNode("v-if", true)
42082
+ ]; })
42078
42083
  ]; }),
42079
42084
  _: 3 /* FORWARDED */
42080
42085
  }, 8 /* PROPS */, ["custom-class", "modelValue", "closeOnClickModal", "closeOnPressEscape", "appendToBody", "destroyOnClose", "center", "width", "showClose"]));
package/lib/index.umd.js CHANGED
@@ -20449,7 +20449,7 @@ usage: app.provide(ID_INJECTION_KEY, {
20449
20449
 
20450
20450
  const _hoisted_1$y = ["role"];
20451
20451
  const _hoisted_2$m = ["id", "type", "disabled", "formatter", "parser", "readonly", "autocomplete", "tabindex", "aria-label", "placeholder", "form"];
20452
- const _hoisted_3$a = ["id", "tabindex", "disabled", "readonly", "autocomplete", "aria-label", "placeholder", "form"];
20452
+ const _hoisted_3$b = ["id", "tabindex", "disabled", "readonly", "autocomplete", "aria-label", "placeholder", "form"];
20453
20453
  const __default__$Q = vue.defineComponent({
20454
20454
  name: "ElInput",
20455
20455
  inheritAttrs: false
@@ -20842,7 +20842,7 @@ usage: app.provide(ID_INJECTION_KEY, {
20842
20842
  onBlur: handleBlur,
20843
20843
  onChange: handleChange,
20844
20844
  onKeydown: handleKeydown
20845
- }), null, 16, _hoisted_3$a),
20845
+ }), null, 16, _hoisted_3$b),
20846
20846
  vue.unref(isWordLimitVisible) ? (vue.openBlock(), vue.createElementBlock("span", {
20847
20847
  key: 0,
20848
20848
  style: vue.normalizeStyle(countStyle.value),
@@ -25943,7 +25943,7 @@ usage: app.provide(ID_INJECTION_KEY, {
25943
25943
 
25944
25944
  const _hoisted_1$t = ["tabindex", "role", "aria-checked"];
25945
25945
  const _hoisted_2$i = ["id", "aria-hidden", "name", "tabindex", "disabled", "true-value", "false-value"];
25946
- const _hoisted_3$9 = ["id", "aria-hidden", "disabled", "value", "name", "tabindex"];
25946
+ const _hoisted_3$a = ["id", "aria-hidden", "disabled", "value", "name", "tabindex"];
25947
25947
  const __default__$E = vue.defineComponent({
25948
25948
  name: "ElCheckbox"
25949
25949
  });
@@ -26023,7 +26023,7 @@ usage: app.provide(ID_INJECTION_KEY, {
26023
26023
  onChange: _cache[5] || (_cache[5] = (...args) => vue.unref(handleChange) && vue.unref(handleChange)(...args)),
26024
26024
  onFocus: _cache[6] || (_cache[6] = ($event) => isFocused.value = true),
26025
26025
  onBlur: _cache[7] || (_cache[7] = ($event) => isFocused.value = false)
26026
- }, null, 42, _hoisted_3$9)), [
26026
+ }, null, 42, _hoisted_3$a)), [
26027
26027
  [vue.vModelCheckbox, vue.unref(model)]
26028
26028
  ]),
26029
26029
  vue.createElementVNode("span", {
@@ -26880,7 +26880,7 @@ usage: app.provide(ID_INJECTION_KEY, {
26880
26880
  key: 0,
26881
26881
  scope: "col"
26882
26882
  };
26883
- const _hoisted_3$8 = ["aria-label"];
26883
+ const _hoisted_3$9 = ["aria-label"];
26884
26884
  const _hoisted_4$5 = ["aria-current", "aria-selected", "tabindex"];
26885
26885
  const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
26886
26886
  __name: "basic-date-table",
@@ -27198,7 +27198,7 @@ usage: app.provide(ID_INJECTION_KEY, {
27198
27198
  key,
27199
27199
  scope: "col",
27200
27200
  "aria-label": vue.unref(t)("el.datepicker.weeksFull." + week)
27201
- }, vue.toDisplayString(vue.unref(t)("el.datepicker.weeks." + week)), 9, _hoisted_3$8);
27201
+ }, vue.toDisplayString(vue.unref(t)("el.datepicker.weeks." + week)), 9, _hoisted_3$9);
27202
27202
  }), 128))
27203
27203
  ]),
27204
27204
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(rows), (row, rowKey) => {
@@ -27236,7 +27236,7 @@ usage: app.provide(ID_INJECTION_KEY, {
27236
27236
 
27237
27237
  const _hoisted_1$n = ["aria-label"];
27238
27238
  const _hoisted_2$f = ["aria-selected", "aria-label", "tabindex", "onKeydown"];
27239
- const _hoisted_3$7 = { class: "cell" };
27239
+ const _hoisted_3$8 = { class: "cell" };
27240
27240
  const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
27241
27241
  __name: "basic-month-table",
27242
27242
  props: basicMonthTableProps,
@@ -27419,7 +27419,7 @@ usage: app.provide(ID_INJECTION_KEY, {
27419
27419
  ]
27420
27420
  }, [
27421
27421
  vue.createElementVNode("div", null, [
27422
- vue.createElementVNode("span", _hoisted_3$7, vue.toDisplayString(vue.unref(t)("el.datepicker.months." + months.value[cell.text])), 1)
27422
+ vue.createElementVNode("span", _hoisted_3$8, vue.toDisplayString(vue.unref(t)("el.datepicker.months." + months.value[cell.text])), 1)
27423
27423
  ])
27424
27424
  ], 42, _hoisted_2$f);
27425
27425
  }), 128))
@@ -27441,7 +27441,7 @@ usage: app.provide(ID_INJECTION_KEY, {
27441
27441
 
27442
27442
  const _hoisted_1$m = ["aria-label"];
27443
27443
  const _hoisted_2$e = ["aria-selected", "tabindex", "onKeydown"];
27444
- const _hoisted_3$6 = { class: "cell" };
27444
+ const _hoisted_3$7 = { class: "cell" };
27445
27445
  const _hoisted_4$4 = { key: 1 };
27446
27446
  const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
27447
27447
  __name: "basic-year-table",
@@ -27526,7 +27526,7 @@ usage: app.provide(ID_INJECTION_KEY, {
27526
27526
  vue.withKeys(vue.withModifiers(handleYearTableClick, ["prevent", "stop"]), ["enter"])
27527
27527
  ]
27528
27528
  }, [
27529
- vue.createElementVNode("span", _hoisted_3$6, vue.toDisplayString(vue.unref(startYear) + i * 4 + j), 1)
27529
+ vue.createElementVNode("span", _hoisted_3$7, vue.toDisplayString(vue.unref(startYear) + i * 4 + j), 1)
27530
27530
  ], 42, _hoisted_2$e)) : (vue.openBlock(), vue.createElementBlock("td", _hoisted_4$4))
27531
27531
  ], 64);
27532
27532
  }), 64))
@@ -27541,7 +27541,7 @@ usage: app.provide(ID_INJECTION_KEY, {
27541
27541
 
27542
27542
  const _hoisted_1$l = ["onClick"];
27543
27543
  const _hoisted_2$d = ["aria-label"];
27544
- const _hoisted_3$5 = ["aria-label"];
27544
+ const _hoisted_3$6 = ["aria-label"];
27545
27545
  const _hoisted_4$3 = ["aria-label"];
27546
27546
  const _hoisted_5$3 = ["aria-label"];
27547
27547
  const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
@@ -28029,7 +28029,7 @@ usage: app.provide(ID_INJECTION_KEY, {
28029
28029
  ]),
28030
28030
  _: 1
28031
28031
  })
28032
- ], 10, _hoisted_3$5), [
28032
+ ], 10, _hoisted_3$6), [
28033
28033
  [vue.vShow, currentView.value === "date"]
28034
28034
  ])
28035
28035
  ], 2),
@@ -28268,7 +28268,7 @@ usage: app.provide(ID_INJECTION_KEY, {
28268
28268
 
28269
28269
  const _hoisted_1$k = ["onClick"];
28270
28270
  const _hoisted_2$c = ["disabled"];
28271
- const _hoisted_3$4 = ["disabled"];
28271
+ const _hoisted_3$5 = ["disabled"];
28272
28272
  const _hoisted_4$2 = ["disabled"];
28273
28273
  const _hoisted_5$2 = ["disabled"];
28274
28274
  const unit$1 = "month";
@@ -28784,7 +28784,7 @@ usage: app.provide(ID_INJECTION_KEY, {
28784
28784
  ]),
28785
28785
  _: 1
28786
28786
  })
28787
- ], 10, _hoisted_3$4)) : vue.createCommentVNode("v-if", true),
28787
+ ], 10, _hoisted_3$5)) : vue.createCommentVNode("v-if", true),
28788
28788
  vue.createElementVNode("div", null, vue.toDisplayString(vue.unref(leftLabel)), 1)
28789
28789
  ], 2),
28790
28790
  vue.createVNode(DateTable, {
@@ -28968,7 +28968,7 @@ usage: app.provide(ID_INJECTION_KEY, {
28968
28968
 
28969
28969
  const _hoisted_1$j = ["onClick"];
28970
28970
  const _hoisted_2$b = ["disabled"];
28971
- const _hoisted_3$3 = ["disabled"];
28971
+ const _hoisted_3$4 = ["disabled"];
28972
28972
  const unit = "year";
28973
28973
  const __default__$x = vue.defineComponent({
28974
28974
  name: "DatePickerMonthRange"
@@ -29146,7 +29146,7 @@ usage: app.provide(ID_INJECTION_KEY, {
29146
29146
  ]),
29147
29147
  _: 1
29148
29148
  })
29149
- ], 10, _hoisted_3$3)) : vue.createCommentVNode("v-if", true),
29149
+ ], 10, _hoisted_3$4)) : vue.createCommentVNode("v-if", true),
29150
29150
  vue.createElementVNode("button", {
29151
29151
  type: "button",
29152
29152
  class: vue.normalizeClass([vue.unref(ppNs).e("icon-btn"), "d-arrow-right"]),
@@ -33725,7 +33725,7 @@ usage: app.provide(ID_INJECTION_KEY, {
33725
33725
 
33726
33726
  const _hoisted_1$a = ["onKeyup"];
33727
33727
  const _hoisted_2$6 = ["aria-current", "tabindex"];
33728
- const _hoisted_3$2 = ["tabindex"];
33728
+ const _hoisted_3$3 = ["tabindex"];
33729
33729
  const _hoisted_4$1 = ["aria-current", "tabindex"];
33730
33730
  const _hoisted_5$1 = ["tabindex"];
33731
33731
  const _hoisted_6 = ["aria-current", "tabindex"];
@@ -33882,7 +33882,7 @@ usage: app.provide(ID_INJECTION_KEY, {
33882
33882
  onBlur: _cache[3] || (_cache[3] = ($event) => quickPrevFocus.value = false)
33883
33883
  }, [
33884
33884
  quickPrevHover.value || quickPrevFocus.value ? (vue.openBlock(), vue.createBlock(vue.unref(d_arrow_left_default), { key: 0 })) : (vue.openBlock(), vue.createBlock(vue.unref(more_filled_default), { key: 1 }))
33885
- ], 42, _hoisted_3$2)) : vue.createCommentVNode("v-if", true),
33885
+ ], 42, _hoisted_3$3)) : vue.createCommentVNode("v-if", true),
33886
33886
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(pagers), (pager) => {
33887
33887
  return vue.openBlock(), vue.createElementBlock("li", {
33888
33888
  key: pager,
@@ -34268,7 +34268,7 @@ usage: app.provide(ID_INJECTION_KEY, {
34268
34268
 
34269
34269
  const _hoisted_1$9 = ["onClick"];
34270
34270
  const _hoisted_2$5 = ["id", "aria-checked", "aria-disabled", "name", "true-value", "false-value", "disabled", "tabindex", "onKeydown"];
34271
- const _hoisted_3$1 = ["aria-hidden"];
34271
+ const _hoisted_3$2 = ["aria-hidden"];
34272
34272
  const _hoisted_4 = ["aria-hidden"];
34273
34273
  const _hoisted_5 = ["aria-hidden"];
34274
34274
  const COMPONENT_NAME = "ElSwitch";
@@ -34429,7 +34429,7 @@ usage: app.provide(ID_INJECTION_KEY, {
34429
34429
  !_ctx.inactiveIcon && _ctx.inactiveText ? (vue.openBlock(), vue.createElementBlock("span", {
34430
34430
  key: 1,
34431
34431
  "aria-hidden": vue.unref(checked)
34432
- }, vue.toDisplayString(_ctx.inactiveText), 9, _hoisted_3$1)) : vue.createCommentVNode("v-if", true)
34432
+ }, vue.toDisplayString(_ctx.inactiveText), 9, _hoisted_3$2)) : vue.createCommentVNode("v-if", true)
34433
34433
  ], 2)) : vue.createCommentVNode("v-if", true),
34434
34434
  vue.createElementVNode("span", {
34435
34435
  ref_key: "core",
@@ -36265,7 +36265,7 @@ usage: app.provide(ID_INJECTION_KEY, {
36265
36265
  });
36266
36266
  const _hoisted_1$8 = { key: 0 };
36267
36267
  const _hoisted_2$4 = ["disabled"];
36268
- const _hoisted_3 = ["label", "onClick"];
36268
+ const _hoisted_3$1 = ["label", "onClick"];
36269
36269
  function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
36270
36270
  const _component_el_checkbox = vue.resolveComponent("el-checkbox");
36271
36271
  const _component_el_checkbox_group = vue.resolveComponent("el-checkbox-group");
@@ -36354,7 +36354,7 @@ usage: app.provide(ID_INJECTION_KEY, {
36354
36354
  class: vue.normalizeClass([_ctx.ns.e("list-item"), _ctx.ns.is("active", _ctx.isActive(filter))]),
36355
36355
  label: filter.value,
36356
36356
  onClick: ($event) => _ctx.handleSelect(filter.value)
36357
- }, vue.toDisplayString(filter.text), 11, _hoisted_3);
36357
+ }, vue.toDisplayString(filter.text), 11, _hoisted_3$1);
36358
36358
  }), 128))
36359
36359
  ], 2))
36360
36360
  ]),
@@ -41900,6 +41900,7 @@ usage: app.provide(ID_INJECTION_KEY, {
41900
41900
 
41901
41901
  var _hoisted_1 = { key: 1 };
41902
41902
  var _hoisted_2 = { key: 1 };
41903
+ var _hoisted_3 = { key: 1 };
41903
41904
  var __default__ = {
41904
41905
  name: 'base-dialog'
41905
41906
  };
@@ -42025,14 +42026,16 @@ usage: app.provide(ID_INJECTION_KEY, {
42025
42026
  onClosed: handleClosed
42026
42027
  }, {
42027
42028
  header: vue.withCtx(function () { return [
42028
- (__props.titleRender)
42029
- ? (vue.openBlock(), vue.createBlock(vue.unref(BaseDialogRender), {
42030
- key: 0,
42031
- render: __props.titleRender
42032
- }, null, 8 /* PROPS */, ["render"]))
42033
- : vue.renderSlot(_ctx.$slots, "header", { key: 1 }, function () { return [
42034
- vue.createTextVNode(vue.toDisplayString(__props.title), 1 /* TEXT */)
42035
- ]; })
42029
+ vue.renderSlot(_ctx.$slots, "header", {}, function () { return [
42030
+ (__props.titleRender)
42031
+ ? (vue.openBlock(), vue.createBlock(vue.unref(BaseDialogRender), {
42032
+ key: 0,
42033
+ render: __props.titleRender
42034
+ }, null, 8 /* PROPS */, ["render"]))
42035
+ : (__props.title)
42036
+ ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1, vue.toDisplayString(__props.title), 1 /* TEXT */))
42037
+ : vue.createCommentVNode("v-if", true)
42038
+ ]; })
42036
42039
  ]; }),
42037
42040
  footer: vue.withCtx(function () { return [
42038
42041
  vue.renderSlot(_ctx.$slots, "footer", {}, function () { return [
@@ -42042,7 +42045,7 @@ usage: app.provide(ID_INJECTION_KEY, {
42042
42045
  render: __props.footerRender
42043
42046
  }, null, 8 /* PROPS */, ["render"]))
42044
42047
  : (__props.showFooter)
42045
- ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2, [
42048
+ ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3, [
42046
42049
  (__props.cancelBtnConfig.show)
42047
42050
  ? (vue.openBlock(), vue.createBlock(vue.unref(BaseButton), vue.mergeProps({
42048
42051
  key: 0,
@@ -42070,14 +42073,16 @@ usage: app.provide(ID_INJECTION_KEY, {
42070
42073
  ]; })
42071
42074
  ]; }),
42072
42075
  default: vue.withCtx(function () { return [
42073
- (__props.contentRender)
42074
- ? (vue.openBlock(), vue.createBlock(vue.unref(BaseDialogRender), {
42075
- key: 0,
42076
- render: __props.contentRender
42077
- }, null, 8 /* PROPS */, ["render"]))
42078
- : (__props.content)
42079
- ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1, vue.toDisplayString(__props.content), 1 /* TEXT */))
42080
- : vue.renderSlot(_ctx.$slots, "default", { key: 2 })
42076
+ vue.renderSlot(_ctx.$slots, "default", {}, function () { return [
42077
+ (__props.contentRender)
42078
+ ? (vue.openBlock(), vue.createBlock(vue.unref(BaseDialogRender), {
42079
+ key: 0,
42080
+ render: __props.contentRender
42081
+ }, null, 8 /* PROPS */, ["render"]))
42082
+ : (__props.content)
42083
+ ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2, vue.toDisplayString(__props.content), 1 /* TEXT */))
42084
+ : vue.createCommentVNode("v-if", true)
42085
+ ]; })
42081
42086
  ]; }),
42082
42087
  _: 3 /* FORWARDED */
42083
42088
  }, 8 /* PROPS */, ["custom-class", "modelValue", "closeOnClickModal", "closeOnPressEscape", "appendToBody", "destroyOnClose", "center", "width", "showClose"]));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xrk-components",
3
- "version": "0.4.2-beta.5",
3
+ "version": "0.4.2-beta.6",
4
4
  "description": "",
5
5
  "main": "lib/index.esm.js",
6
6
  "typings": "lib/packages/index.d.ts",