aiware-js 1.0.0-master.1706 → 1.0.0-master.1708
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/index.esm.js +1 -1
- package/js-core.esm.js +1 -1
- package/js-core.esm.js.gz +0 -0
- package/js-core.esm10.js +1 -1
- package/js-core.esm10.js.gz +0 -0
- package/js-core.esm11.js +1 -1
- package/js-core.esm11.js.gz +0 -0
- package/js-core.esm134.js +1 -1
- package/js-core.esm134.js.gz +0 -0
- package/js-core.esm20.js +1 -1
- package/js-core.esm20.js.gz +0 -0
- package/js-core.esm30.js +1 -1
- package/js-core.esm30.js.gz +0 -0
- package/js-core.esm4.js +2 -2
- package/js-core.esm4.js.gz +0 -0
- package/js-core.esm40.js +1 -1
- package/js-core.esm40.js.gz +0 -0
- package/js-core.esm46.js +1 -1
- package/js-core.esm46.js.gz +0 -0
- package/js-core.esm75.js +1 -1
- package/js-core.esm75.js.gz +0 -0
- package/js-core.esm81.js +1 -1
- package/js-core.esm81.js.gz +0 -0
- package/js-core.esm96.js +1 -1
- package/js-core.esm96.js.gz +0 -0
- package/js-core.esm97.js +1 -1
- package/js-core.esm97.js.gz +0 -0
- package/js-core.esm98.js +1 -1
- package/js-core.esm98.js.gz +0 -0
- package/locales/es.json +1 -1
- package/locales/fr.json +1 -1
- package/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{gB as aiwareJsEventsOff,gA as aiwareJsEventsOn,gC as frameLink,gx as initAiwareJs,gy as mountAiwareWidget,gz as unmountAiwareWidget}from"./js-core.esm4.js";
|
package/js-core.esm.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{gB as aiwareJsEventsOff,gA as aiwareJsEventsOn,gC as frameLink,gx as initAiwareJs,gy as mountAiwareWidget,gz as unmountAiwareWidget}from"./js-core.esm4.js";
|
package/js-core.esm.js.gz
CHANGED
|
Binary file
|
package/js-core.esm10.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as reactExports,u as useSelector,h as snackbarSelector,k as clearMessage,j as jsxRuntimeExports,C as CircularProgress,B as Box}from"./js-core.esm4.js";export{l as getSnackbarModule}from"./js-core.esm4.js";import{m as makeStyles,B as Button}from"./js-core.esm7.js";import{a as actions}from"./js-core.esm11.js";import{a as Snackbar,S as Stack}from"./js-core.esm9.js";import"./js-core.esm12.js";import"./js-core.esm13.js";import"./js-core.esm14.js";import{A as Alert}from"./js-core.esm17.js";import{u as useDispatch}from"./js-core.esm15.js";import"./js-core.esm19.js";import"./js-core.esm18.js";function _array_like_to_array(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,o=new Array(r);t<r;t++)o[t]=e[t];return o}function _array_with_holes(e){if(Array.isArray(e))return e}function _array_without_holes(e){if(Array.isArray(e))return _array_like_to_array(e)}function _define_property(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function _iterable_to_array(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function _iterable_to_array_limit(e,r){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var o,a,n=[],s=!0,i=!1;try{for(t=t.call(e);!(s=(o=t.next()).done)&&(n.push(o.value),!r||n.length!==r);s=!0);}catch(e){i=!0,a=e}finally{try{s||null==t.return||t.return()}finally{if(i)throw a}}return n}}function _non_iterable_rest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _non_iterable_spread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _object_spread(r){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{},o=Object.keys(t);(o="function"==typeof Object.getOwnPropertySymbols?o.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})):o).forEach(function(e){_define_property(r,e,t[e])})}return r}function _sliced_to_array(e,r){return _array_with_holes(e)||_iterable_to_array_limit(e,r)||_unsupported_iterable_to_array(e,r)||_non_iterable_rest()}function _to_consumable_array(e){return _array_without_holes(e)||_iterable_to_array(e)||_unsupported_iterable_to_array(e)||_non_iterable_spread()}function _unsupported_iterable_to_array(e,r){var t;if(e)return"string"==typeof e?_array_like_to_array(e,r):"Map"===(t="Object"===(t=Object.prototype.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:t)||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_array_like_to_array(e,r):void 0}var useStyles=makeStyles()(function(e,r){r=r.maxWidth;return{sdkSnackbarContainer:{"& svg":{fill:"white"},maxWidth:void 0===r?"none":r}}});function CustomSnackbar(){function e(e,r){"clickaway"!==r&&(s(!1),t(clearMessage()))}var t=useDispatch(),r=_sliced_to_array(reactExports.useState([]),2),o=r[0],a=r[1],r=_sliced_to_array(reactExports.useState(!1),2),n=r[0],s=r[1],r=_sliced_to_array(reactExports.useState(void 0),2),i=r[0],l=r[1],r=useSelector(snackbarSelector),c=r.message,u=r.duration,r=r.isLoaderVisible,_=useStyles({maxWidth:null!=i&&i.maxWidth?null==i?void 0:i.maxWidth:"none"}).classes,f=(reactExports.useEffect(function(){null!=c&&c.content&&a(function(e){return _to_consumable_array(e).concat([c])})},[c]),reactExports.useEffect(function(){o.length&&!i?(l(_object_spread({},o[0])),a(function(e){return e.slice(1)}),s(!0)):o.length&&i&&n&&(t(clearMessage()),s(!1))},[o,i,n,t]),!r&&(null==i?void 0:i.severity)||"info"),u=r||null!=i&&i.removeIcon||null!=i&&i.sticky?null:u||3e3;return jsxRuntimeExports.jsx(Snackbar,{anchorOrigin:{vertical:"bottom",horizontal:"right"},open:n,autoHideDuration:u,onClose:e,TransitionProps:{onExited:function(){l(void 0),t(clearMessage())}},className:_.sdkSnackbarContainer,"data-snackbarid":(null==i?void 0:i.key)||"na","data-testid":"snackbar.message.".concat((null==i?void 0:i.severity)||"na"),children:jsxRuntimeExports.jsx(Alert,{onClose:null!=i&&i.removeIcon?void 0:e,icon:(null==i?void 0:i.removeIcon)&&!1,severity:f,elevation:6,variant:"filled",children:jsxRuntimeExports.jsxs(Stack,{direction:"row",sx:{display:"flex",alignItems:"center"},children:[r&&!(null!=i&&i.removeIcon)&&jsxRuntimeExports.jsx(CircularProgress,{size:"20px",sx:{color:"white",marginRight:"15px"}}),(u=(null==i?void 0:i.content)||"",jsxRuntimeExports.jsx("div",{dangerouslySetInnerHTML:{__html:u}})),(null==i?void 0:i.actions)&&jsxRuntimeExports.jsx(Box,{sx:{display:"flex",justifyContent:"flex-end"},children:i.actions.map(function(r,e){return jsxRuntimeExports.jsx(Button,{onClick:function(){var e=r.reduxActionType;if("string"==typeof e){if(t({type:e}),"dismiss"===e)return s(!1),void t(clearMessage());t(actions.openResourcesDetailsPanel())}else t(e);s(!1),t(clearMessage())},variant:"outlined","data-testid":"snack-bar-btn-".concat(e),sx:{fontSize:"12px",whiteSpace:"nowrap",color:"#fff",fontWeight:600,marginLeft:"10px",border:" 1px solid #fff",borderRadius:"4px","&:hover":{backgroundColor:"#fff",border:" 1px solid #fff",color:"#3c52b2"}},children:r.actionButtonText},e)})})]})})},i?i.key:void 0)}export{CustomSnackbar as default};
|
|
1
|
+
import{r as reactExports,u as useSelector,h as snackbarSelector,k as clearMessage,j as jsxRuntimeExports,C as CircularProgress,B as Box}from"./js-core.esm4.js";export{l as getSnackbarModule}from"./js-core.esm4.js";import{m as makeStyles,B as Button}from"./js-core.esm7.js";import{a as actions$1}from"./js-core.esm11.js";import{a as Snackbar,S as Stack}from"./js-core.esm9.js";import"./js-core.esm12.js";import"./js-core.esm13.js";import"./js-core.esm14.js";import{A as Alert}from"./js-core.esm17.js";import{u as useDispatch}from"./js-core.esm15.js";import"./js-core.esm19.js";import"./js-core.esm18.js";function _array_like_to_array(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,o=new Array(r);t<r;t++)o[t]=e[t];return o}function _array_with_holes(e){if(Array.isArray(e))return e}function _array_without_holes(e){if(Array.isArray(e))return _array_like_to_array(e)}function _define_property(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function _iterable_to_array(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function _iterable_to_array_limit(e,r){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var o,a,n=[],s=!0,i=!1;try{for(t=t.call(e);!(s=(o=t.next()).done)&&(n.push(o.value),!r||n.length!==r);s=!0);}catch(e){i=!0,a=e}finally{try{s||null==t.return||t.return()}finally{if(i)throw a}}return n}}function _non_iterable_rest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _non_iterable_spread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _object_spread(r){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{},o=Object.keys(t);(o="function"==typeof Object.getOwnPropertySymbols?o.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})):o).forEach(function(e){_define_property(r,e,t[e])})}return r}function _sliced_to_array(e,r){return _array_with_holes(e)||_iterable_to_array_limit(e,r)||_unsupported_iterable_to_array(e,r)||_non_iterable_rest()}function _to_consumable_array(e){return _array_without_holes(e)||_iterable_to_array(e)||_unsupported_iterable_to_array(e)||_non_iterable_spread()}function _unsupported_iterable_to_array(e,r){var t;if(e)return"string"==typeof e?_array_like_to_array(e,r):"Map"===(t="Object"===(t=Object.prototype.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:t)||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_array_like_to_array(e,r):void 0}var useStyles=makeStyles()(function(e,r){r=r.maxWidth;return{sdkSnackbarContainer:{"& svg":{fill:"white"},maxWidth:void 0===r?"none":r}}});function CustomSnackbar(){function e(e,r){"clickaway"!==r&&(s(!1),t(clearMessage()))}var t=useDispatch(),r=_sliced_to_array(reactExports.useState([]),2),o=r[0],a=r[1],r=_sliced_to_array(reactExports.useState(!1),2),n=r[0],s=r[1],r=_sliced_to_array(reactExports.useState(void 0),2),i=r[0],l=r[1],r=useSelector(snackbarSelector),c=r.message,u=r.duration,r=r.isLoaderVisible,_=useStyles({maxWidth:null!=i&&i.maxWidth?null==i?void 0:i.maxWidth:"none"}).classes,f=(reactExports.useEffect(function(){null!=c&&c.content&&a(function(e){return _to_consumable_array(e).concat([c])})},[c]),reactExports.useEffect(function(){o.length&&!i?(l(_object_spread({},o[0])),a(function(e){return e.slice(1)}),s(!0)):o.length&&i&&n&&(t(clearMessage()),s(!1))},[o,i,n,t]),!r&&(null==i?void 0:i.severity)||"info"),u=r||null!=i&&i.removeIcon||null!=i&&i.sticky?null:u||3e3;return jsxRuntimeExports.jsx(Snackbar,{anchorOrigin:{vertical:"bottom",horizontal:"right"},open:n,autoHideDuration:u,onClose:e,TransitionProps:{onExited:function(){l(void 0),t(clearMessage())}},className:_.sdkSnackbarContainer,"data-snackbarid":(null==i?void 0:i.key)||"na","data-testid":"snackbar.message.".concat((null==i?void 0:i.severity)||"na"),children:jsxRuntimeExports.jsx(Alert,{onClose:null!=i&&i.removeIcon?void 0:e,icon:(null==i?void 0:i.removeIcon)&&!1,severity:f,elevation:6,variant:"filled",children:jsxRuntimeExports.jsxs(Stack,{direction:"row",sx:{display:"flex",alignItems:"center"},children:[r&&!(null!=i&&i.removeIcon)&&jsxRuntimeExports.jsx(CircularProgress,{size:"20px",sx:{color:"white",marginRight:"15px"}}),(u=(null==i?void 0:i.content)||"",jsxRuntimeExports.jsx("div",{dangerouslySetInnerHTML:{__html:u}})),(null==i?void 0:i.actions)&&jsxRuntimeExports.jsx(Box,{sx:{display:"flex",justifyContent:"flex-end"},children:i.actions.map(function(r,e){return jsxRuntimeExports.jsx(Button,{onClick:function(){var e=r.reduxActionType;if("string"==typeof e){if(t({type:e}),"dismiss"===e)return s(!1),void t(clearMessage());t(actions$1.openResourcesDetailsPanel())}else t(e);s(!1),t(clearMessage())},variant:"outlined","data-testid":"snack-bar-btn-".concat(e),sx:{fontSize:"12px",whiteSpace:"nowrap",color:"#fff",fontWeight:600,marginLeft:"10px",border:" 1px solid #fff",borderRadius:"4px","&:hover":{backgroundColor:"#fff",border:" 1px solid #fff",color:"#3c52b2"}},children:r.actionButtonText},e)})})]})})},i?i.key:void 0)}export{CustomSnackbar as default};
|
package/js-core.esm10.js.gz
CHANGED
|
Binary file
|