@fewangsit/wangsvue-presets 1.0.107 → 1.0.108-alpha.1

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 (108) hide show
  1. package/fixedasset/badge/index.d.ts +14 -14
  2. package/fixedasset/badge/index.js +15 -14
  3. package/fixedasset/breadcrumb/index.d.ts +4 -4
  4. package/fixedasset/breadcrumb/index.js +6 -5
  5. package/fixedasset/button/index.d.ts +2 -2
  6. package/fixedasset/button/index.js +39 -80
  7. package/fixedasset/buttonbulkaction/index.d.ts +2 -2
  8. package/fixedasset/buttonbulkaction/index.js +8 -5
  9. package/fixedasset/buttondownload/index.d.ts +2 -2
  10. package/fixedasset/buttondownload/index.js +5 -4
  11. package/fixedasset/buttonfilter/index.d.ts +4 -7
  12. package/fixedasset/buttonfilter/index.js +5 -7
  13. package/fixedasset/buttonradio/index.d.ts +20 -20
  14. package/fixedasset/buttonradio/index.js +11 -10
  15. package/fixedasset/buttonsearch/index.d.ts +2 -2
  16. package/fixedasset/buttonsearch/index.js +9 -8
  17. package/fixedasset/calendar/index.js +64 -66
  18. package/fixedasset/card/index.js +2 -2
  19. package/fixedasset/checkbox/index.d.ts +58 -58
  20. package/fixedasset/checkbox/index.js +19 -18
  21. package/fixedasset/codesnippet/index.js +3 -3
  22. package/fixedasset/customcolumn/index.d.ts +2 -2
  23. package/fixedasset/customcolumn/index.js +3 -2
  24. package/fixedasset/datatable/index.d.ts +50 -44
  25. package/fixedasset/datatable/index.js +34 -31
  26. package/fixedasset/dialog/index.d.ts +4 -4
  27. package/fixedasset/dialog/index.js +16 -16
  28. package/fixedasset/dialogconfirm/index.d.ts +2 -2
  29. package/fixedasset/dialogconfirm/index.js +3 -2
  30. package/fixedasset/dialogform/index.d.ts +2 -2
  31. package/fixedasset/dialogform/index.js +4 -3
  32. package/fixedasset/dropdown/index.d.ts +41 -41
  33. package/fixedasset/dropdown/index.js +20 -21
  34. package/fixedasset/fieldwrapper/index.d.ts +2 -2
  35. package/fixedasset/fieldwrapper/index.js +8 -7
  36. package/fixedasset/fileupload/index.d.ts +2 -2
  37. package/fixedasset/fileupload/index.js +2 -1
  38. package/fixedasset/filtercontainer/index.d.ts +2 -2
  39. package/fixedasset/filtercontainer/index.js +3 -2
  40. package/fixedasset/form/index.d.ts +2 -2
  41. package/fixedasset/form/index.js +3 -2
  42. package/fixedasset/global.js +1 -1
  43. package/fixedasset/image/index.d.ts +2 -2
  44. package/fixedasset/image/index.js +21 -20
  45. package/fixedasset/index.es.js +793 -804
  46. package/fixedasset/index.system.js +2 -2
  47. package/fixedasset/inlinemessage/index.d.ts +4 -4
  48. package/fixedasset/inlinemessage/index.js +6 -4
  49. package/fixedasset/inputbadge/index.d.ts +10 -10
  50. package/fixedasset/inputbadge/index.js +6 -6
  51. package/fixedasset/inputcurrency/index.d.ts +6 -6
  52. package/fixedasset/inputcurrency/index.js +2 -1
  53. package/fixedasset/inputgroup/index.d.ts +2 -2
  54. package/fixedasset/inputgroup/index.js +8 -7
  55. package/fixedasset/inputgroupaddon/index.d.ts +6 -6
  56. package/fixedasset/inputgroupaddon/index.js +5 -4
  57. package/fixedasset/inputnumber/index.d.ts +2 -2
  58. package/fixedasset/inputnumber/index.js +8 -5
  59. package/fixedasset/inputotp/index.js +6 -7
  60. package/fixedasset/inputphonenumber/index.d.ts +8 -8
  61. package/fixedasset/inputphonenumber/index.js +7 -6
  62. package/fixedasset/inputtext/index.d.ts +4 -4
  63. package/fixedasset/inputtext/index.js +6 -5
  64. package/fixedasset/loading/index.d.ts +2 -2
  65. package/fixedasset/loading/index.js +5 -4
  66. package/fixedasset/menu/index.d.ts +3 -3
  67. package/fixedasset/menu/index.js +9 -5
  68. package/fixedasset/multiselect/index.d.ts +107 -107
  69. package/fixedasset/multiselect/index.js +25 -27
  70. package/fixedasset/overlaypanel/index.d.ts +2 -2
  71. package/fixedasset/overlaypanel/index.js +4 -3
  72. package/fixedasset/paginator/index.d.ts +19 -19
  73. package/fixedasset/paginator/index.js +24 -23
  74. package/fixedasset/password/index.d.ts +5 -5
  75. package/fixedasset/password/index.js +13 -13
  76. package/fixedasset/style.css +1333 -77
  77. package/fixedasset/tabmenu/index.js +13 -13
  78. package/fixedasset/textarea/index.d.ts +2 -2
  79. package/fixedasset/textarea/index.js +6 -5
  80. package/fixedasset/timeline/index.d.ts +2 -2
  81. package/fixedasset/timeline/index.js +12 -8
  82. package/fixedasset/toast/index.d.ts +8 -8
  83. package/fixedasset/toast/index.js +8 -7
  84. package/fixedasset/toggleswitch/index.d.ts +42 -42
  85. package/fixedasset/toggleswitch/index.js +12 -11
  86. package/fixedasset/tooltip/index.d.ts +2 -2
  87. package/fixedasset/tooltip/index.js +4 -3
  88. package/fixedasset/tree/index.d.ts +26 -29
  89. package/fixedasset/tree/index.js +17 -24
  90. package/fixedasset/username/index.js +7 -5
  91. package/fixedasset/validatormessage/index.d.ts +2 -2
  92. package/fixedasset/validatormessage/index.js +5 -2
  93. package/globalsettings/datatable/index.d.ts +9 -10
  94. package/globalsettings/datatable/index.js +7 -9
  95. package/globalsettings/index.es.js +7 -8
  96. package/globalsettings/index.system.js +2 -2
  97. package/globalsettings/style.css +1353 -49
  98. package/package.json +1 -1
  99. package/supplyasset/datatable/index.d.ts +9 -10
  100. package/supplyasset/datatable/index.js +7 -9
  101. package/supplyasset/index.es.js +13 -14
  102. package/supplyasset/index.system.js +2 -2
  103. package/supplyasset/style.css +1359 -55
  104. package/wangsvue/datatable/index.d.ts +2 -3
  105. package/wangsvue/datatable/index.js +6 -8
  106. package/wangsvue/index.es.js +14 -15
  107. package/wangsvue/index.system.js +2 -2
  108. package/wangsvue/style.css +1332 -76
@@ -1,4 +1,5 @@
1
- declare namespace _default {
1
+ export default definePreset;
2
+ declare namespace definePreset {
2
3
  let root: {
3
4
  'data-wv-name': string;
4
5
  'data-wv-section': string;
@@ -293,9 +294,7 @@ declare namespace _default {
293
294
  function paginator({ context }: {
294
295
  context: any;
295
296
  }): {
296
- 'current-page-report-template': string;
297
297
  class: string;
298
298
  template: string;
299
299
  };
300
300
  }
301
- export default _default;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.default = {
3
+ var definePreset = {
4
4
  root: {
5
5
  'data-wv-name': 'datatable',
6
6
  'data-wv-section': 'root',
@@ -228,7 +228,7 @@ exports.default = {
228
228
  });
229
229
  },
230
230
  nodatalottiewrapper: {
231
- 'class': 'w-full p-4 flex items-center justify-center absolute top-[35px] inset-x-0 pointer-events-none',
231
+ 'class': 'w-full p-4 flex items-center justify-center absolute inset-x-0 pointer-events-none',
232
232
  'data-wv-section': 'nodatalottiewrapper',
233
233
  },
234
234
  invisiblelottiewrapper: {
@@ -239,7 +239,7 @@ exports.default = {
239
239
  'data-wv-section': 'nodatalottie',
240
240
  },
241
241
  loadingtablewrapper: {
242
- 'class': 'w-full p-4 flex items-center justify-center absolute top-[35px] inset-x-0 pointer-events-none',
242
+ 'class': 'w-full p-4 flex items-center justify-center absolute inset-x-0 pointer-events-none',
243
243
  'data-wv-section': 'loadingtablewrapper',
244
244
  },
245
245
  loadingtablelottie: {
@@ -249,11 +249,9 @@ exports.default = {
249
249
  paginator: function (_a) {
250
250
  var context = _a.context;
251
251
  return ({
252
- 'current-page-report-template': context.totalRecords
253
- ? 'Menampilkan {first} - {last} dari {totalRecords}'
254
- : 'Tidak ditemukan data',
255
- 'class': '',
256
- 'template': 'FirstPageLink PrevPageLink PageLinks JumpToPageInput NextPageLink LastPageLink CurrentPageReport RowsPerPageDropdown',
252
+ class: '',
253
+ template: 'FirstPageLink PrevPageLink PageLinks JumpToPageInput NextPageLink LastPageLink CurrentPageReport RowsPerPageDropdown',
257
254
  });
258
255
  },
259
256
  };
257
+ exports.default = definePreset;
@@ -1702,7 +1702,7 @@ const _ = {
1702
1702
  leaveActiveClass: "transition-opacity duration-100 ease-linear",
1703
1703
  leaveToClass: "opacity-0"
1704
1704
  }
1705
- }, R = {
1705
+ }, M = {
1706
1706
  button: (e) => ({
1707
1707
  class: [e, "w-max"],
1708
1708
  "data-wv-section": "changelog-button"
@@ -1840,7 +1840,7 @@ const _ = {
1840
1840
  tooltipicon: {
1841
1841
  class: "text-grayscale-900 w-[10px] h-[10px]"
1842
1842
  }
1843
- }, M = {
1843
+ }, O = {
1844
1844
  root: {
1845
1845
  class: [
1846
1846
  // Flexbox
@@ -1877,7 +1877,7 @@ const _ = {
1877
1877
  "cursor-pointer"
1878
1878
  ]
1879
1879
  }
1880
- }, O = {
1880
+ }, R = {
1881
1881
  root: ({ props: e }) => ({
1882
1882
  class: [
1883
1883
  "flex",
@@ -2522,7 +2522,7 @@ const _ = {
2522
2522
  "data-wv-section": "singleactionbutton"
2523
2523
  }),
2524
2524
  nodatalottiewrapper: {
2525
- class: "w-full p-4 flex items-center justify-center absolute top-[35px] inset-x-0 pointer-events-none",
2525
+ class: "w-full p-4 flex items-center justify-center absolute inset-x-0 pointer-events-none",
2526
2526
  "data-wv-section": "nodatalottiewrapper"
2527
2527
  },
2528
2528
  invisiblelottiewrapper: {
@@ -2533,7 +2533,7 @@ const _ = {
2533
2533
  "data-wv-section": "nodatalottie"
2534
2534
  },
2535
2535
  loadingtablewrapper: {
2536
- class: "w-full p-4 flex items-center justify-center absolute top-[35px] inset-x-0 pointer-events-none",
2536
+ class: "w-full p-4 flex items-center justify-center absolute inset-x-0 pointer-events-none",
2537
2537
  "data-wv-section": "loadingtablewrapper"
2538
2538
  },
2539
2539
  loadingtablelottie: {
@@ -2541,7 +2541,6 @@ const _ = {
2541
2541
  "data-wv-section": "loadingtablelottie"
2542
2542
  },
2543
2543
  paginator: ({ context: e }) => ({
2544
- "current-page-report-template": e.totalRecords ? "Menampilkan {first} - {last} dari {totalRecords}" : "Tidak ditemukan data",
2545
2544
  class: "",
2546
2545
  template: "FirstPageLink PrevPageLink PageLinks JumpToPageInput NextPageLink LastPageLink CurrentPageReport RowsPerPageDropdown"
2547
2546
  })
@@ -7339,7 +7338,7 @@ const _ = {
7339
7338
  "touch-action-none"
7340
7339
  ]
7341
7340
  })
7342
- }, Re = {
7341
+ }, Me = {
7343
7342
  root: ({ props: e }) => ({
7344
7343
  class: [
7345
7344
  // Flexbox and Position
@@ -7847,7 +7846,7 @@ const _ = {
7847
7846
  class: ["hidden"]
7848
7847
  }
7849
7848
  }
7850
- }, Me = {
7849
+ }, Oe = {
7851
7850
  root: {
7852
7851
  class: "relative"
7853
7852
  },
@@ -8263,7 +8262,7 @@ const o = class o {
8263
8262
  g(o, "SINGLETON_KEY", "__WANGS_UI_ROUTER_INSTANCE__");
8264
8263
  let m = o;
8265
8264
  new m();
8266
- const Oe = p("WANGS-TAB-MENU", {
8265
+ const Re = p("WANGS-TAB-MENU", {
8267
8266
  root: {
8268
8267
  class: "overflow-x-auto",
8269
8268
  style: "scrollbar-width: none"
@@ -9872,7 +9871,7 @@ const Oe = p("WANGS-TAB-MENU", {
9872
9871
  buttonradio: Fe,
9873
9872
  selectbutton: Ee,
9874
9873
  slider: Le,
9875
- chips: O,
9874
+ chips: R,
9876
9875
  rating: Ne,
9877
9876
  multiselect: i,
9878
9877
  togglebutton: Xe,
@@ -9898,7 +9897,7 @@ const Oe = p("WANGS-TAB-MENU", {
9898
9897
  buttonsearch: $,
9899
9898
  buttonsplit: B,
9900
9899
  buttonfilter: V,
9901
- splitbutton: Re,
9900
+ splitbutton: Me,
9902
9901
  // Data
9903
9902
  paginator: Ae,
9904
9903
  datatable: q,
@@ -9910,7 +9909,7 @@ const Oe = p("WANGS-TAB-MENU", {
9910
9909
  orderlist: Ce,
9911
9910
  picklist: Pe,
9912
9911
  timeline: qe,
9913
- changelog: R,
9912
+ changelog: M,
9914
9913
  // Panels
9915
9914
  accordion: _,
9916
9915
  panel: _e,
@@ -9924,13 +9923,13 @@ const Oe = p("WANGS-TAB-MENU", {
9924
9923
  contextmenu: Y,
9925
9924
  menu: ye,
9926
9925
  menubar: we,
9927
- steps: Me,
9926
+ steps: Oe,
9928
9927
  breadcrumb: ot,
9929
9928
  tieredmenu: Ye,
9930
9929
  panelmenu: Te,
9931
9930
  megamenu: he,
9932
9931
  dock: te,
9933
- tabmenu: Oe,
9932
+ tabmenu: Re,
9934
9933
  // Overlays
9935
9934
  dialog: C,
9936
9935
  dialogconfirm: Z,
@@ -9950,7 +9949,7 @@ const Oe = p("WANGS-TAB-MENU", {
9950
9949
  avatar: I,
9951
9950
  avatargroup: P,
9952
9951
  tag: De,
9953
- chip: M,
9952
+ chip: O,
9954
9953
  progressbar: Se,
9955
9954
  skeleton: Ue,
9956
9955
  scrolltop: Be,