@genesislcap/design-system-configurator 15.22.2 → 15.23.1-FUI-0.4
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/{326.326.ddaf4f2fdcbd34dbd2d0.js → 326.326.a7e2d341758d7fcb30d6.js} +2 -2
- package/dist/326.99b3e630970343d81ac1c3058907661a.js.map +1 -0
- package/dist/{designSystemConfigurator.1ea5950c15c528cbe179c1e376530699.js.map → designSystemConfigurator.7a108a6d13b98ed75a46ecf160f1c469.js.map} +1 -1
- package/dist/index.html +1 -1
- package/dist/{main.90d68afc9e5728db69afbcdbbb31c61e.js.map → main.c22a0f0b46cb299a67fe56127dd42df2.js.map} +1 -1
- package/dist/{main.1aa8efc121d06dea35a5.js → main.c78a9a1ed3f2aeeb64a1.js} +2 -2
- package/dist/remoteEntry.js +2 -2
- package/package.json +12 -12
- package/dist/326.e9a4890ae0085b1de15431fb17774458.js.map +0 -1
|
@@ -722,7 +722,7 @@
|
|
|
722
722
|
categorization-wrapper .tab-panel-control {
|
|
723
723
|
margin-top: 10px;
|
|
724
724
|
}
|
|
725
|
-
`;let W=class extends p.FASTElement{constructor(){super(...arguments),this.mountedTabs=new Set([0]),this.activeTabIndex=0,this.hasAppliedActiveCategory=!1}controlChanged(){var e,t;if(!this.control||this.hasAppliedActiveCategory)return;const{uischema:o}=this.control,a=null===(e=null==o?void 0:o.options)||void 0===e?void 0:e.activeCategory;void 0!==a&&(this.hasAppliedActiveCategory=!0,this.activeTabIndex=function(e,t){return"number"==typeof e&&e>=0&&e<t.length?e:0}(a,null!==(t=null==o?void 0:o.elements)&&void 0!==t?t:[]),this.mountedTabs=new Set([this.activeTabIndex]))}isMounted(e){return this.mountedTabs.has(e)}handleTabChange(e){if(e.target!==e.currentTarget)return;const t=e.target.currentTabIndex;this.activeTabIndex=t,this.mountedTabs.has(t)||(this.mountedTabs=new Set(this.mountedTabs).add(t))}hasCategoryError(e){var t,o,a,r
|
|
725
|
+
`;let W=class extends p.FASTElement{constructor(){super(...arguments),this.mountedTabs=new Set([0]),this.activeTabIndex=0,this.hasAppliedActiveCategory=!1,this.cachedErrorScopes=[]}controlChanged(){var e,t;if(!this.control||this.hasAppliedActiveCategory)return;const{uischema:o}=this.control,a=null===(e=null==o?void 0:o.options)||void 0===e?void 0:e.activeCategory;void 0!==a&&(this.hasAppliedActiveCategory=!0,this.activeTabIndex=function(e,t){return"number"==typeof e&&e>=0&&e<t.length?e:0}(a,null!==(t=null==o?void 0:o.elements)&&void 0!==t?t:[]),this.mountedTabs=new Set([this.activeTabIndex]))}isMounted(e){return this.mountedTabs.has(e)}handleTabChange(e){if(e.target!==e.currentTarget)return;const t=e.target.currentTabIndex;this.activeTabIndex=t,this.mountedTabs.has(t)||(this.mountedTabs=new Set(this.mountedTabs).add(t))}hasCategoryError(e){var t,o,a,r;const i=null===(o=null===(t=this.control)||void 0===t?void 0:t.uischema)||void 0===o?void 0:o.elements;if(!i)return!1;const n=this.getErrorScopes(null===(r=null===(a=this.form)||void 0===a?void 0:a.jsonforms)||void 0===r?void 0:r.core);return 0!==n.length&&G(i[e],n)}getErrorScopes(e){const t=null==e?void 0:e.errors,o=null==e?void 0:e.additionalErrors;return t===this.lastErrors&&o===this.lastAdditionalErrors||(this.lastErrors=t,this.lastAdditionalErrors=o,this.cachedErrorScopes=function(e){var t;const o=new Set;for(const a of e)if("required"===a.keyword&&(null===(t=a.params)||void 0===t?void 0:t.missingProperty)){const e=a.instancePath||"",t=a.params.missingProperty,r=""===e?`#/properties/${t}`:`#${e}/properties/${t}`;o.add(r)}else if(a.instancePath){const e=`#${a.instancePath.replace(/\//g,"/properties/")}`;o.add(e)}return Array.from(o)}([...null!=t?t:[],...null!=o?o:[]])),this.cachedErrorScopes}};(0,i.Cg)([p.observable],W.prototype,"form",void 0),(0,i.Cg)([p.observable],W.prototype,"control",void 0),(0,i.Cg)([p.observable],W.prototype,"mountedTabs",void 0),(0,i.Cg)([p.observable],W.prototype,"activeTabIndex",void 0),W=(0,i.Cg)([(0,p.customElement)({name:"categorization-wrapper",styles:Y,shadowOptions:null,template:p.html`
|
|
726
726
|
${e=>((e="zero")=>p.html`
|
|
727
727
|
<template>
|
|
728
728
|
<${e}-tabs appearance="secondary" class="tabs-container" :activeid="${e=>"tab-"+e.activeTabIndex}" @change=${(e,t)=>e.handleTabChange(t.event)}>
|
|
@@ -5757,4 +5757,4 @@
|
|
|
5757
5757
|
</rapid-tabs>
|
|
5758
5758
|
</template>
|
|
5759
5759
|
`;let dp=class extends p.FASTElement{};dp=(0,i.Cg)([(0,p.customElement)({name:"design-system-preview",template:lp,styles:Jc})],dp),((e,t="zero")=>(0,se.provideDesignSystem)(e,t,r,a))().register(_l,lc),(0,cc.provideDesignSystem)().register(cc.baseComponents,pc.rapidGridComponents,No)}}]);
|
|
5760
|
-
//# sourceMappingURL=326.
|
|
5760
|
+
//# sourceMappingURL=326.99b3e630970343d81ac1c3058907661a.js.map
|