@senvenli/react 0.0.0-stage → 0.1.0
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/LICENSE +21 -0
- package/README.md +32 -2
- package/dist/action/button-group.d.ts +26 -0
- package/dist/action/button-group.js +12 -0
- package/dist/action/button-group.js.map +1 -0
- package/dist/action/button.d.ts +42 -0
- package/dist/action/button.js +58 -0
- package/dist/action/button.js.map +1 -0
- package/dist/action/close-button.d.ts +12 -0
- package/dist/action/close-button.js +13 -0
- package/dist/action/close-button.js.map +1 -0
- package/dist/action/copy-button.d.ts +21 -0
- package/dist/action/copy-button.js +38 -0
- package/dist/action/copy-button.js.map +1 -0
- package/dist/action/fab.d.ts +29 -0
- package/dist/action/fab.js +57 -0
- package/dist/action/fab.js.map +1 -0
- package/dist/action/files.d.ts +70 -0
- package/dist/action/files.js +156 -0
- package/dist/action/files.js.map +1 -0
- package/dist/action/index.d.ts +23 -0
- package/dist/action/index.js +16 -0
- package/dist/action/index.js.map +1 -0
- package/dist/action/language-names.d.ts +19 -0
- package/dist/action/language-names.js +79 -0
- package/dist/action/language-names.js.map +1 -0
- package/dist/action/language-switcher.d.ts +57 -0
- package/dist/action/language-switcher.js +53 -0
- package/dist/action/language-switcher.js.map +1 -0
- package/dist/action/link-button.d.ts +57 -0
- package/dist/action/link-button.js +48 -0
- package/dist/action/link-button.js.map +1 -0
- package/dist/action/link.d.ts +24 -0
- package/dist/action/link.js +18 -0
- package/dist/action/link.js.map +1 -0
- package/dist/action/pressable.d.ts +40 -0
- package/dist/action/pressable.js +65 -0
- package/dist/action/pressable.js.map +1 -0
- package/dist/action/styles.d.ts +60 -0
- package/dist/action/styles.js +109 -0
- package/dist/action/styles.js.map +1 -0
- package/dist/action/theme-script.d.ts +12 -0
- package/dist/action/theme-script.js +23 -0
- package/dist/action/theme-script.js.map +1 -0
- package/dist/action/theme-switcher.d.ts +43 -0
- package/dist/action/theme-switcher.js +260 -0
- package/dist/action/theme-switcher.js.map +1 -0
- package/dist/action/theme-toggle.d.ts +43 -0
- package/dist/action/theme-toggle.js +259 -0
- package/dist/action/theme-toggle.js.map +1 -0
- package/dist/action/toggle.d.ts +44 -0
- package/dist/action/toggle.js +28 -0
- package/dist/action/toggle.js.map +1 -0
- package/dist/action/touch-target.d.ts +9 -0
- package/dist/action/touch-target.js +14 -0
- package/dist/action/touch-target.js.map +1 -0
- package/dist/charts/axis-width.d.ts +186 -0
- package/dist/charts/axis-width.js +1262 -0
- package/dist/charts/axis-width.js.map +1 -0
- package/dist/charts/bar-public.d.ts +16 -0
- package/dist/charts/bar-public.js +16 -0
- package/dist/charts/bar-public.js.map +1 -0
- package/dist/charts/chart-parts.d.ts +136 -0
- package/dist/charts/chart-parts.js +160 -0
- package/dist/charts/chart-parts.js.map +1 -0
- package/dist/charts/core-charts.d.ts +157 -0
- package/dist/charts/core-charts.js +505 -0
- package/dist/charts/core-charts.js.map +1 -0
- package/dist/charts/index.d.ts +12 -0
- package/dist/charts/index.js +8 -0
- package/dist/charts/index.js.map +1 -0
- package/dist/charts/list-charts.d.ts +124 -0
- package/dist/charts/list-charts.js +308 -0
- package/dist/charts/list-charts.js.map +1 -0
- package/dist/charts/more-charts.d.ts +138 -0
- package/dist/charts/more-charts.js +284 -0
- package/dist/charts/more-charts.js.map +1 -0
- package/dist/charts/report-charts.d.ts +138 -0
- package/dist/charts/report-charts.js +370 -0
- package/dist/charts/report-charts.js.map +1 -0
- package/dist/charts/value-tick.d.ts +178 -0
- package/dist/charts/value-tick.js +240 -0
- package/dist/charts/value-tick.js.map +1 -0
- package/dist/collection/data-table-url-hook.d.ts +34 -0
- package/dist/collection/data-table-url-hook.js +70 -0
- package/dist/collection/data-table-url-hook.js.map +1 -0
- package/dist/collection/data-table-url.d.ts +30 -0
- package/dist/collection/data-table-url.js +48 -0
- package/dist/collection/data-table-url.js.map +1 -0
- package/dist/collection/data-table.d.ts +112 -0
- package/dist/collection/data-table.js +188 -0
- package/dist/collection/data-table.js.map +1 -0
- package/dist/collection/grid-list-public.d.ts +18 -0
- package/dist/collection/grid-list-public.js +19 -0
- package/dist/collection/grid-list-public.js.map +1 -0
- package/dist/collection/grid-list.d.ts +73 -0
- package/dist/collection/grid-list.js +46 -0
- package/dist/collection/grid-list.js.map +1 -0
- package/dist/collection/index.d.ts +14 -0
- package/dist/collection/index.js +8 -0
- package/dist/collection/index.js.map +1 -0
- package/dist/collection/list.d.ts +61 -0
- package/dist/collection/list.js +38 -0
- package/dist/collection/list.js.map +1 -0
- package/dist/collection/selection-checkbox.d.ts +5 -0
- package/dist/collection/selection-checkbox.js +13 -0
- package/dist/collection/selection-checkbox.js.map +1 -0
- package/dist/collection/table.d.ts +91 -0
- package/dist/collection/table.js +183 -0
- package/dist/collection/table.js.map +1 -0
- package/dist/collection/tree.d.ts +31 -0
- package/dist/collection/tree.js +22 -0
- package/dist/collection/tree.js.map +1 -0
- package/dist/color/color.d.ts +87 -0
- package/dist/color/color.js +200 -0
- package/dist/color/color.js.map +1 -0
- package/dist/color/contrast.d.ts +34 -0
- package/dist/color/contrast.js +44 -0
- package/dist/color/contrast.js.map +1 -0
- package/dist/color/index.d.ts +4 -0
- package/dist/color/index.js +5 -0
- package/dist/color/index.js.map +1 -0
- package/dist/date/calendar.d.ts +71 -0
- package/dist/date/calendar.js +291 -0
- package/dist/date/calendar.js.map +1 -0
- package/dist/date/fields.d.ts +174 -0
- package/dist/date/fields.js +250 -0
- package/dist/date/fields.js.map +1 -0
- package/dist/date/index.d.ts +7 -0
- package/dist/date/index.js +6 -0
- package/dist/date/index.js.map +1 -0
- package/dist/date/month-grid.d.ts +31 -0
- package/dist/date/month-grid.js +115 -0
- package/dist/date/month-grid.js.map +1 -0
- package/dist/date/pickers.d.ts +118 -0
- package/dist/date/pickers.js +176 -0
- package/dist/date/pickers.js.map +1 -0
- package/dist/date/public.d.ts +25 -0
- package/dist/date/public.js +24 -0
- package/dist/date/public.js.map +1 -0
- package/dist/date/segments.d.ts +153 -0
- package/dist/date/segments.js +433 -0
- package/dist/date/segments.js.map +1 -0
- package/dist/defaults.d.ts +74 -0
- package/dist/defaults.js +100 -0
- package/dist/defaults.js.map +1 -0
- package/dist/density.d.ts +2 -0
- package/dist/density.js +2 -0
- package/dist/density.js.map +1 -0
- package/dist/display/avatar.d.ts +29 -0
- package/dist/display/avatar.js +71 -0
- package/dist/display/avatar.js.map +1 -0
- package/dist/display/badge.d.ts +65 -0
- package/dist/display/badge.js +99 -0
- package/dist/display/badge.js.map +1 -0
- package/dist/display/card.d.ts +72 -0
- package/dist/display/card.js +91 -0
- package/dist/display/card.js.map +1 -0
- package/dist/display/carousel.d.ts +47 -0
- package/dist/display/carousel.js +214 -0
- package/dist/display/carousel.js.map +1 -0
- package/dist/display/description-list.d.ts +25 -0
- package/dist/display/description-list.js +36 -0
- package/dist/display/description-list.js.map +1 -0
- package/dist/display/icon-aliases.d.ts +1 -0
- package/dist/display/icon-aliases.js +259 -0
- package/dist/display/icon-aliases.js.map +1 -0
- package/dist/display/icon-names.d.ts +4 -0
- package/dist/display/icon-names.js +2 -0
- package/dist/display/icon-names.js.map +1 -0
- package/dist/display/icon.d.ts +51 -0
- package/dist/display/icon.js +96 -0
- package/dist/display/icon.js.map +1 -0
- package/dist/display/image-crop.d.ts +106 -0
- package/dist/display/image-crop.js +117 -0
- package/dist/display/image-crop.js.map +1 -0
- package/dist/display/image-cropper.d.ts +68 -0
- package/dist/display/image-cropper.js +284 -0
- package/dist/display/image-cropper.js.map +1 -0
- package/dist/display/image-viewer.d.ts +54 -0
- package/dist/display/image-viewer.js +84 -0
- package/dist/display/image-viewer.js.map +1 -0
- package/dist/display/image.d.ts +26 -0
- package/dist/display/image.js +17 -0
- package/dist/display/image.js.map +1 -0
- package/dist/display/index.d.ts +29 -0
- package/dist/display/index.js +16 -0
- package/dist/display/index.js.map +1 -0
- package/dist/display/iso-chip.d.ts +19 -0
- package/dist/display/iso-chip.js +21 -0
- package/dist/display/iso-chip.js.map +1 -0
- package/dist/display/kbd.d.ts +11 -0
- package/dist/display/kbd.js +33 -0
- package/dist/display/kbd.js.map +1 -0
- package/dist/display/lozenge.d.ts +30 -0
- package/dist/display/lozenge.js +55 -0
- package/dist/display/lozenge.js.map +1 -0
- package/dist/display/scroll-area.d.ts +29 -0
- package/dist/display/scroll-area.js +95 -0
- package/dist/display/scroll-area.js.map +1 -0
- package/dist/display/separator.d.ts +13 -0
- package/dist/display/separator.js +24 -0
- package/dist/display/separator.js.map +1 -0
- package/dist/display/stat.d.ts +35 -0
- package/dist/display/stat.js +41 -0
- package/dist/display/stat.js.map +1 -0
- package/dist/display/timeline.d.ts +44 -0
- package/dist/display/timeline.js +111 -0
- package/dist/display/timeline.js.map +1 -0
- package/dist/display/typography.d.ts +37 -0
- package/dist/display/typography.js +53 -0
- package/dist/display/typography.js.map +1 -0
- package/dist/display/visually-hidden.d.ts +14 -0
- package/dist/display/visually-hidden.js +10 -0
- package/dist/display/visually-hidden.js.map +1 -0
- package/dist/feedback/banner.d.ts +46 -0
- package/dist/feedback/banner.js +157 -0
- package/dist/feedback/banner.js.map +1 -0
- package/dist/feedback/cooldown.d.ts +17 -0
- package/dist/feedback/cooldown.js +59 -0
- package/dist/feedback/cooldown.js.map +1 -0
- package/dist/feedback/empty-state.d.ts +35 -0
- package/dist/feedback/empty-state.js +39 -0
- package/dist/feedback/empty-state.js.map +1 -0
- package/dist/feedback/index.d.ts +12 -0
- package/dist/feedback/index.js +11 -0
- package/dist/feedback/index.js.map +1 -0
- package/dist/feedback/meter.d.ts +33 -0
- package/dist/feedback/meter.js +42 -0
- package/dist/feedback/meter.js.map +1 -0
- package/dist/feedback/motion.d.ts +9 -0
- package/dist/feedback/motion.js +57 -0
- package/dist/feedback/motion.js.map +1 -0
- package/dist/feedback/progress.d.ts +39 -0
- package/dist/feedback/progress.js +68 -0
- package/dist/feedback/progress.js.map +1 -0
- package/dist/feedback/skeleton.d.ts +48 -0
- package/dist/feedback/skeleton.js +61 -0
- package/dist/feedback/skeleton.js.map +1 -0
- package/dist/feedback/spinner.d.ts +19 -0
- package/dist/feedback/spinner.js +29 -0
- package/dist/feedback/spinner.js.map +1 -0
- package/dist/feedback/status-dot.d.ts +23 -0
- package/dist/feedback/status-dot.js +37 -0
- package/dist/feedback/status-dot.js.map +1 -0
- package/dist/form/countries.d.ts +34 -0
- package/dist/form/countries.js +273 -0
- package/dist/form/countries.js.map +1 -0
- package/dist/form/data-attributes.d.ts +11 -0
- package/dist/form/data-attributes.js +22 -0
- package/dist/form/data-attributes.js.map +1 -0
- package/dist/form/field-parts.d.ts +113 -0
- package/dist/form/field-parts.js +178 -0
- package/dist/form/field-parts.js.map +1 -0
- package/dist/form/field.d.ts +36 -0
- package/dist/form/field.js +65 -0
- package/dist/form/field.js.map +1 -0
- package/dist/form/files.d.ts +70 -0
- package/dist/form/files.js +156 -0
- package/dist/form/files.js.map +1 -0
- package/dist/form/form.d.ts +40 -0
- package/dist/form/form.js +74 -0
- package/dist/form/form.js.map +1 -0
- package/dist/form/image-crop.d.ts +106 -0
- package/dist/form/image-crop.js +117 -0
- package/dist/form/image-crop.js.map +1 -0
- package/dist/form/image-cropper.d.ts +68 -0
- package/dist/form/image-cropper.js +284 -0
- package/dist/form/image-cropper.js.map +1 -0
- package/dist/form/index.d.ts +24 -0
- package/dist/form/index.js +15 -0
- package/dist/form/index.js.map +1 -0
- package/dist/form/input-group.d.ts +63 -0
- package/dist/form/input-group.js +63 -0
- package/dist/form/input-group.js.map +1 -0
- package/dist/form/input-otp.d.ts +35 -0
- package/dist/form/input-otp.js +83 -0
- package/dist/form/input-otp.js.map +1 -0
- package/dist/form/input.d.ts +36 -0
- package/dist/form/input.js +41 -0
- package/dist/form/input.js.map +1 -0
- package/dist/form/number-field.d.ts +84 -0
- package/dist/form/number-field.js +81 -0
- package/dist/form/number-field.js.map +1 -0
- package/dist/form/otp-field.d.ts +37 -0
- package/dist/form/otp-field.js +116 -0
- package/dist/form/otp-field.js.map +1 -0
- package/dist/form/password-field.d.ts +61 -0
- package/dist/form/password-field.js +61 -0
- package/dist/form/password-field.js.map +1 -0
- package/dist/form/phone-field.d.ts +104 -0
- package/dist/form/phone-field.js +275 -0
- package/dist/form/phone-field.js.map +1 -0
- package/dist/form/phone-paste.d.ts +24 -0
- package/dist/form/phone-paste.js +40 -0
- package/dist/form/phone-paste.js.map +1 -0
- package/dist/form/phone.d.ts +159 -0
- package/dist/form/phone.js +309 -0
- package/dist/form/phone.js.map +1 -0
- package/dist/form/search-field.d.ts +29 -0
- package/dist/form/search-field.js +23 -0
- package/dist/form/search-field.js.map +1 -0
- package/dist/form/styles.d.ts +31 -0
- package/dist/form/styles.js +43 -0
- package/dist/form/styles.js.map +1 -0
- package/dist/form/text-area.d.ts +70 -0
- package/dist/form/text-area.js +93 -0
- package/dist/form/text-area.js.map +1 -0
- package/dist/form/text-field.d.ts +131 -0
- package/dist/form/text-field.js +59 -0
- package/dist/form/text-field.js.map +1 -0
- package/dist/form/validation.d.ts +145 -0
- package/dist/form/validation.js +136 -0
- package/dist/form/validation.js.map +1 -0
- package/dist/i18n.d.ts +438 -0
- package/dist/i18n.js +948 -0
- package/dist/i18n.js.map +1 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +7 -0
- package/dist/index.js.map +1 -0
- package/dist/intl-locale.d.ts +30 -0
- package/dist/intl-locale.js +83 -0
- package/dist/intl-locale.js.map +1 -0
- package/dist/layers.d.ts +32 -0
- package/dist/layers.js +33 -0
- package/dist/layers.js.map +1 -0
- package/dist/layout/auth-form-layout.d.ts +71 -0
- package/dist/layout/auth-form-layout.js +61 -0
- package/dist/layout/auth-form-layout.js.map +1 -0
- package/dist/layout/auth-layout.d.ts +59 -0
- package/dist/layout/auth-layout.js +26 -0
- package/dist/layout/auth-layout.js.map +1 -0
- package/dist/layout/box.d.ts +26 -0
- package/dist/layout/box.js +16 -0
- package/dist/layout/box.js.map +1 -0
- package/dist/layout/grid.d.ts +27 -0
- package/dist/layout/grid.js +26 -0
- package/dist/layout/grid.js.map +1 -0
- package/dist/layout/index.d.ts +16 -0
- package/dist/layout/index.js +12 -0
- package/dist/layout/index.js.map +1 -0
- package/dist/layout/pressable.d.ts +40 -0
- package/dist/layout/pressable.js +65 -0
- package/dist/layout/pressable.js.map +1 -0
- package/dist/layout/reset-sent-card.d.ts +39 -0
- package/dist/layout/reset-sent-card.js +22 -0
- package/dist/layout/reset-sent-card.js.map +1 -0
- package/dist/layout/scroll-area.d.ts +29 -0
- package/dist/layout/scroll-area.js +95 -0
- package/dist/layout/scroll-area.js.map +1 -0
- package/dist/layout/section.d.ts +41 -0
- package/dist/layout/section.js +22 -0
- package/dist/layout/section.js.map +1 -0
- package/dist/layout/split.d.ts +50 -0
- package/dist/layout/split.js +35 -0
- package/dist/layout/split.js.map +1 -0
- package/dist/layout/stack.d.ts +44 -0
- package/dist/layout/stack.js +36 -0
- package/dist/layout/stack.js.map +1 -0
- package/dist/layout/tokens.d.ts +33 -0
- package/dist/layout/tokens.js +85 -0
- package/dist/layout/tokens.js.map +1 -0
- package/dist/layout/toolbar.d.ts +37 -0
- package/dist/layout/toolbar.js +334 -0
- package/dist/layout/toolbar.js.map +1 -0
- package/dist/navigate-context.d.ts +12 -0
- package/dist/navigate-context.js +13 -0
- package/dist/navigate-context.js.map +1 -0
- package/dist/navigation/accordion.d.ts +40 -0
- package/dist/navigation/accordion.js +33 -0
- package/dist/navigation/accordion.js.map +1 -0
- package/dist/navigation/bottom-nav.d.ts +29 -0
- package/dist/navigation/bottom-nav.js +48 -0
- package/dist/navigation/bottom-nav.js.map +1 -0
- package/dist/navigation/brand-link-context.d.ts +8 -0
- package/dist/navigation/brand-link-context.js +9 -0
- package/dist/navigation/brand-link-context.js.map +1 -0
- package/dist/navigation/breadcrumbs.d.ts +36 -0
- package/dist/navigation/breadcrumbs.js +51 -0
- package/dist/navigation/breadcrumbs.js.map +1 -0
- package/dist/navigation/dock.d.ts +27 -0
- package/dist/navigation/dock.js +47 -0
- package/dist/navigation/dock.js.map +1 -0
- package/dist/navigation/footer.d.ts +43 -0
- package/dist/navigation/footer.js +43 -0
- package/dist/navigation/footer.js.map +1 -0
- package/dist/navigation/index.d.ts +22 -0
- package/dist/navigation/index.js +17 -0
- package/dist/navigation/index.js.map +1 -0
- package/dist/navigation/language-names.d.ts +19 -0
- package/dist/navigation/language-names.js +79 -0
- package/dist/navigation/language-names.js.map +1 -0
- package/dist/navigation/language-switcher.d.ts +55 -0
- package/dist/navigation/language-switcher.js +53 -0
- package/dist/navigation/language-switcher.js.map +1 -0
- package/dist/navigation/nav-panel.d.ts +18 -0
- package/dist/navigation/nav-panel.js +51 -0
- package/dist/navigation/nav-panel.js.map +1 -0
- package/dist/navigation/navbar.d.ts +73 -0
- package/dist/navigation/navbar.js +64 -0
- package/dist/navigation/navbar.js.map +1 -0
- package/dist/navigation/page-header.d.ts +37 -0
- package/dist/navigation/page-header.js +50 -0
- package/dist/navigation/page-header.js.map +1 -0
- package/dist/navigation/pagination.d.ts +25 -0
- package/dist/navigation/pagination.js +51 -0
- package/dist/navigation/pagination.js.map +1 -0
- package/dist/navigation/panel-header.d.ts +37 -0
- package/dist/navigation/panel-header.js +50 -0
- package/dist/navigation/panel-header.js.map +1 -0
- package/dist/navigation/sidebar-script.d.ts +12 -0
- package/dist/navigation/sidebar-script.js +20 -0
- package/dist/navigation/sidebar-script.js.map +1 -0
- package/dist/navigation/sidebar.d.ts +149 -0
- package/dist/navigation/sidebar.js +332 -0
- package/dist/navigation/sidebar.js.map +1 -0
- package/dist/navigation/skip-link.d.ts +12 -0
- package/dist/navigation/skip-link.js +30 -0
- package/dist/navigation/skip-link.js.map +1 -0
- package/dist/navigation/stepper.d.ts +50 -0
- package/dist/navigation/stepper.js +96 -0
- package/dist/navigation/stepper.js.map +1 -0
- package/dist/navigation/tabs.d.ts +84 -0
- package/dist/navigation/tabs.js +118 -0
- package/dist/navigation/tabs.js.map +1 -0
- package/dist/navigation/toolbar.d.ts +37 -0
- package/dist/navigation/toolbar.js +334 -0
- package/dist/navigation/toolbar.js.map +1 -0
- package/dist/overlay/alert-dialog.d.ts +63 -0
- package/dist/overlay/alert-dialog.js +76 -0
- package/dist/overlay/alert-dialog.js.map +1 -0
- package/dist/overlay/command-palette.d.ts +53 -0
- package/dist/overlay/command-palette.js +130 -0
- package/dist/overlay/command-palette.js.map +1 -0
- package/dist/overlay/command.d.ts +53 -0
- package/dist/overlay/command.js +129 -0
- package/dist/overlay/command.js.map +1 -0
- package/dist/overlay/context-menu.d.ts +29 -0
- package/dist/overlay/context-menu.js +58 -0
- package/dist/overlay/context-menu.js.map +1 -0
- package/dist/overlay/dialog.d.ts +162 -0
- package/dist/overlay/dialog.js +174 -0
- package/dist/overlay/dialog.js.map +1 -0
- package/dist/overlay/drawer.d.ts +41 -0
- package/dist/overlay/drawer.js +114 -0
- package/dist/overlay/drawer.js.map +1 -0
- package/dist/overlay/floating.d.ts +142 -0
- package/dist/overlay/floating.js +226 -0
- package/dist/overlay/floating.js.map +1 -0
- package/dist/overlay/hover-card.d.ts +19 -0
- package/dist/overlay/hover-card.js +31 -0
- package/dist/overlay/hover-card.js.map +1 -0
- package/dist/overlay/index.d.ts +18 -0
- package/dist/overlay/index.js +12 -0
- package/dist/overlay/index.js.map +1 -0
- package/dist/overlay/overlay-base.d.ts +105 -0
- package/dist/overlay/overlay-base.js +250 -0
- package/dist/overlay/overlay-base.js.map +1 -0
- package/dist/overlay/overlay.d.ts +299 -0
- package/dist/overlay/overlay.js +558 -0
- package/dist/overlay/overlay.js.map +1 -0
- package/dist/overlay/toast.d.ts +58 -0
- package/dist/overlay/toast.js +145 -0
- package/dist/overlay/toast.js.map +1 -0
- package/dist/provider.d.ts +26 -0
- package/dist/provider.js +30 -0
- package/dist/provider.js.map +1 -0
- package/dist/selection/autocomplete.d.ts +54 -0
- package/dist/selection/autocomplete.js +122 -0
- package/dist/selection/autocomplete.js.map +1 -0
- package/dist/selection/checkbox.d.ts +56 -0
- package/dist/selection/checkbox.js +49 -0
- package/dist/selection/checkbox.js.map +1 -0
- package/dist/selection/choice-size.d.ts +26 -0
- package/dist/selection/choice-size.js +50 -0
- package/dist/selection/choice-size.js.map +1 -0
- package/dist/selection/choice-text.d.ts +21 -0
- package/dist/selection/choice-text.js +33 -0
- package/dist/selection/choice-text.js.map +1 -0
- package/dist/selection/combobox.d.ts +173 -0
- package/dist/selection/combobox.js +410 -0
- package/dist/selection/combobox.js.map +1 -0
- package/dist/selection/index.d.ts +20 -0
- package/dist/selection/index.js +13 -0
- package/dist/selection/index.js.map +1 -0
- package/dist/selection/list-box.d.ts +30 -0
- package/dist/selection/list-box.js +16 -0
- package/dist/selection/list-box.js.map +1 -0
- package/dist/selection/listbox.d.ts +44 -0
- package/dist/selection/listbox.js +49 -0
- package/dist/selection/listbox.js.map +1 -0
- package/dist/selection/match.d.ts +20 -0
- package/dist/selection/match.js +57 -0
- package/dist/selection/match.js.map +1 -0
- package/dist/selection/multi-select.d.ts +72 -0
- package/dist/selection/multi-select.js +138 -0
- package/dist/selection/multi-select.js.map +1 -0
- package/dist/selection/radio-card.d.ts +31 -0
- package/dist/selection/radio-card.js +29 -0
- package/dist/selection/radio-card.js.map +1 -0
- package/dist/selection/radio.d.ts +72 -0
- package/dist/selection/radio.js +64 -0
- package/dist/selection/radio.js.map +1 -0
- package/dist/selection/select-public.d.ts +19 -0
- package/dist/selection/select-public.js +24 -0
- package/dist/selection/select-public.js.map +1 -0
- package/dist/selection/select.d.ts +72 -0
- package/dist/selection/select.js +69 -0
- package/dist/selection/select.js.map +1 -0
- package/dist/selection/slider.d.ts +16 -0
- package/dist/selection/slider.js +44 -0
- package/dist/selection/slider.js.map +1 -0
- package/dist/selection/styles.d.ts +26 -0
- package/dist/selection/styles.js +78 -0
- package/dist/selection/styles.js.map +1 -0
- package/dist/selection/switch.d.ts +24 -0
- package/dist/selection/switch.js +27 -0
- package/dist/selection/switch.js.map +1 -0
- package/dist/selection/tag-group.d.ts +38 -0
- package/dist/selection/tag-group.js +45 -0
- package/dist/selection/tag-group.js.map +1 -0
- package/dist/tone.d.ts +6 -0
- package/dist/tone.js +2 -0
- package/dist/tone.js.map +1 -0
- package/dist/utils.d.ts +9 -0
- package/dist/utils.js +42 -0
- package/dist/utils.js.map +1 -0
- package/manifest/component.full.schema.json +391 -0
- package/manifest/component.schema.json +279 -0
- package/manifests/accordion.json +299 -0
- package/manifests/alert-dialog.json +261 -0
- package/manifests/area-chart.json +338 -0
- package/manifests/autocomplete.json +299 -0
- package/manifests/avatar.json +253 -0
- package/manifests/badge.json +288 -0
- package/manifests/banner.json +185 -0
- package/manifests/bar-chart.json +454 -0
- package/manifests/bar-list.json +262 -0
- package/manifests/bottom-nav.json +139 -0
- package/manifests/box.json +3450 -0
- package/manifests/breadcrumbs.json +199 -0
- package/manifests/button-group.json +2294 -0
- package/manifests/button.json +1211 -0
- package/manifests/calendar-heatmap.json +218 -0
- package/manifests/calendar.json +299 -0
- package/manifests/card.json +308 -0
- package/manifests/carousel.json +263 -0
- package/manifests/chart-parts.json +309 -0
- package/manifests/checkbox.json +998 -0
- package/manifests/close-button.json +1000 -0
- package/manifests/color-field.json +276 -0
- package/manifests/color-picker.json +161 -0
- package/manifests/color-swatch-picker.json +220 -0
- package/manifests/color-swatch.json +140 -0
- package/manifests/combobox.json +581 -0
- package/manifests/command.json +275 -0
- package/manifests/composed-chart.json +287 -0
- package/manifests/context-menu.json +148 -0
- package/manifests/copy-button.json +192 -0
- package/manifests/data-table.json +334 -0
- package/manifests/date-field.json +302 -0
- package/manifests/date-picker.json +472 -0
- package/manifests/description-list.json +201 -0
- package/manifests/dialog.json +322 -0
- package/manifests/donut-chart.json +264 -0
- package/manifests/drawer.json +211 -0
- package/manifests/empty-state.json +185 -0
- package/manifests/fab.json +172 -0
- package/manifests/field.json +209 -0
- package/manifests/file-upload.json +791 -0
- package/manifests/form.json +829 -0
- package/manifests/funnel-chart.json +223 -0
- package/manifests/gauge-chart.json +252 -0
- package/manifests/grid-list.json +335 -0
- package/manifests/grid.json +3482 -0
- package/manifests/heading.json +183 -0
- package/manifests/heatmap.json +265 -0
- package/manifests/hover-card.json +172 -0
- package/manifests/icon.json +201 -0
- package/manifests/image-cropper.json +295 -0
- package/manifests/image-viewer.json +198 -0
- package/manifests/image.json +193 -0
- package/manifests/index.json +2035 -0
- package/manifests/input-group.json +3571 -0
- package/manifests/input.json +1557 -0
- package/manifests/kbd.json +98 -0
- package/manifests/language-switcher.json +274 -0
- package/manifests/line-chart.json +342 -0
- package/manifests/link.json +867 -0
- package/manifests/list-box.json +213 -0
- package/manifests/menu.json +453 -0
- package/manifests/meter.json +145 -0
- package/manifests/navbar.json +281 -0
- package/manifests/otp-field.json +1029 -0
- package/manifests/page-header.json +164 -0
- package/manifests/pagination.json +181 -0
- package/manifests/popover.json +205 -0
- package/manifests/pressable.json +367 -0
- package/manifests/progress.json +282 -0
- package/manifests/radar-chart.json +229 -0
- package/manifests/radial-chart.json +195 -0
- package/manifests/radio.json +975 -0
- package/manifests/scatter-chart.json +277 -0
- package/manifests/scroll-area.json +127 -0
- package/manifests/section.json +169 -0
- package/manifests/select.json +474 -0
- package/manifests/separator.json +119 -0
- package/manifests/sidebar.json +584 -0
- package/manifests/skeleton.json +235 -0
- package/manifests/skip-link.json +89 -0
- package/manifests/slider.json +706 -0
- package/manifests/sparkline.json +208 -0
- package/manifests/spinner.json +105 -0
- package/manifests/split.json +6618 -0
- package/manifests/stack.json +3541 -0
- package/manifests/stat.json +192 -0
- package/manifests/stepper.json +279 -0
- package/manifests/switch.json +205 -0
- package/manifests/table.json +375 -0
- package/manifests/tabs.json +438 -0
- package/manifests/tag-group.json +264 -0
- package/manifests/text-area.json +1136 -0
- package/manifests/text.json +244 -0
- package/manifests/theme-switcher.json +152 -0
- package/manifests/time-field.json +284 -0
- package/manifests/timeline.json +196 -0
- package/manifests/toast.json +87 -0
- package/manifests/toggle-button.json +1489 -0
- package/manifests/toolbar.json +145 -0
- package/manifests/tooltip.json +181 -0
- package/manifests/tracker.json +192 -0
- package/manifests/tree.json +245 -0
- package/manifests/visually-hidden.json +114 -0
- package/package.json +117 -3
- package/styles/base.css +56 -0
- package/styles/theme.css +154 -0
package/dist/i18n.js
ADDED
|
@@ -0,0 +1,948 @@
|
|
|
1
|
+
import { aliasSourcesOf, intlLocale } from "./intl-locale.js";
|
|
2
|
+
export { contentLang, formatDateTime, hasIntlData, intlLocale } from "./intl-locale.js";
|
|
3
|
+
const CLOSE = {
|
|
4
|
+
en: "Close",
|
|
5
|
+
};
|
|
6
|
+
const NEW_TAB = {
|
|
7
|
+
en: "(opens in a new tab)",
|
|
8
|
+
};
|
|
9
|
+
const OPTIONAL = {
|
|
10
|
+
en: "(optional)",
|
|
11
|
+
};
|
|
12
|
+
const CLEAR = {
|
|
13
|
+
en: "Clear",
|
|
14
|
+
};
|
|
15
|
+
const SHOW_PASSWORD = {
|
|
16
|
+
en: "Show password",
|
|
17
|
+
};
|
|
18
|
+
const HIDE_PASSWORD = {
|
|
19
|
+
en: "Hide password",
|
|
20
|
+
};
|
|
21
|
+
/** Password strength words: weak, fair, strong. */
|
|
22
|
+
const STRENGTH = {
|
|
23
|
+
en: ["Weak", "Fair", "Strong"],
|
|
24
|
+
};
|
|
25
|
+
/** "{n} characters over the limit" (n is formatted by the caller). */
|
|
26
|
+
const OVER_LIMIT = {
|
|
27
|
+
en: "{n} characters over the limit",
|
|
28
|
+
};
|
|
29
|
+
const REQUIRED = {
|
|
30
|
+
en: "Fill in this field.",
|
|
31
|
+
};
|
|
32
|
+
const LIMIT_EXCEEDED = {
|
|
33
|
+
en: "Character limit exceeded",
|
|
34
|
+
};
|
|
35
|
+
const RESEND = {
|
|
36
|
+
en: "Resend code",
|
|
37
|
+
};
|
|
38
|
+
/** "{time}" is a m:ss countdown. */
|
|
39
|
+
const RESEND_IN = {
|
|
40
|
+
en: "Resend in {time}",
|
|
41
|
+
};
|
|
42
|
+
const INCREASE = {
|
|
43
|
+
en: "Increase",
|
|
44
|
+
};
|
|
45
|
+
const DECREASE = {
|
|
46
|
+
en: "Decrease",
|
|
47
|
+
};
|
|
48
|
+
const CHOOSE_FILES = {
|
|
49
|
+
en: "choose from your computer",
|
|
50
|
+
};
|
|
51
|
+
/** "{choose}" is the picker link: "or choose from your computer". */
|
|
52
|
+
const OR_CHOOSE = {
|
|
53
|
+
en: "or {choose}",
|
|
54
|
+
};
|
|
55
|
+
const UP_TO = {
|
|
56
|
+
en: "up to {size}",
|
|
57
|
+
};
|
|
58
|
+
const TOO_LARGE = {
|
|
59
|
+
en: "The file is over the {size} limit.",
|
|
60
|
+
};
|
|
61
|
+
const ONLY_ONE = {
|
|
62
|
+
en: "Only one file can be added here.",
|
|
63
|
+
};
|
|
64
|
+
const WRONG_TYPE = {
|
|
65
|
+
en: "This file type is not accepted.",
|
|
66
|
+
};
|
|
67
|
+
const CANCEL_UPLOAD = {
|
|
68
|
+
en: "Cancel upload",
|
|
69
|
+
};
|
|
70
|
+
const SELECT_PLACEHOLDER = {
|
|
71
|
+
en: "Select",
|
|
72
|
+
};
|
|
73
|
+
const SELECT_ALL = {
|
|
74
|
+
en: "Select all",
|
|
75
|
+
};
|
|
76
|
+
const SELECTED_COUNT = {
|
|
77
|
+
en: "{count} selected",
|
|
78
|
+
};
|
|
79
|
+
const MORE_COUNT = {
|
|
80
|
+
en: "{count} more",
|
|
81
|
+
};
|
|
82
|
+
const REMOVE_ITEM = {
|
|
83
|
+
en: "Remove {label}",
|
|
84
|
+
};
|
|
85
|
+
const NO_MATCH = {
|
|
86
|
+
en: "No results for “{query}”.",
|
|
87
|
+
};
|
|
88
|
+
const CREATE_ITEM = {
|
|
89
|
+
en: "Add “{query}”",
|
|
90
|
+
};
|
|
91
|
+
const LOADING = {
|
|
92
|
+
en: "Loading…",
|
|
93
|
+
};
|
|
94
|
+
const SHOW_SUGGESTIONS = {
|
|
95
|
+
en: "Show suggestions",
|
|
96
|
+
};
|
|
97
|
+
const CLEAR_ALL = {
|
|
98
|
+
en: "Clear all",
|
|
99
|
+
};
|
|
100
|
+
const ACTION_FAILED = {
|
|
101
|
+
en: "That did not work. Try again.",
|
|
102
|
+
};
|
|
103
|
+
const RETRY = {
|
|
104
|
+
en: "Try again",
|
|
105
|
+
};
|
|
106
|
+
const ERROR_CODE = {
|
|
107
|
+
en: "Error code: {code}",
|
|
108
|
+
};
|
|
109
|
+
const SELECTED = {
|
|
110
|
+
en: "Selected",
|
|
111
|
+
};
|
|
112
|
+
const ONLINE = {
|
|
113
|
+
en: "online",
|
|
114
|
+
};
|
|
115
|
+
const MORE_PEOPLE = {
|
|
116
|
+
en: "{count} more",
|
|
117
|
+
};
|
|
118
|
+
const DELTA_UP = {
|
|
119
|
+
en: "up {value}",
|
|
120
|
+
};
|
|
121
|
+
const DELTA_DOWN = {
|
|
122
|
+
en: "down {value}",
|
|
123
|
+
};
|
|
124
|
+
const NO_CHANGE = {
|
|
125
|
+
en: "no change",
|
|
126
|
+
};
|
|
127
|
+
const NOT_SET = {
|
|
128
|
+
en: "Not set",
|
|
129
|
+
};
|
|
130
|
+
const COPY_VALUE = {
|
|
131
|
+
en: "Copy: {label}",
|
|
132
|
+
};
|
|
133
|
+
const COPY = {
|
|
134
|
+
en: "Copy",
|
|
135
|
+
};
|
|
136
|
+
const COPIED = {
|
|
137
|
+
en: "Copied",
|
|
138
|
+
};
|
|
139
|
+
const COPY_FAILED = {
|
|
140
|
+
en: "Could not copy",
|
|
141
|
+
};
|
|
142
|
+
const IMAGE_POSITION = {
|
|
143
|
+
en: "Image {index} of {total}",
|
|
144
|
+
};
|
|
145
|
+
const PREVIOUS_IMAGE = {
|
|
146
|
+
en: "Previous image",
|
|
147
|
+
};
|
|
148
|
+
const NEXT_IMAGE = {
|
|
149
|
+
en: "Next image",
|
|
150
|
+
};
|
|
151
|
+
const GO_TO_IMAGE = {
|
|
152
|
+
en: "Go to image {index}",
|
|
153
|
+
};
|
|
154
|
+
const THEME = {
|
|
155
|
+
en: "Theme",
|
|
156
|
+
};
|
|
157
|
+
const THEME_SYSTEM = {
|
|
158
|
+
en: "System",
|
|
159
|
+
};
|
|
160
|
+
const THEME_LIGHT = {
|
|
161
|
+
en: "Light",
|
|
162
|
+
};
|
|
163
|
+
const THEME_DARK = {
|
|
164
|
+
en: "Dark",
|
|
165
|
+
};
|
|
166
|
+
const THEME_NOW_LIGHT = {
|
|
167
|
+
en: "now light",
|
|
168
|
+
};
|
|
169
|
+
const THEME_NOW_DARK = {
|
|
170
|
+
en: "now dark",
|
|
171
|
+
};
|
|
172
|
+
const PREVIOUS_MONTH = {
|
|
173
|
+
en: "Previous month",
|
|
174
|
+
};
|
|
175
|
+
const NEXT_MONTH = {
|
|
176
|
+
en: "Next month",
|
|
177
|
+
};
|
|
178
|
+
/** DatePicker granularity="month": the month grid's year stepper and its "this month" action. */
|
|
179
|
+
const PREVIOUS_YEAR = {
|
|
180
|
+
en: "Previous year",
|
|
181
|
+
};
|
|
182
|
+
const NEXT_YEAR = {
|
|
183
|
+
en: "Next year",
|
|
184
|
+
};
|
|
185
|
+
const THIS_MONTH = {
|
|
186
|
+
en: "This month",
|
|
187
|
+
};
|
|
188
|
+
/**
|
|
189
|
+
* A date picker's bounds and an unavailable day, in the provider locale: React Aria words these after
|
|
190
|
+
* the browser's language instead. "{date}" is the bound, formatted by the caller. Where React Aria has the locale,
|
|
191
|
+
* the wording is its own, so only the language changes.
|
|
192
|
+
*/
|
|
193
|
+
const DATE_MIN = {
|
|
194
|
+
en: "Value must be {date} or later.",
|
|
195
|
+
};
|
|
196
|
+
const DATE_MAX = {
|
|
197
|
+
en: "Value must be {date} or earlier.",
|
|
198
|
+
};
|
|
199
|
+
/** The same with a month; English uses the date sentences. Apps register per-locale month wording if they need it. */
|
|
200
|
+
const MONTH_MIN = { ...DATE_MIN };
|
|
201
|
+
const MONTH_MAX = { ...DATE_MAX };
|
|
202
|
+
const DATE_UNAVAILABLE = {
|
|
203
|
+
en: "Selected date unavailable.",
|
|
204
|
+
};
|
|
205
|
+
const TODAY = {
|
|
206
|
+
en: "Today",
|
|
207
|
+
};
|
|
208
|
+
const RANGE_START = {
|
|
209
|
+
en: "Start",
|
|
210
|
+
};
|
|
211
|
+
const RANGE_END = {
|
|
212
|
+
en: "End",
|
|
213
|
+
};
|
|
214
|
+
const RANGE_START_TIME = {
|
|
215
|
+
en: "Start time",
|
|
216
|
+
};
|
|
217
|
+
const RANGE_END_TIME = {
|
|
218
|
+
en: "End time",
|
|
219
|
+
};
|
|
220
|
+
/**
|
|
221
|
+
* A date, a date and time, or a time typed in part: {parts} is the missing parts, each in the form the
|
|
222
|
+
* sentence takes it (the object of "enter": see DATE_PART_NAMES), listed with `datePartsLabel`. One sentence per kind of
|
|
223
|
+
* field, so the subject can agree with what is incomplete in languages that need it.
|
|
224
|
+
*/
|
|
225
|
+
const DATE_INCOMPLETE = {
|
|
226
|
+
en: "Incomplete date: enter {parts}, or clear the field.",
|
|
227
|
+
};
|
|
228
|
+
const DATE_TIME_INCOMPLETE = {
|
|
229
|
+
en: "Incomplete date and time: enter {parts}, or clear the field.",
|
|
230
|
+
};
|
|
231
|
+
const TIME_INCOMPLETE = {
|
|
232
|
+
en: "Incomplete time: enter {parts}, or clear the field.",
|
|
233
|
+
};
|
|
234
|
+
/**
|
|
235
|
+
* Each part as the object of "enter" in DATE_INCOMPLETE and its siblings: in many languages that is not the
|
|
236
|
+
* nominative name Intl gives (an accusative, often with an article), so apps register the form their sentence needs
|
|
237
|
+
* (`registerDsStrings(locale, { dateParts })`). The AM/PM segment of a 12-hour clock is named only when the hour is typed
|
|
238
|
+
* and it is not.
|
|
239
|
+
*/
|
|
240
|
+
const DATE_PART_NAMES = {
|
|
241
|
+
en: { day: "the day", month: "the month", year: "the year", hour: "the hour", minute: "the minutes", second: "the seconds", dayPeriod: "AM/PM" },
|
|
242
|
+
};
|
|
243
|
+
/**
|
|
244
|
+
* How the list of parts is joined: [between two, before the last of three or more]; every other pair takes ", ".
|
|
245
|
+
* The DS's own words, so the list never depends on the runtime's Intl data (CLDR's lists, written out).
|
|
246
|
+
*/
|
|
247
|
+
const LIST_AND = {
|
|
248
|
+
en: [" and ", ", and "],
|
|
249
|
+
};
|
|
250
|
+
/**
|
|
251
|
+
* "{month} has {n} days" for a day past the month's end (31.11). {month} is a registered month name (`months`) in the
|
|
252
|
+
* form the sentence takes it, else Intl's long month name in the locale.
|
|
253
|
+
*/
|
|
254
|
+
const MONTH_HAS_DAYS = {
|
|
255
|
+
en: "{month} has {n} days.",
|
|
256
|
+
};
|
|
257
|
+
/**
|
|
258
|
+
* The same for a month the DS has no name for: a field in a calendar whose months are not the Gregorian ones (an
|
|
259
|
+
* Islamic or Persian calendar, which React Aria takes from a locale outside the 14, such as ar-SA or fa, or from a
|
|
260
|
+
* -u-ca- tag).
|
|
261
|
+
*/
|
|
262
|
+
const THIS_MONTH_HAS_DAYS = {
|
|
263
|
+
en: "This month has {n} days.",
|
|
264
|
+
};
|
|
265
|
+
/**
|
|
266
|
+
* The Gregorian months (January first) as MONTH_HAS_DAYS takes them: the sentence's subject, capitalised as its first
|
|
267
|
+
* word: each language's own names (hr "Studeni"; me and sr "Jun", "Jul", "Avgust"; bs "Juni", "Juli", "August"; no
|
|
268
|
+
* month name differs between Ijekavian and Ekavian), the nominative after the article in el ("Ο Νοέμβριος"), the
|
|
269
|
+
* definite form in sq ("Nëntori ka 30 ditë."), and the prepositional after "в" in ru ("В ноябре 30 дней.").
|
|
270
|
+
*/
|
|
271
|
+
const MONTH_HAS_DAYS_MONTHS = {
|
|
272
|
+
en: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"],
|
|
273
|
+
};
|
|
274
|
+
const PREVIEW = {
|
|
275
|
+
en: "Preview",
|
|
276
|
+
};
|
|
277
|
+
const PREVIEW_ACTION = {
|
|
278
|
+
en: "Get started",
|
|
279
|
+
};
|
|
280
|
+
/** "{ratio}" is the measured contrast, formatted by the caller ("3,3:1"). */
|
|
281
|
+
const LOW_IN_LIGHT = {
|
|
282
|
+
en: "This tone is not enough in the light theme: {ratio}",
|
|
283
|
+
};
|
|
284
|
+
const LOW_IN_DARK = {
|
|
285
|
+
en: "This tone is not enough in the dark theme: {ratio}",
|
|
286
|
+
};
|
|
287
|
+
/** "{hex}" is the tone the system uses instead ("#6EA8FE"). */
|
|
288
|
+
const FIX_IN_LIGHT = {
|
|
289
|
+
en: "In the light theme, filled buttons use the tone {hex} instead.",
|
|
290
|
+
};
|
|
291
|
+
const FIX_IN_DARK = {
|
|
292
|
+
en: "In the dark theme, filled buttons use the tone {hex} instead.",
|
|
293
|
+
};
|
|
294
|
+
const NO_STEP_PASSES = {
|
|
295
|
+
en: "No tone of this color reaches AA: actions keep the theme color and yours shows in accents only.",
|
|
296
|
+
};
|
|
297
|
+
/** "{example}" is a valid value ("#1E63D0"). */
|
|
298
|
+
const HEX_EXPECTED = {
|
|
299
|
+
en: "Enter a 6-digit hex code: {example}",
|
|
300
|
+
};
|
|
301
|
+
const CUSTOM_COLOR = {
|
|
302
|
+
en: "Choose a custom color",
|
|
303
|
+
};
|
|
304
|
+
/** "{name} · selected" under a swatch picker. */
|
|
305
|
+
const NAME_SELECTED = {
|
|
306
|
+
en: "{name} · selected",
|
|
307
|
+
};
|
|
308
|
+
const CANCEL = {
|
|
309
|
+
en: "Cancel",
|
|
310
|
+
};
|
|
311
|
+
/** "{text}" is what the user types, quoted by the caller's own words ("PG AB 482"). */
|
|
312
|
+
const TYPE_TO_CONFIRM = {
|
|
313
|
+
en: "Type {text} to confirm",
|
|
314
|
+
};
|
|
315
|
+
const UNSAVED_TITLE = {
|
|
316
|
+
en: "Changes not saved",
|
|
317
|
+
};
|
|
318
|
+
const UNSAVED_BODY = {
|
|
319
|
+
en: "If you close now, your changes are lost.",
|
|
320
|
+
};
|
|
321
|
+
const DISCARD_CLOSE = {
|
|
322
|
+
en: "Close without saving",
|
|
323
|
+
};
|
|
324
|
+
const KEEP_EDITING = {
|
|
325
|
+
en: "Keep editing",
|
|
326
|
+
};
|
|
327
|
+
const EXPAND_SHEET = {
|
|
328
|
+
en: "Expand panel",
|
|
329
|
+
};
|
|
330
|
+
const COLLAPSE_SHEET = {
|
|
331
|
+
en: "Collapse panel",
|
|
332
|
+
};
|
|
333
|
+
const MAIN_NAVIGATION = {
|
|
334
|
+
en: "Main menu",
|
|
335
|
+
};
|
|
336
|
+
const OPEN_MENU = {
|
|
337
|
+
en: "Open menu",
|
|
338
|
+
};
|
|
339
|
+
const LANGUAGE = {
|
|
340
|
+
en: "Language",
|
|
341
|
+
};
|
|
342
|
+
const COLLAPSE_SIDEBAR = {
|
|
343
|
+
en: "Collapse menu",
|
|
344
|
+
};
|
|
345
|
+
const EXPAND_SIDEBAR = {
|
|
346
|
+
en: "Expand menu",
|
|
347
|
+
};
|
|
348
|
+
const LOCATION = {
|
|
349
|
+
en: "Location",
|
|
350
|
+
};
|
|
351
|
+
const SHOW_HIDDEN_LEVELS = {
|
|
352
|
+
en: "Show hidden levels",
|
|
353
|
+
};
|
|
354
|
+
const PAGES = {
|
|
355
|
+
en: "Pages",
|
|
356
|
+
};
|
|
357
|
+
const PREVIOUS_PAGE = {
|
|
358
|
+
en: "Previous page",
|
|
359
|
+
};
|
|
360
|
+
const NEXT_PAGE = {
|
|
361
|
+
en: "Next page",
|
|
362
|
+
};
|
|
363
|
+
const PAGE_N = {
|
|
364
|
+
en: "Page {n}",
|
|
365
|
+
};
|
|
366
|
+
const PAGE_OF = {
|
|
367
|
+
en: "Page {page} of {total}",
|
|
368
|
+
};
|
|
369
|
+
const RANGE_OF = {
|
|
370
|
+
en: "{from}–{to} of {total}",
|
|
371
|
+
};
|
|
372
|
+
const PER_PAGE = {
|
|
373
|
+
en: "Per page",
|
|
374
|
+
};
|
|
375
|
+
const STEP_N = {
|
|
376
|
+
en: "Step {n}",
|
|
377
|
+
};
|
|
378
|
+
const STEP_N_OF = {
|
|
379
|
+
en: "Step {n} of {total}",
|
|
380
|
+
};
|
|
381
|
+
const STEP_DONE = {
|
|
382
|
+
en: "Done",
|
|
383
|
+
};
|
|
384
|
+
const STEP_NOW = {
|
|
385
|
+
en: "Now",
|
|
386
|
+
};
|
|
387
|
+
const STEP_NEEDS_YOU = {
|
|
388
|
+
en: "Waiting for you",
|
|
389
|
+
};
|
|
390
|
+
const STEP_WITH_PROVIDER = {
|
|
391
|
+
en: "With us",
|
|
392
|
+
};
|
|
393
|
+
const STEP_FAILED = {
|
|
394
|
+
en: "Something went wrong",
|
|
395
|
+
};
|
|
396
|
+
const PROGRESS_STEPS = {
|
|
397
|
+
en: "Progress",
|
|
398
|
+
};
|
|
399
|
+
/** A finished Stepper: every step done, none current. */
|
|
400
|
+
const STEPS_ALL_DONE = {
|
|
401
|
+
en: "All steps done",
|
|
402
|
+
};
|
|
403
|
+
const CLEAR_SELECTION = {
|
|
404
|
+
en: "Clear selection",
|
|
405
|
+
};
|
|
406
|
+
const SKIP_TO_CONTENT = {
|
|
407
|
+
en: "Skip to content",
|
|
408
|
+
};
|
|
409
|
+
const HOME_PAGE = {
|
|
410
|
+
en: "{name} home",
|
|
411
|
+
};
|
|
412
|
+
const SELECTION = {
|
|
413
|
+
en: "Selection",
|
|
414
|
+
};
|
|
415
|
+
const SHOW_DATA_TABLE = {
|
|
416
|
+
en: "Show the data as a table",
|
|
417
|
+
};
|
|
418
|
+
const HIDE_DATA_TABLE = {
|
|
419
|
+
en: "Hide the table",
|
|
420
|
+
};
|
|
421
|
+
const CHART_NO_DATA = {
|
|
422
|
+
en: "No data for this period",
|
|
423
|
+
};
|
|
424
|
+
const CHART_PERIOD = {
|
|
425
|
+
en: "Period",
|
|
426
|
+
};
|
|
427
|
+
const CHART_CATEGORY = {
|
|
428
|
+
en: "Category",
|
|
429
|
+
};
|
|
430
|
+
const SPARKLINE_SUMMARY = {
|
|
431
|
+
en: "First {first}, last {last}; low {min}, high {max}",
|
|
432
|
+
};
|
|
433
|
+
const GAUGE_TARGET = {
|
|
434
|
+
en: "Target {target}",
|
|
435
|
+
};
|
|
436
|
+
const CHART_OTHER = {
|
|
437
|
+
en: "Other",
|
|
438
|
+
};
|
|
439
|
+
const SHOW_ALL = {
|
|
440
|
+
en: "Show all",
|
|
441
|
+
};
|
|
442
|
+
const SHOW_FEWER = {
|
|
443
|
+
en: "Show fewer",
|
|
444
|
+
};
|
|
445
|
+
const HEATMAP_LESS = {
|
|
446
|
+
en: "Less",
|
|
447
|
+
};
|
|
448
|
+
const HEATMAP_MORE = {
|
|
449
|
+
en: "More",
|
|
450
|
+
};
|
|
451
|
+
const CHART_BAND = {
|
|
452
|
+
en: "Band {from}–{to}",
|
|
453
|
+
};
|
|
454
|
+
const CHART_STATUS = {
|
|
455
|
+
en: "Status",
|
|
456
|
+
};
|
|
457
|
+
const CHART_CONVERSION = {
|
|
458
|
+
en: "Conversion",
|
|
459
|
+
};
|
|
460
|
+
// Waterfall and seasonality heatmap.
|
|
461
|
+
const CHART_CHANGE = {
|
|
462
|
+
en: "Change",
|
|
463
|
+
};
|
|
464
|
+
const CHART_TOTAL = {
|
|
465
|
+
en: "Total",
|
|
466
|
+
};
|
|
467
|
+
const CHART_INCREASE = {
|
|
468
|
+
en: "Increase",
|
|
469
|
+
};
|
|
470
|
+
const CHART_DECREASE = {
|
|
471
|
+
en: "Decrease",
|
|
472
|
+
};
|
|
473
|
+
const CHART_NO_VALUE = {
|
|
474
|
+
en: "No data",
|
|
475
|
+
};
|
|
476
|
+
const PHONE_COUNTRY = {
|
|
477
|
+
en: "Country: {country}, {code}",
|
|
478
|
+
};
|
|
479
|
+
const PHONE_COUNTRY_LIST = {
|
|
480
|
+
en: "Country",
|
|
481
|
+
};
|
|
482
|
+
const PHONE_COUNTRY_SEARCH = {
|
|
483
|
+
en: "Search countries",
|
|
484
|
+
};
|
|
485
|
+
const PHONE_SUGGESTED_COUNTRIES = {
|
|
486
|
+
en: "Suggested countries",
|
|
487
|
+
};
|
|
488
|
+
const PHONE_ALL_COUNTRIES = {
|
|
489
|
+
en: "All countries",
|
|
490
|
+
};
|
|
491
|
+
const PHONE_TOO_SHORT = {
|
|
492
|
+
en: "The number looks incomplete. {country} numbers have {digits} digits.",
|
|
493
|
+
};
|
|
494
|
+
const PHONE_TOO_LONG = {
|
|
495
|
+
en: "The number looks too long. {country} numbers have {digits} digits.",
|
|
496
|
+
};
|
|
497
|
+
const TABLE_SEARCH = {
|
|
498
|
+
en: "Search",
|
|
499
|
+
};
|
|
500
|
+
const TABLE_COLUMNS = {
|
|
501
|
+
en: "Columns",
|
|
502
|
+
};
|
|
503
|
+
const TABLE_CLEAR_FILTERS = {
|
|
504
|
+
en: "Clear filters",
|
|
505
|
+
};
|
|
506
|
+
const TABLE_EMPTY = {
|
|
507
|
+
en: "No records yet",
|
|
508
|
+
};
|
|
509
|
+
const TABLE_NO_RESULTS = {
|
|
510
|
+
en: "No records match your search and filters",
|
|
511
|
+
};
|
|
512
|
+
const TABLE_LOAD_FAILED = {
|
|
513
|
+
en: "The list could not be loaded",
|
|
514
|
+
};
|
|
515
|
+
const TABLE_LOAD_FAILED_HINT = {
|
|
516
|
+
en: "Check your connection and try again; your search and filters are kept.",
|
|
517
|
+
};
|
|
518
|
+
const TABLE_TOOLS = {
|
|
519
|
+
en: "List tools",
|
|
520
|
+
};
|
|
521
|
+
const TABLE_SELECTED = {
|
|
522
|
+
en: "Selected records",
|
|
523
|
+
};
|
|
524
|
+
const CROP_HELP = {
|
|
525
|
+
en: "Arrow keys move the image (Shift for more), plus and minus zoom, square brackets rotate.",
|
|
526
|
+
};
|
|
527
|
+
const CROP_STATUS = {
|
|
528
|
+
en: "Zoom {zoom}, {position}",
|
|
529
|
+
};
|
|
530
|
+
const CROP_CENTERED = {
|
|
531
|
+
en: "position centered",
|
|
532
|
+
};
|
|
533
|
+
const CROP_POSITION = {
|
|
534
|
+
en: "position {x} across, {y} down",
|
|
535
|
+
};
|
|
536
|
+
const CROP_ZOOM = {
|
|
537
|
+
en: "Zoom",
|
|
538
|
+
};
|
|
539
|
+
const CROP_ZOOM_IN = {
|
|
540
|
+
en: "Zoom in",
|
|
541
|
+
};
|
|
542
|
+
const CROP_ZOOM_OUT = {
|
|
543
|
+
en: "Zoom out",
|
|
544
|
+
};
|
|
545
|
+
const CROP_ROTATE_LEFT = {
|
|
546
|
+
en: "Rotate left",
|
|
547
|
+
};
|
|
548
|
+
const CROP_ROTATE_RIGHT = {
|
|
549
|
+
en: "Rotate right",
|
|
550
|
+
};
|
|
551
|
+
const CROP_ASPECT = {
|
|
552
|
+
en: "Aspect",
|
|
553
|
+
};
|
|
554
|
+
const CROP_FIT = {
|
|
555
|
+
en: "Fit",
|
|
556
|
+
};
|
|
557
|
+
const CROP_COVER = {
|
|
558
|
+
en: "Fill",
|
|
559
|
+
};
|
|
560
|
+
const CROP_CONTAIN = {
|
|
561
|
+
en: "Fit",
|
|
562
|
+
};
|
|
563
|
+
const CROP_SAVE_FAILED = {
|
|
564
|
+
en: "The image could not be saved. Try again, or choose a smaller image.",
|
|
565
|
+
};
|
|
566
|
+
const CROP_BACKGROUND = {
|
|
567
|
+
en: "Empty area color",
|
|
568
|
+
};
|
|
569
|
+
const COLOR_WHITE = {
|
|
570
|
+
en: "White",
|
|
571
|
+
};
|
|
572
|
+
const COLOR_LIGHT_GREY = {
|
|
573
|
+
en: "Light gray",
|
|
574
|
+
};
|
|
575
|
+
const COLOR_BLACK = {
|
|
576
|
+
en: "Black",
|
|
577
|
+
};
|
|
578
|
+
const CROP_OUTPUT = {
|
|
579
|
+
en: "Output: {size} · {type}",
|
|
580
|
+
};
|
|
581
|
+
const CROP_KEEPS_ALPHA = {
|
|
582
|
+
en: "transparent area kept",
|
|
583
|
+
};
|
|
584
|
+
const CROP_SMALL = {
|
|
585
|
+
en: "The image is {width} px wide; it is saved at {size} without enlarging.",
|
|
586
|
+
};
|
|
587
|
+
/** A crop over the surface's byte limit even at the lowest quality allowed; {size} is formatted by the caller. */
|
|
588
|
+
const CROP_TOO_LARGE = {
|
|
589
|
+
en: "The cropped image is over the {size} limit. Zoom in to crop a smaller area, or choose another image.",
|
|
590
|
+
};
|
|
591
|
+
const CROP_SAVE = {
|
|
592
|
+
en: "Crop and save",
|
|
593
|
+
};
|
|
594
|
+
const CROP_LOAD_FAILED = {
|
|
595
|
+
en: "The image could not be opened. Choose another file.",
|
|
596
|
+
};
|
|
597
|
+
const CHART_TREND = {
|
|
598
|
+
en: "Trend",
|
|
599
|
+
};
|
|
600
|
+
const CHART_SHARE = {
|
|
601
|
+
en: "Share",
|
|
602
|
+
};
|
|
603
|
+
const CHART_VALUE = {
|
|
604
|
+
en: "Value",
|
|
605
|
+
};
|
|
606
|
+
const COMMAND_PALETTE = {
|
|
607
|
+
en: "Command",
|
|
608
|
+
};
|
|
609
|
+
const COMMAND_SEARCH = {
|
|
610
|
+
en: "Search records or actions",
|
|
611
|
+
};
|
|
612
|
+
const RECENT_RECORDS = {
|
|
613
|
+
en: "Recent",
|
|
614
|
+
};
|
|
615
|
+
const FREQUENT_ACTIONS = {
|
|
616
|
+
en: "Frequent actions",
|
|
617
|
+
};
|
|
618
|
+
const HINT_MOVE = {
|
|
619
|
+
en: "move",
|
|
620
|
+
};
|
|
621
|
+
const HINT_OPEN = {
|
|
622
|
+
en: "open",
|
|
623
|
+
};
|
|
624
|
+
const HINT_CLOSE = {
|
|
625
|
+
en: "close",
|
|
626
|
+
};
|
|
627
|
+
const RANGE_TOO_SHORT = {
|
|
628
|
+
en: "Range too short",
|
|
629
|
+
};
|
|
630
|
+
const RANGE_TOO_LONG = {
|
|
631
|
+
en: "Range too long",
|
|
632
|
+
};
|
|
633
|
+
const RANGE_CROSSES_CLOSED = {
|
|
634
|
+
en: "A closed day is in between",
|
|
635
|
+
};
|
|
636
|
+
const RANGE_MIN = {
|
|
637
|
+
en: "Minimum",
|
|
638
|
+
};
|
|
639
|
+
const RANGE_MAX = {
|
|
640
|
+
en: "Maximum",
|
|
641
|
+
};
|
|
642
|
+
const REMOVE_FILE = {
|
|
643
|
+
en: "Remove file",
|
|
644
|
+
};
|
|
645
|
+
const REPLACE = {
|
|
646
|
+
en: "Replace",
|
|
647
|
+
};
|
|
648
|
+
const UPLOADED = {
|
|
649
|
+
en: "uploaded",
|
|
650
|
+
};
|
|
651
|
+
/** Locales with registered strings; English is built in. */
|
|
652
|
+
const registered = new Set(["en"]);
|
|
653
|
+
/** The table key for a locale: a registered exact tag ("pt-BR"), else its language ("pt"), else English. */
|
|
654
|
+
function tableKey(locale) {
|
|
655
|
+
const find = (tag) => {
|
|
656
|
+
const lower = tag.toLowerCase();
|
|
657
|
+
for (const key of registered)
|
|
658
|
+
if (key.toLowerCase() === lower)
|
|
659
|
+
return key;
|
|
660
|
+
const language = lower.split(/[-_]/)[0] ?? "en";
|
|
661
|
+
return registered.has(language) ? language : undefined;
|
|
662
|
+
};
|
|
663
|
+
// Inside components the locale is the alias target (`registerLocaleAliases`); its strings live under the app tag.
|
|
664
|
+
for (const source of aliasSourcesOf(locale)) {
|
|
665
|
+
const key = find(source);
|
|
666
|
+
if (key)
|
|
667
|
+
return key;
|
|
668
|
+
}
|
|
669
|
+
return find(locale) ?? "en";
|
|
670
|
+
}
|
|
671
|
+
/** Whether components have their own words for a locale; others fall back to English. */
|
|
672
|
+
export function hasDsStrings(locale) {
|
|
673
|
+
return tableKey(locale) !== "en" || locale.toLowerCase().split(/[-_]/)[0] === "en";
|
|
674
|
+
}
|
|
675
|
+
/**
|
|
676
|
+
* Add a language: give the component strings for `locale` (any subset; missing ones stay English).
|
|
677
|
+
* Call once at startup, before rendering, for every locale the app supports.
|
|
678
|
+
*
|
|
679
|
+
* registerDsStrings("de", { close: "Schließen", optional: "(optional)" });
|
|
680
|
+
*/
|
|
681
|
+
export function registerDsStrings(locale, strings) {
|
|
682
|
+
const tables = DS_STRINGS;
|
|
683
|
+
for (const [key, value] of Object.entries(strings)) {
|
|
684
|
+
if (key === "strength" && Array.isArray(value))
|
|
685
|
+
STRENGTH[locale] = value;
|
|
686
|
+
else if (key === "months" && Array.isArray(value))
|
|
687
|
+
MONTH_HAS_DAYS_MONTHS[locale] = value;
|
|
688
|
+
else if (key === "dateParts" && value && typeof value === "object")
|
|
689
|
+
DATE_PART_NAMES[locale] = value;
|
|
690
|
+
else if (key === "listAnd" && Array.isArray(value))
|
|
691
|
+
LIST_AND[locale] = value;
|
|
692
|
+
else if (typeof value === "string" && tables[key])
|
|
693
|
+
tables[key][locale] = value;
|
|
694
|
+
}
|
|
695
|
+
registered.add(locale);
|
|
696
|
+
}
|
|
697
|
+
function pick(strings, locale) {
|
|
698
|
+
return strings[tableKey(locale)] ?? strings.en;
|
|
699
|
+
}
|
|
700
|
+
const formatCount = (locale, count) => new Intl.NumberFormat(intlLocale(locale)).format(count);
|
|
701
|
+
export const closeLabel = (locale) => pick(CLOSE, locale);
|
|
702
|
+
export const newTabLabel = (locale) => pick(NEW_TAB, locale);
|
|
703
|
+
export const optionalLabel = (locale) => pick(OPTIONAL, locale);
|
|
704
|
+
export const clearLabel = (locale) => pick(CLEAR, locale);
|
|
705
|
+
export const showPasswordLabel = (locale) => pick(SHOW_PASSWORD, locale);
|
|
706
|
+
export const hidePasswordLabel = (locale) => pick(HIDE_PASSWORD, locale);
|
|
707
|
+
export function strengthLabels(locale) {
|
|
708
|
+
return STRENGTH[tableKey(locale)] ?? STRENGTH.en;
|
|
709
|
+
}
|
|
710
|
+
export function overLimitLabel(locale, count) {
|
|
711
|
+
return pick(OVER_LIMIT, locale).replace("{n}", formatCount(locale, count));
|
|
712
|
+
}
|
|
713
|
+
export const requiredLabel = (locale) => pick(REQUIRED, locale);
|
|
714
|
+
export const limitExceededLabel = (locale) => pick(LIMIT_EXCEEDED, locale);
|
|
715
|
+
export const resendLabel = (locale) => pick(RESEND, locale);
|
|
716
|
+
export function resendInLabel(locale, seconds) {
|
|
717
|
+
const time = `${Math.floor(seconds / 60)}:${String(seconds % 60).padStart(2, "0")}`;
|
|
718
|
+
return pick(RESEND_IN, locale).replace("{time}", time);
|
|
719
|
+
}
|
|
720
|
+
export const increaseLabel = (locale) => pick(INCREASE, locale);
|
|
721
|
+
export const decreaseLabel = (locale) => pick(DECREASE, locale);
|
|
722
|
+
export const chooseFilesLabel = (locale) => pick(CHOOSE_FILES, locale);
|
|
723
|
+
export const orChooseTemplate = (locale) => pick(OR_CHOOSE, locale);
|
|
724
|
+
export const upToLabel = (locale, size) => pick(UP_TO, locale).replace("{size}", size);
|
|
725
|
+
export const tooLargeLabel = (locale, size) => pick(TOO_LARGE, locale).replace("{size}", size);
|
|
726
|
+
export const wrongTypeLabel = (locale) => pick(WRONG_TYPE, locale);
|
|
727
|
+
export const onlyOneLabel = (locale) => pick(ONLY_ONE, locale);
|
|
728
|
+
export const selectPlaceholder = (locale) => pick(SELECT_PLACEHOLDER, locale);
|
|
729
|
+
export const selectAllLabel = (locale) => pick(SELECT_ALL, locale);
|
|
730
|
+
export const selectedCountLabel = (locale, count) => pick(SELECTED_COUNT, locale).replace("{count}", formatCount(locale, count));
|
|
731
|
+
export const moreCountLabel = (locale, count) => pick(MORE_COUNT, locale).replace("{count}", formatCount(locale, count));
|
|
732
|
+
export const removeItemLabel = (locale, label) => pick(REMOVE_ITEM, locale).replace("{label}", label);
|
|
733
|
+
export const noMatchLabel = (locale, query) => pick(NO_MATCH, locale).replace("{query}", query);
|
|
734
|
+
export const createItemLabel = (locale, query) => pick(CREATE_ITEM, locale).replace("{query}", query);
|
|
735
|
+
export const loadingLabel = (locale) => pick(LOADING, locale);
|
|
736
|
+
export const showSuggestionsLabel = (locale) => pick(SHOW_SUGGESTIONS, locale);
|
|
737
|
+
export const clearAllLabel = (locale) => pick(CLEAR_ALL, locale);
|
|
738
|
+
export const actionFailedLabel = (locale) => pick(ACTION_FAILED, locale);
|
|
739
|
+
export const retryLabel = (locale) => pick(RETRY, locale);
|
|
740
|
+
export const errorCodeLabel = (locale) => pick(ERROR_CODE, locale);
|
|
741
|
+
export const selectedLabel = (locale) => pick(SELECTED, locale);
|
|
742
|
+
export const onlineLabel = (locale) => pick(ONLINE, locale);
|
|
743
|
+
export const morePeopleLabel = (locale, count) => pick(MORE_PEOPLE, locale).replace("{count}", formatCount(locale, count));
|
|
744
|
+
export const deltaLabel = (locale, direction, value) => direction === "flat" ? pick(NO_CHANGE, locale) : pick(direction === "up" ? DELTA_UP : DELTA_DOWN, locale).replace("{value}", value);
|
|
745
|
+
export const notSetLabel = (locale) => pick(NOT_SET, locale);
|
|
746
|
+
export const copyValueLabel = (locale, label) => pick(COPY_VALUE, locale).replace("{label}", label);
|
|
747
|
+
export const copyLabel = (locale) => pick(COPY, locale);
|
|
748
|
+
export const copiedLabel = (locale) => pick(COPIED, locale);
|
|
749
|
+
export const copyFailedLabel = (locale) => pick(COPY_FAILED, locale);
|
|
750
|
+
export const imagePositionLabel = (locale, index, total) => pick(IMAGE_POSITION, locale).replace("{index}", formatCount(locale, index)).replace("{total}", formatCount(locale, total));
|
|
751
|
+
export const previousImageLabel = (locale) => pick(PREVIOUS_IMAGE, locale);
|
|
752
|
+
export const nextImageLabel = (locale) => pick(NEXT_IMAGE, locale);
|
|
753
|
+
export const goToImageLabel = (locale, index) => pick(GO_TO_IMAGE, locale).replace("{index}", formatCount(locale, index));
|
|
754
|
+
export const themeLabels = (locale) => ({
|
|
755
|
+
theme: pick(THEME, locale),
|
|
756
|
+
system: pick(THEME_SYSTEM, locale),
|
|
757
|
+
light: pick(THEME_LIGHT, locale),
|
|
758
|
+
dark: pick(THEME_DARK, locale),
|
|
759
|
+
nowLight: pick(THEME_NOW_LIGHT, locale),
|
|
760
|
+
nowDark: pick(THEME_NOW_DARK, locale),
|
|
761
|
+
});
|
|
762
|
+
export const previousMonthLabel = (locale) => pick(PREVIOUS_MONTH, locale);
|
|
763
|
+
export const nextMonthLabel = (locale) => pick(NEXT_MONTH, locale);
|
|
764
|
+
export const todayLabel = (locale) => pick(TODAY, locale);
|
|
765
|
+
export const previousYearLabel = (locale) => pick(PREVIOUS_YEAR, locale);
|
|
766
|
+
export const nextYearLabel = (locale) => pick(NEXT_YEAR, locale);
|
|
767
|
+
export const thisMonthLabel = (locale) => pick(THIS_MONTH, locale);
|
|
768
|
+
export const dateMinLabel = (locale, date, isMonth = false) => pick(isMonth ? MONTH_MIN : DATE_MIN, locale).replace("{date}", date);
|
|
769
|
+
export const dateMaxLabel = (locale, date, isMonth = false) => pick(isMonth ? MONTH_MAX : DATE_MAX, locale).replace("{date}", date);
|
|
770
|
+
export const dateUnavailableLabel = (locale) => pick(DATE_UNAVAILABLE, locale);
|
|
771
|
+
export const rangeStartLabel = (locale) => pick(RANGE_START, locale);
|
|
772
|
+
export const rangeEndLabel = (locale) => pick(RANGE_END, locale);
|
|
773
|
+
export const rangeStartTimeLabel = (locale) => pick(RANGE_START_TIME, locale);
|
|
774
|
+
export const rangeEndTimeLabel = (locale) => pick(RANGE_END_TIME, locale);
|
|
775
|
+
/** The missing parts, in the given order, as the object of the incomplete sentence ("the day and the month", "the day, the month, and the year"). */
|
|
776
|
+
export function datePartsLabel(locale, parts) {
|
|
777
|
+
const key = tableKey(locale);
|
|
778
|
+
const names = DATE_PART_NAMES[key] ?? DATE_PART_NAMES.en;
|
|
779
|
+
const [pair, last] = LIST_AND[key] ?? LIST_AND.en;
|
|
780
|
+
const words = parts.map((part) => names[part]);
|
|
781
|
+
if (words.length <= 1)
|
|
782
|
+
return words.join("");
|
|
783
|
+
if (words.length === 2)
|
|
784
|
+
return words.join(pair);
|
|
785
|
+
// Arabic lists take the Arabic comma ("اليوم، الشهر والسنة"); its "و" joins the next word with no space.
|
|
786
|
+
return words.slice(0, -1).join(key === "ar" ? "، " : ", ") + last + words[words.length - 1];
|
|
787
|
+
}
|
|
788
|
+
/** "Incomplete date: enter the month, or clear the field.": a date (`date`), a date and time (`dateTime`) or a time (`time`) typed in part. */
|
|
789
|
+
export const dateIncompleteLabel = (locale, parts, kind = "date") => pick(kind === "time" ? TIME_INCOMPLETE : kind === "dateTime" ? DATE_TIME_INCOMPLETE : DATE_INCOMPLETE, locale).replace("{parts}", datePartsLabel(locale, parts));
|
|
790
|
+
/**
|
|
791
|
+
* "November has 30 days.": a day past the end of a month that has `days` days. `month` is the Gregorian month
|
|
792
|
+
* (1–12); left out (a field in another calendar), the sentence says "this month". A locale without its own sentence
|
|
793
|
+
* reads the whole sentence in English, with an English month name. The count is written in Western Arabic digits.
|
|
794
|
+
*/
|
|
795
|
+
export function monthHasDaysLabel(locale, days, month) {
|
|
796
|
+
// A language without its own sentence uses English throughout, so no English sentence carries a foreign month.
|
|
797
|
+
const own = hasDsStrings(locale) ? tableKey(locale) : "en";
|
|
798
|
+
const key = MONTH_HAS_DAYS[own] !== undefined || THIS_MONTH_HAS_DAYS[own] !== undefined ? own : "en";
|
|
799
|
+
const intlMonth = (m) => new Intl.DateTimeFormat(intlLocale(locale), { month: "long" }).format(new Date(2000, m - 1, 1));
|
|
800
|
+
const name = month !== undefined ? (MONTH_HAS_DAYS_MONTHS[key]?.[month - 1] ?? intlMonth(month)) : undefined;
|
|
801
|
+
const withMonth = MONTH_HAS_DAYS[key] ?? MONTH_HAS_DAYS.en;
|
|
802
|
+
const plain = THIS_MONTH_HAS_DAYS[key] ?? THIS_MONTH_HAS_DAYS.en;
|
|
803
|
+
let sentence = name !== undefined ? withMonth.replace("{month}", name) : plain;
|
|
804
|
+
// Romanian puts "de" between a count and its noun from 20 on (and after 0), not for 1–19 (a 5- or 6-day month in the
|
|
805
|
+
// Ethiopic and Coptic calendars).
|
|
806
|
+
if (key === "ro" && days % 100 >= 1 && days % 100 <= 19)
|
|
807
|
+
sentence = sentence.replace("{n} de zile", "{n} zile");
|
|
808
|
+
// Arabic counts 3–10 take the plural "أيام"; 11–99 (every Gregorian month) the singular accusative "يومًا".
|
|
809
|
+
if (key === "ar" && days % 100 >= 3 && days % 100 <= 10)
|
|
810
|
+
sentence = sentence.replace("{n} يومًا", "{n} أيام");
|
|
811
|
+
return sentence.replace("{n}", String(days));
|
|
812
|
+
}
|
|
813
|
+
export const previewLabel = (locale) => pick(PREVIEW, locale);
|
|
814
|
+
export const previewActionLabel = (locale) => pick(PREVIEW_ACTION, locale);
|
|
815
|
+
export const lowContrastLabel = (locale, theme, ratio) => pick(theme === "light" ? LOW_IN_LIGHT : LOW_IN_DARK, locale).replace("{ratio}", ratio);
|
|
816
|
+
export const contrastFixLabel = (locale, theme, hex) => pick(theme === "light" ? FIX_IN_LIGHT : FIX_IN_DARK, locale).replace("{hex}", hex);
|
|
817
|
+
export const noStepPassesLabel = (locale) => pick(NO_STEP_PASSES, locale);
|
|
818
|
+
export const hexExpectedLabel = (locale, example) => pick(HEX_EXPECTED, locale).replace("{example}", example);
|
|
819
|
+
export const customColorLabel = (locale) => pick(CUSTOM_COLOR, locale);
|
|
820
|
+
export const nameSelectedLabel = (locale, name) => pick(NAME_SELECTED, locale).replace("{name}", name);
|
|
821
|
+
export const cancelLabel = (locale) => pick(CANCEL, locale);
|
|
822
|
+
export const typeToConfirmLabel = (locale, text) => pick(TYPE_TO_CONFIRM, locale).replace("{text}", text);
|
|
823
|
+
export const unsavedTitleLabel = (locale) => pick(UNSAVED_TITLE, locale);
|
|
824
|
+
export const unsavedBodyLabel = (locale) => pick(UNSAVED_BODY, locale);
|
|
825
|
+
export const discardCloseLabel = (locale) => pick(DISCARD_CLOSE, locale);
|
|
826
|
+
export const keepEditingLabel = (locale) => pick(KEEP_EDITING, locale);
|
|
827
|
+
export const expandSheetLabel = (locale) => pick(EXPAND_SHEET, locale);
|
|
828
|
+
export const collapseSheetLabel = (locale) => pick(COLLAPSE_SHEET, locale);
|
|
829
|
+
export const mainNavigationLabel = (locale) => pick(MAIN_NAVIGATION, locale);
|
|
830
|
+
export const stepLabel = (locale, n) => pick(STEP_N, locale).replace("{n}", formatCount(locale, n));
|
|
831
|
+
export const stepOfLabel = (locale, n, total) => pick(STEP_N_OF, locale).replace("{n}", formatCount(locale, n)).replace("{total}", formatCount(locale, total));
|
|
832
|
+
export const stepDoneLabel = (locale) => pick(STEP_DONE, locale);
|
|
833
|
+
export const stepNowLabel = (locale) => pick(STEP_NOW, locale);
|
|
834
|
+
export const stepNeedsYouLabel = (locale) => pick(STEP_NEEDS_YOU, locale);
|
|
835
|
+
export const stepWithProviderLabel = (locale) => pick(STEP_WITH_PROVIDER, locale);
|
|
836
|
+
export const stepFailedLabel = (locale) => pick(STEP_FAILED, locale);
|
|
837
|
+
export const progressStepsLabel = (locale) => pick(PROGRESS_STEPS, locale);
|
|
838
|
+
export const stepsAllDoneLabel = (locale) => pick(STEPS_ALL_DONE, locale);
|
|
839
|
+
export const clearSelectionLabel = (locale) => pick(CLEAR_SELECTION, locale);
|
|
840
|
+
export const skipToContentLabel = (locale) => pick(SKIP_TO_CONTENT, locale);
|
|
841
|
+
/** A sparkline's text summary: first, last, lowest and highest value. */
|
|
842
|
+
export const sparklineSummaryLabel = (locale, values) => pick(SPARKLINE_SUMMARY, locale).replace("{first}", values.first).replace("{last}", values.last).replace("{min}", values.min).replace("{max}", values.max);
|
|
843
|
+
export const gaugeTargetLabel = (locale, target) => pick(GAUGE_TARGET, locale).replace("{target}", target);
|
|
844
|
+
export const chartOtherLabel = (locale) => pick(CHART_OTHER, locale);
|
|
845
|
+
export const chartShareLabel = (locale) => pick(CHART_SHARE, locale);
|
|
846
|
+
export const chartTrendLabel = (locale) => pick(CHART_TREND, locale);
|
|
847
|
+
export const cropHelpLabel = (locale) => pick(CROP_HELP, locale);
|
|
848
|
+
export const cropStatusLabel = (locale, zoom, position) => pick(CROP_STATUS, locale).replace("{zoom}", zoom).replace("{position}", position);
|
|
849
|
+
export const cropCenteredLabel = (locale) => pick(CROP_CENTERED, locale);
|
|
850
|
+
export const cropPositionLabel = (locale, x, y) => pick(CROP_POSITION, locale).replace("{x}", x).replace("{y}", y);
|
|
851
|
+
export const cropZoomLabel = (locale) => pick(CROP_ZOOM, locale);
|
|
852
|
+
export const cropZoomInLabel = (locale) => pick(CROP_ZOOM_IN, locale);
|
|
853
|
+
export const cropZoomOutLabel = (locale) => pick(CROP_ZOOM_OUT, locale);
|
|
854
|
+
export const cropRotateLeftLabel = (locale) => pick(CROP_ROTATE_LEFT, locale);
|
|
855
|
+
export const cropRotateRightLabel = (locale) => pick(CROP_ROTATE_RIGHT, locale);
|
|
856
|
+
export const cropAspectLabel = (locale) => pick(CROP_ASPECT, locale);
|
|
857
|
+
export const cropFitLabel = (locale) => pick(CROP_FIT, locale);
|
|
858
|
+
export const cropCoverLabel = (locale) => pick(CROP_COVER, locale);
|
|
859
|
+
export const cropContainLabel = (locale) => pick(CROP_CONTAIN, locale);
|
|
860
|
+
export const cropSaveFailedLabel = (locale) => pick(CROP_SAVE_FAILED, locale);
|
|
861
|
+
export const cropBackgroundLabel = (locale) => pick(CROP_BACKGROUND, locale);
|
|
862
|
+
export const colorWhiteLabel = (locale) => pick(COLOR_WHITE, locale);
|
|
863
|
+
export const colorLightGreyLabel = (locale) => pick(COLOR_LIGHT_GREY, locale);
|
|
864
|
+
export const colorBlackLabel = (locale) => pick(COLOR_BLACK, locale);
|
|
865
|
+
export const cropOutputLabel = (locale, size, type) => pick(CROP_OUTPUT, locale).replace("{size}", size).replace("{type}", type);
|
|
866
|
+
export const cropKeepsAlphaLabel = (locale) => pick(CROP_KEEPS_ALPHA, locale);
|
|
867
|
+
export const cropSmallLabel = (locale, width, size) => pick(CROP_SMALL, locale).replace("{width}", width).replace("{size}", size);
|
|
868
|
+
export const cropSaveLabel = (locale) => pick(CROP_SAVE, locale);
|
|
869
|
+
export const cropTooLargeLabel = (locale, size) => pick(CROP_TOO_LARGE, locale).replace("{size}", size);
|
|
870
|
+
export const cropLoadFailedLabel = (locale) => pick(CROP_LOAD_FAILED, locale);
|
|
871
|
+
export const tableSearchLabel = (locale) => pick(TABLE_SEARCH, locale);
|
|
872
|
+
export const tableColumnsLabel = (locale) => pick(TABLE_COLUMNS, locale);
|
|
873
|
+
export const tableClearFiltersLabel = (locale) => pick(TABLE_CLEAR_FILTERS, locale);
|
|
874
|
+
export const tableEmptyLabel = (locale) => pick(TABLE_EMPTY, locale);
|
|
875
|
+
export const tableNoResultsLabel = (locale) => pick(TABLE_NO_RESULTS, locale);
|
|
876
|
+
export const tableLoadFailedLabel = (locale) => pick(TABLE_LOAD_FAILED, locale);
|
|
877
|
+
export const tableLoadFailedHintLabel = (locale) => pick(TABLE_LOAD_FAILED_HINT, locale);
|
|
878
|
+
export const tableToolsLabel = (locale) => pick(TABLE_TOOLS, locale);
|
|
879
|
+
export const tableSelectedLabel = (locale) => pick(TABLE_SELECTED, locale);
|
|
880
|
+
export const phoneCountryLabel = (locale, country, code) => pick(PHONE_COUNTRY, locale).replace("{country}", country).replace("{code}", code);
|
|
881
|
+
export const phoneCountryListLabel = (locale) => pick(PHONE_COUNTRY_LIST, locale);
|
|
882
|
+
export const phoneCountrySearchLabel = (locale) => pick(PHONE_COUNTRY_SEARCH, locale);
|
|
883
|
+
export const phoneSuggestedCountriesLabel = (locale) => pick(PHONE_SUGGESTED_COUNTRIES, locale);
|
|
884
|
+
export const phoneAllCountriesLabel = (locale) => pick(PHONE_ALL_COUNTRIES, locale);
|
|
885
|
+
export const phoneTooShortLabel = (locale, country, digits) => pick(PHONE_TOO_SHORT, locale).replace("{country}", country).replace("{digits}", digits);
|
|
886
|
+
export const phoneTooLongLabel = (locale, country, digits) => pick(PHONE_TOO_LONG, locale).replace("{country}", country).replace("{digits}", digits);
|
|
887
|
+
export const showAllLabel = (locale) => pick(SHOW_ALL, locale);
|
|
888
|
+
export const showFewerLabel = (locale) => pick(SHOW_FEWER, locale);
|
|
889
|
+
export const heatmapLessLabel = (locale) => pick(HEATMAP_LESS, locale);
|
|
890
|
+
export const heatmapMoreLabel = (locale) => pick(HEATMAP_MORE, locale);
|
|
891
|
+
export const chartBandLabel = (locale, from, to) => pick(CHART_BAND, locale).replace("{from}", from).replace("{to}", to);
|
|
892
|
+
export const chartStatusLabel = (locale) => pick(CHART_STATUS, locale);
|
|
893
|
+
export const chartConversionLabel = (locale) => pick(CHART_CONVERSION, locale);
|
|
894
|
+
export const chartValueLabel = (locale) => pick(CHART_VALUE, locale);
|
|
895
|
+
export const chartNoDataLabel = (locale) => pick(CHART_NO_DATA, locale);
|
|
896
|
+
export const chartPeriodLabel = (locale) => pick(CHART_PERIOD, locale);
|
|
897
|
+
export const chartCategoryLabel = (locale) => pick(CHART_CATEGORY, locale);
|
|
898
|
+
export const chartChangeLabel = (locale) => pick(CHART_CHANGE, locale);
|
|
899
|
+
export const chartTotalLabel = (locale) => pick(CHART_TOTAL, locale);
|
|
900
|
+
export const chartIncreaseLabel = (locale) => pick(CHART_INCREASE, locale);
|
|
901
|
+
export const chartDecreaseLabel = (locale) => pick(CHART_DECREASE, locale);
|
|
902
|
+
export const chartNoValueLabel = (locale) => pick(CHART_NO_VALUE, locale);
|
|
903
|
+
export const showDataTableLabel = (locale) => pick(SHOW_DATA_TABLE, locale);
|
|
904
|
+
export const hideDataTableLabel = (locale) => pick(HIDE_DATA_TABLE, locale);
|
|
905
|
+
/** The selection column's name where there is no select-all checkbox. */
|
|
906
|
+
export const selectionLabel = (locale) => pick(SELECTION, locale);
|
|
907
|
+
/** "Acme home": a brand link's name. */
|
|
908
|
+
export const homePageLabel = (locale, name) => pick(HOME_PAGE, locale).replace("{name}", name);
|
|
909
|
+
export const locationLabel = (locale) => pick(LOCATION, locale);
|
|
910
|
+
export const showHiddenLevelsLabel = (locale) => pick(SHOW_HIDDEN_LEVELS, locale);
|
|
911
|
+
export const pagesLabel = (locale) => pick(PAGES, locale);
|
|
912
|
+
export const previousPageLabel = (locale) => pick(PREVIOUS_PAGE, locale);
|
|
913
|
+
export const nextPageLabel = (locale) => pick(NEXT_PAGE, locale);
|
|
914
|
+
export const perPageLabel = (locale) => pick(PER_PAGE, locale);
|
|
915
|
+
export const pageLabel = (locale, n) => pick(PAGE_N, locale).replace("{n}", formatCount(locale, n));
|
|
916
|
+
export const pageOfLabel = (locale, page, total) => pick(PAGE_OF, locale).replace("{page}", formatCount(locale, page)).replace("{total}", formatCount(locale, total));
|
|
917
|
+
/** "41–60 of 1,204"; consumers name the items with their own sentence. */
|
|
918
|
+
export const rangeOfLabel = (locale, from, to, total) => pick(RANGE_OF, locale).replace("{from}", formatCount(locale, from)).replace("{to}", formatCount(locale, to)).replace("{total}", formatCount(locale, total));
|
|
919
|
+
export const openMenuLabel = (locale) => pick(OPEN_MENU, locale);
|
|
920
|
+
export const languageLabel = (locale) => pick(LANGUAGE, locale);
|
|
921
|
+
export const collapseSidebarLabel = (locale) => pick(COLLAPSE_SIDEBAR, locale);
|
|
922
|
+
export const expandSidebarLabel = (locale) => pick(EXPAND_SIDEBAR, locale);
|
|
923
|
+
export const commandPaletteLabel = (locale) => pick(COMMAND_PALETTE, locale);
|
|
924
|
+
export const commandSearchLabel = (locale) => pick(COMMAND_SEARCH, locale);
|
|
925
|
+
export const recentRecordsLabel = (locale) => pick(RECENT_RECORDS, locale);
|
|
926
|
+
export const frequentActionsLabel = (locale) => pick(FREQUENT_ACTIONS, locale);
|
|
927
|
+
export const commandHints = (locale) => ({ move: pick(HINT_MOVE, locale), open: pick(HINT_OPEN, locale), close: pick(HINT_CLOSE, locale) });
|
|
928
|
+
export const rangeTooShortLabel = (locale) => pick(RANGE_TOO_SHORT, locale);
|
|
929
|
+
export const rangeTooLongLabel = (locale) => pick(RANGE_TOO_LONG, locale);
|
|
930
|
+
export const rangeCrossesClosedLabel = (locale) => pick(RANGE_CROSSES_CLOSED, locale);
|
|
931
|
+
export const rangeMinLabel = (locale) => pick(RANGE_MIN, locale);
|
|
932
|
+
export const rangeMaxLabel = (locale) => pick(RANGE_MAX, locale);
|
|
933
|
+
export const cancelUploadLabel = (locale) => pick(CANCEL_UPLOAD, locale);
|
|
934
|
+
export const removeFileLabel = (locale) => pick(REMOVE_FILE, locale);
|
|
935
|
+
export const replaceLabel = (locale) => pick(REPLACE, locale);
|
|
936
|
+
export const uploadedLabel = (locale) => pick(UPLOADED, locale);
|
|
937
|
+
export const DS_STRINGS = {
|
|
938
|
+
chooseFiles: CHOOSE_FILES, orChoose: OR_CHOOSE, upTo: UP_TO, tooLarge: TOO_LARGE, wrongType: WRONG_TYPE, onlyOne: ONLY_ONE, selectPlaceholder: SELECT_PLACEHOLDER, selectAll: SELECT_ALL, selectedCount: SELECTED_COUNT, moreCount: MORE_COUNT, removeItem: REMOVE_ITEM, noMatch: NO_MATCH, createItem: CREATE_ITEM, loading: LOADING, showSuggestions: SHOW_SUGGESTIONS, clearAll: CLEAR_ALL, actionFailed: ACTION_FAILED, retry: RETRY, errorCode: ERROR_CODE, selected: SELECTED, online: ONLINE, morePeople: MORE_PEOPLE, deltaUp: DELTA_UP, deltaDown: DELTA_DOWN, noChange: NO_CHANGE, notSet: NOT_SET, copyValue: COPY_VALUE, copy: COPY, copied: COPIED, copyFailed: COPY_FAILED, imagePosition: IMAGE_POSITION, previousImage: PREVIOUS_IMAGE, nextImage: NEXT_IMAGE, goToImage: GO_TO_IMAGE, previousMonth: PREVIOUS_MONTH, nextMonth: NEXT_MONTH, theme: THEME, themeSystem: THEME_SYSTEM, themeLight: THEME_LIGHT, themeDark: THEME_DARK, themeNowLight: THEME_NOW_LIGHT, themeNowDark: THEME_NOW_DARK, rangeMin: RANGE_MIN, rangeMax: RANGE_MAX, rangeTooShort: RANGE_TOO_SHORT, rangeTooLong: RANGE_TOO_LONG, rangeCrossesClosed: RANGE_CROSSES_CLOSED, today: TODAY, rangeStart: RANGE_START, rangeEnd: RANGE_END, rangeStartTime: RANGE_START_TIME, rangeEndTime: RANGE_END_TIME, monthHasDays: MONTH_HAS_DAYS, thisMonthHasDays: THIS_MONTH_HAS_DAYS, dateIncomplete: DATE_INCOMPLETE, dateTimeIncomplete: DATE_TIME_INCOMPLETE, timeIncomplete: TIME_INCOMPLETE, preview: PREVIEW, previewAction: PREVIEW_ACTION, lowInLight: LOW_IN_LIGHT, lowInDark: LOW_IN_DARK, fixInLight: FIX_IN_LIGHT, fixInDark: FIX_IN_DARK, noStepPasses: NO_STEP_PASSES, hexExpected: HEX_EXPECTED, customColor: CUSTOM_COLOR, nameSelected: NAME_SELECTED, cancel: CANCEL, typeToConfirm: TYPE_TO_CONFIRM, unsavedTitle: UNSAVED_TITLE, unsavedBody: UNSAVED_BODY, discardClose: DISCARD_CLOSE, keepEditing: KEEP_EDITING, expandSheet: EXPAND_SHEET, collapseSheet: COLLAPSE_SHEET, location: LOCATION, showHiddenLevels: SHOW_HIDDEN_LEVELS, pages: PAGES, previousPage: PREVIOUS_PAGE, nextPage: NEXT_PAGE, pageN: PAGE_N, pageOf: PAGE_OF, rangeOf: RANGE_OF, perPage: PER_PAGE, stepN: STEP_N, stepNOf: STEP_N_OF, stepDone: STEP_DONE, stepNow: STEP_NOW, stepNeedsYou: STEP_NEEDS_YOU, stepWithProvider: STEP_WITH_PROVIDER, stepFailed: STEP_FAILED, progressSteps: PROGRESS_STEPS, stepsAllDone: STEPS_ALL_DONE, clearSelection: CLEAR_SELECTION, skipToContent: SKIP_TO_CONTENT, sparklineSummary: SPARKLINE_SUMMARY, gaugeTarget: GAUGE_TARGET, chartOther: CHART_OTHER, chartShare: CHART_SHARE, chartTrend: CHART_TREND, cropHelp: CROP_HELP, cropStatus: CROP_STATUS, cropCentered: CROP_CENTERED, cropPosition: CROP_POSITION, cropZoom: CROP_ZOOM, cropZoomIn: CROP_ZOOM_IN, cropZoomOut: CROP_ZOOM_OUT, cropRotateLeft: CROP_ROTATE_LEFT, cropRotateRight: CROP_ROTATE_RIGHT, cropAspect: CROP_ASPECT, cropFit: CROP_FIT, cropCover: CROP_COVER, cropContain: CROP_CONTAIN, cropSaveFailed: CROP_SAVE_FAILED, cropBackground: CROP_BACKGROUND, colorWhite: COLOR_WHITE, colorLightGrey: COLOR_LIGHT_GREY, colorBlack: COLOR_BLACK, cropOutput: CROP_OUTPUT, cropKeepsAlpha: CROP_KEEPS_ALPHA, cropSmall: CROP_SMALL, cropSave: CROP_SAVE, cropTooLarge: CROP_TOO_LARGE, cropLoadFailed: CROP_LOAD_FAILED, tableSearch: TABLE_SEARCH, tableColumns: TABLE_COLUMNS, tableClearFilters: TABLE_CLEAR_FILTERS, tableEmpty: TABLE_EMPTY, tableNoResults: TABLE_NO_RESULTS, tableLoadFailed: TABLE_LOAD_FAILED, tableLoadFailedHint: TABLE_LOAD_FAILED_HINT, tableTools: TABLE_TOOLS, tableSelected: TABLE_SELECTED, phoneCountry: PHONE_COUNTRY, phoneCountryList: PHONE_COUNTRY_LIST, phoneCountrySearch: PHONE_COUNTRY_SEARCH, phoneSuggestedCountries: PHONE_SUGGESTED_COUNTRIES, phoneAllCountries: PHONE_ALL_COUNTRIES, phoneTooShort: PHONE_TOO_SHORT, phoneTooLong: PHONE_TOO_LONG, showAll: SHOW_ALL, showFewer: SHOW_FEWER, heatmapLess: HEATMAP_LESS, heatmapMore: HEATMAP_MORE, chartBand: CHART_BAND, chartStatus: CHART_STATUS, chartConversion: CHART_CONVERSION, chartValue: CHART_VALUE, chartNoData: CHART_NO_DATA, chartPeriod: CHART_PERIOD, chartCategory: CHART_CATEGORY, chartChange: CHART_CHANGE, chartTotal: CHART_TOTAL, chartIncrease: CHART_INCREASE, chartDecrease: CHART_DECREASE, chartNoValue: CHART_NO_VALUE, showDataTable: SHOW_DATA_TABLE, hideDataTable: HIDE_DATA_TABLE, selection: SELECTION, homePage: HOME_PAGE, mainNavigation: MAIN_NAVIGATION, openMenu: OPEN_MENU, language: LANGUAGE, collapseSidebar: COLLAPSE_SIDEBAR, expandSidebar: EXPAND_SIDEBAR, commandPalette: COMMAND_PALETTE, commandSearch: COMMAND_SEARCH, recentRecords: RECENT_RECORDS, frequentActions: FREQUENT_ACTIONS, hintMove: HINT_MOVE, hintOpen: HINT_OPEN, hintClose: HINT_CLOSE,
|
|
939
|
+
cancelUpload: CANCEL_UPLOAD, removeFile: REMOVE_FILE, replace: REPLACE, uploaded: UPLOADED,
|
|
940
|
+
resend: RESEND, resendIn: RESEND_IN, increase: INCREASE, decrease: DECREASE,
|
|
941
|
+
required: REQUIRED, limitExceeded: LIMIT_EXCEEDED,
|
|
942
|
+
close: CLOSE, newTab: NEW_TAB, optional: OPTIONAL, clear: CLEAR, showPassword: SHOW_PASSWORD,
|
|
943
|
+
hidePassword: HIDE_PASSWORD, overLimit: OVER_LIMIT,
|
|
944
|
+
previousYear: PREVIOUS_YEAR, nextYear: NEXT_YEAR, thisMonth: THIS_MONTH,
|
|
945
|
+
dateMin: DATE_MIN, dateMax: DATE_MAX, monthMin: MONTH_MIN, monthMax: MONTH_MAX, dateUnavailable: DATE_UNAVAILABLE,
|
|
946
|
+
};
|
|
947
|
+
export const DS_STRENGTH = STRENGTH;
|
|
948
|
+
//# sourceMappingURL=i18n.js.map
|