@wow-two-beta/fe 0.0.31 → 0.0.33

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 (66) hide show
  1. package/README.md +7 -6
  2. package/dist/chunks/{AccountMenu.vue_vue_type_script_setup_true_lang-CG03MviN.js → AccountMenu.vue_vue_type_script_setup_true_lang-LEQUWCXJ.js} +7 -3
  3. package/dist/chunks/{AccountMenu.vue_vue_type_script_setup_true_lang-CG03MviN.js.map → AccountMenu.vue_vue_type_script_setup_true_lang-LEQUWCXJ.js.map} +1 -1
  4. package/dist/chunks/Alert.vue_vue_type_script_setup_true_lang-CoLxB2dM.js +155 -0
  5. package/dist/chunks/Alert.vue_vue_type_script_setup_true_lang-CoLxB2dM.js.map +1 -0
  6. package/dist/chunks/{FieldHelperText.vue_vue_type_script_setup_true_lang-B-G5rNMG.js → ColorSwatchPreview.vue_vue_type_script_setup_true_lang-Btd7KUEw.js} +70 -230
  7. package/dist/chunks/ColorSwatchPreview.vue_vue_type_script_setup_true_lang-Btd7KUEw.js.map +1 -0
  8. package/dist/chunks/{ErrorBoundary.vue_vue_type_script_setup_true_lang-Dv9wOZmk.js → ErrorBoundary.vue_vue_type_script_setup_true_lang-E72RRrNG.js} +87 -233
  9. package/dist/chunks/ErrorBoundary.vue_vue_type_script_setup_true_lang-E72RRrNG.js.map +1 -0
  10. package/dist/chunks/FieldHelperText.vue_vue_type_script_setup_true_lang-2IDI_JgQ.js +216 -0
  11. package/dist/chunks/FieldHelperText.vue_vue_type_script_setup_true_lang-2IDI_JgQ.js.map +1 -0
  12. package/dist/chunks/{KanbanCard.vue_vue_type_script_setup_true_lang-DKgIhFwh.js → KanbanCard.vue_vue_type_script_setup_true_lang-BrQFyOiU.js} +177 -223
  13. package/dist/chunks/KanbanCard.vue_vue_type_script_setup_true_lang-BrQFyOiU.js.map +1 -0
  14. package/dist/chunks/{MasonryLayout.vue_vue_type_script_setup_true_lang-C5GpXgfl.js → MasonryLayout.vue_vue_type_script_setup_true_lang-BmWwoZrv.js} +29 -104
  15. package/dist/chunks/MasonryLayout.vue_vue_type_script_setup_true_lang-BmWwoZrv.js.map +1 -0
  16. package/dist/chunks/Navbar.variants-7DXJlilx.js +88 -0
  17. package/dist/chunks/Navbar.variants-7DXJlilx.js.map +1 -0
  18. package/dist/chunks/TypedConfirmField.vue_vue_type_script_setup_true_lang-DXCZlnlM.js +447 -0
  19. package/dist/chunks/TypedConfirmField.vue_vue_type_script_setup_true_lang-DXCZlnlM.js.map +1 -0
  20. package/dist/chunks/{LightboxModal.vue_vue_type_script_setup_true_lang-CP7Or4sf.js → TypedConfirmModal.vue_vue_type_script_setup_true_lang-CoIaH_xx.js} +299 -108
  21. package/dist/chunks/TypedConfirmModal.vue_vue_type_script_setup_true_lang-CoIaH_xx.js.map +1 -0
  22. package/dist/chunks/{MentionInput.vue_vue_type_script_setup_true_lang-D8Ja7QjX.js → UseTypedConfirmation-CvY2T4Up.js} +331 -582
  23. package/dist/chunks/UseTypedConfirmation-CvY2T4Up.js.map +1 -0
  24. package/dist/chunks/{index-CRV9gpyX.js → index-ou-qGNDu.js} +6 -3
  25. package/dist/chunks/index-ou-qGNDu.js.map +1 -0
  26. package/dist/foundation/http/ApiDecoderExtensions.d.ts +22 -0
  27. package/dist/foundation/http/ApiFailureExtensions.d.ts +22 -0
  28. package/dist/foundation/http/ProblemDetailsExtensions.d.ts +31 -0
  29. package/dist/foundation/http/index.d.ts +3 -0
  30. package/dist/foundation/http/index.js +93 -2
  31. package/dist/foundation/http/index.js.map +1 -1
  32. package/dist/foundation/themes/Theme.d.ts +7 -2
  33. package/dist/foundation/themes/index.js +1 -1
  34. package/dist/index.css +15 -9
  35. package/dist/index.js +657 -651
  36. package/dist/index.js.map +1 -1
  37. package/dist/presentation/display/index.js +158 -157
  38. package/dist/presentation/display/index.js.map +1 -1
  39. package/dist/presentation/feedback/index.js +43 -42
  40. package/dist/presentation/feedback/index.js.map +1 -1
  41. package/dist/presentation/forms/index.d.ts +1 -0
  42. package/dist/presentation/forms/index.js +139 -137
  43. package/dist/presentation/forms/tagsInput/TagsInput.vue.d.ts +1 -1
  44. package/dist/presentation/forms/typedConfirmField/TypedConfirmField.vue.d.ts +61 -0
  45. package/dist/presentation/forms/typedConfirmField/UseTypedConfirmation.d.ts +32 -0
  46. package/dist/presentation/forms/typedConfirmField/index.d.ts +2 -0
  47. package/dist/presentation/layout/index.js +34 -33
  48. package/dist/presentation/layout/index.js.map +1 -1
  49. package/dist/presentation/layout/navbar/Navbar.variants.d.ts +7 -1
  50. package/dist/presentation/nav/bottomNavMenu/BottomNavMenu.vue.d.ts +8 -0
  51. package/dist/presentation/nav/index.js +1 -1
  52. package/dist/presentation/overlays/index.d.ts +1 -0
  53. package/dist/presentation/overlays/index.js +6 -5
  54. package/dist/presentation/overlays/typedConfirmModal/TypedConfirmModal.vue.d.ts +64 -0
  55. package/dist/presentation/overlays/typedConfirmModal/index.d.ts +1 -0
  56. package/dist/themes.css +2 -0
  57. package/package.json +1 -1
  58. package/dist/chunks/ErrorBoundary.vue_vue_type_script_setup_true_lang-Dv9wOZmk.js.map +0 -1
  59. package/dist/chunks/FieldHelperText.vue_vue_type_script_setup_true_lang-B-G5rNMG.js.map +0 -1
  60. package/dist/chunks/KanbanCard.vue_vue_type_script_setup_true_lang-DKgIhFwh.js.map +0 -1
  61. package/dist/chunks/LightboxModal.vue_vue_type_script_setup_true_lang-CP7Or4sf.js.map +0 -1
  62. package/dist/chunks/ListboxPicker.variants-hiMcl66_.js +0 -44
  63. package/dist/chunks/ListboxPicker.variants-hiMcl66_.js.map +0 -1
  64. package/dist/chunks/MasonryLayout.vue_vue_type_script_setup_true_lang-C5GpXgfl.js.map +0 -1
  65. package/dist/chunks/MentionInput.vue_vue_type_script_setup_true_lang-D8Ja7QjX.js.map +0 -1
  66. package/dist/chunks/index-CRV9gpyX.js.map +0 -1
@@ -1,24 +1,24 @@
1
- import { A, _, B, a, b, C, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, $, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, aa, ab, a7 as a72, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, as, at, au, av, aw, ax, ay, az, aA, aB, aC, aD, aE, aF, aG, aH, aI, aJ, aK, aL, aM, aN, aO, aP, aQ, aR, aS, aT, aU, aV, aW, aX, aY, aZ, a_, a$, b0, b1, b2, b3, b4, b5, b6, b7, b8, b9, ba, bb, bc, bd, be, bf, bg, bh, bi, bj, bk, bl, bm, bn, bo, bp, bq, br, bs, bt, bu, bv, bw, bx, by, bz, bA, bB, bC, bD, bE, bF, bG, bH, bI, bJ, bK, bL, bM, bN, bO, bP, bQ, bR, bS, bT, bU, bV, bW, bX, bY, bZ, b_ } from "../../chunks/MentionInput.vue_vue_type_script_setup_true_lang-D8Ja7QjX.js";
2
- import { _ as _2 } from "../../chunks/PointControl.vue_vue_type_script_setup_true_lang-akWl2-sE.js";
3
- import { _ as _3, C as C2 } from "../../chunks/FieldHelperText.vue_vue_type_script_setup_true_lang-B-G5rNMG.js";
1
+ import { _, _ as _2, I, a, b, c, L, d, e } from "../../chunks/TypedConfirmField.vue_vue_type_script_setup_true_lang-DXCZlnlM.js";
2
+ import { _ as _3 } from "../../chunks/PointControl.vue_vue_type_script_setup_true_lang-akWl2-sE.js";
3
+ import { A, _ as _4, B, a as a2, b as b2, C, c as c2, d as d2, e as e2, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, D, E, F, G, H, I as I2, J, K, L as L2, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, $, a0, a1, a2 as a22, a3, a4, a5, a6, a7, a8, a9, aa, ab, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, as, at, au, av, aw, ax, ay, az, aA, aB, aC, aD, aE, aF, aG, aH, aI, aJ, aK, aL, aM, aN, aO, aP, aQ, aR, aS, aT, aU, aV, aW, aX, aY, aZ, a_, a$, b0, b1, b2 as b22, b3, b4, b5, b6, b7, b8, b9, ba, bb, bc, bd, be, bf, bg, bh, bi, bj, bk, bl, bm, bn, bo, bp, bq, br, bs, bt, bu, bv, bw, bx, by, bz, bA, bB, bC, bD, bE, bF, bG, bH, bI, bJ, bK, bL, bM, bN, bO, bP, bQ, bR, bS, bT, bU, bV } from "../../chunks/UseTypedConfirmation-CvY2T4Up.js";
4
+ import { _ as _5, C as C2 } from "../../chunks/ColorSwatchPreview.vue_vue_type_script_setup_true_lang-Btd7KUEw.js";
4
5
  import { ImageEditRecipeExtensions } from "../../domain/imageEditing/index.js";
5
- import { L as L2 } from "../../chunks/ListboxPicker.variants-hiMcl66_.js";
6
6
  export {
7
7
  A as AddressCountries,
8
- _ as AddressEditor,
8
+ _4 as AddressEditor,
9
9
  B as BuiltInFonts,
10
- a as CalendarPicker,
11
- b as CascaderPicker,
10
+ a2 as CalendarPicker,
11
+ b2 as CascaderPicker,
12
12
  C as CategoryDisplays,
13
- c as CategoryNavVariant,
14
- d as CategoryOrder,
15
- e as CenterEmojiSize,
13
+ c2 as CategoryNavVariant,
14
+ d2 as CategoryOrder,
15
+ e2 as CenterEmojiSize,
16
16
  f as CenterEmojiSizeDisplays,
17
17
  g as ChatComposerInput,
18
18
  h as CheckboxField,
19
19
  i as CheckboxGroup,
20
20
  j as CheckboxGroupKey,
21
- _3 as CheckboxInput,
21
+ _5 as CheckboxInput,
22
22
  C2 as CheckboxInputVariant,
23
23
  k as ChoiceCard,
24
24
  l as CodeEditor,
@@ -41,10 +41,10 @@ export {
41
41
  F as CronFieldKind,
42
42
  G as CronInput,
43
43
  H as CurrencyInput,
44
- I as DataGridEditor,
44
+ I2 as DataGridEditor,
45
45
  J as DataGridEditorCellType,
46
46
  K as DataGridEditorColumnAlign,
47
- L as DateInput,
47
+ L2 as DateInput,
48
48
  M as DatePicker,
49
49
  N as DateRangePicker,
50
50
  O as DateTimeInput,
@@ -62,134 +62,136 @@ export {
62
62
  $ as EmojiEmptyLabels,
63
63
  a0 as EmojiPicker,
64
64
  a1 as EmojiPickerPopover,
65
- a2 as EmojiPickerSizes,
65
+ a22 as EmojiPickerSizes,
66
66
  a3 as EmojiRecentsKey,
67
67
  a4 as EmojiSizePicker,
68
68
  a5 as EmojiTileShape,
69
69
  a6 as ExactNumberInput,
70
- a7 as Field,
71
- a8 as FilePicker,
72
- a9 as FileRejectionReason,
73
- aa as FileUploadPicker,
74
- ab as FontPicker,
75
- a72 as FormField,
76
- ac as GradientKind,
77
- ad as GradientPicker,
78
- ae as IconPicker,
79
- af as ImageCropEditor,
70
+ _ as Field,
71
+ a7 as FilePicker,
72
+ a8 as FileRejectionReason,
73
+ a9 as FileUploadPicker,
74
+ aa as FontPicker,
75
+ _2 as FormField,
76
+ ab as GradientKind,
77
+ ac as GradientPicker,
78
+ ad as IconPicker,
79
+ ae as ImageCropEditor,
80
80
  ImageEditRecipeExtensions,
81
- ag as ImageEditor,
82
- ah as InputBorder,
83
- ai as InputRing,
84
- aj as InputSize,
85
- ak as InputState,
86
- al as JsonEditor,
87
- am as JsonEditorMode,
88
- an as KeyboardShortcutPicker,
89
- ao as KnobInput,
90
- ap as KnobInputTone,
91
- aq as LabeledField,
92
- ar as ListboxPicker,
93
- as as ListboxPickerEmpty,
94
- at as ListboxPickerGroup,
95
- au as ListboxPickerIndicator,
96
- av as ListboxPickerItem,
97
- L2 as ListboxPickerItemState,
98
- aw as ListboxPickerSeparator,
99
- ax as MarkdownEditor,
100
- ay as MarkdownEditorView,
101
- az as MaskedInput,
102
- aA as MentionInput,
103
- aB as MonthPicker,
104
- aC as MultiSelectPicker,
105
- aD as MultiSelectPickerContent,
106
- aE as MultiSelectPickerItem,
107
- aF as MultiSelectPickerTags,
108
- aG as MultiSelectPickerTrigger,
109
- aH as NodeEditor,
110
- aI as NumberInput,
111
- aJ as OptionTileGroupField,
112
- aK as OptionTilePicker,
113
- aL as PasswordInput,
114
- aM as PercentInput,
115
- aN as PhoneCountries,
116
- aO as PhoneInput,
117
- aP as PickerElement,
118
- aQ as PinInput,
119
- aR as PinInputType,
120
- _2 as PointControl,
121
- aS as RadioField,
122
- aT as RadioGroup,
123
- aU as RadioGroupKey,
124
- aV as RadioInput,
125
- aW as RangeCalendarPicker,
126
- aX as RangeSliderInput,
127
- aY as RangeSliderInputSize,
128
- aZ as RatingPicker,
129
- a_ as RatingPickerSize,
130
- a$ as RatingStep,
131
- b0 as ReactionPicker,
132
- b1 as RecentCategory,
133
- b2 as RecurrenceEditor,
134
- b3 as RecurrenceEndMode,
135
- b4 as RecurrenceFreq,
136
- b5 as RecurrenceWeekday,
137
- b6 as SearchInput,
138
- b7 as SegmentedPicker,
139
- b8 as SelectPicker,
140
- b9 as SelectPickerContent,
141
- ba as SelectPickerItem,
142
- bb as SelectPickerSize,
143
- bc as SelectPickerTrigger,
144
- bd as SelectPickerValue,
145
- be as SignatureFormat,
146
- bf as SignatureInput,
147
- bg as SliderInput,
148
- bh as SortableGroup,
149
- bi as SortableGroupHandle,
150
- bj as SortableGroupItem,
151
- bk as SortableGroupMoveButton,
152
- bl as SubmitTrigger,
153
- bm as SwitchField,
154
- bn as SwitchInput,
155
- bo as TagsInput,
156
- bp as TelInput,
157
- bq as TextAreaInput,
158
- br as TextInput,
159
- bs as TimeInput,
160
- bt as TimePicker,
161
- bu as TimezonePicker,
162
- bv as ToggleGroup,
163
- bw as ToggleGroupKey,
164
- bx as ToggleGroupVariant,
165
- by as ToggleInput,
166
- bz as ToggleInputElement,
167
- bA as ToggleInputVariant,
168
- bB as ToggleItemRole,
169
- bC as ToggleMode,
170
- bD as TransferPicker,
171
- bE as TreeSelectPicker,
172
- bF as UrlInput,
173
- bG as WizardForm,
174
- bH as WizardFormFooter,
175
- bI as WizardFormStep,
176
- bJ as WizardFormSteps,
177
- bK as YearPicker,
178
- bL as controlGroupVariants,
179
- bM as gradientToCss,
180
- bN as optionTileGroupVariants,
181
- bO as optionTileVariants,
182
- bP as resolveElementSize,
183
- bQ as selectTriggerVariants,
184
- bR as toggleButtonVariants,
185
- bS as useCheckboxGroup,
186
- bT as useComboboxContext,
187
- bU as useEditableContext,
188
- bV as useEmojiPicker,
189
- bW as useMultiSelectContext,
190
- bX as useRadioGroup,
191
- bY as useSortableItem,
192
- bZ as useSortableRoot,
193
- b_ as useWizard
81
+ af as ImageEditor,
82
+ I as InputBorder,
83
+ a as InputRing,
84
+ b as InputSize,
85
+ c as InputState,
86
+ ag as JsonEditor,
87
+ ah as JsonEditorMode,
88
+ ai as KeyboardShortcutPicker,
89
+ aj as KnobInput,
90
+ ak as KnobInputTone,
91
+ al as LabeledField,
92
+ am as ListboxPicker,
93
+ an as ListboxPickerEmpty,
94
+ ao as ListboxPickerGroup,
95
+ ap as ListboxPickerIndicator,
96
+ aq as ListboxPickerItem,
97
+ L as ListboxPickerItemState,
98
+ ar as ListboxPickerSeparator,
99
+ as as MarkdownEditor,
100
+ at as MarkdownEditorView,
101
+ au as MaskedInput,
102
+ av as MentionInput,
103
+ aw as MonthPicker,
104
+ ax as MultiSelectPicker,
105
+ ay as MultiSelectPickerContent,
106
+ az as MultiSelectPickerItem,
107
+ aA as MultiSelectPickerTags,
108
+ aB as MultiSelectPickerTrigger,
109
+ aC as NodeEditor,
110
+ aD as NumberInput,
111
+ aE as OptionTileGroupField,
112
+ aF as OptionTilePicker,
113
+ aG as PasswordInput,
114
+ aH as PercentInput,
115
+ aI as PhoneCountries,
116
+ aJ as PhoneInput,
117
+ aK as PickerElement,
118
+ aL as PinInput,
119
+ aM as PinInputType,
120
+ _3 as PointControl,
121
+ aN as RadioField,
122
+ aO as RadioGroup,
123
+ aP as RadioGroupKey,
124
+ aQ as RadioInput,
125
+ aR as RangeCalendarPicker,
126
+ aS as RangeSliderInput,
127
+ aT as RangeSliderInputSize,
128
+ aU as RatingPicker,
129
+ aV as RatingPickerSize,
130
+ aW as RatingStep,
131
+ aX as ReactionPicker,
132
+ aY as RecentCategory,
133
+ aZ as RecurrenceEditor,
134
+ a_ as RecurrenceEndMode,
135
+ a$ as RecurrenceFreq,
136
+ b0 as RecurrenceWeekday,
137
+ b1 as SearchInput,
138
+ b22 as SegmentedPicker,
139
+ b3 as SelectPicker,
140
+ b4 as SelectPickerContent,
141
+ b5 as SelectPickerItem,
142
+ b6 as SelectPickerSize,
143
+ b7 as SelectPickerTrigger,
144
+ b8 as SelectPickerValue,
145
+ b9 as SignatureFormat,
146
+ ba as SignatureInput,
147
+ bb as SliderInput,
148
+ bc as SortableGroup,
149
+ bd as SortableGroupHandle,
150
+ be as SortableGroupItem,
151
+ bf as SortableGroupMoveButton,
152
+ bg as SubmitTrigger,
153
+ bh as SwitchField,
154
+ bi as SwitchInput,
155
+ bj as TagsInput,
156
+ bk as TelInput,
157
+ bl as TextAreaInput,
158
+ d as TextInput,
159
+ bm as TimeInput,
160
+ bn as TimePicker,
161
+ bo as TimezonePicker,
162
+ bp as ToggleGroup,
163
+ bq as ToggleGroupKey,
164
+ br as ToggleGroupVariant,
165
+ bs as ToggleInput,
166
+ bt as ToggleInputElement,
167
+ bu as ToggleInputVariant,
168
+ bv as ToggleItemRole,
169
+ bw as ToggleMode,
170
+ bx as TransferPicker,
171
+ by as TreeSelectPicker,
172
+ e as TypedConfirmField,
173
+ bz as UrlInput,
174
+ bA as WizardForm,
175
+ bB as WizardFormFooter,
176
+ bC as WizardFormStep,
177
+ bD as WizardFormSteps,
178
+ bE as YearPicker,
179
+ bF as controlGroupVariants,
180
+ bG as gradientToCss,
181
+ bH as optionTileGroupVariants,
182
+ bI as optionTileVariants,
183
+ bJ as resolveElementSize,
184
+ bK as selectTriggerVariants,
185
+ bL as toggleButtonVariants,
186
+ bM as useCheckboxGroup,
187
+ bN as useComboboxContext,
188
+ bO as useEditableContext,
189
+ bP as useEmojiPicker,
190
+ bQ as useMultiSelectContext,
191
+ bR as useRadioGroup,
192
+ bS as useSortableItem,
193
+ bT as useSortableRoot,
194
+ bU as useTypedConfirmation,
195
+ bV as useWizard
194
196
  };
195
197
  //# sourceMappingURL=index.js.map
@@ -67,8 +67,8 @@ declare const _default: import('vue').DefineComponent<TagsInputProps, {
67
67
  readonly isDisabled: boolean;
68
68
  readonly isReadOnly: boolean;
69
69
  readonly readonly: boolean;
70
- readonly readOnly: boolean;
71
70
  readonly validate: (tag: string) => boolean;
71
+ readonly readOnly: boolean;
72
72
  readonly canAddDuplicates: boolean;
73
73
  readonly allowsDuplicates: boolean;
74
74
  readonly tagVariant: TagVariant;
@@ -0,0 +1,61 @@
1
+ /** Defines props for the field where a reader types a target's ID to enable a dangerous action. */
2
+ export interface TypedConfirmFieldProps {
3
+ /** The exact text the reader types — the target's ID or name. Case and whitespace count. */
4
+ readonly expected: string;
5
+ /** The typed text, controlled. The `v-model` binding target; send it as the API's `confirm`. */
6
+ readonly modelValue?: string;
7
+ /** The initial typed text when uncontrolled. Default `''`. */
8
+ readonly defaultValue?: string;
9
+ /**
10
+ * The label template; `{expected}` marks where the expected text shows as code. Default
11
+ * `"Type {expected} to confirm"`, localized. The `label` slot is the rich override.
12
+ */
13
+ readonly label?: string;
14
+ /** The helper beneath the input, hidden while an error shows. The `helper` slot is the rich override. */
15
+ readonly helper?: string;
16
+ /**
17
+ * The error once the reader leaves the input holding other text; `{expected}` marks the expected text. Default
18
+ * `"Type {expected} exactly as shown."`, localized.
19
+ */
20
+ readonly mismatchError?: string;
21
+ /** The error that replaces the mismatch error — a refusal the API sent back, say. */
22
+ readonly error?: string;
23
+ /** The announcement once the typed text matches. Default `"The text matches."`, localized. */
24
+ readonly matchedLabel?: string;
25
+ /** The required state. Default `true`. */
26
+ readonly isRequired?: boolean;
27
+ /** The disabled state. */
28
+ readonly isDisabled?: boolean;
29
+ /** Keeps the typed text and focus but blocks changes — set it while the confirmed action runs. */
30
+ readonly isReadOnly?: boolean;
31
+ }
32
+ declare const _default: __VLS_WithSlots<import('vue').DefineComponent<TypedConfirmFieldProps, {
33
+ el: import('vue').ComputedRef<HTMLInputElement | null>;
34
+ isConfirmed: import('vue').ComputedRef<boolean>;
35
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
36
+ "update:modelValue": (value: string) => any;
37
+ }, string, import('vue').PublicProps, Readonly<TypedConfirmFieldProps> & Readonly<{
38
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
39
+ }>, {
40
+ readonly label: string;
41
+ readonly error: string;
42
+ readonly helper: string;
43
+ readonly isDisabled: boolean;
44
+ readonly isRequired: boolean;
45
+ readonly isReadOnly: boolean;
46
+ readonly defaultValue: string;
47
+ readonly modelValue: string;
48
+ readonly mismatchError: string;
49
+ readonly matchedLabel: string;
50
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
51
+ /** The rich override for the `label` prop. */
52
+ label?(): unknown;
53
+ /** The rich override for the `helper` prop. */
54
+ helper?(): unknown;
55
+ }>;
56
+ export default _default;
57
+ type __VLS_WithSlots<T, S> = T & {
58
+ new (): {
59
+ $slots: S;
60
+ };
61
+ };
@@ -0,0 +1,32 @@
1
+ import { ComputedRef, MaybeRefOrGetter, Ref } from 'vue';
2
+ /** Defines the options of a typed confirmation. */
3
+ export interface UseTypedConfirmationOptions {
4
+ /**
5
+ * Whether the action asks for the typed confirmation now — a prod target, say. Default `true`. While `false`,
6
+ * `isConfirmed` is `true` and `confirm` is `undefined`.
7
+ */
8
+ readonly isNeeded?: MaybeRefOrGetter<boolean>;
9
+ }
10
+ /** Defines the live state of a typed confirmation and the operation over it. */
11
+ export interface TypedConfirmationControls {
12
+ /** The typed text — bind it to `TypedConfirmField`'s `v-model`. */
13
+ readonly typed: Ref<string>;
14
+ /** Whether the action asks for the typed confirmation now. */
15
+ readonly isNeeded: ComputedRef<boolean>;
16
+ /** Whether the action may run: no confirmation is needed, or the typed text equals the expected text exactly. */
17
+ readonly isConfirmed: ComputedRef<boolean>;
18
+ /** The value for the API's `confirm` member: the typed text while needed, else `undefined`. */
19
+ readonly confirm: ComputedRef<string | undefined>;
20
+ /** Clears the typed text — call it when the dialog opens again. */
21
+ readonly reset: () => void;
22
+ }
23
+ /**
24
+ * Holds the text a reader types to confirm a dangerous action on `expected`, and clears it whenever `expected`
25
+ * changes, so text typed for one target never confirms another.
26
+ * ```ts
27
+ * const { typed, isConfirmed, confirm } = useTypedConfirmation(() => target.value, { isNeeded: () => isProd.value });
28
+ * // <TypedConfirmField v-if="isProd" v-model="typed" :expected="target" />, then Deploy :is-disabled="!isConfirmed"
29
+ * await start({ target: target.value, ...(confirm.value ? { confirm: confirm.value } : {}) });
30
+ * ```
31
+ */
32
+ export declare function useTypedConfirmation(expected: MaybeRefOrGetter<string>, options?: UseTypedConfirmationOptions): TypedConfirmationControls;
@@ -0,0 +1,2 @@
1
+ export { default as TypedConfirmField, type TypedConfirmFieldProps } from './TypedConfirmField.vue';
2
+ export { useTypedConfirmation, type TypedConfirmationControls, type UseTypedConfirmationOptions, } from './UseTypedConfirmation';
@@ -1,7 +1,8 @@
1
- import { _, A, a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, B, p, C, q, r, s, t, u, v, w, x, F, y, G, z, D, E, H, I, J, N, K, L, M, O, P, Q, R, S, T, U, V, W, X, Y, Z, $, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, aa, ab, ac, ad, ae } from "../../chunks/MasonryLayout.vue_vue_type_script_setup_true_lang-C5GpXgfl.js";
1
+ import { _, A, a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, B, p, C, q, r, s, t, u, v, w, x, F, y, G, z, D, E, H, I, J, K, L, M, N, O, P, S, Q, R, T, U, V, W, X, Y, Z, $, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9 } from "../../chunks/MasonryLayout.vue_vue_type_script_setup_true_lang-BmWwoZrv.js";
2
2
  import { _ as _2, a as a10, S as S2, b as b2, c as c2, d as d2, s as s2 } from "../../chunks/StackLayout.vue_vue_type_script_setup_true_lang-DuAFfjSc.js";
3
3
  import { _ as _3, I as I2 } from "../../chunks/InlineLayout.vue_vue_type_script_setup_true_lang-c_IaJYJj.js";
4
4
  import { _ as _4 } from "../../chunks/PageHeader.vue_vue_type_script_setup_true_lang-DdwVPgFR.js";
5
+ import { N as N2, a as a11, b as b3, c as c3, n as n2 } from "../../chunks/Navbar.variants-7DXJlilx.js";
5
6
  import { u as u2 } from "../../chunks/NavbarContext-Cfd4u3xf.js";
6
7
  export {
7
8
  _ as AnchorLayout,
@@ -44,45 +45,45 @@ export {
44
45
  H as ListDetailLayout,
45
46
  I as MasonryLayout,
46
47
  J as Navbar,
47
- N as NavbarElement,
48
- K as NavbarHeight,
49
- L as NavbarOrientation,
50
- M as NavbarVariant,
48
+ N2 as NavbarElement,
49
+ a11 as NavbarHeight,
50
+ b3 as NavbarOrientation,
51
+ c3 as NavbarVariant,
51
52
  _4 as PageHeader,
52
- O as PageHeaderActions,
53
- P as PullToRefreshLayout,
54
- Q as ResizablePanel,
55
- R as ResizablePanelsLayout,
56
- S as ResizableSeparator,
57
- T as ScrollArea,
58
- U as ScrollAxis,
59
- V as Section,
60
- W as SectionPaddingY,
61
- X as SeparatorLayout,
62
- Y as SpacerLayout,
53
+ K as PageHeaderActions,
54
+ L as PullToRefreshLayout,
55
+ M as ResizablePanel,
56
+ N as ResizablePanelsLayout,
57
+ O as ResizableSeparator,
58
+ P as ScrollArea,
59
+ S as ScrollAxis,
60
+ Q as Section,
61
+ R as SectionPaddingY,
62
+ T as SeparatorLayout,
63
+ U as SpacerLayout,
63
64
  a10 as StackLayout,
64
65
  S2 as StackLayoutAlign,
65
66
  b2 as StackLayoutDirection,
66
67
  c2 as StackLayoutJustify,
67
68
  d2 as StackLayoutWrap,
68
- Z as StickyLayout,
69
- $ as StickyLayoutSide,
70
- a0 as SurfaceLayout,
71
- a1 as SwipeActionsLayout,
72
- a2 as TiltLayout,
73
- a3 as TwoColumnLayout,
74
- a4 as VStackLayout,
75
- a5 as VirtualScrollArea,
76
- a6 as containerVariants,
77
- a7 as dividerVariants,
78
- a8 as gridVariants,
79
- a9 as navbarVariants,
80
- aa as resolveGridColumns,
81
- ab as resolveGridGap,
82
- ac as sectionVariants,
69
+ V as StickyLayout,
70
+ W as StickyLayoutSide,
71
+ X as SurfaceLayout,
72
+ Y as SwipeActionsLayout,
73
+ Z as TiltLayout,
74
+ $ as TwoColumnLayout,
75
+ a0 as VStackLayout,
76
+ a1 as VirtualScrollArea,
77
+ a2 as containerVariants,
78
+ a3 as dividerVariants,
79
+ a4 as gridVariants,
80
+ n2 as navbarVariants,
81
+ a5 as resolveGridColumns,
82
+ a6 as resolveGridGap,
83
+ a7 as sectionVariants,
83
84
  s2 as stackVariants,
84
- ad as useAppShell,
85
+ a8 as useAppShell,
85
86
  u2 as useNavbar,
86
- ae as useResizableContext
87
+ a9 as useResizableContext
87
88
  };
88
89
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
@@ -31,7 +31,7 @@ export declare const NavbarVariant: {
31
31
  readonly Solid: "solid";
32
32
  /**
33
33
  * Refers to a translucent, blurred surface at the theme's glass strength; opaque where blur or transparency is
34
- * unavailable or unwanted. A bar paints the chrome material, a sidebar the side one.
34
+ * unavailable or unwanted. A top or bottom bar paints the chrome material, a sidebar the side one.
35
35
  */
36
36
  readonly Glass: "glass";
37
37
  /** Refers to no surface; the page shows through. */
@@ -46,6 +46,12 @@ export type NavbarVariant = (typeof NavbarVariant)[keyof typeof NavbarVariant];
46
46
  export declare const NavbarSurfaceClass: Record<NavbarVariant, string>;
47
47
  /** The surface classes per `NavbarVariant` for a sidebar: `glass` is the `surface-glass-side` material. */
48
48
  export declare const SidebarSurfaceClass: Record<NavbarVariant, string>;
49
+ /**
50
+ * The surface and top-border colour per `NavbarVariant` for the phone bottom bar (`BottomNavMenu`). `solid` is the
51
+ * page background; `glass` is the `surface-glass` chrome material with the `--glass-edge` hairline on its top border
52
+ * and `--glass-bottom-shadow`, the chrome shadow cast upward over the page (no shadow when the theme sets none).
53
+ */
54
+ export declare const BottomNavSurfaceClass: Record<NavbarVariant, string>;
49
55
  /** Provides the header-band chrome (height, sticky positioning) for `Navbar`. */
50
56
  export declare const navbarVariants: import('tailwind-variants').TVReturnType<{
51
57
  orientation: {
@@ -1,9 +1,17 @@
1
+ import { NavbarVariant } from '../../layout/navbar/Navbar.variants';
1
2
  /** Defines props for the mobile bottom navigation bar. */
2
3
  export interface BottomNavMenuProps {
3
4
  /** Whether the bar pins to the bottom of the viewport. Default `true`; `false` keeps it in flow. */
4
5
  readonly isFixed?: boolean;
6
+ /**
7
+ * The surface: `solid` (the page background, default), `glass` (the theme's chrome glass with its edge on the top
8
+ * border and its shadow cast upward; opaque where blur or transparency is unavailable or reduced) or
9
+ * `transparent`.
10
+ */
11
+ readonly variant?: NavbarVariant;
5
12
  }
6
13
  declare const _default: __VLS_WithSlots<import('vue').DefineComponent<BottomNavMenuProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BottomNavMenuProps> & Readonly<{}>, {
14
+ readonly variant: NavbarVariant;
7
15
  readonly isFixed: boolean;
8
16
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
9
17
  default(): unknown;
@@ -1,4 +1,4 @@
1
- import { _, A, a, b, c, d, e, f, g, h, i, j, k, L, l, m, n, o, p, M, q, r, s, t, u, v, w, x, y, z, B, C, D, E, F, G, H, I, J, K, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, $, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, aa, ab, ac, ad, ae, af, ag, ah, ai, aj } from "../../chunks/AccountMenu.vue_vue_type_script_setup_true_lang-CG03MviN.js";
1
+ import { _, A, a, b, c, d, e, f, g, h, i, j, k, L, l, m, n, o, p, M, q, r, s, t, u, v, w, x, y, z, B, C, D, E, F, G, H, I, J, K, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, $, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, aa, ab, ac, ad, ae, af, ag, ah, ai, aj } from "../../chunks/AccountMenu.vue_vue_type_script_setup_true_lang-LEQUWCXJ.js";
2
2
  import { _ as _2 } from "../../chunks/NavItem.vue_vue_type_script_setup_true_lang-qaoe6djs.js";
3
3
  export {
4
4
  _ as AccountMenu,
@@ -11,3 +11,4 @@ export * from './tourPopover';
11
11
  export * from './tooltip';
12
12
  export * from './commandPaletteModal';
13
13
  export * from './lightboxModal';
14
+ export * from './typedConfirmModal';
@@ -1,5 +1,5 @@
1
1
  import { P, _ } from "../../chunks/TourPopover.vue_vue_type_script_setup_true_lang-BlajHcdp.js";
2
- import { _ as _2, a, b, c, d, e, f, c as c2, d as d2, e as e2, f as f2, g, h, i, j, k, l, m, n, o, p, q, r, h as h2, s, t, u, r as r2, h as h3, s as s2, t as t2, v, w, x, y, z, A, r as r3, h as h4, s as s3, t as t3, u as u2, B, C, D, E, F } from "../../chunks/LightboxModal.vue_vue_type_script_setup_true_lang-CP7Or4sf.js";
2
+ import { _ as _2, a, b, c, d, e, f, c as c2, d as d2, e as e2, f as f2, g, h, i, j, k, l, m, n, o, p, q, r, h as h2, s, t, u, r as r2, h as h3, s as s2, t as t2, v, w, x, y, z, A, r as r3, h as h4, s as s3, t as t3, u as u2, B, C, D, E, F, G } from "../../chunks/TypedConfirmModal.vue_vue_type_script_setup_true_lang-CoIaH_xx.js";
3
3
  import { _ as _3, B as B2 } from "../../chunks/BackdropOverlay.vue_vue_type_script_setup_true_lang-BsjQoWDM.js";
4
4
  import { _ as _4, a as a2, b as b2, c as c3, _ as _5, b as b3, _ as _6, a as a3, b as b4, c as c4, M, d as d3, e as e3, _ as _7 } from "../../chunks/OverlayCloseButton.vue_vue_type_script_setup_true_lang-D0f_usZ9.js";
5
5
  import { _ as _8, a as a4, D as D2 } from "../../chunks/DrawerContent.vue_vue_type_script_setup_true_lang-ClhduLMN.js";
@@ -74,9 +74,10 @@ export {
74
74
  b5 as PopoverTrigger,
75
75
  _10 as Tooltip,
76
76
  _ as TourPopover,
77
- C as commandPaletteContextKey,
78
- D as defaultFilter,
79
- E as useBottomSheet,
80
- F as useCommandPaletteContext
77
+ C as TypedConfirmModal,
78
+ D as commandPaletteContextKey,
79
+ E as defaultFilter,
80
+ F as useBottomSheet,
81
+ G as useCommandPaletteContext
81
82
  };
82
83
  //# sourceMappingURL=index.js.map