@12-apps/ui 6.2.0 → 6.3.1
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/dist/{chunk-35VGGLOC.js → chunk-CEKPLUQV.js} +2 -2
- package/dist/{chunk-35VGGLOC.js.map → chunk-CEKPLUQV.js.map} +1 -1
- package/dist/{chunk-7XLEWBKL.js → chunk-N554AFDB.js} +7 -10
- package/dist/chunk-N554AFDB.js.map +1 -0
- package/dist/{chunk-JDO7W4D4.js → chunk-R5ZQZSEQ.js} +2 -20
- package/dist/{chunk-JDO7W4D4.js.map → chunk-R5ZQZSEQ.js.map} +1 -1
- package/dist/{chunk-R4TYXKDD.js → chunk-TPQRIPCN.js} +52 -48
- package/dist/chunk-TPQRIPCN.js.map +1 -0
- package/dist/{chunk-62XQWGXU.js → chunk-WFPXRSIZ.js} +20 -18
- package/dist/chunk-WFPXRSIZ.js.map +1 -0
- package/dist/copy.js +1 -0
- package/dist/copy.js.map +1 -0
- package/dist/data-display/CardKit.js +15 -4
- package/dist/data-display/CardKit.js.map +1 -1
- package/dist/data-display/DataViews.js +664 -616
- package/dist/data-display/DataViews.js.map +1 -1
- package/dist/data-display/SectionOnboarding.js +3 -3
- package/dist/data-display/SectionOnboarding.js.map +1 -1
- package/dist/feedback/ConfirmAction.js +3 -5
- package/dist/form/CategorySelect.js +1 -1
- package/dist/form/CepField.js +1 -1
- package/dist/form/total-form.js +8 -4
- package/dist/form/total-form.js.map +1 -1
- package/dist/layout/ContentToolbar.js +1 -1
- package/dist/layout/TableFilter.js +1 -1
- package/dist/pt-BR.js +222 -0
- package/dist/pt-BR.js.map +1 -0
- package/dist/types/components/data-display/CardKit/use-remove-confirm.d.ts +4 -1
- package/dist/types/components/data-display/CardKit/use-remove-confirm.d.ts.map +1 -1
- package/dist/types/components/data-display/CardKit/use-row-confirm.d.ts +5 -2
- package/dist/types/components/data-display/CardKit/use-row-confirm.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/DataViewsBoard.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/DeleteViewDialog.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/ManageViewsDialog.d.ts +4 -1
- package/dist/types/components/data-display/DataViews/ManageViewsDialog.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/SaveViewModal.d.ts +0 -5
- package/dist/types/components/data-display/DataViews/SaveViewModal.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/base-card.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/base-list-card-gutters.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/data-views-bar-controls.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/data-views-category-pill.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/data-views-columns-tab.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/data-views-copy-context.d.ts +17 -0
- package/dist/types/components/data-display/DataViews/data-views-copy-context.d.ts.map +1 -0
- package/dist/types/components/data-display/DataViews/data-views-copy.d.ts +205 -0
- package/dist/types/components/data-display/DataViews/data-views-copy.d.ts.map +1 -0
- package/dist/types/components/data-display/DataViews/data-views-display-panel.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/data-views-display-tabs.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/data-views-export.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/data-views-filter-panel.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/data-views-grid-helpers.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/data-views-more-fields.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/data-views-more-filters.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/data-views-range-pill.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/data-views-range-presets.d.ts +3 -2
- package/dist/types/components/data-display/DataViews/data-views-range-presets.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/data-views-scopes.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/data-views-search.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/data-views-select-all-strip.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/data-views-table-parts.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/data-views-view-nav.d.ts +1 -1
- package/dist/types/components/data-display/DataViews/data-views-view-nav.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/index.d.ts +2 -0
- package/dist/types/components/data-display/DataViews/index.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/save-view-preview.d.ts +10 -0
- package/dist/types/components/data-display/DataViews/save-view-preview.d.ts.map +1 -0
- package/dist/types/components/data-display/DataViews/use-saved-views-controller.d.ts.map +1 -1
- package/dist/types/components/data-display/SectionOnboarding/SectionOnboarding.types.d.ts +6 -5
- package/dist/types/components/data-display/SectionOnboarding/SectionOnboarding.types.d.ts.map +1 -1
- package/dist/types/components/feedback/ConfirmAction/ConfirmAction.hooks.d.ts +1 -3
- package/dist/types/components/feedback/ConfirmAction/ConfirmAction.hooks.d.ts.map +1 -1
- package/dist/types/components/feedback/ConfirmAction/ConfirmAction.parts.d.ts +4 -1
- package/dist/types/components/feedback/ConfirmAction/ConfirmAction.parts.d.ts.map +1 -1
- package/dist/types/components/feedback/ConfirmAction/ConfirmAction.types.d.ts +9 -1
- package/dist/types/components/feedback/ConfirmAction/ConfirmAction.types.d.ts.map +1 -1
- package/dist/types/components/feedback/ConfirmAction/ConfirmButton.d.ts +2 -1
- package/dist/types/components/feedback/ConfirmAction/ConfirmButton.d.ts.map +1 -1
- package/dist/types/components/feedback/ConfirmAction/index.d.ts +2 -2
- package/dist/types/components/feedback/ConfirmAction/index.d.ts.map +1 -1
- package/dist/types/components/feedback/ConfirmAction/with-confirmation.d.ts +5 -1
- package/dist/types/components/feedback/ConfirmAction/with-confirmation.d.ts.map +1 -1
- package/dist/types/components/form/CategorySelect/CategoryPanel.d.ts +4 -1
- package/dist/types/components/form/CategorySelect/CategoryPanel.d.ts.map +1 -1
- package/dist/types/components/form/CategorySelect/CategoryPanelFoot.d.ts +5 -2
- package/dist/types/components/form/CategorySelect/CategoryPanelFoot.d.ts.map +1 -1
- package/dist/types/components/form/CategorySelect/CategoryPanelHead.d.ts +5 -2
- package/dist/types/components/form/CategorySelect/CategoryPanelHead.d.ts.map +1 -1
- package/dist/types/components/form/CategorySelect/CategoryPanelList.d.ts +3 -0
- package/dist/types/components/form/CategorySelect/CategoryPanelList.d.ts.map +1 -1
- package/dist/types/components/form/CategorySelect/CategorySelect.types.d.ts +5 -0
- package/dist/types/components/form/CategorySelect/CategorySelect.types.d.ts.map +1 -1
- package/dist/types/components/form/CategorySelect/CategoryTrigger.d.ts +4 -1
- package/dist/types/components/form/CategorySelect/CategoryTrigger.d.ts.map +1 -1
- package/dist/types/components/form/CepField/CepField.d.ts +1 -1
- package/dist/types/components/form/CepField/CepField.d.ts.map +1 -1
- package/dist/types/components/form/CepField/CepField.types.d.ts +3 -0
- package/dist/types/components/form/CepField/CepField.types.d.ts.map +1 -1
- package/dist/types/components/form/total-form/Fields/CategoryField.d.ts +4 -1
- package/dist/types/components/form/total-form/Fields/CategoryField.d.ts.map +1 -1
- package/dist/types/components/form/total-form/Fields/CepField.d.ts +4 -1
- package/dist/types/components/form/total-form/Fields/CepField.d.ts.map +1 -1
- package/dist/types/components/layout/ContentToolbar/ContentToolbar.types.d.ts +6 -1
- package/dist/types/components/layout/ContentToolbar/ContentToolbar.types.d.ts.map +1 -1
- package/dist/types/components/layout/ContentToolbar/SavedViewsMenu.d.ts.map +1 -1
- package/dist/types/copy.d.ts +99 -0
- package/dist/types/copy.d.ts.map +1 -0
- package/dist/types/pt-BR.d.ts +28 -0
- package/dist/types/pt-BR.d.ts.map +1 -0
- package/package.json +10 -2
- package/src/components/data-display/CardKit/use-remove-confirm.tsx +5 -0
- package/src/components/data-display/CardKit/use-row-confirm.tsx +7 -2
- package/src/components/data-display/DataViews/DataViewsBoard.tsx +7 -4
- package/src/components/data-display/DataViews/DeleteViewDialog.tsx +6 -4
- package/src/components/data-display/DataViews/ManageViewsDialog.tsx +26 -10
- package/src/components/data-display/DataViews/SaveViewModal.tsx +56 -90
- package/src/components/data-display/DataViews/base-card.tsx +3 -1
- package/src/components/data-display/DataViews/base-list-card-gutters.tsx +3 -1
- package/src/components/data-display/DataViews/data-views-bar-controls.tsx +8 -5
- package/src/components/data-display/DataViews/data-views-category-pill.tsx +6 -3
- package/src/components/data-display/DataViews/data-views-columns-tab.tsx +5 -3
- package/src/components/data-display/DataViews/data-views-copy-context.tsx +43 -0
- package/src/components/data-display/DataViews/data-views-copy.ts +214 -0
- package/src/components/data-display/DataViews/data-views-display-panel.tsx +15 -9
- package/src/components/data-display/DataViews/data-views-display-tabs.tsx +19 -29
- package/src/components/data-display/DataViews/data-views-export.tsx +9 -10
- package/src/components/data-display/DataViews/data-views-filter-panel.tsx +9 -5
- package/src/components/data-display/DataViews/data-views-grid-helpers.tsx +5 -2
- package/src/components/data-display/DataViews/data-views-more-fields.tsx +5 -3
- package/src/components/data-display/DataViews/data-views-more-filters.tsx +6 -3
- package/src/components/data-display/DataViews/data-views-range-pill.tsx +9 -5
- package/src/components/data-display/DataViews/data-views-range-presets.ts +7 -8
- package/src/components/data-display/DataViews/data-views-scopes.tsx +3 -1
- package/src/components/data-display/DataViews/data-views-search.tsx +7 -4
- package/src/components/data-display/DataViews/data-views-select-all-strip.tsx +5 -3
- package/src/components/data-display/DataViews/data-views-table-parts.tsx +7 -2
- package/src/components/data-display/DataViews/data-views-view-nav.tsx +22 -16
- package/src/components/data-display/DataViews/index.ts +20 -0
- package/src/components/data-display/DataViews/save-view-preview.tsx +78 -0
- package/src/components/data-display/DataViews/use-saved-views-controller.ts +3 -1
- package/src/components/data-display/SectionOnboarding/SectionOnboarding.tsx +3 -3
- package/src/components/data-display/SectionOnboarding/SectionOnboarding.types.ts +8 -7
- package/src/components/feedback/ConfirmAction/ConfirmAction.hooks.ts +2 -2
- package/src/components/feedback/ConfirmAction/ConfirmAction.parts.tsx +20 -6
- package/src/components/feedback/ConfirmAction/ConfirmAction.types.ts +9 -1
- package/src/components/feedback/ConfirmAction/ConfirmButton.tsx +12 -4
- package/src/components/feedback/ConfirmAction/index.ts +2 -2
- package/src/components/feedback/ConfirmAction/with-confirmation.tsx +4 -3
- package/src/components/form/CategorySelect/CategoryPanel.tsx +18 -6
- package/src/components/form/CategorySelect/CategoryPanelFoot.tsx +10 -5
- package/src/components/form/CategorySelect/CategoryPanelHead.tsx +8 -3
- package/src/components/form/CategorySelect/CategoryPanelList.tsx +17 -10
- package/src/components/form/CategorySelect/CategorySelect.tsx +3 -3
- package/src/components/form/CategorySelect/CategorySelect.types.ts +5 -0
- package/src/components/form/CategorySelect/CategoryTrigger.tsx +5 -1
- package/src/components/form/CepField/CepField.tsx +6 -9
- package/src/components/form/CepField/CepField.types.ts +3 -0
- package/src/components/form/total-form/Fields/CategoryField.tsx +5 -0
- package/src/components/form/total-form/Fields/CepField.tsx +5 -0
- package/src/components/layout/ContentToolbar/ContentToolbar.types.ts +6 -1
- package/src/components/layout/ContentToolbar/SavedViewsMenu.tsx +1 -21
- package/src/components/layout/TableFilter/TableFilter.tsx +1 -1
- package/src/copy.ts +103 -0
- package/src/pt-BR.ts +247 -0
- package/dist/chunk-62XQWGXU.js.map +0 -1
- package/dist/chunk-7XLEWBKL.js.map +0 -1
- package/dist/chunk-R4TYXKDD.js.map +0 -1
|
@@ -51,7 +51,12 @@ export interface SectionOnboardingProps {
|
|
|
51
51
|
* and `children` exist. Clicking it advances the hero to the in-progress view
|
|
52
52
|
* (steps + form) without the parent managing state. @default 'Começar'
|
|
53
53
|
*/
|
|
54
|
-
|
|
54
|
+
/** The button that begins the section. REQUIRED since FUT-760. */
|
|
55
|
+
startLabel: string;
|
|
56
|
+
/** Label of the reveal toggle in the configured state. */
|
|
57
|
+
editLabel: string;
|
|
58
|
+
/** Label of that toggle while the form is revealed. */
|
|
59
|
+
collapseLabel: string;
|
|
55
60
|
/** Optional secondary CTA of the hero — e.g. "Ver como funciona". */
|
|
56
61
|
secondaryAction?: SectionOnboardingAction;
|
|
57
62
|
/** Optional help link under the hero actions. */
|
|
@@ -63,10 +68,6 @@ export interface SectionOnboardingProps {
|
|
|
63
68
|
* status chip, the account name, the environment. Kept short.
|
|
64
69
|
*/
|
|
65
70
|
configuredSummary?: ReactNode;
|
|
66
|
-
/** Label of the reveal toggle in the configured state. @default 'Editar' */
|
|
67
|
-
editLabel?: string;
|
|
68
|
-
/** Label of the reveal toggle while expanded. @default 'Ocultar' */
|
|
69
|
-
collapseLabel?: string;
|
|
70
71
|
/** Start the configured state with the form already revealed. @default false */
|
|
71
72
|
defaultExpanded?: boolean;
|
|
72
73
|
/**
|
package/dist/types/components/data-display/SectionOnboarding/SectionOnboarding.types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SectionOnboarding.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-display/SectionOnboarding/SectionOnboarding.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,0BAA0B,CAAC;AAErD;;;;;GAKG;AACH,MAAM,MAAM,uBAAuB,GAAG,cAAc,GAAG,aAAa,GAAG,YAAY,CAAC;AAEpF,MAAM,WAAW,uBAAuB;IACtC,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,MAAM,WAAW,yBAAyB;IACxC,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,sBAAsB;IACrC;;;;OAIG;IACH,MAAM,EAAE,uBAAuB,CAAC;IAEhC,qEAAqE;IACrE,KAAK,EAAE,MAAM,CAAC;IAEd,oEAAoE;IACpE,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,wEAAwE;IACxE,YAAY,CAAC,EAAE,SAAS,CAAC;IAEzB;;;OAGG;IACH,KAAK,CAAC,EAAE,IAAI,EAAE,CAAC;IAEf,gFAAgF;IAChF,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB,8DAA8D;IAC9D,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;IAE5B;;;;;;OAMG;IACH,aAAa,CAAC,EAAE,uBAAuB,CAAC;IAExC;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"SectionOnboarding.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-display/SectionOnboarding/SectionOnboarding.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,0BAA0B,CAAC;AAErD;;;;;GAKG;AACH,MAAM,MAAM,uBAAuB,GAAG,cAAc,GAAG,aAAa,GAAG,YAAY,CAAC;AAEpF,MAAM,WAAW,uBAAuB;IACtC,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,MAAM,WAAW,yBAAyB;IACxC,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,sBAAsB;IACrC;;;;OAIG;IACH,MAAM,EAAE,uBAAuB,CAAC;IAEhC,qEAAqE;IACrE,KAAK,EAAE,MAAM,CAAC;IAEd,oEAAoE;IACpE,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,wEAAwE;IACxE,YAAY,CAAC,EAAE,SAAS,CAAC;IAEzB;;;OAGG;IACH,KAAK,CAAC,EAAE,IAAI,EAAE,CAAC;IAEf,gFAAgF;IAChF,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB,8DAA8D;IAC9D,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;IAE5B;;;;;;OAMG;IACH,aAAa,CAAC,EAAE,uBAAuB,CAAC;IAExC;;;;OAIG;IACH,kEAAkE;IAClE,UAAU,EAAE,MAAM,CAAC;IAEnB,0DAA0D;IAC1D,SAAS,EAAE,MAAM,CAAC;IAElB,uDAAuD;IACvD,aAAa,EAAE,MAAM,CAAC;IAEtB,qEAAqE;IACrE,eAAe,CAAC,EAAE,uBAAuB,CAAC;IAE1C,iDAAiD;IACjD,QAAQ,CAAC,EAAE,yBAAyB,CAAC;IAErC,wEAAwE;IACxE,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB;;;OAGG;IACH,iBAAiB,CAAC,EAAE,SAAS,CAAC;IAE9B,gFAAgF;IAChF,eAAe,CAAC,EAAE,OAAO,CAAC;IAE1B;;;OAGG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IAErB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB"}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import type { ConfirmHandler, UseConfirmActionResult } from './ConfirmAction.types';
|
|
2
|
-
/** Used when the guarded action rejects and the caller supplied no wording. */
|
|
3
|
-
export declare const DEFAULT_ERROR_TEXT = "N\u00E3o foi poss\u00EDvel concluir a a\u00E7\u00E3o. Tente novamente.";
|
|
4
2
|
/**
|
|
5
3
|
* The confirmation state machine, headless.
|
|
6
4
|
*
|
|
@@ -10,5 +8,5 @@ export declare const DEFAULT_ERROR_TEXT = "N\u00E3o foi poss\u00EDvel concluir a
|
|
|
10
8
|
* cannot send two deletes); a rejection keeps the popup open carrying the
|
|
11
9
|
* failure instead of closing over a write that never happened.
|
|
12
10
|
*/
|
|
13
|
-
export declare function useConfirmAction(onConfirm: ConfirmHandler, errorText
|
|
11
|
+
export declare function useConfirmAction(onConfirm: ConfirmHandler, errorText: string): UseConfirmActionResult;
|
|
14
12
|
//# sourceMappingURL=ConfirmAction.hooks.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConfirmAction.hooks.d.ts","sourceRoot":"","sources":["../../../../../src/components/feedback/ConfirmAction/ConfirmAction.hooks.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"ConfirmAction.hooks.d.ts","sourceRoot":"","sources":["../../../../../src/components/feedback/ConfirmAction/ConfirmAction.hooks.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAkBpF;;;;;;;;GAQG;AACH,wBAAgB,gBAAgB,CAC9B,SAAS,EAAE,cAAc,EACzB,SAAS,EAAE,MAAM,GAChB,sBAAsB,CA+DxB"}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
+
import type { ConfirmActionCopy } from "../../../copy";
|
|
1
2
|
import React from 'react';
|
|
2
3
|
import type { ConfirmOptions, UseConfirmActionResult } from './ConfirmAction.types';
|
|
3
4
|
export interface ConfirmActionDialogProps extends ConfirmOptions {
|
|
5
|
+
/** The fallback body when no entity is named. REQUIRED — no default copy. */
|
|
6
|
+
copy: ConfirmActionCopy;
|
|
4
7
|
state: UseConfirmActionResult;
|
|
5
8
|
}
|
|
6
9
|
/**
|
|
@@ -9,5 +12,5 @@ export interface ConfirmActionDialogProps extends ConfirmOptions {
|
|
|
9
12
|
* produced (shown IN the dialog, which stays open, rather than closing over a
|
|
10
13
|
* write that never landed) and the optional type-to-confirm gate.
|
|
11
14
|
*/
|
|
12
|
-
export declare function ConfirmActionDialog({ state, title, description, entityName, confirmText, cancelText, typeToConfirm, typeToConfirmLabel, tone, initialFocus, dataTestId, }: ConfirmActionDialogProps): React.ReactElement;
|
|
15
|
+
export declare function ConfirmActionDialog({ state, title, description, entityName, confirmText, cancelText, typeToConfirm, typeToConfirmLabel, tone, initialFocus, dataTestId, copy, }: ConfirmActionDialogProps): React.ReactElement;
|
|
13
16
|
//# sourceMappingURL=ConfirmAction.parts.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConfirmAction.parts.d.ts","sourceRoot":"","sources":["../../../../../src/components/feedback/ConfirmAction/ConfirmAction.parts.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ConfirmAction.parts.d.ts","sourceRoot":"","sources":["../../../../../src/components/feedback/ConfirmAction/ConfirmAction.parts.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAEvD,OAAO,KAAyB,MAAM,OAAO,CAAC;AAI9C,OAAO,KAAK,EAEV,cAAc,EAEd,sBAAsB,EACvB,MAAM,uBAAuB,CAAC;AAgF/B,MAAM,WAAW,wBAAyB,SAAQ,cAAc;IAC9D,6EAA6E;IAC7E,IAAI,EAAE,iBAAiB,CAAC;IACxB,KAAK,EAAE,sBAAsB,CAAC;CAC/B;AAED;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAAC,EAClC,KAAK,EACL,KAAK,EACL,WAAW,EACX,UAAU,EACV,WAAW,EACX,UAAU,EACV,aAAa,EACb,kBAAkB,EAClB,IAAoB,EACpB,YAAY,EACZ,UAA4B,EAC5B,IAAI,GACL,EAAE,wBAAwB,GAAG,KAAK,CAAC,YAAY,CAmD/C"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { ConfirmActionCopy } from "../../../copy";
|
|
1
2
|
import type { ComponentType, ReactNode } from 'react';
|
|
2
3
|
/**
|
|
3
4
|
* How much the confirmation should shout. `destructive` paints the dialog and
|
|
@@ -40,7 +41,6 @@ export interface ConfirmOptions {
|
|
|
40
41
|
/** Defaults to `cancel` for the destructive tone, `confirm` otherwise. */
|
|
41
42
|
initialFocus?: ConfirmInitialFocus;
|
|
42
43
|
/** Shown inside the dialog when the action rejects; the dialog stays open. */
|
|
43
|
-
errorText?: string;
|
|
44
44
|
/** Root test id; the dialog's parts derive theirs from it. */
|
|
45
45
|
dataTestId?: string;
|
|
46
46
|
}
|
|
@@ -76,6 +76,14 @@ export interface UseConfirmActionResult {
|
|
|
76
76
|
* the trigger — a button, a menu item, an icon.
|
|
77
77
|
*/
|
|
78
78
|
export interface ConfirmActionProps extends ConfirmOptions {
|
|
79
|
+
/**
|
|
80
|
+
* What the operator is told when the action fails and the cause carries no
|
|
81
|
+
* message. REQUIRED since FUT-760 — it used to default to this package's own
|
|
82
|
+
* pt-BR, so a host that passed nothing shipped one product's Portuguese.
|
|
83
|
+
*/
|
|
84
|
+
errorText: string;
|
|
85
|
+
/** The fallback body when no entity is named. REQUIRED — see `errorText`. */
|
|
86
|
+
copy: ConfirmActionCopy;
|
|
79
87
|
onConfirm: ConfirmHandler;
|
|
80
88
|
children: (request: () => void, state: {
|
|
81
89
|
pending: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConfirmAction.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/feedback/ConfirmAction/ConfirmAction.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEtD;;;;GAIG;AACH,MAAM,MAAM,WAAW,GAAG,aAAa,GAAG,SAAS,CAAC;AAEpD,qDAAqD;AACrD,MAAM,MAAM,mBAAmB,GAAG,SAAS,GAAG,QAAQ,CAAC;AAEvD;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC7B,iDAAiD;IACjD,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,mFAAmF;IACnF,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,wEAAwE;IACxE,WAAW,EAAE,MAAM,CAAC;IACpB,yDAAyD;IACzD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,qFAAqF;IACrF,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,iFAAiF;IACjF,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,0EAA0E;IAC1E,YAAY,CAAC,EAAE,mBAAmB,CAAC;IACnC,8EAA8E;IAC9E,
|
|
1
|
+
{"version":3,"file":"ConfirmAction.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/feedback/ConfirmAction/ConfirmAction.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEtD;;;;GAIG;AACH,MAAM,MAAM,WAAW,GAAG,aAAa,GAAG,SAAS,CAAC;AAEpD,qDAAqD;AACrD,MAAM,MAAM,mBAAmB,GAAG,SAAS,GAAG,QAAQ,CAAC;AAEvD;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC7B,iDAAiD;IACjD,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,mFAAmF;IACnF,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,wEAAwE;IACxE,WAAW,EAAE,MAAM,CAAC;IACpB,yDAAyD;IACzD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,qFAAqF;IACrF,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,iFAAiF;IACjF,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,0EAA0E;IAC1E,YAAY,CAAC,EAAE,mBAAmB,CAAC;IACnC,8EAA8E;IAC9E,8DAA8D;IAC9D,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;;;;;;;;GASG;AACH,MAAM,MAAM,cAAc,GAAG,MAAM,IAAI,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;AAE3D,qEAAqE;AACrE,MAAM,WAAW,sBAAsB;IACrC,oCAAoC;IACpC,IAAI,EAAE,OAAO,CAAC;IACd,oDAAoD;IACpD,OAAO,EAAE,OAAO,CAAC;IACjB,0DAA0D;IAC1D,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,8DAA8D;IAC9D,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,6DAA6D;IAC7D,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,mDAAmD;IACnD,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED;;;;GAIG;AACH,MAAM,WAAW,kBAAmB,SAAQ,cAAc;IACxD;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB,6EAA6E;IAC7E,IAAI,EAAE,iBAAiB,CAAC;IACxB,SAAS,EAAE,cAAc,CAAC;IAC1B,QAAQ,EAAE,CAAC,OAAO,EAAE,MAAM,IAAI,EAAE,KAAK,EAAE;QAAE,OAAO,EAAE,OAAO,CAAA;KAAE,KAAK,SAAS,CAAC;CAC3E;AAED;;;;;;GAMG;AACH,MAAM,WAAW,gBAAgB;IAC/B,OAAO,CAAC,EAAE,CAAC,GAAG,IAAI,EAAE,KAAK,EAAE,KAAK,OAAO,CAAC;CACzC;AAED;;;;;GAKG;AACH,MAAM,WAAW,qBAAqB;IACpC,OAAO,CAAC,EAAE,OAAO,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC;CAC3C;AAED,gDAAgD;AAChD,MAAM,MAAM,oBAAoB,CAAC,CAAC,IAAI,aAAa,CAAC,CAAC,GAAG,qBAAqB,CAAC,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { ConfirmActionCopy } from '../../../copy';
|
|
1
2
|
import type { ButtonProps } from '../../form/Button/Button.types';
|
|
2
3
|
import type { ConfirmableComponent } from './ConfirmAction.types';
|
|
3
4
|
/**
|
|
@@ -8,5 +9,5 @@ import type { ConfirmableComponent } from './ConfirmAction.types';
|
|
|
8
9
|
* The baked-in defaults are only the wording and tone every destructive
|
|
9
10
|
* confirmation shares, and each instance can still override them.
|
|
10
11
|
*/
|
|
11
|
-
export declare
|
|
12
|
+
export declare function createConfirmButton(copy: ConfirmActionCopy, errorText: string): ConfirmableComponent<ButtonProps>;
|
|
12
13
|
//# sourceMappingURL=ConfirmButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConfirmButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/feedback/ConfirmAction/ConfirmButton.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ConfirmButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/feedback/ConfirmAction/ConfirmButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAEvD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAGlE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAElE;;;;;;;GAOG;AACH,wBAAgB,mBAAmB,CACjC,IAAI,EAAE,iBAAiB,EACvB,SAAS,EAAE,MAAM,GAChB,oBAAoB,CAAC,WAAW,CAAC,CAOnC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { ConfirmAction } from './ConfirmAction';
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
2
|
+
export { createConfirmButton } from './ConfirmButton';
|
|
3
|
+
export { useConfirmAction } from './ConfirmAction.hooks';
|
|
4
4
|
export { ConfirmActionDialog } from './ConfirmAction.parts';
|
|
5
5
|
export { withConfirmation } from './with-confirmation';
|
|
6
6
|
export type { ConfirmActionProps, ConfirmHandler, ConfirmInitialFocus, ConfirmOptions, ConfirmTone, ConfirmableComponent, ConfirmableProps, UseConfirmActionResult, WithConfirmationProps, } from './ConfirmAction.types';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/feedback/ConfirmAction/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/feedback/ConfirmAction/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,YAAY,EACV,kBAAkB,EAClB,cAAc,EACd,mBAAmB,EACnB,cAAc,EACd,WAAW,EACX,oBAAoB,EACpB,gBAAgB,EAChB,sBAAsB,EACtB,qBAAqB,GACtB,MAAM,uBAAuB,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { ConfirmActionCopy } from '../../../copy';
|
|
1
2
|
import type { ComponentType } from 'react';
|
|
2
3
|
import type { ConfirmOptions, ConfirmableComponent, ConfirmableProps } from './ConfirmAction.types';
|
|
3
4
|
/**
|
|
@@ -36,5 +37,8 @@ import type { ConfirmOptions, ConfirmableComponent, ConfirmableProps } from './C
|
|
|
36
37
|
* is no single node to hand back. Wrap a component that needs a ref at its own
|
|
37
38
|
* call site with {@link ConfirmAction} instead.
|
|
38
39
|
*/
|
|
39
|
-
export declare function withConfirmation<P extends ConfirmableProps>(Wrapped: ComponentType<P>, defaults
|
|
40
|
+
export declare function withConfirmation<P extends ConfirmableProps>(Wrapped: ComponentType<P>, defaults: Partial<ConfirmOptions> & {
|
|
41
|
+
errorText: string;
|
|
42
|
+
copy: ConfirmActionCopy;
|
|
43
|
+
}): ConfirmableComponent<P>;
|
|
40
44
|
//# sourceMappingURL=with-confirmation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"with-confirmation.d.ts","sourceRoot":"","sources":["../../../../../src/components/feedback/ConfirmAction/with-confirmation.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"with-confirmation.d.ts","sourceRoot":"","sources":["../../../../../src/components/feedback/ConfirmAction/with-confirmation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAEvD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAI3C,OAAO,KAAK,EAEV,cAAc,EACd,oBAAoB,EACpB,gBAAgB,EAEjB,MAAM,uBAAuB,CAAC;AAkC/B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,wBAAgB,gBAAgB,CAAC,CAAC,SAAS,gBAAgB,EACzD,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,EACzB,QAAQ,EAAE,OAAO,CAAC,cAAc,CAAC,GAAG;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,iBAAiB,CAAA;CAAE,GACjF,oBAAoB,CAAC,CAAC,CAAC,CA2BzB"}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
+
import type { CategorySelectCopy } from "../../../copy";
|
|
1
2
|
import type { CategoryGroup, CategorySelectionChip } from './CategorySelect.types';
|
|
2
3
|
import type { CategorySelectState } from './useCategorySelect';
|
|
3
4
|
export interface CategoryPanelProps {
|
|
5
|
+
/** The words this panel renders. REQUIRED — no default copy. */
|
|
6
|
+
copy: CategorySelectCopy;
|
|
4
7
|
state: CategorySelectState;
|
|
5
8
|
chips: CategorySelectionChip[];
|
|
6
9
|
rowIds: string[];
|
|
@@ -23,5 +26,5 @@ export interface CategoryPanelProps {
|
|
|
23
26
|
dataTestId: string;
|
|
24
27
|
}
|
|
25
28
|
/** Search + pinned selection + tree + footer, in the panel's own chrome. */
|
|
26
|
-
export declare function CategoryPanel({ state, chips, rowIds, changed, single, sheet, loading, showCounts, allowParentSelection, ariaLabel, onKeyDown, onActivateCategory, onActivateSubcategory, onApply, onCancel, onCreateCategory, searchInputRef, listRef, dataTestId, }: CategoryPanelProps): React.JSX.Element;
|
|
29
|
+
export declare function CategoryPanel({ state, chips, rowIds, changed, single, sheet, loading, showCounts, allowParentSelection, ariaLabel, onKeyDown, onActivateCategory, onActivateSubcategory, onApply, onCancel, onCreateCategory, searchInputRef, listRef, dataTestId, copy, }: CategoryPanelProps): React.JSX.Element;
|
|
27
30
|
//# sourceMappingURL=CategoryPanel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CategoryPanel.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/CategorySelect/CategoryPanel.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CategoryPanel.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/CategorySelect/CategoryPanel.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AASxD,OAAO,KAAK,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AACnF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAE/D,MAAM,WAAW,kBAAkB;IACjC,gEAAgE;IAChE,IAAI,EAAE,kBAAkB,CAAC;IACzB,KAAK,EAAE,mBAAmB,CAAC;IAC3B,KAAK,EAAE,qBAAqB,EAAE,CAAC;IAC/B,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,8DAA8D;IAC9D,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,OAAO,CAAC;IAChB,KAAK,EAAE,OAAO,CAAC;IACf,OAAO,EAAE,OAAO,CAAC;IACjB,UAAU,EAAE,OAAO,CAAC;IACpB,oBAAoB,EAAE,OAAO,CAAC;IAC9B,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,aAAa,KAAK,IAAI,CAAC;IAChD,kBAAkB,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAC;IACnD,qBAAqB,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5C,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC9B,cAAc,EAAE,KAAK,CAAC,SAAS,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAAC;IACzD,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;IAChD,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,4EAA4E;AAC5E,wBAAgB,aAAa,CAAC,EAC5B,KAAK,EACL,KAAK,EACL,MAAM,EACN,OAAO,EACP,MAAM,EACN,KAAK,EACL,OAAO,EACP,UAAU,EACV,oBAAoB,EACpB,SAAS,EACT,SAAS,EACT,kBAAkB,EAClB,qBAAqB,EACrB,OAAO,EACP,QAAQ,EACR,gBAAgB,EAChB,cAAc,EACd,OAAO,EACP,UAAU,EACV,IAAI,GACL,EAAE,kBAAkB,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAwDxC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { CategorySelectCopy } from '../../../copy';
|
|
1
2
|
interface MultiFootProps {
|
|
2
3
|
count: number;
|
|
3
4
|
/** False once the draft matches what is already applied — Apply becomes Close. */
|
|
@@ -6,18 +7,20 @@ interface MultiFootProps {
|
|
|
6
7
|
onClear: () => void;
|
|
7
8
|
onApply: () => void;
|
|
8
9
|
dataTestId: string;
|
|
10
|
+
copy: CategorySelectCopy;
|
|
9
11
|
}
|
|
10
12
|
/**
|
|
11
13
|
* Multi-select footer: the running count, Clear, and the Apply that publishes
|
|
12
14
|
* the draft. The primary button reads "Fechar" when nothing changed, so it never
|
|
13
15
|
* promises an update it would not make.
|
|
14
16
|
*/
|
|
15
|
-
export declare function CategoryMultiFoot({ count, changed, sheet, onClear, onApply, dataTestId, }: MultiFootProps): React.JSX.Element;
|
|
17
|
+
export declare function CategoryMultiFoot({ count, changed, sheet, onClear, onApply, dataTestId, copy, }: MultiFootProps): React.JSX.Element;
|
|
16
18
|
/** Single-select footer: a hint and a way out. Picking a row commits directly. */
|
|
17
|
-
export declare function CategorySingleFoot({ sheet, onCancel, dataTestId, }: {
|
|
19
|
+
export declare function CategorySingleFoot({ sheet, onCancel, dataTestId, copy, }: {
|
|
18
20
|
sheet: boolean;
|
|
19
21
|
onCancel: () => void;
|
|
20
22
|
dataTestId: string;
|
|
23
|
+
copy: CategorySelectCopy;
|
|
21
24
|
}): React.JSX.Element;
|
|
22
25
|
export {};
|
|
23
26
|
//# sourceMappingURL=CategoryPanelFoot.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CategoryPanelFoot.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/CategorySelect/CategoryPanelFoot.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CategoryPanelFoot.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/CategorySelect/CategoryPanelFoot.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAcxD,UAAU,cAAc;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,kFAAkF;IAClF,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,OAAO,CAAC;IACf,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,kBAAkB,CAAC;CAC1B;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,KAAK,EACL,OAAO,EACP,KAAK,EACL,OAAO,EACP,OAAO,EACP,UAAU,EACV,IAAI,GACL,EAAE,cAAc,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CA2BpC;AAED,kFAAkF;AAClF,wBAAgB,kBAAkB,CAAC,EACjC,KAAK,EACL,QAAQ,EACR,UAAU,EACV,IAAI,GACL,EAAE;IACD,KAAK,EAAE,OAAO,CAAC;IACf,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,kBAAkB,CAAC;CAC1B,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAgBpB"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { CategorySelectCopy } from '../../../copy';
|
|
1
2
|
import type { CategorySelectionChip } from './CategorySelect.types';
|
|
2
3
|
interface PanelHeadProps {
|
|
3
4
|
query: string;
|
|
@@ -8,13 +9,15 @@ interface PanelHeadProps {
|
|
|
8
9
|
onQueryChange: (next: string) => void;
|
|
9
10
|
searchInputRef: React.RefObject<HTMLInputElement | null>;
|
|
10
11
|
dataTestId: string;
|
|
12
|
+
copy: CategorySelectCopy;
|
|
11
13
|
}
|
|
12
14
|
/** Search field, its clear affordance, and the optional quick-action row. */
|
|
13
|
-
export declare function CategoryPanelHead({ query, placeholder, sheet, quickActions, onQueryChange, searchInputRef, dataTestId, }: PanelHeadProps): React.JSX.Element;
|
|
15
|
+
export declare function CategoryPanelHead({ query, placeholder, sheet, quickActions, onQueryChange, searchInputRef, dataTestId, copy, }: PanelHeadProps): React.JSX.Element;
|
|
14
16
|
interface PinnedTrayProps {
|
|
15
17
|
chips: CategorySelectionChip[];
|
|
16
18
|
onRemove: (chipId: string) => void;
|
|
17
19
|
dataTestId: string;
|
|
20
|
+
copy: CategorySelectCopy;
|
|
18
21
|
}
|
|
19
22
|
/**
|
|
20
23
|
* The selected categories, pinned above the list.
|
|
@@ -23,6 +26,6 @@ interface PinnedTrayProps {
|
|
|
23
26
|
* ten-category tree scrolls out of sight the moment you look for the next one —
|
|
24
27
|
* and a search hides it entirely. Here it survives both.
|
|
25
28
|
*/
|
|
26
|
-
export declare function CategoryPinnedTray({ chips, onRemove, dataTestId, }: PinnedTrayProps): React.JSX.Element | null;
|
|
29
|
+
export declare function CategoryPinnedTray({ chips, onRemove, dataTestId, copy, }: PinnedTrayProps): React.JSX.Element | null;
|
|
27
30
|
export {};
|
|
28
31
|
//# sourceMappingURL=CategoryPanelHead.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CategoryPanelHead.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/CategorySelect/CategoryPanelHead.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CategoryPanelHead.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/CategorySelect/CategoryPanelHead.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAWxD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AAEpE,UAAU,cAAc;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,OAAO,CAAC;IACf,uFAAuF;IACvF,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC/B,aAAa,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,cAAc,EAAE,KAAK,CAAC,SAAS,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAAC;IACzD,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,kBAAkB,CAAC;CAC1B;AA0CD,6EAA6E;AAC7E,wBAAgB,iBAAiB,CAAC,EAChC,KAAK,EACL,WAAW,EACX,KAAK,EACL,YAAY,EACZ,aAAa,EACb,cAAc,EACd,UAAU,EACV,IAAI,GACL,EAAE,cAAc,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAmDpC;AAED,UAAU,eAAe;IACvB,KAAK,EAAE,qBAAqB,EAAE,CAAC;IAC/B,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,kBAAkB,CAAC;CAC1B;AAED;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAAC,EACjC,KAAK,EACL,QAAQ,EACR,UAAU,EACV,IAAI,GACL,EAAE,eAAe,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,GAAG,IAAI,CAsB5C"}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
+
import type { CategorySelectCopy } from "../../../copy";
|
|
1
2
|
import type { CategoryGroup } from './CategorySelect.types';
|
|
2
3
|
interface PanelListProps {
|
|
4
|
+
/** The words this panel renders. REQUIRED — no default copy. */
|
|
5
|
+
copy: CategorySelectCopy;
|
|
3
6
|
groups: CategoryGroup[];
|
|
4
7
|
query: string;
|
|
5
8
|
draft: ReadonlySet<string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CategoryPanelList.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/CategorySelect/CategoryPanelList.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CategoryPanelList.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/CategorySelect/CategoryPanelList.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAUxD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAQ5D,UAAU,cAAc;IACtB,gEAAgE;IAChE,IAAI,EAAE,kBAAkB,CAAC;IACzB,MAAM,EAAE,aAAa,EAAE,CAAC;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC3B,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,OAAO,CAAC;IACf,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,OAAO,CAAC;IACjB,UAAU,EAAE,OAAO,CAAC;IACpB,oBAAoB,EAAE,OAAO,CAAC;IAC9B,UAAU,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,OAAO,CAAC;IAC5C,gBAAgB,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/C,kBAAkB,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAC;IACnD,qBAAqB,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5C,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,gBAAgB,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;IAChD,UAAU,EAAE,MAAM,CAAC;CACpB;AA+HD,4EAA4E;AAC5E,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,cAAc,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CA4C1E"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { CategorySelectCopy } from "../../../copy";
|
|
1
2
|
import type { SizeValue } from '../../../tokens/scales';
|
|
2
3
|
/**
|
|
3
4
|
* One category as the caller already stores it: a FLAT row carrying its parent.
|
|
@@ -79,6 +80,8 @@ export interface CategorySelectBaseProps {
|
|
|
79
80
|
* not reload on every tick.
|
|
80
81
|
*/
|
|
81
82
|
export interface CategoryMultiSelectProps extends CategorySelectBaseProps {
|
|
83
|
+
/** The words this control renders. REQUIRED — no default copy. */
|
|
84
|
+
copy: CategorySelectCopy;
|
|
82
85
|
mode?: 'multi';
|
|
83
86
|
/** The APPLIED selection — subcategory ids. */
|
|
84
87
|
value: string[];
|
|
@@ -87,6 +90,8 @@ export interface CategoryMultiSelectProps extends CategorySelectBaseProps {
|
|
|
87
90
|
}
|
|
88
91
|
/** Single-select mode: the "move to…" picker. Choosing a row commits at once. */
|
|
89
92
|
export interface CategorySingleSelectProps extends CategorySelectBaseProps {
|
|
93
|
+
/** The words this control renders. REQUIRED — no default copy. */
|
|
94
|
+
copy: CategorySelectCopy;
|
|
90
95
|
mode: 'single';
|
|
91
96
|
/** The chosen category or subcategory id, or `null`. */
|
|
92
97
|
value: string | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CategorySelect.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/CategorySelect/CategorySelect.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAExD;;;;;;GAMG;AACH,MAAM,WAAW,oBAAoB;IACnC,4EAA4E;IAC5E,EAAE,EAAE,MAAM,CAAC;IACX,8EAA8E;IAC9E,IAAI,EAAE,MAAM,CAAC;IACb,qEAAqE;IACrE,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,4EAA4E;AAC5E,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,oBAAoB,CAAC;IAC/B,aAAa,EAAE,oBAAoB,EAAE,CAAC;CACvC;AAED,+EAA+E;AAC/E,MAAM,WAAW,qBAAqB;IACpC,qDAAqD;IACrD,EAAE,EAAE,MAAM,CAAC;IACX,kEAAkE;IAClE,KAAK,EAAE,MAAM,CAAC;IACd,oEAAoE;IACpE,KAAK,EAAE,OAAO,CAAC;CAChB;AAED,4CAA4C;AAC5C,MAAM,WAAW,uBAAuB;IACtC,6DAA6D;IAC7D,OAAO,EAAE,oBAAoB,EAAE,CAAC;IAChC,8CAA8C;IAC9C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,qDAAqD;IACrD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,6DAA6D;IAC7D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,4BAA4B;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,0EAA0E;IAC1E,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,4EAA4E;IAC5E,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,sEAAsE;IACtE,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,kFAAkF;IAClF,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;;OAKG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B;;;;;;;;OAQG;IACH,gBAAgB,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,+EAA+E;IAC/E,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;;;GAIG;AACH,MAAM,WAAW,wBAAyB,SAAQ,uBAAuB;IACvE,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,+CAA+C;IAC/C,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,kEAAkE;IAClE,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;CACpC;AAED,iFAAiF;AACjF,MAAM,WAAW,yBAA0B,SAAQ,uBAAuB;IACxE,IAAI,EAAE,QAAQ,CAAC;IACf,wDAAwD;IACxD,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,wDAAwD;IACxD,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;CACzC;AAED,MAAM,MAAM,mBAAmB,GAAG,wBAAwB,GAAG,yBAAyB,CAAC"}
|
|
1
|
+
{"version":3,"file":"CategorySelect.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/CategorySelect/CategorySelect.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AACxD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAExD;;;;;;GAMG;AACH,MAAM,WAAW,oBAAoB;IACnC,4EAA4E;IAC5E,EAAE,EAAE,MAAM,CAAC;I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kEAAkE;IAClE,IAAI,EAAE,kBAAkB,CAAC;IACzB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,+CAA+C;IAC/C,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,kEAAkE;IAClE,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;CACpC;AAED,iFAAiF;AACjF,MAAM,WAAW,yBAA0B,SAAQ,uBAAuB;IACxE,kEAAkE;IAClE,IAAI,EAAE,kBAAkB,CAAC;IACzB,IAAI,EAAE,QAAQ,CAAC;IACf,wDAAwD;IACxD,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,wDAAwD;IACxD,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;CACzC;AAED,MAAM,MAAM,mBAAmB,GAAG,wBAAwB,GAAG,yBAAyB,CAAC"}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
+
import type { CategorySelectCopy } from "../../../copy";
|
|
1
2
|
interface CategoryTriggerProps {
|
|
3
|
+
/** The words this renders. REQUIRED — this package ships no default copy. */
|
|
4
|
+
copy: CategorySelectCopy;
|
|
2
5
|
/** Text shown when nothing is selected. */
|
|
3
6
|
placeholder: string;
|
|
4
7
|
/** Resolved label when there IS a selection (single mode shows "Pai › Filha"). */
|
|
@@ -22,6 +25,6 @@ interface CategoryTriggerProps {
|
|
|
22
25
|
* find Clear, apply. Its click is stopped from reaching the trigger, which would
|
|
23
26
|
* otherwise open the panel on the way out.
|
|
24
27
|
*/
|
|
25
|
-
export declare function CategoryTrigger({ placeholder, selectionLabel, count, open, disabled, fullWidth, onOpen, onClear, triggerRef, dataTestId, }: CategoryTriggerProps): React.JSX.Element;
|
|
28
|
+
export declare function CategoryTrigger({ placeholder, selectionLabel, count, open, disabled, fullWidth, onOpen, onClear, triggerRef, dataTestId, copy, }: CategoryTriggerProps): React.JSX.Element;
|
|
26
29
|
export {};
|
|
27
30
|
//# sourceMappingURL=CategoryTrigger.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CategoryTrigger.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/CategorySelect/CategoryTrigger.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CategoryTrigger.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/CategorySelect/CategoryTrigger.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAWxD,UAAU,oBAAoB;IAC5B,6EAA6E;IAC7E,IAAI,EAAE,kBAAkB,CAAC;IACzB,2CAA2C;IAC3C,WAAW,EAAE,MAAM,CAAC;IACpB,kFAAkF;IAClF,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,mEAAmE;IACnE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,OAAO,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,EAAE,OAAO,CAAC;IACnB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,6CAA6C;IAC7C,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,UAAU,EAAE,KAAK,CAAC,SAAS,CAAC,iBAAiB,GAAG,IAAI,CAAC,CAAC;IACtD,UAAU,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAAC,EAC9B,WAAW,EACX,cAAc,EACd,KAAK,EACL,IAAI,EACJ,QAAQ,EACR,SAAS,EACT,MAAM,EACN,OAAO,EACP,UAAU,EACV,UAAU,EACV,IAAI,GACL,EAAE,oBAAoB,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CA4D1C"}
|
|
@@ -24,6 +24,6 @@ import type { CepFieldProps } from './CepField.types';
|
|
|
24
24
|
* />
|
|
25
25
|
* ```
|
|
26
26
|
*/
|
|
27
|
-
export declare function CepField({ value, onChange, onLookup, onResolved, onNotFound, label, placeholder, error, disabled, debounceMs, name, dataTestId, }: CepFieldProps): React.ReactElement;
|
|
27
|
+
export declare function CepField({ value, onChange, onLookup, onResolved, onNotFound, label, placeholder, error, disabled, debounceMs, name, dataTestId, copy, }: CepFieldProps): React.ReactElement;
|
|
28
28
|
export default CepField;
|
|
29
29
|
//# sourceMappingURL=CepField.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CepField.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/CepField/CepField.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CepField.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/CepField/CepField.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAmD,MAAM,OAAO,CAAC;AAMxE,OAAO,KAAK,EAAc,aAAa,EAAmB,MAAM,kBAAkB,CAAC;AA6GnF;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAgB,QAAQ,CAAC,EACvB,KAAK,EACL,QAAQ,EACR,QAAQ,EACR,UAAU,EACV,UAAU,EACV,KAAa,EACb,WAAyB,EACzB,KAAK,EACL,QAAgB,EAChB,UAAgB,EAChB,IAAmB,EACnB,UAAU,EACV,IAAI,GACL,EAAE,aAAa,GAAG,KAAK,CAAC,YAAY,CAiDpC;AAED,eAAe,QAAQ,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { CepFieldCopy } from "../../../copy";
|
|
1
2
|
/**
|
|
2
3
|
* Types for {@link CepField} — the reusable CEP auto-completer.
|
|
3
4
|
*/
|
|
@@ -26,6 +27,8 @@ export interface CepAddress {
|
|
|
26
27
|
/** What the field is currently doing, surfaced as a status line. */
|
|
27
28
|
export type CepLookupStatus = 'idle' | 'loading' | 'found' | 'notfound';
|
|
28
29
|
export interface CepFieldProps {
|
|
30
|
+
/** The lookup status wording. REQUIRED — no default copy. */
|
|
31
|
+
copy: CepFieldCopy;
|
|
29
32
|
/** Current field value. Masked (`01310-100`) or bare — the field re-masks. */
|
|
30
33
|
value: string;
|
|
31
34
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CepField.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/CepField/CepField.types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;;;;;;;;GASG;AACH,MAAM,WAAW,UAAU;IACzB,0CAA0C;IAC1C,GAAG,EAAE,MAAM,CAAC;IACZ,2CAA2C;IAC3C,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,cAAc;IACd,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,iBAAiB;IACjB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,UAAU;IACV,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;CACtB;AAED,oEAAoE;AACpE,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG,SAAS,GAAG,OAAO,GAAG,UAAU,CAAC;AAExE,MAAM,WAAW,aAAa;IAC5B,8EAA8E;IAC9E,KAAK,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC,UAAU,GAAG,IAAI,CAAC,CAAC;IACvD;;;OAGG;IACH,UAAU,CAAC,EAAE,CAAC,OAAO,EAAE,UAAU,KAAK,IAAI,CAAC;IAC3C;;;;;OAKG;IACH,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,wCAAwC;IACxC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,4CAA4C;IAC5C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,sEAAsE;IACtE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,iDAAiD;IACjD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,uEAAuE;IACvE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,uDAAuD;IACvD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,6DAA6D;IAC7D,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB"}
|
|
1
|
+
{"version":3,"file":"CepField.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/CepField/CepField.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAClD;;GAEG;AAEH;;;;;;;;;GASG;AACH,MAAM,WAAW,UAAU;IACzB,0CAA0C;IAC1C,GAAG,EAAE,MAAM,CAAC;IACZ,2CAA2C;IAC3C,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,cAAc;IACd,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,iBAAiB;IACjB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,UAAU;IACV,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;CACtB;AAED,oEAAoE;AACpE,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG,SAAS,GAAG,OAAO,GAAG,UAAU,CAAC;AAExE,MAAM,WAAW,aAAa;IAC5B,6DAA6D;IAC7D,IAAI,EAAE,YAAY,CAAC;IACnB,8EAA8E;IAC9E,KAAK,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC,UAAU,GAAG,IAAI,CAAC,CAAC;IACvD;;;OAGG;IACH,UAAU,CAAC,EAAE,CAAC,OAAO,EAAE,UAAU,KAAK,IAAI,CAAC;IAC3C;;;;;OAKG;IACH,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,wCAAwC;IACxC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,4CAA4C;IAC5C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,sEAAsE;IACtE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,iDAAiD;IACjD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,uEAAuE;IACvE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,uDAAuD;IACvD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,6DAA6D;IAC7D,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB"}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
import type { CategorySelectCopy } from "../../../../copy";
|
|
1
2
|
import React from 'react';
|
|
2
3
|
import type { CategorySelectOption } from '../../CategorySelect';
|
|
3
4
|
/** Props for the `total-form` {@link CategoryField}. */
|
|
4
5
|
export interface CategoryFieldProps {
|
|
6
|
+
/** The picker\'s words. REQUIRED — this package ships no default copy. */
|
|
7
|
+
copy: CategorySelectCopy;
|
|
5
8
|
/** Field name; also the key into the form's values/errors. */
|
|
6
9
|
name: string;
|
|
7
10
|
/** The categories to choose from, flat, each carrying its `parentId`. */
|
|
@@ -23,5 +26,5 @@ export interface CategoryFieldProps {
|
|
|
23
26
|
* Form values are strings, so "nothing chosen" travels as `""` — mapped to and
|
|
24
27
|
* from the control's `null` here rather than making every caller do it.
|
|
25
28
|
*/
|
|
26
|
-
export declare function CategoryField({ name, options, label, placeholder, allowParentSelection, }: CategoryFieldProps): React.ReactElement;
|
|
29
|
+
export declare function CategoryField({ name, options, label, placeholder, allowParentSelection, copy, }: CategoryFieldProps): React.ReactElement;
|
|
27
30
|
//# sourceMappingURL=CategoryField.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CategoryField.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form/total-form/Fields/CategoryField.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAGjE,wDAAwD;AACxD,MAAM,WAAW,kBAAkB;IACjC,8DAA8D;IAC9D,IAAI,EAAE,MAAM,CAAC;IACb,yEAAyE;IACzE,OAAO,EAAE,oBAAoB,EAAE,CAAC;IAChC,yDAAyD;IACzD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,iDAAiD;IACjD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,8EAA8E;IAC9E,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC;AAED;;;;;;;;;GASG;AACH,wBAAgB,aAAa,CAAC,EAC5B,IAAI,EACJ,OAAO,EACP,KAAK,EACL,WAAW,EACX,oBAA2B,
|
|
1
|
+
{"version":3,"file":"CategoryField.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form/total-form/Fields/CategoryField.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAC3D,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAGjE,wDAAwD;AACxD,MAAM,WAAW,kBAAkB;IACjC,0EAA0E;IAC1E,IAAI,EAAE,kBAAkB,CAAC;IACzB,8DAA8D;IAC9D,IAAI,EAAE,MAAM,CAAC;IACb,yEAAyE;IACzE,OAAO,EAAE,oBAAoB,EAAE,CAAC;IAChC,yDAAyD;IACzD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,iDAAiD;IACjD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,8EAA8E;IAC9E,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC;AAED;;;;;;;;;GASG;AACH,wBAAgB,aAAa,CAAC,EAC5B,IAAI,EACJ,OAAO,EACP,KAAK,EACL,WAAW,EACX,oBAA2B,EAC3B,IAAI,GACL,EAAE,kBAAkB,GAAG,KAAK,CAAC,YAAY,CAmBzC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { CepFieldCopy } from "../../../../copy";
|
|
1
2
|
import React from 'react';
|
|
2
3
|
import { type CepAddress } from '../../CepField';
|
|
3
4
|
/** The resolved address parts a form can receive. */
|
|
@@ -9,6 +10,8 @@ type CepPart = 'street' | 'neighborhood' | 'city' | 'state';
|
|
|
9
10
|
export type CepFills = Partial<Record<CepPart, string>>;
|
|
10
11
|
/** Props for the `total-form` {@link CepField}. */
|
|
11
12
|
export interface CepFieldProps {
|
|
13
|
+
/** The lookup status wording. REQUIRED — no default copy. */
|
|
14
|
+
copy: CepFieldCopy;
|
|
12
15
|
/** Field name; also the key into the form's values/errors. */
|
|
13
16
|
name: string;
|
|
14
17
|
/** Optional visible label. Defaults to `CEP`. */
|
|
@@ -39,6 +42,6 @@ export interface CepFieldProps {
|
|
|
39
42
|
* />
|
|
40
43
|
* ```
|
|
41
44
|
*/
|
|
42
|
-
export declare function CepField({ name, label, lookup, fills, debounceMs, }: CepFieldProps): React.ReactElement;
|
|
45
|
+
export declare function CepField({ name, label, lookup, fills, debounceMs, copy, }: CepFieldProps): React.ReactElement;
|
|
43
46
|
export {};
|
|
44
47
|
//# sourceMappingURL=CepField.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CepField.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form/total-form/Fields/CepField.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAE5D,OAAO,EAA4B,KAAK,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAG3E,qDAAqD;AACrD,KAAK,OAAO,GAAG,QAAQ,GAAG,cAAc,GAAG,MAAM,GAAG,OAAO,CAAC;AAE5D;;;GAGG;AACH,MAAM,MAAM,QAAQ,GAAG,OAAO,CAAC,MAAM,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC;AAExD,mDAAmD;AACnD,MAAM,WAAW,aAAa;IAC5B,8DAA8D;IAC9D,IAAI,EAAE,MAAM,CAAC;IACb,iDAAiD;IACjD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,sEAAsE;IACtE,MAAM,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC,UAAU,GAAG,IAAI,CAAC,CAAC;IACrD,iEAAiE;IACjE,KAAK,CAAC,EAAE,QAAQ,CAAC;IACjB,uEAAuE;IACvE,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAoDD;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,QAAQ,CAAC,EACvB,IAAI,EACJ,KAAK,EACL,MAAM,EACN,KAAK,EACL,UAAU,
|
|
1
|
+
{"version":3,"file":"CepField.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form/total-form/Fields/CepField.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,KAAuC,MAAM,OAAO,CAAC;AAE5D,OAAO,EAA4B,KAAK,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAG3E,qDAAqD;AACrD,KAAK,OAAO,GAAG,QAAQ,GAAG,cAAc,GAAG,MAAM,GAAG,OAAO,CAAC;AAE5D;;;GAGG;AACH,MAAM,MAAM,QAAQ,GAAG,OAAO,CAAC,MAAM,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC;AAExD,mDAAmD;AACnD,MAAM,WAAW,aAAa;IAC5B,6DAA6D;IAC7D,IAAI,EAAE,YAAY,CAAC;IACnB,8DAA8D;IAC9D,IAAI,EAAE,MAAM,CAAC;IACb,iDAAiD;IACjD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,sEAAsE;IACtE,MAAM,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC,UAAU,GAAG,IAAI,CAAC,CAAC;IACrD,iEAAiE;IACjE,KAAK,CAAC,EAAE,QAAQ,CAAC;IACjB,uEAAuE;IACvE,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAoDD;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,QAAQ,CAAC,EACvB,IAAI,EACJ,KAAK,EACL,MAAM,EACN,KAAK,EACL,UAAU,EACV,IAAI,GACL,EAAE,aAAa,GAAG,KAAK,CAAC,YAAY,CAsCpC"}
|
|
@@ -229,7 +229,12 @@ export interface SavedViewsMenuProps<V extends SavedViewLike = SavedViewLike> {
|
|
|
229
229
|
onToggleShare: (view: V) => void;
|
|
230
230
|
onManageAll: () => void;
|
|
231
231
|
/** Override any of the default (pt-BR) strings. */
|
|
232
|
-
|
|
232
|
+
/**
|
|
233
|
+
* Every word this menu renders. REQUIRED since FUT-760: it used to be
|
|
234
|
+
* `Partial<…>` over a pt-BR default, so a host that passed nothing shipped
|
|
235
|
+
* one product's Portuguese. `PT_BR_SAVED_VIEWS_LABELS` is that exact set.
|
|
236
|
+
*/
|
|
237
|
+
labels: SavedViewsLabels;
|
|
233
238
|
testIdPrefix?: string;
|
|
234
239
|
}
|
|
235
240
|
//# sourceMappingURL=ContentToolbar.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContentToolbar.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/ContentToolbar/ContentToolbar.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC,0EAA0E;AAC1E,MAAM,WAAW,mBAAmB;IAClC,iFAAiF;IACjF,YAAY,EAAE,OAAO,CAAC;IACtB,0CAA0C;IAC1C,aAAa,EAAE,MAAM,CAAC;IACtB,qCAAqC;IACrC,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,mCAAmC;IACnC,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,8EAA8E;IAC9E,aAAa,EAAE,SAAS,CAAC;IACzB;;;;;OAKG;IACH,eAAe,CAAC,EAAE,SAAS,CAAC;IAC5B;;;;;;;OAOG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B;;;;OAIG;IACH,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,yCAAyC;IACzC,eAAe,CAAC,EA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I,CAAC;IACjC,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,mDAAmD;IACnD,MAAM,
|
|
1
|
+
{"version":3,"file":"ContentToolbar.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/ContentToolbar/ContentToolbar.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC,0EAA0E;AAC1E,MAAM,WAAW,mBAAmB;IAClC,iFAAiF;IACjF,YAAY,EAAE,OAAO,CAAC;IACtB,0CAA0C;IAC1C,aAAa,EAAE,MAAM,CAAC;IACtB,qCAAqC;IACrC,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,mCAAmC;IACnC,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,8EAA8E;IAC9E,aAAa,EAAE,SAAS,CAAC;IACzB;;;;;OAKG;IACH,eAAe,CAAC,EAAE,SAAS,CAAC;IAC5B;;;;;;;OAOG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B;;;;OAIG;IACH,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,yCAAyC;IACzC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,wCAAwC;IACxC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAID,8CAA8C;AAC9C,MAAM,MAAM,QAAQ,GAAG,MAAM,GAAG,MAAM,CAAC;AAEvC,sCAAsC;AACtC,MAAM,WAAW,iBAAiB;IAChC,yBAAyB;IACzB,QAAQ,EAAE,QAAQ,CAAC;IACnB,yCAAyC;IACzC,gBAAgB,EAAE,CAAC,IAAI,EAAE,QAAQ,KAAK,IAAI,CAAC;IAC3C,+EAA+E;IAC/E,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,2CAA2C;IAC3C,YAAY,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;CACzC;AAID,uEAAuE;AACv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AAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,6EAA6E;AAC7E,MAAM,WAAW,mBAAmB,CAAC,CAAC,SAAS,aAAa,GAAG,aAAa;IAC1E,KAAK,EAAE,CAAC,EAAE,CAAC;IACX,gGAAgG;IAChG,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,OAAO,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,IAAI,CAAC;IAC3B,8DAA8D;IAC9D,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,IAAI,CAAC;IAC1B,QAAQ,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,IAAI,CAAC;IAC5B,YAAY,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,IAAI,CAAC;IAChC,WAAW,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,IAAI,CAAC;IAC/B,aAAa,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,IAAI,CAAC;IACjC,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,mDAAmD;IACnD;;;;OAIG;IACH,MAAM,EAAE,gBAAgB,CAAC;IACzB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SavedViewsMenu.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/ContentToolbar/SavedViewsMenu.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAExC,OAAO,KAAK,EACV,aAAa,EAEb,mBAAmB,EACpB,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"SavedViewsMenu.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/ContentToolbar/SavedViewsMenu.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAExC,OAAO,KAAK,EACV,aAAa,EAEb,mBAAmB,EACpB,MAAM,wBAAwB,CAAC;AA4NhC;;;;;;;GAOG;AACH,wBAAgB,cAAc,CAAC,CAAC,SAAS,aAAa,GAAG,aAAa,EAAE,EACtE,KAAK,EACL,cAAc,EACd,OAAO,EACP,YAAY,EACZ,aAAa,EACb,MAAM,EACN,QAAQ,EACR,YAAY,EACZ,WAAW,EACX,aAAa,EACb,WAAW,EACX,MAAM,EAAE,cAAc,EACtB,YAAsB,GACvB,EAAE,mBAAmB,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAiE5C"}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The words the standalone components render, as REQUIRED host config
|
|
3
|
+
* (FUT-760).
|
|
4
|
+
*
|
|
5
|
+
* `@12-apps/ui` is the package EVERY host renders, so copy compiled in here
|
|
6
|
+
* reached every adopter of every other package too — the same leak as anywhere
|
|
7
|
+
* else, at the widest possible blast radius. Several of these components made
|
|
8
|
+
* it worse by taking the words as OPTIONAL props with pt-BR defaults, which
|
|
9
|
+
* reads as configurable right up until nobody configures it.
|
|
10
|
+
*
|
|
11
|
+
* The DataViews family has its own object (`DataViewsCopy`) threaded through a
|
|
12
|
+
* context, because nineteen files are one mounted surface. These six are
|
|
13
|
+
* mounted independently, so each takes what it renders.
|
|
14
|
+
*/
|
|
15
|
+
export interface SectionOnboardingCopy {
|
|
16
|
+
/** The button that begins the guided section. */
|
|
17
|
+
start: string;
|
|
18
|
+
/** The reveal toggle in the configured state, and its collapsed twin. */
|
|
19
|
+
edit: string;
|
|
20
|
+
collapse: string;
|
|
21
|
+
}
|
|
22
|
+
export interface ConfirmActionCopy {
|
|
23
|
+
/** The dismiss button every confirmation shares. */
|
|
24
|
+
cancel: string;
|
|
25
|
+
/** Shown when the action fails and the caller supplied no reason. */
|
|
26
|
+
defaultError: string;
|
|
27
|
+
/**
|
|
28
|
+
* The fallback body when the caller names no entity.
|
|
29
|
+
*
|
|
30
|
+
* A caller that DOES name one gets the host's own sentence — this package
|
|
31
|
+
* never guesses a noun for someone else's rows.
|
|
32
|
+
*/
|
|
33
|
+
irreversible: string;
|
|
34
|
+
}
|
|
35
|
+
export interface CategorySelectCopy {
|
|
36
|
+
/**
|
|
37
|
+
* What categories are FOR, in the host's own terms.
|
|
38
|
+
*
|
|
39
|
+
* This used to read "Categorias organizam o cardápio e os filtros da loja" —
|
|
40
|
+
* a restaurant's menu, hard-coded into a generic picker. A host selling
|
|
41
|
+
* insurance policies got told about its cardápio.
|
|
42
|
+
*/
|
|
43
|
+
purpose: string;
|
|
44
|
+
clearSelection: string;
|
|
45
|
+
/** The empty state, when the host has no categories at all. */
|
|
46
|
+
emptyTitle: string;
|
|
47
|
+
createCategory: string;
|
|
48
|
+
/**
|
|
49
|
+
* The search found nothing.
|
|
50
|
+
*
|
|
51
|
+
* Two of the four interpolate the term typed, so they are functions rather
|
|
52
|
+
* than strings with a placeholder to substitute: where the term sits in the
|
|
53
|
+
* sentence is the translator's call, not ours.
|
|
54
|
+
*/
|
|
55
|
+
noResults: {
|
|
56
|
+
title: (query: string) => string;
|
|
57
|
+
hint: string;
|
|
58
|
+
clearSearch: string;
|
|
59
|
+
create: (query: string) => string;
|
|
60
|
+
};
|
|
61
|
+
/**
|
|
62
|
+
* The panel's two footers.
|
|
63
|
+
*
|
|
64
|
+
* `selectedCount` is a function because Portuguese agrees the participle with
|
|
65
|
+
* the count and English does not — the shape has to let a translator decide
|
|
66
|
+
* the whole sentence, not fill a slot in ours.
|
|
67
|
+
*/
|
|
68
|
+
/** The search box above the list, and the chips beneath it. */
|
|
69
|
+
search: {
|
|
70
|
+
/** Two placeholders: a single-select picker offers no subcategories. */
|
|
71
|
+
placeholderSingle: string;
|
|
72
|
+
placeholderMulti: string;
|
|
73
|
+
clear: string;
|
|
74
|
+
removeChip(label: string): string;
|
|
75
|
+
/** The tray above the list, counting what is already picked. */
|
|
76
|
+
pinnedLabel(count: number): string;
|
|
77
|
+
};
|
|
78
|
+
footer: {
|
|
79
|
+
selectedCount(count: number): string;
|
|
80
|
+
clear: string;
|
|
81
|
+
/** The primary button, which reads `close` while the draft is unchanged. */
|
|
82
|
+
apply: string;
|
|
83
|
+
close: string;
|
|
84
|
+
/** The single-select footer: what to do, and the way out. */
|
|
85
|
+
singleHint: string;
|
|
86
|
+
cancel: string;
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
export interface CepFieldCopy {
|
|
90
|
+
loading: string;
|
|
91
|
+
found: string;
|
|
92
|
+
/** Keyed to match `CepLookupStatus` exactly, so the lookup can index it. */
|
|
93
|
+
notfound: string;
|
|
94
|
+
}
|
|
95
|
+
export interface TableFilterCopy {
|
|
96
|
+
/** A numeric range whose maximum is below its minimum. */
|
|
97
|
+
invalidRange: string;
|
|
98
|
+
}
|
|
99
|
+
//# sourceMappingURL=copy.d.ts.map
|