@nxgt/material-vue 0.26.0 → 0.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +181 -0
- package/README.md +8 -5
- package/dist/Button-DEUkxkrJ.js +728 -0
- package/dist/{DropdownMenuTrigger-BHAhXGUO.js → DropdownMenuTrigger-BsuyNVzV.js} +48 -41
- package/dist/HoverCardTrigger-TDll55LP.js +510 -0
- package/dist/{camera-DvKuqT4L.js → camera-UJXnnFeb.js} +4 -4
- package/dist/components/base-content.css +139 -0
- package/dist/components/base.css +150 -0
- package/dist/components/components.css +2 -0
- package/dist/components/reduced-motion.css +56 -0
- package/dist/components/theme-tokens.css +116 -0
- package/dist/components/ui/actions/button-group/button-group.css +1 -1
- package/dist/components/ui/feedback/toast/toast.css +21 -0
- package/dist/components/ui/primitives/label/label.css +33 -0
- package/dist/{components-CCWod7cJ.js → components-BZ1XAK37.js} +19198 -18568
- package/dist/components.js +7 -7
- package/dist/composables.js +3 -3
- package/dist/dnd.js +1 -1
- package/dist/field-name-attribute-Bl7LSVK0.js +4 -0
- package/dist/{form-scope-x-7TYn2s.js → form-scope-BFGca0h6.js} +1 -1
- package/dist/{i18n-provider-CaaZCmaR.js → i18n-provider-DBusa725.js} +1 -1
- package/dist/i18n.js +4 -4
- package/dist/icon-button-jHB4MhQ5.js +262 -0
- package/dist/lib/components/ui/actions/button/Button.vue.d.ts +22 -4
- package/dist/lib/components/ui/actions/button/button-tones.d.ts +36 -0
- package/dist/lib/components/ui/actions/button/button.variants.d.ts +1 -1
- package/dist/lib/components/ui/actions/button/button.wrap.d.ts +8 -0
- package/dist/lib/components/ui/actions/button/label-text.d.ts +9 -0
- package/dist/lib/components/ui/actions/button/prepend-to-child.d.ts +18 -0
- package/dist/lib/components/ui/actions/button/use-click-lock.d.ts +14 -0
- package/dist/lib/components/ui/actions/copy-button/copy-button.vue.d.ts +6 -2
- package/dist/lib/components/ui/actions/icon-button/icon-button.compound-variants.d.ts +28 -0
- package/dist/lib/components/ui/actions/icon-button/icon-button.vue.d.ts +1 -1
- package/dist/lib/components/ui/actions/responsive-button/responsive-button.vue.d.ts +1 -3
- package/dist/lib/components/ui/collections/data-table/partials/data-table-empty.vue.d.ts +5 -1
- package/dist/lib/components/ui/collections/data-table/partials/data-table-scroll-region.vue.d.ts +28 -0
- package/dist/lib/components/ui/collections/data-table/partials/data-table-toolbar.d.ts +60 -0
- package/dist/lib/components/ui/collections/data-table/types.d.ts +9 -0
- package/dist/lib/components/ui/collections/data-table/use-scroll-edges.d.ts +22 -0
- package/dist/lib/components/ui/collections/pagination/PaginationFirst.vue.d.ts +1 -1
- package/dist/lib/components/ui/collections/pagination/PaginationItem.vue.d.ts +1 -1
- package/dist/lib/components/ui/collections/pagination/PaginationLast.vue.d.ts +1 -1
- package/dist/lib/components/ui/collections/pagination/PaginationNext.vue.d.ts +1 -1
- package/dist/lib/components/ui/collections/pagination/PaginationPrevious.vue.d.ts +1 -1
- package/dist/lib/components/ui/dates/calendar/Calendar.vue.d.ts +4 -4
- package/dist/lib/components/ui/dates/calendar/calendar-day-label.d.ts +17 -0
- package/dist/lib/components/ui/dates/calendar/calendar-years.d.ts +11 -0
- package/dist/lib/components/ui/dates/calendar/partials/calendar-month-select.vue.d.ts +18 -0
- package/dist/lib/components/ui/dates/calendar/partials/calendar-year-select.vue.d.ts +19 -0
- package/dist/lib/components/ui/dates/calendar/use-calendar-locale.d.ts +7 -0
- package/dist/lib/components/ui/dates/calendar/use-calendar-selected-hint.d.ts +17 -0
- package/dist/lib/components/ui/dates/date-range-field/partials/date-range-day.vue.d.ts +8 -0
- package/dist/lib/components/ui/display/cards/cards.gallery.d.ts +3 -3
- package/dist/lib/components/ui/display/list-tile/list-tile.vue.d.ts +10 -6
- package/dist/lib/components/ui/feedback/alert-dialog/AlertDialogContent.vue.d.ts +2 -2
- package/dist/lib/components/ui/feedback/sonner/index.d.ts +1 -0
- package/dist/lib/components/ui/feedback/toast/toast.d.ts +7 -0
- package/dist/lib/components/ui/feedback/toast/toast.vue.d.ts +18 -2
- package/dist/lib/components/ui/fields/contacts/consts.d.ts +1 -1
- package/dist/lib/components/ui/forms/use-field-blur.d.ts +3 -0
- package/dist/lib/components/ui/layout/app-shell/activity-content.vue.d.ts +9 -3
- package/dist/lib/components/ui/layout/app-shell/activity-layout.vue.d.ts +21 -4
- package/dist/lib/components/ui/layout/app-shell/app-header.vue.d.ts +7 -5
- package/dist/lib/components/ui/layout/app-shell/app-sidebar.vue.d.ts +4 -1
- package/dist/lib/components/ui/layout/app-shell/index.d.ts +2 -2
- package/dist/lib/components/ui/layout/app-shell/router-menu-link.d.ts +7 -0
- package/dist/lib/components/ui/layout/app-shell/types.d.ts +8 -0
- package/dist/lib/components/ui/layout/app-shell/use-content-scroll.d.ts +13 -0
- package/dist/lib/components/ui/layout/app-shell/use-navigation-sheet.d.ts +17 -0
- package/dist/lib/components/ui/layout/sidebar/sidebar-context.d.ts +15 -0
- package/dist/lib/components/ui/layout/sidebar/sidebar-menu-item.vue.d.ts +13 -4
- package/dist/lib/components/ui/media/carousel/carousel-next.vue.d.ts +1 -1
- package/dist/lib/components/ui/media/carousel/carousel-previous.vue.d.ts +1 -1
- package/dist/lib/components/ui/menu-item-variant.d.ts +4 -4
- package/dist/lib/components/ui/overlays/context-menu/ContextMenuContent.vue.d.ts +2 -2
- package/dist/lib/components/ui/overlays/dialog/DialogContent.vue.d.ts +2 -2
- package/dist/lib/components/ui/overlays/dialog/DialogScrollContent.vue.d.ts +2 -2
- package/dist/lib/components/ui/overlays/dialog/use-escape-forward.d.ts +17 -0
- package/dist/lib/components/ui/overlays/dialog/use-inert-others.d.ts +17 -0
- package/dist/lib/components/ui/overlays/dialog/use-modal-content.d.ts +32 -0
- package/dist/lib/components/ui/overlays/drawer/DrawerContent.vue.d.ts +2 -2
- package/dist/lib/components/ui/overlays/dropdown-menu/DropdownMenu.vue.d.ts +3 -1
- package/dist/lib/components/ui/overlays/dropdown-menu/DropdownMenuContent.vue.d.ts +2 -2
- package/dist/lib/components/ui/overlays/popover/PopoverContent.vue.d.ts +2 -2
- package/dist/lib/components/ui/overlays/sheet/SheetContent.vue.d.ts +2 -2
- package/dist/lib/components/ui/primitives/card/CardTitle.vue.d.ts +11 -4
- package/dist/lib/components/ui/primitives/card/index.d.ts +1 -0
- package/dist/lib/components/ui/primitives/toggle/Toggle.vue.d.ts +1 -1
- package/dist/lib/components/ui/primitives/toggle/index.d.ts +1 -1
- package/dist/lib/components/ui/selection/autocomplete/partials/autocomplete-box.vue.d.ts +2 -0
- package/dist/lib/components/ui/selection/select/SelectContent.vue.d.ts +2 -2
- package/dist/lib/components/ui/selection/select-chip-field/select-chip-field.vue.d.ts +1 -0
- package/dist/lib/i18n/resources/en/en.d.ts +9 -0
- package/dist/lib/i18n/resources/en/material.json.d.ts +13 -4
- package/dist/lib/i18n/resources/fr/fr.d.ts +9 -0
- package/dist/lib/i18n/resources/fr/material.json.d.ts +13 -4
- package/dist/lib/i18n/resources/resources.d.ts +18 -0
- package/dist/lib/i18n/translator.d.ts +1 -1
- package/dist/lib/lib/field-name-attribute.d.ts +7 -0
- package/dist/lib/lib/focus-field.d.ts +17 -0
- package/dist/lib/lib/index.d.ts +1 -0
- package/dist/lib.js +76 -74
- package/dist/main.js +13 -13
- package/dist/map.js +4 -4
- package/dist/material-vue.css +1 -1
- package/dist/{pdf-outline-sidebar-D3vq2qfS.js → pdf-outline-sidebar-ChjAXoUX.js} +2 -2
- package/dist/{pdf-page-BrJbyjQj.js → pdf-page-D4OTPcpF.js} +1 -1
- package/dist/{pdf-page-list-BCgYEszV.js → pdf-page-list-CFgKYLur.js} +2 -2
- package/dist/{pdf-reader-BAzevSJU.js → pdf-reader-B1hw81cG.js} +9 -9
- package/dist/{pdf-sidebar-DSh2Mend.js → pdf-sidebar-Do5HzrDq.js} +3 -3
- package/dist/{pdf-thumbnail-sidebar-D_EMcbKF.js → pdf-thumbnail-sidebar-CMge0C9-.js} +3 -3
- package/dist/{pdf-toolbar-BcL7HlfS.js → pdf-toolbar-BBio9baU.js} +5 -5
- package/dist/pdf.js +2 -2
- package/dist/{sortable-provider-DMpmM7Ke.js → sortable-provider-DMVbbmUU.js} +2 -2
- package/dist/{stored-language-Bxhsx4iB.js → stored-language-AJpwOMsA.js} +26 -8
- package/dist/{stx-player-MldK_ZAZ.js → stx-player-gtyStl7e.js} +2 -2
- package/dist/styles.css +10 -368
- package/dist/{translator-CLI_7Crg.js → translator-D2_swsMz.js} +1 -1
- package/dist/{use-heading-spy-VPuFj2Gt.js → use-heading-spy-BbEbAfPK.js} +19 -19
- package/dist/use-inert-others-CtGqZKR8.js +22 -0
- package/dist/{use-material-translation-CONqD9wJ.js → use-material-translation-BHtgyMz3.js} +3 -3
- package/docs/components/buttons-and-actions.md +71 -16
- package/docs/components/data-display.md +12 -1
- package/docs/components/data-table-filter-and-lists.md +85 -5
- package/docs/components/date-and-time.md +25 -1
- package/docs/components/feedback-and-status.md +86 -11
- package/docs/components/form-fields.md +13 -4
- package/docs/components/media-and-files.md +7 -0
- package/docs/components/navigation-and-layout.md +19 -1
- package/docs/components/overlays-and-menus.md +20 -4
- package/docs/components/primitives.md +16 -2
- package/docs/components/selection-and-choice.md +12 -1
- package/docs/getting-started.md +2 -2
- package/docs/guides/app-shell.md +102 -6
- package/docs/guides/forms.md +58 -5
- package/docs/guides/helpers.md +2 -1
- package/docs/guides/i18n.md +5 -2
- package/docs/guides/ssr.md +1 -1
- package/docs/guides/theming.md +134 -6
- package/docs/previews/data-display-description.webp +0 -0
- package/docs/previews/feedback-status-toast.webp +0 -0
- package/docs/roadmap.md +21 -0
- package/docs/troubleshooting.md +936 -12
- package/lib/components/base-content.css +139 -0
- package/lib/components/base.css +150 -0
- package/lib/components/components.css +2 -0
- package/lib/components/reduced-motion.css +56 -0
- package/lib/components/theme-tokens.css +116 -0
- package/lib/components/ui/actions/button-group/button-group.css +1 -1
- package/lib/components/ui/feedback/toast/toast.css +21 -0
- package/lib/components/ui/primitives/label/label.css +33 -0
- package/lib/styles.css +10 -368
- package/package.json +2 -2
- package/dist/Button-16J7vTpE.js +0 -665
- package/dist/HoverCardTrigger-C41002JS.js +0 -455
- package/dist/icon-button-CDdNsZuZ.js +0 -227
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as e } from "./rolldown-runtime-CWhphoD1.js";
|
|
2
2
|
import { t } from "./utils-CykWQ0iJ.js";
|
|
3
|
-
import { Ef as n } from "./components-
|
|
4
|
-
import { t as r } from "./use-material-translation-
|
|
3
|
+
import { Ef as n } from "./components-BZ1XAK37.js";
|
|
4
|
+
import { t as r } from "./use-material-translation-BHtgyMz3.js";
|
|
5
5
|
import { Fragment as i, computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, defineComponent as u, normalizeClass as d, normalizeStyle as f, openBlock as p, ref as m, renderList as h, toDisplayString as g, unref as _, withCtx as v } from "vue";
|
|
6
6
|
//#region lib/components/ui/media/pdf-viewer/partials/pdf-outline-row.vue?vue&type=script&setup=true&lang.ts
|
|
7
7
|
var y = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./utils-CykWQ0iJ.js";
|
|
2
|
-
import {
|
|
2
|
+
import { kp as t } from "./components-BZ1XAK37.js";
|
|
3
3
|
import { computed as n, createBlock as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, defineComponent as s, nextTick as c, normalizeClass as l, normalizeStyle as u, onBeforeUnmount as d, openBlock as f, ref as p, shallowRef as m, unref as h, watch as g } from "vue";
|
|
4
4
|
import { DEFAULT_PAGE_SIZE as _, escapeHtml as v, findTextMatches as y, highlightItemHtml as b, placeholderSize as x, rotatedSize as S } from "@nxgt/material-core/pdf-viewer";
|
|
5
5
|
//#region lib/components/ui/media/pdf-viewer/pdf-note-icons.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as e } from "./rolldown-runtime-CWhphoD1.js";
|
|
2
|
-
import { Ef as t } from "./components-
|
|
3
|
-
import { t as n } from "./pdf-page-
|
|
2
|
+
import { Ef as t } from "./components-BZ1XAK37.js";
|
|
3
|
+
import { t as n } from "./pdf-page-D4OTPcpF.js";
|
|
4
4
|
import { Fragment as r, createBlock as i, createElementBlock as a, createElementVNode as o, defineComponent as s, openBlock as c, renderList as l, withCtx as u } from "vue";
|
|
5
5
|
//#region lib/components/ui/media/pdf-viewer/partials/pdf-page-list.vue?vue&type=script&setup=true&lang.ts
|
|
6
6
|
var d = { class: "flex flex-col items-center gap-4 px-4 py-4" }, f = /*@__PURE__*/ s({
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as e } from "./utils-CykWQ0iJ.js";
|
|
2
|
-
import { On as t } from "./components-
|
|
3
|
-
import { t as n } from "./use-material-translation-
|
|
4
|
-
import { t as r } from "./Button-
|
|
5
|
-
import { o as i } from "./HoverCardTrigger-
|
|
6
|
-
import { n as a } from "./pdf-page-
|
|
7
|
-
import { t as o } from "./pdf-page-list-
|
|
8
|
-
import { t as s } from "./pdf-sidebar-
|
|
9
|
-
import { t as c } from "./pdf-toolbar-
|
|
2
|
+
import { On as t } from "./components-BZ1XAK37.js";
|
|
3
|
+
import { t as n } from "./use-material-translation-BHtgyMz3.js";
|
|
4
|
+
import { t as r } from "./Button-DEUkxkrJ.js";
|
|
5
|
+
import { o as i } from "./HoverCardTrigger-TDll55LP.js";
|
|
6
|
+
import { n as a } from "./pdf-page-D4OTPcpF.js";
|
|
7
|
+
import { t as o } from "./pdf-page-list-CFgKYLur.js";
|
|
8
|
+
import { t as s } from "./pdf-sidebar-Do5HzrDq.js";
|
|
9
|
+
import { t as c } from "./pdf-toolbar-BBio9baU.js";
|
|
10
10
|
import { computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createTextVNode as m, createVNode as h, defineComponent as g, nextTick as _, normalizeClass as v, onBeforeUnmount as y, onMounted as b, openBlock as x, reactive as S, ref as C, shallowRef as w, toDisplayString as T, toRef as E, unref as D, useId as O, watch as k, withCtx as A } from "vue";
|
|
11
11
|
import { AlertCircle as j, FileX2 as M, KeyRound as N, Loader2 as P } from "@lucide/vue";
|
|
12
12
|
import { pdfSourceKey as F, toPdfjsParams as I } from "@nxgt/material-core/pdf-source";
|
|
@@ -200,7 +200,7 @@ var ie = { class: "absolute inset-0 flex flex-col items-center justify-center ga
|
|
|
200
200
|
key: 0,
|
|
201
201
|
id: D(c),
|
|
202
202
|
role: "alert",
|
|
203
|
-
class: "text-sm text-error"
|
|
203
|
+
class: "text-sm text-error-text"
|
|
204
204
|
}, T(D(s)("material.pdf-reader.password-incorrect", "Incorrect password. Try again.")), 9, Q)) : d("", !0)
|
|
205
205
|
]));
|
|
206
206
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as e } from "./rolldown-runtime-CWhphoD1.js";
|
|
2
2
|
import { t } from "./utils-CykWQ0iJ.js";
|
|
3
|
-
import { t as n } from "./use-material-translation-
|
|
4
|
-
import { t as r } from "./pdf-outline-sidebar-
|
|
5
|
-
import { t as i } from "./pdf-thumbnail-sidebar-
|
|
3
|
+
import { t as n } from "./use-material-translation-BHtgyMz3.js";
|
|
4
|
+
import { t as r } from "./pdf-outline-sidebar-ChjAXoUX.js";
|
|
5
|
+
import { t as i } from "./pdf-thumbnail-sidebar-CMge0C9-.js";
|
|
6
6
|
import { createElementBlock as a, createElementVNode as o, createVNode as s, defineComponent as c, normalizeClass as l, openBlock as u, toDisplayString as d, unref as f, useId as p, useTemplateRef as m } from "vue";
|
|
7
7
|
//#region lib/components/ui/media/pdf-viewer/partials/pdf-sidebar.vue?vue&type=script&setup=true&lang.ts
|
|
8
8
|
var h = ["aria-label"], g = ["aria-label"], _ = [
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as e } from "./rolldown-runtime-CWhphoD1.js";
|
|
2
2
|
import { t } from "./utils-CykWQ0iJ.js";
|
|
3
|
-
import { Ef as n } from "./components-
|
|
4
|
-
import { t as r } from "./use-material-translation-
|
|
5
|
-
import { t as i } from "./pdf-page-
|
|
3
|
+
import { Ef as n } from "./components-BZ1XAK37.js";
|
|
4
|
+
import { t as r } from "./use-material-translation-BHtgyMz3.js";
|
|
5
|
+
import { t as i } from "./pdf-page-D4OTPcpF.js";
|
|
6
6
|
import { Fragment as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createVNode as l, defineComponent as u, normalizeClass as d, openBlock as f, renderList as p, toDisplayString as m, unref as h, withCtx as g } from "vue";
|
|
7
7
|
//#region lib/components/ui/media/pdf-viewer/partials/pdf-thumbnail-sidebar.vue?vue&type=script&setup=true&lang.ts
|
|
8
8
|
var _ = ["aria-label"], v = {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { n as e } from "./rolldown-runtime-CWhphoD1.js";
|
|
2
2
|
import { t } from "./utils-CykWQ0iJ.js";
|
|
3
|
-
import { t as n } from "./use-material-translation-
|
|
4
|
-
import {
|
|
5
|
-
import { t as i } from "./icon-button-
|
|
6
|
-
import { a, i as o, n as s, o as c, r as l, t as u } from "./DropdownMenuTrigger-
|
|
7
|
-
import { o as d } from "./HoverCardTrigger-
|
|
3
|
+
import { t as n } from "./use-material-translation-BHtgyMz3.js";
|
|
4
|
+
import { d as r } from "./Button-DEUkxkrJ.js";
|
|
5
|
+
import { t as i } from "./icon-button-jHB4MhQ5.js";
|
|
6
|
+
import { a, i as o, n as s, o as c, r as l, t as u } from "./DropdownMenuTrigger-BsuyNVzV.js";
|
|
7
|
+
import { o as d } from "./HoverCardTrigger-TDll55LP.js";
|
|
8
8
|
import { Fragment as f, computed as p, createBlock as m, createCommentVNode as h, createElementBlock as g, createElementVNode as _, createTextVNode as v, createVNode as y, defineComponent as b, nextTick as x, normalizeClass as S, openBlock as C, ref as w, renderList as T, toDisplayString as E, unref as D, useTemplateRef as O, watch as k, withCtx as A } from "vue";
|
|
9
9
|
import { ChevronDown as j, ChevronLeft as M, ChevronRight as N, ChevronUp as P, Download as F, Maximize2 as I, Minimize2 as L, Moon as R, Printer as z, RotateCw as B, Search as V, Sidebar as H, ZoomIn as U, ZoomOut as W } from "@lucide/vue";
|
|
10
10
|
//#region lib/components/ui/media/pdf-viewer/partials/pdf-toolbar-search.vue?vue&type=script&setup=true&lang.ts
|
package/dist/pdf.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as e, t } from "./use-material-translation-
|
|
2
|
-
import { t as n } from "./Button-
|
|
1
|
+
import { n as e, t } from "./use-material-translation-BHtgyMz3.js";
|
|
2
|
+
import { t as n } from "./Button-DEUkxkrJ.js";
|
|
3
3
|
import { computed as r, createBlock as i, createTextVNode as a, defineComponent as o, getCurrentInstance as s, nextTick as c, onMounted as l, onScopeDispose as u, openBlock as d, ref as f, renderSlot as p, shallowRef as m, toDisplayString as ee, toValue as h, unref as g, watch as te, withCtx as ne } from "vue";
|
|
4
4
|
import { contentDisposition as re, pdfBytesResponse as ie, toWebStream as ae } from "@nxgt/material-core/pdf/http";
|
|
5
5
|
import { badge as oe, dataTable as se, defaultPdfTheme as ce, definePdfDocument as _, divider as v, header as y, heading as b, image as x, keyValue as S, keyValueOf as C, link as w, metric as T, page as E, pageBreak as D, pageNumber as O, pdfDocument as k, resolvePdfColor as A, resolvePdfTheme as j, row as M, section as N, spacer as P, stack as F, table as I, text as L, totals as R } from "@nxgt/material-core/pdf/model";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./utils-CykWQ0iJ.js";
|
|
2
|
-
import { t } from "./use-material-translation-
|
|
3
|
-
import { t as n } from "./icon-button-
|
|
2
|
+
import { t } from "./use-material-translation-BHtgyMz3.js";
|
|
3
|
+
import { t as n } from "./icon-button-jHB4MhQ5.js";
|
|
4
4
|
import { Teleport as r, computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createVNode as c, defineComponent as l, inject as u, mergeProps as d, normalizeStyle as f, onUnmounted as p, openBlock as m, provide as h, reactive as g, ref as _, renderSlot as v, toValue as y, unref as b, useAttrs as x, watch as S, watchEffect as C, withCtx as w, withModifiers as T } from "vue";
|
|
5
5
|
import { GripVertical as E } from "@lucide/vue";
|
|
6
6
|
import { Primitive as D } from "reka-ui";
|
|
@@ -330,7 +330,8 @@ var e = {
|
|
|
330
330
|
"no-data": "No data available",
|
|
331
331
|
"select-all": "Select all",
|
|
332
332
|
"select-row": "Select row",
|
|
333
|
-
"toggle-row": "Toggle row details"
|
|
333
|
+
"toggle-row": "Toggle row details",
|
|
334
|
+
"scroll-region": "Scrollable table"
|
|
334
335
|
},
|
|
335
336
|
pagination: {
|
|
336
337
|
previous: "Previous",
|
|
@@ -345,6 +346,7 @@ var e = {
|
|
|
345
346
|
label: "Pagination",
|
|
346
347
|
range: "{from}–{to} of {total}",
|
|
347
348
|
"range-open": "{from}–{to}",
|
|
349
|
+
"range-label": "Rows shown",
|
|
348
350
|
total: "{total, plural, one {# row} other {# rows}}",
|
|
349
351
|
selected: "{count, plural, one {# row selected} other {# rows selected}}"
|
|
350
352
|
},
|
|
@@ -504,6 +506,10 @@ var e = {
|
|
|
504
506
|
too_small_exclusive: "This value is too small: it must be more than {minimum} {unit}.",
|
|
505
507
|
too_small_no_unit_inclusive: "This value is too small: it must be at least {minimum}.",
|
|
506
508
|
too_small_no_unit_exclusive: "This value is too small: it must be more than {minimum}.",
|
|
509
|
+
too_big_string_inclusive: "Must contain at most {maximum, plural, one {# character} other {# characters}}.",
|
|
510
|
+
too_big_string_exclusive: "Must contain fewer than {maximum, plural, one {# character} other {# characters}}.",
|
|
511
|
+
too_small_string_inclusive: "Must contain at least {minimum, plural, one {# character} other {# characters}}.",
|
|
512
|
+
too_small_string_exclusive: "Must contain more than {minimum, plural, one {# character} other {# characters}}.",
|
|
507
513
|
invalid_format: {
|
|
508
514
|
starts_with: "This text must start with \"{prefix}\".",
|
|
509
515
|
ends_with: "This text must end with \"{suffix}\".",
|
|
@@ -636,7 +642,8 @@ var e = {
|
|
|
636
642
|
},
|
|
637
643
|
copy: {
|
|
638
644
|
copy: "Copy",
|
|
639
|
-
copied: "Copied"
|
|
645
|
+
copied: "Copied",
|
|
646
|
+
failed: "Copy failed"
|
|
640
647
|
},
|
|
641
648
|
carousel: {
|
|
642
649
|
previous: "Previous slide",
|
|
@@ -753,7 +760,8 @@ var e = {
|
|
|
753
760
|
"timezone-field": { placeholder: "Timezone" },
|
|
754
761
|
"app-shell": {
|
|
755
762
|
home: "Home",
|
|
756
|
-
"open-menu": "Open menu"
|
|
763
|
+
"open-menu": "Open menu",
|
|
764
|
+
navigation: "Navigation"
|
|
757
765
|
},
|
|
758
766
|
filter: {
|
|
759
767
|
title: "Filters",
|
|
@@ -1115,7 +1123,8 @@ var e = {
|
|
|
1115
1123
|
"next-years": "Show next years",
|
|
1116
1124
|
today: "Go to Today",
|
|
1117
1125
|
"choose-year": "{month}, choose year",
|
|
1118
|
-
"back-to-days": "Back to day view"
|
|
1126
|
+
"back-to-days": "Back to day view",
|
|
1127
|
+
selected: "Selected"
|
|
1119
1128
|
},
|
|
1120
1129
|
spinner: { loading: "Loading..." },
|
|
1121
1130
|
slider: {
|
|
@@ -1506,7 +1515,8 @@ var e = {
|
|
|
1506
1515
|
"no-data": "Données non disponibles",
|
|
1507
1516
|
"select-all": "Tout sélectionner",
|
|
1508
1517
|
"select-row": "Sélectionner la ligne",
|
|
1509
|
-
"toggle-row": "Afficher ou masquer les détails de la ligne"
|
|
1518
|
+
"toggle-row": "Afficher ou masquer les détails de la ligne",
|
|
1519
|
+
"scroll-region": "Tableau défilant"
|
|
1510
1520
|
},
|
|
1511
1521
|
pagination: {
|
|
1512
1522
|
previous: "Précédent",
|
|
@@ -1521,6 +1531,7 @@ var e = {
|
|
|
1521
1531
|
label: "Pagination",
|
|
1522
1532
|
range: "{from}–{to} sur {total}",
|
|
1523
1533
|
"range-open": "{from}–{to}",
|
|
1534
|
+
"range-label": "Lignes affichées",
|
|
1524
1535
|
total: "{total, plural, one {# ligne} other {# lignes}}",
|
|
1525
1536
|
selected: "{count, plural, one {# ligne sélectionnée} other {# lignes sélectionnées}}"
|
|
1526
1537
|
},
|
|
@@ -1680,6 +1691,10 @@ var e = {
|
|
|
1680
1691
|
too_small_exclusive: "Cette valeur est trop petite : elle doit être supérieure à {minimum} {unit}.",
|
|
1681
1692
|
too_small_no_unit_inclusive: "Cette valeur est trop petite : elle doit être au minimum {minimum}.",
|
|
1682
1693
|
too_small_no_unit_exclusive: "Cette valeur est trop petite : elle doit être supérieure à {minimum}.",
|
|
1694
|
+
too_big_string_inclusive: "Doit contenir au plus {maximum, plural, one {# caractère} other {# caractères}}.",
|
|
1695
|
+
too_big_string_exclusive: "Doit contenir moins de {maximum, plural, one {# caractère} other {# caractères}}.",
|
|
1696
|
+
too_small_string_inclusive: "Doit contenir au moins {minimum, plural, one {# caractère} other {# caractères}}.",
|
|
1697
|
+
too_small_string_exclusive: "Doit contenir plus de {minimum, plural, one {# caractère} other {# caractères}}.",
|
|
1683
1698
|
invalid_format: {
|
|
1684
1699
|
starts_with: "Le texte doit commencer par \"{prefix}\".",
|
|
1685
1700
|
ends_with: "Le texte doit se terminer par \"{suffix}\".",
|
|
@@ -1812,7 +1827,8 @@ var e = {
|
|
|
1812
1827
|
},
|
|
1813
1828
|
copy: {
|
|
1814
1829
|
copy: "Copier",
|
|
1815
|
-
copied: "Copié"
|
|
1830
|
+
copied: "Copié",
|
|
1831
|
+
failed: "Échec de la copie"
|
|
1816
1832
|
},
|
|
1817
1833
|
carousel: {
|
|
1818
1834
|
previous: "Diapositive précédente",
|
|
@@ -1929,7 +1945,8 @@ var e = {
|
|
|
1929
1945
|
"timezone-field": { placeholder: "Fuseau horaire" },
|
|
1930
1946
|
"app-shell": {
|
|
1931
1947
|
home: "Accueil",
|
|
1932
|
-
"open-menu": "Ouvrir le menu"
|
|
1948
|
+
"open-menu": "Ouvrir le menu",
|
|
1949
|
+
navigation: "Navigation"
|
|
1933
1950
|
},
|
|
1934
1951
|
filter: {
|
|
1935
1952
|
title: "Filtres",
|
|
@@ -2291,7 +2308,8 @@ var e = {
|
|
|
2291
2308
|
"next-years": "Afficher les années suivantes",
|
|
2292
2309
|
today: "Aller à aujourd'hui",
|
|
2293
2310
|
"choose-year": "{month}, choisir l'année",
|
|
2294
|
-
"back-to-days": "Retour à la vue des jours"
|
|
2311
|
+
"back-to-days": "Retour à la vue des jours",
|
|
2312
|
+
selected: "Sélectionné"
|
|
2295
2313
|
},
|
|
2296
2314
|
spinner: { loading: "Chargement..." },
|
|
2297
2315
|
slider: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./utils-CykWQ0iJ.js";
|
|
2
|
-
import { $t as t, Jt as n, Mp as r, Qt as i, Yt as a, Zt as o, en as s, qt as c } from "./components-
|
|
3
|
-
import { t as l } from "./use-material-translation-
|
|
2
|
+
import { $t as t, Jt as n, Mp as r, Qt as i, Yt as a, Zt as o, en as s, qt as c } from "./components-BZ1XAK37.js";
|
|
3
|
+
import { t as l } from "./use-material-translation-BHtgyMz3.js";
|
|
4
4
|
import { createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createTextVNode as m, createVNode as h, defineComponent as g, normalizeClass as _, openBlock as v, toDisplayString as y, unref as b, withCtx as x } from "vue";
|
|
5
5
|
//#region lib/components/ui/media/stx-player/partials/stx-player-frame.vue?vue&type=script&setup=true&lang.ts
|
|
6
6
|
var S = ["data-layout", "aria-label"], C = {
|
package/dist/styles.css
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
@import "tw-animate-css";
|
|
3
3
|
/* The stylesheets the components need: lib/components/components.css. */
|
|
4
4
|
@import "./components/components.css";
|
|
5
|
+
/* Reduced motion: unlayered on purpose, see the file. */
|
|
6
|
+
@import "./components/reduced-motion.css";
|
|
7
|
+
/* The theme's colour tokens, light (:root) and dark: lib/components/theme-tokens.css. */
|
|
8
|
+
@import "./components/theme-tokens.css";
|
|
9
|
+
/* The base layer: elements (base.css), then editor content and the form grid. */
|
|
10
|
+
@import "./components/base.css";
|
|
11
|
+
@import "./components/base-content.css";
|
|
5
12
|
/* Consumers' Tailwind skips node_modules: scan the compiled components. */
|
|
6
13
|
@source "../dist";
|
|
7
14
|
|
|
@@ -9,91 +16,6 @@
|
|
|
9
16
|
&:where(.dark, .dark *, [data-theme="dark"], [data-theme="dark"] *)
|
|
10
17
|
);
|
|
11
18
|
|
|
12
|
-
:root {
|
|
13
|
-
--radius: 0.625rem;
|
|
14
|
-
--background: oklch(1 0 0);
|
|
15
|
-
--foreground: oklch(0.14 0.036 258.53);
|
|
16
|
-
--card: oklch(1 0 0);
|
|
17
|
-
--card-foreground: oklch(0.129 0.042 264.695);
|
|
18
|
-
--strix: oklch(45.91% 0.1864 310.75);
|
|
19
|
-
--popover: oklch(1 0 0);
|
|
20
|
-
--popover-foreground: oklch(0.129 0.042 264.695);
|
|
21
|
-
--primary: oklch(46% 0.1135 276.35);
|
|
22
|
-
--primary-foreground: oklch(0.984 0.003 247.858);
|
|
23
|
-
--secondary: oklch(56.67% 0.1135 245.65);
|
|
24
|
-
--secondary-foreground: oklch(0.984 0.003 247.858);
|
|
25
|
-
--muted: oklch(0.968 0.007 247.896);
|
|
26
|
-
--muted-foreground: oklch(0.554 0.046 257.417);
|
|
27
|
-
--tooltip: oklch(0.446 0.043 257.281);
|
|
28
|
-
--tooltip-foreground: oklch(1 0 0);
|
|
29
|
-
--accent: oklch(0.9182 0.0077 228.86);
|
|
30
|
-
--accent-foreground: oklch(0.216 0.006 56.043);
|
|
31
|
-
--error: oklch(0.577 0.245 27.325);
|
|
32
|
-
--error-foreground: oklch(0.984 0.003 247.858);
|
|
33
|
-
--success: oklch(0.6 0.118 184.704);
|
|
34
|
-
--success-foreground: oklch(0.984 0.003 247.858);
|
|
35
|
-
--info: oklch(0.707 0.165 254.624);
|
|
36
|
-
--info-foreground: oklch(0.984 0.003 247.858);
|
|
37
|
-
--warning: oklch(0.646 0.222 41.116);
|
|
38
|
-
--warning-foreground: oklch(0.984 0.003 247.858);
|
|
39
|
-
--destructive: oklch(0.577 0.245 27.325);
|
|
40
|
-
--border: oklch(0.929 0.013 255.508);
|
|
41
|
-
--input: oklch(0.929 0.013 255.508);
|
|
42
|
-
--ring: oklch(0.704 0.04 256.788);
|
|
43
|
-
--chart-1: oklch(0.646 0.222 41.116);
|
|
44
|
-
--chart-2: oklch(0.6 0.118 184.704);
|
|
45
|
-
--chart-3: oklch(0.398 0.07 227.392);
|
|
46
|
-
--chart-4: oklch(0.828 0.189 84.429);
|
|
47
|
-
--chart-5: oklch(0.769 0.188 70.08);
|
|
48
|
-
--sidebar: oklch(0.984 0.003 247.858);
|
|
49
|
-
--sidebar-foreground: oklch(0.129 0.042 264.695);
|
|
50
|
-
--sidebar-primary: oklch(0.208 0.042 265.755);
|
|
51
|
-
--sidebar-primary-foreground: oklch(0.984 0.003 247.858);
|
|
52
|
-
--sidebar-accent: oklch(0.968 0.007 247.896);
|
|
53
|
-
--sidebar-accent-foreground: oklch(0.208 0.042 265.755);
|
|
54
|
-
--sidebar-border: oklch(0.929 0.013 255.508);
|
|
55
|
-
--sidebar-ring: oklch(0.704 0.04 256.788);
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.dark,
|
|
59
|
-
[data-theme="dark"] {
|
|
60
|
-
--background: oklch(0.14 0.036 258.53);
|
|
61
|
-
--foreground: oklch(0.984 0.003 247.858);
|
|
62
|
-
--card: oklch(0.208 0.042 265.755);
|
|
63
|
-
--card-foreground: oklch(0.984 0.003 247.858);
|
|
64
|
-
--popover: oklch(0.208 0.042 265.755);
|
|
65
|
-
--popover-foreground: oklch(0.984 0.003 247.858);
|
|
66
|
-
--primary: oklch(46% 0.1135 276.35);
|
|
67
|
-
--primary-foreground: oklch(0.984 0.003 247.858);
|
|
68
|
-
--secondary: oklch(56.67% 0.1135 245.65);
|
|
69
|
-
--secondary-foreground: oklch(0.984 0.003 247.858);
|
|
70
|
-
--muted: oklch(0.968 0.007 247.896);
|
|
71
|
-
--muted-foreground: oklch(0.554 0.046 257.417);
|
|
72
|
-
--tooltip: oklch(0.929 0.013 255.508);
|
|
73
|
-
--tooltip-foreground: oklch(0.446 0.043 257.281);
|
|
74
|
-
--accent: oklch(0.268 0.007 34.298);
|
|
75
|
-
--accent-foreground: oklch(0.985 0.001 106.423);
|
|
76
|
-
--error: oklch(0.577 0.245 27.325);
|
|
77
|
-
--error-foreground: oklch(0.984 0.003 247.858);
|
|
78
|
-
--destructive: oklch(0.704 0.191 22.216);
|
|
79
|
-
--border: oklch(1 0 0 / 10%);
|
|
80
|
-
--input: oklch(1 0 0 / 15%);
|
|
81
|
-
--ring: oklch(0.551 0.027 264.364);
|
|
82
|
-
--chart-1: oklch(0.488 0.243 264.376);
|
|
83
|
-
--chart-2: oklch(0.696 0.17 162.48);
|
|
84
|
-
--chart-3: oklch(0.769 0.188 70.08);
|
|
85
|
-
--chart-4: oklch(0.627 0.265 303.9);
|
|
86
|
-
--chart-5: oklch(0.645 0.246 16.439);
|
|
87
|
-
--sidebar: oklch(0.208 0.042 265.755);
|
|
88
|
-
--sidebar-foreground: oklch(0.984 0.003 247.858);
|
|
89
|
-
--sidebar-primary: oklch(0.488 0.243 264.376);
|
|
90
|
-
--sidebar-primary-foreground: oklch(0.984 0.003 247.858);
|
|
91
|
-
--sidebar-accent: oklch(0.279 0.041 260.031);
|
|
92
|
-
--sidebar-accent-foreground: oklch(0.984 0.003 247.858);
|
|
93
|
-
--sidebar-border: oklch(1 0 0 / 10%);
|
|
94
|
-
--sidebar-ring: oklch(0.551 0.027 264.364);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
19
|
@theme {
|
|
98
20
|
--radius-sm: calc(var(--radius) - 4px);
|
|
99
21
|
--radius-md: calc(var(--radius) - 2px);
|
|
@@ -118,6 +40,8 @@
|
|
|
118
40
|
--color-secondary-container: --alpha(var(--secondary-foreground) / 20%);
|
|
119
41
|
--color-muted: var(--muted);
|
|
120
42
|
--color-muted-foreground: var(--muted-foreground);
|
|
43
|
+
--color-track: var(--track);
|
|
44
|
+
--color-track-fill: var(--track-fill);
|
|
121
45
|
--color-tooltip: var(--tooltip);
|
|
122
46
|
--color-tooltip-foreground: var(--tooltip-foreground);
|
|
123
47
|
--color-accent: var(--accent);
|
|
@@ -126,6 +50,7 @@
|
|
|
126
50
|
--color-error: var(--error);
|
|
127
51
|
--color-error-foreground: var(--error-foreground);
|
|
128
52
|
--color-error-container: --alpha(var(--error-foreground) / 20%);
|
|
53
|
+
--color-error-text: var(--error-text);
|
|
129
54
|
--color-success: var(--success);
|
|
130
55
|
--color-success-foreground: var(--success-foreground);
|
|
131
56
|
--color-info: var(--info);
|
|
@@ -187,286 +112,3 @@
|
|
|
187
112
|
bottom: -0.1875rem;
|
|
188
113
|
transform: rotate(-45deg) scale(0.75);
|
|
189
114
|
}
|
|
190
|
-
|
|
191
|
-
@layer base {
|
|
192
|
-
* {
|
|
193
|
-
@apply border-border outline-ring/50 selection:bg-primary selection:text-primary-foreground;
|
|
194
|
-
&::-webkit-scrollbar {
|
|
195
|
-
@apply w-1 gap-4 h-1 md:w-1.5 md:h-1.5 cursor-pointer;
|
|
196
|
-
}
|
|
197
|
-
&::-webkit-scrollbar-track {
|
|
198
|
-
@apply rounded bg-primary/20;
|
|
199
|
-
}
|
|
200
|
-
&::-webkit-scrollbar-thumb {
|
|
201
|
-
@apply rounded bg-muted-foreground;
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
input::-webkit-outer-spin-button,
|
|
205
|
-
::-webkit-inner-spin-button {
|
|
206
|
-
-webkit-appearance: none;
|
|
207
|
-
margin: 0;
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
body {
|
|
211
|
-
@apply bg-background text-foreground;
|
|
212
|
-
|
|
213
|
-
input[type="number"] {
|
|
214
|
-
-moz-appearance: textfield;
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
[data-slot="icon"] {
|
|
218
|
-
@apply dark:fill-foreground;
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
h1 {
|
|
222
|
-
font-size: var(--text-2xl);
|
|
223
|
-
font-weight: var(--font-weight-medium);
|
|
224
|
-
}
|
|
225
|
-
h2 {
|
|
226
|
-
font-size: var(--text-xl);
|
|
227
|
-
font-weight: var(--font-weight-medium);
|
|
228
|
-
}
|
|
229
|
-
h3 {
|
|
230
|
-
font-size: var(--text-lg);
|
|
231
|
-
font-weight: var(--font-weight-medium);
|
|
232
|
-
}
|
|
233
|
-
h4 {
|
|
234
|
-
font-size: var(--text-base);
|
|
235
|
-
font-weight: var(--font-weight-medium);
|
|
236
|
-
}
|
|
237
|
-
h5 {
|
|
238
|
-
font-size: var(--text-sm);
|
|
239
|
-
font-weight: var(--font-weight-medium);
|
|
240
|
-
}
|
|
241
|
-
h6 {
|
|
242
|
-
font-size: var(--text-xs);
|
|
243
|
-
font-weight: var(--font-weight-medium);
|
|
244
|
-
}
|
|
245
|
-
a:not(:has(> button)) {
|
|
246
|
-
@apply focus:underline underline-offset-4 hover:underline cursor-pointer;
|
|
247
|
-
@apply text-info [&_svg]:data-[slot=icon]:text-info hover:bg-info/10 active:bg-info/5 focus:bg-info/15;
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
code {
|
|
251
|
-
@apply rounded bg-muted px-[0.3rem] py-[0.2rem] font-mono mx-0.5;
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
blockquote {
|
|
255
|
-
@apply border-l-2 border-primary/40 pl-4 italic text-muted-foreground my-1;
|
|
256
|
-
}
|
|
257
|
-
pre {
|
|
258
|
-
@apply bg-muted rounded p-4 overflow-x-auto my-1;
|
|
259
|
-
code {
|
|
260
|
-
@apply text-sm;
|
|
261
|
-
}
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
ul li p,
|
|
265
|
-
ol li p {
|
|
266
|
-
display: inline;
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
ul[data-type="taskList"] {
|
|
270
|
-
list-style-type: disc;
|
|
271
|
-
}
|
|
272
|
-
ol[data-type="taskList"] {
|
|
273
|
-
list-style-type: decimal;
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
ul[data-type="taskList"] li {
|
|
277
|
-
@apply flex gap-2 items-center;
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
ul,
|
|
281
|
-
ol {
|
|
282
|
-
@apply list-inside marker:text-muted-foreground;
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
[data-type="emoji"] {
|
|
286
|
-
img {
|
|
287
|
-
@apply size-4;
|
|
288
|
-
}
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
input[type="checkbox"] {
|
|
292
|
-
display: grid;
|
|
293
|
-
place-content: center;
|
|
294
|
-
-webkit-appearance: none;
|
|
295
|
-
appearance: none;
|
|
296
|
-
font: inherit;
|
|
297
|
-
color: ---value(--color-primary);
|
|
298
|
-
width: 1.05em;
|
|
299
|
-
height: 1.05em;
|
|
300
|
-
border: 0.13em solid var(--muted-foreground);
|
|
301
|
-
border-radius: 0.15em;
|
|
302
|
-
}
|
|
303
|
-
input[type="checkbox"]::before {
|
|
304
|
-
content: "";
|
|
305
|
-
width: 0.55em;
|
|
306
|
-
height: 0.55em;
|
|
307
|
-
transform: scale(0);
|
|
308
|
-
transition: 120ms transform ease-in-out;
|
|
309
|
-
box-shadow: inset 1em 1em var(--color-primary);
|
|
310
|
-
}
|
|
311
|
-
input[type="checkbox"]:checked::before {
|
|
312
|
-
transform: scale(1);
|
|
313
|
-
}
|
|
314
|
-
input[type="checkbox"]:indeterminate::before {
|
|
315
|
-
height: 0.15em;
|
|
316
|
-
}
|
|
317
|
-
|
|
318
|
-
table {
|
|
319
|
-
overflow: hidden;
|
|
320
|
-
table-layout: fixed;
|
|
321
|
-
@apply border-collapse w-full overflow-hidden rounded;
|
|
322
|
-
|
|
323
|
-
tr {
|
|
324
|
-
@apply even:bg-primary/5;
|
|
325
|
-
}
|
|
326
|
-
|
|
327
|
-
td,
|
|
328
|
-
th {
|
|
329
|
-
@apply border-0 p-1 py-2;
|
|
330
|
-
}
|
|
331
|
-
|
|
332
|
-
th {
|
|
333
|
-
@apply bg-primary/15 text-left text-muted-foreground dark:text-primary-foreground;
|
|
334
|
-
}
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
.tiptap {
|
|
338
|
-
ul li p,
|
|
339
|
-
ol li p {
|
|
340
|
-
display: inline;
|
|
341
|
-
}
|
|
342
|
-
|
|
343
|
-
ul:not([data-type="taskList"]) {
|
|
344
|
-
list-style-type: disc;
|
|
345
|
-
}
|
|
346
|
-
ol {
|
|
347
|
-
list-style-type: decimal;
|
|
348
|
-
}
|
|
349
|
-
|
|
350
|
-
ul:not([data-type="taskList"]),
|
|
351
|
-
ol {
|
|
352
|
-
@apply list-inside marker:text-muted-foreground;
|
|
353
|
-
}
|
|
354
|
-
|
|
355
|
-
ul[data-type="taskList"] li {
|
|
356
|
-
@apply flex gap-2 items-center;
|
|
357
|
-
}
|
|
358
|
-
|
|
359
|
-
:first-child {
|
|
360
|
-
margin-top: 0;
|
|
361
|
-
}
|
|
362
|
-
|
|
363
|
-
table {
|
|
364
|
-
/* Override the global `body table { width: w-full }` base rule
|
|
365
|
-
(see @layer base above) — it fights TipTap's resizable colgroup
|
|
366
|
-
widths, which only get applied as an inline table width once
|
|
367
|
-
every column has an explicit pixel width. Letting the table size
|
|
368
|
-
itself (still table-layout: fixed) makes resizing and
|
|
369
|
-
center/right alignment actually visible. */
|
|
370
|
-
width: auto;
|
|
371
|
-
|
|
372
|
-
.selectedCell {
|
|
373
|
-
@apply bg-primary/20;
|
|
374
|
-
}
|
|
375
|
-
|
|
376
|
-
.column-resize-handle {
|
|
377
|
-
background-color: var(--color-primary);
|
|
378
|
-
bottom: -2px;
|
|
379
|
-
pointer-events: none;
|
|
380
|
-
position: absolute;
|
|
381
|
-
right: -2px;
|
|
382
|
-
top: 0;
|
|
383
|
-
width: 4px;
|
|
384
|
-
}
|
|
385
|
-
|
|
386
|
-
&[data-table-caption]::before {
|
|
387
|
-
content: attr(data-table-caption);
|
|
388
|
-
display: block;
|
|
389
|
-
margin-bottom: 0.5rem;
|
|
390
|
-
@apply text-sm text-muted-foreground text-center;
|
|
391
|
-
}
|
|
392
|
-
}
|
|
393
|
-
|
|
394
|
-
.tableWrapper {
|
|
395
|
-
margin: 1.5rem 0;
|
|
396
|
-
overflow-x: auto;
|
|
397
|
-
|
|
398
|
-
&:has(table[data-table-align="center"]) {
|
|
399
|
-
width: fit-content;
|
|
400
|
-
margin-inline: auto;
|
|
401
|
-
}
|
|
402
|
-
|
|
403
|
-
&:has(table[data-table-align="right"]) {
|
|
404
|
-
width: fit-content;
|
|
405
|
-
margin-left: auto;
|
|
406
|
-
margin-right: 0;
|
|
407
|
-
}
|
|
408
|
-
}
|
|
409
|
-
|
|
410
|
-
&.resize-cursor {
|
|
411
|
-
cursor: col-resize;
|
|
412
|
-
}
|
|
413
|
-
|
|
414
|
-
.is-empty::before {
|
|
415
|
-
content: attr(data-placeholder);
|
|
416
|
-
float: left;
|
|
417
|
-
height: 0;
|
|
418
|
-
pointer-events: none;
|
|
419
|
-
@apply text-muted-foreground;
|
|
420
|
-
}
|
|
421
|
-
|
|
422
|
-
.has-focus {
|
|
423
|
-
@apply bg-accent/40 rounded;
|
|
424
|
-
}
|
|
425
|
-
}
|
|
426
|
-
}
|
|
427
|
-
|
|
428
|
-
.form-grid-layout {
|
|
429
|
-
@apply relative flex flex-col gap-2 @container;
|
|
430
|
-
[data-slot="form-fields"] {
|
|
431
|
-
@apply grid @2xl:grid-cols-2 @4xl:grid-cols-3 @6xl:grid-cols-4 gap-2 bg-background/80 p-4 place-items-start overflow-auto;
|
|
432
|
-
|
|
433
|
-
[data-slot="separator"] {
|
|
434
|
-
@apply col-start-full;
|
|
435
|
-
}
|
|
436
|
-
|
|
437
|
-
[data-slot*="text-field"],
|
|
438
|
-
[data-slot*="autocomplete-field"][data-mode="single"],
|
|
439
|
-
[data-slot*="currency-form-field"],
|
|
440
|
-
[data-slot*="time-field"],
|
|
441
|
-
[data-slot*="image-field"],
|
|
442
|
-
[data-slot*="select-field"] {
|
|
443
|
-
@apply w-full;
|
|
444
|
-
}
|
|
445
|
-
|
|
446
|
-
[data-slot="switch-field"],
|
|
447
|
-
[data-slot="textarea-field"],
|
|
448
|
-
[data-slot="autocomplete-field"][data-mode="multiple"],
|
|
449
|
-
[data-slot="select-chip-field"],
|
|
450
|
-
[data-slot="file-picker-field"] {
|
|
451
|
-
@apply col-start-full @6xl:col-span-2;
|
|
452
|
-
}
|
|
453
|
-
|
|
454
|
-
[data-slot="files-form-field"],
|
|
455
|
-
[data-slot="rich-text-editor"] {
|
|
456
|
-
@apply col-start-full;
|
|
457
|
-
}
|
|
458
|
-
}
|
|
459
|
-
[data-slot="form-actions"] {
|
|
460
|
-
@apply flex w-full justify-end gap-2 bottom-2 p-4 max-sm:*:flex-1;
|
|
461
|
-
}
|
|
462
|
-
}
|
|
463
|
-
|
|
464
|
-
.form-grid-layout,
|
|
465
|
-
[data-slot="data-table"] {
|
|
466
|
-
@apply max-h-[calc(100lvh-184px)] md:max-h-[calc(100lvh-242px)] lg:max-h-[calc(100lvh-280px)];
|
|
467
|
-
}
|
|
468
|
-
|
|
469
|
-
[data-slot="table-wrapper"] {
|
|
470
|
-
@apply max-h-[calc(100vh-432px)] md:max-h-[calc(100vh-490px)] lg:max-h-[calc(100vh-528px)];
|
|
471
|
-
}
|
|
472
|
-
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as e, i as t, r as n, t as r } from "./stored-language-
|
|
1
|
+
import { a as e, i as t, r as n, t as r } from "./stored-language-AJpwOMsA.js";
|
|
2
2
|
import { t as i } from "./get-CTzJAwfc.js";
|
|
3
3
|
//#region ../../node_modules/@formatjs/fast-memoize/index.js
|
|
4
4
|
function a(e, t) {
|