@kosdev-code/base-ui-components 0.0.3 → 0.1.0-dev.5191
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/components/atoms/alternating-status/alternating-status.d.ts +8 -0
- package/components/atoms/alternating-status/alternating-status.d.ts.map +1 -0
- package/components/atoms/alternating-status/index.d.ts +2 -0
- package/components/{molecules/details-page-layout → atoms/alternating-status}/index.d.ts.map +1 -1
- package/components/atoms/badge/badge.d.ts +15 -0
- package/components/atoms/badge/badge.d.ts.map +1 -0
- package/components/atoms/badge/index.d.ts +2 -0
- package/components/atoms/badge/index.d.ts.map +1 -0
- package/components/atoms/base-ui-components-context/base-ui-components-context.d.ts +13 -0
- package/components/atoms/base-ui-components-context/base-ui-components-context.d.ts.map +1 -0
- package/components/atoms/base-ui-components-context/index.d.ts +2 -0
- package/components/atoms/base-ui-components-context/index.d.ts.map +1 -0
- package/components/atoms/dialog/dialog.d.ts +1 -1
- package/components/atoms/dialog/hooks/use-dialog-context-value.d.ts +1 -1
- package/components/atoms/drawer/drawer.styles.d.ts +3 -3
- package/components/atoms/icon/common/types.d.ts +13 -0
- package/components/atoms/icon/common/types.d.ts.map +1 -0
- package/components/atoms/icon/icon.d.ts +1 -1
- package/components/atoms/icon/icon.d.ts.map +1 -1
- package/components/atoms/icon/index.d.ts +1 -1
- package/components/atoms/icon/index.d.ts.map +1 -1
- package/components/atoms/icon-button/icon-button.d.ts +1 -1
- package/components/atoms/icon-button/icon-button.d.ts.map +1 -1
- package/components/atoms/index.d.ts +4 -0
- package/components/atoms/index.d.ts.map +1 -1
- package/components/atoms/input/input.d.ts +1 -0
- package/components/atoms/input/input.d.ts.map +1 -1
- package/components/atoms/kos-logo/index.d.ts +2 -0
- package/components/atoms/kos-logo/index.d.ts.map +1 -0
- package/components/atoms/kos-logo/kos-logo.d.ts +7 -0
- package/components/atoms/kos-logo/kos-logo.d.ts.map +1 -0
- package/components/atoms/label/label.styles.d.ts +1 -1
- package/components/atoms/multi-select/common/styles.d.ts.map +1 -1
- package/components/atoms/multi-select/multi-select.d.ts +3 -3
- package/components/atoms/multi-select/multi-select.d.ts.map +1 -1
- package/components/atoms/resizable-panel-group/common/hooks/use-resizable-panel-group-context/use-resizable-panel-group-context.d.ts +1 -0
- package/components/atoms/resizable-panel-group/common/hooks/use-resizable-panel-group-context/use-resizable-panel-group-context.d.ts.map +1 -1
- package/components/atoms/resizable-panel-group/components/resizable-panel.d.ts +4 -3
- package/components/atoms/resizable-panel-group/components/resizable-panel.d.ts.map +1 -1
- package/components/atoms/resizable-panel-group/index.d.ts +1 -0
- package/components/atoms/resizable-panel-group/index.d.ts.map +1 -1
- package/components/atoms/resizable-panel-group/resizable-panel-group.d.ts.map +1 -1
- package/components/atoms/resizable-panel-group/resizable-panel-handle/resizable-panel-handle.d.ts.map +1 -1
- package/components/atoms/select/components/option.d.ts +3 -1
- package/components/atoms/select/components/option.d.ts.map +1 -1
- package/components/atoms/select/select.d.ts.map +1 -1
- package/components/atoms/text/text.d.ts +2 -2
- package/components/atoms/text/text.d.ts.map +1 -1
- package/components/common/components/StoryDecorator.d.ts.map +1 -1
- package/components/index.d.ts +1 -0
- package/components/index.d.ts.map +1 -1
- package/components/layouts/index.d.ts +2 -0
- package/components/layouts/index.d.ts.map +1 -0
- package/components/layouts/list-with-details-layout/index.d.ts +2 -0
- package/components/layouts/list-with-details-layout/index.d.ts.map +1 -0
- package/components/layouts/list-with-details-layout/list-with-details-layout.d.ts +17 -0
- package/components/layouts/list-with-details-layout/list-with-details-layout.d.ts.map +1 -0
- package/components/molecules/branded-header/branded-header-styles.d.ts +56 -0
- package/components/molecules/branded-header/branded-header-styles.d.ts.map +1 -0
- package/components/molecules/branded-header/branded-header.d.ts +2 -4
- package/components/molecules/branded-header/branded-header.d.ts.map +1 -1
- package/components/molecules/collapsible-artifact/components/artifact-version.d.ts.map +1 -1
- package/components/molecules/empty-list-message/empty-list-message.d.ts +8 -0
- package/components/molecules/empty-list-message/empty-list-message.d.ts.map +1 -0
- package/components/molecules/empty-list-message/index.d.ts +2 -0
- package/components/molecules/empty-list-message/index.d.ts.map +1 -0
- package/components/molecules/form/common/hooks/use-form-context.d.ts +1 -1
- package/components/molecules/form/common/hooks/use-form-context.d.ts.map +1 -1
- package/components/molecules/form/components/form-file-input.d.ts +8 -0
- package/components/molecules/form/components/form-file-input.d.ts.map +1 -0
- package/components/molecules/form/components/form-multi-select.d.ts +7 -0
- package/components/molecules/form/components/form-multi-select.d.ts.map +1 -0
- package/components/molecules/form/components/form-select.d.ts.map +1 -1
- package/components/molecules/form/components/form-submit.d.ts.map +1 -1
- package/components/molecules/form/components/index.d.ts +2 -0
- package/components/molecules/form/components/index.d.ts.map +1 -1
- package/components/molecules/index.d.ts +1 -1
- package/components/molecules/index.d.ts.map +1 -1
- package/components/molecules/list/common/samples/data-providers/custom-data-provider.d.ts.map +1 -1
- package/components/molecules/modal/common/styles/modal.styles.d.ts +4 -0
- package/components/molecules/modal/common/styles/modal.styles.d.ts.map +1 -1
- package/components/molecules/modal/confirm-delete-modal/components/confirm-delete-content.d.ts.map +1 -1
- package/components/molecules/modal/confirm-delete-modal/confirm-delete-modal.d.ts +2 -1
- package/components/molecules/modal/confirm-delete-modal/confirm-delete-modal.d.ts.map +1 -1
- package/components/molecules/modal/form-modal/form-modal.d.ts +2 -2
- package/components/molecules/modal/form-modal/form-modal.d.ts.map +1 -1
- package/components/molecules/modal/index.d.ts +1 -0
- package/components/molecules/modal/index.d.ts.map +1 -1
- package/components/molecules/modal/modal.d.ts +1 -1
- package/components/molecules/shell-menu/components/shell-menu-link.d.ts +1 -2
- package/components/molecules/shell-menu/components/shell-menu-link.d.ts.map +1 -1
- package/components/molecules/shell-menu/shell-menu.d.ts +3 -2
- package/components/molecules/shell-menu/shell-menu.d.ts.map +1 -1
- package/components/molecules/table/common/components/table-header.d.ts.map +1 -1
- package/components/molecules/table/common/components/table-td.d.ts +1 -4
- package/components/molecules/table/common/components/table-td.d.ts.map +1 -1
- package/components/molecules/table/common/types.d.ts +25 -1
- package/components/molecules/table/common/types.d.ts.map +1 -1
- package/components/molecules/table/components/table-tr.d.ts +2 -7
- package/components/molecules/table/components/table-tr.d.ts.map +1 -1
- package/components/molecules/table/helpers/create-column-helper.d.ts +9 -5
- package/components/molecules/table/helpers/create-column-helper.d.ts.map +1 -1
- package/components/molecules/table/index.d.ts +2 -0
- package/components/molecules/table/index.d.ts.map +1 -1
- package/components/molecules/table/storybook/data-provider.d.ts +1 -0
- package/components/molecules/table/storybook/data-provider.d.ts.map +1 -1
- package/components/molecules/table/table.d.ts +2 -18
- package/components/molecules/table/table.d.ts.map +1 -1
- package/components/molecules/table/virtual-table.d.ts +7 -0
- package/components/molecules/table/virtual-table.d.ts.map +1 -0
- package/helpers/get-error-message.d.ts +7 -0
- package/helpers/get-error-message.d.ts.map +1 -0
- package/helpers/index.d.ts +1 -0
- package/helpers/index.d.ts.map +1 -1
- package/helpers/validation/email-validation.d.ts +8 -0
- package/helpers/validation/email-validation.d.ts.map +1 -0
- package/helpers/validation/index.d.ts +1 -0
- package/helpers/validation/index.d.ts.map +1 -1
- package/helpers/validation/password-validation.d.ts +3 -2
- package/helpers/validation/password-validation.d.ts.map +1 -1
- package/index.cjs +2825 -0
- package/index.cjs.map +1 -0
- package/index.js +10834 -776
- package/index.js.map +1 -0
- package/package.json +24 -33
- package/style.css +1 -1
- package/styles/__deprecated__/old-styles/app-styles.d.ts +2 -2
- package/styles/__deprecated__/old-tokens/base/base-component.d.ts +2 -2
- package/styles/__deprecated__/old-tokens/base/base-generic.d.ts +1 -1
- package/styles/__deprecated__/old-tokens/base/base-semantic.d.ts +1 -1
- package/styles/__deprecated__/old-tokens/base/components/button/index.d.ts +1 -1
- package/styles/__deprecated__/old-tokens/base/components/kos-list/index.d.ts +1 -1
- package/styles/__deprecated__/old-tokens/base/components/kos-list-item/index.d.ts +1 -1
- package/styles/__deprecated__/old-tokens/base/components/kos-viewable-list-item/index.d.ts +1 -1
- package/styles/__deprecated__/old-tokens/index.d.ts +2 -2
- package/styles/tokens/common/local-token-helpers.d.ts +166 -0
- package/styles/tokens/common/local-token-helpers.d.ts.map +1 -0
- package/styles/tokens/component-tokens/badge/index.d.ts +17 -0
- package/styles/tokens/component-tokens/badge/index.d.ts.map +1 -0
- package/styles/tokens/component-tokens/branded-header/index.d.ts +1 -2
- package/styles/tokens/component-tokens/branded-header/index.d.ts.map +1 -1
- package/styles/tokens/component-tokens/index.d.ts +16 -2
- package/styles/tokens/component-tokens/index.d.ts.map +1 -1
- package/styles/tokens/component-tokens/modal/index.d.ts +1 -0
- package/styles/tokens/component-tokens/modal/index.d.ts.map +1 -1
- package/styles/tokens/index.d.ts +22 -6
- package/styles/tokens/index.d.ts.map +1 -1
- package/components/atoms/icon/types.d.ts +0 -6
- package/components/atoms/icon/types.d.ts.map +0 -1
- package/components/molecules/details-page-layout/details-page-layout.d.ts +0 -19
- package/components/molecules/details-page-layout/details-page-layout.d.ts.map +0 -1
- package/components/molecules/details-page-layout/index.d.ts +0 -2
- package/index.mjs +0 -17313
|
@@ -1,15 +1,13 @@
|
|
|
1
|
-
import { EndColor, StartColor } from './types';
|
|
2
1
|
import { IconIds } from '../../atoms';
|
|
3
2
|
import { ComponentType } from 'react';
|
|
4
3
|
|
|
5
4
|
export interface BrandedHeaderProps {
|
|
5
|
+
color: string;
|
|
6
6
|
icon?: IconIds;
|
|
7
|
-
startColor: StartColor;
|
|
8
|
-
endColor: EndColor;
|
|
9
7
|
title: string;
|
|
10
8
|
description?: string;
|
|
11
9
|
Action?: ComponentType;
|
|
12
10
|
isOffline?: boolean;
|
|
13
11
|
}
|
|
14
|
-
export declare const BrandedHeader: import('react').MemoExoticComponent<({
|
|
12
|
+
export declare const BrandedHeader: import('react').MemoExoticComponent<({ color, title, description, icon, Action, isOffline, }: BrandedHeaderProps) => import("@emotion/react/jsx-runtime").JSX.Element>;
|
|
15
13
|
//# sourceMappingURL=branded-header.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"branded-header.d.ts","sourceRoot":"","sources":["../../../../../../../packages/libraries/base-ui-components/src/components/molecules/branded-header/branded-header.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,aAAa,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EAAc,KAAK,OAAO,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"branded-header.d.ts","sourceRoot":"","sources":["../../../../../../../packages/libraries/base-ui-components/src/components/molecules/branded-header/branded-header.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,aAAa,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EAAc,KAAK,OAAO,EAAE,MAAM,aAAa,CAAC;AAcvD,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,aAAa,CAAC;IACvB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,eAAO,MAAM,aAAa,gGAQrB,kBAAkB,sDAyBtB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"artifact-version.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/libraries/base-ui-components/src/components/molecules/collapsible-artifact/components/artifact-version.tsx"],"names":[],"mappings":";AAMA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAKtC,MAAM,WAAW,oBAAqB,SAAQ,QAAQ;IACpD,UAAU,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,eAAO,MAAM,eAAe,yHASvB,oBAAoB,
|
|
1
|
+
{"version":3,"file":"artifact-version.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/libraries/base-ui-components/src/components/molecules/collapsible-artifact/components/artifact-version.tsx"],"names":[],"mappings":";AAMA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAKtC,MAAM,WAAW,oBAAqB,SAAQ,QAAQ;IACpD,UAAU,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,eAAO,MAAM,eAAe,yHASvB,oBAAoB,sDA8CxB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface EmptyListMessageProps {
|
|
3
|
+
title: string;
|
|
4
|
+
message: string;
|
|
5
|
+
}
|
|
6
|
+
export declare const EmptyListMessage: import('react').MemoExoticComponent<({ title, message }: EmptyListMessageProps) => import("@emotion/react/jsx-runtime").JSX.Element>;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=empty-list-message.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"empty-list-message.d.ts","sourceRoot":"","sources":["../../../../../../../packages/libraries/base-ui-components/src/components/molecules/empty-list-message/empty-list-message.tsx"],"names":[],"mappings":";AAMA,UAAU,qBAAqB;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,gBAAgB,2DACN,qBAAqB,sDAU3C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../packages/libraries/base-ui-components/src/components/molecules/empty-list-message/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { FieldValues } from 'react-hook-form';
|
|
2
2
|
|
|
3
|
-
export declare const useFormContext: <T extends FieldValues = FieldValues>() => import('react-hook-form').UseFormReturn<T, any,
|
|
3
|
+
export declare const useFormContext: <T extends FieldValues = FieldValues>() => import('react-hook-form').UseFormReturn<T, any, T>;
|
|
4
4
|
//# sourceMappingURL=use-form-context.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-form-context.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/libraries/base-ui-components/src/components/molecules/form/common/hooks/use-form-context.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,KAAK,WAAW,EACjB,MAAM,iBAAiB,CAAC;AAEzB,eAAO,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"use-form-context.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/libraries/base-ui-components/src/components/molecules/form/common/hooks/use-form-context.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,KAAK,WAAW,EACjB,MAAM,iBAAiB,CAAC;AAEzB,eAAO,MAAM,cAAc,+FACL,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { BaseFormFieldProps } from '../common/types';
|
|
2
|
+
import { FieldPath, FieldValues } from 'react-hook-form';
|
|
3
|
+
|
|
4
|
+
export type FormFileInputProps<T extends FieldValues = FieldValues, N extends FieldPath<T> = FieldPath<T>> = BaseFormFieldProps<T, N> & {
|
|
5
|
+
placeholder: string;
|
|
6
|
+
};
|
|
7
|
+
export declare const FormFileInput: <T extends FieldValues = FieldValues, N extends FieldPath<T> = FieldPath<T>>({ name, disabled, label, handleError, readOnly, placeholder, ...controlOptions }: FormFileInputProps<T, N>) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
8
|
+
//# sourceMappingURL=form-file-input.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form-file-input.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/libraries/base-ui-components/src/components/molecules/form/components/form-file-input.tsx"],"names":[],"mappings":"AAIA,OAAO,EAGL,KAAK,SAAS,EACd,KAAK,WAAW,EACjB,MAAM,iBAAiB,CAAC;AAKzB,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAI1D,MAAM,MAAM,kBAAkB,CAC5B,CAAC,SAAS,WAAW,GAAG,WAAW,EACnC,CAAC,SAAS,SAAS,CAAC,CAAC,CAAC,GAAG,SAAS,CAAC,CAAC,CAAC,IACnC,kBAAkB,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;IAC7B,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,aAAa,iKAWvB,mBAAmB,CAAC,EAAE,CAAC,CAAC,qDAkH1B,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { BaseFormFieldProps } from '../common/types';
|
|
2
|
+
import { MultiSelectProps } from '../../../atoms';
|
|
3
|
+
import { FieldPath, FieldValues } from 'react-hook-form';
|
|
4
|
+
|
|
5
|
+
export type FormMultiSelectProps<T extends FieldValues = FieldValues, N extends FieldPath<T> = FieldPath<T>> = BaseFormFieldProps<T, N> & Omit<MultiSelectProps, "disabled" | "selected" | "onChange">;
|
|
6
|
+
export declare const FormMultiSelect: <T extends FieldValues = FieldValues, N extends FieldPath<T> = FieldPath<T>>({ name, disabled, label, handleError, options, selectAllHidden, SelectAllItemTemplate, ListItemTemplate, SelectedItemTemplate, className, readOnly, closeOnSelect, ...controlOptions }: FormMultiSelectProps<T, N>) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
7
|
+
//# sourceMappingURL=form-multi-select.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form-multi-select.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/libraries/base-ui-components/src/components/molecules/form/components/form-multi-select.tsx"],"names":[],"mappings":"AAEA,OAAO,EAGL,KAAK,SAAS,EACd,KAAK,WAAW,EACjB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAGL,KAAK,gBAAgB,EACtB,MAAM,gBAAgB,CAAC;AAKxB,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAE1D,MAAM,MAAM,oBAAoB,CAC9B,CAAC,SAAS,WAAW,GAAG,WAAW,EACnC,CAAC,SAAS,SAAS,CAAC,CAAC,CAAC,GAAG,SAAS,CAAC,CAAC,CAAC,IACnC,kBAAkB,CAAC,CAAC,EAAE,CAAC,CAAC,GAC1B,IAAI,CAAC,gBAAgB,EAAE,UAAU,GAAG,UAAU,GAAG,UAAU,CAAC,CAAC;AAE/D,eAAO,MAAM,eAAe,uQAiBzB,qBAAqB,CAAC,EAAE,CAAC,CAAC,qDAsD5B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-select.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/libraries/base-ui-components/src/components/molecules/form/components/form-select.tsx"],"names":[],"mappings":"AAEA,OAAO,EAGL,KAAK,SAAS,EACd,KAAK,WAAW,EACjB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,KAAK,UAAU,EACf,KAAK,OAAO,EACZ,KAAK,WAAW,EACjB,MAAM,gBAAgB,CAAC;AASxB,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAG1D,MAAM,MAAM,eAAe,CACzB,CAAC,SAAS,WAAW,GAAG,WAAW,EACnC,CAAC,SAAS,SAAS,CAAC,CAAC,CAAC,GAAG,SAAS,CAAC,CAAC,CAAC,IACnC,kBAAkB,CAAC,CAAC,EAAE,CAAC,CAAC,GAC1B,IAAI,CAAC,WAAW,EAAE,UAAU,GAAG,WAAW,GAAG,UAAU,CAAC,GAAG;IACzD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,eAAe,CAAC,EAAE,UAAU,CAAC;CAC9B,CAAC;AAEJ,eAAO,MAAM,UAAU,mNAepB,gBAAgB,CAAC,EAAE,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"form-select.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/libraries/base-ui-components/src/components/molecules/form/components/form-select.tsx"],"names":[],"mappings":"AAEA,OAAO,EAGL,KAAK,SAAS,EACd,KAAK,WAAW,EACjB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,KAAK,UAAU,EACf,KAAK,OAAO,EACZ,KAAK,WAAW,EACjB,MAAM,gBAAgB,CAAC;AASxB,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAG1D,MAAM,MAAM,eAAe,CACzB,CAAC,SAAS,WAAW,GAAG,WAAW,EACnC,CAAC,SAAS,SAAS,CAAC,CAAC,CAAC,GAAG,SAAS,CAAC,CAAC,CAAC,IACnC,kBAAkB,CAAC,CAAC,EAAE,CAAC,CAAC,GAC1B,IAAI,CAAC,WAAW,EAAE,UAAU,GAAG,WAAW,GAAG,UAAU,CAAC,GAAG;IACzD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,eAAe,CAAC,EAAE,UAAU,CAAC;CAC9B,CAAC;AAEJ,eAAO,MAAM,UAAU,mNAepB,gBAAgB,CAAC,EAAE,CAAC,CAAC,qDAuDvB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-submit.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/libraries/base-ui-components/src/components/molecules/form/components/form-submit.tsx"],"names":[],"mappings":";AACA,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAExE,OAAO,EAEL,KAAK,WAAW,EAEjB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,WAAW,CAAC;AAE/C,UAAU,eAAe,CAAC,CAAC,SAAS,WAAW,GAAG,WAAW,CAC3D,SAAQ,IAAI,CAAC,WAAW,EAAE,MAAM,GAAG,UAAU,CAAC;IAC9C,QAAQ,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;IAC3B,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;
|
|
1
|
+
{"version":3,"file":"form-submit.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/libraries/base-ui-components/src/components/molecules/form/components/form-submit.tsx"],"names":[],"mappings":";AACA,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAExE,OAAO,EAEL,KAAK,WAAW,EAEjB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,WAAW,CAAC;AAE/C,UAAU,eAAe,CAAC,CAAC,SAAS,WAAW,GAAG,WAAW,CAC3D,SAAQ,IAAI,CAAC,WAAW,EAAE,MAAM,GAAG,UAAU,CAAC;IAC9C,QAAQ,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;IAC3B,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;AAmCD,eAAO,MAAM,UAAU,kJAAqC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/libraries/base-ui-components/src/components/molecules/form/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAC;AAC7C,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/libraries/base-ui-components/src/components/molecules/form/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAC;AAC7C,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC"}
|
|
@@ -17,8 +17,8 @@ export * from './shell-menu';
|
|
|
17
17
|
export * from './holder-list-item-template';
|
|
18
18
|
export * from './branded-header';
|
|
19
19
|
export * from './table';
|
|
20
|
-
export * from './details-page-layout';
|
|
21
20
|
export * from './screen-overlay-with-action';
|
|
22
21
|
export * from './date-picker';
|
|
23
22
|
export * from './menu-wrapper';
|
|
23
|
+
export * from './empty-list-message';
|
|
24
24
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../packages/libraries/base-ui-components/src/components/molecules/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,uBAAuB,CAAC;AACtC,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,kBAAkB,CAAC;AACjC,cAAc,SAAS,CAAC;AACxB,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../packages/libraries/base-ui-components/src/components/molecules/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,uBAAuB,CAAC;AACtC,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,kBAAkB,CAAC;AACjC,cAAc,SAAS,CAAC;AACxB,cAAc,8BAA8B,CAAC;AAC7C,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC"}
|
package/components/molecules/list/common/samples/data-providers/custom-data-provider.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"custom-data-provider.d.ts","sourceRoot":"","sources":["../../../../../../../../../../packages/libraries/base-ui-components/src/components/molecules/list/common/samples/data-providers/custom-data-provider.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAEhE,MAAM,WAAW,cAAe,SAAQ,QAAQ;IAC9C,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,OAAO,CAAC;CACpB;AAID,qBAAa,kBAAmB,SAAQ,sBAAsB,CAC5D,WAAW,EACX,SAAS,EACT,cAAc,CACf;gBACa,MAAM,EAAE,WAAW;CAGhC;AAED,qBAAa,6BAA8B,SAAQ,sBAAsB,CACvE,WAAW,EACX,SAAS,EACT,cAAc,CACf;gBACa,MAAM,EAAE,WAAW;IAI/B,eAAe,CAAC,CAAC,EAAE,SAAS,EAAE,CAAC,EAAE,SAAS;CAG3C;AAED,qBAAa,4BAA6B,SAAQ,sBAAsB,CACtE,WAAW,EACX,SAAS,EACT,cAAc,CACf;gBACa,MAAM,EAAE,WAAW;
|
|
1
|
+
{"version":3,"file":"custom-data-provider.d.ts","sourceRoot":"","sources":["../../../../../../../../../../packages/libraries/base-ui-components/src/components/molecules/list/common/samples/data-providers/custom-data-provider.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAEhE,MAAM,WAAW,cAAe,SAAQ,QAAQ;IAC9C,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,OAAO,CAAC;CACpB;AAID,qBAAa,kBAAmB,SAAQ,sBAAsB,CAC5D,WAAW,EACX,SAAS,EACT,cAAc,CACf;gBACa,MAAM,EAAE,WAAW;CAGhC;AAED,qBAAa,6BAA8B,SAAQ,sBAAsB,CACvE,WAAW,EACX,SAAS,EACT,cAAc,CACf;gBACa,MAAM,EAAE,WAAW;IAI/B,eAAe,CAAC,CAAC,EAAE,SAAS,EAAE,CAAC,EAAE,SAAS;CAG3C;AAED,qBAAa,4BAA6B,SAAQ,sBAAsB,CACtE,WAAW,EACX,SAAS,EACT,cAAc,CACf;gBACa,MAAM,EAAE,WAAW;CAGhC;AAED,qBAAa,8BAA+B,SAAQ,sBAAsB,CACxE,WAAW,EACX,SAAS,EACT,cAAc,CACf;gBACa,MAAM,EAAE,WAAW;IAI/B,QAAQ,CAAC,CAAC,EAAE,cAAc,EAAE,CAAC,EAAE,cAAc,GAAG,MAAM;CAGvD"}
|
|
@@ -15,4 +15,8 @@ export declare const ModalFooter: import('@emotion/styled').StyledComponent<{
|
|
|
15
15
|
theme?: import('@emotion/react').Theme | undefined;
|
|
16
16
|
as?: import('react').ElementType<any> | undefined;
|
|
17
17
|
}, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
18
|
+
export declare const BaseModalContent: import('@emotion/styled').StyledComponent<{
|
|
19
|
+
theme?: import('@emotion/react').Theme | undefined;
|
|
20
|
+
as?: import('react').ElementType<any> | undefined;
|
|
21
|
+
}, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
18
22
|
//# sourceMappingURL=modal.styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modal.styles.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/libraries/base-ui-components/src/components/molecules/modal/common/styles/modal.styles.tsx"],"names":[],"mappings":";AAKA,eAAO,MAAM,YAAY;;;yGAQxB,CAAC;AAEF,eAAO,MAAM,WAAW;;;yGAQvB,CAAC;AAEF,eAAO,MAAM,YAAY;;;yGAGxB,CAAC;AAEF,eAAO,MAAM,WAAW;;;yGAOvB,CAAC"}
|
|
1
|
+
{"version":3,"file":"modal.styles.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/libraries/base-ui-components/src/components/molecules/modal/common/styles/modal.styles.tsx"],"names":[],"mappings":";AAKA,eAAO,MAAM,YAAY;;;yGAQxB,CAAC;AAEF,eAAO,MAAM,WAAW;;;yGAQvB,CAAC;AAEF,eAAO,MAAM,YAAY;;;yGAGxB,CAAC;AAEF,eAAO,MAAM,WAAW;;;yGAOvB,CAAC;AAEF,eAAO,MAAM,gBAAgB;;;yGAM5B,CAAC"}
|
package/components/molecules/modal/confirm-delete-modal/components/confirm-delete-content.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"confirm-delete-content.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/libraries/base-ui-components/src/components/molecules/modal/confirm-delete-modal/components/confirm-delete-content.tsx"],"names":[],"mappings":"AACA,OAAO,EAAqB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAI1D,UAAU,yBAAyB;IACjC,WAAW,EAAE,SAAS,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,oBAAoB,gFACW,yBAAyB,
|
|
1
|
+
{"version":3,"file":"confirm-delete-content.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/libraries/base-ui-components/src/components/molecules/modal/confirm-delete-modal/components/confirm-delete-content.tsx"],"names":[],"mappings":"AACA,OAAO,EAAqB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAI1D,UAAU,yBAAyB;IACjC,WAAW,EAAE,SAAS,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,oBAAoB,gFACW,yBAAyB,sDA6BpE,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { UseFormSetError } from 'react-hook-form';
|
|
1
2
|
import { ConfirmDeleteFormData } from './common/types';
|
|
2
3
|
import { ReactNode } from 'react';
|
|
3
4
|
|
|
@@ -5,7 +6,7 @@ export interface ConfirmDeleteModalProps {
|
|
|
5
6
|
compareText: string;
|
|
6
7
|
headerText: string;
|
|
7
8
|
contentText: ReactNode;
|
|
8
|
-
onConfirm: (data: ConfirmDeleteFormData, closeModal: () => void) => void;
|
|
9
|
+
onConfirm: (data: ConfirmDeleteFormData, closeModal: () => void, setError: UseFormSetError<ConfirmDeleteFormData>) => void;
|
|
9
10
|
errorText?: string;
|
|
10
11
|
}
|
|
11
12
|
export declare const ConfirmDeleteModal: import('react').ForwardRefExoticComponent<ConfirmDeleteModalProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"confirm-delete-modal.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/libraries/base-ui-components/src/components/molecules/modal/confirm-delete-modal/confirm-delete-modal.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA2B,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAQhE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AAE5D,MAAM,WAAW,uBAAuB;IACtC,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,SAAS,CAAC;IACvB,SAAS,EAAE,
|
|
1
|
+
{"version":3,"file":"confirm-delete-modal.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/libraries/base-ui-components/src/components/molecules/modal/confirm-delete-modal/confirm-delete-modal.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA2B,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAQhE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AAE5D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAEvD,MAAM,WAAW,uBAAuB;IACtC,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,SAAS,CAAC;IACvB,SAAS,EAAE,CACT,IAAI,EAAE,qBAAqB,EAC3B,UAAU,EAAE,MAAM,IAAI,EACtB,QAAQ,EAAE,eAAe,CAAC,qBAAqB,CAAC,KAC7C,IAAI,CAAC;IACV,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAMD,eAAO,MAAM,kBAAkB,oHAkC7B,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ButtonVariant } from '../../../atoms/button/button';
|
|
2
1
|
import { FormProps } from '../../form';
|
|
3
|
-
import {
|
|
2
|
+
import { ButtonVariant } from '../../../atoms/button/button';
|
|
4
3
|
import { FieldValues, UseFormReset, UseFormSetError } from 'react-hook-form';
|
|
4
|
+
import { ReactNode, ComponentType } from 'react';
|
|
5
5
|
|
|
6
6
|
interface ModalSubmitArgs<T extends FieldValues = FieldValues> {
|
|
7
7
|
data: T;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-modal.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/libraries/base-ui-components/src/components/molecules/modal/form-modal/form-modal.tsx"],"names":[],"mappings":"AACA,OAAO,EAGL,KAAK,WAAW,EAEhB,KAAK,YAAY,EACjB,KAAK,eAAe,EACrB,MAAM,iBAAiB,CAAC;AACzB,OAAO,
|
|
1
|
+
{"version":3,"file":"form-modal.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/libraries/base-ui-components/src/components/molecules/modal/form-modal/form-modal.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,SAAS,EAET,KAAK,aAAa,EAEnB,MAAM,OAAO,CAAC;AACf,OAAO,EAGL,KAAK,WAAW,EAEhB,KAAK,YAAY,EACjB,KAAK,eAAe,EACrB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAU,KAAK,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAI1E,OAAO,EAAc,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAQxD,UAAU,eAAe,CAAC,CAAC,SAAS,WAAW,GAAG,WAAW;IAC3D,IAAI,EAAE,CAAC,CAAC;IACR,QAAQ,EAAE,eAAe,CAAC,CAAC,CAAC,CAAC;IAC7B,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,SAAS,EAAE,YAAY,CAAC,CAAC,CAAC,CAAC;CAC5B;AAED,MAAM,MAAM,kBAAkB,CAAC,CAAC,SAAS,WAAW,GAAG,WAAW,IAAI,CACpE,IAAI,EAAE,eAAe,CAAC,CAAC,CAAC,KACrB,IAAI,CAAC;AAEV,MAAM,WAAW,cAAc,CAAC,CAAC,SAAS,WAAW,GAAG,WAAW,CACjE,SAAQ,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,UAAU,GAAG,mBAAmB,GAAG,UAAU,CAAC;IACzE,MAAM,EAAE,SAAS,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,SAAS,CAAC;IACnB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,YAAY,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC;IAC5C,QAAQ,EAAE,kBAAkB,CAAC,CAAC,CAAC,CAAC;IAChC,mBAAmB,CAAC,EAAE,aAAa,CAAC;IACpC,mBAAmB,CAAC,EAAE,aAAa,CAAC;IACpC,cAAc,CAAC,EAAE,aAAa,CAAC;CAChC;AA2FD,eAAO,MAAM,SAAS,8HAAoC,CAAC"}
|
|
@@ -2,4 +2,5 @@ export { Modal, ModalTrigger, ModalOverlayStyles } from './modal';
|
|
|
2
2
|
export type { ModalSubmitHandler } from './form-modal';
|
|
3
3
|
export type { ConfirmDeleteModalProps } from './confirm-delete-modal';
|
|
4
4
|
export { useDialogContext as useModalContext } from '../../atoms/dialog';
|
|
5
|
+
export { BaseModalContent } from './common/styles/modal.styles';
|
|
5
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../packages/libraries/base-ui-components/src/components/molecules/modal/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAClE,YAAY,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AACvD,YAAY,EAAE,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AACtE,OAAO,EAAE,gBAAgB,IAAI,eAAe,EAAE,MAAM,oBAAoB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../packages/libraries/base-ui-components/src/components/molecules/modal/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAClE,YAAY,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AACvD,YAAY,EAAE,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AACtE,OAAO,EAAE,gBAAgB,IAAI,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACzE,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC"}
|
|
@@ -7,6 +7,6 @@ interface ModalTriggerProps {
|
|
|
7
7
|
children: ReactNode;
|
|
8
8
|
}
|
|
9
9
|
export declare const ModalTrigger: ({ children }: ModalTriggerProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
10
|
-
export declare const ModalOverlayStyles: import('@emotion/
|
|
10
|
+
export declare const ModalOverlayStyles: import('@emotion/react').SerializedStyles;
|
|
11
11
|
export {};
|
|
12
12
|
//# sourceMappingURL=modal.d.ts.map
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
interface ShellMenuLinkProps {
|
|
2
|
+
export interface ShellMenuLinkProps {
|
|
3
3
|
text: string;
|
|
4
4
|
onClick: () => void;
|
|
5
5
|
isActive: boolean;
|
|
6
6
|
}
|
|
7
7
|
export declare const ShellMenuLink: import('react').MemoExoticComponent<({ text, onClick, isActive }: ShellMenuLinkProps) => import("@emotion/react/jsx-runtime").JSX.Element>;
|
|
8
|
-
export {};
|
|
9
8
|
//# sourceMappingURL=shell-menu-link.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shell-menu-link.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/libraries/base-ui-components/src/components/molecules/shell-menu/components/shell-menu-link.tsx"],"names":[],"mappings":";AAOA,
|
|
1
|
+
{"version":3,"file":"shell-menu-link.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/libraries/base-ui-components/src/components/molecules/shell-menu/components/shell-menu-link.tsx"],"names":[],"mappings":";AAOA,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,EAAE,OAAO,CAAC;CACnB;AAED,eAAO,MAAM,aAAa,oEACM,kBAAkB,sDAUjD,CAAC"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
|
|
3
3
|
interface ShellMenuProps {
|
|
4
|
+
className?: string;
|
|
5
|
+
left?: ReactNode;
|
|
4
6
|
right?: ReactNode;
|
|
5
|
-
left: ReactNode;
|
|
6
7
|
}
|
|
7
|
-
export declare const ShellMenu: ({
|
|
8
|
+
export declare const ShellMenu: ({ className, left, right }: ShellMenuProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
8
9
|
export {};
|
|
9
10
|
//# sourceMappingURL=shell-menu.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shell-menu.d.ts","sourceRoot":"","sources":["../../../../../../../packages/libraries/base-ui-components/src/components/molecules/shell-menu/shell-menu.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC,UAAU,cAAc;IACtB,
|
|
1
|
+
{"version":3,"file":"shell-menu.d.ts","sourceRoot":"","sources":["../../../../../../../packages/libraries/base-ui-components/src/components/molecules/shell-menu/shell-menu.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC,UAAU,cAAc;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,KAAK,CAAC,EAAE,SAAS,CAAC;CACnB;AAED,eAAO,MAAM,SAAS,+BAAgC,cAAc,qDAKnE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-header.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/libraries/base-ui-components/src/components/molecules/table/common/components/table-header.tsx"],"names":[],"mappings":";AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"table-header.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/libraries/base-ui-components/src/components/molecules/table/common/components/table-header.tsx"],"names":[],"mappings":";AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AA6B3D,UAAU,gBAAgB;IACxB,SAAS,EAAE,aAAa,GAAG,KAAK,CAAC;IACjC,OAAO,EAAE,OAAO,CAAC;IACjB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,aAAa,EAAE,MAAM,IAAI,CAAC;CAC3B;AAED,eAAO,MAAM,WAAW,mGAQnB,gBAAgB,sDAuCpB,CAAC"}
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import { BaseTableItem,
|
|
2
|
+
import { BaseTableItem, TableTdProps } from '../types';
|
|
3
3
|
|
|
4
|
-
export interface TableTdProps<T extends BaseTableItem> {
|
|
5
|
-
cell: TableCell<T, unknown>;
|
|
6
|
-
}
|
|
7
4
|
export declare const TableTd: <T extends BaseTableItem>(props: TableTdProps<T>) => ReactNode;
|
|
8
5
|
//# sourceMappingURL=table-td.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-td.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/libraries/base-ui-components/src/components/molecules/table/common/components/table-td.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,
|
|
1
|
+
{"version":3,"file":"table-td.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/libraries/base-ui-components/src/components/molecules/table/common/components/table-td.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAC5D,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAK7C,eAAO,MAAM,OAAO,EAAE,CAAC,CAAC,SAAS,aAAa,EAC5C,KAAK,EAAE,YAAY,CAAC,CAAC,CAAC,KACnB,SAYH,CAAC"}
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import { TranslationFunction } from '../../../common/types';
|
|
2
|
+
import { Cell, ColumnDef, Row } from '@tanstack/react-table';
|
|
3
|
+
import { ComponentType, HTMLAttributes, ReactNode } from 'react';
|
|
4
|
+
|
|
5
|
+
export { type Cell as TableCell, type ColumnDef as TableColumn, type ColumnHelper as TableColumnHelper, type Table as TableDef, type Row as TableRow, type RowData as TableRowData, } from '@tanstack/react-table';
|
|
2
6
|
export interface BaseTableItem {
|
|
3
7
|
id: string;
|
|
4
8
|
name: string;
|
|
@@ -10,4 +14,24 @@ export interface TableDataProvider<T extends BaseTableItem> {
|
|
|
10
14
|
whenReady?: () => Promise<void>;
|
|
11
15
|
refresh?: () => void;
|
|
12
16
|
}
|
|
17
|
+
export interface TableTdProps<T extends BaseTableItem> {
|
|
18
|
+
cell: Cell<T, unknown>;
|
|
19
|
+
}
|
|
20
|
+
export interface TableTrProps<T extends BaseTableItem> {
|
|
21
|
+
row: Row<T>;
|
|
22
|
+
TdComponent?: ComponentType<TableTdProps<T>>;
|
|
23
|
+
}
|
|
24
|
+
export interface TableProps<T extends BaseTableItem, D extends TableDataProvider<T>> extends HTMLAttributes<HTMLTableElement> {
|
|
25
|
+
columns: ColumnDef<T, unknown>[];
|
|
26
|
+
dataProvider?: D;
|
|
27
|
+
getRowId?: (row: T) => string;
|
|
28
|
+
emptyState?: ReactNode;
|
|
29
|
+
isSortable?: boolean;
|
|
30
|
+
t?: TranslationFunction;
|
|
31
|
+
TrComponent?: ComponentType<TableTrProps<T>>;
|
|
32
|
+
TdComponent?: ComponentType<TableTdProps<T>>;
|
|
33
|
+
renderEmptyAsStandalone?: boolean;
|
|
34
|
+
onListItemAction?: (itemId: string, actionId: string) => void;
|
|
35
|
+
disabled?: boolean;
|
|
36
|
+
}
|
|
13
37
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/libraries/base-ui-components/src/components/molecules/table/common/types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/libraries/base-ui-components/src/components/molecules/table/common/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGtE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,uBAAuB,CAAC;AAE7D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAGjE,OAAO,EACL,KAAK,IAAI,IAAI,SAAS,EACtB,KAAK,SAAS,IAAI,WAAW,EAC7B,KAAK,YAAY,IAAI,iBAAiB,EACtC,KAAK,KAAK,IAAI,QAAQ,EACtB,KAAK,GAAG,IAAI,QAAQ,EACpB,KAAK,OAAO,IAAI,YAAY,GAC7B,MAAM,uBAAuB,CAAC;AAE/B,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,iBAAiB,CAAC,CAAC,SAAS,aAAa;IACxD,KAAK,EAAE,CAAC,EAAE,CAAC;IACX,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAChC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,MAAM,WAAW,YAAY,CAAC,CAAC,SAAS,aAAa;IACnD,IAAI,EAAE,IAAI,CAAC,CAAC,EAAE,OAAO,CAAC,CAAC;CACxB;AAED,MAAM,WAAW,YAAY,CAAC,CAAC,SAAS,aAAa;IACnD,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC;IACZ,WAAW,CAAC,EAAE,aAAa,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC;CAC9C;AAED,MAAM,WAAW,UAAU,CACzB,CAAC,SAAS,aAAa,EACvB,CAAC,SAAS,iBAAiB,CAAC,CAAC,CAAC,CAC9B,SAAQ,cAAc,CAAC,gBAAgB,CAAC;IAExC,OAAO,EAAE,SAAS,CAAC,CAAC,EAAE,OAAO,CAAC,EAAE,CAAC;IAEjC,YAAY,CAAC,EAAE,CAAC,CAAC;IAEjB,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,CAAC,KAAK,MAAM,CAAC;IAE9B,UAAU,CAAC,EAAE,SAAS,CAAC;IAEvB,UAAU,CAAC,EAAE,OAAO,CAAC;IAGrB,CAAC,CAAC,EAAE,mBAAmB,CAAC;IAExB,WAAW,CAAC,EAAE,aAAa,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC;IAE7C,WAAW,CAAC,EAAE,aAAa,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC;IAE7C,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAGlC,gBAAgB,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAK9D,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB"}
|
|
@@ -1,10 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { ComponentType, ReactNode } from 'react';
|
|
1
|
+
import { BaseTableItem, TableTrProps } from '../common/types';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
4
3
|
|
|
5
|
-
export interface TableTrProps<T extends BaseTableItem> {
|
|
6
|
-
row: TableRow<T>;
|
|
7
|
-
TdComponent?: ComponentType<TableTdProps<T>>;
|
|
8
|
-
}
|
|
9
4
|
export declare const TableTr: <T extends BaseTableItem>(props: TableTrProps<T>) => ReactNode;
|
|
10
5
|
//# sourceMappingURL=table-tr.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-tr.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/libraries/base-ui-components/src/components/molecules/table/components/table-tr.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,
|
|
1
|
+
{"version":3,"file":"table-tr.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/libraries/base-ui-components/src/components/molecules/table/components/table-tr.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAC7C,OAAO,KAAK,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAInE,eAAO,MAAM,OAAO,EAAE,CAAC,CAAC,SAAS,aAAa,EAC5C,KAAK,EAAE,YAAY,CAAC,CAAC,CAAC,KACnB,SAUH,CAAC"}
|
|
@@ -1,19 +1,23 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TableColumnHelper, TableRowData } from '../common/types';
|
|
2
2
|
|
|
3
3
|
interface CustomTableColumnMeta {
|
|
4
4
|
width?: string;
|
|
5
5
|
isBlank?: boolean;
|
|
6
|
+
isVirtual?: boolean;
|
|
6
7
|
}
|
|
7
8
|
declare module "@tanstack/table-core" {
|
|
8
|
-
interface ColumnMeta<TData extends
|
|
9
|
+
interface ColumnMeta<TData extends TableRowData, TValue> {
|
|
9
10
|
width?: string;
|
|
10
11
|
isBlank?: boolean;
|
|
11
12
|
}
|
|
13
|
+
interface TableMeta<TData extends TableRowData> {
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
}
|
|
12
16
|
}
|
|
13
17
|
export declare const createTableColumnHelper: <T extends unknown>() => {
|
|
14
|
-
displayColumn: (meta?: CustomTableColumnMeta) =>
|
|
15
|
-
accessorColumn: (meta?: CustomTableColumnMeta) =>
|
|
16
|
-
groupColumn: (meta?: CustomTableColumnMeta) =>
|
|
18
|
+
displayColumn: (meta?: CustomTableColumnMeta) => TableColumnHelper<T>["display"];
|
|
19
|
+
accessorColumn: (meta?: CustomTableColumnMeta) => TableColumnHelper<T>["accessor"];
|
|
20
|
+
groupColumn: (meta?: CustomTableColumnMeta) => TableColumnHelper<T>["group"];
|
|
17
21
|
};
|
|
18
22
|
export {};
|
|
19
23
|
//# sourceMappingURL=create-column-helper.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-column-helper.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/libraries/base-ui-components/src/components/molecules/table/helpers/create-column-helper.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-column-helper.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/libraries/base-ui-components/src/components/molecules/table/helpers/create-column-helper.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAClE,UAAU,qBAAqB;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,OAAO,QAAQ,sBAAsB,CAAC;IAEpC,UAAU,UAAU,CAAC,KAAK,SAAS,YAAY,EAAE,MAAM;QACrD,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,OAAO,CAAC,EAAE,OAAO,CAAC;KACnB;IAED,UAAU,SAAS,CAAC,KAAK,SAAS,YAAY;QAC5C,QAAQ,CAAC,EAAE,OAAO,CAAC;KACpB;CACF;AAED,eAAO,MAAM,uBAAuB;2BA+BzB,qBAAqB,KACzB,kBAAkB,CAAC,CAAC,CAAC,SAAS,CAAC;4BA5B3B,qBAAqB,KACzB,kBAAkB,CAAC,CAAC,CAAC,UAAU,CAAC;yBAqD5B,qBAAqB,KACzB,kBAAkB,CAAC,CAAC,CAAC,OAAO,CAAC;CAenC,CAAC"}
|
|
@@ -2,6 +2,8 @@ export * from './table';
|
|
|
2
2
|
export * from './common/types';
|
|
3
3
|
export * from './helpers';
|
|
4
4
|
export { TableHeader } from './common/components/table-header';
|
|
5
|
+
export { TableTd } from './common/components/table-td';
|
|
5
6
|
export { renderTableContents } from './common/helpers/render-table-contents';
|
|
6
7
|
export { useTableContext } from './common/context/use-table-context';
|
|
8
|
+
export * from './virtual-table';
|
|
7
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../packages/libraries/base-ui-components/src/components/molecules/table/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAE,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;AAC7E,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../packages/libraries/base-ui-components/src/components/molecules/table/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;AAC7E,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AACrE,cAAc,iBAAiB,CAAC"}
|
|
@@ -5,6 +5,7 @@ import { IKosDataContainer } from '../../../../../../../sdk/kos-ui-sdk/src/index
|
|
|
5
5
|
export declare class PeopleContainer {
|
|
6
6
|
data: IKosDataContainer<Person>;
|
|
7
7
|
constructor();
|
|
8
|
+
get people(): Person[];
|
|
8
9
|
}
|
|
9
10
|
export interface PersonListItem extends Omit<Person, "firstName" | "lastName" | "createDate"> {
|
|
10
11
|
name: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-provider.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/libraries/base-ui-components/src/components/molecules/table/storybook/data-provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,iBAAiB,EACvB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,sBAAsB,EAAgB,MAAM,YAAY,CAAC;AAElE,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEhC,qBAAa,eAAe;IAC1B,IAAI,EAAE,iBAAiB,CAAC,MAAM,CAAC,CAAC;;
|
|
1
|
+
{"version":3,"file":"data-provider.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/libraries/base-ui-components/src/components/molecules/table/storybook/data-provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,iBAAiB,EACvB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,sBAAsB,EAAgB,MAAM,YAAY,CAAC;AAElE,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEhC,qBAAa,eAAe;IAC1B,IAAI,EAAE,iBAAiB,CAAC,MAAM,CAAC,CAAC;;IAQhC,IAAI,MAAM,aAET;CACF;AAED,MAAM,WAAW,cACf,SAAQ,IAAI,CAAC,MAAM,EAAE,WAAW,GAAG,UAAU,GAAG,YAAY,CAAC;IAC7D,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,IAAI,CAAC;CAClB;AAWD,qBAAa,kBAAmB,SAAQ,sBAAsB,CAC5D,eAAe,EACf,MAAM,EACN,cAAc,CACf;gBACa,IAAI,EAAE,eAAe;CAGlC"}
|
|
@@ -1,21 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { TranslationFunction } from '../../common/types';
|
|
4
|
-
import { BaseTableItem, TableColumn, TableDataProvider } from './common/types';
|
|
5
|
-
import { ComponentType, HTMLAttributes, ReactNode } from 'react';
|
|
1
|
+
import { BaseTableItem, TableDataProvider, TableProps } from './common/types';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
6
3
|
|
|
7
|
-
interface TableProps<T extends BaseTableItem, D extends TableDataProvider<T>> extends HTMLAttributes<HTMLTableElement> {
|
|
8
|
-
columns: TableColumn<T, unknown>[];
|
|
9
|
-
dataProvider?: D;
|
|
10
|
-
getRowId?: (row: T) => string;
|
|
11
|
-
emptyState?: ReactNode;
|
|
12
|
-
isSortable?: boolean;
|
|
13
|
-
t?: TranslationFunction;
|
|
14
|
-
TrComponent?: ComponentType<TableTrProps<T>>;
|
|
15
|
-
TdComponent?: ComponentType<TableTdProps<T>>;
|
|
16
|
-
renderEmptyAsStandalone?: boolean;
|
|
17
|
-
onListItemAction?: (itemId: string, actionId: string) => void;
|
|
18
|
-
}
|
|
19
4
|
export declare const Table: <T extends BaseTableItem, P extends TableDataProvider<T> = TableDataProvider<T>>(props: TableProps<T, P>) => ReactNode;
|
|
20
|
-
export {};
|
|
21
5
|
//# sourceMappingURL=table.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../../../../../../../packages/libraries/base-ui-components/src/components/molecules/table/table.tsx"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../../../../../../../packages/libraries/base-ui-components/src/components/molecules/table/table.tsx"],"names":[],"mappings":"AACA,OAAO,EAAsB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAC3D,OAAO,KAAK,EACV,aAAa,EACb,iBAAiB,EACjB,UAAU,EACX,MAAM,gBAAgB,CAAC;AAyBxB,eAAO,MAAM,KAAK,EAAE,CAClB,CAAC,SAAS,aAAa,EACvB,CAAC,SAAS,iBAAiB,CAAC,CAAC,CAAC,GAAG,iBAAiB,CAAC,CAAC,CAAC,EAErD,KAAK,EAAE,UAAU,CAAC,CAAC,EAAE,CAAC,CAAC,KACpB,SAsFJ,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { BaseTableItem, TableDataProvider, TableProps } from './common/types';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
|
|
4
|
+
export declare const VirtualTable: <T extends BaseTableItem, P extends TableDataProvider<T> = TableDataProvider<T>>(props: TableProps<T, P> & {
|
|
5
|
+
className?: string;
|
|
6
|
+
}) => ReactNode;
|
|
7
|
+
//# sourceMappingURL=virtual-table.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"virtual-table.d.ts","sourceRoot":"","sources":["../../../../../../../packages/libraries/base-ui-components/src/components/molecules/table/virtual-table.tsx"],"names":[],"mappings":"AACA,OAAO,EAA8B,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACnE,OAAO,KAAK,EACV,aAAa,EAEb,iBAAiB,EACjB,UAAU,EAEX,MAAM,gBAAgB,CAAC;AA4BxB,eAAO,MAAM,YAAY,EAAE,CACzB,CAAC,SAAS,aAAa,EACvB,CAAC,SAAS,iBAAiB,CAAC,CAAC,CAAC,GAAG,iBAAiB,CAAC,CAAC,CAAC,EAErD,KAAK,EAAE,UAAU,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,KAC7C,SA6EJ,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
type ErrorWithMessage = {
|
|
2
|
+
message: string;
|
|
3
|
+
};
|
|
4
|
+
export declare const isErrorWithMessage: (error: unknown) => error is ErrorWithMessage;
|
|
5
|
+
export declare const getErrorMessage: (error: unknown) => string | undefined;
|
|
6
|
+
export {};
|
|
7
|
+
//# sourceMappingURL=get-error-message.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-error-message.d.ts","sourceRoot":"","sources":["../../../../../packages/libraries/base-ui-components/src/helpers/get-error-message.ts"],"names":[],"mappings":"AAAA,KAAK,gBAAgB,GAAG;IACtB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,kBAAkB,UAAW,OAAO,8BAIe,CAAC;AAEjE,eAAO,MAAM,eAAe,UAAW,OAAO,uBAK7C,CAAC"}
|
package/helpers/index.d.ts
CHANGED
package/helpers/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../packages/libraries/base-ui-components/src/helpers/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../packages/libraries/base-ui-components/src/helpers/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAClE,cAAc,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { FieldValues, Validate } from 'react-hook-form';
|
|
2
|
+
|
|
3
|
+
export type EmailValidation<T extends FieldValues = FieldValues> = Record<EmailRequirementKeys, Validate<string, T>>;
|
|
4
|
+
export declare enum EmailRequirementKeys {
|
|
5
|
+
email = "email"
|
|
6
|
+
}
|
|
7
|
+
export declare const getEmailValidation: <T extends FieldValues = FieldValues>() => EmailValidation<T>;
|
|
8
|
+
//# sourceMappingURL=email-validation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"email-validation.d.ts","sourceRoot":"","sources":["../../../../../../packages/libraries/base-ui-components/src/helpers/validation/email-validation.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAG7D,MAAM,MAAM,eAAe,CAAC,CAAC,SAAS,WAAW,GAAG,WAAW,IAAI,MAAM,CACvE,oBAAoB,EACpB,QAAQ,CAAC,MAAM,EAAE,CAAC,CAAC,CACpB,CAAC;AAEF,oBAAY,oBAAoB;IAC9B,KAAK,UAAU;CAChB;AAED,eAAO,MAAM,kBAAkB,6CAE1B,gBAAgB,CAAC,CAIrB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../packages/libraries/base-ui-components/src/helpers/validation/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../packages/libraries/base-ui-components/src/helpers/validation/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC"}
|
|
@@ -5,7 +5,8 @@ export type PasswordValidation<T extends FieldValues = FieldValues> = Record<Pas
|
|
|
5
5
|
export declare enum PasswordRequirementKeys {
|
|
6
6
|
noDigit = "noDigit",
|
|
7
7
|
noUpperCase = "noUpperCase",
|
|
8
|
-
noSpecialCharacter = "noSpecialCharacter"
|
|
8
|
+
noSpecialCharacter = "noSpecialCharacter",
|
|
9
|
+
tooSimilar = "tooSimilar"
|
|
9
10
|
}
|
|
10
|
-
export declare const getPasswordValidation: <T extends FieldValues = FieldValues>() => PasswordValidation<T>;
|
|
11
|
+
export declare const getPasswordValidation: <T extends FieldValues = FieldValues>(includeTooSimilar?: boolean, tooSimilarKey?: string) => PasswordValidation<T>;
|
|
11
12
|
//# sourceMappingURL=password-validation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"password-validation.d.ts","sourceRoot":"","sources":["../../../../../../packages/libraries/base-ui-components/src/helpers/validation/password-validation.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE7D,eAAO,MAAM,mBAAmB,KAAK,CAAC;AAEtC,MAAM,MAAM,kBAAkB,CAAC,CAAC,SAAS,WAAW,GAAG,WAAW,IAAI,MAAM,CAC1E,uBAAuB,EACvB,QAAQ,CAAC,MAAM,EAAE,CAAC,CAAC,CACpB,CAAC;AAEF,oBAAY,uBAAuB;IACjC,OAAO,YAAY;IACnB,WAAW,gBAAgB;IAC3B,kBAAkB,uBAAuB;
|
|
1
|
+
{"version":3,"file":"password-validation.d.ts","sourceRoot":"","sources":["../../../../../../packages/libraries/base-ui-components/src/helpers/validation/password-validation.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE7D,eAAO,MAAM,mBAAmB,KAAK,CAAC;AAEtC,MAAM,MAAM,kBAAkB,CAAC,CAAC,SAAS,WAAW,GAAG,WAAW,IAAI,MAAM,CAC1E,uBAAuB,EACvB,QAAQ,CAAC,MAAM,EAAE,CAAC,CAAC,CACpB,CAAC;AAEF,oBAAY,uBAAuB;IACjC,OAAO,YAAY;IACnB,WAAW,gBAAgB;IAC3B,kBAAkB,uBAAuB;IACzC,UAAU,eAAe;CAC1B;AAED,eAAO,MAAM,qBAAqB,4DACZ,OAAO,kBACX,MAAM,KACrB,mBAAmB,CAAC,CAoBtB,CAAC"}
|