@fewangsit/wangsvue-fats 1.0.1-alpha.67 → 1.0.1-alpha.69

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 (96) hide show
  1. package/animation/index.es.js +30 -20
  2. package/approverinfo/index.es.js +50 -50
  3. package/assetinfo/index.d.ts +5 -4
  4. package/assetinfo/index.es.js +116 -100
  5. package/assets/lottiejs/loading-page-dark.es.js +4 -0
  6. package/assets/lottiejs/loading-table-dark.es.js +4 -0
  7. package/assets/lottiejs/no-data-dark.es.js +4 -0
  8. package/backgroundimagecropper/index.es.js +14 -12
  9. package/button/index.es.js +58 -48
  10. package/buttonbulkaction/index.es.js +67 -59
  11. package/buttoncopy/index.es.js +8 -8
  12. package/buttondownload/index.es.js +18 -18
  13. package/buttonradio/index.es.js +11 -11
  14. package/buttonscan/index.es.js +48 -48
  15. package/buttonsearch/index.es.js +14 -14
  16. package/buttonselectuser/index.es.js +29 -29
  17. package/carousel/index.es.js +24 -24
  18. package/checkbox/index.es.js +5 -5
  19. package/columnlist/index.es.js +142 -132
  20. package/config/defaultProps.es.js +15 -11
  21. package/datatable/index.d.ts +14 -0
  22. package/datatable/index.es.js +520 -509
  23. package/datepicker/index.es.js +24 -24
  24. package/daypicker/index.es.js +29 -29
  25. package/dialog/index.es.js +17 -15
  26. package/dialogbasictransferlog/index.es.js +100 -100
  27. package/dialogconfirm/index.es.js +33 -33
  28. package/dialogdamagelog/index.es.js +106 -103
  29. package/dialogform/index.es.js +25 -25
  30. package/dialogfulltransferlog/index.es.js +98 -98
  31. package/dialoglinkedasset/index.es.js +61 -61
  32. package/dialogprintqr/index.es.js +78 -80
  33. package/dialogreportdamage/index.es.js +57 -57
  34. package/dialogreportmissing/index.es.js +94 -86
  35. package/dialogselecttree/index.es.js +18 -16
  36. package/dialogselectuser/index.es.js +17 -17
  37. package/directives/index.d.ts +1 -0
  38. package/directives/index.es.js +1 -0
  39. package/directives/safeHtml.d.ts +16 -0
  40. package/directives/safeHtml.es.js +12 -0
  41. package/disposalreport/index.es.js +3 -3
  42. package/disposalreportbulkaction/index.es.js +40 -41
  43. package/disposalreportdialogselectasset/index.es.js +72 -72
  44. package/disposalreporttable/index.es.js +108 -108
  45. package/disposalreporttablefilter/index.es.js +16 -17
  46. package/dropdown/index.es.js +120 -117
  47. package/editor/index.es.js +51 -48
  48. package/fieldwrapper/index.es.js +7 -7
  49. package/fileupload/index.es.js +44 -40
  50. package/hardwaresync/index.es.js +12 -12
  51. package/headercell/index.es.js +4 -4
  52. package/icon/index.es.js +36 -35
  53. package/imagecompressor/index.es.js +155 -155
  54. package/imageinputinfo/index.es.js +13 -13
  55. package/inlinemessage/index.es.js +12 -12
  56. package/inputbadge/index.es.js +42 -43
  57. package/inputnumber/index.es.js +7 -7
  58. package/inputpassword/index.es.js +9 -9
  59. package/inputrangenumber/index.es.js +16 -16
  60. package/inputsearch/index.es.js +27 -27
  61. package/inputtext/index.es.js +33 -33
  62. package/litedropdown/index.es.js +47 -39
  63. package/loading-page-dark-e0SrRAHc.js +4 -0
  64. package/loading-page-dark-mz8tLHZ3.js +1 -0
  65. package/loading-table-dark-BGh0tAPM.js +4 -0
  66. package/loading-table-dark-Cky7AB_C.js +1 -0
  67. package/menuitem/index.es.js +27 -26
  68. package/multirow/index.es.js +17 -16
  69. package/multiselect/index.es.js +86 -83
  70. package/no-data-dark-DERIJ8Ml.js +1 -0
  71. package/no-data-dark-nK4e4RAM.js +4 -0
  72. package/package.json +1 -1
  73. package/plugins/WangsVue.es.js +11 -9
  74. package/plugins/basei18n.d.ts +2 -2
  75. package/plugins/basei18n.es.js +48 -42
  76. package/stats.html +1 -1
  77. package/steps/index.es.js +18 -16
  78. package/style.css +2 -2
  79. package/tabmenu/index.es.js +14 -9
  80. package/tagtype/index.es.js +35 -32
  81. package/textarea/index.es.js +3 -3
  82. package/toggledarkmode/store/index.d.ts +7 -0
  83. package/toggleswitch/index.es.js +3 -3
  84. package/transactionroles/index.es.js +4 -1
  85. package/treesearchinput/index.es.js +15 -15
  86. package/username/index.es.js +37 -37
  87. package/utils/baseToast.util.es.js +23 -22
  88. package/utils/index.es.js +1 -2
  89. package/utils/textFormatter.util.d.ts +32 -0
  90. package/utils/textFormatter.util.es.js +38 -10
  91. package/validatormessage/index.es.js +1 -1
  92. package/vendor/dompurify/dist/purify.es.es.js +553 -0
  93. package/wangsvue-fats.d.ts +2 -1
  94. package/wangsvue-fats.es.js +190 -186
  95. package/wangsvue-fats.esm.browser.js +22487 -21781
  96. package/wangsvue-fats.system.js +72 -71
package/icon/index.es.js CHANGED
@@ -1,5 +1,6 @@
1
- import { defineComponent as c, computed as d, resolveDirective as v, createElementBlock as t, openBlock as o, Fragment as f, withDirectives as i, createCommentVNode as n, mergeProps as l } from "vue";
2
- const $ = /* @__PURE__ */ c({
1
+ import { defineComponent as m, computed as c, resolveDirective as f, createElementBlock as t, openBlock as r, Fragment as k, withDirectives as a, createCommentVNode as n, mergeProps as l } from "vue";
2
+ import { u as g } from "../plugins/basei18n.es.js";
3
+ const P = /* @__PURE__ */ m({
3
4
  __name: "Icon",
4
5
  props: {
5
6
  icon: {},
@@ -8,67 +9,67 @@ const $ = /* @__PURE__ */ c({
8
9
  tooltipPos: { default: "bottom" },
9
10
  class: { default: void 0 }
10
11
  },
11
- setup(u) {
12
- const a = u, p = (() => {
13
- switch (a.severity) {
12
+ setup(p) {
13
+ const u = p, { t: d } = g(), v = (() => {
14
+ switch (u.severity) {
14
15
  case "primary":
15
- return "text-primary-500";
16
+ return "text-primary-500 dark:text-primary-300";
16
17
  case "success":
17
- return "text-success-500";
18
+ return "text-success-500 dark:text-success-300";
18
19
  case "warning":
19
- return "text-warning-500";
20
+ return "text-warning-500 dark:text-warning-300";
20
21
  case "danger":
21
- return "text-danger-500";
22
+ return "text-danger-500 dark:text-danger-300";
22
23
  case "info":
23
- return "text-info-500";
24
+ return "text-info-500 dark:text-info-300";
24
25
  default:
25
- return "inherit";
26
+ return "inherit dark:inherit";
26
27
  }
27
- })(), s = d(() => [
28
+ })(), o = c(() => [
28
29
  "icon",
29
- `ic-${a.icon}`,
30
- p,
30
+ `ic-${u.icon}`,
31
+ v,
31
32
  "cursor-pointer !shrink-0"
32
- ]);
33
- return (e, m) => {
34
- const r = v("tooltip");
35
- return o(), t(f, null, [
36
- e.tooltipPos === "top" ? i((o(), t("i", l({ key: 0 }, e.$attrs, {
37
- class: [...s.value, e.$props.class]
33
+ ]), s = c(() => d(u.info));
34
+ return (e, y) => {
35
+ const i = f("tooltip");
36
+ return r(), t(k, null, [
37
+ e.tooltipPos === "top" ? a((r(), t("i", l({ key: 0 }, e.$attrs, {
38
+ class: [...o.value, e.$props.class]
38
39
  }), null, 16)), [
39
40
  [
40
- r,
41
- e.info,
41
+ i,
42
+ s.value,
42
43
  void 0,
43
44
  { top: !0 }
44
45
  ]
45
46
  ]) : n("", !0),
46
- e.tooltipPos === "bottom" ? i((o(), t("i", l({ key: 1 }, e.$attrs, {
47
- class: [...s.value, e.$props.class]
47
+ e.tooltipPos === "bottom" ? a((r(), t("i", l({ key: 1 }, e.$attrs, {
48
+ class: [...o.value, e.$props.class]
48
49
  }), null, 16)), [
49
50
  [
50
- r,
51
- e.info,
51
+ i,
52
+ s.value,
52
53
  void 0,
53
54
  { bottom: !0 }
54
55
  ]
55
56
  ]) : n("", !0),
56
- e.tooltipPos === "right" ? i((o(), t("i", l({ key: 2 }, e.$attrs, {
57
- class: [...s.value, e.$props.class]
57
+ e.tooltipPos === "right" ? a((r(), t("i", l({ key: 2 }, e.$attrs, {
58
+ class: [...o.value, e.$props.class]
58
59
  }), null, 16)), [
59
60
  [
60
- r,
61
- e.info,
61
+ i,
62
+ s.value,
62
63
  void 0,
63
64
  { right: !0 }
64
65
  ]
65
66
  ]) : n("", !0),
66
- e.tooltipPos === "left" ? i((o(), t("i", l({ key: 3 }, e.$attrs, {
67
- class: [...s.value, e.$props.class]
67
+ e.tooltipPos === "left" ? a((r(), t("i", l({ key: 3 }, e.$attrs, {
68
+ class: [...o.value, e.$props.class]
68
69
  }), null, 16)), [
69
70
  [
70
- r,
71
- e.info,
71
+ i,
72
+ s.value,
72
73
  void 0,
73
74
  { left: !0 }
74
75
  ]
@@ -78,5 +79,5 @@ const $ = /* @__PURE__ */ c({
78
79
  }
79
80
  });
80
81
  export {
81
- $ as _
82
+ P as _
82
83
  };