diff --git a/SiemensIXBlazor/SiemensIXBlazor_NpmJS/src/index.js b/SiemensIXBlazor/SiemensIXBlazor_NpmJS/src/index.js index ccae816..6699432 100644 --- a/SiemensIXBlazor/SiemensIXBlazor_NpmJS/src/index.js +++ b/SiemensIXBlazor/SiemensIXBlazor_NpmJS/src/index.js @@ -1,4 +1,4 @@ -import { defineCustomElements } from '@siemens/ix/loader/index' +import { defineCustomElements, applyPolyfills } from '@siemens/ix/loader/index' import { toast } from "@siemens/ix" import '@siemens/ix-echarts'; import { registerTheme } from '@siemens/ix-echarts'; @@ -6,8 +6,13 @@ import * as echarts from 'echarts'; import { themeSwitcher } from '@siemens/ix'; import { Grid } from 'ag-grid-community'; import '@siemens/ix-aggrid/dist/index.js' +import { defineCustomElements as ixIconsDefineCustomElements } from '@siemens/ix-icons/loader'; -defineCustomElements(); +(async () => { + await applyPolyfills(); + await ixIconsDefineCustomElements(); + await defineCustomElements(); +})(); // toast window.showMessage = (config) => { diff --git a/SiemensIXBlazor/wwwroot/js/siemens-ix/2214.index.bundle.js b/SiemensIXBlazor/wwwroot/js/siemens-ix/2214.index.bundle.js index 26d06bc..2ddb655 100644 --- a/SiemensIXBlazor/wwwroot/js/siemens-ix/2214.index.bundle.js +++ b/SiemensIXBlazor/wwwroot/js/siemens-ix/2214.index.bundle.js @@ -1 +1 @@ -"use strict";(self.webpackChunknpmjs=self.webpackChunknpmjs||[]).push([[2214],{1594:(t,e,r)=>{r.d(e,{a:()=>a,b:()=>n,c:()=>i,g:()=>o});var n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==r.g?r.g:"undefined"!=typeof self?self:{};function o(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function i(t,e,r){return t(r={path:e,exports:{},require:function(t,e){return a()}},r.exports),r.exports}function a(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}},6621:(t,e,r)=>{r.r(e),r.d(e,{c:()=>a});var n=r(1594),o=(0,n.c)((function(t){!function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=0)}([function(t,e,r){r(1),r(55),r(62),r(68),r(70),r(71),r(72),r(73),r(75),r(76),r(78),r(87),r(88),r(89),r(98),r(99),r(101),r(102),r(103),r(105),r(106),r(107),r(108),r(110),r(111),r(112),r(113),r(114),r(115),r(116),r(117),r(118),r(127),r(130),r(131),r(133),r(135),r(136),r(137),r(138),r(139),r(141),r(143),r(146),r(148),r(150),r(151),r(153),r(154),r(155),r(156),r(157),r(159),r(160),r(162),r(163),r(164),r(165),r(166),r(167),r(168),r(169),r(170),r(172),r(173),r(183),r(184),r(185),r(189),r(191),r(192),r(193),r(194),r(195),r(196),r(198),r(201),r(202),r(203),r(204),r(208),r(209),r(212),r(213),r(214),r(215),r(216),r(217),r(218),r(219),r(221),r(222),r(223),r(226),r(227),r(228),r(229),r(230),r(231),r(232),r(233),r(234),r(235),r(236),r(237),r(238),r(240),r(241),r(243),r(248),t.exports=r(246)},function(t,e,r){var n=r(2),o=r(6),i=r(45),a=r(14),u=r(46),c=r(39),f=r(47),s=r(48),l=r(52),h=r(49),p=r(53),v=h("isConcatSpreadable"),d=p>=51||!o((function(){var t=[];return t[v]=!1,t.concat()[0]!==t})),g=l("concat"),y=function(t){if(!a(t))return!1;var e=t[v];return void 0!==e?!!e:i(t)};n({target:"Array",proto:!0,forced:!d||!g},{concat:function(t){var e,r,n,o,i,a=u(this),l=s(a,0),h=0;for(e=-1,n=arguments.length;e9007199254740991)throw TypeError("Maximum allowed index exceeded");for(r=0;r=9007199254740991)throw TypeError("Maximum allowed index exceeded");f(l,h++,i)}return l.length=h,l}})},function(t,e,r){var n=r(3),o=r(4).f,i=r(18),a=r(21),u=r(22),c=r(32),f=r(44);t.exports=function(t,e){var r,s,l,h,p,v=t.target,d=t.global,g=t.stat;if(r=d?n:g?n[v]||u(v,{}):(n[v]||{}).prototype)for(s in e){if(h=e[s],l=t.noTargetGet?(p=o(r,s))&&p.value:r[s],!f(d?s:v+(g?".":"#")+s,t.forced)&&void 0!==l){if(typeof h==typeof l)continue;c(h,l)}(t.sham||l&&l.sham)&&i(h,"sham",!0),a(r,s,h,t)}}},function(t,e){var r=function(t){return t&&t.Math==Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.b&&n.b)||Function("return this")()},function(t,e,r){var n=r(5),o=r(7),i=r(8),a=r(9),u=r(13),c=r(15),f=r(16),s=Object.getOwnPropertyDescriptor;e.f=n?s:function(t,e){if(t=a(t),e=u(e,!0),f)try{return s(t,e)}catch(t){}if(c(t,e))return i(!o.f.call(t,e),t[e])}},function(t,e,r){var n=r(6);t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,r){var n={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!n.call({1:2},1);e.f=i?function(t){var e=o(this,t);return!!e&&e.enumerable}:n},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,r){var n=r(10),o=r(12);t.exports=function(t){return n(o(t))}},function(t,e,r){var n=r(6),o=r(11),i="".split;t.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},function(t,e){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,r){var n=r(14);t.exports=function(t,e){if(!n(t))return t;var r,o;if(e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;if("function"==typeof(r=t.valueOf)&&!n(o=r.call(t)))return o;if(!e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e){var r={}.hasOwnProperty;t.exports=function(t,e){return r.call(t,e)}},function(t,e,r){var n=r(5),o=r(6),i=r(17);t.exports=!n&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(t,e,r){var n=r(3),o=r(14),i=n.document,a=o(i)&&o(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},function(t,e,r){var n=r(5),o=r(19),i=r(8);t.exports=n?function(t,e,r){return o.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},function(t,e,r){var n=r(5),o=r(16),i=r(20),a=r(13),u=Object.defineProperty;e.f=n?u:function(t,e,r){if(i(t),e=a(e,!0),i(r),o)try{return u(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},function(t,e,r){var n=r(14);t.exports=function(t){if(!n(t))throw TypeError(String(t)+" is not an object");return t}},function(t,e,r){var n=r(3),o=r(18),i=r(15),a=r(22),u=r(23),c=r(25),f=c.get,s=c.enforce,l=String(String).split("String");(t.exports=function(t,e,r,u){var c=!!u&&!!u.unsafe,f=!!u&&!!u.enumerable,h=!!u&&!!u.noTargetGet;"function"==typeof r&&("string"!=typeof e||i(r,"name")||o(r,"name",e),s(r).source=l.join("string"==typeof e?e:"")),t!==n?(c?!h&&t[e]&&(f=!0):delete t[e],f?t[e]=r:o(t,e,r)):f?t[e]=r:a(e,r)})(Function.prototype,"toString",(function(){return"function"==typeof this&&f(this).source||u(this)}))},function(t,e,r){var n=r(3),o=r(18);t.exports=function(t,e){try{o(n,t,e)}catch(r){n[t]=e}return e}},function(t,e,r){var n=r(24),o=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(t){return o.call(t)}),t.exports=n.inspectSource},function(t,e,r){var n=r(3),o=r(22),i=n["__core-js_shared__"]||o("__core-js_shared__",{});t.exports=i},function(t,e,r){var n,o,i,a=r(26),u=r(3),c=r(14),f=r(18),s=r(15),l=r(27),h=r(31),p=u.WeakMap;if(a){var v=new p,d=v.get,g=v.has,y=v.set;n=function(t,e){return y.call(v,t,e),e},o=function(t){return d.call(v,t)||{}},i=function(t){return g.call(v,t)}}else{var m=l("state");h[m]=!0,n=function(t,e){return f(t,m,e),e},o=function(t){return s(t,m)?t[m]:{}},i=function(t){return s(t,m)}}t.exports={set:n,get:o,has:i,enforce:function(t){return i(t)?o(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!c(e)||(r=o(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}}},function(t,e,r){var n=r(3),o=r(23),i=n.WeakMap;t.exports="function"==typeof i&&/native code/.test(o(i))},function(t,e,r){var n=r(28),o=r(30),i=n("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},function(t,e,r){var n=r(29),o=r(24);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.5",mode:n?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(t,e){t.exports=!1},function(t,e){var r=0,n=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++r+n).toString(36)}},function(t,e){t.exports={}},function(t,e,r){var n=r(15),o=r(33),i=r(4),a=r(19);t.exports=function(t,e){for(var r=o(e),u=a.f,c=i.f,f=0;fc;)n(u,r=e[c++])&&(~i(f,r)||f.push(r));return f}},function(t,e,r){var n=r(9),o=r(39),i=r(41),a=function(t){return function(e,r,a){var u,c=n(e),f=o(c.length),s=i(a,f);if(t&&r!=r){for(;f>s;)if((u=c[s++])!=u)return!0}else for(;f>s;s++)if((t||s in c)&&c[s]===r)return t||s||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},function(t,e,r){var n=r(40),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},function(t,e){var r=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:r)(t)}},function(t,e,r){var n=r(40),o=Math.max,i=Math.min;t.exports=function(t,e){var r=n(t);return r<0?o(r+e,0):i(r,e)}},function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,r){var n=r(6),o=/#|\.prototype\./,i=function(t,e){var r=u[a(t)];return r==f||r!=c&&("function"==typeof e?n(e):!!e)},a=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},u=i.data={},c=i.NATIVE="N",f=i.POLYFILL="P";t.exports=i},function(t,e,r){var n=r(11);t.exports=Array.isArray||function(t){return"Array"==n(t)}},function(t,e,r){var n=r(12);t.exports=function(t){return Object(n(t))}},function(t,e,r){var n=r(13),o=r(19),i=r(8);t.exports=function(t,e,r){var a=n(e);a in t?o.f(t,a,i(0,r)):t[a]=r}},function(t,e,r){var n=r(14),o=r(45),i=r(49)("species");t.exports=function(t,e){var r;return o(t)&&("function"!=typeof(r=t.constructor)||r!==Array&&!o(r.prototype)?n(r)&&null===(r=r[i])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===e?0:e)}},function(t,e,r){var n=r(3),o=r(28),i=r(15),a=r(30),u=r(50),c=r(51),f=o("wks"),s=n.Symbol,l=c?s:s&&s.withoutSetter||a;t.exports=function(t){return i(f,t)||(u&&i(s,t)?f[t]=s[t]:f[t]=l("Symbol."+t)),f[t]}},function(t,e,r){var n=r(6);t.exports=!!Object.getOwnPropertySymbols&&!n((function(){return!String(Symbol())}))},function(t,e,r){var n=r(50);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,e,r){var n=r(6),o=r(49),i=r(53),a=o("species");t.exports=function(t){return i>=51||!n((function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},function(t,e,r){var n,o,i=r(3),a=r(54),u=i.process,c=u&&u.versions,f=c&&c.v8;f?o=(n=f.split("."))[0]+n[1]:a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(o=n[1]),t.exports=o&&+o},function(t,e,r){var n=r(34);t.exports=n("navigator","userAgent")||""},function(t,e,r){var n=r(2),o=r(56),i=r(57);n({target:"Array",proto:!0},{copyWithin:o}),i("copyWithin")},function(t,e,r){var n=r(46),o=r(41),i=r(39),a=Math.min;t.exports=[].copyWithin||function(t,e){var r=n(this),u=i(r.length),c=o(t,u),f=o(e,u),s=arguments.length>2?arguments[2]:void 0,l=a((void 0===s?u:o(s,u))-f,u-c),h=1;for(f0;)f in r?r[c]=r[f]:delete r[c],c+=h,f+=h;return r}},function(t,e,r){var n=r(49),o=r(58),i=r(19),a=n("unscopables"),u=Array.prototype;null==u[a]&&i.f(u,a,{configurable:!0,value:o(null)}),t.exports=function(t){u[a][t]=!0}},function(t,e,r){var n,o=r(20),i=r(59),a=r(42),u=r(31),c=r(61),f=r(17),s=r(27)("IE_PROTO"),l=function(){},h=function(t){return"