@fewangsit/wangsvue-gsts 1.0.0-alpha.13 → 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(
|