triafly-ui-kit 1.0.24 → 1.0.26
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 +93 -93
- package/dist/{_commonjsHelpers-C6fGbg64.js → _virtual/_commonjsHelpers.js} +1 -1
- package/dist/_virtual/index.js +7 -0
- package/dist/_virtual/index2.js +7 -0
- package/dist/_virtual/index3.js +4 -0
- package/dist/_virtual/papaparse.min.js +7 -0
- package/dist/_virtual/papaparse.min2.js +4 -0
- package/dist/_virtual/react-paginate.js +7 -0
- package/dist/_virtual/react-paginate2.js +4 -0
- package/dist/assets/src/components/Ui/Tooltip/Tooltip.stories.module.css +1 -0
- package/dist/components/Ui/Accordeon/Accordeon.js +11 -10
- package/dist/components/Ui/Alert/Alert.js +9 -8
- package/dist/components/Ui/Avatar/Avatar.js +4 -3
- package/dist/components/Ui/Badge/Badge.js +19 -32
- package/dist/components/Ui/Button/Button.js +16 -15
- package/dist/components/Ui/ButtonsArray/ButtonsArray.js +8 -7
- package/dist/components/Ui/Checkbox/Checkbox.js +17 -16
- package/dist/components/Ui/CliTextareaInput/CliTextareaInput.js +16 -15
- package/dist/components/Ui/CustomLink/CustomLink.js +15 -14
- package/dist/components/Ui/DatePicker/DatePicker.js +16 -8
- package/dist/components/Ui/DatePicker/DatePicker.stories.js +39 -33
- package/dist/components/Ui/DropdownInput/DropdownInput.js +15 -14
- package/dist/components/Ui/DropdownMenu/DropdownMenu.js +4 -3
- package/dist/components/Ui/FileUpload/FileUpload.js +126 -544
- package/dist/components/Ui/Form/FormRoot/FormRoot.js +2 -1
- package/dist/components/Ui/Loader/Loader.js +5 -4
- package/dist/components/Ui/ModalWindow/ModalWindow.js +13 -12
- package/dist/components/Ui/Pagination/Pagination.js +20 -275
- package/dist/components/Ui/Radio/Radio.js +2 -1
- package/dist/components/Ui/SearchInput/SearchInput.js +13 -12
- package/dist/components/Ui/Skeleton/Skeleton.js +16 -18
- package/dist/components/Ui/Switch/Switch.js +10 -9
- package/dist/components/Ui/Table/MemoizedRow/MemoizedRow.js +30 -59
- package/dist/components/Ui/Table/Table.js +5 -4
- package/dist/components/Ui/Tabs/Tabs.js +6 -5
- package/dist/components/Ui/TextInput/TextInput.js +11 -10
- package/dist/components/Ui/TextareaInput/TextareaInput.js +18 -17
- package/dist/components/Ui/Tooltip/Tooltip.js +3 -2
- package/dist/components/Ui/Tooltip/Tooltip.stories.js +9 -14
- package/dist/context/ToastContext/ToastContext.js +22 -24
- package/dist/main.d.ts +0 -14
- package/dist/main.js +147 -149
- package/dist/node_modules/classnames/index.js +42 -0
- package/dist/node_modules/fast-deep-equal/index.js +31 -0
- package/dist/node_modules/papaparse/papaparse.min.js +421 -0
- package/dist/node_modules/react-paginate/dist/react-paginate.js +259 -0
- package/dist/src/components/Ui/Badge/Badge.module.scss.js +30 -0
- package/dist/src/components/Ui/Skeleton/Skeleton.module.scss.js +9 -0
- package/dist/src/components/Ui/Tooltip/Tooltip.stories.module.css.js +15 -0
- package/dist/src/context/ToastContext/ToastContext.module.scss.js +9 -0
- package/dist/styles/_mixins.scss +22 -0
- package/dist/styles/fix.scss +4 -0
- package/dist/styles/main.scss +27 -0
- package/dist/styles/reset.scss +106 -0
- package/dist/styles/typography.scss +102 -0
- package/dist/styles/variables.scss +278 -0
- package/package.json +110 -106
- package/src/styles/_mixins.scss +22 -0
- package/src/styles/fix.scss +4 -0
- package/src/styles/main.scss +27 -0
- package/src/styles/reset.scss +106 -0
- package/src/styles/typography.scss +102 -0
- package/src/styles/variables.scss +273 -0
- package/dist/assets/Tooltip.css +0 -1
- package/dist/components/Ui/DatePicker/index.js +0 -4
- package/dist/index-2QXL0WYc.js +0 -45
- /package/dist/assets/{Accordeon.css → src/components/Ui/Accordeon/Accordeon.css} +0 -0
- /package/dist/assets/{Alert.css → src/components/Ui/Alert/Alert.css} +0 -0
- /package/dist/assets/{Avatar.css → src/components/Ui/Avatar/Avatar.css} +0 -0
- /package/dist/assets/{Badge.css → src/components/Ui/Badge/Badge.module.css} +0 -0
- /package/dist/assets/{Button.css → src/components/Ui/Button/Button.css} +0 -0
- /package/dist/assets/{ButtonsArray.css → src/components/Ui/ButtonsArray/ButtonsArray.css} +0 -0
- /package/dist/assets/{Checkbox.css → src/components/Ui/Checkbox/Checkbox.css} +0 -0
- /package/dist/assets/{CliTextareaInput.css → src/components/Ui/CliTextareaInput/CliTextareaInput.css} +0 -0
- /package/dist/assets/{CustomLink.css → src/components/Ui/CustomLink/CustomLink.css} +0 -0
- /package/dist/assets/{DatePicker.css → src/components/Ui/DatePicker/DatePicker.css} +0 -0
- /package/dist/assets/{DropdownInput.css → src/components/Ui/DropdownInput/DropdownInput.css} +0 -0
- /package/dist/assets/{DropdownMenu.css → src/components/Ui/DropdownMenu/DropdownMenu.css} +0 -0
- /package/dist/assets/{FileUpload.css → src/components/Ui/FileUpload/FileUpload.css} +0 -0
- /package/dist/assets/{FormRoot.css → src/components/Ui/Form/FormRoot/Form.css} +0 -0
- /package/dist/assets/{Loader.css → src/components/Ui/Loader/Loader.css} +0 -0
- /package/dist/assets/{ModalWindow.css → src/components/Ui/ModalWindow/ModalWindow.css} +0 -0
- /package/dist/assets/{Pagination.css → src/components/Ui/Pagination/Pagination.css} +0 -0
- /package/dist/assets/{Radio.css → src/components/Ui/Radio/Radio.css} +0 -0
- /package/dist/assets/{SearchInput.css → src/components/Ui/SearchInput/SearchInput.css} +0 -0
- /package/dist/assets/{Skeleton.css → src/components/Ui/Skeleton/Skeleton.module.css} +0 -0
- /package/dist/assets/{Switch.css → src/components/Ui/Switch/Switch.css} +0 -0
- /package/dist/assets/{Table.css → src/components/Ui/Table/Table.css} +0 -0
- /package/dist/assets/{Tabs.css → src/components/Ui/Tabs/Tabs.css} +0 -0
- /package/dist/assets/{TextInput.css → src/components/Ui/TextInput/TextInput.css} +0 -0
- /package/dist/assets/{TextareaInput.css → src/components/Ui/TextareaInput/TextareaInput.css} +0 -0
- /package/dist/assets/{Tooltip2.css → src/components/Ui/Tooltip/Tooltip.css} +0 -0
- /package/dist/assets/{ToastContext.css → src/context/ToastContext/ToastContext.module.css} +0 -0
package/dist/main.js
CHANGED
@@ -3,162 +3,160 @@ import { Alert as I } from "./components/Ui/Alert/Alert.js";
|
|
3
3
|
import { Avatar as i } from "./components/Ui/Avatar/Avatar.js";
|
4
4
|
import { ModalWindow as p } from "./components/Ui/ModalWindow/ModalWindow.js";
|
5
5
|
import { Badge as f } from "./components/Ui/Badge/Badge.js";
|
6
|
-
import {
|
7
|
-
import {
|
8
|
-
import {
|
9
|
-
import {
|
10
|
-
import { CliTextareaInput as T } from "./components/Ui/CliTextareaInput/CliTextareaInput.js";
|
6
|
+
import { Button as x } from "./components/Ui/Button/Button.js";
|
7
|
+
import { ButtonsArray as u } from "./components/Ui/ButtonsArray/ButtonsArray.js";
|
8
|
+
import { Checkbox as C } from "./components/Ui/Checkbox/Checkbox.js";
|
9
|
+
import { CliTextareaInput as h } from "./components/Ui/CliTextareaInput/CliTextareaInput.js";
|
11
10
|
import "react";
|
12
|
-
import { CustomLink as
|
13
|
-
import { DropdownInput as
|
14
|
-
import { DropdownMenu as
|
15
|
-
import { FileUpload as
|
16
|
-
import { Form as
|
17
|
-
import { useForm as
|
18
|
-
import { Loader as
|
19
|
-
import { Pagination as
|
20
|
-
import { Radio as
|
21
|
-
import { SearchInput as
|
22
|
-
import { Skeleton as
|
23
|
-
import { Switch as
|
24
|
-
import { Table as
|
25
|
-
import { TextInput as
|
26
|
-
import { TextareaInput as
|
27
|
-
import { Tooltip as
|
28
|
-
import { Tabs as
|
29
|
-
import { IconArrowBendUpRight as
|
30
|
-
import { ToastProvider as
|
31
|
-
import { TriaflyContext as
|
32
|
-
import { useBreakpointValueTriafly as
|
33
|
-
import { useThemeLogic as
|
34
|
-
import { useModalState as
|
11
|
+
import { CustomLink as T } from "./components/Ui/CustomLink/CustomLink.js";
|
12
|
+
import { DropdownInput as A } from "./components/Ui/DropdownInput/DropdownInput.js";
|
13
|
+
import { DropdownMenu as k } from "./components/Ui/DropdownMenu/DropdownMenu.js";
|
14
|
+
import { FileUpload as P } from "./components/Ui/FileUpload/FileUpload.js";
|
15
|
+
import { Form as U } from "./components/Ui/Form/FormRoot/FormRoot.js";
|
16
|
+
import { useForm as F } from "./components/Ui/Form/useForm/useForm.js";
|
17
|
+
import { Loader as v } from "./components/Ui/Loader/Loader.js";
|
18
|
+
import { Pagination as X } from "./components/Ui/Pagination/Pagination.js";
|
19
|
+
import { Radio as H } from "./components/Ui/Radio/Radio.js";
|
20
|
+
import { SearchInput as O } from "./components/Ui/SearchInput/SearchInput.js";
|
21
|
+
import { Skeleton as E } from "./components/Ui/Skeleton/Skeleton.js";
|
22
|
+
import { Switch as W } from "./components/Ui/Switch/Switch.js";
|
23
|
+
import { Table as z } from "./components/Ui/Table/Table.js";
|
24
|
+
import { TextInput as Y } from "./components/Ui/TextInput/TextInput.js";
|
25
|
+
import { TextareaInput as q } from "./components/Ui/TextareaInput/TextareaInput.js";
|
26
|
+
import { Tooltip as Z } from "./components/Ui/Tooltip/Tooltip.js";
|
27
|
+
import { Tabs as $ } from "./components/Ui/Tabs/Tabs.js";
|
28
|
+
import { IconArrowBendUpRight as no, IconArrowClockwise as ro, IconArrowDown as eo, IconArrowLeft as co, IconArrowLineDown as Io, IconArrowLineLeft as to, IconArrowLineRight as io, IconArrowLineUp as ao, IconArrowRight as po, IconArrowUp as lo, IconArrowsOut as fo, IconArticle as mo, IconAt as xo, IconBellSimple as so, IconBookOpenText as uo, IconCalendarBlank as Co, IconCaretDown as wo, IconCaretLeft as ho, IconCaretRight as So, IconCaretUp as To, IconCaretUpDown as go, IconChartPieSlice as Ao, IconChatText as Lo, IconCheck as ko, IconCheckCircle as Do, IconChecks as Po, IconCircleNotch as yo, IconCopy as Uo, IconCornersOut as Bo, IconCsv as Fo, IconCube as Mo, IconDatabase as vo, IconDotsNine as Ro, IconDotsThreeVertical as Xo, IconExport as bo, IconEye as Ho, IconEyeSlash as No, IconFile as Oo, IconFiles as Qo, IconFloppyDisk as Eo, IconFolderSimple as Go, IconFolderSimpleX as Wo, IconFunnel as Vo, IconGauge as zo, IconGear as Jo, IconGoogleDrive as Yo, IconHand as jo, IconHeadCircuit as qo, IconHouse as Ko, IconIcon as Zo, IconInfo as _o, IconJoin as $o, IconLanguage as on, IconLink as nn, IconList as rn, IconLock as en, IconLockOpen as cn, IconMariaDB as In, IconMinus as tn, IconMongoDB as an, IconMoon as pn, IconMySQL as ln, IconNavigationArrow as fn, IconNotePencil as mn, IconPassword as xn, IconPen as sn, IconPlay as un, IconPlugsX as dn, IconPlus as Cn, IconPorsgteSQL as wn, IconPresentationChart as hn, IconQuestion as Sn, IconQuestionFullfilled as Tn, IconRedo as gn, IconRoleX as An, IconSearch as Ln, IconSearchX as kn, IconSelection as Dn, IconServer as Pn, IconSlidersHorizontal as yn, IconSticker as Un, IconSun as Bn, IconThreeDot as Fn, IconTrash as Mn, IconTriangleDown as vn, IconTriangleUp as Rn, IconUndo as Xn, IconUploadSimple as bn, IconUser as Hn, IconUserX as Nn, IconWarningCircle as On, IconWrench as Qn, IconX as En, IconYandexDisk as Gn } from "./components/Ui/Icons/Icons.js";
|
29
|
+
import { ToastProvider as Vn } from "./context/ToastContext/ToastContext.js";
|
30
|
+
import { TriaflyContext as Jn, TriaflyProvider as Yn, useTriafly as jn } from "./context/TriaflyContext/TriaflyProvider.js";
|
31
|
+
import { useBreakpointValueTriafly as Kn } from "./context/TriaflyContext/hooks/useBreakpointValue/useBreakpointValue.js";
|
32
|
+
import { useThemeLogic as _n } from "./context/TriaflyContext/hooks/useTheme/useTheme.js";
|
33
|
+
import { useModalState as or } from "./context/TriaflyContext/hooks/useModal/useModal.js";
|
35
34
|
export {
|
36
35
|
e as Accordeon,
|
37
36
|
I as Alert,
|
38
37
|
i as Avatar,
|
39
38
|
f as Badge,
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
P as
|
48
|
-
U as
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
Do as IconChartPieSlice,
|
39
|
+
x as Button,
|
40
|
+
u as ButtonsArray,
|
41
|
+
C as Checkbox,
|
42
|
+
h as CliTextareaInput,
|
43
|
+
T as CustomLink,
|
44
|
+
A as DropdownInput,
|
45
|
+
k as DropdownMenu,
|
46
|
+
P as FileUpload,
|
47
|
+
U as Form,
|
48
|
+
no as IconArrowBendUpRight,
|
49
|
+
ro as IconArrowClockwise,
|
50
|
+
eo as IconArrowDown,
|
51
|
+
co as IconArrowLeft,
|
52
|
+
Io as IconArrowLineDown,
|
53
|
+
to as IconArrowLineLeft,
|
54
|
+
io as IconArrowLineRight,
|
55
|
+
ao as IconArrowLineUp,
|
56
|
+
po as IconArrowRight,
|
57
|
+
lo as IconArrowUp,
|
58
|
+
fo as IconArrowsOut,
|
59
|
+
mo as IconArticle,
|
60
|
+
xo as IconAt,
|
61
|
+
so as IconBellSimple,
|
62
|
+
uo as IconBookOpenText,
|
63
|
+
Co as IconCalendarBlank,
|
64
|
+
wo as IconCaretDown,
|
65
|
+
ho as IconCaretLeft,
|
66
|
+
So as IconCaretRight,
|
67
|
+
To as IconCaretUp,
|
68
|
+
go as IconCaretUpDown,
|
69
|
+
Ao as IconChartPieSlice,
|
72
70
|
Lo as IconChatText,
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
71
|
+
ko as IconCheck,
|
72
|
+
Do as IconCheckCircle,
|
73
|
+
Po as IconChecks,
|
74
|
+
yo as IconCircleNotch,
|
75
|
+
Uo as IconCopy,
|
76
|
+
Bo as IconCornersOut,
|
77
|
+
Fo as IconCsv,
|
78
|
+
Mo as IconCube,
|
79
|
+
vo as IconDatabase,
|
80
|
+
Ro as IconDotsNine,
|
81
|
+
Xo as IconDotsThreeVertical,
|
82
|
+
bo as IconExport,
|
83
|
+
Ho as IconEye,
|
84
|
+
No as IconEyeSlash,
|
85
|
+
Oo as IconFile,
|
86
|
+
Qo as IconFiles,
|
87
|
+
Eo as IconFloppyDisk,
|
88
|
+
Go as IconFolderSimple,
|
89
|
+
Wo as IconFolderSimpleX,
|
90
|
+
Vo as IconFunnel,
|
91
|
+
zo as IconGauge,
|
92
|
+
Jo as IconGear,
|
93
|
+
Yo as IconGoogleDrive,
|
94
|
+
jo as IconHand,
|
95
|
+
qo as IconHeadCircuit,
|
96
|
+
Ko as IconHouse,
|
97
|
+
Zo as IconIcon,
|
98
|
+
_o as IconInfo,
|
99
|
+
$o as IconJoin,
|
100
|
+
on as IconLanguage,
|
101
|
+
nn as IconLink,
|
102
|
+
rn as IconList,
|
103
|
+
en as IconLock,
|
104
|
+
cn as IconLockOpen,
|
105
|
+
In as IconMariaDB,
|
106
|
+
tn as IconMinus,
|
107
|
+
an as IconMongoDB,
|
108
|
+
pn as IconMoon,
|
109
|
+
ln as IconMySQL,
|
110
|
+
fn as IconNavigationArrow,
|
111
|
+
mn as IconNotePencil,
|
112
|
+
xn as IconPassword,
|
113
|
+
sn as IconPen,
|
114
|
+
un as IconPlay,
|
115
|
+
dn as IconPlugsX,
|
116
|
+
Cn as IconPlus,
|
117
|
+
wn as IconPorsgteSQL,
|
118
|
+
hn as IconPresentationChart,
|
119
|
+
Sn as IconQuestion,
|
120
|
+
Tn as IconQuestionFullfilled,
|
121
|
+
gn as IconRedo,
|
122
|
+
An as IconRoleX,
|
125
123
|
Ln as IconSearch,
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
124
|
+
kn as IconSearchX,
|
125
|
+
Dn as IconSelection,
|
126
|
+
Pn as IconServer,
|
127
|
+
yn as IconSlidersHorizontal,
|
128
|
+
Un as IconSticker,
|
129
|
+
Bn as IconSun,
|
130
|
+
Fn as IconThreeDot,
|
131
|
+
Mn as IconTrash,
|
132
|
+
vn as IconTriangleDown,
|
133
|
+
Rn as IconTriangleUp,
|
134
|
+
Xn as IconUndo,
|
135
|
+
bn as IconUploadSimple,
|
136
|
+
Hn as IconUser,
|
137
|
+
Nn as IconUserX,
|
138
|
+
On as IconWarningCircle,
|
139
|
+
Qn as IconWrench,
|
140
|
+
En as IconX,
|
141
|
+
Gn as IconYandexDisk,
|
142
|
+
v as Loader,
|
145
143
|
p as ModalWindow,
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
144
|
+
X as Pagination,
|
145
|
+
H as Radio,
|
146
|
+
O as SearchInput,
|
147
|
+
E as Skeleton,
|
148
|
+
W as Switch,
|
149
|
+
z as Table,
|
150
|
+
$ as Tabs,
|
151
|
+
Y as TextInput,
|
152
|
+
q as TextareaInput,
|
153
|
+
Vn as ToastProvider,
|
154
|
+
Z as Tooltip,
|
155
|
+
Jn as TriaflyContext,
|
156
|
+
Yn as TriaflyProvider,
|
157
|
+
Kn as useBreakpointValueTriafly,
|
158
|
+
F as useForm,
|
159
|
+
or as useModalState,
|
160
|
+
_n as useThemeLogic,
|
161
|
+
jn as useTriafly
|
164
162
|
};
|
@@ -0,0 +1,42 @@
|
|
1
|
+
import { __module as s } from "../../_virtual/index3.js";
|
2
|
+
/*!
|
3
|
+
Copyright (c) 2018 Jed Watson.
|
4
|
+
Licensed under the MIT License (MIT), see
|
5
|
+
http://jedwatson.github.io/classnames
|
6
|
+
*/
|
7
|
+
var u;
|
8
|
+
function c() {
|
9
|
+
return u ? s.exports : (u = 1, function(i) {
|
10
|
+
(function() {
|
11
|
+
var f = {}.hasOwnProperty;
|
12
|
+
function n() {
|
13
|
+
for (var r = "", t = 0; t < arguments.length; t++) {
|
14
|
+
var e = arguments[t];
|
15
|
+
e && (r = o(r, a(e)));
|
16
|
+
}
|
17
|
+
return r;
|
18
|
+
}
|
19
|
+
function a(r) {
|
20
|
+
if (typeof r == "string" || typeof r == "number")
|
21
|
+
return r;
|
22
|
+
if (typeof r != "object")
|
23
|
+
return "";
|
24
|
+
if (Array.isArray(r))
|
25
|
+
return n.apply(null, r);
|
26
|
+
if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
|
27
|
+
return r.toString();
|
28
|
+
var t = "";
|
29
|
+
for (var e in r)
|
30
|
+
f.call(r, e) && r[e] && (t = o(t, e));
|
31
|
+
return t;
|
32
|
+
}
|
33
|
+
function o(r, t) {
|
34
|
+
return t ? r ? r + " " + t : r + t : r;
|
35
|
+
}
|
36
|
+
i.exports ? (n.default = n, i.exports = n) : window.classNames = n;
|
37
|
+
})();
|
38
|
+
}(s), s.exports);
|
39
|
+
}
|
40
|
+
export {
|
41
|
+
c as __require
|
42
|
+
};
|
@@ -0,0 +1,31 @@
|
|
1
|
+
var o, c;
|
2
|
+
function l() {
|
3
|
+
return c || (c = 1, o = function n(r, e) {
|
4
|
+
if (r === e) return !0;
|
5
|
+
if (r && e && typeof r == "object" && typeof e == "object") {
|
6
|
+
if (r.constructor !== e.constructor) return !1;
|
7
|
+
var u, t, f;
|
8
|
+
if (Array.isArray(r)) {
|
9
|
+
if (u = r.length, u != e.length) return !1;
|
10
|
+
for (t = u; t-- !== 0; )
|
11
|
+
if (!n(r[t], e[t])) return !1;
|
12
|
+
return !0;
|
13
|
+
}
|
14
|
+
if (r.constructor === RegExp) return r.source === e.source && r.flags === e.flags;
|
15
|
+
if (r.valueOf !== Object.prototype.valueOf) return r.valueOf() === e.valueOf();
|
16
|
+
if (r.toString !== Object.prototype.toString) return r.toString() === e.toString();
|
17
|
+
if (f = Object.keys(r), u = f.length, u !== Object.keys(e).length) return !1;
|
18
|
+
for (t = u; t-- !== 0; )
|
19
|
+
if (!Object.prototype.hasOwnProperty.call(e, f[t])) return !1;
|
20
|
+
for (t = u; t-- !== 0; ) {
|
21
|
+
var s = f[t];
|
22
|
+
if (!n(r[s], e[s])) return !1;
|
23
|
+
}
|
24
|
+
return !0;
|
25
|
+
}
|
26
|
+
return r !== r && e !== e;
|
27
|
+
}), o;
|
28
|
+
}
|
29
|
+
export {
|
30
|
+
l as __require
|
31
|
+
};
|