@element-plus/nightly 0.0.20221023 → 0.0.20221024

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 (264) hide show
  1. package/dist/index.full.js +253 -215
  2. package/dist/index.full.min.js +12 -12
  3. package/dist/index.full.min.js.map +1 -1
  4. package/dist/index.full.min.mjs +10 -10
  5. package/dist/index.full.min.mjs.map +1 -1
  6. package/dist/index.full.mjs +253 -215
  7. package/dist/locale/af.js +1 -1
  8. package/dist/locale/af.min.js +1 -1
  9. package/dist/locale/af.min.mjs +1 -1
  10. package/dist/locale/af.mjs +1 -1
  11. package/dist/locale/ar.js +1 -1
  12. package/dist/locale/ar.min.js +1 -1
  13. package/dist/locale/ar.min.mjs +1 -1
  14. package/dist/locale/ar.mjs +1 -1
  15. package/dist/locale/az.js +1 -1
  16. package/dist/locale/az.min.js +1 -1
  17. package/dist/locale/az.min.mjs +1 -1
  18. package/dist/locale/az.mjs +1 -1
  19. package/dist/locale/bg.js +1 -1
  20. package/dist/locale/bg.min.js +1 -1
  21. package/dist/locale/bg.min.mjs +1 -1
  22. package/dist/locale/bg.mjs +1 -1
  23. package/dist/locale/bn.js +1 -1
  24. package/dist/locale/bn.min.js +1 -1
  25. package/dist/locale/bn.min.mjs +1 -1
  26. package/dist/locale/bn.mjs +1 -1
  27. package/dist/locale/ca.js +1 -1
  28. package/dist/locale/ca.min.js +1 -1
  29. package/dist/locale/ca.min.mjs +1 -1
  30. package/dist/locale/ca.mjs +1 -1
  31. package/dist/locale/cs.js +1 -1
  32. package/dist/locale/cs.min.js +1 -1
  33. package/dist/locale/cs.min.mjs +1 -1
  34. package/dist/locale/cs.mjs +1 -1
  35. package/dist/locale/da.js +1 -1
  36. package/dist/locale/da.min.js +1 -1
  37. package/dist/locale/da.min.mjs +1 -1
  38. package/dist/locale/da.mjs +1 -1
  39. package/dist/locale/de.js +1 -1
  40. package/dist/locale/de.min.js +1 -1
  41. package/dist/locale/de.min.mjs +1 -1
  42. package/dist/locale/de.mjs +1 -1
  43. package/dist/locale/el.js +1 -1
  44. package/dist/locale/el.min.js +1 -1
  45. package/dist/locale/el.min.mjs +1 -1
  46. package/dist/locale/el.mjs +1 -1
  47. package/dist/locale/en.js +1 -1
  48. package/dist/locale/en.min.js +1 -1
  49. package/dist/locale/en.min.mjs +1 -1
  50. package/dist/locale/en.mjs +1 -1
  51. package/dist/locale/eo.js +1 -1
  52. package/dist/locale/eo.min.js +1 -1
  53. package/dist/locale/eo.min.mjs +1 -1
  54. package/dist/locale/eo.mjs +1 -1
  55. package/dist/locale/es.js +1 -1
  56. package/dist/locale/es.min.js +1 -1
  57. package/dist/locale/es.min.mjs +1 -1
  58. package/dist/locale/es.mjs +1 -1
  59. package/dist/locale/et.js +1 -1
  60. package/dist/locale/et.min.js +1 -1
  61. package/dist/locale/et.min.mjs +1 -1
  62. package/dist/locale/et.mjs +1 -1
  63. package/dist/locale/eu.js +1 -1
  64. package/dist/locale/eu.min.js +1 -1
  65. package/dist/locale/eu.min.mjs +1 -1
  66. package/dist/locale/eu.mjs +1 -1
  67. package/dist/locale/fa.js +1 -1
  68. package/dist/locale/fa.min.js +1 -1
  69. package/dist/locale/fa.min.mjs +1 -1
  70. package/dist/locale/fa.mjs +1 -1
  71. package/dist/locale/fi.js +1 -1
  72. package/dist/locale/fi.min.js +1 -1
  73. package/dist/locale/fi.min.mjs +1 -1
  74. package/dist/locale/fi.mjs +1 -1
  75. package/dist/locale/fr.js +1 -1
  76. package/dist/locale/fr.min.js +1 -1
  77. package/dist/locale/fr.min.mjs +1 -1
  78. package/dist/locale/fr.mjs +1 -1
  79. package/dist/locale/he.js +1 -1
  80. package/dist/locale/he.min.js +1 -1
  81. package/dist/locale/he.min.mjs +1 -1
  82. package/dist/locale/he.mjs +1 -1
  83. package/dist/locale/hr.js +1 -1
  84. package/dist/locale/hr.min.js +1 -1
  85. package/dist/locale/hr.min.mjs +1 -1
  86. package/dist/locale/hr.mjs +1 -1
  87. package/dist/locale/hu.js +1 -1
  88. package/dist/locale/hu.min.js +1 -1
  89. package/dist/locale/hu.min.mjs +1 -1
  90. package/dist/locale/hu.mjs +1 -1
  91. package/dist/locale/hy-am.js +1 -1
  92. package/dist/locale/hy-am.min.js +1 -1
  93. package/dist/locale/hy-am.min.mjs +1 -1
  94. package/dist/locale/hy-am.mjs +1 -1
  95. package/dist/locale/id.js +1 -1
  96. package/dist/locale/id.min.js +1 -1
  97. package/dist/locale/id.min.mjs +1 -1
  98. package/dist/locale/id.mjs +1 -1
  99. package/dist/locale/it.js +1 -1
  100. package/dist/locale/it.min.js +1 -1
  101. package/dist/locale/it.min.mjs +1 -1
  102. package/dist/locale/it.mjs +1 -1
  103. package/dist/locale/ja.js +1 -1
  104. package/dist/locale/ja.min.js +1 -1
  105. package/dist/locale/ja.min.mjs +1 -1
  106. package/dist/locale/ja.mjs +1 -1
  107. package/dist/locale/kk.js +1 -1
  108. package/dist/locale/kk.min.js +1 -1
  109. package/dist/locale/kk.min.mjs +1 -1
  110. package/dist/locale/kk.mjs +1 -1
  111. package/dist/locale/km.js +1 -1
  112. package/dist/locale/km.min.js +1 -1
  113. package/dist/locale/km.min.mjs +1 -1
  114. package/dist/locale/km.mjs +1 -1
  115. package/dist/locale/ko.js +1 -1
  116. package/dist/locale/ko.min.js +1 -1
  117. package/dist/locale/ko.min.mjs +1 -1
  118. package/dist/locale/ko.mjs +1 -1
  119. package/dist/locale/ku.js +1 -1
  120. package/dist/locale/ku.min.js +1 -1
  121. package/dist/locale/ku.min.mjs +1 -1
  122. package/dist/locale/ku.mjs +1 -1
  123. package/dist/locale/ky.js +1 -1
  124. package/dist/locale/ky.min.js +1 -1
  125. package/dist/locale/ky.min.mjs +1 -1
  126. package/dist/locale/ky.mjs +1 -1
  127. package/dist/locale/lt.js +1 -1
  128. package/dist/locale/lt.min.js +1 -1
  129. package/dist/locale/lt.min.mjs +1 -1
  130. package/dist/locale/lt.mjs +1 -1
  131. package/dist/locale/lv.js +1 -1
  132. package/dist/locale/lv.min.js +1 -1
  133. package/dist/locale/lv.min.mjs +1 -1
  134. package/dist/locale/lv.mjs +1 -1
  135. package/dist/locale/mg.js +1 -1
  136. package/dist/locale/mg.min.js +1 -1
  137. package/dist/locale/mg.min.mjs +1 -1
  138. package/dist/locale/mg.mjs +1 -1
  139. package/dist/locale/mn.js +1 -1
  140. package/dist/locale/mn.min.js +1 -1
  141. package/dist/locale/mn.min.mjs +1 -1
  142. package/dist/locale/mn.mjs +1 -1
  143. package/dist/locale/nb-no.js +1 -1
  144. package/dist/locale/nb-no.min.js +1 -1
  145. package/dist/locale/nb-no.min.mjs +1 -1
  146. package/dist/locale/nb-no.mjs +1 -1
  147. package/dist/locale/nl.js +1 -1
  148. package/dist/locale/nl.min.js +1 -1
  149. package/dist/locale/nl.min.mjs +1 -1
  150. package/dist/locale/nl.mjs +1 -1
  151. package/dist/locale/pa.js +1 -1
  152. package/dist/locale/pa.min.js +1 -1
  153. package/dist/locale/pa.min.mjs +1 -1
  154. package/dist/locale/pa.mjs +1 -1
  155. package/dist/locale/pl.js +1 -1
  156. package/dist/locale/pl.min.js +1 -1
  157. package/dist/locale/pl.min.mjs +1 -1
  158. package/dist/locale/pl.mjs +1 -1
  159. package/dist/locale/pt-br.js +1 -1
  160. package/dist/locale/pt-br.min.js +1 -1
  161. package/dist/locale/pt-br.min.mjs +1 -1
  162. package/dist/locale/pt-br.mjs +1 -1
  163. package/dist/locale/pt.js +1 -1
  164. package/dist/locale/pt.min.js +1 -1
  165. package/dist/locale/pt.min.mjs +1 -1
  166. package/dist/locale/pt.mjs +1 -1
  167. package/dist/locale/ro.js +1 -1
  168. package/dist/locale/ro.min.js +1 -1
  169. package/dist/locale/ro.min.mjs +1 -1
  170. package/dist/locale/ro.mjs +1 -1
  171. package/dist/locale/ru.js +1 -1
  172. package/dist/locale/ru.min.js +1 -1
  173. package/dist/locale/ru.min.mjs +1 -1
  174. package/dist/locale/ru.mjs +1 -1
  175. package/dist/locale/sk.js +1 -1
  176. package/dist/locale/sk.min.js +1 -1
  177. package/dist/locale/sk.min.mjs +1 -1
  178. package/dist/locale/sk.mjs +1 -1
  179. package/dist/locale/sl.js +1 -1
  180. package/dist/locale/sl.min.js +1 -1
  181. package/dist/locale/sl.min.mjs +1 -1
  182. package/dist/locale/sl.mjs +1 -1
  183. package/dist/locale/sr.js +1 -1
  184. package/dist/locale/sr.min.js +1 -1
  185. package/dist/locale/sr.min.mjs +1 -1
  186. package/dist/locale/sr.mjs +1 -1
  187. package/dist/locale/sv.js +1 -1
  188. package/dist/locale/sv.min.js +1 -1
  189. package/dist/locale/sv.min.mjs +1 -1
  190. package/dist/locale/sv.mjs +1 -1
  191. package/dist/locale/ta.js +1 -1
  192. package/dist/locale/ta.min.js +1 -1
  193. package/dist/locale/ta.min.mjs +1 -1
  194. package/dist/locale/ta.mjs +1 -1
  195. package/dist/locale/th.js +1 -1
  196. package/dist/locale/th.min.js +1 -1
  197. package/dist/locale/th.min.mjs +1 -1
  198. package/dist/locale/th.mjs +1 -1
  199. package/dist/locale/tk.js +1 -1
  200. package/dist/locale/tk.min.js +1 -1
  201. package/dist/locale/tk.min.mjs +1 -1
  202. package/dist/locale/tk.mjs +1 -1
  203. package/dist/locale/tr.js +1 -1
  204. package/dist/locale/tr.min.js +1 -1
  205. package/dist/locale/tr.min.mjs +1 -1
  206. package/dist/locale/tr.mjs +1 -1
  207. package/dist/locale/ug-cn.js +1 -1
  208. package/dist/locale/ug-cn.min.js +1 -1
  209. package/dist/locale/ug-cn.min.mjs +1 -1
  210. package/dist/locale/ug-cn.mjs +1 -1
  211. package/dist/locale/uk.js +1 -1
  212. package/dist/locale/uk.min.js +1 -1
  213. package/dist/locale/uk.min.mjs +1 -1
  214. package/dist/locale/uk.mjs +1 -1
  215. package/dist/locale/uz-uz.js +1 -1
  216. package/dist/locale/uz-uz.min.js +1 -1
  217. package/dist/locale/uz-uz.min.mjs +1 -1
  218. package/dist/locale/uz-uz.mjs +1 -1
  219. package/dist/locale/vi.js +1 -1
  220. package/dist/locale/vi.min.js +1 -1
  221. package/dist/locale/vi.min.mjs +1 -1
  222. package/dist/locale/vi.mjs +1 -1
  223. package/dist/locale/zh-cn.js +1 -1
  224. package/dist/locale/zh-cn.min.js +1 -1
  225. package/dist/locale/zh-cn.min.mjs +1 -1
  226. package/dist/locale/zh-cn.mjs +1 -1
  227. package/dist/locale/zh-tw.js +1 -1
  228. package/dist/locale/zh-tw.min.js +1 -1
  229. package/dist/locale/zh-tw.min.mjs +1 -1
  230. package/dist/locale/zh-tw.mjs +1 -1
  231. package/es/components/carousel/index.d.ts +18 -34
  232. package/es/components/carousel/index.mjs.map +1 -1
  233. package/es/components/carousel/src/carousel.d.ts +0 -2
  234. package/es/components/carousel/src/carousel.mjs.map +1 -1
  235. package/es/components/carousel/src/carousel.vue.d.ts +66 -84
  236. package/es/components/carousel/src/carousel2.mjs +40 -207
  237. package/es/components/carousel/src/carousel2.mjs.map +1 -1
  238. package/es/components/carousel/src/instance.d.ts +2 -0
  239. package/es/components/carousel/src/instance.mjs +2 -0
  240. package/es/components/carousel/src/instance.mjs.map +1 -0
  241. package/es/components/carousel/src/use-carousel.d.ts +21 -0
  242. package/es/components/carousel/src/use-carousel.mjs +210 -0
  243. package/es/components/carousel/src/use-carousel.mjs.map +1 -0
  244. package/es/version.d.ts +1 -1
  245. package/es/version.mjs +1 -1
  246. package/es/version.mjs.map +1 -1
  247. package/lib/components/carousel/index.d.ts +18 -34
  248. package/lib/components/carousel/index.js.map +1 -1
  249. package/lib/components/carousel/src/carousel.d.ts +0 -2
  250. package/lib/components/carousel/src/carousel.js.map +1 -1
  251. package/lib/components/carousel/src/carousel.vue.d.ts +66 -84
  252. package/lib/components/carousel/src/carousel2.js +42 -209
  253. package/lib/components/carousel/src/carousel2.js.map +1 -1
  254. package/lib/components/carousel/src/instance.d.ts +2 -0
  255. package/lib/components/carousel/src/instance.js +3 -0
  256. package/lib/components/carousel/src/instance.js.map +1 -0
  257. package/lib/components/carousel/src/use-carousel.d.ts +21 -0
  258. package/lib/components/carousel/src/use-carousel.js +214 -0
  259. package/lib/components/carousel/src/use-carousel.js.map +1 -0
  260. package/lib/version.d.ts +1 -1
  261. package/lib/version.js +1 -1
  262. package/lib/version.js.map +1 -1
  263. package/package.json +2 -2
  264. package/web-types.json +1 -1
@@ -1,4 +1,4 @@
1
- /*! Element Plus v0.0.20221023 */
1
+ /*! Element Plus v0.0.20221024 */
2
2
 
3
3
  import { getCurrentScope, onScopeDispose, unref, readonly, shallowRef, watchEffect, ref, watch, getCurrentInstance, onMounted, nextTick, computed as computed$1, openBlock, createElementBlock, createElementVNode, warn, isVNode, Fragment, Comment, inject, provide, onBeforeUnmount, toRef, onUnmounted, isRef, h as h$1, Teleport, onBeforeMount, defineComponent, normalizeClass, normalizeStyle, renderSlot, mergeProps, useSlots, createBlock, Transition, withCtx, withDirectives, resolveDynamicComponent, createCommentVNode, createTextVNode, toDisplayString, createVNode, vShow, useAttrs as useAttrs$1, withModifiers, reactive, onUpdated, cloneVNode, Text, onDeactivated, renderList, withKeys, createSlots, toRefs, normalizeProps, toRaw as toRaw$1, vModelCheckbox, vModelRadio, resolveComponent, onBeforeUpdate, resolveDirective, vModelText, toHandlers, guardReactiveProps, markRaw, effectScope, triggerRef, shallowReactive, TransitionGroup, createApp, render } from 'vue';
4
4
 
@@ -11068,7 +11068,7 @@ const useOrderedChildren = (vm, childComponentName) => {
11068
11068
  };
11069
11069
  };
11070
11070
 
11071
- const version$1 = "0.0.20221023";
11071
+ const version$1 = "0.0.20221024";
11072
11072
 
11073
11073
  const makeInstaller = (components = []) => {
11074
11074
  const install = (app, options) => {
@@ -11117,9 +11117,9 @@ var _export_sfc = (sfc, props) => {
11117
11117
  return target;
11118
11118
  };
11119
11119
 
11120
- const COMPONENT_NAME$k = "ElAffix";
11120
+ const COMPONENT_NAME$l = "ElAffix";
11121
11121
  const __default__$1w = defineComponent({
11122
- name: COMPONENT_NAME$k
11122
+ name: COMPONENT_NAME$l
11123
11123
  });
11124
11124
  const _sfc_main$2f = /* @__PURE__ */ defineComponent({
11125
11125
  ...__default__$1w,
@@ -11195,7 +11195,7 @@ const _sfc_main$2f = /* @__PURE__ */ defineComponent({
11195
11195
  if (props.target) {
11196
11196
  target.value = (_a = document.querySelector(props.target)) != null ? _a : void 0;
11197
11197
  if (!target.value)
11198
- throwError(COMPONENT_NAME$k, `Target is not existed: ${props.target}`);
11198
+ throwError(COMPONENT_NAME$l, `Target is not existed: ${props.target}`);
11199
11199
  } else {
11200
11200
  target.value = document.documentElement;
11201
11201
  }
@@ -11576,7 +11576,7 @@ const inputEmits = {
11576
11576
 
11577
11577
  const _hoisted_1$13 = ["role"];
11578
11578
  const _hoisted_2$G = ["id", "type", "disabled", "formatter", "parser", "readonly", "autocomplete", "tabindex", "aria-label", "placeholder", "form"];
11579
- const _hoisted_3$l = ["id", "tabindex", "disabled", "readonly", "autocomplete", "aria-label", "placeholder", "form"];
11579
+ const _hoisted_3$k = ["id", "tabindex", "disabled", "readonly", "autocomplete", "aria-label", "placeholder", "form"];
11580
11580
  const __default__$1t = defineComponent({
11581
11581
  name: "ElInput",
11582
11582
  inheritAttrs: false
@@ -11967,7 +11967,7 @@ const _sfc_main$2c = /* @__PURE__ */ defineComponent({
11967
11967
  onBlur: handleBlur,
11968
11968
  onChange: handleChange,
11969
11969
  onKeydown: handleKeydown
11970
- }), null, 16, _hoisted_3$l),
11970
+ }), null, 16, _hoisted_3$k),
11971
11971
  unref(isWordLimitVisible) ? (openBlock(), createElementBlock("span", {
11972
11972
  key: 0,
11973
11973
  style: normalizeStyle(countStyle.value),
@@ -12027,7 +12027,7 @@ const thumbProps = buildProps({
12027
12027
  always: Boolean
12028
12028
  });
12029
12029
 
12030
- const COMPONENT_NAME$j = "Thumb";
12030
+ const COMPONENT_NAME$k = "Thumb";
12031
12031
  const _sfc_main$2b = /* @__PURE__ */ defineComponent({
12032
12032
  __name: "thumb",
12033
12033
  props: thumbProps,
@@ -12036,7 +12036,7 @@ const _sfc_main$2b = /* @__PURE__ */ defineComponent({
12036
12036
  const scrollbar = inject(scrollbarContextKey);
12037
12037
  const ns = useNamespace("scrollbar");
12038
12038
  if (!scrollbar)
12039
- throwError(COMPONENT_NAME$j, "can not inject scrollbar context");
12039
+ throwError(COMPONENT_NAME$k, "can not inject scrollbar context");
12040
12040
  const instance = ref();
12041
12041
  const thumb = ref();
12042
12042
  const thumbState = ref({});
@@ -13993,10 +13993,10 @@ const autocompleteEmits = {
13993
13993
 
13994
13994
  const _hoisted_1$11 = ["aria-expanded", "aria-owns"];
13995
13995
  const _hoisted_2$E = { key: 0 };
13996
- const _hoisted_3$k = ["id", "aria-selected", "onClick"];
13997
- const COMPONENT_NAME$i = "ElAutocomplete";
13996
+ const _hoisted_3$j = ["id", "aria-selected", "onClick"];
13997
+ const COMPONENT_NAME$j = "ElAutocomplete";
13998
13998
  const __default__$1k = defineComponent({
13999
- name: COMPONENT_NAME$i,
13999
+ name: COMPONENT_NAME$j,
14000
14000
  inheritAttrs: false
14001
14001
  });
14002
14002
  const _sfc_main$20 = /* @__PURE__ */ defineComponent({
@@ -14058,7 +14058,7 @@ const _sfc_main$20 = /* @__PURE__ */ defineComponent({
14058
14058
  suggestions.value = suggestionList;
14059
14059
  highlightedIndex.value = props.highlightFirstItem ? 0 : -1;
14060
14060
  } else {
14061
- throwError(COMPONENT_NAME$i, "autocomplete suggestions must be an array");
14061
+ throwError(COMPONENT_NAME$j, "autocomplete suggestions must be an array");
14062
14062
  }
14063
14063
  };
14064
14064
  loading.value = true;
@@ -14256,7 +14256,7 @@ const _sfc_main$20 = /* @__PURE__ */ defineComponent({
14256
14256
  renderSlot(_ctx.$slots, "default", { item }, () => [
14257
14257
  createTextVNode(toDisplayString(item[_ctx.valueKey]), 1)
14258
14258
  ])
14259
- ], 10, _hoisted_3$k);
14259
+ ], 10, _hoisted_3$j);
14260
14260
  }), 128))
14261
14261
  ]),
14262
14262
  _: 3
@@ -14494,9 +14494,9 @@ const useBackTop = (props, emit, componentName) => {
14494
14494
  };
14495
14495
  };
14496
14496
 
14497
- const COMPONENT_NAME$h = "ElBacktop";
14497
+ const COMPONENT_NAME$i = "ElBacktop";
14498
14498
  const __default__$1i = defineComponent({
14499
- name: COMPONENT_NAME$h
14499
+ name: COMPONENT_NAME$i
14500
14500
  });
14501
14501
  const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
14502
14502
  ...__default__$1i,
@@ -14505,7 +14505,7 @@ const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
14505
14505
  setup(__props, { emit }) {
14506
14506
  const props = __props;
14507
14507
  const ns = useNamespace("backtop");
14508
- const { handleClick, visible } = useBackTop(props, emit, COMPONENT_NAME$h);
14508
+ const { handleClick, visible } = useBackTop(props, emit, COMPONENT_NAME$i);
14509
14509
  const backTopStyle = computed$1(() => ({
14510
14510
  right: `${props.right}px`,
14511
14511
  bottom: `${props.bottom}px`
@@ -18521,9 +18521,9 @@ const calendarEmits = {
18521
18521
  [INPUT_EVENT]: (value) => isDate(value)
18522
18522
  };
18523
18523
 
18524
- const COMPONENT_NAME$g = "ElCalendar";
18524
+ const COMPONENT_NAME$h = "ElCalendar";
18525
18525
  const __default__$1a = defineComponent({
18526
- name: COMPONENT_NAME$g
18526
+ name: COMPONENT_NAME$h
18527
18527
  });
18528
18528
  const _sfc_main$1P = /* @__PURE__ */ defineComponent({
18529
18529
  ...__default__$1a,
@@ -18756,12 +18756,207 @@ const carouselEmits = {
18756
18756
  change: (current, prev) => [current, prev].every(isNumber)
18757
18757
  };
18758
18758
 
18759
- const _hoisted_1$V = ["onMouseenter", "onMouseleave"];
18760
- const _hoisted_2$A = ["onMouseenter", "onClick"];
18761
- const _hoisted_3$j = { key: 0 };
18762
18759
  const THROTTLE_TIME = 300;
18760
+ const useCarousel = (props, emit, componentName) => {
18761
+ const {
18762
+ children: items,
18763
+ addChild: addItem,
18764
+ removeChild: removeItem
18765
+ } = useOrderedChildren(getCurrentInstance(), "ElCarouselItem");
18766
+ const activeIndex = ref(-1);
18767
+ const timer = ref(null);
18768
+ const hover = ref(false);
18769
+ const root = ref();
18770
+ const arrowDisplay = computed$1(() => props.arrow !== "never" && !unref(isVertical));
18771
+ const hasLabel = computed$1(() => {
18772
+ return items.value.some((item) => item.props.label.toString().length > 0);
18773
+ });
18774
+ const isCardType = computed$1(() => props.type === "card");
18775
+ const isVertical = computed$1(() => props.direction === "vertical");
18776
+ const throttledArrowClick = throttle((index) => {
18777
+ setActiveItem(index);
18778
+ }, THROTTLE_TIME, { trailing: true });
18779
+ const throttledIndicatorHover = throttle((index) => {
18780
+ handleIndicatorHover(index);
18781
+ }, THROTTLE_TIME);
18782
+ function pauseTimer() {
18783
+ if (timer.value) {
18784
+ clearInterval(timer.value);
18785
+ timer.value = null;
18786
+ }
18787
+ }
18788
+ function startTimer() {
18789
+ if (props.interval <= 0 || !props.autoplay || timer.value)
18790
+ return;
18791
+ timer.value = setInterval(() => playSlides(), props.interval);
18792
+ }
18793
+ const playSlides = () => {
18794
+ if (activeIndex.value < items.value.length - 1) {
18795
+ activeIndex.value = activeIndex.value + 1;
18796
+ } else if (props.loop) {
18797
+ activeIndex.value = 0;
18798
+ }
18799
+ };
18800
+ function setActiveItem(index) {
18801
+ if (isString(index)) {
18802
+ const filteredItems = items.value.filter((item) => item.props.name === index);
18803
+ if (filteredItems.length > 0) {
18804
+ index = items.value.indexOf(filteredItems[0]);
18805
+ }
18806
+ }
18807
+ index = Number(index);
18808
+ if (Number.isNaN(index) || index !== Math.floor(index)) {
18809
+ return;
18810
+ }
18811
+ const itemCount = items.value.length;
18812
+ const oldIndex = activeIndex.value;
18813
+ if (index < 0) {
18814
+ activeIndex.value = props.loop ? itemCount - 1 : 0;
18815
+ } else if (index >= itemCount) {
18816
+ activeIndex.value = props.loop ? 0 : itemCount - 1;
18817
+ } else {
18818
+ activeIndex.value = index;
18819
+ }
18820
+ if (oldIndex === activeIndex.value) {
18821
+ resetItemPosition(oldIndex);
18822
+ }
18823
+ resetTimer();
18824
+ }
18825
+ function resetItemPosition(oldIndex) {
18826
+ items.value.forEach((item, index) => {
18827
+ item.translateItem(index, activeIndex.value, oldIndex);
18828
+ });
18829
+ }
18830
+ function itemInStage(item, index) {
18831
+ var _a, _b, _c, _d;
18832
+ const _items = unref(items);
18833
+ const itemCount = _items.length;
18834
+ if (itemCount === 0 || !item.states.inStage)
18835
+ return false;
18836
+ const nextItemIndex = index + 1;
18837
+ const prevItemIndex = index - 1;
18838
+ const lastItemIndex = itemCount - 1;
18839
+ const isLastItemActive = _items[lastItemIndex].states.active;
18840
+ const isFirstItemActive = _items[0].states.active;
18841
+ const isNextItemActive = (_b = (_a = _items[nextItemIndex]) == null ? void 0 : _a.states) == null ? void 0 : _b.active;
18842
+ const isPrevItemActive = (_d = (_c = _items[prevItemIndex]) == null ? void 0 : _c.states) == null ? void 0 : _d.active;
18843
+ if (index === lastItemIndex && isFirstItemActive || isNextItemActive) {
18844
+ return "left";
18845
+ } else if (index === 0 && isLastItemActive || isPrevItemActive) {
18846
+ return "right";
18847
+ }
18848
+ return false;
18849
+ }
18850
+ function handleMouseEnter() {
18851
+ hover.value = true;
18852
+ if (props.pauseOnHover) {
18853
+ pauseTimer();
18854
+ }
18855
+ }
18856
+ function handleMouseLeave() {
18857
+ hover.value = false;
18858
+ startTimer();
18859
+ }
18860
+ function handleButtonEnter(arrow) {
18861
+ if (unref(isVertical))
18862
+ return;
18863
+ items.value.forEach((item, index) => {
18864
+ if (arrow === itemInStage(item, index)) {
18865
+ item.states.hover = true;
18866
+ }
18867
+ });
18868
+ }
18869
+ function handleButtonLeave() {
18870
+ if (unref(isVertical))
18871
+ return;
18872
+ items.value.forEach((item) => {
18873
+ item.states.hover = false;
18874
+ });
18875
+ }
18876
+ function handleIndicatorClick(index) {
18877
+ activeIndex.value = index;
18878
+ }
18879
+ function handleIndicatorHover(index) {
18880
+ if (props.trigger === "hover" && index !== activeIndex.value) {
18881
+ activeIndex.value = index;
18882
+ }
18883
+ }
18884
+ function prev() {
18885
+ setActiveItem(activeIndex.value - 1);
18886
+ }
18887
+ function next() {
18888
+ setActiveItem(activeIndex.value + 1);
18889
+ }
18890
+ function resetTimer() {
18891
+ pauseTimer();
18892
+ startTimer();
18893
+ }
18894
+ watch(() => activeIndex.value, (current, prev2) => {
18895
+ resetItemPosition(prev2);
18896
+ if (prev2 > -1) {
18897
+ emit("change", current, prev2);
18898
+ }
18899
+ });
18900
+ watch(() => props.autoplay, (autoplay) => {
18901
+ autoplay ? startTimer() : pauseTimer();
18902
+ });
18903
+ watch(() => props.loop, () => {
18904
+ setActiveItem(activeIndex.value);
18905
+ });
18906
+ watch(() => props.interval, () => {
18907
+ resetTimer();
18908
+ });
18909
+ watch(() => items.value, () => {
18910
+ if (items.value.length > 0)
18911
+ setActiveItem(props.initialIndex);
18912
+ });
18913
+ const resizeObserver = shallowRef();
18914
+ onMounted(() => {
18915
+ resizeObserver.value = useResizeObserver(root.value, () => {
18916
+ resetItemPosition();
18917
+ });
18918
+ startTimer();
18919
+ });
18920
+ onBeforeUnmount(() => {
18921
+ pauseTimer();
18922
+ if (root.value && resizeObserver.value)
18923
+ resizeObserver.value.stop();
18924
+ });
18925
+ provide(carouselContextKey, {
18926
+ root,
18927
+ isCardType,
18928
+ isVertical,
18929
+ items,
18930
+ loop: props.loop,
18931
+ addItem,
18932
+ removeItem,
18933
+ setActiveItem
18934
+ });
18935
+ return {
18936
+ activeIndex,
18937
+ arrowDisplay,
18938
+ hasLabel,
18939
+ hover,
18940
+ isCardType,
18941
+ items,
18942
+ handleButtonEnter,
18943
+ handleButtonLeave,
18944
+ handleIndicatorClick,
18945
+ handleMouseEnter,
18946
+ handleMouseLeave,
18947
+ setActiveItem,
18948
+ prev,
18949
+ next,
18950
+ throttledArrowClick,
18951
+ throttledIndicatorHover
18952
+ };
18953
+ };
18954
+
18955
+ const _hoisted_1$V = ["onMouseenter", "onClick"];
18956
+ const _hoisted_2$A = { key: 0 };
18957
+ const COMPONENT_NAME$g = "ElCarousel";
18763
18958
  const __default__$18 = defineComponent({
18764
- name: "ElCarousel"
18959
+ name: COMPONENT_NAME$g
18765
18960
  });
18766
18961
  const _sfc_main$1N = /* @__PURE__ */ defineComponent({
18767
18962
  ...__default__$18,
@@ -18769,20 +18964,25 @@ const _sfc_main$1N = /* @__PURE__ */ defineComponent({
18769
18964
  emits: carouselEmits,
18770
18965
  setup(__props, { expose, emit }) {
18771
18966
  const props = __props;
18772
- const ns = useNamespace("carousel");
18773
18967
  const {
18774
- children: items,
18775
- addChild: addItem,
18776
- removeChild: removeItem
18777
- } = useOrderedChildren(getCurrentInstance(), "ElCarouselItem");
18778
- const activeIndex = ref(-1);
18779
- const timer = ref(null);
18780
- const hover = ref(false);
18781
- const root = ref();
18782
- const arrowDisplay = computed$1(() => props.arrow !== "never" && !unref(isVertical));
18783
- const hasLabel = computed$1(() => {
18784
- return items.value.some((item) => item.props.label.toString().length > 0);
18785
- });
18968
+ activeIndex,
18969
+ arrowDisplay,
18970
+ hasLabel,
18971
+ hover,
18972
+ isCardType,
18973
+ items,
18974
+ handleButtonEnter,
18975
+ handleButtonLeave,
18976
+ handleIndicatorClick,
18977
+ handleMouseEnter,
18978
+ handleMouseLeave,
18979
+ setActiveItem,
18980
+ prev,
18981
+ next,
18982
+ throttledArrowClick,
18983
+ throttledIndicatorHover
18984
+ } = useCarousel(props, emit);
18985
+ const ns = useNamespace("carousel");
18786
18986
  const carouselClasses = computed$1(() => {
18787
18987
  const classes = [ns.b(), ns.m(props.direction)];
18788
18988
  if (unref(isCardType)) {
@@ -18792,7 +18992,7 @@ const _sfc_main$1N = /* @__PURE__ */ defineComponent({
18792
18992
  });
18793
18993
  const indicatorsClasses = computed$1(() => {
18794
18994
  const classes = [ns.e("indicators"), ns.em("indicators", props.direction)];
18795
- if (hasLabel.value) {
18995
+ if (unref(hasLabel)) {
18796
18996
  classes.push(ns.em("indicators", "labels"));
18797
18997
  }
18798
18998
  if (props.indicatorPosition === "outside" || unref(isCardType)) {
@@ -18800,167 +19000,6 @@ const _sfc_main$1N = /* @__PURE__ */ defineComponent({
18800
19000
  }
18801
19001
  return classes;
18802
19002
  });
18803
- const isCardType = computed$1(() => props.type === "card");
18804
- const isVertical = computed$1(() => props.direction === "vertical");
18805
- const throttledArrowClick = throttle((index) => {
18806
- setActiveItem(index);
18807
- }, THROTTLE_TIME, { trailing: true });
18808
- const throttledIndicatorHover = throttle((index) => {
18809
- handleIndicatorHover(index);
18810
- }, THROTTLE_TIME);
18811
- function pauseTimer() {
18812
- if (timer.value) {
18813
- clearInterval(timer.value);
18814
- timer.value = null;
18815
- }
18816
- }
18817
- function startTimer() {
18818
- if (props.interval <= 0 || !props.autoplay || timer.value)
18819
- return;
18820
- timer.value = setInterval(() => playSlides(), props.interval);
18821
- }
18822
- const playSlides = () => {
18823
- if (activeIndex.value < items.value.length - 1) {
18824
- activeIndex.value = activeIndex.value + 1;
18825
- } else if (props.loop) {
18826
- activeIndex.value = 0;
18827
- }
18828
- };
18829
- function setActiveItem(index) {
18830
- if (isString(index)) {
18831
- const filteredItems = items.value.filter((item) => item.props.name === index);
18832
- if (filteredItems.length > 0) {
18833
- index = items.value.indexOf(filteredItems[0]);
18834
- }
18835
- }
18836
- index = Number(index);
18837
- if (Number.isNaN(index) || index !== Math.floor(index)) {
18838
- return;
18839
- }
18840
- const itemCount = items.value.length;
18841
- const oldIndex = activeIndex.value;
18842
- if (index < 0) {
18843
- activeIndex.value = props.loop ? itemCount - 1 : 0;
18844
- } else if (index >= itemCount) {
18845
- activeIndex.value = props.loop ? 0 : itemCount - 1;
18846
- } else {
18847
- activeIndex.value = index;
18848
- }
18849
- if (oldIndex === activeIndex.value) {
18850
- resetItemPosition(oldIndex);
18851
- }
18852
- resetTimer();
18853
- }
18854
- function resetItemPosition(oldIndex) {
18855
- items.value.forEach((item, index) => {
18856
- item.translateItem(index, activeIndex.value, oldIndex);
18857
- });
18858
- }
18859
- function itemInStage(item, index) {
18860
- var _a, _b, _c, _d;
18861
- const _items = unref(items);
18862
- const itemCount = _items.length;
18863
- if (itemCount === 0 || !item.states.inStage)
18864
- return false;
18865
- const nextItemIndex = index + 1;
18866
- const prevItemIndex = index - 1;
18867
- const lastItemIndex = itemCount - 1;
18868
- const isLastItemActive = _items[lastItemIndex].states.active;
18869
- const isFirstItemActive = _items[0].states.active;
18870
- const isNextItemActive = (_b = (_a = _items[nextItemIndex]) == null ? void 0 : _a.states) == null ? void 0 : _b.active;
18871
- const isPrevItemActive = (_d = (_c = _items[prevItemIndex]) == null ? void 0 : _c.states) == null ? void 0 : _d.active;
18872
- if (index === lastItemIndex && isFirstItemActive || isNextItemActive) {
18873
- return "left";
18874
- } else if (index === 0 && isLastItemActive || isPrevItemActive) {
18875
- return "right";
18876
- }
18877
- return false;
18878
- }
18879
- function handleMouseEnter() {
18880
- hover.value = true;
18881
- if (props.pauseOnHover) {
18882
- pauseTimer();
18883
- }
18884
- }
18885
- function handleMouseLeave() {
18886
- hover.value = false;
18887
- startTimer();
18888
- }
18889
- function handleButtonEnter(arrow) {
18890
- if (unref(isVertical))
18891
- return;
18892
- items.value.forEach((item, index) => {
18893
- if (arrow === itemInStage(item, index)) {
18894
- item.states.hover = true;
18895
- }
18896
- });
18897
- }
18898
- function handleButtonLeave() {
18899
- if (unref(isVertical))
18900
- return;
18901
- items.value.forEach((item) => {
18902
- item.states.hover = false;
18903
- });
18904
- }
18905
- function handleIndicatorClick(index) {
18906
- activeIndex.value = index;
18907
- }
18908
- function handleIndicatorHover(index) {
18909
- if (props.trigger === "hover" && index !== activeIndex.value) {
18910
- activeIndex.value = index;
18911
- }
18912
- }
18913
- function prev() {
18914
- setActiveItem(activeIndex.value - 1);
18915
- }
18916
- function next() {
18917
- setActiveItem(activeIndex.value + 1);
18918
- }
18919
- function resetTimer() {
18920
- pauseTimer();
18921
- startTimer();
18922
- }
18923
- watch(() => activeIndex.value, (current, prev2) => {
18924
- resetItemPosition(prev2);
18925
- if (prev2 > -1) {
18926
- emit("change", current, prev2);
18927
- }
18928
- });
18929
- watch(() => props.autoplay, (autoplay) => {
18930
- autoplay ? startTimer() : pauseTimer();
18931
- });
18932
- watch(() => props.loop, () => {
18933
- setActiveItem(activeIndex.value);
18934
- });
18935
- watch(() => props.interval, () => {
18936
- resetTimer();
18937
- });
18938
- watch(() => items.value, () => {
18939
- if (items.value.length > 0)
18940
- setActiveItem(props.initialIndex);
18941
- });
18942
- const resizeObserver = shallowRef();
18943
- onMounted(() => {
18944
- resizeObserver.value = useResizeObserver(root.value, () => {
18945
- resetItemPosition();
18946
- });
18947
- startTimer();
18948
- });
18949
- onBeforeUnmount(() => {
18950
- pauseTimer();
18951
- if (root.value && resizeObserver.value)
18952
- resizeObserver.value.stop();
18953
- });
18954
- provide(carouselContextKey, {
18955
- root,
18956
- isCardType,
18957
- isVertical,
18958
- items,
18959
- loop: props.loop,
18960
- addItem,
18961
- removeItem,
18962
- setActiveItem
18963
- });
18964
19003
  expose({
18965
19004
  setActiveItem,
18966
19005
  prev,
@@ -18968,11 +19007,10 @@ const _sfc_main$1N = /* @__PURE__ */ defineComponent({
18968
19007
  });
18969
19008
  return (_ctx, _cache) => {
18970
19009
  return openBlock(), createElementBlock("div", {
18971
- ref_key: "root",
18972
- ref: root,
19010
+ ref: "root",
18973
19011
  class: normalizeClass(unref(carouselClasses)),
18974
- onMouseenter: withModifiers(handleMouseEnter, ["stop"]),
18975
- onMouseleave: withModifiers(handleMouseLeave, ["stop"])
19012
+ onMouseenter: _cache[6] || (_cache[6] = withModifiers((...args) => unref(handleMouseEnter) && unref(handleMouseEnter)(...args), ["stop"])),
19013
+ onMouseleave: _cache[7] || (_cache[7] = withModifiers((...args) => unref(handleMouseLeave) && unref(handleMouseLeave)(...args), ["stop"]))
18976
19014
  }, [
18977
19015
  createElementVNode("div", {
18978
19016
  class: normalizeClass(unref(ns).e("container")),
@@ -18987,9 +19025,9 @@ const _sfc_main$1N = /* @__PURE__ */ defineComponent({
18987
19025
  withDirectives(createElementVNode("button", {
18988
19026
  type: "button",
18989
19027
  class: normalizeClass([unref(ns).e("arrow"), unref(ns).em("arrow", "left")]),
18990
- onMouseenter: _cache[0] || (_cache[0] = ($event) => handleButtonEnter("left")),
18991
- onMouseleave: handleButtonLeave,
18992
- onClick: _cache[1] || (_cache[1] = withModifiers(($event) => unref(throttledArrowClick)(activeIndex.value - 1), ["stop"]))
19028
+ onMouseenter: _cache[0] || (_cache[0] = ($event) => unref(handleButtonEnter)("left")),
19029
+ onMouseleave: _cache[1] || (_cache[1] = (...args) => unref(handleButtonLeave) && unref(handleButtonLeave)(...args)),
19030
+ onClick: _cache[2] || (_cache[2] = withModifiers(($event) => unref(throttledArrowClick)(unref(activeIndex) - 1), ["stop"]))
18993
19031
  }, [
18994
19032
  createVNode(unref(ElIcon), null, {
18995
19033
  default: withCtx(() => [
@@ -19000,7 +19038,7 @@ const _sfc_main$1N = /* @__PURE__ */ defineComponent({
19000
19038
  ], 34), [
19001
19039
  [
19002
19040
  vShow,
19003
- (_ctx.arrow === "always" || hover.value) && (props.loop || activeIndex.value > 0)
19041
+ (_ctx.arrow === "always" || unref(hover)) && (props.loop || unref(activeIndex) > 0)
19004
19042
  ]
19005
19043
  ])
19006
19044
  ]),
@@ -19015,9 +19053,9 @@ const _sfc_main$1N = /* @__PURE__ */ defineComponent({
19015
19053
  withDirectives(createElementVNode("button", {
19016
19054
  type: "button",
19017
19055
  class: normalizeClass([unref(ns).e("arrow"), unref(ns).em("arrow", "right")]),
19018
- onMouseenter: _cache[2] || (_cache[2] = ($event) => handleButtonEnter("right")),
19019
- onMouseleave: handleButtonLeave,
19020
- onClick: _cache[3] || (_cache[3] = withModifiers(($event) => unref(throttledArrowClick)(activeIndex.value + 1), ["stop"]))
19056
+ onMouseenter: _cache[3] || (_cache[3] = ($event) => unref(handleButtonEnter)("right")),
19057
+ onMouseleave: _cache[4] || (_cache[4] = (...args) => unref(handleButtonLeave) && unref(handleButtonLeave)(...args)),
19058
+ onClick: _cache[5] || (_cache[5] = withModifiers(($event) => unref(throttledArrowClick)(unref(activeIndex) + 1), ["stop"]))
19021
19059
  }, [
19022
19060
  createVNode(unref(ElIcon), null, {
19023
19061
  default: withCtx(() => [
@@ -19028,7 +19066,7 @@ const _sfc_main$1N = /* @__PURE__ */ defineComponent({
19028
19066
  ], 34), [
19029
19067
  [
19030
19068
  vShow,
19031
- (_ctx.arrow === "always" || hover.value) && (props.loop || activeIndex.value < unref(items).length - 1)
19069
+ (_ctx.arrow === "always" || unref(hover)) && (props.loop || unref(activeIndex) < unref(items).length - 1)
19032
19070
  ]
19033
19071
  ])
19034
19072
  ]),
@@ -19046,20 +19084,20 @@ const _sfc_main$1N = /* @__PURE__ */ defineComponent({
19046
19084
  class: normalizeClass([
19047
19085
  unref(ns).e("indicator"),
19048
19086
  unref(ns).em("indicator", _ctx.direction),
19049
- unref(ns).is("active", index === activeIndex.value)
19087
+ unref(ns).is("active", index === unref(activeIndex))
19050
19088
  ]),
19051
19089
  onMouseenter: ($event) => unref(throttledIndicatorHover)(index),
19052
- onClick: withModifiers(($event) => handleIndicatorClick(index), ["stop"])
19090
+ onClick: withModifiers(($event) => unref(handleIndicatorClick)(index), ["stop"])
19053
19091
  }, [
19054
19092
  createElementVNode("button", {
19055
19093
  class: normalizeClass(unref(ns).e("button"))
19056
19094
  }, [
19057
- unref(hasLabel) ? (openBlock(), createElementBlock("span", _hoisted_3$j, toDisplayString(item.props.label), 1)) : createCommentVNode("v-if", true)
19095
+ unref(hasLabel) ? (openBlock(), createElementBlock("span", _hoisted_2$A, toDisplayString(item.props.label), 1)) : createCommentVNode("v-if", true)
19058
19096
  ], 2)
19059
- ], 42, _hoisted_2$A);
19097
+ ], 42, _hoisted_1$V);
19060
19098
  }), 128))
19061
19099
  ], 2)) : createCommentVNode("v-if", true)
19062
- ], 42, _hoisted_1$V);
19100
+ ], 34);
19063
19101
  };
19064
19102
  }
19065
19103
  });
package/dist/locale/af.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! Element Plus v0.0.20221023 */
1
+ /*! Element Plus v0.0.20221024 */
2
2
 
3
3
  (function (global, factory) {
4
4
  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
@@ -1,2 +1,2 @@
1
- /*! Element Plus v0.0.20221023 */(function(e,t){typeof exports=="object"&&typeof module!="undefined"?module.exports=t():typeof define=="function"&&define.amd?define(t):(e=typeof globalThis!="undefined"?globalThis:e||self,e.ElementPlusLocaleAf=t())})(this,function(){"use strict";var e={name:"af",el:{colorpicker:{confirm:"Bevestig",clear:"Maak skoon"},datepicker:{now:"Nou",today:"Vandag",cancel:"Kanselleer",clear:"Maak skoon",confirm:"Bevestig",selectDate:"Kies datum",selectTime:"Kies tyd",startDate:"Begindatum",startTime:"Begintyd",endDate:"Einddatum",endTime:"Eindtyd",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",year:"Jaar",month1:"Jan",month2:"Feb",month3:"Mrt",month4:"Apr",month5:"Mei",month6:"Jun",month7:"Jul",month8:"Aug",month9:"Sep",month10:"Okt",month11:"Nov",month12:"Des",weeks:{sun:"So",mon:"Ma",tue:"Di",wed:"Wo",thu:"Do",fri:"Vr",sat:"Sa"},months:{jan:"Jan",feb:"Feb",mar:"Mrt",apr:"Apr",may:"Mei",jun:"Jun",jul:"Jul",aug:"Aug",sep:"Sep",oct:"Okt",nov:"Nov",dec:"Des"}},select:{loading:"Laai",noMatch:"Geen toepaslike data",noData:"Geen data",placeholder:"Kies"},cascader:{noMatch:"Geen toepaslike data",loading:"Laai",placeholder:"Kies",noData:"Geen data"},pagination:{goto:"Gaan na",pagesize:"/page",total:"Totaal {total}",pageClassifier:""},messagebox:{title:"Boodskap",confirm:"Bevestig",cancel:"Kanselleer",error:"Ongeldige invoer"},upload:{deleteTip:"press delete to remove",delete:"Verwyder",preview:"Voorskou",continue:"Gaan voort"},table:{emptyText:"Geen Data",confirmFilter:"Bevestig",resetFilter:"Herstel",clearFilter:"Alles",sumText:"Som"},tree:{emptyText:"Geen Data"},transfer:{noMatch:"Geen toepaslike data",noData:"Geen data",titles:["Lys 1","Lys 2"],filterPlaceholder:"Voer sleutelwoord in",noCheckedFormat:"{total} items",hasCheckedFormat:"{checked}/{total} gekies"},image:{error:"FAILED"},pageHeader:{title:"Back"},popconfirm:{confirmButtonText:"Yes",cancelButtonText:"No"}}};return e});
1
+ /*! Element Plus v0.0.20221024 */(function(e,t){typeof exports=="object"&&typeof module!="undefined"?module.exports=t():typeof define=="function"&&define.amd?define(t):(e=typeof globalThis!="undefined"?globalThis:e||self,e.ElementPlusLocaleAf=t())})(this,function(){"use strict";var e={name:"af",el:{colorpicker:{confirm:"Bevestig",clear:"Maak skoon"},datepicker:{now:"Nou",today:"Vandag",cancel:"Kanselleer",clear:"Maak skoon",confirm:"Bevestig",selectDate:"Kies datum",selectTime:"Kies tyd",startDate:"Begindatum",startTime:"Begintyd",endDate:"Einddatum",endTime:"Eindtyd",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",year:"Jaar",month1:"Jan",month2:"Feb",month3:"Mrt",month4:"Apr",month5:"Mei",month6:"Jun",month7:"Jul",month8:"Aug",month9:"Sep",month10:"Okt",month11:"Nov",month12:"Des",weeks:{sun:"So",mon:"Ma",tue:"Di",wed:"Wo",thu:"Do",fri:"Vr",sat:"Sa"},months:{jan:"Jan",feb:"Feb",mar:"Mrt",apr:"Apr",may:"Mei",jun:"Jun",jul:"Jul",aug:"Aug",sep:"Sep",oct:"Okt",nov:"Nov",dec:"Des"}},select:{loading:"Laai",noMatch:"Geen toepaslike data",noData:"Geen data",placeholder:"Kies"},cascader:{noMatch:"Geen toepaslike data",loading:"Laai",placeholder:"Kies",noData:"Geen data"},pagination:{goto:"Gaan na",pagesize:"/page",total:"Totaal {total}",pageClassifier:""},messagebox:{title:"Boodskap",confirm:"Bevestig",cancel:"Kanselleer",error:"Ongeldige invoer"},upload:{deleteTip:"press delete to remove",delete:"Verwyder",preview:"Voorskou",continue:"Gaan voort"},table:{emptyText:"Geen Data",confirmFilter:"Bevestig",resetFilter:"Herstel",clearFilter:"Alles",sumText:"Som"},tree:{emptyText:"Geen Data"},transfer:{noMatch:"Geen toepaslike data",noData:"Geen data",titles:["Lys 1","Lys 2"],filterPlaceholder:"Voer sleutelwoord in",noCheckedFormat:"{total} items",hasCheckedFormat:"{checked}/{total} gekies"},image:{error:"FAILED"},pageHeader:{title:"Back"},popconfirm:{confirmButtonText:"Yes",cancelButtonText:"No"}}};return e});
2
2
  //# sourceMappingURL=af.min.js.map
@@ -1,2 +1,2 @@
1
- /*! Element Plus v0.0.20221023 */var e={name:"af",el:{colorpicker:{confirm:"Bevestig",clear:"Maak skoon"},datepicker:{now:"Nou",today:"Vandag",cancel:"Kanselleer",clear:"Maak skoon",confirm:"Bevestig",selectDate:"Kies datum",selectTime:"Kies tyd",startDate:"Begindatum",startTime:"Begintyd",endDate:"Einddatum",endTime:"Eindtyd",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",year:"Jaar",month1:"Jan",month2:"Feb",month3:"Mrt",month4:"Apr",month5:"Mei",month6:"Jun",month7:"Jul",month8:"Aug",month9:"Sep",month10:"Okt",month11:"Nov",month12:"Des",weeks:{sun:"So",mon:"Ma",tue:"Di",wed:"Wo",thu:"Do",fri:"Vr",sat:"Sa"},months:{jan:"Jan",feb:"Feb",mar:"Mrt",apr:"Apr",may:"Mei",jun:"Jun",jul:"Jul",aug:"Aug",sep:"Sep",oct:"Okt",nov:"Nov",dec:"Des"}},select:{loading:"Laai",noMatch:"Geen toepaslike data",noData:"Geen data",placeholder:"Kies"},cascader:{noMatch:"Geen toepaslike data",loading:"Laai",placeholder:"Kies",noData:"Geen data"},pagination:{goto:"Gaan na",pagesize:"/page",total:"Totaal {total}",pageClassifier:""},messagebox:{title:"Boodskap",confirm:"Bevestig",cancel:"Kanselleer",error:"Ongeldige invoer"},upload:{deleteTip:"press delete to remove",delete:"Verwyder",preview:"Voorskou",continue:"Gaan voort"},table:{emptyText:"Geen Data",confirmFilter:"Bevestig",resetFilter:"Herstel",clearFilter:"Alles",sumText:"Som"},tree:{emptyText:"Geen Data"},transfer:{noMatch:"Geen toepaslike data",noData:"Geen data",titles:["Lys 1","Lys 2"],filterPlaceholder:"Voer sleutelwoord in",noCheckedFormat:"{total} items",hasCheckedFormat:"{checked}/{total} gekies"},image:{error:"FAILED"},pageHeader:{title:"Back"},popconfirm:{confirmButtonText:"Yes",cancelButtonText:"No"}}};export{e as default};
1
+ /*! Element Plus v0.0.20221024 */var e={name:"af",el:{colorpicker:{confirm:"Bevestig",clear:"Maak skoon"},datepicker:{now:"Nou",today:"Vandag",cancel:"Kanselleer",clear:"Maak skoon",confirm:"Bevestig",selectDate:"Kies datum",selectTime:"Kies tyd",startDate:"Begindatum",startTime:"Begintyd",endDate:"Einddatum",endTime:"Eindtyd",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",year:"Jaar",month1:"Jan",month2:"Feb",month3:"Mrt",month4:"Apr",month5:"Mei",month6:"Jun",month7:"Jul",month8:"Aug",month9:"Sep",month10:"Okt",month11:"Nov",month12:"Des",weeks:{sun:"So",mon:"Ma",tue:"Di",wed:"Wo",thu:"Do",fri:"Vr",sat:"Sa"},months:{jan:"Jan",feb:"Feb",mar:"Mrt",apr:"Apr",may:"Mei",jun:"Jun",jul:"Jul",aug:"Aug",sep:"Sep",oct:"Okt",nov:"Nov",dec:"Des"}},select:{loading:"Laai",noMatch:"Geen toepaslike data",noData:"Geen data",placeholder:"Kies"},cascader:{noMatch:"Geen toepaslike data",loading:"Laai",placeholder:"Kies",noData:"Geen data"},pagination:{goto:"Gaan na",pagesize:"/page",total:"Totaal {total}",pageClassifier:""},messagebox:{title:"Boodskap",confirm:"Bevestig",cancel:"Kanselleer",error:"Ongeldige invoer"},upload:{deleteTip:"press delete to remove",delete:"Verwyder",preview:"Voorskou",continue:"Gaan voort"},table:{emptyText:"Geen Data",confirmFilter:"Bevestig",resetFilter:"Herstel",clearFilter:"Alles",sumText:"Som"},tree:{emptyText:"Geen Data"},transfer:{noMatch:"Geen toepaslike data",noData:"Geen data",titles:["Lys 1","Lys 2"],filterPlaceholder:"Voer sleutelwoord in",noCheckedFormat:"{total} items",hasCheckedFormat:"{checked}/{total} gekies"},image:{error:"FAILED"},pageHeader:{title:"Back"},popconfirm:{confirmButtonText:"Yes",cancelButtonText:"No"}}};export{e as default};
2
2
  //# sourceMappingURL=af.min.mjs.map