@zealicsolutions/web-ui 1.0.45-beta.0 → 1.0.45-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/contexts/ApiContext/ApiContext.d.ts +12 -0
- package/dist/cjs/contexts/ApiContext/ApiProvider.d.ts +6 -0
- package/dist/cjs/contexts/ApiContext/queries/index.d.ts +1 -0
- package/dist/cjs/contexts/ApiContext/queries/queryKeys.d.ts +3 -0
- package/dist/cjs/contexts/ApiContext/queries/useDataModelFieldOptions.d.ts +5 -0
- package/dist/cjs/contexts/ApiContext/useApi.d.ts +2 -0
- package/dist/cjs/contexts/ButtonActionsContext/useButtonActionsContext.d.ts +1 -0
- package/dist/cjs/contexts/FormStepContext/useFormStepContext.d.ts +1 -0
- package/dist/cjs/contexts/MlrRichTextViewerContext/useMlrRichTextViewerContext.d.ts +1 -0
- package/dist/cjs/contexts/OrganismContext/useOrganismContext.d.ts +1 -0
- package/dist/cjs/contexts/StateContext/useStateContext.d.ts +1 -0
- package/dist/cjs/contexts/index.d.ts +12 -3
- package/dist/cjs/index.js +1590 -1590
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/molecules/Calendar/CalendarMolecule.d.ts +2 -4
- package/dist/cjs/molecules/Select/Select.d.ts +2 -3
- package/dist/cjs/molecules/Stepper/Stepper.stories.d.ts +5 -5
- package/dist/cjs/molecules/Tabs/Tabs.stories.d.ts +5 -5
- package/dist/cjs/typescript.d.ts +3 -0
- package/dist/esm/components/Avatar/Avatar.js +1 -1
- package/dist/esm/components/Avatar/Avatar.js.map +1 -1
- package/dist/esm/components/Buttons/IconButton.js +1 -1
- package/dist/esm/components/Buttons/IconButton.js.map +1 -1
- package/dist/esm/components/Circle/Circle.js +1 -1
- package/dist/esm/components/Circle/Circle.js.map +1 -1
- package/dist/esm/components/RichTextViewer/RichTextViewer.js +1 -1
- package/dist/esm/components/RichTextViewer/RichTextViewer.js.map +1 -1
- package/dist/esm/components/RichTextViewer/components/Leaf.js +1 -1
- package/dist/esm/components/RichTextViewer/components/Leaf.js.map +1 -1
- package/dist/esm/components/Toast/ToastContent.js +1 -1
- package/dist/esm/components/Toast/ToastContent.js.map +1 -1
- package/dist/esm/containers/Container.js +1 -1
- package/dist/esm/containers/Container.js.map +1 -1
- package/dist/esm/containers/ContainerStoriesComponent.js +1 -1
- package/dist/esm/containers/ContainerStoriesComponent.js.map +1 -1
- package/dist/esm/containers/FormContainer.js +1 -1
- package/dist/esm/containers/FormContainer.js.map +1 -1
- package/dist/esm/containers/FormStepContainer.js +1 -1
- package/dist/esm/containers/FormStepContainer.js.map +1 -1
- package/dist/esm/containers/OrganismItem.js +1 -1
- package/dist/esm/containers/OrganismItem.js.map +1 -1
- package/dist/esm/containers/hooks/useStateListenerValue.js +1 -1
- package/dist/esm/containers/hooks/useStateListenerValue.js.map +1 -1
- package/dist/esm/containers/hooks/useStateModifierHandler.js +1 -1
- package/dist/esm/containers/hooks/useStateModifierHandler.js.map +1 -1
- package/dist/esm/contexts/AccountButtonContext/useAccountButtonContext.js +2 -0
- package/dist/esm/contexts/AccountButtonContext/useAccountButtonContext.js.map +1 -0
- package/dist/esm/contexts/ApiContext/ApiContext.d.ts +12 -0
- package/dist/esm/contexts/ApiContext/ApiContext.js +2 -0
- package/dist/esm/contexts/ApiContext/ApiContext.js.map +1 -0
- package/dist/esm/contexts/ApiContext/ApiProvider.d.ts +6 -0
- package/dist/esm/contexts/ApiContext/ApiProvider.js +2 -0
- package/dist/esm/contexts/ApiContext/ApiProvider.js.map +1 -0
- package/dist/esm/contexts/ApiContext/queries/index.d.ts +1 -0
- package/dist/esm/contexts/ApiContext/queries/queryKeys.d.ts +3 -0
- package/dist/esm/contexts/ApiContext/queries/queryKeys.js +2 -0
- package/dist/esm/contexts/ApiContext/queries/queryKeys.js.map +1 -0
- package/dist/esm/contexts/ApiContext/queries/useDataModelFieldOptions.d.ts +5 -0
- package/dist/esm/contexts/ApiContext/queries/useDataModelFieldOptions.js +2 -0
- package/dist/esm/contexts/ApiContext/queries/useDataModelFieldOptions.js.map +1 -0
- package/dist/esm/contexts/ApiContext/useApi.d.ts +2 -0
- package/dist/esm/contexts/ApiContext/useApi.js +2 -0
- package/dist/esm/contexts/ApiContext/useApi.js.map +1 -0
- package/dist/esm/contexts/ButtonActionsContext/ButtonActionsContextProvider.js +1 -1
- package/dist/esm/contexts/ButtonActionsContext/ButtonActionsContextProvider.js.map +1 -1
- package/dist/esm/contexts/ButtonActionsContext/useButtonActionsContext.d.ts +1 -0
- package/dist/esm/contexts/ButtonActionsContext/useButtonActionsContext.js +2 -0
- package/dist/esm/contexts/ButtonActionsContext/useButtonActionsContext.js.map +1 -0
- package/dist/esm/contexts/FormStepContext/FormStepContextProvider.js +1 -1
- package/dist/esm/contexts/FormStepContext/FormStepContextProvider.js.map +1 -1
- package/dist/esm/contexts/FormStepContext/useFormStepContext.d.ts +1 -0
- package/dist/esm/contexts/FormStepContext/useFormStepContext.js +2 -0
- package/dist/esm/contexts/FormStepContext/useFormStepContext.js.map +1 -0
- package/dist/esm/contexts/MlrRichTextViewerContext/useMlrRichTextViewerContext.d.ts +1 -0
- package/dist/esm/contexts/MlrRichTextViewerContext/useMlrRichTextViewerContext.js +2 -0
- package/dist/esm/contexts/MlrRichTextViewerContext/useMlrRichTextViewerContext.js.map +1 -0
- package/dist/esm/contexts/OrganismContext/useOrganismContext.d.ts +1 -0
- package/dist/esm/contexts/OrganismContext/useOrganismContext.js +2 -0
- package/dist/esm/contexts/OrganismContext/useOrganismContext.js.map +1 -0
- package/dist/esm/contexts/StateContext/useStateContext.d.ts +1 -0
- package/dist/esm/contexts/StateContext/useStateContext.js +2 -0
- package/dist/esm/contexts/StateContext/useStateContext.js.map +1 -0
- package/dist/esm/contexts/index.d.ts +12 -3
- package/dist/esm/helpers/utils.js +1 -1
- package/dist/esm/helpers/utils.js.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/molecules/Accordion/Accordion.js +1 -1
- package/dist/esm/molecules/Accordion/Accordion.js.map +1 -1
- package/dist/esm/molecules/Avatar/Avatar.js +1 -1
- package/dist/esm/molecules/Avatar/Avatar.js.map +1 -1
- package/dist/esm/molecules/BaseMolecule.js +1 -1
- package/dist/esm/molecules/BaseMolecule.js.map +1 -1
- package/dist/esm/molecules/BasicTextField/BasicTextField.js +1 -1
- package/dist/esm/molecules/BasicTextField/BasicTextField.js.map +1 -1
- package/dist/esm/molecules/Calendar/CalendarMolecule.d.ts +2 -4
- package/dist/esm/molecules/Calendar/CalendarMolecule.js +1 -1
- package/dist/esm/molecules/Calendar/CalendarMolecule.js.map +1 -1
- package/dist/esm/molecules/Checklist/Checklist.js +1 -1
- package/dist/esm/molecules/Checklist/Checklist.js.map +1 -1
- package/dist/esm/molecules/Consent/ConsentCapture.js +1 -1
- package/dist/esm/molecules/Consent/ConsentCapture.js.map +1 -1
- package/dist/esm/molecules/Consent/ConsentMolecule.js +1 -1
- package/dist/esm/molecules/Consent/ConsentMolecule.js.map +1 -1
- package/dist/esm/molecules/CurrencyInputtField/CurrencyInputField.js +1 -1
- package/dist/esm/molecules/CurrencyInputtField/CurrencyInputField.js.map +1 -1
- package/dist/esm/molecules/CustomValidation/CustomValidation.js +1 -1
- package/dist/esm/molecules/CustomValidation/CustomValidation.js.map +1 -1
- package/dist/esm/molecules/DatePicker/DatePicker.js +1 -1
- package/dist/esm/molecules/DatePicker/DatePicker.js.map +1 -1
- package/dist/esm/molecules/Drawer/styles.js +1 -1
- package/dist/esm/molecules/Drawer/styles.js.map +1 -1
- package/dist/esm/molecules/EmailInputField/EmailInputField.js +1 -1
- package/dist/esm/molecules/EmailInputField/EmailInputField.js.map +1 -1
- package/dist/esm/molecules/Menu/Menu.js +1 -1
- package/dist/esm/molecules/Menu/Menu.js.map +1 -1
- package/dist/esm/molecules/NumericInputField/NumericInputField.js +1 -1
- package/dist/esm/molecules/NumericInputField/NumericInputField.js.map +1 -1
- package/dist/esm/molecules/PasswordSetup/PasswordSetup.js +1 -1
- package/dist/esm/molecules/PasswordSetup/PasswordSetup.js.map +1 -1
- package/dist/esm/molecules/PdfDocument/PdfDocument.js +1 -1
- package/dist/esm/molecules/PdfDocument/PdfDocument.js.map +1 -1
- package/dist/esm/molecules/PhoneNumberInputField/PhoneNumberInputField.js +1 -1
- package/dist/esm/molecules/PhoneNumberInputField/PhoneNumberInputField.js.map +1 -1
- package/dist/esm/molecules/Select/Select.d.ts +2 -3
- package/dist/esm/molecules/Select/Select.js +1 -1
- package/dist/esm/molecules/Select/Select.js.map +1 -1
- package/dist/esm/molecules/Slider/Slider.js +1 -1
- package/dist/esm/molecules/Slider/Slider.js.map +1 -1
- package/dist/esm/molecules/Stepper/Stepper.js +1 -1
- package/dist/esm/molecules/Stepper/Stepper.js.map +1 -1
- package/dist/esm/molecules/Stepper/Stepper.stories.d.ts +5 -5
- package/dist/esm/molecules/Switch/Switch.js +1 -1
- package/dist/esm/molecules/Switch/Switch.js.map +1 -1
- package/dist/esm/molecules/Tabs/Tabs.js +1 -1
- package/dist/esm/molecules/Tabs/Tabs.js.map +1 -1
- package/dist/esm/molecules/Tabs/Tabs.stories.d.ts +5 -5
- package/dist/esm/molecules/ZealUIModal/ZealUIModal.js +1 -1
- package/dist/esm/molecules/ZealUIModal/ZealUIModal.js.map +1 -1
- package/dist/esm/node_modules/is-hotkey/lib/index.js +1 -1
- package/dist/esm/node_modules/react-slick/lib/index.js +1 -1
- package/dist/esm/node_modules/react-slick/lib/track.js +1 -1
- package/dist/esm/typescript.d.ts +3 -0
- package/dist/index.d.ts +83 -38
- package/package.json +3 -1
- package/dist/cjs/contexts/hooks/index.d.ts +0 -6
- package/dist/cjs/contexts/hooks/useButtonActionsContext.d.ts +0 -1
- package/dist/cjs/contexts/hooks/useFormStepContext.d.ts +0 -1
- package/dist/cjs/contexts/hooks/useMlrRichTextViewerContext.d.ts +0 -1
- package/dist/cjs/contexts/hooks/useOrganismContext.d.ts +0 -1
- package/dist/cjs/contexts/hooks/useStateContext.d.ts +0 -1
- package/dist/esm/contexts/hooks/index.d.ts +0 -6
- package/dist/esm/contexts/hooks/useButtonActionsContext.d.ts +0 -1
- package/dist/esm/contexts/hooks/useButtonActionsContext.js +0 -2
- package/dist/esm/contexts/hooks/useButtonActionsContext.js.map +0 -1
- package/dist/esm/contexts/hooks/useFormStepContext.d.ts +0 -1
- package/dist/esm/contexts/hooks/useFormStepContext.js +0 -2
- package/dist/esm/contexts/hooks/useFormStepContext.js.map +0 -1
- package/dist/esm/contexts/hooks/useMlrRichTextViewerContext.d.ts +0 -1
- package/dist/esm/contexts/hooks/useMlrRichTextViewerContext.js +0 -2
- package/dist/esm/contexts/hooks/useMlrRichTextViewerContext.js.map +0 -1
- package/dist/esm/contexts/hooks/useOrganismContext.d.ts +0 -1
- package/dist/esm/contexts/hooks/useOrganismContext.js +0 -2
- package/dist/esm/contexts/hooks/useOrganismContext.js.map +0 -1
- package/dist/esm/contexts/hooks/useStateContext.d.ts +0 -1
- package/dist/esm/contexts/hooks/useStateContext.js +0 -2
- package/dist/esm/contexts/hooks/useStateContext.js.map +0 -1
- /package/dist/cjs/contexts/{hooks → AccountButtonContext}/useAccountButtonContext.d.ts +0 -0
- /package/dist/esm/contexts/{hooks → AccountButtonContext}/useAccountButtonContext.d.ts +0 -0
@@ -1,2 +1,2 @@
|
|
1
|
-
import{__exports as e}from"../../../_virtual/track.js";export{__exports as default}from"../../../_virtual/track.js";import t from"react";import"../../classnames/index.js";import"./utils/innerSliderUtils.js";import{
|
1
|
+
import{__exports as e}from"../../../_virtual/track.js";export{__exports as default}from"../../../_virtual/track.js";import t from"react";import"../../classnames/index.js";import"./utils/innerSliderUtils.js";import{c as r}from"../../../_virtual/index3.js";import{__exports as n}from"../../../_virtual/innerSliderUtils.js";Object.defineProperty(e,"__esModule",{value:!0}),e.Track=void 0;var o=c(t),i=c(r.exports),l=n;function c(e){return e&&e.__esModule?e:{default:e}}function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},s.apply(this,arguments)}function u(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,O(n.key),n)}}function d(e,t){return d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},d(e,t)}function f(e){var t=y();return function(){var r,n=b(e);if(t){var o=b(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return function(e,t){if(t&&("object"===a(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return p(e)}(this,r)}}function p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(y=function(){return!!e})()}function b(e){return b=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},b(e)}function v(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?v(Object(r),!0).forEach((function(t){m(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function m(e,t,r){return(t=O(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function O(e){var t=function(e,t){if("object"!=a(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==a(t)?t:String(t)}var S=function(e){var t,r,n,o,i;return n=(i=e.rtl?e.slideCount-1-e.index:e.index)<0||i>=e.slideCount,e.centerMode?(o=Math.floor(e.slidesToShow/2),r=(i-e.currentSlide)%e.slideCount==0,i>e.currentSlide-o-1&&i<=e.currentSlide+o&&(t=!0)):t=e.currentSlide<=i&&i<e.currentSlide+e.slidesToShow,{"slick-slide":!0,"slick-active":t,"slick-center":r,"slick-cloned":n,"slick-current":i===(e.targetSlide<0?e.targetSlide+e.slideCount:e.targetSlide>=e.slideCount?e.targetSlide-e.slideCount:e.targetSlide)}},j=function(e,t){return e.key||t},k=function(e){var t,r=[],n=[],c=[],a=o.default.Children.count(e.children),s=(0,l.lazyStartIndex)(e),u=(0,l.lazyEndIndex)(e);return o.default.Children.forEach(e.children,(function(d,f){var p,y={message:"children",index:f,slidesToScroll:e.slidesToScroll,currentSlide:e.currentSlide};p=!e.lazyLoad||e.lazyLoad&&e.lazyLoadedList.indexOf(f)>=0?d:o.default.createElement("div",null);var b=function(e){var t={};return void 0!==e.variableWidth&&!1!==e.variableWidth||(t.width=e.slideWidth),e.fade&&(t.position="relative",e.vertical?t.top=-e.index*parseInt(e.slideHeight):t.left=-e.index*parseInt(e.slideWidth),t.opacity=e.currentSlide===e.index?1:0,t.zIndex=e.currentSlide===e.index?999:998,e.useCSS&&(t.transition="opacity "+e.speed+"ms "+e.cssEase+", visibility "+e.speed+"ms "+e.cssEase)),t}(h(h({},e),{},{index:f})),v=p.props.className||"",m=S(h(h({},e),{},{index:f}));if(r.push(o.default.cloneElement(p,{key:"original"+j(p,f),"data-index":f,className:(0,i.default)(m,v),tabIndex:"-1","aria-hidden":!m["slick-active"],style:h(h({outline:"none"},p.props.style||{}),b),onClick:function(t){p.props&&p.props.onClick&&p.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(y)}})),e.infinite&&!1===e.fade){var O=a-f;O<=(0,l.getPreClones)(e)&&((t=-O)>=s&&(p=d),m=S(h(h({},e),{},{index:t})),n.push(o.default.cloneElement(p,{key:"precloned"+j(p,t),"data-index":t,tabIndex:"-1",className:(0,i.default)(m,v),"aria-hidden":!m["slick-active"],style:h(h({},p.props.style||{}),b),onClick:function(t){p.props&&p.props.onClick&&p.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(y)}}))),(t=a+f)<u&&(p=d),m=S(h(h({},e),{},{index:t})),c.push(o.default.cloneElement(p,{key:"postcloned"+j(p,t),"data-index":t,tabIndex:"-1",className:(0,i.default)(m,v),"aria-hidden":!m["slick-active"],style:h(h({},p.props.style||{}),b),onClick:function(t){p.props&&p.props.onClick&&p.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(y)}}))}})),e.rtl?n.concat(r,c).reverse():n.concat(r,c)};e.Track=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&d(e,t)}(i,o["default"].PureComponent);var e,t,r,n=f(i);function i(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return m(p(e=n.call.apply(n,[this].concat(r))),"node",null),m(p(e),"handleRef",(function(t){e.node=t})),e}return e=i,(t=[{key:"render",value:function(){var e=k(this.props),t=this.props,r={onMouseEnter:t.onMouseEnter,onMouseOver:t.onMouseOver,onMouseLeave:t.onMouseLeave};return o.default.createElement("div",s({ref:this.handleRef,className:"slick-track",style:this.props.trackStyle},r),e)}}])&&u(e.prototype,t),r&&u(e,r),Object.defineProperty(e,"prototype",{writable:!1}),i}();
|
2
2
|
//# sourceMappingURL=track.js.map
|
package/dist/esm/typescript.d.ts
CHANGED
@@ -14,4 +14,7 @@ declare type StrictUnionHelper<T, TAll> = T extends any ? T & Partial<Record<Exc
|
|
14
14
|
export declare type StrictUnion<T> = StrictUnionHelper<T, T>;
|
15
15
|
export declare type AnyObject = Record<string, unknown>;
|
16
16
|
export declare type LooseObject = Record<string, any>;
|
17
|
+
export declare type ResponseDTO<T> = {
|
18
|
+
readonly data: T;
|
19
|
+
};
|
17
20
|
export {};
|
package/dist/index.d.ts
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
import * as _emotion_styled from '@emotion/styled';
|
3
3
|
import * as react from 'react';
|
4
|
-
import react__default, { PropsWithChildren, FC, Dispatch, SetStateAction, CSSProperties, KeyboardEvent, InputHTMLAttributes, MouseEvent } from 'react';
|
4
|
+
import react__default, { PropsWithChildren, FC, Dispatch, SetStateAction, ReactNode, CSSProperties, KeyboardEvent, InputHTMLAttributes, MouseEvent } from 'react';
|
5
5
|
import * as _emotion_react from '@emotion/react';
|
6
6
|
import { CSSObject, Theme, Interpolation } from '@emotion/react';
|
7
7
|
import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
8
8
|
import { ThemeColors as ThemeColors$1, SizesTypes as SizesTypes$1, FontSizesTypes as FontSizesTypes$2 } from 'theme';
|
9
|
-
import { StylesType, AnyObject as AnyObject$1, Callback, OverrideStyles, StyledTransientProps, Nullable, StrictUnion } from 'typescript';
|
9
|
+
import { StylesType, AnyObject as AnyObject$1, Callback as Callback$1, OverrideStyles, StyledTransientProps, ResponseDTO, Nullable, StrictUnion } from 'typescript';
|
10
10
|
import { RefCallBack } from 'react-hook-form/dist/types';
|
11
11
|
import { DataModelFieldFormatCodeTypes as DataModelFieldFormatCodeTypes$1, FormStateType as FormStateType$1, ConfigurationItemInfo as ConfigurationItemInfo$1, ContainerComponentProps as ContainerComponentProps$1, Molecule as Molecule$1, ContainerType as ContainerType$1, MoleculeTypes as MoleculeTypes$1, MoleculeItemTypes as MoleculeItemTypes$2, StateConfigType as StateConfigType$1, MetadataType as MetadataType$1, PasswordSetupMoleculeType as PasswordSetupMoleculeType$1, ContainerProps as ContainerProps$1, LinkProperties as LinkProperties$1, TextProperties as TextProperties$1, ObjectStateProperties as ObjectStateProperties$1, StateProperties as StateProperties$1 } from 'containers';
|
12
12
|
import { InputFieldTypes } from 'fieldsConfiguration/types';
|
@@ -19,8 +19,6 @@ import { DrawerProps as DrawerProps$1, ModalProps, SxProps, TypographyProps, But
|
|
19
19
|
import { IconNames as IconNames$1, TouchableOpacityProps as TouchableOpacityProps$1 } from 'components';
|
20
20
|
import { OrganismDTO } from 'organisms/types';
|
21
21
|
import { AnnotationsList as AnnotationsList$1 } from 'contexts/MlrRichTextViewerContext/types';
|
22
|
-
import * as contexts_MlrRichTextViewerContext_MlrRichTextViewerContext from 'contexts/MlrRichTextViewerContext/MlrRichTextViewerContext';
|
23
|
-
import * as contexts_ButtonActionsContext_ButtonActionsContext from 'contexts/ButtonActionsContext/ButtonActionsContext';
|
24
22
|
import { PasswordRuleValidation as PasswordRuleValidation$2 } from 'molecules/PasswordSetup/PasswordSetup';
|
25
23
|
export * from 'helpers/constants';
|
26
24
|
import { ConsentCaptureProps } from 'molecules/Consent/ConsentCapture';
|
@@ -89,7 +87,7 @@ declare type SelectInternalConfigurationOptions = {
|
|
89
87
|
};
|
90
88
|
declare type SelectProps = Partial<{
|
91
89
|
ref: RefCallBack;
|
92
|
-
onBlur: Callback;
|
90
|
+
onBlur: Callback$1;
|
93
91
|
value: string;
|
94
92
|
optionsPresentation: boolean;
|
95
93
|
onChange: (value: string) => void;
|
@@ -139,6 +137,7 @@ declare const availableIcons: {
|
|
139
137
|
declare type IconNames = keyof typeof availableIcons;
|
140
138
|
declare const Icon: ({ name, color, ...props }: IconProps) => _emotion_react_jsx_runtime.JSX.Element;
|
141
139
|
|
140
|
+
declare type Callback = () => void;
|
142
141
|
declare type AnyObject = Record<string, unknown>;
|
143
142
|
|
144
143
|
declare type MaskConfig = {
|
@@ -159,13 +158,13 @@ declare type InputFieldInternalConfigProps = Partial<{
|
|
159
158
|
}>;
|
160
159
|
declare type InputIconProps = {
|
161
160
|
name: IconNames;
|
162
|
-
onClick?: Callback;
|
161
|
+
onClick?: Callback$1;
|
163
162
|
};
|
164
163
|
declare type InputProps = Partial<{
|
165
164
|
value: string;
|
166
165
|
leftIcon: InputIconProps;
|
167
166
|
rightIcon: InputIconProps;
|
168
|
-
onBlur: Callback;
|
167
|
+
onBlur: Callback$1;
|
169
168
|
type: InputFieldTypes;
|
170
169
|
placeholder: string;
|
171
170
|
disabled: boolean;
|
@@ -231,7 +230,7 @@ declare type RegularImageProps = {
|
|
231
230
|
alt: string;
|
232
231
|
width: number | string;
|
233
232
|
height: number | string;
|
234
|
-
onClick: Callback;
|
233
|
+
onClick: Callback$1;
|
235
234
|
cornerRadius: SizesTypes$1 | number;
|
236
235
|
}> & ConfigurationItemInfo$1 & OverrideStyles;
|
237
236
|
declare const RegularImage: _emotion_styled.StyledComponent<{
|
@@ -243,7 +242,7 @@ declare const RegularImage: _emotion_styled.StyledComponent<{
|
|
243
242
|
alt: string;
|
244
243
|
width: number | string;
|
245
244
|
height: number | string;
|
246
|
-
onClick: Callback;
|
245
|
+
onClick: Callback$1;
|
247
246
|
cornerRadius: SizesTypes$1 | number;
|
248
247
|
}> & ConfigurationItemInfo$1 & OverrideStyles, react.DetailedHTMLProps<react.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
|
249
248
|
declare const BackgroundImage: _emotion_styled.StyledComponent<{
|
@@ -255,7 +254,7 @@ declare const BackgroundImage: _emotion_styled.StyledComponent<{
|
|
255
254
|
alt: string;
|
256
255
|
width: number | string;
|
257
256
|
height: number | string;
|
258
|
-
onClick: Callback;
|
257
|
+
onClick: Callback$1;
|
259
258
|
cornerRadius: SizesTypes$1 | number;
|
260
259
|
}> & ConfigurationItemInfo$1 & OverrideStyles & react.ClassAttributes<HTMLImageElement> & react.ImgHTMLAttributes<HTMLImageElement> & {
|
261
260
|
theme?: _emotion_react.Theme | undefined;
|
@@ -331,7 +330,7 @@ declare type AvatarProps = {
|
|
331
330
|
iconName?: IconNames;
|
332
331
|
imageUrl?: string;
|
333
332
|
};
|
334
|
-
onPress?: Callback;
|
333
|
+
onPress?: Callback$1;
|
335
334
|
};
|
336
335
|
declare const Avatar: ({ size, withShadow, label, backgroundColor, onPress, content: { initials, iconName, imageUrl }, textConfig: { color, font }, }: AvatarProps) => _emotion_react_jsx_runtime.JSX.Element;
|
337
336
|
|
@@ -374,7 +373,7 @@ declare type RadioButtonsProps<T extends string> = Partial<{
|
|
374
373
|
name: string;
|
375
374
|
value: T;
|
376
375
|
options: SelectOption[];
|
377
|
-
onBlur: Callback;
|
376
|
+
onBlur: Callback$1;
|
378
377
|
onChange: (value: T) => void;
|
379
378
|
isRow: boolean;
|
380
379
|
isError: boolean;
|
@@ -388,7 +387,7 @@ declare const RadioButtons: <T extends string>({ ref, name, value, options, onBl
|
|
388
387
|
name: string;
|
389
388
|
value: T;
|
390
389
|
options: SelectOption[];
|
391
|
-
onBlur: Callback;
|
390
|
+
onBlur: Callback$1;
|
392
391
|
onChange: (value: T) => void;
|
393
392
|
isRow: boolean;
|
394
393
|
isError: boolean;
|
@@ -437,7 +436,7 @@ declare const CircularIndicatorStyledComponent: _emotion_styled.StyledComponent<
|
|
437
436
|
declare type IconButtonProps = {
|
438
437
|
name: IconNames$1;
|
439
438
|
size?: number;
|
440
|
-
onClick: Callback;
|
439
|
+
onClick: Callback$1;
|
441
440
|
color?: ThemeColors$1 | string;
|
442
441
|
fill?: ThemeColors$1 | string;
|
443
442
|
pointerEvents?: 'auto' | 'none';
|
@@ -479,6 +478,13 @@ declare const toastStyles: _emotion_react.SerializedStyles;
|
|
479
478
|
|
480
479
|
declare const useMediaQuery: (breakpointSize: BreakpointSizesTypes$1) => boolean;
|
481
480
|
|
481
|
+
declare type MlrRichTextViewerContextType = {
|
482
|
+
isMLRReview: boolean;
|
483
|
+
showAnnotations: boolean;
|
484
|
+
annotationsList: AnnotationsList$1;
|
485
|
+
};
|
486
|
+
declare const MlrRichTextViewerContext: react.Context<MlrRichTextViewerContextType>;
|
487
|
+
|
482
488
|
declare type MlrRichTextViewerProviderProps = PropsWithChildren<{
|
483
489
|
annotationsList: AnnotationsList$1;
|
484
490
|
isMLRReview: boolean;
|
@@ -486,12 +492,7 @@ declare type MlrRichTextViewerProviderProps = PropsWithChildren<{
|
|
486
492
|
}>;
|
487
493
|
declare const MlrRichTextViewerProvider: ({ children, isMLRReview, showAnnotations, annotationsList, }: MlrRichTextViewerProviderProps) => _emotion_react_jsx_runtime.JSX.Element;
|
488
494
|
|
489
|
-
declare
|
490
|
-
isMLRReview: boolean;
|
491
|
-
showAnnotations: boolean;
|
492
|
-
annotationsList: AnnotationsList$1;
|
493
|
-
};
|
494
|
-
declare const MlrRichTextViewerContext: react.Context<MlrRichTextViewerContextType>;
|
495
|
+
declare const useMlrRichTextViewerContext: () => MlrRichTextViewerContextType;
|
495
496
|
|
496
497
|
declare type AnnotationsList = {
|
497
498
|
tags: {
|
@@ -509,10 +510,6 @@ declare type AnnotationsList = {
|
|
509
510
|
}[];
|
510
511
|
};
|
511
512
|
|
512
|
-
declare const useMlrRichTextViewerContext: () => contexts_MlrRichTextViewerContext_MlrRichTextViewerContext.MlrRichTextViewerContextType;
|
513
|
-
|
514
|
-
declare const useButtonActionsContext: () => contexts_ButtonActionsContext_ButtonActionsContext.ButtonActionsContextType;
|
515
|
-
|
516
513
|
declare type ButtonActionsContextType = {
|
517
514
|
actionContent?: ContainerComponentProps$1;
|
518
515
|
setActionContent: Dispatch<SetStateAction<ContainerComponentProps$1>>;
|
@@ -549,6 +546,8 @@ declare type ButtonActionsProviderProps = PropsWithChildren<Partial<{
|
|
549
546
|
}>>;
|
550
547
|
declare const ButtonActionsProvider: ({ children, popupProps }: ButtonActionsProviderProps) => _emotion_react_jsx_runtime.JSX.Element;
|
551
548
|
|
549
|
+
declare const useButtonActionsContext: () => ButtonActionsContextType;
|
550
|
+
|
552
551
|
declare type StepItem = ContainerComponentProps$1 | Molecule$1;
|
553
552
|
declare type GroupedStepItemsByStepContainer = Map<string, StepItem[]>;
|
554
553
|
|
@@ -616,27 +615,36 @@ declare type OrganismContextType = {
|
|
616
615
|
};
|
617
616
|
declare const OrganismContext: react.Context<OrganismContextType>;
|
618
617
|
|
618
|
+
declare const useOrganismContext: () => OrganismContextType;
|
619
|
+
|
619
620
|
declare type AccountButtonContextType = Partial<{
|
620
621
|
userInitials: string;
|
621
|
-
logOutHandler: Callback;
|
622
|
-
goToAccountInfo: Callback;
|
622
|
+
logOutHandler: Callback$1;
|
623
|
+
goToAccountInfo: Callback$1;
|
623
624
|
username: string;
|
624
625
|
}>;
|
625
626
|
declare const AccountButtonContext: react.Context<Partial<{
|
626
627
|
userInitials: string;
|
627
|
-
logOutHandler: Callback;
|
628
|
-
goToAccountInfo: Callback;
|
628
|
+
logOutHandler: Callback$1;
|
629
|
+
goToAccountInfo: Callback$1;
|
629
630
|
username: string;
|
630
631
|
}>>;
|
631
632
|
|
632
633
|
declare type AccountButtonProviderProps = PropsWithChildren<Partial<{
|
633
634
|
userInitials: string;
|
634
|
-
logOutHandler: Callback;
|
635
|
-
goToAccountInfo: Callback;
|
635
|
+
logOutHandler: Callback$1;
|
636
|
+
goToAccountInfo: Callback$1;
|
636
637
|
username: string;
|
637
638
|
}>>;
|
638
639
|
declare const AccountButtonProvider: ({ children, goToAccountInfo, userInitials, logOutHandler, username, }: AccountButtonProviderProps) => _emotion_react_jsx_runtime.JSX.Element;
|
639
640
|
|
641
|
+
declare const useAccountButtonContext: () => Partial<{
|
642
|
+
userInitials: string;
|
643
|
+
logOutHandler: Callback;
|
644
|
+
goToAccountInfo: Callback;
|
645
|
+
username: string;
|
646
|
+
}>;
|
647
|
+
|
640
648
|
declare type StateContextType = {
|
641
649
|
stateConfig: StateConfigType$1;
|
642
650
|
stateHandler?: (updatedStateConfig: StateConfigType$1) => void;
|
@@ -651,6 +659,46 @@ declare type StateContextProviderProps = PropsWithChildren<{
|
|
651
659
|
}>;
|
652
660
|
declare const StateContextProvider: ({ initStateConfig, children, stateHandler, authenticated, }: StateContextProviderProps) => _emotion_react_jsx_runtime.JSX.Element;
|
653
661
|
|
662
|
+
declare const useStateContext: () => StateContextType;
|
663
|
+
|
664
|
+
declare type FormStepContextType = {
|
665
|
+
steps: number;
|
666
|
+
currentStep: number;
|
667
|
+
goToNextStep: () => void;
|
668
|
+
goToPrevStep: () => void;
|
669
|
+
reset: () => void;
|
670
|
+
canGoToNextStep: boolean;
|
671
|
+
canGoToPrevStep: boolean;
|
672
|
+
setStep: Dispatch<SetStateAction<number>>;
|
673
|
+
setInitSteps: Dispatch<SetStateAction<number>>;
|
674
|
+
};
|
675
|
+
declare const FormStepContext: react.Context<FormStepContextType>;
|
676
|
+
|
677
|
+
declare type FormStepContextProviderProps = PropsWithChildren<{
|
678
|
+
initialStepsCount?: number;
|
679
|
+
}>;
|
680
|
+
declare const FormStepContextProvider: ({ initialStepsCount, children, }: FormStepContextProviderProps) => _emotion_react_jsx_runtime.JSX.Element;
|
681
|
+
|
682
|
+
declare const useFormStepContext: () => FormStepContextType;
|
683
|
+
|
684
|
+
interface Option {
|
685
|
+
id: string;
|
686
|
+
name: string;
|
687
|
+
}
|
688
|
+
interface ApiInterface {
|
689
|
+
pickList: {
|
690
|
+
get(dataModelFieldId?: string): Promise<ResponseDTO<Option[]>>;
|
691
|
+
};
|
692
|
+
}
|
693
|
+
declare const ApiContext: react.Context<ApiInterface>;
|
694
|
+
|
695
|
+
declare const ApiProvider: ({ api, children }: {
|
696
|
+
api: ApiInterface;
|
697
|
+
children: ReactNode;
|
698
|
+
}) => _emotion_react_jsx_runtime.JSX.Element;
|
699
|
+
|
700
|
+
declare const useApi: () => ApiInterface;
|
701
|
+
|
654
702
|
declare type CustomValidationRule<T = string> = {
|
655
703
|
text: string;
|
656
704
|
validate: (value?: T) => boolean;
|
@@ -1306,14 +1354,13 @@ declare const DatePickerMolecule: react__default.FC<DatePickerMoleculeProps>;
|
|
1306
1354
|
|
1307
1355
|
interface SelectMoleculeOption {
|
1308
1356
|
id: string;
|
1309
|
-
|
1357
|
+
label: string;
|
1358
|
+
value?: string;
|
1310
1359
|
}
|
1311
1360
|
interface SelectMoleculeProps {
|
1312
1361
|
open?: boolean;
|
1313
1362
|
/** Label text (visible above or inside the select) */
|
1314
1363
|
text: string;
|
1315
|
-
/** Dropdown options. Each has { id, value } or you can supply string[] */
|
1316
|
-
options: SelectMoleculeOption[] | string[];
|
1317
1364
|
/** For a placeholder, you might use the first item or do a custom approach */
|
1318
1365
|
placeholderText?: string;
|
1319
1366
|
/** If true, the field is required in form validation */
|
@@ -1845,7 +1892,6 @@ interface VisitMoleculeProps {
|
|
1845
1892
|
}
|
1846
1893
|
|
1847
1894
|
interface CalendarMoleculeProps {
|
1848
|
-
/** initial events (will be copied into internal state) */
|
1849
1895
|
events?: EventInput[];
|
1850
1896
|
resources?: any[];
|
1851
1897
|
initialView?: string;
|
@@ -1877,7 +1923,7 @@ interface CalendarMoleculeProps {
|
|
1877
1923
|
buttonTextColor?: string;
|
1878
1924
|
buttonHoverBg?: string;
|
1879
1925
|
dayHeaderColor?: string;
|
1880
|
-
dayHeaderFontWeight?:
|
1926
|
+
dayHeaderFontWeight?: string | number;
|
1881
1927
|
slotLabelColor?: string;
|
1882
1928
|
slotLabelFontSize?: string | number;
|
1883
1929
|
eventBg?: string;
|
@@ -1888,9 +1934,8 @@ interface CalendarMoleculeProps {
|
|
1888
1934
|
resourceAreaBg?: string;
|
1889
1935
|
resourceTextColor?: string;
|
1890
1936
|
resourceBorderColor?: string;
|
1891
|
-
bodyBg?: string;
|
1892
1937
|
resourceAreaWidth?: string | number;
|
1893
|
-
|
1938
|
+
bodyBg?: string;
|
1894
1939
|
onEventAdd?: (e: EventInput) => void;
|
1895
1940
|
configurationItemInfo?: ConfigurationItemInfo$1;
|
1896
1941
|
}
|
@@ -2563,4 +2608,4 @@ declare type FormOrganismItemProps = {
|
|
2563
2608
|
};
|
2564
2609
|
declare const FormOrganismItem: ({ formData, setFormData, isMobile, ...props }: FormOrganismItemProps) => _emotion_react_jsx_runtime.JSX.Element | null;
|
2565
2610
|
|
2566
|
-
export { AccordionMoleculeType, AccountButtonContext, AccountButtonContextType, AccountButtonProvider, AccountButtonProviderProps, ActionEventType, ActionProperties, ActionType, ActionTypes, AdditionalContainerProps, AlertMolecule, AlertMoleculeProps, AlertMoleculeType, AnnotationsList, Avatar, AvatarMoleculeType, AvatarProps, BackgroundImage, BadgeMolecule, BadgeMoleculeProps, BadgeMoleculeType, BaseMolecule, BaseMoleculeType, BaseStateValue, BaseTextButton, BasicTextField, BasicTextFieldMoleculeType, BasicTextFieldProps, BooleanProperties, BreakpointSizesTypes, Button, ButtonActionsContext, ButtonActionsContextType, ButtonActionsProvider, ButtonActionsProviderProps, ButtonMoleculeType, ButtonProps, COMMUNICATION_LINK_DATA_TEXT, COMMUNICATION_LINK_DATA_URL, COMMUNICATION_LINK_ELEMENT_ID, CalendarMoleculeType, Checkbox, CheckboxProps, Checklist, ChecklistItem, ChecklistProperties, ChecklistProps, ChecklistsMoleculeType, ChipMolecule, ChipMoleculeProps, ChipMoleculeType, Circle, CircleBoxProps, CirclesWrapper, CircularIndicator, CircularIndicatorProps, CircularIndicatorStyledComponent, ColorProperties, ConditionConfig, ConditionConfigProperties, ConditionCriteria, ConfigurationItem, ConfigurationItemInfo, Consent, ConsentCaptureMethod, ConsentFieldMoleculeType, ConsentProps, ConsentStatus, ConsentType, Container, ContainerAlignItemsType, ContainerComponentProps, ContainerConfig, ContainerPositionType, ContainerProperties, ContainerProps, ContainerPropsType, ContainerScrollBehaviourType, ContainerTemplateType, ContainerType, ContainerWrapper, CountValidationTypes, CriteriaType, CurrencyInputFieldMoleculeType, CustomStep, CustomValidation, CustomValidationProps, CustomValidationRule, DataCaptureProperties, DataConnectionValues, DataModelFieldFormat, DataModelFieldFormatCodeTypes, DataModelFieldFormatValueTypes, DatePickerMolecule, DatePickerMoleculeProps, DatePickerMoleculeType, DefaultSelectionType, Divider, DividerMoleculeType, DividerProps, DownloadFile, Drawer, EmailInputFieldMoleculeType, ErrorText, FontSizesTypes, FontWeight, FormContainerProps, FormDataStateConfig, FormOrganismItem, FormStateType, FormStepContainerProps, HorizontalButtons, HorizontalButtonsProps, HorizontalPadding, Icon, IconButton, IconButtonProps, IconNames, IconProps, IconRenderer, IconRendererProps, IconWrapper, Image, ImageMoleculeType, ImageProperties, ImageProps, Input, InputFieldInternalConfigProps, InputIconProps, InputProps, Link, LinkMoleculeType, LinkProperties, LinkProps, LinkTypes, LinkVariant, MATRIX_MESSAGE_DATA_ID, MATRIX_MESSAGE_ELEMENT_ID, MaxRuleValidation, MenuMoleculeType, MetadataStateConfig, MetadataType, MinRuleValidation, MlrRichTextViewerContext, MlrRichTextViewerContextType, MlrRichTextViewerProvider, MlrRichTextViewerProviderProps, ModalWrapper, Molecule, MoleculeItemTypes, MoleculeTypes, NumericInputFieldMoleculeType, ObjectStateProperties, Organism, OrganismContext, OrganismContextProvider, OrganismContextProviderProps, OrganismContextType, OrganismItem, Padding, PaddingProps, PaddingVariants, PasswordFields, PasswordRuleValidation, PasswordSetup, PasswordSetupMoleculeType, PasswordSetupProps, PdfDocument, PdfDocumentProps, PhoneNumberInputFieldMoleculeType, PopupPropsType, RadioButtonInternalConfigProps, RadioButtons, RadioButtonsProps, RadioGroupWrapper, RatingMolecule, RatingMoleculeProps, RatingMoleculeType, RegularImage, RegularImageProps, RichTextEditorProps, RichTextViewer, SegmentationType, Select, SelectInternalConfigurationOptions, SelectMolecule, SelectMoleculeOption, SelectMoleculeProps, SelectMoleculeType, SelectOption, SelectProps, SeoTags, SetPasswordRuleValidation, SimpleTextMoleculeType, SizesTypes, SliderMolecule, SliderMoleculeProps, SliderMoleculeType, SliderProps, Spacer, SpacerProps, Spinner, StateActionType, StateConfigType, StateContext, StateContextProvider, StateContextProviderProps, StateContextType, StateEventType, StateListenerConfigType, StateModifierConfigType, StateProperties, Stepper, StepperMoleculeType, StepperOrientation, StepperProps, StyleWrapper, SwitchMolecule, SwitchMoleculeProps, SwitchMoleculeType, TabsMoleculeType, TextAlign, TextButton, TextButtonProps, TextElementProps, TextMolecule, TextMoleculeType, TextProperties, TextProps, TextTypes, TextWrapper, TextWrapperProps, ThemeColors, ThemeColorsType, ThemeDevicesType, ThemeSizesType, ThemeTextType, Tooltip, TooltipProps, TouchableOpacity, TouchableOpacityProps, ValidationTag, ValidationTagProps, ValidationTagStatus, VerticalPadding, Video, VideoMoleculeType, VideoProperties, VideoProps, VisitMoleculeType, WrappedContainerType, ZealTheme, ZealThemeProvider, ZealUIModal, ZealUIModalProps, defaultTheme, defaultValue, passwordValidationMapper, toast, toastStyles, useButtonActionsContext, useMediaQuery, useMlrRichTextViewerContext };
|
2611
|
+
export { AccordionMoleculeType, AccountButtonContext, AccountButtonContextType, AccountButtonProvider, AccountButtonProviderProps, ActionEventType, ActionProperties, ActionType, ActionTypes, AdditionalContainerProps, AlertMolecule, AlertMoleculeProps, AlertMoleculeType, AnnotationsList, ApiContext, ApiInterface, ApiProvider, Avatar, AvatarMoleculeType, AvatarProps, BackgroundImage, BadgeMolecule, BadgeMoleculeProps, BadgeMoleculeType, BaseMolecule, BaseMoleculeType, BaseStateValue, BaseTextButton, BasicTextField, BasicTextFieldMoleculeType, BasicTextFieldProps, BooleanProperties, BreakpointSizesTypes, Button, ButtonActionsContext, ButtonActionsContextType, ButtonActionsProvider, ButtonActionsProviderProps, ButtonMoleculeType, ButtonProps, COMMUNICATION_LINK_DATA_TEXT, COMMUNICATION_LINK_DATA_URL, COMMUNICATION_LINK_ELEMENT_ID, CalendarMoleculeType, Checkbox, CheckboxProps, Checklist, ChecklistItem, ChecklistProperties, ChecklistProps, ChecklistsMoleculeType, ChipMolecule, ChipMoleculeProps, ChipMoleculeType, Circle, CircleBoxProps, CirclesWrapper, CircularIndicator, CircularIndicatorProps, CircularIndicatorStyledComponent, ColorProperties, ConditionConfig, ConditionConfigProperties, ConditionCriteria, ConfigurationItem, ConfigurationItemInfo, Consent, ConsentCaptureMethod, ConsentFieldMoleculeType, ConsentProps, ConsentStatus, ConsentType, Container, ContainerAlignItemsType, ContainerComponentProps, ContainerConfig, ContainerPositionType, ContainerProperties, ContainerProps, ContainerPropsType, ContainerScrollBehaviourType, ContainerTemplateType, ContainerType, ContainerWrapper, CountValidationTypes, CriteriaType, CurrencyInputFieldMoleculeType, CustomStep, CustomValidation, CustomValidationProps, CustomValidationRule, DataCaptureProperties, DataConnectionValues, DataModelFieldFormat, DataModelFieldFormatCodeTypes, DataModelFieldFormatValueTypes, DatePickerMolecule, DatePickerMoleculeProps, DatePickerMoleculeType, DefaultSelectionType, Divider, DividerMoleculeType, DividerProps, DownloadFile, Drawer, EmailInputFieldMoleculeType, ErrorText, FontSizesTypes, FontWeight, FormContainerProps, FormDataStateConfig, FormOrganismItem, FormStateType, FormStepContainerProps, FormStepContext, FormStepContextProvider, FormStepContextProviderProps, FormStepContextType, HorizontalButtons, HorizontalButtonsProps, HorizontalPadding, Icon, IconButton, IconButtonProps, IconNames, IconProps, IconRenderer, IconRendererProps, IconWrapper, Image, ImageMoleculeType, ImageProperties, ImageProps, Input, InputFieldInternalConfigProps, InputIconProps, InputProps, Link, LinkMoleculeType, LinkProperties, LinkProps, LinkTypes, LinkVariant, MATRIX_MESSAGE_DATA_ID, MATRIX_MESSAGE_ELEMENT_ID, MaxRuleValidation, MenuMoleculeType, MetadataStateConfig, MetadataType, MinRuleValidation, MlrRichTextViewerContext, MlrRichTextViewerContextType, MlrRichTextViewerProvider, MlrRichTextViewerProviderProps, ModalWrapper, Molecule, MoleculeItemTypes, MoleculeTypes, NumericInputFieldMoleculeType, ObjectStateProperties, Option, Organism, OrganismContext, OrganismContextProvider, OrganismContextProviderProps, OrganismContextType, OrganismItem, Padding, PaddingProps, PaddingVariants, PasswordFields, PasswordRuleValidation, PasswordSetup, PasswordSetupMoleculeType, PasswordSetupProps, PdfDocument, PdfDocumentProps, PhoneNumberInputFieldMoleculeType, PopupPropsType, RadioButtonInternalConfigProps, RadioButtons, RadioButtonsProps, RadioGroupWrapper, RatingMolecule, RatingMoleculeProps, RatingMoleculeType, RegularImage, RegularImageProps, RichTextEditorProps, RichTextViewer, SegmentationType, Select, SelectInternalConfigurationOptions, SelectMolecule, SelectMoleculeOption, SelectMoleculeProps, SelectMoleculeType, SelectOption, SelectProps, SeoTags, SetPasswordRuleValidation, SimpleTextMoleculeType, SizesTypes, SliderMolecule, SliderMoleculeProps, SliderMoleculeType, SliderProps, Spacer, SpacerProps, Spinner, StateActionType, StateConfigType, StateContext, StateContextProvider, StateContextProviderProps, StateContextType, StateEventType, StateListenerConfigType, StateModifierConfigType, StateProperties, Stepper, StepperMoleculeType, StepperOrientation, StepperProps, StyleWrapper, SwitchMolecule, SwitchMoleculeProps, SwitchMoleculeType, TabsMoleculeType, TextAlign, TextButton, TextButtonProps, TextElementProps, TextMolecule, TextMoleculeType, TextProperties, TextProps, TextTypes, TextWrapper, TextWrapperProps, ThemeColors, ThemeColorsType, ThemeDevicesType, ThemeSizesType, ThemeTextType, Tooltip, TooltipProps, TouchableOpacity, TouchableOpacityProps, ValidationTag, ValidationTagProps, ValidationTagStatus, VerticalPadding, Video, VideoMoleculeType, VideoProperties, VideoProps, VisitMoleculeType, WrappedContainerType, ZealTheme, ZealThemeProvider, ZealUIModal, ZealUIModalProps, defaultTheme, defaultValue, passwordValidationMapper, toast, toastStyles, useAccountButtonContext, useApi, useButtonActionsContext, useFormStepContext, useMediaQuery, useMlrRichTextViewerContext, useOrganismContext, useStateContext };
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@zealicsolutions/web-ui",
|
3
|
-
"version": "1.0.45-beta.
|
3
|
+
"version": "1.0.45-beta.2",
|
4
4
|
"repository": {
|
5
5
|
"type": "git",
|
6
6
|
"url": "git+ssh://git@bitbucket.org/Zealic_Solutions/zeal-ui-web.git"
|
@@ -61,6 +61,7 @@
|
|
61
61
|
"@storybook/testing-library": "0.1.0",
|
62
62
|
"@swc/core": "1.2.248",
|
63
63
|
"@swc/jest": "0.2.22",
|
64
|
+
"@tanstack/react-query": "5.74.4",
|
64
65
|
"@testing-library/jest-dom": "5.16.5",
|
65
66
|
"@testing-library/react": "13.4.0",
|
66
67
|
"@testing-library/react-hooks": "8.0.1",
|
@@ -96,6 +97,7 @@
|
|
96
97
|
"typescript": "4.8.2"
|
97
98
|
},
|
98
99
|
"peerDependencies": {
|
100
|
+
"@tanstack/react-query": "5.74.4",
|
99
101
|
"react": "18.2.0",
|
100
102
|
"react-dom": "18.2.0",
|
101
103
|
"react-pdf": "6.2.2"
|
@@ -1,6 +0,0 @@
|
|
1
|
-
export { useFormStepContext } from './useFormStepContext';
|
2
|
-
export { useButtonActionsContext } from './useButtonActionsContext';
|
3
|
-
export { useMlrRichTextViewerContext } from './useMlrRichTextViewerContext';
|
4
|
-
export { useOrganismContext } from './useOrganismContext';
|
5
|
-
export { useStateContext } from './useStateContext';
|
6
|
-
export { useAccountButtonContext } from './useAccountButtonContext';
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare const useButtonActionsContext: () => import("contexts/ButtonActionsContext/ButtonActionsContext").ButtonActionsContextType;
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare const useFormStepContext: () => import("contexts/FormStepContext/FormStepContext").FormStepContextType;
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare const useMlrRichTextViewerContext: () => import("contexts/MlrRichTextViewerContext/MlrRichTextViewerContext").MlrRichTextViewerContextType;
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare const useOrganismContext: () => import("contexts/OrganismContext/OrganismContext").OrganismContextType;
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare const useStateContext: () => import("contexts/StateContext/StateContext").StateContextType;
|
@@ -1,6 +0,0 @@
|
|
1
|
-
export { useFormStepContext } from './useFormStepContext';
|
2
|
-
export { useButtonActionsContext } from './useButtonActionsContext';
|
3
|
-
export { useMlrRichTextViewerContext } from './useMlrRichTextViewerContext';
|
4
|
-
export { useOrganismContext } from './useOrganismContext';
|
5
|
-
export { useStateContext } from './useStateContext';
|
6
|
-
export { useAccountButtonContext } from './useAccountButtonContext';
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare const useButtonActionsContext: () => import("contexts/ButtonActionsContext/ButtonActionsContext").ButtonActionsContextType;
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"useButtonActionsContext.js","sources":["../../../../../src/contexts/hooks/useButtonActionsContext.ts"],"sourcesContent":[null],"names":["useButtonActionsContext","useContext","ButtonActionsContext"],"mappings":"0HAGO,IAAMA,EAA0B,WAAM,OAAAC,EAAWC,EAAX"}
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare const useFormStepContext: () => import("contexts/FormStepContext/FormStepContext").FormStepContextType;
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"useFormStepContext.js","sources":["../../../../../src/contexts/hooks/useFormStepContext.ts"],"sourcesContent":[null],"names":["useFormStepContext","useContext","FormStepContext"],"mappings":"2GAGO,IAAMA,EAAqB,WAAM,OAAAC,EAAWC,EAAX"}
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare const useMlrRichTextViewerContext: () => import("contexts/MlrRichTextViewerContext/MlrRichTextViewerContext").MlrRichTextViewerContextType;
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"useMlrRichTextViewerContext.js","sources":["../../../../../src/contexts/hooks/useMlrRichTextViewerContext.ts"],"sourcesContent":[null],"names":["useMlrRichTextViewerContext","useContext","MlrRichTextViewerContext"],"mappings":"sIAGO,IAAMA,EAA8B,WAAM,OAAAC,EAAWC,EAAX"}
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare const useOrganismContext: () => import("contexts/OrganismContext/OrganismContext").OrganismContextType;
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"useOrganismContext.js","sources":["../../../../../src/contexts/hooks/useOrganismContext.ts"],"sourcesContent":[null],"names":["useOrganismContext","useContext","OrganismContext"],"mappings":"2GAGO,IAAMA,EAAqB,WAAM,OAAAC,EAAWC,EAAX"}
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare const useStateContext: () => import("contexts/StateContext/StateContext").StateContextType;
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"useStateContext.js","sources":["../../../../../src/contexts/hooks/useStateContext.ts"],"sourcesContent":[null],"names":["useStateContext","useContext","StateContext"],"mappings":"kGAGO,IAAMA,EAAkB,WAAM,OAAAC,EAAWC,EAAX"}
|
File without changes
|
File without changes
|