react-input-material 0.0.388 → 0.0.391

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.
@@ -1 +1 @@
1
- 'use strict';if(typeof module!=='undefined'&&module!==null&&eval('typeof require')!=='undefined'&&eval('require')!==null&&'main'in eval('require')&&eval('typeof require.main')!=='undefined'&&eval('require.main')!==null){var ORIGINAL_MAIN_MODULE=module;if(module!==eval('require.main')&&'paths'in module&&'paths'in eval('require.main')&&typeof __dirname!=='undefined'&&__dirname!==null)module.paths=eval('require.main.paths').concat(module.paths.filter(function(path){return eval('require.main.paths').includes(path)}))};if(typeof window==='undefined'||window===null)var window=(typeof global==='undefined'||global===null)?{}:global;!function(e,n){"object"==typeof exports&&"object"==typeof module?module.exports=n(require("@babel/runtime/helpers/extends"),require("@babel/runtime/helpers/objectWithoutPropertiesLoose"),require("@rmwc/theme"),require("@rmwc/tooltip"),require("@rmwc/typography"),require("react"),require("react/jsx-runtime")):"function"==typeof define&&define.amd?define("componentsDummy",["@babel/runtime/helpers/extends","@babel/runtime/helpers/objectWithoutPropertiesLoose","@rmwc/theme","@rmwc/tooltip","@rmwc/typography","react","react/jsx-runtime"],n):"object"==typeof exports?exports.componentsDummy=n(require("@babel/runtime/helpers/extends"),require("@babel/runtime/helpers/objectWithoutPropertiesLoose"),require("@rmwc/theme"),require("@rmwc/tooltip"),require("@rmwc/typography"),require("react"),require("react/jsx-runtime")):(e.componentsDummy=e.componentsDummy||{},e.componentsDummy.componentsFileInput=e.componentsDummy.componentsFileInput||{},e.componentsDummy.componentsFileInput.componentsGenericAnimate=e.componentsDummy.componentsFileInput.componentsGenericAnimate||{},e.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput=e.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput||{},e.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs=e.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs||{},e.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval=e.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval||{},e.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox=e.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox||{},e.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox.componentsWrapConfigurations=e.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox.componentsWrapConfigurations||{},e.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox.componentsWrapConfigurations.componentsWrapThemeProvider=e.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox.componentsWrapConfigurations.componentsWrapThemeProvider||{},e.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox.componentsWrapConfigurations.componentsWrapThemeProvider.componentsWrapTooltip=e.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox.componentsWrapConfigurations.componentsWrapThemeProvider.componentsWrapTooltip||{},e.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox.componentsWrapConfigurations.componentsWrapThemeProvider.componentsWrapTooltip.helper=e.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox.componentsWrapConfigurations.componentsWrapThemeProvider.componentsWrapTooltip.helper||{},e.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox.componentsWrapConfigurations.componentsWrapThemeProvider.componentsWrapTooltip.helper.index=e.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox.componentsWrapConfigurations.componentsWrapThemeProvider.componentsWrapTooltip.helper.index||{},e.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox.componentsWrapConfigurations.componentsWrapThemeProvider.componentsWrapTooltip.helper.index.testHelper=n(e["@babel/runtime/helpers/extends"],e["@babel/runtime/helpers/objectWithoutPropertiesLoose"],e["@rmwc/theme"],e["@rmwc/tooltip"],e["@rmwc/typography"],e.react,e["react/jsx-runtime"]))}(this,(function(e,n,o,t,r,p,c){return function(){"use strict";var m=[function(e){e.exports=c},function(n){n.exports=e},function(e){e.exports=p},,function(e){e.exports=o},,function(e,n,o){o.d(n,{WrapTooltip:function(){return i}});var t=o(1),r=o.n(t),p=o(9),c=o(11),m=o(0),i=function(e){var n=e.children,o=e.options;return"string"==typeof o?(0,m.jsx)(c.Tooltip,{content:(0,m.jsx)(p.Typography,{use:"caption",children:o}),children:(0,m.jsx)("div",{className:"generic-tooltip",children:n})}):null!==o&&"object"==typeof o?("string"==typeof o.content&&(o=r()({},o,{content:(0,m.jsx)(p.Typography,{use:"caption",children:o.content})})),(0,m.jsx)(c.Tooltip,r()({},o,{children:(0,m.jsx)("div",{className:"generic-tooltip",children:n})}))):(0,m.jsx)(m.Fragment,{children:n})}},,,function(e){e.exports=r},function(e,n,o){o.d(n,{WrapThemeProvider:function(){return p}});var t=o(4),r=o(0),p=function(e){var n=e.children,o=e.configuration,p=e.wrap;return o?(0,r.jsx)(t.ThemeProvider,{options:o,wrap:!1!==p,children:n}):n}},function(e){e.exports=t},function(e,n,o){o.d(n,{x:function(){return p}});var t=o(2),r=o(0),p=function(e){var n=e.children;return e.strict?(0,r.jsx)(t.StrictMode,{children:n}):(0,r.jsx)(r.Fragment,{children:n})}},function(e){e.exports=n}],i={};function s(e){var n=i[e];if(void 0!==n)return n.exports;var o=i[e]={exports:{}};return m[e](o,o.exports,s),o.exports}s.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return s.d(n,{a:n}),n},s.d=function(e,n){for(var o in n)s.o(n,o)&&!s.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:n[o]})},s.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},s.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var u={};return function(){s.r(u),s.d(u,{WrapConfigurations:function(){return h},createWrapConfigurationsComponent:function(){return f}});var e=s(1),n=s.n(e),o=s(13),t=s.n(o),r=s(2),p=s(4),c=s(12),m=s(10),i=s(6),a=s(0),l=["strict","theme","themeConfiguration","tooltip","wrap"],h=function(e){var n=e.children,o=e.strict,t=e.themeConfiguration,r=e.tooltip,p=e.wrap;return(0,a.jsx)(c.x,{strict:Boolean(o),children:(0,a.jsx)(i.WrapTooltip,{options:r,children:(0,a.jsx)(m.WrapThemeProvider,{configuration:t,wrap:p,children:n})})})};function f(e,o){void 0===o&&(o={});var c=function(r,c){var m=r.strict,i=r.theme,s=r.themeConfiguration,u=r.tooltip,f=r.wrap,I=t()(r,l),d=(0,a.jsx)(e,n()({},n()({},I,!1===o.withReference?{}:c?{ref:c}:{},o.withThemeWrapper&&i?{theme:i}:{})));return(0,a.jsx)(h,{strict:m,themeConfiguration:s,tooltip:u,wrap:f,children:o.withThemeWrapper&&i?(0,a.jsx)(p.Theme,{use:i,wrap:f,children:d}):d})};return o.withReference?(0,r.forwardRef)(c):c}u.default=h}(),u}()}));
1
+ 'use strict';if(typeof module!=='undefined'&&module!==null&&eval('typeof require')!=='undefined'&&eval('require')!==null&&'main'in eval('require')&&eval('typeof require.main')!=='undefined'&&eval('require.main')!==null){var ORIGINAL_MAIN_MODULE=module;if(module!==eval('require.main')&&'paths'in module&&'paths'in eval('require.main')&&typeof __dirname!=='undefined'&&__dirname!==null)module.paths=eval('require.main.paths').concat(module.paths.filter(function(path){return eval('require.main.paths').includes(path)}))};if(typeof window==='undefined'||window===null)var window=(typeof global==='undefined'||global===null)?{}:global;!function(e,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r(require("@babel/runtime/helpers/extends"),require("@babel/runtime/helpers/objectWithoutPropertiesLoose"),require("@rmwc/theme"),require("@rmwc/tooltip"),require("@rmwc/typography"),require("react"),require("react/jsx-runtime"));else if("function"==typeof define&&define.amd)define(["@babel/runtime/helpers/extends","@babel/runtime/helpers/objectWithoutPropertiesLoose","@rmwc/theme","@rmwc/tooltip","@rmwc/typography","react","react/jsx-runtime"],r);else{var t="object"==typeof exports?r(require("@babel/runtime/helpers/extends"),require("@babel/runtime/helpers/objectWithoutPropertiesLoose"),require("@rmwc/theme"),require("@rmwc/tooltip"),require("@rmwc/typography"),require("react"),require("react/jsx-runtime")):r(e["@babel/runtime/helpers/extends"],e["@babel/runtime/helpers/objectWithoutPropertiesLoose"],e["@rmwc/theme"],e["@rmwc/tooltip"],e["@rmwc/typography"],e.react,e["react/jsx-runtime"]);for(var n in t)("object"==typeof exports?exports:e)[n]=t[n]}}(this,(function(e,r,t,n,o,i,c){return function(){"use strict";var u=[function(e){e.exports=c},function(r){r.exports=e},function(e){e.exports=i},,function(e){e.exports=t},,function(e,r,t){t.d(r,{WrapTooltip:function(){return p}});var n=t(1),o=t.n(n),i=t(9),c=t(11),u=t(0),p=function(e){var r=e.children,t=e.options;return"string"==typeof t?(0,u.jsx)(c.Tooltip,{content:(0,u.jsx)(i.Typography,{use:"caption",children:t}),children:(0,u.jsx)("div",{className:"generic-tooltip",children:r})}):null!==t&&"object"==typeof t?("string"==typeof t.content&&(t=o()({},t,{content:(0,u.jsx)(i.Typography,{use:"caption",children:t.content})})),(0,u.jsx)(c.Tooltip,o()({},t,{children:(0,u.jsx)("div",{className:"generic-tooltip",children:r})}))):(0,u.jsx)(u.Fragment,{children:r})}},,,function(e){e.exports=o},function(e,r,t){t.d(r,{WrapThemeProvider:function(){return i}});var n=t(4),o=t(0),i=function(e){var r=e.children,t=e.configuration,i=e.wrap;return t?(0,o.jsx)(n.ThemeProvider,{options:t,wrap:!1!==i,children:r}):r}},function(e){e.exports=n},function(e,r,t){t.d(r,{x:function(){return i}});var n=t(2),o=t(0),i=function(e){var r=e.children;return e.strict?(0,o.jsx)(n.StrictMode,{children:r}):(0,o.jsx)(o.Fragment,{children:r})}},function(e){e.exports=r}],p={};function a(e){var r=p[e];if(void 0!==r)return r.exports;var t=p[e]={exports:{}};return u[e](t,t.exports,a),t.exports}a.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(r,{a:r}),r},a.d=function(e,r){for(var t in r)a.o(r,t)&&!a.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},a.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var s={};return function(){a.r(s),a.d(s,{WrapConfigurations:function(){return h},createWrapConfigurationsComponent:function(){return d}});var e=a(1),r=a.n(e),t=a(13),n=a.n(t),o=a(2),i=a(4),c=a(12),u=a(10),p=a(6),l=a(0),f=["strict","theme","themeConfiguration","tooltip","wrap"],h=function(e){var r=e.children,t=e.strict,n=e.themeConfiguration,o=e.tooltip,i=e.wrap;return(0,l.jsx)(c.x,{strict:Boolean(t),children:(0,l.jsx)(p.WrapTooltip,{options:o,children:(0,l.jsx)(u.WrapThemeProvider,{configuration:n,wrap:i,children:r})})})};function d(e,t){void 0===t&&(t={});var c=function(o,c){var u=o.strict,p=o.theme,a=o.themeConfiguration,s=o.tooltip,d=o.wrap,m=n()(o,f),x=(0,l.jsx)(e,r()({},r()({},m,!1===t.withReference?{}:c?{ref:c}:{},t.withThemeWrapper&&p?{theme:p}:{})));return(0,l.jsx)(h,{strict:u,themeConfiguration:a,tooltip:s,wrap:d,children:t.withThemeWrapper&&p?(0,l.jsx)(i.Theme,{use:p,wrap:d,children:x}):x})};return t.withReference?(0,o.forwardRef)(c):c}s.default=h}(),s}()}));
@@ -1 +1 @@
1
- 'use strict';if(typeof module!=='undefined'&&module!==null&&eval('typeof require')!=='undefined'&&eval('require')!==null&&'main'in eval('require')&&eval('typeof require.main')!=='undefined'&&eval('require.main')!==null){var ORIGINAL_MAIN_MODULE=module;if(module!==eval('require.main')&&'paths'in module&&'paths'in eval('require.main')&&typeof __dirname!=='undefined'&&__dirname!==null)module.paths=eval('require.main.paths').concat(module.paths.filter(function(path){return eval('require.main.paths').includes(path)}))};if(typeof window==='undefined'||window===null)var window=(typeof global==='undefined'||global===null)?{}:global;!function(n,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("@rmwc/theme"),require("react/jsx-runtime")):"function"==typeof define&&define.amd?define("componentsDummy",["@rmwc/theme","react/jsx-runtime"],e):"object"==typeof exports?exports.componentsDummy=e(require("@rmwc/theme"),require("react/jsx-runtime")):(n.componentsDummy=n.componentsDummy||{},n.componentsDummy.componentsFileInput=n.componentsDummy.componentsFileInput||{},n.componentsDummy.componentsFileInput.componentsGenericAnimate=n.componentsDummy.componentsFileInput.componentsGenericAnimate||{},n.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput=n.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput||{},n.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs=n.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs||{},n.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval=n.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval||{},n.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox=n.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox||{},n.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox.componentsWrapConfigurations=n.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox.componentsWrapConfigurations||{},n.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox.componentsWrapConfigurations.componentsWrapThemeProvider=n.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox.componentsWrapConfigurations.componentsWrapThemeProvider||{},n.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox.componentsWrapConfigurations.componentsWrapThemeProvider.componentsWrapTooltip=n.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox.componentsWrapConfigurations.componentsWrapThemeProvider.componentsWrapTooltip||{},n.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox.componentsWrapConfigurations.componentsWrapThemeProvider.componentsWrapTooltip.helper=n.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox.componentsWrapConfigurations.componentsWrapThemeProvider.componentsWrapTooltip.helper||{},n.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox.componentsWrapConfigurations.componentsWrapThemeProvider.componentsWrapTooltip.helper.index=n.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox.componentsWrapConfigurations.componentsWrapThemeProvider.componentsWrapTooltip.helper.index||{},n.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox.componentsWrapConfigurations.componentsWrapThemeProvider.componentsWrapTooltip.helper.index.testHelper=e(n["@rmwc/theme"],n["react/jsx-runtime"]))}(this,(function(n,e){return function(){"use strict";var o=[function(n){n.exports=e},,,,function(e){e.exports=n}],t={};function p(n){var e=t[n];if(void 0!==e)return e.exports;var m=t[n]={exports:{}};return o[n](m,m.exports,p),m.exports}p.n=function(n){var e=n&&n.__esModule?function(){return n.default}:function(){return n};return p.d(e,{a:e}),e},p.d=function(n,e){for(var o in e)p.o(e,o)&&!p.o(n,o)&&Object.defineProperty(n,o,{enumerable:!0,get:e[o]})},p.o=function(n,e){return Object.prototype.hasOwnProperty.call(n,e)},p.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})};var m={};return function(){p.r(m),p.d(m,{WrapThemeProvider:function(){return o}});var n=p(4),e=p(0),o=function(o){var t=o.children,p=o.configuration,m=o.wrap;return p?(0,e.jsx)(n.ThemeProvider,{options:p,wrap:!1!==m,children:t}):t};m.default=o}(),m}()}));
1
+ 'use strict';if(typeof module!=='undefined'&&module!==null&&eval('typeof require')!=='undefined'&&eval('require')!==null&&'main'in eval('require')&&eval('typeof require.main')!=='undefined'&&eval('require.main')!==null){var ORIGINAL_MAIN_MODULE=module;if(module!==eval('require.main')&&'paths'in module&&'paths'in eval('require.main')&&typeof __dirname!=='undefined'&&__dirname!==null)module.paths=eval('require.main.paths').concat(module.paths.filter(function(path){return eval('require.main.paths').includes(path)}))};if(typeof window==='undefined'||window===null)var window=(typeof global==='undefined'||global===null)?{}:global;!function(e,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r(require("@rmwc/theme"),require("react/jsx-runtime"));else if("function"==typeof define&&define.amd)define(["@rmwc/theme","react/jsx-runtime"],r);else{var t="object"==typeof exports?r(require("@rmwc/theme"),require("react/jsx-runtime")):r(e["@rmwc/theme"],e["react/jsx-runtime"]);for(var n in t)("object"==typeof exports?exports:e)[n]=t[n]}}(this,(function(e,r){return function(){"use strict";var t=[function(e){e.exports=r},,,,function(r){r.exports=e}],n={};function o(e){var r=n[e];if(void 0!==r)return r.exports;var i=n[e]={exports:{}};return t[e](i,i.exports,o),i.exports}o.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(r,{a:r}),r},o.d=function(e,r){for(var t in r)o.o(r,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},o.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return function(){o.r(i),o.d(i,{WrapThemeProvider:function(){return t}});var e=o(4),r=o(0),t=function(t){var n=t.children,o=t.configuration,i=t.wrap;return o?(0,r.jsx)(e.ThemeProvider,{options:o,wrap:!1!==i,children:n}):n};i.default=t}(),i}()}));
@@ -1 +1 @@
1
- 'use strict';if(typeof module!=='undefined'&&module!==null&&eval('typeof require')!=='undefined'&&eval('require')!==null&&'main'in eval('require')&&eval('typeof require.main')!=='undefined'&&eval('require.main')!==null){var ORIGINAL_MAIN_MODULE=module;if(module!==eval('require.main')&&'paths'in module&&'paths'in eval('require.main')&&typeof __dirname!=='undefined'&&__dirname!==null)module.paths=eval('require.main.paths').concat(module.paths.filter(function(path){return eval('require.main.paths').includes(path)}))};if(typeof window==='undefined'||window===null)var window=(typeof global==='undefined'||global===null)?{}:global;!function(n,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("@babel/runtime/helpers/extends"),require("@rmwc/tooltip"),require("@rmwc/typography"),require("react/jsx-runtime")):"function"==typeof define&&define.amd?define("componentsDummy",["@babel/runtime/helpers/extends","@rmwc/tooltip","@rmwc/typography","react/jsx-runtime"],e):"object"==typeof exports?exports.componentsDummy=e(require("@babel/runtime/helpers/extends"),require("@rmwc/tooltip"),require("@rmwc/typography"),require("react/jsx-runtime")):(n.componentsDummy=n.componentsDummy||{},n.componentsDummy.componentsFileInput=n.componentsDummy.componentsFileInput||{},n.componentsDummy.componentsFileInput.componentsGenericAnimate=n.componentsDummy.componentsFileInput.componentsGenericAnimate||{},n.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput=n.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput||{},n.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs=n.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs||{},n.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval=n.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval||{},n.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox=n.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox||{},n.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox.componentsWrapConfigurations=n.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox.componentsWrapConfigurations||{},n.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox.componentsWrapConfigurations.componentsWrapThemeProvider=n.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox.componentsWrapConfigurations.componentsWrapThemeProvider||{},n.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox.componentsWrapConfigurations.componentsWrapThemeProvider.componentsWrapTooltip=n.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox.componentsWrapConfigurations.componentsWrapThemeProvider.componentsWrapTooltip||{},n.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox.componentsWrapConfigurations.componentsWrapThemeProvider.componentsWrapTooltip.helper=n.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox.componentsWrapConfigurations.componentsWrapThemeProvider.componentsWrapTooltip.helper||{},n.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox.componentsWrapConfigurations.componentsWrapThemeProvider.componentsWrapTooltip.helper.index=n.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox.componentsWrapConfigurations.componentsWrapThemeProvider.componentsWrapTooltip.helper.index||{},n.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox.componentsWrapConfigurations.componentsWrapThemeProvider.componentsWrapTooltip.helper.index.testHelper=e(n["@babel/runtime/helpers/extends"],n["@rmwc/tooltip"],n["@rmwc/typography"],n["react/jsx-runtime"]))}(this,(function(n,e,o,t){return function(){"use strict";var p=[function(n){n.exports=t},function(e){e.exports=n},,,,,,,,function(n){n.exports=o},,function(n){n.exports=e}],c={};function m(n){var e=c[n];if(void 0!==e)return e.exports;var o=c[n]={exports:{}};return p[n](o,o.exports,m),o.exports}m.n=function(n){var e=n&&n.__esModule?function(){return n.default}:function(){return n};return m.d(e,{a:e}),e},m.d=function(n,e){for(var o in e)m.o(e,o)&&!m.o(n,o)&&Object.defineProperty(n,o,{enumerable:!0,get:e[o]})},m.o=function(n,e){return Object.prototype.hasOwnProperty.call(n,e)},m.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})};var r={};return function(){m.r(r),m.d(r,{WrapTooltip:function(){return c}});var n=m(1),e=m.n(n),o=m(9),t=m(11),p=m(0),c=function(n){var c=n.children,m=n.options;return"string"==typeof m?(0,p.jsx)(t.Tooltip,{content:(0,p.jsx)(o.Typography,{use:"caption",children:m}),children:(0,p.jsx)("div",{className:"generic-tooltip",children:c})}):null!==m&&"object"==typeof m?("string"==typeof m.content&&(m=e()({},m,{content:(0,p.jsx)(o.Typography,{use:"caption",children:m.content})})),(0,p.jsx)(t.Tooltip,e()({},m,{children:(0,p.jsx)("div",{className:"generic-tooltip",children:c})}))):(0,p.jsx)(p.Fragment,{children:c})};r.default=c}(),r}()}));
1
+ 'use strict';if(typeof module!=='undefined'&&module!==null&&eval('typeof require')!=='undefined'&&eval('require')!==null&&'main'in eval('require')&&eval('typeof require.main')!=='undefined'&&eval('require.main')!==null){var ORIGINAL_MAIN_MODULE=module;if(module!==eval('require.main')&&'paths'in module&&'paths'in eval('require.main')&&typeof __dirname!=='undefined'&&__dirname!==null)module.paths=eval('require.main.paths').concat(module.paths.filter(function(path){return eval('require.main.paths').includes(path)}))};if(typeof window==='undefined'||window===null)var window=(typeof global==='undefined'||global===null)?{}:global;!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@babel/runtime/helpers/extends"),require("@rmwc/tooltip"),require("@rmwc/typography"),require("react/jsx-runtime"));else if("function"==typeof define&&define.amd)define(["@babel/runtime/helpers/extends","@rmwc/tooltip","@rmwc/typography","react/jsx-runtime"],t);else{var r="object"==typeof exports?t(require("@babel/runtime/helpers/extends"),require("@rmwc/tooltip"),require("@rmwc/typography"),require("react/jsx-runtime")):t(e["@babel/runtime/helpers/extends"],e["@rmwc/tooltip"],e["@rmwc/typography"],e["react/jsx-runtime"]);for(var n in r)("object"==typeof exports?exports:e)[n]=r[n]}}(this,(function(e,t,r,n){return function(){"use strict";var o=[function(e){e.exports=n},function(t){t.exports=e},,,,,,,,function(e){e.exports=r},,function(e){e.exports=t}],i={};function c(e){var t=i[e];if(void 0!==t)return t.exports;var r=i[e]={exports:{}};return o[e](r,r.exports,c),r.exports}c.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(t,{a:t}),t},c.d=function(e,t){for(var r in t)c.o(t,r)&&!c.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},c.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},c.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var u={};return function(){c.r(u),c.d(u,{WrapTooltip:function(){return i}});var e=c(1),t=c.n(e),r=c(9),n=c(11),o=c(0),i=function(e){var i=e.children,c=e.options;return"string"==typeof c?(0,o.jsx)(n.Tooltip,{content:(0,o.jsx)(r.Typography,{use:"caption",children:c}),children:(0,o.jsx)("div",{className:"generic-tooltip",children:i})}):null!==c&&"object"==typeof c?("string"==typeof c.content&&(c=t()({},c,{content:(0,o.jsx)(r.Typography,{use:"caption",children:c.content})})),(0,o.jsx)(n.Tooltip,t()({},c,{children:(0,o.jsx)("div",{className:"generic-tooltip",children:i})}))):(0,o.jsx)(o.Fragment,{children:i})};u.default=i}(),u}()}));
package/helper.js CHANGED
@@ -1 +1 @@
1
- 'use strict';if(typeof module!=='undefined'&&module!==null&&eval('typeof require')!=='undefined'&&eval('require')!==null&&'main'in eval('require')&&eval('typeof require.main')!=='undefined'&&eval('require.main')!==null){var ORIGINAL_MAIN_MODULE=module;if(module!==eval('require.main')&&'paths'in module&&'paths'in eval('require.main')&&typeof __dirname!=='undefined'&&__dirname!==null)module.paths=eval('require.main.paths').concat(module.paths.filter(function(path){return eval('require.main.paths').includes(path)}))};if(typeof window==='undefined'||window===null)var window=(typeof global==='undefined'||global===null)?{}:global;!function(e,n){"object"==typeof exports&&"object"==typeof module?module.exports=n(require("@babel/runtime/helpers/extends"),require("clientnode"),require("clientnode/property-types"),require("react")):"function"==typeof define&&define.amd?define("componentsDummy",["@babel/runtime/helpers/extends","clientnode","clientnode/property-types","react"],n):"object"==typeof exports?exports.componentsDummy=n(require("@babel/runtime/helpers/extends"),require("clientnode"),require("clientnode/property-types"),require("react")):(e.componentsDummy=e.componentsDummy||{},e.componentsDummy.componentsFileInput=e.componentsDummy.componentsFileInput||{},e.componentsDummy.componentsFileInput.componentsGenericAnimate=e.componentsDummy.componentsFileInput.componentsGenericAnimate||{},e.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput=e.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput||{},e.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs=e.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs||{},e.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval=e.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval||{},e.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox=e.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox||{},e.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox.componentsWrapConfigurations=e.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox.componentsWrapConfigurations||{},e.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox.componentsWrapConfigurations.componentsWrapThemeProvider=e.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox.componentsWrapConfigurations.componentsWrapThemeProvider||{},e.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox.componentsWrapConfigurations.componentsWrapThemeProvider.componentsWrapTooltip=e.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox.componentsWrapConfigurations.componentsWrapThemeProvider.componentsWrapTooltip||{},e.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox.componentsWrapConfigurations.componentsWrapThemeProvider.componentsWrapTooltip.helper=e.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox.componentsWrapConfigurations.componentsWrapThemeProvider.componentsWrapTooltip.helper||{},e.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox.componentsWrapConfigurations.componentsWrapThemeProvider.componentsWrapTooltip.helper.index=e.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox.componentsWrapConfigurations.componentsWrapThemeProvider.componentsWrapTooltip.helper.index||{},e.componentsDummy.componentsFileInput.componentsGenericAnimate.componentsGenericInput.componentsInputs.componentsInterval.componentsRequireableCheckbox.componentsWrapConfigurations.componentsWrapThemeProvider.componentsWrapTooltip.helper.index.testHelper=n(e["@babel/runtime/helpers/extends"],e.clientnode,e["clientnode/property-types"],e.react))}(this,(function(e,n,t,o){return function(){"use strict";var r=[,function(n){n.exports=e},function(e){e.exports=o},function(e){e.exports=n},,function(e){e.exports=t}],i={};function l(e){var n=i[e];if(void 0!==n)return n.exports;var t=i[e]={exports:{}};return r[e](t,t.exports,l),t.exports}l.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(n,{a:n}),n},l.d=function(e,n){for(var t in n)l.o(n,t)&&!l.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},l.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},l.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var u={};return function(){l.r(u),l.d(u,{createDummyStateSetter:function(){return m},deriveMissingPropertiesFromState:function(){return c},determineInitialRepresentation:function(){return q},determineInitialValue:function(){return v},determineValidationState:function(){return y},formatValue:function(){return P},getConsolidatedProperties:function(){return I},getLabelAndValues:function(){return h},getRepresentationFromValueSelection:function(){return g},getValueFromSelection:function(){return A},mapPropertiesIntoModel:function(){return b},normalizeSelection:function(){return x},parseValue:function(){return G},translateKnownSymbols:function(){return f},triggerCallbackIfExists:function(){return d},useMemorizedValue:function(){return C},wrapStateSetter:function(){return s}});var e=l(1),n=l.n(e),t=l(3),o=l.n(t),r=l(5),i=l(2);function p(e,n){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(t)return(t=t.call(e)).next.bind(t);if(Array.isArray(e)||(t=function(e,n){if(!e)return;if("string"==typeof e)return a(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return a(e,n)}(e))||n&&e&&"number"==typeof e.length){t&&(e=t);var o=0;return function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function a(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,o=new Array(n);t<n;t++)o[t]=e[t];return o}var m=function(e){return function(n){"function"==typeof n&&n(e)}},c=function(e,t){void 0!==e.model.value&&void 0===e.value&&(e.value=e.model.value),void 0===e.value&&(e.value=t.value),e.model.state?e.model.state=n()({},e.model.state):e.model.state={};for(var o=0,r=Object.entries(t.modelState);o<r.length;o++){var i=r[o],l=i[0],u=i[1];void 0===e.model.state[l]&&(e.model.state[l]=u)}return e},s=function(e,n){return function(t){var r="function"==typeof t?t(n):t;o().equals(null==r?void 0:r.modelState,null==n?void 0:n.modelState)||e(r)}},d=function(e,n,t){void 0===t&&(t=!0);for(var r=arguments.length,i=new Array(r>3?r-3:0),l=3;l<r;l++)i[l-3]=arguments[l];n="on"+o().stringCapitalize(n),e[n]&&(t?e[n].apply(e,i):o().timeout((function(){return e[n].apply(e,i)})))},f=function(e){for(var n={},t=0,i=Object.entries(e);t<i.length;t++){var l=i[t],u=l[0],p=l[1];p===r.UndefinedSymbol?n[u]=void 0:p===r.NullSymbol?n[u]=null:n[u]=o().copy(e[u])}return n},v=function(e,n,t){var r,i;return void 0!==t?t:void 0!==e.value?e.value:void 0!==(null==(r=e.model)?void 0:r.value)?e.model.value:void 0!==e.initialValue?o().copy(e.initialValue):void 0!==e.default?o().copy(e.default):void 0!==(null==(i=e.model)?void 0:i.default)?o().copy(e.model.default):void 0!==n?n:null},y=function(e,t,o){void 0===o&&(o={});var r=!1;o=n()({invalidRequired:function(){return!1===e.model.nullable&&"boolean"!==e.model.type&&!e.model.value&&0!==e.model.value||"boolean"===e.model.type&&!("boolean"==typeof e.model.value||["false","true"].includes(e.model.value))}},o),e.model.state=e.model.state||{};for(var i=0,l=Object.entries(o);i<l.length;i++){var u=l[i],p=u[0],a=u[1],m=t[p];e.model.state[p]=a(),r=r||m!==t[p]}return r&&(e.model.state.invalid=Object.keys(o).some((function(n){return e.model.state[n]})),e.model.state.valid=!e.model.state.invalid),r},b=function(e,n){var t=o().extend(!0,{model:o().copy(n)},e);t.disabled&&(t.model.mutable=!1,delete t.disabled),t.invertedPattern&&(t.model.invertedRegularExpressionPattern=t.invertedPattern,delete t.invertedPattern),t.pattern&&(t.model.regularExpressionPattern=t.pattern,delete t.pattern),t.required&&(t.model.nullable=!1,delete t.required),"text"===t.type&&(t.type="string");for(var r,i=p(Object.keys(t.model).concat("value"));!(r=i()).done;){var l=r.value;Object.prototype.hasOwnProperty.call(t,l)&&void 0!==t[l]&&(t.model[l]=t[l])}for(var u in t.model.state)Object.prototype.hasOwnProperty.call(t,u)&&void 0!==t[u]&&(t.model.state[u]=t[u]);return void 0===t.model.value&&(t.model.value=o().copy(t.model.default)),t},I=function(e){var t=n()({},e,e.model||{},(e.model||{}).state||{});return t.disabled=!(t.mutable&&t.writable),delete t.mutable,delete t.writable,delete t.state,t.required=!t.nullable,delete t.nullable,t.invertedRegularExpressionPattern&&(t.invertedPattern=t.invertedRegularExpressionPattern),delete t.invertedRegularExpressionPattern,t.regularExpressionPattern&&(t.pattern=t.regularExpressionPattern),delete t.regularExpressionPattern,t};function h(e){if(Array.isArray(e)){for(var n,t=[],o=[],r=p(e);!(n=r()).done;){var i=n.value;["number","string"].includes(typeof i)?(t.push(""+i),o.push(i)):"string"==typeof(null==i?void 0:i.label)?(t.push(i.label),o.push(i.value)):["number","string"].includes(typeof(null==i?void 0:i.value))&&(t.push(""+i.value),o.push(i.value))}return[t,o]}if(null!==e&&"object"==typeof e){var l=Object.keys(e).sort((function(n,t){return e[n].localeCompare(e[t])}));return[l.map((function(n){return e[n]})),l]}return[[],[]]}function g(e,n){if(n){if(Array.isArray(n))for(var t,r=p(n);!(t=r()).done;){var i=t.value;if(o().equals(i,e))return""+e;if(o().equals(null==i?void 0:i.value,e))return i.label||""+e}if(null!==n&&"object"==typeof n&&"string"==typeof e&&Object.prototype.hasOwnProperty.call(n,e))return n[e]}return null}function A(e,n){if(Array.isArray(n))for(var t,o=p(n);!(t=o()).done;){var r=t.value;if(["number","string"].includes(typeof r)&&""+r===e)return r;if("string"==typeof(null==r?void 0:r.label)&&r.label===e)return r.value;if(["number","string"].includes(typeof(null==r?void 0:r.value))&&""+r.value===e)return r.value}if(null!==n&&"object"==typeof n)for(var i=0,l=Object.entries(n);i<l.length;i++){var u=l[i],a=u[0];if(u[1]===e)return a}return null}function x(e,t){if(e||(e=t,t=void 0),Array.isArray(e)&&e.length){var o=[],r=0;if(Array.isArray(e[0]))for(var i,l=p(e);!(i=l()).done;){var u=i.value,a=u[0],m=u[1];o.push({label:Array.isArray(t)&&r<t.length?t[r]:m,value:a}),r+=1}else if(null!==e[0]&&"object"==typeof e[0])for(var c,s=p(e);!(c=s()).done;){var d=c.value;o.push(n()({},d,{label:Array.isArray(t)&&r<t.length?t[r]:d.label})),r+=1}else for(var f,v=p(e);!(f=v()).done;){var y=f.value;o.push({label:Array.isArray(t)&&r<t.length?t[r]:y,value:y}),r+=1}e=o}if(null!==t&&"object"==typeof t){if(Array.isArray(e)){for(var b,I=[],h=p(e);!(b=h()).done;){var g=b.value;I.push(n()({},g,{label:Object.prototype.hasOwnProperty.call(t,g.value||g.label)?t[g.value||g.label]:!0===g.value&&t.true?t.true:!1===g.value&&t.false?t.false:g.label}))}return I}for(var A=0,x=Object.entries(e);A<x.length;A++){var G=x[A],P=G[0],q=G[1];e[P]=Object.prototype.hasOwnProperty.call(t,P)?t[P]:q}}return e}var G=function(e,n,t){var o;if(e.model.trim&&"string"==typeof n&&(n=n.trim().replace(/ +\n/g,"\\n")),e.model.emptyEqualsNull&&""===n)return null;var r=n;return![null,void 0].includes(n)&&null!=(o=t[e.model.type])&&o.parse&&(r=t[e.model.type].parse(n,e,t)),"number"==typeof r&&isNaN(r)?null:r};function P(e,n,t,o){var r,i;void 0===o&&(o=!0);var l=o?"final":"intermediate";return[null,void 0].includes(n)||"number"==typeof n&&isNaN(n)?"":null!=(r=t[e.type||e.model.type])&&r.format&&null!=(i=t[e.type||e.model.type].format[l])&&i.transform?t[e.type||e.model.type].format[l].transform(n,e,t):String(n)}function q(e,t,o,r,i){if("string"==typeof e.representation)return e.representation;if(null!==o){var l,u=g(o,i);return"string"==typeof u?u:P(n()({},e,{type:e.type||(null==(l=e.model)?void 0:l.type)||t.model.type}),o,r)}return""}var C=function(e){for(var n=arguments.length,t=new Array(n>1?n-1:0),o=1;o<n;o++)t[o-1]=arguments[o];return(0,i.useMemo)((function(){return e}),t)}}(),u}()}));
1
+ 'use strict';if(typeof module!=='undefined'&&module!==null&&eval('typeof require')!=='undefined'&&eval('require')!==null&&'main'in eval('require')&&eval('typeof require.main')!=='undefined'&&eval('require.main')!==null){var ORIGINAL_MAIN_MODULE=module;if(module!==eval('require.main')&&'paths'in module&&'paths'in eval('require.main')&&typeof __dirname!=='undefined'&&__dirname!==null)module.paths=eval('require.main.paths').concat(module.paths.filter(function(path){return eval('require.main.paths').includes(path)}))};if(typeof window==='undefined'||window===null)var window=(typeof global==='undefined'||global===null)?{}:global;!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@babel/runtime/helpers/extends"),require("clientnode"),require("clientnode/property-types"),require("react"));else if("function"==typeof define&&define.amd)define(["@babel/runtime/helpers/extends","clientnode","clientnode/property-types","react"],t);else{var r="object"==typeof exports?t(require("@babel/runtime/helpers/extends"),require("clientnode"),require("clientnode/property-types"),require("react")):t(e["@babel/runtime/helpers/extends"],e.clientnode,e["clientnode/property-types"],e.react);for(var n in r)("object"==typeof exports?exports:e)[n]=r[n]}}(this,(function(e,t,r,n){return function(){"use strict";var o=[,function(t){t.exports=e},function(e){e.exports=n},function(e){e.exports=t},,function(e){e.exports=r}],l={};function a(e){var t=l[e];if(void 0!==t)return t.exports;var r=l[e]={exports:{}};return o[e](r,r.exports,a),r.exports}a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,{a:t}),t},a.d=function(e,t){for(var r in t)a.o(t,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var u={};return function(){a.r(u),a.d(u,{createDummyStateSetter:function(){return f},deriveMissingPropertiesFromState:function(){return s},determineInitialRepresentation:function(){return P},determineInitialValue:function(){return y},determineValidationState:function(){return m},formatValue:function(){return O},getConsolidatedProperties:function(){return g},getLabelAndValues:function(){return h},getRepresentationFromValueSelection:function(){return j},getValueFromSelection:function(){return x},mapPropertiesIntoModel:function(){return b},normalizeSelection:function(){return A},parseValue:function(){return S},translateKnownSymbols:function(){return c},triggerCallbackIfExists:function(){return v},useMemorizedValue:function(){return q},wrapStateSetter:function(){return p}});var e=a(1),t=a.n(e),r=a(3),n=a.n(r),o=a(5),l=a(2);function i(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return d(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return d(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var f=function(e){return function(t){"function"==typeof t&&t(e)}},s=function(e,r){void 0!==e.model.value&&void 0===e.value&&(e.value=e.model.value),void 0===e.value&&(e.value=r.value),e.model.state?e.model.state=t()({},e.model.state):e.model.state={};for(var n=0,o=Object.entries(r.modelState);n<o.length;n++){var l=o[n],a=l[0],u=l[1];void 0===e.model.state[a]&&(e.model.state[a]=u)}return e},p=function(e,t){return function(r){var o="function"==typeof r?r(t):r;n().equals(null==o?void 0:o.modelState,null==t?void 0:t.modelState)||e(o)}},v=function(e,t,r){void 0===r&&(r=!0);for(var o=arguments.length,l=new Array(o>3?o-3:0),a=3;a<o;a++)l[a-3]=arguments[a];t="on"+n().stringCapitalize(t),e[t]&&(r?e[t].apply(e,l):n().timeout((function(){return e[t].apply(e,l)})))},c=function(e){for(var t={},r=0,l=Object.entries(e);r<l.length;r++){var a=l[r],u=a[0],i=a[1];i===o.UndefinedSymbol?t[u]=void 0:i===o.NullSymbol?t[u]=null:t[u]=n().copy(e[u])}return t},y=function(e,t,r){var o,l;return void 0!==r?r:void 0!==e.value?e.value:void 0!==(null==(o=e.model)?void 0:o.value)?e.model.value:void 0!==e.initialValue?n().copy(e.initialValue):void 0!==e.default?n().copy(e.default):void 0!==(null==(l=e.model)?void 0:l.default)?n().copy(e.model.default):void 0!==t?t:null},m=function(e,r,n){void 0===n&&(n={});var o=!1;n=t()({invalidRequired:function(){return!1===e.model.nullable&&"boolean"!==e.model.type&&!e.model.value&&0!==e.model.value||"boolean"===e.model.type&&!("boolean"==typeof e.model.value||["false","true"].includes(e.model.value))}},n),e.model.state=e.model.state||{};for(var l=0,a=Object.entries(n);l<a.length;l++){var u=a[l],i=u[0],d=u[1],f=r[i];e.model.state[i]=d(),o=o||f!==r[i]}return o&&(e.model.state.invalid=Object.keys(n).some((function(t){return e.model.state[t]})),e.model.state.valid=!e.model.state.invalid),o},b=function(e,t){var r=n().extend(!0,{model:n().copy(t)},e);r.disabled&&(r.model.mutable=!1,delete r.disabled),r.invertedPattern&&(r.model.invertedRegularExpressionPattern=r.invertedPattern,delete r.invertedPattern),r.pattern&&(r.model.regularExpressionPattern=r.pattern,delete r.pattern),r.required&&(r.model.nullable=!1,delete r.required),"text"===r.type&&(r.type="string");for(var o,l=i(Object.keys(r.model).concat("value"));!(o=l()).done;){var a=o.value;Object.prototype.hasOwnProperty.call(r,a)&&void 0!==r[a]&&(r.model[a]=r[a])}for(var u in r.model.state)Object.prototype.hasOwnProperty.call(r,u)&&void 0!==r[u]&&(r.model.state[u]=r[u]);return void 0===r.model.value&&(r.model.value=n().copy(r.model.default)),r},g=function(e){var r=t()({},e,e.model||{},(e.model||{}).state||{});return r.disabled=!(r.mutable&&r.writable),delete r.mutable,delete r.writable,delete r.state,r.required=!r.nullable,delete r.nullable,r.invertedRegularExpressionPattern&&(r.invertedPattern=r.invertedRegularExpressionPattern),delete r.invertedRegularExpressionPattern,r.regularExpressionPattern&&(r.pattern=r.regularExpressionPattern),delete r.regularExpressionPattern,r};function h(e){if(Array.isArray(e)){for(var t,r=[],n=[],o=i(e);!(t=o()).done;){var l=t.value;["number","string"].includes(typeof l)?(r.push(""+l),n.push(l)):"string"==typeof(null==l?void 0:l.label)?(r.push(l.label),n.push(l.value)):["number","string"].includes(typeof(null==l?void 0:l.value))&&(r.push(""+l.value),n.push(l.value))}return[r,n]}if(null!==e&&"object"==typeof e){var a=Object.keys(e).sort((function(t,r){return e[t].localeCompare(e[r])}));return[a.map((function(t){return e[t]})),a]}return[[],[]]}function j(e,t){if(t){if(Array.isArray(t))for(var r,o=i(t);!(r=o()).done;){var l=r.value;if(n().equals(l,e))return""+e;if(n().equals(null==l?void 0:l.value,e))return l.label||""+e}if(null!==t&&"object"==typeof t&&"string"==typeof e&&Object.prototype.hasOwnProperty.call(t,e))return t[e]}return null}function x(e,t){if(Array.isArray(t))for(var r,n=i(t);!(r=n()).done;){var o=r.value;if(["number","string"].includes(typeof o)&&""+o===e)return o;if("string"==typeof(null==o?void 0:o.label)&&o.label===e)return o.value;if(["number","string"].includes(typeof(null==o?void 0:o.value))&&""+o.value===e)return o.value}if(null!==t&&"object"==typeof t)for(var l=0,a=Object.entries(t);l<a.length;l++){var u=a[l],d=u[0];if(u[1]===e)return d}return null}function A(e,r){if(e||(e=r,r=void 0),Array.isArray(e)&&e.length){var n=[],o=0;if(Array.isArray(e[0]))for(var l,a=i(e);!(l=a()).done;){var u=l.value,d=u[0],f=u[1];n.push({label:Array.isArray(r)&&o<r.length?r[o]:f,value:d}),o+=1}else if(null!==e[0]&&"object"==typeof e[0])for(var s,p=i(e);!(s=p()).done;){var v=s.value;n.push(t()({},v,{label:Array.isArray(r)&&o<r.length?r[o]:v.label})),o+=1}else for(var c,y=i(e);!(c=y()).done;){var m=c.value;n.push({label:Array.isArray(r)&&o<r.length?r[o]:m,value:m}),o+=1}e=n}if(null!==r&&"object"==typeof r){if(Array.isArray(e)){for(var b,g=[],h=i(e);!(b=h()).done;){var j=b.value;g.push(t()({},j,{label:Object.prototype.hasOwnProperty.call(r,j.value||j.label)?r[j.value||j.label]:!0===j.value&&r.true?r.true:!1===j.value&&r.false?r.false:j.label}))}return g}for(var x=0,A=Object.entries(e);x<A.length;x++){var S=A[x],O=S[0],P=S[1];e[O]=Object.prototype.hasOwnProperty.call(r,O)?r[O]:P}}return e}var S=function(e,t,r){var n;if(e.model.trim&&"string"==typeof t&&(t=t.trim().replace(/ +\n/g,"\\n")),e.model.emptyEqualsNull&&""===t)return null;var o=t;return![null,void 0].includes(t)&&null!=(n=r[e.model.type])&&n.parse&&(o=r[e.model.type].parse(t,e,r)),"number"==typeof o&&isNaN(o)?null:o};function O(e,t,r,n){var o,l;void 0===n&&(n=!0);var a=n?"final":"intermediate";return[null,void 0].includes(t)||"number"==typeof t&&isNaN(t)?"":null!=(o=r[e.type||e.model.type])&&o.format&&null!=(l=r[e.type||e.model.type].format[a])&&l.transform?r[e.type||e.model.type].format[a].transform(t,e,r):String(t)}function P(e,r,n,o,l){if("string"==typeof e.representation)return e.representation;if(null!==n){var a,u=j(n,l);return"string"==typeof u?u:O(t()({},e,{type:e.type||(null==(a=e.model)?void 0:a.type)||r.model.type}),n,o)}return""}var q=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return(0,l.useMemo)((function(){return e}),r)}}(),u}()}));