@dreamtree-org/twreact-ui 1.3.0 → 1.3.1
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/README.md +179 -10
- package/ai-skills/dreamtree-ui.md +71 -12
- package/dist/ai-schema.json +452 -17
- package/dist/components/core/Accordion.d.ts.map +1 -1
- package/dist/components/core/Button.d.ts.map +1 -1
- package/dist/components/core/Checkbox.d.ts.map +1 -1
- package/dist/components/core/ColorPicker.d.ts.map +1 -1
- package/dist/components/core/DatePicker.d.ts.map +1 -1
- package/dist/components/core/DateRangePicker.d.ts.map +1 -1
- package/dist/components/core/Form.d.ts.map +1 -1
- package/dist/components/core/Input.d.ts.map +1 -1
- package/dist/components/core/LocationPicker.d.ts.map +1 -1
- package/dist/components/core/Popover.d.ts +4 -0
- package/dist/components/core/Popover.d.ts.map +1 -0
- package/dist/components/core/PriceRangePicker.d.ts.map +1 -1
- package/dist/components/core/ProgressBar.d.ts.map +1 -1
- package/dist/components/core/Radio.d.ts.map +1 -1
- package/dist/components/core/Rate.d.ts.map +1 -1
- package/dist/components/core/Select.d.ts.map +1 -1
- package/dist/components/core/Skeleton.d.ts.map +1 -1
- package/dist/components/core/Slider.d.ts +4 -0
- package/dist/components/core/Slider.d.ts.map +1 -0
- package/dist/components/core/SpeechToText.d.ts.map +1 -1
- package/dist/components/core/Switch.d.ts.map +1 -1
- package/dist/components/core/Table/ActionMenu.d.ts.map +1 -1
- package/dist/components/core/Table/ColumnMenu.d.ts +2 -1
- package/dist/components/core/Table/ColumnMenu.d.ts.map +1 -1
- package/dist/components/core/Table/MobileCard.d.ts +2 -2
- package/dist/components/core/Table/MobileCard.d.ts.map +1 -1
- package/dist/components/core/Table/Table.d.ts.map +1 -1
- package/dist/components/core/Table/TableRow.d.ts +4 -2
- package/dist/components/core/Table/TableRow.d.ts.map +1 -1
- package/dist/components/core/Tabs.d.ts.map +1 -1
- package/dist/components/core/Textarea.d.ts +4 -0
- package/dist/components/core/Textarea.d.ts.map +1 -0
- package/dist/components/core/ThreeDotPopover.d.ts.map +1 -1
- package/dist/components/core/Tooltip.d.ts.map +1 -1
- package/dist/components/feedback/Dialog.d.ts.map +1 -1
- package/dist/components/feedback/Drawer.d.ts +4 -0
- package/dist/components/feedback/Drawer.d.ts.map +1 -0
- package/dist/components/feedback/Toast.d.ts +14 -5
- package/dist/components/feedback/Toast.d.ts.map +1 -1
- package/dist/components/feedback/Tour.d.ts +4 -0
- package/dist/components/feedback/Tour.d.ts.map +1 -0
- package/dist/components/feedback/TourSpotlight.d.ts +9 -0
- package/dist/components/feedback/TourSpotlight.d.ts.map +1 -0
- package/dist/components/navigation/Breadcrumbs.d.ts.map +1 -1
- package/dist/components/navigation/FootNav.d.ts.map +1 -1
- package/dist/components/navigation/Navbar.d.ts.map +1 -1
- package/dist/components/navigation/Sidebar.d.ts +8 -2
- package/dist/components/navigation/Sidebar.d.ts.map +1 -1
- package/dist/components/utility/Badge.d.ts.map +1 -1
- package/dist/components/utility/FileUpload.d.ts.map +1 -1
- package/dist/components/utility/Sortable.d.ts +4 -0
- package/dist/components/utility/Sortable.d.ts.map +1 -0
- package/dist/esm/_vendor/object-assign/index.js +99 -0
- package/dist/esm/_vendor/prop-types/_vendor/react-is/cjs/react-is.development.js +190 -0
- package/dist/esm/_vendor/prop-types/_vendor/react-is/cjs/react-is.production.min.js +26 -0
- package/dist/esm/_vendor/prop-types/_vendor/react-is/index.js +19 -0
- package/dist/esm/_vendor/prop-types/checkPropTypes.js +115 -0
- package/dist/esm/_vendor/prop-types/factoryWithThrowingShims.js +74 -0
- package/dist/esm/_vendor/prop-types/factoryWithTypeCheckers.js +625 -0
- package/dist/esm/_vendor/prop-types/index.js +30 -0
- package/dist/esm/_vendor/prop-types/lib/ReactPropTypesSecret.js +21 -0
- package/dist/esm/_vendor/prop-types/lib/has.js +11 -0
- package/dist/esm/_virtual/_commonjsHelpers.js +5 -0
- package/dist/esm/_virtual/_rollupPluginBabelHelpers.js +329 -0
- package/dist/esm/_virtual/index.js +3 -0
- package/dist/esm/_virtual/index2.js +3 -0
- package/dist/esm/_virtual/react-is.development.js +3 -0
- package/dist/esm/_virtual/react-is.production.min.js +3 -0
- package/dist/esm/components/blocks/AppShell.js +205 -0
- package/dist/esm/components/blocks/ConfirmDialog.js +57 -0
- package/dist/esm/components/blocks/EmptyState.js +44 -0
- package/dist/esm/components/blocks/ErrorState.js +53 -0
- package/dist/esm/components/blocks/LoadingState.js +134 -0
- package/dist/esm/components/blocks/PageHeader.js +51 -0
- package/dist/esm/components/blocks/StatCard.js +79 -0
- package/dist/esm/components/blocks/StatusPill.js +55 -0
- package/dist/esm/components/core/Accordion.js +260 -0
- package/dist/esm/components/core/Button.js +59 -0
- package/dist/esm/components/core/Checkbox.js +188 -0
- package/dist/esm/components/core/ColorPicker.js +348 -0
- package/dist/esm/components/core/DatePicker.js +436 -0
- package/dist/esm/components/core/DateRangePicker.js +494 -0
- package/dist/esm/components/core/Form.js +522 -0
- package/dist/esm/components/core/Input.js +179 -0
- package/dist/esm/components/core/Loader.js +141 -0
- package/dist/esm/components/core/LocationPicker.js +161 -0
- package/dist/esm/components/core/Popover.js +171 -0
- package/dist/esm/components/core/PriceRangePicker.js +376 -0
- package/dist/esm/components/core/ProgressBar.js +152 -0
- package/dist/esm/components/core/Radio.js +156 -0
- package/dist/esm/components/core/Rate.js +197 -0
- package/dist/esm/components/core/RoundedTag.js +118 -0
- package/dist/esm/components/core/Select.js +857 -0
- package/dist/esm/components/core/Skeleton.js +100 -0
- package/dist/esm/components/core/Slider.js +134 -0
- package/dist/esm/components/core/SpeechToText.js +226 -0
- package/dist/esm/components/core/Switch.js +207 -0
- package/dist/esm/components/core/Table/ActionMenu.js +251 -0
- package/dist/esm/components/core/Table/ColumnMenu.js +55 -0
- package/dist/esm/components/core/Table/FieldInput.js +157 -0
- package/dist/esm/components/core/Table/MobileCard.js +187 -0
- package/dist/esm/components/core/Table/MobileFilters.js +72 -0
- package/dist/esm/components/core/Table/Pagination.js +157 -0
- package/dist/esm/components/core/Table/Table.js +1533 -0
- package/dist/esm/components/core/Table/TableRow.js +254 -0
- package/dist/esm/components/core/Table/constants.js +35 -0
- package/dist/esm/components/core/Table/helpers.js +124 -0
- package/dist/esm/components/core/Table/useClickOutside.js +26 -0
- package/dist/esm/components/core/Tabs.js +289 -0
- package/dist/esm/components/core/TextToSpeech.js +52 -0
- package/dist/esm/components/core/Textarea.js +125 -0
- package/dist/esm/components/core/ThreeDotPopover.js +160 -0
- package/dist/esm/components/core/Tooltip.js +372 -0
- package/dist/esm/components/feedback/Alert.js +96 -0
- package/dist/esm/components/feedback/Dialog.js +200 -0
- package/dist/esm/components/feedback/Drawer.js +171 -0
- package/dist/esm/components/feedback/Toast.js +362 -0
- package/dist/esm/components/feedback/Tour.js +214 -0
- package/dist/esm/components/feedback/TourSpotlight.js +71 -0
- package/dist/esm/components/navigation/Breadcrumbs.js +75 -0
- package/dist/esm/components/navigation/Dropdown.js +53 -0
- package/dist/esm/components/navigation/FootNav.js +51 -0
- package/dist/esm/components/navigation/Navbar.js +437 -0
- package/dist/esm/components/navigation/Sidebar.js +567 -0
- package/dist/esm/components/utility/Avatar.js +89 -0
- package/dist/esm/components/utility/Badge.js +47 -0
- package/dist/esm/components/utility/Card.js +85 -0
- package/dist/esm/components/utility/Carousel.js +97 -0
- package/dist/esm/components/utility/Condition.js +9 -0
- package/dist/esm/components/utility/FileUpload.js +177 -0
- package/dist/esm/components/utility/Pagination.js +111 -0
- package/dist/esm/components/utility/Sortable.js +190 -0
- package/dist/esm/components/utility/Stepper.js +101 -0
- package/dist/esm/hooks/useApi.js +169 -0
- package/dist/esm/hooks/useControllableState.js +32 -0
- package/dist/esm/hooks/useFocusTrap.js +85 -0
- package/dist/esm/hooks/useLatestRef.js +20 -0
- package/dist/esm/hooks/useMixins.js +100 -0
- package/dist/esm/hooks/useScrollLock.js +26 -0
- package/dist/esm/hooks/useSliderValues.js +135 -0
- package/dist/esm/hooks/useSortable.js +188 -0
- package/dist/esm/hooks/useTheme.js +53 -0
- package/dist/esm/hooks/useTourTarget.js +92 -0
- package/dist/esm/index.js +65 -0
- package/dist/esm/store/index.js +26 -0
- package/dist/esm/store/store.js +107 -0
- package/dist/esm/store/storeSlice.js +45 -0
- package/dist/esm/utils/cn.js +11 -0
- package/dist/esm/utils/emitter.js +169 -0
- package/dist/esm/utils/helpers.js +161 -0
- package/dist/esm/utils/position.js +134 -0
- package/dist/hooks/useApi.d.ts +2 -1
- package/dist/hooks/useApi.d.ts.map +1 -1
- package/dist/hooks/useControllableState.d.ts +11 -0
- package/dist/hooks/useControllableState.d.ts.map +1 -0
- package/dist/hooks/useFocusTrap.d.ts +15 -0
- package/dist/hooks/useFocusTrap.d.ts.map +1 -0
- package/dist/hooks/useLatestRef.d.ts +8 -0
- package/dist/hooks/useLatestRef.d.ts.map +1 -0
- package/dist/hooks/useMixins.d.ts.map +1 -1
- package/dist/hooks/useScrollLock.d.ts +2 -0
- package/dist/hooks/useScrollLock.d.ts.map +1 -0
- package/dist/hooks/useSliderValues.d.ts +43 -0
- package/dist/hooks/useSliderValues.d.ts.map +1 -0
- package/dist/hooks/useSortable.d.ts +32 -0
- package/dist/hooks/useSortable.d.ts.map +1 -0
- package/dist/hooks/useTheme.d.ts.map +1 -1
- package/dist/hooks/useTourTarget.d.ts +15 -0
- package/dist/hooks/useTourTarget.d.ts.map +1 -0
- package/dist/index.css +1 -1
- package/dist/index.d.ts +8 -2
- package/dist/index.esm.css +1 -1
- package/dist/index.esm.js +4800 -2212
- package/dist/index.js +4805 -2210
- package/dist/types/index.d.ts +193 -5
- package/dist/types/index.d.ts.map +1 -1
- package/dist/utils/position.d.ts +30 -0
- package/dist/utils/position.d.ts.map +1 -0
- package/doc/README.md +7 -1
- package/mcp/catalog.snapshot.json +911 -212
- package/package.json +14 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Slider.d.ts","sourceRoot":"","sources":["../../../src/components/core/Slider.jsx"],"names":[],"mappings":";AAMA,gFAgGG;kBAtGuD,OAAO"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SpeechToText.d.ts","sourceRoot":"","sources":["../../../src/components/core/SpeechToText.jsx"],"names":[],"mappings":";AAqBA,
|
|
1
|
+
{"version":3,"file":"SpeechToText.d.ts","sourceRoot":"","sources":["../../../src/components/core/SpeechToText.jsx"],"names":[],"mappings":";AAqBA,sFAgQE;kBA9QK,OAAO"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../../src/components/core/Switch.jsx"],"names":[],"mappings":";AAqEA,
|
|
1
|
+
{"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../../src/components/core/Switch.jsx"],"names":[],"mappings":";AAqEA,gFA8JG;kBAnO2D,OAAO"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActionMenu.d.ts","sourceRoot":"","sources":["../../../../src/components/core/Table/ActionMenu.jsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ActionMenu.d.ts","sourceRoot":"","sources":["../../../../src/components/core/Table/ActionMenu.jsx"],"names":[],"mappings":"AAQA;;;;;;;;sBA4RC;kBApSmE,OAAO"}
|
|
@@ -2,7 +2,8 @@ export default ColumnMenu;
|
|
|
2
2
|
/**
|
|
3
3
|
* Column visibility toggle menu
|
|
4
4
|
*/
|
|
5
|
-
declare function ColumnMenu({ columns, onToggle, menuRef, theme }: {
|
|
5
|
+
declare function ColumnMenu({ id, columns, onToggle, menuRef, theme }: {
|
|
6
|
+
id: any;
|
|
6
7
|
columns: any;
|
|
7
8
|
onToggle: any;
|
|
8
9
|
menuRef: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ColumnMenu.d.ts","sourceRoot":"","sources":["../../../../src/components/core/Table/ColumnMenu.jsx"],"names":[],"mappings":";AAKA;;GAEG;AACH
|
|
1
|
+
{"version":3,"file":"ColumnMenu.d.ts","sourceRoot":"","sources":["../../../../src/components/core/Table/ColumnMenu.jsx"],"names":[],"mappings":";AAKA;;GAEG;AACH;;;;;;4CAmCC"}
|
|
@@ -2,7 +2,7 @@ export default MobileCard;
|
|
|
2
2
|
/**
|
|
3
3
|
* Mobile card view for a single table row
|
|
4
4
|
*/
|
|
5
|
-
declare function MobileCard({ row, rowIndexInPage, startIndex, selectedRows, expandedRows, rowClass, stripedRows, stripedColors, theme, onRowClick, hasDetails, selectable, showSerial, withAction, visibleColumns, cellClass, DetailsComponent, actionsToUse, activeActionRowKey, activeAnchorEl,
|
|
5
|
+
declare function MobileCard({ row, rowIndexInPage, startIndex, selectedRows, expandedRows, rowClass, stripedRows, stripedColors, theme, onRowClick, hasDetails, selectable, showSerial, withAction, visibleColumns, cellClass, DetailsComponent, actionsToUse, activeActionRowKey, activeAnchorEl, registerActionButton, actionMenuRef, toggleExpandRow, handleSelectRow, toggleActions, handleOnAction, closeActionMenu, renderCell, }: {
|
|
6
6
|
row: any;
|
|
7
7
|
rowIndexInPage: any;
|
|
8
8
|
startIndex: any;
|
|
@@ -23,7 +23,7 @@ declare function MobileCard({ row, rowIndexInPage, startIndex, selectedRows, exp
|
|
|
23
23
|
actionsToUse: any;
|
|
24
24
|
activeActionRowKey: any;
|
|
25
25
|
activeAnchorEl: any;
|
|
26
|
-
|
|
26
|
+
registerActionButton: any;
|
|
27
27
|
actionMenuRef: any;
|
|
28
28
|
toggleExpandRow: any;
|
|
29
29
|
handleSelectRow: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MobileCard.d.ts","sourceRoot":"","sources":["../../../../src/components/core/Table/MobileCard.jsx"],"names":[],"mappings":";AAWA;;GAEG;AACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"MobileCard.d.ts","sourceRoot":"","sources":["../../../../src/components/core/Table/MobileCard.jsx"],"names":[],"mappings":";AAWA;;GAEG;AACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CAkOC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../../src/components/core/Table/Table.jsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../../src/components/core/Table/Table.jsx"],"names":[],"mappings":";AA8CA,+EA+gDG;kBApjDI,OAAO"}
|
|
@@ -2,7 +2,7 @@ export default TableRow;
|
|
|
2
2
|
/**
|
|
3
3
|
* Desktop table row component
|
|
4
4
|
*/
|
|
5
|
-
declare function TableRow({ row, rowIndexInPage, startIndex, selectedRows, expandedRows, rowClass, stripedRows, theme, onRowClick, hasDetails, hasDetailsColumn, showSerial, selectable, visibleColumns, cellClass, withAction, visibleCount, DetailsComponent, actionsToUse, activeActionRowKey, activeAnchorEl,
|
|
5
|
+
declare function TableRow({ row, rowIndexInPage, startIndex, selectedRows, expandedRows, rowClass, stripedRows, theme, onRowClick, hasDetails, hasDetailsColumn, showSerial, selectable, visibleColumns, cellClass, withAction, visibleCount, DetailsComponent, actionsToUse, activeActionRowKey, activeAnchorEl, registerActionButton, actionMenuRef, toggleExpandRow, handleSelectRow, toggleActions, handleOnAction, closeActionMenu, renderCell, interactive, activeCell, editingCell, onCellClick, onCellDoubleClick, renderInteractiveCellInput, invalidCellSet, pendingEdits, isNewRow, onDeleteNewRow, showColumnPicker, wrapCells, }: {
|
|
6
6
|
row: any;
|
|
7
7
|
rowIndexInPage: any;
|
|
8
8
|
startIndex: any;
|
|
@@ -24,7 +24,7 @@ declare function TableRow({ row, rowIndexInPage, startIndex, selectedRows, expan
|
|
|
24
24
|
actionsToUse: any;
|
|
25
25
|
activeActionRowKey: any;
|
|
26
26
|
activeAnchorEl: any;
|
|
27
|
-
|
|
27
|
+
registerActionButton: any;
|
|
28
28
|
actionMenuRef: any;
|
|
29
29
|
toggleExpandRow: any;
|
|
30
30
|
handleSelectRow: any;
|
|
@@ -42,5 +42,7 @@ declare function TableRow({ row, rowIndexInPage, startIndex, selectedRows, expan
|
|
|
42
42
|
pendingEdits?: null | undefined;
|
|
43
43
|
isNewRow?: boolean | undefined;
|
|
44
44
|
onDeleteNewRow?: null | undefined;
|
|
45
|
+
showColumnPicker?: boolean | undefined;
|
|
46
|
+
wrapCells?: boolean | undefined;
|
|
45
47
|
}): import("react/jsx-runtime").JSX.Element;
|
|
46
48
|
//# sourceMappingURL=TableRow.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableRow.d.ts","sourceRoot":"","sources":["../../../../src/components/core/Table/TableRow.jsx"],"names":[],"mappings":";AAWA;;GAEG;AACH
|
|
1
|
+
{"version":3,"file":"TableRow.d.ts","sourceRoot":"","sources":["../../../../src/components/core/Table/TableRow.jsx"],"names":[],"mappings":";AAWA;;GAEG;AACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CA6RC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tabs.d.ts","sourceRoot":"","sources":["../../../src/components/core/Tabs.jsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Tabs.d.ts","sourceRoot":"","sources":["../../../src/components/core/Tabs.jsx"],"names":[],"mappings":"AA0GA;;;4CAuBC;AAGD;;;;;;;;4CAkHC;AAGD;;;4CAcC;AAED;;;;;mDA8BC;;AAnPD,8EAiDG;kBA7FI,OAAO"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Textarea.d.ts","sourceRoot":"","sources":["../../../src/components/core/Textarea.jsx"],"names":[],"mappings":";AA0BA,kFAgGG;kBA1HiG,OAAO"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThreeDotPopover.d.ts","sourceRoot":"","sources":["../../../src/components/core/ThreeDotPopover.jsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"ThreeDotPopover.d.ts","sourceRoot":"","sources":["../../../src/components/core/ThreeDotPopover.jsx"],"names":[],"mappings":";AAUA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,+FAuIG;kBAtKI,OAAO"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../src/components/core/Tooltip.jsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../src/components/core/Tooltip.jsx"],"names":[],"mappings":";AAoCA;;;;;;;;;;;;;;;;GAgBG;AACH,iFAqVG;kBAjYI,OAAO"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["../../../src/components/feedback/Dialog.jsx"],"names":[],"mappings":";AAmCA,
|
|
1
|
+
{"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["../../../src/components/feedback/Dialog.jsx"],"names":[],"mappings":";AAmCA,gFAuJG;kBA1LsC,OAAO"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Drawer.d.ts","sourceRoot":"","sources":["../../../src/components/feedback/Drawer.jsx"],"names":[],"mappings":";AAiCA,gFAyFG;kBA1HkC,OAAO"}
|
|
@@ -1,13 +1,22 @@
|
|
|
1
1
|
export default Toast;
|
|
2
2
|
export const Toast: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
|
|
3
|
-
export function ToastContainer(
|
|
4
|
-
|
|
3
|
+
export function ToastContainer(props: any): import("react/jsx-runtime").JSX.Element | null;
|
|
4
|
+
export function ToastProvider({ children, position, className, }: {
|
|
5
|
+
children: any;
|
|
5
6
|
position?: string | undefined;
|
|
6
|
-
onRemove: any;
|
|
7
7
|
className?: string | undefined;
|
|
8
|
-
}):
|
|
8
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export namespace ToastProvider {
|
|
10
|
+
let displayName: string;
|
|
11
|
+
}
|
|
9
12
|
export function useToast(): {
|
|
10
|
-
toast: (options: any) => any
|
|
13
|
+
toast: ((options: any) => any) & {
|
|
14
|
+
success: (title: any, message: any, options: any) => any;
|
|
15
|
+
error: (title: any, message: any, options: any) => any;
|
|
16
|
+
warning: (title: any, message: any, options: any) => any;
|
|
17
|
+
info: (title: any, message: any, options: any) => any;
|
|
18
|
+
default: (title: any, message: any, options: any) => any;
|
|
19
|
+
};
|
|
11
20
|
toasts: never[];
|
|
12
21
|
removeToast: (id: any) => void;
|
|
13
22
|
clearToasts: () => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toast.d.ts","sourceRoot":"","sources":["../../../src/components/feedback/Toast.jsx"],"names":[],"mappings":";AAmDA,8EA4NG;
|
|
1
|
+
{"version":3,"file":"Toast.d.ts","sourceRoot":"","sources":["../../../src/components/feedback/Toast.jsx"],"names":[],"mappings":";AAmDA,8EA4NG;AA6CH,2FAOC;AA6CD;;;;4CAkBC;;;;AAMD;;;;;;;;;;;;EAIC;kBA5Y+G,OAAO"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tour.d.ts","sourceRoot":"","sources":["../../../src/components/feedback/Tour.jsx"],"names":[],"mappings":";AAsBA,8EAoIG;kBA1JoF,OAAO"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export default TourSpotlight;
|
|
2
|
+
declare function TourSpotlight({ rect, padding }: {
|
|
3
|
+
rect: any;
|
|
4
|
+
padding: any;
|
|
5
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
declare namespace TourSpotlight {
|
|
7
|
+
let displayName: string;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=TourSpotlight.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TourSpotlight.d.ts","sourceRoot":"","sources":["../../../src/components/feedback/TourSpotlight.jsx"],"names":[],"mappings":";AAOA;;;4CAsBC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Breadcrumbs.d.ts","sourceRoot":"","sources":["../../../src/components/navigation/Breadcrumbs.jsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"Breadcrumbs.d.ts","sourceRoot":"","sources":["../../../src/components/navigation/Breadcrumbs.jsx"],"names":[],"mappings":";AAQA,qFAoDG;kBA5De,OAAO"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FootNav.d.ts","sourceRoot":"","sources":["../../../src/components/navigation/FootNav.jsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"FootNav.d.ts","sourceRoot":"","sources":["../../../src/components/navigation/FootNav.jsx"],"names":[],"mappings":";AAKA,iFA8CG;kBAnDe,OAAO"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Navbar.d.ts","sourceRoot":"","sources":["../../../src/components/navigation/Navbar.jsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Navbar.d.ts","sourceRoot":"","sources":["../../../src/components/navigation/Navbar.jsx"],"names":[],"mappings":"AAiMA,+EAwSG;;kBAxeqD,OAAO"}
|
|
@@ -2,11 +2,17 @@ export default Sidebar;
|
|
|
2
2
|
/**
|
|
3
3
|
* Sidebar component with custom tooltip for collapsed mode.
|
|
4
4
|
*
|
|
5
|
+
* Every item (parent or child) renders as an anchor, so items with `href`
|
|
6
|
+
* support Ctrl/Cmd-click, middle-click and "open in new tab".
|
|
7
|
+
*
|
|
5
8
|
* Props:
|
|
6
|
-
* - items: array of { id, label, icon, children?, onClick?,
|
|
9
|
+
* - items: array of { id, label, icon, href?, target?, rel?, children?, onClick?,
|
|
10
|
+
* active?, disabled?, badge?, badgeLabel?, group? }
|
|
11
|
+
* - linkAs: element type used for items with `href` (default "a"; pass Next.js Link etc.)
|
|
7
12
|
* - collapsed: boolean (desktop collapsed)
|
|
8
13
|
* - onToggle: function to toggle collapse
|
|
9
|
-
* -
|
|
14
|
+
* - expandedIds / defaultExpandedIds / onExpandedChange: open groups (ids)
|
|
15
|
+
* - className, containerClassName, stickyOffset, logo, footer, user, onUserClick
|
|
10
16
|
* - drawerPosition: 'left' | 'right'
|
|
11
17
|
* - isMobileOpen, setIsMobileOpen
|
|
12
18
|
* - showCollapsedTooltips: boolean (default true)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Sidebar.d.ts","sourceRoot":"","sources":["../../../src/components/navigation/Sidebar.jsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"Sidebar.d.ts","sourceRoot":"","sources":["../../../src/components/navigation/Sidebar.jsx"],"names":[],"mappings":";AAiGA;;;;;;;;;;;;;;;;;GAiBG;AACH,iFA2kBG;kBAtrBI,OAAO"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../src/components/utility/Badge.jsx"],"names":[],"mappings":";AAGA,+
|
|
1
|
+
{"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../src/components/utility/Badge.jsx"],"names":[],"mappings":";AAGA,+EA6CG;kBAhDe,OAAO"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FileUpload.d.ts","sourceRoot":"","sources":["../../../src/components/utility/FileUpload.jsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"FileUpload.d.ts","sourceRoot":"","sources":["../../../src/components/utility/FileUpload.jsx"],"names":[],"mappings":";AAYA,oFAyKG;kBArLkD,OAAO"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Sortable.d.ts","sourceRoot":"","sources":["../../../src/components/utility/Sortable.jsx"],"names":[],"mappings":";AAqBA,kFAoHG;kBAzI0G,OAAO"}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
/*
|
|
2
|
+
object-assign
|
|
3
|
+
(c) Sindre Sorhus
|
|
4
|
+
@license MIT
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
var objectAssign;
|
|
8
|
+
var hasRequiredObjectAssign;
|
|
9
|
+
|
|
10
|
+
function requireObjectAssign () {
|
|
11
|
+
if (hasRequiredObjectAssign) return objectAssign;
|
|
12
|
+
hasRequiredObjectAssign = 1;
|
|
13
|
+
/* eslint-disable no-unused-vars */
|
|
14
|
+
var getOwnPropertySymbols = Object.getOwnPropertySymbols;
|
|
15
|
+
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
16
|
+
var propIsEnumerable = Object.prototype.propertyIsEnumerable;
|
|
17
|
+
|
|
18
|
+
function toObject(val) {
|
|
19
|
+
if (val === null || val === undefined) {
|
|
20
|
+
throw new TypeError('Object.assign cannot be called with null or undefined');
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
return Object(val);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
function shouldUseNative() {
|
|
27
|
+
try {
|
|
28
|
+
if (!Object.assign) {
|
|
29
|
+
return false;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
// Detect buggy property enumeration order in older V8 versions.
|
|
33
|
+
|
|
34
|
+
// https://bugs.chromium.org/p/v8/issues/detail?id=4118
|
|
35
|
+
var test1 = new String('abc'); // eslint-disable-line no-new-wrappers
|
|
36
|
+
test1[5] = 'de';
|
|
37
|
+
if (Object.getOwnPropertyNames(test1)[0] === '5') {
|
|
38
|
+
return false;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
// https://bugs.chromium.org/p/v8/issues/detail?id=3056
|
|
42
|
+
var test2 = {};
|
|
43
|
+
for (var i = 0; i < 10; i++) {
|
|
44
|
+
test2['_' + String.fromCharCode(i)] = i;
|
|
45
|
+
}
|
|
46
|
+
var order2 = Object.getOwnPropertyNames(test2).map(function (n) {
|
|
47
|
+
return test2[n];
|
|
48
|
+
});
|
|
49
|
+
if (order2.join('') !== '0123456789') {
|
|
50
|
+
return false;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
// https://bugs.chromium.org/p/v8/issues/detail?id=3056
|
|
54
|
+
var test3 = {};
|
|
55
|
+
'abcdefghijklmnopqrst'.split('').forEach(function (letter) {
|
|
56
|
+
test3[letter] = letter;
|
|
57
|
+
});
|
|
58
|
+
if (Object.keys(Object.assign({}, test3)).join('') !==
|
|
59
|
+
'abcdefghijklmnopqrst') {
|
|
60
|
+
return false;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
return true;
|
|
64
|
+
} catch (err) {
|
|
65
|
+
// We don't expect any of the above to throw, but better to be safe.
|
|
66
|
+
return false;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
objectAssign = shouldUseNative() ? Object.assign : function (target, source) {
|
|
71
|
+
var from;
|
|
72
|
+
var to = toObject(target);
|
|
73
|
+
var symbols;
|
|
74
|
+
|
|
75
|
+
for (var s = 1; s < arguments.length; s++) {
|
|
76
|
+
from = Object(arguments[s]);
|
|
77
|
+
|
|
78
|
+
for (var key in from) {
|
|
79
|
+
if (hasOwnProperty.call(from, key)) {
|
|
80
|
+
to[key] = from[key];
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
if (getOwnPropertySymbols) {
|
|
85
|
+
symbols = getOwnPropertySymbols(from);
|
|
86
|
+
for (var i = 0; i < symbols.length; i++) {
|
|
87
|
+
if (propIsEnumerable.call(from, symbols[i])) {
|
|
88
|
+
to[symbols[i]] = from[symbols[i]];
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
return to;
|
|
95
|
+
};
|
|
96
|
+
return objectAssign;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
export { requireObjectAssign as __require };
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
import { __exports as reactIs_development } from '../../../../../_virtual/react-is.development.js';
|
|
2
|
+
|
|
3
|
+
/** @license React v16.13.1
|
|
4
|
+
* react-is.development.js
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
7
|
+
*
|
|
8
|
+
* This source code is licensed under the MIT license found in the
|
|
9
|
+
* LICENSE file in the root directory of this source tree.
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
var hasRequiredReactIs_development;
|
|
13
|
+
|
|
14
|
+
function requireReactIs_development () {
|
|
15
|
+
if (hasRequiredReactIs_development) return reactIs_development;
|
|
16
|
+
hasRequiredReactIs_development = 1;
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
if (process.env.NODE_ENV !== "production") {
|
|
21
|
+
(function() {
|
|
22
|
+
|
|
23
|
+
// The Symbol used to tag the ReactElement-like types. If there is no native Symbol
|
|
24
|
+
// nor polyfill, then a plain number is used for performance.
|
|
25
|
+
var hasSymbol = typeof Symbol === 'function' && Symbol.for;
|
|
26
|
+
var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;
|
|
27
|
+
var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;
|
|
28
|
+
var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;
|
|
29
|
+
var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;
|
|
30
|
+
var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
|
|
31
|
+
var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
|
|
32
|
+
var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary
|
|
33
|
+
// (unstable) APIs that have been removed. Can we remove the symbols?
|
|
34
|
+
|
|
35
|
+
var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;
|
|
36
|
+
var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
|
|
37
|
+
var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
|
|
38
|
+
var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
|
|
39
|
+
var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;
|
|
40
|
+
var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
|
|
41
|
+
var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
|
|
42
|
+
var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;
|
|
43
|
+
var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;
|
|
44
|
+
var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;
|
|
45
|
+
var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;
|
|
46
|
+
|
|
47
|
+
function isValidElementType(type) {
|
|
48
|
+
return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
49
|
+
type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
function typeOf(object) {
|
|
53
|
+
if (typeof object === 'object' && object !== null) {
|
|
54
|
+
var $$typeof = object.$$typeof;
|
|
55
|
+
|
|
56
|
+
switch ($$typeof) {
|
|
57
|
+
case REACT_ELEMENT_TYPE:
|
|
58
|
+
var type = object.type;
|
|
59
|
+
|
|
60
|
+
switch (type) {
|
|
61
|
+
case REACT_ASYNC_MODE_TYPE:
|
|
62
|
+
case REACT_CONCURRENT_MODE_TYPE:
|
|
63
|
+
case REACT_FRAGMENT_TYPE:
|
|
64
|
+
case REACT_PROFILER_TYPE:
|
|
65
|
+
case REACT_STRICT_MODE_TYPE:
|
|
66
|
+
case REACT_SUSPENSE_TYPE:
|
|
67
|
+
return type;
|
|
68
|
+
|
|
69
|
+
default:
|
|
70
|
+
var $$typeofType = type && type.$$typeof;
|
|
71
|
+
|
|
72
|
+
switch ($$typeofType) {
|
|
73
|
+
case REACT_CONTEXT_TYPE:
|
|
74
|
+
case REACT_FORWARD_REF_TYPE:
|
|
75
|
+
case REACT_LAZY_TYPE:
|
|
76
|
+
case REACT_MEMO_TYPE:
|
|
77
|
+
case REACT_PROVIDER_TYPE:
|
|
78
|
+
return $$typeofType;
|
|
79
|
+
|
|
80
|
+
default:
|
|
81
|
+
return $$typeof;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
case REACT_PORTAL_TYPE:
|
|
87
|
+
return $$typeof;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
return undefined;
|
|
92
|
+
} // AsyncMode is deprecated along with isAsyncMode
|
|
93
|
+
|
|
94
|
+
var AsyncMode = REACT_ASYNC_MODE_TYPE;
|
|
95
|
+
var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
|
|
96
|
+
var ContextConsumer = REACT_CONTEXT_TYPE;
|
|
97
|
+
var ContextProvider = REACT_PROVIDER_TYPE;
|
|
98
|
+
var Element = REACT_ELEMENT_TYPE;
|
|
99
|
+
var ForwardRef = REACT_FORWARD_REF_TYPE;
|
|
100
|
+
var Fragment = REACT_FRAGMENT_TYPE;
|
|
101
|
+
var Lazy = REACT_LAZY_TYPE;
|
|
102
|
+
var Memo = REACT_MEMO_TYPE;
|
|
103
|
+
var Portal = REACT_PORTAL_TYPE;
|
|
104
|
+
var Profiler = REACT_PROFILER_TYPE;
|
|
105
|
+
var StrictMode = REACT_STRICT_MODE_TYPE;
|
|
106
|
+
var Suspense = REACT_SUSPENSE_TYPE;
|
|
107
|
+
var hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated
|
|
108
|
+
|
|
109
|
+
function isAsyncMode(object) {
|
|
110
|
+
{
|
|
111
|
+
if (!hasWarnedAboutDeprecatedIsAsyncMode) {
|
|
112
|
+
hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
|
|
113
|
+
|
|
114
|
+
console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
|
|
119
|
+
}
|
|
120
|
+
function isConcurrentMode(object) {
|
|
121
|
+
return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
|
|
122
|
+
}
|
|
123
|
+
function isContextConsumer(object) {
|
|
124
|
+
return typeOf(object) === REACT_CONTEXT_TYPE;
|
|
125
|
+
}
|
|
126
|
+
function isContextProvider(object) {
|
|
127
|
+
return typeOf(object) === REACT_PROVIDER_TYPE;
|
|
128
|
+
}
|
|
129
|
+
function isElement(object) {
|
|
130
|
+
return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
|
|
131
|
+
}
|
|
132
|
+
function isForwardRef(object) {
|
|
133
|
+
return typeOf(object) === REACT_FORWARD_REF_TYPE;
|
|
134
|
+
}
|
|
135
|
+
function isFragment(object) {
|
|
136
|
+
return typeOf(object) === REACT_FRAGMENT_TYPE;
|
|
137
|
+
}
|
|
138
|
+
function isLazy(object) {
|
|
139
|
+
return typeOf(object) === REACT_LAZY_TYPE;
|
|
140
|
+
}
|
|
141
|
+
function isMemo(object) {
|
|
142
|
+
return typeOf(object) === REACT_MEMO_TYPE;
|
|
143
|
+
}
|
|
144
|
+
function isPortal(object) {
|
|
145
|
+
return typeOf(object) === REACT_PORTAL_TYPE;
|
|
146
|
+
}
|
|
147
|
+
function isProfiler(object) {
|
|
148
|
+
return typeOf(object) === REACT_PROFILER_TYPE;
|
|
149
|
+
}
|
|
150
|
+
function isStrictMode(object) {
|
|
151
|
+
return typeOf(object) === REACT_STRICT_MODE_TYPE;
|
|
152
|
+
}
|
|
153
|
+
function isSuspense(object) {
|
|
154
|
+
return typeOf(object) === REACT_SUSPENSE_TYPE;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
reactIs_development.AsyncMode = AsyncMode;
|
|
158
|
+
reactIs_development.ConcurrentMode = ConcurrentMode;
|
|
159
|
+
reactIs_development.ContextConsumer = ContextConsumer;
|
|
160
|
+
reactIs_development.ContextProvider = ContextProvider;
|
|
161
|
+
reactIs_development.Element = Element;
|
|
162
|
+
reactIs_development.ForwardRef = ForwardRef;
|
|
163
|
+
reactIs_development.Fragment = Fragment;
|
|
164
|
+
reactIs_development.Lazy = Lazy;
|
|
165
|
+
reactIs_development.Memo = Memo;
|
|
166
|
+
reactIs_development.Portal = Portal;
|
|
167
|
+
reactIs_development.Profiler = Profiler;
|
|
168
|
+
reactIs_development.StrictMode = StrictMode;
|
|
169
|
+
reactIs_development.Suspense = Suspense;
|
|
170
|
+
reactIs_development.isAsyncMode = isAsyncMode;
|
|
171
|
+
reactIs_development.isConcurrentMode = isConcurrentMode;
|
|
172
|
+
reactIs_development.isContextConsumer = isContextConsumer;
|
|
173
|
+
reactIs_development.isContextProvider = isContextProvider;
|
|
174
|
+
reactIs_development.isElement = isElement;
|
|
175
|
+
reactIs_development.isForwardRef = isForwardRef;
|
|
176
|
+
reactIs_development.isFragment = isFragment;
|
|
177
|
+
reactIs_development.isLazy = isLazy;
|
|
178
|
+
reactIs_development.isMemo = isMemo;
|
|
179
|
+
reactIs_development.isPortal = isPortal;
|
|
180
|
+
reactIs_development.isProfiler = isProfiler;
|
|
181
|
+
reactIs_development.isStrictMode = isStrictMode;
|
|
182
|
+
reactIs_development.isSuspense = isSuspense;
|
|
183
|
+
reactIs_development.isValidElementType = isValidElementType;
|
|
184
|
+
reactIs_development.typeOf = typeOf;
|
|
185
|
+
})();
|
|
186
|
+
}
|
|
187
|
+
return reactIs_development;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
export { requireReactIs_development as __require };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { __exports as reactIs_production_min } from '../../../../../_virtual/react-is.production.min.js';
|
|
2
|
+
|
|
3
|
+
/** @license React v16.13.1
|
|
4
|
+
* react-is.production.min.js
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
7
|
+
*
|
|
8
|
+
* This source code is licensed under the MIT license found in the
|
|
9
|
+
* LICENSE file in the root directory of this source tree.
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
var hasRequiredReactIs_production_min;
|
|
13
|
+
|
|
14
|
+
function requireReactIs_production_min () {
|
|
15
|
+
if (hasRequiredReactIs_production_min) return reactIs_production_min;
|
|
16
|
+
hasRequiredReactIs_production_min = 1;
|
|
17
|
+
var b="function"===typeof Symbol&&Symbol.for,c=b?Symbol.for("react.element"):60103,d=b?Symbol.for("react.portal"):60106,e=b?Symbol.for("react.fragment"):60107,f=b?Symbol.for("react.strict_mode"):60108,g=b?Symbol.for("react.profiler"):60114,h=b?Symbol.for("react.provider"):60109,k=b?Symbol.for("react.context"):60110,l=b?Symbol.for("react.async_mode"):60111,m=b?Symbol.for("react.concurrent_mode"):60111,n=b?Symbol.for("react.forward_ref"):60112,p=b?Symbol.for("react.suspense"):60113,q=b?
|
|
18
|
+
Symbol.for("react.suspense_list"):60120,r=b?Symbol.for("react.memo"):60115,t=b?Symbol.for("react.lazy"):60116,v=b?Symbol.for("react.block"):60121,w=b?Symbol.for("react.fundamental"):60117,x=b?Symbol.for("react.responder"):60118,y=b?Symbol.for("react.scope"):60119;
|
|
19
|
+
function z(a){if("object"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}reactIs_production_min.AsyncMode=l;reactIs_production_min.ConcurrentMode=m;reactIs_production_min.ContextConsumer=k;reactIs_production_min.ContextProvider=h;reactIs_production_min.Element=c;reactIs_production_min.ForwardRef=n;reactIs_production_min.Fragment=e;reactIs_production_min.Lazy=t;reactIs_production_min.Memo=r;reactIs_production_min.Portal=d;
|
|
20
|
+
reactIs_production_min.Profiler=g;reactIs_production_min.StrictMode=f;reactIs_production_min.Suspense=p;reactIs_production_min.isAsyncMode=function(a){return A(a)||z(a)===l};reactIs_production_min.isConcurrentMode=A;reactIs_production_min.isContextConsumer=function(a){return z(a)===k};reactIs_production_min.isContextProvider=function(a){return z(a)===h};reactIs_production_min.isElement=function(a){return "object"===typeof a&&null!==a&&a.$$typeof===c};reactIs_production_min.isForwardRef=function(a){return z(a)===n};reactIs_production_min.isFragment=function(a){return z(a)===e};reactIs_production_min.isLazy=function(a){return z(a)===t};
|
|
21
|
+
reactIs_production_min.isMemo=function(a){return z(a)===r};reactIs_production_min.isPortal=function(a){return z(a)===d};reactIs_production_min.isProfiler=function(a){return z(a)===g};reactIs_production_min.isStrictMode=function(a){return z(a)===f};reactIs_production_min.isSuspense=function(a){return z(a)===p};
|
|
22
|
+
reactIs_production_min.isValidElementType=function(a){return "string"===typeof a||"function"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||"object"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};reactIs_production_min.typeOf=z;
|
|
23
|
+
return reactIs_production_min;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export { requireReactIs_production_min as __require };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { __module as reactIs } from '../../../../_virtual/index2.js';
|
|
2
|
+
import { __require as requireReactIs_production_min } from './cjs/react-is.production.min.js';
|
|
3
|
+
import { __require as requireReactIs_development } from './cjs/react-is.development.js';
|
|
4
|
+
|
|
5
|
+
var hasRequiredReactIs;
|
|
6
|
+
|
|
7
|
+
function requireReactIs () {
|
|
8
|
+
if (hasRequiredReactIs) return reactIs.exports;
|
|
9
|
+
hasRequiredReactIs = 1;
|
|
10
|
+
|
|
11
|
+
if (process.env.NODE_ENV === 'production') {
|
|
12
|
+
reactIs.exports = requireReactIs_production_min();
|
|
13
|
+
} else {
|
|
14
|
+
reactIs.exports = requireReactIs_development();
|
|
15
|
+
}
|
|
16
|
+
return reactIs.exports;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export { requireReactIs as __require };
|