@bbodek/internal-ui 0.0.58 → 0.0.60
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-B7j7R2Md.js +2 -0
- package/dist/FilterCalendarPanel-B7j7R2Md.js.map +1 -0
- package/dist/FilterMultiSelectPanel-COHFqY-i.js +2 -0
- package/dist/FilterMultiSelectPanel-COHFqY-i.js.map +1 -0
- package/dist/FilterSelectOptionPanel-LVF4VZUy.js +2 -0
- package/dist/FilterSelectOptionPanel-LVF4VZUy.js.map +1 -0
- package/dist/StepDialogConfirmModal-Cw9n1G81.js +2 -0
- package/dist/StepDialogConfirmModal-Cw9n1G81.js.map +1 -0
- package/dist/StepFullScreenDialogConfirmBottomSheet-BCIPGNl_.js +2 -0
- package/dist/StepFullScreenDialogConfirmBottomSheet-BCIPGNl_.js.map +1 -0
- package/dist/components/Button/IconButton/IconButton.d.ts.map +1 -1
- package/dist/components/Dialog/StepDialog/StepDialog.d.ts +4 -0
- package/dist/components/Dialog/StepDialog/StepDialog.d.ts.map +1 -0
- package/dist/components/Dialog/StepDialog/StepDialogConfirmModal/StepDialogConfirmModal.d.ts +4 -0
- package/dist/components/Dialog/StepDialog/StepDialogConfirmModal/StepDialogConfirmModal.d.ts.map +1 -0
- package/dist/components/Dialog/StepDialog/StepDialogConfirmModal/hooks/useStepDialogConfirmModal.d.ts +5 -0
- package/dist/components/Dialog/StepDialog/StepDialogConfirmModal/hooks/useStepDialogConfirmModal.d.ts.map +1 -0
- package/dist/components/Dialog/StepDialog/index.d.ts +2 -0
- package/dist/components/Dialog/StepDialog/index.d.ts.map +1 -0
- package/dist/components/Dialog/index.d.ts +1 -0
- package/dist/components/Dialog/index.d.ts.map +1 -1
- package/dist/components/Dialog/shared/DialogFooter.d.ts.map +1 -1
- package/dist/components/Dialog/shared/constants.d.ts +2 -0
- package/dist/components/Dialog/shared/constants.d.ts.map +1 -0
- package/dist/components/Dialog/shared/types/index.d.ts +2 -1
- package/dist/components/Dialog/shared/types/index.d.ts.map +1 -1
- package/dist/components/FullScreenDialog/FormFullScreenDialog/FormFullScreenDialog.d.ts.map +1 -1
- package/dist/components/FullScreenDialog/FormFullScreenDialog/FormFullScreenDialogFooter.d.ts +4 -0
- package/dist/components/FullScreenDialog/FormFullScreenDialog/FormFullScreenDialogFooter.d.ts.map +1 -0
- package/dist/components/FullScreenDialog/StepFullScreenDialog/StepFullScreenDialog.d.ts +4 -0
- package/dist/components/FullScreenDialog/StepFullScreenDialog/StepFullScreenDialog.d.ts.map +1 -0
- package/dist/components/FullScreenDialog/StepFullScreenDialog/StepFullScreenDialogConfirmBottomSheet/StepFullScreenDialogConfirmBottomSheet.d.ts +4 -0
- package/dist/components/FullScreenDialog/StepFullScreenDialog/StepFullScreenDialogConfirmBottomSheet/StepFullScreenDialogConfirmBottomSheet.d.ts.map +1 -0
- package/dist/components/FullScreenDialog/StepFullScreenDialog/StepFullScreenDialogConfirmBottomSheet/hooks/useStepFullScreenDialogConfirmBottomSheet.d.ts +5 -0
- package/dist/components/FullScreenDialog/StepFullScreenDialog/StepFullScreenDialogConfirmBottomSheet/hooks/useStepFullScreenDialogConfirmBottomSheet.d.ts.map +1 -0
- package/dist/components/FullScreenDialog/StepFullScreenDialog/index.d.ts +2 -0
- package/dist/components/FullScreenDialog/StepFullScreenDialog/index.d.ts.map +1 -0
- package/dist/components/FullScreenDialog/index.d.ts +1 -0
- package/dist/components/FullScreenDialog/index.d.ts.map +1 -1
- package/dist/components/FullScreenDialog/shared/constants.d.ts +2 -0
- package/dist/components/FullScreenDialog/shared/constants.d.ts.map +1 -0
- package/dist/components/ResponsibleDialog/ResponsibleStepDialog/ResponsibleStepDialog.d.ts +5 -0
- package/dist/components/ResponsibleDialog/ResponsibleStepDialog/ResponsibleStepDialog.d.ts.map +1 -0
- package/dist/components/ResponsibleDialog/ResponsibleStepDialog/index.d.ts +2 -0
- package/dist/components/ResponsibleDialog/ResponsibleStepDialog/index.d.ts.map +1 -0
- package/dist/components/ResponsibleDialog/ResponsibleStepDialog/types.d.ts +7 -0
- package/dist/components/ResponsibleDialog/ResponsibleStepDialog/types.d.ts.map +1 -0
- package/dist/components/ResponsibleDialog/index.d.ts +2 -0
- package/dist/components/ResponsibleDialog/index.d.ts.map +1 -0
- package/dist/components/Table/Table.d.ts +1 -0
- package/dist/components/Table/Table.d.ts.map +1 -1
- package/dist/components/Table/TableLinkRow.d.ts +4 -0
- package/dist/components/Table/TableLinkRow.d.ts.map +1 -0
- package/dist/components/Table/TableRow.d.ts.map +1 -1
- package/dist/components/Table/constants/index.d.ts +4 -3
- package/dist/components/Table/constants/index.d.ts.map +1 -1
- package/dist/components/Table/index.d.ts +1 -0
- package/dist/components/Table/index.d.ts.map +1 -1
- package/dist/components/Table/types/index.d.ts +4 -1
- package/dist/components/Table/types/index.d.ts.map +1 -1
- package/dist/components/Table/utils/renderTableCells.d.ts +4 -0
- package/dist/components/Table/utils/renderTableCells.d.ts.map +1 -0
- package/dist/components/index.d.ts +3 -2
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/shared/components/DialogOverlay/StepDialog/StepDialogConfirmButton.d.ts +4 -0
- package/dist/components/shared/components/DialogOverlay/StepDialog/StepDialogConfirmButton.d.ts.map +1 -0
- package/dist/components/shared/components/DialogOverlay/StepDialog/StepDialogFooter.d.ts +4 -0
- package/dist/components/shared/components/DialogOverlay/StepDialog/StepDialogFooter.d.ts.map +1 -0
- package/dist/components/shared/components/DialogOverlay/StepDialog/StepDialogPreviousButton.d.ts +4 -0
- package/dist/components/shared/components/DialogOverlay/StepDialog/StepDialogPreviousButton.d.ts.map +1 -0
- package/dist/components/shared/components/DialogOverlay/StepDialog/hooks/effects/index.d.ts +3 -0
- package/dist/components/shared/components/DialogOverlay/StepDialog/hooks/effects/index.d.ts.map +1 -0
- package/dist/components/shared/components/DialogOverlay/StepDialog/hooks/effects/types.d.ts +7 -0
- package/dist/components/shared/components/DialogOverlay/StepDialog/hooks/effects/types.d.ts.map +1 -0
- package/dist/components/shared/components/DialogOverlay/StepDialog/hooks/effects/useInitialStepEffect.d.ts +4 -0
- package/dist/components/shared/components/DialogOverlay/StepDialog/hooks/effects/useInitialStepEffect.d.ts.map +1 -0
- package/dist/components/shared/components/DialogOverlay/StepDialog/hooks/index.d.ts +4 -0
- package/dist/components/shared/components/DialogOverlay/StepDialog/hooks/index.d.ts.map +1 -0
- package/dist/components/shared/components/DialogOverlay/StepDialog/hooks/types.d.ts +14 -0
- package/dist/components/shared/components/DialogOverlay/StepDialog/hooks/types.d.ts.map +1 -0
- package/dist/components/shared/components/DialogOverlay/StepDialog/hooks/useStepDialog.d.ts +12 -0
- package/dist/components/shared/components/DialogOverlay/StepDialog/hooks/useStepDialog.d.ts.map +1 -0
- package/dist/components/shared/components/DialogOverlay/StepDialog/index.d.ts +6 -0
- package/dist/components/shared/components/DialogOverlay/StepDialog/index.d.ts.map +1 -0
- package/dist/components/shared/components/DialogOverlay/StepDialog/types.d.ts +33 -0
- package/dist/components/shared/components/DialogOverlay/StepDialog/types.d.ts.map +1 -0
- package/dist/components/shared/components/DialogOverlay/index.d.ts +1 -0
- package/dist/components/shared/components/DialogOverlay/index.d.ts.map +1 -1
- package/dist/components/shared/components/Overlay/{OverlayFooter.d.ts → OverlayFooter/OverlayFooter.d.ts} +1 -1
- package/dist/components/shared/components/Overlay/OverlayFooter/OverlayFooter.d.ts.map +1 -0
- package/dist/components/shared/components/Overlay/OverlayFooter/OverlayFooterCancelButton.d.ts +5 -0
- package/dist/components/shared/components/Overlay/OverlayFooter/OverlayFooterCancelButton.d.ts.map +1 -0
- package/dist/components/shared/components/Overlay/OverlayFooter/OverlayFooterConfirmButton.d.ts +5 -0
- package/dist/components/shared/components/Overlay/OverlayFooter/OverlayFooterConfirmButton.d.ts.map +1 -0
- package/dist/components/shared/components/Overlay/OverlayFooter/OverlayFooterWrapper.d.ts +5 -0
- package/dist/components/shared/components/Overlay/OverlayFooter/OverlayFooterWrapper.d.ts.map +1 -0
- package/dist/components/shared/components/Overlay/OverlayFooter/index.d.ts +6 -0
- package/dist/components/shared/components/Overlay/OverlayFooter/index.d.ts.map +1 -0
- package/dist/components/shared/components/Overlay/OverlayFooter/types.d.ts +29 -0
- package/dist/components/shared/components/Overlay/OverlayFooter/types.d.ts.map +1 -0
- package/dist/components/shared/components/Overlay/index.d.ts +2 -2
- package/dist/components/shared/components/Overlay/index.d.ts.map +1 -1
- package/dist/components/shared/components/Overlay/types/index.d.ts +1 -24
- package/dist/components/shared/components/Overlay/types/index.d.ts.map +1 -1
- package/dist/index-DOh6XJxB.js +2 -0
- package/dist/{index-CIqSIv3w.js.map → index-DOh6XJxB.js.map} +1 -1
- package/dist/index.es.js +1 -1
- package/dist/{useFilterSelectOptionPanel-CApbHAW0.js → useFilterSelectOptionPanel-BDZkXJIs.js} +2 -2
- package/dist/useFilterSelectOptionPanel-BDZkXJIs.js.map +1 -0
- package/package.json +9 -7
- package/dist/FilterCalendarPanel-DFpFv13O.js +0 -2
- package/dist/FilterCalendarPanel-DFpFv13O.js.map +0 -1
- package/dist/FilterMultiSelectPanel-CcL7ITTp.js +0 -2
- package/dist/FilterMultiSelectPanel-CcL7ITTp.js.map +0 -1
- package/dist/FilterSelectOptionPanel-DhoApvRI.js +0 -2
- package/dist/FilterSelectOptionPanel-DhoApvRI.js.map +0 -1
- package/dist/components/shared/components/Overlay/OverlayFooter.d.ts.map +0 -1
- package/dist/index-CIqSIv3w.js +0 -2
- package/dist/useFilterSelectOptionPanel-CApbHAW0.js.map +0 -1
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{jsx as e,jsxs as a}from"react/jsx-runtime";import{useId as t}from"react";import{i as n,j as l,k as r,l as o,e as s,m as i}from"./index-DOh6XJxB.js";import"@bbodek/utils";import{F as m,u}from"./useFilterSelectOptionPanel-BDZkXJIs.js";import"react-dom";import"@bbodek/hooks";import"overlay-kit";const d=()=>{const{variant:a,internalValue:t,handleChange:r}=n(),o=!l({value:t,variant:a});return e(m,{disabled:o,onClick:r})},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,{className:"in-tablet:min-w-[23.75rem] mx-auto w-[22.5rem] justify-between overflow-hidden",direction:"column",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-B7j7R2Md.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FilterCalendarPanel-B7j7R2Md.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +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-BDZkXJIs.js";import{c as n,M as s,e as i,f as r,g as m,h as c}from"./index-DOh6XJxB.js";import"react-dom";import"@bbodek/hooks";import"@bbodek/utils";import"overlay-kit";const u=()=>{const{onChange:a,onSearch:l,internalOptions:t}=n();return e(o,{disabled:0===t.length||void 0===t.find((({isSelected:e})=>e)),onClick:()=>{l({value:null}),a()}})},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,{options:h,selectListResultId:n,selectedListResultId:d,value:p,onChange:v,children:a(i,{className:"in-tablet:min-w-[36.25rem] mx-auto w-[22.5rem] flex-1 justify-between overflow-hidden",direction:"column",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-COHFqY-i.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FilterMultiSelectPanel-COHFqY-i.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{jsx as t}from"react/jsx-runtime";import{u as r,F as o,d as e,a}from"./index-DOh6XJxB.js";import"react";import"@bbodek/utils";import"react-dom";import"@bbodek/hooks";import"overlay-kit";const i=e((()=>import("./FilterMultiSelectPanel-COHFqY-i.js")),{ssr:!1}),s=e((()=>import("./FilterCalendarPanel-B7j7R2Md.js")),{ssr:!1}),m=()=>{const{currentOptions:e}=r(),{type:m}=e;return{[o.MULTI_SELECT]:t(i,{}),[o.DATE_SINGLE]:t(s,{variant:a.SINGLE}),[o.DATE_RANGE]:t(s,{variant:a.RANGE})}[m]};export{m as default};
|
|
2
|
+
//# sourceMappingURL=FilterSelectOptionPanel-LVF4VZUy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FilterSelectOptionPanel-LVF4VZUy.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{jsx as o,jsxs as i,Fragment as t}from"react/jsx-runtime";import{C as e}from"./index-DOh6XJxB.js";import"react";import"react-dom";import"@bbodek/hooks";import"@bbodek/utils";import"overlay-kit";const r=({isOpen:r,close:m})=>o(e,{confirmOption:{label:"닫기",onConfirm:()=>m(!0),tooltipOption:{useTooltip:!1}},title:i(t,{children:["작성을 종료하고 닫으시겠습니까? ",o("br",{}),"입력한 내용은 저장되지 않습니다"]}),cancelOption:{onCancel:()=>m(!1)},className:"w-[21.875rem]",isOpen:r,possibleConfirm:!0});export{r as default};
|
|
2
|
+
//# sourceMappingURL=StepDialogConfirmModal-Cw9n1G81.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StepDialogConfirmModal-Cw9n1G81.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{jsx as o,jsxs as i,Fragment as t}from"react/jsx-runtime";import{b as e}from"./index-DOh6XJxB.js";import"react";import"react-dom";import"@bbodek/hooks";import"@bbodek/utils";import"overlay-kit";const r=({isOpen:r,close:n})=>o(e,{confirmOption:{label:"닫기",onConfirm:()=>n(!0),tooltipOption:{useTooltip:!1}},title:i(t,{children:["작성을 종료하고 닫으시겠습니까?",o("br",{}),"입력한 내용은 저장되지 않습니다"]}),cancelOption:{onCancel:()=>n(!1)},className:"min-w-in-mobile w-svw",isOpen:r,possibleConfirm:!0});export{r as default};
|
|
2
|
+
//# sourceMappingURL=StepFullScreenDialogConfirmBottomSheet-BCIPGNl_.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StepFullScreenDialogConfirmBottomSheet-BCIPGNl_.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconButton.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/IconButton/IconButton.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAS1C,QAAA,MAAM,UAAU,GAAI,iHAWjB,eAAe,
|
|
1
|
+
{"version":3,"file":"IconButton.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/IconButton/IconButton.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAS1C,QAAA,MAAM,UAAU,GAAI,iHAWjB,eAAe,4CAmCjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { StepDialogProps } from '../../../components/shared';
|
|
2
|
+
declare const StepDialog: <T extends string>({ step, steps, titles, isOpen, ref, className, isPending, isLoading, previousOptions, confirmOptions, onCancel, children, goToStep, }: StepDialogProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default StepDialog;
|
|
4
|
+
//# sourceMappingURL=StepDialog.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StepDialog.d.ts","sourceRoot":"","sources":["../../../../src/components/Dialog/StepDialog/StepDialog.tsx"],"names":[],"mappings":"AAIA,OAAO,EAKL,eAAe,EAChB,MAAM,qBAAqB,CAAC;AAE7B,QAAA,MAAM,UAAU,GAAI,CAAC,SAAS,MAAM,EAAE,uIAcnC,eAAe,CAAC,CAAC,CAAC,4CAwCpB,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { OverlayAsyncProps } from '../../../../components/shared';
|
|
2
|
+
declare const StepDialogConfirmModal: ({ isOpen, close, }: Pick<OverlayAsyncProps<boolean>, "close" | "isOpen">) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default StepDialogConfirmModal;
|
|
4
|
+
//# sourceMappingURL=StepDialogConfirmModal.d.ts.map
|
package/dist/components/Dialog/StepDialog/StepDialogConfirmModal/StepDialogConfirmModal.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StepDialogConfirmModal.d.ts","sourceRoot":"","sources":["../../../../../src/components/Dialog/StepDialog/StepDialogConfirmModal/StepDialogConfirmModal.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,QAAA,MAAM,sBAAsB,GAAI,oBAG7B,IAAI,CAAC,iBAAiB,CAAC,OAAO,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC,4CAsBtD,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useStepDialogConfirmModal.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Dialog/StepDialog/StepDialogConfirmModal/hooks/useStepDialogConfirmModal.tsx"],"names":[],"mappings":"AAWA,QAAA,MAAM,yBAAyB;oCACQ,OAAO,CAAC,OAAO,CAAC;CAMtD,CAAC;AAEF,eAAe,yBAAyB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Dialog/StepDialog/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Dialog/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Dialog/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DialogFooter.d.ts","sourceRoot":"","sources":["../../../../src/components/Dialog/shared/DialogFooter.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DialogFooter.d.ts","sourceRoot":"","sources":["../../../../src/components/Dialog/shared/DialogFooter.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAOrE,QAAA,MAAM,YAAY,GAAI,yEAMnB,iBAAiB,4CAqBnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../src/components/Dialog/shared/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,4BAA4B,2DACiB,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { OverlayContentWrapperProps } from '../../../../components/shared';
|
|
2
|
-
import {
|
|
2
|
+
import { OverlayFooterPrimitiveProps, OverlayFooterStateProps } from '../../../../components/shared/components/Overlay/OverlayFooter/types';
|
|
3
|
+
import { OverlayBasePrimitiveProps } from '../../../../components/shared/components/Overlay/types';
|
|
3
4
|
export interface DialogProps extends OverlayBasePrimitiveProps {
|
|
4
5
|
}
|
|
5
6
|
export interface DialogContentWrapperProps extends OverlayContentWrapperProps {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Dialog/shared/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,qBAAqB,CAAC;AACjE,OAAO,EACL,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Dialog/shared/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,qBAAqB,CAAC;AACjE,OAAO,EACL,2BAA2B,EAC3B,uBAAuB,EACxB,MAAM,4DAA4D,CAAC;AACpE,OAAO,EAAE,yBAAyB,EAAE,MAAM,8CAA8C,CAAC;AAEzF,MAAM,WAAW,WAAY,SAAQ,yBAAyB;CAAG;AAEjE,MAAM,WAAW,yBAA0B,SAAQ,0BAA0B;CAAG;AAEhF,MAAM,WAAW,iBACf,SAAQ,2BAA2B,EACjC,uBAAuB;CAAG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormFullScreenDialog.d.ts","sourceRoot":"","sources":["../../../../src/components/FullScreenDialog/FormFullScreenDialog/FormFullScreenDialog.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FormFullScreenDialog.d.ts","sourceRoot":"","sources":["../../../../src/components/FullScreenDialog/FormFullScreenDialog/FormFullScreenDialog.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,yBAAyB,EAAE,MAAM,0DAA0D,CAAC;AAIrG,QAAA,MAAM,oBAAoB,GAAI,kHAW3B,yBAAyB,4CA0B3B,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { FormFullScreenDialogProps } from '../../../components/FullScreenDialog/FormFullScreenDialog/types';
|
|
2
|
+
declare const FormFullScreenDialogFooter: ({ cancelOption, confirmOption, isLoading, isPending, possibleConfirm, }: Pick<FormFullScreenDialogProps, "cancelOption" | "confirmOption" | "isLoading" | "isPending" | "possibleConfirm">) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default FormFullScreenDialogFooter;
|
|
4
|
+
//# sourceMappingURL=FormFullScreenDialogFooter.d.ts.map
|
package/dist/components/FullScreenDialog/FormFullScreenDialog/FormFullScreenDialogFooter.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormFullScreenDialogFooter.d.ts","sourceRoot":"","sources":["../../../../src/components/FullScreenDialog/FormFullScreenDialog/FormFullScreenDialogFooter.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,yBAAyB,EAAE,MAAM,0DAA0D,CAAC;AAOrG,QAAA,MAAM,0BAA0B,GAAI,yEAMjC,IAAI,CACL,yBAAyB,EACvB,cAAc,GACd,eAAe,GACf,WAAW,GACX,WAAW,GACX,iBAAiB,CACpB,4CAsBA,CAAC;AAEF,eAAe,0BAA0B,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { StepDialogProps } from '../../../components/shared';
|
|
2
|
+
declare const StepFullScreenDialog: <T extends string>({ step, steps, titles, isOpen, ref, className, isPending, isLoading, previousOptions, confirmOptions, onCancel, children, goToStep, }: StepDialogProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default StepFullScreenDialog;
|
|
4
|
+
//# sourceMappingURL=StepFullScreenDialog.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StepFullScreenDialog.d.ts","sourceRoot":"","sources":["../../../../src/components/FullScreenDialog/StepFullScreenDialog/StepFullScreenDialog.tsx"],"names":[],"mappings":"AAIA,OAAO,EAGL,eAAe,EAChB,MAAM,qBAAqB,CAAC;AAE7B,QAAA,MAAM,oBAAoB,GAAI,CAAC,SAAS,MAAM,EAAE,uIAc7C,eAAe,CAAC,CAAC,CAAC,4CAuCpB,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { OverlayAsyncProps } from '../../../../components/shared';
|
|
2
|
+
declare const StepFullScreenDialogConfirmBottomSheet: ({ isOpen, close, }: Pick<OverlayAsyncProps<boolean>, "close" | "isOpen">) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default StepFullScreenDialogConfirmBottomSheet;
|
|
4
|
+
//# sourceMappingURL=StepFullScreenDialogConfirmBottomSheet.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StepFullScreenDialogConfirmBottomSheet.d.ts","sourceRoot":"","sources":["../../../../../src/components/FullScreenDialog/StepFullScreenDialog/StepFullScreenDialogConfirmBottomSheet/StepFullScreenDialogConfirmBottomSheet.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,QAAA,MAAM,sCAAsC,GAAI,oBAG7C,IAAI,CAAC,iBAAiB,CAAC,OAAO,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC,4CAuBtD,CAAC;AAEF,eAAe,sCAAsC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useStepFullScreenDialogConfirmBottomSheet.d.ts","sourceRoot":"","sources":["../../../../../../src/components/FullScreenDialog/StepFullScreenDialog/StepFullScreenDialogConfirmBottomSheet/hooks/useStepFullScreenDialogConfirmBottomSheet.tsx"],"names":[],"mappings":"AAWA,QAAA,MAAM,yCAAyC;oDACQ,OAAO,CAAC,OAAO,CAAC;CAMtE,CAAC;AAEF,eAAe,yCAAyC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/FullScreenDialog/StepFullScreenDialog/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,wBAAwB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/FullScreenDialog/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/FullScreenDialog/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../src/components/FullScreenDialog/shared/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,6CAA6C,2CAChB,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
|
+
import { ResponsibleStepDialogProps } from '../../../components/ResponsibleDialog/ResponsibleStepDialog/types';
|
|
3
|
+
declare const ResponsibleStepDialog: <T extends string>({ mobileOptions, children, ...props }: PropsWithChildren<ResponsibleStepDialogProps<T>>) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export default ResponsibleStepDialog;
|
|
5
|
+
//# sourceMappingURL=ResponsibleStepDialog.d.ts.map
|
package/dist/components/ResponsibleDialog/ResponsibleStepDialog/ResponsibleStepDialog.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ResponsibleStepDialog.d.ts","sourceRoot":"","sources":["../../../../src/components/ResponsibleDialog/ResponsibleStepDialog/ResponsibleStepDialog.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,EACL,0BAA0B,EAE3B,MAAM,4DAA4D,CAAC;AAepE,QAAA,MAAM,qBAAqB,GAAI,CAAC,SAAS,MAAM,EAAE,uCAI9C,iBAAiB,CAAC,0BAA0B,CAAC,CAAC,CAAC,CAAC,4CAYlD,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ResponsibleDialog/ResponsibleStepDialog/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,yBAAyB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
import { StepDialogProps } from '../../../components/shared';
|
|
3
|
+
export type ResponsibleStepDialogType = <T extends string>(props: StepDialogProps<T>) => ReactElement;
|
|
4
|
+
export interface ResponsibleStepDialogProps<T extends string> extends StepDialogProps<T> {
|
|
5
|
+
mobileOptions?: Partial<Omit<StepDialogProps<T>, 'children'>>;
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/ResponsibleDialog/ResponsibleStepDialog/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAErC,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAEtD,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,SAAS,MAAM,EACvD,KAAK,EAAE,eAAe,CAAC,CAAC,CAAC,KACtB,YAAY,CAAC;AAElB,MAAM,WAAW,0BAA0B,CAAC,CAAC,SAAS,MAAM,CAC1D,SAAQ,eAAe,CAAC,CAAC,CAAC;IAC1B,aAAa,CAAC,EAAE,OAAO,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,CAAC,CAAC;CAC/D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ResponsibleDialog/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC"}
|
|
@@ -6,6 +6,7 @@ declare const Table: {
|
|
|
6
6
|
Head: ({ children, className, }: PropsWithChildren<import("../../components/Table/types").TableHeadProps>) => import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
Body: ({ children, className, isLoading, loadingComponent, emptyComponent, }: PropsWithChildren<import("../../components/Table/types").TableBodyProps>) => import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
Row: ({ variant, className, children, }: import("../../components/Table/types").TableRowProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
LinkRow: ({ className, children, ...linkProps }: import("../../components/Table/types").TableLinkRowProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
10
|
Cell: {
|
|
10
11
|
({ role, isFixedLeft, children, className, }: import("../../components/Table/types").TableCellProps): import("react/jsx-runtime").JSX.Element;
|
|
11
12
|
displayName: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../src/components/Table/Table.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../src/components/Table/Table.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAgB1C,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEtD,QAAA,MAAM,KAAK;wCAIR,iBAAiB,CAAC,UAAU,CAAC;;;;;;;;;;;;;;;;;;;CAgB/B,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { TableLinkRowProps } from '../../components/Table/types';
|
|
2
|
+
declare const TableLinkRow: ({ className, children, ...linkProps }: TableLinkRowProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default TableLinkRow;
|
|
4
|
+
//# sourceMappingURL=TableLinkRow.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TableLinkRow.d.ts","sourceRoot":"","sources":["../../../src/components/Table/TableLinkRow.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAG7D,QAAA,MAAM,YAAY,GAAI,uCAInB,iBAAiB,4CAUnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableRow.d.ts","sourceRoot":"","sources":["../../../src/components/Table/TableRow.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TableRow.d.ts","sourceRoot":"","sources":["../../../src/components/Table/TableRow.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAGzD,QAAA,MAAM,QAAQ,GAAI,mCAIf,aAAa,4CAaf,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -8,9 +8,10 @@ export declare const TABLE_CELL_ROLES: {
|
|
|
8
8
|
readonly CELL: "cell";
|
|
9
9
|
readonly ROW_HEADER: "rowheader";
|
|
10
10
|
};
|
|
11
|
+
export declare const TABLE_ROW_COMMON_STYLE = "in-flex-h-stack min-w-fit";
|
|
11
12
|
export declare const TABLE_ROW_STYLES: {
|
|
12
|
-
readonly head: "
|
|
13
|
-
readonly body: "
|
|
13
|
+
readonly head: "border-in-gray-03 border-b first:[&_.cell:first-child]:rounded-tl-in-8 first:[&_.cell:last-child]:rounded-tr-in-8 h-8";
|
|
14
|
+
readonly body: "hover:bg-in-gray-01 last:[&_.cell]:border-0 [&_.cell]:border-b";
|
|
14
15
|
};
|
|
15
16
|
export declare const TABLE_CELL_ROLE_COMMON_STYLES: {
|
|
16
17
|
readonly head: "bg-in-gray-02 text-in-gray-06";
|
|
@@ -28,7 +29,7 @@ export declare const TABLE_CELL_INPUT_STATE: {
|
|
|
28
29
|
readonly DISABLED: "DISABLED";
|
|
29
30
|
};
|
|
30
31
|
export declare const TABLE_CELL_INPUT_STYLES: {
|
|
31
|
-
readonly DEFAULT: "
|
|
32
|
+
readonly DEFAULT: "border border-transparent text-in-black placeholder-in-gray-04";
|
|
32
33
|
readonly FOCUS: "focus:outline-none focus:border-in-primary-05";
|
|
33
34
|
readonly ERROR: "group-[.error]:text-in-red-04 group-[.error]:border-in-red-04 group-[.error]:focus:border-in-red-04";
|
|
34
35
|
readonly DISABLED: "disabled:text-in-gray-05 disabled:border-in-gray-01 disabled:bg-in-gray-01 disabled:cursor-not-allowed disabled:placeholder-in-gray-05";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Table/constants/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,4BAA4B,qBAAqB,CAAC;AAE/D,eAAO,MAAM,kBAAkB;;;CAGrB,CAAC;AAEX,eAAO,MAAM,gBAAgB;;;;CAInB,CAAC;AAEX,eAAO,MAAM,gBAAgB;;;CAKnB,CAAC;AAEX,eAAO,MAAM,6BAA6B;;;CAGhC,CAAC;AAEX,eAAO,MAAM,iBAAiB;;;;CAIpB,CAAC;AAEX,eAAO,MAAM,sBAAsB;;;;;CAKzB,CAAC;AAEX,eAAO,MAAM,uBAAuB;;;;;CAS1B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Table/constants/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,4BAA4B,qBAAqB,CAAC;AAE/D,eAAO,MAAM,kBAAkB;;;CAGrB,CAAC;AAEX,eAAO,MAAM,gBAAgB;;;;CAInB,CAAC;AAEX,eAAO,MAAM,sBAAsB,8BAA8B,CAAC;AAElE,eAAO,MAAM,gBAAgB;;;CAKnB,CAAC;AAEX,eAAO,MAAM,6BAA6B;;;CAGhC,CAAC;AAEX,eAAO,MAAM,iBAAiB;;;;CAIpB,CAAC;AAEX,eAAO,MAAM,sBAAsB;;;;;CAKzB,CAAC;AAEX,eAAO,MAAM,uBAAuB;;;;;CAS1B,CAAC"}
|
|
@@ -7,6 +7,7 @@ export { default as TableCellCheckbox } from './TableCellCheckbox';
|
|
|
7
7
|
export { default as TableCellToggle } from './TableCellToggle';
|
|
8
8
|
export { default as TableHead } from './TableHead';
|
|
9
9
|
export { default as TableInputCell } from './TableInputCell';
|
|
10
|
+
export { default as TableLinkRow } from './TableLinkRow';
|
|
10
11
|
export { default as TableRow } from './TableRow';
|
|
11
12
|
export * from './types';
|
|
12
13
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Table/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AACzE,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAC7D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,cAAc,SAAS,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Table/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AACzE,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAC7D,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACzD,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,cAAc,SAAS,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { LinkProps } from 'next/link';
|
|
2
|
+
import { AnchorHTMLAttributes, HTMLAttributes, PropsWithChildren, ReactElement } from 'react';
|
|
2
3
|
import { ButtonProps, IconButtonProps } from '../../../components/Button';
|
|
3
4
|
import { InputFieldProps } from '../../../components/Input';
|
|
4
5
|
import { TABLE_CELL_ROLES, TABLE_ROW_VARIANTS } from '../../../components/Table/constants';
|
|
@@ -21,6 +22,8 @@ export interface TableBodySkeletonProps<T extends string> {
|
|
|
21
22
|
export interface TableRowProps extends PropsWithChildren, Pick<HTMLAttributes<HTMLDivElement>, 'className'> {
|
|
22
23
|
variant?: TableRowVariant;
|
|
23
24
|
}
|
|
25
|
+
export interface TableLinkRowProps extends Omit<TableRowProps, 'variant'>, LinkProps, Pick<AnchorHTMLAttributes<HTMLAnchorElement>, 'target'> {
|
|
26
|
+
}
|
|
24
27
|
export interface TableCellProps extends PropsWithChildren, Pick<HTMLAttributes<HTMLDivElement>, 'className'> {
|
|
25
28
|
role?: TableCellRole;
|
|
26
29
|
isFixedLeft?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Table/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Table/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACtC,OAAO,EACL,oBAAoB,EACpB,cAAc,EACd,iBAAiB,EACjB,YAAY,EACb,MAAM,OAAO,CAAC;AAEf,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;IACzD,cAAc,CAAC,EAAE,YAAY,CAAC;IAC9B,gBAAgB,CAAC,EAAE,YAAY,CAAC;IAChC,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,MAAM,WAAW,sBAAsB,CAAC,CAAC,SAAS,MAAM;IACtD,IAAI,EAAE,CAAC,EAAE,CAAC;IACV,MAAM,EAAE,MAAM,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC;CAC3B;AAED,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,iBACf,SAAQ,IAAI,CAAC,aAAa,EAAE,SAAS,CAAC,EACpC,SAAS,EACT,IAAI,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,QAAQ,CAAC;CAAG;AAE9D,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"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
|
+
import { TableCellProps, TableRowProps } from '../../../components/Table/types';
|
|
3
|
+
export declare const renderTableCells: ({ children, variant, }: PropsWithChildren<Pick<TableRowProps, "variant">>) => import("react").ReactElement<TableCellProps, string | import("react").JSXElementConstructor<any>>[];
|
|
4
|
+
//# sourceMappingURL=renderTableCells.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"renderTableCells.d.ts","sourceRoot":"","sources":["../../../../src/components/Table/utils/renderTableCells.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0B,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAOlE,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAEzE,eAAO,MAAM,gBAAgB,GAAI,wBAG9B,iBAAiB,CAAC,IAAI,CAAC,aAAa,EAAE,SAAS,CAAC,CAAC,wGAYnD,CAAC"}
|
|
@@ -22,6 +22,7 @@ export * from './Persona';
|
|
|
22
22
|
export * from './Popover';
|
|
23
23
|
export * from './Portal';
|
|
24
24
|
export * from './Radio';
|
|
25
|
+
export * from './ResponsibleDialog';
|
|
25
26
|
export * from './Select';
|
|
26
27
|
export * from './Skeleton';
|
|
27
28
|
export * from './Sort';
|
|
@@ -31,6 +32,6 @@ export * from './Toast';
|
|
|
31
32
|
export * from './Toggle';
|
|
32
33
|
export * from './Tooltip';
|
|
33
34
|
export * from './Typography';
|
|
34
|
-
export { DialogOverlayFormDivider, InputLabel } from './shared';
|
|
35
|
-
export type { ChildrenElement, ComponentPropsRef } from './shared';
|
|
35
|
+
export { DialogOverlayFormDivider, InputLabel, useStepDialog } from './shared';
|
|
36
|
+
export type { ChildrenElement, ComponentPropsRef, StepActionParams, StepDialogProps, } from './shared';
|
|
36
37
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -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,gBAAgB,CAAC;AAC/B,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,UAAU,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,gBAAgB,CAAC;AAC/B,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,qBAAqB,CAAC;AACpC,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,UAAU,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAC/E,YAAY,EACV,eAAe,EACf,iBAAiB,EACjB,gBAAgB,EAChB,eAAe,GAChB,MAAM,UAAU,CAAC"}
|
package/dist/components/shared/components/DialogOverlay/StepDialog/StepDialogConfirmButton.d.ts
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { StepDialogConfirmButtonProps } from '../../../../../components/shared/components/DialogOverlay/StepDialog/types';
|
|
2
|
+
declare const StepDialogConfirmButton: <T extends string>({ currentIndex, stepKeys, confirmOptions, isPending, goToStep, buttonOptions, }: StepDialogConfirmButtonProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default StepDialogConfirmButton;
|
|
4
|
+
//# sourceMappingURL=StepDialogConfirmButton.d.ts.map
|
package/dist/components/shared/components/DialogOverlay/StepDialog/StepDialogConfirmButton.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StepDialogConfirmButton.d.ts","sourceRoot":"","sources":["../../../../../../src/components/shared/components/DialogOverlay/StepDialog/StepDialogConfirmButton.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,4BAA4B,EAAE,MAAM,+DAA+D,CAAC;AAI7G,QAAA,MAAM,uBAAuB,GAAI,CAAC,SAAS,MAAM,EAAE,iFAOhD,4BAA4B,CAAC,CAAC,CAAC,4CAiCjC,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { StepDialogFooterProps } from '../../../../../components/shared';
|
|
2
|
+
declare const StepDialogFooter: <T extends string>({ step, steps, isPending, previousOptions, confirmOptions, className, buttonOptions, goToStep, }: StepDialogFooterProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default StepDialogFooter;
|
|
4
|
+
//# sourceMappingURL=StepDialogFooter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StepDialogFooter.d.ts","sourceRoot":"","sources":["../../../../../../src/components/shared/components/DialogOverlay/StepDialog/StepDialogFooter.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,qBAAqB,EAEtB,MAAM,qBAAqB,CAAC;AAK7B,QAAA,MAAM,gBAAgB,GAAI,CAAC,SAAS,MAAM,EAAE,kGASzC,qBAAqB,CAAC,CAAC,CAAC,4CA4B1B,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
package/dist/components/shared/components/DialogOverlay/StepDialog/StepDialogPreviousButton.d.ts
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { StepDialogPreviousButtonProps } from '../../../../../components/shared/components/DialogOverlay/StepDialog/types';
|
|
2
|
+
declare const StepDialogPreviousButton: <T extends string>({ currentIndex, stepKeys, isPending, previousOptions, goToStep, buttonOptions, }: StepDialogPreviousButtonProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default StepDialogPreviousButton;
|
|
4
|
+
//# sourceMappingURL=StepDialogPreviousButton.d.ts.map
|
package/dist/components/shared/components/DialogOverlay/StepDialog/StepDialogPreviousButton.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StepDialogPreviousButton.d.ts","sourceRoot":"","sources":["../../../../../../src/components/shared/components/DialogOverlay/StepDialog/StepDialogPreviousButton.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,6BAA6B,EAAE,MAAM,+DAA+D,CAAC;AAE9G,QAAA,MAAM,wBAAwB,GAAI,CAAC,SAAS,MAAM,EAAE,kFAOjD,6BAA6B,CAAC,CAAC,CAAC,4CAqBlC,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
|
package/dist/components/shared/components/DialogOverlay/StepDialog/hooks/effects/index.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/shared/components/DialogOverlay/StepDialog/hooks/effects/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Dispatch, SetStateAction } from 'react';
|
|
2
|
+
import { UseStepDialogParams } from '../../../../../../../components/shared/components/DialogOverlay/StepDialog/hooks/types';
|
|
3
|
+
export interface UseInitialStepEffectProps<T extends string> extends Pick<UseStepDialogParams<T>, 'initialStep'> {
|
|
4
|
+
setStep: Dispatch<SetStateAction<T | null>>;
|
|
5
|
+
stepKeys: T[];
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=types.d.ts.map
|
package/dist/components/shared/components/DialogOverlay/StepDialog/hooks/effects/types.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/shared/components/DialogOverlay/StepDialog/hooks/effects/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEjD,OAAO,EAAE,mBAAmB,EAAE,MAAM,qEAAqE,CAAC;AAE1G,MAAM,WAAW,yBAAyB,CAAC,CAAC,SAAS,MAAM,CACzD,SAAQ,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC,EAAE,aAAa,CAAC;IACnD,OAAO,EAAE,QAAQ,CAAC,cAAc,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC;IAC5C,QAAQ,EAAE,CAAC,EAAE,CAAC;CACf"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { UseInitialStepEffectProps } from '../../../../../../../components/shared/components/DialogOverlay/StepDialog/hooks/effects/types';
|
|
2
|
+
declare const useInitialStepEffect: <T extends string>({ initialStep, setStep, stepKeys, }: UseInitialStepEffectProps<T>) => void;
|
|
3
|
+
export default useInitialStepEffect;
|
|
4
|
+
//# sourceMappingURL=useInitialStepEffect.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useInitialStepEffect.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/shared/components/DialogOverlay/StepDialog/hooks/effects/useInitialStepEffect.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,yBAAyB,EAAE,MAAM,6EAA6E,CAAC;AAExH,QAAA,MAAM,oBAAoB,GAAI,CAAC,SAAS,MAAM,EAAE,qCAI7C,yBAAyB,CAAC,CAAC,CAAC,SAI9B,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/shared/components/DialogOverlay/StepDialog/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { StepActionParams } from '../../../../../../components/shared';
|
|
2
|
+
export interface UseStepDialogParams<T extends string> {
|
|
3
|
+
steps: Record<string, T>;
|
|
4
|
+
initialStep?: T;
|
|
5
|
+
}
|
|
6
|
+
export interface UseStepDialogReturnType<T extends string> {
|
|
7
|
+
models: {
|
|
8
|
+
step: T | null;
|
|
9
|
+
};
|
|
10
|
+
operations: {
|
|
11
|
+
goToStep: (params: StepActionParams<T>) => void;
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/shared/components/DialogOverlay/StepDialog/hooks/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAEvD,MAAM,WAAW,mBAAmB,CAAC,CAAC,SAAS,MAAM;IACnD,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;IACzB,WAAW,CAAC,EAAE,CAAC,CAAC;CACjB;AAED,MAAM,WAAW,uBAAuB,CAAC,CAAC,SAAS,MAAM;IACvD,MAAM,EAAE;QACN,IAAI,EAAE,CAAC,GAAG,IAAI,CAAC;KAChB,CAAC;IACF,UAAU,EAAE;QACV,QAAQ,EAAE,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC;KACjD,CAAC;CACH"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { UseStepDialogParams } from '../../../../../../components/shared/components/DialogOverlay/StepDialog/hooks/types';
|
|
2
|
+
import { StepActionParams } from '../../../../../../components/shared/components/DialogOverlay/StepDialog/types';
|
|
3
|
+
declare const useStepDialog: <T extends string>({ steps, initialStep, }: UseStepDialogParams<T>) => {
|
|
4
|
+
models: {
|
|
5
|
+
step: T | null;
|
|
6
|
+
};
|
|
7
|
+
operations: {
|
|
8
|
+
goToStep: ({ step }: StepActionParams<T>) => void;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export default useStepDialog;
|
|
12
|
+
//# sourceMappingURL=useStepDialog.d.ts.map
|
package/dist/components/shared/components/DialogOverlay/StepDialog/hooks/useStepDialog.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useStepDialog.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/shared/components/DialogOverlay/StepDialog/hooks/useStepDialog.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,mBAAmB,EAAE,MAAM,qEAAqE,CAAC;AAC1G,OAAO,EAAE,gBAAgB,EAAE,MAAM,+DAA+D,CAAC;AAEjG,QAAA,MAAM,aAAa,GAAI,CAAC,SAAS,MAAM,EAAE,yBAGtC,mBAAmB,CAAC,CAAC,CAAC;;;;;6BAIK,gBAAgB,CAAC,CAAC,CAAC;;CAchD,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from './hooks';
|
|
2
|
+
export { default as StepDialogConfirmButton } from './StepDialogConfirmButton';
|
|
3
|
+
export { default as StepDialogFooter } from './StepDialogFooter';
|
|
4
|
+
export { default as StepDialogPreviousButton } from './StepDialogPreviousButton';
|
|
5
|
+
export * from './types';
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/shared/components/DialogOverlay/StepDialog/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,OAAO,EAAE,OAAO,IAAI,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAC/E,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACjE,OAAO,EAAE,OAAO,IAAI,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AACjF,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { OverlayAsyncControllerComponent } from 'overlay-kit';
|
|
2
|
+
import { ButtonProps } from '../../../../../components/Button';
|
|
3
|
+
import { UseStepDialogParams, UseStepDialogReturnType } from '../../../../../components/shared/components/DialogOverlay/StepDialog/hooks';
|
|
4
|
+
import { FormDialogOverlayProps } from '../../../../../components/shared/components/DialogOverlay/types';
|
|
5
|
+
import { OverlayFooterPrimitiveProps, OverlayFooterWrapperProps } from '../../../../../components/shared/components/Overlay';
|
|
6
|
+
export interface StepActionParams<T extends string> {
|
|
7
|
+
step: T;
|
|
8
|
+
}
|
|
9
|
+
export interface StepDialogProps<T extends string> extends Omit<FormDialogOverlayProps, 'confirmOption' | 'cancelOption' | 'title' | 'possibleConfirm'>, Pick<UseStepDialogParams<T>, 'steps'>, Pick<UseStepDialogReturnType<T>['models'], 'step'>, Pick<UseStepDialogReturnType<T>['operations'], 'goToStep'> {
|
|
10
|
+
titles: Record<T, string>;
|
|
11
|
+
previousOptions?: {
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
onClick?: (params: StepActionParams<T>) => void;
|
|
14
|
+
};
|
|
15
|
+
confirmOptions: Pick<OverlayFooterPrimitiveProps['confirmOption'], 'tooltipOption'> & {
|
|
16
|
+
disabled?: boolean;
|
|
17
|
+
onClick: (params: StepActionParams<T>) => void;
|
|
18
|
+
};
|
|
19
|
+
onCancel: () => void;
|
|
20
|
+
}
|
|
21
|
+
export interface StepDialogFooterProps<T extends string> extends Pick<OverlayFooterWrapperProps, 'className'>, Pick<StepDialogProps<T>, 'step' | 'steps' | 'previousOptions' | 'confirmOptions' | 'isPending' | 'goToStep'> {
|
|
22
|
+
buttonOptions: Pick<ButtonProps, 'size' | 'className'>;
|
|
23
|
+
}
|
|
24
|
+
export interface StepDialogButtonPrimitiveProps<T extends string> extends Pick<StepDialogFooterProps<T>, 'buttonOptions' | 'isPending' | 'goToStep'> {
|
|
25
|
+
currentIndex: number;
|
|
26
|
+
stepKeys: T[];
|
|
27
|
+
}
|
|
28
|
+
export interface StepDialogPreviousButtonProps<T extends string> extends StepDialogButtonPrimitiveProps<T>, Pick<StepDialogProps<T>, 'previousOptions'> {
|
|
29
|
+
}
|
|
30
|
+
export interface StepDialogConfirmButtonProps<T extends string> extends StepDialogButtonPrimitiveProps<T>, Pick<StepDialogProps<T>, 'confirmOptions'> {
|
|
31
|
+
}
|
|
32
|
+
export type OverlayAsyncProps<T> = Parameters<OverlayAsyncControllerComponent<T>>[0];
|
|
33
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/shared/components/DialogOverlay/StepDialog/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+BAA+B,EAAE,MAAM,aAAa,CAAC;AAE9D,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,EACL,mBAAmB,EACnB,uBAAuB,EACxB,MAAM,+DAA+D,CAAC;AACvE,OAAO,EAAE,sBAAsB,EAAE,MAAM,oDAAoD,CAAC;AAC5F,OAAO,EACL,2BAA2B,EAC3B,yBAAyB,EAC1B,MAAM,wCAAwC,CAAC;AAEhD,MAAM,WAAW,gBAAgB,CAAC,CAAC,SAAS,MAAM;IAChD,IAAI,EAAE,CAAC,CAAC;CACT;AAED,MAAM,WAAW,eAAe,CAAC,CAAC,SAAS,MAAM,CAC/C,SAAQ,IAAI,CACR,sBAAsB,EACtB,eAAe,GAAG,cAAc,GAAG,OAAO,GAAG,iBAAiB,CAC/D,EACD,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC,EAAE,OAAO,CAAC,EACrC,IAAI,CAAC,uBAAuB,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC,EAClD,IAAI,CAAC,uBAAuB,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,EAAE,UAAU,CAAC;IAC5D,MAAM,EAAE,MAAM,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC;IAC1B,eAAe,CAAC,EAAE;QAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB,OAAO,CAAC,EAAE,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC;KACjD,CAAC;IACF,cAAc,EAAE,IAAI,CAClB,2BAA2B,CAAC,eAAe,CAAC,EAC5C,eAAe,CAChB,GAAG;QACF,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB,OAAO,EAAE,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC;KAChD,CAAC;IACF,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,MAAM,WAAW,qBAAqB,CAAC,CAAC,SAAS,MAAM,CACrD,SAAQ,IAAI,CAAC,yBAAyB,EAAE,WAAW,CAAC,EAClD,IAAI,CACF,eAAe,CAAC,CAAC,CAAC,EAChB,MAAM,GACN,OAAO,GACP,iBAAiB,GACjB,gBAAgB,GAChB,WAAW,GACX,UAAU,CACb;IACH,aAAa,EAAE,IAAI,CAAC,WAAW,EAAE,MAAM,GAAG,WAAW,CAAC,CAAC;CACxD;AAED,MAAM,WAAW,8BAA8B,CAAC,CAAC,SAAS,MAAM,CAC9D,SAAQ,IAAI,CACV,qBAAqB,CAAC,CAAC,CAAC,EACxB,eAAe,GAAG,WAAW,GAAG,UAAU,CAC3C;IACD,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,CAAC,EAAE,CAAC;CACf;AAED,MAAM,WAAW,6BAA6B,CAAC,CAAC,SAAS,MAAM,CAC7D,SAAQ,8BAA8B,CAAC,CAAC,CAAC,EACvC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,EAAE,iBAAiB,CAAC;CAAG;AAElD,MAAM,WAAW,4BAA4B,CAAC,CAAC,SAAS,MAAM,CAC5D,SAAQ,8BAA8B,CAAC,CAAC,CAAC,EACvC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,EAAE,gBAAgB,CAAC;CAAG;AAEjD,MAAM,MAAM,iBAAiB,CAAC,CAAC,IAAI,UAAU,CAC3C,+BAA+B,CAAC,CAAC,CAAC,CACnC,CAAC,CAAC,CAAC,CAAC"}
|