@licklist/design 0.78.5-dev.94 → 0.78.5-dev.95
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/settings.local.json +19 -0
- package/dist/Maintenance/Maintenance.scss.js +1 -1
- package/dist/events/event-venue-map/components/Dropdown/components/DropdownWrapper/DropdownWrapper.d.ts.map +1 -1
- package/dist/events/event-venue-map/components/Dropdown/components/DropdownWrapper/index.d.ts.map +1 -1
- package/dist/events/event-venue-map/components/Dropdown/components/ProductsControl/ProductsControl.d.ts.map +1 -1
- package/dist/events/event-venue-map/components/Dropdown/components/ProductsControl/index.d.ts.map +1 -1
- package/dist/events/event-venue-map/components/Dropdown/components/SelectControl/SelectControl.d.ts.map +1 -1
- package/dist/events/event-venue-map/components/Dropdown/components/SelectControl/index.d.ts.map +1 -1
- package/dist/events/event-venue-map/components/MapPoint/components/DeleteIcon/DeleteIcon.d.ts.map +1 -1
- package/dist/events/event-venue-map/components/MapPoint/components/DeleteIcon/index.d.ts.map +1 -1
- package/dist/events/event-venue-map/components/MapPoint/components/EditIcon/EditIcon.d.ts.map +1 -1
- package/dist/events/event-venue-map/components/MapPoint/components/EditIcon/index.d.ts.map +1 -1
- package/dist/events/event-venue-map/components/MapPoint/components/PointIcon/PointIcon.d.ts.map +1 -1
- package/dist/events/event-venue-map/components/MapPoint/components/PointIcon/index.d.ts.map +1 -1
- package/dist/events/event-venue-map/components/MapPoint/components/ProductIcon/ProductIcon.d.ts.map +1 -1
- package/dist/events/event-venue-map/components/MapPoint/components/ProductIcon/index.d.ts.map +1 -1
- package/dist/events/event-venue-map/components/MapPoint/components/ProductTooltip/ProductTooltip.d.ts.map +1 -1
- package/dist/events/event-venue-map/components/MapPoint/components/ProductTooltip/index.d.ts.map +1 -1
- package/dist/iframe/order-process/components/BookingSummary/components/BookingSummaryAccordion/BookingSummaryAccordion.d.ts.map +1 -1
- package/dist/iframe/order-process/components/BookingSummary/components/BookingSummaryAccordion/index.d.ts.map +1 -1
- package/dist/iframe/order-process/components/BookingSummary/components/ProductSummary/ProductSummary.d.ts.map +1 -1
- package/dist/iframe/order-process/components/BookingSummary/components/ProductSummary/index.d.ts.map +1 -1
- package/dist/iframe/order-process/components/BookingSummary/components/ProductsByMenuStep/ProductsByMenuStep.d.ts.map +1 -1
- package/dist/iframe/order-process/components/BookingSummary/components/ProductsByMenuStep/index.d.ts.map +1 -1
- package/dist/iframe/order-process/components/BookingSummary/components/SummaryTotal/SummaryTotal.d.ts.map +1 -1
- package/dist/iframe/order-process/components/BookingSummary/components/SummaryTotal/components/SummaryTotalBlock.d.ts.map +1 -1
- package/dist/iframe/order-process/components/BookingSummary/components/SummaryTotal/index.d.ts.map +1 -1
- package/dist/iframe/order-process/components/BookingSummary/components/ToggleHeader/ToggleHeader.d.ts.map +1 -1
- package/dist/iframe/order-process/components/BookingSummary/components/ToggleHeader/index.d.ts.map +1 -1
- package/dist/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.d.ts.map +1 -1
- package/dist/iframe/order-process/components/CategoryProduct/components/NumberInput/index.d.ts.map +1 -1
- package/dist/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.d.ts.map +1 -1
- package/dist/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/index.d.ts.map +1 -1
- package/dist/iframe/order-process/components/CategoryProduct/components/ProductWithModifier/ProductWithModifier.d.ts.map +1 -1
- package/dist/iframe/page/components/PageBody/components/LeftBlock/LeftBlock.d.ts.map +1 -1
- package/dist/iframe/page/components/PageBody/components/LeftBlock/index.d.ts.map +1 -1
- package/dist/iframe/page/components/PageBody/components/RightBlock/RightBlock.d.ts.map +1 -1
- package/dist/iframe/page/components/PageBody/components/RightBlock/index.d.ts.map +1 -1
- package/dist/v2/components/ActionMenu/ActionMenu.scss.js +1 -1
- package/dist/v2/components/Badge/Badge.scss.js +1 -1
- package/dist/v2/components/Button/Button.scss.js +1 -1
- package/dist/v2/components/Button/GhostButton.scss.js +1 -1
- package/dist/v2/components/Checkbox/Checkbox.scss.js +1 -1
- package/dist/v2/components/IconButton/IconButton.scss.js +1 -1
- package/dist/v2/components/Modal/DeleteModal.scss.js +1 -1
- package/dist/v2/components/NPSScore/NPSScore.scss.js +1 -1
- package/dist/v2/components/NewTabs/NewTabs.scss.js +1 -1
- package/dist/v2/components/Select/Select.scss.js +1 -1
- package/dist/v2/components/StatusBadge/StatusBadge.scss.js +1 -1
- package/dist/v2/components/StepIndicator/StepIndicator.scss.js +1 -1
- package/dist/v2/components/Tabs/Tabs.scss.js +1 -1
- package/dist/v2/components/Tooltip/Tooltip.scss.js +1 -1
- package/dist/v2/components/UserAvatar/UserAvatar.scss.js +1 -1
- package/dist/v2/components/UserPanel/UserPanel.scss.js +1 -1
- package/dist/v2/components/WYSIWYGEditor/WYSIWYGEditor.scss.js +1 -1
- package/dist/v2/components/ZoneCard/ZoneCard.scss.js +1 -1
- package/dist/v2/dashboard-analytics/chart/Chart.scss.js +1 -1
- package/dist/v2/dashboard-analytics/metric-card/MetricCard.scss.js +1 -1
- package/dist/v2/dashboard-analytics/venue-card/VenueCard.scss.js +1 -1
- package/dist/v2/dashboard-analytics/venue-closed-card/VenueClosedCard.scss.js +1 -1
- package/dist/v2/navigation/DashboardLayout/AdminSidebar.scss.js +1 -1
- package/dist/v2/navigation/DashboardLayout/DashboardLayout.scss.js +1 -1
- package/dist/v2/navigation/DashboardLayout/ProviderSidebar.scss.js +1 -1
- package/dist/v2/navigation/DashboardLayout/TopNavigation.scss.js +1 -1
- package/dist/v2/pages/Settings/SettingsTabs.scss.js +1 -1
- package/dist/v2/pages/Settings/components/SidebarCustomisation.scss.js +1 -1
- package/dist/v2/pages/auth/AuthLayout/AuthLayout.scss.js +1 -1
- package/dist/v2/shadcn/components/ui/accordion.d.ts +4 -5
- package/dist/v2/shadcn/components/ui/accordion.d.ts.map +1 -1
- package/dist/v2/shadcn/components/ui/alert-dialog.d.ts +9 -10
- package/dist/v2/shadcn/components/ui/alert-dialog.d.ts.map +1 -1
- package/dist/v2/shadcn/components/ui/alert.d.ts +1 -4
- package/dist/v2/shadcn/components/ui/alert.d.ts.map +1 -1
- package/dist/v2/shadcn/components/ui/aspect-ratio.d.ts +1 -2
- package/dist/v2/shadcn/components/ui/aspect-ratio.d.ts.map +1 -1
- package/dist/v2/shadcn/components/ui/avatar.d.ts +3 -4
- package/dist/v2/shadcn/components/ui/avatar.d.ts.map +1 -1
- package/dist/v2/shadcn/components/ui/badge.d.ts +1 -3
- package/dist/v2/shadcn/components/ui/badge.d.ts.map +1 -1
- package/dist/v2/shadcn/components/ui/button.d.ts +1 -5
- package/dist/v2/shadcn/components/ui/button.d.ts.map +1 -1
- package/dist/v2/shadcn/components/ui/checkbox.d.ts +1 -2
- package/dist/v2/shadcn/components/ui/checkbox.d.ts.map +1 -1
- package/dist/v2/shadcn/components/ui/collapsible.d.ts +3 -4
- package/dist/v2/shadcn/components/ui/collapsible.d.ts.map +1 -1
- package/dist/v2/shadcn/components/ui/command.d.ts +7 -72
- package/dist/v2/shadcn/components/ui/command.d.ts.map +1 -1
- package/dist/v2/shadcn/components/ui/context-menu.d.ts +14 -21
- package/dist/v2/shadcn/components/ui/context-menu.d.ts.map +1 -1
- package/dist/v2/shadcn/components/ui/dialog.d.ts +8 -9
- package/dist/v2/shadcn/components/ui/dialog.d.ts.map +1 -1
- package/dist/v2/shadcn/components/ui/drawer.d.ts +7 -7
- package/dist/v2/shadcn/components/ui/drawer.d.ts.map +1 -1
- package/dist/v2/shadcn/components/ui/dropdown-menu.d.ts +14 -21
- package/dist/v2/shadcn/components/ui/dropdown-menu.d.ts.map +1 -1
- package/dist/v2/shadcn/components/ui/form.d.ts +1 -2
- package/dist/v2/shadcn/components/ui/form.d.ts.map +1 -1
- package/dist/v2/shadcn/components/ui/hover-card.d.ts +3 -4
- package/dist/v2/shadcn/components/ui/hover-card.d.ts.map +1 -1
- package/dist/v2/shadcn/components/ui/input-otp.d.ts +1 -27
- package/dist/v2/shadcn/components/ui/input-otp.d.ts.map +1 -1
- package/dist/v2/shadcn/components/ui/label.d.ts +1 -3
- package/dist/v2/shadcn/components/ui/label.d.ts.map +1 -1
- package/dist/v2/shadcn/components/ui/menubar.d.ts +15 -27
- package/dist/v2/shadcn/components/ui/menubar.d.ts.map +1 -1
- package/dist/v2/shadcn/components/ui/navigation-menu.d.ts +9 -10
- package/dist/v2/shadcn/components/ui/navigation-menu.d.ts.map +1 -1
- package/dist/v2/shadcn/components/ui/popover.d.ts +3 -4
- package/dist/v2/shadcn/components/ui/popover.d.ts.map +1 -1
- package/dist/v2/shadcn/components/ui/progress.d.ts +1 -2
- package/dist/v2/shadcn/components/ui/progress.d.ts.map +1 -1
- package/dist/v2/shadcn/components/ui/radio-group.d.ts +2 -3
- package/dist/v2/shadcn/components/ui/radio-group.d.ts.map +1 -1
- package/dist/v2/shadcn/components/ui/select.d.ts +10 -11
- package/dist/v2/shadcn/components/ui/select.d.ts.map +1 -1
- package/dist/v2/shadcn/components/ui/separator.d.ts +1 -2
- package/dist/v2/shadcn/components/ui/separator.d.ts.map +1 -1
- package/dist/v2/shadcn/components/ui/sheet.d.ts +9 -11
- package/dist/v2/shadcn/components/ui/sheet.d.ts.map +1 -1
- package/dist/v2/shadcn/components/ui/sidebar.d.ts +2 -11
- package/dist/v2/shadcn/components/ui/sidebar.d.ts.map +1 -1
- package/dist/v2/shadcn/components/ui/slider.d.ts +1 -2
- package/dist/v2/shadcn/components/ui/slider.d.ts.map +1 -1
- package/dist/v2/shadcn/components/ui/switch.d.ts +1 -2
- package/dist/v2/shadcn/components/ui/switch.d.ts.map +1 -1
- package/dist/v2/shadcn/components/ui/switch.scss.js +1 -1
- package/dist/v2/shadcn/components/ui/tabs.d.ts +4 -5
- package/dist/v2/shadcn/components/ui/tabs.d.ts.map +1 -1
- package/dist/v2/shadcn/components/ui/toast.d.ts +7 -11
- package/dist/v2/shadcn/components/ui/toast.d.ts.map +1 -1
- package/dist/v2/shadcn/components/ui/toggle-group.d.ts +2 -10
- package/dist/v2/shadcn/components/ui/toggle-group.d.ts.map +1 -1
- package/dist/v2/shadcn/components/ui/toggle.d.ts +2 -10
- package/dist/v2/shadcn/components/ui/toggle.d.ts.map +1 -1
- package/dist/v2/styles/form/NewInput.scss.js +1 -1
- package/dist/zone/form/ZoneForm.js +2 -1
- package/dist/zone/form/components/ZoneControl.d.ts.map +1 -1
- package/dist/zone/form/components/ZoneControl.js +53 -1
- package/package.json +1 -1
- package/src/zone/form/ZoneForm.tsx +1 -1
- package/src/zone/form/components/ZoneControl.tsx +22 -3
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
|
|
3
|
-
declare const
|
|
4
|
-
declare const
|
|
5
|
-
declare const
|
|
6
|
-
declare const
|
|
7
|
-
declare const
|
|
8
|
-
declare const
|
|
9
|
-
declare const
|
|
10
|
-
declare const
|
|
11
|
-
declare const NavigationMenuIndicator: React.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuIndicatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2
|
+
declare const NavigationMenu: React.ForwardRefExoticComponent<any>;
|
|
3
|
+
declare const NavigationMenuList: React.ForwardRefExoticComponent<any>;
|
|
4
|
+
declare const NavigationMenuItem: any;
|
|
5
|
+
declare const navigationMenuTriggerStyle: any;
|
|
6
|
+
declare const NavigationMenuTrigger: React.ForwardRefExoticComponent<any>;
|
|
7
|
+
declare const NavigationMenuContent: React.ForwardRefExoticComponent<any>;
|
|
8
|
+
declare const NavigationMenuLink: any;
|
|
9
|
+
declare const NavigationMenuViewport: React.ForwardRefExoticComponent<any>;
|
|
10
|
+
declare const NavigationMenuIndicator: React.ForwardRefExoticComponent<any>;
|
|
12
11
|
export { navigationMenuTriggerStyle, NavigationMenu, NavigationMenuList, NavigationMenuItem, NavigationMenuContent, NavigationMenuTrigger, NavigationMenuLink, NavigationMenuIndicator, NavigationMenuViewport, };
|
|
13
12
|
//# sourceMappingURL=navigation-menu.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"navigation-menu.d.ts","sourceRoot":"","sources":["../../../../../src/v2/shadcn/components/ui/navigation-menu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"navigation-menu.d.ts","sourceRoot":"","sources":["../../../../../src/v2/shadcn/components/ui/navigation-menu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,QAAA,MAAM,cAAc,sCAYlB,CAAC;AAGH,QAAA,MAAM,kBAAkB,sCAStB,CAAC;AAGH,QAAA,MAAM,kBAAkB,KAA+B,CAAC;AAExD,QAAA,MAAM,0BAA0B,KAE/B,CAAC;AAEF,QAAA,MAAM,qBAAqB,sCAezB,CAAC;AAGH,QAAA,MAAM,qBAAqB,sCAYzB,CAAC;AAGH,QAAA,MAAM,kBAAkB,KAA+B,CAAC;AAExD,QAAA,MAAM,sBAAsB,sCAc1B,CAAC;AAGH,QAAA,MAAM,uBAAuB,sCAc3B,CAAC;AAGH,OAAO,EACL,0BAA0B,EAC1B,cAAc,EACd,kBAAkB,EAClB,kBAAkB,EAClB,qBAAqB,EACrB,qBAAqB,EACrB,kBAAkB,EAClB,uBAAuB,EACvB,sBAAsB,GACvB,CAAC"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
|
|
3
|
-
declare const
|
|
4
|
-
declare const
|
|
5
|
-
declare const PopoverContent: React.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2
|
+
declare const Popover: any;
|
|
3
|
+
declare const PopoverTrigger: any;
|
|
4
|
+
declare const PopoverContent: React.ForwardRefExoticComponent<any>;
|
|
6
5
|
export { Popover, PopoverTrigger, PopoverContent };
|
|
7
6
|
//# sourceMappingURL=popover.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["../../../../../src/v2/shadcn/components/ui/popover.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["../../../../../src/v2/shadcn/components/ui/popover.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,QAAA,MAAM,OAAO,KAAwB,CAAC;AAEtC,QAAA,MAAM,cAAc,KAA2B,CAAC;AAEhD,QAAA,MAAM,cAAc,sCAgBlB,CAAC;AAGH,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
|
|
3
|
-
declare const Progress: React.ForwardRefExoticComponent<Omit<ProgressPrimitive.ProgressProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2
|
+
declare const Progress: React.ForwardRefExoticComponent<any>;
|
|
4
3
|
export { Progress };
|
|
5
4
|
//# sourceMappingURL=progress.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"progress.d.ts","sourceRoot":"","sources":["../../../../../src/v2/shadcn/components/ui/progress.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"progress.d.ts","sourceRoot":"","sources":["../../../../../src/v2/shadcn/components/ui/progress.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,QAAA,MAAM,QAAQ,sCAcZ,CAAC;AAGH,OAAO,EAAE,QAAQ,EAAE,CAAC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
|
|
3
|
-
declare const
|
|
4
|
-
declare const RadioGroupItem: React.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
2
|
+
declare const RadioGroup: React.ForwardRefExoticComponent<any>;
|
|
3
|
+
declare const RadioGroupItem: React.ForwardRefExoticComponent<any>;
|
|
5
4
|
export { RadioGroup, RadioGroupItem };
|
|
6
5
|
//# sourceMappingURL=radio-group.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radio-group.d.ts","sourceRoot":"","sources":["../../../../../src/v2/shadcn/components/ui/radio-group.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"radio-group.d.ts","sourceRoot":"","sources":["../../../../../src/v2/shadcn/components/ui/radio-group.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,QAAA,MAAM,UAAU,sCAKd,CAAC;AAGH,QAAA,MAAM,cAAc,sCAkBlB,CAAC;AAGH,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
|
|
3
|
-
declare const
|
|
4
|
-
declare const
|
|
5
|
-
declare const
|
|
6
|
-
declare const
|
|
7
|
-
declare const
|
|
8
|
-
declare const
|
|
9
|
-
declare const
|
|
10
|
-
declare const
|
|
11
|
-
declare const
|
|
12
|
-
declare const SelectSeparator: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2
|
+
declare const Select: any;
|
|
3
|
+
declare const SelectGroup: any;
|
|
4
|
+
declare const SelectValue: any;
|
|
5
|
+
declare const SelectTrigger: React.ForwardRefExoticComponent<any>;
|
|
6
|
+
declare const SelectScrollUpButton: React.ForwardRefExoticComponent<any>;
|
|
7
|
+
declare const SelectScrollDownButton: React.ForwardRefExoticComponent<any>;
|
|
8
|
+
declare const SelectContent: React.ForwardRefExoticComponent<any>;
|
|
9
|
+
declare const SelectLabel: React.ForwardRefExoticComponent<any>;
|
|
10
|
+
declare const SelectItem: React.ForwardRefExoticComponent<any>;
|
|
11
|
+
declare const SelectSeparator: React.ForwardRefExoticComponent<any>;
|
|
13
12
|
export { Select, SelectGroup, SelectValue, SelectTrigger, SelectContent, SelectLabel, SelectItem, SelectSeparator, SelectScrollUpButton, SelectScrollDownButton, };
|
|
14
13
|
//# sourceMappingURL=select.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../../../../../src/v2/shadcn/components/ui/select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../../../../../src/v2/shadcn/components/ui/select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAiB/B,QAAA,MAAM,MAAM,KAAuB,CAAC;AAEpC,QAAA,MAAM,WAAW,KAAwB,CAAC;AAE1C,QAAA,MAAM,WAAW,KAAwB,CAAC;AAE1C,QAAA,MAAM,aAAa,sCAiBjB,CAAC;AAGH,QAAA,MAAM,oBAAoB,sCAWxB,CAAC;AAGH,QAAA,MAAM,sBAAsB,sCAW1B,CAAC;AAGH,QAAA,MAAM,aAAa,sCA6BjB,CAAC;AAGH,QAAA,MAAM,WAAW,sCAKf,CAAC;AAGH,QAAA,MAAM,UAAU,sCAcd,CAAC;AAGH,QAAA,MAAM,eAAe,sCAKnB,CAAC;AAGH,OAAO,EACL,MAAM,EACN,WAAW,EACX,WAAW,EACX,aAAa,EACb,aAAa,EACb,WAAW,EACX,UAAU,EACV,eAAe,EACf,oBAAoB,EACpB,sBAAsB,GACvB,CAAC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
|
|
3
|
-
declare const Separator: React.ForwardRefExoticComponent<Omit<SeparatorPrimitive.SeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2
|
+
declare const Separator: React.ForwardRefExoticComponent<any>;
|
|
4
3
|
export { Separator };
|
|
5
4
|
//# sourceMappingURL=separator.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"separator.d.ts","sourceRoot":"","sources":["../../../../../src/v2/shadcn/components/ui/separator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"separator.d.ts","sourceRoot":"","sources":["../../../../../src/v2/shadcn/components/ui/separator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,QAAA,MAAM,SAAS,sCAWb,CAAC;AAGH,OAAO,EAAE,SAAS,EAAE,CAAC"}
|
|
@@ -1,17 +1,15 @@
|
|
|
1
1
|
import * as SheetPrimitive from "@radix-ui/react-dialog";
|
|
2
2
|
import { type VariantProps } from "class-variance-authority";
|
|
3
3
|
import * as React from "react";
|
|
4
|
-
declare const Sheet:
|
|
5
|
-
declare const SheetTrigger:
|
|
6
|
-
declare const SheetClose:
|
|
7
|
-
declare const SheetPortal:
|
|
8
|
-
declare const SheetOverlay: React.ForwardRefExoticComponent<
|
|
9
|
-
declare const sheetVariants:
|
|
10
|
-
side?: "bottom" | "left" | "right" | "top";
|
|
11
|
-
} & import("class-variance-authority/dist/types").ClassProp) => string;
|
|
4
|
+
declare const Sheet: any;
|
|
5
|
+
declare const SheetTrigger: any;
|
|
6
|
+
declare const SheetClose: any;
|
|
7
|
+
declare const SheetPortal: any;
|
|
8
|
+
declare const SheetOverlay: React.ForwardRefExoticComponent<any>;
|
|
9
|
+
declare const sheetVariants: any;
|
|
12
10
|
interface SheetContentProps extends React.ComponentPropsWithoutRef<typeof SheetPrimitive.Content>, VariantProps<typeof sheetVariants> {
|
|
13
11
|
}
|
|
14
|
-
declare const SheetContent: React.ForwardRefExoticComponent<SheetContentProps & React.RefAttributes<
|
|
12
|
+
declare const SheetContent: React.ForwardRefExoticComponent<SheetContentProps & React.RefAttributes<any>>;
|
|
15
13
|
declare const SheetHeader: {
|
|
16
14
|
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
17
15
|
displayName: string;
|
|
@@ -20,7 +18,7 @@ declare const SheetFooter: {
|
|
|
20
18
|
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
21
19
|
displayName: string;
|
|
22
20
|
};
|
|
23
|
-
declare const SheetTitle: React.ForwardRefExoticComponent<
|
|
24
|
-
declare const SheetDescription: React.ForwardRefExoticComponent<
|
|
21
|
+
declare const SheetTitle: React.ForwardRefExoticComponent<any>;
|
|
22
|
+
declare const SheetDescription: React.ForwardRefExoticComponent<any>;
|
|
25
23
|
export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, };
|
|
26
24
|
//# sourceMappingURL=sheet.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sheet.d.ts","sourceRoot":"","sources":["../../../../../src/v2/shadcn/components/ui/sheet.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,cAAc,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAElE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,QAAA,MAAM,KAAK,
|
|
1
|
+
{"version":3,"file":"sheet.d.ts","sourceRoot":"","sources":["../../../../../src/v2/shadcn/components/ui/sheet.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,cAAc,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAElE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,QAAA,MAAM,KAAK,KAAsB,CAAC;AAElC,QAAA,MAAM,YAAY,KAAyB,CAAC;AAE5C,QAAA,MAAM,UAAU,KAAuB,CAAC;AAExC,QAAA,MAAM,WAAW,KAAwB,CAAC;AAE1C,QAAA,MAAM,YAAY,sCAYhB,CAAC;AAGH,QAAA,MAAM,aAAa,KAiBlB,CAAC;AAEF,UAAU,iBACR,SAAQ,KAAK,CAAC,wBAAwB,CAAC,OAAO,cAAc,CAAC,OAAO,CAAC,EACnE,YAAY,CAAC,OAAO,aAAa,CAAC;CAAG;AAEzC,QAAA,MAAM,YAAY,+EAajB,CAAC;AAGF,QAAA,MAAM,WAAW;8BAA6B,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;;CAEjF,CAAC;AAGF,QAAA,MAAM,WAAW;8BAA6B,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;;CAEjF,CAAC;AAGF,QAAA,MAAM,UAAU,sCAKd,CAAC;AAGH,QAAA,MAAM,gBAAgB,sCAKpB,CAAC;AAGH,OAAO,EACL,KAAK,EACL,UAAU,EACV,YAAY,EACZ,gBAAgB,EAChB,WAAW,EACX,WAAW,EACX,YAAY,EACZ,WAAW,EACX,UAAU,EACV,YAAY,GACb,CAAC"}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import { VariantProps } from "class-variance-authority";
|
|
3
|
-
import { TooltipContent } from "./tooltip";
|
|
4
2
|
type SidebarContext = {
|
|
5
3
|
state: "expanded" | "collapsed";
|
|
6
4
|
open: boolean;
|
|
@@ -28,7 +26,7 @@ declare const SidebarInset: React.ForwardRefExoticComponent<Omit<React.DetailedH
|
|
|
28
26
|
declare const SidebarInput: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
29
27
|
declare const SidebarHeader: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
30
28
|
declare const SidebarFooter: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
31
|
-
declare const SidebarSeparator: React.ForwardRefExoticComponent<
|
|
29
|
+
declare const SidebarSeparator: React.ForwardRefExoticComponent<any>;
|
|
32
30
|
declare const SidebarContent: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
33
31
|
declare const SidebarGroup: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
34
32
|
declare const SidebarGroupLabel: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
|
|
@@ -40,14 +38,7 @@ declare const SidebarGroupAction: React.ForwardRefExoticComponent<Omit<React.Cla
|
|
|
40
38
|
declare const SidebarGroupContent: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
41
39
|
declare const SidebarMenu: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & React.RefAttributes<HTMLUListElement>>;
|
|
42
40
|
declare const SidebarMenuItem: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React.RefAttributes<HTMLLIElement>>;
|
|
43
|
-
declare const SidebarMenuButton: React.ForwardRefExoticComponent<
|
|
44
|
-
asChild?: boolean;
|
|
45
|
-
isActive?: boolean;
|
|
46
|
-
tooltip?: string | React.ComponentProps<typeof TooltipContent>;
|
|
47
|
-
} & VariantProps<(props?: {
|
|
48
|
-
variant?: "default" | "outline";
|
|
49
|
-
size?: "default" | "sm" | "lg";
|
|
50
|
-
} & import("class-variance-authority/dist/types").ClassProp) => string>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
41
|
+
declare const SidebarMenuButton: React.ForwardRefExoticComponent<any>;
|
|
51
42
|
declare const SidebarMenuAction: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLButtonElement> & React.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
52
43
|
asChild?: boolean;
|
|
53
44
|
showOnHover?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sidebar.d.ts","sourceRoot":"","sources":["../../../../../src/v2/shadcn/components/ui/sidebar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"sidebar.d.ts","sourceRoot":"","sources":["../../../../../src/v2/shadcn/components/ui/sidebar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAqB/B,KAAK,cAAc,GAAG;IACpB,KAAK,EAAE,UAAU,GAAG,WAAW,CAAC;IAChC,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACjC,UAAU,EAAE,OAAO,CAAC;IACpB,aAAa,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACvC,QAAQ,EAAE,OAAO,CAAC;IAClB,aAAa,EAAE,MAAM,IAAI,CAAC;CAC3B,CAAC;AAEF,QAAA,MAAM,cAAc,+BAAmD,CAAC;AAExE,iBAAS,UAAU,mBAOlB;AAED,QAAA,MAAM,eAAe;kBAGH,OAAO;WACd,OAAO;mBACC,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI;gDAgFxC,CAAC;AAGH,QAAA,MAAM,OAAO;WAGF,MAAM,GAAG,OAAO;cACb,SAAS,GAAG,UAAU,GAAG,OAAO;kBAC5B,WAAW,GAAG,MAAM,GAAG,MAAM;gDAgF7C,CAAC;AAGH,QAAA,MAAM,cAAc,gKAsBnB,CAAC;AAGF,QAAA,MAAM,WAAW,kLAyBhB,CAAC;AAGF,QAAA,MAAM,YAAY,6JAYhB,CAAC;AAGH,QAAA,MAAM,YAAY,mOAcjB,CAAC;AAGF,QAAA,MAAM,aAAa,mKAEjB,CAAC;AAGH,QAAA,MAAM,aAAa,mKAEjB,CAAC;AAGH,QAAA,MAAM,gBAAgB,sCAWrB,CAAC;AAGF,QAAA,MAAM,cAAc,mKAYlB,CAAC;AAGH,QAAA,MAAM,YAAY,mKAShB,CAAC;AAGH,QAAA,MAAM,iBAAiB;cAA8E,OAAO;gDAiB3G,CAAC;AAGF,QAAA,MAAM,kBAAkB;cAAoF,OAAO;mDAmBlH,CAAC;AAGF,QAAA,MAAM,mBAAmB,mKAIxB,CAAC;AAGF,QAAA,MAAM,WAAW,yKAEf,CAAC;AAGH,QAAA,MAAM,eAAe,kKAEnB,CAAC;AAyBH,QAAA,MAAM,iBAAiB,sCAsCrB,CAAC;AAGH,QAAA,MAAM,iBAAiB;cAGT,OAAO;kBACH,OAAO;mDAwBvB,CAAC;AAGH,QAAA,MAAM,gBAAgB,mKAiBrB,CAAC;AAGF,QAAA,MAAM,mBAAmB;eAGV,OAAO;gDA2BpB,CAAC;AAGH,QAAA,MAAM,cAAc,yKAanB,CAAC;AAGF,QAAA,MAAM,kBAAkB,kKAEtB,CAAC;AAGH,QAAA,MAAM,oBAAoB;cAGZ,OAAO;WACV,IAAI,GAAG,IAAI;eACP,OAAO;mDAsBpB,CAAC;AAGH,OAAO,EACL,OAAO,EACP,cAAc,EACd,aAAa,EACb,YAAY,EACZ,kBAAkB,EAClB,mBAAmB,EACnB,iBAAiB,EACjB,aAAa,EACb,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,iBAAiB,EACjB,gBAAgB,EAChB,iBAAiB,EACjB,eAAe,EACf,mBAAmB,EACnB,cAAc,EACd,oBAAoB,EACpB,kBAAkB,EAClB,eAAe,EACf,WAAW,EACX,gBAAgB,EAChB,cAAc,EACd,UAAU,GACX,CAAC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
|
|
3
|
-
declare const Slider: React.ForwardRefExoticComponent<Omit<SliderPrimitive.SliderProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
2
|
+
declare const Slider: React.ForwardRefExoticComponent<any>;
|
|
4
3
|
export { Slider };
|
|
5
4
|
//# sourceMappingURL=slider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slider.d.ts","sourceRoot":"","sources":["../../../../../src/v2/shadcn/components/ui/slider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"slider.d.ts","sourceRoot":"","sources":["../../../../../src/v2/shadcn/components/ui/slider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,QAAA,MAAM,MAAM,sCAcV,CAAC;AAGH,OAAO,EAAE,MAAM,EAAE,CAAC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as SwitchPrimitives from "@radix-ui/react-switch";
|
|
3
2
|
import './switch.scss';
|
|
4
|
-
declare const Switch: React.ForwardRefExoticComponent<
|
|
3
|
+
declare const Switch: React.ForwardRefExoticComponent<any>;
|
|
5
4
|
export { Switch };
|
|
6
5
|
//# sourceMappingURL=switch.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"switch.d.ts","sourceRoot":"","sources":["../../../../../src/v2/shadcn/components/ui/switch.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"switch.d.ts","sourceRoot":"","sources":["../../../../../src/v2/shadcn/components/ui/switch.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,eAAe,CAAC;AAEvB,QAAA,MAAM,MAAM,sCAeV,CAAC;AAGH,OAAO,EAAE,MAAM,EAAE,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import styleInject from 'style-inject';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".bkit-switch{align-items:center;border:none;border-radius:9999px;cursor:pointer;display:inline-flex;flex-shrink:0;height:28px;padding:2px;position:relative;transition:background-color .2s ease;width:52px}.bkit-switch[data-state=unchecked]{background:var(--surface-tertiary,#d1d5e0)}.bkit-switch[data-state=checked]{background:var(--fill-primary,#14215a)}.bkit-switch:disabled{cursor:not-allowed;opacity:.5}.bkit-switch:focus-visible{outline:2px solid var(--border-selected,#6200ee);outline-offset:2px}.bkit-switch__thumb{align-items:center;background:#fff;border-radius:9999px;box-shadow:0 1px 3px
|
|
3
|
+
var css_248z = ".bkit-switch{align-items:center;border:none;border-radius:9999px;cursor:pointer;display:inline-flex;flex-shrink:0;height:28px;padding:2px;position:relative;transition:background-color .2s ease;width:52px}.bkit-switch[data-state=unchecked]{background:var(--surface-tertiary,#d1d5e0)}.bkit-switch[data-state=checked]{background:var(--fill-primary,#14215a)}.bkit-switch:disabled{cursor:not-allowed;opacity:.5}.bkit-switch:focus-visible{outline:2px solid var(--border-selected,#6200ee);outline-offset:2px}.bkit-switch__thumb{align-items:center;background:#fff;border-radius:9999px;box-shadow:0 1px 3px rgba(0,0,0,.2);display:flex;height:24px;justify-content:center;pointer-events:none;transition:transform .2s ease;width:24px}.bkit-switch__thumb[data-state=unchecked]{transform:translateX(0)}.bkit-switch__thumb[data-state=checked]{transform:translateX(24px)}.bkit-switch__icon{color:transparent;transition:color .15s ease}.bkit-switch__thumb[data-state=checked] .bkit-switch__icon--check{color:var(--fill-primary,#14215a)}";
|
|
4
4
|
styleInject(css_248z);
|
|
5
5
|
|
|
6
6
|
export { css_248z as default };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
|
|
3
|
-
declare const
|
|
4
|
-
declare const
|
|
5
|
-
declare const
|
|
6
|
-
declare const TabsContent: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2
|
+
declare const Tabs: any;
|
|
3
|
+
declare const TabsList: React.ForwardRefExoticComponent<any>;
|
|
4
|
+
declare const TabsTrigger: React.ForwardRefExoticComponent<any>;
|
|
5
|
+
declare const TabsContent: React.ForwardRefExoticComponent<any>;
|
|
7
6
|
export { Tabs, TabsList, TabsTrigger, TabsContent };
|
|
8
7
|
//# sourceMappingURL=tabs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tabs.d.ts","sourceRoot":"","sources":["../../../../../src/v2/shadcn/components/ui/tabs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"tabs.d.ts","sourceRoot":"","sources":["../../../../../src/v2/shadcn/components/ui/tabs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,QAAA,MAAM,IAAI,KAAqB,CAAC;AAEhC,QAAA,MAAM,QAAQ,sCAYZ,CAAC;AAGH,QAAA,MAAM,WAAW,sCAYf,CAAC;AAGH,QAAA,MAAM,WAAW,sCAYf,CAAC;AAGH,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,WAAW,EAAE,CAAC"}
|
|
@@ -1,15 +1,11 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
declare const
|
|
5
|
-
declare const
|
|
6
|
-
declare const
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
declare const ToastAction: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastActionProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
10
|
-
declare const ToastClose: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastCloseProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
11
|
-
declare const ToastTitle: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastTitleProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
12
|
-
declare const ToastDescription: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastDescriptionProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2
|
+
declare const ToastProvider: any;
|
|
3
|
+
declare const ToastViewport: React.ForwardRefExoticComponent<any>;
|
|
4
|
+
declare const Toast: React.ForwardRefExoticComponent<any>;
|
|
5
|
+
declare const ToastAction: React.ForwardRefExoticComponent<any>;
|
|
6
|
+
declare const ToastClose: React.ForwardRefExoticComponent<any>;
|
|
7
|
+
declare const ToastTitle: React.ForwardRefExoticComponent<any>;
|
|
8
|
+
declare const ToastDescription: React.ForwardRefExoticComponent<any>;
|
|
13
9
|
type ToastProps = React.ComponentPropsWithoutRef<typeof Toast>;
|
|
14
10
|
type ToastActionElement = React.ReactElement<typeof ToastAction>;
|
|
15
11
|
export { type ToastProps, type ToastActionElement, ToastProvider, ToastViewport, Toast, ToastTitle, ToastDescription, ToastClose, ToastAction, };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toast.d.ts","sourceRoot":"","sources":["../../../../../src/v2/shadcn/components/ui/toast.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"toast.d.ts","sourceRoot":"","sources":["../../../../../src/v2/shadcn/components/ui/toast.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,QAAA,MAAM,aAAa,KAA2B,CAAC;AAE/C,QAAA,MAAM,aAAa,sCAYjB,CAAC;AAkBH,QAAA,MAAM,KAAK,sCAKT,CAAC;AAGH,QAAA,MAAM,WAAW,sCAYf,CAAC;AAGH,QAAA,MAAM,UAAU,sCAed,CAAC;AAGH,QAAA,MAAM,UAAU,sCAKd,CAAC;AAGH,QAAA,MAAM,gBAAgB,sCAKpB,CAAC;AAGH,KAAK,UAAU,GAAG,KAAK,CAAC,wBAAwB,CAAC,OAAO,KAAK,CAAC,CAAC;AAE/D,KAAK,kBAAkB,GAAG,KAAK,CAAC,YAAY,CAAC,OAAO,WAAW,CAAC,CAAC;AAEjE,OAAO,EACL,KAAK,UAAU,EACf,KAAK,kBAAkB,EACvB,aAAa,EACb,aAAa,EACb,KAAK,EACL,UAAU,EACV,gBAAgB,EAChB,UAAU,EACV,WAAW,GACZ,CAAC"}
|
|
@@ -1,13 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
declare const ToggleGroup: React.ForwardRefExoticComponent<((Omit<ToggleGroupPrimitive.ToggleGroupSingleProps & React.RefAttributes<HTMLDivElement>, "ref"> | Omit<ToggleGroupPrimitive.ToggleGroupMultipleProps & React.RefAttributes<HTMLDivElement>, "ref">) & VariantProps<(props?: {
|
|
5
|
-
variant?: "default" | "outline";
|
|
6
|
-
size?: "default" | "sm" | "lg";
|
|
7
|
-
} & import("class-variance-authority/dist/types").ClassProp) => string>) & React.RefAttributes<HTMLDivElement>>;
|
|
8
|
-
declare const ToggleGroupItem: React.ForwardRefExoticComponent<Omit<ToggleGroupPrimitive.ToggleGroupItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: {
|
|
9
|
-
variant?: "default" | "outline";
|
|
10
|
-
size?: "default" | "sm" | "lg";
|
|
11
|
-
} & import("class-variance-authority/dist/types").ClassProp) => string> & React.RefAttributes<HTMLButtonElement>>;
|
|
2
|
+
declare const ToggleGroup: React.ForwardRefExoticComponent<any>;
|
|
3
|
+
declare const ToggleGroupItem: React.ForwardRefExoticComponent<any>;
|
|
12
4
|
export { ToggleGroup, ToggleGroupItem };
|
|
13
5
|
//# sourceMappingURL=toggle-group.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toggle-group.d.ts","sourceRoot":"","sources":["../../../../../src/v2/shadcn/components/ui/toggle-group.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"toggle-group.d.ts","sourceRoot":"","sources":["../../../../../src/v2/shadcn/components/ui/toggle-group.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAY/B,QAAA,MAAM,WAAW,sCAOf,CAAC;AAIH,QAAA,MAAM,eAAe,sCAqBnB,CAAC;AAIH,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,CAAC"}
|
|
@@ -1,13 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
declare const toggleVariants: (props?: {
|
|
5
|
-
variant?: "default" | "outline";
|
|
6
|
-
size?: "default" | "sm" | "lg";
|
|
7
|
-
} & import("class-variance-authority/dist/types").ClassProp) => string;
|
|
8
|
-
declare const Toggle: React.ForwardRefExoticComponent<Omit<TogglePrimitive.ToggleProps & React.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: {
|
|
9
|
-
variant?: "default" | "outline";
|
|
10
|
-
size?: "default" | "sm" | "lg";
|
|
11
|
-
} & import("class-variance-authority/dist/types").ClassProp) => string> & React.RefAttributes<HTMLButtonElement>>;
|
|
2
|
+
declare const toggleVariants: any;
|
|
3
|
+
declare const Toggle: React.ForwardRefExoticComponent<any>;
|
|
12
4
|
export { Toggle, toggleVariants };
|
|
13
5
|
//# sourceMappingURL=toggle.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toggle.d.ts","sourceRoot":"","sources":["../../../../../src/v2/shadcn/components/ui/toggle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"toggle.d.ts","sourceRoot":"","sources":["../../../../../src/v2/shadcn/components/ui/toggle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,QAAA,MAAM,cAAc,KAmBnB,CAAC;AAEF,QAAA,MAAM,MAAM,sCAKV,CAAC;AAIH,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import styleInject from 'style-inject';
|
|
2
2
|
|
|
3
|
-
var css_248z = ":root{--font-family-sans:\"Geist\",-apple-system,BlinkMacSystemFont,\"Segoe UI\",\"Roboto\",\"Helvetica Neue\",Arial,sans-serif;--font-family-mono:\"Geist Mono\",ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,\"Liberation Mono\",\"Courier New\",monospace;--heading-xxl-size:44px;--heading-xxl-line:48px;--heading-xxl-weight:600;--heading-xl-size:32px;--heading-xl-line:36px;--heading-xl-weight:700;--heading-h1-size:24px;--heading-h1-line:28px;--heading-h1-weight:600;--heading-h2-size:20px;--heading-h2-line:24px;--heading-h2-weight:600;--heading-h3-size:17px;--heading-h3-line:20px;--heading-h3-weight:600;--heading-h4-size:15px;--heading-h4-line:18px;--heading-h4-weight:600;--heading-h5-size:13px;--heading-h5-line:16px;--heading-h5-weight:500;--heading-h6-size:11px;--heading-h6-line:14px;--heading-h6-weight:500;--heading-xxl-mobile-size:32px;--heading-xxl-mobile-line:36px;--heading-xxl-mobile-weight:600;--heading-xl-mobile-size:26px;--heading-xl-mobile-line:30px;--heading-xl-mobile-weight:700;--heading-h1-mobile-size:20px;--heading-h1-mobile-line:23px;--heading-h1-mobile-weight:600;--heading-h2-mobile-size:18px;--heading-h2-mobile-line:22px;--heading-h2-mobile-weight:600;--heading-h3-mobile-size:16px;--heading-h3-mobile-line:18px;--heading-h3-mobile-weight:600;--heading-h4-mobile-size:14px;--heading-h4-mobile-line:16px;--heading-h4-mobile-weight:600;--heading-h5-mobile-size:13px;--heading-h5-mobile-line:16px;--heading-h5-mobile-weight:500;--heading-h6-mobile-size:11px;--heading-h6-mobile-line:14px;--heading-h6-mobile-weight:500;--text-xl-size:20px;--text-xl-line:26px;--text-xl-weight:400;--text-large-size:18px;--text-large-line:24px;--text-large-weight:400;--text-regular-size:15px;--text-regular-line:20px;--text-regular-weight:400;--text-small-size:13px;--text-small-line:16px;--text-small-weight:400;--text-small-emphasis-weight:500;--text-small-bold-weight:600;--text-xs-size:10px;--text-xs-line:13px;--text-xs-weight:500;--text-xs-bold-weight:600}.new-form-input{align-items:flex-start;align-self:stretch;display:flex;flex-direction:column;gap:var(--spacing-sm);min-width:0;overflow:hidden;width:100%}.new-form-input__label{align-items:center;color:var(--label-primary);display:flex;font-size:15px;font-weight:600;justify-content:space-between;line-height:20px;width:100%}.new-form-input__label,.new-form-input__label-optional{font-family:var(--font-family-sans,\"Geist\",sans-serif);font-style:normal}.new-form-input__label-optional{color:var(--label-secondary);font-size:13px;font-weight:400;line-height:16px}.new-form-input__input{background-color:var(--surfaces-main-background-secondary);background:var(--surface-secondary);border:2px solid var(--border-primary);border-radius:var(--radius-md);box-sizing:border-box;color:var(--labels-main-label-primary,#121e52);color:var(--label-primary,#121e52);flex:1 1 0;font-family:var(--font-family-sans);font-size:var(--text-regular-size);font-weight:var(--text-regular-weight);line-height:var(--text-regular-line);min-height:40px;min-width:0;padding:8px 10px;transition:all .2s ease;width:100%}@media (max-width:768px){.new-form-input__input{font-size:16px}}.new-form-input__input:focus{background-color:var(--surfaces-main-background-secondary,#f8f8fa);border-color:var(--border-selected,#6200ee);outline:none}.new-form-input__input::placeholder{color:var(--labels-main-label-secondary,#626a90)}.new-form-input__input[type=date]::-webkit-datetime-edit-day-field,.new-form-input__input[type=date]::-webkit-datetime-edit-month-field,.new-form-input__input[type=date]::-webkit-datetime-edit-text,.new-form-input__input[type=date]::-webkit-datetime-edit-year-field,.new-form-input__input[type=time]::-webkit-datetime-edit-ampm-field,.new-form-input__input[type=time]::-webkit-datetime-edit-hour-field,.new-form-input__input[type=time]::-webkit-datetime-edit-minute-field,.new-form-input__input[type=time]::-webkit-datetime-edit-text{color:var(--label-primary,#121e52)}.new-form-input__textarea{background-color:var(--surfaces-main-background-secondary,#f8f8fa);border:1px solid var(--borders-main-border-primary,#e8e9ef);border-radius:var(--radius-md,4px);color:var(--labels-main-label-primary,#121e52);font-family:var(--font-family-sans,\"Geist\",sans-serif);font-size:var(--text-regular-size,15px);line-height:var(--text-regular-line,20px);min-height:120px;padding:8px 10px;resize:vertical;transition:all .2s ease;width:100%}@media (max-width:768px){.new-form-input__textarea{font-size:16px}}.new-form-input__textarea:focus{border-color:var(--border-selected,#6200ee);outline:none}.new-form-input__textarea::placeholder{color:var(--labels-main-label-secondary,#626a90)}.new-form-input__input-with-icon{align-items:center;background-color:var(--surfaces-main-background-secondary,#f8f8fa);border:2px solid var(--border-primary,#e8e9ef);border-radius:var(--radius-md,4px);display:flex;gap:var(--spacing-sm,8px);min-height:52px;padding:8px 10px;transition:all .2s ease;width:100%}.new-form-input__input-with-icon:focus-within{border-color:var(--border-selected,#6200ee)}.new-form-input__input-with-icon .icon{align-items:center;display:flex;flex-shrink:0;height:24px;justify-content:center;order:-1;width:24px}.new-form-input__input-with-icon--right .icon{order:1}.new-form-input__input-with-icon input{background
|
|
3
|
+
var css_248z = ":root{--font-family-sans:\"Geist\",-apple-system,BlinkMacSystemFont,\"Segoe UI\",\"Roboto\",\"Helvetica Neue\",Arial,sans-serif;--font-family-mono:\"Geist Mono\",ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,\"Liberation Mono\",\"Courier New\",monospace;--heading-xxl-size:44px;--heading-xxl-line:48px;--heading-xxl-weight:600;--heading-xl-size:32px;--heading-xl-line:36px;--heading-xl-weight:700;--heading-h1-size:24px;--heading-h1-line:28px;--heading-h1-weight:600;--heading-h2-size:20px;--heading-h2-line:24px;--heading-h2-weight:600;--heading-h3-size:17px;--heading-h3-line:20px;--heading-h3-weight:600;--heading-h4-size:15px;--heading-h4-line:18px;--heading-h4-weight:600;--heading-h5-size:13px;--heading-h5-line:16px;--heading-h5-weight:500;--heading-h6-size:11px;--heading-h6-line:14px;--heading-h6-weight:500;--heading-xxl-mobile-size:32px;--heading-xxl-mobile-line:36px;--heading-xxl-mobile-weight:600;--heading-xl-mobile-size:26px;--heading-xl-mobile-line:30px;--heading-xl-mobile-weight:700;--heading-h1-mobile-size:20px;--heading-h1-mobile-line:23px;--heading-h1-mobile-weight:600;--heading-h2-mobile-size:18px;--heading-h2-mobile-line:22px;--heading-h2-mobile-weight:600;--heading-h3-mobile-size:16px;--heading-h3-mobile-line:18px;--heading-h3-mobile-weight:600;--heading-h4-mobile-size:14px;--heading-h4-mobile-line:16px;--heading-h4-mobile-weight:600;--heading-h5-mobile-size:13px;--heading-h5-mobile-line:16px;--heading-h5-mobile-weight:500;--heading-h6-mobile-size:11px;--heading-h6-mobile-line:14px;--heading-h6-mobile-weight:500;--text-xl-size:20px;--text-xl-line:26px;--text-xl-weight:400;--text-large-size:18px;--text-large-line:24px;--text-large-weight:400;--text-regular-size:15px;--text-regular-line:20px;--text-regular-weight:400;--text-small-size:13px;--text-small-line:16px;--text-small-weight:400;--text-small-emphasis-weight:500;--text-small-bold-weight:600;--text-xs-size:10px;--text-xs-line:13px;--text-xs-weight:500;--text-xs-bold-weight:600}.new-form-input{align-items:flex-start;align-self:stretch;display:flex;flex-direction:column;gap:var(--spacing-sm);min-width:0;overflow:hidden;width:100%}.new-form-input__label{align-items:center;color:var(--label-primary);display:flex;font-size:15px;font-weight:600;justify-content:space-between;line-height:20px;width:100%}.new-form-input__label,.new-form-input__label-optional{font-family:var(--font-family-sans,\"Geist\",sans-serif);font-style:normal}.new-form-input__label-optional{color:var(--label-secondary);font-size:13px;font-weight:400;line-height:16px}.new-form-input__input{background-color:var(--surfaces-main-background-secondary);background:var(--surface-secondary);border:2px solid var(--border-primary);border-radius:var(--radius-md);box-sizing:border-box;color:var(--labels-main-label-primary,#121e52);color:var(--label-primary,#121e52);flex:1 1 0;font-family:var(--font-family-sans);font-size:var(--text-regular-size);font-weight:var(--text-regular-weight);line-height:var(--text-regular-line);min-height:40px;min-width:0;padding:8px 10px;transition:all .2s ease;width:100%}@media (max-width:768px){.new-form-input__input{font-size:16px}}.new-form-input__input:focus{background-color:var(--surfaces-main-background-secondary,#f8f8fa);border-color:var(--border-selected,#6200ee);outline:none}.new-form-input__input::placeholder{color:var(--labels-main-label-secondary,#626a90)}.new-form-input__input[type=date]::-webkit-datetime-edit-day-field,.new-form-input__input[type=date]::-webkit-datetime-edit-month-field,.new-form-input__input[type=date]::-webkit-datetime-edit-text,.new-form-input__input[type=date]::-webkit-datetime-edit-year-field,.new-form-input__input[type=time]::-webkit-datetime-edit-ampm-field,.new-form-input__input[type=time]::-webkit-datetime-edit-hour-field,.new-form-input__input[type=time]::-webkit-datetime-edit-minute-field,.new-form-input__input[type=time]::-webkit-datetime-edit-text{color:var(--label-primary,#121e52)}.new-form-input__textarea{background-color:var(--surfaces-main-background-secondary,#f8f8fa);border:1px solid var(--borders-main-border-primary,#e8e9ef);border-radius:var(--radius-md,4px);color:var(--labels-main-label-primary,#121e52);font-family:var(--font-family-sans,\"Geist\",sans-serif);font-size:var(--text-regular-size,15px);line-height:var(--text-regular-line,20px);min-height:120px;padding:8px 10px;resize:vertical;transition:all .2s ease;width:100%}@media (max-width:768px){.new-form-input__textarea{font-size:16px}}.new-form-input__textarea:focus{border-color:var(--border-selected,#6200ee);outline:none}.new-form-input__textarea::placeholder{color:var(--labels-main-label-secondary,#626a90)}.new-form-input__input-with-icon{align-items:center;background-color:var(--surfaces-main-background-secondary,#f8f8fa);border:2px solid var(--border-primary,#e8e9ef);border-radius:var(--radius-md,4px);display:flex;gap:var(--spacing-sm,8px);min-height:52px;padding:8px 10px;transition:all .2s ease;width:100%}.new-form-input__input-with-icon:focus-within{border-color:var(--border-selected,#6200ee)}.new-form-input__input-with-icon .icon{align-items:center;display:flex;flex-shrink:0;height:24px;justify-content:center;order:-1;width:24px}.new-form-input__input-with-icon--right .icon{order:1}.new-form-input__input-with-icon input{background:transparent;border:none;color:var(--label-primary);flex:1;font-family:var(--font-family-sans,\"Geist\",sans-serif);font-size:var(--text-regular-size,15px);line-height:var(--text-regular-line,20px)}@media (max-width:768px){.new-form-input__input-with-icon input{font-size:16px}}.new-form-input__input-with-icon input:focus{outline:none}.new-form-input__input-with-icon input::placeholder{color:var(--labels-main-label-secondary,#626a90)}.new-form-input__input-with-icon input[type=date]::-webkit-calendar-picker-indicator{-webkit-appearance:none;display:none}.new-form-input__input-with-icon input[type=date]::-webkit-inner-spin-button,.new-form-input__input-with-icon input[type=date]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.new-form-input__verification-code{display:flex;gap:var(--spacing-sm,8px);height:62px}.new-form-input__verification-code .code-input{background-color:var(--surfaces-main-background-secondary,#f8f8fa);border:2px solid var(--borders-main-border-primary,#e8e9ef);border-radius:var(--radius-md,4px);color:var(--labels-main-label-primary,#121e52);flex:1;font-family:var(--font-family-sans,\"Geist\",sans-serif);font-size:var(--text-lg-size,18px);font-weight:var(--heading-h3-weight,600);text-align:center;transition:all .2s ease}.new-form-input__verification-code .code-input:focus{border-color:var(--border-selected,#6200ee);outline:none}.new-form-input__helper-text{color:var(--label-secondary,#626a90);font-family:var(--font-family-sans,\"Geist\",sans-serif);font-size:var(--text-regular-size,15px);font-style:normal;font-weight:400;line-height:var(--text-regular-line,20px);margin-top:2px;min-width:max-content;white-space:nowrap}@media (max-width:768px){.new-form-input__helper-text{word-wrap:break-word;min-width:unset;white-space:normal}}.new-form-input__error-text{color:var(--labels-status-label-error,#ef4444);font-family:var(--font-family-sans,\"Geist\",sans-serif);font-size:11px;font-style:normal;font-weight:400;line-height:14px;margin-top:2px}.new-form-input--active .new-form-input__input{border-color:var(--border-selected,#6200ee)}.new-form-input--error .new-form-input__input{border-color:var(--borders-status-border-error,#ef4444)}.new-form-input--disabled{opacity:var(--opacity-50,.5);pointer-events:none}.new-form-input--on-surface .new-form-input__input,.new-form-input--on-surface .new-form-input__input-with-icon,.new-form-input--on-surface .new-form-input__textarea{background-color:var(--surface-primary,#fff);background:var(--surface-primary,#fff)}.new-form-input--on-surface .new-form-input__input-with-icon:focus,.new-form-input--on-surface .new-form-input__input-with-icon:focus-within,.new-form-input--on-surface .new-form-input__input:focus,.new-form-input--on-surface .new-form-input__input:focus-within,.new-form-input--on-surface .new-form-input__textarea:focus,.new-form-input--on-surface .new-form-input__textarea:focus-within{background-color:var(--surface-primary,#fff)}.new-form-input.dob-input .new-form-input__label{color:var(--label-secondary,#626a90)}.surface-context--secondary .new-form-input__input,.surface-context--secondary .new-form-input__input-with-icon,.surface-context--secondary .new-form-input__textarea{background-color:var(--surface-primary,#fff);background:var(--surface-primary,#fff)}.surface-context--secondary .new-form-input__input-with-icon:focus,.surface-context--secondary .new-form-input__input-with-icon:focus-within,.surface-context--secondary .new-form-input__input:focus,.surface-context--secondary .new-form-input__input:focus-within,.surface-context--secondary .new-form-input__textarea:focus,.surface-context--secondary .new-form-input__textarea:focus-within{background-color:var(--surface-primary,#fff)}";
|
|
4
4
|
styleInject(css_248z);
|
|
5
5
|
|
|
6
6
|
export { css_248z as default };
|
|
@@ -91,7 +91,8 @@ var ZoneForm = function(param) {
|
|
|
91
91
|
var form = useForm({
|
|
92
92
|
mode: 'onChange',
|
|
93
93
|
defaultValues: {
|
|
94
|
-
zoneRecurrences: []
|
|
94
|
+
zoneRecurrences: [],
|
|
95
|
+
sameStartTimeDaily: true
|
|
95
96
|
}
|
|
96
97
|
});
|
|
97
98
|
var reset = form.reset, setError = form.setError, handleSubmit = form.handleSubmit, watch = form.watch;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ZoneControl.d.ts","sourceRoot":"","sources":["../../../../src/zone/form/components/ZoneControl.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ZoneControl.d.ts","sourceRoot":"","sources":["../../../../src/zone/form/components/ZoneControl.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAAE,MAAM,4DAA4D,CAAA;AASrF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,SAAS,EAAE,OAAO,CAAA;IAClB,SAAS,EAAE,QAAQ,EAAE,GAAG,SAAS,CAAA;IACjC,QAAQ,EAAE,MAAM,CAAA;CACjB,CAAA;AAED,eAAO,MAAM,WAAW,GAAI,qCAIzB,gBAAgB,4CAyClB,CAAA"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
|
-
import { Row, Col } from 'react-bootstrap';
|
|
2
|
+
import { Row, Col, Form } from 'react-bootstrap';
|
|
3
|
+
import { useFormContext } from 'react-hook-form';
|
|
4
|
+
import { useTranslation } from 'react-i18next';
|
|
3
5
|
import { NameControl } from './NameControl.js';
|
|
4
6
|
import { ZoneTypeControl } from './ZoneTypeControl.js';
|
|
5
7
|
import { SortControl } from './SortControl.js';
|
|
@@ -8,8 +10,39 @@ import { DescriptionControl } from './DescriptionControl.js';
|
|
|
8
10
|
import { ZoneImageControl } from './ZoneImageControl.js';
|
|
9
11
|
import { GameDurationControl } from './GameDurationControl.js';
|
|
10
12
|
|
|
13
|
+
function _define_property(obj, key, value) {
|
|
14
|
+
if (key in obj) {
|
|
15
|
+
Object.defineProperty(obj, key, {
|
|
16
|
+
value: value,
|
|
17
|
+
enumerable: true,
|
|
18
|
+
configurable: true,
|
|
19
|
+
writable: true
|
|
20
|
+
});
|
|
21
|
+
} else {
|
|
22
|
+
obj[key] = value;
|
|
23
|
+
}
|
|
24
|
+
return obj;
|
|
25
|
+
}
|
|
26
|
+
function _object_spread(target) {
|
|
27
|
+
for(var i = 1; i < arguments.length; i++){
|
|
28
|
+
var source = arguments[i] != null ? arguments[i] : {};
|
|
29
|
+
var ownKeys = Object.keys(source);
|
|
30
|
+
if (typeof Object.getOwnPropertySymbols === "function") {
|
|
31
|
+
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
|
32
|
+
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
|
33
|
+
}));
|
|
34
|
+
}
|
|
35
|
+
ownKeys.forEach(function(key) {
|
|
36
|
+
_define_property(target, key, source[key]);
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
return target;
|
|
40
|
+
}
|
|
11
41
|
var ZoneControl = function(param) {
|
|
12
42
|
var isLoading = param.isLoading, workHours = param.workHours, timeZone = param.timeZone;
|
|
43
|
+
var _useFormContext = useFormContext(), register = _useFormContext.register, watch = _useFormContext.watch, setValue = _useFormContext.setValue;
|
|
44
|
+
var t = useTranslation('Design').t;
|
|
45
|
+
var sameStartTimeDaily = watch('sameStartTimeDaily');
|
|
13
46
|
return /*#__PURE__*/ jsx(Row, {
|
|
14
47
|
children: /*#__PURE__*/ jsxs(Col, {
|
|
15
48
|
md: 6,
|
|
@@ -19,6 +52,25 @@ var ZoneControl = function(param) {
|
|
|
19
52
|
/*#__PURE__*/ jsx(NameControl, {
|
|
20
53
|
isLoading: isLoading
|
|
21
54
|
}),
|
|
55
|
+
/*#__PURE__*/ jsxs(Form.Group, {
|
|
56
|
+
children: [
|
|
57
|
+
/*#__PURE__*/ jsx("input", _object_spread({
|
|
58
|
+
type: "hidden"
|
|
59
|
+
}, register('sameStartTimeDaily'))),
|
|
60
|
+
/*#__PURE__*/ jsx(Form.Check, {
|
|
61
|
+
type: "switch",
|
|
62
|
+
id: "sameStartTimeDailySwitch",
|
|
63
|
+
label: t('sameStartTimeDaily'),
|
|
64
|
+
disabled: isLoading,
|
|
65
|
+
checked: sameStartTimeDaily === true || sameStartTimeDaily === 'true',
|
|
66
|
+
onChange: function(e) {
|
|
67
|
+
return setValue('sameStartTimeDaily', e.target.checked, {
|
|
68
|
+
shouldDirty: true
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
})
|
|
72
|
+
]
|
|
73
|
+
}),
|
|
22
74
|
/*#__PURE__*/ jsx(ZoneRecurrencesControl, {
|
|
23
75
|
workHours: workHours,
|
|
24
76
|
timeZone: timeZone
|
package/package.json
CHANGED
|
@@ -32,7 +32,7 @@ export const ZoneForm = ({
|
|
|
32
32
|
const { t } = useTranslation('Design')
|
|
33
33
|
const form = useForm<ZoneFormValues>({
|
|
34
34
|
mode: 'onChange',
|
|
35
|
-
defaultValues: { zoneRecurrences: [] },
|
|
35
|
+
defaultValues: { zoneRecurrences: [], sameStartTimeDaily: true },
|
|
36
36
|
})
|
|
37
37
|
|
|
38
38
|
const { reset, setError, handleSubmit, watch } = form
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import { Row, Col } from 'react-bootstrap'
|
|
1
|
+
import { Row, Col, Form } from 'react-bootstrap'
|
|
2
|
+
import { useFormContext } from 'react-hook-form'
|
|
3
|
+
import { useTranslation } from 'react-i18next'
|
|
2
4
|
import { WorkHour } from '@licklist/core/dist/DataMapper/Provider/WorkHourDataMapper'
|
|
3
5
|
import { NameControl } from './NameControl'
|
|
4
6
|
import { ZoneTypeControl } from './ZoneTypeControl'
|
|
@@ -18,10 +20,26 @@ export const ZoneControl = ({
|
|
|
18
20
|
isLoading,
|
|
19
21
|
workHours,
|
|
20
22
|
timeZone,
|
|
21
|
-
}: ZoneControlProps) =>
|
|
23
|
+
}: ZoneControlProps) => {
|
|
24
|
+
const { register, watch, setValue } = useFormContext()
|
|
25
|
+
const { t } = useTranslation('Design')
|
|
26
|
+
const sameStartTimeDaily = watch('sameStartTimeDaily')
|
|
27
|
+
|
|
28
|
+
return (
|
|
22
29
|
<Row>
|
|
23
30
|
<Col md={6} sm={12} className='pr-5'>
|
|
24
31
|
<NameControl isLoading={isLoading} />
|
|
32
|
+
<Form.Group>
|
|
33
|
+
<input type='hidden' {...register('sameStartTimeDaily')} />
|
|
34
|
+
<Form.Check
|
|
35
|
+
type='switch'
|
|
36
|
+
id='sameStartTimeDailySwitch'
|
|
37
|
+
label={t('sameStartTimeDaily')}
|
|
38
|
+
disabled={isLoading}
|
|
39
|
+
checked={sameStartTimeDaily === true || sameStartTimeDaily === 'true'}
|
|
40
|
+
onChange={(e) => setValue('sameStartTimeDaily', e.target.checked, { shouldDirty: true })}
|
|
41
|
+
/>
|
|
42
|
+
</Form.Group>
|
|
25
43
|
<ZoneRecurrencesControl workHours={workHours} timeZone={timeZone} />
|
|
26
44
|
<hr />
|
|
27
45
|
<Row>
|
|
@@ -42,4 +60,5 @@ export const ZoneControl = ({
|
|
|
42
60
|
</Row>
|
|
43
61
|
</Col>
|
|
44
62
|
</Row>
|
|
45
|
-
)
|
|
63
|
+
)
|
|
64
|
+
}
|