@dartcom/ui-kit 3.2.4 → 3.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/components/buttons/delete/delete.js.map +1 -1
- package/dist/cjs/components/buttons/edit/edit.js +35 -0
- package/dist/cjs/components/buttons/edit/edit.js.map +1 -0
- package/dist/cjs/index.js +2 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/node_modules/@mui/icons-material/esm/Edit.js +14 -0
- package/dist/cjs/node_modules/@mui/icons-material/esm/Edit.js.map +1 -0
- package/dist/esm/components/buttons/delete/delete.js.map +1 -1
- package/dist/esm/components/buttons/edit/edit.js +2 -0
- package/dist/esm/components/buttons/edit/edit.js.map +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/node_modules/@mui/icons-material/esm/Edit.js +3 -0
- package/dist/esm/node_modules/@mui/icons-material/esm/Edit.js.map +1 -0
- package/dist/esm/types/components/buttons/delete/delete.d.ts +1 -7
- package/dist/esm/types/components/buttons/delete/delete.d.ts.map +1 -1
- package/dist/esm/types/components/buttons/delete/types.d.ts +8 -0
- package/dist/esm/types/components/buttons/delete/types.d.ts.map +1 -0
- package/dist/esm/types/components/buttons/edit/edit.d.ts +5 -0
- package/dist/esm/types/components/buttons/edit/edit.d.ts.map +1 -0
- package/dist/esm/types/components/buttons/edit/edit.stories.d.ts +7 -0
- package/dist/esm/types/components/buttons/edit/edit.stories.d.ts.map +1 -0
- package/dist/esm/types/components/buttons/edit/index.d.ts +2 -0
- package/dist/esm/types/components/buttons/edit/index.d.ts.map +1 -0
- package/dist/esm/types/components/buttons/edit/types.d.ts +3 -0
- package/dist/esm/types/components/buttons/edit/types.d.ts.map +1 -0
- package/dist/esm/types/components/buttons/index.d.ts +1 -0
- package/dist/esm/types/components/buttons/index.d.ts.map +1 -1
- package/dist/esm/types/components/dialog/dialog.d.ts +5 -0
- package/dist/esm/types/components/dialog/dialog.d.ts.map +1 -0
- package/dist/esm/types/components/dialog/index.d.ts +2 -0
- package/dist/esm/types/components/dialog/index.d.ts.map +1 -0
- package/dist/esm/types/components/dialog/types.d.ts +5 -0
- package/dist/esm/types/components/dialog/types.d.ts.map +1 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete.js","sources":["../../../../../src/components/buttons/delete/delete.tsx"],"sourcesContent":["import * as React from 'react';\nimport DeleteIcon from '@mui/icons-material/Delete';\nimport {\n Button,\n Dialog,\n DialogActions,\n DialogContent,\n DialogContentText,\n DialogTitle,\n IconButton,\n Slide,\n} from '@mui/material';\nimport { TransitionProps } from '@mui/material/transitions';\n\nconst Transition = React.forwardRef(function Transition(\n props: TransitionProps & {\n children: React.ReactElement;\n },\n ref: React.Ref<unknown>,\n) {\n return <Slide direction=\"up\" ref={ref} {...props} />;\n});\n\
|
|
1
|
+
{"version":3,"file":"delete.js","sources":["../../../../../src/components/buttons/delete/delete.tsx"],"sourcesContent":["import * as React from 'react';\nimport DeleteIcon from '@mui/icons-material/Delete';\nimport {\n Button,\n Dialog,\n DialogActions,\n DialogContent,\n DialogContentText,\n DialogTitle,\n IconButton,\n Slide,\n} from '@mui/material';\nimport { TransitionProps } from '@mui/material/transitions';\n\nimport { DeleteButtonProps } from './types';\n\nconst Transition = React.forwardRef(function Transition(\n props: TransitionProps & {\n children: React.ReactElement;\n },\n ref: React.Ref<unknown>,\n) {\n return <Slide direction=\"up\" ref={ref} {...props} />;\n});\n\nconst DeleteButton: React.FC<DeleteButtonProps> = ({\n notification,\n onDelete,\n}) => {\n const id = React.useId();\n\n const [openNotification, setOpenNotification] = React.useState(false);\n\n const handleOpenNotification = () => {\n setOpenNotification(true);\n };\n\n const handleCloseNotification = () => {\n setOpenNotification(false);\n };\n\n return (\n <React.Fragment>\n <IconButton\n onClick={() => {\n if (notification) {\n handleOpenNotification();\n } else {\n onDelete();\n }\n }}>\n <DeleteIcon fontSize=\"small\" color=\"error\" />\n </IconButton>\n\n {notification ? (\n <Dialog\n slots={{\n transition: Transition,\n }}\n open={openNotification}\n onClose={handleCloseNotification}>\n <DialogTitle id={`${id}-dialog-title`}>\n {notification.title}\n </DialogTitle>\n\n <DialogContent>\n <DialogContentText id={`${id}-dialog-text`}>\n {notification.description}\n </DialogContentText>\n </DialogContent>\n\n <DialogActions>\n <Button\n variant=\"contained\"\n color=\"error\"\n sx={{\n textTransform: 'none',\n }}\n onClick={handleCloseNotification}>\n Отмена\n </Button>\n\n <Button\n variant=\"contained\"\n sx={{\n textTransform: 'none',\n }}\n onClick={() => {\n onDelete();\n\n handleCloseNotification();\n }}>\n Подтвердить\n </Button>\n </DialogActions>\n </Dialog>\n ) : null}\n </React.Fragment>\n );\n};\n\nexport default DeleteButton;\n"],"names":["React","_jsx","Slide","_jsxs","IconButton","DeleteIcon","Dialog","DialogTitle","DialogContent","DialogContentText","DialogActions","Button"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgBA,MAAM,UAAU,GAAGA,gBAAK,CAAC,UAAU,CAAC,SAAS,UAAU,CACrD,KAEC,EACD,GAAuB,EAAA;AAEvB,IAAA,OAAOC,cAAA,CAACC,aAAK,EAAA,EAAC,SAAS,EAAC,IAAI,EAAC,GAAG,EAAE,GAAG,EAAA,GAAM,KAAK,GAAI;AACtD,CAAC,CAAC;AAEF,MAAM,YAAY,GAAgC,CAAC,EACjD,YAAY,EACZ,QAAQ,GACT,KAAI;AACH,IAAA,MAAM,EAAE,GAAGF,gBAAK,CAAC,KAAK,EAAE;AAExB,IAAA,MAAM,CAAC,gBAAgB,EAAE,mBAAmB,CAAC,GAAGA,gBAAK,CAAC,QAAQ,CAAC,KAAK,CAAC;IAErE,MAAM,sBAAsB,GAAG,MAAK;QAClC,mBAAmB,CAAC,IAAI,CAAC;AAC3B,IAAA,CAAC;IAED,MAAM,uBAAuB,GAAG,MAAK;QACnC,mBAAmB,CAAC,KAAK,CAAC;AAC5B,IAAA,CAAC;AAED,IAAA,QACEG,eAAA,CAACH,gBAAK,CAAC,QAAQ,EAAA,EAAA,QAAA,EAAA,CACbC,cAAA,CAACG,kBAAU,EAAA,EACT,OAAO,EAAE,MAAK;oBACZ,IAAI,YAAY,EAAE;AAChB,wBAAA,sBAAsB,EAAE;oBAC1B;yBAAO;AACL,wBAAA,QAAQ,EAAE;oBACZ;gBACF,CAAC,EAAA,QAAA,EACDH,eAACI,cAAU,EAAA,EAAC,QAAQ,EAAC,OAAO,EAAC,KAAK,EAAC,OAAO,GAAG,EAAA,CAClC,EAEZ,YAAY,IACXF,eAAA,CAACG,cAAM,EAAA,EACL,KAAK,EAAE;AACL,oBAAA,UAAU,EAAE,UAAU;iBACvB,EACD,IAAI,EAAE,gBAAgB,EACtB,OAAO,EAAE,uBAAuB,EAAA,QAAA,EAAA,CAChCL,cAAA,CAACM,mBAAW,EAAA,EAAC,EAAE,EAAE,CAAA,EAAG,EAAE,CAAA,aAAA,CAAe,EAAA,QAAA,EAClC,YAAY,CAAC,KAAK,EAAA,CACP,EAEdN,cAAA,CAACO,qBAAa,EAAA,EAAA,QAAA,EACZP,cAAA,CAACQ,yBAAiB,IAAC,EAAE,EAAE,CAAA,EAAG,EAAE,CAAA,YAAA,CAAc,EAAA,QAAA,EACvC,YAAY,CAAC,WAAW,EAAA,CACP,EAAA,CACN,EAEhBN,eAAA,CAACO,qBAAa,eACZT,cAAA,CAACU,cAAM,EAAA,EACL,OAAO,EAAC,WAAW,EACnB,KAAK,EAAC,OAAO,EACb,EAAE,EAAE;AACF,oCAAA,aAAa,EAAE,MAAM;AACtB,iCAAA,EACD,OAAO,EAAE,uBAAuB,EAAA,QAAA,EAAA,sCAAA,EAAA,CAEzB,EAETV,cAAA,CAACU,cAAM,EAAA,EACL,OAAO,EAAC,WAAW,EACnB,EAAE,EAAE;AACF,oCAAA,aAAa,EAAE,MAAM;iCACtB,EACD,OAAO,EAAE,MAAK;AACZ,oCAAA,QAAQ,EAAE;AAEV,oCAAA,uBAAuB,EAAE;gCAC3B,CAAC,EAAA,QAAA,EAAA,oEAAA,EAAA,CAEM,CAAA,EAAA,CACK,CAAA,EAAA,CACT,IACP,IAAI,CAAA,EAAA,CACO;AAErB;;;;"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
6
|
+
var React = require('react');
|
|
7
|
+
var Edit = require('../../../node_modules/@mui/icons-material/esm/Edit.js');
|
|
8
|
+
var IconButton = require('../../../node_modules/@mui/material/esm/IconButton/IconButton.js');
|
|
9
|
+
|
|
10
|
+
function _interopNamespaceDefault(e) {
|
|
11
|
+
var n = Object.create(null);
|
|
12
|
+
if (e) {
|
|
13
|
+
Object.keys(e).forEach(function (k) {
|
|
14
|
+
if (k !== 'default') {
|
|
15
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
16
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
get: function () { return e[k]; }
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
n.default = e;
|
|
24
|
+
return Object.freeze(n);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
var React__namespace = /*#__PURE__*/_interopNamespaceDefault(React);
|
|
28
|
+
|
|
29
|
+
const EditButton = (props) => {
|
|
30
|
+
const buttonId = React__namespace.useId();
|
|
31
|
+
return (jsxRuntime.jsx(React__namespace.Fragment, { children: jsxRuntime.jsx(IconButton.default, { id: buttonId, ...props, children: jsxRuntime.jsx(Edit.default, { fontSize: "small", color: "primary" }) }) }));
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
exports.default = EditButton;
|
|
35
|
+
//# sourceMappingURL=edit.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"edit.js","sources":["../../../../../src/components/buttons/edit/edit.tsx"],"sourcesContent":["import * as React from 'react';\nimport EditIcon from '@mui/icons-material/Edit';\nimport { IconButton } from '@mui/material';\n\nimport { EditButtonProps } from './types';\n\nconst EditButton: React.FC<EditButtonProps> = (props) => {\n const buttonId = React.useId();\n\n return (\n <React.Fragment>\n <IconButton id={buttonId} {...props}>\n <EditIcon fontSize=\"small\" color=\"primary\" />\n </IconButton>\n </React.Fragment>\n );\n};\n\nexport default EditButton;\n"],"names":["React","_jsx","IconButton","EditIcon"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMA,MAAM,UAAU,GAA8B,CAAC,KAAK,KAAI;AACtD,IAAA,MAAM,QAAQ,GAAGA,gBAAK,CAAC,KAAK,EAAE;AAE9B,IAAA,QACEC,cAAA,CAACD,gBAAK,CAAC,QAAQ,EAAA,EAAA,QAAA,EACbC,cAAA,CAACC,kBAAU,EAAA,EAAC,EAAE,EAAE,QAAQ,EAAA,GAAM,KAAK,EAAA,QAAA,EACjCD,cAAA,CAACE,YAAQ,EAAA,EAAC,QAAQ,EAAC,OAAO,EAAC,KAAK,EAAC,SAAS,EAAA,CAAG,EAAA,CAClC,EAAA,CACE;AAErB;;;;"}
|
package/dist/cjs/index.js
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
var list = require('./components/list/list.js');
|
|
4
4
|
var noData = require('./components/no-data/no-data.js');
|
|
5
5
|
var _delete = require('./components/buttons/delete/delete.js');
|
|
6
|
+
var edit = require('./components/buttons/edit/edit.js');
|
|
6
7
|
var checkbox = require('./components/checkbox/checkbox.js');
|
|
7
8
|
var form = require('./components/form/form.js');
|
|
8
9
|
var select = require('./components/select/select.js');
|
|
@@ -20,6 +21,7 @@ var map = require('./constants/map.js');
|
|
|
20
21
|
exports.List = list.default;
|
|
21
22
|
exports.NoData = noData.default;
|
|
22
23
|
exports.DeleteButton = _delete.default;
|
|
24
|
+
exports.EditButton = edit.default;
|
|
23
25
|
exports.Checkbox = checkbox.default;
|
|
24
26
|
exports.Form = form.default;
|
|
25
27
|
exports.Select = select.default;
|
package/dist/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
|
+
|
|
6
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
7
|
+
var createSvgIcon = require('../../material/esm/utils/createSvgIcon.js');
|
|
8
|
+
|
|
9
|
+
var EditIcon = createSvgIcon.default(/*#__PURE__*/jsxRuntime.jsx("path", {
|
|
10
|
+
d: "M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.996.996 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z"
|
|
11
|
+
}), 'Edit');
|
|
12
|
+
|
|
13
|
+
exports.default = EditIcon;
|
|
14
|
+
//# sourceMappingURL=Edit.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Edit.js","sources":["../../../../../../node_modules/@mui/icons-material/esm/Edit.js"],"sourcesContent":["\"use client\";\n\nimport createSvgIcon from \"./utils/createSvgIcon.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon(/*#__PURE__*/_jsx(\"path\", {\n d: \"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.996.996 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z\"\n}), 'Edit');"],"names":[],"mappings":";;;;;;;;AAIA;AACA;AACA;;","x_google_ignoreList":[0]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete.js","sources":["../../../../../src/components/buttons/delete/delete.tsx"],"sourcesContent":["import * as React from 'react';\nimport DeleteIcon from '@mui/icons-material/Delete';\nimport {\n Button,\n Dialog,\n DialogActions,\n DialogContent,\n DialogContentText,\n DialogTitle,\n IconButton,\n Slide,\n} from '@mui/material';\nimport { TransitionProps } from '@mui/material/transitions';\n\nconst Transition = React.forwardRef(function Transition(\n props: TransitionProps & {\n children: React.ReactElement;\n },\n ref: React.Ref<unknown>,\n) {\n return <Slide direction=\"up\" ref={ref} {...props} />;\n});\n\
|
|
1
|
+
{"version":3,"file":"delete.js","sources":["../../../../../src/components/buttons/delete/delete.tsx"],"sourcesContent":["import * as React from 'react';\nimport DeleteIcon from '@mui/icons-material/Delete';\nimport {\n Button,\n Dialog,\n DialogActions,\n DialogContent,\n DialogContentText,\n DialogTitle,\n IconButton,\n Slide,\n} from '@mui/material';\nimport { TransitionProps } from '@mui/material/transitions';\n\nimport { DeleteButtonProps } from './types';\n\nconst Transition = React.forwardRef(function Transition(\n props: TransitionProps & {\n children: React.ReactElement;\n },\n ref: React.Ref<unknown>,\n) {\n return <Slide direction=\"up\" ref={ref} {...props} />;\n});\n\nconst DeleteButton: React.FC<DeleteButtonProps> = ({\n notification,\n onDelete,\n}) => {\n const id = React.useId();\n\n const [openNotification, setOpenNotification] = React.useState(false);\n\n const handleOpenNotification = () => {\n setOpenNotification(true);\n };\n\n const handleCloseNotification = () => {\n setOpenNotification(false);\n };\n\n return (\n <React.Fragment>\n <IconButton\n onClick={() => {\n if (notification) {\n handleOpenNotification();\n } else {\n onDelete();\n }\n }}>\n <DeleteIcon fontSize=\"small\" color=\"error\" />\n </IconButton>\n\n {notification ? (\n <Dialog\n slots={{\n transition: Transition,\n }}\n open={openNotification}\n onClose={handleCloseNotification}>\n <DialogTitle id={`${id}-dialog-title`}>\n {notification.title}\n </DialogTitle>\n\n <DialogContent>\n <DialogContentText id={`${id}-dialog-text`}>\n {notification.description}\n </DialogContentText>\n </DialogContent>\n\n <DialogActions>\n <Button\n variant=\"contained\"\n color=\"error\"\n sx={{\n textTransform: 'none',\n }}\n onClick={handleCloseNotification}>\n Отмена\n </Button>\n\n <Button\n variant=\"contained\"\n sx={{\n textTransform: 'none',\n }}\n onClick={() => {\n onDelete();\n\n handleCloseNotification();\n }}>\n Подтвердить\n </Button>\n </DialogActions>\n </Dialog>\n ) : null}\n </React.Fragment>\n );\n};\n\nexport default DeleteButton;\n"],"names":["Transition","React","forwardRef","props","ref","_jsx","Slide","direction","DeleteButton","notification","onDelete","id","useId","openNotification","setOpenNotification","useState","handleCloseNotification","_jsxs","Fragment","children","IconButton","onClick","DeleteIcon","fontSize","color","Dialog","slots","transition","open","onClose","DialogTitle","title","DialogContent","DialogContentText","description","DialogActions","Button","variant","sx","textTransform"],"mappings":"mxBAgBA,MAAMA,EAAaC,EAAMC,WAAW,SAClCC,EAGAC,GAEA,OAAOC,EAACC,EAAK,CAACC,UAAU,KAAKH,IAAKA,KAASD,GAC7C,GAEMK,EAA4C,EAChDC,eACAC,eAEA,MAAMC,EAAKV,EAAMW,SAEVC,EAAkBC,GAAuBb,EAAMc,UAAS,GAMzDC,EAA0B,KAC9BF,GAAoB,IAGtB,OACEG,EAAChB,EAAMiB,SAAQ,CAAAC,SAAA,CACbd,EAACe,EAAU,CACTC,QAAS,KACHZ,EAXVK,GAAoB,GAcZJ,KAEHS,SACDd,EAACiB,EAAU,CAACC,SAAS,QAAQC,MAAM,YAGpCf,EACCQ,EAACQ,EAAM,CACLC,MAAO,CACLC,WAAY3B,GAEd4B,KAAMf,EACNgB,QAASb,EAAuBG,SAAA,CAChCd,EAACyB,EAAW,CAACnB,GAAI,GAAGA,iBAAiBQ,SAClCV,EAAasB,QAGhB1B,EAAC2B,EAAa,CAAAb,SACZd,EAAC4B,GAAkBtB,GAAI,GAAGA,gBAAgBQ,SACvCV,EAAayB,gBAIlBjB,EAACkB,aACC9B,EAAC+B,EAAM,CACLC,QAAQ,YACRb,MAAM,QACNc,GAAI,CACFC,cAAe,QAEjBlB,QAASL,EAAuBG,SAAA,WAIlCd,EAAC+B,EAAM,CACLC,QAAQ,YACRC,GAAI,CACFC,cAAe,QAEjBlB,QAAS,KACPX,IAEAM,KACDG,SAAA,sBAKL"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{jsx as o}from"react/jsx-runtime";import*as r from"react";import t from"../../../node_modules/@mui/icons-material/esm/Edit.js";import m from"../../../node_modules/@mui/material/esm/IconButton/IconButton.js";const e=e=>{const i=r.useId();return o(r.Fragment,{children:o(m,{id:i,...e,children:o(t,{fontSize:"small",color:"primary"})})})};export{e as default};
|
|
2
|
+
//# sourceMappingURL=edit.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"edit.js","sources":["../../../../../src/components/buttons/edit/edit.tsx"],"sourcesContent":["import * as React from 'react';\nimport EditIcon from '@mui/icons-material/Edit';\nimport { IconButton } from '@mui/material';\n\nimport { EditButtonProps } from './types';\n\nconst EditButton: React.FC<EditButtonProps> = (props) => {\n const buttonId = React.useId();\n\n return (\n <React.Fragment>\n <IconButton id={buttonId} {...props}>\n <EditIcon fontSize=\"small\" color=\"primary\" />\n </IconButton>\n </React.Fragment>\n );\n};\n\nexport default EditButton;\n"],"names":["EditButton","props","buttonId","React","useId","_jsx","Fragment","children","IconButton","id","EditIcon","fontSize","color"],"mappings":"qNAMA,MAAMA,EAAyCC,IAC7C,MAAMC,EAAWC,EAAMC,QAEvB,OACEC,EAACF,EAAMG,SAAQ,CAAAC,SACbF,EAACG,EAAU,CAACC,GAAIP,KAAcD,EAAKM,SACjCF,EAACK,EAAQ,CAACC,SAAS,QAAQC,MAAM"}
|
package/dist/esm/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{default as List}from"./components/list/list.js";export{default as NoData}from"./components/no-data/no-data.js";export{default as DeleteButton}from"./components/buttons/delete/delete.js";export{default as Checkbox}from"./components/checkbox/checkbox.js";export{default as Form}from"./components/form/form.js";export{default as Select}from"./components/select/select.js";export{default as Input}from"./components/input/input.js";export{default as DragList}from"./components/drag-list/drag-list.js";export{default as LeafletLayer}from"./components/layers/leaflet/leaflet.js";export{useGetLeafletLayer}from"./components/layers/leaflet/hooks/useGetLeafletLayer.js";export{GlobalConfig}from"./configs/global/global.js";export{_testApiKeys}from"./configs/global/constants.js";export{API_METHODS}from"./constants/api.js";export{PanelsNames}from"./constants/map.js";
|
|
1
|
+
export{default as List}from"./components/list/list.js";export{default as NoData}from"./components/no-data/no-data.js";export{default as DeleteButton}from"./components/buttons/delete/delete.js";export{default as EditButton}from"./components/buttons/edit/edit.js";export{default as Checkbox}from"./components/checkbox/checkbox.js";export{default as Form}from"./components/form/form.js";export{default as Select}from"./components/select/select.js";export{default as Input}from"./components/input/input.js";export{default as DragList}from"./components/drag-list/drag-list.js";export{default as LeafletLayer}from"./components/layers/leaflet/leaflet.js";export{useGetLeafletLayer}from"./components/layers/leaflet/hooks/useGetLeafletLayer.js";export{GlobalConfig}from"./configs/global/global.js";export{_testApiKeys}from"./configs/global/constants.js";export{API_METHODS}from"./constants/api.js";export{PanelsNames}from"./constants/map.js";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import{jsx as t}from"react/jsx-runtime";import r from"../../material/esm/utils/createSvgIcon.js";var a=r(t("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.996.996 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z"}),"Edit");export{a as default};
|
|
3
|
+
//# sourceMappingURL=Edit.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Edit.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -1,11 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
onDelete: () => void;
|
|
4
|
-
notification?: {
|
|
5
|
-
title: string;
|
|
6
|
-
description: string;
|
|
7
|
-
};
|
|
8
|
-
}
|
|
2
|
+
import { DeleteButtonProps } from './types';
|
|
9
3
|
declare const DeleteButton: React.FC<DeleteButtonProps>;
|
|
10
4
|
export default DeleteButton;
|
|
11
5
|
//# sourceMappingURL=delete.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete.d.ts","sourceRoot":"","sources":["../../../../../../src/components/buttons/delete/delete.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"delete.d.ts","sourceRoot":"","sources":["../../../../../../src/components/buttons/delete/delete.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAc/B,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAW5C,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CA0E7C,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/buttons/delete/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,iBAAiB,GAAG;IAC9B,QAAQ,EAAE,MAAM,IAAI,CAAC;IAErB,YAAY,CAAC,EAAE;QACb,KAAK,EAAE,MAAM,CAAC;QACd,WAAW,EAAE,MAAM,CAAC;KACrB,CAAC;CACH,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"edit.d.ts","sourceRoot":"","sources":["../../../../../../src/components/buttons/edit/edit.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE1C,QAAA,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAUzC,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { EditButton } from '.';
|
|
3
|
+
declare const meta: Meta<typeof EditButton>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Primary: Story;
|
|
7
|
+
//# sourceMappingURL=edit.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"edit.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/components/buttons/edit/edit.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,UAAU,EAAE,MAAM,GAAG,CAAC;AAE/B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,UAAU,CAUjC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAErB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/buttons/edit/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,QAAQ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/buttons/edit/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,MAAM,MAAM,eAAe,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,UAAU,CAAC,GAAG,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/buttons/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/buttons/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dialog.d.ts","sourceRoot":"","sources":["../../../../../src/components/dialog/dialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAE5C,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAAY,CAAC;AAE3D,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/dialog/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/dialog/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,iBAAiB,GAAG;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC"}
|