amotify 0.0.65 → 0.0.67
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/amotify.js +3 -2
- package/dist/amotify.min.css +2 -2
- package/dist/coreVender.js +14 -2
- package/dist/node_modules/@fortawesome/free-regular-svg-icons/faCalendarAlt.d.ts +7 -0
- package/dist/node_modules/@fortawesome/free-regular-svg-icons/faCalendarDays.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-regular-svg-icons/faClock.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faAngleDown.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faAngleLeft.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faAngleRight.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faAngleUp.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faArrowDown.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faArrowLeft.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faArrowRight.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faArrowRotateRight.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faArrowUp.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faBars.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faBarsStaggered.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faCaretDown.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faCaretLeft.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faCaretRight.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faCaretUp.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faCheck.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faCheckCircle.d.ts +7 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faChevronDown.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faChevronLeft.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faChevronRight.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faChevronUp.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faCircleCheck.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faCircleQuestion.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faCloudArrowUp.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faCopy.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faDownload.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faEdit.d.ts +7 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faEllipsis.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faEllipsisH.d.ts +7 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faEllipsisV.d.ts +7 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faEllipsisVertical.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faExclamation.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faExclamationTriangle.d.ts +7 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faExternalLinkAlt.d.ts +7 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faEye.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faFile.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faFilter.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faGear.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faGripVertical.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faHeart.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faHome.d.ts +7 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faHouse.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faImage.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faLink.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faLinkSlash.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faMagnifyingGlass.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faMinus.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faPalette.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faPaperPlane.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faPen.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faPenToSquare.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faPlus.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faQuestion.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faQuestionCircle.d.ts +7 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faRedo.d.ts +7 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faRotate.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faRotateLeft.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faRotateRight.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faSearch.d.ts +7 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faShare.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faStar.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faTimes.d.ts +7 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faTrashAlt.d.ts +7 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faTrashCan.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faTriangleExclamation.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faUpRightFromSquare.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faUser.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faXmark.d.ts +14 -0
- package/dist/node_modules/@fortawesome/free-solid-svg-icons/faYenSign.d.ts +14 -0
- package/dist/node_modules/@fortawesome/react-fontawesome/index.es.d.ts +2 -0
- package/dist/node_modules/@remix-run/router/dist/router.d.ts +317 -0
- package/dist/node_modules/css-loader/dist/runtime/api.d.ts +2 -0
- package/dist/node_modules/css-loader/dist/runtime/noSourceMaps.d.ts +2 -0
- package/dist/node_modules/jsmin-front/dist/jsmin.d.ts +3 -0
- package/dist/node_modules/prop-types/factoryWithThrowingShims.d.ts +86 -0
- package/dist/node_modules/prop-types/index.d.ts +2 -0
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.d.ts +2 -0
- package/dist/node_modules/react/cjs/react.production.min.d.ts +116 -0
- package/dist/node_modules/react/index.d.ts +2 -0
- package/dist/node_modules/react-dom/cjs/react-dom.production.min.d.ts +37 -0
- package/dist/node_modules/react-dom/client.d.ts +2 -0
- package/dist/node_modules/react-dom/index.d.ts +2 -0
- package/dist/node_modules/react-router/dist/index.d.ts +241 -0
- package/dist/node_modules/react-router-dom/dist/index.d.ts +139 -0
- package/dist/node_modules/scheduler/cjs/scheduler.production.min.d.ts +20 -0
- package/dist/node_modules/scheduler/index.d.ts +2 -0
- package/dist/src/@atoms.d.ts +4 -0
- package/dist/src/@declations/_.d.ts +23 -0
- package/dist/src/@declations/amotify.d.ts +1358 -0
- package/dist/src/@declations/jsminAmotifyExtension.d.ts +132 -0
- package/dist/src/@declations/module.d.ts +1 -0
- package/dist/src/@declations/styles.d.ts +145 -0
- package/dist/src/@functions.d.ts +12 -0
- package/dist/src/@global.d.ts +23 -0
- package/dist/src/@jsminAmotifyExtension/_.d.ts +4 -0
- package/dist/src/@jsminAmotifyExtension/fetch.d.ts +1 -0
- package/dist/src/@jsminAmotifyExtension/formCollect.d.ts +1 -0
- package/dist/src/@jsminAmotifyExtension/spreadSheet.d.ts +4 -0
- package/dist/src/@jsminAmotifyExtension/variables.d.ts +1 -0
- package/dist/src/@molecules.d.ts +23 -0
- package/dist/src/@organisms.d.ts +1 -0
- package/dist/src/@templates.d.ts +2 -0
- package/dist/src/@variables.d.ts +8 -0
- package/dist/src/atoms/FAI/parts.d.ts +3 -0
- package/dist/src/atoms/Logo/parts.d.ts +2 -0
- package/dist/src/atoms/Various/parts.d.ts +11 -0
- package/dist/src/config.d.ts +19 -0
- package/dist/src/functions/Button/_.d.ts +2 -0
- package/dist/src/functions/Cropper/parts.d.ts +2 -0
- package/dist/src/functions/Effects/Fade.d.ts +2 -0
- package/dist/src/functions/Effects/Ripple.d.ts +1 -0
- package/dist/src/functions/Effects/_.d.ts +4 -0
- package/dist/src/functions/Input/Chips/Selector.d.ts +2 -0
- package/dist/src/functions/Input/Chips/_.d.ts +3 -0
- package/dist/src/functions/Input/Contenteditable.d.ts +4 -0
- package/dist/src/functions/Input/DigitCharacters.d.ts +4 -0
- package/dist/src/functions/Input/File/_.d.ts +3 -0
- package/dist/src/functions/Input/Hidden.d.ts +3 -0
- package/dist/src/functions/Input/List/_.d.ts +4 -0
- package/dist/src/functions/Input/RichSelect/_.d.ts +4 -0
- package/dist/src/functions/Input/Segmented/_.d.ts +2 -0
- package/dist/src/functions/Input/Select/_.d.ts +4 -0
- package/dist/src/functions/Input/Slider/_.d.ts +4 -0
- package/dist/src/functions/Input/Switch/_.d.ts +4 -0
- package/dist/src/functions/Input/Text.d.ts +8 -0
- package/dist/src/functions/Input/TextArea.d.ts +4 -0
- package/dist/src/functions/Input/Time/Picker.d.ts +4 -0
- package/dist/src/functions/Input/Time/_.d.ts +5 -0
- package/dist/src/functions/Input/_.d.ts +6 -0
- package/dist/src/functions/Input/core.d.ts +36 -0
- package/dist/src/functions/Inputs/_.d.ts +4 -0
- package/dist/src/functions/Inputs/text.d.ts +3 -0
- package/dist/src/functions/Layout/PageNotFound.d.ts +2 -0
- package/dist/src/functions/Layout/PageRouter.d.ts +4 -0
- package/dist/src/functions/Layout/PageViewController/parts.d.ts +4 -0
- package/dist/src/functions/Layout/Plate.d.ts +3 -0
- package/dist/src/functions/Layout/RootViewController/parts.d.ts +2 -0
- package/dist/src/functions/Layout/SwipeView/parts.d.ts +5 -0
- package/dist/src/functions/Layout/TabBar.d.ts +4 -0
- package/dist/src/functions/Layout/_.d.ts +3 -0
- package/dist/src/functions/Loader/corner.d.ts +3 -0
- package/dist/src/functions/Loader/mini.d.ts +7 -0
- package/dist/src/functions/Loader/parts.d.ts +4 -0
- package/dist/src/functions/Loader/top.d.ts +3 -0
- package/dist/src/functions/Sheet/parts.d.ts +3 -0
- package/dist/src/functions/SnackBar/parts.d.ts +3 -0
- package/dist/src/functions/Table/Data/parts.d.ts +6 -0
- package/dist/src/functions/Table/Drag/parts.d.ts +4 -0
- package/dist/src/functions/Table/Normal/parts.d.ts +3 -0
- package/dist/src/functions/Table/_.d.ts +10 -0
- package/dist/src/functions/Tooltips/parts.d.ts +3 -0
- package/dist/src/global/LaunchReactApplication.d.ts +3 -0
- package/dist/src/global/styleConverter.d.ts +3 -0
- package/dist/src/launch.d.ts +10 -0
- package/dist/src/molecules/Accordion/parts.d.ts +3 -0
- package/dist/src/molecules/LinkifyText/parts.d.ts +3 -0
- package/dist/src/molecules/List.d.ts +3 -0
- package/dist/src/templates/PlayGround/parts.d.ts +2 -0
- package/package.json +10 -10
- package/tsconfig.json +14 -7
- package/@types/_.tsx +0 -7
- package/@types/amot.tsx +0 -355
- package/@types/fn.tsx +0 -1280
- package/@types/jsminAmotifyExtension.tsx +0 -137
- package/@types/module.tsx +0 -1
- package/@types/state.tsx +0 -231
- package/src/@atoms.tsx +0 -34
- package/src/@functions.tsx +0 -29
- package/src/@global.tsx +0 -145
- package/src/@jsminAmotifyExtension/_.tsx +0 -4
- package/src/@jsminAmotifyExtension/fetch.tsx +0 -110
- package/src/@jsminAmotifyExtension/formCollect.tsx +0 -94
- package/src/@jsminAmotifyExtension/spreadSheet.tsx +0 -165
- package/src/@jsminAmotifyExtension/variables.tsx +0 -137
- package/src/@molecules.tsx +0 -96
- package/src/@organisms.tsx +0 -1
- package/src/@reactPacks/reactProduction@18.2.0.js +0 -79
- package/src/@reactPacks/reactRouterDomProduction@18.2.0.js +0 -31
- package/src/@styles/@app.scss +0 -4
- package/src/@styles/UniStyling.scss +0 -1028
- package/src/@styles/init.scss +0 -94
- package/src/@styles/props.scss +0 -109
- package/src/@styles/styleSet.scss +0 -38
- package/src/@styles/themeColor.scss +0 -71
- package/src/@styles/var.scss +0 -182
- package/src/@templates.tsx +0 -7
- package/src/@variables.tsx +0 -74
- package/src/atoms/FAI/parts.tsx +0 -139
- package/src/atoms/Logo/parts.tsx +0 -335
- package/src/atoms/Logo/style.module.scss +0 -96
- package/src/atoms/Various/parts.tsx +0 -159
- package/src/atoms/Various/style.module.scss +0 -46
- package/src/config.tsx +0 -191
- package/src/functions/Button/_.tsx +0 -331
- package/src/functions/Button/style.module.scss +0 -157
- package/src/functions/Cropper/parts.tsx +0 -1084
- package/src/functions/Cropper/style.module.scss +0 -64
- package/src/functions/Effects/Fade.tsx +0 -76
- package/src/functions/Effects/Ripple.tsx +0 -141
- package/src/functions/Effects/_.tsx +0 -33
- package/src/functions/Effects/style.module.scss +0 -91
- package/src/functions/Input/Chips/Selector.tsx +0 -445
- package/src/functions/Input/Chips/_.tsx +0 -289
- package/src/functions/Input/Chips/style.module.scss +0 -6
- package/src/functions/Input/Contenteditable.tsx +0 -114
- package/src/functions/Input/DigitCharacters.tsx +0 -235
- package/src/functions/Input/File/_.tsx +0 -553
- package/src/functions/Input/File/style.module.scss +0 -34
- package/src/functions/Input/Hidden.tsx +0 -21
- package/src/functions/Input/List/_.tsx +0 -383
- package/src/functions/Input/List/style.module.scss +0 -84
- package/src/functions/Input/RichSelect/_.tsx +0 -230
- package/src/functions/Input/RichSelect/style.module.scss +0 -11
- package/src/functions/Input/Segmented/_.tsx +0 -246
- package/src/functions/Input/Segmented/style.module.scss +0 -81
- package/src/functions/Input/Select/_.tsx +0 -218
- package/src/functions/Input/Select/style.module.scss +0 -11
- package/src/functions/Input/Slider/_.tsx +0 -524
- package/src/functions/Input/Slider/style.module.scss +0 -67
- package/src/functions/Input/Switch/_.tsx +0 -176
- package/src/functions/Input/Switch/style.module.scss +0 -18
- package/src/functions/Input/Text.tsx +0 -487
- package/src/functions/Input/TextArea.tsx +0 -109
- package/src/functions/Input/Time/Picker.tsx +0 -1361
- package/src/functions/Input/Time/_.tsx +0 -749
- package/src/functions/Input/Time/style.module.scss +0 -79
- package/src/functions/Input/_.tsx +0 -881
- package/src/functions/Input/core.tsx +0 -473
- package/src/functions/Input/style.module.scss +0 -102
- package/src/functions/Inputs/_.tsx +0 -5
- package/src/functions/Inputs/style.module.scss +0 -15
- package/src/functions/Inputs/text.tsx +0 -53
- package/src/functions/Inputs/types.d.ts +0 -13
- package/src/functions/Layout/PageNotFound.tsx +0 -78
- package/src/functions/Layout/PageRouter.tsx +0 -89
- package/src/functions/Layout/PageViewController/parts.tsx +0 -27
- package/src/functions/Layout/Plate.tsx +0 -30
- package/src/functions/Layout/RootViewController/parts.tsx +0 -300
- package/src/functions/Layout/RootViewController/style.module.scss +0 -23
- package/src/functions/Layout/SwipeView/parts.tsx +0 -375
- package/src/functions/Layout/SwipeView/style.module.scss +0 -20
- package/src/functions/Layout/TabBar.tsx +0 -60
- package/src/functions/Layout/_.tsx +0 -20
- package/src/functions/Loader/corner.tsx +0 -74
- package/src/functions/Loader/mini.tsx +0 -114
- package/src/functions/Loader/parts.tsx +0 -103
- package/src/functions/Loader/style.module.scss +0 -223
- package/src/functions/Loader/top.tsx +0 -84
- package/src/functions/Sheet/parts.tsx +0 -994
- package/src/functions/Sheet/style.module.scss +0 -208
- package/src/functions/SnackBar/parts.tsx +0 -215
- package/src/functions/SnackBar/style.module.scss +0 -25
- package/src/functions/Table/Data/parts.tsx +0 -965
- package/src/functions/Table/Drag/parts.tsx +0 -442
- package/src/functions/Table/Normal/parts.tsx +0 -124
- package/src/functions/Table/_.tsx +0 -177
- package/src/functions/Table/style.module.scss +0 -93
- package/src/functions/Tooltips/parts.tsx +0 -53
- package/src/global/LaunchReactApplication.tsx +0 -40
- package/src/global/styleConverter.tsx +0 -465
- package/src/launch.tsx +0 -117
- package/src/molecules/Accordion/parts.tsx +0 -146
- package/src/molecules/Accordion/style.module.scss +0 -13
- package/src/molecules/LinkifyText/parts.tsx +0 -52
- package/src/molecules/List.tsx +0 -31
- package/src/preload.tsx +0 -31
- package/src/templates/PlayGround/parts.tsx +0 -96
- package/src/templates/PlayGround/style.module.scss +0 -38
- package/webpack.config.js +0 -146
|
@@ -0,0 +1,241 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Component to use for rendering lazily loaded data from returning defer()
|
|
3
|
+
* in a loader function
|
|
4
|
+
*/
|
|
5
|
+
export function Await(_ref7: any): React.CElement<any, AwaitErrorBoundary>;
|
|
6
|
+
/**
|
|
7
|
+
* A `<Router>` that stores all entries in memory.
|
|
8
|
+
*
|
|
9
|
+
* @see https://reactrouter.com/router-components/memory-router
|
|
10
|
+
*/
|
|
11
|
+
export function MemoryRouter(_ref3: any): React.FunctionComponentElement<any>;
|
|
12
|
+
/**
|
|
13
|
+
* Changes the current location.
|
|
14
|
+
*
|
|
15
|
+
* Note: This API is mostly useful in React.Component subclasses that are not
|
|
16
|
+
* able to use hooks. In functional components, we recommend you use the
|
|
17
|
+
* `useNavigate` hook instead.
|
|
18
|
+
*
|
|
19
|
+
* @see https://reactrouter.com/components/navigate
|
|
20
|
+
*/
|
|
21
|
+
export function Navigate(_ref4: any): null;
|
|
22
|
+
/**
|
|
23
|
+
* Renders the child route's element, if there is one.
|
|
24
|
+
*
|
|
25
|
+
* @see https://reactrouter.com/components/outlet
|
|
26
|
+
*/
|
|
27
|
+
export function Outlet(props: any): React.FunctionComponentElement<React.ProviderProps<null>> | null;
|
|
28
|
+
/**
|
|
29
|
+
* Declares an element that should be rendered at a certain URL path.
|
|
30
|
+
*
|
|
31
|
+
* @see https://reactrouter.com/components/route
|
|
32
|
+
*/
|
|
33
|
+
export function Route(_props: any): void;
|
|
34
|
+
/**
|
|
35
|
+
* Provides location context for the rest of the app.
|
|
36
|
+
*
|
|
37
|
+
* Note: You usually won't render a `<Router>` directly. Instead, you'll render a
|
|
38
|
+
* router that is more specific to your environment such as a `<BrowserRouter>`
|
|
39
|
+
* in web browsers or a `<StaticRouter>` for server rendering.
|
|
40
|
+
*
|
|
41
|
+
* @see https://reactrouter.com/router-components/router
|
|
42
|
+
*/
|
|
43
|
+
export function Router(_ref5: any): React.DetailedReactHTMLElement<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement> | null;
|
|
44
|
+
/**
|
|
45
|
+
* Given a Remix Router instance, render the appropriate UI
|
|
46
|
+
*/
|
|
47
|
+
export function RouterProvider(_ref: any): React.FunctionComponentElement<{
|
|
48
|
+
children?: React.ReactNode;
|
|
49
|
+
}>;
|
|
50
|
+
/**
|
|
51
|
+
* A container for a nested tree of `<Route>` elements that renders the branch
|
|
52
|
+
* that best matches the current location.
|
|
53
|
+
*
|
|
54
|
+
* @see https://reactrouter.com/components/routes
|
|
55
|
+
*/
|
|
56
|
+
export function Routes(_ref6: any): any;
|
|
57
|
+
declare const DataRouterContext: React.Context<null>;
|
|
58
|
+
declare const DataRouterStateContext: React.Context<null>;
|
|
59
|
+
declare const LocationContext: React.Context<null>;
|
|
60
|
+
/**
|
|
61
|
+
* A Navigator is a "location changer"; it's how you get to different locations.
|
|
62
|
+
*
|
|
63
|
+
* Every history instance conforms to the Navigator interface, but the
|
|
64
|
+
* distinction is useful primarily when it comes to the low-level `<Router>` API
|
|
65
|
+
* where both the location and a navigator must be provided separately in order
|
|
66
|
+
* to avoid "tearing" that may occur in a suspense-enabled app if the action
|
|
67
|
+
* and/or location were to be read directly from the history instance.
|
|
68
|
+
*/
|
|
69
|
+
declare const NavigationContext: React.Context<null>;
|
|
70
|
+
declare const RouteContext: React.Context<{
|
|
71
|
+
outlet: null;
|
|
72
|
+
matches: never[];
|
|
73
|
+
isDataRoute: boolean;
|
|
74
|
+
}>;
|
|
75
|
+
declare function mapRouteProperties(route: any): {
|
|
76
|
+
hasErrorBoundary: boolean;
|
|
77
|
+
};
|
|
78
|
+
/**
|
|
79
|
+
* Returns the ID for the nearest contextual route
|
|
80
|
+
*/
|
|
81
|
+
declare function useRouteId(): any;
|
|
82
|
+
declare function useRoutesImpl(routes: any, locationArg: any, dataRouterState: any, future: any): any;
|
|
83
|
+
export function createMemoryRouter(routes: any, opts: any): import("@remix-run/router").Router;
|
|
84
|
+
/**
|
|
85
|
+
* Creates a route config from a React "children" object, which is usually
|
|
86
|
+
* either a `<Route>` element or an array of them. Used internally by
|
|
87
|
+
* `<Routes>` to create a route config from its children.
|
|
88
|
+
*
|
|
89
|
+
* @see https://reactrouter.com/utils/create-routes-from-children
|
|
90
|
+
*/
|
|
91
|
+
export function createRoutesFromChildren(children: any, parentPath: any): any[];
|
|
92
|
+
/**
|
|
93
|
+
* Renders the result of `matchRoutes()` into a React element.
|
|
94
|
+
*/
|
|
95
|
+
export function renderMatches(matches: any): any;
|
|
96
|
+
/**
|
|
97
|
+
* Returns the action data for the nearest ancestor Route action
|
|
98
|
+
*/
|
|
99
|
+
export function useActionData(): any;
|
|
100
|
+
/**
|
|
101
|
+
* Returns the error from the nearest ancestor `<Await />` value
|
|
102
|
+
*/
|
|
103
|
+
export function useAsyncError(): any;
|
|
104
|
+
/**
|
|
105
|
+
* Returns the happy-path data from the nearest ancestor `<Await />` value
|
|
106
|
+
*/
|
|
107
|
+
export function useAsyncValue(): any;
|
|
108
|
+
/**
|
|
109
|
+
* Allow the application to block navigations within the SPA and present the
|
|
110
|
+
* user a confirmation dialog to confirm the navigation. Mostly used to avoid
|
|
111
|
+
* using half-filled form data. This does not handle hard-reloads or
|
|
112
|
+
* cross-origin navigations.
|
|
113
|
+
*/
|
|
114
|
+
export function useBlocker(shouldBlock: any): any;
|
|
115
|
+
/**
|
|
116
|
+
* Returns the full href for the given "to" value. This is useful for building
|
|
117
|
+
* custom links that are also accessible and preserve right-click behavior.
|
|
118
|
+
*
|
|
119
|
+
* @see https://reactrouter.com/hooks/use-href
|
|
120
|
+
*/
|
|
121
|
+
export function useHref(to: any, _temp: any): any;
|
|
122
|
+
/**
|
|
123
|
+
* Returns true if this component is a descendant of a `<Router>`.
|
|
124
|
+
*
|
|
125
|
+
* @see https://reactrouter.com/hooks/use-in-router-context
|
|
126
|
+
*/
|
|
127
|
+
export function useInRouterContext(): boolean;
|
|
128
|
+
/**
|
|
129
|
+
* Returns the loader data for the nearest ancestor Route loader
|
|
130
|
+
*/
|
|
131
|
+
export function useLoaderData(): any;
|
|
132
|
+
/**
|
|
133
|
+
* Returns the current location object, which represents the current URL in web
|
|
134
|
+
* browsers.
|
|
135
|
+
*
|
|
136
|
+
* Note: If you're using this it may mean you're doing some of your own
|
|
137
|
+
* "routing" in your app, and we'd like to know what your use case is. We may
|
|
138
|
+
* be able to provide something higher-level to better suit your needs.
|
|
139
|
+
*
|
|
140
|
+
* @see https://reactrouter.com/hooks/use-location
|
|
141
|
+
*/
|
|
142
|
+
export function useLocation(): any;
|
|
143
|
+
/**
|
|
144
|
+
* Returns a PathMatch object if the given pattern matches the current URL.
|
|
145
|
+
* This is useful for components that need to know "active" state, e.g.
|
|
146
|
+
* `<NavLink>`.
|
|
147
|
+
*
|
|
148
|
+
* @see https://reactrouter.com/hooks/use-match
|
|
149
|
+
*/
|
|
150
|
+
export function useMatch(pattern: any): import("@remix-run/router").PathMatch<string> | null;
|
|
151
|
+
/**
|
|
152
|
+
* Returns the active route matches, useful for accessing loaderData for
|
|
153
|
+
* parent/child routes or the route "handle" property
|
|
154
|
+
*/
|
|
155
|
+
export function useMatches(): any;
|
|
156
|
+
/**
|
|
157
|
+
* Returns an imperative method for changing the location. Used by `<Link>`s, but
|
|
158
|
+
* may also be used by other elements to change the location.
|
|
159
|
+
*
|
|
160
|
+
* @see https://reactrouter.com/hooks/use-navigate
|
|
161
|
+
*/
|
|
162
|
+
export function useNavigate(): (to: any, options: any) => void;
|
|
163
|
+
/**
|
|
164
|
+
* Returns the current navigation, defaulting to an "idle" navigation when
|
|
165
|
+
* no navigation is in progress
|
|
166
|
+
*/
|
|
167
|
+
export function useNavigation(): any;
|
|
168
|
+
/**
|
|
169
|
+
* Returns the current navigation action which describes how the router came to
|
|
170
|
+
* the current location, either by a pop, push, or replace on the history stack.
|
|
171
|
+
*
|
|
172
|
+
* @see https://reactrouter.com/hooks/use-navigation-type
|
|
173
|
+
*/
|
|
174
|
+
export function useNavigationType(): any;
|
|
175
|
+
/**
|
|
176
|
+
* Returns the element for the child route at this level of the route
|
|
177
|
+
* hierarchy. Used internally by `<Outlet>` to render child routes.
|
|
178
|
+
*
|
|
179
|
+
* @see https://reactrouter.com/hooks/use-outlet
|
|
180
|
+
*/
|
|
181
|
+
export function useOutlet(context: any): React.FunctionComponentElement<React.ProviderProps<null>> | null;
|
|
182
|
+
/**
|
|
183
|
+
* Returns the context (if provided) for the child route at this level of the route
|
|
184
|
+
* hierarchy.
|
|
185
|
+
* @see https://reactrouter.com/hooks/use-outlet-context
|
|
186
|
+
*/
|
|
187
|
+
export function useOutletContext(): null;
|
|
188
|
+
/**
|
|
189
|
+
* Returns an object of key/value pairs of the dynamic params from the current
|
|
190
|
+
* URL that were matched by the route path.
|
|
191
|
+
*
|
|
192
|
+
* @see https://reactrouter.com/hooks/use-params
|
|
193
|
+
*/
|
|
194
|
+
export function useParams(): any;
|
|
195
|
+
/**
|
|
196
|
+
* Resolves the pathname of the given `to` value against the current location.
|
|
197
|
+
*
|
|
198
|
+
* @see https://reactrouter.com/hooks/use-resolved-path
|
|
199
|
+
*/
|
|
200
|
+
export function useResolvedPath(to: any, _temp2: any): import("@remix-run/router").Path;
|
|
201
|
+
/**
|
|
202
|
+
* Returns a revalidate function for manually triggering revalidation, as well
|
|
203
|
+
* as the current state of any manual revalidations
|
|
204
|
+
*/
|
|
205
|
+
export function useRevalidator(): {
|
|
206
|
+
revalidate: any;
|
|
207
|
+
state: any;
|
|
208
|
+
};
|
|
209
|
+
/**
|
|
210
|
+
* Returns the nearest ancestor Route error, which could be a loader/action
|
|
211
|
+
* error or a render error. This is intended to be called from your
|
|
212
|
+
* ErrorBoundary/errorElement to display a proper error message.
|
|
213
|
+
*/
|
|
214
|
+
export function useRouteError(): any;
|
|
215
|
+
/**
|
|
216
|
+
* Returns the loaderData for the given routeId
|
|
217
|
+
*/
|
|
218
|
+
export function useRouteLoaderData(routeId: any): any;
|
|
219
|
+
/**
|
|
220
|
+
* Returns the element of the route that matched the current location, prepared
|
|
221
|
+
* with the correct context to render the remainder of the route tree. Route
|
|
222
|
+
* elements in the tree must render an `<Outlet>` to render their child route's
|
|
223
|
+
* element.
|
|
224
|
+
*
|
|
225
|
+
* @see https://reactrouter.com/hooks/use-routes
|
|
226
|
+
*/
|
|
227
|
+
export function useRoutes(routes: any, locationArg: any): any;
|
|
228
|
+
declare class AwaitErrorBoundary extends React.Component<any, any, any> {
|
|
229
|
+
static getDerivedStateFromError(error: any): {
|
|
230
|
+
error: any;
|
|
231
|
+
};
|
|
232
|
+
constructor(props: any);
|
|
233
|
+
state: {
|
|
234
|
+
error: null;
|
|
235
|
+
};
|
|
236
|
+
componentDidCatch(error: any, errorInfo: any): void;
|
|
237
|
+
render(): React.DetailedReactHTMLElement<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>;
|
|
238
|
+
}
|
|
239
|
+
import * as React from 'react';
|
|
240
|
+
export { DataRouterContext as UNSAFE_DataRouterContext, DataRouterStateContext as UNSAFE_DataRouterStateContext, LocationContext as UNSAFE_LocationContext, NavigationContext as UNSAFE_NavigationContext, RouteContext as UNSAFE_RouteContext, mapRouteProperties as UNSAFE_mapRouteProperties, useRouteId as UNSAFE_useRouteId, useRoutesImpl as UNSAFE_useRoutesImpl, createRoutesFromChildren as createRoutesFromElements };
|
|
241
|
+
export { AbortedDeferredError, Action as NavigationType, createPath, defer, generatePath, isRouteErrorResponse, json, matchPath, matchRoutes, parsePath, redirect, redirectDocument, resolvePath } from "@remix-run/router";
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
export { UNSAFE_ErrorResponseImpl } from "@remix-run/router";
|
|
2
|
+
/**
|
|
3
|
+
* A `<Router>` for use in web browsers. Provides the cleanest URLs.
|
|
4
|
+
*/
|
|
5
|
+
export function BrowserRouter(_ref4: any): React.DetailedReactHTMLElement<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>;
|
|
6
|
+
/**
|
|
7
|
+
* A `@remix-run/router`-aware `<form>`. It behaves like a normal form except
|
|
8
|
+
* that the interaction with the server is with `fetch` instead of new document
|
|
9
|
+
* requests, allowing components to add nicer UX to the page as the form is
|
|
10
|
+
* submitted and returns with data.
|
|
11
|
+
*/
|
|
12
|
+
export const Form: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
|
|
13
|
+
/**
|
|
14
|
+
* A `<Router>` for use in web browsers. Stores the location in the hash
|
|
15
|
+
* portion of the URL so it is not sent to the server.
|
|
16
|
+
*/
|
|
17
|
+
export function HashRouter(_ref5: any): React.DetailedReactHTMLElement<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>;
|
|
18
|
+
/**
|
|
19
|
+
* The public API for rendering a history-aware `<a>`.
|
|
20
|
+
*/
|
|
21
|
+
export const Link: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
|
|
22
|
+
/**
|
|
23
|
+
* A `<Link>` wrapper that knows if it's "active" or not.
|
|
24
|
+
*/
|
|
25
|
+
export const NavLink: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
|
|
26
|
+
/**
|
|
27
|
+
* Given a Remix Router instance, render the appropriate UI
|
|
28
|
+
*/
|
|
29
|
+
export function RouterProvider(_ref: any): React.FunctionComponentElement<{
|
|
30
|
+
children?: React.ReactNode;
|
|
31
|
+
}>;
|
|
32
|
+
/**
|
|
33
|
+
* This component will emulate the browser's scroll restoration on location
|
|
34
|
+
* changes.
|
|
35
|
+
*/
|
|
36
|
+
export function ScrollRestoration(_ref10: any): null;
|
|
37
|
+
export namespace ScrollRestoration {
|
|
38
|
+
let displayName: string;
|
|
39
|
+
}
|
|
40
|
+
declare const FetchersContext: React.Context<Map<any, any>>;
|
|
41
|
+
declare const ViewTransitionContext: React.Context<{
|
|
42
|
+
isTransitioning: boolean;
|
|
43
|
+
}>;
|
|
44
|
+
/**
|
|
45
|
+
* When rendered inside a RouterProvider, will restore scroll positions on navigations
|
|
46
|
+
*/
|
|
47
|
+
declare function useScrollRestoration(_temp4: any): void;
|
|
48
|
+
export function createBrowserRouter(routes: any, opts: any): import("@remix-run/router").Router;
|
|
49
|
+
export function createHashRouter(routes: any, opts: any): import("@remix-run/router").Router;
|
|
50
|
+
/**
|
|
51
|
+
* Creates a URLSearchParams object using the given initializer.
|
|
52
|
+
*
|
|
53
|
+
* This is identical to `new URLSearchParams(init)` except it also
|
|
54
|
+
* supports arrays as values in the object form of the initializer
|
|
55
|
+
* instead of just strings. This is convenient when you need multiple
|
|
56
|
+
* values for a given key, but don't want to use an array initializer.
|
|
57
|
+
*
|
|
58
|
+
* For example, instead of:
|
|
59
|
+
*
|
|
60
|
+
* let searchParams = new URLSearchParams([
|
|
61
|
+
* ['sort', 'name'],
|
|
62
|
+
* ['sort', 'price']
|
|
63
|
+
* ]);
|
|
64
|
+
*
|
|
65
|
+
* you can do:
|
|
66
|
+
*
|
|
67
|
+
* let searchParams = createSearchParams({
|
|
68
|
+
* sort: ['name', 'price']
|
|
69
|
+
* });
|
|
70
|
+
*/
|
|
71
|
+
export function createSearchParams(init: any): URLSearchParams;
|
|
72
|
+
/**
|
|
73
|
+
* A `<Router>` that accepts a pre-instantiated history object. It's important
|
|
74
|
+
* to note that using your own history object is highly discouraged and may add
|
|
75
|
+
* two versions of the history library to your bundles unless you use the same
|
|
76
|
+
* version of the history library that React Router uses internally.
|
|
77
|
+
*/
|
|
78
|
+
declare function HistoryRouter(_ref6: any): React.FunctionComponentElement<import("react-router").RouterProps>;
|
|
79
|
+
declare namespace HistoryRouter {
|
|
80
|
+
let displayName_1: string;
|
|
81
|
+
export { displayName_1 as displayName };
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Wrapper around useBlocker to show a window.confirm prompt to users instead
|
|
85
|
+
* of building a custom UI with useBlocker.
|
|
86
|
+
*
|
|
87
|
+
* Warning: This has *a lot of rough edges* and behaves very differently (and
|
|
88
|
+
* very incorrectly in some cases) across browsers if user click addition
|
|
89
|
+
* back/forward navigations while the confirm is open. Use at your own risk.
|
|
90
|
+
*/
|
|
91
|
+
declare function usePrompt(_ref12: any): void;
|
|
92
|
+
/**
|
|
93
|
+
* Return a boolean indicating if there is an active view transition to the
|
|
94
|
+
* given href. You can use this value to render CSS classes or viewTransitionName
|
|
95
|
+
* styles onto your elements
|
|
96
|
+
*
|
|
97
|
+
* @param href The destination href
|
|
98
|
+
* @param [opts.relative] Relative routing type ("route" | "path")
|
|
99
|
+
*/
|
|
100
|
+
declare function useViewTransitionState(to: any, opts: any): boolean;
|
|
101
|
+
/**
|
|
102
|
+
* Setup a callback to be fired on the window's `beforeunload` event. This is
|
|
103
|
+
* useful for saving some data to `window.localStorage` just before the page
|
|
104
|
+
* refreshes.
|
|
105
|
+
*
|
|
106
|
+
* Note: The `callback` argument should be a function created with
|
|
107
|
+
* `React.useCallback()`.
|
|
108
|
+
*/
|
|
109
|
+
export function useBeforeUnload(callback: any, options: any): void;
|
|
110
|
+
/**
|
|
111
|
+
* Interacts with route loaders and actions without causing a navigation. Great
|
|
112
|
+
* for any interaction that stays on the same page.
|
|
113
|
+
*/
|
|
114
|
+
export function useFetcher(_temp3: any): any;
|
|
115
|
+
/**
|
|
116
|
+
* Provides all fetchers currently on the page. Useful for layouts and parent
|
|
117
|
+
* routes that need to provide pending/optimistic UI regarding the fetch.
|
|
118
|
+
*/
|
|
119
|
+
export function useFetchers(): any[];
|
|
120
|
+
export function useFormAction(action: any, _temp2: any): string;
|
|
121
|
+
/**
|
|
122
|
+
* Handles the click behavior for router `<Link>` components. This is useful if
|
|
123
|
+
* you need to create custom `<Link>` components with the same click behavior we
|
|
124
|
+
* use in our exported `<Link>`.
|
|
125
|
+
*/
|
|
126
|
+
export function useLinkClickHandler(to: any, _temp: any): (event: any) => void;
|
|
127
|
+
/**
|
|
128
|
+
* A convenient wrapper for reading and writing search parameters via the
|
|
129
|
+
* URLSearchParams interface.
|
|
130
|
+
*/
|
|
131
|
+
export function useSearchParams(defaultInit: any): (URLSearchParams | ((nextInit: any, navigateOptions: any) => void))[];
|
|
132
|
+
/**
|
|
133
|
+
* Returns a function that may be used to programmatically submit a form (or
|
|
134
|
+
* some arbitrary data) to the server.
|
|
135
|
+
*/
|
|
136
|
+
export function useSubmit(): (target: any, options: any) => void;
|
|
137
|
+
import * as React from 'react';
|
|
138
|
+
export { FetchersContext as UNSAFE_FetchersContext, ViewTransitionContext as UNSAFE_ViewTransitionContext, useScrollRestoration as UNSAFE_useScrollRestoration, HistoryRouter as unstable_HistoryRouter, usePrompt as unstable_usePrompt, useViewTransitionState as unstable_useViewTransitionState };
|
|
139
|
+
export { AbortedDeferredError, Await, MemoryRouter, Navigate, NavigationType, Outlet, Route, Router, Routes, UNSAFE_DataRouterContext, UNSAFE_DataRouterStateContext, UNSAFE_LocationContext, UNSAFE_NavigationContext, UNSAFE_RouteContext, UNSAFE_useRouteId, createMemoryRouter, createPath, createRoutesFromChildren, createRoutesFromElements, defer, generatePath, isRouteErrorResponse, json, matchPath, matchRoutes, parsePath, redirect, redirectDocument, renderMatches, resolvePath, useActionData, useAsyncError, useAsyncValue, useBlocker, useHref, useInRouterContext, useLoaderData, useLocation, useMatch, useMatches, useNavigate, useNavigation, useNavigationType, useOutlet, useOutletContext, useParams, useResolvedPath, useRevalidator, useRouteError, useRouteLoaderData, useRoutes } from "react-router";
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export function unstable_now(): number;
|
|
2
|
+
export const unstable_IdlePriority: 5;
|
|
3
|
+
export const unstable_ImmediatePriority: 1;
|
|
4
|
+
export const unstable_LowPriority: 4;
|
|
5
|
+
export const unstable_NormalPriority: 3;
|
|
6
|
+
export const unstable_Profiling: any;
|
|
7
|
+
export const unstable_UserBlockingPriority: 2;
|
|
8
|
+
export function unstable_cancelCallback(a: any): void;
|
|
9
|
+
export function unstable_continueExecution(): void;
|
|
10
|
+
export function unstable_forceFrameRate(a: any): void;
|
|
11
|
+
export function unstable_getCurrentPriorityLevel(): number;
|
|
12
|
+
export function unstable_getFirstCallbackNode(): any;
|
|
13
|
+
export function unstable_next(a: any): any;
|
|
14
|
+
export function unstable_pauseExecution(): void;
|
|
15
|
+
export function unstable_requestPaint(): void;
|
|
16
|
+
export function unstable_runWithPriority(a: any, b: any): any;
|
|
17
|
+
export function unstable_scheduleCallback(a: any, b: any, c: any): any;
|
|
18
|
+
export { M as unstable_shouldYield };
|
|
19
|
+
export function unstable_wrapCallback(a: any): (...args: any[]) => any;
|
|
20
|
+
declare function M(): boolean;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import './module';
|
|
3
|
+
import _$ from 'jsmin-front';
|
|
4
|
+
declare global {
|
|
5
|
+
var $: typeof _$;
|
|
6
|
+
}
|
|
7
|
+
export type Device = 'windows' | 'android' | 'iPhone' | 'iPad' | 'macOSX' | 'undefined';
|
|
8
|
+
export type Browser = 'chrome' | 'firefox' | 'safari' | 'opera' | 'ie' | 'edge' | 'undefined';
|
|
9
|
+
export type ReactElement = React.ReactNode | React.ReactNode[];
|
|
10
|
+
import './jsminAmotifyExtension';
|
|
11
|
+
import { Styles } from './styles';
|
|
12
|
+
export { Styles };
|
|
13
|
+
import { config, global, atoms, mols, orgs, temps, fn } from './amotify';
|
|
14
|
+
export { config, global, atoms, mols, orgs, temps, fn };
|
|
15
|
+
export interface amotify {
|
|
16
|
+
config: config.Methods;
|
|
17
|
+
global: global.Methods;
|
|
18
|
+
atoms: atoms.Methods;
|
|
19
|
+
mols: mols.Methods;
|
|
20
|
+
orgs: orgs.Methods;
|
|
21
|
+
temps: temps.Methods;
|
|
22
|
+
fn: fn.Methods;
|
|
23
|
+
}
|