frst-components 0.21.33 → 0.21.34
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/index.js
CHANGED
|
@@ -4577,8 +4577,8 @@ const TableAdm = styled__default["default"].td `
|
|
|
4577
4577
|
}
|
|
4578
4578
|
|
|
4579
4579
|
`;
|
|
4580
|
-
styled__default["default"].td ``;
|
|
4581
|
-
styled__default["default"].div `
|
|
4580
|
+
const TableVisit = styled__default["default"].td ``;
|
|
4581
|
+
const TableVisitContent = styled__default["default"].div `
|
|
4582
4582
|
align-items: center;
|
|
4583
4583
|
justify-content: center;
|
|
4584
4584
|
display: flex;
|
|
@@ -4745,7 +4745,7 @@ function GroupsTable({ textHeader, textHeader2, textHeader3, textHeader4, textHe
|
|
|
4745
4745
|
display: 'flex',
|
|
4746
4746
|
justifyContent: 'center',
|
|
4747
4747
|
boxShadow: ' 0px 0px 18px 0px rgba(34, 34, 34, 0.2)'
|
|
4748
|
-
}, direction: 'bottom', content: textTooltipAllSelected, delay: 500, children: jsxRuntime.jsx(Checkbox, { isChecked: isAllChecked, label: "", handleCheck: handleToggleSelectAll, color: "rgba(67, 159, 159, 1)" }) }), jsxRuntime.jsx("span", { children: textHeader })] }), jsxRuntime.jsx(TableHeader, { children: textHeader2 }), jsxRuntime.jsx(TableHeader, { style: { paddingRight: '40px', paddingLeft: '44px', width: '220px' }, children: jsxRuntime.jsxs("div", { style: { display: 'flex', alignItems: 'center', gap: '40px' }, children: [jsxRuntime.jsx("div", { children: textHeader3 }), jsxRuntime.jsx("div", { children: textHeader4 })] }) })] }), jsxRuntime.jsx("tbody", { children: internalItems.map((i, index) => (jsxRuntime.jsxs(TableRow, { isRoot: i.isRoot, children: [jsxRuntime.jsx(TableChecked, { children: !i.isRoot ?
|
|
4748
|
+
}, direction: 'bottom', content: textTooltipAllSelected, delay: 500, children: jsxRuntime.jsx(Checkbox, { isChecked: isAllChecked, label: "", handleCheck: handleToggleSelectAll, color: "rgba(67, 159, 159, 1)" }) }), jsxRuntime.jsx("span", { children: textHeader })] }), jsxRuntime.jsx(TableHeader, { children: textHeader2 }), jsxRuntime.jsx(TableHeader, { children: textHeaderVisit }), jsxRuntime.jsx(TableHeader, { style: { paddingRight: '40px', paddingLeft: '44px', width: '220px' }, children: jsxRuntime.jsxs("div", { style: { display: 'flex', alignItems: 'center', gap: '40px' }, children: [jsxRuntime.jsx("div", { children: textHeader3 }), jsxRuntime.jsx("div", { children: textHeader4 })] }) })] }), jsxRuntime.jsx("tbody", { children: internalItems.map((i, index) => (jsxRuntime.jsxs(TableRow, { isRoot: i.isRoot, children: [jsxRuntime.jsx(TableChecked, { children: !i.isRoot ?
|
|
4749
4749
|
jsxRuntime.jsx(Checkbox, { label: i.group, handleCheck: () => handleToggleSelectRow(index), isChecked: i.checked })
|
|
4750
4750
|
:
|
|
4751
4751
|
jsxRuntime.jsxs("p", { style: { fontFamily: 'PT Sans', fontWeight: 400, fontSize: '16px', paddingLeft: '32px', lineHeight: '21px', fontStyle: 'normal' }, children: [i.textRoot, " (", i.group, ")"] }) }), jsxRuntime.jsx(TableAdm, { children: jsxRuntime.jsxs("div", { children: [jsxRuntime.jsx(Tooltip$2, { content: textTooltipAdd, delay: 500, direction: 'bottom', style: {
|
|
@@ -4789,7 +4789,47 @@ function GroupsTable({ textHeader, textHeader2, textHeader3, textHeader4, textHe
|
|
|
4789
4789
|
whiteSpace: 'nowrap',
|
|
4790
4790
|
boxShadow: ' 0px 0px 18px 0px rgba(34, 34, 34, 0.2)'
|
|
4791
4791
|
}, children: jsxRuntime.jsx(AdmButton, { image: adm.image, variant: 'image' }, adm.id) });
|
|
4792
|
-
})] }) }), jsxRuntime.jsx(
|
|
4792
|
+
})] }) }), jsxRuntime.jsx(TableVisit, { children: jsxRuntime.jsx(TableVisitContent, { children: jsxRuntime.jsxs("div", { children: [jsxRuntime.jsx(Tooltip$2, { content: textTooltipAdd, delay: 500, direction: 'bottom', style: {
|
|
4793
|
+
fontFamily: 'PT Sans',
|
|
4794
|
+
fontWeight: 400,
|
|
4795
|
+
fontSize: '14px',
|
|
4796
|
+
color: 'rgba(117, 117, 117, 1)',
|
|
4797
|
+
width: '73px',
|
|
4798
|
+
height: '31px',
|
|
4799
|
+
top: '8px',
|
|
4800
|
+
left: '4px',
|
|
4801
|
+
display: 'flex',
|
|
4802
|
+
justifyContent: 'center',
|
|
4803
|
+
boxShadow: ' 0px 0px 18px 0px rgba(34, 34, 34, 0.2)'
|
|
4804
|
+
}, children: jsxRuntime.jsx(AdmButton, { variant: 'add', onClick: () => visitMoreClick(i.id) }) }), i.visitors?.length > maxAdmToShow && (jsxRuntime.jsx(Tooltip$2, { content: textTooltipCount, delay: 500, direction: 'bottom', style: {
|
|
4805
|
+
fontFamily: 'PT Sans',
|
|
4806
|
+
fontWeight: 400,
|
|
4807
|
+
fontSize: '14px',
|
|
4808
|
+
color: 'rgba(117, 117, 117, 1)',
|
|
4809
|
+
width: '73px',
|
|
4810
|
+
height: '31px',
|
|
4811
|
+
top: '8px',
|
|
4812
|
+
left: '4px',
|
|
4813
|
+
boxShadow: ' 0px 0px 18px 0px rgba(34, 34, 34, 0.2)'
|
|
4814
|
+
}, children: i.visitors.length < 9 ?
|
|
4815
|
+
jsxRuntime.jsx(AdmButton, { onClick: () => onShowMoreVisitorsClick(i.id), variant: 'count', count: i.visitors.length - maxAdmToShow })
|
|
4816
|
+
:
|
|
4817
|
+
jsxRuntime.jsx(AdmButton, { onClick: () => onShowMoreVisitorsClick(i.id), variant: 'countMore', count: 9 }) })), i.visitors
|
|
4818
|
+
?.filter((a, aIndex) => aIndex < maxAdmToShow)
|
|
4819
|
+
.map((visit) => {
|
|
4820
|
+
return jsxRuntime.jsx(Tooltip$2, { content: visit.name, direction: 'bottom', delay: 500, style: {
|
|
4821
|
+
fontFamily: 'PT Sans',
|
|
4822
|
+
fontWeight: 400,
|
|
4823
|
+
fontSize: '14px',
|
|
4824
|
+
color: 'rgba(117, 117, 117, 1)',
|
|
4825
|
+
width: 'fit-content',
|
|
4826
|
+
height: '31px',
|
|
4827
|
+
top: '8px',
|
|
4828
|
+
left: '4px',
|
|
4829
|
+
whiteSpace: 'nowrap',
|
|
4830
|
+
boxShadow: ' 0px 0px 18px 0px rgba(34, 34, 34, 0.2)'
|
|
4831
|
+
}, children: jsxRuntime.jsx(AdmButton, { image: visit.avatar, variant: 'image' }, visit.id) });
|
|
4832
|
+
})] }) }) }), jsxRuntime.jsx("td", { children: jsxRuntime.jsx("div", { style: { display: 'flex', width: 'fit-content', alignItems: 'center', gap: '60px', paddingLeft: '54px' }, children: !i.isRoot &&
|
|
4793
4833
|
jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(TdEditButtom, { onClick: () => !i.isRoot && onEditClick(i.id) }), jsxRuntime.jsx(TdTrashButton, { onClick: () => !i.isRoot && onDeleteClick(i.id, index) })] }) }) })] }, index))) })] }) })] }));
|
|
4794
4834
|
}
|
|
4795
4835
|
|
|
@@ -3,19 +3,19 @@ interface BaseProps {
|
|
|
3
3
|
className: string;
|
|
4
4
|
[key: string]: unknown;
|
|
5
5
|
}
|
|
6
|
-
export declare const Button: React.ForwardRefExoticComponent<
|
|
6
|
+
export declare const Button: React.ForwardRefExoticComponent<Pick<{
|
|
7
7
|
active: boolean;
|
|
8
8
|
reversed: boolean;
|
|
9
|
-
} & BaseProps,
|
|
10
|
-
export declare const EditorValue: React.ForwardRefExoticComponent<
|
|
9
|
+
} & BaseProps, keyof BaseProps> & React.RefAttributes<HTMLSpanElement>>;
|
|
10
|
+
export declare const EditorValue: React.ForwardRefExoticComponent<Pick<{
|
|
11
11
|
value: any;
|
|
12
|
-
} & BaseProps,
|
|
13
|
-
export declare const Icon: React.ForwardRefExoticComponent<
|
|
14
|
-
export declare const Instruction: React.ForwardRefExoticComponent<
|
|
15
|
-
export declare const Menu: React.ForwardRefExoticComponent<
|
|
12
|
+
} & BaseProps, keyof BaseProps> & React.RefAttributes<null>>;
|
|
13
|
+
export declare const Icon: React.ForwardRefExoticComponent<Pick<BaseProps, keyof BaseProps> & React.RefAttributes<HTMLSpanElement>>;
|
|
14
|
+
export declare const Instruction: React.ForwardRefExoticComponent<Pick<BaseProps, keyof BaseProps> & React.RefAttributes<HTMLDivElement>>;
|
|
15
|
+
export declare const Menu: React.ForwardRefExoticComponent<Pick<BaseProps, keyof BaseProps> & React.RefAttributes<HTMLDivElement>>;
|
|
16
16
|
export declare const Portal: ({ children }: {
|
|
17
17
|
children: any;
|
|
18
18
|
}) => any;
|
|
19
|
-
export declare const Toolbar: React.ForwardRefExoticComponent<
|
|
19
|
+
export declare const Toolbar: React.ForwardRefExoticComponent<Pick<BaseProps, keyof BaseProps> & React.RefAttributes<HTMLDivElement>>;
|
|
20
20
|
export {};
|
|
21
21
|
//# sourceMappingURL=components.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../../../../../src/components/LXP/extraContent/richTextEditor/components.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiC,MAAM,OAAO,CAAA;AAIrD,UAAU,SAAS;IACjB,SAAS,EAAE,MAAM,CAAA;IACjB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CACvB;AAGD,eAAO,MAAM,MAAM;YASH,OAAO;cACL,OAAO;
|
|
1
|
+
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../../../../../src/components/LXP/extraContent/richTextEditor/components.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiC,MAAM,OAAO,CAAA;AAIrD,UAAU,SAAS;IACjB,SAAS,EAAE,MAAM,CAAA;IACjB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CACvB;AAGD,eAAO,MAAM,MAAM;YASH,OAAO;cACL,OAAO;uEAuBxB,CAAA;AAED,eAAO,MAAM,WAAW;WAQT,GAAG;4DA+CjB,CAAA;AAED,eAAO,MAAM,IAAI,0GAkBhB,CAAA;AAED,eAAO,MAAM,WAAW,yGAoBvB,CAAA;AAED,eAAO,MAAM,IAAI,yGAsBhB,CAAA;AAED,eAAO,MAAM,MAAM;;SAIlB,CAAA;AAED,eAAO,MAAM,OAAO,yGAmBnB,CAAA"}
|
|
@@ -15,7 +15,7 @@ export declare const LoginIconCustom: import("styled-components").StyledComponen
|
|
|
15
15
|
muiName: string;
|
|
16
16
|
}, any, {}, never>;
|
|
17
17
|
export declare const FormControlSelect: import("styled-components").StyledComponent<import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material/FormControl").FormControlTypeMap<{}, "div">>, any, {}, never>;
|
|
18
|
-
export declare const DropDownList: import("styled-components").StyledComponent<(<
|
|
18
|
+
export declare const DropDownList: import("styled-components").StyledComponent<(<T>(props: import("@mui/material/Select").SelectProps<T>) => JSX.Element) & {
|
|
19
19
|
muiName: string;
|
|
20
20
|
}, any, {}, never>;
|
|
21
21
|
export declare const LabelDateStepper: import("styled-components").StyledComponent<"label", any, {}, never>;
|