amotify 0.1.32 → 0.1.34
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/@declaration/_.js +1 -1
- package/dist/@declaration/property.d.ts +2 -2
- package/dist/@styles/componentClasses/_.css +66 -65
- package/dist/@styles/componentClasses/_.js +39 -39
- package/dist/@styles/index.css +66 -65
- package/dist/@styles/index.js +39 -39
- package/dist/@styles/init.css +1 -1
- package/dist/@styles/style.css +96 -65
- package/dist/@styles/style.js +39 -39
- package/dist/@styles/var.css +1 -1
- package/dist/@utils/GenerateClassName.js +1 -470
- package/dist/@utils/LaunchReactApp.d.ts +1 -1
- package/dist/@utils/LaunchReactApp.js +1 -78
- package/dist/@utils/_.js +1 -12
- package/dist/@utils/collectForm.js +1 -96
- package/dist/@utils/color.js +1 -103
- package/dist/@utils/config.js +1 -101
- package/dist/@utils/fin.js +1 -39
- package/dist/@utils/getElement.js +1 -13
- package/dist/@utils/jsminEx.js +1 -172
- package/dist/@utils/pageTransit.js +1 -33
- package/dist/@utils/useRecycle.js +1 -44
- package/dist/@utils/useStore.js +1 -54
- package/dist/atoms/Box.js +1 -20
- package/dist/atoms/FAI.js +1 -148
- package/dist/atoms/Flex.js +1 -34
- package/dist/atoms/Grid.js +1 -17
- package/dist/atoms/Img.js +1 -65
- package/dist/atoms/Logo.js +51 -359
- package/dist/atoms/P.js +1 -20
- package/dist/atoms/Placeholder.js +1 -44
- package/dist/atoms/Span.js +1 -20
- package/dist/atoms/_.js +1 -9
- package/dist/fn/Button.js +1 -316
- package/dist/fn/Cropper.js +1 -1009
- package/dist/fn/Effect/Fade.js +1 -88
- package/dist/fn/Effect/Pudding.js +1 -22
- package/dist/fn/Effect/Ripple.js +3 -117
- package/dist/fn/Effect/_.js +1 -14
- package/dist/fn/Input/AutoHeightText.js +1 -112
- package/dist/fn/Input/Checker.js +1 -36
- package/dist/fn/Input/Chips/Selector.js +1 -472
- package/dist/fn/Input/Chips/_.js +1 -349
- package/dist/fn/Input/Contenteditable.js +1 -160
- package/dist/fn/Input/DigitCharacters.js +1 -275
- package/dist/fn/Input/Filer.js +1 -619
- package/dist/fn/Input/Hidden.js +1 -48
- package/dist/fn/Input/List.js +1 -450
- package/dist/fn/Input/Parts.js +1 -121
- package/dist/fn/Input/Plain.js +1 -12
- package/dist/fn/Input/RichSelect.js +1 -279
- package/dist/fn/Input/Search.js +1 -53
- package/dist/fn/Input/Segmented.js +1 -245
- package/dist/fn/Input/Select.js +1 -278
- package/dist/fn/Input/Slider.js +1 -538
- package/dist/fn/Input/Switch.js +1 -221
- package/dist/fn/Input/Text.js +1 -626
- package/dist/fn/Input/TextArea.js +1 -151
- package/dist/fn/Input/Time/Picker.js +1 -1457
- package/dist/fn/Input/Time/_.js +1 -867
- package/dist/fn/Input/_.js +1 -48
- package/dist/fn/Input/core.js +1 -626
- package/dist/fn/Layout/PageNotFound.js +1 -90
- package/dist/fn/Layout/PageRouter.js +1 -87
- package/dist/fn/Layout/PageViewController.js +1 -29
- package/dist/fn/Layout/Plate.js +1 -37
- package/dist/fn/Layout/RootViewController.js +1 -315
- package/dist/fn/Layout/SwipeView.js +1 -348
- package/dist/fn/Layout/TabBar.js +1 -72
- package/dist/fn/Layout/_.js +1 -22
- package/dist/fn/Loader/_.js +1 -104
- package/dist/fn/Loader/corner.js +1 -85
- package/dist/fn/Loader/mini.js +1 -125
- package/dist/fn/Loader/top.js +1 -73
- package/dist/fn/Sheet.d.ts +1 -0
- package/dist/fn/Sheet.js +1 -1101
- package/dist/fn/Snackbar.js +1 -216
- package/dist/fn/Table/Data.js +1 -974
- package/dist/fn/Table/Drag.js +1 -435
- package/dist/fn/Table/Normal.js +1 -136
- package/dist/fn/Table/Parts.js +1 -41
- package/dist/fn/Table/Wrapper.js +1 -60
- package/dist/fn/Table/_.js +1 -16
- package/dist/fn/Table/cellStyling.js +1 -51
- package/dist/fn/Tooltips.js +1 -58
- package/dist/fn/_.js +1 -10
- package/dist/index.js +1 -20
- package/dist/mols/Accordion.js +1 -152
- package/dist/mols/Column.js +1 -16
- package/dist/mols/LinkifyText.js +1 -42
- package/dist/mols/List.js +1 -42
- package/dist/mols/Row.js +1 -47
- package/dist/mols/Text.js +1 -67
- package/dist/mols/_.js +1 -6
- package/dist/temps/_.js +1 -1
- package/dist/temps/designBook.js +20 -3639
- package/package.json +1 -1
- package/dist/chunk-JJ3PEWPN.js +0 -60
package/dist/atoms/FAI.js
CHANGED
|
@@ -1,148 +1 @@
|
|
|
1
|
-
import {
|
|
2
|
-
__objRest,
|
|
3
|
-
__spreadProps,
|
|
4
|
-
__spreadValues
|
|
5
|
-
} from "../chunk-JJ3PEWPN.js";
|
|
6
|
-
import { jsx } from "react/jsx-runtime";
|
|
7
|
-
import Box from "./Box";
|
|
8
|
-
import {
|
|
9
|
-
FontAwesomeIcon
|
|
10
|
-
} from "@fortawesome/react-fontawesome";
|
|
11
|
-
import { faTimes } from "@fortawesome/free-solid-svg-icons/faTimes";
|
|
12
|
-
import { faAngleRight } from "@fortawesome/free-solid-svg-icons/faAngleRight";
|
|
13
|
-
import { faAngleLeft } from "@fortawesome/free-solid-svg-icons/faAngleLeft";
|
|
14
|
-
import { faAngleUp } from "@fortawesome/free-solid-svg-icons/faAngleUp";
|
|
15
|
-
import { faAngleDown } from "@fortawesome/free-solid-svg-icons/faAngleDown";
|
|
16
|
-
import { faChevronLeft } from "@fortawesome/free-solid-svg-icons/faChevronLeft";
|
|
17
|
-
import { faChevronRight } from "@fortawesome/free-solid-svg-icons/faChevronRight";
|
|
18
|
-
import { faChevronUp } from "@fortawesome/free-solid-svg-icons/faChevronUp";
|
|
19
|
-
import { faChevronDown } from "@fortawesome/free-solid-svg-icons/faChevronDown";
|
|
20
|
-
import { faCaretLeft } from "@fortawesome/free-solid-svg-icons/faCaretLeft";
|
|
21
|
-
import { faCaretRight } from "@fortawesome/free-solid-svg-icons/faCaretRight";
|
|
22
|
-
import { faCaretUp } from "@fortawesome/free-solid-svg-icons/faCaretUp";
|
|
23
|
-
import { faCaretDown } from "@fortawesome/free-solid-svg-icons/faCaretDown";
|
|
24
|
-
import { faArrowLeft } from "@fortawesome/free-solid-svg-icons/faArrowLeft";
|
|
25
|
-
import { faArrowRight } from "@fortawesome/free-solid-svg-icons/faArrowRight";
|
|
26
|
-
import { faArrowUp } from "@fortawesome/free-solid-svg-icons/faArrowUp";
|
|
27
|
-
import { faArrowDown } from "@fortawesome/free-solid-svg-icons/faArrowDown";
|
|
28
|
-
import { faRotate } from "@fortawesome/free-solid-svg-icons/faRotate";
|
|
29
|
-
import { faRedo } from "@fortawesome/free-solid-svg-icons/faRedo";
|
|
30
|
-
import { faCheck } from "@fortawesome/free-solid-svg-icons/faCheck";
|
|
31
|
-
import { faQuestion } from "@fortawesome/free-solid-svg-icons/faQuestion";
|
|
32
|
-
import { faExclamation } from "@fortawesome/free-solid-svg-icons/faExclamation";
|
|
33
|
-
import { faExclamationTriangle } from "@fortawesome/free-solid-svg-icons/faExclamationTriangle";
|
|
34
|
-
import { faHome } from "@fortawesome/free-solid-svg-icons/faHome";
|
|
35
|
-
import { faShare } from "@fortawesome/free-solid-svg-icons/faShare";
|
|
36
|
-
import { faSearch } from "@fortawesome/free-solid-svg-icons/faSearch";
|
|
37
|
-
import { faYenSign } from "@fortawesome/free-solid-svg-icons/faYenSign";
|
|
38
|
-
import { faPen } from "@fortawesome/free-solid-svg-icons/faPen";
|
|
39
|
-
import { faBars } from "@fortawesome/free-solid-svg-icons/faBars";
|
|
40
|
-
import { faDownload } from "@fortawesome/free-solid-svg-icons/faDownload";
|
|
41
|
-
import { faLink } from "@fortawesome/free-solid-svg-icons/faLink";
|
|
42
|
-
import { faLinkSlash } from "@fortawesome/free-solid-svg-icons/faLinkSlash";
|
|
43
|
-
import { faExternalLinkAlt } from "@fortawesome/free-solid-svg-icons/faExternalLinkAlt";
|
|
44
|
-
import { faGear } from "@fortawesome/free-solid-svg-icons/faGear";
|
|
45
|
-
import { faPlus } from "@fortawesome/free-solid-svg-icons/faPlus";
|
|
46
|
-
import { faMinus } from "@fortawesome/free-solid-svg-icons/faMinus";
|
|
47
|
-
import { faEllipsisH } from "@fortawesome/free-solid-svg-icons/faEllipsisH";
|
|
48
|
-
import { faEllipsisV } from "@fortawesome/free-solid-svg-icons/faEllipsisV";
|
|
49
|
-
import { faStar } from "@fortawesome/free-solid-svg-icons/faStar";
|
|
50
|
-
import { faPaperPlane } from "@fortawesome/free-solid-svg-icons/faPaperPlane";
|
|
51
|
-
import { faHeart } from "@fortawesome/free-solid-svg-icons/faHeart";
|
|
52
|
-
import { faUser } from "@fortawesome/free-regular-svg-icons/faUser";
|
|
53
|
-
import { faCheckCircle } from "@fortawesome/free-regular-svg-icons/faCheckCircle";
|
|
54
|
-
import { faQuestionCircle } from "@fortawesome/free-regular-svg-icons/faQuestionCircle";
|
|
55
|
-
import { faEdit } from "@fortawesome/free-regular-svg-icons/faEdit";
|
|
56
|
-
import { faCopy } from "@fortawesome/free-regular-svg-icons/faCopy";
|
|
57
|
-
import { faFile } from "@fortawesome/free-regular-svg-icons/faFile";
|
|
58
|
-
import { faTrashAlt } from "@fortawesome/free-regular-svg-icons/faTrashAlt";
|
|
59
|
-
import { faImage } from "@fortawesome/free-regular-svg-icons/faImage";
|
|
60
|
-
const Component = (params) => {
|
|
61
|
-
let _a = params, {
|
|
62
|
-
icon,
|
|
63
|
-
iconParams
|
|
64
|
-
} = _a, others = __objRest(_a, [
|
|
65
|
-
"icon",
|
|
66
|
-
"iconParams"
|
|
67
|
-
]);
|
|
68
|
-
return /* @__PURE__ */ jsx(
|
|
69
|
-
Box,
|
|
70
|
-
__spreadProps(__spreadValues({
|
|
71
|
-
display: "inlineFlex",
|
|
72
|
-
flexCenter: true,
|
|
73
|
-
position: "relative",
|
|
74
|
-
freeCSS: {
|
|
75
|
-
aspectRatio: "1"
|
|
76
|
-
}
|
|
77
|
-
}, others), {
|
|
78
|
-
children: /* @__PURE__ */ jsx(
|
|
79
|
-
FontAwesomeIcon,
|
|
80
|
-
__spreadProps(__spreadValues({
|
|
81
|
-
icon,
|
|
82
|
-
fixedWidth: true,
|
|
83
|
-
size: "sm"
|
|
84
|
-
}, iconParams), {
|
|
85
|
-
style: __spreadValues({
|
|
86
|
-
aspectRatio: 1,
|
|
87
|
-
minWidth: 12 * 1,
|
|
88
|
-
minHeight: 12 * 1
|
|
89
|
-
}, iconParams == null ? void 0 : iconParams.style)
|
|
90
|
-
})
|
|
91
|
-
)
|
|
92
|
-
})
|
|
93
|
-
);
|
|
94
|
-
};
|
|
95
|
-
const FAI = Component;
|
|
96
|
-
FAI.User = (params) => /* @__PURE__ */ jsx(Component, __spreadProps(__spreadValues({}, params), { icon: faUser }));
|
|
97
|
-
FAI.Times = (params) => /* @__PURE__ */ jsx(Component, __spreadProps(__spreadValues({}, params), { icon: faTimes }));
|
|
98
|
-
FAI.AngleRight = (params) => /* @__PURE__ */ jsx(Component, __spreadProps(__spreadValues({}, params), { icon: faAngleRight }));
|
|
99
|
-
FAI.AngleLeft = (params) => /* @__PURE__ */ jsx(Component, __spreadProps(__spreadValues({}, params), { icon: faAngleLeft }));
|
|
100
|
-
FAI.AngleUp = (params) => /* @__PURE__ */ jsx(Component, __spreadProps(__spreadValues({}, params), { icon: faAngleUp }));
|
|
101
|
-
FAI.AngleDown = (params) => /* @__PURE__ */ jsx(Component, __spreadProps(__spreadValues({}, params), { icon: faAngleDown }));
|
|
102
|
-
FAI.ChevronLeft = (params) => /* @__PURE__ */ jsx(Component, __spreadProps(__spreadValues({}, params), { icon: faChevronLeft }));
|
|
103
|
-
FAI.ChevronRight = (params) => /* @__PURE__ */ jsx(Component, __spreadProps(__spreadValues({}, params), { icon: faChevronRight }));
|
|
104
|
-
FAI.ChevronUp = (params) => /* @__PURE__ */ jsx(Component, __spreadProps(__spreadValues({}, params), { icon: faChevronUp }));
|
|
105
|
-
FAI.ChevronDown = (params) => /* @__PURE__ */ jsx(Component, __spreadProps(__spreadValues({}, params), { icon: faChevronDown }));
|
|
106
|
-
FAI.CaretLeft = (params) => /* @__PURE__ */ jsx(Component, __spreadProps(__spreadValues({}, params), { icon: faCaretLeft }));
|
|
107
|
-
FAI.CaretRight = (params) => /* @__PURE__ */ jsx(Component, __spreadProps(__spreadValues({}, params), { icon: faCaretRight }));
|
|
108
|
-
FAI.CaretUp = (params) => /* @__PURE__ */ jsx(Component, __spreadProps(__spreadValues({}, params), { icon: faCaretUp }));
|
|
109
|
-
FAI.CaretDown = (params) => /* @__PURE__ */ jsx(Component, __spreadProps(__spreadValues({}, params), { icon: faCaretDown }));
|
|
110
|
-
FAI.ArrowLeft = (params) => /* @__PURE__ */ jsx(Component, __spreadProps(__spreadValues({}, params), { icon: faArrowLeft }));
|
|
111
|
-
FAI.ArrowRight = (params) => /* @__PURE__ */ jsx(Component, __spreadProps(__spreadValues({}, params), { icon: faArrowRight }));
|
|
112
|
-
FAI.ArrowUp = (params) => /* @__PURE__ */ jsx(Component, __spreadProps(__spreadValues({}, params), { icon: faArrowUp }));
|
|
113
|
-
FAI.ArrowDown = (params) => /* @__PURE__ */ jsx(Component, __spreadProps(__spreadValues({}, params), { icon: faArrowDown }));
|
|
114
|
-
FAI.Rotate = (params) => /* @__PURE__ */ jsx(Component, __spreadProps(__spreadValues({}, params), { icon: faRotate }));
|
|
115
|
-
FAI.Redo = (params) => /* @__PURE__ */ jsx(Component, __spreadProps(__spreadValues({}, params), { icon: faRedo }));
|
|
116
|
-
FAI.Check = (params) => /* @__PURE__ */ jsx(Component, __spreadProps(__spreadValues({}, params), { icon: faCheck }));
|
|
117
|
-
FAI.CheckCircle = (params) => /* @__PURE__ */ jsx(Component, __spreadProps(__spreadValues({}, params), { icon: faCheckCircle }));
|
|
118
|
-
FAI.Question = (params) => /* @__PURE__ */ jsx(Component, __spreadProps(__spreadValues({}, params), { icon: faQuestion }));
|
|
119
|
-
FAI.QuestionCircle = (params) => /* @__PURE__ */ jsx(Component, __spreadProps(__spreadValues({}, params), { icon: faQuestionCircle }));
|
|
120
|
-
FAI.Exclamation = (params) => /* @__PURE__ */ jsx(Component, __spreadProps(__spreadValues({}, params), { icon: faExclamation }));
|
|
121
|
-
FAI.ExclamationTriangle = (params) => /* @__PURE__ */ jsx(Component, __spreadProps(__spreadValues({}, params), { icon: faExclamationTriangle }));
|
|
122
|
-
FAI.Home = (params) => /* @__PURE__ */ jsx(Component, __spreadProps(__spreadValues({}, params), { icon: faHome }));
|
|
123
|
-
FAI.Share = (params) => /* @__PURE__ */ jsx(Component, __spreadProps(__spreadValues({}, params), { icon: faShare }));
|
|
124
|
-
FAI.Search = (params) => /* @__PURE__ */ jsx(Component, __spreadProps(__spreadValues({}, params), { icon: faSearch }));
|
|
125
|
-
FAI.YenSign = (params) => /* @__PURE__ */ jsx(Component, __spreadProps(__spreadValues({}, params), { icon: faYenSign }));
|
|
126
|
-
FAI.Heart = (params) => /* @__PURE__ */ jsx(Component, __spreadProps(__spreadValues({}, params), { icon: faHeart }));
|
|
127
|
-
FAI.Star = (params) => /* @__PURE__ */ jsx(Component, __spreadProps(__spreadValues({}, params), { icon: faStar }));
|
|
128
|
-
FAI.Edit = (params) => /* @__PURE__ */ jsx(Component, __spreadProps(__spreadValues({}, params), { icon: faEdit }));
|
|
129
|
-
FAI.Pen = (params) => /* @__PURE__ */ jsx(Component, __spreadProps(__spreadValues({}, params), { icon: faPen }));
|
|
130
|
-
FAI.Copy = (params) => /* @__PURE__ */ jsx(Component, __spreadProps(__spreadValues({}, params), { icon: faCopy }));
|
|
131
|
-
FAI.File = (params) => /* @__PURE__ */ jsx(Component, __spreadProps(__spreadValues({}, params), { icon: faFile }));
|
|
132
|
-
FAI.TrashAlt = (params) => /* @__PURE__ */ jsx(Component, __spreadProps(__spreadValues({}, params), { icon: faTrashAlt }));
|
|
133
|
-
FAI.Bars = (params) => /* @__PURE__ */ jsx(Component, __spreadProps(__spreadValues({}, params), { icon: faBars }));
|
|
134
|
-
FAI.Download = (params) => /* @__PURE__ */ jsx(Component, __spreadProps(__spreadValues({}, params), { icon: faDownload }));
|
|
135
|
-
FAI.Link = (params) => /* @__PURE__ */ jsx(Component, __spreadProps(__spreadValues({}, params), { icon: faLink }));
|
|
136
|
-
FAI.LinkSlash = (params) => /* @__PURE__ */ jsx(Component, __spreadProps(__spreadValues({}, params), { icon: faLinkSlash }));
|
|
137
|
-
FAI.ExternalLinkAlt = (params) => /* @__PURE__ */ jsx(Component, __spreadProps(__spreadValues({}, params), { icon: faExternalLinkAlt }));
|
|
138
|
-
FAI.Gear = (params) => /* @__PURE__ */ jsx(Component, __spreadProps(__spreadValues({}, params), { icon: faGear }));
|
|
139
|
-
FAI.Plus = (params) => /* @__PURE__ */ jsx(Component, __spreadProps(__spreadValues({}, params), { icon: faPlus }));
|
|
140
|
-
FAI.Minus = (params) => /* @__PURE__ */ jsx(Component, __spreadProps(__spreadValues({}, params), { icon: faMinus }));
|
|
141
|
-
FAI.EllipsisH = (params) => /* @__PURE__ */ jsx(Component, __spreadProps(__spreadValues({}, params), { icon: faEllipsisH }));
|
|
142
|
-
FAI.EllipsisV = (params) => /* @__PURE__ */ jsx(Component, __spreadProps(__spreadValues({}, params), { icon: faEllipsisV }));
|
|
143
|
-
FAI.PaperPlane = (params) => /* @__PURE__ */ jsx(Component, __spreadProps(__spreadValues({}, params), { icon: faPaperPlane }));
|
|
144
|
-
FAI.Image = (params) => /* @__PURE__ */ jsx(Component, __spreadProps(__spreadValues({}, params), { icon: faImage }));
|
|
145
|
-
export {
|
|
146
|
-
FAI,
|
|
147
|
-
FAI as default
|
|
148
|
-
};
|
|
1
|
+
import{b as r,c as i,d as f}from"../chunk-VY3566IV.js";import{jsx as n}from"react/jsx-runtime";import l from"./Box";import{FontAwesomeIcon as s}from"@fortawesome/react-fontawesome";import{faTimes as h}from"@fortawesome/free-solid-svg-icons/faTimes";import{faAngleRight as C}from"@fortawesome/free-solid-svg-icons/faAngleRight";import{faAngleLeft as A}from"@fortawesome/free-solid-svg-icons/faAngleLeft";import{faAngleUp as g}from"@fortawesome/free-solid-svg-icons/faAngleUp";import{faAngleDown as w}from"@fortawesome/free-solid-svg-icons/faAngleDown";import{faChevronLeft as R}from"@fortawesome/free-solid-svg-icons/faChevronLeft";import{faChevronRight as u}from"@fortawesome/free-solid-svg-icons/faChevronRight";import{faChevronUp as L}from"@fortawesome/free-solid-svg-icons/faChevronUp";import{faChevronDown as S}from"@fortawesome/free-solid-svg-icons/faChevronDown";import{faCaretLeft as E}from"@fortawesome/free-solid-svg-icons/faCaretLeft";import{faCaretRight as x}from"@fortawesome/free-solid-svg-icons/faCaretRight";import{faCaretUp as I}from"@fortawesome/free-solid-svg-icons/faCaretUp";import{faCaretDown as P}from"@fortawesome/free-solid-svg-icons/faCaretDown";import{faArrowLeft as D}from"@fortawesome/free-solid-svg-icons/faArrowLeft";import{faArrowRight as d}from"@fortawesome/free-solid-svg-icons/faArrowRight";import{faArrowUp as k}from"@fortawesome/free-solid-svg-icons/faArrowUp";import{faArrowDown as y}from"@fortawesome/free-solid-svg-icons/faArrowDown";import{faRotate as U}from"@fortawesome/free-solid-svg-icons/faRotate";import{faRedo as F}from"@fortawesome/free-solid-svg-icons/faRedo";import{faCheck as v}from"@fortawesome/free-solid-svg-icons/faCheck";import{faQuestion as T}from"@fortawesome/free-solid-svg-icons/faQuestion";import{faExclamation as H}from"@fortawesome/free-solid-svg-icons/faExclamation";import{faExclamationTriangle as B}from"@fortawesome/free-solid-svg-icons/faExclamationTriangle";import{faHome as Q}from"@fortawesome/free-solid-svg-icons/faHome";import{faShare as M}from"@fortawesome/free-solid-svg-icons/faShare";import{faSearch as G}from"@fortawesome/free-solid-svg-icons/faSearch";import{faYenSign as V}from"@fortawesome/free-solid-svg-icons/faYenSign";import{faPen as Y}from"@fortawesome/free-solid-svg-icons/faPen";import{faBars as N}from"@fortawesome/free-solid-svg-icons/faBars";import{faDownload as O}from"@fortawesome/free-solid-svg-icons/faDownload";import{faLink as W}from"@fortawesome/free-solid-svg-icons/faLink";import{faLinkSlash as z}from"@fortawesome/free-solid-svg-icons/faLinkSlash";import{faExternalLinkAlt as b}from"@fortawesome/free-solid-svg-icons/faExternalLinkAlt";import{faGear as q}from"@fortawesome/free-solid-svg-icons/faGear";import{faPlus as J}from"@fortawesome/free-solid-svg-icons/faPlus";import{faMinus as K}from"@fortawesome/free-solid-svg-icons/faMinus";import{faEllipsisH as X}from"@fortawesome/free-solid-svg-icons/faEllipsisH";import{faEllipsisV as Z}from"@fortawesome/free-solid-svg-icons/faEllipsisV";import{faStar as _}from"@fortawesome/free-solid-svg-icons/faStar";import{faPaperPlane as $}from"@fortawesome/free-solid-svg-icons/faPaperPlane";import{faHeart as j}from"@fortawesome/free-solid-svg-icons/faHeart";import{faUser as oo}from"@fortawesome/free-regular-svg-icons/faUser";import{faCheckCircle as ro}from"@fortawesome/free-regular-svg-icons/faCheckCircle";import{faQuestionCircle as io}from"@fortawesome/free-regular-svg-icons/faQuestionCircle";import{faEdit as to}from"@fortawesome/free-regular-svg-icons/faEdit";import{faCopy as no}from"@fortawesome/free-regular-svg-icons/faCopy";import{faFile as eo}from"@fortawesome/free-regular-svg-icons/faFile";import{faTrashAlt as ao}from"@fortawesome/free-regular-svg-icons/faTrashAlt";import{faImage as mo}from"@fortawesome/free-regular-svg-icons/faImage";const e=o=>{let m=o,{icon:p,iconParams:a}=m,c=f(m,["icon","iconParams"]);return n(l,i(r({display:"inlineFlex",flexCenter:!0,position:"relative",freeCSS:{aspectRatio:"1"}},c),{children:n(s,i(r({icon:p,fixedWidth:!0,size:"sm"},a),{style:r({aspectRatio:1,minWidth:12*1,minHeight:12*1},a==null?void 0:a.style)}))}))},t=e;t.User=o=>n(e,i(r({},o),{icon:oo})),t.Times=o=>n(e,i(r({},o),{icon:h})),t.AngleRight=o=>n(e,i(r({},o),{icon:C})),t.AngleLeft=o=>n(e,i(r({},o),{icon:A})),t.AngleUp=o=>n(e,i(r({},o),{icon:g})),t.AngleDown=o=>n(e,i(r({},o),{icon:w})),t.ChevronLeft=o=>n(e,i(r({},o),{icon:R})),t.ChevronRight=o=>n(e,i(r({},o),{icon:u})),t.ChevronUp=o=>n(e,i(r({},o),{icon:L})),t.ChevronDown=o=>n(e,i(r({},o),{icon:S})),t.CaretLeft=o=>n(e,i(r({},o),{icon:E})),t.CaretRight=o=>n(e,i(r({},o),{icon:x})),t.CaretUp=o=>n(e,i(r({},o),{icon:I})),t.CaretDown=o=>n(e,i(r({},o),{icon:P})),t.ArrowLeft=o=>n(e,i(r({},o),{icon:D})),t.ArrowRight=o=>n(e,i(r({},o),{icon:d})),t.ArrowUp=o=>n(e,i(r({},o),{icon:k})),t.ArrowDown=o=>n(e,i(r({},o),{icon:y})),t.Rotate=o=>n(e,i(r({},o),{icon:U})),t.Redo=o=>n(e,i(r({},o),{icon:F})),t.Check=o=>n(e,i(r({},o),{icon:v})),t.CheckCircle=o=>n(e,i(r({},o),{icon:ro})),t.Question=o=>n(e,i(r({},o),{icon:T})),t.QuestionCircle=o=>n(e,i(r({},o),{icon:io})),t.Exclamation=o=>n(e,i(r({},o),{icon:H})),t.ExclamationTriangle=o=>n(e,i(r({},o),{icon:B})),t.Home=o=>n(e,i(r({},o),{icon:Q})),t.Share=o=>n(e,i(r({},o),{icon:M})),t.Search=o=>n(e,i(r({},o),{icon:G})),t.YenSign=o=>n(e,i(r({},o),{icon:V})),t.Heart=o=>n(e,i(r({},o),{icon:j})),t.Star=o=>n(e,i(r({},o),{icon:_})),t.Edit=o=>n(e,i(r({},o),{icon:to})),t.Pen=o=>n(e,i(r({},o),{icon:Y})),t.Copy=o=>n(e,i(r({},o),{icon:no})),t.File=o=>n(e,i(r({},o),{icon:eo})),t.TrashAlt=o=>n(e,i(r({},o),{icon:ao})),t.Bars=o=>n(e,i(r({},o),{icon:N})),t.Download=o=>n(e,i(r({},o),{icon:O})),t.Link=o=>n(e,i(r({},o),{icon:W})),t.LinkSlash=o=>n(e,i(r({},o),{icon:z})),t.ExternalLinkAlt=o=>n(e,i(r({},o),{icon:b})),t.Gear=o=>n(e,i(r({},o),{icon:q})),t.Plus=o=>n(e,i(r({},o),{icon:J})),t.Minus=o=>n(e,i(r({},o),{icon:K})),t.EllipsisH=o=>n(e,i(r({},o),{icon:X})),t.EllipsisV=o=>n(e,i(r({},o),{icon:Z})),t.PaperPlane=o=>n(e,i(r({},o),{icon:$})),t.Image=o=>n(e,i(r({},o),{icon:mo}));export{t as FAI,t as default};
|
package/dist/atoms/Flex.js
CHANGED
|
@@ -1,34 +1 @@
|
|
|
1
|
-
import {
|
|
2
|
-
__spreadProps,
|
|
3
|
-
__spreadValues
|
|
4
|
-
} from "../chunk-JJ3PEWPN.js";
|
|
5
|
-
import { jsx } from "react/jsx-runtime";
|
|
6
|
-
import Box from "./Box";
|
|
7
|
-
const Flex = (params) => {
|
|
8
|
-
return /* @__PURE__ */ jsx(
|
|
9
|
-
Box,
|
|
10
|
-
__spreadProps(__spreadValues({
|
|
11
|
-
flexType: "row",
|
|
12
|
-
flexWrap: true,
|
|
13
|
-
display: "flex"
|
|
14
|
-
}, params), {
|
|
15
|
-
freeCSS: __spreadValues({
|
|
16
|
-
wordBreak: "break-word"
|
|
17
|
-
}, params.freeCSS)
|
|
18
|
-
})
|
|
19
|
-
);
|
|
20
|
-
};
|
|
21
|
-
const FlexBr = (params) => {
|
|
22
|
-
return /* @__PURE__ */ jsx(
|
|
23
|
-
Box,
|
|
24
|
-
__spreadValues({
|
|
25
|
-
width: 1,
|
|
26
|
-
flexSizing: "none"
|
|
27
|
-
}, params)
|
|
28
|
-
);
|
|
29
|
-
};
|
|
30
|
-
export {
|
|
31
|
-
Flex,
|
|
32
|
-
FlexBr,
|
|
33
|
-
Flex as default
|
|
34
|
-
};
|
|
1
|
+
import{b as t,c as r}from"../chunk-VY3566IV.js";import{jsx as n}from"react/jsx-runtime";import o from"./Box";const l=e=>n(o,r(t({flexType:"row",flexWrap:!0,display:"flex"},e),{freeCSS:t({wordBreak:"break-word"},e.freeCSS)})),a=e=>n(o,t({width:1,flexSizing:"none"},e));export{l as Flex,a as FlexBr,l as default};
|
package/dist/atoms/Grid.js
CHANGED
|
@@ -1,17 +1 @@
|
|
|
1
|
-
import {
|
|
2
|
-
__spreadValues
|
|
3
|
-
} from "../chunk-JJ3PEWPN.js";
|
|
4
|
-
import { jsx } from "react/jsx-runtime";
|
|
5
|
-
import Box from "./Box";
|
|
6
|
-
const Grid = (params) => {
|
|
7
|
-
return /* @__PURE__ */ jsx(
|
|
8
|
-
Box,
|
|
9
|
-
__spreadValues({
|
|
10
|
-
display: "grid"
|
|
11
|
-
}, params)
|
|
12
|
-
);
|
|
13
|
-
};
|
|
14
|
-
export {
|
|
15
|
-
Grid,
|
|
16
|
-
Grid as default
|
|
17
|
-
};
|
|
1
|
+
import{b as o}from"../chunk-VY3566IV.js";import{jsx as p}from"react/jsx-runtime";import d from"./Box";const r=t=>p(d,o({display:"grid"},t));export{r as Grid,r as default};
|
package/dist/atoms/Img.js
CHANGED
|
@@ -1,65 +1 @@
|
|
|
1
|
-
import {
|
|
2
|
-
__objRest,
|
|
3
|
-
__spreadValues
|
|
4
|
-
} from "../chunk-JJ3PEWPN.js";
|
|
5
|
-
import { jsx } from "react/jsx-runtime";
|
|
6
|
-
import {
|
|
7
|
-
GenerateClassName
|
|
8
|
-
} from "../@utils/_";
|
|
9
|
-
import Sheet from "../fn/Sheet";
|
|
10
|
-
import { ImgClasses } from "../@styles/componentClasses/_";
|
|
11
|
-
const Img = (params) => {
|
|
12
|
-
let _a = params, {
|
|
13
|
-
src = "",
|
|
14
|
-
alt = "",
|
|
15
|
-
showExpand
|
|
16
|
-
} = _a, others = __objRest(_a, [
|
|
17
|
-
"src",
|
|
18
|
-
"alt",
|
|
19
|
-
"showExpand"
|
|
20
|
-
]);
|
|
21
|
-
others.freeCSS = __spreadValues({
|
|
22
|
-
cursor: showExpand ? "zoom-in" : "inherit"
|
|
23
|
-
}, others.freeCSS);
|
|
24
|
-
let _b = GenerateClassName(others), {
|
|
25
|
-
freeCSS,
|
|
26
|
-
className = ""
|
|
27
|
-
} = _b, Others = __objRest(_b, [
|
|
28
|
-
"freeCSS",
|
|
29
|
-
"className"
|
|
30
|
-
]);
|
|
31
|
-
return /* @__PURE__ */ jsx(
|
|
32
|
-
"img",
|
|
33
|
-
__spreadValues({
|
|
34
|
-
src,
|
|
35
|
-
alt,
|
|
36
|
-
className: [
|
|
37
|
-
ImgClasses("Img"),
|
|
38
|
-
ImgClasses("ShowExpand_" + !!showExpand),
|
|
39
|
-
className
|
|
40
|
-
].join(" "),
|
|
41
|
-
onMouseDown: (event) => {
|
|
42
|
-
if (showExpand)
|
|
43
|
-
event.stopPropagation();
|
|
44
|
-
},
|
|
45
|
-
onTouchStart: (event) => {
|
|
46
|
-
if (showExpand)
|
|
47
|
-
event.stopPropagation();
|
|
48
|
-
},
|
|
49
|
-
onClick: (event) => {
|
|
50
|
-
if (showExpand) {
|
|
51
|
-
event.stopPropagation();
|
|
52
|
-
Sheet.open({
|
|
53
|
-
type: "image",
|
|
54
|
-
src: showExpand != true ? showExpand : src
|
|
55
|
-
});
|
|
56
|
-
}
|
|
57
|
-
others.onClick && others.onClick(event);
|
|
58
|
-
}
|
|
59
|
-
}, Others)
|
|
60
|
-
);
|
|
61
|
-
};
|
|
62
|
-
export {
|
|
63
|
-
Img,
|
|
64
|
-
Img as default
|
|
65
|
-
};
|
|
1
|
+
import{b as r,d as a}from"../chunk-VY3566IV.js";import{jsx as h}from"react/jsx-runtime";import{GenerateClassName as C}from"../@utils/_";import S from"../fn/Sheet";import{ImgClasses as m}from"../@styles/componentClasses/_";const p=c=>{let n=c,{src:s="",alt:g="",showExpand:o}=n,e=a(n,["src","alt","showExpand"]);e.freeCSS=r({cursor:o?"zoom-in":"inherit"},e.freeCSS);let i=C(e),{freeCSS:u,className:l=""}=i,f=a(i,["freeCSS","className"]);return h("img",r({src:s,alt:g,className:[m("Img"),m("ShowExpand_"+!!o),l].join(" "),onMouseDown:t=>{o&&t.stopPropagation()},onTouchStart:t=>{o&&t.stopPropagation()},onClick:t=>{o&&(t.stopPropagation(),S.open({type:"image",src:o!=!0?o:s})),e.onClick&&e.onClick(t)}},f))};export{p as Img,p as default};
|