@cakemail-org/ui-components-v2 2.0.84 → 2.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/cjs/components/genericWrapper/index.d.ts +1 -1
- package/dist/cjs/components/genericWrapper/types.d.ts +2 -0
- package/dist/cjs/index.js +34 -28
- package/dist/cjs/models/form/index.d.ts +1 -1
- package/dist/esm/components/genericWrapper/index.d.ts +1 -1
- package/dist/esm/components/genericWrapper/types.d.ts +2 -0
- package/dist/esm/index.js +34 -28
- package/dist/esm/models/form/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { TGenericWrapper } from "./types";
|
|
3
|
-
export declare function GenericWrapper({ children, brandObj, brandId, brandHost, account, user, setPageHead, setPostHog, LocizeInitializer, brandThemeContext, proxyUrl, styleOverride, includeHandlers }: TGenericWrapper): React.JSX.Element;
|
|
3
|
+
export declare function GenericWrapper({ children, brandObj, userBrandObj, brandId, brandHost, account, user, setPageHead, setPostHog, LocizeInitializer, brandThemeContext, proxyUrl, styleOverride, includeHandlers }: TGenericWrapper): React.JSX.Element;
|
|
4
4
|
export default GenericWrapper;
|
|
5
5
|
export * from "./context";
|
|
6
6
|
export * from "./types";
|
|
@@ -6,6 +6,7 @@ import { TUserModel } from "../../models/user/types";
|
|
|
6
6
|
export type TGenericWrapper = {
|
|
7
7
|
children: any;
|
|
8
8
|
brandObj?: TBrand;
|
|
9
|
+
userBrandObj?: TBrand;
|
|
9
10
|
brandHost?: string;
|
|
10
11
|
brandId?: string;
|
|
11
12
|
account?: TAccountModel;
|
|
@@ -20,6 +21,7 @@ export type TGenericWrapper = {
|
|
|
20
21
|
};
|
|
21
22
|
export type TGenericWrapperContext = {
|
|
22
23
|
partnerBrand: TBrand;
|
|
24
|
+
userBrand?: TBrand;
|
|
23
25
|
account: AccountModel;
|
|
24
26
|
user: UserModel;
|
|
25
27
|
};
|
package/dist/cjs/index.js
CHANGED
|
@@ -682,7 +682,7 @@ function AccountProfile18(props) {
|
|
|
682
682
|
React.createElement("rect", { x: "4", y: "4", width: "3", height: "3", rx: "1.5" }),
|
|
683
683
|
React.createElement("rect", { x: "4", y: "12", width: "5", height: "2", rx: "1" }),
|
|
684
684
|
React.createElement("rect", { x: "4", y: "9", width: "10", height: "2", rx: "1" }),
|
|
685
|
-
React.createElement("rect", { className: 'noFill', x: "1", y: "1", width: "16", height: "16", rx: "5",
|
|
685
|
+
React.createElement("rect", { className: 'noFill', x: "1", y: "1", width: "16", height: "16", rx: "5", strokeWidth: "2" }));
|
|
686
686
|
}
|
|
687
687
|
|
|
688
688
|
function Activity18(props) {
|
|
@@ -702,7 +702,7 @@ function AddTags18(props) {
|
|
|
702
702
|
React.createElement("rect", { x: "4", y: "4", width: "3", height: "3", rx: "1.5" }),
|
|
703
703
|
React.createElement("rect", { x: "4", y: "12", width: "5", height: "2", rx: "1" }),
|
|
704
704
|
React.createElement("rect", { x: "4", y: "9", width: "10", height: "2", rx: "1" }),
|
|
705
|
-
React.createElement("rect", { className: 'noFill', x: "1", y: "1", width: "16", height: "16", rx: "5",
|
|
705
|
+
React.createElement("rect", { className: 'noFill', x: "1", y: "1", width: "16", height: "16", rx: "5", strokeWidth: "2" }));
|
|
706
706
|
}
|
|
707
707
|
|
|
708
708
|
function Arrow18(props) {
|
|
@@ -712,7 +712,7 @@ function Arrow18(props) {
|
|
|
712
712
|
|
|
713
713
|
function Attribute18(props) {
|
|
714
714
|
return React.createElement(SvgIcon, __assign({}, props, { width: "18", height: "18", viewBox: "0 0 18 18" }),
|
|
715
|
-
React.createElement("path", {
|
|
715
|
+
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M6.28 1.84813C6.74834 1.55542 6.89071 0.938471 6.598 0.470135C6.30529 0.00179839 5.68834 -0.140575 5.22 0.152136L2.63 1.77088C1.46048 2.50184 0.75 3.78372 0.75 5.16288V14.0001C0.75 16.2093 2.54086 18.0002 4.75 18.0002C6.72261 18.0002 8.36172 16.5723 8.6901 14.6938C9.37917 14.4728 10.1208 14.4728 10.8099 14.6938C11.1383 16.5723 12.7774 18.0002 14.75 18.0002C16.9506 18.0002 18.7361 16.2232 18.7499 14.0259C18.7501 14.0173 18.7502 14.0087 18.7502 14.0001V5.16288C18.7502 3.78372 18.0398 2.50184 16.8702 1.77088L14.2802 0.152136C13.8119 -0.140575 13.195 0.00179839 12.9022 0.470135C12.6095 0.938471 12.7519 1.55542 13.2202 1.84813L15.8102 3.46688C16.395 3.83236 16.7502 4.4733 16.7502 5.16288V10.5355C16.1618 10.1951 15.4787 10.0002 14.75 10.0002C13.0082 10.0002 11.5264 11.1136 10.9774 12.6675C10.1699 12.4816 9.33009 12.4816 8.52258 12.6674C7.97362 11.1136 6.49182 10.0002 4.75 10.0002C4.02143 10.0002 3.33835 10.195 2.75 10.5354V5.16288C2.75 4.4733 3.10524 3.83236 3.69 3.46688L6.28 1.84813ZM6.74992 13.9827C6.74049 12.8862 5.8487 12.0002 4.75 12.0002C3.64543 12.0002 2.75 12.8957 2.75 14.0002C2.75 15.1048 3.64543 16.0002 4.75 16.0002C5.84837 16.0002 6.73994 15.1148 6.74992 14.0188C6.7497 14.0068 6.7497 13.9947 6.74992 13.9827ZM12.7501 14.0169C12.7502 14.0061 12.7502 13.9954 12.7501 13.9846C12.7585 12.8872 13.6506 12.0002 14.75 12.0002C15.8546 12.0002 16.75 12.8957 16.75 14.0002C16.75 15.1048 15.8546 16.0002 14.75 16.0002C13.651 16.0002 12.759 15.1138 12.7501 14.0169Z" }));
|
|
716
716
|
}
|
|
717
717
|
|
|
718
718
|
function Book18(props) {
|
|
@@ -737,12 +737,12 @@ function Bounce18(props) {
|
|
|
737
737
|
|
|
738
738
|
function Campaigns18(props) {
|
|
739
739
|
return React.createElement(SvgIcon, __assign({}, props, { width: "18", height: "18", viewBox: "0 0 18 18" }),
|
|
740
|
-
React.createElement("path", { className: "noFill", d: "M7 1L17 11",
|
|
741
|
-
React.createElement("path", { className: "noFill", d: "M8 2L1.34324 12.6508C0.849647 13.4406 0.966488 14.4665 1.62502 15.125L2.88855 16.3885C3.54085 17.0408 4.55467 17.1624 5.34266 16.6827L15.5 10.5",
|
|
742
|
-
React.createElement("path", { className: "noFill", d: "M12.875 12.6568V14.6753C12.875 15.031 12.6861 15.3599 12.3789 15.5391L10.3065 16.748C10.0348 16.9065 9.70445 16.9279 9.41458 16.8058L7.5 15.9997",
|
|
743
|
-
React.createElement("path", { className: "noFill", d: "M16 2L14.5 3.5",
|
|
744
|
-
React.createElement("path", { className: "noFill", d: "M17 5.5L16.5 6",
|
|
745
|
-
React.createElement("path", { className: "noFill", d: "M12.5 1L12 1.5",
|
|
740
|
+
React.createElement("path", { className: "noFill", d: "M7 1L17 11", strokeWidth: "2", strokeLinecap: "round" }),
|
|
741
|
+
React.createElement("path", { className: "noFill", d: "M8 2L1.34324 12.6508C0.849647 13.4406 0.966488 14.4665 1.62502 15.125L2.88855 16.3885C3.54085 17.0408 4.55467 17.1624 5.34266 16.6827L15.5 10.5", strokeWidth: "2", strokeLinecap: "round" }),
|
|
742
|
+
React.createElement("path", { className: "noFill", d: "M12.875 12.6568V14.6753C12.875 15.031 12.6861 15.3599 12.3789 15.5391L10.3065 16.748C10.0348 16.9065 9.70445 16.9279 9.41458 16.8058L7.5 15.9997", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
743
|
+
React.createElement("path", { className: "noFill", d: "M16 2L14.5 3.5", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
744
|
+
React.createElement("path", { className: "noFill", d: "M17 5.5L16.5 6", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
745
|
+
React.createElement("path", { className: "noFill", d: "M12.5 1L12 1.5", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }));
|
|
746
746
|
}
|
|
747
747
|
|
|
748
748
|
function Clicks18(props) {
|
|
@@ -842,7 +842,7 @@ function Edit18(props) {
|
|
|
842
842
|
|
|
843
843
|
function EmailAddress18(props) {
|
|
844
844
|
return React.createElement(SvgIcon, __assign({}, props, { width: "18", height: "18", viewBox: "0 0 18 18" }),
|
|
845
|
-
React.createElement("path", {
|
|
845
|
+
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M9 18C4.02944 18 0 13.9706 0 9C0 4.02944 4.02944 0 9 0C13.9706 0 18 4.02944 18 9V12C18 13.6569 16.6569 15 15 15C13.6548 15 12.5164 14.1146 12.1357 12.8948C11.2781 13.5861 10.1874 14 9 14C6.23858 14 4 11.7614 4 9C4 6.23858 6.23858 4 9 4C11.7614 4 14 6.23858 14 9V12C14 12.5523 14.4477 13 15 13C15.5523 13 16 12.5523 16 12V9C16 5.13401 12.866 2 9.00002 2C5.13403 2 2.00002 5.13401 2.00002 9C2.00002 12.866 5.13402 16 9 16H10C10.5523 16 11 16.4477 11 17C11 17.5523 10.5523 18 10 18H9ZM12 9C12 7.34315 10.6569 6 9 6C7.34315 6 6 7.34315 6 9C6 10.6569 7.34315 12 9 12C10.6569 12 12 10.6569 12 9Z" }));
|
|
846
846
|
}
|
|
847
847
|
|
|
848
848
|
function Expand18(props) {
|
|
@@ -854,17 +854,17 @@ function Expand18(props) {
|
|
|
854
854
|
function Export18(props) {
|
|
855
855
|
return React.createElement(SvgIcon, __assign({}, props, { width: "18", height: "18", viewBox: "0 0 18 18" }),
|
|
856
856
|
React.createElement("path", { d: "M18 17C18 17.5523 17.5523 18 17 18L1 18C0.447716 18 3.91405e-08 17.5523 8.74228e-08 17C1.35705e-07 16.4477 0.44974 16 1.00202 16C7.09192 16 10.9081 16 16.998 16C17.5503 16 18 16.4477 18 17Z" }),
|
|
857
|
-
React.createElement("path", {
|
|
857
|
+
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M12.2929 5.7071C12.6834 6.09762 13.3166 6.09762 13.7071 5.7071C14.0976 5.31657 14.0976 4.68341 13.7071 4.29288L9.7071 0.292892C9.51183 0.09763 9.25591 -6.27369e-07 8.99999 -2.18556e-07C8.74407 2.00257e-07 8.48814 0.0976316 8.29288 0.292894L4.29289 4.2929C3.90237 4.68343 3.90237 5.31659 4.29289 5.70712C4.68342 6.09764 5.31658 6.09764 5.70711 5.70711L7.99999 3.41421L8.00002 12.9807C8.00002 13.5447 8.44774 14 9.00002 14C9.53615 14 10 13.5465 10 12.9872L9.99999 3.41421L12.2929 5.7071Z" }));
|
|
858
858
|
}
|
|
859
859
|
|
|
860
860
|
function Field18(props) {
|
|
861
861
|
return React.createElement(SvgIcon, __assign({}, props, { width: "18", height: "18", viewBox: "0 0 18 18" }),
|
|
862
|
-
React.createElement("path", {
|
|
862
|
+
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M2 1C2 0.447715 2.44772 0 3 0H5C5.76836 0 6.46925 0.288855 7 0.763896C7.53076 0.288855 8.23165 0 9 0H11C11.5523 0 12 0.447716 12 1C12 1.55228 11.5523 2 11 2L9 2C8.44772 2 8 2.44771 8 3V4H14C16.2091 4 18 5.79086 18 8V10C18 12.2091 16.2091 14 14 14H8V15C8 15.5523 8.44772 16 9 16H11C11.5523 16 12 16.4477 12 17C12 17.5523 11.5523 18 11 18H9C8.23164 18 7.53076 17.7111 7 17.2361C6.46925 17.7111 5.76836 18 5 18H3C2.44772 18 2 17.5523 2 17C2 16.4477 2.44772 16 3 16H5C5.55229 16 6 15.5523 6 15V14H4C1.79086 14 0 12.2091 0 10V8C0 5.79086 1.79086 4 4 4H6V3C6 2.44772 5.55228 2 5 2H3C2.44772 2 2 1.55228 2 1ZM6 6H4C2.89543 6 2 6.89543 2 8V10C2 11.1046 2.89543 12 4 12H6V6ZM8 12H14C15.1046 12 16 11.1046 16 10V8C16 6.89543 15.1046 6 14 6H8V12Z" }));
|
|
863
863
|
}
|
|
864
864
|
|
|
865
865
|
function Flow18(props) {
|
|
866
866
|
return React.createElement(SvgIcon, __assign({}, props, { width: "18", height: "18", viewBox: "0 0 18 18" }),
|
|
867
|
-
React.createElement("path", {
|
|
867
|
+
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M7.87398 5C7.42994 6.72523 5.86384 8 4 8C3.3733 8 2.78027 7.85588 2.25223 7.59897C2.08916 8.03499 2 8.50708 2 9C2 9.49292 2.08916 9.96501 2.25223 10.401C2.78027 10.1441 3.3733 10 4 10C5.86384 10 7.42994 11.2748 7.87398 13H13V13.0069H14.5965L12.9479 11.3543C12.5586 10.9644 12.5586 10.3322 12.9479 9.94233C13.3372 9.55243 13.9684 9.55243 14.3577 9.94233L17.708 13.2993C18.0973 13.6892 18.0973 14.3214 17.708 14.7113L14.7226 17.7028C14.3333 18.0927 13.7021 18.0927 13.3128 17.7028C12.9235 17.3129 12.9235 16.6808 13.3128 16.2909L14.5965 15.0037H10.08L10.08 15H7.87398C7.42994 16.7252 5.86384 18 4 18C1.79086 18 0 16.2091 0 14C0 13.1753 0.249601 12.4088 0.677384 11.7721C0.244657 10.9429 0 10 0 9C0 7.99996 0.244658 7.05706 0.677384 6.2279C0.249601 5.59118 0 4.82474 0 4C0 1.79086 1.79086 0 4 0C5.86384 0 7.42994 1.27477 7.87398 3H10.126C10.5701 1.27477 12.1362 0 14 0C16.2091 0 18 1.79086 18 4C18 6.20914 16.2091 8 14 8C12.1362 8 10.5701 6.72523 10.126 5L7.87398 5ZM4 6C5.10458 6 6 5.10449 6 4C6 2.89551 5.10458 2 4 2C2.89542 2 2 2.89551 2 4C2 5.10449 2.89542 6 4 6ZM14 6C15.1046 6 16 5.10449 16 4C16 2.89551 15.1046 2 14 2C12.8954 2 12 2.89551 12 4C12 5.10449 12.8954 6 14 6ZM6 14C6 15.1045 5.10458 16 4 16C2.89542 16 2 15.1045 2 14C2 12.8955 2.89542 12 4 12C5.10458 12 6 12.8955 6 14Z" }));
|
|
868
868
|
}
|
|
869
869
|
|
|
870
870
|
function Globe18(props) {
|
|
@@ -874,7 +874,7 @@ function Globe18(props) {
|
|
|
874
874
|
|
|
875
875
|
function Heart18(props) {
|
|
876
876
|
return React.createElement(SvgIcon, __assign({}, props, { width: "18", height: "18", viewBox: "0 0 18 18" }),
|
|
877
|
-
React.createElement("path", {
|
|
877
|
+
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M2.98783 7.93833C3.00127 7.95363 3.01447 7.96913 3.02743 7.98484C3.62606 8.71006 5.48652 10.874 7.21987 12.8823C7.85912 13.623 8.47727 14.338 9.00204 14.9446C9.52682 14.3381 10.145 13.623 10.7842 12.8823C12.5176 10.874 14.3781 8.71014 14.9768 7.98484C14.9898 7.96913 15.003 7.95362 15.0164 7.93831C16.3568 6.41195 16.2963 4.28001 15.0584 2.95629C14.4632 2.31964 13.7102 2 12.9282 2C12.1462 2 11.3934 2.31947 10.7982 2.95612L10.7967 2.95765L10.4617 3.31529C10.0835 3.71889 9.55518 3.9479 9.00213 3.9479C8.44908 3.9479 7.92072 3.71889 7.5426 3.31529L7.20609 2.95612C6.61089 2.31947 5.85801 2 5.07604 2C4.29407 2 3.54119 2.31947 2.94598 2.95612C1.70811 4.27993 1.64746 6.41195 2.98783 7.93833ZM9.00201 18C9.00201 18 8.46731 17.3833 7.67926 16.4725C5.76567 14.261 2.3582 10.3158 1.48502 9.25801C-0.497825 7 -0.492184 3.70472 1.48502 1.59026C2.44361 0.564922 3.71898 0 5.07604 0C6.09569 0 7.06922 0.318926 7.89691 0.912447C8.1708 1.10885 8.42872 1.33532 8.66706 1.59026L9.00213 1.9479L9.33719 1.59026C9.57553 1.33532 9.83346 1.10885 10.1073 0.912447C10.935 0.318926 11.9086 0 12.9282 0C14.2853 0 15.5606 0.564922 16.5192 1.59026C18.4964 3.70464 18.5021 7 16.5192 9.25801C15.6459 10.316 12.2384 14.261 10.3248 16.4725C9.53673 17.3833 9.00201 18 9.00201 18Z" }));
|
|
878
878
|
}
|
|
879
879
|
|
|
880
880
|
function Home18(props) {
|
|
@@ -938,9 +938,9 @@ function Mobile18(props) {
|
|
|
938
938
|
|
|
939
939
|
function Money18(props) {
|
|
940
940
|
return React.createElement(SvgIcon, __assign({}, props, { width: "18", height: "18", viewBox: "0 0 18 18" }),
|
|
941
|
-
React.createElement("path", { className: 'noFill', d: "M14 6V6C14 4.89543 13.1046 4 12 4H6.5C5.11929 4 4 5.11929 4 6.5V6.5C4 7.88071 5.11929 9 6.5 9H11.5C12.8807 9 14 10.1193 14 11.5V11.5C14 12.8807 12.8807 14 11.5 14H6C4.89543 14 4 13.1046 4 12V12",
|
|
942
|
-
React.createElement("path", { className: 'noFill', d: "M9 1V3",
|
|
943
|
-
React.createElement("path", { className: 'noFill', d: "M9 15V17",
|
|
941
|
+
React.createElement("path", { className: 'noFill', d: "M14 6V6C14 4.89543 13.1046 4 12 4H6.5C5.11929 4 4 5.11929 4 6.5V6.5C4 7.88071 5.11929 9 6.5 9H11.5C12.8807 9 14 10.1193 14 11.5V11.5C14 12.8807 12.8807 14 11.5 14H6C4.89543 14 4 13.1046 4 12V12", strokeWidth: "2", strokeLinecap: "round" }),
|
|
942
|
+
React.createElement("path", { className: 'noFill', d: "M9 1V3", strokeWidth: "2", strokeLinecap: "round" }),
|
|
943
|
+
React.createElement("path", { className: 'noFill', d: "M9 15V17", strokeWidth: "2", strokeLinecap: "round" }));
|
|
944
944
|
}
|
|
945
945
|
|
|
946
946
|
function Organization18(props) {
|
|
@@ -978,7 +978,7 @@ function Publish18(props) {
|
|
|
978
978
|
|
|
979
979
|
function Redirection18(props) {
|
|
980
980
|
return React.createElement(SvgIcon, __assign({}, props, { width: "18", height: "18", viewBox: "0 0 18 18" }),
|
|
981
|
-
React.createElement("path", {
|
|
981
|
+
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M0 3C0 1.34315 1.34315 0 3 0H15C16.6569 0 18 1.34315 18 3V15C18 16.6569 16.6569 18 15 18H13V16H15C15.5523 16 16 15.5523 16 15V6H2V9H0V3ZM16 3V4H2V3C2 2.44772 2.44772 2 3 2H15C15.5523 2 16 2.44772 16 3Z" }),
|
|
982
982
|
React.createElement("path", { d: "M1 13.364C0.447715 13.364 0 12.9163 0 12.364C0 11.8117 0.447715 11.364 1 11.364H8.58582L6.92896 9.70703C6.53845 9.31665 6.53845 8.68335 6.92896 8.29297C7.31946 7.90234 7.95264 7.90234 8.34314 8.29297L11.7072 11.6567C12.0977 12.0474 12.0977 12.6807 11.7072 13.071L8.34314 16.4351C7.95264 16.8254 7.31946 16.8254 6.92896 16.4351C6.53845 16.0444 6.53845 15.4114 6.92896 15.0208L8.58582 13.364H1Z" }));
|
|
983
983
|
}
|
|
984
984
|
|
|
@@ -1027,7 +1027,7 @@ function Subscription18(props) {
|
|
|
1027
1027
|
|
|
1028
1028
|
function Suppressed18(props) {
|
|
1029
1029
|
return React.createElement(SvgIcon, __assign({}, props, { width: "18", height: "18", viewBox: "0 0 18 18" }),
|
|
1030
|
-
React.createElement("path", {
|
|
1030
|
+
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M18 9C18 13.9706 13.9706 18 9 18C4.02944 18 0 13.9706 0 9C0 4.02944 4.02944 0 9 0C13.9706 0 18 4.02944 18 9ZM13.1921 14.6064C12.0235 15.4816 10.5723 16 9 16C5.13401 16 2 12.866 2 9C2 7.4277 2.51838 5.97648 3.39355 4.80792L13.1921 14.6064ZM14.6063 13.1923L4.80774 3.39368C5.97634 2.51843 7.42763 2 9 2C12.866 2 16 5.13401 16 9C16 10.5724 15.4816 12.0237 14.6063 13.1923ZM4.07039 4.0302C4.05694 4.04354 4.04354 4.05694 4.0302 4.07039L4.07039 4.0302Z" }));
|
|
1031
1031
|
}
|
|
1032
1032
|
|
|
1033
1033
|
function Tag18(props) {
|
|
@@ -1040,7 +1040,7 @@ function Templates18(props) {
|
|
|
1040
1040
|
return React.createElement(SvgIcon, __assign({}, props, { width: "18", height: "18", viewBox: "0 0 18 18" }),
|
|
1041
1041
|
React.createElement("path", { d: "M2 2.00049H12V5.81823L14 7.00049V2.00049C14 0.895919 13.1046 0.000488281 12 0.000488281H2C0.895431 0.000488281 0 0.895919 0 2.00049V15.0005C0 16.1051 0.89543 17.0005 2 17.0005H8V15.0005H2L2 2.00049Z" }),
|
|
1042
1042
|
React.createElement("path", { d: "M10.3171 16.3207L10 7.00049L18 11.9322L14.8416 13.1029L17.0595 16.9034L15.1388 18.0005L12.9209 14.2L10.3171 16.3207Z" }),
|
|
1043
|
-
React.createElement("path", {
|
|
1043
|
+
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M3 14.0005V3.00049H8V14.0005H3ZM5 5.00049H6V12.0005H5V5.00049Z" }));
|
|
1044
1044
|
}
|
|
1045
1045
|
|
|
1046
1046
|
function TrayOpen18(props) {
|
|
@@ -1364,13 +1364,13 @@ function Upload44(props) {
|
|
|
1364
1364
|
return React.createElement(SvgIcon, __assign({}, props, { width: "44", height: "45", viewBox: "0 0 44 45" }),
|
|
1365
1365
|
React.createElement("g", { id: "glyph/44/upload" },
|
|
1366
1366
|
React.createElement("g", { id: "glyph/32/redirection" },
|
|
1367
|
-
React.createElement("path", {
|
|
1368
|
-
React.createElement("path", {
|
|
1369
|
-
React.createElement("path", {
|
|
1367
|
+
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M21.364 44C21.9163 44 22.364 43.5523 22.364 43L22.364 20.4142L26.0208 24.071C26.4114 24.4615 27.0444 24.4615 27.4351 24.071C27.8254 23.6805 27.8254 23.0474 27.4351 22.6569L22.071 17.2928C21.6807 16.9023 21.0474 16.9023 20.6567 17.2928L15.293 22.6569C14.9023 23.0474 14.9023 23.6805 15.293 24.071C15.6833 24.4615 16.3166 24.4615 16.707 24.071L20.364 20.4142L20.364 43C20.364 43.5523 20.8117 44 21.364 44Z", fill: "black" }),
|
|
1368
|
+
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M21.364 44C21.9163 44 22.364 43.5523 22.364 43L22.364 20.4142L26.0208 24.071C26.4114 24.4615 27.0444 24.4615 27.4351 24.071C27.8254 23.6805 27.8254 23.0474 27.4351 22.6569L22.071 17.2928C21.6807 16.9023 21.0474 16.9023 20.6567 17.2928L15.293 22.6569C14.9023 23.0474 14.9023 23.6805 15.293 24.071C15.6833 24.4615 16.3166 24.4615 16.707 24.071L20.364 20.4142L20.364 43C20.364 43.5523 20.8117 44 21.364 44Z", fill: "white", "fill-opacity": "0.1" }),
|
|
1369
|
+
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M21.364 44C21.9163 44 22.364 43.5523 22.364 43L22.364 20.4142L26.0208 24.071C26.4114 24.4615 27.0444 24.4615 27.4351 24.071C27.8254 23.6805 27.8254 23.0474 27.4351 22.6569L22.071 17.2928C21.6807 16.9023 21.0474 16.9023 20.6567 17.2928L15.293 22.6569C14.9023 23.0474 14.9023 23.6805 15.293 24.071C15.6833 24.4615 16.3166 24.4615 16.707 24.071L20.364 20.4142L20.364 43C20.364 43.5523 20.8117 44 21.364 44Z", fill: "#FF4835", "fill-opacity": "0.01" })),
|
|
1370
1370
|
React.createElement("g", { id: "Subtract" },
|
|
1371
|
-
React.createElement("path", {
|
|
1372
|
-
React.createElement("path", {
|
|
1373
|
-
React.createElement("path", {
|
|
1371
|
+
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M36.9455 14.1032L36.817 15.3969L37.9471 16.0396C40.3719 17.4183 42 20.0203 42 23C42 27.4183 38.4183 31 34 31H27V33H34C39.5228 33 44 28.5228 44 23C44 19.2721 41.9601 16.0207 38.9357 14.301C38.9782 13.8731 39 13.4391 39 13C39 5.8203 33.1797 0 26 0C20.9109 0 16.5048 2.92423 14.3703 7.18407C13.7656 7.06333 13.1402 7 12.5 7C7.25329 7 3 11.2533 3 16.5C3 16.986 3.03649 17.4634 3.10688 17.9297C1.20992 19.4886 0 21.853 0 24.5C0 29.0266 3.53831 32.7267 8 32.9855V33H16V31H8.30726L8.11582 30.9889C4.70574 30.7911 2 27.9608 2 24.5C2 22.4766 2.92218 20.6702 4.37669 19.4749L5.25394 18.754L5.08448 17.6312C5.02895 17.2634 5 16.8857 5 16.5C5 12.3579 8.35786 9 12.5 9C13.008 9 13.5023 9.05022 13.9788 9.14536L15.4749 9.44408L16.1584 8.08002C17.967 4.47067 21.6968 2 26 2C32.0751 2 37 6.92487 37 13C37 13.3729 36.9815 13.7409 36.9455 14.1032Z", fill: "black" }),
|
|
1372
|
+
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M36.9455 14.1032L36.817 15.3969L37.9471 16.0396C40.3719 17.4183 42 20.0203 42 23C42 27.4183 38.4183 31 34 31H27V33H34C39.5228 33 44 28.5228 44 23C44 19.2721 41.9601 16.0207 38.9357 14.301C38.9782 13.8731 39 13.4391 39 13C39 5.8203 33.1797 0 26 0C20.9109 0 16.5048 2.92423 14.3703 7.18407C13.7656 7.06333 13.1402 7 12.5 7C7.25329 7 3 11.2533 3 16.5C3 16.986 3.03649 17.4634 3.10688 17.9297C1.20992 19.4886 0 21.853 0 24.5C0 29.0266 3.53831 32.7267 8 32.9855V33H16V31H8.30726L8.11582 30.9889C4.70574 30.7911 2 27.9608 2 24.5C2 22.4766 2.92218 20.6702 4.37669 19.4749L5.25394 18.754L5.08448 17.6312C5.02895 17.2634 5 16.8857 5 16.5C5 12.3579 8.35786 9 12.5 9C13.008 9 13.5023 9.05022 13.9788 9.14536L15.4749 9.44408L16.1584 8.08002C17.967 4.47067 21.6968 2 26 2C32.0751 2 37 6.92487 37 13C37 13.3729 36.9815 13.7409 36.9455 14.1032Z", fill: "white", "fill-opacity": "0.1" }),
|
|
1373
|
+
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M36.9455 14.1032L36.817 15.3969L37.9471 16.0396C40.3719 17.4183 42 20.0203 42 23C42 27.4183 38.4183 31 34 31H27V33H34C39.5228 33 44 28.5228 44 23C44 19.2721 41.9601 16.0207 38.9357 14.301C38.9782 13.8731 39 13.4391 39 13C39 5.8203 33.1797 0 26 0C20.9109 0 16.5048 2.92423 14.3703 7.18407C13.7656 7.06333 13.1402 7 12.5 7C7.25329 7 3 11.2533 3 16.5C3 16.986 3.03649 17.4634 3.10688 17.9297C1.20992 19.4886 0 21.853 0 24.5C0 29.0266 3.53831 32.7267 8 32.9855V33H16V31H8.30726L8.11582 30.9889C4.70574 30.7911 2 27.9608 2 24.5C2 22.4766 2.92218 20.6702 4.37669 19.4749L5.25394 18.754L5.08448 17.6312C5.02895 17.2634 5 16.8857 5 16.5C5 12.3579 8.35786 9 12.5 9C13.008 9 13.5023 9.05022 13.9788 9.14536L15.4749 9.44408L16.1584 8.08002C17.967 4.47067 21.6968 2 26 2C32.0751 2 37 6.92487 37 13C37 13.3729 36.9815 13.7409 36.9455 14.1032Z", fill: "#FF4835", "fill-opacity": "0.01" }))));
|
|
1374
1374
|
}
|
|
1375
1375
|
|
|
1376
1376
|
function Icon(_a) {
|
|
@@ -10129,15 +10129,17 @@ var UserModel = /** @class */ (function () {
|
|
|
10129
10129
|
|
|
10130
10130
|
var GenericWrapperContext = React.createContext({
|
|
10131
10131
|
partnerBrand: {},
|
|
10132
|
+
userBrand: undefined,
|
|
10132
10133
|
account: {},
|
|
10133
10134
|
user: {}
|
|
10134
10135
|
});
|
|
10135
10136
|
|
|
10136
10137
|
function GenericWrapper(_a) {
|
|
10137
|
-
var children = _a.children, brandObj = _a.brandObj, brandId = _a.brandId, brandHost = _a.brandHost, account = _a.account, user = _a.user, _b = _a.setPageHead, setPageHead = _b === void 0 ? true : _b, _c = _a.setPostHog, setPostHog = _c === void 0 ? true : _c, LocizeInitializer = _a.LocizeInitializer, brandThemeContext = _a.brandThemeContext, proxyUrl = _a.proxyUrl, _d = _a.styleOverride, styleOverride = _d === void 0 ? {} : _d, _e = _a.includeHandlers, includeHandlers = _e === void 0 ? true : _e;
|
|
10138
|
+
var children = _a.children, brandObj = _a.brandObj, userBrandObj = _a.userBrandObj, brandId = _a.brandId, brandHost = _a.brandHost, account = _a.account, user = _a.user, _b = _a.setPageHead, setPageHead = _b === void 0 ? true : _b, _c = _a.setPostHog, setPostHog = _c === void 0 ? true : _c, LocizeInitializer = _a.LocizeInitializer, brandThemeContext = _a.brandThemeContext, proxyUrl = _a.proxyUrl, _d = _a.styleOverride, styleOverride = _d === void 0 ? {} : _d, _e = _a.includeHandlers, includeHandlers = _e === void 0 ? true : _e;
|
|
10138
10139
|
var _f = React.useState(brandObj ? buildMUITheme({ brand: brandObj }) : undefined), mUITheme = _f[0], setMUITheme = _f[1];
|
|
10139
10140
|
var _g = React.useState(brandObj), resellerBrand = _g[0], setResellerBrand = _g[1];
|
|
10140
|
-
var _h =
|
|
10141
|
+
var _h = React.useState(userBrandObj), userBrand = _h[0], setUserBrand = _h[1];
|
|
10142
|
+
var _j = reactI18next.useTranslation(); _j.t; _j.i18n;
|
|
10141
10143
|
var dialogRef = React.useRef(undefined);
|
|
10142
10144
|
var actionsBarContainerRef = React.useRef(undefined);
|
|
10143
10145
|
var overlayRef = React.useRef(undefined);
|
|
@@ -10155,6 +10157,9 @@ function GenericWrapper(_a) {
|
|
|
10155
10157
|
LocizeInitializer.changeLanguage(locale);
|
|
10156
10158
|
}
|
|
10157
10159
|
moment$1.locale(locale);
|
|
10160
|
+
getBrand({ id: user.id, compiled: false }).then(function (res) {
|
|
10161
|
+
setUserBrand(res);
|
|
10162
|
+
});
|
|
10158
10163
|
}
|
|
10159
10164
|
}, [user]);
|
|
10160
10165
|
React.useEffect(initPH, []);
|
|
@@ -10198,6 +10203,7 @@ function GenericWrapper(_a) {
|
|
|
10198
10203
|
}, noFetch: !!brandObj, setPageHead: setPageHead, brandThemeContext: brandThemeContext, includeHandlers: false }, resellerBrand &&
|
|
10199
10204
|
React.createElement(GenericWrapperContext.Provider, { value: {
|
|
10200
10205
|
partnerBrand: resellerBrand,
|
|
10206
|
+
userBrand: userBrand,
|
|
10201
10207
|
account: account ? new AccountModel(account) : new AccountModel({}),
|
|
10202
10208
|
user: user ? new UserModel(user) : new UserModel({})
|
|
10203
10209
|
} },
|
|
@@ -57,7 +57,7 @@ export declare class SummaryEnhancedFormModel extends CommonFormModel {
|
|
|
57
57
|
enable(): Promise<EnhancedFormModel>;
|
|
58
58
|
disable(): Promise<EnhancedFormModel>;
|
|
59
59
|
publish(): Promise<EnhancedFormModel>;
|
|
60
|
-
render(published?: boolean): Promise<
|
|
60
|
+
render(published?: boolean): Promise<string>;
|
|
61
61
|
save(): Promise<EnhancedFormModel>;
|
|
62
62
|
toJson(): any;
|
|
63
63
|
set<T extends keyof this>(property: T, value: this[T]): void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { TGenericWrapper } from "./types";
|
|
3
|
-
export declare function GenericWrapper({ children, brandObj, brandId, brandHost, account, user, setPageHead, setPostHog, LocizeInitializer, brandThemeContext, proxyUrl, styleOverride, includeHandlers }: TGenericWrapper): React.JSX.Element;
|
|
3
|
+
export declare function GenericWrapper({ children, brandObj, userBrandObj, brandId, brandHost, account, user, setPageHead, setPostHog, LocizeInitializer, brandThemeContext, proxyUrl, styleOverride, includeHandlers }: TGenericWrapper): React.JSX.Element;
|
|
4
4
|
export default GenericWrapper;
|
|
5
5
|
export * from "./context";
|
|
6
6
|
export * from "./types";
|
|
@@ -6,6 +6,7 @@ import { TUserModel } from "../../models/user/types";
|
|
|
6
6
|
export type TGenericWrapper = {
|
|
7
7
|
children: any;
|
|
8
8
|
brandObj?: TBrand;
|
|
9
|
+
userBrandObj?: TBrand;
|
|
9
10
|
brandHost?: string;
|
|
10
11
|
brandId?: string;
|
|
11
12
|
account?: TAccountModel;
|
|
@@ -20,6 +21,7 @@ export type TGenericWrapper = {
|
|
|
20
21
|
};
|
|
21
22
|
export type TGenericWrapperContext = {
|
|
22
23
|
partnerBrand: TBrand;
|
|
24
|
+
userBrand?: TBrand;
|
|
23
25
|
account: AccountModel;
|
|
24
26
|
user: UserModel;
|
|
25
27
|
};
|
package/dist/esm/index.js
CHANGED
|
@@ -662,7 +662,7 @@ function AccountProfile18(props) {
|
|
|
662
662
|
React__default.createElement("rect", { x: "4", y: "4", width: "3", height: "3", rx: "1.5" }),
|
|
663
663
|
React__default.createElement("rect", { x: "4", y: "12", width: "5", height: "2", rx: "1" }),
|
|
664
664
|
React__default.createElement("rect", { x: "4", y: "9", width: "10", height: "2", rx: "1" }),
|
|
665
|
-
React__default.createElement("rect", { className: 'noFill', x: "1", y: "1", width: "16", height: "16", rx: "5",
|
|
665
|
+
React__default.createElement("rect", { className: 'noFill', x: "1", y: "1", width: "16", height: "16", rx: "5", strokeWidth: "2" }));
|
|
666
666
|
}
|
|
667
667
|
|
|
668
668
|
function Activity18(props) {
|
|
@@ -682,7 +682,7 @@ function AddTags18(props) {
|
|
|
682
682
|
React__default.createElement("rect", { x: "4", y: "4", width: "3", height: "3", rx: "1.5" }),
|
|
683
683
|
React__default.createElement("rect", { x: "4", y: "12", width: "5", height: "2", rx: "1" }),
|
|
684
684
|
React__default.createElement("rect", { x: "4", y: "9", width: "10", height: "2", rx: "1" }),
|
|
685
|
-
React__default.createElement("rect", { className: 'noFill', x: "1", y: "1", width: "16", height: "16", rx: "5",
|
|
685
|
+
React__default.createElement("rect", { className: 'noFill', x: "1", y: "1", width: "16", height: "16", rx: "5", strokeWidth: "2" }));
|
|
686
686
|
}
|
|
687
687
|
|
|
688
688
|
function Arrow18(props) {
|
|
@@ -692,7 +692,7 @@ function Arrow18(props) {
|
|
|
692
692
|
|
|
693
693
|
function Attribute18(props) {
|
|
694
694
|
return React__default.createElement(SvgIcon, __assign({}, props, { width: "18", height: "18", viewBox: "0 0 18 18" }),
|
|
695
|
-
React__default.createElement("path", {
|
|
695
|
+
React__default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M6.28 1.84813C6.74834 1.55542 6.89071 0.938471 6.598 0.470135C6.30529 0.00179839 5.68834 -0.140575 5.22 0.152136L2.63 1.77088C1.46048 2.50184 0.75 3.78372 0.75 5.16288V14.0001C0.75 16.2093 2.54086 18.0002 4.75 18.0002C6.72261 18.0002 8.36172 16.5723 8.6901 14.6938C9.37917 14.4728 10.1208 14.4728 10.8099 14.6938C11.1383 16.5723 12.7774 18.0002 14.75 18.0002C16.9506 18.0002 18.7361 16.2232 18.7499 14.0259C18.7501 14.0173 18.7502 14.0087 18.7502 14.0001V5.16288C18.7502 3.78372 18.0398 2.50184 16.8702 1.77088L14.2802 0.152136C13.8119 -0.140575 13.195 0.00179839 12.9022 0.470135C12.6095 0.938471 12.7519 1.55542 13.2202 1.84813L15.8102 3.46688C16.395 3.83236 16.7502 4.4733 16.7502 5.16288V10.5355C16.1618 10.1951 15.4787 10.0002 14.75 10.0002C13.0082 10.0002 11.5264 11.1136 10.9774 12.6675C10.1699 12.4816 9.33009 12.4816 8.52258 12.6674C7.97362 11.1136 6.49182 10.0002 4.75 10.0002C4.02143 10.0002 3.33835 10.195 2.75 10.5354V5.16288C2.75 4.4733 3.10524 3.83236 3.69 3.46688L6.28 1.84813ZM6.74992 13.9827C6.74049 12.8862 5.8487 12.0002 4.75 12.0002C3.64543 12.0002 2.75 12.8957 2.75 14.0002C2.75 15.1048 3.64543 16.0002 4.75 16.0002C5.84837 16.0002 6.73994 15.1148 6.74992 14.0188C6.7497 14.0068 6.7497 13.9947 6.74992 13.9827ZM12.7501 14.0169C12.7502 14.0061 12.7502 13.9954 12.7501 13.9846C12.7585 12.8872 13.6506 12.0002 14.75 12.0002C15.8546 12.0002 16.75 12.8957 16.75 14.0002C16.75 15.1048 15.8546 16.0002 14.75 16.0002C13.651 16.0002 12.759 15.1138 12.7501 14.0169Z" }));
|
|
696
696
|
}
|
|
697
697
|
|
|
698
698
|
function Book18(props) {
|
|
@@ -717,12 +717,12 @@ function Bounce18(props) {
|
|
|
717
717
|
|
|
718
718
|
function Campaigns18(props) {
|
|
719
719
|
return React__default.createElement(SvgIcon, __assign({}, props, { width: "18", height: "18", viewBox: "0 0 18 18" }),
|
|
720
|
-
React__default.createElement("path", { className: "noFill", d: "M7 1L17 11",
|
|
721
|
-
React__default.createElement("path", { className: "noFill", d: "M8 2L1.34324 12.6508C0.849647 13.4406 0.966488 14.4665 1.62502 15.125L2.88855 16.3885C3.54085 17.0408 4.55467 17.1624 5.34266 16.6827L15.5 10.5",
|
|
722
|
-
React__default.createElement("path", { className: "noFill", d: "M12.875 12.6568V14.6753C12.875 15.031 12.6861 15.3599 12.3789 15.5391L10.3065 16.748C10.0348 16.9065 9.70445 16.9279 9.41458 16.8058L7.5 15.9997",
|
|
723
|
-
React__default.createElement("path", { className: "noFill", d: "M16 2L14.5 3.5",
|
|
724
|
-
React__default.createElement("path", { className: "noFill", d: "M17 5.5L16.5 6",
|
|
725
|
-
React__default.createElement("path", { className: "noFill", d: "M12.5 1L12 1.5",
|
|
720
|
+
React__default.createElement("path", { className: "noFill", d: "M7 1L17 11", strokeWidth: "2", strokeLinecap: "round" }),
|
|
721
|
+
React__default.createElement("path", { className: "noFill", d: "M8 2L1.34324 12.6508C0.849647 13.4406 0.966488 14.4665 1.62502 15.125L2.88855 16.3885C3.54085 17.0408 4.55467 17.1624 5.34266 16.6827L15.5 10.5", strokeWidth: "2", strokeLinecap: "round" }),
|
|
722
|
+
React__default.createElement("path", { className: "noFill", d: "M12.875 12.6568V14.6753C12.875 15.031 12.6861 15.3599 12.3789 15.5391L10.3065 16.748C10.0348 16.9065 9.70445 16.9279 9.41458 16.8058L7.5 15.9997", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
723
|
+
React__default.createElement("path", { className: "noFill", d: "M16 2L14.5 3.5", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
724
|
+
React__default.createElement("path", { className: "noFill", d: "M17 5.5L16.5 6", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
725
|
+
React__default.createElement("path", { className: "noFill", d: "M12.5 1L12 1.5", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }));
|
|
726
726
|
}
|
|
727
727
|
|
|
728
728
|
function Clicks18(props) {
|
|
@@ -822,7 +822,7 @@ function Edit18(props) {
|
|
|
822
822
|
|
|
823
823
|
function EmailAddress18(props) {
|
|
824
824
|
return React__default.createElement(SvgIcon, __assign({}, props, { width: "18", height: "18", viewBox: "0 0 18 18" }),
|
|
825
|
-
React__default.createElement("path", {
|
|
825
|
+
React__default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M9 18C4.02944 18 0 13.9706 0 9C0 4.02944 4.02944 0 9 0C13.9706 0 18 4.02944 18 9V12C18 13.6569 16.6569 15 15 15C13.6548 15 12.5164 14.1146 12.1357 12.8948C11.2781 13.5861 10.1874 14 9 14C6.23858 14 4 11.7614 4 9C4 6.23858 6.23858 4 9 4C11.7614 4 14 6.23858 14 9V12C14 12.5523 14.4477 13 15 13C15.5523 13 16 12.5523 16 12V9C16 5.13401 12.866 2 9.00002 2C5.13403 2 2.00002 5.13401 2.00002 9C2.00002 12.866 5.13402 16 9 16H10C10.5523 16 11 16.4477 11 17C11 17.5523 10.5523 18 10 18H9ZM12 9C12 7.34315 10.6569 6 9 6C7.34315 6 6 7.34315 6 9C6 10.6569 7.34315 12 9 12C10.6569 12 12 10.6569 12 9Z" }));
|
|
826
826
|
}
|
|
827
827
|
|
|
828
828
|
function Expand18(props) {
|
|
@@ -834,17 +834,17 @@ function Expand18(props) {
|
|
|
834
834
|
function Export18(props) {
|
|
835
835
|
return React__default.createElement(SvgIcon, __assign({}, props, { width: "18", height: "18", viewBox: "0 0 18 18" }),
|
|
836
836
|
React__default.createElement("path", { d: "M18 17C18 17.5523 17.5523 18 17 18L1 18C0.447716 18 3.91405e-08 17.5523 8.74228e-08 17C1.35705e-07 16.4477 0.44974 16 1.00202 16C7.09192 16 10.9081 16 16.998 16C17.5503 16 18 16.4477 18 17Z" }),
|
|
837
|
-
React__default.createElement("path", {
|
|
837
|
+
React__default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M12.2929 5.7071C12.6834 6.09762 13.3166 6.09762 13.7071 5.7071C14.0976 5.31657 14.0976 4.68341 13.7071 4.29288L9.7071 0.292892C9.51183 0.09763 9.25591 -6.27369e-07 8.99999 -2.18556e-07C8.74407 2.00257e-07 8.48814 0.0976316 8.29288 0.292894L4.29289 4.2929C3.90237 4.68343 3.90237 5.31659 4.29289 5.70712C4.68342 6.09764 5.31658 6.09764 5.70711 5.70711L7.99999 3.41421L8.00002 12.9807C8.00002 13.5447 8.44774 14 9.00002 14C9.53615 14 10 13.5465 10 12.9872L9.99999 3.41421L12.2929 5.7071Z" }));
|
|
838
838
|
}
|
|
839
839
|
|
|
840
840
|
function Field18(props) {
|
|
841
841
|
return React__default.createElement(SvgIcon, __assign({}, props, { width: "18", height: "18", viewBox: "0 0 18 18" }),
|
|
842
|
-
React__default.createElement("path", {
|
|
842
|
+
React__default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M2 1C2 0.447715 2.44772 0 3 0H5C5.76836 0 6.46925 0.288855 7 0.763896C7.53076 0.288855 8.23165 0 9 0H11C11.5523 0 12 0.447716 12 1C12 1.55228 11.5523 2 11 2L9 2C8.44772 2 8 2.44771 8 3V4H14C16.2091 4 18 5.79086 18 8V10C18 12.2091 16.2091 14 14 14H8V15C8 15.5523 8.44772 16 9 16H11C11.5523 16 12 16.4477 12 17C12 17.5523 11.5523 18 11 18H9C8.23164 18 7.53076 17.7111 7 17.2361C6.46925 17.7111 5.76836 18 5 18H3C2.44772 18 2 17.5523 2 17C2 16.4477 2.44772 16 3 16H5C5.55229 16 6 15.5523 6 15V14H4C1.79086 14 0 12.2091 0 10V8C0 5.79086 1.79086 4 4 4H6V3C6 2.44772 5.55228 2 5 2H3C2.44772 2 2 1.55228 2 1ZM6 6H4C2.89543 6 2 6.89543 2 8V10C2 11.1046 2.89543 12 4 12H6V6ZM8 12H14C15.1046 12 16 11.1046 16 10V8C16 6.89543 15.1046 6 14 6H8V12Z" }));
|
|
843
843
|
}
|
|
844
844
|
|
|
845
845
|
function Flow18(props) {
|
|
846
846
|
return React__default.createElement(SvgIcon, __assign({}, props, { width: "18", height: "18", viewBox: "0 0 18 18" }),
|
|
847
|
-
React__default.createElement("path", {
|
|
847
|
+
React__default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M7.87398 5C7.42994 6.72523 5.86384 8 4 8C3.3733 8 2.78027 7.85588 2.25223 7.59897C2.08916 8.03499 2 8.50708 2 9C2 9.49292 2.08916 9.96501 2.25223 10.401C2.78027 10.1441 3.3733 10 4 10C5.86384 10 7.42994 11.2748 7.87398 13H13V13.0069H14.5965L12.9479 11.3543C12.5586 10.9644 12.5586 10.3322 12.9479 9.94233C13.3372 9.55243 13.9684 9.55243 14.3577 9.94233L17.708 13.2993C18.0973 13.6892 18.0973 14.3214 17.708 14.7113L14.7226 17.7028C14.3333 18.0927 13.7021 18.0927 13.3128 17.7028C12.9235 17.3129 12.9235 16.6808 13.3128 16.2909L14.5965 15.0037H10.08L10.08 15H7.87398C7.42994 16.7252 5.86384 18 4 18C1.79086 18 0 16.2091 0 14C0 13.1753 0.249601 12.4088 0.677384 11.7721C0.244657 10.9429 0 10 0 9C0 7.99996 0.244658 7.05706 0.677384 6.2279C0.249601 5.59118 0 4.82474 0 4C0 1.79086 1.79086 0 4 0C5.86384 0 7.42994 1.27477 7.87398 3H10.126C10.5701 1.27477 12.1362 0 14 0C16.2091 0 18 1.79086 18 4C18 6.20914 16.2091 8 14 8C12.1362 8 10.5701 6.72523 10.126 5L7.87398 5ZM4 6C5.10458 6 6 5.10449 6 4C6 2.89551 5.10458 2 4 2C2.89542 2 2 2.89551 2 4C2 5.10449 2.89542 6 4 6ZM14 6C15.1046 6 16 5.10449 16 4C16 2.89551 15.1046 2 14 2C12.8954 2 12 2.89551 12 4C12 5.10449 12.8954 6 14 6ZM6 14C6 15.1045 5.10458 16 4 16C2.89542 16 2 15.1045 2 14C2 12.8955 2.89542 12 4 12C5.10458 12 6 12.8955 6 14Z" }));
|
|
848
848
|
}
|
|
849
849
|
|
|
850
850
|
function Globe18(props) {
|
|
@@ -854,7 +854,7 @@ function Globe18(props) {
|
|
|
854
854
|
|
|
855
855
|
function Heart18(props) {
|
|
856
856
|
return React__default.createElement(SvgIcon, __assign({}, props, { width: "18", height: "18", viewBox: "0 0 18 18" }),
|
|
857
|
-
React__default.createElement("path", {
|
|
857
|
+
React__default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M2.98783 7.93833C3.00127 7.95363 3.01447 7.96913 3.02743 7.98484C3.62606 8.71006 5.48652 10.874 7.21987 12.8823C7.85912 13.623 8.47727 14.338 9.00204 14.9446C9.52682 14.3381 10.145 13.623 10.7842 12.8823C12.5176 10.874 14.3781 8.71014 14.9768 7.98484C14.9898 7.96913 15.003 7.95362 15.0164 7.93831C16.3568 6.41195 16.2963 4.28001 15.0584 2.95629C14.4632 2.31964 13.7102 2 12.9282 2C12.1462 2 11.3934 2.31947 10.7982 2.95612L10.7967 2.95765L10.4617 3.31529C10.0835 3.71889 9.55518 3.9479 9.00213 3.9479C8.44908 3.9479 7.92072 3.71889 7.5426 3.31529L7.20609 2.95612C6.61089 2.31947 5.85801 2 5.07604 2C4.29407 2 3.54119 2.31947 2.94598 2.95612C1.70811 4.27993 1.64746 6.41195 2.98783 7.93833ZM9.00201 18C9.00201 18 8.46731 17.3833 7.67926 16.4725C5.76567 14.261 2.3582 10.3158 1.48502 9.25801C-0.497825 7 -0.492184 3.70472 1.48502 1.59026C2.44361 0.564922 3.71898 0 5.07604 0C6.09569 0 7.06922 0.318926 7.89691 0.912447C8.1708 1.10885 8.42872 1.33532 8.66706 1.59026L9.00213 1.9479L9.33719 1.59026C9.57553 1.33532 9.83346 1.10885 10.1073 0.912447C10.935 0.318926 11.9086 0 12.9282 0C14.2853 0 15.5606 0.564922 16.5192 1.59026C18.4964 3.70464 18.5021 7 16.5192 9.25801C15.6459 10.316 12.2384 14.261 10.3248 16.4725C9.53673 17.3833 9.00201 18 9.00201 18Z" }));
|
|
858
858
|
}
|
|
859
859
|
|
|
860
860
|
function Home18(props) {
|
|
@@ -918,9 +918,9 @@ function Mobile18(props) {
|
|
|
918
918
|
|
|
919
919
|
function Money18(props) {
|
|
920
920
|
return React__default.createElement(SvgIcon, __assign({}, props, { width: "18", height: "18", viewBox: "0 0 18 18" }),
|
|
921
|
-
React__default.createElement("path", { className: 'noFill', d: "M14 6V6C14 4.89543 13.1046 4 12 4H6.5C5.11929 4 4 5.11929 4 6.5V6.5C4 7.88071 5.11929 9 6.5 9H11.5C12.8807 9 14 10.1193 14 11.5V11.5C14 12.8807 12.8807 14 11.5 14H6C4.89543 14 4 13.1046 4 12V12",
|
|
922
|
-
React__default.createElement("path", { className: 'noFill', d: "M9 1V3",
|
|
923
|
-
React__default.createElement("path", { className: 'noFill', d: "M9 15V17",
|
|
921
|
+
React__default.createElement("path", { className: 'noFill', d: "M14 6V6C14 4.89543 13.1046 4 12 4H6.5C5.11929 4 4 5.11929 4 6.5V6.5C4 7.88071 5.11929 9 6.5 9H11.5C12.8807 9 14 10.1193 14 11.5V11.5C14 12.8807 12.8807 14 11.5 14H6C4.89543 14 4 13.1046 4 12V12", strokeWidth: "2", strokeLinecap: "round" }),
|
|
922
|
+
React__default.createElement("path", { className: 'noFill', d: "M9 1V3", strokeWidth: "2", strokeLinecap: "round" }),
|
|
923
|
+
React__default.createElement("path", { className: 'noFill', d: "M9 15V17", strokeWidth: "2", strokeLinecap: "round" }));
|
|
924
924
|
}
|
|
925
925
|
|
|
926
926
|
function Organization18(props) {
|
|
@@ -958,7 +958,7 @@ function Publish18(props) {
|
|
|
958
958
|
|
|
959
959
|
function Redirection18(props) {
|
|
960
960
|
return React__default.createElement(SvgIcon, __assign({}, props, { width: "18", height: "18", viewBox: "0 0 18 18" }),
|
|
961
|
-
React__default.createElement("path", {
|
|
961
|
+
React__default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M0 3C0 1.34315 1.34315 0 3 0H15C16.6569 0 18 1.34315 18 3V15C18 16.6569 16.6569 18 15 18H13V16H15C15.5523 16 16 15.5523 16 15V6H2V9H0V3ZM16 3V4H2V3C2 2.44772 2.44772 2 3 2H15C15.5523 2 16 2.44772 16 3Z" }),
|
|
962
962
|
React__default.createElement("path", { d: "M1 13.364C0.447715 13.364 0 12.9163 0 12.364C0 11.8117 0.447715 11.364 1 11.364H8.58582L6.92896 9.70703C6.53845 9.31665 6.53845 8.68335 6.92896 8.29297C7.31946 7.90234 7.95264 7.90234 8.34314 8.29297L11.7072 11.6567C12.0977 12.0474 12.0977 12.6807 11.7072 13.071L8.34314 16.4351C7.95264 16.8254 7.31946 16.8254 6.92896 16.4351C6.53845 16.0444 6.53845 15.4114 6.92896 15.0208L8.58582 13.364H1Z" }));
|
|
963
963
|
}
|
|
964
964
|
|
|
@@ -1007,7 +1007,7 @@ function Subscription18(props) {
|
|
|
1007
1007
|
|
|
1008
1008
|
function Suppressed18(props) {
|
|
1009
1009
|
return React__default.createElement(SvgIcon, __assign({}, props, { width: "18", height: "18", viewBox: "0 0 18 18" }),
|
|
1010
|
-
React__default.createElement("path", {
|
|
1010
|
+
React__default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M18 9C18 13.9706 13.9706 18 9 18C4.02944 18 0 13.9706 0 9C0 4.02944 4.02944 0 9 0C13.9706 0 18 4.02944 18 9ZM13.1921 14.6064C12.0235 15.4816 10.5723 16 9 16C5.13401 16 2 12.866 2 9C2 7.4277 2.51838 5.97648 3.39355 4.80792L13.1921 14.6064ZM14.6063 13.1923L4.80774 3.39368C5.97634 2.51843 7.42763 2 9 2C12.866 2 16 5.13401 16 9C16 10.5724 15.4816 12.0237 14.6063 13.1923ZM4.07039 4.0302C4.05694 4.04354 4.04354 4.05694 4.0302 4.07039L4.07039 4.0302Z" }));
|
|
1011
1011
|
}
|
|
1012
1012
|
|
|
1013
1013
|
function Tag18(props) {
|
|
@@ -1020,7 +1020,7 @@ function Templates18(props) {
|
|
|
1020
1020
|
return React__default.createElement(SvgIcon, __assign({}, props, { width: "18", height: "18", viewBox: "0 0 18 18" }),
|
|
1021
1021
|
React__default.createElement("path", { d: "M2 2.00049H12V5.81823L14 7.00049V2.00049C14 0.895919 13.1046 0.000488281 12 0.000488281H2C0.895431 0.000488281 0 0.895919 0 2.00049V15.0005C0 16.1051 0.89543 17.0005 2 17.0005H8V15.0005H2L2 2.00049Z" }),
|
|
1022
1022
|
React__default.createElement("path", { d: "M10.3171 16.3207L10 7.00049L18 11.9322L14.8416 13.1029L17.0595 16.9034L15.1388 18.0005L12.9209 14.2L10.3171 16.3207Z" }),
|
|
1023
|
-
React__default.createElement("path", {
|
|
1023
|
+
React__default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M3 14.0005V3.00049H8V14.0005H3ZM5 5.00049H6V12.0005H5V5.00049Z" }));
|
|
1024
1024
|
}
|
|
1025
1025
|
|
|
1026
1026
|
function TrayOpen18(props) {
|
|
@@ -1344,13 +1344,13 @@ function Upload44(props) {
|
|
|
1344
1344
|
return React__default.createElement(SvgIcon, __assign({}, props, { width: "44", height: "45", viewBox: "0 0 44 45" }),
|
|
1345
1345
|
React__default.createElement("g", { id: "glyph/44/upload" },
|
|
1346
1346
|
React__default.createElement("g", { id: "glyph/32/redirection" },
|
|
1347
|
-
React__default.createElement("path", {
|
|
1348
|
-
React__default.createElement("path", {
|
|
1349
|
-
React__default.createElement("path", {
|
|
1347
|
+
React__default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M21.364 44C21.9163 44 22.364 43.5523 22.364 43L22.364 20.4142L26.0208 24.071C26.4114 24.4615 27.0444 24.4615 27.4351 24.071C27.8254 23.6805 27.8254 23.0474 27.4351 22.6569L22.071 17.2928C21.6807 16.9023 21.0474 16.9023 20.6567 17.2928L15.293 22.6569C14.9023 23.0474 14.9023 23.6805 15.293 24.071C15.6833 24.4615 16.3166 24.4615 16.707 24.071L20.364 20.4142L20.364 43C20.364 43.5523 20.8117 44 21.364 44Z", fill: "black" }),
|
|
1348
|
+
React__default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M21.364 44C21.9163 44 22.364 43.5523 22.364 43L22.364 20.4142L26.0208 24.071C26.4114 24.4615 27.0444 24.4615 27.4351 24.071C27.8254 23.6805 27.8254 23.0474 27.4351 22.6569L22.071 17.2928C21.6807 16.9023 21.0474 16.9023 20.6567 17.2928L15.293 22.6569C14.9023 23.0474 14.9023 23.6805 15.293 24.071C15.6833 24.4615 16.3166 24.4615 16.707 24.071L20.364 20.4142L20.364 43C20.364 43.5523 20.8117 44 21.364 44Z", fill: "white", "fill-opacity": "0.1" }),
|
|
1349
|
+
React__default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M21.364 44C21.9163 44 22.364 43.5523 22.364 43L22.364 20.4142L26.0208 24.071C26.4114 24.4615 27.0444 24.4615 27.4351 24.071C27.8254 23.6805 27.8254 23.0474 27.4351 22.6569L22.071 17.2928C21.6807 16.9023 21.0474 16.9023 20.6567 17.2928L15.293 22.6569C14.9023 23.0474 14.9023 23.6805 15.293 24.071C15.6833 24.4615 16.3166 24.4615 16.707 24.071L20.364 20.4142L20.364 43C20.364 43.5523 20.8117 44 21.364 44Z", fill: "#FF4835", "fill-opacity": "0.01" })),
|
|
1350
1350
|
React__default.createElement("g", { id: "Subtract" },
|
|
1351
|
-
React__default.createElement("path", {
|
|
1352
|
-
React__default.createElement("path", {
|
|
1353
|
-
React__default.createElement("path", {
|
|
1351
|
+
React__default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M36.9455 14.1032L36.817 15.3969L37.9471 16.0396C40.3719 17.4183 42 20.0203 42 23C42 27.4183 38.4183 31 34 31H27V33H34C39.5228 33 44 28.5228 44 23C44 19.2721 41.9601 16.0207 38.9357 14.301C38.9782 13.8731 39 13.4391 39 13C39 5.8203 33.1797 0 26 0C20.9109 0 16.5048 2.92423 14.3703 7.18407C13.7656 7.06333 13.1402 7 12.5 7C7.25329 7 3 11.2533 3 16.5C3 16.986 3.03649 17.4634 3.10688 17.9297C1.20992 19.4886 0 21.853 0 24.5C0 29.0266 3.53831 32.7267 8 32.9855V33H16V31H8.30726L8.11582 30.9889C4.70574 30.7911 2 27.9608 2 24.5C2 22.4766 2.92218 20.6702 4.37669 19.4749L5.25394 18.754L5.08448 17.6312C5.02895 17.2634 5 16.8857 5 16.5C5 12.3579 8.35786 9 12.5 9C13.008 9 13.5023 9.05022 13.9788 9.14536L15.4749 9.44408L16.1584 8.08002C17.967 4.47067 21.6968 2 26 2C32.0751 2 37 6.92487 37 13C37 13.3729 36.9815 13.7409 36.9455 14.1032Z", fill: "black" }),
|
|
1352
|
+
React__default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M36.9455 14.1032L36.817 15.3969L37.9471 16.0396C40.3719 17.4183 42 20.0203 42 23C42 27.4183 38.4183 31 34 31H27V33H34C39.5228 33 44 28.5228 44 23C44 19.2721 41.9601 16.0207 38.9357 14.301C38.9782 13.8731 39 13.4391 39 13C39 5.8203 33.1797 0 26 0C20.9109 0 16.5048 2.92423 14.3703 7.18407C13.7656 7.06333 13.1402 7 12.5 7C7.25329 7 3 11.2533 3 16.5C3 16.986 3.03649 17.4634 3.10688 17.9297C1.20992 19.4886 0 21.853 0 24.5C0 29.0266 3.53831 32.7267 8 32.9855V33H16V31H8.30726L8.11582 30.9889C4.70574 30.7911 2 27.9608 2 24.5C2 22.4766 2.92218 20.6702 4.37669 19.4749L5.25394 18.754L5.08448 17.6312C5.02895 17.2634 5 16.8857 5 16.5C5 12.3579 8.35786 9 12.5 9C13.008 9 13.5023 9.05022 13.9788 9.14536L15.4749 9.44408L16.1584 8.08002C17.967 4.47067 21.6968 2 26 2C32.0751 2 37 6.92487 37 13C37 13.3729 36.9815 13.7409 36.9455 14.1032Z", fill: "white", "fill-opacity": "0.1" }),
|
|
1353
|
+
React__default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M36.9455 14.1032L36.817 15.3969L37.9471 16.0396C40.3719 17.4183 42 20.0203 42 23C42 27.4183 38.4183 31 34 31H27V33H34C39.5228 33 44 28.5228 44 23C44 19.2721 41.9601 16.0207 38.9357 14.301C38.9782 13.8731 39 13.4391 39 13C39 5.8203 33.1797 0 26 0C20.9109 0 16.5048 2.92423 14.3703 7.18407C13.7656 7.06333 13.1402 7 12.5 7C7.25329 7 3 11.2533 3 16.5C3 16.986 3.03649 17.4634 3.10688 17.9297C1.20992 19.4886 0 21.853 0 24.5C0 29.0266 3.53831 32.7267 8 32.9855V33H16V31H8.30726L8.11582 30.9889C4.70574 30.7911 2 27.9608 2 24.5C2 22.4766 2.92218 20.6702 4.37669 19.4749L5.25394 18.754L5.08448 17.6312C5.02895 17.2634 5 16.8857 5 16.5C5 12.3579 8.35786 9 12.5 9C13.008 9 13.5023 9.05022 13.9788 9.14536L15.4749 9.44408L16.1584 8.08002C17.967 4.47067 21.6968 2 26 2C32.0751 2 37 6.92487 37 13C37 13.3729 36.9815 13.7409 36.9455 14.1032Z", fill: "#FF4835", "fill-opacity": "0.01" }))));
|
|
1354
1354
|
}
|
|
1355
1355
|
|
|
1356
1356
|
function Icon(_a) {
|
|
@@ -10109,15 +10109,17 @@ var UserModel = /** @class */ (function () {
|
|
|
10109
10109
|
|
|
10110
10110
|
var GenericWrapperContext = createContext({
|
|
10111
10111
|
partnerBrand: {},
|
|
10112
|
+
userBrand: undefined,
|
|
10112
10113
|
account: {},
|
|
10113
10114
|
user: {}
|
|
10114
10115
|
});
|
|
10115
10116
|
|
|
10116
10117
|
function GenericWrapper(_a) {
|
|
10117
|
-
var children = _a.children, brandObj = _a.brandObj, brandId = _a.brandId, brandHost = _a.brandHost, account = _a.account, user = _a.user, _b = _a.setPageHead, setPageHead = _b === void 0 ? true : _b, _c = _a.setPostHog, setPostHog = _c === void 0 ? true : _c, LocizeInitializer = _a.LocizeInitializer, brandThemeContext = _a.brandThemeContext, proxyUrl = _a.proxyUrl, _d = _a.styleOverride, styleOverride = _d === void 0 ? {} : _d, _e = _a.includeHandlers, includeHandlers = _e === void 0 ? true : _e;
|
|
10118
|
+
var children = _a.children, brandObj = _a.brandObj, userBrandObj = _a.userBrandObj, brandId = _a.brandId, brandHost = _a.brandHost, account = _a.account, user = _a.user, _b = _a.setPageHead, setPageHead = _b === void 0 ? true : _b, _c = _a.setPostHog, setPostHog = _c === void 0 ? true : _c, LocizeInitializer = _a.LocizeInitializer, brandThemeContext = _a.brandThemeContext, proxyUrl = _a.proxyUrl, _d = _a.styleOverride, styleOverride = _d === void 0 ? {} : _d, _e = _a.includeHandlers, includeHandlers = _e === void 0 ? true : _e;
|
|
10118
10119
|
var _f = useState(brandObj ? buildMUITheme({ brand: brandObj }) : undefined), mUITheme = _f[0], setMUITheme = _f[1];
|
|
10119
10120
|
var _g = useState(brandObj), resellerBrand = _g[0], setResellerBrand = _g[1];
|
|
10120
|
-
var _h =
|
|
10121
|
+
var _h = useState(userBrandObj), userBrand = _h[0], setUserBrand = _h[1];
|
|
10122
|
+
var _j = useTranslation(); _j.t; _j.i18n;
|
|
10121
10123
|
var dialogRef = useRef(undefined);
|
|
10122
10124
|
var actionsBarContainerRef = useRef(undefined);
|
|
10123
10125
|
var overlayRef = useRef(undefined);
|
|
@@ -10135,6 +10137,9 @@ function GenericWrapper(_a) {
|
|
|
10135
10137
|
LocizeInitializer.changeLanguage(locale);
|
|
10136
10138
|
}
|
|
10137
10139
|
moment$1.locale(locale);
|
|
10140
|
+
getBrand({ id: user.id, compiled: false }).then(function (res) {
|
|
10141
|
+
setUserBrand(res);
|
|
10142
|
+
});
|
|
10138
10143
|
}
|
|
10139
10144
|
}, [user]);
|
|
10140
10145
|
useEffect(initPH, []);
|
|
@@ -10178,6 +10183,7 @@ function GenericWrapper(_a) {
|
|
|
10178
10183
|
}, noFetch: !!brandObj, setPageHead: setPageHead, brandThemeContext: brandThemeContext, includeHandlers: false }, resellerBrand &&
|
|
10179
10184
|
React__default.createElement(GenericWrapperContext.Provider, { value: {
|
|
10180
10185
|
partnerBrand: resellerBrand,
|
|
10186
|
+
userBrand: userBrand,
|
|
10181
10187
|
account: account ? new AccountModel(account) : new AccountModel({}),
|
|
10182
10188
|
user: user ? new UserModel(user) : new UserModel({})
|
|
10183
10189
|
} },
|
|
@@ -57,7 +57,7 @@ export declare class SummaryEnhancedFormModel extends CommonFormModel {
|
|
|
57
57
|
enable(): Promise<EnhancedFormModel>;
|
|
58
58
|
disable(): Promise<EnhancedFormModel>;
|
|
59
59
|
publish(): Promise<EnhancedFormModel>;
|
|
60
|
-
render(published?: boolean): Promise<
|
|
60
|
+
render(published?: boolean): Promise<string>;
|
|
61
61
|
save(): Promise<EnhancedFormModel>;
|
|
62
62
|
toJson(): any;
|
|
63
63
|
set<T extends keyof this>(property: T, value: this[T]): void;
|