tsv2-library 1.0.61-alpha.140 → 1.0.61-alpha.141

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.
@@ -30,6 +30,11 @@ export interface DialogConfirmProps {
30
30
  * @default 'Yes, Continue'
31
31
  */
32
32
  confirmLabel?: string;
33
+ /**
34
+ * The label of the cancel button.
35
+ * @default 'Cancel' | 'Close'
36
+ */
37
+ cancelLabel?: string;
33
38
  /**
34
39
  * Pass true to disabled button confirm
35
40
  */
@@ -36865,6 +36865,7 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
36865
36865
  severity: {},
36866
36866
  confirmBtnSeverity: {},
36867
36867
  confirmLabel: { default: "Yes, Continue" },
36868
+ cancelLabel: {},
36868
36869
  disableConfirmButton: { type: Boolean },
36869
36870
  lists: { default: void 0 },
36870
36871
  listLabel: { default: void 0 },
@@ -36957,7 +36958,7 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
36957
36958
  renderSlot(_ctx.$slots, "footer", {}, () => [
36958
36959
  _ctx.closable ? (openBlock(), createBlock(_sfc_main$1z, {
36959
36960
  key: 0,
36960
- label: props.actionable ? "Cancel" : "Close",
36961
+ label: props.cancelLabel ? props.cancelLabel : props.actionable ? "Cancel" : "Close",
36961
36962
  onClick: closeDialog,
36962
36963
  "data-ts-section": "cancel-button",
36963
36964
  severity: "dark",
@@ -66907,6 +66908,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
66907
66908
  severity: {},
66908
66909
  confirmBtnSeverity: {},
66909
66910
  confirmLabel: {},
66911
+ cancelLabel: {},
66910
66912
  disableConfirmButton: { type: Boolean },
66911
66913
  listLabel: {},
66912
66914
  body: {},