china-mobile-international-custom-components 0.0.35 → 0.0.37
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/index.mjs +94 -137
- package/lib/index.js +1 -1
- package/package.json +5 -5
package/es/index.mjs
CHANGED
|
@@ -1,157 +1,114 @@
|
|
|
1
1
|
import { CustomToggle as t } from "./CustomToggle.mjs";
|
|
2
2
|
import { CustomTitle as o } from "./CustomTitle.mjs";
|
|
3
|
-
import { COLUMN_TYPES as
|
|
4
|
-
import { l as
|
|
3
|
+
import { COLUMN_TYPES as n, MODES as r, PageContainer as i } from "./PageContainer.mjs";
|
|
4
|
+
import { l as p, a as l, n as T, M as m, N as g, S as c, T as u, d as E, e as P, f as S, h as f, k as d, m as _, g as A, j as M, c as C, b as L, i as I, p as O, t as N } from "./chunks/layout.C0EtkrZg.js";
|
|
5
5
|
import { A as R } from "./chunks/index.Doax01RQ.js";
|
|
6
|
-
import { A as y, D as
|
|
7
|
-
import { ApplicationIcon as
|
|
8
|
-
import { ApplicationTypeTag as
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
|
|
14
|
-
const e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6
|
+
import { A as y, D as b, M as U, P as h, R as D, T as Y, a as v, r as B } from "./chunks/index.CSPp4g5C.js";
|
|
7
|
+
import { ApplicationIcon as x } from "./ApplicationIcon.mjs";
|
|
8
|
+
import { ApplicationTypeTag as j, useApplicationTypeTag as w } from "./ApplicationTypeTag.mjs";
|
|
9
|
+
import { DocSyncSelect as G } from "./DocSyncSelect.mjs";
|
|
10
|
+
import { A as H, S as K } from "./chunks/config.DE5PZU2F.js";
|
|
11
|
+
import { dayjs as k } from "element-plus";
|
|
12
|
+
import { e as na, c as ra, d as ia, g as pa, b as la, l as Ta, a as ma, s as ga, u as ca } from "./chunks/i18n.D5TCTMH9.js";
|
|
13
|
+
const a = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
15
14
|
__proto__: null,
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
ApiTooltip: w,
|
|
20
|
-
ApplicationIcon: H,
|
|
21
|
-
ApplicationTypeTag: F,
|
|
15
|
+
APPLICATION_TYPE: H,
|
|
16
|
+
ApplicationIcon: x,
|
|
17
|
+
ApplicationTypeTag: j,
|
|
22
18
|
AvailableRangePreview: y,
|
|
23
19
|
AvailableRangeSetting: R,
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
CustomSidebar: T,
|
|
20
|
+
COLUMN_TYPES: n,
|
|
21
|
+
CustomSidebar: p,
|
|
27
22
|
CustomTitle: o,
|
|
28
23
|
CustomToggle: t,
|
|
29
|
-
DEFAULT_SHOW_COUNT:
|
|
30
|
-
DocSyncSelect:
|
|
31
|
-
FeishuTooltip: k,
|
|
32
|
-
LIBRARY_PAGE: W,
|
|
24
|
+
DEFAULT_SHOW_COUNT: b,
|
|
25
|
+
DocSyncSelect: G,
|
|
33
26
|
MEMBER_DEPARTMENT_TYPES: U,
|
|
34
|
-
MENU_COLOR_STRATEGY:
|
|
35
|
-
MENU_LOADING_STATES:
|
|
36
|
-
MENU_TYPE:
|
|
37
|
-
MODES:
|
|
38
|
-
NODE_CLICK_TYPES:
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
PublishSettings: J,
|
|
47
|
-
RANGE_TYPES: b,
|
|
48
|
-
RELEASE_CHANNEL_TYPE: Q,
|
|
49
|
-
SOURCE_TYPE: pe,
|
|
50
|
-
SPECIAL_ROUTES: P,
|
|
51
|
-
STORE_CHANNEL_TYPES: X,
|
|
52
|
-
SourcePublish: ee,
|
|
53
|
-
TREE_PROPS: S,
|
|
54
|
-
TagList: B,
|
|
27
|
+
MENU_COLOR_STRATEGY: l,
|
|
28
|
+
MENU_LOADING_STATES: T,
|
|
29
|
+
MENU_TYPE: m,
|
|
30
|
+
MODES: r,
|
|
31
|
+
NODE_CLICK_TYPES: g,
|
|
32
|
+
PUBLISH_STATUS: h,
|
|
33
|
+
PageContainer: i,
|
|
34
|
+
RANGE_TYPES: D,
|
|
35
|
+
SOURCE_TYPE: K,
|
|
36
|
+
SPECIAL_ROUTES: c,
|
|
37
|
+
TREE_PROPS: u,
|
|
38
|
+
TagList: Y,
|
|
55
39
|
availableRangeTreeProps: v,
|
|
56
|
-
collapseNodeKeys:
|
|
57
|
-
expandNodeKeys:
|
|
58
|
-
findExpandPath:
|
|
59
|
-
findExpandPathById:
|
|
60
|
-
findMenuByPath:
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
rangeOptions: D,
|
|
72
|
-
serviceStatus: oe,
|
|
73
|
-
serviceType: ie,
|
|
74
|
-
serviceTypeMap: ne,
|
|
75
|
-
transformMenuData: O,
|
|
76
|
-
useApplicationTypeTag: x
|
|
40
|
+
collapseNodeKeys: E,
|
|
41
|
+
expandNodeKeys: P,
|
|
42
|
+
findExpandPath: S,
|
|
43
|
+
findExpandPathById: f,
|
|
44
|
+
findMenuByPath: d,
|
|
45
|
+
getFirstLeafMenu: _,
|
|
46
|
+
getMenuIconColorById: A,
|
|
47
|
+
getParentNodeIdsById: M,
|
|
48
|
+
isParentMenuActive: C,
|
|
49
|
+
isParentRouteActive: L,
|
|
50
|
+
isPathInMenu: I,
|
|
51
|
+
processMenuTreeWithLeaf: O,
|
|
52
|
+
rangeOptions: B,
|
|
53
|
+
transformMenuData: N,
|
|
54
|
+
useApplicationTypeTag: w
|
|
77
55
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
78
|
-
|
|
79
|
-
const
|
|
80
|
-
for (const
|
|
81
|
-
e
|
|
82
|
-
},
|
|
83
|
-
install:
|
|
56
|
+
k.en.weekStart = 1;
|
|
57
|
+
const F = (s) => {
|
|
58
|
+
for (const e in a)
|
|
59
|
+
a[e].install && s.use(a[e]);
|
|
60
|
+
}, sa = {
|
|
61
|
+
install: F
|
|
84
62
|
};
|
|
85
63
|
export {
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
j as
|
|
89
|
-
w as ApiTooltip,
|
|
90
|
-
H as ApplicationIcon,
|
|
91
|
-
F as ApplicationTypeTag,
|
|
64
|
+
H as APPLICATION_TYPE,
|
|
65
|
+
x as ApplicationIcon,
|
|
66
|
+
j as ApplicationTypeTag,
|
|
92
67
|
y as AvailableRangePreview,
|
|
93
68
|
R as AvailableRangeSetting,
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
T as CustomSidebar,
|
|
69
|
+
n as COLUMN_TYPES,
|
|
70
|
+
p as CustomSidebar,
|
|
97
71
|
o as CustomTitle,
|
|
98
72
|
t as CustomToggle,
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
k as FeishuTooltip,
|
|
102
|
-
W as LIBRARY_PAGE,
|
|
73
|
+
b as DEFAULT_SHOW_COUNT,
|
|
74
|
+
G as DocSyncSelect,
|
|
103
75
|
U as MEMBER_DEPARTMENT_TYPES,
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
J as PublishSettings,
|
|
117
|
-
b as RANGE_TYPES,
|
|
118
|
-
Q as RELEASE_CHANNEL_TYPE,
|
|
119
|
-
pe as SOURCE_TYPE,
|
|
120
|
-
P as SPECIAL_ROUTES,
|
|
121
|
-
X as STORE_CHANNEL_TYPES,
|
|
122
|
-
ee as SourcePublish,
|
|
123
|
-
S as TREE_PROPS,
|
|
124
|
-
B as TagList,
|
|
76
|
+
l as MENU_COLOR_STRATEGY,
|
|
77
|
+
T as MENU_LOADING_STATES,
|
|
78
|
+
m as MENU_TYPE,
|
|
79
|
+
r as MODES,
|
|
80
|
+
g as NODE_CLICK_TYPES,
|
|
81
|
+
h as PUBLISH_STATUS,
|
|
82
|
+
i as PageContainer,
|
|
83
|
+
D as RANGE_TYPES,
|
|
84
|
+
K as SOURCE_TYPE,
|
|
85
|
+
c as SPECIAL_ROUTES,
|
|
86
|
+
u as TREE_PROPS,
|
|
87
|
+
Y as TagList,
|
|
125
88
|
v as availableRangeTreeProps,
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
ie as serviceType,
|
|
152
|
-
ne as serviceTypeMap,
|
|
153
|
-
Be as setupLanguageChangeListener,
|
|
154
|
-
O as transformMenuData,
|
|
155
|
-
x as useApplicationTypeTag,
|
|
156
|
-
ve as useI18n
|
|
89
|
+
na as cancelLanguageChangeListener,
|
|
90
|
+
E as collapseNodeKeys,
|
|
91
|
+
ra as createI18nInstance,
|
|
92
|
+
ia as createTranslationHelper,
|
|
93
|
+
sa as default,
|
|
94
|
+
P as expandNodeKeys,
|
|
95
|
+
S as findExpandPath,
|
|
96
|
+
f as findExpandPathById,
|
|
97
|
+
d as findMenuByPath,
|
|
98
|
+
pa as getBrowserLanguage,
|
|
99
|
+
la as getCurrentLocale,
|
|
100
|
+
_ as getFirstLeafMenu,
|
|
101
|
+
A as getMenuIconColorById,
|
|
102
|
+
M as getParentNodeIdsById,
|
|
103
|
+
C as isParentMenuActive,
|
|
104
|
+
L as isParentRouteActive,
|
|
105
|
+
I as isPathInMenu,
|
|
106
|
+
Ta as languageMap,
|
|
107
|
+
ma as localeMap,
|
|
108
|
+
O as processMenuTreeWithLeaf,
|
|
109
|
+
B as rangeOptions,
|
|
110
|
+
ga as setupLanguageChangeListener,
|
|
111
|
+
N as transformMenuData,
|
|
112
|
+
w as useApplicationTypeTag,
|
|
113
|
+
ca as useI18n
|
|
157
114
|
};
|
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("./CustomToggle.js"),E=require("./CustomTitle.js"),t=require("./PageContainer.js"),e=require("./chunks/layout.BO1q-dAZ.js"),l=require("./chunks/index.6X8xsqRJ.js"),a=require("./chunks/index.CP9rhXZ5.js"),P=require("./ApplicationIcon.js"),i=require("./ApplicationTypeTag.js"),g=require("./DocSyncSelect.js"),o=require("./chunks/config.4W9n_uQg.js"),u=require("element-plus"),n=require("./chunks/i18n.DOz2kyiP.js"),T=Object.freeze(Object.defineProperty({__proto__:null,APPLICATION_TYPE:o.APPLICATION_TYPE,ApplicationIcon:P.ApplicationIcon,ApplicationTypeTag:i.ApplicationTypeTag,AvailableRangePreview:a.AvailableRangePreview,AvailableRangeSetting:l.AvailableRangeSetting,COLUMN_TYPES:t.COLUMN_TYPES,CustomSidebar:e.layout,CustomTitle:E.CustomTitle,CustomToggle:s.CustomToggle,DEFAULT_SHOW_COUNT:a.DEFAULT_SHOW_COUNT,DocSyncSelect:g.DocSyncSelect,MEMBER_DEPARTMENT_TYPES:a.MEMBER_DEPARTMENT_TYPES,MENU_COLOR_STRATEGY:e.MENU_COLOR_STRATEGY,MENU_LOADING_STATES:e.MENU_LOADING_STATES,MENU_TYPE:e.MENU_TYPE,MODES:t.MODES,NODE_CLICK_TYPES:e.NODE_CLICK_TYPES,PUBLISH_STATUS:a.PUBLISH_STATUS,PageContainer:t.PageContainer,RANGE_TYPES:a.RANGE_TYPES,SOURCE_TYPE:o.SOURCE_TYPE,SPECIAL_ROUTES:e.SPECIAL_ROUTES,TREE_PROPS:e.TREE_PROPS,TagList:a.TagList,availableRangeTreeProps:a.availableRangeTreeProps,collapseNodeKeys:e.collapseNodeKeys,expandNodeKeys:e.expandNodeKeys,findExpandPath:e.findExpandPath,findExpandPathById:e.findExpandPathById,findMenuByPath:e.findMenuByPath,getFirstLeafMenu:e.getFirstLeafMenu,getMenuIconColorById:e.getMenuIconColorById,getParentNodeIdsById:e.getParentNodeIdsById,isParentMenuActive:e.isParentMenuActive,isParentRouteActive:e.isParentRouteActive,isPathInMenu:e.isPathInMenu,processMenuTreeWithLeaf:e.processMenuTreeWithLeaf,rangeOptions:a.rangeOptions,transformMenuData:e.transformMenuData,useApplicationTypeTag:i.useApplicationTypeTag},Symbol.toStringTag,{value:"Module"}));u.dayjs.en.weekStart=1;const S=c=>{for(const r in T)T[r].install&&c.use(T[r])},_={install:S};exports.CustomToggle=s.CustomToggle;exports.CustomTitle=E.CustomTitle;exports.COLUMN_TYPES=t.COLUMN_TYPES;exports.MODES=t.MODES;exports.PageContainer=t.PageContainer;exports.CustomSidebar=e.layout;exports.MENU_COLOR_STRATEGY=e.MENU_COLOR_STRATEGY;exports.MENU_LOADING_STATES=e.MENU_LOADING_STATES;exports.MENU_TYPE=e.MENU_TYPE;exports.NODE_CLICK_TYPES=e.NODE_CLICK_TYPES;exports.SPECIAL_ROUTES=e.SPECIAL_ROUTES;exports.TREE_PROPS=e.TREE_PROPS;exports.collapseNodeKeys=e.collapseNodeKeys;exports.expandNodeKeys=e.expandNodeKeys;exports.findExpandPath=e.findExpandPath;exports.findExpandPathById=e.findExpandPathById;exports.findMenuByPath=e.findMenuByPath;exports.getFirstLeafMenu=e.getFirstLeafMenu;exports.getMenuIconColorById=e.getMenuIconColorById;exports.getParentNodeIdsById=e.getParentNodeIdsById;exports.isParentMenuActive=e.isParentMenuActive;exports.isParentRouteActive=e.isParentRouteActive;exports.isPathInMenu=e.isPathInMenu;exports.processMenuTreeWithLeaf=e.processMenuTreeWithLeaf;exports.transformMenuData=e.transformMenuData;exports.AvailableRangeSetting=l.AvailableRangeSetting;exports.AvailableRangePreview=a.AvailableRangePreview;exports.DEFAULT_SHOW_COUNT=a.DEFAULT_SHOW_COUNT;exports.MEMBER_DEPARTMENT_TYPES=a.MEMBER_DEPARTMENT_TYPES;exports.PUBLISH_STATUS=a.PUBLISH_STATUS;exports.RANGE_TYPES=a.RANGE_TYPES;exports.TagList=a.TagList;exports.availableRangeTreeProps=a.availableRangeTreeProps;exports.rangeOptions=a.rangeOptions;exports.ApplicationIcon=P.ApplicationIcon;exports.ApplicationTypeTag=i.ApplicationTypeTag;exports.useApplicationTypeTag=i.useApplicationTypeTag;exports.DocSyncSelect=g.DocSyncSelect;exports.APPLICATION_TYPE=o.APPLICATION_TYPE;exports.SOURCE_TYPE=o.SOURCE_TYPE;exports.cancelLanguageChangeListener=n.cancelLanguageChangeListener;exports.createI18nInstance=n.createI18nInstance;exports.createTranslationHelper=n.createTranslationHelper;exports.getBrowserLanguage=n.getBrowserLanguage;exports.getCurrentLocale=n.getCurrentLocale;exports.languageMap=n.languageMap;exports.localeMap=n.localeMap;exports.setupLanguageChangeListener=n.setupLanguageChangeListener;exports.useI18n=n.useI18n;exports.default=_;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "china-mobile-international-custom-components",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.37",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"components",
|
|
6
6
|
"vue",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
],
|
|
23
23
|
"exports": {
|
|
24
24
|
".": {
|
|
25
|
-
"import": "./index.
|
|
25
|
+
"import": "./es/index.mjs",
|
|
26
26
|
"require": "./lib/index.js"
|
|
27
27
|
},
|
|
28
28
|
"./es": {
|
|
@@ -107,10 +107,10 @@
|
|
|
107
107
|
"axios": "^1.8.2",
|
|
108
108
|
"vue": "^3.5.26",
|
|
109
109
|
"color-message-lingyun-vue": "0.0.30",
|
|
110
|
-
"color-message-aibox-vue": "0.0.80",
|
|
111
|
-
"color-star-custom-methods": "0.0.17",
|
|
112
110
|
"color-star-atom-style": "0.0.2",
|
|
113
|
-
"color-star-custom-
|
|
111
|
+
"color-star-custom-methods": "0.0.17",
|
|
112
|
+
"color-star-custom-components": "0.0.20",
|
|
113
|
+
"color-message-aibox-vue": "0.0.80"
|
|
114
114
|
},
|
|
115
115
|
"optionalDependencies": {
|
|
116
116
|
"@ast-grep/napi-linux-x64-musl": "^0.39.6",
|