@erpsquad/common 1.8.11 → 1.8.13
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/_virtual/extends/index.esm.js +4 -2
- package/dist/_virtual/extends/index.esm.js.map +1 -1
- package/dist/_virtual/extends/index.js +1 -1
- package/dist/_virtual/index/index.esm2.js +2 -4
- package/dist/_virtual/index/index.esm2.js.map +1 -1
- package/dist/_virtual/index/index.esm3.js +4 -2
- package/dist/_virtual/index/index.esm3.js.map +1 -1
- package/dist/_virtual/index/index2.js +1 -1
- package/dist/_virtual/index/index3.js +1 -1
- package/dist/components/icons/index.d.ts +7 -0
- package/dist/components/icons/lowest-lead-time/index.esm.js +20 -0
- package/dist/components/icons/lowest-lead-time/index.esm.js.map +1 -0
- package/dist/components/icons/lowest-lead-time/index.js +8 -0
- package/dist/components/icons/lowest-lead-time/index.js.map +1 -0
- package/dist/components/icons/lowest-min-qty/index.esm.js +24 -0
- package/dist/components/icons/lowest-min-qty/index.esm.js.map +1 -0
- package/dist/components/icons/lowest-min-qty/index.js +5 -0
- package/dist/components/icons/lowest-min-qty/index.js.map +1 -0
- package/dist/components/icons/lowest-price/index.esm.js +34 -0
- package/dist/components/icons/lowest-price/index.esm.js.map +1 -0
- package/dist/components/icons/lowest-price/index.js +5 -0
- package/dist/components/icons/lowest-price/index.js.map +1 -0
- package/dist/components/icons/sort-arrow-icon/index.esm.js +19 -0
- package/dist/components/icons/sort-arrow-icon/index.esm.js.map +1 -0
- package/dist/components/icons/sort-arrow-icon/index.js +7 -0
- package/dist/components/icons/sort-arrow-icon/index.js.map +1 -0
- package/dist/components/icons/three-dot-icon/index.esm.js +42 -0
- package/dist/components/icons/three-dot-icon/index.esm.js.map +1 -0
- package/dist/components/icons/three-dot-icon/index.js +6 -0
- package/dist/components/icons/three-dot-icon/index.js.map +1 -0
- package/dist/components/icons/tick-octagon/index.esm.js +17 -0
- package/dist/components/icons/tick-octagon/index.esm.js.map +1 -0
- package/dist/components/icons/tick-octagon/index.js +5 -0
- package/dist/components/icons/tick-octagon/index.js.map +1 -0
- package/dist/components/icons/with-out-tick-octagon/index.esm.js +14 -0
- package/dist/components/icons/with-out-tick-octagon/index.esm.js.map +1 -0
- package/dist/components/icons/with-out-tick-octagon/index.js +3 -0
- package/dist/components/icons/with-out-tick-octagon/index.js.map +1 -0
- package/dist/components/index.d.ts +2 -1
- package/dist/components/index.esm.js +14 -0
- package/dist/components/index.esm.js.map +1 -1
- package/dist/components/index.js +1 -1
- package/dist/constants/index.d.ts +1 -1
- package/dist/constants/index.esm.js +1 -1
- package/dist/constants/index.js +1 -1
- package/dist/icons/index.d.ts +8 -1
- package/dist/icons/index.esm.js +14 -0
- package/dist/icons/index.esm.js.map +1 -1
- package/dist/icons/index.js +1 -1
- package/dist/index.esm.js +14 -0
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/node_modules/@asseinfo/react-kanban/dist/index/index.esm.js +1 -1
- package/dist/node_modules/@asseinfo/react-kanban/dist/index/index.js +1 -1
- package/dist/node_modules/@mui/icons-material/utils/createSvgIcon/index.esm.js +1 -1
- package/dist/node_modules/@mui/icons-material/utils/createSvgIcon/index.js +1 -1
- package/dist/node_modules/@mui/system/createStyled/index.esm.js +4 -4
- package/dist/node_modules/@mui/system/createStyled/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/system/createStyled/index.js +1 -1
- package/dist/node_modules/@mui/system/createStyled/index.js.map +1 -1
- package/dist/redux/actionCreator/index.esm.js +18 -0
- package/dist/redux/actionCreator/index.esm.js.map +1 -1
- package/dist/redux/actionCreator/index.js +1 -1
- package/dist/redux/actionCreator/index.js.map +1 -1
- package/dist/redux/actionCreator.d.ts +4 -0
- package/dist/redux/index.d.ts +3 -1
- package/dist/style.css +4 -4
- package/dist/views/template-editor/components/EditorHeader/index.esm.js +1 -1
- package/dist/views/template-editor/components/EditorHeader/index.js +3 -3
- package/package.json +1 -1
- package/dist/node_modules/@babel/runtime/helpers/extends/index.esm.js +0 -23
- package/dist/node_modules/@babel/runtime/helpers/extends/index.esm.js.map +0 -1
- package/dist/node_modules/@babel/runtime/helpers/extends/index.js +0 -2
- package/dist/node_modules/@babel/runtime/helpers/extends/index.js.map +0 -1
|
@@ -8,9 +8,9 @@ import Toolbar from "../../../../node_modules/@mui/material/Toolbar/Toolbar/inde
|
|
|
8
8
|
import Box from "../../../../node_modules/@mui/material/Box/Box/index.esm.js";
|
|
9
9
|
import Link from "../../../../node_modules/@mui/material/Link/Link/index.esm.js";
|
|
10
10
|
import Stack from "../../../../node_modules/@mui/material/Stack/Stack/index.esm.js";
|
|
11
|
+
import { Edit } from "../../../../components/icons/edit/index.esm.js";
|
|
11
12
|
import { EyeOff } from "../../../../components/icons/eye-off/index.esm.js";
|
|
12
13
|
import { Eye } from "../../../../components/icons/eye/index.esm.js";
|
|
13
|
-
import { Edit } from "../../../../components/icons/edit/index.esm.js";
|
|
14
14
|
const EditorHeader = ({
|
|
15
15
|
onSave,
|
|
16
16
|
onPreview,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),o=require("../../../../components/button/button/index.js"),i=require("../../../../components/typography/typography/index.js"),t=require("react-router-dom"),n=require("../../utils/common/index.js"),r=require("../../../../node_modules/@mui/material/AppBar/AppBar/index.js"),a=require("../../../../node_modules/@mui/material/Toolbar/Toolbar/index.js"),s=require("../../../../node_modules/@mui/material/Box/Box/index.js"),d=require("../../../../node_modules/@mui/material/Link/Link/index.js"),l=require("../../../../node_modules/@mui/material/Stack/Stack/index.js"),c=require("../../../../components/icons/
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),o=require("../../../../components/button/button/index.js"),i=require("../../../../components/typography/typography/index.js"),t=require("react-router-dom"),n=require("../../utils/common/index.js"),r=require("../../../../node_modules/@mui/material/AppBar/AppBar/index.js"),a=require("../../../../node_modules/@mui/material/Toolbar/Toolbar/index.js"),s=require("../../../../node_modules/@mui/material/Box/Box/index.js"),d=require("../../../../node_modules/@mui/material/Link/Link/index.js"),l=require("../../../../node_modules/@mui/material/Stack/Stack/index.js"),c=require("../../../../components/icons/edit/index.js"),m=require("../../../../components/icons/eye-off/index.js"),u=require("../../../../components/icons/eye/index.js");exports.default=({onSave:p,onPreview:x,preview:h,sections:y,isEditingHeaderFooter:j,setIsEditingHeaderFooter:g,onSaveHeaderFooter:f,modulePath:v,type:b,mode:q="add",templateData:S})=>{const w=n.templateRoutes(v,b);/* @__PURE__ */
|
|
2
2
|
return e.jsx(r.default,{position:"static",color:"default",elevation:0,sx:{borderColor:"divider",bgcolor:"background.paper"},children:/* @__PURE__ */e.jsxs(a.default,{variant:"dense",sx:{justifyContent:"space-between",p:3},children:[
|
|
3
3
|
/* @__PURE__ */e.jsxs(s.default,{sx:{display:"flex",alignItems:"center",gap:1},children:[
|
|
4
4
|
/* @__PURE__ */e.jsx(d.default,{component:t.Link,to:w.LIST,underline:"hover",color:"text.secondary",sx:{fontSize:"0.875rem"},children:/* @__PURE__ */e.jsx(i.Typography,{type:"s5",color:"theme.secondary.800",children:"email"===b?"Emails":"PDF"})}),
|
|
@@ -9,7 +9,7 @@ return e.jsx(r.default,{position:"static",color:"default",elevation:0,sx:{border
|
|
|
9
9
|
/* @__PURE__ */e.jsx(l.default,{direction:"row",spacing:1,children:j?/* @__PURE__ */e.jsxs(e.Fragment,{children:[
|
|
10
10
|
/* @__PURE__ */e.jsx(o.default,{onClick:()=>g(!1),size:"small",variant:"outlined",sx:e=>({color:`${e.palette.theme.secondary[1e3]} !important`}),children:"Cancel Editing"}),
|
|
11
11
|
/* @__PURE__ */e.jsx(o.default,{variant:"contained",onClick:()=>f(!0),size:"small",sx:{boxShadow:"none"},children:"Save Changes"})]}):/* @__PURE__ */e.jsxs(e.Fragment,{children:[
|
|
12
|
-
/* @__PURE__ */e.jsx(o.default,{onClick:()=>g(!0),size:"small",variant:"outlined",sx:e=>({color:`${e.palette.theme.secondary[1e3]} !important`}),startIcon:/* @__PURE__ */e.jsx(
|
|
13
|
-
/* @__PURE__ */e.jsx(o.default,{onClick:x,size:"small",variant:"outlined",sx:e=>({color:`${e.palette.theme.secondary[1e3]} !important`}),startIcon:h?/* @__PURE__ */e.jsx(
|
|
12
|
+
/* @__PURE__ */e.jsx(o.default,{onClick:()=>g(!0),size:"small",variant:"outlined",sx:e=>({color:`${e.palette.theme.secondary[1e3]} !important`}),startIcon:/* @__PURE__ */e.jsx(c.Edit,{fontSize:"small"}),disabled:h,children:"Edit Header/Footer"}),
|
|
13
|
+
/* @__PURE__ */e.jsx(o.default,{onClick:x,size:"small",variant:"outlined",sx:e=>({color:`${e.palette.theme.secondary[1e3]} !important`}),startIcon:h?/* @__PURE__ */e.jsx(m.EyeOff,{fontSize:"small"}):/* @__PURE__ */e.jsx(u.Eye,{fontSize:"small"}),disabled:!(null==y?void 0:y.length),children:"Preview"}),
|
|
14
14
|
/* @__PURE__ */e.jsx(o.default,{variant:"contained",onClick:p,size:"small",sx:{boxShadow:"none"},disabled:!(null==y?void 0:y.length),children:"Save"})]})})]})})};
|
|
15
15
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { __module as _extends } from "../../../../../_virtual/extends/index.esm.js";
|
|
2
|
-
var hasRequired_extends;
|
|
3
|
-
function require_extends() {
|
|
4
|
-
if (hasRequired_extends) return _extends.exports;
|
|
5
|
-
hasRequired_extends = 1;
|
|
6
|
-
(function(module) {
|
|
7
|
-
function _extends2() {
|
|
8
|
-
return module.exports = _extends2 = Object.assign ? Object.assign.bind() : function(n) {
|
|
9
|
-
for (var e = 1; e < arguments.length; e++) {
|
|
10
|
-
var t = arguments[e];
|
|
11
|
-
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
12
|
-
}
|
|
13
|
-
return n;
|
|
14
|
-
}, module.exports.__esModule = true, module.exports["default"] = module.exports, _extends2.apply(null, arguments);
|
|
15
|
-
}
|
|
16
|
-
module.exports = _extends2, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
17
|
-
})(_extends);
|
|
18
|
-
return _extends.exports;
|
|
19
|
-
}
|
|
20
|
-
export {
|
|
21
|
-
require_extends as __require
|
|
22
|
-
};
|
|
23
|
-
//# sourceMappingURL=index.esm.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.esm.js","sources":["../../../../../../node_modules/@babel/runtime/helpers/extends.js"],"sourcesContent":["function _extends() {\n return module.exports = _extends = Object.assign ? Object.assign.bind() : function (n) {\n for (var e = 1; e < arguments.length; e++) {\n var t = arguments[e];\n for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);\n }\n return n;\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports, _extends.apply(null, arguments);\n}\nmodule.exports = _extends, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;"],"names":["_extends"],"mappings":";;;;;;AAAA,aAASA,YAAW;AAClB,aAAO,OAAA,UAAiBA,YAAW,OAAO,SAAS,OAAO,OAAO,SAAS,SAAU,GAAG;AACrF,iBAAS,IAAI,GAAG,IAAI,UAAU,QAAQ,KAAK;AACzC,cAAI,IAAI,UAAU,CAAC;AACnB,mBAAS,KAAK,EAAG,EAAC,CAAA,GAAI,eAAe,KAAK,GAAG,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC;AAAA,QACpE;AACI,eAAO;AAAA,MACX,GAAK,4BAA4B,MAAM,OAAO,QAAQ,SAAS,IAAI,OAAO,SAASA,UAAS,MAAM,MAAM,SAAS;AAAA,IACjH;AACA,WAAA,UAAiBA,WAAU,OAAA,QAAA,aAA4B,MAAM,OAAO,QAAQ,SAAS,IAAI,OAAO;AAAA;;;","x_google_ignoreList":[0]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e,r=require("../../../../../_virtual/extends/index.js");exports.__require=function(){return e||(e=1,function(e){function r(){return e.exports=r=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var o in t)({}).hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,r.apply(null,arguments)}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports}(r.__module)),r.__module.exports};
|
|
2
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../../node_modules/@babel/runtime/helpers/extends.js"],"sourcesContent":["function _extends() {\n return module.exports = _extends = Object.assign ? Object.assign.bind() : function (n) {\n for (var e = 1; e < arguments.length; e++) {\n var t = arguments[e];\n for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);\n }\n return n;\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports, _extends.apply(null, arguments);\n}\nmodule.exports = _extends, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;"],"names":["_extends","module","exports","Object","assign","bind","n","e","arguments","length","t","r","hasOwnProperty","call","apply","__esModule"],"mappings":"wLAAA,SAASA,IACP,OAAOC,EAAAC,QAAiBF,EAAWG,OAAOC,OAASD,OAAOC,OAAOC,OAAS,SAAUC,GAClF,IAAA,IAASC,EAAI,EAAGA,EAAIC,UAAUC,OAAQF,IAAK,CACzC,IAAIG,EAAIF,UAAUD,GAClB,IAAA,IAASI,KAAKD,GAAG,IAAKE,eAAeC,KAAKH,EAAGC,KAAOL,EAAEK,GAAKD,EAAEC,GACnE,CACI,OAAOL,CACX,EAAKL,sBAA4B,EAAMA,EAAOC,QAAiB,QAAID,EAAOC,QAASF,EAASc,MAAM,KAAMN,UACxG,CACAP,EAAAC,QAAiBF,EAAUC,EAAAC,QAAAa,YAA4B,EAAMd,EAAOC,QAAiB,QAAID,EAAOC","x_google_ignoreList":[0]}
|