@licklist/design 0.78.34 → 0.78.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +4 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8 -2
- package/dist/provider/location-input/LocationInput.js +1 -1
- package/dist/v2/components/ActionMenu/ActionMenu.d.ts.map +1 -1
- package/dist/v2/components/ActionMenu/ActionMenu.js +6 -16
- package/dist/v2/components/ActionMenu/ActionMenu.scss.js +1 -1
- package/dist/v2/components/Badge/Badge.d.ts +1 -0
- package/dist/v2/components/Badge/Badge.d.ts.map +1 -1
- package/dist/v2/components/Badge/Badge.js +2 -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/Checkbox/Checkbox.scss.js +1 -1
- package/dist/v2/components/FormField/FormField.d.ts +3 -0
- package/dist/v2/components/FormField/FormField.d.ts.map +1 -1
- package/dist/v2/components/FormField/FormField.js +14 -3
- package/dist/v2/components/FormField/FormField.scss.js +1 -1
- package/dist/v2/components/IconButton/IconButton.d.ts +9 -0
- package/dist/v2/components/IconButton/IconButton.d.ts.map +1 -0
- package/dist/v2/components/IconButton/IconButton.js +137 -0
- package/dist/v2/components/IconButton/IconButton.scss.js +6 -0
- package/dist/v2/components/IconButton/index.d.ts +3 -0
- package/dist/v2/components/IconButton/index.d.ts.map +1 -0
- package/dist/v2/components/NewInput/NewInput.d.ts +1 -0
- package/dist/v2/components/NewInput/NewInput.d.ts.map +1 -1
- package/dist/v2/components/NewInput/NewInput.js +7 -4
- package/dist/v2/components/NewPageHeader/NewPageHeader.scss.js +1 -1
- package/dist/v2/components/QuickFilter/QuickFilter.scss.js +1 -1
- package/dist/v2/components/TableSortIcon/TableSortIcon.d.ts.map +1 -1
- package/dist/v2/components/TableSortIcon/TableSortIcon.js +5 -3
- package/dist/v2/components/ZoneCard/AddResourceButton.d.ts +8 -0
- package/dist/v2/components/ZoneCard/AddResourceButton.d.ts.map +1 -0
- package/dist/v2/components/ZoneCard/AddResourceButton.js +17 -0
- package/dist/v2/components/ZoneCard/ResourceRow.d.ts +28 -0
- package/dist/v2/components/ZoneCard/ResourceRow.d.ts.map +1 -0
- package/dist/v2/components/ZoneCard/ResourceRow.js +191 -0
- package/dist/v2/components/ZoneCard/ZoneCard.d.ts +25 -0
- package/dist/v2/components/ZoneCard/ZoneCard.d.ts.map +1 -0
- package/dist/v2/components/ZoneCard/ZoneCard.js +43 -0
- package/dist/v2/components/ZoneCard/ZoneCard.scss.js +6 -0
- package/dist/v2/components/ZoneCard/ZoneContainer.d.ts +12 -0
- package/dist/v2/components/ZoneCard/ZoneContainer.d.ts.map +1 -0
- package/dist/v2/components/ZoneCard/ZoneContainer.js +16 -0
- package/dist/v2/components/ZoneCard/ZoneHeader.d.ts +20 -0
- package/dist/v2/components/ZoneCard/ZoneHeader.d.ts.map +1 -0
- package/dist/v2/components/ZoneCard/ZoneHeader.js +149 -0
- package/dist/v2/components/ZoneCard/index.d.ts +11 -0
- package/dist/v2/components/ZoneCard/index.d.ts.map +1 -0
- package/dist/v2/components/index.d.ts +5 -1
- package/dist/v2/components/index.d.ts.map +1 -1
- package/dist/v2/icons/index.d.ts +36 -2
- package/dist/v2/icons/index.d.ts.map +1 -1
- package/dist/v2/icons/index.js +97 -29
- package/dist/v2/index.d.ts +10 -0
- package/dist/v2/index.d.ts.map +1 -1
- package/dist/v2/pages/Settings/components/SidebarCustomisation.js +5 -0
- package/dist/v2/pages/Settings/components/SidebarNavItem.js +5 -0
- package/dist/v2/pages/ZonesResources/ZonesResourcesPage.d.ts +12 -0
- package/dist/v2/pages/ZonesResources/ZonesResourcesPage.d.ts.map +1 -0
- package/dist/v2/pages/ZonesResources/ZonesResourcesPage.js +47 -0
- package/dist/v2/pages/ZonesResources/ZonesResourcesPage.scss.js +6 -0
- package/dist/v2/pages/ZonesResources/index.d.ts +3 -0
- package/dist/v2/pages/ZonesResources/index.d.ts.map +1 -0
- package/dist/v2/styles/form/NewInput.scss.js +1 -1
- package/package.json +3 -3
- package/src/index.ts +4 -1
- package/src/provider/location-input/LocationInput.tsx +1 -1
- package/src/v2/components/ActionMenu/ActionMenu.scss +7 -20
- package/src/v2/components/ActionMenu/ActionMenu.stories.tsx +58 -0
- package/src/v2/components/ActionMenu/ActionMenu.tsx +3 -6
- package/src/v2/components/Badge/Badge.scss +25 -23
- package/src/v2/components/Badge/Badge.tsx +3 -0
- package/src/v2/components/Checkbox/Checkbox.scss +3 -3
- package/src/v2/components/Customer/CustomersList.scss +60 -9
- package/src/v2/components/FormField/FormField.scss +20 -1
- package/src/v2/components/FormField/FormField.tsx +33 -19
- package/src/v2/components/IconButton/IconButton.scss +81 -0
- package/src/v2/components/IconButton/IconButton.stories.tsx +51 -0
- package/src/v2/components/IconButton/IconButton.tsx +50 -0
- package/src/v2/components/IconButton/index.ts +2 -0
- package/src/v2/components/NewInput/NewInput.tsx +5 -2
- package/src/v2/components/NewPageHeader/NewPageHeader.scss +1 -5
- package/src/v2/components/NewPageHeader/NewPageHeader.stories.tsx +28 -0
- package/src/v2/components/QuickFilter/QuickFilter.scss +14 -3
- package/src/v2/components/TableSortIcon/TableSortIcon.tsx +3 -5
- package/src/v2/components/ZoneCard/AddResourceButton.tsx +20 -0
- package/src/v2/components/ZoneCard/ResourceRow.tsx +115 -0
- package/src/v2/components/ZoneCard/ZoneCard.scss +226 -0
- package/src/v2/components/ZoneCard/ZoneCard.stories.tsx +137 -0
- package/src/v2/components/ZoneCard/ZoneCard.tsx +69 -0
- package/src/v2/components/ZoneCard/ZoneContainer.tsx +26 -0
- package/src/v2/components/ZoneCard/ZoneHeader.tsx +84 -0
- package/src/v2/components/ZoneCard/index.ts +14 -0
- package/src/v2/components/index.ts +13 -1
- package/src/v2/icons/index.tsx +147 -14
- package/src/v2/index.ts +21 -0
- package/src/v2/pages/ZonesResources/ZonesResourcesPage.scss +43 -0
- package/src/v2/pages/ZonesResources/ZonesResourcesPage.stories.tsx +46 -0
- package/src/v2/pages/ZonesResources/ZonesResourcesPage.tsx +49 -0
- package/src/v2/pages/ZonesResources/index.ts +2 -0
- package/src/v2/styles/components/Button.scss +1 -0
- package/src/v2/styles/form/NewInput.scss +39 -6
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ActionMenuItem } from '../ActionMenu';
|
|
3
|
+
import { DragHandleProps } from './ZoneContainer';
|
|
4
|
+
import './ZoneCard.scss';
|
|
5
|
+
export interface ZoneHeaderProps {
|
|
6
|
+
name: string;
|
|
7
|
+
totalCapacity: number;
|
|
8
|
+
totalLabel?: string;
|
|
9
|
+
menuItems?: ActionMenuItem[];
|
|
10
|
+
draggable?: boolean;
|
|
11
|
+
dragHandleProps?: DragHandleProps;
|
|
12
|
+
className?: string;
|
|
13
|
+
isMobile?: boolean;
|
|
14
|
+
isFirst?: boolean;
|
|
15
|
+
isLast?: boolean;
|
|
16
|
+
onMoveUp?: () => void;
|
|
17
|
+
onMoveDown?: () => void;
|
|
18
|
+
}
|
|
19
|
+
export declare const ZoneHeader: React.FC<ZoneHeaderProps>;
|
|
20
|
+
//# sourceMappingURL=ZoneHeader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ZoneHeader.d.ts","sourceRoot":"","sources":["../../../../src/v2/components/ZoneCard/ZoneHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAc,cAAc,EAAE,MAAM,eAAe,CAAA;AAE1D,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;AACjD,OAAO,iBAAiB,CAAA;AAExB,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,MAAM,CAAA;IACZ,aAAa,EAAE,MAAM,CAAA;IACrB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,SAAS,CAAC,EAAE,cAAc,EAAE,CAAA;IAC5B,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,eAAe,CAAC,EAAE,eAAe,CAAA;IACjC,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAA;IACrB,UAAU,CAAC,EAAE,MAAM,IAAI,CAAA;CACxB;AAED,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CA8DhD,CAAA"}
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
2
|
+
import 'react';
|
|
3
|
+
import { ActionMenu } from '../ActionMenu/ActionMenu.js';
|
|
4
|
+
import { GripVerticalIcon, ArrowUpIcon, ArrowDownIcon } from '../../icons/index.js';
|
|
5
|
+
import './ZoneCard.scss.js';
|
|
6
|
+
|
|
7
|
+
function _define_property(obj, key, value) {
|
|
8
|
+
if (key in obj) {
|
|
9
|
+
Object.defineProperty(obj, key, {
|
|
10
|
+
value: value,
|
|
11
|
+
enumerable: true,
|
|
12
|
+
configurable: true,
|
|
13
|
+
writable: true
|
|
14
|
+
});
|
|
15
|
+
} else {
|
|
16
|
+
obj[key] = value;
|
|
17
|
+
}
|
|
18
|
+
return obj;
|
|
19
|
+
}
|
|
20
|
+
function _object_spread(target) {
|
|
21
|
+
for(var i = 1; i < arguments.length; i++){
|
|
22
|
+
var source = arguments[i] != null ? arguments[i] : {};
|
|
23
|
+
var ownKeys = Object.keys(source);
|
|
24
|
+
if (typeof Object.getOwnPropertySymbols === "function") {
|
|
25
|
+
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
|
26
|
+
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
|
27
|
+
}));
|
|
28
|
+
}
|
|
29
|
+
ownKeys.forEach(function(key) {
|
|
30
|
+
_define_property(target, key, source[key]);
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
return target;
|
|
34
|
+
}
|
|
35
|
+
function ownKeys(object, enumerableOnly) {
|
|
36
|
+
var keys = Object.keys(object);
|
|
37
|
+
if (Object.getOwnPropertySymbols) {
|
|
38
|
+
var symbols = Object.getOwnPropertySymbols(object);
|
|
39
|
+
if (enumerableOnly) {
|
|
40
|
+
symbols = symbols.filter(function(sym) {
|
|
41
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
keys.push.apply(keys, symbols);
|
|
45
|
+
}
|
|
46
|
+
return keys;
|
|
47
|
+
}
|
|
48
|
+
function _object_spread_props(target, source) {
|
|
49
|
+
source = source != null ? source : {};
|
|
50
|
+
if (Object.getOwnPropertyDescriptors) {
|
|
51
|
+
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
52
|
+
} else {
|
|
53
|
+
ownKeys(Object(source)).forEach(function(key) {
|
|
54
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
return target;
|
|
58
|
+
}
|
|
59
|
+
var ZoneHeader = function(param) {
|
|
60
|
+
var name = param.name, totalCapacity = param.totalCapacity, _param_totalLabel = param.totalLabel, totalLabel = _param_totalLabel === void 0 ? 'Total' : _param_totalLabel, _param_menuItems = param.menuItems, menuItems = _param_menuItems === void 0 ? [] : _param_menuItems, _param_draggable = param.draggable, draggable = _param_draggable === void 0 ? true : _param_draggable, dragHandleProps = param.dragHandleProps, _param_className = param.className, className = _param_className === void 0 ? '' : _param_className, _param_isMobile = param.isMobile, isMobile = _param_isMobile === void 0 ? false : _param_isMobile, _param_isFirst = param.isFirst, isFirst = _param_isFirst === void 0 ? false : _param_isFirst, _param_isLast = param.isLast, isLast = _param_isLast === void 0 ? false : _param_isLast, onMoveUp = param.onMoveUp, onMoveDown = param.onMoveDown;
|
|
61
|
+
return /*#__PURE__*/ jsxs("div", {
|
|
62
|
+
className: "zone-card__header ".concat(className),
|
|
63
|
+
children: [
|
|
64
|
+
draggable && !isMobile && /*#__PURE__*/ jsx("div", _object_spread_props(_object_spread({
|
|
65
|
+
className: "zone-card__drag-handle"
|
|
66
|
+
}, dragHandleProps), {
|
|
67
|
+
children: GripVerticalIcon({
|
|
68
|
+
width: 20,
|
|
69
|
+
height: 20
|
|
70
|
+
})
|
|
71
|
+
})),
|
|
72
|
+
draggable && isMobile && /*#__PURE__*/ jsxs("div", {
|
|
73
|
+
className: "zone-card__reorder-arrows",
|
|
74
|
+
children: [
|
|
75
|
+
/*#__PURE__*/ jsx("button", {
|
|
76
|
+
className: "zone-card__arrow-btn",
|
|
77
|
+
disabled: isFirst,
|
|
78
|
+
onClick: function(e) {
|
|
79
|
+
e.stopPropagation();
|
|
80
|
+
onMoveUp === null || onMoveUp === void 0 ? void 0 : onMoveUp();
|
|
81
|
+
},
|
|
82
|
+
children: /*#__PURE__*/ jsx(ArrowUpIcon, {})
|
|
83
|
+
}),
|
|
84
|
+
/*#__PURE__*/ jsx("button", {
|
|
85
|
+
className: "zone-card__arrow-btn",
|
|
86
|
+
disabled: isLast,
|
|
87
|
+
onClick: function(e) {
|
|
88
|
+
e.stopPropagation();
|
|
89
|
+
onMoveDown === null || onMoveDown === void 0 ? void 0 : onMoveDown();
|
|
90
|
+
},
|
|
91
|
+
children: /*#__PURE__*/ jsx(ArrowDownIcon, {})
|
|
92
|
+
})
|
|
93
|
+
]
|
|
94
|
+
}),
|
|
95
|
+
isMobile ? /*#__PURE__*/ jsxs(Fragment, {
|
|
96
|
+
children: [
|
|
97
|
+
/*#__PURE__*/ jsxs("div", {
|
|
98
|
+
className: "zone-card__header-info",
|
|
99
|
+
children: [
|
|
100
|
+
/*#__PURE__*/ jsx("span", {
|
|
101
|
+
className: "zone-card__name",
|
|
102
|
+
children: name
|
|
103
|
+
}),
|
|
104
|
+
/*#__PURE__*/ jsxs("span", {
|
|
105
|
+
className: "zone-card__total",
|
|
106
|
+
children: [
|
|
107
|
+
totalLabel,
|
|
108
|
+
": ",
|
|
109
|
+
totalCapacity
|
|
110
|
+
]
|
|
111
|
+
})
|
|
112
|
+
]
|
|
113
|
+
}),
|
|
114
|
+
menuItems.length > 0 && /*#__PURE__*/ jsx("div", {
|
|
115
|
+
className: "zone-card__header-right",
|
|
116
|
+
children: /*#__PURE__*/ jsx(ActionMenu, {
|
|
117
|
+
items: menuItems
|
|
118
|
+
})
|
|
119
|
+
})
|
|
120
|
+
]
|
|
121
|
+
}) : /*#__PURE__*/ jsxs(Fragment, {
|
|
122
|
+
children: [
|
|
123
|
+
/*#__PURE__*/ jsx("span", {
|
|
124
|
+
className: "zone-card__name",
|
|
125
|
+
children: name
|
|
126
|
+
}),
|
|
127
|
+
/*#__PURE__*/ jsxs("div", {
|
|
128
|
+
className: "zone-card__header-right",
|
|
129
|
+
children: [
|
|
130
|
+
/*#__PURE__*/ jsxs("span", {
|
|
131
|
+
className: "zone-card__total",
|
|
132
|
+
children: [
|
|
133
|
+
totalLabel,
|
|
134
|
+
": ",
|
|
135
|
+
totalCapacity
|
|
136
|
+
]
|
|
137
|
+
}),
|
|
138
|
+
menuItems.length > 0 && /*#__PURE__*/ jsx(ActionMenu, {
|
|
139
|
+
items: menuItems
|
|
140
|
+
})
|
|
141
|
+
]
|
|
142
|
+
})
|
|
143
|
+
]
|
|
144
|
+
})
|
|
145
|
+
]
|
|
146
|
+
});
|
|
147
|
+
};
|
|
148
|
+
|
|
149
|
+
export { ZoneHeader };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export { ZoneCard } from './ZoneCard';
|
|
2
|
+
export type { ZoneCardProps, ZoneResource } from './ZoneCard';
|
|
3
|
+
export { ZoneContainer } from './ZoneContainer';
|
|
4
|
+
export type { ZoneContainerProps, DragHandleProps } from './ZoneContainer';
|
|
5
|
+
export { ZoneHeader } from './ZoneHeader';
|
|
6
|
+
export type { ZoneHeaderProps } from './ZoneHeader';
|
|
7
|
+
export { ResourceRow } from './ResourceRow';
|
|
8
|
+
export type { ResourceRowProps, ResourceRowLabels } from './ResourceRow';
|
|
9
|
+
export { AddResourceButton } from './AddResourceButton';
|
|
10
|
+
export type { AddResourceButtonProps } from './AddResourceButton';
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/v2/components/ZoneCard/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,YAAY,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAE7D,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC/C,YAAY,EAAE,kBAAkB,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;AAE1E,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,YAAY,EAAE,eAAe,EAAE,MAAM,cAAc,CAAA;AAEnD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,YAAY,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAA;AAExE,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AACvD,YAAY,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
export { IconButton } from './IconButton';
|
|
2
|
+
export type { IconButtonProps } from './IconButton';
|
|
1
3
|
export { Badge } from './Badge';
|
|
2
4
|
export type { BadgeProps } from './Badge';
|
|
3
5
|
export { QuickFilter } from './QuickFilter';
|
|
@@ -33,5 +35,7 @@ export { Alert } from './Alert';
|
|
|
33
35
|
export { NPSScore } from './NPSScore';
|
|
34
36
|
export { Pagination } from './Pagination';
|
|
35
37
|
export type { PaginationProps } from './Pagination';
|
|
36
|
-
export {
|
|
38
|
+
export { ZoneCard, ZoneContainer, ZoneHeader, ResourceRow, AddResourceButton } from './ZoneCard';
|
|
39
|
+
export type { ZoneCardProps, ZoneResource, ZoneContainerProps, DragHandleProps, ZoneHeaderProps, ResourceRowProps, AddResourceButtonProps } from './ZoneCard';
|
|
40
|
+
export { InfoIcon, TableHeaderArrowUpIcon, TableHeaderArrowDownIcon, ArrowUpIcon, ArrowDownIcon, EditIcon, ArrowLeftIcon, ArrowRightIcon, SearchIcon, RefreshIcon, SendIcon, ExternalLinkIcon, ExportIcon, ClearIcon, CloseIcon, EllipsisIcon, CircleIcon, GripVerticalIcon, PlusIcon, DeleteIcon, ClockIcon } from '../icons';
|
|
37
41
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/v2/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,YAAY,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAEzC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,YAAY,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAA;AAExE,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,YAAY,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,YAAY,CAAA;AAE/D,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC/C,YAAY,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAGzD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,YAAY,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAEnE,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AACrC,YAAY,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AAG/C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,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AA"}
|
package/dist/v2/icons/index.d.ts
CHANGED
|
@@ -45,8 +45,24 @@ export declare const InfoIcon: ({ width, height }?: {
|
|
|
45
45
|
width?: number;
|
|
46
46
|
height?: number;
|
|
47
47
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
48
|
-
export declare const
|
|
49
|
-
export declare const
|
|
48
|
+
export declare const TableHeaderArrowUpIcon: () => import("react/jsx-runtime").JSX.Element;
|
|
49
|
+
export declare const TableHeaderArrowDownIcon: () => import("react/jsx-runtime").JSX.Element;
|
|
50
|
+
export declare const ArrowUpIcon: ({ width, height }?: {
|
|
51
|
+
width?: number;
|
|
52
|
+
height?: number;
|
|
53
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
54
|
+
export declare const ArrowDownIcon: ({ width, height }?: {
|
|
55
|
+
width?: number;
|
|
56
|
+
height?: number;
|
|
57
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
58
|
+
export declare const GripVerticalIcon: ({ width, height }?: {
|
|
59
|
+
width?: number;
|
|
60
|
+
height?: number;
|
|
61
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
62
|
+
export declare const PlusIcon: ({ width, height }?: {
|
|
63
|
+
width?: number;
|
|
64
|
+
height?: number;
|
|
65
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
50
66
|
export declare const CloseIcon: ({ width, height, ...props }: React.SVGProps<SVGSVGElement> & {
|
|
51
67
|
width?: number;
|
|
52
68
|
height?: number;
|
|
@@ -61,4 +77,22 @@ export declare const CircleIcon: ({ width, height, fill, className, ...props }?:
|
|
|
61
77
|
height?: number;
|
|
62
78
|
fill?: string;
|
|
63
79
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
80
|
+
export declare const SecurityIcon: () => import("react/jsx-runtime").JSX.Element;
|
|
81
|
+
export declare const NewPasswordIcon: () => import("react/jsx-runtime").JSX.Element;
|
|
82
|
+
export declare const PasswordRequirementIcon: ({ met, visible }: {
|
|
83
|
+
met: boolean;
|
|
84
|
+
visible?: boolean;
|
|
85
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
86
|
+
export declare const VerifyEmailIcon: () => import("react/jsx-runtime").JSX.Element;
|
|
87
|
+
export declare const PasswordTypeIcon: () => import("react/jsx-runtime").JSX.Element;
|
|
88
|
+
export declare const BookedLogo: () => import("react/jsx-runtime").JSX.Element;
|
|
89
|
+
export declare const AuthBgDecorationIcon: () => import("react/jsx-runtime").JSX.Element;
|
|
90
|
+
export declare const DeleteIcon: ({ width, height }?: {
|
|
91
|
+
width?: number;
|
|
92
|
+
height?: number;
|
|
93
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
94
|
+
export declare const ClockIcon: ({ width, height }?: {
|
|
95
|
+
width?: number;
|
|
96
|
+
height?: number;
|
|
97
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
64
98
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/v2/icons/index.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,+CAOzB,CAAA;AAED,eAAO,MAAM,WAAW,+CAIvB,CAAA;AAED,eAAO,MAAM,SAAS,+CAKrB,CAAA;AAED,eAAO,MAAM,aAAa,+CAIzB,CAAA;AAED,eAAO,MAAM,SAAS,+CAIrB,CAAA;AAED,eAAO,MAAM,WAAW,+CAIvB,CAAA;AAED,eAAO,MAAM,aAAa,+CAIzB,CAAA;AAED,eAAO,MAAM,WAAW,+CAIvB,CAAA;AAED,eAAO,MAAM,aAAa,+CAIzB,CAAA;AAED,eAAO,MAAM,YAAY,+CAIxB,CAAA;AAED,eAAO,MAAM,YAAY,+CAIxB,CAAA;AAED,eAAO,MAAM,WAAW,+CAIvB,CAAA;AAED,eAAO,MAAM,WAAW,+CAIvB,CAAA;AAED,eAAO,MAAM,YAAY,+CAIxB,CAAA;AAED,eAAO,MAAM,YAAY,+CAIxB,CAAA;AAED,eAAO,MAAM,gBAA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-213,7 +213,7 @@ var SearchIcon = function() {
|
|
|
213
213
|
fill: "none",
|
|
214
214
|
children: /*#__PURE__*/ jsx("path", {
|
|
215
215
|
d: "M14.6593 13.7979L17.2683 16.4068L16.4068 17.2684L13.7978 14.6594C12.8597 15.4099 11.67 15.8589 10.3761 15.8589C7.34958 15.8589 4.89331 13.4026 4.89331 10.3761C4.89331 7.34965 7.34958 4.89337 10.3761 4.89337C13.4025 4.89337 15.8588 7.34965 15.8588 10.3761C15.8588 11.6701 15.4098 12.8598 14.6593 13.7979ZM13.4371 13.3458C14.182 12.5781 14.6404 11.5309 14.6404 10.3761C14.6404 8.02006 12.7321 6.11176 10.3761 6.11176C8.02 6.11176 6.1117 8.02006 6.1117 10.3761C6.1117 12.7322 8.02 14.6405 10.3761 14.6405C11.5309 14.6405 12.5781 14.1821 13.3458 13.4371L13.4371 13.3458Z",
|
|
216
|
-
fill: "
|
|
216
|
+
fill: "currentColor"
|
|
217
217
|
})
|
|
218
218
|
});
|
|
219
219
|
};
|
|
@@ -227,7 +227,7 @@ var RefreshIcon = function() {
|
|
|
227
227
|
fill: "none",
|
|
228
228
|
children: /*#__PURE__*/ jsx("path", {
|
|
229
229
|
d: "M7.09693 6.32447C8.41167 5.18766 10.1255 4.5 12 4.5C16.1421 4.5 19.5 7.85786 19.5 12C19.5 13.6021 18.9976 15.0869 18.1419 16.3055L15.75 12H18C18 8.68629 15.3137 6 12 6C10.3874 6 8.92333 6.6362 7.84517 7.67131L7.09693 6.32447ZM16.903 17.6755C15.5883 18.8123 13.8745 19.5 12 19.5C7.85786 19.5 4.5 16.1421 4.5 12C4.5 10.3979 5.00234 8.91312 5.8581 7.69458L8.25 12H6C6 15.3137 8.68629 18 12 18C13.6126 18 15.0767 17.3638 16.1549 16.3287L16.903 17.6755Z",
|
|
230
|
-
fill: "
|
|
230
|
+
fill: "currentColor"
|
|
231
231
|
})
|
|
232
232
|
});
|
|
233
233
|
};
|
|
@@ -241,7 +241,7 @@ var SendIcon = function() {
|
|
|
241
241
|
fill: "none",
|
|
242
242
|
children: /*#__PURE__*/ jsx("path", {
|
|
243
243
|
d: "M18 6C18.4142 6 18.75 6.33579 18.75 6.75V12.75H17.25V9.17871L11.3037 14.5039L5.25 9.16211V17.25H18V18.75H4.5C4.08579 18.75 3.75 18.4142 3.75 18V6.75C3.75 6.33579 4.08579 6 4.5 6H18ZM24 15L20.25 18V15.75H15V14.25H20.25V12L24 15ZM11.2969 12.4961L16.876 7.5H5.63379L11.2969 12.4961Z",
|
|
244
|
-
fill: "
|
|
244
|
+
fill: "currentColor"
|
|
245
245
|
})
|
|
246
246
|
});
|
|
247
247
|
};
|
|
@@ -342,7 +342,7 @@ var InfoIcon = function() {
|
|
|
342
342
|
})
|
|
343
343
|
});
|
|
344
344
|
};
|
|
345
|
-
var
|
|
345
|
+
var TableHeaderArrowUpIcon = function() {
|
|
346
346
|
return /*#__PURE__*/ jsx("svg", {
|
|
347
347
|
width: "11",
|
|
348
348
|
height: "6",
|
|
@@ -358,7 +358,7 @@ var ArrowUpIcon = function() {
|
|
|
358
358
|
})
|
|
359
359
|
});
|
|
360
360
|
};
|
|
361
|
-
var
|
|
361
|
+
var TableHeaderArrowDownIcon = function() {
|
|
362
362
|
return /*#__PURE__*/ jsx("svg", {
|
|
363
363
|
width: "11",
|
|
364
364
|
height: "6",
|
|
@@ -374,6 +374,62 @@ var ArrowDownIcon = function() {
|
|
|
374
374
|
})
|
|
375
375
|
});
|
|
376
376
|
};
|
|
377
|
+
var ArrowUpIcon = function() {
|
|
378
|
+
var _ref = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, _ref_width = _ref.width, width = _ref_width === void 0 ? 20 : _ref_width, _ref_height = _ref.height, height = _ref_height === void 0 ? 20 : _ref_height;
|
|
379
|
+
return /*#__PURE__*/ jsx("svg", {
|
|
380
|
+
width: width,
|
|
381
|
+
height: height,
|
|
382
|
+
viewBox: "0 0 32 32",
|
|
383
|
+
fill: "none",
|
|
384
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
385
|
+
children: /*#__PURE__*/ jsx("path", {
|
|
386
|
+
d: "M14.9999 11.8283L9.63589 17.1923L8.22168 15.7781L15.9999 7.99988L23.778 15.7781L22.3638 17.1923L16.9999 11.8283L16.9999 23.9999L14.9999 23.9999L14.9999 11.8283Z",
|
|
387
|
+
fill: "currentColor"
|
|
388
|
+
})
|
|
389
|
+
});
|
|
390
|
+
};
|
|
391
|
+
var ArrowDownIcon = function() {
|
|
392
|
+
var _ref = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, _ref_width = _ref.width, width = _ref_width === void 0 ? 20 : _ref_width, _ref_height = _ref.height, height = _ref_height === void 0 ? 20 : _ref_height;
|
|
393
|
+
return /*#__PURE__*/ jsx("svg", {
|
|
394
|
+
width: width,
|
|
395
|
+
height: height,
|
|
396
|
+
viewBox: "0 0 32 32",
|
|
397
|
+
fill: "none",
|
|
398
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
399
|
+
children: /*#__PURE__*/ jsx("path", {
|
|
400
|
+
d: "M16.9999 20.1715L22.3639 14.8075L23.7781 16.2217L15.9999 23.9999L8.22176 16.2217L9.63596 14.8075L14.9999 20.1715L14.9999 7.99988L16.9999 7.99988L16.9999 20.1715Z",
|
|
401
|
+
fill: "currentColor"
|
|
402
|
+
})
|
|
403
|
+
});
|
|
404
|
+
};
|
|
405
|
+
var GripVerticalIcon = function() {
|
|
406
|
+
var _ref = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, _ref_width = _ref.width, width = _ref_width === void 0 ? 16 : _ref_width, _ref_height = _ref.height, height = _ref_height === void 0 ? 16 : _ref_height;
|
|
407
|
+
return /*#__PURE__*/ jsx("svg", {
|
|
408
|
+
width: width,
|
|
409
|
+
height: height,
|
|
410
|
+
viewBox: "0 0 32 32",
|
|
411
|
+
fill: "none",
|
|
412
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
413
|
+
children: /*#__PURE__*/ jsx("path", {
|
|
414
|
+
d: "M13 20C14.1046 20 15 20.8954 15 22C15 23.1046 14.1046 24 13 24C11.8954 24 11 23.1046 11 22C11 20.8954 11.8954 20 13 20ZM19 20C20.1046 20 21 20.8954 21 22C21 23.1046 20.1046 24 19 24C17.8954 24 17 23.1046 17 22C17 20.8954 17.8954 20 19 20ZM13 14C14.1046 14 15 14.8954 15 16C15 17.1046 14.1046 18 13 18C11.8954 18 11 17.1046 11 16C11 14.8954 11.8954 14 13 14ZM19 14C20.1046 14 21 14.8954 21 16C21 17.1046 20.1046 18 19 18C17.8954 18 17 17.1046 17 16C17 14.8954 17.8954 14 19 14ZM13 8C14.1046 8 15 8.89543 15 10C15 11.1046 14.1046 12 13 12C11.8954 12 11 11.1046 11 10C11 8.89543 11.8954 8 13 8ZM19 8C20.1046 8 21 8.89543 21 10C21 11.1046 20.1046 12 19 12C17.8954 12 17 11.1046 17 10C17 8.89543 17.8954 8 19 8Z",
|
|
415
|
+
fill: "currentColor"
|
|
416
|
+
})
|
|
417
|
+
});
|
|
418
|
+
};
|
|
419
|
+
var PlusIcon = function() {
|
|
420
|
+
var _ref = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, _ref_width = _ref.width, width = _ref_width === void 0 ? 16 : _ref_width, _ref_height = _ref.height, height = _ref_height === void 0 ? 16 : _ref_height;
|
|
421
|
+
return /*#__PURE__*/ jsx("svg", {
|
|
422
|
+
width: width,
|
|
423
|
+
height: height,
|
|
424
|
+
viewBox: "0 0 32 32",
|
|
425
|
+
fill: "none",
|
|
426
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
427
|
+
children: /*#__PURE__*/ jsx("path", {
|
|
428
|
+
d: "M17 14.5H24.5V17.5H17V25H14V17.5H6.5V14.5H14V7H17V14.5Z",
|
|
429
|
+
fill: "currentColor"
|
|
430
|
+
})
|
|
431
|
+
});
|
|
432
|
+
};
|
|
377
433
|
var CloseIcon = function(_param) {
|
|
378
434
|
var _param_width = _param.width, width = _param_width === void 0 ? 24 : _param_width, _param_height = _param.height, height = _param_height === void 0 ? 24 : _param_height, props = _object_without_properties(_param, [
|
|
379
435
|
"width",
|
|
@@ -405,38 +461,22 @@ var CloseIcon = function(_param) {
|
|
|
405
461
|
};
|
|
406
462
|
var EllipsisIcon = function() {
|
|
407
463
|
var _param = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
408
|
-
var _param_width = _param.width, width = _param_width === void 0 ?
|
|
464
|
+
var _param_width = _param.width, width = _param_width === void 0 ? 18 : _param_width, _param_height = _param.height, height = _param_height === void 0 ? 4 : _param_height, _param_fill = _param.fill, fill = _param_fill === void 0 ? 'currentColor' : _param_fill, props = _object_without_properties(_param, [
|
|
409
465
|
"width",
|
|
410
466
|
"height",
|
|
411
467
|
"fill"
|
|
412
468
|
]);
|
|
413
|
-
return /*#__PURE__*/
|
|
469
|
+
return /*#__PURE__*/ jsx("svg", _object_spread_props(_object_spread({
|
|
414
470
|
width: width,
|
|
415
471
|
height: height,
|
|
416
|
-
viewBox: "0 0
|
|
472
|
+
viewBox: "0 0 18 4",
|
|
417
473
|
fill: "none",
|
|
418
474
|
xmlns: "http://www.w3.org/2000/svg"
|
|
419
475
|
}, props), {
|
|
420
|
-
children:
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
r: "3",
|
|
425
|
-
fill: fill
|
|
426
|
-
}),
|
|
427
|
-
/*#__PURE__*/ jsx("circle", {
|
|
428
|
-
cx: "16",
|
|
429
|
-
cy: "16",
|
|
430
|
-
r: "3",
|
|
431
|
-
fill: fill
|
|
432
|
-
}),
|
|
433
|
-
/*#__PURE__*/ jsx("circle", {
|
|
434
|
-
cx: "24",
|
|
435
|
-
cy: "16",
|
|
436
|
-
r: "3",
|
|
437
|
-
fill: fill
|
|
438
|
-
})
|
|
439
|
-
]
|
|
476
|
+
children: /*#__PURE__*/ jsx("path", {
|
|
477
|
+
d: "M2 0C3.10457 0 4 0.895431 4 2C4 3.10457 3.10457 4 2 4C0.895431 4 0 3.10457 0 2C0 0.895431 0.895431 0 2 0ZM9 0C10.1046 0 11 0.895431 11 2C11 3.10457 10.1046 4 9 4C7.89543 4 7 3.10457 7 2C7 0.895431 7.89543 0 9 0ZM16 0C17.1046 0 18 0.895431 18 2C18 3.10457 17.1046 4 16 4C14.8954 4 14 3.10457 14 2C14 0.895431 14.8954 0 16 0Z",
|
|
478
|
+
fill: fill
|
|
479
|
+
})
|
|
440
480
|
}));
|
|
441
481
|
};
|
|
442
482
|
var CircleIcon = function() {
|
|
@@ -463,5 +503,33 @@ var CircleIcon = function() {
|
|
|
463
503
|
})
|
|
464
504
|
}));
|
|
465
505
|
};
|
|
506
|
+
var DeleteIcon = function() {
|
|
507
|
+
var _ref = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, _ref_width = _ref.width, width = _ref_width === void 0 ? 24 : _ref_width, _ref_height = _ref.height, height = _ref_height === void 0 ? 24 : _ref_height;
|
|
508
|
+
return /*#__PURE__*/ jsx("svg", {
|
|
509
|
+
width: width,
|
|
510
|
+
height: height,
|
|
511
|
+
viewBox: "0 0 32 32",
|
|
512
|
+
fill: "none",
|
|
513
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
514
|
+
children: /*#__PURE__*/ jsx("path", {
|
|
515
|
+
d: "M21 10H26V12H24V25C24 25.5523 23.5523 26 23 26H9C8.44772 26 8 25.5523 8 25V12H6V10H11V7C11 6.44772 11.4477 6 12 6H20C20.5523 6 21 6.44772 21 7V10ZM22 12H10V24H22V12ZM13 15H15V21H13V15ZM17 15H19V21H17V15ZM13 8V10H19V8H13Z",
|
|
516
|
+
fill: "currentColor"
|
|
517
|
+
})
|
|
518
|
+
});
|
|
519
|
+
};
|
|
520
|
+
var ClockIcon = function() {
|
|
521
|
+
var _ref = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, _ref_width = _ref.width, width = _ref_width === void 0 ? 20 : _ref_width, _ref_height = _ref.height, height = _ref_height === void 0 ? 20 : _ref_height;
|
|
522
|
+
return /*#__PURE__*/ jsx("svg", {
|
|
523
|
+
width: width,
|
|
524
|
+
height: height,
|
|
525
|
+
viewBox: "0 0 32 32",
|
|
526
|
+
fill: "none",
|
|
527
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
528
|
+
children: /*#__PURE__*/ jsx("path", {
|
|
529
|
+
d: "M16 28C9.37258 28 4 22.6274 4 16C4 9.37258 9.37258 4 16 4C22.6274 4 28 9.37258 28 16C28 22.6274 22.6274 28 16 28ZM16 26C21.5228 26 26 21.5228 26 16C26 10.4772 21.5228 6 16 6C10.4772 6 6 10.4772 6 16C6 21.5228 10.4772 26 16 26ZM17 9V15.5858L21.2426 19.8284L19.8284 21.2426L15 16.4142V9H17Z",
|
|
530
|
+
fill: "currentColor"
|
|
531
|
+
})
|
|
532
|
+
});
|
|
533
|
+
};
|
|
466
534
|
|
|
467
|
-
export { ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, BookingTypesIcon, BookingsIcon, CalendarIcon, CircleIcon, ClearIcon, CloseIcon, CustomersIcon, EditIcon, EllipsisIcon, ExportIcon, ExternalLinkIcon, InfoIcon, LoyaltyIcon, MarketingIcon, RefreshIcon, SearchIcon, SendIcon, SettingsIcon, WaiversIcon };
|
|
535
|
+
export { ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, BookingTypesIcon, BookingsIcon, CalendarIcon, CircleIcon, ClearIcon, ClockIcon, CloseIcon, CustomersIcon, DeleteIcon, EditIcon, EllipsisIcon, ExportIcon, ExternalLinkIcon, GripVerticalIcon, InfoIcon, LoyaltyIcon, MarketingIcon, PlusIcon, RefreshIcon, SearchIcon, SendIcon, SettingsIcon, TableHeaderArrowDownIcon, TableHeaderArrowUpIcon, WaiversIcon };
|
package/dist/v2/index.d.ts
CHANGED
|
@@ -12,6 +12,12 @@ export { Alert } from './components/Alert';
|
|
|
12
12
|
export type { AlertProps, AlertVariant } from './components/Alert';
|
|
13
13
|
export { Button } from './components/Button';
|
|
14
14
|
export type { ButtonProps } from './components/Button';
|
|
15
|
+
export { NewInput } from './components/NewInput';
|
|
16
|
+
export type { NewInputProps } from './components/NewInput';
|
|
17
|
+
export { Checkbox } from './components/Checkbox';
|
|
18
|
+
export type { CheckboxProps } from './components/Checkbox';
|
|
19
|
+
export { NewPageHeader } from './components/NewPageHeader';
|
|
20
|
+
export type { NewPageHeaderProps } from './components/NewPageHeader';
|
|
15
21
|
export { EntityHeader } from './components/EntityHeader';
|
|
16
22
|
export type { EntityHeaderProps } from './components/EntityHeader';
|
|
17
23
|
export { Tooltip } from './components/Tooltip';
|
|
@@ -20,6 +26,10 @@ export { NPSScore } from './components/NPSScore';
|
|
|
20
26
|
export type { NPSScoreProps, NPSSubmitData } from './components/NPSScore';
|
|
21
27
|
export { UserPanel } from './components/UserPanel';
|
|
22
28
|
export type { UserPanelProps } from './components/UserPanel';
|
|
29
|
+
export { ZoneCard, ZoneContainer, ZoneHeader, ResourceRow, AddResourceButton } from './components/ZoneCard';
|
|
30
|
+
export type { ZoneCardProps, ZoneResource, ZoneContainerProps, DragHandleProps, ZoneHeaderProps, ResourceRowProps, ResourceRowLabels, AddResourceButtonProps } from './components/ZoneCard';
|
|
31
|
+
export { ZonesResourcesPage } from './pages/ZonesResources';
|
|
32
|
+
export type { ZonesResourcesPageProps } from './pages/ZonesResources';
|
|
23
33
|
export { Navigation } from './navigation/Navigation';
|
|
24
34
|
export type { NavigationProps } from './navigation/Navigation';
|
|
25
35
|
export { NavigationItem } from './navigation/NavigationItem';
|
package/dist/v2/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/v2/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAOH,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAA;AAC1C,YAAY,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAGlE,OAAO,EAAE,MAAM,EA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AmB,EAAE,MAAM,kBAAkB,CAAA;AAMtJ;;;;;;;;;;;;GAYG"}
|
|
@@ -3,6 +3,7 @@ import { useState, useEffect } from 'react';
|
|
|
3
3
|
import { SidebarNavItem } from './SidebarNavItem.js';
|
|
4
4
|
import './SidebarCustomisation.scss.js';
|
|
5
5
|
import { CalendarIcon, BookingsIcon, BookingTypesIcon, LoyaltyIcon, CustomersIcon, MarketingIcon, WaiversIcon, SettingsIcon, EditIcon } from '../../../icons/index.js';
|
|
6
|
+
import '../../../components/IconButton/IconButton.scss.js';
|
|
6
7
|
import '../../../components/Badge/Badge.scss.js';
|
|
7
8
|
import { Button } from '../../../components/Button/Button.js';
|
|
8
9
|
import { GhostButton } from '../../../components/Button/GhostButton.js';
|
|
@@ -24,6 +25,10 @@ import '../../../components/EntityHeader/EntityHeader.scss.js';
|
|
|
24
25
|
import '../../../components/Alert/Alert.scss.js';
|
|
25
26
|
import '../../../components/NPSScore/NPSScore.scss.js';
|
|
26
27
|
import '../../../components/Pagination/Pagination.scss.js';
|
|
28
|
+
import '../../../components/ZoneCard/ZoneCard.js';
|
|
29
|
+
import '../../../components/ZoneCard/ZoneContainer.js';
|
|
30
|
+
import '../../../components/ZoneCard/ZoneCard.scss.js';
|
|
31
|
+
import '../../../components/ZoneCard/ResourceRow.js';
|
|
27
32
|
|
|
28
33
|
function _array_like_to_array(arr, len) {
|
|
29
34
|
if (len == null || len > arr.length) len = arr.length;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
2
|
import 'react';
|
|
3
|
+
import '../../../components/IconButton/IconButton.scss.js';
|
|
3
4
|
import '../../../components/Badge/Badge.scss.js';
|
|
4
5
|
import '../../../components/Button/Button.scss.js';
|
|
5
6
|
import '../../../components/Button/GhostButton.scss.js';
|
|
@@ -21,6 +22,10 @@ import '../../../components/EntityHeader/EntityHeader.scss.js';
|
|
|
21
22
|
import '../../../components/Alert/Alert.scss.js';
|
|
22
23
|
import '../../../components/NPSScore/NPSScore.scss.js';
|
|
23
24
|
import '../../../components/Pagination/Pagination.scss.js';
|
|
25
|
+
import '../../../components/ZoneCard/ZoneCard.js';
|
|
26
|
+
import '../../../components/ZoneCard/ZoneContainer.js';
|
|
27
|
+
import '../../../components/ZoneCard/ZoneCard.scss.js';
|
|
28
|
+
import '../../../components/ZoneCard/ResourceRow.js';
|
|
24
29
|
import './SidebarNavItem.scss.js';
|
|
25
30
|
|
|
26
31
|
var SidebarNavItem = function(param) {
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './ZonesResourcesPage.scss';
|
|
3
|
+
export interface ZonesResourcesPageProps {
|
|
4
|
+
title?: string;
|
|
5
|
+
backLabel?: string;
|
|
6
|
+
onBack?: () => void;
|
|
7
|
+
actionLabel?: string;
|
|
8
|
+
onAction?: () => void;
|
|
9
|
+
children?: React.ReactNode;
|
|
10
|
+
}
|
|
11
|
+
export declare const ZonesResourcesPage: React.FC<ZonesResourcesPageProps>;
|
|
12
|
+
//# sourceMappingURL=ZonesResourcesPage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ZonesResourcesPage.d.ts","sourceRoot":"","sources":["../../../../src/v2/pages/ZonesResources/ZonesResourcesPage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,OAAO,2BAA2B,CAAA;AAElC,MAAM,WAAW,uBAAuB;IACtC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAA;IACnB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAA;IACrB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC3B;AAED,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAiChE,CAAA"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
|
+
import 'react';
|
|
3
|
+
import '../../components/Button/Button.scss.js';
|
|
4
|
+
import { GhostButton } from '../../components/Button/GhostButton.js';
|
|
5
|
+
import { NewPageHeader } from '../../components/NewPageHeader/NewPageHeader.js';
|
|
6
|
+
import { ArrowLeftIcon, PlusIcon } from '../../icons/index.js';
|
|
7
|
+
import './ZonesResourcesPage.scss.js';
|
|
8
|
+
|
|
9
|
+
var ZonesResourcesPage = function(param) {
|
|
10
|
+
var _param_title = param.title, title = _param_title === void 0 ? 'Zones & Resources' : _param_title, _param_backLabel = param.backLabel, backLabel = _param_backLabel === void 0 ? 'Back to Settings' : _param_backLabel, onBack = param.onBack, _param_actionLabel = param.actionLabel, actionLabel = _param_actionLabel === void 0 ? 'Add Zone' : _param_actionLabel, onAction = param.onAction, children = param.children;
|
|
11
|
+
return /*#__PURE__*/ jsxs("div", {
|
|
12
|
+
className: "zones-resources-page",
|
|
13
|
+
children: [
|
|
14
|
+
onBack && /*#__PURE__*/ jsx("div", {
|
|
15
|
+
className: "zones-resources-page__back",
|
|
16
|
+
children: /*#__PURE__*/ jsx(GhostButton, {
|
|
17
|
+
onClick: onBack,
|
|
18
|
+
icon: /*#__PURE__*/ jsx(ArrowLeftIcon, {}),
|
|
19
|
+
children: backLabel
|
|
20
|
+
})
|
|
21
|
+
}),
|
|
22
|
+
/*#__PURE__*/ jsx(NewPageHeader, {
|
|
23
|
+
title: title,
|
|
24
|
+
showDivider: true
|
|
25
|
+
}),
|
|
26
|
+
/*#__PURE__*/ jsxs("div", {
|
|
27
|
+
className: "zones-resources-page__content",
|
|
28
|
+
children: [
|
|
29
|
+
onAction && /*#__PURE__*/ jsx("div", {
|
|
30
|
+
className: "zones-resources-page__action",
|
|
31
|
+
children: /*#__PURE__*/ jsx(GhostButton, {
|
|
32
|
+
onClick: onAction,
|
|
33
|
+
icon: /*#__PURE__*/ jsx(PlusIcon, {
|
|
34
|
+
width: 16,
|
|
35
|
+
height: 16
|
|
36
|
+
}),
|
|
37
|
+
children: actionLabel
|
|
38
|
+
})
|
|
39
|
+
}),
|
|
40
|
+
children
|
|
41
|
+
]
|
|
42
|
+
})
|
|
43
|
+
]
|
|
44
|
+
});
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
export { ZonesResourcesPage };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import styleInject from '/opt/atlassian/pipelines/agent/build/node_modules/style-inject/dist/style-inject.es.js';
|
|
2
|
+
|
|
3
|
+
var css_248z = ".zones-resources-page{align-self:stretch;display:flex;flex-direction:column}.zones-resources-page__back{align-self:flex-start;padding:24px 32px 0}.zones-resources-page__back .ghost-button{border-color:var(--borders-main-border-primary,#e8e9ef);color:var(--fill-action,#5d5bf4)}.zones-resources-page__back .ghost-button:not(.active):hover:not(:disabled){background-color:var(--surface-action-soft,#f4f4fe);color:var(--fill-action,#5d5bf4)}.zones-resources-page__back .ghost-button .ghost-button__icon svg{height:24px;width:24px}@media (max-width:768px){.zones-resources-page__back{padding:16px 16px 0}}.zones-resources-page__content{padding:24px 32px}@media (max-width:768px){.zones-resources-page__content{padding:0}}.zones-resources-page__action{display:flex;justify-content:flex-end;margin-bottom:16px}";
|
|
4
|
+
styleInject(css_248z);
|
|
5
|
+
|
|
6
|
+
export { css_248z as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/v2/pages/ZonesResources/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACzD,YAAY,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAA"}
|