@element-plus/nightly 0.0.20241129 → 0.0.20241201
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.full.js +2 -2
- package/dist/index.full.min.js +2 -2
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +2 -2
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +2 -2
- package/dist/locale/af.js +1 -1
- package/dist/locale/af.min.js +1 -1
- package/dist/locale/af.min.mjs +1 -1
- package/dist/locale/af.mjs +1 -1
- package/dist/locale/ar-eg.js +1 -1
- package/dist/locale/ar-eg.min.js +1 -1
- package/dist/locale/ar-eg.min.mjs +1 -1
- package/dist/locale/ar-eg.mjs +1 -1
- package/dist/locale/ar.js +1 -1
- package/dist/locale/ar.min.js +1 -1
- package/dist/locale/ar.min.mjs +1 -1
- package/dist/locale/ar.mjs +1 -1
- package/dist/locale/az.js +1 -1
- package/dist/locale/az.min.js +1 -1
- package/dist/locale/az.min.mjs +1 -1
- package/dist/locale/az.mjs +1 -1
- package/dist/locale/bg.js +1 -1
- package/dist/locale/bg.min.js +1 -1
- package/dist/locale/bg.min.mjs +1 -1
- package/dist/locale/bg.mjs +1 -1
- package/dist/locale/bn.js +1 -1
- package/dist/locale/bn.min.js +1 -1
- package/dist/locale/bn.min.mjs +1 -1
- package/dist/locale/bn.mjs +1 -1
- package/dist/locale/ca.js +1 -1
- package/dist/locale/ca.min.js +1 -1
- package/dist/locale/ca.min.mjs +1 -1
- package/dist/locale/ca.mjs +1 -1
- package/dist/locale/ckb.js +1 -1
- package/dist/locale/ckb.min.js +1 -1
- package/dist/locale/ckb.min.mjs +1 -1
- package/dist/locale/ckb.mjs +1 -1
- package/dist/locale/cs.js +1 -1
- package/dist/locale/cs.min.js +1 -1
- package/dist/locale/cs.min.mjs +1 -1
- package/dist/locale/cs.mjs +1 -1
- package/dist/locale/da.js +1 -1
- package/dist/locale/da.min.js +1 -1
- package/dist/locale/da.min.mjs +1 -1
- package/dist/locale/da.mjs +1 -1
- package/dist/locale/de.js +1 -1
- package/dist/locale/de.min.js +1 -1
- package/dist/locale/de.min.mjs +1 -1
- package/dist/locale/de.mjs +1 -1
- package/dist/locale/el.js +1 -1
- package/dist/locale/el.min.js +1 -1
- package/dist/locale/el.min.mjs +1 -1
- package/dist/locale/el.mjs +1 -1
- package/dist/locale/en.js +1 -1
- package/dist/locale/en.min.js +1 -1
- package/dist/locale/en.min.mjs +1 -1
- package/dist/locale/en.mjs +1 -1
- package/dist/locale/eo.js +1 -1
- package/dist/locale/eo.min.js +1 -1
- package/dist/locale/eo.min.mjs +1 -1
- package/dist/locale/eo.mjs +1 -1
- package/dist/locale/es.js +1 -1
- package/dist/locale/es.min.js +1 -1
- package/dist/locale/es.min.mjs +1 -1
- package/dist/locale/es.mjs +1 -1
- package/dist/locale/et.js +1 -1
- package/dist/locale/et.min.js +1 -1
- package/dist/locale/et.min.mjs +1 -1
- package/dist/locale/et.mjs +1 -1
- package/dist/locale/eu.js +1 -1
- package/dist/locale/eu.min.js +1 -1
- package/dist/locale/eu.min.mjs +1 -1
- package/dist/locale/eu.mjs +1 -1
- package/dist/locale/fa.js +1 -1
- package/dist/locale/fa.min.js +1 -1
- package/dist/locale/fa.min.mjs +1 -1
- package/dist/locale/fa.mjs +1 -1
- package/dist/locale/fi.js +1 -1
- package/dist/locale/fi.min.js +1 -1
- package/dist/locale/fi.min.mjs +1 -1
- package/dist/locale/fi.mjs +1 -1
- package/dist/locale/fr.js +1 -1
- package/dist/locale/fr.min.js +1 -1
- package/dist/locale/fr.min.mjs +1 -1
- package/dist/locale/fr.mjs +1 -1
- package/dist/locale/he.js +1 -1
- package/dist/locale/he.min.js +1 -1
- package/dist/locale/he.min.mjs +1 -1
- package/dist/locale/he.mjs +1 -1
- package/dist/locale/hr.js +1 -1
- package/dist/locale/hr.min.js +1 -1
- package/dist/locale/hr.min.mjs +1 -1
- package/dist/locale/hr.mjs +1 -1
- package/dist/locale/hu.js +1 -1
- package/dist/locale/hu.min.js +1 -1
- package/dist/locale/hu.min.mjs +1 -1
- package/dist/locale/hu.mjs +1 -1
- package/dist/locale/hy-am.js +1 -1
- package/dist/locale/hy-am.min.js +1 -1
- package/dist/locale/hy-am.min.mjs +1 -1
- package/dist/locale/hy-am.mjs +1 -1
- package/dist/locale/id.js +1 -1
- package/dist/locale/id.min.js +1 -1
- package/dist/locale/id.min.mjs +1 -1
- package/dist/locale/id.mjs +1 -1
- package/dist/locale/it.js +1 -1
- package/dist/locale/it.min.js +1 -1
- package/dist/locale/it.min.mjs +1 -1
- package/dist/locale/it.mjs +1 -1
- package/dist/locale/ja.js +1 -1
- package/dist/locale/ja.min.js +1 -1
- package/dist/locale/ja.min.mjs +1 -1
- package/dist/locale/ja.mjs +1 -1
- package/dist/locale/kk.js +1 -1
- package/dist/locale/kk.min.js +1 -1
- package/dist/locale/kk.min.mjs +1 -1
- package/dist/locale/kk.mjs +1 -1
- package/dist/locale/km.js +1 -1
- package/dist/locale/km.min.js +1 -1
- package/dist/locale/km.min.mjs +1 -1
- package/dist/locale/km.mjs +1 -1
- package/dist/locale/ko.js +1 -1
- package/dist/locale/ko.min.js +1 -1
- package/dist/locale/ko.min.mjs +1 -1
- package/dist/locale/ko.mjs +1 -1
- package/dist/locale/ku.js +1 -1
- package/dist/locale/ku.min.js +1 -1
- package/dist/locale/ku.min.mjs +1 -1
- package/dist/locale/ku.mjs +1 -1
- package/dist/locale/ky.js +1 -1
- package/dist/locale/ky.min.js +1 -1
- package/dist/locale/ky.min.mjs +1 -1
- package/dist/locale/ky.mjs +1 -1
- package/dist/locale/lt.js +1 -1
- package/dist/locale/lt.min.js +1 -1
- package/dist/locale/lt.min.mjs +1 -1
- package/dist/locale/lt.mjs +1 -1
- package/dist/locale/lv.js +1 -1
- package/dist/locale/lv.min.js +1 -1
- package/dist/locale/lv.min.mjs +1 -1
- package/dist/locale/lv.mjs +1 -1
- package/dist/locale/mg.js +1 -1
- package/dist/locale/mg.min.js +1 -1
- package/dist/locale/mg.min.mjs +1 -1
- package/dist/locale/mg.mjs +1 -1
- package/dist/locale/mn.js +1 -1
- package/dist/locale/mn.min.js +1 -1
- package/dist/locale/mn.min.mjs +1 -1
- package/dist/locale/mn.mjs +1 -1
- package/dist/locale/ms.js +1 -1
- package/dist/locale/ms.min.js +1 -1
- package/dist/locale/ms.min.mjs +1 -1
- package/dist/locale/ms.mjs +1 -1
- package/dist/locale/my.js +1 -1
- package/dist/locale/my.min.js +1 -1
- package/dist/locale/my.min.mjs +1 -1
- package/dist/locale/my.mjs +1 -1
- package/dist/locale/nb-no.js +1 -1
- package/dist/locale/nb-no.min.js +1 -1
- package/dist/locale/nb-no.min.mjs +1 -1
- package/dist/locale/nb-no.mjs +1 -1
- package/dist/locale/nl.js +1 -1
- package/dist/locale/nl.min.js +1 -1
- package/dist/locale/nl.min.mjs +1 -1
- package/dist/locale/nl.mjs +1 -1
- package/dist/locale/pa.js +1 -1
- package/dist/locale/pa.min.js +1 -1
- package/dist/locale/pa.min.mjs +1 -1
- package/dist/locale/pa.mjs +1 -1
- package/dist/locale/pl.js +1 -1
- package/dist/locale/pl.min.js +1 -1
- package/dist/locale/pl.min.mjs +1 -1
- package/dist/locale/pl.mjs +1 -1
- package/dist/locale/pt-br.js +1 -1
- package/dist/locale/pt-br.min.js +1 -1
- package/dist/locale/pt-br.min.mjs +1 -1
- package/dist/locale/pt-br.mjs +1 -1
- package/dist/locale/pt.js +1 -1
- package/dist/locale/pt.min.js +1 -1
- package/dist/locale/pt.min.mjs +1 -1
- package/dist/locale/pt.mjs +1 -1
- package/dist/locale/ro.js +1 -1
- package/dist/locale/ro.min.js +1 -1
- package/dist/locale/ro.min.mjs +1 -1
- package/dist/locale/ro.mjs +1 -1
- package/dist/locale/ru.js +1 -1
- package/dist/locale/ru.min.js +1 -1
- package/dist/locale/ru.min.mjs +1 -1
- package/dist/locale/ru.mjs +1 -1
- package/dist/locale/sk.js +1 -1
- package/dist/locale/sk.min.js +1 -1
- package/dist/locale/sk.min.mjs +1 -1
- package/dist/locale/sk.mjs +1 -1
- package/dist/locale/sl.js +1 -1
- package/dist/locale/sl.min.js +1 -1
- package/dist/locale/sl.min.mjs +1 -1
- package/dist/locale/sl.mjs +1 -1
- package/dist/locale/sr.js +1 -1
- package/dist/locale/sr.min.js +1 -1
- package/dist/locale/sr.min.mjs +1 -1
- package/dist/locale/sr.mjs +1 -1
- package/dist/locale/sv.js +1 -1
- package/dist/locale/sv.min.js +1 -1
- package/dist/locale/sv.min.mjs +1 -1
- package/dist/locale/sv.mjs +1 -1
- package/dist/locale/sw.js +1 -1
- package/dist/locale/sw.min.js +1 -1
- package/dist/locale/sw.min.mjs +1 -1
- package/dist/locale/sw.mjs +1 -1
- package/dist/locale/ta.js +1 -1
- package/dist/locale/ta.min.js +1 -1
- package/dist/locale/ta.min.mjs +1 -1
- package/dist/locale/ta.mjs +1 -1
- package/dist/locale/th.js +1 -1
- package/dist/locale/th.min.js +1 -1
- package/dist/locale/th.min.mjs +1 -1
- package/dist/locale/th.mjs +1 -1
- package/dist/locale/tk.js +1 -1
- package/dist/locale/tk.min.js +1 -1
- package/dist/locale/tk.min.mjs +1 -1
- package/dist/locale/tk.mjs +1 -1
- package/dist/locale/tr.js +1 -1
- package/dist/locale/tr.min.js +1 -1
- package/dist/locale/tr.min.mjs +1 -1
- package/dist/locale/tr.mjs +1 -1
- package/dist/locale/ug-cn.js +1 -1
- package/dist/locale/ug-cn.min.js +1 -1
- package/dist/locale/ug-cn.min.mjs +1 -1
- package/dist/locale/ug-cn.mjs +1 -1
- package/dist/locale/uk.js +1 -1
- package/dist/locale/uk.min.js +1 -1
- package/dist/locale/uk.min.mjs +1 -1
- package/dist/locale/uk.mjs +1 -1
- package/dist/locale/uz-uz.js +1 -1
- package/dist/locale/uz-uz.min.js +1 -1
- package/dist/locale/uz-uz.min.mjs +1 -1
- package/dist/locale/uz-uz.mjs +1 -1
- package/dist/locale/vi.js +1 -1
- package/dist/locale/vi.min.js +1 -1
- package/dist/locale/vi.min.mjs +1 -1
- package/dist/locale/vi.mjs +1 -1
- package/dist/locale/zh-cn.js +1 -1
- package/dist/locale/zh-cn.min.js +1 -1
- package/dist/locale/zh-cn.min.mjs +1 -1
- package/dist/locale/zh-cn.mjs +1 -1
- package/dist/locale/zh-tw.js +1 -1
- package/dist/locale/zh-tw.min.js +1 -1
- package/dist/locale/zh-tw.min.mjs +1 -1
- package/dist/locale/zh-tw.mjs +1 -1
- package/es/components/affix/index.mjs +2 -2
- package/es/components/affix/src/affix.mjs +25 -118
- package/es/components/affix/src/affix.mjs.map +1 -1
- package/es/components/affix/src/affix2.mjs +118 -25
- package/es/components/affix/src/affix2.mjs.map +1 -1
- package/es/components/anchor/index.mjs +2 -2
- package/es/components/anchor/src/anchor.mjs +192 -38
- package/es/components/anchor/src/anchor.mjs.map +1 -1
- package/es/components/anchor/src/anchor2.mjs +38 -192
- package/es/components/anchor/src/anchor2.mjs.map +1 -1
- package/es/components/breadcrumb/index.mjs +2 -2
- package/es/components/breadcrumb/src/breadcrumb-item.mjs +56 -8
- package/es/components/breadcrumb/src/breadcrumb-item.mjs.map +1 -1
- package/es/components/breadcrumb/src/breadcrumb-item2.mjs +8 -56
- package/es/components/breadcrumb/src/breadcrumb-item2.mjs.map +1 -1
- package/es/components/dialog/src/dialog-content.mjs +26 -87
- package/es/components/dialog/src/dialog-content.mjs.map +1 -1
- package/es/components/dialog/src/dialog-content2.mjs +87 -26
- package/es/components/dialog/src/dialog-content2.mjs.map +1 -1
- package/es/components/dialog/src/dialog.mjs +1 -1
- package/es/components/dialog/src/dialog2.mjs +1 -1
- package/es/components/index.mjs +3 -3
- package/es/directives/click-outside/index.mjs +1 -1
- package/es/hooks/use-focus-controller/index.mjs +1 -1
- package/es/hooks/use-lockscreen/index.mjs +1 -1
- package/es/index.mjs +3 -3
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/version.mjs.map +1 -1
- package/lib/components/affix/index.js +2 -2
- package/lib/components/affix/src/affix.js +26 -118
- package/lib/components/affix/src/affix.js.map +1 -1
- package/lib/components/affix/src/affix2.js +118 -26
- package/lib/components/affix/src/affix2.js.map +1 -1
- package/lib/components/anchor/index.js +2 -2
- package/lib/components/anchor/src/anchor.js +191 -38
- package/lib/components/anchor/src/anchor.js.map +1 -1
- package/lib/components/anchor/src/anchor2.js +38 -191
- package/lib/components/anchor/src/anchor2.js.map +1 -1
- package/lib/components/breadcrumb/index.js +2 -2
- package/lib/components/breadcrumb/src/breadcrumb-item.js +56 -8
- package/lib/components/breadcrumb/src/breadcrumb-item.js.map +1 -1
- package/lib/components/breadcrumb/src/breadcrumb-item2.js +8 -56
- package/lib/components/breadcrumb/src/breadcrumb-item2.js.map +1 -1
- package/lib/components/dialog/src/dialog-content.js +26 -86
- package/lib/components/dialog/src/dialog-content.js.map +1 -1
- package/lib/components/dialog/src/dialog-content2.js +86 -26
- package/lib/components/dialog/src/dialog-content2.js.map +1 -1
- package/lib/components/dialog/src/dialog.js +1 -1
- package/lib/components/dialog/src/dialog2.js +1 -1
- package/lib/components/index.js +3 -3
- package/lib/directives/click-outside/index.js +1 -1
- package/lib/hooks/use-focus-controller/index.js +1 -1
- package/lib/hooks/use-lockscreen/index.js +1 -1
- package/lib/index.js +3 -3
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/version.js.map +1 -1
- package/package.json +1 -1
- package/web-types.json +1 -1
@@ -1,60 +1,12 @@
|
|
1
|
-
import {
|
2
|
-
import { ElIcon } from '../../icon/index.mjs';
|
3
|
-
import { breadcrumbKey } from './constants.mjs';
|
4
|
-
import { breadcrumbItemProps } from './breadcrumb-item.mjs';
|
5
|
-
import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
|
6
|
-
import { useNamespace } from '../../../hooks/use-namespace/index.mjs';
|
1
|
+
import { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';
|
7
2
|
|
8
|
-
const
|
9
|
-
|
3
|
+
const breadcrumbItemProps = buildProps({
|
4
|
+
to: {
|
5
|
+
type: definePropType([String, Object]),
|
6
|
+
default: ""
|
7
|
+
},
|
8
|
+
replace: Boolean
|
10
9
|
});
|
11
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
12
|
-
...__default__,
|
13
|
-
props: breadcrumbItemProps,
|
14
|
-
setup(__props) {
|
15
|
-
const props = __props;
|
16
|
-
const instance = getCurrentInstance();
|
17
|
-
const breadcrumbContext = inject(breadcrumbKey, void 0);
|
18
|
-
const ns = useNamespace("breadcrumb");
|
19
|
-
const router = instance.appContext.config.globalProperties.$router;
|
20
|
-
const link = ref();
|
21
|
-
const onClick = () => {
|
22
|
-
if (!props.to || !router)
|
23
|
-
return;
|
24
|
-
props.replace ? router.replace(props.to) : router.push(props.to);
|
25
|
-
};
|
26
|
-
return (_ctx, _cache) => {
|
27
|
-
var _a, _b;
|
28
|
-
return openBlock(), createElementBlock("span", {
|
29
|
-
class: normalizeClass(unref(ns).e("item"))
|
30
|
-
}, [
|
31
|
-
createElementVNode("span", {
|
32
|
-
ref_key: "link",
|
33
|
-
ref: link,
|
34
|
-
class: normalizeClass([unref(ns).e("inner"), unref(ns).is("link", !!_ctx.to)]),
|
35
|
-
role: "link",
|
36
|
-
onClick
|
37
|
-
}, [
|
38
|
-
renderSlot(_ctx.$slots, "default")
|
39
|
-
], 2),
|
40
|
-
((_a = unref(breadcrumbContext)) == null ? void 0 : _a.separatorIcon) ? (openBlock(), createBlock(unref(ElIcon), {
|
41
|
-
key: 0,
|
42
|
-
class: normalizeClass(unref(ns).e("separator"))
|
43
|
-
}, {
|
44
|
-
default: withCtx(() => [
|
45
|
-
(openBlock(), createBlock(resolveDynamicComponent(unref(breadcrumbContext).separatorIcon)))
|
46
|
-
]),
|
47
|
-
_: 1
|
48
|
-
}, 8, ["class"])) : (openBlock(), createElementBlock("span", {
|
49
|
-
key: 1,
|
50
|
-
class: normalizeClass(unref(ns).e("separator")),
|
51
|
-
role: "presentation"
|
52
|
-
}, toDisplayString((_b = unref(breadcrumbContext)) == null ? void 0 : _b.separator), 3))
|
53
|
-
], 2);
|
54
|
-
};
|
55
|
-
}
|
56
|
-
});
|
57
|
-
var BreadcrumbItem = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "breadcrumb-item.vue"]]);
|
58
10
|
|
59
|
-
export {
|
11
|
+
export { breadcrumbItemProps };
|
60
12
|
//# sourceMappingURL=breadcrumb-item2.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"breadcrumb-item2.mjs","sources":["../../../../../../packages/components/breadcrumb/src/breadcrumb-item.
|
1
|
+
{"version":3,"file":"breadcrumb-item2.mjs","sources":["../../../../../../packages/components/breadcrumb/src/breadcrumb-item.ts"],"sourcesContent":["import { buildProps, definePropType } from '@element-plus/utils'\nimport type { ExtractPropTypes } from 'vue'\nimport type { RouteLocationRaw } from 'vue-router'\n\nexport const breadcrumbItemProps = buildProps({\n /**\n * @description target route of the link, same as `to` of `vue-router`\n */\n to: {\n type: definePropType<RouteLocationRaw>([String, Object]),\n default: '',\n },\n /**\n * @description if `true`, the navigation will not leave a history record\n */\n replace: Boolean,\n} as const)\nexport type BreadcrumbItemProps = ExtractPropTypes<typeof breadcrumbItemProps>\n"],"names":[],"mappings":";;AACY,MAAC,mBAAmB,GAAG,UAAU,CAAC;AAC9C,EAAE,EAAE,EAAE;AACN,IAAI,IAAI,EAAE,cAAc,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAC1C,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,OAAO,EAAE,OAAO;AAClB,CAAC;;;;"}
|
@@ -1,92 +1,31 @@
|
|
1
|
-
import {
|
2
|
-
import {
|
3
|
-
import { dialogInjectionKey } from './constants.mjs';
|
4
|
-
import { dialogContentProps, dialogContentEmits } from './dialog-content2.mjs';
|
5
|
-
import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
|
6
|
-
import { FOCUS_TRAP_INJECTION_KEY } from '../../focus-trap/src/tokens.mjs';
|
7
|
-
import { useDraggable } from '../../../hooks/use-draggable/index.mjs';
|
8
|
-
import { CloseComponents } from '../../../utils/vue/icon.mjs';
|
9
|
-
import { composeRefs } from '../../../utils/vue/refs.mjs';
|
10
|
-
import { useLocale } from '../../../hooks/use-locale/index.mjs';
|
1
|
+
import { buildProps } from '../../../utils/vue/props/runtime.mjs';
|
2
|
+
import { iconPropType } from '../../../utils/vue/icon.mjs';
|
11
3
|
|
12
|
-
const
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
const overflow = computed(() => props.overflow);
|
33
|
-
const { resetPosition } = useDraggable(dialogRef, headerRef, draggable, overflow);
|
34
|
-
expose({
|
35
|
-
resetPosition
|
36
|
-
});
|
37
|
-
return (_ctx, _cache) => {
|
38
|
-
return openBlock(), createElementBlock("div", {
|
39
|
-
ref: unref(composedDialogRef),
|
40
|
-
class: normalizeClass(unref(dialogKls)),
|
41
|
-
style: normalizeStyle(unref(style)),
|
42
|
-
tabindex: "-1"
|
43
|
-
}, [
|
44
|
-
createElementVNode("header", {
|
45
|
-
ref_key: "headerRef",
|
46
|
-
ref: headerRef,
|
47
|
-
class: normalizeClass([unref(ns).e("header"), { "show-close": _ctx.showClose }])
|
48
|
-
}, [
|
49
|
-
renderSlot(_ctx.$slots, "header", {}, () => [
|
50
|
-
createElementVNode("span", {
|
51
|
-
role: "heading",
|
52
|
-
"aria-level": _ctx.ariaLevel,
|
53
|
-
class: normalizeClass(unref(ns).e("title"))
|
54
|
-
}, toDisplayString(_ctx.title), 11, ["aria-level"])
|
55
|
-
]),
|
56
|
-
_ctx.showClose ? (openBlock(), createElementBlock("button", {
|
57
|
-
key: 0,
|
58
|
-
"aria-label": unref(t)("el.dialog.close"),
|
59
|
-
class: normalizeClass(unref(ns).e("headerbtn")),
|
60
|
-
type: "button",
|
61
|
-
onClick: ($event) => _ctx.$emit("close")
|
62
|
-
}, [
|
63
|
-
createVNode(unref(ElIcon), {
|
64
|
-
class: normalizeClass(unref(ns).e("close"))
|
65
|
-
}, {
|
66
|
-
default: withCtx(() => [
|
67
|
-
(openBlock(), createBlock(resolveDynamicComponent(_ctx.closeIcon || unref(Close))))
|
68
|
-
]),
|
69
|
-
_: 1
|
70
|
-
}, 8, ["class"])
|
71
|
-
], 10, ["aria-label", "onClick"])) : createCommentVNode("v-if", true)
|
72
|
-
], 2),
|
73
|
-
createElementVNode("div", {
|
74
|
-
id: unref(bodyId),
|
75
|
-
class: normalizeClass(unref(ns).e("body"))
|
76
|
-
}, [
|
77
|
-
renderSlot(_ctx.$slots, "default")
|
78
|
-
], 10, ["id"]),
|
79
|
-
_ctx.$slots.footer ? (openBlock(), createElementBlock("footer", {
|
80
|
-
key: 0,
|
81
|
-
class: normalizeClass(unref(ns).e("footer"))
|
82
|
-
}, [
|
83
|
-
renderSlot(_ctx.$slots, "footer")
|
84
|
-
], 2)) : createCommentVNode("v-if", true)
|
85
|
-
], 6);
|
86
|
-
};
|
4
|
+
const dialogContentProps = buildProps({
|
5
|
+
center: Boolean,
|
6
|
+
alignCenter: Boolean,
|
7
|
+
closeIcon: {
|
8
|
+
type: iconPropType
|
9
|
+
},
|
10
|
+
draggable: Boolean,
|
11
|
+
overflow: Boolean,
|
12
|
+
fullscreen: Boolean,
|
13
|
+
showClose: {
|
14
|
+
type: Boolean,
|
15
|
+
default: true
|
16
|
+
},
|
17
|
+
title: {
|
18
|
+
type: String,
|
19
|
+
default: ""
|
20
|
+
},
|
21
|
+
ariaLevel: {
|
22
|
+
type: String,
|
23
|
+
default: "2"
|
87
24
|
}
|
88
25
|
});
|
89
|
-
|
26
|
+
const dialogContentEmits = {
|
27
|
+
close: () => true
|
28
|
+
};
|
90
29
|
|
91
|
-
export {
|
30
|
+
export { dialogContentEmits, dialogContentProps };
|
92
31
|
//# sourceMappingURL=dialog-content.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"dialog-content.mjs","sources":["../../../../../../packages/components/dialog/src/dialog-content.
|
1
|
+
{"version":3,"file":"dialog-content.mjs","sources":["../../../../../../packages/components/dialog/src/dialog-content.ts"],"sourcesContent":["import { buildProps, iconPropType } from '@element-plus/utils'\n\nexport const dialogContentProps = buildProps({\n /**\n * @description whether to align the header and footer in center\n */\n center: Boolean,\n /**\n * @description whether to align the dialog both horizontally and vertically\n */\n alignCenter: Boolean,\n /**\n * @description custom close icon, default is Close\n */\n closeIcon: {\n type: iconPropType,\n },\n /**\n * @description enable dragging feature for Dialog\n */\n draggable: Boolean,\n /**\n * @description draggable Dialog can overflow the viewport\n */\n overflow: Boolean,\n /**\n * @description whether the Dialog takes up full screen\n */\n fullscreen: Boolean,\n /**\n * @description whether to show a close button\n */\n showClose: {\n type: Boolean,\n default: true,\n },\n /**\n * @description title of Dialog. Can also be passed with a named slot (see the following table)\n */\n title: {\n type: String,\n default: '',\n },\n /**\n * @description header's aria-level attribute\n */\n ariaLevel: {\n type: String,\n default: '2',\n },\n} as const)\n\nexport const dialogContentEmits = {\n close: () => true,\n}\n"],"names":[],"mappings":";;;AACY,MAAC,kBAAkB,GAAG,UAAU,CAAC;AAC7C,EAAE,MAAM,EAAE,OAAO;AACjB,EAAE,WAAW,EAAE,OAAO;AACtB,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAE,YAAY;AACtB,GAAG;AACH,EAAE,SAAS,EAAE,OAAO;AACpB,EAAE,QAAQ,EAAE,OAAO;AACnB,EAAE,UAAU,EAAE,OAAO;AACrB,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO,EAAE,IAAI;AACjB,GAAG;AACH,EAAE,KAAK,EAAE;AACT,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,GAAG;AAChB,GAAG;AACH,CAAC,EAAE;AACS,MAAC,kBAAkB,GAAG;AAClC,EAAE,KAAK,EAAE,MAAM,IAAI;AACnB;;;;"}
|
@@ -1,31 +1,92 @@
|
|
1
|
-
import {
|
2
|
-
import {
|
1
|
+
import { defineComponent, inject, computed, openBlock, createElementBlock, unref, normalizeClass, normalizeStyle, createElementVNode, renderSlot, toDisplayString, createVNode, withCtx, createBlock, resolveDynamicComponent, createCommentVNode } from 'vue';
|
2
|
+
import { ElIcon } from '../../icon/index.mjs';
|
3
|
+
import { dialogInjectionKey } from './constants.mjs';
|
4
|
+
import { dialogContentProps, dialogContentEmits } from './dialog-content.mjs';
|
5
|
+
import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
|
6
|
+
import { FOCUS_TRAP_INJECTION_KEY } from '../../focus-trap/src/tokens.mjs';
|
7
|
+
import { useDraggable } from '../../../hooks/use-draggable/index.mjs';
|
8
|
+
import { CloseComponents } from '../../../utils/vue/icon.mjs';
|
9
|
+
import { composeRefs } from '../../../utils/vue/refs.mjs';
|
10
|
+
import { useLocale } from '../../../hooks/use-locale/index.mjs';
|
3
11
|
|
4
|
-
const
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
}
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
12
|
+
const __default__ = defineComponent({ name: "ElDialogContent" });
|
13
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
14
|
+
...__default__,
|
15
|
+
props: dialogContentProps,
|
16
|
+
emits: dialogContentEmits,
|
17
|
+
setup(__props, { expose }) {
|
18
|
+
const props = __props;
|
19
|
+
const { t } = useLocale();
|
20
|
+
const { Close } = CloseComponents;
|
21
|
+
const { dialogRef, headerRef, bodyId, ns, style } = inject(dialogInjectionKey);
|
22
|
+
const { focusTrapRef } = inject(FOCUS_TRAP_INJECTION_KEY);
|
23
|
+
const dialogKls = computed(() => [
|
24
|
+
ns.b(),
|
25
|
+
ns.is("fullscreen", props.fullscreen),
|
26
|
+
ns.is("draggable", props.draggable),
|
27
|
+
ns.is("align-center", props.alignCenter),
|
28
|
+
{ [ns.m("center")]: props.center }
|
29
|
+
]);
|
30
|
+
const composedDialogRef = composeRefs(focusTrapRef, dialogRef);
|
31
|
+
const draggable = computed(() => props.draggable);
|
32
|
+
const overflow = computed(() => props.overflow);
|
33
|
+
const { resetPosition } = useDraggable(dialogRef, headerRef, draggable, overflow);
|
34
|
+
expose({
|
35
|
+
resetPosition
|
36
|
+
});
|
37
|
+
return (_ctx, _cache) => {
|
38
|
+
return openBlock(), createElementBlock("div", {
|
39
|
+
ref: unref(composedDialogRef),
|
40
|
+
class: normalizeClass(unref(dialogKls)),
|
41
|
+
style: normalizeStyle(unref(style)),
|
42
|
+
tabindex: "-1"
|
43
|
+
}, [
|
44
|
+
createElementVNode("header", {
|
45
|
+
ref_key: "headerRef",
|
46
|
+
ref: headerRef,
|
47
|
+
class: normalizeClass([unref(ns).e("header"), { "show-close": _ctx.showClose }])
|
48
|
+
}, [
|
49
|
+
renderSlot(_ctx.$slots, "header", {}, () => [
|
50
|
+
createElementVNode("span", {
|
51
|
+
role: "heading",
|
52
|
+
"aria-level": _ctx.ariaLevel,
|
53
|
+
class: normalizeClass(unref(ns).e("title"))
|
54
|
+
}, toDisplayString(_ctx.title), 11, ["aria-level"])
|
55
|
+
]),
|
56
|
+
_ctx.showClose ? (openBlock(), createElementBlock("button", {
|
57
|
+
key: 0,
|
58
|
+
"aria-label": unref(t)("el.dialog.close"),
|
59
|
+
class: normalizeClass(unref(ns).e("headerbtn")),
|
60
|
+
type: "button",
|
61
|
+
onClick: ($event) => _ctx.$emit("close")
|
62
|
+
}, [
|
63
|
+
createVNode(unref(ElIcon), {
|
64
|
+
class: normalizeClass(unref(ns).e("close"))
|
65
|
+
}, {
|
66
|
+
default: withCtx(() => [
|
67
|
+
(openBlock(), createBlock(resolveDynamicComponent(_ctx.closeIcon || unref(Close))))
|
68
|
+
]),
|
69
|
+
_: 1
|
70
|
+
}, 8, ["class"])
|
71
|
+
], 10, ["aria-label", "onClick"])) : createCommentVNode("v-if", true)
|
72
|
+
], 2),
|
73
|
+
createElementVNode("div", {
|
74
|
+
id: unref(bodyId),
|
75
|
+
class: normalizeClass(unref(ns).e("body"))
|
76
|
+
}, [
|
77
|
+
renderSlot(_ctx.$slots, "default")
|
78
|
+
], 10, ["id"]),
|
79
|
+
_ctx.$slots.footer ? (openBlock(), createElementBlock("footer", {
|
80
|
+
key: 0,
|
81
|
+
class: normalizeClass(unref(ns).e("footer"))
|
82
|
+
}, [
|
83
|
+
renderSlot(_ctx.$slots, "footer")
|
84
|
+
], 2)) : createCommentVNode("v-if", true)
|
85
|
+
], 6);
|
86
|
+
};
|
24
87
|
}
|
25
88
|
});
|
26
|
-
|
27
|
-
close: () => true
|
28
|
-
};
|
89
|
+
var ElDialogContent = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "dialog-content.vue"]]);
|
29
90
|
|
30
|
-
export {
|
91
|
+
export { ElDialogContent as default };
|
31
92
|
//# sourceMappingURL=dialog-content2.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"dialog-content2.mjs","sources":["../../../../../../packages/components/dialog/src/dialog-content.
|
1
|
+
{"version":3,"file":"dialog-content2.mjs","sources":["../../../../../../packages/components/dialog/src/dialog-content.vue"],"sourcesContent":["<template>\n <div :ref=\"composedDialogRef\" :class=\"dialogKls\" :style=\"style\" tabindex=\"-1\">\n <header\n ref=\"headerRef\"\n :class=\"[ns.e('header'), { 'show-close': showClose }]\"\n >\n <slot name=\"header\">\n <span role=\"heading\" :aria-level=\"ariaLevel\" :class=\"ns.e('title')\">\n {{ title }}\n </span>\n </slot>\n <button\n v-if=\"showClose\"\n :aria-label=\"t('el.dialog.close')\"\n :class=\"ns.e('headerbtn')\"\n type=\"button\"\n @click=\"$emit('close')\"\n >\n <el-icon :class=\"ns.e('close')\">\n <component :is=\"closeIcon || Close\" />\n </el-icon>\n </button>\n </header>\n <div :id=\"bodyId\" :class=\"ns.e('body')\">\n <slot />\n </div>\n <footer v-if=\"$slots.footer\" :class=\"ns.e('footer')\">\n <slot name=\"footer\" />\n </footer>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed, inject } from 'vue'\nimport { ElIcon } from '@element-plus/components/icon'\nimport { FOCUS_TRAP_INJECTION_KEY } from '@element-plus/components/focus-trap'\nimport { useDraggable, useLocale } from '@element-plus/hooks'\nimport { CloseComponents, composeRefs } from '@element-plus/utils'\nimport { dialogInjectionKey } from './constants'\nimport { dialogContentEmits, dialogContentProps } from './dialog-content'\n\nconst { t } = useLocale()\nconst { Close } = CloseComponents\n\ndefineOptions({ name: 'ElDialogContent' })\nconst props = defineProps(dialogContentProps)\ndefineEmits(dialogContentEmits)\n\nconst { dialogRef, headerRef, bodyId, ns, style } = inject(dialogInjectionKey)!\nconst { focusTrapRef } = inject(FOCUS_TRAP_INJECTION_KEY)!\n\nconst dialogKls = computed(() => [\n ns.b(),\n ns.is('fullscreen', props.fullscreen),\n ns.is('draggable', props.draggable),\n ns.is('align-center', props.alignCenter),\n { [ns.m('center')]: props.center },\n])\n\nconst composedDialogRef = composeRefs(focusTrapRef, dialogRef)\n\nconst draggable = computed(() => props.draggable)\nconst overflow = computed(() => props.overflow)\nconst { resetPosition } = useDraggable(\n dialogRef,\n headerRef,\n draggable,\n overflow\n)\n\ndefineExpose({\n resetPosition,\n})\n</script>\n"],"names":["_openBlock","_createElementBlock","_unref","_normalizeClass","_normalizeStyle"],"mappings":";;;;;;;;;;;mCA4Cc,CAAA,EAAE,IAAM,EAAA,iBAAA,EAAkB,CAAA,CAAA;;;;;;;AAHxC,IAAM,MAAA,EAAE,CAAE,EAAA,GAAI,SAAU,EAAA,CAAA;AACxB,IAAM,MAAA,EAAE,OAAU,GAAA,eAAA,CAAA;AAMlB,IAAM,MAAA,EAAE,WAAW,SAAW,EAAA,MAAA,EAAQ,IAAI,KAAM,EAAA,GAAI,OAAO,kBAAkB,CAAA,CAAA;AAC7E,IAAA,MAAM,EAAE,YAAA,EAAiB,GAAA,MAAA,CAAO,wBAAwB,CAAA,CAAA;AAExD,IAAM,MAAA,SAAA,GAAY,SAAS,MAAM;AAAA,MAC/B,GAAG,CAAE,EAAA;AAAA,MACL,EAAG,CAAA,EAAA,CAAG,YAAc,EAAA,KAAA,CAAM,UAAU,CAAA;AAAA,MACpC,EAAG,CAAA,EAAA,CAAG,WAAa,EAAA,KAAA,CAAM,SAAS,CAAA;AAAA,MAClC,EAAG,CAAA,EAAA,CAAG,cAAgB,EAAA,KAAA,CAAM,WAAW,CAAA;AAAA,MACvC,EAAE,CAAC,EAAG,CAAA,CAAA,CAAE,QAAQ,CAAC,GAAG,MAAM,MAAO,EAAA;AAAA,KAClC,CAAA,CAAA;AAED,IAAM,MAAA,iBAAA,GAAoB,WAAY,CAAA,YAAA,EAAc,SAAS,CAAA,CAAA;AAE7D,IAAA,MAAM,SAAY,GAAA,QAAA,CAAS,MAAM,KAAA,CAAM,SAAS,CAAA,CAAA;AAChD,IAAA,MAAM,QAAW,GAAA,QAAA,CAAS,MAAM,KAAA,CAAM,QAAQ,CAAA,CAAA;AAC9C,IAAM,MAAA,EAAE,eAAkB,GAAA,YAAA,CAAA,SAAA,EAAA,SAAA,EAAA,SAAA,EAAA,QAAA,CAAA,CAAA;AAAA,IACxB,MAAA,CAAA;AAAA,MACA,aAAA;AAAA,KACA,CAAA,CAAA;AAAA,IACA,OAAA,CAAA,IAAA,EAAA,MAAA,KAAA;AAAA,MACF,OAAAA,SAAA,EAAA,EAAAC,kBAAA,CAAA,KAAA,EAAA;AAEA,QAAa,GAAA,EAAAC,KAAA,CAAA,iBAAA,CAAA;AAAA,QACX,KAAA,EAAAC,cAAA,CAAAD,KAAA,CAAA,SAAA,CAAA,CAAA;AAAA,QACD,KAAA,EAAAE,cAAA,CAAAF,KAAA,CAAA,KAAA,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { dialogContentProps } from './dialog-
|
1
|
+
import { dialogContentProps } from './dialog-content.mjs';
|
2
2
|
import { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';
|
3
3
|
import { UPDATE_MODEL_EVENT } from '../../../constants/event.mjs';
|
4
4
|
import { isBoolean } from '../../../utils/types.mjs';
|
@@ -2,7 +2,7 @@ import { defineComponent, useSlots, computed, ref, provide, openBlock, createBlo
|
|
2
2
|
import { ElOverlay } from '../../overlay/index.mjs';
|
3
3
|
import ElFocusTrap from '../../focus-trap/src/focus-trap.mjs';
|
4
4
|
import { ElTeleport } from '../../teleport/index.mjs';
|
5
|
-
import ElDialogContent from './dialog-
|
5
|
+
import ElDialogContent from './dialog-content2.mjs';
|
6
6
|
import { dialogInjectionKey } from './constants.mjs';
|
7
7
|
import { dialogProps, dialogEmits } from './dialog.mjs';
|
8
8
|
import { useDialog } from './use-dialog.mjs';
|
package/es/components/index.mjs
CHANGED
@@ -82,14 +82,14 @@ export { ElNotification } from './notification/index.mjs';
|
|
82
82
|
export { ElPopover, ElPopoverDirective } from './popover/index.mjs';
|
83
83
|
export { default as FixedSizeGrid } from './virtual-list/src/components/fixed-size-grid.mjs';
|
84
84
|
export { default as DynamicSizeGrid } from './virtual-list/src/components/dynamic-size-grid.mjs';
|
85
|
-
export { affixEmits, affixProps } from './affix/src/
|
85
|
+
export { affixEmits, affixProps } from './affix/src/affix.mjs';
|
86
86
|
export { alertEffects, alertEmits, alertProps } from './alert/src/alert.mjs';
|
87
87
|
export { autocompleteEmits, autocompleteProps } from './autocomplete/src/autocomplete.mjs';
|
88
88
|
export { avatarEmits, avatarProps } from './avatar/src/avatar.mjs';
|
89
89
|
export { backtopEmits, backtopProps } from './backtop/src/backtop.mjs';
|
90
90
|
export { badgeProps } from './badge/src/badge.mjs';
|
91
91
|
export { breadcrumbProps } from './breadcrumb/src/breadcrumb.mjs';
|
92
|
-
export { breadcrumbItemProps } from './breadcrumb/src/breadcrumb-
|
92
|
+
export { breadcrumbItemProps } from './breadcrumb/src/breadcrumb-item2.mjs';
|
93
93
|
export { breadcrumbKey } from './breadcrumb/src/constants.mjs';
|
94
94
|
export { buttonEmits, buttonNativeTypes, buttonProps, buttonTypes } from './button/src/button.mjs';
|
95
95
|
export { buttonGroupContextKey } from './button/src/constants.mjs';
|
@@ -219,7 +219,7 @@ export { watermarkProps } from './watermark/src/watermark.mjs';
|
|
219
219
|
export { tourEmits, tourProps } from './tour/src/tour.mjs';
|
220
220
|
export { tourStepEmits, tourStepProps } from './tour/src/step.mjs';
|
221
221
|
export { tourContentEmits, tourContentProps, tourPlacements, tourStrategies } from './tour/src/content.mjs';
|
222
|
-
export { anchorEmits, anchorProps } from './anchor/src/
|
222
|
+
export { anchorEmits, anchorProps } from './anchor/src/anchor2.mjs';
|
223
223
|
export { segmentedEmits, segmentedProps } from './segmented/src/segmented.mjs';
|
224
224
|
export { mentionEmits, mentionProps } from './mention/src/mention.mjs';
|
225
225
|
export { vLoading as ElLoadingDirective, vLoading } from './loading/src/directive.mjs';
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { getCurrentInstance, shallowRef, ref, watch, onMounted } from 'vue';
|
2
2
|
import { useEventListener } from '@vueuse/core';
|
3
|
-
import { isFunction } from '@vue/shared';
|
4
3
|
import { isElement } from '../../utils/types.mjs';
|
4
|
+
import { isFunction } from '@vue/shared';
|
5
5
|
|
6
6
|
function useFocusController(target, {
|
7
7
|
beforeFocus,
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { isRef, computed, watch, onScopeDispose } from 'vue';
|
2
2
|
import { useNamespace } from '../use-namespace/index.mjs';
|
3
3
|
import { throwError } from '../../utils/error.mjs';
|
4
|
+
import { isClient } from '@vueuse/core';
|
4
5
|
import { hasClass, getStyle, addClass, removeClass } from '../../utils/dom/style.mjs';
|
5
6
|
import { getScrollBarWidth } from '../../utils/dom/scroll.mjs';
|
6
|
-
import { isClient } from '@vueuse/core';
|
7
7
|
|
8
8
|
const useLockscreen = (trigger, options = {}) => {
|
9
9
|
if (!isRef(trigger)) {
|
package/es/index.mjs
CHANGED
@@ -2,7 +2,7 @@ import installer from './defaults.mjs';
|
|
2
2
|
export { default } from './defaults.mjs';
|
3
3
|
export { makeInstaller } from './make-installer.mjs';
|
4
4
|
export { default as dayjs } from 'dayjs';
|
5
|
-
export { affixEmits, affixProps } from './components/affix/src/
|
5
|
+
export { affixEmits, affixProps } from './components/affix/src/affix.mjs';
|
6
6
|
export { ElAffix } from './components/affix/index.mjs';
|
7
7
|
export { alertEffects, alertEmits, alertProps } from './components/alert/src/alert.mjs';
|
8
8
|
export { ElAlert } from './components/alert/index.mjs';
|
@@ -15,7 +15,7 @@ export { ElBacktop } from './components/backtop/index.mjs';
|
|
15
15
|
export { badgeProps } from './components/badge/src/badge.mjs';
|
16
16
|
export { ElBadge } from './components/badge/index.mjs';
|
17
17
|
export { breadcrumbProps } from './components/breadcrumb/src/breadcrumb.mjs';
|
18
|
-
export { breadcrumbItemProps } from './components/breadcrumb/src/breadcrumb-
|
18
|
+
export { breadcrumbItemProps } from './components/breadcrumb/src/breadcrumb-item2.mjs';
|
19
19
|
export { breadcrumbKey } from './components/breadcrumb/src/constants.mjs';
|
20
20
|
export { ElBreadcrumb, ElBreadcrumbItem } from './components/breadcrumb/index.mjs';
|
21
21
|
export { buttonEmits, buttonNativeTypes, buttonProps, buttonTypes } from './components/button/src/button.mjs';
|
@@ -214,7 +214,7 @@ export { tourEmits, tourProps } from './components/tour/src/tour.mjs';
|
|
214
214
|
export { tourStepEmits, tourStepProps } from './components/tour/src/step.mjs';
|
215
215
|
export { tourContentEmits, tourContentProps, tourPlacements, tourStrategies } from './components/tour/src/content.mjs';
|
216
216
|
export { ElTour, ElTourStep } from './components/tour/index.mjs';
|
217
|
-
export { anchorEmits, anchorProps } from './components/anchor/src/
|
217
|
+
export { anchorEmits, anchorProps } from './components/anchor/src/anchor2.mjs';
|
218
218
|
export { ElAnchor, ElAnchorLink } from './components/anchor/index.mjs';
|
219
219
|
export { segmentedEmits, segmentedProps } from './components/segmented/src/segmented.mjs';
|
220
220
|
export { ElSegmented } from './components/segmented/index.mjs';
|
package/es/version.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export declare const version = "0.0.
|
1
|
+
export declare const version = "0.0.20241201";
|
package/es/version.mjs
CHANGED
package/es/version.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"version.mjs","sources":["../../../packages/element-plus/version.ts"],"sourcesContent":["export const version = '0.0.
|
1
|
+
{"version":3,"file":"version.mjs","sources":["../../../packages/element-plus/version.ts"],"sourcesContent":["export const version = '0.0.20241201'\n"],"names":[],"mappings":"AAAY,MAAC,OAAO,GAAG;;;;"}
|
@@ -2,8 +2,8 @@
|
|
2
2
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
|
-
var affix$1 = require('./src/
|
6
|
-
var affix = require('./src/
|
5
|
+
var affix$1 = require('./src/affix2.js');
|
6
|
+
var affix = require('./src/affix.js');
|
7
7
|
var install = require('../../utils/vue/install.js');
|
8
8
|
|
9
9
|
const ElAffix = install.withInstall(affix$1["default"]);
|