@fewangsit/wangsvue-gsts 1.0.0-alpha.12 → 1.0.0-alpha.14
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.
|
@@ -52,6 +52,13 @@ export interface ButtonBulkActionProps {
|
|
|
52
52
|
* @options dropdown overlay-panel
|
|
53
53
|
*/
|
|
54
54
|
selectMenuType?: 'dropdown' | 'overlay-panel';
|
|
55
|
+
/**
|
|
56
|
+
* Specify the name/label for selected data.
|
|
57
|
+
*
|
|
58
|
+
* @example 'Asset(s)' will be displayed as '3 Asset(s) Selected'
|
|
59
|
+
* @default 'Data' for all packages
|
|
60
|
+
*/
|
|
61
|
+
naming?: string;
|
|
55
62
|
}
|
|
56
63
|
|
|
57
64
|
export interface ButtonBulkActionSlots {
|
package/package.json
CHANGED
package/wangsvue-gsts.es.js
CHANGED
|
@@ -34827,9 +34827,9 @@ const z5 = {
|
|
|
34827
34827
|
noOptionLabel: "Tidak ada aksi"
|
|
34828
34828
|
},
|
|
34829
34829
|
ButtonBulkAction: {
|
|
34830
|
-
allRecordSelected: "All
|
|
34830
|
+
allRecordSelected: "All {naming} Selected",
|
|
34831
34831
|
selectAllRecords: "Select All ({totalRecords} data)",
|
|
34832
|
-
currentSelectionMessage: "{length}
|
|
34832
|
+
currentSelectionMessage: "{length} {naming} Selected"
|
|
34833
34833
|
},
|
|
34834
34834
|
UserName: {
|
|
34835
34835
|
detailUserAnchorText: "User Detail"
|
|
@@ -34857,7 +34857,8 @@ const z5 = {
|
|
|
34857
34857
|
maxLength: 60
|
|
34858
34858
|
},
|
|
34859
34859
|
ButtonBulkAction: {
|
|
34860
|
-
selectMenuType: "overlay-panel"
|
|
34860
|
+
selectMenuType: "overlay-panel",
|
|
34861
|
+
naming: "Data"
|
|
34861
34862
|
},
|
|
34862
34863
|
Animation: {
|
|
34863
34864
|
libPath: "workspace"
|
|
@@ -39927,7 +39928,8 @@ const Bre = ["href", "onClick"], Ure = ["href", "target"], pN = /* @__PURE__ */
|
|
|
39927
39928
|
totalRecords: {},
|
|
39928
39929
|
options: { default: () => [] },
|
|
39929
39930
|
tableName: { default: "datatable" },
|
|
39930
|
-
selectMenuType: {}
|
|
39931
|
+
selectMenuType: {},
|
|
39932
|
+
naming: {}
|
|
39931
39933
|
},
|
|
39932
39934
|
emits: ["apply", "update:selectedData"],
|
|
39933
39935
|
setup(t, { emit: e }) {
|
|
@@ -40040,8 +40042,8 @@ const Bre = ["href", "onClick"], Ure = ["href", "target"], pN = /* @__PURE__ */
|
|
|
40040
40042
|
], 64)) : me("", !0),
|
|
40041
40043
|
Yt(le("span", Ut(_n(x.$preset.buttonbulkaction.selectionmessage)), He(x.$t(
|
|
40042
40044
|
L(i).currentSelectionMessage.replace(
|
|
40043
|
-
"{length}",
|
|
40044
|
-
h.value.length.toString()
|
|
40045
|
+
"{length} {naming}",
|
|
40046
|
+
`${h.value.length.toString()} ${L(a).naming}`
|
|
40045
40047
|
)
|
|
40046
40048
|
)), 17), [
|
|
40047
40049
|
[Si, (ge = h.value) == null ? void 0 : ge.length]
|
|
@@ -40055,12 +40057,7 @@ const Bre = ["href", "onClick"], Ure = ["href", "target"], pN = /* @__PURE__ */
|
|
|
40055
40057
|
), {
|
|
40056
40058
|
default: Ae(() => [
|
|
40057
40059
|
f.value ? (A(), P(it, { key: 1 }, [
|
|
40058
|
-
pn(He(x.$t(
|
|
40059
|
-
L(i).allRecordSelected.replace(
|
|
40060
|
-
"{totalRecords}",
|
|
40061
|
-
u.value.toString()
|
|
40062
|
-
)
|
|
40063
|
-
)), 1)
|
|
40060
|
+
pn(He(x.$t(L(i).allRecordSelected.replace("{naming}", L(a).naming))), 1)
|
|
40064
40061
|
], 64)) : (A(), P(it, { key: 0 }, [
|
|
40065
40062
|
pn(He(x.$t(
|
|
40066
40063
|
L(i).selectAllRecords.replace(
|
|
@@ -128555,13 +128552,13 @@ const $be = {
|
|
|
128555
128552
|
var o, l, c, u, f, p, h, g;
|
|
128556
128553
|
const s = [
|
|
128557
128554
|
{
|
|
128558
|
-
label: "
|
|
128555
|
+
label: "Date",
|
|
128559
128556
|
type: "calendar",
|
|
128560
128557
|
field: "createdAt",
|
|
128561
128558
|
visible: !((o = e.removedFilters) != null && o.includes("createdAt"))
|
|
128562
128559
|
},
|
|
128563
128560
|
{
|
|
128564
|
-
label: "
|
|
128561
|
+
label: "Action",
|
|
128565
128562
|
type: "multiselect",
|
|
128566
128563
|
field: "action",
|
|
128567
128564
|
visible: !((l = e.removedFilters) != null && l.includes("action")),
|
|
@@ -128582,7 +128579,7 @@ const $be = {
|
|
|
128582
128579
|
fetchOptionFn: async () => await i("fieldOptions")
|
|
128583
128580
|
},
|
|
128584
128581
|
{
|
|
128585
|
-
label: "
|
|
128582
|
+
label: "Modified By",
|
|
128586
128583
|
type: "multiselect",
|
|
128587
128584
|
field: "modifiedBy",
|
|
128588
128585
|
visible: !((p = e.removedFilters) != null && p.includes("modifiedBy")),
|
|
@@ -128662,14 +128659,14 @@ const $be = {
|
|
|
128662
128659
|
const f = [
|
|
128663
128660
|
{
|
|
128664
128661
|
field: "createdAt",
|
|
128665
|
-
header: "
|
|
128662
|
+
header: "Date",
|
|
128666
128663
|
sortable: !0,
|
|
128667
128664
|
visible: !((p = r.removedColumns) != null && p.includes("createdAt")),
|
|
128668
128665
|
bodyTemplate: (w) => w.createdAt ?? "-"
|
|
128669
128666
|
},
|
|
128670
128667
|
{
|
|
128671
128668
|
field: "action",
|
|
128672
|
-
header: "
|
|
128669
|
+
header: "Action",
|
|
128673
128670
|
sortable: !0,
|
|
128674
128671
|
fixed: !0,
|
|
128675
128672
|
visible: !((h = r.removedColumns) != null && h.includes("action")),
|
|
@@ -128677,7 +128674,7 @@ const $be = {
|
|
|
128677
128674
|
},
|
|
128678
128675
|
{
|
|
128679
128676
|
field: "object",
|
|
128680
|
-
header: "
|
|
128677
|
+
header: "Object",
|
|
128681
128678
|
sortable: !0,
|
|
128682
128679
|
fixed: !0,
|
|
128683
128680
|
visible: !((g = r.additionalTemplateColumns) != null && g.length) && !((_ = r.removedColumns) != null && _.includes("object")),
|
|
@@ -128701,7 +128698,7 @@ const $be = {
|
|
|
128701
128698
|
},
|
|
128702
128699
|
{
|
|
128703
128700
|
field: "oldValue",
|
|
128704
|
-
header: "
|
|
128701
|
+
header: "Old Value",
|
|
128705
128702
|
sortable: !0,
|
|
128706
128703
|
visible: !((C = r.removedColumns) != null && C.includes("oldValue")),
|
|
128707
128704
|
bodyComponent: (w) => ({
|
|
@@ -128711,7 +128708,7 @@ const $be = {
|
|
|
128711
128708
|
},
|
|
128712
128709
|
{
|
|
128713
128710
|
field: "newValue",
|
|
128714
|
-
header: "
|
|
128711
|
+
header: "New Value",
|
|
128715
128712
|
sortable: !0,
|
|
128716
128713
|
visible: !((E = r.removedColumns) != null && E.includes("newValue")),
|
|
128717
128714
|
bodyComponent: (w) => ({
|
|
@@ -128721,7 +128718,7 @@ const $be = {
|
|
|
128721
128718
|
},
|
|
128722
128719
|
{
|
|
128723
128720
|
field: "modifiedBy",
|
|
128724
|
-
header: "
|
|
128721
|
+
header: "Modified By",
|
|
128725
128722
|
sortable: !0,
|
|
128726
128723
|
visible: !((y = r.removedColumns) != null && y.includes("modifiedBy")),
|
|
128727
128724
|
bodyTemplate: (w) => w.modifiedBy ?? "-"
|