@sustaina/shared-ui 1.36.1 → 1.37.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/index.mjs CHANGED
@@ -1,9 +1,11 @@
1
+ import * as React25 from 'react';
2
+ import React25__default, { forwardRef, useRef, useMemo, useCallback, useState, isValidElement, useEffect, useLayoutEffect, createElement } from 'react';
3
+ import { useRouter } from '@tanstack/react-router';
4
+ import { create } from 'zustand';
1
5
  import clsx2, { clsx } from 'clsx';
2
6
  import { twMerge } from 'tailwind-merge';
3
7
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
4
8
  import * as AccordionPrimitive from '@radix-ui/react-accordion';
5
- import * as React25 from 'react';
6
- import React25__default, { forwardRef, useRef, useMemo, useCallback, useState, isValidElement, useEffect, useLayoutEffect, createElement } from 'react';
7
9
  import { CircleX, Undo, Redo, Bold, Italic, Underline, Strikethrough, Code, Pilcrow, Heading1, Heading2, Heading3, List, ListOrdered, Quote, CodeSquare, Link, Link2Off, Image as Image$1, AlignLeft, AlignCenter, AlignRight, CircleHelp, ChevronDown, X, Check, XIcon, SearchIcon, ChevronRight, CheckIcon, Triangle, CalendarIcon, Search, ChevronUp, ChevronLeft, PanelLeftIcon, Minimize2, Maximize2, Plus, MoreVertical, Bug, GripVertical, Info, CircleMinus, Minus } from 'lucide-react';
8
10
  import { createPortal } from 'react-dom';
9
11
  import * as SelectPrimitive from '@radix-ui/react-select';
@@ -17,9 +19,8 @@ import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
17
19
  import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
18
20
  import { reSplitAlphaNumeric, useReactTable, getCoreRowModel, getGroupedRowModel, getExpandedRowModel, getSortedRowModel, getFilteredRowModel, flexRender } from '@tanstack/react-table';
19
21
  import * as SheetPrimitive from '@radix-ui/react-dialog';
20
- import { initReactI18next, useTranslation } from 'react-i18next';
22
+ import { initReactI18next, useTranslation, I18nextProvider } from 'react-i18next';
21
23
  import i18n from 'i18next';
22
- import { create } from 'zustand';
23
24
  import StarterKit from '@tiptap/starter-kit';
24
25
  import { ReactNodeViewRenderer, NodeViewWrapper, useEditor, EditorContent } from '@tiptap/react';
25
26
  import ReactDOM from 'react-dom/client';
@@ -225,6 +226,82 @@ function formatISODate(isoDate, format5 = "d/m/Y H:i") {
225
226
  return partKey ? parts[partKey] : match;
226
227
  });
227
228
  }
229
+ function useSafeBlocker({
230
+ shouldBlockFn,
231
+ enableBeforeUnload = true,
232
+ disabled = false,
233
+ withResolver = false
234
+ }) {
235
+ const router = useRouter({ warn: false });
236
+ const [resolver, setResolver] = useState({
237
+ status: "idle",
238
+ proceed: void 0,
239
+ reset: void 0
240
+ });
241
+ useEffect(() => {
242
+ if (disabled || !router?.history?.block) {
243
+ return;
244
+ }
245
+ return router.history.block({
246
+ enableBeforeUnload,
247
+ blockerFn: async () => {
248
+ const shouldBlock = await shouldBlockFn();
249
+ if (!withResolver) {
250
+ return shouldBlock;
251
+ }
252
+ if (!shouldBlock) {
253
+ return false;
254
+ }
255
+ const canNavigate = await new Promise((resolve) => {
256
+ setResolver({
257
+ status: "blocked",
258
+ proceed: () => resolve(false),
259
+ reset: () => resolve(true)
260
+ });
261
+ });
262
+ setResolver({
263
+ status: "idle",
264
+ proceed: void 0,
265
+ reset: void 0
266
+ });
267
+ return canNavigate;
268
+ }
269
+ });
270
+ }, [disabled, enableBeforeUnload, router, shouldBlockFn, withResolver]);
271
+ useEffect(() => {
272
+ if (disabled || router?.history || typeof window === "undefined") {
273
+ return;
274
+ }
275
+ const shouldEnable = enableBeforeUnload;
276
+ if (!shouldEnable) {
277
+ return;
278
+ }
279
+ const handler = (event) => {
280
+ const shouldBlock = typeof shouldEnable === "function" ? shouldEnable() : shouldEnable;
281
+ if (!shouldBlock) {
282
+ return;
283
+ }
284
+ event.preventDefault();
285
+ event.returnValue = "";
286
+ };
287
+ window.addEventListener("beforeunload", handler, { capture: true });
288
+ return () => window.removeEventListener("beforeunload", handler, { capture: true });
289
+ }, [disabled, enableBeforeUnload, router]);
290
+ return resolver;
291
+ }
292
+ var useDraftGuardStore = create((set) => ({
293
+ isDirty: false,
294
+ source: null,
295
+ isInitialized: false,
296
+ markDirty: (source) => set((state) => {
297
+ if (!state.isInitialized || !source) {
298
+ return state;
299
+ }
300
+ return { ...state, isDirty: true, source };
301
+ }),
302
+ clearDraft: () => set({ isDirty: false, source: null }),
303
+ markInitialized: () => set({ isInitialized: true })
304
+ }));
228
305
  function cn(...args) {
229
306
  return twMerge(clsx(args));
230
307
  }
@@ -3328,6 +3405,13 @@ var LookupSelect = ({
3328
3405
  clearTimeout(fetchDelayRef.current);
3329
3406
  }
3330
3407
  const query = inputValue.trim();
3408
+ if (!query) {
3409
+ setLoading(false);
3410
+ setFetchError(null);
3411
+ setSuggestions([]);
3412
+ setIsDropdownOpen(false);
3413
+ return;
3414
+ }
3331
3415
  setLoading(true);
3332
3416
  setFetchError(null);
3333
3417
  setIsDropdownOpen(true);
@@ -5731,151 +5815,6 @@ function DialogDescription2({
5731
5815
  // src/components/dialog-alert/lib/constants.ts
5732
5816
  var DIALOG_ALERT_I18N_SUBNAMESPACE = "dialog_alert";
5733
5817
  var i18nPrefix = `translation:${DIALOG_ALERT_I18N_SUBNAMESPACE}.`;
5734
-
5735
- // src/components/dialog-alert/locale/default.ts
5736
- var defaultResource = {
5737
- sharedui: {
5738
- translation: {
5739
- [DIALOG_ALERT_I18N_SUBNAMESPACE]: {
5740
- ok: "OK",
5741
- cancel: "Cancel",
5742
- close: "Close",
5743
- "success.saved": {
5744
- title: "Successfully",
5745
- description: "Data has been successfully saved"
5746
- },
5747
- "success.deleted": {
5748
- title: "Successfully",
5749
- description: "Data has been successfully deleted"
5750
- },
5751
- "success.removed": {
5752
- title: "Successfully",
5753
- description: "Data has been successfully removed"
5754
- },
5755
- "error.api_db_error": {
5756
- title: "API/Database Error",
5757
- description: "Failed to connect to the system. Please check API or database connection."
5758
- },
5759
- "error.permission_denied": {
5760
- title: "Permission Denied",
5761
- description: "You do not have permission to perform this action.",
5762
- confirm_text: "Discard"
5763
- },
5764
- "error.session_expired": {
5765
- title: "Session Expired",
5766
- description: "Your session has expired or you have been logged out. Please sign in again.",
5767
- confirm_text: "Logout"
5768
- },
5769
- "error.user_not_found": {
5770
- title: "User Not Found",
5771
- description: "The system could not locate the user account.",
5772
- confirm_text: "Logout"
5773
- },
5774
- "error.data_not_found": {
5775
- title: "Data Not Found",
5776
- description: "The data has already been deleted or does not exist in the system."
5777
- },
5778
- "error.data_restrict_editing": {
5779
- title: "Data Status Restricts Editing",
5780
- description: "Data status does not allow editing."
5781
- },
5782
- "error.network_timeout_error": {
5783
- title: "Network Error / Timeout",
5784
- description: "The system could not connect to the network or the request took too long to process."
5785
- },
5786
- "error.queue_full": {
5787
- title: "Queue Full",
5788
- description: "The notification queue has reached its limit. Please try again later."
5789
- },
5790
- "error.invalid_data_format": {
5791
- title: "Invalid Data Format",
5792
- description: "Data creation failed due to invalid or incorrectly formatted data."
5793
- },
5794
- "error.data_linked_to_system_data": {
5795
- title: "Data Linked to System Data",
5796
- description: "Cannot delete data because they are linked to existing system data."
5797
- },
5798
- "error.pending_workflow_conflict": {
5799
- title: "Pending Workflow Conflict ",
5800
- description: "The data is currently involved in a pending workflow or approval process and cannot be deactivated."
5801
- },
5802
- "error.invalid_incomplete_data": {
5803
- title: "Invalid or Incomplete Data",
5804
- description: "Data status cannot be changed due to incomplete or invalid information."
5805
- },
5806
- "error.client_side_error": {
5807
- title: "Client-Side Error",
5808
- description: "An error occurred on the client side. Please refresh the page or try again."
5809
- },
5810
- "error.system_limitation": {
5811
- title: "System Limitation",
5812
- description: "The search cannot be completed due to system limitations. Please simplify your query."
5813
- },
5814
- "error.timeout": {
5815
- title: "Timeout",
5816
- description: "Request failed due to a system error or timeout. Please try again."
5817
- },
5818
- "error.duplicate_data": {
5819
- title: "Duplicate Data",
5820
- description: "The data you entered already exists in the system."
5821
- },
5822
- "error.something_went_wrong": {
5823
- title: "Something Went Wrong",
5824
- description: "An unknown error occurred."
5825
- },
5826
- "confirm.delete": {
5827
- title: "Confirmation",
5828
- description: "Are you sure you want to delete this item?",
5829
- confirm_text: "Delete"
5830
- },
5831
- "confirm.inactive": {
5832
- title: "Confirmation",
5833
- description: "Are you sure you want to inactive this item?",
5834
- confirm_text: "Inactive"
5835
- },
5836
- "confirm.active": {
5837
- variant: "confirm-green",
5838
- title: "Confirmation",
5839
- description: "Are you sure you want to active this item?",
5840
- confirm_text: "Active"
5841
- },
5842
- "confirm.leave_page": {
5843
- title: "Confirmation",
5844
- description: "Unsaved changes. Do you want to leave this page?",
5845
- confirm_text: "Leave"
5846
- },
5847
- "confirm.reset_form": {
5848
- title: "Confirmation",
5849
- description: "Unsaved changes. If you continue, all changes will be lost.",
5850
- confirm_text: "Reset"
5851
- },
5852
- "confirm.remove": {
5853
- title: "Confirmation",
5854
- description: "Are you sure you want to remove this item?",
5855
- confirm_text: "Remove"
5856
- },
5857
- "confirm.logout": {
5858
- title: "Confirmation",
5859
- description: "Do you want to log out?",
5860
- confirm_text: "Logout"
5861
- }
5862
- }
5863
- }
5864
- }
5865
- };
5866
-
5867
- // src/components/dialog-alert/locale/i18n.ts
5868
- var instance = i18n.createInstance({
5869
- resources: defaultResource,
5870
- lng: "sharedui",
5871
- fallbackLng: "sharedui",
5872
- defaultNS: "translation",
5873
- interpolation: {
5874
- escapeValue: false
5875
- }
5876
- }).use(initReactI18next);
5877
- instance.init();
5878
- var i18n_default = instance;
5879
5818
  var titleColorVariant = {
5880
5819
  default: "",
5881
5820
  success: "text-sus-button-green-3",
@@ -6107,6 +6046,151 @@ var DIALOG_ALERT_TEMPLATES = {
6107
6046
  confirmText: "confirm.logout.confirm_text"
6108
6047
  }
6109
6048
  };
6049
+
6050
+ // src/components/dialog-alert/locale/default.ts
6051
+ var defaultResource = {
6052
+ sharedui: {
6053
+ translation: {
6054
+ [DIALOG_ALERT_I18N_SUBNAMESPACE]: {
6055
+ ok: "OK",
6056
+ cancel: "Cancel",
6057
+ close: "Close",
6058
+ "success.saved": {
6059
+ title: "Successfully",
6060
+ description: "Data has been successfully saved"
6061
+ },
6062
+ "success.deleted": {
6063
+ title: "Successfully",
6064
+ description: "Data has been successfully deleted"
6065
+ },
6066
+ "success.removed": {
6067
+ title: "Successfully",
6068
+ description: "Data has been successfully removed"
6069
+ },
6070
+ "error.api_db_error": {
6071
+ title: "API/Database Error",
6072
+ description: "Failed to connect to the system. Please check API or database connection."
6073
+ },
6074
+ "error.permission_denied": {
6075
+ title: "Permission Denied",
6076
+ description: "You do not have permission to perform this action.",
6077
+ confirm_text: "Discard"
6078
+ },
6079
+ "error.session_expired": {
6080
+ title: "Session Expired",
6081
+ description: "Your session has expired or you have been logged out. Please sign in again.",
6082
+ confirm_text: "Logout"
6083
+ },
6084
+ "error.user_not_found": {
6085
+ title: "User Not Found",
6086
+ description: "The system could not locate the user account.",
6087
+ confirm_text: "Logout"
6088
+ },
6089
+ "error.data_not_found": {
6090
+ title: "Data Not Found",
6091
+ description: "The data has already been deleted or does not exist in the system."
6092
+ },
6093
+ "error.data_restrict_editing": {
6094
+ title: "Data Status Restricts Editing",
6095
+ description: "Data status does not allow editing."
6096
+ },
6097
+ "error.network_timeout_error": {
6098
+ title: "Network Error / Timeout",
6099
+ description: "The system could not connect to the network or the request took too long to process."
6100
+ },
6101
+ "error.queue_full": {
6102
+ title: "Queue Full",
6103
+ description: "The notification queue has reached its limit. Please try again later."
6104
+ },
6105
+ "error.invalid_data_format": {
6106
+ title: "Invalid Data Format",
6107
+ description: "Data creation failed due to invalid or incorrectly formatted data."
6108
+ },
6109
+ "error.data_linked_to_system_data": {
6110
+ title: "Data Linked to System Data",
6111
+ description: "Cannot delete data because they are linked to existing system data."
6112
+ },
6113
+ "error.pending_workflow_conflict": {
6114
+ title: "Pending Workflow Conflict ",
6115
+ description: "The data is currently involved in a pending workflow or approval process and cannot be deactivated."
6116
+ },
6117
+ "error.invalid_incomplete_data": {
6118
+ title: "Invalid or Incomplete Data",
6119
+ description: "Data status cannot be changed due to incomplete or invalid information."
6120
+ },
6121
+ "error.client_side_error": {
6122
+ title: "Client-Side Error",
6123
+ description: "An error occurred on the client side. Please refresh the page or try again."
6124
+ },
6125
+ "error.system_limitation": {
6126
+ title: "System Limitation",
6127
+ description: "The search cannot be completed due to system limitations. Please simplify your query."
6128
+ },
6129
+ "error.timeout": {
6130
+ title: "Timeout",
6131
+ description: "Request failed due to a system error or timeout. Please try again."
6132
+ },
6133
+ "error.duplicate_data": {
6134
+ title: "Duplicate Data",
6135
+ description: "The data you entered already exists in the system."
6136
+ },
6137
+ "error.something_went_wrong": {
6138
+ title: "Something Went Wrong",
6139
+ description: "An unknown error occurred."
6140
+ },
6141
+ "confirm.delete": {
6142
+ title: "Confirmation",
6143
+ description: "Are you sure you want to delete this item?",
6144
+ confirm_text: "Delete"
6145
+ },
6146
+ "confirm.inactive": {
6147
+ title: "Confirmation",
6148
+ description: "Are you sure you want to inactive this item?",
6149
+ confirm_text: "Inactive"
6150
+ },
6151
+ "confirm.active": {
6152
+ variant: "confirm-green",
6153
+ title: "Confirmation",
6154
+ description: "Are you sure you want to active this item?",
6155
+ confirm_text: "Active"
6156
+ },
6157
+ "confirm.leave_page": {
6158
+ title: "Confirmation",
6159
+ description: "Unsaved changes. Do you want to leave this page?",
6160
+ confirm_text: "Leave"
6161
+ },
6162
+ "confirm.reset_form": {
6163
+ title: "Confirmation",
6164
+ description: "Unsaved changes. If you continue, all changes will be lost.",
6165
+ confirm_text: "Reset"
6166
+ },
6167
+ "confirm.remove": {
6168
+ title: "Confirmation",
6169
+ description: "Are you sure you want to remove this item?",
6170
+ confirm_text: "Remove"
6171
+ },
6172
+ "confirm.logout": {
6173
+ title: "Confirmation",
6174
+ description: "Do you want to log out?",
6175
+ confirm_text: "Logout"
6176
+ }
6177
+ }
6178
+ }
6179
+ }
6180
+ };
6181
+
6182
+ // src/components/dialog-alert/locale/i18n.ts
6183
+ var instance = i18n.createInstance({
6184
+ resources: defaultResource,
6185
+ lng: "sharedui",
6186
+ fallbackLng: "sharedui",
6187
+ defaultNS: "translation",
6188
+ interpolation: {
6189
+ escapeValue: false
6190
+ }
6191
+ }).use(initReactI18next);
6192
+ instance.init();
6193
+ var i18n_default = instance;
6110
6194
  var useDialogAlertStore = create((set, get) => ({
6111
6195
  open: false,
6112
6196
  dialogProps: {},
@@ -6159,7 +6243,7 @@ var DialogAlertProvider = ({ children, i18nResource, i18nLang }) => {
6159
6243
  return;
6160
6244
  }
6161
6245
  }, [i18nLang, i18nResource]);
6162
- return /* @__PURE__ */ jsxs(Fragment, { children: [
6246
+ return /* @__PURE__ */ jsxs(I18nextProvider, { i18n: i18n_default, children: [
6163
6247
  children,
6164
6248
  /* @__PURE__ */ jsx(DialogAlert, { open, onOpenChange: setOpen, ...dialogProps })
6165
6249
  ] });
@@ -11833,6 +11917,6 @@ var TruncatedMouseEnterDiv = ({
11833
11917
  };
11834
11918
  var truncatedMouseEnterDiv_default = TruncatedMouseEnterDiv;
11835
11919
 
11836
- export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, ActionMenu, AdvanceSearch_default as AdvanceSearch, arrow_default as ArrowIcon, AuditFooter, Button, Checkbox, Collapsible, CollapsibleContent2 as CollapsibleContent, CollapsibleTrigger2 as CollapsibleTrigger, Combobox_default as Combobox, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, CropperModal, CropperModalError, custom_field_default as CustomFieldIcon, DIALOG_ALERT_I18N_SUBNAMESPACE, DIALOG_ALERT_TEMPLATES, DataTable_default as DataTable, DatePicker2 as DatePicker, decrease_default as DecreaseIcon, Dialog, DialogAlert, DialogAlertProvider, DialogContent, DialogDescription, DialogFooter, DialogTitle, DialogTrigger, ErrorCompression, ErrorCreateCanvas, ErrorGeneratingBlob, ErrorInvalidSVG, ErrorSVGExceedSize, filters_default as FiltersIcon, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, FormulaEditor, GridSettingsModal_default as GridSettingsModal, HeaderCell_default as HeaderCell, Image2 as Image, information_default as InformationIcon, Input, InputNumber_default as InputNumber, Label2 as Label, LookupSelect, MainListContainer_default as MainListContainer, MonthPicker2 as MonthPicker, navbar_default as Navbar, not_found_default as NotFoundIcon, plus_default as PlusIcon, Popover, PopoverAnchor, PopoverArrow, PopoverContent, PopoverTrigger, PreventPageLeave_default as PreventPageLeave, RadioGroupItem, RadioGroupRoot, RadioLabel, RichText, RightPanelContainer_default as RightPanelContainer, role_default as RoleIcon, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator2 as Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarLayout, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Spinner, calendar_default as SuiCalendarIcon, calendar2_default as SuiCalendarIcon2, check_default as SuiCheckIcon, dots_vertical_default as SuiDotsVerticalIcon, empty_data_default as SuiEmptyDataIcon, expand_default as SuiExpandIcon, filter_default as SuiFilterIcon, setting_default as SuiSettingIcon, triangle_down_default as SuiTriangleDownIcon, warning_default as SuiWarningIcon, Switch, Textarea, Tooltip2 as Tooltip, TooltipArrow, TooltipContent2 as TooltipContent, TooltipProvider2 as TooltipProvider, TooltipTrigger2 as TooltipTrigger, trash_default as TrashIcon, truncated_default as Truncated, truncatedMouseEnterDiv_default as TruncatedMouseEnterDiv, ui_exports as UI, user_alone_default as UserAloneIcon, user_friend_default as UserFriendIcon, user_default as UserIcon, VirtualizedCommand_default as VirtualizedCommand, booleanToSelectValue, buildPrefixMap, buttonVariants, cn, compareAlphanumeric, debounce, defaultOperatorShortcuts, defaultOperators, formatISODate, getDialogAlertControls, inputVariants, isDefined, isEmptyObject, isValidParentheses, mapTokensToOutput, parseFormula, parseFormulaToToken, resetVisibleTableState, selectValueToBoolean, spinnerVariants, splitOperators, stripNullishObject, throttle, tokenizeFormulaString, useControllableState_default as useControllableState, useFormField, useGridSettingsStore_default as useGridSettingsStore, useHover_default as useHover, useIntersectionObserver_default as useIntersectionObserver, useIsomorphicLayoutEffect, useMediaQuery_default as useMediaQuery, usePreventPageLeave_default as usePreventPageLeave, usePreventPageLeaveStore_default as usePreventPageLeaveStore, useScreenSize_default as useScreenSize, useSidebar, useTruncated_default as useTruncated, validateTokenPrefixes };
11920
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, ActionMenu, AdvanceSearch_default as AdvanceSearch, arrow_default as ArrowIcon, AuditFooter, Button, Checkbox, Collapsible, CollapsibleContent2 as CollapsibleContent, CollapsibleTrigger2 as CollapsibleTrigger, Combobox_default as Combobox, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, CropperModal, CropperModalError, custom_field_default as CustomFieldIcon, DIALOG_ALERT_I18N_SUBNAMESPACE, DIALOG_ALERT_TEMPLATES, DataTable_default as DataTable, DatePicker2 as DatePicker, decrease_default as DecreaseIcon, Dialog, DialogAlert, DialogAlertProvider, DialogContent, DialogDescription, DialogFooter, DialogTitle, DialogTrigger, ErrorCompression, ErrorCreateCanvas, ErrorGeneratingBlob, ErrorInvalidSVG, ErrorSVGExceedSize, filters_default as FiltersIcon, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, FormulaEditor, GridSettingsModal_default as GridSettingsModal, HeaderCell_default as HeaderCell, Image2 as Image, information_default as InformationIcon, Input, InputNumber_default as InputNumber, Label2 as Label, LookupSelect, MainListContainer_default as MainListContainer, MonthPicker2 as MonthPicker, navbar_default as Navbar, not_found_default as NotFoundIcon, plus_default as PlusIcon, Popover, PopoverAnchor, PopoverArrow, PopoverContent, PopoverTrigger, PreventPageLeave_default as PreventPageLeave, RadioGroupItem, RadioGroupRoot, RadioLabel, RichText, RightPanelContainer_default as RightPanelContainer, role_default as RoleIcon, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator2 as Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarLayout, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Spinner, calendar_default as SuiCalendarIcon, calendar2_default as SuiCalendarIcon2, check_default as SuiCheckIcon, dots_vertical_default as SuiDotsVerticalIcon, empty_data_default as SuiEmptyDataIcon, expand_default as SuiExpandIcon, filter_default as SuiFilterIcon, setting_default as SuiSettingIcon, triangle_down_default as SuiTriangleDownIcon, warning_default as SuiWarningIcon, Switch, Textarea, Tooltip2 as Tooltip, TooltipArrow, TooltipContent2 as TooltipContent, TooltipProvider2 as TooltipProvider, TooltipTrigger2 as TooltipTrigger, trash_default as TrashIcon, truncated_default as Truncated, truncatedMouseEnterDiv_default as TruncatedMouseEnterDiv, ui_exports as UI, user_alone_default as UserAloneIcon, user_friend_default as UserFriendIcon, user_default as UserIcon, VirtualizedCommand_default as VirtualizedCommand, booleanToSelectValue, buildPrefixMap, buttonVariants, cn, compareAlphanumeric, debounce, defaultOperatorShortcuts, defaultOperators, formatISODate, getDialogAlertControls, inputVariants, isDefined, isEmptyObject, isValidParentheses, mapTokensToOutput, parseFormula, parseFormulaToToken, resetVisibleTableState, selectValueToBoolean, spinnerVariants, splitOperators, stripNullishObject, throttle, tokenizeFormulaString, useControllableState_default as useControllableState, useDraftGuardStore, useFormField, useGridSettingsStore_default as useGridSettingsStore, useHover_default as useHover, useIntersectionObserver_default as useIntersectionObserver, useIsomorphicLayoutEffect, useMediaQuery_default as useMediaQuery, usePreventPageLeave_default as usePreventPageLeave, usePreventPageLeaveStore_default as usePreventPageLeaveStore, useSafeBlocker, useScreenSize_default as useScreenSize, useSidebar, useTruncated_default as useTruncated, validateTokenPrefixes };
11837
11921
  //# sourceMappingURL=index.mjs.map
11838
11922
  //# sourceMappingURL=index.mjs.map