yc-design-vue 1.8.0 → 1.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/Calendar/CalendarMonth.vue.d.ts +1 -1
- package/es/ConfigProvider/index.d.ts +3 -3
- package/es/ConfigProvider/index.vue.d.ts +1 -1
- package/es/Progress/ProgressCircle.vue.js +1 -1
- package/es/Watermark/index.d.ts +3 -3
- package/es/Watermark/index.vue.d.ts +1 -1
- package/es/_shared/icons/IconExclamation.vue.js +28 -1
- package/es/_shared/icons/IconExclamation.vue2.js +1 -28
- package/es/_shared/locale/i18n.js +10 -5
- package/es/index.js +1 -1
- package/es/node_modules/@intlify/vue-i18n-core/dist/vue-i18n-core.js +3 -3
- package/lib/Calendar/CalendarMonth.vue.d.ts +1 -1
- package/lib/ConfigProvider/index.d.ts +3 -3
- package/lib/ConfigProvider/index.vue.d.ts +1 -1
- package/lib/Progress/ProgressCircle.vue.js +1 -1
- package/lib/Watermark/index.d.ts +3 -3
- package/lib/Watermark/index.vue.d.ts +1 -1
- package/lib/_shared/icons/IconExclamation.vue.js +1 -1
- package/lib/_shared/icons/IconExclamation.vue2.js +1 -1
- package/lib/_shared/locale/i18n.js +1 -1
- package/lib/index.js +1 -1
- package/package.json +1 -1
- package/es/_virtual/dynamic-import-helper.js +0 -19
- package/lib/_virtual/dynamic-import-helper.js +0 -1
@@ -23,8 +23,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
|
|
23
23
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
24
24
|
"onCell-click"?: ((col: CalendarCellData) => any) | undefined;
|
25
25
|
}>, {
|
26
|
-
small: boolean;
|
27
26
|
calendar: CalendarCellData[][];
|
27
|
+
small: boolean;
|
28
28
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
29
29
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
30
30
|
export default _default;
|
@@ -4,12 +4,12 @@ export type ConfigProviderInstance = InstanceType<typeof _ConfigProvider>;
|
|
4
4
|
export * from './type';
|
5
5
|
declare const ConfigProvider: {
|
6
6
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').ConfigProviderProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
7
|
+
locale: "ar-EG" | "de-DE" | "en-US" | "es-ES" | "fr-FR" | "id-ID" | "it-it" | "ja-JP" | "km-KH" | "ko-KR" | "ms-MY" | "nl-NL" | "pt-PT" | "ru-RU" | "th-TH" | "vi-VN" | "zh-CN" | "zh-TW";
|
7
8
|
size: import('..').Size;
|
8
9
|
popupContainer: import('..').PopupContainer;
|
9
10
|
updateAtScroll: boolean;
|
10
11
|
scrollToClose: boolean;
|
11
12
|
zIndex: number;
|
12
|
-
locale: "ar-EG" | "de-DE" | "en-US" | "es-ES" | "fr-FR" | "id-ID" | "it-it" | "ja-JP" | "km-KH" | "ko-KR" | "ms-MY" | "nl-NL" | "pt-PT" | "ru-RU" | "th-TH" | "vi-VN" | "zh-CN" | "zh-TW";
|
13
13
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
14
14
|
P: {};
|
15
15
|
B: {};
|
@@ -18,23 +18,23 @@ declare const ConfigProvider: {
|
|
18
18
|
M: {};
|
19
19
|
Defaults: {};
|
20
20
|
}, Readonly<import('./type').ConfigProviderProps> & Readonly<{}>, {}, {}, {}, {}, {
|
21
|
+
locale: "ar-EG" | "de-DE" | "en-US" | "es-ES" | "fr-FR" | "id-ID" | "it-it" | "ja-JP" | "km-KH" | "ko-KR" | "ms-MY" | "nl-NL" | "pt-PT" | "ru-RU" | "th-TH" | "vi-VN" | "zh-CN" | "zh-TW";
|
21
22
|
size: import('..').Size;
|
22
23
|
popupContainer: import('..').PopupContainer;
|
23
24
|
updateAtScroll: boolean;
|
24
25
|
scrollToClose: boolean;
|
25
26
|
zIndex: number;
|
26
|
-
locale: "ar-EG" | "de-DE" | "en-US" | "es-ES" | "fr-FR" | "id-ID" | "it-it" | "ja-JP" | "km-KH" | "ko-KR" | "ms-MY" | "nl-NL" | "pt-PT" | "ru-RU" | "th-TH" | "vi-VN" | "zh-CN" | "zh-TW";
|
27
27
|
}>;
|
28
28
|
__isFragment?: never;
|
29
29
|
__isTeleport?: never;
|
30
30
|
__isSuspense?: never;
|
31
31
|
} & import('vue').ComponentOptionsBase<Readonly<import('./type').ConfigProviderProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
32
|
+
locale: "ar-EG" | "de-DE" | "en-US" | "es-ES" | "fr-FR" | "id-ID" | "it-it" | "ja-JP" | "km-KH" | "ko-KR" | "ms-MY" | "nl-NL" | "pt-PT" | "ru-RU" | "th-TH" | "vi-VN" | "zh-CN" | "zh-TW";
|
32
33
|
size: import('..').Size;
|
33
34
|
popupContainer: import('..').PopupContainer;
|
34
35
|
updateAtScroll: boolean;
|
35
36
|
scrollToClose: boolean;
|
36
37
|
zIndex: number;
|
37
|
-
locale: "ar-EG" | "de-DE" | "en-US" | "es-ES" | "fr-FR" | "id-ID" | "it-it" | "ja-JP" | "km-KH" | "ko-KR" | "ms-MY" | "nl-NL" | "pt-PT" | "ru-RU" | "th-TH" | "vi-VN" | "zh-CN" | "zh-TW";
|
38
38
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
39
39
|
$slots: Readonly<import('./type').ConfigconfigSlots> & import('./type').ConfigconfigSlots;
|
40
40
|
}) & {
|
@@ -7,12 +7,12 @@ declare function __VLS_template(): {
|
|
7
7
|
};
|
8
8
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
9
9
|
declare const __VLS_component: import('vue').DefineComponent<ConfigProviderProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ConfigProviderProps> & Readonly<{}>, {
|
10
|
+
locale: "ar-EG" | "de-DE" | "en-US" | "es-ES" | "fr-FR" | "id-ID" | "it-it" | "ja-JP" | "km-KH" | "ko-KR" | "ms-MY" | "nl-NL" | "pt-PT" | "ru-RU" | "th-TH" | "vi-VN" | "zh-CN" | "zh-TW";
|
10
11
|
size: import('..').Size;
|
11
12
|
popupContainer: import('..').PopupContainer;
|
12
13
|
updateAtScroll: boolean;
|
13
14
|
scrollToClose: boolean;
|
14
15
|
zIndex: number;
|
15
|
-
locale: "ar-EG" | "de-DE" | "en-US" | "es-ES" | "fr-FR" | "id-ID" | "it-it" | "ja-JP" | "km-KH" | "ko-KR" | "ms-MY" | "nl-NL" | "pt-PT" | "ru-RU" | "th-TH" | "vi-VN" | "zh-CN" | "zh-TW";
|
16
16
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
17
17
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
18
18
|
export default _default;
|
@@ -6,7 +6,7 @@ import "../_shared/utils/time.js";
|
|
6
6
|
import "../Empty/index.js";
|
7
7
|
/* empty css */
|
8
8
|
import _sfc_main$1 from "../_shared/icons/IconCheck.vue.js";
|
9
|
-
import _sfc_main$2 from "../_shared/icons/IconExclamation.
|
9
|
+
import _sfc_main$2 from "../_shared/icons/IconExclamation.vue.js";
|
10
10
|
import { TYPE_ICON_COLOR_MAP } from "../_shared/constants/index.js";
|
11
11
|
const _hoisted_1 = ["aria-valuenow"];
|
12
12
|
const _hoisted_2 = ["viewBox"];
|
package/es/Watermark/index.d.ts
CHANGED
@@ -4,6 +4,7 @@ export type WatermarkInstance = InstanceType<typeof _Watermark>;
|
|
4
4
|
export * from './type';
|
5
5
|
declare const Watermark: {
|
6
6
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').WatermarkProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
7
|
+
image: string;
|
7
8
|
zIndex: number;
|
8
9
|
width: number;
|
9
10
|
height: number;
|
@@ -11,7 +12,6 @@ declare const Watermark: {
|
|
11
12
|
content: string | string[];
|
12
13
|
alpha: number;
|
13
14
|
rotate: number;
|
14
|
-
image: string;
|
15
15
|
offset: number[];
|
16
16
|
font: import('./type').WatermarkFont;
|
17
17
|
gap: number[];
|
@@ -28,6 +28,7 @@ declare const Watermark: {
|
|
28
28
|
M: {};
|
29
29
|
Defaults: {};
|
30
30
|
}, Readonly<import('./type').WatermarkProps> & Readonly<{}>, {}, {}, {}, {}, {
|
31
|
+
image: string;
|
31
32
|
zIndex: number;
|
32
33
|
width: number;
|
33
34
|
height: number;
|
@@ -35,7 +36,6 @@ declare const Watermark: {
|
|
35
36
|
content: string | string[];
|
36
37
|
alpha: number;
|
37
38
|
rotate: number;
|
38
|
-
image: string;
|
39
39
|
offset: number[];
|
40
40
|
font: import('./type').WatermarkFont;
|
41
41
|
gap: number[];
|
@@ -47,6 +47,7 @@ declare const Watermark: {
|
|
47
47
|
__isTeleport?: never;
|
48
48
|
__isSuspense?: never;
|
49
49
|
} & import('vue').ComponentOptionsBase<Readonly<import('./type').WatermarkProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
50
|
+
image: string;
|
50
51
|
zIndex: number;
|
51
52
|
width: number;
|
52
53
|
height: number;
|
@@ -54,7 +55,6 @@ declare const Watermark: {
|
|
54
55
|
content: string | string[];
|
55
56
|
alpha: number;
|
56
57
|
rotate: number;
|
57
|
-
image: string;
|
58
58
|
offset: number[];
|
59
59
|
font: import('./type').WatermarkFont;
|
60
60
|
gap: number[];
|
@@ -9,6 +9,7 @@ declare function __VLS_template(): {
|
|
9
9
|
};
|
10
10
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
11
11
|
declare const __VLS_component: import('vue').DefineComponent<WatermarkProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<WatermarkProps> & Readonly<{}>, {
|
12
|
+
image: string;
|
12
13
|
zIndex: number;
|
13
14
|
width: number;
|
14
15
|
height: number;
|
@@ -16,7 +17,6 @@ declare const __VLS_component: import('vue').DefineComponent<WatermarkProps, {},
|
|
16
17
|
content: string | string[];
|
17
18
|
alpha: number;
|
18
19
|
rotate: number;
|
19
|
-
image: string;
|
20
20
|
offset: number[];
|
21
21
|
font: import('./type').WatermarkFont;
|
22
22
|
gap: number[];
|
@@ -1,4 +1,31 @@
|
|
1
|
-
import
|
1
|
+
import { defineComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode } from "vue";
|
2
|
+
import _sfc_main$1 from "../components/Icon.vue3.js";
|
3
|
+
/* empty css */
|
4
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
5
|
+
__name: "IconExclamation",
|
6
|
+
setup(__props) {
|
7
|
+
return (_ctx, _cache) => {
|
8
|
+
return openBlock(), createBlock(_sfc_main$1, normalizeProps(guardReactiveProps(_ctx.$attrs)), {
|
9
|
+
default: withCtx(() => _cache[0] || (_cache[0] = [
|
10
|
+
createElementVNode("path", { d: "M23 9h2v21h-2z" }, null, -1),
|
11
|
+
createElementVNode("path", {
|
12
|
+
fill: "currentColor",
|
13
|
+
stroke: "none",
|
14
|
+
d: "M23 9h2v21h-2z"
|
15
|
+
}, null, -1),
|
16
|
+
createElementVNode("path", { d: "M23 37h2v2h-2z" }, null, -1),
|
17
|
+
createElementVNode("path", {
|
18
|
+
fill: "currentColor",
|
19
|
+
stroke: "none",
|
20
|
+
d: "M23 37h2v2h-2z"
|
21
|
+
}, null, -1)
|
22
|
+
])),
|
23
|
+
_: 1,
|
24
|
+
__: [0]
|
25
|
+
}, 16);
|
26
|
+
};
|
27
|
+
}
|
28
|
+
});
|
2
29
|
export {
|
3
30
|
_sfc_main as default
|
4
31
|
};
|
@@ -1,31 +1,4 @@
|
|
1
|
-
import
|
2
|
-
import _sfc_main$1 from "../components/Icon.vue3.js";
|
3
|
-
/* empty css */
|
4
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
5
|
-
__name: "IconExclamation",
|
6
|
-
setup(__props) {
|
7
|
-
return (_ctx, _cache) => {
|
8
|
-
return openBlock(), createBlock(_sfc_main$1, normalizeProps(guardReactiveProps(_ctx.$attrs)), {
|
9
|
-
default: withCtx(() => _cache[0] || (_cache[0] = [
|
10
|
-
createElementVNode("path", { d: "M23 9h2v21h-2z" }, null, -1),
|
11
|
-
createElementVNode("path", {
|
12
|
-
fill: "currentColor",
|
13
|
-
stroke: "none",
|
14
|
-
d: "M23 9h2v21h-2z"
|
15
|
-
}, null, -1),
|
16
|
-
createElementVNode("path", { d: "M23 37h2v2h-2z" }, null, -1),
|
17
|
-
createElementVNode("path", {
|
18
|
-
fill: "currentColor",
|
19
|
-
stroke: "none",
|
20
|
-
d: "M23 37h2v2h-2z"
|
21
|
-
}, null, -1)
|
22
|
-
])),
|
23
|
-
_: 1,
|
24
|
-
__: [0]
|
25
|
-
}, 16);
|
26
|
-
};
|
27
|
-
}
|
28
|
-
});
|
1
|
+
import _sfc_main from "./IconExclamation.vue.js";
|
29
2
|
export {
|
30
3
|
_sfc_main as default
|
31
4
|
};
|
@@ -1,4 +1,3 @@
|
|
1
|
-
import __variableDynamicImportRuntimeHelper from "../../_virtual/dynamic-import-helper.js";
|
2
1
|
import lang from "./lang/zh-cn.js";
|
3
2
|
import { createI18n } from "../../node_modules/@intlify/vue-i18n-core/dist/vue-i18n-core.js";
|
4
3
|
const i18n = createI18n({
|
@@ -12,6 +11,7 @@ const i18n = createI18n({
|
|
12
11
|
fallbackWarn: false
|
13
12
|
});
|
14
13
|
const i18nGlobal = i18n.global;
|
14
|
+
const langModules = /* @__PURE__ */ Object.assign({ "./lang/ar-eg.ts": () => import("./lang/ar-eg.js"), "./lang/de-de.ts": () => import("./lang/de-de.js"), "./lang/en-us.ts": () => import("./lang/en-us.js"), "./lang/es-es.ts": () => import("./lang/es-es.js"), "./lang/fr-fr.ts": () => import("./lang/fr-fr.js"), "./lang/id-id.ts": () => import("./lang/id-id.js"), "./lang/it-it.ts": () => import("./lang/it-it.js"), "./lang/ja-jp.ts": () => import("./lang/ja-jp.js"), "./lang/km-kh.ts": () => import("./lang/km-kh.js"), "./lang/ko-kr.ts": () => import("./lang/ko-kr.js"), "./lang/ms-my.ts": () => import("./lang/ms-my.js"), "./lang/nl-nl.ts": () => import("./lang/nl-nl.js"), "./lang/pt-pt.ts": () => import("./lang/pt-pt.js"), "./lang/ru-ru.ts": () => import("./lang/ru-ru.js"), "./lang/th-th.ts": () => import("./lang/th-th.js"), "./lang/vi-vn.ts": () => import("./lang/vi-vn.js"), "./lang/zh-cn.ts": () => import("./lang/zh-cn.js"), "./lang/zh-tw.ts": () => import("./lang/zh-tw.js") });
|
15
15
|
async function loadLanguageAsync(locale) {
|
16
16
|
const loadedLanguages = Object.keys(i18nGlobal.messages.value);
|
17
17
|
if (i18nGlobal.locale.value === locale || loadedLanguages.includes(locale)) {
|
@@ -20,10 +20,15 @@ async function loadLanguageAsync(locale) {
|
|
20
20
|
}
|
21
21
|
try {
|
22
22
|
const localeName = locale.split("-").map((v) => v.toLocaleLowerCase()).join("-");
|
23
|
-
const
|
24
|
-
|
25
|
-
|
26
|
-
|
23
|
+
const modulePath = `./lang/${localeName}.ts`;
|
24
|
+
if (langModules[modulePath]) {
|
25
|
+
const module = await langModules[modulePath]();
|
26
|
+
i18nGlobal.setLocaleMessage(locale, module.default);
|
27
|
+
i18nGlobal.locale.value = locale;
|
28
|
+
return locale;
|
29
|
+
} else {
|
30
|
+
throw new Error(`无法找到语言文件: ${localeName}.ts`);
|
31
|
+
}
|
27
32
|
} catch (error) {
|
28
33
|
console.error(`无法加载语言文件 ${locale}.ts:`, error);
|
29
34
|
return i18nGlobal.locale.value;
|
package/es/index.js
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
import i18n from "./_shared/locale/i18n.js";
|
1
2
|
/* empty css */
|
2
3
|
import Affix from "./Affix/index.js";
|
3
4
|
import Alert from "./Alert/index.js";
|
@@ -66,7 +67,6 @@ import Typography from "./Typography/index.js";
|
|
66
67
|
import Tabs from "./Tabs/index.js";
|
67
68
|
import VerificationCode from "./VerificationCode/index.js";
|
68
69
|
import Watermark from "./Watermark/index.js";
|
69
|
-
import i18n from "./_shared/locale/i18n.js";
|
70
70
|
import _sfc_main from "./Typography/TypographyParagraph.vue.js";
|
71
71
|
/* empty css */
|
72
72
|
import _sfc_main$1 from "./Typography/TypographyTitle.vue.js";
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { DEFAULT_LOCALE, updateFallbackLocale,
|
2
|
-
import {
|
3
|
-
import {
|
1
|
+
import { DEFAULT_LOCALE, updateFallbackLocale, createCoreContext, clearDateTimeFormat, clearNumberFormat, isMessageAST, AST_NODE_PROPS_KEYS, setAdditionalMeta, getFallbackContext, NOT_RESOLVED, isTranslateFallbackWarn, isTranslateMissingWarn, CORE_ERROR_CODES_EXTEND_POINT, fallbackWithLocaleChain, CORE_WARN_CODES_EXTEND_POINT, setFallbackContext, parseTranslateArgs, translate, MISSING_RESOLVE_VALUE, parseDateTimeArgs, datetime, parseNumberArgs, number, isMessageFunction, DATETIME_FORMAT_OPTIONS_KEYS, NUMBER_FORMAT_OPTIONS_KEYS, setDevToolsHook } from "../../core-base/dist/core-base.js";
|
2
|
+
import { isBoolean, makeSymbol, isPlainObject, createEmitter, isString, isArray, isRegExp, isFunction, inBrowser, create, deepCopy, hasOwn, isObject, assign, isNumber, warn, format, isEmptyObject, getGlobalThis } from "../../shared/dist/shared.js";
|
3
|
+
import { effectScope, ref, shallowRef, computed, watch, isRef, defineComponent, getCurrentInstance, h, Fragment, inject, onMounted, onUnmounted, createVNode, Text } from "vue";
|
4
4
|
import { setupDevtoolsPlugin } from "../../../@vue/devtools-api/lib/esm/index.js";
|
5
5
|
import { createCompileError } from "../../message-compiler/dist/message-compiler.js";
|
6
6
|
/*!
|
@@ -23,8 +23,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
|
|
23
23
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
24
24
|
"onCell-click"?: ((col: CalendarCellData) => any) | undefined;
|
25
25
|
}>, {
|
26
|
-
small: boolean;
|
27
26
|
calendar: CalendarCellData[][];
|
27
|
+
small: boolean;
|
28
28
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
29
29
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
30
30
|
export default _default;
|
@@ -4,12 +4,12 @@ export type ConfigProviderInstance = InstanceType<typeof _ConfigProvider>;
|
|
4
4
|
export * from './type';
|
5
5
|
declare const ConfigProvider: {
|
6
6
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').ConfigProviderProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
7
|
+
locale: "ar-EG" | "de-DE" | "en-US" | "es-ES" | "fr-FR" | "id-ID" | "it-it" | "ja-JP" | "km-KH" | "ko-KR" | "ms-MY" | "nl-NL" | "pt-PT" | "ru-RU" | "th-TH" | "vi-VN" | "zh-CN" | "zh-TW";
|
7
8
|
size: import('..').Size;
|
8
9
|
popupContainer: import('..').PopupContainer;
|
9
10
|
updateAtScroll: boolean;
|
10
11
|
scrollToClose: boolean;
|
11
12
|
zIndex: number;
|
12
|
-
locale: "ar-EG" | "de-DE" | "en-US" | "es-ES" | "fr-FR" | "id-ID" | "it-it" | "ja-JP" | "km-KH" | "ko-KR" | "ms-MY" | "nl-NL" | "pt-PT" | "ru-RU" | "th-TH" | "vi-VN" | "zh-CN" | "zh-TW";
|
13
13
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
14
14
|
P: {};
|
15
15
|
B: {};
|
@@ -18,23 +18,23 @@ declare const ConfigProvider: {
|
|
18
18
|
M: {};
|
19
19
|
Defaults: {};
|
20
20
|
}, Readonly<import('./type').ConfigProviderProps> & Readonly<{}>, {}, {}, {}, {}, {
|
21
|
+
locale: "ar-EG" | "de-DE" | "en-US" | "es-ES" | "fr-FR" | "id-ID" | "it-it" | "ja-JP" | "km-KH" | "ko-KR" | "ms-MY" | "nl-NL" | "pt-PT" | "ru-RU" | "th-TH" | "vi-VN" | "zh-CN" | "zh-TW";
|
21
22
|
size: import('..').Size;
|
22
23
|
popupContainer: import('..').PopupContainer;
|
23
24
|
updateAtScroll: boolean;
|
24
25
|
scrollToClose: boolean;
|
25
26
|
zIndex: number;
|
26
|
-
locale: "ar-EG" | "de-DE" | "en-US" | "es-ES" | "fr-FR" | "id-ID" | "it-it" | "ja-JP" | "km-KH" | "ko-KR" | "ms-MY" | "nl-NL" | "pt-PT" | "ru-RU" | "th-TH" | "vi-VN" | "zh-CN" | "zh-TW";
|
27
27
|
}>;
|
28
28
|
__isFragment?: never;
|
29
29
|
__isTeleport?: never;
|
30
30
|
__isSuspense?: never;
|
31
31
|
} & import('vue').ComponentOptionsBase<Readonly<import('./type').ConfigProviderProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
32
|
+
locale: "ar-EG" | "de-DE" | "en-US" | "es-ES" | "fr-FR" | "id-ID" | "it-it" | "ja-JP" | "km-KH" | "ko-KR" | "ms-MY" | "nl-NL" | "pt-PT" | "ru-RU" | "th-TH" | "vi-VN" | "zh-CN" | "zh-TW";
|
32
33
|
size: import('..').Size;
|
33
34
|
popupContainer: import('..').PopupContainer;
|
34
35
|
updateAtScroll: boolean;
|
35
36
|
scrollToClose: boolean;
|
36
37
|
zIndex: number;
|
37
|
-
locale: "ar-EG" | "de-DE" | "en-US" | "es-ES" | "fr-FR" | "id-ID" | "it-it" | "ja-JP" | "km-KH" | "ko-KR" | "ms-MY" | "nl-NL" | "pt-PT" | "ru-RU" | "th-TH" | "vi-VN" | "zh-CN" | "zh-TW";
|
38
38
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
39
39
|
$slots: Readonly<import('./type').ConfigconfigSlots> & import('./type').ConfigconfigSlots;
|
40
40
|
}) & {
|
@@ -7,12 +7,12 @@ declare function __VLS_template(): {
|
|
7
7
|
};
|
8
8
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
9
9
|
declare const __VLS_component: import('vue').DefineComponent<ConfigProviderProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ConfigProviderProps> & Readonly<{}>, {
|
10
|
+
locale: "ar-EG" | "de-DE" | "en-US" | "es-ES" | "fr-FR" | "id-ID" | "it-it" | "ja-JP" | "km-KH" | "ko-KR" | "ms-MY" | "nl-NL" | "pt-PT" | "ru-RU" | "th-TH" | "vi-VN" | "zh-CN" | "zh-TW";
|
10
11
|
size: import('..').Size;
|
11
12
|
popupContainer: import('..').PopupContainer;
|
12
13
|
updateAtScroll: boolean;
|
13
14
|
scrollToClose: boolean;
|
14
15
|
zIndex: number;
|
15
|
-
locale: "ar-EG" | "de-DE" | "en-US" | "es-ES" | "fr-FR" | "id-ID" | "it-it" | "ja-JP" | "km-KH" | "ko-KR" | "ms-MY" | "nl-NL" | "pt-PT" | "ru-RU" | "th-TH" | "vi-VN" | "zh-CN" | "zh-TW";
|
16
16
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
17
17
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
18
18
|
export default _default;
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js");const r=require("../_shared/utils/dom.js"),l=require("../_shared/utils/is.js");require("../_shared/utils/time.js"),require("../Empty/index.js");/* empty css */const o=require("../_shared/icons/IconCheck.vue.js"),t=require("../_shared/icons/IconExclamation.
|
1
|
+
"use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js");const r=require("../_shared/utils/dom.js"),l=require("../_shared/utils/is.js");require("../_shared/utils/time.js"),require("../Empty/index.js");/* empty css */const o=require("../_shared/icons/IconCheck.vue.js"),t=require("../_shared/icons/IconExclamation.vue.js"),s=require("../_shared/constants/index.js"),c=["aria-valuenow"],a=["viewBox"],n={key:0},u=["id"],i=["offset","stop-color"],m=["cx","cy","r","stroke-width"],d=["cx","cy","r","stroke-width"],p={key:2,class:e.normalizeClass("yc-progress-circle-text")},k=e.defineComponent({__name:"ProgressCircle",props:{type:{},percent:{},status:{},size:{},text:{},showText:{type:Boolean},width:{},strokeWidth:{},pathStrokeWidth:{},color:{},trackColor:{}},setup(k){const v=k,{size:y,width:f,color:h,strokeWidth:x,pathStrokeWidth:B}=e.toRefs(v);let _=0;const g=e.computed(()=>l.isObject(h.value)),C=e.computed(()=>x.value??("mini"===y.value?f.value/2:{mini:4,small:3,medium:4,large:4}[y.value])),E=e.computed(()=>B.value?B.value:"mini"===y.value?C.value:Math.max(2,C.value-2)),w=e.computed(()=>(f.value-C.value)/2),j=e.computed(()=>2*Math.PI*w.value),z=e.computed(()=>f.value/2),O=e.computed(()=>(_+=1,`yc-progress-circle-linear-gradient-${_}`));return(k,v)=>(e.openBlock(),e.createElementBlock("div",{role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":k.percent,class:e.normalizeClass("yc-progress-circle-wrapper"),style:e.normalizeStyle({width:e.unref(r.valueToPx)(e.unref(f)),height:e.unref(r.valueToPx)(e.unref(f))})},["circle"===k.type&&"mini"===e.unref(y)&&"success"===k.status?(e.openBlock(),e.createBlock(e.unref(o),{key:0,style:e.normalizeStyle({fontSize:e.unref(f)-2,color:e.unref(h)??e.unref(s.TYPE_ICON_COLOR_MAP).success})},null,8,["style"])):(e.openBlock(),e.createElementBlock("svg",{key:1,viewBox:`0 0 ${e.unref(f)} ${e.unref(f)}`,class:e.normalizeClass("yc-progress-circle-svg")},[e.unref(l.isObject)(e.unref(h))?(e.openBlock(),e.createElementBlock("defs",n,[e.createElementVNode("linearGradient",{id:O.value,x1:"0",y1:"1",x2:"0",y2:"0"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(e.unref(h)),r=>(e.openBlock(),e.createElementBlock("stop",{key:r,offset:r,"stop-color":e.unref(h)[r]},null,8,i))),128))],8,u)])):e.createCommentVNode("",!0),e.createElementVNode("circle",{class:e.normalizeClass("yc-progress-circle-bg"),fill:"none",cx:z.value,cy:z.value,r:w.value,"stroke-width":E.value,style:e.normalizeStyle({stroke:k.trackColor})},null,12,m),e.createElementVNode("circle",{class:e.normalizeClass("yc-progress-circle-bar"),fill:"none",cx:z.value,cy:z.value,r:w.value,"stroke-width":C.value,style:e.normalizeStyle({stroke:g.value?`url(#${O.value})`:e.unref(h),strokeDasharray:j.value,strokeDashoffset:(k.percent>=1?0:1-k.percent)*j.value})},null,12,d)],8,a)),k.showText&&"mini"!==e.unref(y)?(e.openBlock(),e.createElementBlock("div",p,[e.renderSlot(k.$slots,"text",{percent:k.percent},()=>["danger"===k.status?(e.openBlock(),e.createBlock(e.unref(t),{key:0,color:e.unref(s.TYPE_ICON_COLOR_MAP).error},null,8,["color"])):"success"===k.status?(e.openBlock(),e.createBlock(e.unref(o),{key:1,color:e.unref(s.TYPE_ICON_COLOR_MAP).success},null,8,["color"])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createTextVNode(e.toDisplayString(k.text),1)],64))])])):e.createCommentVNode("",!0)],12,c))}});module.exports=k;
|
package/lib/Watermark/index.d.ts
CHANGED
@@ -4,6 +4,7 @@ export type WatermarkInstance = InstanceType<typeof _Watermark>;
|
|
4
4
|
export * from './type';
|
5
5
|
declare const Watermark: {
|
6
6
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').WatermarkProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
7
|
+
image: string;
|
7
8
|
zIndex: number;
|
8
9
|
width: number;
|
9
10
|
height: number;
|
@@ -11,7 +12,6 @@ declare const Watermark: {
|
|
11
12
|
content: string | string[];
|
12
13
|
alpha: number;
|
13
14
|
rotate: number;
|
14
|
-
image: string;
|
15
15
|
offset: number[];
|
16
16
|
font: import('./type').WatermarkFont;
|
17
17
|
gap: number[];
|
@@ -28,6 +28,7 @@ declare const Watermark: {
|
|
28
28
|
M: {};
|
29
29
|
Defaults: {};
|
30
30
|
}, Readonly<import('./type').WatermarkProps> & Readonly<{}>, {}, {}, {}, {}, {
|
31
|
+
image: string;
|
31
32
|
zIndex: number;
|
32
33
|
width: number;
|
33
34
|
height: number;
|
@@ -35,7 +36,6 @@ declare const Watermark: {
|
|
35
36
|
content: string | string[];
|
36
37
|
alpha: number;
|
37
38
|
rotate: number;
|
38
|
-
image: string;
|
39
39
|
offset: number[];
|
40
40
|
font: import('./type').WatermarkFont;
|
41
41
|
gap: number[];
|
@@ -47,6 +47,7 @@ declare const Watermark: {
|
|
47
47
|
__isTeleport?: never;
|
48
48
|
__isSuspense?: never;
|
49
49
|
} & import('vue').ComponentOptionsBase<Readonly<import('./type').WatermarkProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
50
|
+
image: string;
|
50
51
|
zIndex: number;
|
51
52
|
width: number;
|
52
53
|
height: number;
|
@@ -54,7 +55,6 @@ declare const Watermark: {
|
|
54
55
|
content: string | string[];
|
55
56
|
alpha: number;
|
56
57
|
rotate: number;
|
57
|
-
image: string;
|
58
58
|
offset: number[];
|
59
59
|
font: import('./type').WatermarkFont;
|
60
60
|
gap: number[];
|
@@ -9,6 +9,7 @@ declare function __VLS_template(): {
|
|
9
9
|
};
|
10
10
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
11
11
|
declare const __VLS_component: import('vue').DefineComponent<WatermarkProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<WatermarkProps> & Readonly<{}>, {
|
12
|
+
image: string;
|
12
13
|
zIndex: number;
|
13
14
|
width: number;
|
14
15
|
height: number;
|
@@ -16,7 +17,6 @@ declare const __VLS_component: import('vue').DefineComponent<WatermarkProps, {},
|
|
16
17
|
content: string | string[];
|
17
18
|
alpha: number;
|
18
19
|
rotate: number;
|
19
|
-
image: string;
|
20
20
|
offset: number[];
|
21
21
|
font: import('./type').WatermarkFont;
|
22
22
|
gap: number[];
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";const e=require("
|
1
|
+
"use strict";const e=require("vue"),t=require("../components/Icon.vue3.js");;/* empty css */const o=e.defineComponent({__name:"IconExclamation",setup:o=>(o,n)=>(e.openBlock(),e.createBlock(t,e.normalizeProps(e.guardReactiveProps(o.$attrs)),{default:e.withCtx(()=>n[0]||(n[0]=[e.createElementVNode("path",{d:"M23 9h2v21h-2z"},null,-1),e.createElementVNode("path",{fill:"currentColor",stroke:"none",d:"M23 9h2v21h-2z"},null,-1),e.createElementVNode("path",{d:"M23 37h2v2h-2z"},null,-1),e.createElementVNode("path",{fill:"currentColor",stroke:"none",d:"M23 37h2v2h-2z"},null,-1)])),_:1,__:[0]},16))});module.exports=o;
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";const e=require("vue
|
1
|
+
"use strict";const e=require("./IconExclamation.vue.js");module.exports=e;
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./lang/zh-cn.js"),r=require("../../node_modules/@intlify/vue-i18n-core/dist/vue-i18n-core.js"),s=e=>Object.freeze(Object.defineProperty({__proto__:null,default:e},Symbol.toStringTag,{value:"Module"})),l=r.createI18n({locale:"zh-CN",fallbackLocale:"zh-CN",messages:{"zh-CN":e},globalInjection:!0,missingWarn:!1,fallbackWarn:!1}),n=l.global,t=Object.assign({"./lang/ar-eg.ts":()=>Promise.resolve().then(()=>s(require("./lang/ar-eg.js"))),"./lang/de-de.ts":()=>Promise.resolve().then(()=>s(require("./lang/de-de.js"))),"./lang/en-us.ts":()=>Promise.resolve().then(()=>s(require("./lang/en-us.js"))),"./lang/es-es.ts":()=>Promise.resolve().then(()=>s(require("./lang/es-es.js"))),"./lang/fr-fr.ts":()=>Promise.resolve().then(()=>s(require("./lang/fr-fr.js"))),"./lang/id-id.ts":()=>Promise.resolve().then(()=>s(require("./lang/id-id.js"))),"./lang/it-it.ts":()=>Promise.resolve().then(()=>s(require("./lang/it-it.js"))),"./lang/ja-jp.ts":()=>Promise.resolve().then(()=>s(require("./lang/ja-jp.js"))),"./lang/km-kh.ts":()=>Promise.resolve().then(()=>s(require("./lang/km-kh.js"))),"./lang/ko-kr.ts":()=>Promise.resolve().then(()=>s(require("./lang/ko-kr.js"))),"./lang/ms-my.ts":()=>Promise.resolve().then(()=>s(require("./lang/ms-my.js"))),"./lang/nl-nl.ts":()=>Promise.resolve().then(()=>s(require("./lang/nl-nl.js"))),"./lang/pt-pt.ts":()=>Promise.resolve().then(()=>s(require("./lang/pt-pt.js"))),"./lang/ru-ru.ts":()=>Promise.resolve().then(()=>s(require("./lang/ru-ru.js"))),"./lang/th-th.ts":()=>Promise.resolve().then(()=>s(require("./lang/th-th.js"))),"./lang/vi-vn.ts":()=>Promise.resolve().then(()=>s(require("./lang/vi-vn.js"))),"./lang/zh-cn.ts":()=>Promise.resolve().then(()=>s(require("./lang/zh-cn.js"))),"./lang/zh-tw.ts":()=>Promise.resolve().then(()=>s(require("./lang/zh-tw.js")))});exports.default=l,exports.loadLanguageAsync=async function(e){const r=Object.keys(n.messages.value);if(n.locale.value===e||r.includes(e))return n.locale.value=e,e;try{const r=e.split("-").map(e=>e.toLocaleLowerCase()).join("-"),s=`./lang/${r}.ts`;if(t[s]){const r=await t[s]();return n.setLocaleMessage(e,r.default),n.locale.value=e,e}throw new Error(`无法找到语言文件: ${r}.ts`)}catch(s){return n.locale.value}};
|
package/lib/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./_shared/locale/i18n.js");;/* empty css */const r=require("./Affix/index.js"),t=require("./Alert/index.js"),o=require("./Anchor/index.js"),i=require("./AutoComplete/index.js"),u=require("./Avatar/index.js"),s=require("./BackTop/index.js"),a=require("./Badge/index.js"),n=require("./Button/index.js"),p=require("./Breadcrumb/index.js"),d=require("./Card/index.js"),x=require("./Calendar/index.js"),l=require("./Carousel/index.js"),j=require("./Checkbox/index.js"),q=require("./Collapse/index.js"),c=require("./ColorPicker/index.js"),v=require("./Cascader/index.js"),m=require("./Comment/index.js"),g=require("./ConfigProvider/index.js"),f=require("./Descriptions/index.js"),C=require("./Divider/index.js"),y=require("./Drawer/index.js"),T=require("./Dropdown/index.js"),S=require("./Empty/index.js"),I=require("./Grid/index.js"),L=require("./Image/index.js"),h=require("./Input/index.js"),b=require("./InputNumber/index.js"),k=require("./InputTag/index.js"),G=require("./Layout/index.js"),P=require("./Link/index.js"),w=require("./List/index.js"),M=require("./Menu/index.js"),D=require("./Mention/index.js"),A=require("./Modal/index.js"),B=require("./Message/index.js"),R=require("./Notification/index.js"),O=require("./OverflowList/index.js"),H=require("./PageHeader/index.js"),N=require("./Pagination/index.js"),F=require("./Popconfirm/index.js"),z=require("./Popover/index.js"),E=require("./Progress/index.js"),V=require("./Radio/index.js"),W=require("./Rate/index.js"),_=require("./ResizeBox/index.js"),J=require("./Result/index.js"),K=require("./Scrollbar/index.js"),Q=require("./Select/index.js"),U=require("./Skeleton/index.js"),X=require("./Slider/index.js"),Y=require("./Space/index.js"),Z=require("./Split/index.js"),$=require("./Spin/index.js"),ee=require("./Statistic/index.js"),re=require("./Steps/index.js"),te=require("./Switch/index.js"),oe=require("./Tag/index.js"),ie=require("./Timeline/index.js"),ue=require("./Textarea/index.js"),se=require("./TimePicker/index.js"),ae=require("./Tooltip/index.js"),ne=require("./Transfer/index.js"),pe=require("./Trigger/index.js"),de=require("./Typography/index.js"),xe=require("./Tabs/index.js"),le=require("./VerificationCode/index.js"),je=require("./Watermark/index.js"),qe=require("./Typography/TypographyParagraph.vue.js");;/* empty css */const ce=require("./Typography/TypographyTitle.vue.js");;/* empty css */const ve=require("./Typography/TypographyText.vue.js"),me=require("./Timeline/TimelineItem.vue.js");;/* empty css */const ge=require("./Tabs/TabPane.vue.js");;/* empty css */const fe=require("./Menu/SubMenu.vue.js");;/* empty css */const Ce=require("./Steps/Step.vue.js");;/* empty css */const ye=require("./Skeleton/SkeletonShape.vue.js");;/* empty css */const Te=require("./Skeleton/SkeletonLine.vue.js");;/* empty css */const Se=require("./Radio/RadioGroup.vue.js");;/* empty css */const Ie=require("./Select/Optgroup.vue.js");;/* empty css */const Le=require("./Select/Option.vue.js");;/* empty css */const he=require("./Menu/MenuItemGroup.vue.js");;/* empty css */const be=require("./Menu/MenuItem.vue.js");;/* empty css */const ke=require("./List/ListItemMeta.vue.js");;/* empty css */const Ge=require("./List/ListItem.vue.js");;/* empty css */const Pe=require("./Layout/LayoutSider.vue.js");;/* empty css */const we=require("./Layout/LayoutHeader.vue.js");;/* empty css */const Me=require("./Layout/LayoutFooter.vue.js");;/* empty css */const De=require("./Layout/LayoutContent.vue.js");;/* empty css */const Ae=require("./Image/ImagePreviewGroup.vue.js"),Be=require("./Image/ImagePreviewAction.vue.js");;/* empty css */const Re=require("./Image/ImagePreview.vue.js");;/* empty css */const Oe=require("./Grid/GridRow.vue.js");;/* empty css */const He=require("./Grid/GridItem.vue.js"),Ne=require("./Grid/GridCol.vue.js"),Fe=require("./Dropdown/Dsubmenu.vue.js");;/* empty css */const ze=require("./Dropdown/Dgroup.vue.js");;/* empty css */const Ee=require("./Dropdown/Doption.vue.js");;/* empty css */const Ve=require("./Dropdown/DropdownButton.vue.js"),We=require("./Descriptions/DescriptionsItem.vue.js"),_e=require("./Statistic/Countdown.vue.js"),Je=require("./Collapse/CollapseItem.vue.js");;/* empty css */const Ke=require("./Checkbox/CheckboxGroup.vue.js");;/* empty css */const Qe=require("./Carousel/CarouselItem.vue.js");;/* empty css */const Ue=require("./Card/CardMeta.vue.js");;/* empty css */const Xe=require("./Card/CardGrid.vue.js");;/* empty css */const Ye=require("./Breadcrumb/BreadcrumbItem.vue.js");;/* empty css */const Ze=require("./Button/ButtonGroup.vue.js");;/* empty css */const $e=require("./Avatar/AvatarGroup.vue.js");;/* empty css */const er=require("./Anchor/AnchorLink.vue.js");;/* empty css */const rr={Affix:r,Alert:t,Anchor:o.default,AutoComplete:i,Avatar:u.default,BackTop:s,Badge:a,Button:n.default,Breadcrumb:p.default,Card:d.default,Calendar:x,Carousel:l.default,Checkbox:j.default,Collapse:q.default,ColorPicker:c,Cascader:v,Comment:m,ConfigProvider:g,Descriptions:f.default,Divider:C,Drawer:y,Dropdown:T.default,Empty:S,Grid:I.default,Image:L.default,Input:h,InputNumber:b,InputTag:k,Layout:G.default,Link:P,List:w.default,Menu:M.default,Mention:D,Modal:A,Message:B,Notification:R,OverflowList:O,PageHeader:H,Pagination:N,Popconfirm:F,Popover:z,Progress:E,Radio:V.default,Rate:W,ResizeBox:_,Result:J,Scrollbar:K,Select:Q.default,Skeleton:U.default,Slider:X,Space:Y,Split:Z,Statistic:ee.default,Steps:re.default,Spin:$,Switch:te,Tag:oe,Timeline:ie.default,Textarea:ue,TimePicker:se,Tooltip:ae,Transfer:ne,Trigger:pe,Typography:de.default,Tabs:xe.default,VerificationCode:le,Watermark:je},tr={...rr,AnchorLink:er,AvatarGroup:$e,ButtonGroup:Ze,BreadcrumbItem:Ye,CardGrid:Xe,CardMeta:Ue,CarouselItem:Qe,CheckboxGroup:Ke,CollapseItem:Je,Countdown:_e,DescriptionsItem:We,DropdownButton:Ve,Doption:Ee,Dgroup:ze,Dsubmenu:Fe,GridCol:Ne,GridItem:He,GridRow:Oe,ImagePreview:Re,ImagePreviewAction:Be,ImagePreviewGroup:Ae,LayoutContent:De,LayoutFooter:Me,LayoutHeader:we,LayoutSider:Pe,ListItem:Ge,ListItemMeta:ke,MenuItem:be,MenuItemGroup:he,Option:Le,Optgroup:Ie,RadioGroup:Se,SkeletonLine:Te,SkeletonShape:ye,Step:Ce,SubMenu:fe,TabPane:ge,TimelineItem:me,TypographyText:ve,TypographyTitle:ce,TypographyParagraph:qe,install:r=>{r.use(e.default);for(const e of Object.keys(rr))r.use(rr[e])}};exports.Affix=r,exports.Alert=t,exports.Anchor=o.default,exports.AutoComplete=i,exports.Avatar=u.default,exports.BackTop=s,exports.Badge=a,exports.Button=n.default,exports.Breadcrumb=p.default,exports.Card=d.default,exports.Calendar=x,exports.Carousel=l.default,exports.Checkbox=j.default,exports.Collapse=q.default,exports.ColorPicker=c,exports.Cascader=v,exports.Comment=m,exports.ConfigProvider=g,exports.Descriptions=f.default,exports.Divider=C,exports.Drawer=y,exports.Dropdown=T.default,exports.Empty=S,exports.Grid=I.default,exports.Image=L.default,exports.Input=h,exports.InputNumber=b,exports.InputTag=k,exports.Layout=G.default,exports.Link=P,exports.List=w.default,exports.Menu=M.default,exports.Mention=D,exports.Modal=A,exports.Message=B,exports.Notification=R,exports.OverflowList=O,exports.PageHeader=H,exports.Pagination=N,exports.Popconfirm=F,exports.Popover=z,exports.Progress=E,exports.Radio=V.default,exports.Rate=W,exports.ResizeBox=_,exports.Result=J,exports.Scrollbar=K,exports.Select=Q.default,exports.Skeleton=U.default,exports.Slider=X,exports.Space=Y,exports.Split=Z,exports.Spin=$,exports.Statistic=ee.default,exports.Steps=re.default,exports.Switch=te,exports.Tag=oe,exports.Timeline=ie.default,exports.Textarea=ue,exports.TimePicker=se,exports.Tooltip=ae,exports.Transfer=ne,exports.Trigger=pe,exports.Typography=de.default,exports.Tabs=xe.default,exports.VerificationCode=le,exports.Watermark=je,exports.TypographyParagraph=qe,exports.TypographyTitle=ce,exports.TypographyText=ve,exports.TimelineItem=me,exports.TabPane=ge,exports.SubMenu=fe,exports.Step=Ce,exports.SkeletonShape=ye,exports.SkeletonLine=Te,exports.RadioGroup=Se,exports.Optgroup=Ie,exports.Option=Le,exports.MenuItemGroup=he,exports.MenuItem=be,exports.ListItemMeta=ke,exports.ListItem=Ge,exports.LayoutSider=Pe,exports.LayoutHeader=we,exports.LayoutFooter=Me,exports.LayoutContent=De,exports.ImagePreviewGroup=Ae,exports.ImagePreviewAction=Be,exports.ImagePreview=Re,exports.GridRow=Oe,exports.GridItem=He,exports.GridCol=Ne,exports.Dsubmenu=Fe,exports.Dgroup=ze,exports.Doption=Ee,exports.DropdownButton=Ve,exports.DescriptionsItem=We,exports.Countdown=_e,exports.CollapseItem=Je,exports.CheckboxGroup=Ke,exports.CarouselItem=Qe,exports.CardMeta=Ue,exports.CardGrid=Xe,exports.BreadcrumbItem=Ye,exports.ButtonGroup=Ze,exports.AvatarGroup=$e,exports.AnchorLink=er,exports.components=rr,exports.default=tr;
|
package/package.json
CHANGED
@@ -1,19 +0,0 @@
|
|
1
|
-
const __variableDynamicImportRuntimeHelper = (glob, path, segs) => {
|
2
|
-
const v = glob[path];
|
3
|
-
if (v) {
|
4
|
-
return typeof v === "function" ? v() : Promise.resolve(v);
|
5
|
-
}
|
6
|
-
return new Promise((_, reject) => {
|
7
|
-
(typeof queueMicrotask === "function" ? queueMicrotask : setTimeout)(
|
8
|
-
reject.bind(
|
9
|
-
null,
|
10
|
-
new Error(
|
11
|
-
"Unknown variable dynamic import: " + path + (path.split("/").length !== segs ? ". Note that variables only represent file names one level deep." : "")
|
12
|
-
)
|
13
|
-
)
|
14
|
-
);
|
15
|
-
});
|
16
|
-
};
|
17
|
-
export {
|
18
|
-
__variableDynamicImportRuntimeHelper as default
|
19
|
-
};
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";module.exports=(e,t,n)=>{const o=e[t];return o?"function"==typeof o?o():Promise.resolve(o):new Promise((e,o)=>{("function"==typeof queueMicrotask?queueMicrotask:setTimeout)(o.bind(null,new Error("Unknown variable dynamic import: "+t+(t.split("/").length!==n?". Note that variables only represent file names one level deep.":""))))})};
|