@rhino-design/vue 0.2.6 → 0.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/README.md +95 -18
  2. package/README.zh-CN.md +115 -0
  3. package/dist/arco.less +95 -76
  4. package/dist/components/XButton.vue.js +2 -2
  5. package/dist/components/XConfigProvider.vue.js +1 -1
  6. package/dist/components/XMenuOverflowWrap.vue.js +66 -59
  7. package/dist/components/XScrollbar.vue.js +1 -1
  8. package/dist/components/XSubMenuPop.vue.js +1 -1
  9. package/dist/components/XTable.vue.d.ts +1 -0
  10. package/dist/components/XTable.vue.js +3 -3
  11. package/dist/components/XTable.vue2.js +774 -614
  12. package/dist/components/XToast.vue.d.ts +25 -0
  13. package/dist/components/XToast.vue.js +7 -0
  14. package/dist/components/XToast.vue2.js +27 -0
  15. package/dist/components/XTour.vue.d.ts +2 -0
  16. package/dist/components/XTour.vue.js +69 -61
  17. package/dist/components/XTree.vue.d.ts +2 -0
  18. package/dist/components/XTree.vue.js +1 -1
  19. package/dist/components/XTree.vue2.js +124 -121
  20. package/dist/components/XTreeNode.vue.d.ts +1 -0
  21. package/dist/components/XTreeNode.vue.js +2 -2
  22. package/dist/components/XTreeNode.vue2.js +21 -20
  23. package/dist/components/XTreeSelect.vue.js +4 -4
  24. package/dist/components/XTreeSelect.vue2.js +314 -291
  25. package/dist/components/XWatermark.vue.js +4 -4
  26. package/dist/components/index.d.ts +1 -0
  27. package/dist/components/index.js +55 -53
  28. package/dist/index.cjs +9 -9
  29. package/dist/index.css +95 -76
  30. package/dist/index.js +62 -60
  31. package/dist/index.less +95 -76
  32. package/dist/index.scss +14853 -0
  33. package/dist/style.css +95 -76
  34. package/dist/style.less +95 -76
  35. package/dist/style.scss +14853 -0
  36. package/package.json +14 -6
@@ -156,7 +156,7 @@ const ve = /* @__PURE__ */ le({
156
156
  d.value = "light";
157
157
  return;
158
158
  }
159
- const e = document.body, t = document.documentElement, a = (e == null ? void 0 : e.getAttribute("arco-theme")) === "dark" || (e == null ? void 0 : e.getAttribute("theme")) === "dark" || (e == null ? void 0 : e.getAttribute("data-theme")) === "dark" || (t == null ? void 0 : t.getAttribute("arco-theme")) === "dark" || (t == null ? void 0 : t.getAttribute("theme")) === "dark" || (t == null ? void 0 : t.getAttribute("data-theme")) === "dark" || (e == null ? void 0 : e.classList.contains("x-theme-dark")) || (t == null ? void 0 : t.classList.contains("x-theme-dark"));
159
+ const e = document.body, t = document.documentElement, a = (e == null ? void 0 : e.getAttribute("rhino-theme")) === "dark" || (e == null ? void 0 : e.getAttribute("theme")) === "dark" || (e == null ? void 0 : e.getAttribute("data-theme")) === "dark" || (t == null ? void 0 : t.getAttribute("rhino-theme")) === "dark" || (t == null ? void 0 : t.getAttribute("theme")) === "dark" || (t == null ? void 0 : t.getAttribute("data-theme")) === "dark" || (e == null ? void 0 : e.classList.contains("x-theme-dark")) || (t == null ? void 0 : t.classList.contains("x-theme-dark"));
160
160
  d.value = a ? "dark" : "light";
161
161
  }
162
162
  function ae() {
@@ -170,17 +170,17 @@ const ve = /* @__PURE__ */ le({
170
170
  function ne() {
171
171
  typeof MutationObserver > "u" || typeof document > "u" || (u == null || u.disconnect(), u = new MutationObserver((e) => {
172
172
  if (!e.some(
173
- (n) => n.type === "attributes" && (n.attributeName === "arco-theme" || n.attributeName === "theme" || n.attributeName === "data-theme" || n.attributeName === "class")
173
+ (n) => n.type === "attributes" && (n.attributeName === "rhino-theme" || n.attributeName === "theme" || n.attributeName === "data-theme" || n.attributeName === "class")
174
174
  ))
175
175
  return;
176
176
  const a = d.value;
177
177
  I(), d.value !== a && b();
178
178
  }), u.observe(document.body, {
179
179
  attributes: !0,
180
- attributeFilter: ["arco-theme", "theme", "data-theme", "class"]
180
+ attributeFilter: ["rhino-theme", "theme", "data-theme", "class"]
181
181
  }), u.observe(document.documentElement, {
182
182
  attributes: !0,
183
- attributeFilter: ["arco-theme", "theme", "data-theme", "class"]
183
+ attributeFilter: ["rhino-theme", "theme", "data-theme", "class"]
184
184
  }));
185
185
  }
186
186
  return ie(() => {
@@ -623,6 +623,7 @@ export { default as XTimelineItem } from './XTimelineItem.vue';
623
623
  export { default as XTimePicker } from './XTimePicker.vue';
624
624
  export { default as XTooltip } from './XTooltip.vue';
625
625
  export { default as XTour } from './XTour.vue';
626
+ export { default as XToast } from './XToast.vue';
626
627
  export { default as XTransfer } from './XTransfer.vue';
627
628
  export { default as XTree } from './XTree.vue';
628
629
  export { default as XTreeSelect } from './XTreeSelect.vue';
@@ -5,7 +5,7 @@ import r from "./XDgroup.vue.js";
5
5
  import a from "./XDoption.vue.js";
6
6
  import f from "./XDsubmenu.vue.js";
7
7
  import { default as I } from "./XAffix.vue.js";
8
- import { default as C } from "./XAlert.vue.js";
8
+ import { default as g } from "./XAlert.vue.js";
9
9
  import { default as S } from "./XAnchor.vue.js";
10
10
  import { default as L } from "./XAnchorLink.vue.js";
11
11
  import { default as h } from "./XApp.vue.js";
@@ -32,8 +32,8 @@ import { default as se } from "./XCheckboxGroup.vue.js";
32
32
  import { default as le, default as Xe } from "./XColorPicker.vue.js";
33
33
  import { default as ne } from "./XColorGroup.vue.js";
34
34
  import { default as ce } from "./XCollapse.vue.js";
35
- import { default as ge } from "./XCollapseItem.vue.js";
36
- import { default as Te } from "./XComment.vue.js";
35
+ import { default as Te } from "./XCollapseItem.vue.js";
36
+ import { default as Ce } from "./XComment.vue.js";
37
37
  import { default as ye } from "./XCompact.vue.js";
38
38
  import { default as be } from "./XConfigProvider.vue.js";
39
39
  import { default as De } from "./XCountdown.vue.js";
@@ -58,8 +58,8 @@ import { default as so } from "./XIconLite.js";
58
58
  import { default as Xo } from "./XImage.vue.js";
59
59
  import { default as no } from "./XImageGroup.vue.js";
60
60
  import { default as co } from "./XInput.vue.js";
61
- import { default as go } from "./XInputComposite.vue.js";
62
- import { default as To } from "./XInputSearch.vue.js";
61
+ import { default as To } from "./XInputComposite.vue.js";
62
+ import { default as Co } from "./XInputSearch.vue.js";
63
63
  import { default as yo } from "./XInputPassword.vue.js";
64
64
  import { default as bo } from "./XInputGroup.vue.js";
65
65
  /* empty css */
@@ -84,8 +84,8 @@ import { default as dt } from "./XMenuItemGroup.vue.js";
84
84
  import { default as Xt } from "./XMenuIndent.vue.js";
85
85
  import { default as nt } from "./XMention.vue.js";
86
86
  import { default as ct } from "./XMentions.vue.js";
87
- import { default as gt } from "./XModal.vue.js";
88
- import { default as Tt } from "./XOverflowList.vue.js";
87
+ import { default as Tt } from "./XModal.vue.js";
88
+ import { default as Ct } from "./XOverflowList.vue.js";
89
89
  import { default as yt } from "./XPageHeader.vue.js";
90
90
  import { default as bt } from "./XPagination.vue.js";
91
91
  import { default as Dt } from "./XPopconfirm.vue.js";
@@ -110,8 +110,8 @@ import { default as sr } from "./XSkeletonShape.vue.js";
110
110
  import { default as lr } from "./XSlider.vue.js";
111
111
  import { default as xr } from "./XSplit.vue.js";
112
112
  import { default as ir } from "./XSpace.vue.js";
113
- import { default as Ir, default as gr } from "./XSpin.vue.js";
114
- import { default as Tr } from "./XStatistic.vue.js";
113
+ import { default as Ir, default as Tr } from "./XSpin.vue.js";
114
+ import { default as Cr } from "./XStatistic.vue.js";
115
115
  import { default as yr } from "./XStep.vue.js";
116
116
  import { default as br } from "./XSteps.vue.js";
117
117
  import { default as Dr } from "./XSwitch.vue.js";
@@ -125,23 +125,24 @@ import { default as Er } from "./XTimelineItem.vue.js";
125
125
  import { default as jr } from "./XTimePicker.vue.js";
126
126
  import { default as Qr } from "./XTooltip.vue.js";
127
127
  import { default as Vr } from "./XTour.vue.js";
128
- import { default as qr } from "./XTransfer.vue.js";
129
- import { default as Kr } from "./XTree.vue.js";
130
- import { default as Zr } from "./XTreeSelect.vue.js";
131
- import { default as oa } from "./XTr.vue.js";
132
- import { default as ra } from "./XTrigger.vue.js";
133
- import { default as fa } from "./XTypography.vue.js";
134
- import { default as ua } from "./XTypographyTitle.vue.js";
135
- import { default as sa } from "./XTypographyParagraph.vue.js";
136
- import { default as la } from "./XTypographyText.vue.js";
137
- import { default as xa } from "./XUpload.vue.js";
138
- import { default as ia } from "./XVerificationCode.vue.js";
139
- import { default as Ia } from "./XWatermark.vue.js";
140
- import { Modal as Ca } from "./XModalService.js";
141
- import { Drawer as Sa } from "./XDrawerService.js";
142
- import { Message as La } from "./XMessageService.js";
143
- import { Notification as ha } from "./XNotificationService.js";
144
- import { XIconLoaders as Ga, XIconRegistry as Pa } from "./x-icon-shared.js";
128
+ import { default as qr } from "./XToast.vue.js";
129
+ import { default as Kr } from "./XTransfer.vue.js";
130
+ import { default as Zr } from "./XTree.vue.js";
131
+ import { default as oa } from "./XTreeSelect.vue.js";
132
+ import { default as ra } from "./XTr.vue.js";
133
+ import { default as fa } from "./XTrigger.vue.js";
134
+ import { default as ua } from "./XTypography.vue.js";
135
+ import { default as sa } from "./XTypographyTitle.vue.js";
136
+ import { default as la } from "./XTypographyParagraph.vue.js";
137
+ import { default as xa } from "./XTypographyText.vue.js";
138
+ import { default as ia } from "./XUpload.vue.js";
139
+ import { default as Ia } from "./XVerificationCode.vue.js";
140
+ import { default as ga } from "./XWatermark.vue.js";
141
+ import { Modal as Sa } from "./XModalService.js";
142
+ import { Drawer as La } from "./XDrawerService.js";
143
+ import { Message as ha } from "./XMessageService.js";
144
+ import { Notification as Ga } from "./XNotificationService.js";
145
+ import { XIconLoaders as Ba, XIconRegistry as Ma } from "./x-icon-shared.js";
145
146
  const n = Object.assign(e, {
146
147
  Option: a,
147
148
  Group: r,
@@ -152,13 +153,13 @@ const n = Object.assign(e, {
152
153
  export {
153
154
  r as Dgroup,
154
155
  a as Doption,
155
- Sa as Drawer,
156
+ La as Drawer,
156
157
  f as Dsubmenu,
157
- La as Message,
158
- Ca as Modal,
159
- ha as Notification,
158
+ ha as Message,
159
+ Sa as Modal,
160
+ Ga as Notification,
160
161
  I as XAffix,
161
- C as XAlert,
162
+ g as XAlert,
162
163
  S as XAnchor,
163
164
  L as XAnchorLink,
164
165
  h as XApp,
@@ -183,11 +184,11 @@ export {
183
184
  ue as XCheckbox,
184
185
  se as XCheckboxGroup,
185
186
  ce as XCollapse,
186
- ge as XCollapseItem,
187
+ Te as XCollapseItem,
187
188
  le as XColor,
188
189
  ne as XColorGroup,
189
190
  Xe as XColorPicker,
190
- Te as XComment,
191
+ Ce as XComment,
191
192
  ye as XCompact,
192
193
  be as XConfigProvider,
193
194
  _o as XContent,
@@ -218,16 +219,16 @@ export {
218
219
  Oo as XHeader,
219
220
  uo as XIcon,
220
221
  so as XIconLite,
221
- Ga as XIconLoaders,
222
- Pa as XIconRegistry,
222
+ Ba as XIconLoaders,
223
+ Ma as XIconRegistry,
223
224
  Xo as XImage,
224
225
  no as XImageGroup,
225
226
  co as XInput,
226
- go as XInputComposite,
227
+ To as XInputComposite,
227
228
  bo as XInputGroup,
228
229
  Do as XInputNumber,
229
230
  yo as XInputPassword,
230
- To as XInputSearch,
231
+ Co as XInputSearch,
231
232
  Po as XInputTag,
232
233
  Mo as XLayout,
233
234
  Ro as XLayoutContent,
@@ -245,10 +246,10 @@ export {
245
246
  Xt as XMenuIndent,
246
247
  tt as XMenuItem,
247
248
  dt as XMenuItemGroup,
248
- gt as XModal,
249
+ Tt as XModal,
249
250
  rr as XOptgroup,
250
251
  or as XOption,
251
- Tt as XOverflowList,
252
+ Ct as XOverflowList,
252
253
  yt as XPageHeader,
253
254
  bt as XPagination,
254
255
  Dt as XPopconfirm,
@@ -273,9 +274,9 @@ export {
273
274
  sr as XSkeletonShape,
274
275
  lr as XSlider,
275
276
  ir as XSpace,
276
- gr as XSpin,
277
+ Tr as XSpin,
277
278
  xr as XSplit,
278
- Tr as XStatistic,
279
+ Cr as XStatistic,
279
280
  yr as XStep,
280
281
  br as XSteps,
281
282
  at as XSubMenu,
@@ -291,18 +292,19 @@ export {
291
292
  jr as XTimePicker,
292
293
  $r as XTimeline,
293
294
  Er as XTimelineItem,
295
+ qr as XToast,
294
296
  Qr as XTooltip,
295
297
  Vr as XTour,
296
- oa as XTr,
297
- qr as XTransfer,
298
- Kr as XTree,
299
- Zr as XTreeSelect,
300
- ra as XTrigger,
301
- fa as XTypography,
302
- sa as XTypographyParagraph,
303
- la as XTypographyText,
304
- ua as XTypographyTitle,
305
- xa as XUpload,
306
- ia as XVerificationCode,
307
- Ia as XWatermark
298
+ ra as XTr,
299
+ Kr as XTransfer,
300
+ Zr as XTree,
301
+ oa as XTreeSelect,
302
+ fa as XTrigger,
303
+ ua as XTypography,
304
+ la as XTypographyParagraph,
305
+ xa as XTypographyText,
306
+ sa as XTypographyTitle,
307
+ ia as XUpload,
308
+ Ia as XVerificationCode,
309
+ ga as XWatermark
308
310
  };