@mgamadeus/ddd-admin-ui 0.1.0-rc.1 → 0.1.0-rc.2
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/.claude/skills/ddd-admin-ui-specialist/SKILL.md +148 -18
- package/CHANGELOG.md +17 -0
- package/README.md +196 -88
- package/STANDARDS.md +385 -0
- package/dist/components.css +167 -22
- package/dist/form/DrawerFooter.d.ts +18 -0
- package/dist/form/DrawerFooter.d.ts.map +1 -0
- package/dist/form/DrawerFooter.js +47 -0
- package/dist/form/DrawerFooter.js.map +1 -0
- package/dist/form/Form.d.ts +25 -10
- package/dist/form/Form.d.ts.map +1 -1
- package/dist/form/Form.js +17 -8
- package/dist/form/Form.js.map +1 -1
- package/dist/form/FormActions.d.ts +35 -0
- package/dist/form/FormActions.d.ts.map +1 -0
- package/dist/form/FormActions.js +80 -0
- package/dist/form/FormActions.js.map +1 -0
- package/dist/form/FormDrawer.d.ts +36 -0
- package/dist/form/FormDrawer.d.ts.map +1 -0
- package/dist/form/FormDrawer.js +31 -0
- package/dist/form/FormDrawer.js.map +1 -0
- package/dist/form/FormErrors.d.ts +22 -0
- package/dist/form/FormErrors.d.ts.map +1 -0
- package/dist/form/FormErrors.js +46 -0
- package/dist/form/FormErrors.js.map +1 -0
- package/dist/form/FormField.d.ts +74 -0
- package/dist/form/FormField.d.ts.map +1 -0
- package/dist/form/FormField.js +46 -0
- package/dist/form/FormField.js.map +1 -0
- package/dist/form/FormHeader.d.ts +20 -0
- package/dist/form/FormHeader.d.ts.map +1 -0
- package/dist/form/FormHeader.js +9 -0
- package/dist/form/FormHeader.js.map +1 -0
- package/dist/form/FormJumpBar.d.ts +20 -0
- package/dist/form/FormJumpBar.d.ts.map +1 -0
- package/dist/form/FormJumpBar.js +49 -0
- package/dist/form/FormJumpBar.js.map +1 -0
- package/dist/form/FormSubmitButton.d.ts +17 -0
- package/dist/form/FormSubmitButton.d.ts.map +1 -0
- package/dist/form/FormSubmitButton.js +14 -0
- package/dist/form/FormSubmitButton.js.map +1 -0
- package/dist/form/FormWrapper.d.ts +13 -0
- package/dist/form/FormWrapper.d.ts.map +1 -0
- package/dist/form/FormWrapper.js +15 -0
- package/dist/form/FormWrapper.js.map +1 -0
- package/dist/form/drawerSlots.d.ts +10 -0
- package/dist/form/drawerSlots.d.ts.map +1 -0
- package/dist/form/drawerSlots.js +7 -0
- package/dist/form/drawerSlots.js.map +1 -0
- package/dist/form/fieldLabels.d.ts +15 -8
- package/dist/form/fieldLabels.d.ts.map +1 -1
- package/dist/form/fieldLabels.js +18 -6
- package/dist/form/fieldLabels.js.map +1 -1
- package/dist/form/formPanelClasses.d.ts +3 -0
- package/dist/form/formPanelClasses.d.ts.map +1 -0
- package/dist/form/formPanelClasses.js +3 -0
- package/dist/form/formPanelClasses.js.map +1 -0
- package/dist/form/index.d.ts +57 -2
- package/dist/form/index.d.ts.map +1 -1
- package/dist/form/index.js +33 -2
- package/dist/form/index.js.map +1 -1
- package/dist/form/useConfirmDialog.d.ts +9 -0
- package/dist/form/useConfirmDialog.d.ts.map +1 -0
- package/dist/form/useConfirmDialog.js +29 -0
- package/dist/form/useConfirmDialog.js.map +1 -0
- package/dist/glass/ActionRow.d.ts +27 -0
- package/dist/glass/ActionRow.d.ts.map +1 -0
- package/dist/glass/ActionRow.js +22 -0
- package/dist/glass/ActionRow.js.map +1 -0
- package/dist/glass/CollapsibleCard.d.ts +36 -0
- package/dist/glass/CollapsibleCard.d.ts.map +1 -0
- package/dist/glass/CollapsibleCard.js +27 -0
- package/dist/glass/CollapsibleCard.js.map +1 -0
- package/dist/glass/GlassGroup.d.ts +26 -0
- package/dist/glass/GlassGroup.d.ts.map +1 -0
- package/dist/glass/GlassGroup.js +34 -0
- package/dist/glass/GlassGroup.js.map +1 -0
- package/dist/glass/GlassPill.d.ts +23 -0
- package/dist/glass/GlassPill.d.ts.map +1 -0
- package/dist/glass/GlassPill.js +20 -0
- package/dist/glass/GlassPill.js.map +1 -0
- package/dist/glass/QuickFilterPills.d.ts +38 -0
- package/dist/glass/QuickFilterPills.d.ts.map +1 -0
- package/dist/glass/QuickFilterPills.js +30 -0
- package/dist/glass/QuickFilterPills.js.map +1 -0
- package/dist/glass/index.d.ts +10 -1
- package/dist/glass/index.d.ts.map +1 -1
- package/dist/glass/index.js +6 -1
- package/dist/glass/index.js.map +1 -1
- package/dist/i18n/Translate.d.ts +5 -4
- package/dist/i18n/Translate.d.ts.map +1 -1
- package/dist/i18n/Translate.js +3 -3
- package/dist/i18n/Translate.js.map +1 -1
- package/dist/i18n/format.d.ts +13 -0
- package/dist/i18n/format.d.ts.map +1 -0
- package/dist/i18n/format.js +15 -0
- package/dist/i18n/format.js.map +1 -0
- package/dist/i18n/hints.json +130 -0
- package/dist/i18n/index.d.ts +5 -3
- package/dist/i18n/index.d.ts.map +1 -1
- package/dist/i18n/index.js +5 -3
- package/dist/i18n/index.js.map +1 -1
- package/dist/i18n/localeFormat.d.ts +10 -0
- package/dist/i18n/localeFormat.d.ts.map +1 -0
- package/dist/i18n/localeFormat.js +36 -0
- package/dist/i18n/localeFormat.js.map +1 -0
- package/dist/i18n/plural.d.ts +15 -0
- package/dist/i18n/plural.d.ts.map +1 -0
- package/dist/i18n/plural.js +95 -0
- package/dist/i18n/plural.js.map +1 -0
- package/dist/i18n/serverMessages.d.ts +26 -0
- package/dist/i18n/serverMessages.d.ts.map +1 -0
- package/dist/i18n/serverMessages.js +146 -0
- package/dist/i18n/serverMessages.js.map +1 -0
- package/dist/i18n/store.d.ts +28 -16
- package/dist/i18n/store.d.ts.map +1 -1
- package/dist/i18n/store.js +26 -20
- package/dist/i18n/store.js.map +1 -1
- package/dist/i18n/useTranslate.d.ts +15 -7
- package/dist/i18n/useTranslate.d.ts.map +1 -1
- package/dist/i18n/useTranslate.js +17 -7
- package/dist/i18n/useTranslate.js.map +1 -1
- package/dist/i18n-keys.json +1050 -13
- package/dist/list/ChipToggleGroup.d.ts +36 -0
- package/dist/list/ChipToggleGroup.d.ts.map +1 -0
- package/dist/list/ChipToggleGroup.js +34 -0
- package/dist/list/ChipToggleGroup.js.map +1 -0
- package/dist/list/Combobox.d.ts +32 -0
- package/dist/list/Combobox.d.ts.map +1 -0
- package/dist/list/Combobox.js +27 -0
- package/dist/list/Combobox.js.map +1 -0
- package/dist/list/EmptyValue.d.ts +14 -0
- package/dist/list/EmptyValue.d.ts.map +1 -0
- package/dist/list/EmptyValue.js +11 -0
- package/dist/list/EmptyValue.js.map +1 -0
- package/dist/list/EntityListBody.d.ts +27 -0
- package/dist/list/EntityListBody.d.ts.map +1 -0
- package/dist/list/EntityListBody.js +24 -0
- package/dist/list/EntityListBody.js.map +1 -0
- package/dist/list/EntityListBulkBar.d.ts +38 -0
- package/dist/list/EntityListBulkBar.d.ts.map +1 -0
- package/dist/list/EntityListBulkBar.js +19 -0
- package/dist/list/EntityListBulkBar.js.map +1 -0
- package/dist/list/EntityListCard.d.ts +22 -0
- package/dist/list/EntityListCard.d.ts.map +1 -0
- package/dist/list/EntityListCard.js +15 -0
- package/dist/list/EntityListCard.js.map +1 -0
- package/dist/list/EntityListEmpty.d.ts +13 -0
- package/dist/list/EntityListEmpty.d.ts.map +1 -0
- package/dist/list/EntityListEmpty.js +11 -0
- package/dist/list/EntityListEmpty.js.map +1 -0
- package/dist/list/EntityListGrid.d.ts +29 -0
- package/dist/list/EntityListGrid.d.ts.map +1 -0
- package/dist/list/EntityListGrid.js +21 -0
- package/dist/list/EntityListGrid.js.map +1 -0
- package/dist/list/EntityListLoadMore.d.ts +15 -0
- package/dist/list/EntityListLoadMore.d.ts.map +1 -0
- package/dist/list/EntityListLoadMore.js +27 -0
- package/dist/list/EntityListLoadMore.js.map +1 -0
- package/dist/list/EntityListStatus.d.ts +11 -0
- package/dist/list/EntityListStatus.d.ts.map +1 -0
- package/dist/list/EntityListStatus.js +22 -0
- package/dist/list/EntityListStatus.js.map +1 -0
- package/dist/list/EntityListTable.d.ts +34 -0
- package/dist/list/EntityListTable.d.ts.map +1 -0
- package/dist/list/EntityListTable.js +43 -0
- package/dist/list/EntityListTable.js.map +1 -0
- package/dist/list/EntityListToolbar.d.ts +39 -0
- package/dist/list/EntityListToolbar.d.ts.map +1 -0
- package/dist/list/EntityListToolbar.js +25 -0
- package/dist/list/EntityListToolbar.js.map +1 -0
- package/dist/list/EntityListViewToggle.d.ts +17 -0
- package/dist/list/EntityListViewToggle.d.ts.map +1 -0
- package/dist/list/EntityListViewToggle.js +38 -0
- package/dist/list/EntityListViewToggle.js.map +1 -0
- package/dist/list/MultiSelect.d.ts +33 -0
- package/dist/list/MultiSelect.d.ts.map +1 -0
- package/dist/list/MultiSelect.js +60 -0
- package/dist/list/MultiSelect.js.map +1 -0
- package/dist/list/SearchField.d.ts +24 -0
- package/dist/list/SearchField.d.ts.map +1 -0
- package/dist/list/SearchField.js +42 -0
- package/dist/list/SearchField.js.map +1 -0
- package/dist/list/StatusBadge.d.ts +34 -0
- package/dist/list/StatusBadge.d.ts.map +1 -0
- package/dist/list/StatusBadge.js +44 -0
- package/dist/list/StatusBadge.js.map +1 -0
- package/dist/list/Tag.d.ts +16 -0
- package/dist/list/Tag.d.ts.map +1 -0
- package/dist/list/Tag.js +15 -0
- package/dist/list/Tag.js.map +1 -0
- package/dist/list/cells.d.ts +53 -0
- package/dist/list/cells.d.ts.map +1 -0
- package/dist/list/cells.js +62 -0
- package/dist/list/cells.js.map +1 -0
- package/dist/list/filterClasses.d.ts +8 -0
- package/dist/list/filterClasses.d.ts.map +1 -0
- package/dist/list/filterClasses.js +8 -0
- package/dist/list/filterClasses.js.map +1 -0
- package/dist/list/filterOptions.d.ts +7 -0
- package/dist/list/filterOptions.d.ts.map +1 -0
- package/dist/list/filterOptions.js +7 -0
- package/dist/list/filterOptions.js.map +1 -0
- package/dist/list/filters.d.ts +78 -0
- package/dist/list/filters.d.ts.map +1 -0
- package/dist/list/filters.js +54 -0
- package/dist/list/filters.js.map +1 -0
- package/dist/list/index.d.ts +88 -2
- package/dist/list/index.d.ts.map +1 -1
- package/dist/list/index.js +50 -2
- package/dist/list/index.js.map +1 -1
- package/dist/list/types.d.ts +59 -0
- package/dist/list/types.d.ts.map +1 -0
- package/dist/list/types.js +3 -0
- package/dist/list/types.js.map +1 -0
- package/dist/logic/browser/prepareImageFile.d.ts +18 -0
- package/dist/logic/browser/prepareImageFile.d.ts.map +1 -0
- package/dist/logic/browser/prepareImageFile.js +26 -0
- package/dist/logic/browser/prepareImageFile.js.map +1 -0
- package/dist/logic/index.d.ts +56 -5
- package/dist/logic/index.d.ts.map +1 -1
- package/dist/logic/index.js +37 -4
- package/dist/logic/index.js.map +1 -1
- package/dist/logic/pure/conditions.d.ts +46 -0
- package/dist/logic/pure/conditions.d.ts.map +1 -0
- package/dist/logic/pure/conditions.js +39 -0
- package/dist/logic/pure/conditions.js.map +1 -0
- package/dist/logic/pure/confirm.d.ts +19 -0
- package/dist/logic/pure/confirm.d.ts.map +1 -0
- package/dist/logic/pure/confirm.js +10 -0
- package/dist/logic/pure/confirm.js.map +1 -0
- package/dist/logic/pure/displayMode.d.ts +12 -0
- package/dist/logic/pure/displayMode.d.ts.map +1 -0
- package/dist/logic/pure/displayMode.js +11 -0
- package/dist/logic/pure/displayMode.js.map +1 -0
- package/dist/logic/pure/entityDrawer.d.ts +24 -0
- package/dist/logic/pure/entityDrawer.d.ts.map +1 -0
- package/dist/logic/pure/entityDrawer.js +3 -0
- package/dist/logic/pure/entityDrawer.js.map +1 -0
- package/dist/logic/pure/fieldPath.d.ts +9 -0
- package/dist/logic/pure/fieldPath.d.ts.map +1 -0
- package/dist/logic/pure/fieldPath.js +17 -0
- package/dist/logic/pure/fieldPath.js.map +1 -0
- package/dist/logic/pure/formValues.d.ts +14 -0
- package/dist/logic/pure/formValues.d.ts.map +1 -0
- package/dist/logic/pure/formValues.js +82 -0
- package/dist/logic/pure/formValues.js.map +1 -0
- package/dist/logic/pure/format.d.ts +14 -14
- package/dist/logic/pure/format.d.ts.map +1 -1
- package/dist/logic/pure/format.js +50 -29
- package/dist/logic/pure/format.js.map +1 -1
- package/dist/logic/pure/locales.d.ts +27 -0
- package/dist/logic/pure/locales.d.ts.map +1 -0
- package/dist/logic/pure/locales.js +50 -0
- package/dist/logic/pure/locales.js.map +1 -0
- package/dist/logic/pure/notify.d.ts +28 -5
- package/dist/logic/pure/notify.d.ts.map +1 -1
- package/dist/logic/pure/notify.js +41 -22
- package/dist/logic/pure/notify.js.map +1 -1
- package/dist/logic/pure/rowActivation.d.ts +6 -0
- package/dist/logic/pure/rowActivation.d.ts.map +1 -0
- package/dist/logic/pure/rowActivation.js +7 -0
- package/dist/logic/pure/rowActivation.js.map +1 -0
- package/dist/logic/pure/runSequential.d.ts +31 -0
- package/dist/logic/pure/runSequential.d.ts.map +1 -0
- package/dist/logic/pure/runSequential.js +47 -0
- package/dist/logic/pure/runSequential.js.map +1 -0
- package/dist/logic/pure/schemas.d.ts +14 -0
- package/dist/logic/pure/schemas.d.ts.map +1 -0
- package/dist/logic/pure/schemas.js +6 -0
- package/dist/logic/pure/schemas.js.map +1 -0
- package/dist/logic/pure/serverViolations.d.ts +35 -0
- package/dist/logic/pure/serverViolations.d.ts.map +1 -0
- package/dist/logic/pure/serverViolations.js +77 -0
- package/dist/logic/pure/serverViolations.js.map +1 -0
- package/dist/logic/pure/status.d.ts +21 -0
- package/dist/logic/pure/status.d.ts.map +1 -0
- package/dist/logic/pure/status.js +3 -0
- package/dist/logic/pure/status.js.map +1 -0
- package/dist/logic/pure/submitError.d.ts +11 -0
- package/dist/logic/pure/submitError.d.ts.map +1 -0
- package/dist/logic/pure/submitError.js +9 -0
- package/dist/logic/pure/submitError.js.map +1 -0
- package/dist/logic/pure/translationState.d.ts +29 -0
- package/dist/logic/pure/translationState.d.ts.map +1 -0
- package/dist/logic/pure/translationState.js +88 -0
- package/dist/logic/pure/translationState.js.map +1 -0
- package/dist/logic/pure/urlListState.d.ts +18 -0
- package/dist/logic/pure/urlListState.d.ts.map +1 -0
- package/dist/logic/pure/urlListState.js +3 -0
- package/dist/logic/pure/urlListState.js.map +1 -0
- package/dist/logic/react/conditionHooks.d.ts +20 -0
- package/dist/logic/react/conditionHooks.d.ts.map +1 -0
- package/dist/logic/react/conditionHooks.js +51 -0
- package/dist/logic/react/conditionHooks.js.map +1 -0
- package/dist/logic/react/useCopyToClipboard.d.ts +9 -0
- package/dist/logic/react/useCopyToClipboard.d.ts.map +1 -0
- package/dist/logic/react/useCopyToClipboard.js +28 -0
- package/dist/logic/react/useCopyToClipboard.js.map +1 -0
- package/dist/logic/react/useDebouncedValue.d.ts +3 -0
- package/dist/logic/react/useDebouncedValue.d.ts.map +1 -0
- package/dist/logic/react/useDebouncedValue.js +12 -0
- package/dist/logic/react/useDebouncedValue.js.map +1 -0
- package/dist/logic/react/useEntityDrawer.d.ts +54 -0
- package/dist/logic/react/useEntityDrawer.d.ts.map +1 -0
- package/dist/logic/react/useEntityDrawer.js +81 -0
- package/dist/logic/react/useEntityDrawer.js.map +1 -0
- package/dist/logic/react/useEntityTranslations.d.ts +57 -0
- package/dist/logic/react/useEntityTranslations.d.ts.map +1 -0
- package/dist/logic/react/useEntityTranslations.js +50 -0
- package/dist/logic/react/useEntityTranslations.js.map +1 -0
- package/dist/logic/react/useFormDirty.d.ts +15 -0
- package/dist/logic/react/useFormDirty.d.ts.map +1 -0
- package/dist/logic/react/useFormDirty.js +17 -0
- package/dist/logic/react/useFormDirty.js.map +1 -0
- package/dist/logic/react/useGrowingWindowList.d.ts +50 -0
- package/dist/logic/react/useGrowingWindowList.d.ts.map +1 -0
- package/dist/logic/react/useGrowingWindowList.js +38 -0
- package/dist/logic/react/useGrowingWindowList.js.map +1 -0
- package/dist/logic/react/useHydrated.d.ts +7 -0
- package/dist/logic/react/useHydrated.d.ts.map +1 -0
- package/dist/logic/react/useHydrated.js +12 -0
- package/dist/logic/react/useHydrated.js.map +1 -0
- package/dist/logic/react/useInfiniteScrollSentinel.d.ts +6 -0
- package/dist/logic/react/useInfiniteScrollSentinel.d.ts.map +1 -0
- package/dist/logic/react/useInfiniteScrollSentinel.js +24 -0
- package/dist/logic/react/useInfiniteScrollSentinel.js.map +1 -0
- package/dist/logic/react/useLocaleName.d.ts +3 -0
- package/dist/logic/react/useLocaleName.d.ts.map +1 -0
- package/dist/logic/react/useLocaleName.js +10 -0
- package/dist/logic/react/useLocaleName.js.map +1 -0
- package/dist/logic/react/useRowActivation.d.ts +12 -0
- package/dist/logic/react/useRowActivation.d.ts.map +1 -0
- package/dist/logic/react/useRowActivation.js +35 -0
- package/dist/logic/react/useRowActivation.js.map +1 -0
- package/dist/logic/react/useRowSelection.d.ts +40 -0
- package/dist/logic/react/useRowSelection.d.ts.map +1 -0
- package/dist/logic/react/useRowSelection.js +70 -0
- package/dist/logic/react/useRowSelection.js.map +1 -0
- package/dist/logic/react/useTranslationRunner.d.ts +27 -0
- package/dist/logic/react/useTranslationRunner.d.ts.map +1 -0
- package/dist/logic/react/useTranslationRunner.js +57 -0
- package/dist/logic/react/useTranslationRunner.js.map +1 -0
- package/dist/logic/react/useUnsavedChangesGuard.d.ts +30 -0
- package/dist/logic/react/useUnsavedChangesGuard.d.ts.map +1 -0
- package/dist/logic/react/useUnsavedChangesGuard.js +66 -0
- package/dist/logic/react/useUnsavedChangesGuard.js.map +1 -0
- package/dist/logic/react/useUrlListState.d.ts +39 -0
- package/dist/logic/react/useUrlListState.d.ts.map +1 -0
- package/dist/logic/react/useUrlListState.js +96 -0
- package/dist/logic/react/useUrlListState.js.map +1 -0
- package/dist/media/FormMediaItemField.d.ts +38 -0
- package/dist/media/FormMediaItemField.d.ts.map +1 -0
- package/dist/media/FormMediaItemField.js +35 -0
- package/dist/media/FormMediaItemField.js.map +1 -0
- package/dist/media/MediaItemField.d.ts +17 -3
- package/dist/media/MediaItemField.d.ts.map +1 -1
- package/dist/media/MediaItemField.js +11 -7
- package/dist/media/MediaItemField.js.map +1 -1
- package/dist/media/MediaItemPickerDialog.d.ts +48 -0
- package/dist/media/MediaItemPickerDialog.d.ts.map +1 -0
- package/dist/media/MediaItemPickerDialog.js +36 -0
- package/dist/media/MediaItemPickerDialog.js.map +1 -0
- package/dist/media/MediaPreview.d.ts +16 -0
- package/dist/media/MediaPreview.d.ts.map +1 -0
- package/dist/media/MediaPreview.js +20 -0
- package/dist/media/MediaPreview.js.map +1 -0
- package/dist/media/index.d.ts +17 -2
- package/dist/media/index.d.ts.map +1 -1
- package/dist/media/index.js +7 -0
- package/dist/media/index.js.map +1 -1
- package/dist/media/types.d.ts +23 -6
- package/dist/media/types.d.ts.map +1 -1
- package/dist/next/index.d.ts +7 -2
- package/dist/next/index.d.ts.map +1 -1
- package/dist/next/index.js +7 -2
- package/dist/next/index.js.map +1 -1
- package/dist/next/listViewParam.d.ts +3 -0
- package/dist/next/listViewParam.d.ts.map +1 -0
- package/dist/next/listViewParam.js +3 -0
- package/dist/next/listViewParam.js.map +1 -0
- package/dist/next/searchParamsWriter.d.ts +30 -6
- package/dist/next/searchParamsWriter.d.ts.map +1 -1
- package/dist/next/searchParamsWriter.js +80 -27
- package/dist/next/searchParamsWriter.js.map +1 -1
- package/dist/next/storage.d.ts +11 -0
- package/dist/next/storage.d.ts.map +1 -0
- package/dist/next/storage.js +34 -0
- package/dist/next/storage.js.map +1 -0
- package/dist/next/useListViewParam.d.ts +12 -0
- package/dist/next/useListViewParam.d.ts.map +1 -0
- package/dist/next/useListViewParam.js +45 -0
- package/dist/next/useListViewParam.js.map +1 -0
- package/dist/next/useNextDrawerUrlAdapter.d.ts +11 -0
- package/dist/next/useNextDrawerUrlAdapter.d.ts.map +1 -0
- package/dist/next/useNextDrawerUrlAdapter.js +28 -0
- package/dist/next/useNextDrawerUrlAdapter.js.map +1 -0
- package/dist/next/useNextUrlStateAdapter.d.ts +20 -0
- package/dist/next/useNextUrlStateAdapter.d.ts.map +1 -0
- package/dist/next/useNextUrlStateAdapter.js +28 -0
- package/dist/next/useNextUrlStateAdapter.js.map +1 -0
- package/dist/notify-sonner/Toaster.d.ts +8 -0
- package/dist/notify-sonner/Toaster.d.ts.map +1 -0
- package/dist/notify-sonner/Toaster.js +24 -0
- package/dist/notify-sonner/Toaster.js.map +1 -0
- package/dist/notify-sonner/index.d.ts +1 -0
- package/dist/notify-sonner/index.d.ts.map +1 -1
- package/dist/notify-sonner/index.js +2 -0
- package/dist/notify-sonner/index.js.map +1 -1
- package/dist/notify-sonner/sonnerNotifications.d.ts +1 -1
- package/dist/notify-sonner/sonnerNotifications.d.ts.map +1 -1
- package/dist/notify-sonner/sonnerNotifications.js +23 -6
- package/dist/notify-sonner/sonnerNotifications.js.map +1 -1
- package/dist/page/DefinitionList.d.ts +24 -0
- package/dist/page/DefinitionList.d.ts.map +1 -0
- package/dist/page/DefinitionList.js +20 -0
- package/dist/page/DefinitionList.js.map +1 -0
- package/dist/page/DetailHeader.d.ts +26 -0
- package/dist/page/DetailHeader.d.ts.map +1 -0
- package/dist/page/DetailHeader.js +14 -0
- package/dist/page/DetailHeader.js.map +1 -0
- package/dist/page/EditableCard.d.ts +39 -0
- package/dist/page/EditableCard.d.ts.map +1 -0
- package/dist/page/EditableCard.js +21 -0
- package/dist/page/EditableCard.js.map +1 -0
- package/dist/page/EntityDetailShell.d.ts +48 -0
- package/dist/page/EntityDetailShell.d.ts.map +1 -0
- package/dist/page/EntityDetailShell.js +25 -0
- package/dist/page/EntityDetailShell.js.map +1 -0
- package/dist/page/EntityListPage.d.ts +30 -0
- package/dist/page/EntityListPage.d.ts.map +1 -0
- package/dist/page/EntityListPage.js +12 -0
- package/dist/page/EntityListPage.js.map +1 -0
- package/dist/page/EntityMetadata.d.ts +21 -0
- package/dist/page/EntityMetadata.d.ts.map +1 -0
- package/dist/page/EntityMetadata.js +39 -0
- package/dist/page/EntityMetadata.js.map +1 -0
- package/dist/page/EntityTabs.d.ts +38 -0
- package/dist/page/EntityTabs.d.ts.map +1 -0
- package/dist/page/EntityTabs.js +51 -0
- package/dist/page/EntityTabs.js.map +1 -0
- package/dist/page/PageFrame.d.ts +18 -2
- package/dist/page/PageFrame.d.ts.map +1 -1
- package/dist/page/PageFrame.js +8 -2
- package/dist/page/PageFrame.js.map +1 -1
- package/dist/page/PageHeader.d.ts +27 -0
- package/dist/page/PageHeader.d.ts.map +1 -0
- package/dist/page/PageHeader.js +16 -0
- package/dist/page/PageHeader.js.map +1 -0
- package/dist/page/PageLayout.d.ts +15 -0
- package/dist/page/PageLayout.d.ts.map +1 -0
- package/dist/page/PageLayout.js +10 -0
- package/dist/page/PageLayout.js.map +1 -0
- package/dist/page/PageToolbar.d.ts +73 -0
- package/dist/page/PageToolbar.d.ts.map +1 -0
- package/dist/page/PageToolbar.js +49 -0
- package/dist/page/PageToolbar.js.map +1 -0
- package/dist/page/SectionHeader.d.ts +27 -0
- package/dist/page/SectionHeader.d.ts.map +1 -0
- package/dist/page/SectionHeader.js +14 -0
- package/dist/page/SectionHeader.js.map +1 -0
- package/dist/page/StatusCallout.d.ts +28 -0
- package/dist/page/StatusCallout.d.ts.map +1 -0
- package/dist/page/StatusCallout.js +35 -0
- package/dist/page/StatusCallout.js.map +1 -0
- package/dist/page/index.d.ts +28 -1
- package/dist/page/index.d.ts.map +1 -1
- package/dist/page/index.js +18 -0
- package/dist/page/index.js.map +1 -1
- package/dist/page/links.d.ts +18 -0
- package/dist/page/links.d.ts.map +1 -0
- package/dist/page/links.js +4 -0
- package/dist/page/links.js.map +1 -0
- package/dist/primitives/alert.d.ts +17 -0
- package/dist/primitives/alert.d.ts.map +1 -0
- package/dist/primitives/alert.js +36 -0
- package/dist/primitives/alert.js.map +1 -0
- package/dist/primitives/badge.d.ts +10 -0
- package/dist/primitives/badge.d.ts.map +1 -0
- package/dist/primitives/badge.js +30 -0
- package/dist/primitives/badge.js.map +1 -0
- package/dist/primitives/breadcrumb.d.ts +12 -0
- package/dist/primitives/breadcrumb.d.ts.map +1 -0
- package/dist/primitives/breadcrumb.js +33 -0
- package/dist/primitives/breadcrumb.js.map +1 -0
- package/dist/primitives/button.d.ts +10 -8
- package/dist/primitives/button.d.ts.map +1 -1
- package/dist/primitives/button.js +41 -10
- package/dist/primitives/button.js.map +1 -1
- package/dist/primitives/card.d.ts +10 -0
- package/dist/primitives/card.d.ts.map +1 -0
- package/dist/primitives/card.js +29 -0
- package/dist/primitives/card.js.map +1 -0
- package/dist/primitives/checkbox.d.ts +5 -0
- package/dist/primitives/checkbox.d.ts.map +1 -0
- package/dist/primitives/checkbox.js +11 -0
- package/dist/primitives/checkbox.js.map +1 -0
- package/dist/primitives/cn.d.ts +1 -1
- package/dist/primitives/cn.d.ts.map +1 -1
- package/dist/primitives/cn.js +1 -1
- package/dist/primitives/cn.js.map +1 -1
- package/dist/primitives/collapsible.d.ts +6 -0
- package/dist/primitives/collapsible.d.ts.map +1 -0
- package/dist/primitives/collapsible.js +14 -0
- package/dist/primitives/collapsible.js.map +1 -0
- package/dist/primitives/command.d.ts +19 -0
- package/dist/primitives/command.d.ts.map +1 -0
- package/dist/primitives/command.js +38 -0
- package/dist/primitives/command.js.map +1 -0
- package/dist/primitives/dialog.d.ts +17 -9
- package/dist/primitives/dialog.d.ts.map +1 -1
- package/dist/primitives/dialog.js +39 -14
- package/dist/primitives/dialog.js.map +1 -1
- package/dist/primitives/dropdown-menu.d.ts +23 -0
- package/dist/primitives/dropdown-menu.d.ts.map +1 -0
- package/dist/primitives/dropdown-menu.js +48 -0
- package/dist/primitives/dropdown-menu.js.map +1 -0
- package/dist/primitives/fieldSurface.d.ts +23 -0
- package/dist/primitives/fieldSurface.d.ts.map +1 -0
- package/dist/primitives/fieldSurface.js +23 -0
- package/dist/primitives/fieldSurface.js.map +1 -0
- package/dist/primitives/index.d.ts +24 -5
- package/dist/primitives/index.d.ts.map +1 -1
- package/dist/primitives/index.js +25 -5
- package/dist/primitives/index.js.map +1 -1
- package/dist/primitives/input.d.ts +12 -0
- package/dist/primitives/input.d.ts.map +1 -0
- package/dist/primitives/input.js +20 -0
- package/dist/primitives/input.js.map +1 -0
- package/dist/primitives/label.d.ts +5 -0
- package/dist/primitives/label.d.ts.map +1 -0
- package/dist/primitives/label.js +10 -0
- package/dist/primitives/label.js.map +1 -0
- package/dist/primitives/listSurface.d.ts +8 -0
- package/dist/primitives/listSurface.d.ts.map +1 -0
- package/dist/primitives/listSurface.js +8 -0
- package/dist/primitives/listSurface.js.map +1 -0
- package/dist/primitives/popover.d.ts +11 -0
- package/dist/primitives/popover.d.ts.map +1 -0
- package/dist/primitives/popover.js +31 -0
- package/dist/primitives/popover.js.map +1 -0
- package/dist/primitives/portal.d.ts +16 -0
- package/dist/primitives/portal.d.ts.map +1 -0
- package/dist/primitives/portal.js +9 -0
- package/dist/primitives/portal.js.map +1 -0
- package/dist/primitives/select.d.ts +20 -8
- package/dist/primitives/select.d.ts.map +1 -1
- package/dist/primitives/select.js +46 -12
- package/dist/primitives/select.js.map +1 -1
- package/dist/primitives/separator.d.ts +5 -0
- package/dist/primitives/separator.d.ts.map +1 -0
- package/dist/primitives/separator.js +10 -0
- package/dist/primitives/separator.js.map +1 -0
- package/dist/primitives/sheet.d.ts +14 -8
- package/dist/primitives/sheet.d.ts.map +1 -1
- package/dist/primitives/sheet.js +42 -11
- package/dist/primitives/sheet.js.map +1 -1
- package/dist/primitives/skeleton.d.ts +3 -0
- package/dist/primitives/skeleton.d.ts.map +1 -0
- package/dist/primitives/skeleton.js +7 -0
- package/dist/primitives/skeleton.js.map +1 -0
- package/dist/primitives/switch.d.ts +7 -0
- package/dist/primitives/switch.d.ts.map +1 -0
- package/dist/primitives/switch.js +10 -0
- package/dist/primitives/switch.js.map +1 -0
- package/dist/primitives/table.d.ts +11 -0
- package/dist/primitives/table.d.ts.map +1 -0
- package/dist/primitives/table.js +30 -0
- package/dist/primitives/table.js.map +1 -0
- package/dist/primitives/textarea.d.ts +4 -0
- package/dist/primitives/textarea.d.ts.map +1 -0
- package/dist/primitives/textarea.js +11 -0
- package/dist/primitives/textarea.js.map +1 -0
- package/dist/primitives/tooltip.d.ts +8 -0
- package/dist/primitives/tooltip.d.ts.map +1 -0
- package/dist/primitives/tooltip.js +21 -0
- package/dist/primitives/tooltip.js.map +1 -0
- package/dist/provider/AdminUiProvider.d.ts +8 -6
- package/dist/provider/AdminUiProvider.d.ts.map +1 -1
- package/dist/provider/AdminUiProvider.js +37 -22
- package/dist/provider/AdminUiProvider.js.map +1 -1
- package/dist/provider/adminUiContext.d.ts +6 -0
- package/dist/provider/adminUiContext.d.ts.map +1 -0
- package/dist/provider/adminUiContext.js +9 -0
- package/dist/provider/adminUiContext.js.map +1 -0
- package/dist/provider/index.d.ts +4 -2
- package/dist/provider/index.d.ts.map +1 -1
- package/dist/provider/index.js +4 -1
- package/dist/provider/index.js.map +1 -1
- package/dist/provider/storageKey.d.ts +4 -0
- package/dist/provider/storageKey.d.ts.map +1 -0
- package/dist/provider/storageKey.js +3 -0
- package/dist/provider/storageKey.js.map +1 -0
- package/dist/provider/types.d.ts +38 -6
- package/dist/provider/types.d.ts.map +1 -1
- package/dist/scripts/build-i18n-manifest.mjs +138 -0
- package/dist/scripts/check-radix.mjs +131 -0
- package/dist/scripts/check-tokens.mjs +236 -0
- package/dist/theme.css +15 -11
- package/dist/tokens.json +388 -53
- package/dist/translations/FormTranslatableFields.d.ts +30 -0
- package/dist/translations/FormTranslatableFields.d.ts.map +1 -0
- package/dist/translations/FormTranslatableFields.js +58 -0
- package/dist/translations/FormTranslatableFields.js.map +1 -0
- package/dist/translations/TranslatableField.d.ts +48 -0
- package/dist/translations/TranslatableField.d.ts.map +1 -0
- package/dist/translations/TranslatableField.js +44 -0
- package/dist/translations/TranslatableField.js.map +1 -0
- package/dist/translations/TranslatableInput.d.ts +14 -0
- package/dist/translations/TranslatableInput.d.ts.map +1 -0
- package/dist/translations/TranslatableInput.js +15 -0
- package/dist/translations/TranslatableInput.js.map +1 -0
- package/dist/translations/TranslatableMarkdown.d.ts +21 -0
- package/dist/translations/TranslatableMarkdown.d.ts.map +1 -0
- package/dist/translations/TranslatableMarkdown.js +12 -0
- package/dist/translations/TranslatableMarkdown.js.map +1 -0
- package/dist/translations/TranslationControls.d.ts +22 -0
- package/dist/translations/TranslationControls.d.ts.map +1 -0
- package/dist/translations/TranslationControls.js +31 -0
- package/dist/translations/TranslationControls.js.map +1 -0
- package/dist/translations/index.d.ts +30 -1
- package/dist/translations/index.d.ts.map +1 -1
- package/dist/translations/index.js +17 -1
- package/dist/translations/index.js.map +1 -1
- package/package.json +27 -29
- package/dist/data/StatTile.d.ts +0 -8
- package/dist/data/StatTile.d.ts.map +0 -1
- package/dist/data/StatTile.js +0 -6
- package/dist/data/StatTile.js.map +0 -1
- package/dist/data/index.d.ts +0 -2
- package/dist/data/index.d.ts.map +0 -1
- package/dist/data/index.js +0 -2
- package/dist/data/index.js.map +0 -1
- package/dist/glass/GlassPanel.d.ts +0 -7
- package/dist/glass/GlassPanel.d.ts.map +0 -1
- package/dist/glass/GlassPanel.js +0 -5
- package/dist/glass/GlassPanel.js.map +0 -1
- package/dist/i18n/m.d.ts +0 -7
- package/dist/i18n/m.d.ts.map +0 -1
- package/dist/i18n/m.js +0 -7
- package/dist/i18n/m.js.map +0 -1
- package/dist/list/ClearFiltersButton.d.ts +0 -7
- package/dist/list/ClearFiltersButton.d.ts.map +0 -1
- package/dist/list/ClearFiltersButton.js +0 -10
- package/dist/list/ClearFiltersButton.js.map +0 -1
- package/dist/list/DateCell.d.ts +0 -8
- package/dist/list/DateCell.d.ts.map +0 -1
- package/dist/list/DateCell.js +0 -12
- package/dist/list/DateCell.js.map +0 -1
- package/dist/logic/pure/errors.d.ts +0 -3
- package/dist/logic/pure/errors.d.ts.map +0 -1
- package/dist/logic/pure/errors.js +0 -5
- package/dist/logic/pure/errors.js.map +0 -1
- package/dist/logic/pure/statusMap.d.ts +0 -12
- package/dist/logic/pure/statusMap.d.ts.map +0 -1
- package/dist/logic/pure/statusMap.js +0 -5
- package/dist/logic/pure/statusMap.js.map +0 -1
- package/dist/logic/react/useToggle.d.ts +0 -8
- package/dist/logic/react/useToggle.d.ts.map +0 -1
- package/dist/logic/react/useToggle.js +0 -9
- package/dist/logic/react/useToggle.js.map +0 -1
- package/dist/next/useNextSearchParam.d.ts +0 -3
- package/dist/next/useNextSearchParam.d.ts.map +0 -1
- package/dist/next/useNextSearchParam.js +0 -16
- package/dist/next/useNextSearchParam.js.map +0 -1
- package/dist/primitives/portalContainer.d.ts +0 -8
- package/dist/primitives/portalContainer.d.ts.map +0 -1
- package/dist/primitives/portalContainer.js +0 -12
- package/dist/primitives/portalContainer.js.map +0 -1
- package/dist/translations/TranslatableInputField.d.ts +0 -8
- package/dist/translations/TranslatableInputField.d.ts.map +0 -1
- package/dist/translations/TranslatableInputField.js +0 -12
- package/dist/translations/TranslatableInputField.js.map +0 -1
- package/docs/README.md +0 -11
- package/scripts/check-tokens.mjs +0 -136
- package/scripts/lib/i18n-manifest.mjs +0 -91
- package/scripts/lib/source-scan.mjs +0 -258
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
export interface GlassGroupProps {
|
|
3
|
+
/** The group's name in the header pill (`Running`). */
|
|
4
|
+
title: string;
|
|
5
|
+
/** The number of items (header pill count); defaults to the children's count. */
|
|
6
|
+
count?: number;
|
|
7
|
+
/** Collapsed groups render as a bare glass pill (next to the open group). Default: open when it has items. */
|
|
8
|
+
defaultOpen?: boolean;
|
|
9
|
+
open?: boolean;
|
|
10
|
+
onOpenChange?: (open: boolean) => void;
|
|
11
|
+
/** Show the first `limit` rows and a floating "Show all (n)" / "Show less" pill at the bottom edge. */
|
|
12
|
+
limit?: number;
|
|
13
|
+
/** Shown inside an open group without rows. */
|
|
14
|
+
emptyText?: ReactNode;
|
|
15
|
+
/** The rows (`ActionRow`s or anything solid). */
|
|
16
|
+
children?: ReactNode;
|
|
17
|
+
className?: string;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* A glass group panel: a very translucent container (radius 24 px) with a glass pill
|
|
21
|
+
* header (title + count) and a round chevron toggle, stacked solid rows inside, and a small floating pill at the
|
|
22
|
+
* bottom edge to show all / fewer rows. The panel itself casts no shadow; only the
|
|
23
|
+
* solid rows inside do. Collapsed, the group is only its pill, so collapsed groups line up as pills.
|
|
24
|
+
*/
|
|
25
|
+
export declare const GlassGroup: ({ title, count, defaultOpen, open: openProp, onOpenChange, limit, emptyText, children, className, }: GlassGroupProps) => import("react").JSX.Element;
|
|
26
|
+
//# sourceMappingURL=GlassGroup.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GlassGroup.d.ts","sourceRoot":"","sources":["../../src/glass/GlassGroup.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAY,KAAK,SAAS,EAAmB,MAAM,OAAO,CAAC;AAMlE,MAAM,WAAW,eAAe;IAC9B,uDAAuD;IACvD,KAAK,EAAE,MAAM,CAAC;IACd,iFAAiF;IACjF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,8GAA8G;IAC9G,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACvC,uGAAuG;IACvG,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,+CAA+C;IAC/C,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,iDAAiD;IACjD,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;GAKG;AACH,eAAO,MAAM,UAAU,GAAI,qGAUxB,eAAe,gCA+DjB,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { ChevronDown } from 'lucide-react';
|
|
4
|
+
import { Children, useId, useState } from 'react';
|
|
5
|
+
import { useTranslate } from "../i18n/index.js";
|
|
6
|
+
import { cn } from "../primitives/cn.js";
|
|
7
|
+
import { GlassPill } from "./GlassPill.js";
|
|
8
|
+
/**
|
|
9
|
+
* A glass group panel: a very translucent container (radius 24 px) with a glass pill
|
|
10
|
+
* header (title + count) and a round chevron toggle, stacked solid rows inside, and a small floating pill at the
|
|
11
|
+
* bottom edge to show all / fewer rows. The panel itself casts no shadow; only the
|
|
12
|
+
* solid rows inside do. Collapsed, the group is only its pill, so collapsed groups line up as pills.
|
|
13
|
+
*/
|
|
14
|
+
export const GlassGroup = ({ title, count, defaultOpen, open: openProp, onOpenChange, limit, emptyText, children, className, }) => {
|
|
15
|
+
const { t } = useTranslate();
|
|
16
|
+
const rows = Children.toArray(children);
|
|
17
|
+
const total = count ?? rows.length;
|
|
18
|
+
const [openState, setOpenState] = useState(defaultOpen ?? rows.length > 0);
|
|
19
|
+
const [expanded, setExpanded] = useState(false);
|
|
20
|
+
const open = openProp ?? openState;
|
|
21
|
+
const bodyId = useId();
|
|
22
|
+
const setOpen = (next) => {
|
|
23
|
+
if (openProp === undefined)
|
|
24
|
+
setOpenState(next);
|
|
25
|
+
onOpenChange?.(next);
|
|
26
|
+
};
|
|
27
|
+
if (!open) {
|
|
28
|
+
return (_jsxs(GlassPill, { className: className, count: total, countTone: total > 0 ? 'accent' : 'quiet', "aria-expanded": false, "aria-controls": bodyId, onClick: () => setOpen(true), children: [title, _jsx(ChevronDown, { className: "-mr-1 size-4 text-muted-foreground", "aria-hidden": true })] }));
|
|
29
|
+
}
|
|
30
|
+
const visible = limit !== undefined && !expanded ? rows.slice(0, limit) : rows;
|
|
31
|
+
const hidden = rows.length - visible.length;
|
|
32
|
+
return (_jsxs("section", { "aria-label": title, className: cn('surface-glass relative rounded-3xl p-3 shadow-none', limit !== undefined && rows.length > limit && 'pb-6', className), children: [_jsxs("div", { className: "mb-3 flex items-center gap-2", children: [_jsx(GlassPill, { as: "span", active: true, count: total, countTone: total > 0 ? 'accent' : 'quiet', children: title }), _jsx("button", { type: "button", "aria-label": t('Collapse %title%', { replacements: { title } }), "aria-expanded": true, "aria-controls": bodyId, onClick: () => setOpen(false), className: "ml-auto inline-flex size-8 items-center justify-center rounded-full bg-tint text-foreground outline-none transition-colors hover:bg-tint-strong focus-visible:ring-2 focus-visible:ring-ring", children: _jsx(ChevronDown, { className: "size-4 rotate-180", "aria-hidden": true }) })] }), _jsx("div", { id: bodyId, className: "flex flex-col gap-2", children: visible.length > 0 ? visible : emptyText && _jsx("p", { className: "px-2 py-3 text-[13px] text-muted-foreground", children: emptyText }) }), limit !== undefined && rows.length > limit && (_jsx("button", { type: "button", onClick: () => setExpanded(value => !value), className: "absolute -bottom-3.5 left-1/2 inline-flex h-7 -translate-x-1/2 items-center rounded-full bg-card px-3 text-[12px] font-semibold text-foreground shadow-[var(--surface-shadow-raised)] outline-none focus-visible:ring-2 focus-visible:ring-ring", children: expanded ? t('Show less') : t('Show all (%count%)', { replacements: { count: hidden + visible.length } }) }))] }));
|
|
33
|
+
};
|
|
34
|
+
//# sourceMappingURL=GlassGroup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GlassGroup.js","sourceRoot":"","sources":["../../src/glass/GlassGroup.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAkB,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAElE,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAE,EAAE,EAAE,MAAM,qBAAqB,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAiB,CAAC;AAoB5C;;;;;GAKG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,EACzB,KAAK,EACL,KAAK,EACL,WAAW,EACX,IAAI,EAAE,QAAQ,EACd,YAAY,EACZ,KAAK,EACL,SAAS,EACT,QAAQ,EACR,SAAS,GACO,EAAE,EAAE;IACpB,MAAM,EAAE,CAAC,EAAE,GAAG,YAAY,EAAE,CAAC;IAC7B,MAAM,IAAI,GAAG,QAAQ,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;IACxC,MAAM,KAAK,GAAG,KAAK,IAAI,IAAI,CAAC,MAAM,CAAC;IACnC,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,QAAQ,CAAC,WAAW,IAAI,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;IAC3E,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAChD,MAAM,IAAI,GAAG,QAAQ,IAAI,SAAS,CAAC;IACnC,MAAM,MAAM,GAAG,KAAK,EAAE,CAAC;IACvB,MAAM,OAAO,GAAG,CAAC,IAAa,EAAE,EAAE;QAChC,IAAI,QAAQ,KAAK,SAAS;YAAE,YAAY,CAAC,IAAI,CAAC,CAAC;QAC/C,YAAY,EAAE,CAAC,IAAI,CAAC,CAAC;IACvB,CAAC,CAAC;IAEF,IAAI,CAAC,IAAI,EAAE,CAAC;QACV,OAAO,CACL,MAAC,SAAS,IACR,SAAS,EAAE,SAAS,EACpB,KAAK,EAAE,KAAK,EACZ,SAAS,EAAE,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,mBAC1B,KAAK,mBACL,MAAM,EACrB,OAAO,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,aAE3B,KAAK,EACN,KAAC,WAAW,IAAC,SAAS,EAAC,oCAAoC,wBAAe,IAChE,CACb,CAAC;IACJ,CAAC;IAED,MAAM,OAAO,GAAG,KAAK,KAAK,SAAS,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;IAC/E,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAE5C,OAAO,CACL,iCAAqB,KAAK,EAAE,SAAS,EAAE,EAAE,CAAC,oDAAoD,EAAE,KAAK,KAAK,SAAS,IAAI,IAAI,CAAC,MAAM,GAAG,KAAK,IAAI,MAAM,EAAE,SAAS,CAAC,aAC9J,eAAK,SAAS,EAAC,8BAA8B,aAC3C,KAAC,SAAS,IAAC,EAAE,EAAC,MAAM,EAAC,MAAM,QAAC,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,YAChF,KAAK,GACI,EACZ,iBACE,IAAI,EAAC,QAAQ,gBACD,CAAC,CAAC,kBAAkB,EAAE,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,EAAE,CAAC,0CAE/C,MAAM,EACrB,OAAO,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,EAC7B,SAAS,EAAC,8LAA8L,YAExM,KAAC,WAAW,IAAC,SAAS,EAAC,mBAAmB,wBAAe,GAClD,IACL,EACN,cAAK,EAAE,EAAE,MAAM,EAAE,SAAS,EAAC,qBAAqB,YAC7C,OAAO,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,IAAI,YAAG,SAAS,EAAC,6CAA6C,YAAE,SAAS,GAAK,GACnH,EACL,KAAK,KAAK,SAAS,IAAI,IAAI,CAAC,MAAM,GAAG,KAAK,IAAI,CAC7C,iBACE,IAAI,EAAC,QAAQ,EACb,OAAO,EAAE,GAAG,EAAE,CAAC,WAAW,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,EAC3C,SAAS,EAAC,iPAAiP,YAE1P,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,oBAAoB,EAAE,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,EAAE,EAAE,CAAC,GACnG,CACV,IACO,CACX,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { ButtonHTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
export interface GlassPillProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'children'> {
|
|
3
|
+
children: ReactNode;
|
|
4
|
+
/** Leading icon (`size-4`, muted). */
|
|
5
|
+
icon?: ReactNode;
|
|
6
|
+
/** A count after the label (`Open 5`); accent-filled while the pill is active or `countTone="accent"`. */
|
|
7
|
+
count?: ReactNode;
|
|
8
|
+
countTone?: 'auto' | 'accent' | 'quiet';
|
|
9
|
+
/** The picked quick filter / the open group: navy bold text on the stronger glass. */
|
|
10
|
+
active?: boolean;
|
|
11
|
+
/** `span` for a pill that is only a label (a group header inside its own toggle button). */
|
|
12
|
+
as?: 'button' | 'span';
|
|
13
|
+
size?: 'sm' | 'md';
|
|
14
|
+
}
|
|
15
|
+
/** Pill geometry + glass tone, shared by `GlassPill`, `GlassGroup` and the header pills. */
|
|
16
|
+
export declare const GLASS_PILL_CLASS = "inline-flex shrink-0 items-center gap-2 rounded-full whitespace-nowrap transition-[background-color,color,box-shadow] duration-150 outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 motion-reduce:transition-none";
|
|
17
|
+
/**
|
|
18
|
+
* A glass pill (e.g. quick filters `Open 5 · Planned 0`): rounded-full, very translucent card colour + blur,
|
|
19
|
+
* soft wide shadow; active = navy bold on a solid white (dark: card) pill with an accent count, idle = muted text on
|
|
20
|
+
* the glass.
|
|
21
|
+
*/
|
|
22
|
+
export declare const GlassPill: ({ children, icon, count, countTone, active, as, size, className, type, ...buttonProps }: GlassPillProps) => import("react").JSX.Element;
|
|
23
|
+
//# sourceMappingURL=GlassPill.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GlassPill.d.ts","sourceRoot":"","sources":["../../src/glass/GlassPill.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAI7D,MAAM,WAAW,cAAe,SAAQ,IAAI,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,UAAU,CAAC;IAC/F,QAAQ,EAAE,SAAS,CAAC;IACpB,sCAAsC;IACtC,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,0GAA0G;IAC1G,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;IACxC,sFAAsF;IACtF,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,4FAA4F;IAC5F,EAAE,CAAC,EAAE,QAAQ,GAAG,MAAM,CAAC;IACvB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;CACpB;AAED,4FAA4F;AAC5F,eAAO,MAAM,gBAAgB,gRACkP,CAAC;AAEhR;;;;GAIG;AACH,eAAO,MAAM,SAAS,GAAI,yFAWvB,cAAc,gCAoChB,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { cn } from "../primitives/cn.js";
|
|
3
|
+
/** Pill geometry + glass tone, shared by `GlassPill`, `GlassGroup` and the header pills. */
|
|
4
|
+
export const GLASS_PILL_CLASS = 'inline-flex shrink-0 items-center gap-2 rounded-full whitespace-nowrap transition-[background-color,color,box-shadow] duration-150 outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 motion-reduce:transition-none';
|
|
5
|
+
/**
|
|
6
|
+
* A glass pill (e.g. quick filters `Open 5 · Planned 0`): rounded-full, very translucent card colour + blur,
|
|
7
|
+
* soft wide shadow; active = navy bold on a solid white (dark: card) pill with an accent count, idle = muted text on
|
|
8
|
+
* the glass.
|
|
9
|
+
*/
|
|
10
|
+
export const GlassPill = ({ children, icon, count, countTone = 'auto', active = false, as = 'button', size = 'md', className, type = 'button', ...buttonProps }) => {
|
|
11
|
+
const accentCount = countTone === 'accent' || (countTone === 'auto' && active);
|
|
12
|
+
const content = (_jsxs(_Fragment, { children: [icon && (_jsx("span", { className: cn('[&_svg]:size-4', active ? 'text-foreground' : 'text-muted-foreground'), "aria-hidden": true, children: icon })), _jsx("span", { className: "inline-flex items-center gap-1.5", children: children }), count !== undefined && count !== null && (_jsx("span", { className: cn('inline-flex h-5 min-w-5 items-center justify-center rounded-full px-1.5 text-[11px] leading-none font-black tabular-nums', accentCount ? 'bg-primary text-primary-foreground' : 'bg-tint text-muted-foreground'), children: count }))] }));
|
|
13
|
+
const classes = cn(GLASS_PILL_CLASS, size === 'sm' ? 'h-8 px-3 text-[13px]' : 'h-9 px-4 text-sm', active
|
|
14
|
+
? 'bg-card font-bold text-foreground shadow-[var(--surface-shadow-raised)]'
|
|
15
|
+
: 'surface-glass font-semibold text-muted-foreground hover:text-foreground', className);
|
|
16
|
+
if (as === 'span')
|
|
17
|
+
return _jsx("span", { className: classes, children: content });
|
|
18
|
+
return (_jsx("button", { type: type, className: classes, ...buttonProps, children: content }));
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=GlassPill.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GlassPill.js","sourceRoot":"","sources":["../../src/glass/GlassPill.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,EAAE,EAAE,MAAM,qBAAqB,CAAC;AAgBzC,4FAA4F;AAC5F,MAAM,CAAC,MAAM,gBAAgB,GAC3B,6QAA6Q,CAAC;AAEhR;;;;GAIG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,EACxB,QAAQ,EACR,IAAI,EACJ,KAAK,EACL,SAAS,GAAG,MAAM,EAClB,MAAM,GAAG,KAAK,EACd,EAAE,GAAG,QAAQ,EACb,IAAI,GAAG,IAAI,EACX,SAAS,EACT,IAAI,GAAG,QAAQ,EACf,GAAG,WAAW,EACC,EAAE,EAAE;IACnB,MAAM,WAAW,GAAG,SAAS,KAAK,QAAQ,IAAI,CAAC,SAAS,KAAK,MAAM,IAAI,MAAM,CAAC,CAAC;IAC/E,MAAM,OAAO,GAAG,CACd,8BACG,IAAI,IAAI,CACP,eAAM,SAAS,EAAE,EAAE,CAAC,gBAAgB,EAAE,MAAM,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC,uBAAuB,CAAC,iCACxF,IAAI,GACA,CACR,EACD,eAAM,SAAS,EAAC,kCAAkC,YAAE,QAAQ,GAAQ,EACnE,KAAK,KAAK,SAAS,IAAI,KAAK,KAAK,IAAI,IAAI,CACxC,eACE,SAAS,EAAE,EAAE,CACX,0HAA0H,EAC1H,WAAW,CAAC,CAAC,CAAC,oCAAoC,CAAC,CAAC,CAAC,+BAA+B,CACrF,YAEA,KAAK,GACD,CACR,IACA,CACJ,CAAC;IACF,MAAM,OAAO,GAAG,EAAE,CAChB,gBAAgB,EAChB,IAAI,KAAK,IAAI,CAAC,CAAC,CAAC,sBAAsB,CAAC,CAAC,CAAC,kBAAkB,EAC3D,MAAM;QACJ,CAAC,CAAC,yEAAyE;QAC3E,CAAC,CAAC,yEAAyE,EAC7E,SAAS,CACV,CAAC;IACF,IAAI,EAAE,KAAK,MAAM;QAAE,OAAO,eAAM,SAAS,EAAE,OAAO,YAAG,OAAO,GAAQ,CAAC;IACrE,OAAO,CACL,iBAAQ,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,KAAM,WAAW,YACpD,OAAO,GACD,CACV,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
export interface QuickFilterOption {
|
|
3
|
+
value: string;
|
|
4
|
+
label: string;
|
|
5
|
+
icon?: ReactNode;
|
|
6
|
+
/** Only when the screen already has the number (never an extra request for it). */
|
|
7
|
+
count?: number;
|
|
8
|
+
}
|
|
9
|
+
interface QuickFilterPillsBaseProps {
|
|
10
|
+
options: readonly QuickFilterOption[];
|
|
11
|
+
/** A leading "All" pill that clears the filter (`''` / `[]`). */
|
|
12
|
+
allLabel?: string;
|
|
13
|
+
'aria-label': string;
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
size?: 'sm' | 'md';
|
|
16
|
+
className?: string;
|
|
17
|
+
}
|
|
18
|
+
interface QuickFilterPillsSingleProps extends QuickFilterPillsBaseProps {
|
|
19
|
+
mode?: 'single';
|
|
20
|
+
/** The list state's value of the filter key (`''` = all). */
|
|
21
|
+
value: string;
|
|
22
|
+
onChange: (value: string) => void;
|
|
23
|
+
}
|
|
24
|
+
interface QuickFilterPillsMultiProps extends QuickFilterPillsBaseProps {
|
|
25
|
+
mode: 'multi';
|
|
26
|
+
value: readonly string[];
|
|
27
|
+
onChange: (value: string[]) => void;
|
|
28
|
+
}
|
|
29
|
+
export type QuickFilterPillsProps = QuickFilterPillsSingleProps | QuickFilterPillsMultiProps;
|
|
30
|
+
/**
|
|
31
|
+
* Status quick filters as a row of glass pills on the clouds. They write the **same** list-state key as the
|
|
32
|
+
* Filters panel's status field (`list.setValue('status', …)` / `list.setList('status', …)`), so the request, the URL
|
|
33
|
+
* and the panel stay one state; the panel keeps its field. Single mode: a pill picks its value, the picked pill again
|
|
34
|
+
* (or "All") clears it. Multi mode: each pill toggles its value.
|
|
35
|
+
*/
|
|
36
|
+
export declare const QuickFilterPills: (props: QuickFilterPillsProps) => import("react").JSX.Element;
|
|
37
|
+
export {};
|
|
38
|
+
//# sourceMappingURL=QuickFilterPills.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QuickFilterPills.d.ts","sourceRoot":"","sources":["../../src/glass/QuickFilterPills.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAMvC,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,mFAAmF;IACnF,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,UAAU,yBAAyB;IACjC,OAAO,EAAE,SAAS,iBAAiB,EAAE,CAAC;IACtC,iEAAiE;IACjE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,UAAU,2BAA4B,SAAQ,yBAAyB;IACrE,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,6DAA6D;IAC7D,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACnC;AAED,UAAU,0BAA2B,SAAQ,yBAAyB;IACpE,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,EAAE,SAAS,MAAM,EAAE,CAAC;IACzB,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;CACrC;AAED,MAAM,MAAM,qBAAqB,GAAG,2BAA2B,GAAG,0BAA0B,CAAC;AAE7F;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,GAAI,OAAO,qBAAqB,gCA8C5D,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { useTranslate } from "../i18n/index.js";
|
|
4
|
+
import { cn } from "../primitives/cn.js";
|
|
5
|
+
import { GlassPill } from "./GlassPill.js";
|
|
6
|
+
/**
|
|
7
|
+
* Status quick filters as a row of glass pills on the clouds. They write the **same** list-state key as the
|
|
8
|
+
* Filters panel's status field (`list.setValue('status', …)` / `list.setList('status', …)`), so the request, the URL
|
|
9
|
+
* and the panel stay one state; the panel keeps its field. Single mode: a pill picks its value, the picked pill again
|
|
10
|
+
* (or "All") clears it. Multi mode: each pill toggles its value.
|
|
11
|
+
*/
|
|
12
|
+
export const QuickFilterPills = (props) => {
|
|
13
|
+
const { options, allLabel, disabled, size = 'md', className } = props;
|
|
14
|
+
const { t } = useTranslate();
|
|
15
|
+
const isActive = (value) => (props.mode === 'multi' ? props.value.includes(value) : props.value === value);
|
|
16
|
+
const nothingPicked = props.mode === 'multi' ? props.value.length === 0 : props.value === '';
|
|
17
|
+
const toggle = (value) => {
|
|
18
|
+
if (props.mode === 'multi') {
|
|
19
|
+
props.onChange(props.value.includes(value) ? props.value.filter(item => item !== value) : [...props.value, value]);
|
|
20
|
+
return;
|
|
21
|
+
}
|
|
22
|
+
props.onChange(props.value === value ? '' : value);
|
|
23
|
+
};
|
|
24
|
+
const clear = () => (props.mode === 'multi' ? props.onChange([]) : props.onChange(''));
|
|
25
|
+
return (_jsxs("fieldset", { "aria-label": props['aria-label'], className: cn('m-0 flex min-w-0 flex-wrap items-center gap-2 border-0 p-0', className), children: [allLabel && (_jsx(GlassPill, { size: size, active: nothingPicked, "aria-pressed": nothingPicked, disabled: disabled, onClick: clear, children: t(allLabel) })), options.map(option => {
|
|
26
|
+
const active = isActive(option.value);
|
|
27
|
+
return (_jsx(GlassPill, { size: size, icon: option.icon, count: option.count, active: active, "aria-pressed": active, disabled: disabled, onClick: () => toggle(option.value), children: t(option.label) }, option.value));
|
|
28
|
+
})] }));
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=QuickFilterPills.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QuickFilterPills.js","sourceRoot":"","sources":["../../src/glass/QuickFilterPills.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAIb,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAE,EAAE,EAAE,MAAM,qBAAqB,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAiB,CAAC;AAmC5C;;;;;GAKG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,KAA4B,EAAE,EAAE;IAC/D,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,GAAG,IAAI,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC;IACtE,MAAM,EAAE,CAAC,EAAE,GAAG,YAAY,EAAE,CAAC;IAC7B,MAAM,QAAQ,GAAG,CAAC,KAAa,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,IAAI,KAAK,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,KAAK,KAAK,CAAC,CAAC;IACnH,MAAM,aAAa,GAAG,KAAK,CAAC,IAAI,KAAK,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,KAAK,EAAE,CAAC;IAE7F,MAAM,MAAM,GAAG,CAAC,KAAa,EAAE,EAAE;QAC/B,IAAI,KAAK,CAAC,IAAI,KAAK,OAAO,EAAE,CAAC;YAC3B,KAAK,CAAC,QAAQ,CACZ,KAAK,CAAC,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,KAAK,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,KAAK,EAAE,KAAK,CAAC,CACnG,CAAC;YACF,OAAO;QACT,CAAC;QACD,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,KAAK,KAAK,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;IACrD,CAAC,CAAC;IACF,MAAM,KAAK,GAAG,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,IAAI,KAAK,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,CAAC;IAEvF,OAAO,CACL,kCACc,KAAK,CAAC,YAAY,CAAC,EAC/B,SAAS,EAAE,EAAE,CAAC,4DAA4D,EAAE,SAAS,CAAC,aAErF,QAAQ,IAAI,CACX,KAAC,SAAS,IAAC,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,aAAa,kBAAgB,aAAa,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,KAAK,YAC1G,CAAC,CAAC,QAAQ,CAAC,GACF,CACb,EACA,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE;gBACpB,MAAM,MAAM,GAAG,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;gBACtC,OAAO,CACL,KAAC,SAAS,IAER,IAAI,EAAE,IAAI,EACV,IAAI,EAAE,MAAM,CAAC,IAAI,EACjB,KAAK,EAAE,MAAM,CAAC,KAAK,EACnB,MAAM,EAAE,MAAM,kBACA,MAAM,EACpB,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,YAElC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,IATX,MAAM,CAAC,KAAK,CAUP,CACb,CAAC;YACJ,CAAC,CAAC,IACO,CACZ,CAAC;AACJ,CAAC,CAAC"}
|
package/dist/glass/index.d.ts
CHANGED
|
@@ -1,2 +1,11 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { ActionRow } from './ActionRow.js';
|
|
2
|
+
export type { ActionRowProps } from './ActionRow.js';
|
|
3
|
+
export { CollapsibleCard } from './CollapsibleCard.js';
|
|
4
|
+
export type { CollapsibleCardProps } from './CollapsibleCard.js';
|
|
5
|
+
export { GlassGroup } from './GlassGroup.js';
|
|
6
|
+
export type { GlassGroupProps } from './GlassGroup.js';
|
|
7
|
+
export { GLASS_PILL_CLASS, GlassPill } from './GlassPill.js';
|
|
8
|
+
export type { GlassPillProps } from './GlassPill.js';
|
|
9
|
+
export { QuickFilterPills } from './QuickFilterPills.js';
|
|
10
|
+
export type { QuickFilterOption, QuickFilterPillsProps } from './QuickFilterPills.js';
|
|
2
11
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/glass/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/glass/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,YAAY,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,YAAY,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAClE,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,YAAY,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,EAAE,gBAAgB,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC9D,YAAY,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,YAAY,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAC"}
|
package/dist/glass/index.js
CHANGED
|
@@ -1,2 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
// The glass tone: pills, collapsible cards, group panels and their solid rows.
|
|
2
|
+
export { ActionRow } from "./ActionRow.js";
|
|
3
|
+
export { CollapsibleCard } from "./CollapsibleCard.js";
|
|
4
|
+
export { GlassGroup } from "./GlassGroup.js";
|
|
5
|
+
export { GLASS_PILL_CLASS, GlassPill } from "./GlassPill.js";
|
|
6
|
+
export { QuickFilterPills } from "./QuickFilterPills.js";
|
|
2
7
|
//# sourceMappingURL=index.js.map
|
package/dist/glass/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/glass/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAkB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/glass/index.ts"],"names":[],"mappings":"AAAA,+EAA+E;AAC/E,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAiB,CAAC;AAE5C,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAuB,CAAC;AAExD,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAkB,CAAC;AAE9C,OAAO,EAAE,gBAAgB,EAAE,SAAS,EAAE,MAAM,gBAAiB,CAAC;AAE9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAwB,CAAC"}
|
package/dist/i18n/Translate.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import type { TranslateOptions } from './store.js';
|
|
2
|
+
export interface TranslateProps extends TranslateOptions {
|
|
3
|
+
/** The English text (the key), a string literal. */
|
|
2
4
|
children: string;
|
|
3
|
-
context?: string;
|
|
4
5
|
}
|
|
5
|
-
/**
|
|
6
|
-
export declare const Translate: ({ children,
|
|
6
|
+
/** `t(children)` as an element, for JSX text: `<Translate>Save changes</Translate>`. */
|
|
7
|
+
export declare const Translate: ({ children, ...options }: TranslateProps) => import("react").JSX.Element;
|
|
7
8
|
//# sourceMappingURL=Translate.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Translate.d.ts","sourceRoot":"","sources":["../../src/i18n/Translate.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Translate.d.ts","sourceRoot":"","sources":["../../src/i18n/Translate.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAGnD,MAAM,WAAW,cAAe,SAAQ,gBAAgB;IACtD,oDAAoD;IACpD,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,wFAAwF;AACxF,eAAO,MAAM,SAAS,GAAI,0BAA0B,cAAc,gCAGjE,CAAC"}
|
package/dist/i18n/Translate.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { Fragment as _Fragment, jsx as _jsx } from "react/jsx-runtime";
|
|
3
3
|
import { useTranslate } from "./useTranslate.js";
|
|
4
|
-
/**
|
|
5
|
-
export const Translate = ({ children,
|
|
4
|
+
/** `t(children)` as an element, for JSX text: `<Translate>Save changes</Translate>`. */
|
|
5
|
+
export const Translate = ({ children, ...options }) => {
|
|
6
6
|
const { t } = useTranslate();
|
|
7
|
-
return _jsx(_Fragment, { children: t(children,
|
|
7
|
+
return _jsx(_Fragment, { children: t(children, options) });
|
|
8
8
|
};
|
|
9
9
|
//# sourceMappingURL=Translate.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Translate.js","sourceRoot":"","sources":["../../src/i18n/Translate.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;
|
|
1
|
+
{"version":3,"file":"Translate.js","sourceRoot":"","sources":["../../src/i18n/Translate.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAGb,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAOjD,wFAAwF;AACxF,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,EAAE,QAAQ,EAAE,GAAG,OAAO,EAAkB,EAAE,EAAE;IACpE,MAAM,EAAE,CAAC,EAAE,GAAG,YAAY,EAAE,CAAC;IAC7B,OAAO,4BAAG,CAAC,CAAC,QAAQ,EAAE,OAAO,CAAC,GAAI,CAAC;AACrC,CAAC,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Date, number and relative-time formatting in the active UI language (not the browser locale). Call these at render
|
|
3
|
+
* time — never keep the result in a module constant — so a language switch (which re-renders through `useTranslate`)
|
|
4
|
+
* formats in the new language.
|
|
5
|
+
*/
|
|
6
|
+
/** The `Intl` locale of the active UI language (`de`, `en-GB` for English, …). */
|
|
7
|
+
export declare const getUiLocale: () => string;
|
|
8
|
+
export declare const uiDateTimeFormat: (options?: Intl.DateTimeFormatOptions) => Intl.DateTimeFormat;
|
|
9
|
+
export declare const uiNumberFormat: (options?: Intl.NumberFormatOptions) => Intl.NumberFormat;
|
|
10
|
+
export declare const uiRelativeTimeFormat: (options?: Intl.RelativeTimeFormatOptions) => Intl.RelativeTimeFormat;
|
|
11
|
+
/** A number in the UI language (`1.234,5` in German, `1,234.5` in English). */
|
|
12
|
+
export declare const formatUiNumber: (value: number, options?: Intl.NumberFormatOptions) => string;
|
|
13
|
+
//# sourceMappingURL=format.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"format.d.ts","sourceRoot":"","sources":["../../src/i18n/format.ts"],"names":[],"mappings":"AAGA;;;;GAIG;AAEH,kFAAkF;AAClF,eAAO,MAAM,WAAW,QAAO,MAA0D,CAAC;AAE1F,eAAO,MAAM,gBAAgB,GAAI,UAAS,IAAI,CAAC,qBAA0B,KAAG,IAAI,CAAC,cACtC,CAAC;AAE5C,eAAO,MAAM,cAAc,GAAI,UAAS,IAAI,CAAC,mBAAwB,KAAG,IAAI,CAAC,YACpC,CAAC;AAE1C,eAAO,MAAM,oBAAoB,GAAI,UAAS,IAAI,CAAC,yBAA8B,KAAG,IAAI,CAAC,kBAC1C,CAAC;AAEhD,+EAA+E;AAC/E,eAAO,MAAM,cAAc,GAAI,OAAO,MAAM,EAAE,UAAS,IAAI,CAAC,mBAAwB,KAAG,MAChD,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { dateTimeFormatFor, numberFormatFor, relativeTimeFormatFor, toIntlLocale } from "./localeFormat.js";
|
|
2
|
+
import { getTranslationState } from "./store.js";
|
|
3
|
+
/**
|
|
4
|
+
* Date, number and relative-time formatting in the active UI language (not the browser locale). Call these at render
|
|
5
|
+
* time — never keep the result in a module constant — so a language switch (which re-renders through `useTranslate`)
|
|
6
|
+
* formats in the new language.
|
|
7
|
+
*/
|
|
8
|
+
/** The `Intl` locale of the active UI language (`de`, `en-GB` for English, …). */
|
|
9
|
+
export const getUiLocale = () => toIntlLocale(getTranslationState().languageCode);
|
|
10
|
+
export const uiDateTimeFormat = (options = {}) => dateTimeFormatFor(getUiLocale(), options);
|
|
11
|
+
export const uiNumberFormat = (options = {}) => numberFormatFor(getUiLocale(), options);
|
|
12
|
+
export const uiRelativeTimeFormat = (options = {}) => relativeTimeFormatFor(getUiLocale(), options);
|
|
13
|
+
/** A number in the UI language (`1.234,5` in German, `1,234.5` in English). */
|
|
14
|
+
export const formatUiNumber = (value, options = {}) => uiNumberFormat(options).format(value);
|
|
15
|
+
//# sourceMappingURL=format.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"format.js","sourceRoot":"","sources":["../../src/i18n/format.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAE,qBAAqB,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAC5G,OAAO,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAEjD;;;;GAIG;AAEH,kFAAkF;AAClF,MAAM,CAAC,MAAM,WAAW,GAAG,GAAW,EAAE,CAAC,YAAY,CAAC,mBAAmB,EAAE,CAAC,YAAY,CAAC,CAAC;AAE1F,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,UAAsC,EAAE,EAAuB,EAAE,CAChG,iBAAiB,CAAC,WAAW,EAAE,EAAE,OAAO,CAAC,CAAC;AAE5C,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,UAAoC,EAAE,EAAqB,EAAE,CAC1F,eAAe,CAAC,WAAW,EAAE,EAAE,OAAO,CAAC,CAAC;AAE1C,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,UAA0C,EAAE,EAA2B,EAAE,CAC5G,qBAAqB,CAAC,WAAW,EAAE,EAAE,OAAO,CAAC,CAAC;AAEhD,+EAA+E;AAC/E,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,KAAa,EAAE,UAAoC,EAAE,EAAU,EAAE,CAC9F,cAAc,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
{
|
|
2
|
+
"{count, plural, one {# validation error} other {# validation errors}}": "Second line of the red error toast after a failed save: how many fields the server rejected (the list is shown above the form).",
|
|
3
|
+
"{count, plural, one {This collection should contain # element or less.} other {This collection should contain # elements or less.}}": "Validation message from the server shown next to a form field (or in the error list above a form) after a failed save. The list field holds too many entries; # is the maximum number of entries.",
|
|
4
|
+
"{count, plural, one {This collection should contain # element or more.} other {This collection should contain # elements or more.}}": "Validation message from the server shown next to a form field (or in the error list above a form) after a failed save. The list field holds too few entries; # is the minimum number of entries.",
|
|
5
|
+
"{count, plural, one {This value is too long. It should have # character or less.} other {This value is too long. It should have # characters or less.}}": "Validation message from the server shown next to a form field (or in the error list above a form) after a failed save. The text entered is too long; # is the maximum number of characters.",
|
|
6
|
+
"{count, plural, one {This value is too short. It should have # character or more.} other {This value is too short. It should have # characters or more.}}": "Validation message from the server shown next to a form field (or in the error list above a form) after a failed save. The text entered is too short; # is the minimum number of characters.",
|
|
7
|
+
"{count, plural, one {This value should have exactly # character.} other {This value should have exactly # characters.}}": "Validation message from the server shown next to a form field (or in the error list above a form) after a failed save. The text must have exactly this many characters (e.g. a code).",
|
|
8
|
+
"{count, plural, other {# selected}}": "Label in the bulk-action bar of a list showing how many rows the user has ticked, e.g. '3 selected'. # is the number of selected rows.",
|
|
9
|
+
"%done% %count% %noun%": "Success toast after a bulk action finished on all selected rows. %done% is a past-tense verb like Deleted, %count% a number like 5, %noun% the item name like tracks.",
|
|
10
|
+
"%done% %succeeded% of %total% %noun% · %failed% failed": "Error toast after a bulk action where some rows failed. %done% is a verb like Deleted, %succeeded% e.g. 3, %total% e.g. 5, %noun% like tracks, %failed% e.g. 2.",
|
|
11
|
+
"%entity% not found or current authenticated Account is not authorized to access it": "Error message from the server when a record cannot be loaded: it does not exist or the signed-in user may not see it. %entity% is the technical English record type name (e.g. Campaign, Challenge) and stays as it is.",
|
|
12
|
+
"%label% (%count%)": "Button text of a bulk action in a list's selection bar: the action name followed by the number of selected rows, e.g. 'Delete (3)'. %label% is the action name, %count% the number of selected rows.",
|
|
13
|
+
"%label% from": "Accessible label of the start-date input in a date-range filter. %label% is the filter caption, e.g. \"Starts at\", so the result reads \"Starts at from\".",
|
|
14
|
+
"%label% to": "Accessible label of the end-date input in a date-range filter. %label% is the filter caption, e.g. \"Ends at\", so the result reads \"Ends at to\".",
|
|
15
|
+
"%name% is not an image": "Error message shown when a picked file is not an image during upload. %name% is the file name, for example holiday-photo.pdf.",
|
|
16
|
+
"%progress% %nouns%… %done%/%total%": "Progress toast of a bulk action running on many selected rows. %progress% is a verb like Deleting, %nouns% the plural item name like tracks, %done%/%total% e.g. 2/5.",
|
|
17
|
+
"%title% sections": "Accessible name (screen reader label) of the sub-tab bar below a section heading. %title% is the section title, e.g. Top riders.",
|
|
18
|
+
"Account not found or current Auth Account is not authorized to access it": "Error message from the server when a user account cannot be loaded: it does not exist or the signed-in user may not see it.",
|
|
19
|
+
"Add %entity%": "Label of the primary button at the top right of a list page that creates a new item. %entity% is the singular item name, e.g. World or Push Notification. Imperative.",
|
|
20
|
+
"All__filter-option": "On the admin UI Showcase page (Maintenance), label of the quick-filter pill that clears the status filter and shows every item. Single word.",
|
|
21
|
+
"Auto-translate": "Button next to a translatable text field that fills the other languages automatically from the current text by AI. Imperative.",
|
|
22
|
+
"breadcrumb__navigation": "Accessible name (screen reader label) of the breadcrumb navigation trail at the top of admin pages; use a short lowercase noun like the English.",
|
|
23
|
+
"Bulk actions": "Accessible name (screen-reader label) of the toolbar that appears above a list when rows are selected, holding actions that apply to all selected rows.",
|
|
24
|
+
"Cancel": "Button at the bottom of the world form that discards the entries and returns to the world list; asks for confirmation if there are unsaved changes.",
|
|
25
|
+
"Cancel__confirm-dialog": "Button on the left of a generic confirmation dialog that dismisses it without doing the action. Shown when the caller did not set its own label.",
|
|
26
|
+
"Cancel__media-picker": "Footer button of the media picker dialog; click to close the dialog without changing the chosen media item.",
|
|
27
|
+
"Cancelled": "Status badge label (short pill) in lists, cards and detail views, describing the state of a partner contract. Keep it short, like a status word.",
|
|
28
|
+
"Change__media-field-action": "Button label under a media field preview; click to open the picker and replace the currently chosen image. Shown only when an image is already set.",
|
|
29
|
+
"Clear %label%": "Accessible label of the small X button inside a text filter that empties it. %label% is the filter name, e.g. Name or Account ID.",
|
|
30
|
+
"Clear all": "Button at the bottom of a multi-select dropdown that deselects every option in the list.",
|
|
31
|
+
"Clear all translations": "Tooltip and accessible label of the small trash-can icon button in the label row of a translatable text field in an admin form; it deletes the text of every language of that field after a confirmation.",
|
|
32
|
+
"Clear all translations?": "Title of a confirmation dialog in translatable text fields of admin forms; asks whether to delete the texts of every language of the field.",
|
|
33
|
+
"Clear all__translations-action": "Button that deletes the text of every language of one translatable field, and the confirm button of the dialog that follows. Imperative.",
|
|
34
|
+
"Clear filters": "Button in a list toolbar that resets all active filters at once. It only appears while at least one filter is set.",
|
|
35
|
+
"Clear search": "Outlined button in the empty state of a list when a search or filter found nothing; it resets the search so all rows show again. Imperative.",
|
|
36
|
+
"Clear__selection-action": "Link-style button in the bulk-action bar that deselects all currently selected list rows. Imperative, short.",
|
|
37
|
+
"Close__dialog-close-button": "Close button of a popup dialog, either an icon with screen-reader text in the top corner or a footer button. Imperative: dismisses the dialog.",
|
|
38
|
+
"Close__drawer-close-button": "Accessible label (screen reader and tooltip) of the small X icon button in the corner of a right-side form drawer. Closes the drawer and may ask to discard unsaved changes.",
|
|
39
|
+
"Close__sheet-close-button": "Screen-reader label of the X icon in the corner of a side panel (sheet) that slides in from the screen edge. Imperative: closes the panel.",
|
|
40
|
+
"Collapse %title%": "Accessible label (screen reader and tooltip) of the round chevron button that collapses a group panel on a dashboard. %title% is the group name, for example 'Running'.",
|
|
41
|
+
"Command Palette": "Hidden (screen-reader only) title of the command palette dialog, a search popup for jumping to pages and actions in the admin app.",
|
|
42
|
+
"Confirm__confirm-dialog": "Button on the right of a generic confirmation dialog that carries out the action asked about. Shown when the caller did not set its own label.",
|
|
43
|
+
"Copy ID": "Tooltip of the small copy icon button next to an ID in a list table; copies the ID to the clipboard. Imperative.",
|
|
44
|
+
"Copy ID %id%": "Accessible label (screen reader and tooltip) of the small button that copies the record ID to the clipboard, shown in the metadata block of every detail screen. %id% is the record ID, for example 4711 or a UUID. Imperative tone.",
|
|
45
|
+
"Created__entity-metadata": "Label in the metadata block of a detail screen, placed before the date and time the record was created, for example 'Created 12 Nov 2026, 10:15'. Keep it short.",
|
|
46
|
+
"Discard changes?": "Title of the confirmation dialog shown when the user closes a form drawer that has unsaved edits. Phrased as a question.",
|
|
47
|
+
"Discard__unsaved-changes-confirm": "Destructive confirm button of the discard dialog; clicking it closes the form and loses the unsaved edits. Imperative verb.",
|
|
48
|
+
"Dismiss": "Button in the AI translation panel that hides the finished progress list of the last translation run. Imperative.",
|
|
49
|
+
"Done": "Status badge of one language in the translation progress list: the translation finished successfully.",
|
|
50
|
+
"Edit__action": "Default accessible name and tooltip of the small pencil icon button in the top-right corner of a settings card; clicking it opens the edit form for that card. Imperative verb.",
|
|
51
|
+
"Enter %language% text…": "Placeholder of a text input in a translatable field; %language% is the name of the active language tab, e.g. 'German'.",
|
|
52
|
+
"Export to Excel": "Sample text of the outline button specimen in the UI showcase; imperative, exports a list as a spreadsheet. Maintenance UI showcase screen, Buttons section.",
|
|
53
|
+
"Failed": "Status badge label (short pill) in lists, cards and detail views, describing the state of a push notification or mail delivery attempt. Keep it short, like a status word. Also used for other status families.",
|
|
54
|
+
"Filters": "Button text in a list toolbar that opens or closes the collapsible panel with extra filters. Hidden on phones, where only the icon shows.",
|
|
55
|
+
"Form sections": "Accessible label (aria-label) of the small sticky navigation bar at the top of a long admin form (challenge, campaign) that jumps between its panels.",
|
|
56
|
+
"Grid view": "Tooltip and accessible label of the icon button in a list toolbar that switches the list to a grid of cards.",
|
|
57
|
+
"ID__entity-id": "Label in the metadata block of a detail screen, placed before the record's unique identifier, for example 'ID 4711'. Keep it short, uppercase-friendly.",
|
|
58
|
+
"Informal__writing-style": "Writing style option: texts address the user informally (German 'du', French 'tu'). Shown in the language menu and account forms. One word, an adjective.",
|
|
59
|
+
"Keep editing": "Cancel button of the discard dialog; clicking it returns the user to the open form so no edits are lost. Imperative.",
|
|
60
|
+
"Languages": "Navigation menu entry in the admin sidebar that opens the Languages area. Keep it short, as it is a single menu label.",
|
|
61
|
+
"Loading": "Accessible label of a spinning loader shown while a chart on the activity statistics screens is loading. Screen readers announce it.",
|
|
62
|
+
"Loading more": "Accessible name (screen-reader label) of the spinner at the end of a list while the next page of rows is being loaded during infinite scroll.",
|
|
63
|
+
"More actions": "Accessible label (tooltip for screen readers) of an icon-only button showing three dots that opens more actions. Sample in the UI showcase, Buttons section.",
|
|
64
|
+
"More__breadcrumb-ellipsis": "Screen reader only text next to the '...' icon in a shortened breadcrumb trail; announces that further, hidden path levels exist.",
|
|
65
|
+
"No": "Option of a yes/no filter in the filter panel of a list; selecting it shows only records where the flag is not set.",
|
|
66
|
+
"No changes": "Status text next to the Save and Cancel buttons of an edit form, shown while nothing has been changed since the form was loaded or saved.",
|
|
67
|
+
"No image": "Empty-state text inside a dashed placeholder box where an image preview would be, shown when a media item has no image or the file fails to load.",
|
|
68
|
+
"No media items found": "Empty-state message in the media picker dialog when the search or filter returns no media items (images) to choose from.",
|
|
69
|
+
"No results": "Empty-state message inside an opened dropdown picker when the typed search matches none of the options.",
|
|
70
|
+
"No__boolean-flag": "Default label of a yes/no flag cell in a list table, shown with a grey minus when the flag is off, e.g. Active column.",
|
|
71
|
+
"Nothing here yet": "Empty-state message shown in a list or table that contains no entries at all, before any search or filter is applied.",
|
|
72
|
+
"Nothing matches your search": "Empty-state message shown in a list or table when the current search or filters return no rows. A Clear search button is shown below it.",
|
|
73
|
+
"One or more of the given values is invalid.": "Validation message from the server shown next to a form field (or in the error list above a form) after a failed save. A multi-select field contains a value that is not one of the allowed options.",
|
|
74
|
+
"Open original of %title%": "Screen-reader label of the small link on a media tile that opens the full-size original in a new tab; %title% is the item's title, e.g. 'Logo'.",
|
|
75
|
+
"Property \"%propertyName%\" in class \"%className%\" has to be unique but value \"%value%\" is already in use": "Validation message from the server shown next to a form field (or in the error list above a form) after a failed save. Another record already uses this value for a field that must be unique. %propertyName% and %className% are technical English names, %value% is the entered value; all stay as they are.",
|
|
76
|
+
"Refresh token invalid": "Error message from the server when the stored login session can no longer be renewed; the user has to sign in again.",
|
|
77
|
+
"Refreshing list": "Accessible name (screen-reader label) of the thin loading bar shown over a list's toolbar while the list reloads in the background.",
|
|
78
|
+
"Remove %label%": "Accessible label of the small X button on a chip in a multi-select, removing that choice. %label% is the chosen value, for example German.",
|
|
79
|
+
"Remove__media-field-action": "Button label next to a media field; click to clear the chosen image reference from the form. Takes effect only after the form is saved.",
|
|
80
|
+
"Request contains invalid data": "Title of the red error toast and error box above a form after the server rejected a save because one or more fields are invalid (the fields are listed below it).",
|
|
81
|
+
"Save changes": "Sample text of the primary button specimen in the UI showcase; imperative, a typical save action. Maintenance UI showcase screen, Buttons section.",
|
|
82
|
+
"Search": "Accessible label of a search input field in a list toolbar, read by screen readers. Use the plain noun or verb for searching.",
|
|
83
|
+
"Search for a command to run...": "Hidden (screen-reader only) description of the command palette dialog, telling the user to search for a command or page to run.",
|
|
84
|
+
"Search…": "Placeholder text inside a search box above a list or table, and the generic placeholder of a dropdown's search field. Ends with an ellipsis.",
|
|
85
|
+
"Sections": "Accessible name (screen reader label) of the sub-tab bar below a section heading when the heading is not plain text.",
|
|
86
|
+
"Sections__tab-navigation": "Default accessible name (screen reader label, not visible) of the tab bar under the header of a detail screen, whose tabs switch between sections of the record such as General, Teams or Rides. Plural noun.",
|
|
87
|
+
"Select %title%": "Screen-reader label of a media tile button in the picker dialog; %title% is the media item's title, e.g. 'Summer campaign banner'.",
|
|
88
|
+
"Select all": "Button at the bottom of a multi-select dropdown that selects every option in the list at once.",
|
|
89
|
+
"Select all loaded": "Tooltip and accessible label of the checkbox in the table header that selects every row currently loaded in the list. Used for bulk actions.",
|
|
90
|
+
"Select row %rowKey%": "Accessible label of a row checkbox in a selectable table, read by screen readers. %rowKey% is the row's technical ID, for example 1042.",
|
|
91
|
+
"Select__media-field-action": "Button label under an empty media field; click to open the picker and choose an existing media item (image). Shown when nothing is chosen yet.",
|
|
92
|
+
"Select…": "Placeholder of a multi-select dropdown while nothing is picked. Prompts the user to open the list and choose values. Ends with an ellipsis.",
|
|
93
|
+
"Show all (%count%)": "Small floating pill button at the bottom edge of a group panel; clicking it reveals all rows. %count% is the total number of rows, for example 12.",
|
|
94
|
+
"Show less": "Small floating pill button at the bottom edge of an expanded group panel; clicking it shows only the first few rows again.",
|
|
95
|
+
"Sort by__media-picker": "Small label above the sort dropdown in the media picker dialog; the dropdown picks the order of the media tiles, e.g. newest first.",
|
|
96
|
+
"Sort__media-picker": "Fallback label of the sort dropdown button in the media picker dialog, shown when no sort option is currently selected.",
|
|
97
|
+
"Table view": "Tooltip and accessible label of the icon button in a list toolbar that switches the list to a table with rows and columns.",
|
|
98
|
+
"The file is not an image this browser can read": "Error message shown when a picked file cannot be decoded as an image by the browser while preparing an upload in the media picker.",
|
|
99
|
+
"The value you selected is not a valid choice.": "Validation message from the server shown next to a form field (or in the error list above a form) after a failed save. A dropdown field contains a value that is not one of the allowed options.",
|
|
100
|
+
"This removes the text for every language. It is gone once you save.": "Body of the confirmation dialog for clearing all translations of one field; warns that the removal becomes permanent after saving the form.",
|
|
101
|
+
"This value is not a valid email address.": "Validation message from the server shown next to a form field (or in the error list above a form) after a failed save. The entered e-mail address is not a valid e-mail address.",
|
|
102
|
+
"This value is not a valid URL.": "Validation message from the server shown next to a form field (or in the error list above a form) after a failed save. The entered web address (link) is not a valid URL.",
|
|
103
|
+
"This value should be %limit% or less.": "Validation message from the server shown next to a form field (or in the error list above a form) after a failed save. The number is above the allowed maximum %limit%.",
|
|
104
|
+
"This value should be %limit% or more.": "Validation message from the server shown next to a form field (or in the error list above a form) after a failed save. The number is below the allowed minimum %limit%.",
|
|
105
|
+
"This value should be a valid number.": "Validation message from the server shown next to a form field (or in the error list above a form) after a failed save. A number field contains something that is not a number.",
|
|
106
|
+
"This value should be between %min% and %max%.": "Validation message from the server shown next to a form field (or in the error list above a form) after a failed save. The number is outside the allowed range; %min% and %max% are the limits.",
|
|
107
|
+
"This value should not be blank.": "Validation message from the server shown next to a form field (or in the error list above a form) after a failed save. A required text field was left empty or contains only spaces.",
|
|
108
|
+
"This value should not be null.": "Validation message from the server shown next to a form field (or in the error list above a form) after a failed save. A required field was left empty.",
|
|
109
|
+
"Toggle filters": "Accessible label of the Filters button in a list toolbar that opens or closes the filter panel while no filter is set.",
|
|
110
|
+
"Toggle filters (%count% active)": "Accessible label of the Filters button in a list toolbar when filters are set. %count% is the number of active filters, for example 3.",
|
|
111
|
+
"Token authentication failed": "Error message from the server when the login session token is invalid or expired; the user has to sign in again.",
|
|
112
|
+
"Translate to": "Form label above the language chips in the AI translation panel of an admin form; the chips are the target languages.",
|
|
113
|
+
"Translate to selected locales": "Button in the AI translation panel that starts translating the texts into all language chips the user selected. Imperative.",
|
|
114
|
+
"Translating": "Status badge of one language in the translation progress list: the translation request is running right now.",
|
|
115
|
+
"Translating…": "Label of a button while the automatic AI translation is running for the selected languages; progress state, keep the ellipsis.",
|
|
116
|
+
"Translation failed": "Fallback error message shown in the tooltip of a failed language in the translation progress list when the server gave no message.",
|
|
117
|
+
"Unauthorized": "Short error message from the server when the request needs a valid login (session expired or missing); the user has to sign in again.",
|
|
118
|
+
"Unknown error": "Fallback text for a single server-side validation message that arrived without any error text. Shown in the error list above a form after a failed save.",
|
|
119
|
+
"Unreadable file": "Error message shown when a picked file could not be read by the browser during an image upload in the media picker.",
|
|
120
|
+
"Unsaved changes": "Status text next to the Save and Cancel buttons of an edit form, shown while the user has changed fields that are not saved yet.",
|
|
121
|
+
"Updated__entity-metadata": "Label in the metadata block of a detail screen, placed before the date and time the record was last modified, for example 'Updated 12 Nov 2026, 10:15'. Keep it short.",
|
|
122
|
+
"Upload__media-picker": "Button in the media picker dialog header; click to choose image files from the computer and upload them as new media items.",
|
|
123
|
+
"Uploading…__media-picker": "Button label in the media picker dialog while selected image files are being uploaded; the button is disabled meanwhile.",
|
|
124
|
+
"View": "Label and accessible name of the toggle on the Home screen that switches between the Timeline and Kanban views.",
|
|
125
|
+
"Waiting": "Short form of the status 'Waiting for Customer', on a compact status button in the support ticket sidebar. Keep it to one short word.",
|
|
126
|
+
"Wrong credentials.": "Error message on the login page when the e-mail address / username or the password is wrong.",
|
|
127
|
+
"Yes": "Option of a yes/no filter in the filter panel of a list; selecting it shows only records where the flag is set.",
|
|
128
|
+
"Yes__boolean-flag": "Default label of a yes/no flag cell in a list table, shown with a green check when the flag is on, e.g. Active column.",
|
|
129
|
+
"You have unsaved changes. Closing now will lose them.": "Body text of the discard confirmation dialog, warning that closing the form drawer throws away the user's unsaved edits."
|
|
130
|
+
}
|
package/dist/i18n/index.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export { m } from './
|
|
3
|
-
export { useTranslate, type UseTranslateResult } from './useTranslate.js';
|
|
1
|
+
export { formatIcuPlural, isIcuPlural } from './plural.js';
|
|
2
|
+
export { getTranslationState, m, setTranslations, subscribeTranslations, type TranslateOptions, translateText, translationKeyOf, type WritingStyle, } from './store.js';
|
|
4
3
|
export { Translate, type TranslateProps } from './Translate.js';
|
|
4
|
+
export { type TranslateFn, useTranslate } from './useTranslate.js';
|
|
5
|
+
export { formatUiNumber, getUiLocale, uiDateTimeFormat, uiNumberFormat, uiRelativeTimeFormat } from './format.js';
|
|
6
|
+
export { FRAMEWORK_STATIC_MESSAGES, type ServerMessagePattern, translateDddErrorBody, translateDddRequestError, translateServerMessage, } from './serverMessages.js';
|
|
5
7
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/i18n/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/i18n/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/i18n/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC3D,OAAO,EACL,mBAAmB,EACnB,CAAC,EACD,eAAe,EACf,qBAAqB,EACrB,KAAK,gBAAgB,EACrB,aAAa,EACb,gBAAgB,EAChB,KAAK,YAAY,GAClB,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,EAAE,KAAK,WAAW,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACnE,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,gBAAgB,EAAE,cAAc,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAClH,OAAO,EACL,yBAAyB,EACzB,KAAK,oBAAoB,EACzB,qBAAqB,EACrB,wBAAwB,EACxB,sBAAsB,GACvB,MAAM,qBAAqB,CAAC"}
|
package/dist/i18n/index.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export { m } from "./
|
|
3
|
-
export { useTranslate } from "./useTranslate.js";
|
|
1
|
+
export { formatIcuPlural, isIcuPlural } from "./plural.js";
|
|
2
|
+
export { getTranslationState, m, setTranslations, subscribeTranslations, translateText, translationKeyOf, } from "./store.js";
|
|
4
3
|
export { Translate } from "./Translate.js";
|
|
4
|
+
export { useTranslate } from "./useTranslate.js";
|
|
5
|
+
export { formatUiNumber, getUiLocale, uiDateTimeFormat, uiNumberFormat, uiRelativeTimeFormat } from "./format.js";
|
|
6
|
+
export { FRAMEWORK_STATIC_MESSAGES, translateDddErrorBody, translateDddRequestError, translateServerMessage, } from "./serverMessages.js";
|
|
5
7
|
//# sourceMappingURL=index.js.map
|
package/dist/i18n/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/i18n/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/i18n/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC3D,OAAO,EACL,mBAAmB,EACnB,CAAC,EACD,eAAe,EACf,qBAAqB,EAErB,aAAa,EACb,gBAAgB,GAEjB,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,SAAS,EAAuB,MAAM,gBAAiB,CAAC;AACjE,OAAO,EAAoB,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACnE,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,gBAAgB,EAAE,cAAc,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAClH,OAAO,EACL,yBAAyB,EAEzB,qBAAqB,EACrB,wBAAwB,EACxB,sBAAsB,GACvB,MAAM,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Locale-bound `Intl` formatters, cached per locale and options (pure: no store, testable under plain Node). The app
|
|
3
|
+
* calls the UI-language wrappers in `./format` instead.
|
|
4
|
+
*/
|
|
5
|
+
/** The `Intl` locale of a UI language code: English prints as `en-GB` (24-hour clock, day before month). */
|
|
6
|
+
export declare const toIntlLocale: (languageCode: string | null | undefined) => string;
|
|
7
|
+
export declare const dateTimeFormatFor: (locale: string, options?: Intl.DateTimeFormatOptions) => Intl.DateTimeFormat;
|
|
8
|
+
export declare const numberFormatFor: (locale: string, options?: Intl.NumberFormatOptions) => Intl.NumberFormat;
|
|
9
|
+
export declare const relativeTimeFormatFor: (locale: string, options?: Intl.RelativeTimeFormatOptions) => Intl.RelativeTimeFormat;
|
|
10
|
+
//# sourceMappingURL=localeFormat.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"localeFormat.d.ts","sourceRoot":"","sources":["../../src/i18n/localeFormat.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,4GAA4G;AAC5G,eAAO,MAAM,YAAY,GAAI,cAAc,MAAM,GAAG,IAAI,GAAG,SAAS,KAAG,MAQtE,CAAC;AAuBF,eAAO,MAAM,iBAAiB,GAAI,QAAQ,MAAM,EAAE,UAAS,IAAI,CAAC,qBAA0B,KAAG,IAAI,CAAC,cACb,CAAC;AAEtF,eAAO,MAAM,eAAe,GAAI,QAAQ,MAAM,EAAE,UAAS,IAAI,CAAC,mBAAwB,KAAG,IAAI,CAAC,YACT,CAAC;AAEtF,eAAO,MAAM,qBAAqB,GAChC,QAAQ,MAAM,EACd,UAAS,IAAI,CAAC,yBAA8B,KAC3C,IAAI,CAAC,kBAAiH,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Locale-bound `Intl` formatters, cached per locale and options (pure: no store, testable under plain Node). The app
|
|
3
|
+
* calls the UI-language wrappers in `./format` instead.
|
|
4
|
+
*/
|
|
5
|
+
/** The `Intl` locale of a UI language code: English prints as `en-GB` (24-hour clock, day before month). */
|
|
6
|
+
export const toIntlLocale = (languageCode) => {
|
|
7
|
+
const code = (languageCode ?? '').trim();
|
|
8
|
+
if (!code || code === 'en')
|
|
9
|
+
return 'en-GB';
|
|
10
|
+
try {
|
|
11
|
+
return Intl.getCanonicalLocales(code)[0] ?? 'en-GB';
|
|
12
|
+
}
|
|
13
|
+
catch {
|
|
14
|
+
return 'en-GB';
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
const cache = new Map();
|
|
18
|
+
const cached = (kind, locale, options, create) => {
|
|
19
|
+
const key = `${kind}|${locale}|${JSON.stringify(options)}`;
|
|
20
|
+
const existing = cache.get(key);
|
|
21
|
+
if (existing)
|
|
22
|
+
return existing;
|
|
23
|
+
let format;
|
|
24
|
+
try {
|
|
25
|
+
format = create(locale);
|
|
26
|
+
}
|
|
27
|
+
catch {
|
|
28
|
+
format = create('en-GB');
|
|
29
|
+
}
|
|
30
|
+
cache.set(key, format);
|
|
31
|
+
return format;
|
|
32
|
+
};
|
|
33
|
+
export const dateTimeFormatFor = (locale, options = {}) => cached('date', locale, options, target => new Intl.DateTimeFormat(target, options));
|
|
34
|
+
export const numberFormatFor = (locale, options = {}) => cached('number', locale, options, target => new Intl.NumberFormat(target, options));
|
|
35
|
+
export const relativeTimeFormatFor = (locale, options = {}) => cached('relative', locale, options, target => new Intl.RelativeTimeFormat(target, options));
|
|
36
|
+
//# sourceMappingURL=localeFormat.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"localeFormat.js","sourceRoot":"","sources":["../../src/i18n/localeFormat.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,4GAA4G;AAC5G,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,YAAuC,EAAU,EAAE;IAC9E,MAAM,IAAI,GAAG,CAAC,YAAY,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC;IACzC,IAAI,CAAC,IAAI,IAAI,IAAI,KAAK,IAAI;QAAE,OAAO,OAAO,CAAC;IAC3C,IAAI,CAAC;QACH,OAAO,IAAI,CAAC,mBAAmB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,OAAO,CAAC;IACtD,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,OAAO,CAAC;IACjB,CAAC;AACH,CAAC,CAAC;AAEF,MAAM,KAAK,GAAG,IAAI,GAAG,EAA6E,CAAC;AAEnG,MAAM,MAAM,GAAG,CACb,IAAY,EACZ,MAAc,EACd,OAAe,EACf,MAAmC,EAC1B,EAAE;IACX,MAAM,GAAG,GAAG,GAAG,IAAI,IAAI,MAAM,IAAI,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,EAAE,CAAC;IAC3D,MAAM,QAAQ,GAAG,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAChC,IAAI,QAAQ;QAAE,OAAO,QAAmB,CAAC;IACzC,IAAI,MAAe,CAAC;IACpB,IAAI,CAAC;QACH,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC;IAC1B,CAAC;IAAC,MAAM,CAAC;QACP,MAAM,GAAG,MAAM,CAAC,OAAO,CAAC,CAAC;IAC3B,CAAC;IACD,KAAK,CAAC,GAAG,CAAC,GAAG,EAAE,MAAM,CAAC,CAAC;IACvB,OAAO,MAAM,CAAC;AAChB,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,MAAc,EAAE,UAAsC,EAAE,EAAuB,EAAE,CACjH,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC,cAAc,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;AAEtF,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,MAAc,EAAE,UAAoC,EAAE,EAAqB,EAAE,CAC3G,MAAM,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC,YAAY,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;AAEtF,MAAM,CAAC,MAAM,qBAAqB,GAAG,CACnC,MAAc,EACd,UAA0C,EAAE,EACnB,EAAE,CAAC,MAAM,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC,kBAAkB,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC"}
|