@usssa/component-library 1.0.0-alpha.180 → 1.0.0-alpha.181
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.
package/package.json
CHANGED
|
@@ -16,9 +16,17 @@ const emit = defineEmits([
|
|
|
16
16
|
'updateButtonToggle',
|
|
17
17
|
])
|
|
18
18
|
const props = defineProps({
|
|
19
|
+
applyLabel: {
|
|
20
|
+
type: String,
|
|
21
|
+
default: 'Apply',
|
|
22
|
+
},
|
|
19
23
|
beforeOptions: {
|
|
20
24
|
type: Array,
|
|
21
25
|
},
|
|
26
|
+
cancelLabel: {
|
|
27
|
+
type: String,
|
|
28
|
+
default: 'Cancel',
|
|
29
|
+
},
|
|
22
30
|
caption: {
|
|
23
31
|
type: String,
|
|
24
32
|
default: '',
|
|
@@ -518,14 +526,14 @@ watch(selectedTab, () => {
|
|
|
518
526
|
<template #action_primary_one>
|
|
519
527
|
<UBtnStd
|
|
520
528
|
color="primary"
|
|
521
|
-
label="
|
|
529
|
+
:label="cancelLabel"
|
|
522
530
|
outline
|
|
523
531
|
size="md"
|
|
524
532
|
@onClick="handleClose"
|
|
525
533
|
/>
|
|
526
534
|
</template>
|
|
527
535
|
<template #action_primary_two>
|
|
528
|
-
<UBtnStd color="primary" label="
|
|
536
|
+
<UBtnStd color="primary" :label="applyLabel" size="md" @onClick="handleApply" />
|
|
529
537
|
</template>
|
|
530
538
|
</USheet>
|
|
531
539
|
</template>
|