@ztwoint/z-ui 0.1.122 → 0.1.124
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/components/assets/icons/index.d.ts +2 -0
- package/dist/components/assets/icons/left-square-bracket.d.ts +6 -0
- package/dist/components/assets/icons/left-square-bracket.js +23 -0
- package/dist/components/assets/icons/right-square-bracket.d.ts +6 -0
- package/dist/components/assets/icons/right-square-bracket.js +23 -0
- package/dist/components/table/components/cell/avatar-cell.js +13 -6
- package/dist/components/table/table-provider.js +7 -0
- package/dist/components/table-card/table-card.js +52 -45
- package/dist/components/z2map/components/index.d.ts +5 -0
- package/dist/components/z2map/components/map-controls.d.ts +12 -0
- package/dist/components/z2map/components/map-controls.js +29 -0
- package/dist/components/z2map/components/map-empty-state.d.ts +2 -0
- package/dist/components/z2map/components/map-empty-state.js +10 -0
- package/dist/components/z2map/components/map-loading-state.d.ts +8 -0
- package/dist/components/z2map/components/map-loading-state.js +45 -0
- package/dist/components/z2map/components/map-pin-content.d.ts +8 -0
- package/dist/components/z2map/components/map-pin-content.js +27 -0
- package/dist/components/z2map/components/map-pin.d.ts +19 -0
- package/dist/components/z2map/components/map-pin.js +116 -0
- package/dist/components/z2map/components/map-style-control.d.ts +8 -0
- package/dist/components/z2map/components/map-style-control.js +45 -0
- package/dist/components/z2map/components/map-zoom-control.d.ts +8 -0
- package/dist/components/z2map/components/map-zoom-control.js +49 -0
- package/dist/components/z2map/index.d.ts +9 -0
- package/dist/components/z2map/map.constants.d.ts +47 -0
- package/dist/components/z2map/map.constants.js +40 -0
- package/dist/components/z2map/map.d.ts +4 -0
- package/dist/components/z2map/map.hook.d.ts +33 -0
- package/dist/components/z2map/map.hook.js +99 -0
- package/dist/components/z2map/map.js +161 -0
- package/dist/components/z2map/map.type.d.ts +45 -0
- package/dist/components/z2map/map.utils.d.ts +10 -0
- package/dist/components/z2map/map.utils.js +37 -0
- package/dist/css/node_modules/mapbox-gl/dist/mapbox-gl.css +1 -0
- package/dist/css/styles/tailwind.css +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +221 -201
- package/dist/node_modules/@vis.gl/react-mapbox/dist/components/attribution-control.js +12 -0
- package/dist/node_modules/@vis.gl/react-mapbox/dist/components/fullscreen-control.js +12 -0
- package/dist/node_modules/@vis.gl/react-mapbox/dist/components/geolocate-control.js +30 -0
- package/dist/node_modules/@vis.gl/react-mapbox/dist/components/map.js +54 -0
- package/dist/node_modules/@vis.gl/react-mapbox/dist/components/marker.js +56 -0
- package/dist/node_modules/@vis.gl/react-mapbox/dist/components/navigation-control.js +12 -0
- package/dist/node_modules/@vis.gl/react-mapbox/dist/components/popup.js +35 -0
- package/dist/node_modules/@vis.gl/react-mapbox/dist/components/scale-control.js +14 -0
- package/dist/node_modules/@vis.gl/react-mapbox/dist/components/use-control.js +14 -0
- package/dist/node_modules/@vis.gl/react-mapbox/dist/components/use-map.js +6 -0
- package/dist/node_modules/@vis.gl/react-mapbox/dist/mapbox/create-ref.js +77 -0
- package/dist/node_modules/@vis.gl/react-mapbox/dist/mapbox/mapbox.js +315 -0
- package/dist/node_modules/@vis.gl/react-mapbox/dist/mapbox/proxy-transform.js +35 -0
- package/dist/node_modules/@vis.gl/react-mapbox/dist/utils/apply-react-style.js +13 -0
- package/dist/node_modules/@vis.gl/react-mapbox/dist/utils/compare-class-names.js +16 -0
- package/dist/node_modules/@vis.gl/react-mapbox/dist/utils/deep-equal.js +33 -0
- package/dist/node_modules/@vis.gl/react-mapbox/dist/utils/set-globals.js +18 -0
- package/dist/node_modules/@vis.gl/react-mapbox/dist/utils/style-utils.js +25 -0
- package/dist/node_modules/@vis.gl/react-mapbox/dist/utils/transform.js +40 -0
- package/dist/node_modules/@vis.gl/react-mapbox/dist/utils/use-isomorphic-layout-effect.js +5 -0
- package/dist/routes/map.d.ts +2 -0
- package/dist/types/components/assets/icons/index.d.ts +2 -0
- package/dist/types/components/assets/icons/left-square-bracket.d.ts +6 -0
- package/dist/types/components/assets/icons/right-square-bracket.d.ts +6 -0
- package/dist/types/components/z2map/components/index.d.ts +5 -0
- package/dist/types/components/z2map/components/map-controls.d.ts +12 -0
- package/dist/types/components/z2map/components/map-empty-state.d.ts +2 -0
- package/dist/types/components/z2map/components/map-loading-state.d.ts +8 -0
- package/dist/types/components/z2map/components/map-pin-content.d.ts +8 -0
- package/dist/types/components/z2map/components/map-pin.d.ts +19 -0
- package/dist/types/components/z2map/components/map-style-control.d.ts +8 -0
- package/dist/types/components/z2map/components/map-zoom-control.d.ts +8 -0
- package/dist/types/components/z2map/index.d.ts +9 -0
- package/dist/types/components/z2map/map.constants.d.ts +47 -0
- package/dist/types/components/z2map/map.d.ts +5 -0
- package/dist/types/components/z2map/map.hook.d.ts +33 -0
- package/dist/types/components/z2map/map.type.d.ts +45 -0
- package/dist/types/components/z2map/map.utils.d.ts +10 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/routes/map.d.ts +2 -0
- package/package.json +5 -1
package/dist/index.d.ts
CHANGED
|
@@ -30,5 +30,6 @@ export * from './components/dynamic-table';
|
|
|
30
30
|
export * from './components/chart';
|
|
31
31
|
export * from './components/chart-card';
|
|
32
32
|
export * from './components/radio-card/radio-card';
|
|
33
|
+
export * from './components/z2map';
|
|
33
34
|
export * from './lib/theme.hook';
|
|
34
35
|
export * from './lib/utils';
|
package/dist/index.js
CHANGED
|
@@ -1,283 +1,303 @@
|
|
|
1
1
|
/* empty css */
|
|
2
|
-
import { Alert as p, AlertDescription as
|
|
2
|
+
import { Alert as p, AlertDescription as n, AlertTitle as l } from "./components/alert/alert.js";
|
|
3
3
|
import { AlertCirclesIcon as m } from "./components/alert/icons/circles-icon.js";
|
|
4
4
|
import { Button as x, buttonVariants as i } from "./components/button/button.js";
|
|
5
5
|
import { Z2SideNavBarProvider as Z } from "./components/collapsible-side-nav-bar/side-nav-bar-provider.js";
|
|
6
|
-
import { Z2SideNavBar as s, Z2SidebarVariants as
|
|
6
|
+
import { Z2SideNavBar as s, Z2SidebarVariants as C } from "./components/collapsible-side-nav-bar/side-nav-bar.js";
|
|
7
7
|
import { Z2SideNavBarHeader as S } from "./components/collapsible-side-nav-bar/side-nav-bar-header.js";
|
|
8
|
-
import { Z2SideNavBarContent as
|
|
8
|
+
import { Z2SideNavBarContent as T } from "./components/collapsible-side-nav-bar/side-nav-bar-content.js";
|
|
9
9
|
import { Z2SideNavBarFooter as g } from "./components/collapsible-side-nav-bar/side-nav-bar-footer.js";
|
|
10
|
-
import { Z2SideNavBarGroup as
|
|
10
|
+
import { Z2SideNavBarGroup as B } from "./components/collapsible-side-nav-bar/side-nav-bar-group.js";
|
|
11
11
|
import { Z2SideNavBarItem as h } from "./components/collapsible-side-nav-bar/side-nav-bar-item.js";
|
|
12
|
-
import { Z2SideNavBarSeparator as
|
|
13
|
-
import { useZ2SideNavBar as
|
|
14
|
-
import { Z2Popover as
|
|
12
|
+
import { Z2SideNavBarSeparator as M } from "./components/collapsible-side-nav-bar/side-nav-bar-separator.js";
|
|
13
|
+
import { useZ2SideNavBar as R } from "./components/collapsible-side-nav-bar/context.js";
|
|
14
|
+
import { Z2Popover as E } from "./components/collapsible-side-nav-bar/popover/popover.js";
|
|
15
15
|
import "react/jsx-runtime";
|
|
16
|
-
import { default as k, default as
|
|
17
|
-
import { default as
|
|
18
|
-
import { default as
|
|
19
|
-
import { default as
|
|
20
|
-
import { default as
|
|
21
|
-
import { SIDEBAR_WIDTH as
|
|
16
|
+
import { default as k, default as N } from "./components/assets/icons/sub-nav-indicator.js";
|
|
17
|
+
import { default as _ } from "./components/assets/icons/circles-icon.js";
|
|
18
|
+
import { default as O, default as G } from "./components/assets/icons/database-copy.js";
|
|
19
|
+
import { default as W, default as U } from "./components/assets/icons/window-left-copy.js";
|
|
20
|
+
import { default as q, default as z } from "./components/assets/icons/sidebar-left-show-copy.js";
|
|
21
|
+
import { SIDEBAR_WIDTH as Q, SIDEBAR_WIDTH_COLLAPSED as Y } from "./components/collapsible-side-nav-bar/constants.js";
|
|
22
22
|
import { CountryFlags as K } from "./components/country-flags/country-flags.js";
|
|
23
23
|
import { Z2Checkbox as oo } from "./components/checkbox/checkbox.js";
|
|
24
|
-
import { Z2Dialog as ro, Z2DialogClose as to, Z2DialogContent as ao, Z2DialogDescription as po, Z2DialogFooter as
|
|
25
|
-
import { DropdownContext as Zo, Z2Dropdown as co, Z2DropdownContent as so, Z2DropdownInput as
|
|
26
|
-
import { Z2DropdownMenu as wo, Z2DropdownMenuCheckboxItem as
|
|
27
|
-
import { FileUploadArea as
|
|
28
|
-
import { DEFAULT_ACCEPT as
|
|
24
|
+
import { Z2Dialog as ro, Z2DialogClose as to, Z2DialogContent as ao, Z2DialogDescription as po, Z2DialogFooter as no, Z2DialogHeader as lo, Z2DialogOverlay as fo, Z2DialogPortal as mo, Z2DialogTitle as xo, Z2DialogTrigger as io } from "./components/dialog/dialog.js";
|
|
25
|
+
import { DropdownContext as Zo, Z2Dropdown as co, Z2DropdownContent as so, Z2DropdownInput as Co, Z2DropdownItem as bo, Z2DropdownSub as So, Z2DropdownSubContent as Io, Z2DropdownSubItem as To, Z2DropdownSubTrigger as Do } from "./components/dropdown/z2-dropdown.js";
|
|
26
|
+
import { Z2DropdownMenu as wo, Z2DropdownMenuCheckboxItem as Bo, Z2DropdownMenuContent as vo, Z2DropdownMenuGroup as ho, Z2DropdownMenuItem as Lo, Z2DropdownMenuLabel as Mo, Z2DropdownMenuPortal as Po, Z2DropdownMenuRadioGroup as Ro, Z2DropdownMenuRadioItem as Ao, Z2DropdownMenuSeparator as Eo, Z2DropdownMenuShortcut as yo, Z2DropdownMenuSub as ko, Z2DropdownMenuSubContent as No, Z2DropdownMenuSubTrigger as Ho, Z2DropdownMenuTrigger as _o } from "./components/dropdown-menu/z2-dropdown-menu.js";
|
|
27
|
+
import { FileUploadArea as Oo } from "./components/file-upload-area/file-upload-area.js";
|
|
28
|
+
import { DEFAULT_ACCEPT as Vo } from "./components/file-upload-area/file-upload-area.const.js";
|
|
29
29
|
import { Input as Uo } from "./components/input/input.js";
|
|
30
|
-
import { NavHeader as
|
|
31
|
-
import { NavItem as
|
|
32
|
-
import { Z2Select as
|
|
33
|
-
import { Z2Stepper as
|
|
30
|
+
import { NavHeader as qo } from "./components/nav-header/nav-header.js";
|
|
31
|
+
import { NavItem as Jo } from "./components/nav-header/nav-item/nav-item.js";
|
|
32
|
+
import { Z2Select as Yo, Z2SelectContent as jo, Z2SelectGroup as Ko, Z2SelectItem as $o, Z2SelectLabel as oe, Z2SelectScrollDownButton as ee, Z2SelectScrollUpButton as re, Z2SelectSeparator as te, Z2SelectTrigger as ae, Z2SelectValue as pe } from "./components/select/z2-select.js";
|
|
33
|
+
import { Z2Stepper as le } from "./components/stepper/stepper.js";
|
|
34
34
|
import { Z2StepperItem as me } from "./components/stepper-item/stepper-item.js";
|
|
35
35
|
import { Z2Tabs as xe, Z2TabsContent as ie, Z2TabsList as ue, Z2TabsTrigger as Ze } from "./components/tab/tab.js";
|
|
36
|
-
import { Table as se, TableProvider as
|
|
36
|
+
import { Table as se, TableProvider as Ce } from "./components/table/table-provider.js";
|
|
37
37
|
import { TableBody as Se } from "./components/table/table.js";
|
|
38
|
-
import { extractCellValue as
|
|
38
|
+
import { extractCellValue as Te } from "./components/table/table.utils.js";
|
|
39
39
|
import { DEFAULT_EMPTY_MESSAGE as ge, TABLE_CSS_CLASSES as we } from "./components/table/table.const.js";
|
|
40
|
-
import { TableContext as
|
|
41
|
-
import { TableCell as
|
|
42
|
-
import { NumberCell as
|
|
43
|
-
import { BooleanCell as
|
|
40
|
+
import { TableContext as ve, useTableContext as he } from "./components/table/table.context.js";
|
|
41
|
+
import { TableCell as Me } from "./components/table/components/table-cell.js";
|
|
42
|
+
import { NumberCell as Re } from "./components/table/components/cell/number-cell.js";
|
|
43
|
+
import { BooleanCell as Ee } from "./components/table/components/cell/boolean-cell.js";
|
|
44
44
|
import { LinkCell as ke } from "./components/table/components/cell/link-cell.js";
|
|
45
|
-
import { DescriptionCell as
|
|
45
|
+
import { DescriptionCell as He } from "./components/table/components/cell/description-cell.js";
|
|
46
46
|
import { AvatarCell as Fe } from "./components/table/components/cell/avatar-cell.js";
|
|
47
47
|
import { LabelCell as Ge } from "./components/table/components/cell/label-cell.js";
|
|
48
|
-
import { TableHeader as
|
|
48
|
+
import { TableHeader as We } from "./components/table/components/table-header/table-header.js";
|
|
49
49
|
import { default as Xe } from "./components/assets/icons/chevron-down.js";
|
|
50
|
-
import { TableRow as
|
|
51
|
-
import { TableMessageState as
|
|
52
|
-
import { TableLoadingState as
|
|
50
|
+
import { TableRow as ze } from "./components/table/components/table-row.js";
|
|
51
|
+
import { TableMessageState as Qe } from "./components/table/components/table-message-state.js";
|
|
52
|
+
import { TableLoadingState as je } from "./components/table/components/table-loading-state.js";
|
|
53
53
|
import { Pagination as $e } from "./components/table/components/pagination/pagination.js";
|
|
54
54
|
import { TableHeaderWrapper as er } from "./components/table/components/table-header-wrapper.js";
|
|
55
55
|
import { TableHeaderContent as tr } from "./components/table/components/table-header-content.js";
|
|
56
56
|
import { TableFooter as pr } from "./components/table/components/table-footer.js";
|
|
57
|
-
import { TableFooterContent as
|
|
57
|
+
import { TableFooterContent as lr } from "./components/table/components/table-footer-content.js";
|
|
58
58
|
import { MagnifierIcon as mr } from "./components/assets/icons/magnifier-icon.js";
|
|
59
59
|
import { PaginationInfo as xr } from "./components/table/components/pagination/components/pagination-info.js";
|
|
60
60
|
import { PaginationQuickJumper as ur } from "./components/table/components/pagination/components/pagination-quick-jumper.js";
|
|
61
61
|
import "react";
|
|
62
62
|
import { Z2Tooltip as cr } from "./components/tooltip/tooltip.js";
|
|
63
|
-
import { default as
|
|
64
|
-
import { Badge as Sr, badgeVariants as
|
|
63
|
+
import { default as Cr } from "./components/table-card/table-card.js";
|
|
64
|
+
import { Badge as Sr, badgeVariants as Ir } from "./components/badge/badge.js";
|
|
65
65
|
import { Avatar as Dr, AvatarWithLabel as gr } from "./components/avatar/avatar.js";
|
|
66
|
-
import { Z2TextPreset as
|
|
66
|
+
import { Z2TextPreset as Br } from "./components/text-preset/text-preset.js";
|
|
67
67
|
import { ColumnReOrder as hr } from "./components/column-reorder/column-reorder.js";
|
|
68
|
-
import { default as
|
|
69
|
-
import { Z2Breadcrumb as
|
|
70
|
-
import { Z2RadioGroup as Fr, Z2RadioGroupIndicator as
|
|
71
|
-
import { default as
|
|
68
|
+
import { default as Mr } from "./components/tree-checkbox-select/TreeCheckboxSelect.js";
|
|
69
|
+
import { Z2Breadcrumb as Rr, Z2BreadcrumbEllipsis as Ar, Z2BreadcrumbItem as Er, Z2BreadcrumbLink as yr, Z2BreadcrumbList as kr, Z2BreadcrumbPage as Nr, Z2BreadcrumbSeparator as Hr } from "./components/breadcrumb/z2-breadcrumb.js";
|
|
70
|
+
import { Z2RadioGroup as Fr, Z2RadioGroupIndicator as Or, Z2RadioGroupItem as Gr } from "./components/radio/z2-radio.js";
|
|
71
|
+
import { default as Wr } from "./components/assets/icons/apartment-building.js";
|
|
72
72
|
import { Check as Xr } from "./components/assets/icons/check.js";
|
|
73
|
-
import { default as
|
|
74
|
-
import { default as
|
|
75
|
-
import { default as
|
|
73
|
+
import { default as zr } from "./components/assets/icons/chevron-left.js";
|
|
74
|
+
import { default as Qr } from "./components/assets/icons/chevron-right.js";
|
|
75
|
+
import { default as jr } from "./components/assets/icons/circle-check-filled.js";
|
|
76
76
|
import { default as $r } from "./components/assets/icons/circle-check.js";
|
|
77
77
|
import { default as et } from "./components/assets/icons/dots.js";
|
|
78
78
|
import { default as tt } from "./components/assets/icons/double-chevron-left.js";
|
|
79
79
|
import { default as pt } from "./components/assets/icons/double-chevron-right.js";
|
|
80
|
-
import { default as
|
|
80
|
+
import { default as lt } from "./components/assets/icons/drag-handle.js";
|
|
81
81
|
import { default as mt } from "./components/assets/icons/home.js";
|
|
82
82
|
import { InfoIcon as xt } from "./components/assets/icons/info-icon.js";
|
|
83
83
|
import { default as ut } from "./components/assets/icons/left-arrow.js";
|
|
84
84
|
import { default as ct } from "./components/assets/icons/link.js";
|
|
85
|
-
import { default as
|
|
85
|
+
import { default as Ct } from "./components/assets/icons/list-tree.js";
|
|
86
86
|
import { default as St } from "./components/assets/icons/media-record.js";
|
|
87
|
-
import { Minus as
|
|
87
|
+
import { Minus as Tt } from "./components/assets/icons/minus.js";
|
|
88
88
|
import { default as gt } from "./components/assets/icons/octagon-warning-Copy.js";
|
|
89
|
-
import { default as
|
|
89
|
+
import { default as Bt } from "./components/assets/icons/pin.js";
|
|
90
90
|
import { default as ht } from "./components/assets/icons/sitemap.js";
|
|
91
|
-
import { default as
|
|
92
|
-
import { default as
|
|
93
|
-
import { default as
|
|
91
|
+
import { default as Mt } from "./components/assets/icons/slider.js";
|
|
92
|
+
import { default as Rt } from "./components/assets/icons/upload.js";
|
|
93
|
+
import { default as Et } from "./components/assets/icons/vector.js";
|
|
94
94
|
import { XMark as kt } from "./components/assets/icons/x-mark.js";
|
|
95
|
-
import { default as
|
|
95
|
+
import { default as Ht } from "./components/assets/icons/x.js";
|
|
96
96
|
import { default as Ft } from "./components/assets/icons/z2-icon.js";
|
|
97
97
|
import { default as Gt } from "./components/assets/icons/z2-slash.js";
|
|
98
|
-
import { default as
|
|
98
|
+
import { default as Wt } from "./components/assets/icons/z2data.js";
|
|
99
99
|
import { default as Xt } from "./components/assets/icons/vector_3.js";
|
|
100
|
-
import { default as
|
|
101
|
-
import { default as
|
|
102
|
-
import { default as
|
|
100
|
+
import { default as zt } from "./components/assets/icons/table-cols-2.js";
|
|
101
|
+
import { default as Qt } from "./components/assets/icons/triangle-warning.js";
|
|
102
|
+
import { default as jt } from "./components/assets/icons/arrow-left.js";
|
|
103
103
|
import { default as $t } from "./components/assets/icons/filter-icon.js";
|
|
104
104
|
import { default as ea } from "./components/assets/icons/descending.js";
|
|
105
105
|
import { default as ta } from "./components/assets/icons/chain.js";
|
|
106
106
|
import { default as pa } from "./components/assets/icons/eraser.js";
|
|
107
|
-
import {
|
|
108
|
-
import {
|
|
109
|
-
import {
|
|
110
|
-
import {
|
|
111
|
-
import {
|
|
112
|
-
import {
|
|
113
|
-
import {
|
|
114
|
-
import {
|
|
115
|
-
import {
|
|
116
|
-
import {
|
|
117
|
-
import {
|
|
118
|
-
import {
|
|
119
|
-
import {
|
|
120
|
-
import {
|
|
121
|
-
import {
|
|
122
|
-
import {
|
|
123
|
-
import {
|
|
124
|
-
import {
|
|
125
|
-
import {
|
|
126
|
-
import {
|
|
107
|
+
import { default as la } from "./components/assets/icons/left-square-bracket.js";
|
|
108
|
+
import { default as ma } from "./components/assets/icons/right-square-bracket.js";
|
|
109
|
+
import { SegmentedControl as xa } from "./components/segmented-control/controller.js";
|
|
110
|
+
import { SegmentedControlItem as ua } from "./components/segmented-control/item.js";
|
|
111
|
+
import { Popover as ca, PopoverAnchor as sa, PopoverContent as Ca, PopoverTrigger as ba } from "./components/popover/popover.js";
|
|
112
|
+
import { Z2Table as Ia, Z2TableBase as Ta, Z2TableBody as Da, Z2TableBodyRow as ga, Z2TableBodyRowCell as wa, Z2TableBodyRowExpandded as Ba, Z2TableBodyRowSkeleton as va, Z2TableBodyRowSkeletonCell as ha, Z2TableEmpty as La, Z2TableHead as Ma, Z2TableHeadRow as Pa, Z2TableHeadRowCell as Ra, Z2TableHeadRowCellResize as Aa, Z2TableLoader as Ea, Z2TableRowSelect as ya, Z2TableRowSelectAll as ka, Z2TableRowSpacer as Na } from "./components/dynamic-table/z2-table.js";
|
|
113
|
+
import { Z2TableContainer as _a, Z2TableProvider as Fa, Z2TableRoot as Oa, useZ2Table as Ga } from "./components/dynamic-table/z2-table-context.js";
|
|
114
|
+
import { Z2TablePagination as Wa } from "./components/dynamic-table/z2-table-pagination.js";
|
|
115
|
+
import { Z2TableColumnHeader as Xa } from "./components/dynamic-table/z2-column-header.js";
|
|
116
|
+
import { Chart as za } from "./components/chart/chart.js";
|
|
117
|
+
import { ChartCard as Qa } from "./components/chart-card/chart-card.js";
|
|
118
|
+
import { EmptyState as ja, ErrorState as Ka, LoadingState as $a } from "./components/chart-card/chart-card-states.js";
|
|
119
|
+
import { COLOR_PALETTES as ep, UI_COLORS as rp, getThemePalette as tp } from "./components/chart-card/config/colors.js";
|
|
120
|
+
import { validateChartConfig as pp, validateChartData as np } from "./components/chart-card/validators/config-validator.js";
|
|
121
|
+
import { buildBarChartOptions as fp } from "./components/chart-card/builders/bar-chart-builder.js";
|
|
122
|
+
import { buildLineChartOptions as dp } from "./components/chart-card/builders/line-chart-builder.js";
|
|
123
|
+
import { buildChartOptions as ip, isChartTypeSupported as up, registeredChartTypes as Zp } from "./components/chart-card/builders/chart-builder-factory.js";
|
|
124
|
+
import { Z2RadioCard as sp } from "./components/radio-card/radio-card.js";
|
|
125
|
+
import { default as bp } from "./components/z2map/map.js";
|
|
126
|
+
import { DEFAULT_MAP_CONFIG as Ip, MAP_VARIANTS as Tp, PIN_SIZES as Dp } from "./components/z2map/map.constants.js";
|
|
127
|
+
import { MapPinComponent as wp } from "./components/z2map/components/map-pin.js";
|
|
128
|
+
import { MapPinContent as vp } from "./components/z2map/components/map-pin-content.js";
|
|
129
|
+
import { MapControls as Lp } from "./components/z2map/components/map-controls.js";
|
|
130
|
+
import { MapZoomControl as Pp } from "./components/z2map/components/map-zoom-control.js";
|
|
131
|
+
import { MapStyleControl as Ap } from "./components/z2map/components/map-style-control.js";
|
|
132
|
+
import { useTheme as yp } from "./lib/theme.hook.js";
|
|
133
|
+
import { cn as Np } from "./lib/utils.js";
|
|
134
|
+
import { Z2PopoverTrigger as _p } from "./components/collapsible-side-nav-bar/popover/popover-trigger.js";
|
|
135
|
+
import { Z2PopoverContent as Op } from "./components/collapsible-side-nav-bar/popover/popover-content.js";
|
|
127
136
|
export {
|
|
128
137
|
p as Alert,
|
|
129
138
|
m as AlertCirclesIcon,
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
139
|
+
n as AlertDescription,
|
|
140
|
+
l as AlertTitle,
|
|
141
|
+
Wr as ApartmentBuildingIcon,
|
|
142
|
+
jt as ArrowLeftIcon,
|
|
134
143
|
Dr as Avatar,
|
|
135
144
|
Fe as AvatarCell,
|
|
136
145
|
gr as AvatarWithLabel,
|
|
137
146
|
Sr as Badge,
|
|
138
|
-
|
|
147
|
+
Ee as BooleanCell,
|
|
139
148
|
x as Button,
|
|
140
|
-
|
|
149
|
+
ep as COLOR_PALETTES,
|
|
141
150
|
ta as ChainIcon,
|
|
142
|
-
|
|
143
|
-
|
|
151
|
+
za as Chart,
|
|
152
|
+
Qa as ChartCard,
|
|
144
153
|
Xr as CheckIcon,
|
|
145
154
|
Xe as ChevronDownIcon,
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
155
|
+
zr as ChevronLeftIcon,
|
|
156
|
+
Qr as ChevronRightIcon,
|
|
157
|
+
jr as CircleCheckFilledIcon,
|
|
149
158
|
$r as CircleCheckIcon,
|
|
150
|
-
|
|
159
|
+
_ as CirclesIcon,
|
|
151
160
|
hr as ColumnReOrder,
|
|
152
161
|
K as CountryFlags,
|
|
153
|
-
|
|
162
|
+
Vo as DEFAULT_ACCEPT,
|
|
154
163
|
ge as DEFAULT_EMPTY_MESSAGE,
|
|
155
|
-
|
|
164
|
+
Ip as DEFAULT_MAP_CONFIG,
|
|
165
|
+
O as DatabaseCopy,
|
|
156
166
|
G as DatabaseCopyIcon,
|
|
157
167
|
ea as DescendingSortingIcon,
|
|
158
|
-
|
|
168
|
+
He as DescriptionCell,
|
|
159
169
|
et as DotsIcon,
|
|
160
170
|
tt as DoubleChevronLeftIcon,
|
|
161
171
|
pt as DoubleChevronRightIcon,
|
|
162
|
-
|
|
172
|
+
lt as DragHandleIcon,
|
|
163
173
|
Zo as DropdownContext,
|
|
164
|
-
|
|
174
|
+
ja as EmptyState,
|
|
165
175
|
pa as EraserIcon,
|
|
166
|
-
|
|
167
|
-
|
|
176
|
+
Ka as ErrorState,
|
|
177
|
+
Oo as FileUploadArea,
|
|
168
178
|
$t as FilterIcon,
|
|
169
179
|
mt as HomeIcon,
|
|
170
180
|
xt as InfoIcon,
|
|
171
181
|
Uo as Input,
|
|
172
182
|
Ge as LabelCell,
|
|
173
183
|
ut as LeftArrowIcon,
|
|
184
|
+
la as LeftSquareBracketIcon,
|
|
174
185
|
ke as LinkCell,
|
|
175
186
|
ct as LinkIcon,
|
|
176
|
-
|
|
177
|
-
|
|
187
|
+
Ct as ListTreeIcon,
|
|
188
|
+
$a as LoadingState,
|
|
189
|
+
Tp as MAP_VARIANTS,
|
|
178
190
|
mr as MagnifierIcon,
|
|
191
|
+
Lp as MapControls,
|
|
192
|
+
wp as MapPinComponent,
|
|
193
|
+
vp as MapPinContent,
|
|
194
|
+
Ap as MapStyleControl,
|
|
195
|
+
Pp as MapZoomControl,
|
|
179
196
|
St as MediaRecordIcon,
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
197
|
+
Tt as MinusIcon,
|
|
198
|
+
qo as NavHeader,
|
|
199
|
+
Jo as NavItem,
|
|
200
|
+
Re as NumberCell,
|
|
184
201
|
gt as OctagonWarningIcon,
|
|
202
|
+
Dp as PIN_SIZES,
|
|
185
203
|
xr as PaginationInfo,
|
|
186
204
|
ur as PaginationQuickJumper,
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
205
|
+
Bt as PinIcon,
|
|
206
|
+
ca as Popover,
|
|
207
|
+
sa as PopoverAnchor,
|
|
208
|
+
Ca as PopoverContent,
|
|
209
|
+
ba as PopoverTrigger,
|
|
210
|
+
ma as RightSquareBracketIcon,
|
|
211
|
+
Q as SIDEBAR_WIDTH,
|
|
212
|
+
Y as SIDEBAR_WIDTH_COLLAPSED,
|
|
213
|
+
xa as SegmentedControl,
|
|
214
|
+
ua as SegmentedControlItem,
|
|
215
|
+
q as SidebarLeftShowCopy,
|
|
216
|
+
z as SidebarLeftShowCopyIcon,
|
|
198
217
|
ht as SitemapIcon,
|
|
199
|
-
|
|
218
|
+
Mt as SliderIcon,
|
|
200
219
|
k as SubNavIndicator,
|
|
201
|
-
|
|
220
|
+
N as SubNavIndicatorIcon,
|
|
202
221
|
we as TABLE_CSS_CLASSES,
|
|
203
222
|
se as Table,
|
|
204
223
|
Se as TableBody,
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
224
|
+
Cr as TableCard,
|
|
225
|
+
Me as TableCell,
|
|
226
|
+
zt as TableCols2Icon,
|
|
227
|
+
ve as TableContext,
|
|
209
228
|
pr as TableFooter,
|
|
210
|
-
|
|
211
|
-
|
|
229
|
+
lr as TableFooterContent,
|
|
230
|
+
We as TableHeader,
|
|
212
231
|
tr as TableHeaderContent,
|
|
213
232
|
er as TableHeaderWrapper,
|
|
214
|
-
|
|
215
|
-
|
|
233
|
+
je as TableLoadingState,
|
|
234
|
+
Qe as TableMessageState,
|
|
216
235
|
$e as TablePagination,
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
236
|
+
Ce as TableProvider,
|
|
237
|
+
ze as TableRow,
|
|
238
|
+
Mr as TreeCheckboxSelect,
|
|
239
|
+
Qt as TriangleWarningIcon,
|
|
240
|
+
rp as UI_COLORS,
|
|
241
|
+
Rt as UploadIcon,
|
|
223
242
|
Xt as Vector3Icon,
|
|
224
|
-
|
|
225
|
-
|
|
243
|
+
Et as VectorIcon,
|
|
244
|
+
W as WindowLeftCopy,
|
|
226
245
|
U as WindowLeftCopyIcon,
|
|
227
|
-
|
|
246
|
+
Ht as XIcon,
|
|
228
247
|
kt as XMarkIcon,
|
|
229
|
-
|
|
248
|
+
Rr as Z2Breadcrumb,
|
|
230
249
|
Ar as Z2BreadcrumbEllipsis,
|
|
231
|
-
|
|
232
|
-
|
|
250
|
+
Er as Z2BreadcrumbItem,
|
|
251
|
+
yr as Z2BreadcrumbLink,
|
|
233
252
|
kr as Z2BreadcrumbList,
|
|
234
|
-
|
|
235
|
-
|
|
253
|
+
Nr as Z2BreadcrumbPage,
|
|
254
|
+
Hr as Z2BreadcrumbSeparator,
|
|
236
255
|
oo as Z2Checkbox,
|
|
237
|
-
|
|
256
|
+
Wt as Z2DataIcon,
|
|
238
257
|
ro as Z2Dialog,
|
|
239
258
|
to as Z2DialogClose,
|
|
240
259
|
ao as Z2DialogContent,
|
|
241
260
|
po as Z2DialogDescription,
|
|
242
|
-
|
|
243
|
-
|
|
261
|
+
no as Z2DialogFooter,
|
|
262
|
+
lo as Z2DialogHeader,
|
|
244
263
|
fo as Z2DialogOverlay,
|
|
245
264
|
mo as Z2DialogPortal,
|
|
246
265
|
xo as Z2DialogTitle,
|
|
247
266
|
io as Z2DialogTrigger,
|
|
248
267
|
co as Z2Dropdown,
|
|
249
268
|
so as Z2DropdownContent,
|
|
250
|
-
|
|
251
|
-
|
|
269
|
+
Co as Z2DropdownInput,
|
|
270
|
+
bo as Z2DropdownItem,
|
|
252
271
|
wo as Z2DropdownMenu,
|
|
253
|
-
|
|
254
|
-
|
|
272
|
+
Bo as Z2DropdownMenuCheckboxItem,
|
|
273
|
+
vo as Z2DropdownMenuContent,
|
|
255
274
|
ho as Z2DropdownMenuGroup,
|
|
256
275
|
Lo as Z2DropdownMenuItem,
|
|
257
|
-
|
|
276
|
+
Mo as Z2DropdownMenuLabel,
|
|
258
277
|
Po as Z2DropdownMenuPortal,
|
|
259
|
-
|
|
278
|
+
Ro as Z2DropdownMenuRadioGroup,
|
|
260
279
|
Ao as Z2DropdownMenuRadioItem,
|
|
261
|
-
|
|
262
|
-
|
|
280
|
+
Eo as Z2DropdownMenuSeparator,
|
|
281
|
+
yo as Z2DropdownMenuShortcut,
|
|
263
282
|
ko as Z2DropdownMenuSub,
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
283
|
+
No as Z2DropdownMenuSubContent,
|
|
284
|
+
Ho as Z2DropdownMenuSubTrigger,
|
|
285
|
+
_o as Z2DropdownMenuTrigger,
|
|
267
286
|
So as Z2DropdownSub,
|
|
268
|
-
|
|
269
|
-
|
|
287
|
+
Io as Z2DropdownSubContent,
|
|
288
|
+
To as Z2DropdownSubItem,
|
|
270
289
|
Do as Z2DropdownSubTrigger,
|
|
271
290
|
Ft as Z2Icon,
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
291
|
+
bp as Z2Map,
|
|
292
|
+
E as Z2Popover,
|
|
293
|
+
Op as Z2PopoverContent,
|
|
294
|
+
_p as Z2PopoverTrigger,
|
|
295
|
+
sp as Z2RadioCard,
|
|
276
296
|
Fr as Z2RadioGroup,
|
|
277
|
-
|
|
297
|
+
Or as Z2RadioGroupIndicator,
|
|
278
298
|
Gr as Z2RadioGroupItem,
|
|
279
|
-
|
|
280
|
-
|
|
299
|
+
Yo as Z2Select,
|
|
300
|
+
jo as Z2SelectContent,
|
|
281
301
|
Ko as Z2SelectGroup,
|
|
282
302
|
$o as Z2SelectItem,
|
|
283
303
|
oe as Z2SelectLabel,
|
|
@@ -287,59 +307,59 @@ export {
|
|
|
287
307
|
ae as Z2SelectTrigger,
|
|
288
308
|
pe as Z2SelectValue,
|
|
289
309
|
s as Z2SideNavBar,
|
|
290
|
-
|
|
310
|
+
T as Z2SideNavBarContent,
|
|
291
311
|
g as Z2SideNavBarFooter,
|
|
292
|
-
|
|
312
|
+
B as Z2SideNavBarGroup,
|
|
293
313
|
S as Z2SideNavBarHeader,
|
|
294
314
|
h as Z2SideNavBarItem,
|
|
295
315
|
Z as Z2SideNavBarProvider,
|
|
296
|
-
|
|
297
|
-
|
|
316
|
+
M as Z2SideNavBarSeparator,
|
|
317
|
+
C as Z2SidebarVariants,
|
|
298
318
|
Gt as Z2SlashIcon,
|
|
299
|
-
|
|
319
|
+
le as Z2Stepper,
|
|
300
320
|
me as Z2StepperItem,
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
321
|
+
Ia as Z2Table,
|
|
322
|
+
Ta as Z2TableBase,
|
|
323
|
+
Da as Z2TableBody,
|
|
324
|
+
ga as Z2TableBodyRow,
|
|
325
|
+
wa as Z2TableBodyRowCell,
|
|
326
|
+
Ba as Z2TableBodyRowExpandded,
|
|
327
|
+
va as Z2TableBodyRowSkeleton,
|
|
328
|
+
ha as Z2TableBodyRowSkeletonCell,
|
|
329
|
+
Xa as Z2TableColumnHeader,
|
|
330
|
+
_a as Z2TableContainer,
|
|
331
|
+
La as Z2TableEmpty,
|
|
332
|
+
Ma as Z2TableHead,
|
|
333
|
+
Pa as Z2TableHeadRow,
|
|
334
|
+
Ra as Z2TableHeadRowCell,
|
|
335
|
+
Aa as Z2TableHeadRowCellResize,
|
|
336
|
+
Ea as Z2TableLoader,
|
|
337
|
+
Wa as Z2TablePagination,
|
|
338
|
+
Fa as Z2TableProvider,
|
|
339
|
+
Oa as Z2TableRoot,
|
|
340
|
+
ya as Z2TableRowSelect,
|
|
341
|
+
ka as Z2TableRowSelectAll,
|
|
342
|
+
Na as Z2TableRowSpacer,
|
|
323
343
|
xe as Z2Tabs,
|
|
324
344
|
ie as Z2TabsContent,
|
|
325
345
|
ue as Z2TabsList,
|
|
326
346
|
Ze as Z2TabsTrigger,
|
|
327
|
-
|
|
347
|
+
Br as Z2TextPreset,
|
|
328
348
|
cr as Z2Tooltip,
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
349
|
+
Ir as badgeVariants,
|
|
350
|
+
fp as buildBarChartOptions,
|
|
351
|
+
ip as buildChartOptions,
|
|
352
|
+
dp as buildLineChartOptions,
|
|
333
353
|
i as buttonVariants,
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
354
|
+
Np as cn,
|
|
355
|
+
Te as extractCellValue,
|
|
356
|
+
tp as getThemePalette,
|
|
357
|
+
up as isChartTypeSupported,
|
|
358
|
+
Zp as registeredChartTypes,
|
|
339
359
|
he as useTableContext,
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
360
|
+
yp as useTheme,
|
|
361
|
+
R as useZ2SideNavBar,
|
|
362
|
+
Ga as useZ2Table,
|
|
363
|
+
pp as validateChartConfig,
|
|
364
|
+
np as validateChartData
|
|
345
365
|
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { memo as i, useEffect as r } from "react";
|
|
2
|
+
import { applyReactStyle as e } from "../utils/apply-react-style.js";
|
|
3
|
+
import { useControl as l } from "./use-control.js";
|
|
4
|
+
function m(t) {
|
|
5
|
+
const o = l(({ mapLib: n }) => new n.AttributionControl(t), {
|
|
6
|
+
position: t.position
|
|
7
|
+
});
|
|
8
|
+
return r(() => {
|
|
9
|
+
e(o._container, t.style);
|
|
10
|
+
}, [t.style]), null;
|
|
11
|
+
}
|
|
12
|
+
i(m);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { memo as o, useEffect as l } from "react";
|
|
2
|
+
import { applyReactStyle as r } from "../utils/apply-react-style.js";
|
|
3
|
+
import { useControl as c } from "./use-control.js";
|
|
4
|
+
function i(t) {
|
|
5
|
+
const n = c(({ mapLib: e }) => new e.FullscreenControl({
|
|
6
|
+
container: t.containerId && document.getElementById(t.containerId)
|
|
7
|
+
}), { position: t.position });
|
|
8
|
+
return l(() => {
|
|
9
|
+
r(n._controlContainer, t.style);
|
|
10
|
+
}, [t.style]), null;
|
|
11
|
+
}
|
|
12
|
+
o(i);
|