@plumile/ui 0.1.117 → 0.1.120
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/README.md +2 -0
- package/lib/esm/admin/organisms/admin_sidebar/AdminSidebar.js +2 -1
- package/lib/esm/admin/organisms/admin_sidebar/AdminSidebar.js.map +1 -1
- package/lib/esm/atomic/molecules/markdown/components/MarkdownDelete.css.js +0 -1
- package/lib/esm/atomic/molecules/markdown/components/MarkdownFootnoteReference.css.js +1 -0
- package/lib/esm/backoffice/molecules/sidebar_nav_item/SidebarNavItem.js +90 -94
- package/lib/esm/backoffice/molecules/sidebar_nav_item/SidebarNavItem.js.map +1 -1
- package/lib/esm/backoffice/molecules/sidebar_nav_item/sidebarNavItem.css.js +2 -2
- package/lib/esm/backoffice/molecules/sidebar_nav_item/sidebarNavItem.css.js.map +1 -1
- package/lib/esm/backoffice/molecules/sidebar_nav_section/SidebarNavSection.js +159 -62
- package/lib/esm/backoffice/molecules/sidebar_nav_section/SidebarNavSection.js.map +1 -1
- package/lib/esm/backoffice/molecules/sidebar_nav_section/sidebarNavSection.css.js +2 -2
- package/lib/esm/backoffice/molecules/sidebar_nav_section/sidebarNavSection.css.js.map +1 -1
- package/lib/esm/i18n/locales/en/ui.js +12 -6
- package/lib/esm/i18n/locales/en/ui.js.map +1 -1
- package/lib/esm/i18n/locales/fr/ui.js +12 -6
- package/lib/esm/i18n/locales/fr/ui.js.map +1 -1
- package/lib/esm/node_modules/@dnd-kit/accessibility/dist/accessibility.esm.js +46 -0
- package/lib/esm/node_modules/@dnd-kit/accessibility/dist/accessibility.esm.js.map +1 -0
- package/lib/esm/node_modules/@dnd-kit/core/dist/core.esm.js +1966 -0
- package/lib/esm/node_modules/@dnd-kit/core/dist/core.esm.js.map +1 -0
- package/lib/esm/node_modules/@dnd-kit/sortable/dist/sortable.esm.js +348 -0
- package/lib/esm/node_modules/@dnd-kit/sortable/dist/sortable.esm.js.map +1 -0
- package/lib/esm/node_modules/@dnd-kit/utilities/dist/utilities.esm.js +157 -0
- package/lib/esm/node_modules/@dnd-kit/utilities/dist/utilities.esm.js.map +1 -0
- package/lib/esm/style.css +1 -1
- package/lib/types/admin/organisms/admin_sidebar/AdminSidebar.d.ts +2 -1
- package/lib/types/admin/organisms/admin_sidebar/AdminSidebar.d.ts.map +1 -1
- package/lib/types/backoffice/molecules/sidebar_nav_item/SidebarNavItem.d.ts +4 -7
- package/lib/types/backoffice/molecules/sidebar_nav_item/SidebarNavItem.d.ts.map +1 -1
- package/lib/types/backoffice/molecules/sidebar_nav_item/sidebarNavItem.css.d.ts +1 -0
- package/lib/types/backoffice/molecules/sidebar_nav_item/sidebarNavItem.css.d.ts.map +1 -1
- package/lib/types/backoffice/molecules/sidebar_nav_section/SidebarNavSection.d.ts +6 -1
- package/lib/types/backoffice/molecules/sidebar_nav_section/SidebarNavSection.d.ts.map +1 -1
- package/lib/types/backoffice/molecules/sidebar_nav_section/sidebarNavSection.css.d.ts +6 -0
- package/lib/types/backoffice/molecules/sidebar_nav_section/sidebarNavSection.css.d.ts.map +1 -1
- package/lib/types/i18n/resources.d.ts +8 -0
- package/lib/types/i18n/resources.d.ts.map +1 -1
- package/package.json +5 -2
- package/src/i18n/locales/en/ui.json +4 -0
- package/src/i18n/locales/fr/ui.json +4 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SidebarNavSection.js","names":[],"sources":["../../../../../src/backoffice/molecules/sidebar_nav_section/SidebarNavSection.tsx"],"sourcesContent":["import { type JSX, type ReactNode, useCallback, useId, useState } from 'react';\n\nimport { ChevronDownSvg } from '../../../icons/ChevronDownSvg.js';\n\nimport {\n SidebarNavItem,\n type SidebarNavItemProps,\n} from '../sidebar_nav_item/SidebarNavItem.js';\nimport * as styles from './sidebarNavSection.css.js';\nimport { cx } from '../../../theme/tools.js';\n\nexport type SidebarNavSectionItemData = {\n kind: 'dashboard' | 'entity' | 'tool' | 'hub';\n id: string;\n groupId?: string;\n};\n\nexport type SidebarNavSectionItem = SidebarNavItemProps & {\n id: string;\n data?: SidebarNavSectionItemData;\n};\n\nexport type SidebarNavSectionProps = {\n title?: ReactNode;\n icon?: ReactNode;\n items: readonly SidebarNavSectionItem[];\n collapsible?: boolean;\n isCollapsed?: boolean;\n defaultCollapsed?: boolean;\n onCollapsedChange?: (collapsed: boolean) => void;\n collapsed?: boolean;\n className?: string;\n};\n\nexport const SidebarNavSection = ({\n title,\n icon,\n items,\n collapsible = false,\n isCollapsed,\n defaultCollapsed = false,\n onCollapsedChange,\n collapsed: sidebarCollapsed = false,\n className,\n}: SidebarNavSectionProps): JSX.Element => {\n const [uncontrolledCollapsed, setUncontrolledCollapsed] =\n useState(defaultCollapsed);\n const itemsId = useId();\n const titleId = useId();\n\n const collapsed = isCollapsed ?? uncontrolledCollapsed;\n\n const canCollapse = collapsible;\n\n const handleToggle = useCallback(() => {\n if (!canCollapse) {\n return;\n }\n const next = !collapsed;\n if (isCollapsed == null) {\n setUncontrolledCollapsed(next);\n }\n onCollapsedChange?.(next);\n }, [canCollapse, collapsed, isCollapsed, onCollapsedChange]);\n\n let resolvedTitle: string | undefined;\n if (typeof title === 'string') {\n resolvedTitle = title;\n }\n\n const titleClassName = cx(styles.title, {\n [styles.titleSidebarCollapsed]: sidebarCollapsed,\n });\n const toggleIconClassName = cx(styles.toggleIcon, {\n [styles.toggleIconCollapsed]: collapsed,\n });\n let sidebarCollapsedTitle: string | undefined;\n if (sidebarCollapsed) {\n sidebarCollapsedTitle = resolvedTitle;\n }\n let iconNode: JSX.Element | null = null;\n if (icon != null) {\n iconNode = (\n <span className={styles.titleIcon} aria-hidden=\"true\">\n {icon}\n </span>\n );\n }\n\n let headerNode: JSX.Element | null = null;\n if (title != null) {\n if (canCollapse) {\n headerNode = (\n <button\n id={titleId}\n type=\"button\"\n className={cx(styles.headerButton, {\n [styles.headerButtonSidebarCollapsed]: sidebarCollapsed,\n })}\n onClick={handleToggle}\n aria-expanded={!collapsed}\n aria-controls={itemsId}\n aria-label={sidebarCollapsedTitle}\n title={sidebarCollapsedTitle}\n >\n <span className={styles.titleContent}>\n {iconNode}\n <span className={titleClassName}>{title}</span>\n </span>\n {!sidebarCollapsed && (\n <span className={toggleIconClassName} aria-hidden=\"true\">\n <ChevronDownSvg width={18} height={18} />\n </span>\n )}\n </button>\n );\n } else {\n headerNode = (\n <div\n className={cx(styles.header, {\n [styles.headerSidebarCollapsed]: sidebarCollapsed,\n })}\n title={sidebarCollapsedTitle}\n >\n <div className={styles.titleContent} id={titleId}>\n {iconNode}\n <span className={titleClassName}>{title}</span>\n </div>\n </div>\n );\n }\n }\n\n let itemsNode: JSX.Element | null = null;\n if (!collapsed) {\n const isNested = title != null && !sidebarCollapsed;\n itemsNode = (\n <div\n className={cx(styles.items, {\n [styles.itemsNested]: isNested,\n })}\n id={itemsId}\n role=\"list\"\n >\n {items.map((item) => {\n const { id, data, ...rest } = item;\n return (\n <SidebarNavItem\n key={id}\n {...rest}\n collapsed={sidebarCollapsed}\n nested={isNested}\n />\n );\n })}\n </div>\n );\n }\n\n let ariaLabelledBy: string | undefined;\n if (title != null) {\n ariaLabelledBy = titleId;\n }\n\n return (\n <section\n className={cx(styles.section, className)}\n aria-labelledby={ariaLabelledBy}\n >\n {headerNode}\n {itemsNode}\n </section>\n );\n};\n\nexport default SidebarNavSection;\n"],"mappings":";;;;;;;AAkCA,IAAa,KAAqB,EAChC,OAAA,GACA,SACA,OAAA,GACA,iBAAc,IACd,gBACA,sBAAmB,IACnB,sBACA,WAAW,IAAmB,IAC9B,mBACyC;CACzC,IAAM,CAAC,GAAuB,KAC5B,EAAS,EAAiB,EACtB,IAAU,GAAO,EACjB,IAAU,GAAO,EAEjB,IAAY,KAAe,GAE3B,IAAc,GAEd,IAAe,QAAkB;EACrC,IAAI,CAAC,GACH;EAEF,IAAM,IAAO,CAAC;EAId,AAHI,KACF,EAAyB,EAAK,EAEhC,IAAoB,EAAK;IACxB;EAAC;EAAa;EAAW;EAAa;EAAk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ACJ,WAAW;KACX,QAAQ;KACR,EAJK,EAIL;KAEJ;GACE,CAAA;;CAIV,IAAI;CAKJ,OAJI,KAAS,SACX,IAAiB,IAIjB,kBAAC,WAAD;EACE,WAAW,EAAG,GAAgB,EAAU;EACxC,mBAAiB;YAFnB,CAIG,GACA,EACO"}
|
|
1
|
+
{"version":3,"file":"SidebarNavSection.js","names":[],"sources":["../../../../../src/backoffice/molecules/sidebar_nav_section/SidebarNavSection.tsx"],"sourcesContent":["import {\n DndContext,\n DragOverlay,\n KeyboardSensor,\n PointerSensor,\n TouchSensor,\n closestCenter,\n useSensor,\n useSensors,\n type DragEndEvent,\n type DragStartEvent,\n type UniqueIdentifier,\n} from '@dnd-kit/core';\nimport {\n SortableContext,\n sortableKeyboardCoordinates,\n useSortable,\n verticalListSortingStrategy,\n} from '@dnd-kit/sortable';\nimport { CSS } from '@dnd-kit/utilities';\nimport {\n type CSSProperties,\n type JSX,\n type ReactNode,\n useCallback,\n useId,\n useMemo,\n useState,\n} from 'react';\nimport { useTranslation } from 'react-i18next';\n\nimport { ChevronDownSvg } from '../../../icons/ChevronDownSvg.js';\n\nimport {\n SidebarNavItem,\n type SidebarNavItemProps,\n} from '../sidebar_nav_item/SidebarNavItem.js';\nimport * as styles from './sidebarNavSection.css.js';\nimport { cx } from '../../../theme/tools.js';\n\nexport type SidebarNavSectionItemData = {\n kind: 'dashboard' | 'entity' | 'tool' | 'hub';\n id: string;\n groupId?: string;\n};\n\nexport type SidebarNavSectionItem = SidebarNavItemProps & {\n id: string;\n data?: SidebarNavSectionItemData;\n};\n\nexport type SidebarNavSectionReorder = {\n enabled: boolean;\n onReorder: (fromId: string, toId: string) => void;\n};\n\nexport type SidebarNavSectionProps = {\n title?: ReactNode;\n icon?: ReactNode;\n items: readonly SidebarNavSectionItem[];\n collapsible?: boolean;\n isCollapsed?: boolean;\n defaultCollapsed?: boolean;\n onCollapsedChange?: (collapsed: boolean) => void;\n collapsed?: boolean;\n reorder?: SidebarNavSectionReorder;\n className?: string;\n};\n\ntype InsertionPlacement = 'before' | 'after';\n\ntype SortableSidebarNavItemProps = {\n item: SidebarNavSectionItem;\n isNested: boolean;\n sidebarCollapsed: boolean;\n dragHandleLabel?: string;\n insertionPlacement?: InsertionPlacement;\n};\n\nconst SortableSidebarNavItem = ({\n item,\n isNested,\n sidebarCollapsed,\n dragHandleLabel,\n insertionPlacement,\n}: SortableSidebarNavItemProps): JSX.Element => {\n const { id, data, ...rest } = item;\n const {\n attributes,\n listeners,\n setNodeRef,\n transform,\n transition,\n isDragging,\n } = useSortable({\n id,\n disabled: sidebarCollapsed,\n });\n const style: CSSProperties = {\n transform: CSS.Transform.toString(transform),\n transition,\n };\n\n return (\n <div\n ref={setNodeRef}\n style={style}\n className={cx(styles.sortableItem, {\n [styles.sortableItemDragging]: isDragging,\n })}\n >\n {insertionPlacement === 'before' && (\n <span className={styles.insertionIndicator} aria-hidden=\"true\" />\n )}\n <SidebarNavItem\n {...rest}\n collapsed={sidebarCollapsed}\n nested={isNested}\n dragHandleLabel={rest.dragHandleLabel ?? dragHandleLabel}\n dragHandleProps={{\n ...attributes,\n ...listeners,\n }}\n isDragging={isDragging}\n />\n {insertionPlacement === 'after' && (\n <span className={styles.insertionIndicator} aria-hidden=\"true\" />\n )}\n </div>\n );\n};\n\nexport const SidebarNavSection = ({\n title,\n icon,\n items,\n collapsible = false,\n isCollapsed,\n defaultCollapsed = false,\n onCollapsedChange,\n collapsed: sidebarCollapsed = false,\n reorder,\n className,\n}: SidebarNavSectionProps): JSX.Element => {\n const [uncontrolledCollapsed, setUncontrolledCollapsed] =\n useState(defaultCollapsed);\n const itemsId = useId();\n const titleId = useId();\n const { t } = useTranslation('ui', { useSuspense: false });\n const [activeSortableId, setActiveSortableId] =\n useState<UniqueIdentifier | null>(null);\n const [overSortableId, setOverSortableId] = useState<UniqueIdentifier | null>(\n null,\n );\n\n const collapsed = isCollapsed ?? uncontrolledCollapsed;\n\n const canCollapse = collapsible;\n\n const handleToggle = useCallback(() => {\n if (!canCollapse) {\n return;\n }\n const next = !collapsed;\n if (isCollapsed == null) {\n setUncontrolledCollapsed(next);\n }\n onCollapsedChange?.(next);\n }, [canCollapse, collapsed, isCollapsed, onCollapsedChange]);\n\n let resolvedTitle: string | undefined;\n if (typeof title === 'string') {\n resolvedTitle = title;\n }\n\n const titleClassName = cx(styles.title, {\n [styles.titleSidebarCollapsed]: sidebarCollapsed,\n });\n const toggleIconClassName = cx(styles.toggleIcon, {\n [styles.toggleIconCollapsed]: collapsed,\n });\n let sidebarCollapsedTitle: string | undefined;\n if (sidebarCollapsed) {\n sidebarCollapsedTitle = resolvedTitle;\n }\n let iconNode: JSX.Element | null = null;\n if (icon != null) {\n iconNode = (\n <span className={styles.titleIcon} aria-hidden=\"true\">\n {icon}\n </span>\n );\n }\n\n const sortableEnabled = reorder?.enabled === true && items.length > 1;\n const sortableIds = useMemo(() => {\n return items.map((item) => {\n return item.id;\n });\n }, [items]);\n const sensors = useSensors(\n useSensor(PointerSensor, {\n activationConstraint: {\n distance: 4,\n },\n }),\n useSensor(TouchSensor, {\n activationConstraint: {\n delay: 180,\n tolerance: 5,\n },\n }),\n useSensor(KeyboardSensor, {\n coordinateGetter: sortableKeyboardCoordinates,\n }),\n );\n\n const resetDragState = useCallback(() => {\n setActiveSortableId(null);\n setOverSortableId(null);\n }, []);\n\n const handleDragStart = useCallback((event: DragStartEvent) => {\n setActiveSortableId(event.active.id);\n setOverSortableId(event.active.id);\n }, []);\n\n const handleDragEnd = useCallback(\n (event: DragEndEvent) => {\n const activeItem =\n items.find((item) => {\n return item.id === String(event.active.id);\n }) ?? null;\n let overItem: SidebarNavSectionItem | null = null;\n if (event.over != null) {\n overItem =\n items.find((item) => {\n return item.id === String(event.over?.id);\n }) ?? null;\n }\n const fromId = activeItem?.data?.id ?? String(event.active.id);\n let toId: string | null = null;\n if (overItem != null) {\n toId = overItem.data?.id ?? String(event.over?.id);\n }\n resetDragState();\n if (toId == null || fromId === toId) {\n return;\n }\n reorder?.onReorder(fromId, toId);\n },\n [items, reorder, resetDragState],\n );\n\n const activeItem = useMemo(() => {\n if (activeSortableId == null) {\n return null;\n }\n return (\n items.find((item) => {\n return item.id === String(activeSortableId);\n }) ?? null\n );\n }, [activeSortableId, items]);\n\n let insertionId: string | null = null;\n let insertionPlacement: InsertionPlacement = 'before';\n if (\n activeSortableId != null &&\n overSortableId != null &&\n activeSortableId !== overSortableId\n ) {\n const activeIndex = sortableIds.indexOf(String(activeSortableId));\n const overIndex = sortableIds.indexOf(String(overSortableId));\n if (activeIndex !== -1 && overIndex !== -1) {\n insertionId = String(overSortableId);\n if (activeIndex < overIndex) {\n insertionPlacement = 'after';\n }\n }\n }\n\n const dragHandleLabel = t('navigation.sidebar.reorder.handle');\n const dragInstructions = t('navigation.sidebar.reorder.instructions');\n\n let headerNode: JSX.Element | null = null;\n if (title != null) {\n if (canCollapse) {\n headerNode = (\n <button\n id={titleId}\n type=\"button\"\n className={cx(styles.headerButton, {\n [styles.headerButtonSidebarCollapsed]: sidebarCollapsed,\n })}\n onClick={handleToggle}\n aria-expanded={!collapsed}\n aria-controls={itemsId}\n aria-label={sidebarCollapsedTitle}\n title={sidebarCollapsedTitle}\n >\n <span className={styles.titleContent}>\n {iconNode}\n <span className={titleClassName}>{title}</span>\n </span>\n {!sidebarCollapsed && (\n <span className={toggleIconClassName} aria-hidden=\"true\">\n <ChevronDownSvg width={18} height={18} />\n </span>\n )}\n </button>\n );\n } else {\n headerNode = (\n <div\n className={cx(styles.header, {\n [styles.headerSidebarCollapsed]: sidebarCollapsed,\n })}\n title={sidebarCollapsedTitle}\n >\n <div className={styles.titleContent} id={titleId}>\n {iconNode}\n <span className={titleClassName}>{title}</span>\n </div>\n </div>\n );\n }\n }\n\n let itemsNode: JSX.Element | null = null;\n if (!collapsed) {\n const isNested = title != null && !sidebarCollapsed;\n const regularItemsNode = (\n <div\n className={cx(styles.items, {\n [styles.itemsNested]: isNested,\n })}\n id={itemsId}\n role=\"list\"\n >\n {items.map((item) => {\n const { id, data, ...rest } = item;\n return (\n <SidebarNavItem\n key={id}\n {...rest}\n collapsed={sidebarCollapsed}\n nested={isNested}\n />\n );\n })}\n </div>\n );\n\n itemsNode = regularItemsNode;\n\n if (sortableEnabled && !sidebarCollapsed) {\n itemsNode = (\n <DndContext\n accessibility={{\n screenReaderInstructions: {\n draggable: dragInstructions,\n },\n }}\n collisionDetection={closestCenter}\n sensors={sensors}\n onDragStart={handleDragStart}\n onDragOver={(event) => {\n setOverSortableId(event.over?.id ?? null);\n }}\n onDragCancel={resetDragState}\n onDragEnd={handleDragEnd}\n >\n <SortableContext\n items={sortableIds}\n strategy={verticalListSortingStrategy}\n >\n <div\n className={cx(styles.items, {\n [styles.itemsNested]: isNested,\n })}\n id={itemsId}\n role=\"list\"\n >\n {items.map((item) => {\n let placement: InsertionPlacement | undefined;\n if (item.id === insertionId) {\n placement = insertionPlacement;\n }\n return (\n <SortableSidebarNavItem\n key={item.id}\n item={item}\n isNested={isNested}\n sidebarCollapsed={sidebarCollapsed}\n dragHandleLabel={dragHandleLabel}\n insertionPlacement={placement}\n />\n );\n })}\n </div>\n </SortableContext>\n <DragOverlay>\n {activeItem != null && (\n <div className={styles.dragOverlay}>\n {activeItem.icon != null && (\n <span className={styles.dragOverlayIcon}>\n {activeItem.icon}\n </span>\n )}\n <span className={styles.dragOverlayLabel}>\n {activeItem.label}\n </span>\n </div>\n )}\n </DragOverlay>\n </DndContext>\n );\n }\n }\n\n let ariaLabelledBy: string | undefined;\n if (title != null) {\n ariaLabelledBy = titleId;\n }\n\n return (\n <section\n className={cx(styles.section, className)}\n aria-labelledby={ariaLabelledBy}\n >\n {headerNode}\n {itemsNode}\n </section>\n );\n};\n\nexport default SidebarNavSection;\n"],"mappings":";;;;;;;;;;;AA+EA,IAAM,MAA0B,EAC9B,SACA,aACA,qBACA,oBACA,4BAC8C;CAC9C,IAAM,EAAE,OAAI,UAAM,GAAG,MAAS,GACxB,EACJ,eACA,cACA,eACA,cACA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EAIL;KAEJ;GACE,CAGI,EAER,MAAmB,CAAC,MACtB,IACE,kBAAC,GAAD;GACE,eAAe,EACb,0BAA0B,EACxB,WAAW,IACZ,EACF;GACD,oBAAoB;GACX;GACT,aAAa;GACb,aAAa,MAAU;IACrB,EAAkB,EAAM,MAAM,MAAM,KAAK;;GAE3C,cAAc;GACd,WAAW;aAbb,CAeE,kBAAC,GAAD;IACE,OAAO;IACP,UAAU;cAEV,kBAAC,OAAD;KACE,WAAW,EAAG,GAAc,GACzB,IAAqB,GACvB,CAAC;KACF,IAAI;KACJ,MAAK;eAEJ,EAAM,KAAK,MAAS;MACnB,IAAI;MAIJ,OAHI,EAAK,OAAO,MACd,IAAY,IAGZ,kBAAC,IAAD;OAEQ;OACI;OACQ;OACD;OACjB,oBAAoB;OACpB,EANK,EAAK,GAMV;OAEJ;KACE,CAAA;IACU,CAAA,EAClB,kBAAC,GAAD,EAAA,UACG,KAAc,QACb,kBAAC,OAAD;IAAK,WAAW;cAAhB,CACG,EAAW,QAAQ,QAClB,kBAAC,QAAD;KAAM,WAAW;eACd,EAAW;KACP,CAAA,EAET,kBAAC,QAAD;KAAM,WAAW;eACd,EAAW;KACP,CAAA,CACH;OAEI,CAAA,CACH;;;CAKnB,IAAI;CAKJ,OAJI,KAAS,SACX,IAAiB,IAIjB,kBAAC,WAAD;EACE,WAAW,EAAG,IAAgB,GAAU;EACxC,mBAAiB;YAFnB,CAIG,GACA,EACO"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/* empty css */
|
|
2
2
|
/* empty css */
|
|
3
3
|
//#region src/backoffice/molecules/sidebar_nav_section/sidebarNavSection.css.ts
|
|
4
|
-
var e = "_1rp5mg60 txvbqb9ip txvbqbai7 txvbqbb9p", t = "_1rp5mg61 txvbqbnvy txvbqboj7 txvbqbprp txvbqbmjg txvbqb9ip txvbqbcp txvbqbdpp txvbqbao7 txvbqbjj7", n = "_1rp5mg62 txvbqbnvg txvbqboip txvbqbdoy", r = "_1rp5mg65 _1rp5mg63 txvbqbnvy txvbqboj7 txvbqbprp txvbqbmjg txvbqb9ip txvbqbcp txvbqbdpp txvbqbao7 txvbqbu7g txvbqbjj7 txvbqb1rg txvbqb12g txvbqb1py txvbqbv0t txvbqbv txvbqbt6p _1rp5mg64 txvbqbw41", i = "_1rp5mg66 txvbqbnvg txvbqboip txvbqbdoy", a = "_1rp5mg67 txvbqb8g txvbqbamp txvbqb66 txvbqbva3 txvbqbeep", o = "_1rp5mg68 txvbqb9jg txvbqbcp txvbqbk5y txvbqbao7", s = "_1rp5mg69 txvbqb9jg txvbqbcp txvbqbdoy txvbqbtx7 txvbqbc67 txvbqbaj7 txvbqbva3", c = "_1rp5mg6a txvbqb9hy", l = "_1rp5mg6c _1rp5mg6b txvbqb9jg txvbqbcp txvbqbdoy txvbqbtxg txvbqbc6g txvbqb1qy txvbqbva3", u = "_1rp5mg6d", d = "_1rp5mg6e txvbqb9ip txvbqbai7 txvbqbb9p", f = "_1rp5mg6g _1rp5mg6f txvbqbgo7 txvbqbnvy txvbqb6q7 txvbqb4bg";
|
|
4
|
+
var e = "_1rp5mg60 txvbqb9ip txvbqbai7 txvbqbb9p", t = "_1rp5mg61 txvbqbnvy txvbqboj7 txvbqbprp txvbqbmjg txvbqb9ip txvbqbcp txvbqbdpp txvbqbao7 txvbqbjj7", n = "_1rp5mg62 txvbqbnvg txvbqboip txvbqbdoy", r = "_1rp5mg65 _1rp5mg63 txvbqbnvy txvbqboj7 txvbqbprp txvbqbmjg txvbqb9ip txvbqbcp txvbqbdpp txvbqbao7 txvbqbu7g txvbqbjj7 txvbqb1rg txvbqb12g txvbqb1py txvbqbv0t txvbqbv txvbqbt6p _1rp5mg64 txvbqbw41", i = "_1rp5mg66 txvbqbnvg txvbqboip txvbqbdoy", a = "_1rp5mg67 txvbqb8g txvbqbamp txvbqb66 txvbqbva3 txvbqbeep", o = "_1rp5mg68 txvbqb9jg txvbqbcp txvbqbk5y txvbqbao7", s = "_1rp5mg69 txvbqb9jg txvbqbcp txvbqbdoy txvbqbtx7 txvbqbc67 txvbqbaj7 txvbqbva3", c = "_1rp5mg6a txvbqb9hy", l = "_1rp5mg6c _1rp5mg6b txvbqb9jg txvbqbcp txvbqbdoy txvbqbtxg txvbqbc6g txvbqb1qy txvbqbva3", u = "_1rp5mg6d", d = "_1rp5mg6e txvbqb9ip txvbqbai7 txvbqbb9p", f = "_1rp5mg6g _1rp5mg6f txvbqbgo7 txvbqbnvy txvbqb6q7 txvbqb4bg", p = "_1rp5mg6h", m = "_1rp5mg6i", h = "_1rp5mg6k _1rp5mg6j txvbqbijg txvbqbglp txvbqb9i7 txvbqb1t7 txvbqbv3r", g = "_1rp5mg6m _1rp5mg6l txvbqbnw7 txvbqbojg txvbqbpry txvbqbmjp txvbqb9ip txvbqbcp txvbqbao7 txvbqb1rp txvbqb8y txvbqbamp txvbqbv41 txvbqbv9z txvbqb1cp txvbqbwg txvbqb8q7", _ = "_1rp5mg6n txvbqb9jg txvbqbcp txvbqbdoy txvbqbtxp txvbqbc6p txvbqbaj7", v = "_1rp5mg6p _1rp5mg6o txvbqbk5y";
|
|
5
5
|
//#endregion
|
|
6
|
-
export { t as header, r as headerButton, i as headerButtonSidebarCollapsed, n as headerSidebarCollapsed, d as items, f as itemsNested, e as section, a as title, o as titleContent, s as titleIcon, c as titleSidebarCollapsed, l as toggleIcon, u as toggleIconCollapsed };
|
|
6
|
+
export { g as dragOverlay, _ as dragOverlayIcon, v as dragOverlayLabel, t as header, r as headerButton, i as headerButtonSidebarCollapsed, n as headerSidebarCollapsed, h as insertionIndicator, d as items, f as itemsNested, e as section, p as sortableItem, m as sortableItemDragging, a as title, o as titleContent, s as titleIcon, c as titleSidebarCollapsed, l as toggleIcon, u as toggleIconCollapsed };
|
|
7
7
|
|
|
8
8
|
//# sourceMappingURL=sidebarNavSection.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sidebarNavSection.css.js","names":[],"sources":["../../../../../src/backoffice/molecules/sidebar_nav_section/sidebarNavSection.css.ts"],"sourcesContent":["import { style } from '@vanilla-extract/css';\n\nimport { sprinkles, stateSprinkles } from '../../../theme/sprinkles.css.js';\nimport { vars } from '../../../theme/themeContract.js';\n\nexport const section = sprinkles({\n display: 'flex',\n flexDirection: 'column',\n gap: 1.5,\n});\n\nexport const header = sprinkles({\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'space-between',\n gap: 2,\n paddingX: 2,\n paddingY: 0.5,\n minHeight: 8,\n});\n\nexport const headerSidebarCollapsed = sprinkles({\n justifyContent: 'center',\n paddingX: 0,\n});\n\nexport const headerButton = style([\n sprinkles({\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'space-between',\n gap: 2,\n width: 'full',\n paddingX: 2,\n paddingY: 0.5,\n minHeight: 8,\n borderRadius: 'md',\n borderWidth: 0,\n borderStyle: 'none',\n backgroundColor: 'transparent',\n cursor: 'pointer',\n textAlign: 'left',\n }),\n stateSprinkles({\n backgroundColor: {\n hover: 'surfaceMuted',\n },\n }),\n {\n selectors: {\n '&:focus-visible': {\n outline: `2px solid ${vars.colors.primary}`,\n outlineOffset: '2px',\n },\n },\n },\n]);\n\nexport const headerButtonSidebarCollapsed = sprinkles({\n justifyContent: 'center',\n paddingX: 0,\n});\n\nexport const title = sprinkles({\n fontSize: '2xs',\n fontWeight: 'semibold',\n textTransform: 'uppercase',\n color: 'textMuted',\n letterSpacing: 'wide',\n});\n\nexport const titleContent = sprinkles({\n display: 'inline-flex',\n alignItems: 'center',\n minWidth: 0,\n gap: 2,\n});\n\nexport const titleIcon = sprinkles({\n display: 'inline-flex',\n alignItems: 'center',\n justifyContent: 'center',\n width: 4,\n height: 4,\n flexShrink: 0,\n color: 'textMuted',\n});\n\nexport const titleSidebarCollapsed = sprinkles({\n display: 'none',\n});\n\nexport const toggleIcon = style([\n sprinkles({\n display: 'inline-flex',\n alignItems: 'center',\n justifyContent: 'center',\n width: 5,\n height: 5,\n borderRadius: 'sm',\n color: 'textMuted',\n }),\n {\n transition: 'transform 120ms ease',\n },\n]);\n\nexport const toggleIconCollapsed = style({\n transform: 'rotate(-90deg)',\n});\n\nexport const items = sprinkles({\n display: 'flex',\n flexDirection: 'column',\n gap: 1.5,\n});\n\nexport const itemsNested = style([\n sprinkles({\n marginLeft: 4,\n paddingLeft: 2,\n borderLeftWidth: 'default',\n borderLeftColor: 'border',\n }),\n {\n borderLeftStyle: 'solid',\n },\n]);\n"],"mappings":""}
|
|
1
|
+
{"version":3,"file":"sidebarNavSection.css.js","names":[],"sources":["../../../../../src/backoffice/molecules/sidebar_nav_section/sidebarNavSection.css.ts"],"sourcesContent":["import { style } from '@vanilla-extract/css';\n\nimport { sprinkles, stateSprinkles } from '../../../theme/sprinkles.css.js';\nimport { vars } from '../../../theme/themeContract.js';\n\nexport const section = sprinkles({\n display: 'flex',\n flexDirection: 'column',\n gap: 1.5,\n});\n\nexport const header = sprinkles({\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'space-between',\n gap: 2,\n paddingX: 2,\n paddingY: 0.5,\n minHeight: 8,\n});\n\nexport const headerSidebarCollapsed = sprinkles({\n justifyContent: 'center',\n paddingX: 0,\n});\n\nexport const headerButton = style([\n sprinkles({\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'space-between',\n gap: 2,\n width: 'full',\n paddingX: 2,\n paddingY: 0.5,\n minHeight: 8,\n borderRadius: 'md',\n borderWidth: 0,\n borderStyle: 'none',\n backgroundColor: 'transparent',\n cursor: 'pointer',\n textAlign: 'left',\n }),\n stateSprinkles({\n backgroundColor: {\n hover: 'surfaceMuted',\n },\n }),\n {\n selectors: {\n '&:focus-visible': {\n outline: `2px solid ${vars.colors.primary}`,\n outlineOffset: '2px',\n },\n },\n },\n]);\n\nexport const headerButtonSidebarCollapsed = sprinkles({\n justifyContent: 'center',\n paddingX: 0,\n});\n\nexport const title = sprinkles({\n fontSize: '2xs',\n fontWeight: 'semibold',\n textTransform: 'uppercase',\n color: 'textMuted',\n letterSpacing: 'wide',\n});\n\nexport const titleContent = sprinkles({\n display: 'inline-flex',\n alignItems: 'center',\n minWidth: 0,\n gap: 2,\n});\n\nexport const titleIcon = sprinkles({\n display: 'inline-flex',\n alignItems: 'center',\n justifyContent: 'center',\n width: 4,\n height: 4,\n flexShrink: 0,\n color: 'textMuted',\n});\n\nexport const titleSidebarCollapsed = sprinkles({\n display: 'none',\n});\n\nexport const toggleIcon = style([\n sprinkles({\n display: 'inline-flex',\n alignItems: 'center',\n justifyContent: 'center',\n width: 5,\n height: 5,\n borderRadius: 'sm',\n color: 'textMuted',\n }),\n {\n transition: 'transform 120ms ease',\n },\n]);\n\nexport const toggleIconCollapsed = style({\n transform: 'rotate(-90deg)',\n});\n\nexport const items = sprinkles({\n display: 'flex',\n flexDirection: 'column',\n gap: 1.5,\n});\n\nexport const itemsNested = style([\n sprinkles({\n marginLeft: 4,\n paddingLeft: 2,\n borderLeftWidth: 'default',\n borderLeftColor: 'border',\n }),\n {\n borderLeftStyle: 'solid',\n },\n]);\n\nexport const sortableItem = style({\n position: 'relative',\n});\n\nexport const sortableItemDragging = style({\n zIndex: 1,\n});\n\nexport const insertionIndicator = style([\n sprinkles({\n display: 'block',\n marginY: 0.5,\n borderRadius: 'full',\n backgroundColor: 'primary',\n }),\n {\n height: '2px',\n },\n]);\n\nexport const dragOverlay = style([\n sprinkles({\n display: 'flex',\n alignItems: 'center',\n gap: 2,\n paddingY: 1.5,\n paddingX: 3,\n borderRadius: 'lg',\n fontSize: 'sm',\n fontWeight: 'semibold',\n backgroundColor: 'surface',\n color: 'text',\n borderWidth: 'default',\n borderColor: 'border',\n boxShadow: 'lg',\n }),\n {\n borderStyle: 'solid',\n cursor: 'grabbing',\n minWidth: '12rem',\n maxWidth: '18rem',\n },\n]);\n\nexport const dragOverlayIcon = sprinkles({\n display: 'inline-flex',\n alignItems: 'center',\n justifyContent: 'center',\n width: 6,\n height: 6,\n flexShrink: 0,\n});\n\nexport const dragOverlayLabel = style([\n sprinkles({\n minWidth: 0,\n }),\n {\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n whiteSpace: 'nowrap',\n },\n]);\n"],"mappings":""}
|
|
@@ -117,12 +117,18 @@ var e = {
|
|
|
117
117
|
closeNavigation: "Close navigation",
|
|
118
118
|
openNavigation: "Open navigation"
|
|
119
119
|
},
|
|
120
|
-
sidebar: {
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
120
|
+
sidebar: {
|
|
121
|
+
actions: {
|
|
122
|
+
collapse: "Collapse",
|
|
123
|
+
collapseAriaLabel: "Collapse sidebar",
|
|
124
|
+
expand: "Expand",
|
|
125
|
+
expandAriaLabel: "Expand sidebar"
|
|
126
|
+
},
|
|
127
|
+
reorder: {
|
|
128
|
+
handle: "Reorder item",
|
|
129
|
+
instructions: "Press Space or Enter to pick up the item. Use the arrow keys to move it. Press Space or Enter again to drop it, or Escape to cancel."
|
|
130
|
+
}
|
|
131
|
+
}
|
|
126
132
|
},
|
|
127
133
|
subscriptions: { refetchNeeded: {
|
|
128
134
|
actions: { reload: "Refresh" },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui.js","names":[],"sources":["../../../../../src/i18n/locales/en/ui.json"],"sourcesContent":["{\n \"auth\": {\n \"loginForm\": {\n \"actions\": {\n \"submit\": \"Sign in\"\n },\n \"errors\": {\n \"emailRequired\": \"Enter an email address.\",\n \"locked\": \"Too many attempts. Try again later.\",\n \"lockedWithTime\": \"Too many attempts. Try again at {{time}}.\",\n \"loginFailed\": \"Sign in failed. Please try again.\",\n \"passwordMinLength\": \"Password must be at least {{minLength}} characters.\",\n \"passwordRequired\": \"Enter a password.\"\n },\n \"labels\": {\n \"email\": \"Email\",\n \"password\": \"Password\"\n },\n \"placeholders\": {\n \"email\": \"you@company.com\",\n \"password\": \"Enter your password\"\n }\n }\n },\n \"backoffice\": {\n \"bulkActions\": {\n \"clear\": \"Clear\",\n \"selected_one\": \"{{count}} selected\",\n \"selected_other\": \"{{count}} selected\"\n },\n \"copyableText\": {\n \"copied\": \"Copied\",\n \"copy\": \"Copy\"\n },\n \"dataTable\": {\n \"label\": \"Data table\",\n \"selectAll\": \"Select all rows\",\n \"selectRow\": \"Select row {{index}}\"\n },\n \"filterChips\": {\n \"clearAll\": \"Clear all\",\n \"remove\": \"Remove filter\"\n },\n \"filterDrawer\": {\n \"closeAriaLabel\": \"Close filters\",\n \"empty\": \"No filters match this search.\",\n \"reset\": \"Reset all\",\n \"searchAriaLabel\": \"Search filters\",\n \"searchPlaceholder\": \"Search filters\",\n \"subtitle_one\": \"{{count}} filter\",\n \"subtitle_other\": \"{{count}} filters\",\n \"title\": \"All filters\"\n },\n \"globalSearch\": {\n \"clear\": \"Clear search\",\n \"placeholder\": \"Search…\"\n },\n \"idBadge\": {\n \"copy\": \"Copy ID\"\n },\n \"inlineBanner\": {\n \"dismiss\": \"Dismiss\"\n },\n \"jsonViewer\": {\n \"collapse\": \"Collapse\",\n \"copied\": \"Copied\",\n \"copy\": \"Copy\",\n \"expand\": \"Expand\",\n \"serializationError\": \"Failed to serialize JSON\",\n \"title\": \"Raw JSON\"\n },\n \"loadMore\": {\n \"end\": \"End of results\",\n \"loading\": \"Loading more…\",\n \"moreAvailable\": \"More results available\"\n },\n \"relationsMenu\": {\n \"label\": \"Relations\"\n },\n \"tabs\": {\n \"label\": \"Tabs\"\n },\n \"tag\": {\n \"remove\": \"Remove\"\n }\n },\n \"common\": {\n \"actions\": {\n \"cancel\": \"Cancel\",\n \"close\": \"Close\",\n \"confirm\": \"Confirm\",\n \"save\": \"Save\",\n \"saving\": \"Saving...\"\n },\n \"errors\": {\n \"unexpected\": \"An unexpected error occurred.\"\n },\n \"loading\": \"Loading...\",\n \"menu\": {\n \"open\": \"Open menu\"\n },\n \"notAvailable\": \"N/A\",\n \"select\": {\n \"placeholder\": \"Select an option\"\n },\n \"table\": {\n \"empty\": \"No entries found.\",\n \"label\": \"Data table\"\n }\n },\n \"layout\": {\n \"pageShell\": {\n \"resizeSidePanel\": \"Resize side panel\"\n }\n },\n \"markdown\": {\n \"code\": {\n \"copied\": \"Copied\",\n \"copiedTitle\": \"Copied!\",\n \"copy\": \"Copy\",\n \"copyTitle\": \"Copy code\",\n \"loadingBlock\": \"Loading code block...\",\n \"loadingHighlight\": \"Loading syntax highlighting...\"\n },\n \"footnotes\": {\n \"title\": \"Notes\"\n },\n \"html\": {\n \"unsupported\": \"Unsupported HTML\"\n },\n \"image\": {\n \"invalid\": \"Invalid image\",\n \"unavailable\": \"Image unavailable: {{src}}\"\n },\n \"mermaid\": {\n \"diagramLabel\": \"Mermaid diagram\",\n \"empty\": \"Mermaid diagram is empty.\",\n \"renderFailed\": \"Mermaid diagram failed to render.\",\n \"rendering\": \"Rendering Mermaid diagram...\"\n }\n },\n \"navigation\": {\n \"breadcrumb\": \"Breadcrumb\",\n \"pageShell\": {\n \"closeNavigation\": \"Close navigation\",\n \"openNavigation\": \"Open navigation\"\n },\n \"sidebar\": {\n \"actions\": {\n \"collapse\": \"Collapse\",\n \"collapseAriaLabel\": \"Collapse sidebar\",\n \"expand\": \"Expand\",\n \"expandAriaLabel\": \"Expand sidebar\"\n }\n }\n },\n \"subscriptions\": {\n \"refetchNeeded\": {\n \"actions\": {\n \"reload\": \"Refresh\"\n },\n \"messages\": {\n \"bufferOverflow\": \"Live updates were interrupted (too many events). Refresh to load the latest data.\",\n \"cursorReplayUnavailable\": \"Live updates were interrupted (reconnect unavailable). Refresh to load the latest data.\",\n \"default\": \"Live updates were interrupted. Refresh to load the latest data.\"\n },\n \"title\": \"Live updates interrupted\"\n }\n },\n \"toast\": {\n \"dismissAriaLabel\": \"Dismiss notification\"\n }\n}\n"],"mappings":""}
|
|
1
|
+
{"version":3,"file":"ui.js","names":[],"sources":["../../../../../src/i18n/locales/en/ui.json"],"sourcesContent":["{\n \"auth\": {\n \"loginForm\": {\n \"actions\": {\n \"submit\": \"Sign in\"\n },\n \"errors\": {\n \"emailRequired\": \"Enter an email address.\",\n \"locked\": \"Too many attempts. Try again later.\",\n \"lockedWithTime\": \"Too many attempts. Try again at {{time}}.\",\n \"loginFailed\": \"Sign in failed. Please try again.\",\n \"passwordMinLength\": \"Password must be at least {{minLength}} characters.\",\n \"passwordRequired\": \"Enter a password.\"\n },\n \"labels\": {\n \"email\": \"Email\",\n \"password\": \"Password\"\n },\n \"placeholders\": {\n \"email\": \"you@company.com\",\n \"password\": \"Enter your password\"\n }\n }\n },\n \"backoffice\": {\n \"bulkActions\": {\n \"clear\": \"Clear\",\n \"selected_one\": \"{{count}} selected\",\n \"selected_other\": \"{{count}} selected\"\n },\n \"copyableText\": {\n \"copied\": \"Copied\",\n \"copy\": \"Copy\"\n },\n \"dataTable\": {\n \"label\": \"Data table\",\n \"selectAll\": \"Select all rows\",\n \"selectRow\": \"Select row {{index}}\"\n },\n \"filterChips\": {\n \"clearAll\": \"Clear all\",\n \"remove\": \"Remove filter\"\n },\n \"filterDrawer\": {\n \"closeAriaLabel\": \"Close filters\",\n \"empty\": \"No filters match this search.\",\n \"reset\": \"Reset all\",\n \"searchAriaLabel\": \"Search filters\",\n \"searchPlaceholder\": \"Search filters\",\n \"subtitle_one\": \"{{count}} filter\",\n \"subtitle_other\": \"{{count}} filters\",\n \"title\": \"All filters\"\n },\n \"globalSearch\": {\n \"clear\": \"Clear search\",\n \"placeholder\": \"Search…\"\n },\n \"idBadge\": {\n \"copy\": \"Copy ID\"\n },\n \"inlineBanner\": {\n \"dismiss\": \"Dismiss\"\n },\n \"jsonViewer\": {\n \"collapse\": \"Collapse\",\n \"copied\": \"Copied\",\n \"copy\": \"Copy\",\n \"expand\": \"Expand\",\n \"serializationError\": \"Failed to serialize JSON\",\n \"title\": \"Raw JSON\"\n },\n \"loadMore\": {\n \"end\": \"End of results\",\n \"loading\": \"Loading more…\",\n \"moreAvailable\": \"More results available\"\n },\n \"relationsMenu\": {\n \"label\": \"Relations\"\n },\n \"tabs\": {\n \"label\": \"Tabs\"\n },\n \"tag\": {\n \"remove\": \"Remove\"\n }\n },\n \"common\": {\n \"actions\": {\n \"cancel\": \"Cancel\",\n \"close\": \"Close\",\n \"confirm\": \"Confirm\",\n \"save\": \"Save\",\n \"saving\": \"Saving...\"\n },\n \"errors\": {\n \"unexpected\": \"An unexpected error occurred.\"\n },\n \"loading\": \"Loading...\",\n \"menu\": {\n \"open\": \"Open menu\"\n },\n \"notAvailable\": \"N/A\",\n \"select\": {\n \"placeholder\": \"Select an option\"\n },\n \"table\": {\n \"empty\": \"No entries found.\",\n \"label\": \"Data table\"\n }\n },\n \"layout\": {\n \"pageShell\": {\n \"resizeSidePanel\": \"Resize side panel\"\n }\n },\n \"markdown\": {\n \"code\": {\n \"copied\": \"Copied\",\n \"copiedTitle\": \"Copied!\",\n \"copy\": \"Copy\",\n \"copyTitle\": \"Copy code\",\n \"loadingBlock\": \"Loading code block...\",\n \"loadingHighlight\": \"Loading syntax highlighting...\"\n },\n \"footnotes\": {\n \"title\": \"Notes\"\n },\n \"html\": {\n \"unsupported\": \"Unsupported HTML\"\n },\n \"image\": {\n \"invalid\": \"Invalid image\",\n \"unavailable\": \"Image unavailable: {{src}}\"\n },\n \"mermaid\": {\n \"diagramLabel\": \"Mermaid diagram\",\n \"empty\": \"Mermaid diagram is empty.\",\n \"renderFailed\": \"Mermaid diagram failed to render.\",\n \"rendering\": \"Rendering Mermaid diagram...\"\n }\n },\n \"navigation\": {\n \"breadcrumb\": \"Breadcrumb\",\n \"pageShell\": {\n \"closeNavigation\": \"Close navigation\",\n \"openNavigation\": \"Open navigation\"\n },\n \"sidebar\": {\n \"actions\": {\n \"collapse\": \"Collapse\",\n \"collapseAriaLabel\": \"Collapse sidebar\",\n \"expand\": \"Expand\",\n \"expandAriaLabel\": \"Expand sidebar\"\n },\n \"reorder\": {\n \"handle\": \"Reorder item\",\n \"instructions\": \"Press Space or Enter to pick up the item. Use the arrow keys to move it. Press Space or Enter again to drop it, or Escape to cancel.\"\n }\n }\n },\n \"subscriptions\": {\n \"refetchNeeded\": {\n \"actions\": {\n \"reload\": \"Refresh\"\n },\n \"messages\": {\n \"bufferOverflow\": \"Live updates were interrupted (too many events). Refresh to load the latest data.\",\n \"cursorReplayUnavailable\": \"Live updates were interrupted (reconnect unavailable). Refresh to load the latest data.\",\n \"default\": \"Live updates were interrupted. Refresh to load the latest data.\"\n },\n \"title\": \"Live updates interrupted\"\n }\n },\n \"toast\": {\n \"dismissAriaLabel\": \"Dismiss notification\"\n }\n}\n"],"mappings":""}
|
|
@@ -119,12 +119,18 @@ var e = {
|
|
|
119
119
|
closeNavigation: "Fermer la navigation",
|
|
120
120
|
openNavigation: "Ouvrir la navigation"
|
|
121
121
|
},
|
|
122
|
-
sidebar: {
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
122
|
+
sidebar: {
|
|
123
|
+
actions: {
|
|
124
|
+
collapse: "Réduire",
|
|
125
|
+
collapseAriaLabel: "Réduire la barre latérale",
|
|
126
|
+
expand: "Déplier",
|
|
127
|
+
expandAriaLabel: "Étendre la barre latérale"
|
|
128
|
+
},
|
|
129
|
+
reorder: {
|
|
130
|
+
handle: "Réordonner l'élément",
|
|
131
|
+
instructions: "Appuyez sur Espace ou Entrée pour saisir l'élément. Utilisez les flèches pour le déplacer. Appuyez de nouveau sur Espace ou Entrée pour le déposer, ou sur Échap pour annuler."
|
|
132
|
+
}
|
|
133
|
+
}
|
|
128
134
|
},
|
|
129
135
|
subscriptions: { refetchNeeded: {
|
|
130
136
|
actions: { reload: "Rafraîchir" },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui.js","names":[],"sources":["../../../../../src/i18n/locales/fr/ui.json"],"sourcesContent":["{\n \"auth\": {\n \"loginForm\": {\n \"actions\": {\n \"submit\": \"Se connecter\"\n },\n \"errors\": {\n \"emailRequired\": \"Entrez une adresse email.\",\n \"locked\": \"Trop de tentatives. Veuillez réessayer plus tard.\",\n \"lockedWithTime\": \"Trop de tentatives. Veuillez réessayer à {{time}}.\",\n \"loginFailed\": \"Échec de connexion. Veuillez réessayer.\",\n \"passwordMinLength\": \"Le mot de passe doit contenir au moins {{minLength}} caractères.\",\n \"passwordRequired\": \"Entrez un mot de passe.\"\n },\n \"labels\": {\n \"email\": \"Email\",\n \"password\": \"Mot de passe\"\n },\n \"placeholders\": {\n \"email\": \"vous@entreprise.com\",\n \"password\": \"Entrez votre mot de passe\"\n }\n }\n },\n \"backoffice\": {\n \"bulkActions\": {\n \"clear\": \"Effacer\",\n \"selected_one\": \"{{count}} sélectionné\",\n \"selected_many\": \"{{count}} sélectionnés\",\n \"selected_other\": \"{{count}} sélectionnés\"\n },\n \"copyableText\": {\n \"copied\": \"Copié\",\n \"copy\": \"Copier\"\n },\n \"dataTable\": {\n \"label\": \"Tableau de données\",\n \"selectAll\": \"Sélectionner toutes les lignes\",\n \"selectRow\": \"Sélectionner la ligne {{index}}\"\n },\n \"filterChips\": {\n \"clearAll\": \"Tout effacer\",\n \"remove\": \"Retirer le filtre\"\n },\n \"filterDrawer\": {\n \"closeAriaLabel\": \"Fermer les filtres\",\n \"empty\": \"Aucun filtre ne correspond à cette recherche.\",\n \"reset\": \"Tout réinitialiser\",\n \"searchAriaLabel\": \"Rechercher des filtres\",\n \"searchPlaceholder\": \"Rechercher des filtres\",\n \"subtitle_one\": \"{{count}} filtre\",\n \"subtitle_many\": \"{{count}} filtres\",\n \"subtitle_other\": \"{{count}} filtres\",\n \"title\": \"Tous les filtres\"\n },\n \"globalSearch\": {\n \"clear\": \"Effacer la recherche\",\n \"placeholder\": \"Rechercher…\"\n },\n \"idBadge\": {\n \"copy\": \"Copier l'ID\"\n },\n \"inlineBanner\": {\n \"dismiss\": \"Fermer\"\n },\n \"jsonViewer\": {\n \"collapse\": \"Réduire\",\n \"copied\": \"Copié\",\n \"copy\": \"Copier\",\n \"expand\": \"Déplier\",\n \"serializationError\": \"Impossible de sérialiser le JSON\",\n \"title\": \"JSON brut\"\n },\n \"loadMore\": {\n \"end\": \"Fin des résultats\",\n \"loading\": \"Chargement…\",\n \"moreAvailable\": \"D'autres résultats sont disponibles\"\n },\n \"relationsMenu\": {\n \"label\": \"Relations\"\n },\n \"tabs\": {\n \"label\": \"Onglets\"\n },\n \"tag\": {\n \"remove\": \"Retirer\"\n }\n },\n \"common\": {\n \"actions\": {\n \"cancel\": \"Annuler\",\n \"close\": \"Fermer\",\n \"confirm\": \"Confirmer\",\n \"save\": \"Enregistrer\",\n \"saving\": \"Enregistrement...\"\n },\n \"errors\": {\n \"unexpected\": \"Une erreur inattendue est survenue.\"\n },\n \"loading\": \"Chargement...\",\n \"menu\": {\n \"open\": \"Ouvrir le menu\"\n },\n \"notAvailable\": \"N/A\",\n \"select\": {\n \"placeholder\": \"Sélectionner une option\"\n },\n \"table\": {\n \"empty\": \"Aucune entrée trouvée.\",\n \"label\": \"Tableau de données\"\n }\n },\n \"layout\": {\n \"pageShell\": {\n \"resizeSidePanel\": \"Redimensionner le panneau latéral\"\n }\n },\n \"markdown\": {\n \"code\": {\n \"copied\": \"Copié\",\n \"copiedTitle\": \"Copié !\",\n \"copy\": \"Copier\",\n \"copyTitle\": \"Copier le code\",\n \"loadingBlock\": \"Chargement du bloc de code...\",\n \"loadingHighlight\": \"Chargement de la coloration syntaxique...\"\n },\n \"footnotes\": {\n \"title\": \"Notes\"\n },\n \"html\": {\n \"unsupported\": \"HTML non pris en charge\"\n },\n \"image\": {\n \"invalid\": \"Image invalide\",\n \"unavailable\": \"Image non disponible : {{src}}\"\n },\n \"mermaid\": {\n \"diagramLabel\": \"Diagramme Mermaid\",\n \"empty\": \"Le diagramme Mermaid est vide.\",\n \"renderFailed\": \"Le diagramme Mermaid n'a pas pu être rendu.\",\n \"rendering\": \"Rendu du diagramme Mermaid...\"\n }\n },\n \"navigation\": {\n \"breadcrumb\": \"Fil d'Ariane\",\n \"pageShell\": {\n \"closeNavigation\": \"Fermer la navigation\",\n \"openNavigation\": \"Ouvrir la navigation\"\n },\n \"sidebar\": {\n \"actions\": {\n \"collapse\": \"Réduire\",\n \"collapseAriaLabel\": \"Réduire la barre latérale\",\n \"expand\": \"Déplier\",\n \"expandAriaLabel\": \"Étendre la barre latérale\"\n }\n }\n },\n \"subscriptions\": {\n \"refetchNeeded\": {\n \"actions\": {\n \"reload\": \"Rafraîchir\"\n },\n \"messages\": {\n \"bufferOverflow\": \"Les mises à jour en temps réel ont été interrompues (trop d'événements). Rafraîchissez pour récupérer les dernières données.\",\n \"cursorReplayUnavailable\": \"Les mises à jour en temps réel ont été interrompues (reconnexion impossible). Rafraîchissez pour récupérer les dernières données.\",\n \"default\": \"Les mises à jour en temps réel ont été interrompues. Rafraîchissez pour récupérer les dernières données.\"\n },\n \"title\": \"Mises à jour interrompues\"\n }\n },\n \"toast\": {\n \"dismissAriaLabel\": \"Fermer la notification\"\n }\n}\n"],"mappings":""}
|
|
1
|
+
{"version":3,"file":"ui.js","names":[],"sources":["../../../../../src/i18n/locales/fr/ui.json"],"sourcesContent":["{\n \"auth\": {\n \"loginForm\": {\n \"actions\": {\n \"submit\": \"Se connecter\"\n },\n \"errors\": {\n \"emailRequired\": \"Entrez une adresse email.\",\n \"locked\": \"Trop de tentatives. Veuillez réessayer plus tard.\",\n \"lockedWithTime\": \"Trop de tentatives. Veuillez réessayer à {{time}}.\",\n \"loginFailed\": \"Échec de connexion. Veuillez réessayer.\",\n \"passwordMinLength\": \"Le mot de passe doit contenir au moins {{minLength}} caractères.\",\n \"passwordRequired\": \"Entrez un mot de passe.\"\n },\n \"labels\": {\n \"email\": \"Email\",\n \"password\": \"Mot de passe\"\n },\n \"placeholders\": {\n \"email\": \"vous@entreprise.com\",\n \"password\": \"Entrez votre mot de passe\"\n }\n }\n },\n \"backoffice\": {\n \"bulkActions\": {\n \"clear\": \"Effacer\",\n \"selected_one\": \"{{count}} sélectionné\",\n \"selected_many\": \"{{count}} sélectionnés\",\n \"selected_other\": \"{{count}} sélectionnés\"\n },\n \"copyableText\": {\n \"copied\": \"Copié\",\n \"copy\": \"Copier\"\n },\n \"dataTable\": {\n \"label\": \"Tableau de données\",\n \"selectAll\": \"Sélectionner toutes les lignes\",\n \"selectRow\": \"Sélectionner la ligne {{index}}\"\n },\n \"filterChips\": {\n \"clearAll\": \"Tout effacer\",\n \"remove\": \"Retirer le filtre\"\n },\n \"filterDrawer\": {\n \"closeAriaLabel\": \"Fermer les filtres\",\n \"empty\": \"Aucun filtre ne correspond à cette recherche.\",\n \"reset\": \"Tout réinitialiser\",\n \"searchAriaLabel\": \"Rechercher des filtres\",\n \"searchPlaceholder\": \"Rechercher des filtres\",\n \"subtitle_one\": \"{{count}} filtre\",\n \"subtitle_many\": \"{{count}} filtres\",\n \"subtitle_other\": \"{{count}} filtres\",\n \"title\": \"Tous les filtres\"\n },\n \"globalSearch\": {\n \"clear\": \"Effacer la recherche\",\n \"placeholder\": \"Rechercher…\"\n },\n \"idBadge\": {\n \"copy\": \"Copier l'ID\"\n },\n \"inlineBanner\": {\n \"dismiss\": \"Fermer\"\n },\n \"jsonViewer\": {\n \"collapse\": \"Réduire\",\n \"copied\": \"Copié\",\n \"copy\": \"Copier\",\n \"expand\": \"Déplier\",\n \"serializationError\": \"Impossible de sérialiser le JSON\",\n \"title\": \"JSON brut\"\n },\n \"loadMore\": {\n \"end\": \"Fin des résultats\",\n \"loading\": \"Chargement…\",\n \"moreAvailable\": \"D'autres résultats sont disponibles\"\n },\n \"relationsMenu\": {\n \"label\": \"Relations\"\n },\n \"tabs\": {\n \"label\": \"Onglets\"\n },\n \"tag\": {\n \"remove\": \"Retirer\"\n }\n },\n \"common\": {\n \"actions\": {\n \"cancel\": \"Annuler\",\n \"close\": \"Fermer\",\n \"confirm\": \"Confirmer\",\n \"save\": \"Enregistrer\",\n \"saving\": \"Enregistrement...\"\n },\n \"errors\": {\n \"unexpected\": \"Une erreur inattendue est survenue.\"\n },\n \"loading\": \"Chargement...\",\n \"menu\": {\n \"open\": \"Ouvrir le menu\"\n },\n \"notAvailable\": \"N/A\",\n \"select\": {\n \"placeholder\": \"Sélectionner une option\"\n },\n \"table\": {\n \"empty\": \"Aucune entrée trouvée.\",\n \"label\": \"Tableau de données\"\n }\n },\n \"layout\": {\n \"pageShell\": {\n \"resizeSidePanel\": \"Redimensionner le panneau latéral\"\n }\n },\n \"markdown\": {\n \"code\": {\n \"copied\": \"Copié\",\n \"copiedTitle\": \"Copié !\",\n \"copy\": \"Copier\",\n \"copyTitle\": \"Copier le code\",\n \"loadingBlock\": \"Chargement du bloc de code...\",\n \"loadingHighlight\": \"Chargement de la coloration syntaxique...\"\n },\n \"footnotes\": {\n \"title\": \"Notes\"\n },\n \"html\": {\n \"unsupported\": \"HTML non pris en charge\"\n },\n \"image\": {\n \"invalid\": \"Image invalide\",\n \"unavailable\": \"Image non disponible : {{src}}\"\n },\n \"mermaid\": {\n \"diagramLabel\": \"Diagramme Mermaid\",\n \"empty\": \"Le diagramme Mermaid est vide.\",\n \"renderFailed\": \"Le diagramme Mermaid n'a pas pu être rendu.\",\n \"rendering\": \"Rendu du diagramme Mermaid...\"\n }\n },\n \"navigation\": {\n \"breadcrumb\": \"Fil d'Ariane\",\n \"pageShell\": {\n \"closeNavigation\": \"Fermer la navigation\",\n \"openNavigation\": \"Ouvrir la navigation\"\n },\n \"sidebar\": {\n \"actions\": {\n \"collapse\": \"Réduire\",\n \"collapseAriaLabel\": \"Réduire la barre latérale\",\n \"expand\": \"Déplier\",\n \"expandAriaLabel\": \"Étendre la barre latérale\"\n },\n \"reorder\": {\n \"handle\": \"Réordonner l'élément\",\n \"instructions\": \"Appuyez sur Espace ou Entrée pour saisir l'élément. Utilisez les flèches pour le déplacer. Appuyez de nouveau sur Espace ou Entrée pour le déposer, ou sur Échap pour annuler.\"\n }\n }\n },\n \"subscriptions\": {\n \"refetchNeeded\": {\n \"actions\": {\n \"reload\": \"Rafraîchir\"\n },\n \"messages\": {\n \"bufferOverflow\": \"Les mises à jour en temps réel ont été interrompues (trop d'événements). Rafraîchissez pour récupérer les dernières données.\",\n \"cursorReplayUnavailable\": \"Les mises à jour en temps réel ont été interrompues (reconnexion impossible). Rafraîchissez pour récupérer les dernières données.\",\n \"default\": \"Les mises à jour en temps réel ont été interrompues. Rafraîchissez pour récupérer les dernières données.\"\n },\n \"title\": \"Mises à jour interrompues\"\n }\n },\n \"toast\": {\n \"dismissAriaLabel\": \"Fermer la notification\"\n }\n}\n"],"mappings":""}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import e, { useCallback as t, useState as n } from "react";
|
|
2
|
+
//#region ../../node_modules/@dnd-kit/accessibility/dist/accessibility.esm.js
|
|
3
|
+
var r = { display: "none" };
|
|
4
|
+
function i(t) {
|
|
5
|
+
let { id: n, value: i } = t;
|
|
6
|
+
return e.createElement("div", {
|
|
7
|
+
id: n,
|
|
8
|
+
style: r
|
|
9
|
+
}, i);
|
|
10
|
+
}
|
|
11
|
+
function a(t) {
|
|
12
|
+
let { id: n, announcement: r, ariaLiveType: i = "assertive" } = t;
|
|
13
|
+
return e.createElement("div", {
|
|
14
|
+
id: n,
|
|
15
|
+
style: {
|
|
16
|
+
position: "fixed",
|
|
17
|
+
top: 0,
|
|
18
|
+
left: 0,
|
|
19
|
+
width: 1,
|
|
20
|
+
height: 1,
|
|
21
|
+
margin: -1,
|
|
22
|
+
border: 0,
|
|
23
|
+
padding: 0,
|
|
24
|
+
overflow: "hidden",
|
|
25
|
+
clip: "rect(0 0 0 0)",
|
|
26
|
+
clipPath: "inset(100%)",
|
|
27
|
+
whiteSpace: "nowrap"
|
|
28
|
+
},
|
|
29
|
+
role: "status",
|
|
30
|
+
"aria-live": i,
|
|
31
|
+
"aria-atomic": !0
|
|
32
|
+
}, r);
|
|
33
|
+
}
|
|
34
|
+
function o() {
|
|
35
|
+
let [e, r] = n("");
|
|
36
|
+
return {
|
|
37
|
+
announce: t((e) => {
|
|
38
|
+
e != null && r(e);
|
|
39
|
+
}, []),
|
|
40
|
+
announcement: e
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
//#endregion
|
|
44
|
+
export { i as HiddenText, a as LiveRegion, o as useAnnouncement };
|
|
45
|
+
|
|
46
|
+
//# sourceMappingURL=accessibility.esm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accessibility.esm.js","names":[],"sources":["../../../../../../../../node_modules/@dnd-kit/accessibility/dist/accessibility.esm.js"],"sourcesContent":["import React, { useState, useCallback } from 'react';\n\nconst hiddenStyles = {\n display: 'none'\n};\nfunction HiddenText(_ref) {\n let {\n id,\n value\n } = _ref;\n return React.createElement(\"div\", {\n id: id,\n style: hiddenStyles\n }, value);\n}\n\nfunction LiveRegion(_ref) {\n let {\n id,\n announcement,\n ariaLiveType = \"assertive\"\n } = _ref;\n // Hide element visually but keep it readable by screen readers\n const visuallyHidden = {\n position: 'fixed',\n top: 0,\n left: 0,\n width: 1,\n height: 1,\n margin: -1,\n border: 0,\n padding: 0,\n overflow: 'hidden',\n clip: 'rect(0 0 0 0)',\n clipPath: 'inset(100%)',\n whiteSpace: 'nowrap'\n };\n return React.createElement(\"div\", {\n id: id,\n style: visuallyHidden,\n role: \"status\",\n \"aria-live\": ariaLiveType,\n \"aria-atomic\": true\n }, announcement);\n}\n\nfunction useAnnouncement() {\n const [announcement, setAnnouncement] = useState('');\n const announce = useCallback(value => {\n if (value != null) {\n setAnnouncement(value);\n }\n }, []);\n return {\n announce,\n announcement\n };\n}\n\nexport { HiddenText, LiveRegion, useAnnouncement };\n//# sourceMappingURL=accessibility.esm.js.map\n"],"x_google_ignoreList":[0],"mappings":";;AAEA,IAAM,IAAe,EACnB,SAAS,QACV;AACD,SAAS,EAAW,GAAM;CACxB,IAAI,EACF,OACA,aACE;CACJ,OAAO,EAAM,cAAc,OAAO;EAC5B;EACJ,OAAO;EACR,EAAE,EAAM;;AAGX,SAAS,EAAW,GAAM;CACxB,IAAI,EACF,OACA,iBACA,kBAAe,gBACb;CAgBJ,OAAO,EAAM,cAAc,OAAO;EAC5B;EACJ,OAAO;GAfP,UAAU;GACV,KAAK;GACL,MAAM;GACN,OAAO;GACP,QAAQ;GACR,QAAQ;GACR,QAAQ;GACR,SAAS;GACT,UAAU;GACV,MAAM;GACN,UAAU;GACV,YAAY;GAIS;EACrB,MAAM;EACN,aAAa;EACb,eAAe;EAChB,EAAE,EAAa;;AAGlB,SAAS,IAAkB;CACzB,IAAM,CAAC,GAAc,KAAmB,EAAS,GAAG;CAMpD,OAAO;EACL,UANe,GAAY,MAAS;GACpC,AAAI,KAAS,QACX,EAAgB,EAAM;KAEvB,EAAE,CAEK;EACR;EACD"}
|