@bbodek/internal-ui 0.0.39 → 0.0.40
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/{FilterCalendarPanel-CwM0y_Qr.js → FilterCalendarPanel-BeG-PaQN.js} +2 -2
- package/dist/FilterCalendarPanel-BeG-PaQN.js.map +1 -0
- package/dist/{FilterMultiSelectPanel--su7glyX.js → FilterMultiSelectPanel-9tw7oAJV.js} +2 -2
- package/dist/FilterMultiSelectPanel-9tw7oAJV.js.map +1 -0
- package/dist/{FilterSelectOptionPanel-BnooYJhk.js → FilterSelectOptionPanel-CuNLlVDp.js} +2 -2
- package/dist/FilterSelectOptionPanel-CuNLlVDp.js.map +1 -0
- package/dist/components/Button/IconButton/constants/index.d.ts.map +1 -1
- package/dist/components/FormRepeater/FormRepeater.d.ts +18 -0
- package/dist/components/FormRepeater/FormRepeater.d.ts.map +1 -0
- package/dist/components/FormRepeater/FormRepeaterDeleteButton.d.ts +5 -0
- package/dist/components/FormRepeater/FormRepeaterDeleteButton.d.ts.map +1 -0
- package/dist/components/FormRepeater/FormRepeaterFooter.d.ts +4 -0
- package/dist/components/FormRepeater/FormRepeaterFooter.d.ts.map +1 -0
- package/dist/components/FormRepeater/FormRepeaterHeader.d.ts +4 -0
- package/dist/components/FormRepeater/FormRepeaterHeader.d.ts.map +1 -0
- package/dist/components/FormRepeater/FormRepeaterHeaderContent.d.ts +4 -0
- package/dist/components/FormRepeater/FormRepeaterHeaderContent.d.ts.map +1 -0
- package/dist/components/FormRepeater/FormRepeaterList.d.ts +4 -0
- package/dist/components/FormRepeater/FormRepeaterList.d.ts.map +1 -0
- package/dist/components/FormRepeater/FormRepeaterListItem.d.ts +5 -0
- package/dist/components/FormRepeater/FormRepeaterListItem.d.ts.map +1 -0
- package/dist/components/FormRepeater/FormRepeaterListItemActionsContent.d.ts +4 -0
- package/dist/components/FormRepeater/FormRepeaterListItemActionsContent.d.ts.map +1 -0
- package/dist/components/FormRepeater/FormRepeaterListItemBadgeContent.d.ts +4 -0
- package/dist/components/FormRepeater/FormRepeaterListItemBadgeContent.d.ts.map +1 -0
- package/dist/components/FormRepeater/FormRepeaterListItemContent.d.ts +5 -0
- package/dist/components/FormRepeater/FormRepeaterListItemContent.d.ts.map +1 -0
- package/dist/components/FormRepeater/FormRepeaterListItemContentBase.d.ts +5 -0
- package/dist/components/FormRepeater/FormRepeaterListItemContentBase.d.ts.map +1 -0
- package/dist/components/FormRepeater/FormRepeaterListItemInputContent.d.ts +5 -0
- package/dist/components/FormRepeater/FormRepeaterListItemInputContent.d.ts.map +1 -0
- package/dist/components/FormRepeater/FormRepeaterListItemRadioContent.d.ts +5 -0
- package/dist/components/FormRepeater/FormRepeaterListItemRadioContent.d.ts.map +1 -0
- package/dist/components/FormRepeater/FormRepeaterListItemSelectContent.d.ts +6 -0
- package/dist/components/FormRepeater/FormRepeaterListItemSelectContent.d.ts.map +1 -0
- package/dist/components/FormRepeater/FormRepeaterListItemTextContent.d.ts +5 -0
- package/dist/components/FormRepeater/FormRepeaterListItemTextContent.d.ts.map +1 -0
- package/dist/components/FormRepeater/FormRepeaterListItemToggleContent.d.ts +5 -0
- package/dist/components/FormRepeater/FormRepeaterListItemToggleContent.d.ts.map +1 -0
- package/dist/components/FormRepeater/FormRepeaterResetButton.d.ts +5 -0
- package/dist/components/FormRepeater/FormRepeaterResetButton.d.ts.map +1 -0
- package/dist/components/FormRepeater/constants/index.d.ts +3 -0
- package/dist/components/FormRepeater/constants/index.d.ts.map +1 -0
- package/dist/components/FormRepeater/context/FormRepeaterContext.d.ts +5 -0
- package/dist/components/FormRepeater/context/FormRepeaterContext.d.ts.map +1 -0
- package/dist/components/FormRepeater/context/FormRepeaterListContext.d.ts +5 -0
- package/dist/components/FormRepeater/context/FormRepeaterListContext.d.ts.map +1 -0
- package/dist/components/FormRepeater/context/FormRepeaterListItemContentContext.d.ts +5 -0
- package/dist/components/FormRepeater/context/FormRepeaterListItemContentContext.d.ts.map +1 -0
- package/dist/components/FormRepeater/context/types.d.ts +20 -0
- package/dist/components/FormRepeater/context/types.d.ts.map +1 -0
- package/dist/components/FormRepeater/hooks/index.d.ts +3 -0
- package/dist/components/FormRepeater/hooks/index.d.ts.map +1 -0
- package/dist/components/FormRepeater/hooks/types.d.ts +15 -0
- package/dist/components/FormRepeater/hooks/types.d.ts.map +1 -0
- package/dist/components/FormRepeater/hooks/useFormRepeater.d.ts +7 -0
- package/dist/components/FormRepeater/hooks/useFormRepeater.d.ts.map +1 -0
- package/dist/components/FormRepeater/index.d.ts +12 -0
- package/dist/components/FormRepeater/index.d.ts.map +1 -0
- package/dist/components/FormRepeater/types/index.d.ts +29 -0
- package/dist/components/FormRepeater/types/index.d.ts.map +1 -0
- package/dist/components/Select/Single/SearchSelect/SearchSelect.d.ts +1 -1
- package/dist/components/Select/Single/SearchSelect/SearchSelect.d.ts.map +1 -1
- package/dist/components/Select/Single/Select/Select.d.ts +1 -1
- package/dist/components/Select/Single/Select/Select.d.ts.map +1 -1
- package/dist/components/Select/Single/shared/SingleSelectBase.d.ts +1 -1
- package/dist/components/Select/Single/shared/SingleSelectBase.d.ts.map +1 -1
- package/dist/components/Select/Single/shared/SingleSelectBaseTrigger.d.ts +1 -1
- package/dist/components/Select/Single/shared/SingleSelectBaseTrigger.d.ts.map +1 -1
- package/dist/components/Select/Single/shared/types/index.d.ts +1 -0
- package/dist/components/Select/Single/shared/types/index.d.ts.map +1 -1
- package/dist/components/Table/TableBody.d.ts.map +1 -1
- package/dist/components/Table/TableHead.d.ts.map +1 -1
- package/dist/components/Table/TableRow.d.ts.map +1 -1
- package/dist/components/Table/types/index.d.ts +1 -2
- package/dist/components/Table/types/index.d.ts.map +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/shared/types/index.d.ts +2 -1
- package/dist/components/shared/types/index.d.ts.map +1 -1
- package/dist/index-BTH9Q27n.js +2 -0
- package/dist/index-BTH9Q27n.js.map +1 -0
- package/dist/index.es.js +1 -1
- package/dist/{useFilterSelectOptionPanel-0L_9PsXD.js → useFilterSelectOptionPanel-v-GQEW8u.js} +2 -2
- package/dist/useFilterSelectOptionPanel-v-GQEW8u.js.map +1 -0
- package/package.json +1 -1
- package/dist/FilterCalendarPanel-CLt8IWjE.js +0 -2
- package/dist/FilterCalendarPanel-CLt8IWjE.js.map +0 -1
- package/dist/FilterCalendarPanel-CwM0y_Qr.js.map +0 -1
- package/dist/FilterCalendarPanel-DEQRln_e.js +0 -2
- package/dist/FilterCalendarPanel-DEQRln_e.js.map +0 -1
- package/dist/FilterCalendarPanel-ontNv1n0.js +0 -2
- package/dist/FilterCalendarPanel-ontNv1n0.js.map +0 -1
- package/dist/FilterMultiSelectPanel--su7glyX.js.map +0 -1
- package/dist/FilterMultiSelectPanel-AHR5LuTQ.js +0 -2
- package/dist/FilterMultiSelectPanel-AHR5LuTQ.js.map +0 -1
- package/dist/FilterMultiSelectPanel-CVyICb54.js +0 -2
- package/dist/FilterMultiSelectPanel-CVyICb54.js.map +0 -1
- package/dist/FilterMultiSelectPanel-CqYtkmVx.js +0 -2
- package/dist/FilterMultiSelectPanel-CqYtkmVx.js.map +0 -1
- package/dist/FilterSelectOptionPanel-BnooYJhk.js.map +0 -1
- package/dist/FilterSelectOptionPanel-D_5dyJxw.js +0 -2
- package/dist/FilterSelectOptionPanel-D_5dyJxw.js.map +0 -1
- package/dist/FilterSelectOptionPanel-MyMj76WS.js +0 -2
- package/dist/FilterSelectOptionPanel-MyMj76WS.js.map +0 -1
- package/dist/FilterSelectOptionPanel-vlTQeMaA.js +0 -2
- package/dist/FilterSelectOptionPanel-vlTQeMaA.js.map +0 -1
- package/dist/components/Calendar/hooks/effects/useCalendarSyncExternalValueEffect.d.ts +0 -4
- package/dist/components/Calendar/hooks/effects/useCalendarSyncExternalValueEffect.d.ts.map +0 -1
- package/dist/components/Select/Multi/shared/hooks/effects/useMultiSelectBaseInitialOptionsEffect.d.ts +0 -4
- package/dist/components/Select/Multi/shared/hooks/effects/useMultiSelectBaseInitialOptionsEffect.d.ts.map +0 -1
- package/dist/index-B2PCSwsw.js +0 -1034
- package/dist/index-B2PCSwsw.js.map +0 -1
- package/dist/index-BPmOngUD.js +0 -1034
- package/dist/index-BPmOngUD.js.map +0 -1
- package/dist/index-CmFoioiH.js +0 -1034
- package/dist/index-CmFoioiH.js.map +0 -1
- package/dist/index-DD9BI4Hu.js +0 -2
- package/dist/index-DD9BI4Hu.js.map +0 -1
- package/dist/useFilterSelectOptionPanel-0L_9PsXD.js.map +0 -1
- package/dist/useFilterSelectOptionPanel-CJe5Y6EL.js +0 -2
- package/dist/useFilterSelectOptionPanel-CJe5Y6EL.js.map +0 -1
- package/dist/useFilterSelectOptionPanel-CKEThBnL.js +0 -2
- package/dist/useFilterSelectOptionPanel-CKEThBnL.js.map +0 -1
- package/dist/useFilterSelectOptionPanel-DnKejkSv.js +0 -2
- package/dist/useFilterSelectOptionPanel-DnKejkSv.js.map +0 -1
- /package/dist/components/Filter/{FIlterHeaderCloseButton.d.ts → FilterHeaderCloseButton.d.ts} +0 -0
- /package/dist/components/Filter/{FIlterHeaderCloseButton.d.ts.map → FilterHeaderCloseButton.d.ts.map} +0 -0
- /package/dist/components/Filter/{FIlterHeaderMobileCloseButton.d.ts → FilterHeaderMobileCloseButton.d.ts} +0 -0
- /package/dist/components/Filter/{FIlterHeaderMobileCloseButton.d.ts.map → FilterHeaderMobileCloseButton.d.ts.map} +0 -0
- /package/dist/components/Filter/{FIlterHeaderTitle.d.ts → FilterHeaderTitle.d.ts} +0 -0
- /package/dist/components/Filter/{FIlterHeaderTitle.d.ts.map → FilterHeaderTitle.d.ts.map} +0 -0
- /package/dist/components/Filter/{FIlterMultiSelectButton.d.ts → FilterMultiSelectButton.d.ts} +0 -0
- /package/dist/components/Filter/{FIlterMultiSelectButton.d.ts.map → FilterMultiSelectButton.d.ts.map} +0 -0
- /package/dist/components/Filter/context/{useFIlterPanelContext.d.ts → useFilterPanelContext.d.ts} +0 -0
- /package/dist/components/Filter/context/{useFIlterPanelContext.d.ts.map → useFilterPanelContext.d.ts.map} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsx as e,jsxs as a}from"react/jsx-runtime";import{useId as t}from"react";import{g as n,i as l,h as r,j as o,b as s,k as i}from"./index-
|
|
2
|
-
//# sourceMappingURL=FilterCalendarPanel-
|
|
1
|
+
import{jsx as e,jsxs as a}from"react/jsx-runtime";import{useId as t}from"react";import{g as n,i as l,h as r,j as o,b as s,k as i}from"./index-BTH9Q27n.js";import"@bbodek/utils";import{F as m,u}from"./useFilterSelectOptionPanel-v-GQEW8u.js";import"react-dom";import"@bbodek/hooks";const d=()=>{const{variant:a,internalValue:t,handleChange:r}=n(),o=!l({value:t,variant:a});return e(m,{onClick:r,disabled:o})},c=({variant:n})=>{const l=t(),m=t(),{models:{calendarValue:c},operations:{onChange:h}}=(()=>{const{models:{value:e},operations:{handleChange:a}}=u(),{startDate:t,endDate:n}=null!==e?r({value:e}):{startDate:null,endDate:null};return{models:{calendarValue:null!==e?{startDate:t,endDate:n}:null},operations:{onChange:e=>{const t=e?[`${e.startDate}~${e.endDate}`]:null;a({value:t})}}}})();return e(o,{value:c,variant:n,onChange:h,children:a(s,{direction:"column",className:"in-tablet:min-w-[23.75rem] mx-auto w-[22.5rem] justify-between overflow-hidden",children:[e(i,{className:"in-tablet:min-h-[34svh-3.75rem] in-tablet:max-h-[46svh-3.75rem] mx-auto h-[100svh-4rem]",id:m,labelId:l}),e(d,{})]})})};export{c as default};
|
|
2
|
+
//# sourceMappingURL=FilterCalendarPanel-BeG-PaQN.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FilterCalendarPanel-BeG-PaQN.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsx as e,jsxs as a}from"react/jsx-runtime";import{useId as l}from"react";import{F as o,u as t}from"./useFilterSelectOptionPanel-
|
|
2
|
-
//# sourceMappingURL=FilterMultiSelectPanel
|
|
1
|
+
import{jsx as e,jsxs as a}from"react/jsx-runtime";import{useId as l}from"react";import{F as o,u as t}from"./useFilterSelectOptionPanel-v-GQEW8u.js";import{a as n,M as s,b as i,c as r,e as m,f as c}from"./index-BTH9Q27n.js";import"react-dom";import"@bbodek/hooks";import"@bbodek/utils";const u=()=>{const{onChange:a,onSearch:l,internalOptions:t}=n();return e(o,{onClick:()=>{l({value:null}),a()},disabled:0===t.length||void 0===t.find((({isSelected:e})=>e))})},d=()=>{const o=l(),n=l(),d=l(),{models:{value:p,options:h},operations:{onChange:v}}=(()=>{const{models:{options:e,value:a},operations:{handleChange:l}}=t(),o=e.options.map((({value:e,displayValue:a})=>({value:e,label:a})));return{models:{value:(a??[]).map((e=>({value:e,label:o.find((a=>a.value===e))?.label??""}))),options:o},operations:{onChange:e=>{const a=e?e.map((({value:e})=>e)):null;l({value:a})}}}})();return e(s,{onChange:v,value:p,options:h,selectListResultId:n,selectedListResultId:d,children:a(i,{direction:"column",className:"in-tablet:min-w-[36.25rem] mx-auto w-[22.5rem] flex-1 justify-between overflow-hidden",children:[e(r,{className:"in-tablet:min-h-[calc(34svh-3.75rem)] in-tablet:max-h-[calc(46svh-3.75rem)] h-[100svh-4rem]",labelId:o,searchPanel:e(c,{}),selectedPanel:e(m,{})}),e(u,{})]})})};export{d as default};
|
|
2
|
+
//# sourceMappingURL=FilterMultiSelectPanel-9tw7oAJV.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FilterMultiSelectPanel-9tw7oAJV.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsx as t}from"react/jsx-runtime";import{u as r,F as e,d as o,C as s}from"./index-
|
|
2
|
-
//# sourceMappingURL=FilterSelectOptionPanel-
|
|
1
|
+
import{jsx as t}from"react/jsx-runtime";import{u as r,F as e,d as o,C as s}from"./index-BTH9Q27n.js";import"react";import"@bbodek/utils";import"react-dom";import"@bbodek/hooks";const a=o((()=>import("./FilterMultiSelectPanel-9tw7oAJV.js")),{ssr:!1}),i=o((()=>import("./FilterCalendarPanel-BeG-PaQN.js")),{ssr:!1}),m=()=>{const{currentOptions:o}=r(),{type:m}=o;return{[e.MULTI_SELECT]:t(a,{}),[e.DATE_SINGLE]:t(i,{variant:s.SINGLE}),[e.DATE_RANGE]:t(i,{variant:s.RANGE})}[m]};export{m as default};
|
|
2
|
+
//# sourceMappingURL=FilterSelectOptionPanel-CuNLlVDp.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FilterSelectOptionPanel-CuNLlVDp.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Button/IconButton/constants/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AAEvE,eAAO,MAAM,kBAAkB;;;;;CAKrB,CAAC;AAEX,eAAO,MAAM,yBAAyB,EAAE,MAAM,CAAC,eAAe,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Button/IconButton/constants/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AAEvE,eAAO,MAAM,kBAAkB;;;;;CAKrB,CAAC;AAEX,eAAO,MAAM,yBAAyB,EAAE,MAAM,CAAC,eAAe,EAAE,MAAM,CASrE,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
|
+
import { FormRepeaterHeaderContentProps, FormRepeaterProps } from '../../components/FormRepeater/types';
|
|
3
|
+
declare const FormRepeater: {
|
|
4
|
+
<T extends object>({ changedValues, onAdd, onAllReset, className, children, }: PropsWithChildren<FormRepeaterProps<T>>): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
displayName: string;
|
|
6
|
+
Header: ({ children }: PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
HeaderContent: ({ label, required, className, }: FormRepeaterHeaderContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
List: ({ className, children, }: PropsWithChildren<Pick<import("react").HTMLAttributes<HTMLDivElement>, "className">>) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
Item: <T extends object>({ children, onDelete, onReset, changedValue, }: PropsWithChildren<import("../../components/FormRepeater/types").FormRepeaterListItemProps<T>>) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
Input: ({ className, ...inputProps }: Pick<import("../../components/FormRepeater/types").FormRepeaterListItemContentProps, "className"> & Omit<import("..").InputFieldProps, "label" | "required" | "hiddenLabel" | "className">) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
Select: <T extends import("..").SelectValue>({ className, ...selectProps }: Pick<import("../../components/FormRepeater/types").FormRepeaterListItemContentProps, "className"> & PropsWithChildren<Omit<import("..").SelectProps<T>, "label" | "required" | "hiddenLabel" | "className">>) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
Toggle: ({ className, ...toggleProps }: Omit<import("..").ToggleProps, "size" | "className"> & Pick<import("../../components/FormRepeater/types").FormRepeaterListItemContentProps, "className">) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
Radio: ({ className, children, }: PropsWithChildren<import("../../components/FormRepeater/types").FormRepeaterListItemContentProps>) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
Badge: <T extends import("..").BadgeVariant>({ variant, className, ...badgeProps }: import("..").BadgeProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
Text: ({ className, children, }: PropsWithChildren<import("../../components/FormRepeater/types").FormRepeaterListItemContentProps>) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
};
|
|
17
|
+
export default FormRepeater;
|
|
18
|
+
//# sourceMappingURL=FormRepeater.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormRepeater.d.ts","sourceRoot":"","sources":["../../../src/components/FormRepeater/FormRepeater.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,iBAAiB,EAAU,MAAM,OAAO,CAAC;AAe5D,OAAO,EACL,8BAA8B,EAC9B,iBAAiB,EAClB,MAAM,iCAAiC,CAAC;AAIzC,QAAA,MAAM,YAAY;KAAI,CAAC,SAAS,MAAM,8DAMnC,iBAAiB,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC;;;;;;;;;;;;CAuDzC,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { IconButtonProps } from '../../components/Button';
|
|
2
|
+
import { FormRepeaterListItemActionsContentProps } from '../../components/FormRepeater/types';
|
|
3
|
+
declare const FormRepeaterDeleteButton: ({ isChanged, onClick, }: Pick<FormRepeaterListItemActionsContentProps, "isChanged"> & Pick<IconButtonProps, "onClick">) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export default FormRepeaterDeleteButton;
|
|
5
|
+
//# sourceMappingURL=FormRepeaterDeleteButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormRepeaterDeleteButton.d.ts","sourceRoot":"","sources":["../../../src/components/FormRepeater/FormRepeaterDeleteButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAElE,OAAO,EAAE,uCAAuC,EAAE,MAAM,iCAAiC,CAAC;AAE1F,QAAA,MAAM,wBAAwB,GAAI,yBAG/B,IAAI,CAAC,uCAAuC,EAAE,WAAW,CAAC,GAC3D,IAAI,CAAC,eAAe,EAAE,SAAS,CAAC,4CAajC,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { FormRepeaterFooterProps } from '../../components/FormRepeater/types';
|
|
2
|
+
declare const FormRepeaterFooter: ({ onAllReset, changedRowsCount, }: FormRepeaterFooterProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default FormRepeaterFooter;
|
|
4
|
+
//# sourceMappingURL=FormRepeaterFooter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormRepeaterFooter.d.ts","sourceRoot":"","sources":["../../../src/components/FormRepeater/FormRepeaterFooter.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;AAG1E,QAAA,MAAM,kBAAkB,GAAI,mCAGzB,uBAAuB,4CAezB,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormRepeaterHeader.d.ts","sourceRoot":"","sources":["../../../src/components/FormRepeater/FormRepeaterHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE1C,QAAA,MAAM,kBAAkB,GAAI,cAAc,iBAAiB,4CAE1D,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { FormRepeaterHeaderContentProps } from '../../components/FormRepeater/types';
|
|
2
|
+
declare const FormRepeaterHeaderContent: ({ label, required, className, }: FormRepeaterHeaderContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default FormRepeaterHeaderContent;
|
|
4
|
+
//# sourceMappingURL=FormRepeaterHeaderContent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormRepeaterHeaderContent.d.ts","sourceRoot":"","sources":["../../../src/components/FormRepeater/FormRepeaterHeaderContent.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,8BAA8B,EAAE,MAAM,iCAAiC,CAAC;AAGjF,QAAA,MAAM,yBAAyB,GAAI,iCAIhC,8BAA8B,4CAYhC,CAAC;AAEF,eAAe,yBAAyB,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { HTMLAttributes, PropsWithChildren } from 'react';
|
|
2
|
+
declare const FormRepeaterBody: ({ className, children, }: PropsWithChildren<Pick<HTMLAttributes<HTMLDivElement>, "className">>) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default FormRepeaterBody;
|
|
4
|
+
//# sourceMappingURL=FormRepeaterList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormRepeaterList.d.ts","sourceRoot":"","sources":["../../../src/components/FormRepeater/FormRepeaterList.tsx"],"names":[],"mappings":"AACA,OAAO,EAAY,cAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAKpE,QAAA,MAAM,gBAAgB,GAAI,0BAGvB,iBAAiB,CAAC,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,WAAW,CAAC,CAAC,4CAUtE,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
|
+
import { FormRepeaterListItemProps } from '../../components/FormRepeater/types';
|
|
3
|
+
declare const FormRepeaterListItem: <T extends object>({ children, onDelete, onReset, changedValue, }: PropsWithChildren<FormRepeaterListItemProps<T>>) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export default FormRepeaterListItem;
|
|
5
|
+
//# sourceMappingURL=FormRepeaterListItem.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormRepeaterListItem.d.ts","sourceRoot":"","sources":["../../../src/components/FormRepeater/FormRepeaterListItem.tsx"],"names":[],"mappings":"AACA,OAAO,EAA4B,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAKpE,OAAO,EAEL,yBAAyB,EAC1B,MAAM,iCAAiC,CAAC;AAGzC,QAAA,MAAM,oBAAoB,GAAI,CAAC,SAAS,MAAM,EAAE,gDAK7C,iBAAiB,CAAC,yBAAyB,CAAC,CAAC,CAAC,CAAC,4CAgDjD,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { FormRepeaterListItemActionsContentProps } from '../../components/FormRepeater/types';
|
|
2
|
+
declare const FormRepeaterListItemActionsContent: ({ isChanged, isAdded, onDelete, onReset, }: FormRepeaterListItemActionsContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default FormRepeaterListItemActionsContent;
|
|
4
|
+
//# sourceMappingURL=FormRepeaterListItemActionsContent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormRepeaterListItemActionsContent.d.ts","sourceRoot":"","sources":["../../../src/components/FormRepeater/FormRepeaterListItemActionsContent.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,uCAAuC,EAAE,MAAM,iCAAiC,CAAC;AAE1F,QAAA,MAAM,kCAAkC,GAAI,4CAKzC,uCAAuC,4CAwBzC,CAAC;AAEF,eAAe,kCAAkC,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { BadgeProps, BadgeVariant } from '../../components/Badge';
|
|
2
|
+
declare const FormRepeaterListItemBadgeContent: <T extends BadgeVariant>({ variant, className, ...badgeProps }: BadgeProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default FormRepeaterListItemBadgeContent;
|
|
4
|
+
//# sourceMappingURL=FormRepeaterListItemBadgeContent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormRepeaterListItemBadgeContent.d.ts","sourceRoot":"","sources":["../../../src/components/FormRepeater/FormRepeaterListItemBadgeContent.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGL,UAAU,EACV,YAAY,EACb,MAAM,oBAAoB,CAAC;AAG5B,QAAA,MAAM,gCAAgC,GAAI,CAAC,SAAS,YAAY,EAAE,uCAI/D,UAAU,CAAC,CAAC,CAAC,4CAMf,CAAC;AAEF,eAAe,gCAAgC,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
|
+
import { FormRepeaterListItemContentProps } from '../../components/FormRepeater/types';
|
|
3
|
+
declare const FormRepeaterListItemContent: ({ className, children, }: PropsWithChildren<FormRepeaterListItemContentProps>) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export default FormRepeaterListItemContent;
|
|
5
|
+
//# sourceMappingURL=FormRepeaterListItemContent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormRepeaterListItemContent.d.ts","sourceRoot":"","sources":["../../../src/components/FormRepeater/FormRepeaterListItemContent.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAI1C,OAAO,EAAE,gCAAgC,EAAE,MAAM,iCAAiC,CAAC;AAEnF,QAAA,MAAM,2BAA2B,GAAI,0BAGlC,iBAAiB,CAAC,gCAAgC,CAAC,4CAQrD,CAAC;AAEF,eAAe,2BAA2B,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
|
+
import { FormRepeaterListItemContentProps } from '../../components/FormRepeater/types';
|
|
3
|
+
declare const FormRepeaterListItemContentBase: ({ className, children, }: PropsWithChildren<FormRepeaterListItemContentProps>) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export default FormRepeaterListItemContentBase;
|
|
5
|
+
//# sourceMappingURL=FormRepeaterListItemContentBase.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormRepeaterListItemContentBase.d.ts","sourceRoot":"","sources":["../../../src/components/FormRepeater/FormRepeaterListItemContentBase.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAI1C,OAAO,EAAE,gCAAgC,EAAE,MAAM,iCAAiC,CAAC;AAEnF,QAAA,MAAM,+BAA+B,GAAI,0BAGtC,iBAAiB,CAAC,gCAAgC,CAAC,4CAerD,CAAC;AAEF,eAAe,+BAA+B,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { FormRepeaterListItemContentProps } from '../../components/FormRepeater/types';
|
|
2
|
+
import { InputFieldProps } from '../../components/Input';
|
|
3
|
+
declare const FormRepeaterListItemInputContent: ({ className, ...inputProps }: Pick<FormRepeaterListItemContentProps, "className"> & Omit<InputFieldProps, "label" | "required" | "hiddenLabel" | "className">) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export default FormRepeaterListItemInputContent;
|
|
5
|
+
//# sourceMappingURL=FormRepeaterListItemInputContent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormRepeaterListItemInputContent.d.ts","sourceRoot":"","sources":["../../../src/components/FormRepeater/FormRepeaterListItemInputContent.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,gCAAgC,EAAE,MAAM,iCAAiC,CAAC;AACnF,OAAO,EAAc,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAEjE,QAAA,MAAM,gCAAgC,GAAI,8BAGvC,IAAI,CAAC,gCAAgC,EAAE,WAAW,CAAC,GACpD,IAAI,CACF,eAAe,EACf,OAAO,GAAG,UAAU,GAAG,aAAa,GAAG,WAAW,CACnD,4CAcF,CAAC;AAEF,eAAe,gCAAgC,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
|
+
import { FormRepeaterListItemContentProps } from '../../components/FormRepeater/types';
|
|
3
|
+
declare const FormRepeaterListItemRadioContent: ({ className, children, }: PropsWithChildren<FormRepeaterListItemContentProps>) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export default FormRepeaterListItemRadioContent;
|
|
5
|
+
//# sourceMappingURL=FormRepeaterListItemRadioContent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormRepeaterListItemRadioContent.d.ts","sourceRoot":"","sources":["../../../src/components/FormRepeater/FormRepeaterListItemRadioContent.tsx"],"names":[],"mappings":"AACA,OAAO,EAIL,iBAAiB,EAClB,MAAM,OAAO,CAAC;AAGf,OAAO,EAAE,gCAAgC,EAAE,MAAM,iCAAiC,CAAC;AAGnF,QAAA,MAAM,gCAAgC,GAAI,0BAGvC,iBAAiB,CAAC,gCAAgC,CAAC,4CAYrD,CAAC;AAEF,eAAe,gCAAgC,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
|
+
import { FormRepeaterListItemContentProps } from '../../components/FormRepeater/types';
|
|
3
|
+
import { SelectProps, SelectValue } from '../../components/Select';
|
|
4
|
+
declare const FormRepeaterListItemSelectContent: <T extends SelectValue>({ className, ...selectProps }: Pick<FormRepeaterListItemContentProps, "className"> & PropsWithChildren<Omit<SelectProps<T>, "label" | "required" | "hiddenLabel" | "className">>) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export default FormRepeaterListItemSelectContent;
|
|
6
|
+
//# sourceMappingURL=FormRepeaterListItemSelectContent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormRepeaterListItemSelectContent.d.ts","sourceRoot":"","sources":["../../../src/components/FormRepeater/FormRepeaterListItemSelectContent.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAI1C,OAAO,EAAE,gCAAgC,EAAE,MAAM,iCAAiC,CAAC;AACnF,OAAO,EAAU,WAAW,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAEvE,QAAA,MAAM,iCAAiC,GAAI,CAAC,SAAS,WAAW,EAAE,+BAG/D,IAAI,CAAC,gCAAgC,EAAE,WAAW,CAAC,GACpD,iBAAiB,CACf,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,OAAO,GAAG,UAAU,GAAG,aAAa,GAAG,WAAW,CAAC,CACzE,4CAeF,CAAC;AAEF,eAAe,iCAAiC,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
|
+
import { FormRepeaterListItemContentProps } from '../../components/FormRepeater/types';
|
|
3
|
+
declare const FormRepeaterListItemTextContent: ({ className, children, }: PropsWithChildren<FormRepeaterListItemContentProps>) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export default FormRepeaterListItemTextContent;
|
|
5
|
+
//# sourceMappingURL=FormRepeaterListItemTextContent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormRepeaterListItemTextContent.d.ts","sourceRoot":"","sources":["../../../src/components/FormRepeater/FormRepeaterListItemTextContent.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAG1C,OAAO,EAAE,gCAAgC,EAAE,MAAM,iCAAiC,CAAC;AAGnF,QAAA,MAAM,+BAA+B,GAAI,0BAGtC,iBAAiB,CAAC,gCAAgC,CAAC,4CAQrD,CAAC;AAEF,eAAe,+BAA+B,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { FormRepeaterListItemContentProps } from '../../components/FormRepeater/types';
|
|
2
|
+
import { ToggleProps } from '../../components/Toggle';
|
|
3
|
+
declare const FormRepeaterListItemToggleContent: ({ className, ...toggleProps }: Omit<ToggleProps, "size" | "className"> & Pick<FormRepeaterListItemContentProps, "className">) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export default FormRepeaterListItemToggleContent;
|
|
5
|
+
//# sourceMappingURL=FormRepeaterListItemToggleContent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormRepeaterListItemToggleContent.d.ts","sourceRoot":"","sources":["../../../src/components/FormRepeater/FormRepeaterListItemToggleContent.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,gCAAgC,EAAE,MAAM,iCAAiC,CAAC;AACnF,OAAO,EAAwB,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAExE,QAAA,MAAM,iCAAiC,GAAI,+BAGxC,IAAI,CAAC,WAAW,EAAE,MAAM,GAAG,WAAW,CAAC,GACxC,IAAI,CAAC,gCAAgC,EAAE,WAAW,CAAC,4CAMpD,CAAC;AAEF,eAAe,iCAAiC,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { IconButtonProps } from '../../components/Button';
|
|
2
|
+
import { FormRepeaterListItemActionsContentProps } from '../../components/FormRepeater/types';
|
|
3
|
+
declare const FormRepeaterResetButton: ({ isChanged, isAdded, onClick, }: Pick<FormRepeaterListItemActionsContentProps, "isChanged" | "isAdded"> & Pick<IconButtonProps, "onClick">) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export default FormRepeaterResetButton;
|
|
5
|
+
//# sourceMappingURL=FormRepeaterResetButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormRepeaterResetButton.d.ts","sourceRoot":"","sources":["../../../src/components/FormRepeater/FormRepeaterResetButton.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAc,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAClE,OAAO,EAAE,uCAAuC,EAAE,MAAM,iCAAiC,CAAC;AAE1F,QAAA,MAAM,uBAAuB,GAAI,kCAI9B,IAAI,CAAC,uCAAuC,EAAE,WAAW,GAAG,SAAS,CAAC,GACvE,IAAI,CAAC,eAAe,EAAE,SAAS,CAAC,4CAUjC,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/FormRepeater/constants/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qCAAqC,aAAa,CAAC;AAEhE,eAAO,MAAM,iCAAiC,4CACH,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
|
+
import { FormRepeaterContextProps, FormRepeaterProviderProps } from '../../../components/FormRepeater/context/types';
|
|
3
|
+
export declare const FormRepeaterContextProvider: ({ listRef: bodyRef, columns, children, }: PropsWithChildren<FormRepeaterProviderProps>) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export declare const useFormRepeaterContext: () => FormRepeaterContextProps;
|
|
5
|
+
//# sourceMappingURL=FormRepeaterContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormRepeaterContext.d.ts","sourceRoot":"","sources":["../../../../src/components/FormRepeater/context/FormRepeaterContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,iBAAiB,EAAc,MAAM,OAAO,CAAC;AAErE,OAAO,EACL,wBAAwB,EACxB,yBAAyB,EAC1B,MAAM,yCAAyC,CAAC;AAMjD,eAAO,MAAM,2BAA2B,GAAI,0CAIzC,iBAAiB,CAAC,yBAAyB,CAAC,4CAM9C,CAAC;AAEF,eAAO,MAAM,sBAAsB,gCAUlC,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
|
+
import { FormRepeaterListContextProps, FormRepeaterListProviderProps } from '../../../components/FormRepeater/context/types';
|
|
3
|
+
export declare const FormRepeaterListProvider: ({ itemsCount, children, }: PropsWithChildren<FormRepeaterListProviderProps>) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export declare const useFormRepeaterListContext: () => FormRepeaterListContextProps;
|
|
5
|
+
//# sourceMappingURL=FormRepeaterListContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormRepeaterListContext.d.ts","sourceRoot":"","sources":["../../../../src/components/FormRepeater/context/FormRepeaterListContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,iBAAiB,EAAc,MAAM,OAAO,CAAC;AAErE,OAAO,EACL,4BAA4B,EAC5B,6BAA6B,EAC9B,MAAM,yCAAyC,CAAC;AAMjD,eAAO,MAAM,wBAAwB,GAAI,2BAGtC,iBAAiB,CAAC,6BAA6B,CAAC,4CAMlD,CAAC;AAEF,eAAO,MAAM,0BAA0B,oCAUtC,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
|
+
import { FormRepeaterListItemContentContextProps, FormRepeaterListItemContentProviderProps } from '../../../components/FormRepeater/context/types';
|
|
3
|
+
export declare const FormRepeaterListItemContentProvider: ({ column, children, }: PropsWithChildren<FormRepeaterListItemContentProviderProps>) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export declare const useFormRepeaterListItemContentContext: () => FormRepeaterListItemContentContextProps;
|
|
5
|
+
//# sourceMappingURL=FormRepeaterListItemContentContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormRepeaterListItemContentContext.d.ts","sourceRoot":"","sources":["../../../../src/components/FormRepeater/context/FormRepeaterListItemContentContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,iBAAiB,EAAc,MAAM,OAAO,CAAC;AAErE,OAAO,EACL,uCAAuC,EACvC,wCAAwC,EACzC,MAAM,yCAAyC,CAAC;AAMjD,eAAO,MAAM,mCAAmC,GAAI,uBAGjD,iBAAiB,CAAC,wCAAwC,CAAC,4CAM7D,CAAC;AAEF,eAAO,MAAM,qCAAqC,+CAUjD,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { RefObject } from 'react';
|
|
2
|
+
import { FormRepeaterHeaderContentProps } from '../../../components/FormRepeater/types';
|
|
3
|
+
import { ChildrenElement } from '../../../components/shared';
|
|
4
|
+
export interface FormRepeaterContextProps {
|
|
5
|
+
listRef: RefObject<HTMLUListElement | null>;
|
|
6
|
+
columns: ChildrenElement<FormRepeaterHeaderContentProps>[];
|
|
7
|
+
}
|
|
8
|
+
export interface FormRepeaterProviderProps extends FormRepeaterContextProps {
|
|
9
|
+
}
|
|
10
|
+
export interface FormRepeaterListContextProps {
|
|
11
|
+
itemsCount: number;
|
|
12
|
+
}
|
|
13
|
+
export interface FormRepeaterListProviderProps extends FormRepeaterListContextProps {
|
|
14
|
+
}
|
|
15
|
+
export interface FormRepeaterListItemContentContextProps {
|
|
16
|
+
column: ChildrenElement<FormRepeaterHeaderContentProps>;
|
|
17
|
+
}
|
|
18
|
+
export interface FormRepeaterListItemContentProviderProps extends FormRepeaterListItemContentContextProps {
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/FormRepeater/context/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,OAAO,EAAE,8BAA8B,EAAE,MAAM,iCAAiC,CAAC;AACjF,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAEtD,MAAM,WAAW,wBAAwB;IACvC,OAAO,EAAE,SAAS,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAAC;IAC5C,OAAO,EAAE,eAAe,CAAC,8BAA8B,CAAC,EAAE,CAAC;CAC5D;AAED,MAAM,WAAW,yBAA0B,SAAQ,wBAAwB;CAAG;AAE9E,MAAM,WAAW,4BAA4B;IAC3C,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,6BACf,SAAQ,4BAA4B;CAAG;AAEzC,MAAM,WAAW,uCAAuC;IACtD,MAAM,EAAE,eAAe,CAAC,8BAA8B,CAAC,CAAC;CACzD;AAED,MAAM,WAAW,wCACf,SAAQ,uCAAuC;CAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/FormRepeater/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,iDAAiD,CAAC;AAC7F,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export type UseFormRepeaterValues<T extends object> = T & {
|
|
2
|
+
id: string;
|
|
3
|
+
};
|
|
4
|
+
export interface UseFormRepeaterProps<T extends object> {
|
|
5
|
+
originalValues: UseFormRepeaterValues<T>[];
|
|
6
|
+
values: UseFormRepeaterValues<T>[];
|
|
7
|
+
}
|
|
8
|
+
export interface UseFormRepeaterChangedValue<T extends object> {
|
|
9
|
+
originalValue: UseFormRepeaterValues<T> | null;
|
|
10
|
+
value: UseFormRepeaterValues<T>;
|
|
11
|
+
}
|
|
12
|
+
export interface UseFormRepeaterChangedValues<T extends object> {
|
|
13
|
+
[id: string]: UseFormRepeaterChangedValue<T> | undefined;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/FormRepeater/hooks/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,qBAAqB,CAAC,CAAC,SAAS,MAAM,IAAI,CAAC,GAAG;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,CAAC;AAEzE,MAAM,WAAW,oBAAoB,CAAC,CAAC,SAAS,MAAM;IACpD,cAAc,EAAE,qBAAqB,CAAC,CAAC,CAAC,EAAE,CAAC;IAC3C,MAAM,EAAE,qBAAqB,CAAC,CAAC,CAAC,EAAE,CAAC;CACpC;AAED,MAAM,WAAW,2BAA2B,CAAC,CAAC,SAAS,MAAM;IAC3D,aAAa,EAAE,qBAAqB,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC;IAC/C,KAAK,EAAE,qBAAqB,CAAC,CAAC,CAAC,CAAC;CACjC;AAED,MAAM,WAAW,4BAA4B,CAAC,CAAC,SAAS,MAAM;IAC5D,CAAC,EAAE,EAAE,MAAM,GAAG,2BAA2B,CAAC,CAAC,CAAC,GAAG,SAAS,CAAC;CAC1D"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { UseFormRepeaterChangedValues, UseFormRepeaterProps } from '../../../components/FormRepeater/hooks/types';
|
|
2
|
+
declare const useFormRepeater: <T extends object>({ originalValues, values, }: UseFormRepeaterProps<T>) => {
|
|
3
|
+
isChanged: boolean;
|
|
4
|
+
changedValues: UseFormRepeaterChangedValues<T>;
|
|
5
|
+
};
|
|
6
|
+
export default useFormRepeater;
|
|
7
|
+
//# sourceMappingURL=useFormRepeater.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useFormRepeater.d.ts","sourceRoot":"","sources":["../../../../src/components/FormRepeater/hooks/useFormRepeater.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,4BAA4B,EAC5B,oBAAoB,EACrB,MAAM,uCAAuC,CAAC;AAE/C,QAAA,MAAM,eAAe,GAAI,CAAC,SAAS,MAAM,EAAE,6BAGxC,oBAAoB,CAAC,CAAC,CAAC;;;CAiBzB,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export { default as FormRepeater } from '../../components/FormRepeater/FormRepeater';
|
|
2
|
+
export { default as FormRepeaterHeader } from '../../components/FormRepeater/FormRepeaterHeader';
|
|
3
|
+
export { default as FormRepeaterHeaderContent } from '../../components/FormRepeater/FormRepeaterHeaderContent';
|
|
4
|
+
export { default as FormRepeaterList } from '../../components/FormRepeater/FormRepeaterList';
|
|
5
|
+
export { default as FormRepeaterListItem } from '../../components/FormRepeater/FormRepeaterListItem';
|
|
6
|
+
export { default as FormRepeaterInputContent } from '../../components/FormRepeater/FormRepeaterListItemInputContent';
|
|
7
|
+
export { default as FormRepeaterRadioContent } from '../../components/FormRepeater/FormRepeaterListItemRadioContent';
|
|
8
|
+
export { default as FormRepeaterSelectContent } from '../../components/FormRepeater/FormRepeaterListItemSelectContent';
|
|
9
|
+
export { default as FormRepeaterToggleContent } from '../../components/FormRepeater/FormRepeaterListItemToggleContent';
|
|
10
|
+
export * from './hooks';
|
|
11
|
+
export * from './types';
|
|
12
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/FormRepeater/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,wCAAwC,CAAC;AACjF,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,8CAA8C,CAAC;AAC7F,OAAO,EAAE,OAAO,IAAI,yBAAyB,EAAE,MAAM,qDAAqD,CAAC;AAC3G,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,4CAA4C,CAAC;AACzF,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,gDAAgD,CAAC;AACjG,OAAO,EAAE,OAAO,IAAI,wBAAwB,EAAE,MAAM,4DAA4D,CAAC;AACjH,OAAO,EAAE,OAAO,IAAI,wBAAwB,EAAE,MAAM,4DAA4D,CAAC;AACjH,OAAO,EAAE,OAAO,IAAI,yBAAyB,EAAE,MAAM,6DAA6D,CAAC;AACnH,OAAO,EAAE,OAAO,IAAI,yBAAyB,EAAE,MAAM,6DAA6D,CAAC;AAEnH,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'react';
|
|
2
|
+
import { UseFormRepeaterChangedValue, UseFormRepeaterChangedValues, UseFormRepeaterValues } from '../../../components/FormRepeater/hooks';
|
|
3
|
+
export interface FormRepeaterProps<T extends object> extends Pick<HTMLAttributes<HTMLDivElement>, 'className'>, Partial<Pick<FormRepeaterFooterProps, 'onAllReset'>> {
|
|
4
|
+
changedValues: UseFormRepeaterChangedValues<T>;
|
|
5
|
+
onAdd?: () => void;
|
|
6
|
+
}
|
|
7
|
+
export interface FormRepeaterHeaderContentProps extends Pick<HTMLAttributes<HTMLDivElement>, 'className'> {
|
|
8
|
+
required?: boolean;
|
|
9
|
+
label: string;
|
|
10
|
+
}
|
|
11
|
+
export interface FormRepeaterListItemProps<T extends object> extends Pick<FormRepeaterListItemActionsContentProps, 'onDelete'> {
|
|
12
|
+
changedValue: UseFormRepeaterChangedValue<T> | undefined;
|
|
13
|
+
onReset?: (props: {
|
|
14
|
+
originalValue: UseFormRepeaterValues<T>;
|
|
15
|
+
}) => void;
|
|
16
|
+
}
|
|
17
|
+
export interface FormRepeaterListItemActionsContentProps {
|
|
18
|
+
isChanged: boolean;
|
|
19
|
+
isAdded: boolean;
|
|
20
|
+
onDelete?: () => void;
|
|
21
|
+
onReset?: () => void;
|
|
22
|
+
}
|
|
23
|
+
export interface FormRepeaterListItemContentProps extends Pick<HTMLAttributes<HTMLDivElement>, 'className'> {
|
|
24
|
+
}
|
|
25
|
+
export interface FormRepeaterFooterProps {
|
|
26
|
+
changedRowsCount: number;
|
|
27
|
+
onAllReset: () => void;
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/FormRepeater/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,EACL,2BAA2B,EAC3B,4BAA4B,EAC5B,qBAAqB,EACtB,MAAM,iCAAiC,CAAC;AAEzC,MAAM,WAAW,iBAAiB,CAAC,CAAC,SAAS,MAAM,CACjD,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,WAAW,CAAC,EACvD,OAAO,CAAC,IAAI,CAAC,uBAAuB,EAAE,YAAY,CAAC,CAAC;IACtD,aAAa,EAAE,4BAA4B,CAAC,CAAC,CAAC,CAAC;IAC/C,KAAK,CAAC,EAAE,MAAM,IAAI,CAAC;CACpB;AAED,MAAM,WAAW,8BACf,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,WAAW,CAAC;IACzD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,yBAAyB,CAAC,CAAC,SAAS,MAAM,CACzD,SAAQ,IAAI,CAAC,uCAAuC,EAAE,UAAU,CAAC;IACjE,YAAY,EAAE,2BAA2B,CAAC,CAAC,CAAC,GAAG,SAAS,CAAC;IACzD,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE;QAAE,aAAa,EAAE,qBAAqB,CAAC,CAAC,CAAC,CAAA;KAAE,KAAK,IAAI,CAAC;CACxE;AAED,MAAM,WAAW,uCAAuC;IACtD,SAAS,EAAE,OAAO,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,MAAM,WAAW,gCACf,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,WAAW,CAAC;CAAG;AAE9D,MAAM,WAAW,uBAAuB;IACtC,gBAAgB,EAAE,MAAM,CAAC;IACzB,UAAU,EAAE,MAAM,IAAI,CAAC;CACxB"}
|
|
@@ -2,7 +2,7 @@ import { PropsWithChildren } from 'react';
|
|
|
2
2
|
import { SearchSelectProps } from '../../../../components/Select/Single/SearchSelect/types';
|
|
3
3
|
import { SelectValue } from '../../../../components/Select/Single/shared/types';
|
|
4
4
|
declare const SearchSelect: {
|
|
5
|
-
<T extends SelectValue>({ label, hiddenLabel, badge, children, feedback, className, placeholder, isError, disabled, required, popoverOption, inputOption, onSelect, displayValue, value, }: PropsWithChildren<SearchSelectProps<T>>): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
<T extends SelectValue>({ label, hiddenLabel, badge, children, feedback, className, placeholder, isError, disabled, required, popoverOption, inputOption, onSelect, displayValue, value, useReset, }: PropsWithChildren<SearchSelectProps<T>>): import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
displayName: string;
|
|
7
7
|
Item: <T extends SelectValue>({ children, value, label, }: PropsWithChildren<import("../../../../components/Select/Single/SearchSelect/types").SearchSelectItemProps<T>>) => import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchSelect.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/Single/SearchSelect/SearchSelect.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAKpD,OAAO,EAAE,iBAAiB,EAAE,MAAM,+CAA+C,CAAC;AAKlF,OAAO,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAAC;AAEtE,QAAA,MAAM,YAAY;KAAI,CAAC,SAAS,WAAW,
|
|
1
|
+
{"version":3,"file":"SearchSelect.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/Single/SearchSelect/SearchSelect.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAKpD,OAAO,EAAE,iBAAiB,EAAE,MAAM,+CAA+C,CAAC;AAKlF,OAAO,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAAC;AAEtE,QAAA,MAAM,YAAY;KAAI,CAAC,SAAS,WAAW,gLAiBxC,iBAAiB,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC;;;CAuCzC,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -2,7 +2,7 @@ import { PropsWithChildren } from 'react';
|
|
|
2
2
|
import { SelectProps } from '../../../../components/Select/Single/Select/types';
|
|
3
3
|
import { SelectValue } from '../../../../components/Select/Single/shared/types';
|
|
4
4
|
declare const Select: {
|
|
5
|
-
<T extends SelectValue>({ label, value, badge, children, feedback, className, placeholder, isError, disabled, required, popoverOption, hiddenLabel, onSelect, displayValue, }: PropsWithChildren<SelectProps<T>>): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
<T extends SelectValue>({ label, value, badge, children, feedback, className, placeholder, isError, disabled, required, popoverOption, hiddenLabel, useReset, onSelect, displayValue, }: PropsWithChildren<SelectProps<T>>): import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
displayName: string;
|
|
7
7
|
Item: <T extends SelectValue>({ children, value, label, }: PropsWithChildren<import("../../../../components/Select/Single/Select/types").SelectItemProps<T>>) => import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/Single/Select/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAI1C,OAAO,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAAC;AAKtE,OAAO,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAAC;AAEtE,QAAA,MAAM,MAAM;KAAI,CAAC,SAAS,WAAW,
|
|
1
|
+
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/Single/Select/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAI1C,OAAO,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAAC;AAKtE,OAAO,EAAE,WAAW,EAAE,MAAM,yCAAyC,CAAC;AAEtE,QAAA,MAAM,MAAM;KAAI,CAAC,SAAS,WAAW,mKAgBlC,iBAAiB,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;;;CAuBnC,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropsWithChildren } from 'react';
|
|
2
2
|
import { SelectValue, SingleSelectBaseProps } from '../../../../components/Select/Single/shared/types';
|
|
3
|
-
declare const SingleSelectBase: <T extends SelectValue>({ className, label, popoverOption, disabled, badge, feedback, required, isError, onSelect, value, displayValue, placeholder, type, children, popoverWrapperClassName, hiddenLabel, }: PropsWithChildren<SingleSelectBaseProps<T>>) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare const SingleSelectBase: <T extends SelectValue>({ className, label, popoverOption, disabled, badge, feedback, required, isError, onSelect, value, displayValue, placeholder, type, children, popoverWrapperClassName, hiddenLabel, useReset, }: PropsWithChildren<SingleSelectBaseProps<T>>) => import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
export default SingleSelectBase;
|
|
5
5
|
//# sourceMappingURL=SingleSelectBase.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SingleSelectBase.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/Single/shared/SingleSelectBase.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAS,MAAM,OAAO,CAAC;AAKjD,OAAO,EACL,WAAW,EACX,qBAAqB,EACtB,MAAM,yCAAyC,CAAC;AAEjD,QAAA,MAAM,gBAAgB,GAAI,CAAC,SAAS,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"SingleSelectBase.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/Single/shared/SingleSelectBase.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAS,MAAM,OAAO,CAAC;AAKjD,OAAO,EACL,WAAW,EACX,qBAAqB,EACtB,MAAM,yCAAyC,CAAC;AAEjD,QAAA,MAAM,gBAAgB,GAAI,CAAC,SAAS,WAAW,EAAE,gMAkB9C,iBAAiB,CAAC,qBAAqB,CAAC,CAAC,CAAC,CAAC,4CA6C7C,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { SelectValue, SingleSelectBaseTriggerProps } from '../../../../components/Select/Single/shared/types';
|
|
2
|
-
declare const SingleSelectBaseTrigger: <T extends SelectValue>({ displayValue, disabled, onSelect, }: SingleSelectBaseTriggerProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare const SingleSelectBaseTrigger: <T extends SelectValue>({ displayValue, disabled, onSelect, useReset, }: SingleSelectBaseTriggerProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default SingleSelectBaseTrigger;
|
|
4
4
|
//# sourceMappingURL=SingleSelectBaseTrigger.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SingleSelectBaseTrigger.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/Single/shared/SingleSelectBaseTrigger.tsx"],"names":[],"mappings":"AAGA,OAAO,EACL,WAAW,EACX,4BAA4B,EAC7B,MAAM,yCAAyC,CAAC;AAEjD,QAAA,MAAM,uBAAuB,GAAI,CAAC,SAAS,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"SingleSelectBaseTrigger.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/Single/shared/SingleSelectBaseTrigger.tsx"],"names":[],"mappings":"AAGA,OAAO,EACL,WAAW,EACX,4BAA4B,EAC7B,MAAM,yCAAyC,CAAC;AAEjD,QAAA,MAAM,uBAAuB,GAAI,CAAC,SAAS,WAAW,EAAE,iDAKrD,4BAA4B,CAAC,CAAC,CAAC,4CAiBjC,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
|
|
@@ -8,6 +8,7 @@ export interface SingleSelectBaseProps<T extends SelectValue> extends Pick<Selec
|
|
|
8
8
|
}
|
|
9
9
|
export interface SingleSelectBaseTriggerProps<T extends SelectValue> extends Pick<SingleSelectListContextValue<T>, 'onSelect'>, Pick<SelectBaseProps, 'disabled'> {
|
|
10
10
|
displayValue: SelectValue;
|
|
11
|
+
useReset?: boolean;
|
|
11
12
|
}
|
|
12
13
|
export interface SingleSelectListProviderProps<T extends SelectValue> extends SingleSelectListContextValue<T> {
|
|
13
14
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Select/Single/shared/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EACL,oBAAoB,EACpB,6BAA6B,EAC7B,eAAe,EACf,uBAAuB,EACxB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAEvE,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;AAEjD,MAAM,WAAW,qBAAqB,CAAC,CAAC,SAAS,WAAW,CAC1D,SAAQ,IAAI,CACR,eAAe,EACb,WAAW,GACX,eAAe,GACf,UAAU,GACV,UAAU,GACV,UAAU,GACV,SAAS,GACT,aAAa,GACb,MAAM,CACT,EACD,IAAI,CAAC,cAAc,EAAE,aAAa,CAAC,EACnC,IAAI,CAAC,oBAAoB,EAAE,OAAO,GAAG,OAAO,CAAC,EAC7C,IAAI,CAAC,4BAA4B,CAAC,CAAC,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC,EAC3D,IAAI,CAAC,4BAA4B,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC;IACnD,uBAAuB,EAAE,6BAA6B,CAAC,WAAW,CAAC,CAAC;CACrE;AAED,MAAM,WAAW,4BAA4B,CAAC,CAAC,SAAS,WAAW,CACjE,SAAQ,IAAI,CAAC,4BAA4B,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,EACvD,IAAI,CAAC,eAAe,EAAE,UAAU,CAAC;IACnC,YAAY,EAAE,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Select/Single/shared/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EACL,oBAAoB,EACpB,6BAA6B,EAC7B,eAAe,EACf,uBAAuB,EACxB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAEvE,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;AAEjD,MAAM,WAAW,qBAAqB,CAAC,CAAC,SAAS,WAAW,CAC1D,SAAQ,IAAI,CACR,eAAe,EACb,WAAW,GACX,eAAe,GACf,UAAU,GACV,UAAU,GACV,UAAU,GACV,SAAS,GACT,aAAa,GACb,MAAM,CACT,EACD,IAAI,CAAC,cAAc,EAAE,aAAa,CAAC,EACnC,IAAI,CAAC,oBAAoB,EAAE,OAAO,GAAG,OAAO,CAAC,EAC7C,IAAI,CAAC,4BAA4B,CAAC,CAAC,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC,EAC3D,IAAI,CAAC,4BAA4B,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC;IACnD,uBAAuB,EAAE,6BAA6B,CAAC,WAAW,CAAC,CAAC;CACrE;AAED,MAAM,WAAW,4BAA4B,CAAC,CAAC,SAAS,WAAW,CACjE,SAAQ,IAAI,CAAC,4BAA4B,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,EACvD,IAAI,CAAC,eAAe,EAAE,UAAU,CAAC;IACnC,YAAY,EAAE,WAAW,CAAC;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,6BAA6B,CAAC,CAAC,SAAS,WAAW,CAClE,SAAQ,4BAA4B,CAAC,CAAC,CAAC;CAAG;AAE5C,MAAM,WAAW,0BAA0B,CAAC,CAAC,SAAS,WAAW;IAC/D,KAAK,EAAE,CAAC,CAAC;CACV;AAED,MAAM,WAAW,4BAA4B,CAAC,CAAC,SAAS,WAAW,CACjE,SAAQ,QAAQ,CAAC,IAAI,CAAC,cAAc,CAAC,aAAa,CAAC,EAAE,IAAI,CAAC,CAAC;IAC3D,OAAO,EAAE,uBAAuB,CAAC,IAAI,CAAC,CAAC;IACvC,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,QAAQ,EAAE,CAAC,MAAM,EAAE,0BAA0B,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC;IAC1D,KAAK,EAAE,CAAC,CAAC;CACV;AAED,MAAM,WAAW,yBAAyB,CAAC,CAAC,SAAS,WAAW,CAC9D,SAAQ,IAAI,CAAC,4BAA4B,CAAC,CAAC,CAAC,EAAE,OAAO,CAAC,EACpD,IAAI,CAAC,mBAAmB,EAAE,OAAO,CAAC;CAAG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableBody.d.ts","sourceRoot":"","sources":["../../../src/components/Table/TableBody.tsx"],"names":[],"mappings":"AAEA,OAAO,EAA0B,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAMlE,OAAO,
|
|
1
|
+
{"version":3,"file":"TableBody.d.ts","sourceRoot":"","sources":["../../../src/components/Table/TableBody.tsx"],"names":[],"mappings":"AAEA,OAAO,EAA0B,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAMlE,OAAO,EAAE,cAAc,EAAiB,MAAM,0BAA0B,CAAC;AAUzE,QAAA,MAAM,SAAS,GAAI,0BAGhB,iBAAiB,CAAC,cAAc,CAAC,4CAyBnC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableHead.d.ts","sourceRoot":"","sources":["../../../src/components/Table/TableHead.tsx"],"names":[],"mappings":"AACA,OAAO,EAA0B,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAMlE,OAAO,
|
|
1
|
+
{"version":3,"file":"TableHead.d.ts","sourceRoot":"","sources":["../../../src/components/Table/TableHead.tsx"],"names":[],"mappings":"AACA,OAAO,EAA0B,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAMlE,OAAO,EAAE,cAAc,EAAiB,MAAM,0BAA0B,CAAC;AAGzE,QAAA,MAAM,SAAS,GAAI,0BAGhB,iBAAiB,CAAC,cAAc,CAAC,4CAqBnC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableRow.d.ts","sourceRoot":"","sources":["../../../src/components/Table/TableRow.tsx"],"names":[],"mappings":"AAQA,OAAO,
|
|
1
|
+
{"version":3,"file":"TableRow.d.ts","sourceRoot":"","sources":["../../../src/components/Table/TableRow.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAkB,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAGzE,QAAA,MAAM,QAAQ,GAAI,mCAIf,aAAa,4CAsBf,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { HTMLAttributes,
|
|
1
|
+
import { HTMLAttributes, PropsWithChildren } from 'react';
|
|
2
2
|
import { ButtonProps, IconButtonProps } from '../../../components/Button';
|
|
3
3
|
import { InputFieldProps } from '../../../components/Input';
|
|
4
4
|
import { TABLE_CELL_ROLES, TABLE_ROW_VARIANTS } from '../../../components/Table/constants';
|
|
5
5
|
export type TableRowVariant = (typeof TABLE_ROW_VARIANTS)[keyof typeof TABLE_ROW_VARIANTS];
|
|
6
6
|
export type TableCellRole = (typeof TABLE_CELL_ROLES)[keyof typeof TABLE_CELL_ROLES];
|
|
7
|
-
export type ChildrenElement<T> = ReactElement<T, JSXElementConstructor<T>>;
|
|
8
7
|
export interface TableProps extends Pick<HTMLAttributes<HTMLDivElement>, 'className'> {
|
|
9
8
|
caption?: string;
|
|
10
9
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Table/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Table/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE1D,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACnE,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EACL,gBAAgB,EAChB,kBAAkB,EACnB,MAAM,8BAA8B,CAAC;AAEtC,MAAM,MAAM,eAAe,GACzB,CAAC,OAAO,kBAAkB,CAAC,CAAC,MAAM,OAAO,kBAAkB,CAAC,CAAC;AAE/D,MAAM,MAAM,aAAa,GACvB,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,OAAO,gBAAgB,CAAC,CAAC;AAE3D,MAAM,WAAW,UACf,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,WAAW,CAAC;IACzD,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,cACf,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,WAAW,CAAC;CAAG;AAE9D,MAAM,WAAW,cACf,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,WAAW,CAAC;CAAG;AAE9D,MAAM,WAAW,aACf,SAAQ,iBAAiB,EACvB,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,WAAW,CAAC;IACnD,OAAO,CAAC,EAAE,eAAe,CAAC;CAC3B;AAED,MAAM,WAAW,cACf,SAAQ,iBAAiB,EACvB,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,WAAW,CAAC;IACnD,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,MAAM,WAAW,mBACf,SAAQ,cAAc,EACpB,IAAI,CACF,eAAe,EACb,OAAO,GACP,UAAU,GACV,SAAS,GACT,UAAU,GACV,UAAU,GACV,UAAU,GACV,cAAc,GACd,MAAM,GACN,aAAa,GACb,MAAM,GACN,aAAa,GACb,WAAW,CACd;CAAG;AAER,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,IAAI,CAAC,WAAW,EAAE,MAAM,GAAG,SAAS,CAAC,EAAE,CAAC;CAChD;AAED,MAAM,WAAW,wBAAwB;IACvC,KAAK,EAAE,IAAI,CAAC,eAAe,EAAE,MAAM,GAAG,OAAO,CAAC,EAAE,CAAC;CAClD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,oBAAoB,CAAC;AACnC,cAAc,QAAQ,CAAC;AACvB,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,OAAO,CAAC;AACtB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAE7B,OAAO,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAC;AACpD,YAAY,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,QAAQ,CAAC;AACvB,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,OAAO,CAAC;AACtB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAE7B,OAAO,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAC;AACpD,YAAY,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC"}
|