@devalok/shilp-sutra 0.17.2 → 0.18.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/dist/_chunks/avatar.js +21 -19
- package/dist/_chunks/button-group.js +27 -0
- package/dist/_chunks/button.js +53 -35
- package/dist/_chunks/card.js +50 -0
- package/dist/_chunks/checkbox.js +11 -9
- package/dist/_chunks/date-utils.js +13 -0
- package/dist/_chunks/form.js +20 -20
- package/dist/_chunks/link-context.js +19 -0
- package/dist/_chunks/motion.js +1376 -0
- package/dist/_chunks/motion2.js +35 -0
- package/dist/_chunks/primitives.js +3499 -3920
- package/dist/_chunks/sidebar.js +225 -211
- package/dist/_chunks/spinner.js +58 -28
- package/dist/_chunks/tiptap.js +1 -1
- package/dist/_chunks/tooltip.js +27 -10
- package/dist/_chunks/tree-view.js +180 -178
- package/dist/_chunks/use-calendar.js +531 -515
- package/dist/_chunks/utils.js +3 -3
- package/dist/_chunks/vendor-client.js +1792 -1049
- package/dist/_chunks/vendor-utils.js +5123 -1169
- package/dist/composed/activity-feed.d.ts.map +1 -1
- package/dist/composed/activity-feed.js +71 -74
- package/dist/composed/avatar-group.js +36 -36
- package/dist/composed/command-palette.d.ts +1 -1
- package/dist/composed/command-palette.d.ts.map +1 -1
- package/dist/composed/command-palette.js +207 -158
- package/dist/composed/confirm-dialog.d.ts +3 -5
- package/dist/composed/confirm-dialog.d.ts.map +1 -1
- package/dist/composed/confirm-dialog.js +46 -41
- package/dist/composed/content-card.d.ts +1 -1
- package/dist/composed/content-card.js +29 -29
- package/dist/composed/date-picker/calendar-grid.d.ts +1 -1
- package/dist/composed/date-picker/calendar-grid.d.ts.map +1 -1
- package/dist/composed/date-picker/date-picker.d.ts +1 -1
- package/dist/composed/date-picker/date-picker.d.ts.map +1 -1
- package/dist/composed/date-picker/date-range-picker.d.ts +1 -1
- package/dist/composed/date-picker/date-range-picker.d.ts.map +1 -1
- package/dist/composed/date-picker/date-time-picker.d.ts +1 -1
- package/dist/composed/date-picker/date-time-picker.d.ts.map +1 -1
- package/dist/composed/date-picker/month-picker.d.ts +1 -1
- package/dist/composed/date-picker/month-picker.d.ts.map +1 -1
- package/dist/composed/date-picker/presets.d.ts +1 -1
- package/dist/composed/date-picker/presets.d.ts.map +1 -1
- package/dist/composed/date-picker/time-picker.d.ts +1 -1
- package/dist/composed/date-picker/time-picker.d.ts.map +1 -1
- package/dist/composed/date-picker/year-picker.d.ts +1 -1
- package/dist/composed/date-picker/year-picker.d.ts.map +1 -1
- package/dist/composed/empty-state.d.ts +1 -0
- package/dist/composed/empty-state.d.ts.map +1 -1
- package/dist/composed/empty-state.js +51 -47
- package/dist/composed/error-boundary.d.ts +1 -1
- package/dist/composed/error-boundary.d.ts.map +1 -1
- package/dist/composed/error-boundary.js +48 -48
- package/dist/composed/extensions/mention-suggestion.d.ts +1 -1
- package/dist/composed/extensions/mention-suggestion.d.ts.map +1 -1
- package/dist/composed/global-loading.d.ts +1 -1
- package/dist/composed/global-loading.d.ts.map +1 -1
- package/dist/composed/global-loading.js +23 -20
- package/dist/composed/index.d.ts +2 -4
- package/dist/composed/index.d.ts.map +1 -1
- package/dist/composed/index.js +26 -29
- package/dist/composed/loading-skeleton.d.ts +1 -1
- package/dist/composed/loading-skeleton.d.ts.map +1 -1
- package/dist/composed/loading-skeleton.js +92 -87
- package/dist/composed/member-picker.d.ts +1 -1
- package/dist/composed/member-picker.d.ts.map +1 -1
- package/dist/composed/member-picker.js +47 -43
- package/dist/composed/page-header.js +36 -36
- package/dist/composed/page-skeletons.d.ts +9 -3
- package/dist/composed/page-skeletons.d.ts.map +1 -1
- package/dist/composed/page-skeletons.js +58 -58
- package/dist/composed/priority-indicator.js +19 -19
- package/dist/composed/rich-text-editor.d.ts +3 -3
- package/dist/composed/rich-text-editor.d.ts.map +1 -1
- package/dist/composed/rich-text-editor.js +316 -309
- package/dist/composed/schedule-view.js +88 -88
- package/dist/composed/simple-tooltip.d.ts +2 -5
- package/dist/composed/simple-tooltip.d.ts.map +1 -1
- package/dist/composed/simple-tooltip.js +19 -14
- package/dist/composed/status-badge.d.ts +2 -1
- package/dist/composed/status-badge.d.ts.map +1 -1
- package/dist/composed/status-badge.js +76 -63
- package/dist/hooks/index.d.ts +2 -1
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.js +3 -4
- package/dist/hooks/use-toast.d.ts +15 -45
- package/dist/hooks/use-toast.d.ts.map +1 -1
- package/dist/hooks/use-toast.js +2 -95
- package/dist/motion/index.d.ts +4 -0
- package/dist/motion/index.d.ts.map +1 -0
- package/dist/motion/index.js +10 -0
- package/dist/motion/motion-provider.d.ts +18 -0
- package/dist/motion/motion-provider.d.ts.map +1 -0
- package/dist/motion/motion-provider.js +24 -0
- package/dist/motion/primitives-index.d.ts +3 -0
- package/dist/motion/primitives-index.d.ts.map +1 -0
- package/dist/motion/primitives-index.js +11 -0
- package/dist/motion/primitives.d.ts +38 -0
- package/dist/motion/primitives.d.ts.map +1 -0
- package/dist/motion/primitives.js +187 -0
- package/dist/shell/app-command-palette.d.ts +14 -5
- package/dist/shell/app-command-palette.d.ts.map +1 -1
- package/dist/shell/app-command-palette.js +152 -130
- package/dist/shell/bottom-navbar.d.ts.map +1 -1
- package/dist/shell/bottom-navbar.js +90 -92
- package/dist/shell/command-registry.d.ts +23 -0
- package/dist/shell/command-registry.d.ts.map +1 -0
- package/dist/shell/command-registry.js +18 -0
- package/dist/shell/index.d.ts +2 -1
- package/dist/shell/index.d.ts.map +1 -1
- package/dist/shell/index.js +14 -11
- package/dist/shell/link-context.d.ts +6 -10
- package/dist/shell/link-context.d.ts.map +1 -1
- package/dist/shell/link-context.js +3 -16
- package/dist/shell/notification-center.d.ts.map +1 -1
- package/dist/shell/notification-center.js +137 -132
- package/dist/shell/notification-preferences.d.ts +10 -5
- package/dist/shell/notification-preferences.d.ts.map +1 -1
- package/dist/shell/notification-preferences.js +168 -165
- package/dist/shell/sidebar.js +119 -119
- package/dist/shell/top-bar.js +65 -65
- package/dist/tailwind/index.cjs +118 -297
- package/dist/tailwind/preset.d.ts.map +1 -1
- package/dist/tailwind/preset.js +118 -297
- package/dist/tokens/generate-scale.d.ts +86 -0
- package/dist/tokens/generate-scale.d.ts.map +1 -0
- package/dist/tokens/primitives.css +415 -187
- package/dist/tokens/semantic.css +244 -270
- package/dist/tokens/typography.css +6 -6
- package/dist/ui/accordion.d.ts.map +1 -1
- package/dist/ui/accordion.js +32 -22
- package/dist/ui/alert-dialog.d.ts +4 -1
- package/dist/ui/alert-dialog.d.ts.map +1 -1
- package/dist/ui/alert-dialog.js +114 -73
- package/dist/ui/alert.d.ts +6 -1
- package/dist/ui/alert.d.ts.map +1 -1
- package/dist/ui/alert.js +64 -49
- package/dist/ui/aspect-ratio.d.ts +2 -1
- package/dist/ui/aspect-ratio.d.ts.map +1 -1
- package/dist/ui/aspect-ratio.js +14 -4
- package/dist/ui/autocomplete.d.ts +11 -2
- package/dist/ui/autocomplete.d.ts.map +1 -1
- package/dist/ui/autocomplete.js +82 -57
- package/dist/ui/avatar.d.ts.map +1 -1
- package/dist/ui/avatar.js +45 -34
- package/dist/ui/badge.d.ts +1 -1
- package/dist/ui/badge.d.ts.map +1 -1
- package/dist/ui/badge.js +70 -65
- package/dist/ui/banner.d.ts.map +1 -1
- package/dist/ui/banner.js +53 -39
- package/dist/ui/breadcrumb.d.ts +2 -0
- package/dist/ui/breadcrumb.d.ts.map +1 -1
- package/dist/ui/breadcrumb.js +21 -21
- package/dist/ui/button.d.ts +10 -1
- package/dist/ui/button.d.ts.map +1 -1
- package/dist/ui/button.js +103 -67
- package/dist/ui/card.d.ts +2 -2
- package/dist/ui/card.d.ts.map +1 -1
- package/dist/ui/card.js +61 -53
- package/dist/ui/charts/_internal/animation.d.ts +1 -1
- package/dist/ui/charts/_internal/animation.d.ts.map +1 -1
- package/dist/ui/charts/area-chart.d.ts +3 -5
- package/dist/ui/charts/area-chart.d.ts.map +1 -1
- package/dist/ui/charts/bar-chart.d.ts +3 -5
- package/dist/ui/charts/bar-chart.d.ts.map +1 -1
- package/dist/ui/charts/chart-container.d.ts +2 -5
- package/dist/ui/charts/chart-container.d.ts.map +1 -1
- package/dist/ui/charts/gauge-chart.d.ts +3 -5
- package/dist/ui/charts/gauge-chart.d.ts.map +1 -1
- package/dist/ui/charts/index.js +1204 -1095
- package/dist/ui/charts/line-chart.d.ts +3 -5
- package/dist/ui/charts/line-chart.d.ts.map +1 -1
- package/dist/ui/charts/pie-chart.d.ts +2 -5
- package/dist/ui/charts/pie-chart.d.ts.map +1 -1
- package/dist/ui/charts/radar-chart.d.ts +3 -5
- package/dist/ui/charts/radar-chart.d.ts.map +1 -1
- package/dist/ui/charts/sparkline.d.ts +5 -5
- package/dist/ui/charts/sparkline.d.ts.map +1 -1
- package/dist/ui/checkbox.d.ts.map +1 -1
- package/dist/ui/checkbox.js +31 -19
- package/dist/ui/chip.d.ts +3 -2
- package/dist/ui/chip.d.ts.map +1 -1
- package/dist/ui/chip.js +62 -54
- package/dist/ui/code.js +16 -16
- package/dist/ui/collapsible.d.ts.map +1 -1
- package/dist/ui/collapsible.js +23 -15
- package/dist/ui/color-input.d.ts +1 -1
- package/dist/ui/color-input.d.ts.map +1 -1
- package/dist/ui/color-input.js +27 -27
- package/dist/ui/combobox.d.ts +2 -0
- package/dist/ui/combobox.d.ts.map +1 -1
- package/dist/ui/combobox.js +177 -166
- package/dist/ui/context-menu.d.ts +4 -2
- package/dist/ui/context-menu.d.ts.map +1 -1
- package/dist/ui/context-menu.js +146 -86
- package/dist/ui/data-table-toolbar.d.ts +3 -2
- package/dist/ui/data-table-toolbar.d.ts.map +1 -1
- package/dist/ui/data-table-toolbar.js +61 -59
- package/dist/ui/data-table.d.ts.map +1 -1
- package/dist/ui/data-table.js +289 -254
- package/dist/ui/dialog.d.ts +3 -1
- package/dist/ui/dialog.d.ts.map +1 -1
- package/dist/ui/dialog.js +114 -74
- package/dist/ui/dropdown-menu.d.ts +5 -3
- package/dist/ui/dropdown-menu.d.ts.map +1 -1
- package/dist/ui/dropdown-menu.js +150 -89
- package/dist/ui/file-upload.d.ts.map +1 -1
- package/dist/ui/file-upload.js +169 -127
- package/dist/ui/form.d.ts.map +1 -1
- package/dist/ui/form.js +29 -26
- package/dist/ui/hover-card.d.ts +1 -1
- package/dist/ui/hover-card.d.ts.map +1 -1
- package/dist/ui/hover-card.js +53 -21
- package/dist/ui/index.d.ts +18 -18
- package/dist/ui/index.d.ts.map +1 -1
- package/dist/ui/index.js +432 -449
- package/dist/ui/input-otp.d.ts +2 -0
- package/dist/ui/input-otp.d.ts.map +1 -1
- package/dist/ui/input-otp.js +7 -7
- package/dist/ui/input.d.ts.map +1 -1
- package/dist/ui/input.js +36 -34
- package/dist/ui/label.js +12 -12
- package/dist/ui/lib/date-utils.d.ts +6 -0
- package/dist/ui/lib/date-utils.d.ts.map +1 -0
- package/dist/ui/lib/index.d.ts +7 -0
- package/dist/ui/lib/index.d.ts.map +1 -0
- package/dist/ui/lib/link-context.d.ts +13 -0
- package/dist/ui/lib/link-context.d.ts.map +1 -0
- package/dist/ui/lib/motion.d.ts +44 -9
- package/dist/ui/lib/motion.d.ts.map +1 -1
- package/dist/ui/lib/use-ripple.d.ts.map +1 -1
- package/dist/ui/lib/utils.js +1 -1
- package/dist/ui/link.js +11 -11
- package/dist/ui/menubar.d.ts +4 -2
- package/dist/ui/menubar.d.ts.map +1 -1
- package/dist/ui/menubar.js +141 -97
- package/dist/ui/navigation-menu.d.ts +2 -0
- package/dist/ui/navigation-menu.d.ts.map +1 -1
- package/dist/ui/navigation-menu.js +176 -73
- package/dist/ui/number-input.d.ts.map +1 -1
- package/dist/ui/number-input.js +56 -49
- package/dist/ui/pagination.js +22 -22
- package/dist/ui/popover.d.ts +2 -1
- package/dist/ui/popover.d.ts.map +1 -1
- package/dist/ui/popover.js +54 -22
- package/dist/ui/progress.d.ts.map +1 -1
- package/dist/ui/progress.js +58 -42
- package/dist/ui/radio.js +19 -19
- package/dist/ui/search-input.d.ts.map +1 -1
- package/dist/ui/search-input.js +28 -33
- package/dist/ui/segmented-control.d.ts +2 -2
- package/dist/ui/segmented-control.d.ts.map +1 -1
- package/dist/ui/segmented-control.js +143 -124
- package/dist/ui/select.d.ts.map +1 -1
- package/dist/ui/select.js +72 -61
- package/dist/ui/separator.js +11 -11
- package/dist/ui/sheet.d.ts +1 -1
- package/dist/ui/sheet.d.ts.map +1 -1
- package/dist/ui/sheet.js +111 -75
- package/dist/ui/sidebar.d.ts +6 -1
- package/dist/ui/sidebar.d.ts.map +1 -1
- package/dist/ui/sidebar.js +27 -25
- package/dist/ui/skeleton.js +1 -1
- package/dist/ui/slider.d.ts +9 -0
- package/dist/ui/slider.d.ts.map +1 -1
- package/dist/ui/slider.js +33 -27
- package/dist/ui/spinner.d.ts +32 -25
- package/dist/ui/spinner.d.ts.map +1 -1
- package/dist/ui/spinner.js +199 -40
- package/dist/ui/stat-card.d.ts.map +1 -1
- package/dist/ui/stat-card.js +183 -116
- package/dist/ui/stepper.d.ts +22 -1
- package/dist/ui/stepper.d.ts.map +1 -1
- package/dist/ui/stepper.js +121 -43
- package/dist/ui/switch.d.ts.map +1 -1
- package/dist/ui/switch.js +39 -26
- package/dist/ui/table.d.ts +3 -0
- package/dist/ui/table.d.ts.map +1 -1
- package/dist/ui/table.js +47 -47
- package/dist/ui/tabs.d.ts +4 -1
- package/dist/ui/tabs.d.ts.map +1 -1
- package/dist/ui/tabs.js +94 -44
- package/dist/ui/text.d.ts +3 -3
- package/dist/ui/text.js +1 -1
- package/dist/ui/textarea.d.ts.map +1 -1
- package/dist/ui/textarea.js +29 -27
- package/dist/ui/toast-types.d.ts +43 -0
- package/dist/ui/toast-types.d.ts.map +1 -0
- package/dist/ui/toast-types.js +2 -0
- package/dist/ui/toast.d.ts +60 -26
- package/dist/ui/toast.d.ts.map +1 -1
- package/dist/ui/toast.js +535 -89
- package/dist/ui/toaster.d.ts +19 -23
- package/dist/ui/toaster.d.ts.map +1 -1
- package/dist/ui/toaster.js +31 -21
- package/dist/ui/toggle-group.d.ts +2 -2
- package/dist/ui/toggle-group.d.ts.map +1 -1
- package/dist/ui/toggle-group.js +29 -26
- package/dist/ui/toggle.d.ts +2 -2
- package/dist/ui/toggle.d.ts.map +1 -1
- package/dist/ui/toggle.js +21 -17
- package/dist/ui/tooltip.d.ts +2 -1
- package/dist/ui/tooltip.d.ts.map +1 -1
- package/dist/ui/tooltip.js +58 -21
- package/dist/ui/tree-view/tree-view.d.ts +1 -1
- package/dist/ui/tree-view/tree-view.d.ts.map +1 -1
- package/llms-full.txt +221 -102
- package/llms.txt +65 -12
- package/package.json +26 -8
- package/dist/_chunks/switch.js +0 -10
- package/dist/composed/upload-progress.d.ts +0 -33
- package/dist/composed/upload-progress.d.ts.map +0 -1
- package/dist/composed/upload-progress.js +0 -386
- package/dist/ui/lib/use-reduced-motion.d.ts +0 -4
- package/dist/ui/lib/use-reduced-motion.d.ts.map +0 -1
- package/dist/ui/transitions.d.ts +0 -17
- package/dist/ui/transitions.d.ts.map +0 -1
- package/dist/ui/transitions.js +0 -111
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"combobox.d.ts","sourceRoot":"","sources":["../../src/ui/combobox.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"combobox.d.ts","sourceRoot":"","sources":["../../src/ui/combobox.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAQ9B;;;GAGG;AACH,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH,UAAU,iBAAkB,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,CAAC;IACxF,OAAO,EAAE,cAAc,EAAE,CAAA;IACzB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,kEAAkE;IAClE,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,YAAY,CAAC,EAAE,CAAC,MAAM,EAAE,cAAc,EAAE,QAAQ,EAAE,OAAO,KAAK,KAAK,CAAC,SAAS,CAAA;IAC7E,4FAA4F;IAC5F,eAAe,CAAC,EAAE,MAAM,CAAA;CACzB;AAED,UAAU,mBAAoB,SAAQ,iBAAiB;IACrD,QAAQ,CAAC,EAAE,KAAK,CAAA;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;CACvC;AAED,UAAU,qBAAsB,SAAQ,iBAAiB;IACvD,QAAQ,EAAE,IAAI,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,EAAE,CAAA;IAChB,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,IAAI,CAAA;CACzC;AAED,MAAM,MAAM,aAAa,GAAG,mBAAmB,GAAG,qBAAqB,CAAA;AAQvE,QAAA,MAAM,QAAQ,yFAmYb,CAAA;AAGD,OAAO,EAAE,QAAQ,EAAE,CAAA"}
|
package/dist/ui/combobox.js
CHANGED
|
@@ -1,110 +1,113 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsx as
|
|
3
|
-
import * as
|
|
4
|
-
import { g as
|
|
5
|
-
import { IconChevronDown as
|
|
6
|
-
import { c as
|
|
7
|
-
|
|
2
|
+
import { jsx as a, jsxs as o, Fragment as G } from "react/jsx-runtime";
|
|
3
|
+
import * as r from "react";
|
|
4
|
+
import { g as U, h as q, P as J, i as Q } from "../_chunks/primitives.js";
|
|
5
|
+
import { IconChevronDown as W, IconSearch as Y, IconCheck as Z, IconX as V } from "@tabler/icons-react";
|
|
6
|
+
import { c as p } from "../_chunks/utils.js";
|
|
7
|
+
import { t as ee, s as se } from "../_chunks/motion2.js";
|
|
8
|
+
import { m as te } from "../_chunks/motion.js";
|
|
9
|
+
const P = 2, re = 36, ae = r.forwardRef(
|
|
8
10
|
({
|
|
9
|
-
options:
|
|
10
|
-
value:
|
|
11
|
+
options: f,
|
|
12
|
+
value: u,
|
|
11
13
|
onValueChange: m,
|
|
12
14
|
placeholder: S = "Select...",
|
|
13
15
|
searchPlaceholder: A = "Search...",
|
|
14
16
|
emptyMessage: L = "No results found",
|
|
15
17
|
multiple: b = !1,
|
|
16
|
-
disabled:
|
|
18
|
+
disabled: x = !1,
|
|
17
19
|
className: T,
|
|
18
20
|
triggerClassName: $,
|
|
19
21
|
maxVisible: j = 6,
|
|
20
22
|
renderOption: E,
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
23
|
+
accessibleLabel: H,
|
|
24
|
+
...M
|
|
25
|
+
}, O) => {
|
|
26
|
+
const [h, w] = r.useState(!1), [g, y] = r.useState(""), [c, d] = r.useState(-1), k = r.useRef(null), N = r.useRef(null), R = r.useId(), I = r.useId(), n = r.useMemo(() => u == null ? [] : Array.isArray(u) ? u : [u], [u]), i = r.useMemo(
|
|
27
|
+
() => g ? f.filter(
|
|
28
|
+
(e) => e.label.toLowerCase().includes(g.toLowerCase())
|
|
29
|
+
) : f,
|
|
30
|
+
[f, g]
|
|
31
|
+
), _ = r.useCallback(
|
|
29
32
|
(e) => n.includes(e),
|
|
30
33
|
[n]
|
|
31
|
-
),
|
|
34
|
+
), v = r.useCallback(
|
|
32
35
|
(e) => {
|
|
33
36
|
if (b) {
|
|
34
|
-
const
|
|
35
|
-
m(
|
|
37
|
+
const s = n.includes(e) ? n.filter((t) => t !== e) : [...n, e];
|
|
38
|
+
m(s);
|
|
36
39
|
} else
|
|
37
40
|
m(e), w(!1);
|
|
38
41
|
},
|
|
39
42
|
[b, n, m]
|
|
40
|
-
),
|
|
41
|
-
(e,
|
|
43
|
+
), K = r.useCallback(
|
|
44
|
+
(e, s) => {
|
|
42
45
|
e.stopPropagation(), e.preventDefault();
|
|
43
|
-
const
|
|
44
|
-
m(
|
|
46
|
+
const t = n.filter((l) => l !== s);
|
|
47
|
+
m(t);
|
|
45
48
|
},
|
|
46
49
|
[n, m]
|
|
47
|
-
),
|
|
50
|
+
), X = r.useCallback(
|
|
48
51
|
(e) => {
|
|
49
|
-
|
|
52
|
+
x || (w(e), e || (y(""), d(-1)));
|
|
50
53
|
},
|
|
51
|
-
[
|
|
54
|
+
[x]
|
|
52
55
|
);
|
|
53
|
-
|
|
56
|
+
r.useEffect(() => {
|
|
54
57
|
if (h) {
|
|
55
58
|
const e = setTimeout(() => {
|
|
56
|
-
var
|
|
57
|
-
(
|
|
59
|
+
var s;
|
|
60
|
+
(s = k.current) == null || s.focus();
|
|
58
61
|
}, 0);
|
|
59
62
|
return () => clearTimeout(e);
|
|
60
63
|
}
|
|
61
64
|
}, [h]);
|
|
62
|
-
const C =
|
|
63
|
-
(e,
|
|
64
|
-
const
|
|
65
|
-
if (
|
|
66
|
-
let l = e +
|
|
67
|
-
for (; l >= 0 && l <
|
|
68
|
-
if (!
|
|
69
|
-
l +=
|
|
65
|
+
const C = r.useCallback(
|
|
66
|
+
(e, s) => {
|
|
67
|
+
const t = i.length;
|
|
68
|
+
if (t === 0) return -1;
|
|
69
|
+
let l = e + s;
|
|
70
|
+
for (; l >= 0 && l < t; ) {
|
|
71
|
+
if (!i[l].disabled) return l;
|
|
72
|
+
l += s;
|
|
70
73
|
}
|
|
71
74
|
return e;
|
|
72
75
|
},
|
|
73
|
-
[
|
|
74
|
-
),
|
|
76
|
+
[i]
|
|
77
|
+
), F = r.useCallback(
|
|
75
78
|
(e) => {
|
|
76
79
|
switch (e.key) {
|
|
77
80
|
case "ArrowDown": {
|
|
78
81
|
e.preventDefault();
|
|
79
|
-
const
|
|
80
|
-
d(
|
|
82
|
+
const s = C(c, 1);
|
|
83
|
+
d(s);
|
|
81
84
|
break;
|
|
82
85
|
}
|
|
83
86
|
case "ArrowUp": {
|
|
84
87
|
e.preventDefault();
|
|
85
|
-
const
|
|
86
|
-
d(
|
|
88
|
+
const s = C(c, -1);
|
|
89
|
+
d(s);
|
|
87
90
|
break;
|
|
88
91
|
}
|
|
89
92
|
case "Home": {
|
|
90
93
|
e.preventDefault();
|
|
91
|
-
const
|
|
92
|
-
d(
|
|
94
|
+
const s = i.findIndex((t) => !t.disabled);
|
|
95
|
+
d(s);
|
|
93
96
|
break;
|
|
94
97
|
}
|
|
95
98
|
case "End": {
|
|
96
99
|
e.preventDefault();
|
|
97
|
-
let
|
|
98
|
-
for (let
|
|
99
|
-
if (!
|
|
100
|
-
|
|
100
|
+
let s = -1;
|
|
101
|
+
for (let t = i.length - 1; t >= 0; t--)
|
|
102
|
+
if (!i[t].disabled) {
|
|
103
|
+
s = t;
|
|
101
104
|
break;
|
|
102
105
|
}
|
|
103
|
-
d(
|
|
106
|
+
d(s);
|
|
104
107
|
break;
|
|
105
108
|
}
|
|
106
109
|
case "Enter": {
|
|
107
|
-
e.preventDefault(),
|
|
110
|
+
e.preventDefault(), c >= 0 && c < i.length && !i[c].disabled && v(i[c].value);
|
|
108
111
|
break;
|
|
109
112
|
}
|
|
110
113
|
case "Escape": {
|
|
@@ -113,176 +116,184 @@ const P = 2, V = 36, ee = a.forwardRef(
|
|
|
113
116
|
}
|
|
114
117
|
}
|
|
115
118
|
},
|
|
116
|
-
[
|
|
119
|
+
[c, i, C, v]
|
|
117
120
|
);
|
|
118
|
-
|
|
121
|
+
r.useEffect(() => {
|
|
119
122
|
var e;
|
|
120
|
-
if (
|
|
121
|
-
const
|
|
122
|
-
|
|
123
|
+
if (c >= 0 && N.current) {
|
|
124
|
+
const s = N.current.children[c];
|
|
125
|
+
s && ((e = s.scrollIntoView) == null || e.call(s, { block: "nearest" }));
|
|
123
126
|
}
|
|
124
|
-
}, [
|
|
125
|
-
const
|
|
127
|
+
}, [c]);
|
|
128
|
+
const z = r.useCallback(() => {
|
|
126
129
|
if (n.length === 0) return null;
|
|
127
|
-
const e =
|
|
130
|
+
const e = f.find((s) => s.value === n[0]);
|
|
128
131
|
return (e == null ? void 0 : e.label) ?? null;
|
|
129
|
-
}, [n,
|
|
132
|
+
}, [n, f]), B = () => {
|
|
130
133
|
if (b && n.length > 0) {
|
|
131
|
-
const e = n.slice(0, P),
|
|
132
|
-
return /* @__PURE__ */
|
|
133
|
-
e.map((
|
|
134
|
-
const l =
|
|
135
|
-
return l ? /* @__PURE__ */
|
|
134
|
+
const e = n.slice(0, P), s = n.length - P;
|
|
135
|
+
return /* @__PURE__ */ o("span", { className: "flex flex-1 flex-wrap items-center gap-ds-02 overflow-hidden", children: [
|
|
136
|
+
e.map((t) => {
|
|
137
|
+
const l = f.find((D) => D.value === t);
|
|
138
|
+
return l ? /* @__PURE__ */ o(
|
|
136
139
|
"span",
|
|
137
140
|
{
|
|
138
|
-
className: "inline-flex items-center gap-ds-01 rounded-ds-md bg-
|
|
141
|
+
className: "inline-flex items-center gap-ds-01 rounded-ds-md bg-accent-2 px-ds-03 py-[1px] text-ds-sm",
|
|
139
142
|
children: [
|
|
140
143
|
l.label,
|
|
141
|
-
/* @__PURE__ */
|
|
144
|
+
/* @__PURE__ */ a(
|
|
142
145
|
"button",
|
|
143
146
|
{
|
|
144
147
|
type: "button",
|
|
145
148
|
className: "inline-flex items-center justify-center rounded-ds-full outline-none hover:opacity-75",
|
|
146
|
-
onClick: (D) =>
|
|
149
|
+
onClick: (D) => K(D, t),
|
|
147
150
|
"aria-label": `Remove ${l.label}`,
|
|
148
151
|
tabIndex: -1,
|
|
149
|
-
children: /* @__PURE__ */
|
|
152
|
+
children: /* @__PURE__ */ a(V, { className: "h-3 w-3", "aria-hidden": "true" })
|
|
150
153
|
}
|
|
151
154
|
)
|
|
152
155
|
]
|
|
153
156
|
},
|
|
154
|
-
|
|
157
|
+
t
|
|
155
158
|
) : null;
|
|
156
159
|
}),
|
|
157
|
-
|
|
160
|
+
s > 0 && /* @__PURE__ */ o("span", { className: "text-ds-sm text-surface-fg-muted", children: [
|
|
158
161
|
"+",
|
|
159
|
-
|
|
162
|
+
s,
|
|
160
163
|
" more"
|
|
161
164
|
] })
|
|
162
165
|
] });
|
|
163
166
|
}
|
|
164
167
|
if (!b && n.length === 1) {
|
|
165
|
-
const e =
|
|
168
|
+
const e = z();
|
|
166
169
|
if (e)
|
|
167
|
-
return /* @__PURE__ */
|
|
170
|
+
return /* @__PURE__ */ a("span", { className: "flex-1 truncate text-left", children: e });
|
|
168
171
|
}
|
|
169
|
-
return /* @__PURE__ */
|
|
172
|
+
return /* @__PURE__ */ a("span", { className: "flex-1 truncate text-left text-surface-fg-subtle", children: S });
|
|
170
173
|
};
|
|
171
|
-
return /* @__PURE__ */
|
|
172
|
-
/* @__PURE__ */
|
|
174
|
+
return /* @__PURE__ */ a(U, { open: h, onOpenChange: X, children: /* @__PURE__ */ o("div", { className: p("relative", T), ...M, children: [
|
|
175
|
+
/* @__PURE__ */ a(q, { asChild: !0, disabled: x, children: /* @__PURE__ */ o(
|
|
173
176
|
"button",
|
|
174
177
|
{
|
|
175
|
-
ref:
|
|
178
|
+
ref: O,
|
|
176
179
|
type: "button",
|
|
177
180
|
role: "combobox",
|
|
178
181
|
"aria-expanded": h,
|
|
179
182
|
"aria-controls": I,
|
|
180
183
|
"aria-haspopup": "listbox",
|
|
181
|
-
"aria-label": S,
|
|
182
|
-
disabled:
|
|
183
|
-
className:
|
|
184
|
-
"flex h-ds-md w-full items-center justify-between whitespace-nowrap rounded-ds-md border border-border bg-
|
|
184
|
+
"aria-label": H ?? S,
|
|
185
|
+
disabled: x,
|
|
186
|
+
className: p(
|
|
187
|
+
"flex h-ds-md w-full items-center justify-between whitespace-nowrap rounded-ds-md border border-surface-border-strong bg-surface-3 px-ds-04 py-ds-03 text-ds-md",
|
|
185
188
|
"transition-colors duration-fast-01",
|
|
186
|
-
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-
|
|
187
|
-
"disabled:cursor-not-allowed disabled:opacity-
|
|
189
|
+
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent-9 focus-visible:ring-offset-2 focus-visible:border-accent-7",
|
|
190
|
+
"disabled:cursor-not-allowed disabled:opacity-action-disabled",
|
|
188
191
|
$
|
|
189
192
|
),
|
|
190
193
|
children: [
|
|
191
|
-
|
|
192
|
-
/* @__PURE__ */
|
|
194
|
+
B(),
|
|
195
|
+
/* @__PURE__ */ a(W, { className: p("ml-ds-02 h-ico-sm w-ico-sm shrink-0 opacity-50 transition-transform duration-fast-01", h && "rotate-180"), "aria-hidden": "true" })
|
|
193
196
|
]
|
|
194
197
|
}
|
|
195
198
|
) }),
|
|
196
|
-
/* @__PURE__ */
|
|
197
|
-
|
|
199
|
+
/* @__PURE__ */ a(J, { children: /* @__PURE__ */ a(
|
|
200
|
+
Q,
|
|
198
201
|
{
|
|
199
|
-
|
|
200
|
-
"z-popover w-[var(--radix-popover-trigger-width)] overflow-hidden rounded-ds-lg border border-border-subtle bg-layer-01 shadow-02",
|
|
201
|
-
"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=top]:slide-in-from-bottom-2"
|
|
202
|
-
),
|
|
202
|
+
asChild: !0,
|
|
203
203
|
sideOffset: 4,
|
|
204
204
|
align: "start",
|
|
205
205
|
onOpenAutoFocus: (e) => {
|
|
206
|
-
var
|
|
207
|
-
e.preventDefault(), (
|
|
206
|
+
var s;
|
|
207
|
+
e.preventDefault(), (s = k.current) == null || s.focus();
|
|
208
208
|
},
|
|
209
|
-
children:
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
onKeyDown: K,
|
|
224
|
-
"aria-autocomplete": "list",
|
|
225
|
-
"aria-controls": I,
|
|
226
|
-
"aria-activedescendant": i >= 0 ? `${R}-option-${i}` : void 0,
|
|
227
|
-
"aria-label": "Search options"
|
|
228
|
-
}
|
|
229
|
-
)
|
|
230
|
-
] }),
|
|
231
|
-
o.length === 0 ? /* @__PURE__ */ r("div", { className: "px-ds-04 py-ds-05 text-center text-ds-md text-text-tertiary", children: L }) : /* @__PURE__ */ r(
|
|
232
|
-
"ul",
|
|
233
|
-
{
|
|
234
|
-
ref: N,
|
|
235
|
-
id: I,
|
|
236
|
-
role: "listbox",
|
|
237
|
-
"aria-multiselectable": b || void 0,
|
|
238
|
-
className: "overflow-auto p-ds-02",
|
|
239
|
-
style: { maxHeight: `${j * V}px` },
|
|
240
|
-
children: o.map((e, t) => {
|
|
241
|
-
const s = O(e.value);
|
|
242
|
-
return /* @__PURE__ */ c(
|
|
243
|
-
"li",
|
|
209
|
+
children: /* @__PURE__ */ o(
|
|
210
|
+
te.div,
|
|
211
|
+
{
|
|
212
|
+
initial: { opacity: 0, scale: 0.95 },
|
|
213
|
+
animate: { opacity: 1, scale: 1 },
|
|
214
|
+
transition: { ...se.snappy, opacity: ee.fade },
|
|
215
|
+
className: p(
|
|
216
|
+
"z-popover w-[var(--radix-popover-trigger-width)] overflow-hidden rounded-ds-lg border border-surface-border bg-surface-1 shadow-02"
|
|
217
|
+
),
|
|
218
|
+
children: [
|
|
219
|
+
/* @__PURE__ */ o("div", { className: "flex items-center gap-ds-02 border-b border-surface-border px-ds-04", children: [
|
|
220
|
+
/* @__PURE__ */ a(Y, { className: "h-ico-sm w-ico-sm shrink-0 text-surface-fg-subtle", "aria-hidden": "true" }),
|
|
221
|
+
/* @__PURE__ */ a(
|
|
222
|
+
"input",
|
|
244
223
|
{
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
"
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
i === t && "bg-interactive-subtle",
|
|
253
|
-
s && "text-interactive",
|
|
254
|
-
e.disabled && "pointer-events-none opacity-[0.38]"
|
|
255
|
-
),
|
|
256
|
-
onClick: () => {
|
|
257
|
-
e.disabled || g(e.value);
|
|
258
|
-
},
|
|
259
|
-
onKeyDown: (l) => {
|
|
260
|
-
!e.disabled && (l.key === "Enter" || l.key === " ") && (l.preventDefault(), g(e.value));
|
|
261
|
-
},
|
|
262
|
-
onMouseEnter: () => {
|
|
263
|
-
e.disabled || d(t);
|
|
224
|
+
ref: k,
|
|
225
|
+
type: "text",
|
|
226
|
+
className: "flex-1 bg-transparent py-ds-03 text-ds-md outline-none placeholder:text-surface-fg-subtle",
|
|
227
|
+
placeholder: A,
|
|
228
|
+
value: g,
|
|
229
|
+
onChange: (e) => {
|
|
230
|
+
y(e.target.value), d(-1);
|
|
264
231
|
},
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
232
|
+
onKeyDown: F,
|
|
233
|
+
"aria-autocomplete": "list",
|
|
234
|
+
"aria-controls": I,
|
|
235
|
+
"aria-activedescendant": c >= 0 ? `${R}-option-${c}` : void 0,
|
|
236
|
+
"aria-label": "Search options"
|
|
237
|
+
}
|
|
238
|
+
)
|
|
239
|
+
] }),
|
|
240
|
+
i.length === 0 ? /* @__PURE__ */ a("div", { className: "px-ds-04 py-ds-05 text-center text-ds-md text-surface-fg-subtle", children: L }) : /* @__PURE__ */ a(
|
|
241
|
+
"ul",
|
|
242
|
+
{
|
|
243
|
+
ref: N,
|
|
244
|
+
id: I,
|
|
245
|
+
role: "listbox",
|
|
246
|
+
"aria-multiselectable": b || void 0,
|
|
247
|
+
className: "overflow-auto p-ds-02",
|
|
248
|
+
style: { maxHeight: `${j * re}px` },
|
|
249
|
+
children: i.map((e, s) => {
|
|
250
|
+
const t = _(e.value);
|
|
251
|
+
return /* @__PURE__ */ o(
|
|
252
|
+
"li",
|
|
253
|
+
{
|
|
254
|
+
id: `${R}-option-${s}`,
|
|
255
|
+
role: "option",
|
|
256
|
+
"aria-selected": t,
|
|
257
|
+
"aria-disabled": e.disabled || void 0,
|
|
258
|
+
className: p(
|
|
259
|
+
"relative flex cursor-pointer select-none items-center gap-ds-03 rounded-ds-md px-ds-04 py-ds-03 text-ds-md outline-none",
|
|
260
|
+
"transition-colors",
|
|
261
|
+
c === s && "bg-accent-2",
|
|
262
|
+
t && "text-accent-11",
|
|
263
|
+
e.disabled && "pointer-events-none opacity-action-disabled"
|
|
264
|
+
),
|
|
265
|
+
onClick: () => {
|
|
266
|
+
e.disabled || v(e.value);
|
|
267
|
+
},
|
|
268
|
+
onKeyDown: (l) => {
|
|
269
|
+
!e.disabled && (l.key === "Enter" || l.key === " ") && (l.preventDefault(), v(e.value));
|
|
270
|
+
},
|
|
271
|
+
onMouseEnter: () => {
|
|
272
|
+
e.disabled || d(s);
|
|
273
|
+
},
|
|
274
|
+
children: [
|
|
275
|
+
e.icon && /* @__PURE__ */ a("span", { className: "flex h-ico-sm w-ico-sm items-center justify-center shrink-0", children: e.icon }),
|
|
276
|
+
/* @__PURE__ */ a("span", { className: "flex flex-1 flex-col", children: E ? E(e, t) : /* @__PURE__ */ o(G, { children: [
|
|
277
|
+
/* @__PURE__ */ a("span", { children: e.label }),
|
|
278
|
+
e.description && /* @__PURE__ */ a("span", { className: "text-ds-sm text-surface-fg-muted", children: e.description })
|
|
279
|
+
] }) }),
|
|
280
|
+
t && /* @__PURE__ */ a(Z, { className: "h-ico-sm w-ico-sm shrink-0", "aria-hidden": "true" })
|
|
281
|
+
]
|
|
282
|
+
},
|
|
283
|
+
e.value
|
|
284
|
+
);
|
|
285
|
+
})
|
|
286
|
+
}
|
|
287
|
+
)
|
|
288
|
+
]
|
|
289
|
+
}
|
|
290
|
+
)
|
|
280
291
|
}
|
|
281
292
|
) })
|
|
282
293
|
] }) });
|
|
283
294
|
}
|
|
284
295
|
);
|
|
285
|
-
|
|
296
|
+
ae.displayName = "Combobox";
|
|
286
297
|
export {
|
|
287
|
-
|
|
298
|
+
ae as Combobox
|
|
288
299
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import * as ContextMenuPrimitive from "../primitives/react-context-menu";
|
|
4
|
-
declare const ContextMenu: React.FC<ContextMenuPrimitive.
|
|
4
|
+
declare const ContextMenu: React.FC<React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Root>>;
|
|
5
5
|
declare const ContextMenuTrigger: React.ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuTriggerProps & React.RefAttributes<HTMLSpanElement>>;
|
|
6
6
|
declare const ContextMenuGroup: React.ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
7
7
|
declare const ContextMenuPortal: React.FC<ContextMenuPrimitive.ContextMenuPortalProps>;
|
|
8
|
-
declare const ContextMenuSub: React.FC<ContextMenuPrimitive.
|
|
8
|
+
declare const ContextMenuSub: React.FC<React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Sub>>;
|
|
9
9
|
declare const ContextMenuRadioGroup: React.ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuRadioGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
10
10
|
declare const ContextMenuSubTrigger: React.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuSubTriggerProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
11
11
|
inset?: boolean;
|
|
@@ -25,5 +25,7 @@ declare const ContextMenuShortcut: {
|
|
|
25
25
|
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): import("react/jsx-runtime").JSX.Element;
|
|
26
26
|
displayName: string;
|
|
27
27
|
};
|
|
28
|
+
export type ContextMenuContentProps = React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Content>;
|
|
29
|
+
export type ContextMenuItemProps = React.ComponentPropsWithoutRef<typeof ContextMenuPrimitive.Item>;
|
|
28
30
|
export { ContextMenu, ContextMenuTrigger, ContextMenuContent, ContextMenuItem, ContextMenuCheckboxItem, ContextMenuRadioItem, ContextMenuLabel, ContextMenuSeparator, ContextMenuShortcut, ContextMenuGroup, ContextMenuPortal, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuRadioGroup, };
|
|
29
31
|
//# sourceMappingURL=context-menu.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context-menu.d.ts","sourceRoot":"","sources":["../../src/ui/context-menu.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,oBAAoB,MAAM,gCAAgC,CAAA;
|
|
1
|
+
{"version":3,"file":"context-menu.d.ts","sourceRoot":"","sources":["../../src/ui/context-menu.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,oBAAoB,MAAM,gCAAgC,CAAA;AAYtE,QAAA,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,wBAAwB,CAAC,OAAO,oBAAoB,CAAC,IAAI,CAAC,CAmB3F,CAAA;AAGD,QAAA,MAAM,kBAAkB,sHAA+B,CAAA;AAEvD,QAAA,MAAM,gBAAgB,mHAA6B,CAAA;AAEnD,QAAA,MAAM,iBAAiB,uDAA8B,CAAA;AAErD,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,wBAAwB,CAAC,OAAO,oBAAoB,CAAC,GAAG,CAAC,CAuB7F,CAAA;AAGD,QAAA,MAAM,qBAAqB,wHAAkC,CAAA;AAE7D,QAAA,MAAM,qBAAqB;YAGf,OAAO;wCAejB,CAAA;AAGF,QAAA,MAAM,qBAAqB,2KA+BzB,CAAA;AAGF,QAAA,MAAM,kBAAkB,wKAiCtB,CAAA;AAGF,QAAA,MAAM,eAAe;YAGT,OAAO;wCAYjB,CAAA;AAGF,QAAA,MAAM,uBAAuB,6KAoB3B,CAAA;AAIF,QAAA,MAAM,oBAAoB,0KAmBxB,CAAA;AAGF,QAAA,MAAM,gBAAgB;YAGV,OAAO;wCAYjB,CAAA;AAGF,QAAA,MAAM,oBAAoB,0KASxB,CAAA;AAGF,QAAA,MAAM,mBAAmB;8BAGtB,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC;;CAUvC,CAAA;AAGD,MAAM,MAAM,uBAAuB,GAAG,KAAK,CAAC,wBAAwB,CAAC,OAAO,oBAAoB,CAAC,OAAO,CAAC,CAAA;AACzG,MAAM,MAAM,oBAAoB,GAAG,KAAK,CAAC,wBAAwB,CAAC,OAAO,oBAAoB,CAAC,IAAI,CAAC,CAAA;AAEnG,OAAO,EACL,WAAW,EACX,kBAAkB,EAClB,kBAAkB,EAClB,eAAe,EACf,uBAAuB,EACvB,oBAAoB,EACpB,gBAAgB,EAChB,oBAAoB,EACpB,mBAAmB,EACnB,gBAAgB,EAChB,iBAAiB,EACjB,cAAc,EACd,qBAAqB,EACrB,qBAAqB,EACrB,qBAAqB,GACtB,CAAA"}
|