@smart-factor/gem-ui-components 0.0.85 → 0.0.86
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/SignEditor.js +1 -1
- package/dist/components/ButtonPreviewAttachment/ButtonPreviewAttachment.d.ts +9 -0
- package/dist/components/ButtonPreviewAttachment/ButtonPreviewAttachment.stories.d.ts +9 -0
- package/dist/components/ButtonPreviewAttachment/index.d.ts +1 -0
- package/dist/components/Dialog/Dialog.styles.d.ts +3 -0
- package/dist/components/GridCell/GridCell.d.ts +7 -0
- package/dist/components/GridCell/index.d.ts +1 -0
- package/dist/helpers/base64.d.ts +3 -0
- package/dist/helpers/file.d.ts +2 -0
- package/dist/helpers/index.d.ts +2 -0
- package/dist/licenses.txt +127 -35
- package/dist/main.d.ts +1 -0
- package/dist/main.js +929 -817
- package/dist/theme-_Tij8K1r.js +262508 -0
- package/package.json +2 -1
- package/dist/theme-CkdaTsi2.js +0 -67042
package/dist/SignEditor.js
CHANGED
|
@@ -17,7 +17,7 @@ var lm = (o, e, t, n) => ({
|
|
|
17
17
|
import Hw, { jsx as Ht, jsxs as ga, Fragment as Bf } from "react/jsx-runtime";
|
|
18
18
|
import * as ra from "react";
|
|
19
19
|
import { useCallback as Bu, createContext as d3, useContext as h3, useState as zl, useEffect as Sc, useMemo as fg, useRef as p3 } from "react";
|
|
20
|
-
import { e as g3, g as _3, G as i0, a as Es, b as a0, s as Xy, c as m3, D as sL, B as yg, d as Uw, z as xu, u as Ef, I as nf, A as lL, F as f3, U as rk, f as y3, h as b3, i as v3, j as w3, T as x3 } from "./theme-
|
|
20
|
+
import { e as g3, g as _3, G as i0, a as Es, b as a0, s as Xy, c as m3, D as sL, B as yg, d as Uw, z as xu, u as Ef, I as nf, A as lL, F as f3, U as rk, f as y3, h as b3, i as v3, j as w3, T as x3 } from "./theme-_Tij8K1r.js";
|
|
21
21
|
import { C as cL, r as zw } from "./Drawer-CldXrceX.js";
|
|
22
22
|
import "react-router-dom";
|
|
23
23
|
import "@mui/x-data-grid-pro";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { IconButtonProps } from '@mui/material';
|
|
3
|
+
|
|
4
|
+
export interface ButtonPreviewAttachmentProps {
|
|
5
|
+
href: string;
|
|
6
|
+
fileName: string;
|
|
7
|
+
size?: IconButtonProps['size'];
|
|
8
|
+
}
|
|
9
|
+
export declare const ButtonPreviewAttachment: FC<ButtonPreviewAttachmentProps>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { ButtonPreviewAttachment, ButtonPreviewAttachmentProps } from './ButtonPreviewAttachment';
|
|
3
|
+
|
|
4
|
+
declare const meta: Meta<typeof ButtonPreviewAttachment>;
|
|
5
|
+
export default meta;
|
|
6
|
+
type Story = StoryObj<ButtonPreviewAttachmentProps>;
|
|
7
|
+
export declare const PreviewImage: Story;
|
|
8
|
+
export declare const PreviewPdf: Story;
|
|
9
|
+
export declare const PreviewNotPossible: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ButtonPreviewAttachment } from './ButtonPreviewAttachment';
|
|
@@ -10,3 +10,6 @@ export declare const Subtitle: import('@emotion/styled').StyledComponent<import(
|
|
|
10
10
|
ref?: ((instance: HTMLSpanElement | null) => void) | import('react').RefObject<HTMLSpanElement> | null | undefined;
|
|
11
11
|
}, "className" | "style" | "classes" | "children" | "sx" | "p" | "color" | "border" | "boxShadow" | "fontWeight" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxSizing" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "visibility" | "whiteSpace" | "width" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint" | "align" | "variant" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
|
|
12
12
|
export declare const Actions: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
13
|
+
export declare const CloseButton: import('@emotion/styled').StyledComponent<import('@mui/material').IconButtonOwnProps & Omit<import('@mui/material').ButtonBaseOwnProps, "classes"> & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
14
|
+
ref?: ((instance: HTMLButtonElement | null) => void) | import('react').RefObject<HTMLButtonElement> | null | undefined;
|
|
15
|
+
}, "className" | "style" | "classes" | "action" | "centerRipple" | "children" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "tabIndex" | "TouchRippleProps" | "touchRippleRef" | "color" | "size" | "disableFocusRipple" | "edge"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { GridCell } from './GridCell';
|
package/dist/helpers/index.d.ts
CHANGED
package/dist/licenses.txt
CHANGED
|
@@ -1412,6 +1412,133 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
1412
1412
|
|
|
1413
1413
|
---
|
|
1414
1414
|
|
|
1415
|
+
Name: axios
|
|
1416
|
+
Version: 1.8.1
|
|
1417
|
+
License: MIT
|
|
1418
|
+
Private: false
|
|
1419
|
+
Description: Promise based HTTP client for the browser and node.js
|
|
1420
|
+
Repository: https://github.com/axios/axios.git
|
|
1421
|
+
Homepage: https://axios-http.com
|
|
1422
|
+
Author: Matt Zabriskie
|
|
1423
|
+
Contributors:
|
|
1424
|
+
Matt Zabriskie (https://github.com/mzabriskie)
|
|
1425
|
+
Nick Uraltsev (https://github.com/nickuraltsev)
|
|
1426
|
+
Dmitriy Mozgovoy (https://github.com/DigitalBrainJS)
|
|
1427
|
+
Jay (https://github.com/jasonsaayman)
|
|
1428
|
+
Emily Morehouse (https://github.com/emilyemorehouse)
|
|
1429
|
+
Rubén Norte (https://github.com/rubennorte)
|
|
1430
|
+
Justin Beckwith (https://github.com/JustinBeckwith)
|
|
1431
|
+
Martti Laine (https://github.com/codeclown)
|
|
1432
|
+
Xianming Zhong (https://github.com/chinesedfan)
|
|
1433
|
+
Rikki Gibson (https://github.com/RikkiGibson)
|
|
1434
|
+
Remco Haszing (https://github.com/remcohaszing)
|
|
1435
|
+
Yasu Flores (https://github.com/yasuf)
|
|
1436
|
+
Ben Carp (https://github.com/carpben)
|
|
1437
|
+
License Copyright:
|
|
1438
|
+
===
|
|
1439
|
+
|
|
1440
|
+
# Copyright (c) 2014-present Matt Zabriskie & Collaborators
|
|
1441
|
+
|
|
1442
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
1443
|
+
|
|
1444
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
1445
|
+
|
|
1446
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
1447
|
+
|
|
1448
|
+
---
|
|
1449
|
+
|
|
1450
|
+
Name: tiff.js
|
|
1451
|
+
Version: 1.0.0
|
|
1452
|
+
License: SEE LICENSE IN LICENSE
|
|
1453
|
+
Private: false
|
|
1454
|
+
Description: tiff.js is a port of the LibTIFF by compiling the LibTIFF C code with Emscripten.
|
|
1455
|
+
Repository: undefined
|
|
1456
|
+
Homepage: https://github.com/seikichi/tiff.js
|
|
1457
|
+
Author: seikichi
|
|
1458
|
+
License Copyright:
|
|
1459
|
+
===
|
|
1460
|
+
|
|
1461
|
+
/**
|
|
1462
|
+
@license
|
|
1463
|
+
----
|
|
1464
|
+
tiff.js: https://github.com/seikichi/tiff.js
|
|
1465
|
+
|
|
1466
|
+
Copyright (C) 2013 seikichi[at]kmc.gr.jp
|
|
1467
|
+
|
|
1468
|
+
This software is provided 'as-is', without any express or implied
|
|
1469
|
+
warranty. In no event will the authors be held liable for any damages
|
|
1470
|
+
arising from the use of this software.
|
|
1471
|
+
|
|
1472
|
+
Permission is granted to anyone to use this software for any purpose,
|
|
1473
|
+
including commercial applications, and to alter it and redistribute it
|
|
1474
|
+
freely, subject to the following restrictions:
|
|
1475
|
+
|
|
1476
|
+
1. The origin of this software must not be misrepresented; you must not
|
|
1477
|
+
claim that you wrote the original software. If you use this software
|
|
1478
|
+
in a product, an acknowledgment in the product documentation would be
|
|
1479
|
+
appreciated but is not required.
|
|
1480
|
+
|
|
1481
|
+
2. Altered source versions must be plainly marked as such, and must not be
|
|
1482
|
+
misrepresented as being the original software.
|
|
1483
|
+
|
|
1484
|
+
3. This notice may not be removed or altered from any source
|
|
1485
|
+
distribution.
|
|
1486
|
+
----
|
|
1487
|
+
zlib: http://www.zlib.net/
|
|
1488
|
+
|
|
1489
|
+
Copyright (C) 1995-2013 Jean-loup Gailly and Mark Adler
|
|
1490
|
+
|
|
1491
|
+
This software is provided 'as-is', without any express or implied
|
|
1492
|
+
warranty. In no event will the authors be held liable for any damages
|
|
1493
|
+
arising from the use of this software.
|
|
1494
|
+
|
|
1495
|
+
Permission is granted to anyone to use this software for any purpose,
|
|
1496
|
+
including commercial applications, and to alter it and redistribute it
|
|
1497
|
+
freely, subject to the following restrictions:
|
|
1498
|
+
|
|
1499
|
+
1. The origin of this software must not be misrepresented; you must not
|
|
1500
|
+
claim that you wrote the original software. If you use this software
|
|
1501
|
+
in a product, an acknowledgment in the product documentation would be
|
|
1502
|
+
appreciated but is not required.
|
|
1503
|
+
2. Altered source versions must be plainly marked as such, and must not be
|
|
1504
|
+
misrepresented as being the original software.
|
|
1505
|
+
3. This notice may not be removed or altered from any source distribution.
|
|
1506
|
+
|
|
1507
|
+
Jean-loup Gailly Mark Adler
|
|
1508
|
+
jloup@gzip.org madler@alumni.caltech.edu
|
|
1509
|
+
|
|
1510
|
+
|
|
1511
|
+
The data format used by the zlib library is described by RFCs (Request for
|
|
1512
|
+
Comments) 1950 to 1952 in the files http://tools.ietf.org/html/rfc1950
|
|
1513
|
+
(zlib format), rfc1951 (deflate format) and rfc1952 (gzip format).
|
|
1514
|
+
----
|
|
1515
|
+
LibTIFF: http://www.remotesensing.org/libtiff/
|
|
1516
|
+
|
|
1517
|
+
Copyright (c) 1988-1997 Sam Leffler
|
|
1518
|
+
Copyright (c) 1991-1997 Silicon Graphics, Inc.
|
|
1519
|
+
|
|
1520
|
+
Permission to use, copy, modify, distribute, and sell this software and
|
|
1521
|
+
its documentation for any purpose is hereby granted without fee, provided
|
|
1522
|
+
that (i) the above copyright notices and this permission notice appear in
|
|
1523
|
+
all copies of the software and related documentation, and (ii) the names of
|
|
1524
|
+
Sam Leffler and Silicon Graphics may not be used in any advertising or
|
|
1525
|
+
publicity relating to the software without the specific, prior written
|
|
1526
|
+
permission of Sam Leffler and Silicon Graphics.
|
|
1527
|
+
|
|
1528
|
+
THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
|
|
1529
|
+
EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
|
|
1530
|
+
WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
|
|
1531
|
+
|
|
1532
|
+
IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
|
|
1533
|
+
ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
|
|
1534
|
+
OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
|
|
1535
|
+
WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
|
|
1536
|
+
LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
|
|
1537
|
+
OF THIS SOFTWARE.
|
|
1538
|
+
*/
|
|
1539
|
+
|
|
1540
|
+
---
|
|
1541
|
+
|
|
1415
1542
|
Name: tslib
|
|
1416
1543
|
Version: 2.6.3
|
|
1417
1544
|
License: 0BSD
|
|
@@ -2125,41 +2252,6 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
2125
2252
|
|
|
2126
2253
|
---
|
|
2127
2254
|
|
|
2128
|
-
Name: axios
|
|
2129
|
-
Version: 1.8.1
|
|
2130
|
-
License: MIT
|
|
2131
|
-
Private: false
|
|
2132
|
-
Description: Promise based HTTP client for the browser and node.js
|
|
2133
|
-
Repository: https://github.com/axios/axios.git
|
|
2134
|
-
Homepage: https://axios-http.com
|
|
2135
|
-
Author: Matt Zabriskie
|
|
2136
|
-
Contributors:
|
|
2137
|
-
Matt Zabriskie (https://github.com/mzabriskie)
|
|
2138
|
-
Nick Uraltsev (https://github.com/nickuraltsev)
|
|
2139
|
-
Dmitriy Mozgovoy (https://github.com/DigitalBrainJS)
|
|
2140
|
-
Jay (https://github.com/jasonsaayman)
|
|
2141
|
-
Emily Morehouse (https://github.com/emilyemorehouse)
|
|
2142
|
-
Rubén Norte (https://github.com/rubennorte)
|
|
2143
|
-
Justin Beckwith (https://github.com/JustinBeckwith)
|
|
2144
|
-
Martti Laine (https://github.com/codeclown)
|
|
2145
|
-
Xianming Zhong (https://github.com/chinesedfan)
|
|
2146
|
-
Rikki Gibson (https://github.com/RikkiGibson)
|
|
2147
|
-
Remco Haszing (https://github.com/remcohaszing)
|
|
2148
|
-
Yasu Flores (https://github.com/yasuf)
|
|
2149
|
-
Ben Carp (https://github.com/carpben)
|
|
2150
|
-
License Copyright:
|
|
2151
|
-
===
|
|
2152
|
-
|
|
2153
|
-
# Copyright (c) 2014-present Matt Zabriskie & Collaborators
|
|
2154
|
-
|
|
2155
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
2156
|
-
|
|
2157
|
-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
2158
|
-
|
|
2159
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
2160
|
-
|
|
2161
|
-
---
|
|
2162
|
-
|
|
2163
2255
|
Name: react-hook-form
|
|
2164
2256
|
Version: 7.54.2
|
|
2165
2257
|
License: MIT
|
package/dist/main.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export { AccordionSummary } from './components/AccordionSummary/AccordionSummary';
|
|
2
2
|
export { Button } from './components/Button/Button';
|
|
3
3
|
export { ButtonAdd } from './components/Button/ButtonAdd';
|
|
4
|
+
export { ButtonPreviewAttachment } from './components/ButtonPreviewAttachment';
|
|
4
5
|
export { ButtonWithIcon } from './components/ButtonWithIcon/ButtonWithIcon';
|
|
5
6
|
export { Dialog } from './components/Dialog/Dialog';
|
|
6
7
|
export { Drawer } from './components/Drawer/Drawer';
|