@element-plus/nightly 0.0.20220106 → 0.0.20220107

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.
Files changed (109) hide show
  1. package/attributes.json +1 -1
  2. package/dist/index.css +1 -1
  3. package/dist/index.full.js +92 -37
  4. package/dist/index.full.min.js +7 -7
  5. package/dist/index.full.min.js.map +1 -1
  6. package/dist/index.full.min.mjs +7 -7
  7. package/dist/index.full.min.mjs.map +1 -1
  8. package/dist/index.full.mjs +92 -37
  9. package/es/components/input-number/index.d.ts +2 -0
  10. package/es/components/input-number/src/input-number.vue.d.ts +2 -0
  11. package/es/components/input-number/src/input-number.vue_vue_type_script_lang.mjs +15 -1
  12. package/es/components/input-number/src/input-number.vue_vue_type_script_lang.mjs.map +1 -1
  13. package/es/components/input-number/src/input-number.vue_vue_type_template_id_dec60af6_lang.mjs +5 -4
  14. package/es/components/input-number/src/input-number.vue_vue_type_template_id_dec60af6_lang.mjs.map +1 -1
  15. package/es/components/message-box/src/index.vue_vue_type_script_lang.mjs.map +1 -1
  16. package/es/components/message-box/src/index.vue_vue_type_template_id_7035e868_lang.mjs +1 -0
  17. package/es/components/message-box/src/index.vue_vue_type_template_id_7035e868_lang.mjs.map +1 -1
  18. package/es/components/rate/index.d.ts +7 -1
  19. package/es/components/rate/src/rate.d.ts +2 -0
  20. package/es/components/rate/src/rate.mjs +5 -0
  21. package/es/components/rate/src/rate.mjs.map +1 -1
  22. package/es/components/rate/src/rate.vue.d.ts +7 -1
  23. package/es/components/rate/src/rate.vue_vue_type_script_lang.mjs +6 -0
  24. package/es/components/rate/src/rate.vue_vue_type_script_lang.mjs.map +1 -1
  25. package/es/components/rate/src/rate.vue_vue_type_template_id_38c42df6_lang.mjs +3 -3
  26. package/es/components/rate/src/rate.vue_vue_type_template_id_38c42df6_lang.mjs.map +1 -1
  27. package/es/components/slider/index.d.ts +22 -6
  28. package/es/components/slider/src/index.vue.d.ts +11 -3
  29. package/es/components/slider/src/index.vue_vue_type_script_lang.mjs +21 -2
  30. package/es/components/slider/src/index.vue_vue_type_script_lang.mjs.map +1 -1
  31. package/es/components/slider/src/index.vue_vue_type_template_id_24c42d04_lang.mjs +19 -19
  32. package/es/components/slider/src/index.vue_vue_type_template_id_24c42d04_lang.mjs.map +1 -1
  33. package/es/components/switch/index.d.ts +5 -0
  34. package/es/components/switch/src/switch.d.ts +2 -0
  35. package/es/components/switch/src/switch.mjs +5 -0
  36. package/es/components/switch/src/switch.mjs.map +1 -1
  37. package/es/components/switch/src/switch.vue.d.ts +5 -0
  38. package/es/components/switch/src/switch.vue_vue_type_script_lang.mjs +10 -1
  39. package/es/components/switch/src/switch.vue_vue_type_script_lang.mjs.map +1 -1
  40. package/es/components/switch/src/switch.vue_vue_type_template_id_538fbc85_lang.mjs +1 -1
  41. package/es/components/switch/src/switch.vue_vue_type_template_id_538fbc85_lang.mjs.map +1 -1
  42. package/es/components/table/src/table-layout.mjs +1 -2
  43. package/es/components/table/src/table-layout.mjs.map +1 -1
  44. package/es/components/table/src/util.d.ts +2 -2
  45. package/es/components/table/src/util.mjs +9 -5
  46. package/es/components/table/src/util.mjs.map +1 -1
  47. package/es/version.d.ts +1 -1
  48. package/es/version.mjs +1 -1
  49. package/es/version.mjs.map +1 -1
  50. package/lib/components/input-number/index.d.ts +2 -0
  51. package/lib/components/input-number/src/input-number.vue.d.ts +2 -0
  52. package/lib/components/input-number/src/input-number.vue_vue_type_script_lang.js +18 -4
  53. package/lib/components/input-number/src/input-number.vue_vue_type_script_lang.js.map +1 -1
  54. package/lib/components/input-number/src/input-number.vue_vue_type_template_id_dec60af6_lang.js +5 -4
  55. package/lib/components/input-number/src/input-number.vue_vue_type_template_id_dec60af6_lang.js.map +1 -1
  56. package/lib/components/message-box/src/index.vue_vue_type_script_lang.js.map +1 -1
  57. package/lib/components/message-box/src/index.vue_vue_type_template_id_7035e868_lang.js +1 -0
  58. package/lib/components/message-box/src/index.vue_vue_type_template_id_7035e868_lang.js.map +1 -1
  59. package/lib/components/rate/index.d.ts +7 -1
  60. package/lib/components/rate/src/rate.d.ts +2 -0
  61. package/lib/components/rate/src/rate.js +5 -0
  62. package/lib/components/rate/src/rate.js.map +1 -1
  63. package/lib/components/rate/src/rate.vue.d.ts +7 -1
  64. package/lib/components/rate/src/rate.vue_vue_type_script_lang.js +6 -0
  65. package/lib/components/rate/src/rate.vue_vue_type_script_lang.js.map +1 -1
  66. package/lib/components/rate/src/rate.vue_vue_type_template_id_38c42df6_lang.js +2 -2
  67. package/lib/components/rate/src/rate.vue_vue_type_template_id_38c42df6_lang.js.map +1 -1
  68. package/lib/components/slider/index.d.ts +22 -6
  69. package/lib/components/slider/src/index.vue.d.ts +11 -3
  70. package/lib/components/slider/src/index.vue_vue_type_script_lang.js +21 -2
  71. package/lib/components/slider/src/index.vue_vue_type_script_lang.js.map +1 -1
  72. package/lib/components/slider/src/index.vue_vue_type_template_id_24c42d04_lang.js +18 -18
  73. package/lib/components/slider/src/index.vue_vue_type_template_id_24c42d04_lang.js.map +1 -1
  74. package/lib/components/switch/index.d.ts +5 -0
  75. package/lib/components/switch/src/switch.d.ts +2 -0
  76. package/lib/components/switch/src/switch.js +5 -0
  77. package/lib/components/switch/src/switch.js.map +1 -1
  78. package/lib/components/switch/src/switch.vue.d.ts +5 -0
  79. package/lib/components/switch/src/switch.vue_vue_type_script_lang.js +9 -0
  80. package/lib/components/switch/src/switch.vue_vue_type_script_lang.js.map +1 -1
  81. package/lib/components/switch/src/switch.vue_vue_type_template_id_538fbc85_lang.js +1 -1
  82. package/lib/components/switch/src/switch.vue_vue_type_template_id_538fbc85_lang.js.map +1 -1
  83. package/lib/components/table/src/table-layout.js +1 -2
  84. package/lib/components/table/src/table-layout.js.map +1 -1
  85. package/lib/components/table/src/util.d.ts +2 -2
  86. package/lib/components/table/src/util.js +9 -5
  87. package/lib/components/table/src/util.js.map +1 -1
  88. package/lib/version.d.ts +1 -1
  89. package/lib/version.js +1 -1
  90. package/lib/version.js.map +1 -1
  91. package/package.json +2 -2
  92. package/tags.json +1 -1
  93. package/theme-chalk/el-checkbox.css +1 -1
  94. package/theme-chalk/el-date-picker.css +1 -1
  95. package/theme-chalk/el-radio.css +1 -1
  96. package/theme-chalk/el-rate.css +1 -1
  97. package/theme-chalk/el-slider.css +1 -1
  98. package/theme-chalk/el-switch.css +1 -1
  99. package/theme-chalk/el-time-picker.css +1 -1
  100. package/theme-chalk/el-time-select.css +1 -1
  101. package/theme-chalk/index.css +1 -1
  102. package/theme-chalk/src/checkbox.scss +40 -6
  103. package/theme-chalk/src/common/var.scss +0 -2
  104. package/theme-chalk/src/date-picker/picker-panel.scss +1 -1
  105. package/theme-chalk/src/radio.scss +21 -0
  106. package/theme-chalk/src/rate.scss +19 -2
  107. package/theme-chalk/src/slider.scss +28 -77
  108. package/theme-chalk/src/switch.scss +43 -4
  109. package/web-types.json +1 -1
@@ -1,4 +1,4 @@
1
- /*! Element Plus v0.0.20220106 */
1
+ /*! Element Plus v0.0.20220107 */
2
2
 
3
3
  (function (global, factory) {
4
4
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue')) :
@@ -4529,7 +4529,7 @@
4529
4529
  });
4530
4530
  }
4531
4531
 
4532
- const version$1 = "0.0.20220106";
4532
+ const version$1 = "0.0.20220107";
4533
4533
 
4534
4534
  const INSTALLED_KEY = Symbol("INSTALLED_KEY");
4535
4535
  const makeInstaller = (components = []) => {
@@ -26942,6 +26942,7 @@
26942
26942
  currentValue: props.modelValue,
26943
26943
  userInput: null
26944
26944
  });
26945
+ const { formItem } = useFormItem();
26945
26946
  const minDisabled = vue.computed(() => _decrease(props.modelValue) < props.min);
26946
26947
  const maxDisabled = vue.computed(() => _increase(props.modelValue) > props.max);
26947
26948
  const numPrecision = vue.computed(() => {
@@ -27017,6 +27018,7 @@
27017
27018
  setCurrentValue(newVal);
27018
27019
  };
27019
27020
  const setCurrentValue = (newVal) => {
27021
+ var _a;
27020
27022
  const oldVal = data.currentValue;
27021
27023
  if (typeof newVal === "number" && props.precision !== void 0) {
27022
27024
  newVal = toPrecision(newVal, props.precision);
@@ -27034,6 +27036,7 @@
27034
27036
  emit("update:modelValue", newVal);
27035
27037
  emit("input", newVal);
27036
27038
  emit("change", newVal, oldVal);
27039
+ (_a = formItem == null ? void 0 : formItem.validate) == null ? void 0 : _a.call(formItem, "change");
27037
27040
  data.currentValue = newVal;
27038
27041
  };
27039
27042
  const handleInput = (value) => {
@@ -27054,6 +27057,14 @@
27054
27057
  var _a, _b;
27055
27058
  (_b = (_a = input.value) == null ? void 0 : _a.blur) == null ? void 0 : _b.call(_a);
27056
27059
  };
27060
+ const handleFocus = (event) => {
27061
+ emit("focus", event);
27062
+ };
27063
+ const handleBlur = (event) => {
27064
+ var _a;
27065
+ emit("blur", event);
27066
+ (_a = formItem == null ? void 0 : formItem.validate) == null ? void 0 : _a.call(formItem, "blur");
27067
+ };
27057
27068
  vue.watch(() => props.modelValue, (value) => {
27058
27069
  let newVal = Number(value);
27059
27070
  if (!isNaN(newVal)) {
@@ -27107,7 +27118,9 @@
27107
27118
  maxDisabled,
27108
27119
  minDisabled,
27109
27120
  focus,
27110
- blur
27121
+ blur,
27122
+ handleFocus,
27123
+ handleBlur
27111
27124
  };
27112
27125
  }
27113
27126
  });
@@ -27128,7 +27141,7 @@
27128
27141
  { "is-without-controls": !_ctx.controls },
27129
27142
  { "is-controls-right": _ctx.controlsAtRight }
27130
27143
  ]),
27131
- onDragstart: _cache[4] || (_cache[4] = vue.withModifiers(() => {
27144
+ onDragstart: _cache[2] || (_cache[2] = vue.withModifiers(() => {
27132
27145
  }, ["prevent"]))
27133
27146
  }, [
27134
27147
  _ctx.controls ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("span", {
@@ -27173,15 +27186,16 @@
27173
27186
  min: _ctx.min,
27174
27187
  name: _ctx.name,
27175
27188
  label: _ctx.label,
27189
+ "validate-event": false,
27176
27190
  onKeydown: [
27177
27191
  vue.withKeys(vue.withModifiers(_ctx.increase, ["prevent"]), ["up"]),
27178
27192
  vue.withKeys(vue.withModifiers(_ctx.decrease, ["prevent"]), ["down"])
27179
27193
  ],
27180
- onBlur: _cache[2] || (_cache[2] = (event) => _ctx.$emit("blur", event)),
27181
- onFocus: _cache[3] || (_cache[3] = (event) => _ctx.$emit("focus", event)),
27194
+ onBlur: _ctx.handleBlur,
27195
+ onFocus: _ctx.handleFocus,
27182
27196
  onInput: _ctx.handleInput,
27183
27197
  onChange: _ctx.handleInputChange
27184
- }, null, 8, ["step", "model-value", "placeholder", "disabled", "size", "max", "min", "name", "label", "onKeydown", "onInput", "onChange"])
27198
+ }, null, 8, ["step", "model-value", "placeholder", "disabled", "size", "max", "min", "name", "label", "onKeydown", "onBlur", "onFocus", "onInput", "onChange"])
27185
27199
  ], 34);
27186
27200
  }
27187
27201
 
@@ -31139,6 +31153,10 @@
31139
31153
  scoreTemplate: {
31140
31154
  type: String,
31141
31155
  default: "{value}"
31156
+ },
31157
+ size: {
31158
+ type: String,
31159
+ validator: isValidComponentSize
31142
31160
  }
31143
31161
  });
31144
31162
  const rateEmits = {
@@ -31167,9 +31185,12 @@
31167
31185
  emits: rateEmits,
31168
31186
  setup(props, { emit }) {
31169
31187
  const elForm = vue.inject(elFormKey, {});
31188
+ const rateSize = useSize();
31170
31189
  const currentValue = vue.ref(props.modelValue);
31171
31190
  const hoverIndex = vue.ref(-1);
31172
31191
  const pointerAtLeftHalf = vue.ref(true);
31192
+ const prefix = "el-rate";
31193
+ const rateKls = vue.computed(() => [prefix, `${prefix}--${rateSize.value}`]);
31173
31194
  const rateDisabled = vue.computed(() => props.disabled || elForm.disabled);
31174
31195
  const text = vue.computed(() => {
31175
31196
  let result = "";
@@ -31317,6 +31338,7 @@
31317
31338
  decimalStyle,
31318
31339
  decimalIconComponent,
31319
31340
  iconComponents,
31341
+ rateKls,
31320
31342
  showDecimalIcon,
31321
31343
  getIconStyle,
31322
31344
  selectValue,
@@ -31332,7 +31354,7 @@
31332
31354
  function render$v(_ctx, _cache, $props, $setup, $data, $options) {
31333
31355
  const _component_el_icon = vue.resolveComponent("el-icon");
31334
31356
  return vue.openBlock(), vue.createElementBlock("div", {
31335
- class: "el-rate",
31357
+ class: vue.normalizeClass(_ctx.rateKls),
31336
31358
  role: "slider",
31337
31359
  "aria-valuenow": _ctx.currentValue,
31338
31360
  "aria-valuetext": _ctx.text,
@@ -31376,7 +31398,7 @@
31376
31398
  class: "el-rate__text",
31377
31399
  style: vue.normalizeStyle({ color: _ctx.textColor })
31378
31400
  }, vue.toDisplayString(_ctx.text), 5)) : vue.createCommentVNode("v-if", true)
31379
- ], 40, _hoisted_1$m);
31401
+ ], 42, _hoisted_1$m);
31380
31402
  }
31381
31403
 
31382
31404
  script$A.render = render$v;
@@ -35268,9 +35290,13 @@
35268
35290
  type: Boolean,
35269
35291
  default: true
35270
35292
  },
35293
+ size: {
35294
+ type: String,
35295
+ validator: isValidComponentSize
35296
+ },
35271
35297
  inputSize: {
35272
35298
  type: String,
35273
- default: "small"
35299
+ validator: isValidComponentSize
35274
35300
  },
35275
35301
  showStops: {
35276
35302
  type: Boolean,
@@ -35340,6 +35366,15 @@
35340
35366
  setSecondValue
35341
35367
  } = useSlide(props, initData, emit);
35342
35368
  const { stops, getStopStyle } = useStops(props, initData, minValue, maxValue);
35369
+ const sliderWrapperSize = useSize();
35370
+ const sliderInputSize = vue.computed(() => props.inputSize || sliderWrapperSize.value);
35371
+ const prefix = "el-slider";
35372
+ const sliderKls = vue.computed(() => [
35373
+ prefix,
35374
+ `${prefix}--${sliderWrapperSize.value}`,
35375
+ props.vertical ? "is-vertical" : "",
35376
+ props.showInput ? "el-slider--with-input" : ""
35377
+ ]);
35343
35378
  const markList = useMarks(props);
35344
35379
  useWatch(props, initData, minValue, maxValue, emit, elFormItem);
35345
35380
  const precision = vue.computed(() => {
@@ -35382,7 +35417,10 @@
35382
35417
  setSecondValue,
35383
35418
  stops,
35384
35419
  markList,
35385
- sliderWrapper
35420
+ sliderWrapper,
35421
+ sliderWrapperSize,
35422
+ sliderInputSize,
35423
+ sliderKls
35386
35424
  };
35387
35425
  }
35388
35426
  });
@@ -35493,33 +35531,18 @@
35493
35531
  const _hoisted_2$e = { key: 1 };
35494
35532
  const _hoisted_3$c = { class: "el-slider__marks" };
35495
35533
  function render$m(_ctx, _cache, $props, $setup, $data, $options) {
35496
- const _component_el_input_number = vue.resolveComponent("el-input-number");
35497
35534
  const _component_slider_button = vue.resolveComponent("slider-button");
35498
35535
  const _component_slider_marker = vue.resolveComponent("slider-marker");
35536
+ const _component_el_input_number = vue.resolveComponent("el-input-number");
35499
35537
  return vue.openBlock(), vue.createElementBlock("div", {
35500
35538
  ref: "sliderWrapper",
35501
- class: vue.normalizeClass(["el-slider", { "is-vertical": _ctx.vertical, "el-slider--with-input": _ctx.showInput }]),
35539
+ class: vue.normalizeClass(_ctx.sliderKls),
35502
35540
  role: "slider",
35503
35541
  "aria-valuemin": _ctx.min,
35504
35542
  "aria-valuemax": _ctx.max,
35505
35543
  "aria-orientation": _ctx.vertical ? "vertical" : "horizontal",
35506
35544
  "aria-disabled": _ctx.sliderDisabled
35507
35545
  }, [
35508
- _ctx.showInput && !_ctx.range ? (vue.openBlock(), vue.createBlock(_component_el_input_number, {
35509
- key: 0,
35510
- ref: "input",
35511
- "model-value": _ctx.firstValue,
35512
- class: "el-slider__input",
35513
- step: _ctx.step,
35514
- disabled: _ctx.sliderDisabled,
35515
- controls: _ctx.showInputControls,
35516
- min: _ctx.min,
35517
- max: _ctx.max,
35518
- debounce: _ctx.debounce,
35519
- size: _ctx.inputSize,
35520
- "onUpdate:modelValue": _ctx.setFirstValue,
35521
- onChange: _ctx.emitChange
35522
- }, null, 8, ["model-value", "step", "disabled", "controls", "min", "max", "debounce", "size", "onUpdate:modelValue", "onChange"])) : vue.createCommentVNode("v-if", true),
35523
35546
  vue.createElementVNode("div", {
35524
35547
  ref: "slider",
35525
35548
  class: vue.normalizeClass(["el-slider__runway", { "show-input": _ctx.showInput && !_ctx.range, disabled: _ctx.sliderDisabled }]),
@@ -35574,7 +35597,22 @@
35574
35597
  }), 128))
35575
35598
  ])
35576
35599
  ], 64)) : vue.createCommentVNode("v-if", true)
35577
- ], 6)
35600
+ ], 6),
35601
+ _ctx.showInput && !_ctx.range ? (vue.openBlock(), vue.createBlock(_component_el_input_number, {
35602
+ key: 0,
35603
+ ref: "input",
35604
+ "model-value": _ctx.firstValue,
35605
+ class: "el-slider__input",
35606
+ step: _ctx.step,
35607
+ disabled: _ctx.sliderDisabled,
35608
+ controls: _ctx.showInputControls,
35609
+ min: _ctx.min,
35610
+ max: _ctx.max,
35611
+ debounce: _ctx.debounce,
35612
+ size: _ctx.sliderInputSize,
35613
+ "onUpdate:modelValue": _ctx.setFirstValue,
35614
+ onChange: _ctx.emitChange
35615
+ }, null, 8, ["model-value", "step", "disabled", "controls", "min", "max", "debounce", "size", "onUpdate:modelValue", "onChange"])) : vue.createCommentVNode("v-if", true)
35578
35616
  ], 10, _hoisted_1$h);
35579
35617
  }
35580
35618
 
@@ -36155,6 +36193,10 @@
36155
36193
  },
36156
36194
  beforeChange: {
36157
36195
  type: definePropType(Function)
36196
+ },
36197
+ size: {
36198
+ type: String,
36199
+ validator: isValidComponentSize
36158
36200
  }
36159
36201
  });
36160
36202
  const switchEmits = {
@@ -36172,9 +36214,17 @@
36172
36214
  setup(props, { emit }) {
36173
36215
  const { formItem } = useFormItem();
36174
36216
  const switchDisabled = useDisabled$1(vue.computed(() => props.loading));
36217
+ const switchSize = useSize();
36175
36218
  const isModelValue = vue.ref(props.modelValue !== false);
36176
36219
  const input = vue.ref();
36177
36220
  const core = vue.ref();
36221
+ const prefix = "el-switch";
36222
+ const switchKls = vue.computed(() => [
36223
+ prefix,
36224
+ `${prefix}--${switchSize.value}`,
36225
+ switchDisabled.value ? "is-disabled" : "",
36226
+ checked.value ? "is-checked" : ""
36227
+ ]);
36178
36228
  vue.watch(() => props.modelValue, () => {
36179
36229
  isModelValue.value = true;
36180
36230
  });
@@ -36258,6 +36308,7 @@
36258
36308
  core,
36259
36309
  switchDisabled,
36260
36310
  checked,
36311
+ switchKls,
36261
36312
  handleChange,
36262
36313
  switchValue,
36263
36314
  focus
@@ -36280,7 +36331,7 @@
36280
36331
  const _component_el_icon = vue.resolveComponent("el-icon");
36281
36332
  const _component_loading = vue.resolveComponent("loading");
36282
36333
  return vue.openBlock(), vue.createElementBlock("div", {
36283
- class: vue.normalizeClass(["el-switch", { "is-disabled": _ctx.switchDisabled, "is-checked": _ctx.checked }]),
36334
+ class: vue.normalizeClass(_ctx.switchKls),
36284
36335
  role: "switch",
36285
36336
  "aria-checked": _ctx.checked,
36286
36337
  "aria-disabled": _ctx.switchDisabled,
@@ -36531,18 +36582,22 @@
36531
36582
  return options;
36532
36583
  }
36533
36584
  function parseWidth(width) {
36585
+ if (width === "")
36586
+ return width;
36534
36587
  if (width !== void 0) {
36535
36588
  width = parseInt(width, 10);
36536
- if (isNaN(width)) {
36537
- width = null;
36589
+ if (Number.isNaN(width)) {
36590
+ width = "";
36538
36591
  }
36539
36592
  }
36540
- return +width;
36593
+ return width;
36541
36594
  }
36542
36595
  function parseMinWidth(minWidth) {
36543
- if (typeof minWidth !== "undefined") {
36596
+ if (minWidth === "")
36597
+ return minWidth;
36598
+ if (minWidth !== void 0) {
36544
36599
  minWidth = parseWidth(minWidth);
36545
- if (isNaN(minWidth)) {
36600
+ if (Number.isNaN(minWidth)) {
36546
36601
  minWidth = 80;
36547
36602
  }
36548
36603
  }
@@ -37773,8 +37828,7 @@
37773
37828
  if (this.bodyHeight.value === null) {
37774
37829
  scrollY = false;
37775
37830
  } else {
37776
- const body = bodyWrapper.querySelector(".el-table__body");
37777
- scrollY = body.offsetHeight > this.bodyHeight.value;
37831
+ scrollY = bodyWrapper.scrollHeight > this.bodyHeight.value;
37778
37832
  }
37779
37833
  this.scrollY.value = scrollY;
37780
37834
  return prevScrollY !== scrollY;
@@ -47559,6 +47613,7 @@
47559
47613
  default: vue.withCtx(() => [
47560
47614
  vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
47561
47615
  ref: "root",
47616
+ role: "dialog",
47562
47617
  "aria-label": _ctx.title || "dialog",
47563
47618
  "aria-modal": "true",
47564
47619
  class: vue.normalizeClass([