@mojawork/ui-docs 2.9.0 → 2.10.0

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.
Files changed (29) hide show
  1. package/README.md +2 -2
  2. package/catalog/atoms/image-grid.md +27 -13
  3. package/catalog/guide.json +6 -6
  4. package/catalog/manifest.json +4 -4
  5. package/catalog/version.json +2 -2
  6. package/package.json +1 -1
  7. package/storybook/2621.fdb0f39b.iframe.bundle.js +2 -0
  8. package/storybook/2621.fdb0f39b.iframe.bundle.js.map +1 -0
  9. package/storybook/{4555.767c4a26.iframe.bundle.js → 4555.755c5b81.iframe.bundle.js} +2 -2
  10. package/storybook/{4555.767c4a26.iframe.bundle.js.map → 4555.755c5b81.iframe.bundle.js.map} +1 -1
  11. package/storybook/atoms-image-grid-docs-mdx.66afba9a.iframe.bundle.js +2 -0
  12. package/storybook/atoms-image-grid-docs-mdx.66afba9a.iframe.bundle.js.map +1 -0
  13. package/storybook/atoms-image-grid-image-grid-component-stories.18152774.iframe.bundle.js +2 -0
  14. package/storybook/atoms-image-grid-image-grid-component-stories.18152774.iframe.bundle.js.map +1 -0
  15. package/storybook/home-overview-mdx.c611aa74.iframe.bundle.js +2 -0
  16. package/storybook/{home-overview-mdx.9521137d.iframe.bundle.js.map → home-overview-mdx.c611aa74.iframe.bundle.js.map} +1 -1
  17. package/storybook/iframe.html +1 -1
  18. package/storybook/project.json +1 -1
  19. package/storybook/{runtime~main.1fc884d5.iframe.bundle.js → runtime~main.5ea1c7f8.iframe.bundle.js} +2 -2
  20. package/storybook/{runtime~main.1fc884d5.iframe.bundle.js.map → runtime~main.5ea1c7f8.iframe.bundle.js.map} +1 -1
  21. package/storybook/version.json +2 -2
  22. package/version.json +2 -2
  23. package/storybook/2621.41931f1f.iframe.bundle.js +0 -2
  24. package/storybook/2621.41931f1f.iframe.bundle.js.map +0 -1
  25. package/storybook/atoms-image-grid-docs-mdx.884fa455.iframe.bundle.js +0 -2
  26. package/storybook/atoms-image-grid-docs-mdx.884fa455.iframe.bundle.js.map +0 -1
  27. package/storybook/atoms-image-grid-image-grid-component-stories.c2cb1e12.iframe.bundle.js +0 -2
  28. package/storybook/atoms-image-grid-image-grid-component-stories.c2cb1e12.iframe.bundle.js.map +0 -1
  29. package/storybook/home-overview-mdx.9521137d.iframe.bundle.js +0 -2
@@ -1,2 +1,2 @@
1
- (()=>{"use strict";var __webpack_modules__={};const __webpack_module_cache__={};function __webpack_require__(moduleId){const cachedModule=__webpack_module_cache__[moduleId];if(void 0!==cachedModule)return cachedModule.exports;const module=__webpack_module_cache__[moduleId]={id:moduleId,exports:{}};return __webpack_modules__[moduleId].call(module.exports,module,module.exports,__webpack_require__),module.exports}__webpack_require__.m=__webpack_modules__,__webpack_require__.amdO={},(()=>{const deferred=[];__webpack_require__.O=(result,chunkIds,fn)=>{if(!chunkIds){for(var i=0;i<deferred.length;i++){let[chunkIds,fn]=deferred[i],fulfilled=!0;for(var j=0;j<chunkIds.length;j++)Object.keys(__webpack_require__.O).every(key=>__webpack_require__.O[key](chunkIds[j]))?chunkIds.splice(j--,1):fulfilled=!1;if(fulfilled){deferred.splice(i--,1);const r=fn();void 0!==r&&(result=r)}}return result}deferred.push([chunkIds,fn])}})(),__webpack_require__.n=module=>{const getter=module&&module.__esModule?()=>module.default:()=>module;return __webpack_require__.d(getter,{a:getter}),getter},__webpack_require__.cw=body=>{var mod;return()=>{if(body){var fn=body;body=0,mod={exports:{}},fn.call(mod.exports,mod,mod.exports)}return mod.exports}},(()=>{const getProto=Object.getPrototypeOf;let leafPrototypes;__webpack_require__.t=function(value,mode){if(1&mode&&(value=this(value)),8&mode)return value;if("object"==typeof value&&value){if(4&mode&&value.__esModule)return value;if(16&mode&&"function"==typeof value.then)return value}const ns=Object.create(null);__webpack_require__.r(ns);const def={};leafPrototypes=leafPrototypes||[null,getProto({}),getProto([]),getProto(getProto)];for(var current=2&mode&&value;("object"==typeof current||"function"==typeof current)&&!~leafPrototypes.indexOf(current);current=getProto(current))Object.getOwnPropertyNames(current).forEach(key=>def[key]=()=>value[key]);return def.default=()=>value,__webpack_require__.d(ns,def),ns}})(),__webpack_require__.d=(exports,definition)=>{if(Array.isArray(definition))for(var i=0;i<definition.length;){var key=definition[i++],binding=definition[i++],descriptor=0===binding?{enumerable:!0,value:definition[i++]}:{enumerable:!0,get:binding};__webpack_require__.o(exports,key)||Object.defineProperty(exports,key,descriptor)}else for(var key in definition)__webpack_require__.o(definition,key)&&!__webpack_require__.o(exports,key)&&Object.defineProperty(exports,key,{enumerable:!0,get:definition[key]})},__webpack_require__.f={},__webpack_require__.e=chunkId=>Promise.all(Object.keys(__webpack_require__.f).reduce((promises,key)=>(__webpack_require__.f[key](chunkId,promises),promises),[])),__webpack_require__.u=chunkId=>3899===chunkId?"3899.52a37763.iframe.bundle.js":8658===chunkId?"8658.691c0295.iframe.bundle.js":9009===chunkId?"9009.fcb52ee3.iframe.bundle.js":2228===chunkId?"2228.74ce17a8.iframe.bundle.js":6501===chunkId?"_external-mwork-banner-docs-mdx.01e9bc93.iframe.bundle.js":3752===chunkId?"_external-mwork-basic-interpreter-docs-mdx.a4337ec1.iframe.bundle.js":3260===chunkId?"_external-mwork-music-player-docs-mdx.fac7b45e.iframe.bundle.js":2096===chunkId?"2096.60c69fec.iframe.bundle.js":2074===chunkId?"atoms-_electrons-form-error-message-docs-mdx.904b1a72.iframe.bundle.js":4814===chunkId?"atoms-_electrons-loader-docs-mdx.cda7f910.iframe.bundle.js":4555===chunkId?"4555.767c4a26.iframe.bundle.js":2006===chunkId?"atoms-background-docs-mdx.31868165.iframe.bundle.js":9918===chunkId?"atoms-barcode-docs-mdx.733700b6.iframe.bundle.js":4320===chunkId?"atoms-buzzer-docs-mdx.18e1db26.iframe.bundle.js":6169===chunkId?"6169.f911cfdb.iframe.bundle.js":8852===chunkId?"atoms-card-docs-mdx.9da5d33d.iframe.bundle.js":6978===chunkId?"atoms-chart-docs-mdx.187eb91c.iframe.bundle.js":5084===chunkId?"atoms-clock-docs-mdx.21045516.iframe.bundle.js":3007===chunkId?"atoms-copy-value-docs-mdx.0988a83a.iframe.bundle.js":9045===chunkId?"9045.3a6f24a1.iframe.bundle.js":2621===chunkId?"2621.41931f1f.iframe.bundle.js":3146===chunkId?"atoms-image-grid-docs-mdx.884fa455.iframe.bundle.js":7316===chunkId?"7316.2dfc4b05.iframe.bundle.js":7947===chunkId?"atoms-image-slider-docs-mdx.c390e23d.iframe.bundle.js":8931===chunkId?"atoms-inline-spinner-docs-mdx.7da405ec.iframe.bundle.js":2960===chunkId?"atoms-lang-selector-docs-mdx.08d9b898.iframe.bundle.js":2831===chunkId?"atoms-mosaic-mosaic-component-stories.0921a11f.iframe.bundle.js":1954===chunkId?"atoms-mosaic-docs-mdx.b1c8a387.iframe.bundle.js":6203===chunkId?"atoms-placeholder-docs-mdx.8d3b24c6.iframe.bundle.js":2193===chunkId?"atoms-qr-code-docs-mdx.aedcc1e0.iframe.bundle.js":7819===chunkId?"atoms-rating-docs-mdx.15483ed1.iframe.bundle.js":1183===chunkId?"1183.c9fca4ba.iframe.bundle.js":3999===chunkId?"atoms-reader-doc-reader-doc-component-stories.e54944d1.iframe.bundle.js":3550===chunkId?"atoms-reader-doc-docs-mdx.f03cc10d.iframe.bundle.js":4067===chunkId?"atoms-text-animate-docs-mdx.8c988ebd.iframe.bundle.js":4425===chunkId?"4425.59de85b0.iframe.bundle.js":5370===chunkId?"atoms-thumb-docs-mdx.0bec4765.iframe.bundle.js":4447===chunkId?"atoms-timer-docs-mdx.6ef50b62.iframe.bundle.js":4806===chunkId?"atoms-typewriter-docs-mdx.9a995fae.iframe.bundle.js":660===chunkId?"660.7d7f72e1.iframe.bundle.js":2844===chunkId?"2844.efc0cf8d.iframe.bundle.js":1327===chunkId?"cdk-components-drag-and-drop-splitter-docs-mdx.d7de77c3.iframe.bundle.js":973===chunkId?"973.ab9d9207.iframe.bundle.js":7749===chunkId?"7749.51f40736.iframe.bundle.js":6569===chunkId?"cdk-components-table-docs-mdx.6ef4045e.iframe.bundle.js":813===chunkId?"813.34f83b12.iframe.bundle.js":1296===chunkId?"examples-docs-mdx.d20fb9b5.iframe.bundle.js":7837===chunkId?"forms-autocomplete-docs-mdx.786c655d.iframe.bundle.js":1516===chunkId?"1516.cdc27dc8.iframe.bundle.js":166===chunkId?"forms-autofocus-docs-mdx.7916efc7.iframe.bundle.js":8108===chunkId?"forms-checkbox-docs-mdx.0299b82f.iframe.bundle.js":7363===chunkId?"forms-chip-docs-mdx.8f4f24e0.iframe.bundle.js":4939===chunkId?"forms-input-docs-mdx.35b0f051.iframe.bundle.js":6202===chunkId?"6202.1ed655e3.iframe.bundle.js":6252===chunkId?"forms-slider-docs-mdx.29486bcf.iframe.bundle.js":977===chunkId?"forms-switch-docs-mdx.738f055d.iframe.bundle.js":7586===chunkId?"forms-validators-docs-mdx.6eadea94.iframe.bundle.js":3767===chunkId?"home-guide-mdx.7a64d3a0.iframe.bundle.js":128===chunkId?"home-overview-mdx.9521137d.iframe.bundle.js":3143===chunkId?"home-tips-mdx.de9e4fac.iframe.bundle.js":3842===chunkId?"home-usage-mdx.05b0b3f5.iframe.bundle.js":2249===chunkId?"2249.4f13bd5c.iframe.bundle.js":3837===chunkId?"layout-main-docs-mdx.a5f40d20.iframe.bundle.js":3151===chunkId?"layout-media-screen-docs-mdx.f2ceebae.iframe.bundle.js":1255===chunkId?"1255.f0aad7e8.iframe.bundle.js":9653===chunkId?"layout-nav-docs-mdx.4138eedd.iframe.bundle.js":6659===chunkId?"layout-overlay-overlay-component-stories.fa8bed3d.iframe.bundle.js":2168===chunkId?"layout-overlay-docs-mdx.ebcd84b8.iframe.bundle.js":9042===chunkId?"layout-overlay-header-docs-mdx.be91c392.iframe.bundle.js":365===chunkId?"layout-spinner-docs-mdx.8c211d1e.iframe.bundle.js":6331===chunkId?"layout-splitter-splitter-component-stories.6c104b50.iframe.bundle.js":947===chunkId?"layout-splitter-docs-mdx.7711a86f.iframe.bundle.js":6892===chunkId?"layout-tabs-docs-mdx.855e35bd.iframe.bundle.js":3073===chunkId?"layout-top-scroll-bottom-docs-mdx.e95070e9.iframe.bundle.js":8180===chunkId?"molecules-image-editor-image-editor-component-stories.2bedd542.iframe.bundle.js":3190===chunkId?"molecules-image-editor-docs-mdx.0fe12201.iframe.bundle.js":7867===chunkId?"_external-mwork-banner-mwork-banner-stories.191dab29.iframe.bundle.js":2379===chunkId?"_external-mwork-basic-interpreter-mwork-basic-interpreter-stories.6ffe56ed.iframe.bundle.js":1365===chunkId?"_external-mwork-music-player-mwork-music-player-stories.b072b697.iframe.bundle.js":1322===chunkId?"atoms-_electrons-form-error-message-form-error-message-component-stories.6747aecb.iframe.bundle.js":2690===chunkId?"atoms-_electrons-loader-loader-component-stories.4a62c971.iframe.bundle.js":4855===chunkId?"atoms-background-background-component-stories.c9faa3ae.iframe.bundle.js":9217===chunkId?"atoms-barcode-barcode-component-stories.12f561f3.iframe.bundle.js":7419===chunkId?"atoms-buzzer-buzzer-component-stories.4d144f03.iframe.bundle.js":4947===chunkId?"atoms-card-card-component-stories.7daa21ed.iframe.bundle.js":2425===chunkId?"atoms-chart-chart-component-stories.2d468347.iframe.bundle.js":1809===chunkId?"atoms-clock-clock-component-stories.a9c0c2ad.iframe.bundle.js":3853===chunkId?"atoms-copy-value-copy-value-component-stories.53190c4a.iframe.bundle.js":8039===chunkId?"atoms-image-grid-image-grid-component-stories.c2cb1e12.iframe.bundle.js":1461===chunkId?"atoms-image-slider-image-slider-component-stories.a9b6c370.iframe.bundle.js":533===chunkId?"atoms-inline-spinner-inline-spinner-component-stories.251d0036.iframe.bundle.js":3277===chunkId?"atoms-lang-selector-lang-selector-component-stories.d81c1ebb.iframe.bundle.js":3045===chunkId?"atoms-placeholder-placeholder-component-stories.8a88881e.iframe.bundle.js":4365===chunkId?"atoms-qr-code-qr-code-component-stories.5c3e1e61.iframe.bundle.js":3685===chunkId?"atoms-rating-rating-component-stories.c0abaa04.iframe.bundle.js":7877===chunkId?"atoms-text-animate-text-animate-component-stories.0251a9bc.iframe.bundle.js":3925===chunkId?"atoms-thumb-thumb-component-stories.d88d9960.iframe.bundle.js":6189===chunkId?"atoms-timer-timer-component-stories.d5f117c9.iframe.bundle.js":4713===chunkId?"atoms-typewriter-typewriter-component-stories.0da5b278.iframe.bundle.js":4271===chunkId?"cdk-components-drag-and-drop-splitter-splitter-component-stories.7bfab14b.iframe.bundle.js":6212===chunkId?"cdk-components-table-table-component-stories.c086325c.iframe.bundle.js":9652===chunkId?"examples-burger-menu-stories.8e9a4f64.iframe.bundle.js":1860===chunkId?"forms-autocomplete-autocomplete-component-stories.a5318eb6.iframe.bundle.js":9236===chunkId?"forms-autofocus-autofocus-stories.3bd7de89.iframe.bundle.js":3678===chunkId?"forms-checkbox-checkbox-component-stories.49eaae69.iframe.bundle.js":6020===chunkId?"forms-chip-chip-component-stories.c2eea078.iframe.bundle.js":1686===chunkId?"forms-input-input-component-stories.e46147a9.iframe.bundle.js":6922===chunkId?"forms-slider-slider-component-stories.1ff3d854.iframe.bundle.js":3048===chunkId?"forms-switch-switch-component-stories.75f59ea4.iframe.bundle.js":6354===chunkId?"forms-validators-validators-component-stories.88dde071.iframe.bundle.js":7683===chunkId?"layout-main-main-component-stories.8ecf4224.iframe.bundle.js":3651===chunkId?"layout-media-screen-media-screen-component-stories.3cd20e03.iframe.bundle.js":9475===chunkId?"layout-nav-nav-component-stories.4e1e7085.iframe.bundle.js":9240===chunkId?"layout-overlay-header-header-component-stories.1d0797c2.iframe.bundle.js":1043===chunkId?"layout-spinner-spinner-component-stories.95b3825f.iframe.bundle.js":8753===chunkId?"layout-tabs-tabs-component-stories.92a5325a.iframe.bundle.js":9779===chunkId?"layout-top-scroll-bottom-top-scroll-bottom-component-stories.84185b91.iframe.bundle.js":943===chunkId?"examples-image-grid-slider-docs-mdx.2aa3a566.iframe.bundle.js":1481===chunkId?"examples-layout-docs-mdx.e9d6bede.iframe.bundle.js":5493===chunkId?"examples-table-edit-focus-docs-mdx.59c8830b.iframe.bundle.js":6768===chunkId?"examples-transloco-docs-mdx.4996eee9.iframe.bundle.js":1838===chunkId?"styling-colors-docs-mdx.df55cc10.iframe.bundle.js":7893===chunkId?"styling-css-variables-docs-mdx.da7fe5fc.iframe.bundle.js":3857===chunkId?"styling-forms-docs-mdx.4aaa3ed8.iframe.bundle.js":7653===chunkId?"styling-icons-icons-component-stories.27c25f9a.iframe.bundle.js":8092===chunkId?"styling-icons-docs-mdx.bdf96800.iframe.bundle.js":7600===chunkId?"styling-layers-docs-mdx.c32ecf3e.iframe.bundle.js":1927===chunkId?"styling-tags-docs-mdx.2f4c9b32.iframe.bundle.js":3338===chunkId?"styling-ui-tags-docs-mdx.2a125bac.iframe.bundle.js":8938===chunkId?"examples-image-grid-slider-image-grid-slider-stories.a940fffd.iframe.bundle.js":5684===chunkId?"examples-layout-layout-stories.aa44e7b5.iframe.bundle.js":9836===chunkId?"examples-table-edit-focus-table-edit-focus-stories.e3d9a39a.iframe.bundle.js":9044===chunkId?"examples-transloco-transloco-component-stories.2c833f34.iframe.bundle.js":5995===chunkId?"styling-colors-colors-component-stories.4241f766.iframe.bundle.js":1977===chunkId?"styling-forms-forms-component-stories.5d2522ff.iframe.bundle.js":1165===chunkId?"styling-tags-tags-component-stories.2c564796.iframe.bundle.js":5233===chunkId?"styling-ui-tags-ui-tags-component-stories.cc29b73f.iframe.bundle.js":5944===chunkId?"5944.810cb147.iframe.bundle.js":2===chunkId?"2.185363bf.iframe.bundle.js":9789===chunkId?"9789.48a08ea8.iframe.bundle.js":4476===chunkId?"4476.dc61a255.iframe.bundle.js":3058===chunkId?"3058.36aaaed3.iframe.bundle.js":2127===chunkId?"2127.0e98f662.iframe.bundle.js":4935===chunkId?"4935.d8a7e847.iframe.bundle.js":3968===chunkId?"3968.70f15b2f.iframe.bundle.js":5568===chunkId?"5568.37ad2e24.iframe.bundle.js":2639===chunkId?"2639.e0aa9223.iframe.bundle.js":2033===chunkId?"2033.83844479.iframe.bundle.js":9850===chunkId?"9850.3df40104.iframe.bundle.js":2971===chunkId?"2971.8e618dac.iframe.bundle.js":6824===chunkId?"6824.16b093dd.iframe.bundle.js":871===chunkId?"871.5c415dc2.iframe.bundle.js":8051===chunkId?"8051.9e020026.iframe.bundle.js":8819===chunkId?"8819.a364d173.iframe.bundle.js":2089===chunkId?"2089.96eaef3d.iframe.bundle.js":9946===chunkId?"9946.020049b3.iframe.bundle.js":void 0,__webpack_require__.miniCssF=chunkId=>{},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.o=(obj,prop)=>Object.prototype.hasOwnProperty.call(obj,prop),(()=>{const inProgress={};__webpack_require__.l=(url,done,key,chunkId)=>{if(inProgress[url])return void inProgress[url].push(done);let script,needAttach;if(void 0!==key){const scripts=document.getElementsByTagName("script");for(var i=0;i<scripts.length;i++){const s=scripts[i];if(s.getAttribute("src")==url||s.getAttribute("data-webpack")=="moja-work:"+key){script=s;break}}}script||(needAttach=!0,script=document.createElement("script"),script.charset="utf-8",__webpack_require__.nc&&script.setAttribute("nonce",__webpack_require__.nc),script.setAttribute("data-webpack","moja-work:"+key),script.src=url),inProgress[url]=[done];const onScriptComplete=(prev,event)=>{script.onerror=script.onload=null,clearTimeout(timeout);const doneFns=inProgress[url];if(delete inProgress[url],script.parentNode?.removeChild(script),doneFns?.forEach(fn=>fn(event)),prev)return prev(event)},timeout=setTimeout(onScriptComplete.bind(null,void 0,{type:"timeout",target:script}),12e4);script.onerror=onScriptComplete.bind(null,script.onerror),script.onload=onScriptComplete.bind(null,script.onload),needAttach&&document.head.appendChild(script)}})(),__webpack_require__.r=exports=>{Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(exports,"__esModule",{value:!0})},__webpack_require__.p="",(()=>{const installedChunks={5354:0};__webpack_require__.f.j=(chunkId,promises)=>{let installedChunkData=__webpack_require__.o(installedChunks,chunkId)?installedChunks[chunkId]:void 0;if(0!==installedChunkData)if(installedChunkData)promises.push(installedChunkData[2]);else if(5354!=chunkId){const promise=new Promise((resolve,reject)=>installedChunkData=installedChunks[chunkId]=[resolve,reject]);promises.push(installedChunkData[2]=promise);const error=new Error,loadingEnded=event=>{if(__webpack_require__.o(installedChunks,chunkId)&&(installedChunkData=installedChunks[chunkId],0!==installedChunkData&&(installedChunks[chunkId]=void 0),installedChunkData)){const errorType=event&&("load"===event.type?"missing":event.type),realSrc=event&&event.target&&event.target.src;error.message="Loading chunk "+chunkId+" failed.\n("+errorType+": "+realSrc+")",error.name="ChunkLoadError",error.type=errorType,error.request=realSrc,error.event=event,installedChunkData[1](error)}};__webpack_require__.l(__webpack_require__.p+__webpack_require__.u(chunkId),loadingEnded,"chunk-"+chunkId,chunkId)}else installedChunks[chunkId]=0},__webpack_require__.O.j=chunkId=>0===installedChunks[chunkId];const webpackJsonpCallback=(parentChunkLoadingFunction,data)=>{let[chunkIds,moreModules,runtime]=data;var moduleId,chunkId,i=0;if(chunkIds.some(id=>0!==installedChunks[id])){for(moduleId in moreModules)__webpack_require__.o(moreModules,moduleId)&&(__webpack_require__.m[moduleId]=moreModules[moduleId]);if(runtime)var result=runtime(__webpack_require__)}for(parentChunkLoadingFunction&&parentChunkLoadingFunction(data);i<chunkIds.length;i++)chunkId=chunkIds[i],__webpack_require__.o(installedChunks,chunkId)&&installedChunks[chunkId]&&installedChunks[chunkId][0](),installedChunks[chunkId]=0;return __webpack_require__.O(result)},chunkLoadingGlobal=self.webpackChunkmoja_work=self.webpackChunkmoja_work||[];chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null,0)),chunkLoadingGlobal.push=webpackJsonpCallback.bind(null,chunkLoadingGlobal.push.bind(chunkLoadingGlobal))})(),__webpack_require__.nc=void 0})();
2
- //# sourceMappingURL=runtime~main.1fc884d5.iframe.bundle.js.map
1
+ (()=>{"use strict";var __webpack_modules__={};const __webpack_module_cache__={};function __webpack_require__(moduleId){const cachedModule=__webpack_module_cache__[moduleId];if(void 0!==cachedModule)return cachedModule.exports;const module=__webpack_module_cache__[moduleId]={id:moduleId,exports:{}};return __webpack_modules__[moduleId].call(module.exports,module,module.exports,__webpack_require__),module.exports}__webpack_require__.m=__webpack_modules__,__webpack_require__.amdO={},(()=>{const deferred=[];__webpack_require__.O=(result,chunkIds,fn)=>{if(!chunkIds){for(var i=0;i<deferred.length;i++){let[chunkIds,fn]=deferred[i],fulfilled=!0;for(var j=0;j<chunkIds.length;j++)Object.keys(__webpack_require__.O).every(key=>__webpack_require__.O[key](chunkIds[j]))?chunkIds.splice(j--,1):fulfilled=!1;if(fulfilled){deferred.splice(i--,1);const r=fn();void 0!==r&&(result=r)}}return result}deferred.push([chunkIds,fn])}})(),__webpack_require__.n=module=>{const getter=module&&module.__esModule?()=>module.default:()=>module;return __webpack_require__.d(getter,{a:getter}),getter},__webpack_require__.cw=body=>{var mod;return()=>{if(body){var fn=body;body=0,mod={exports:{}},fn.call(mod.exports,mod,mod.exports)}return mod.exports}},(()=>{const getProto=Object.getPrototypeOf;let leafPrototypes;__webpack_require__.t=function(value,mode){if(1&mode&&(value=this(value)),8&mode)return value;if("object"==typeof value&&value){if(4&mode&&value.__esModule)return value;if(16&mode&&"function"==typeof value.then)return value}const ns=Object.create(null);__webpack_require__.r(ns);const def={};leafPrototypes=leafPrototypes||[null,getProto({}),getProto([]),getProto(getProto)];for(var current=2&mode&&value;("object"==typeof current||"function"==typeof current)&&!~leafPrototypes.indexOf(current);current=getProto(current))Object.getOwnPropertyNames(current).forEach(key=>def[key]=()=>value[key]);return def.default=()=>value,__webpack_require__.d(ns,def),ns}})(),__webpack_require__.d=(exports,definition)=>{if(Array.isArray(definition))for(var i=0;i<definition.length;){var key=definition[i++],binding=definition[i++],descriptor=0===binding?{enumerable:!0,value:definition[i++]}:{enumerable:!0,get:binding};__webpack_require__.o(exports,key)||Object.defineProperty(exports,key,descriptor)}else for(var key in definition)__webpack_require__.o(definition,key)&&!__webpack_require__.o(exports,key)&&Object.defineProperty(exports,key,{enumerable:!0,get:definition[key]})},__webpack_require__.f={},__webpack_require__.e=chunkId=>Promise.all(Object.keys(__webpack_require__.f).reduce((promises,key)=>(__webpack_require__.f[key](chunkId,promises),promises),[])),__webpack_require__.u=chunkId=>3899===chunkId?"3899.52a37763.iframe.bundle.js":8658===chunkId?"8658.691c0295.iframe.bundle.js":9009===chunkId?"9009.fcb52ee3.iframe.bundle.js":2228===chunkId?"2228.74ce17a8.iframe.bundle.js":6501===chunkId?"_external-mwork-banner-docs-mdx.01e9bc93.iframe.bundle.js":3752===chunkId?"_external-mwork-basic-interpreter-docs-mdx.a4337ec1.iframe.bundle.js":3260===chunkId?"_external-mwork-music-player-docs-mdx.fac7b45e.iframe.bundle.js":2096===chunkId?"2096.60c69fec.iframe.bundle.js":2074===chunkId?"atoms-_electrons-form-error-message-docs-mdx.904b1a72.iframe.bundle.js":4814===chunkId?"atoms-_electrons-loader-docs-mdx.cda7f910.iframe.bundle.js":4555===chunkId?"4555.755c5b81.iframe.bundle.js":2006===chunkId?"atoms-background-docs-mdx.31868165.iframe.bundle.js":9918===chunkId?"atoms-barcode-docs-mdx.733700b6.iframe.bundle.js":4320===chunkId?"atoms-buzzer-docs-mdx.18e1db26.iframe.bundle.js":6169===chunkId?"6169.f911cfdb.iframe.bundle.js":8852===chunkId?"atoms-card-docs-mdx.9da5d33d.iframe.bundle.js":6978===chunkId?"atoms-chart-docs-mdx.187eb91c.iframe.bundle.js":5084===chunkId?"atoms-clock-docs-mdx.21045516.iframe.bundle.js":3007===chunkId?"atoms-copy-value-docs-mdx.0988a83a.iframe.bundle.js":9045===chunkId?"9045.3a6f24a1.iframe.bundle.js":2621===chunkId?"2621.fdb0f39b.iframe.bundle.js":3146===chunkId?"atoms-image-grid-docs-mdx.66afba9a.iframe.bundle.js":7316===chunkId?"7316.2dfc4b05.iframe.bundle.js":7947===chunkId?"atoms-image-slider-docs-mdx.c390e23d.iframe.bundle.js":8931===chunkId?"atoms-inline-spinner-docs-mdx.7da405ec.iframe.bundle.js":2960===chunkId?"atoms-lang-selector-docs-mdx.08d9b898.iframe.bundle.js":2831===chunkId?"atoms-mosaic-mosaic-component-stories.0921a11f.iframe.bundle.js":1954===chunkId?"atoms-mosaic-docs-mdx.b1c8a387.iframe.bundle.js":6203===chunkId?"atoms-placeholder-docs-mdx.8d3b24c6.iframe.bundle.js":2193===chunkId?"atoms-qr-code-docs-mdx.aedcc1e0.iframe.bundle.js":7819===chunkId?"atoms-rating-docs-mdx.15483ed1.iframe.bundle.js":1183===chunkId?"1183.c9fca4ba.iframe.bundle.js":3999===chunkId?"atoms-reader-doc-reader-doc-component-stories.e54944d1.iframe.bundle.js":3550===chunkId?"atoms-reader-doc-docs-mdx.f03cc10d.iframe.bundle.js":4067===chunkId?"atoms-text-animate-docs-mdx.8c988ebd.iframe.bundle.js":4425===chunkId?"4425.59de85b0.iframe.bundle.js":5370===chunkId?"atoms-thumb-docs-mdx.0bec4765.iframe.bundle.js":4447===chunkId?"atoms-timer-docs-mdx.6ef50b62.iframe.bundle.js":4806===chunkId?"atoms-typewriter-docs-mdx.9a995fae.iframe.bundle.js":660===chunkId?"660.7d7f72e1.iframe.bundle.js":2844===chunkId?"2844.efc0cf8d.iframe.bundle.js":1327===chunkId?"cdk-components-drag-and-drop-splitter-docs-mdx.d7de77c3.iframe.bundle.js":973===chunkId?"973.ab9d9207.iframe.bundle.js":7749===chunkId?"7749.51f40736.iframe.bundle.js":6569===chunkId?"cdk-components-table-docs-mdx.6ef4045e.iframe.bundle.js":813===chunkId?"813.34f83b12.iframe.bundle.js":1296===chunkId?"examples-docs-mdx.d20fb9b5.iframe.bundle.js":7837===chunkId?"forms-autocomplete-docs-mdx.786c655d.iframe.bundle.js":1516===chunkId?"1516.cdc27dc8.iframe.bundle.js":166===chunkId?"forms-autofocus-docs-mdx.7916efc7.iframe.bundle.js":8108===chunkId?"forms-checkbox-docs-mdx.0299b82f.iframe.bundle.js":7363===chunkId?"forms-chip-docs-mdx.8f4f24e0.iframe.bundle.js":4939===chunkId?"forms-input-docs-mdx.35b0f051.iframe.bundle.js":6202===chunkId?"6202.1ed655e3.iframe.bundle.js":6252===chunkId?"forms-slider-docs-mdx.29486bcf.iframe.bundle.js":977===chunkId?"forms-switch-docs-mdx.738f055d.iframe.bundle.js":7586===chunkId?"forms-validators-docs-mdx.6eadea94.iframe.bundle.js":3767===chunkId?"home-guide-mdx.7a64d3a0.iframe.bundle.js":128===chunkId?"home-overview-mdx.c611aa74.iframe.bundle.js":3143===chunkId?"home-tips-mdx.de9e4fac.iframe.bundle.js":3842===chunkId?"home-usage-mdx.05b0b3f5.iframe.bundle.js":2249===chunkId?"2249.4f13bd5c.iframe.bundle.js":3837===chunkId?"layout-main-docs-mdx.a5f40d20.iframe.bundle.js":3151===chunkId?"layout-media-screen-docs-mdx.f2ceebae.iframe.bundle.js":1255===chunkId?"1255.f0aad7e8.iframe.bundle.js":9653===chunkId?"layout-nav-docs-mdx.4138eedd.iframe.bundle.js":6659===chunkId?"layout-overlay-overlay-component-stories.fa8bed3d.iframe.bundle.js":2168===chunkId?"layout-overlay-docs-mdx.ebcd84b8.iframe.bundle.js":9042===chunkId?"layout-overlay-header-docs-mdx.be91c392.iframe.bundle.js":365===chunkId?"layout-spinner-docs-mdx.8c211d1e.iframe.bundle.js":6331===chunkId?"layout-splitter-splitter-component-stories.6c104b50.iframe.bundle.js":947===chunkId?"layout-splitter-docs-mdx.7711a86f.iframe.bundle.js":6892===chunkId?"layout-tabs-docs-mdx.855e35bd.iframe.bundle.js":3073===chunkId?"layout-top-scroll-bottom-docs-mdx.e95070e9.iframe.bundle.js":8180===chunkId?"molecules-image-editor-image-editor-component-stories.2bedd542.iframe.bundle.js":3190===chunkId?"molecules-image-editor-docs-mdx.0fe12201.iframe.bundle.js":7867===chunkId?"_external-mwork-banner-mwork-banner-stories.191dab29.iframe.bundle.js":2379===chunkId?"_external-mwork-basic-interpreter-mwork-basic-interpreter-stories.6ffe56ed.iframe.bundle.js":1365===chunkId?"_external-mwork-music-player-mwork-music-player-stories.b072b697.iframe.bundle.js":1322===chunkId?"atoms-_electrons-form-error-message-form-error-message-component-stories.6747aecb.iframe.bundle.js":2690===chunkId?"atoms-_electrons-loader-loader-component-stories.4a62c971.iframe.bundle.js":4855===chunkId?"atoms-background-background-component-stories.c9faa3ae.iframe.bundle.js":9217===chunkId?"atoms-barcode-barcode-component-stories.12f561f3.iframe.bundle.js":7419===chunkId?"atoms-buzzer-buzzer-component-stories.4d144f03.iframe.bundle.js":4947===chunkId?"atoms-card-card-component-stories.7daa21ed.iframe.bundle.js":2425===chunkId?"atoms-chart-chart-component-stories.2d468347.iframe.bundle.js":1809===chunkId?"atoms-clock-clock-component-stories.a9c0c2ad.iframe.bundle.js":3853===chunkId?"atoms-copy-value-copy-value-component-stories.53190c4a.iframe.bundle.js":8039===chunkId?"atoms-image-grid-image-grid-component-stories.18152774.iframe.bundle.js":1461===chunkId?"atoms-image-slider-image-slider-component-stories.a9b6c370.iframe.bundle.js":533===chunkId?"atoms-inline-spinner-inline-spinner-component-stories.251d0036.iframe.bundle.js":3277===chunkId?"atoms-lang-selector-lang-selector-component-stories.d81c1ebb.iframe.bundle.js":3045===chunkId?"atoms-placeholder-placeholder-component-stories.8a88881e.iframe.bundle.js":4365===chunkId?"atoms-qr-code-qr-code-component-stories.5c3e1e61.iframe.bundle.js":3685===chunkId?"atoms-rating-rating-component-stories.c0abaa04.iframe.bundle.js":7877===chunkId?"atoms-text-animate-text-animate-component-stories.0251a9bc.iframe.bundle.js":3925===chunkId?"atoms-thumb-thumb-component-stories.d88d9960.iframe.bundle.js":6189===chunkId?"atoms-timer-timer-component-stories.d5f117c9.iframe.bundle.js":4713===chunkId?"atoms-typewriter-typewriter-component-stories.0da5b278.iframe.bundle.js":4271===chunkId?"cdk-components-drag-and-drop-splitter-splitter-component-stories.7bfab14b.iframe.bundle.js":6212===chunkId?"cdk-components-table-table-component-stories.c086325c.iframe.bundle.js":9652===chunkId?"examples-burger-menu-stories.8e9a4f64.iframe.bundle.js":1860===chunkId?"forms-autocomplete-autocomplete-component-stories.a5318eb6.iframe.bundle.js":9236===chunkId?"forms-autofocus-autofocus-stories.3bd7de89.iframe.bundle.js":3678===chunkId?"forms-checkbox-checkbox-component-stories.49eaae69.iframe.bundle.js":6020===chunkId?"forms-chip-chip-component-stories.c2eea078.iframe.bundle.js":1686===chunkId?"forms-input-input-component-stories.e46147a9.iframe.bundle.js":6922===chunkId?"forms-slider-slider-component-stories.1ff3d854.iframe.bundle.js":3048===chunkId?"forms-switch-switch-component-stories.75f59ea4.iframe.bundle.js":6354===chunkId?"forms-validators-validators-component-stories.88dde071.iframe.bundle.js":7683===chunkId?"layout-main-main-component-stories.8ecf4224.iframe.bundle.js":3651===chunkId?"layout-media-screen-media-screen-component-stories.3cd20e03.iframe.bundle.js":9475===chunkId?"layout-nav-nav-component-stories.4e1e7085.iframe.bundle.js":9240===chunkId?"layout-overlay-header-header-component-stories.1d0797c2.iframe.bundle.js":1043===chunkId?"layout-spinner-spinner-component-stories.95b3825f.iframe.bundle.js":8753===chunkId?"layout-tabs-tabs-component-stories.92a5325a.iframe.bundle.js":9779===chunkId?"layout-top-scroll-bottom-top-scroll-bottom-component-stories.84185b91.iframe.bundle.js":943===chunkId?"examples-image-grid-slider-docs-mdx.2aa3a566.iframe.bundle.js":1481===chunkId?"examples-layout-docs-mdx.e9d6bede.iframe.bundle.js":5493===chunkId?"examples-table-edit-focus-docs-mdx.59c8830b.iframe.bundle.js":6768===chunkId?"examples-transloco-docs-mdx.4996eee9.iframe.bundle.js":1838===chunkId?"styling-colors-docs-mdx.df55cc10.iframe.bundle.js":7893===chunkId?"styling-css-variables-docs-mdx.da7fe5fc.iframe.bundle.js":3857===chunkId?"styling-forms-docs-mdx.4aaa3ed8.iframe.bundle.js":7653===chunkId?"styling-icons-icons-component-stories.27c25f9a.iframe.bundle.js":8092===chunkId?"styling-icons-docs-mdx.bdf96800.iframe.bundle.js":7600===chunkId?"styling-layers-docs-mdx.c32ecf3e.iframe.bundle.js":1927===chunkId?"styling-tags-docs-mdx.2f4c9b32.iframe.bundle.js":3338===chunkId?"styling-ui-tags-docs-mdx.2a125bac.iframe.bundle.js":8938===chunkId?"examples-image-grid-slider-image-grid-slider-stories.a940fffd.iframe.bundle.js":5684===chunkId?"examples-layout-layout-stories.aa44e7b5.iframe.bundle.js":9836===chunkId?"examples-table-edit-focus-table-edit-focus-stories.e3d9a39a.iframe.bundle.js":9044===chunkId?"examples-transloco-transloco-component-stories.2c833f34.iframe.bundle.js":5995===chunkId?"styling-colors-colors-component-stories.4241f766.iframe.bundle.js":1977===chunkId?"styling-forms-forms-component-stories.5d2522ff.iframe.bundle.js":1165===chunkId?"styling-tags-tags-component-stories.2c564796.iframe.bundle.js":5233===chunkId?"styling-ui-tags-ui-tags-component-stories.cc29b73f.iframe.bundle.js":5944===chunkId?"5944.810cb147.iframe.bundle.js":2===chunkId?"2.185363bf.iframe.bundle.js":9789===chunkId?"9789.48a08ea8.iframe.bundle.js":4476===chunkId?"4476.dc61a255.iframe.bundle.js":3058===chunkId?"3058.36aaaed3.iframe.bundle.js":2127===chunkId?"2127.0e98f662.iframe.bundle.js":4935===chunkId?"4935.d8a7e847.iframe.bundle.js":3968===chunkId?"3968.70f15b2f.iframe.bundle.js":5568===chunkId?"5568.37ad2e24.iframe.bundle.js":2639===chunkId?"2639.e0aa9223.iframe.bundle.js":2033===chunkId?"2033.83844479.iframe.bundle.js":9850===chunkId?"9850.3df40104.iframe.bundle.js":2971===chunkId?"2971.8e618dac.iframe.bundle.js":6824===chunkId?"6824.16b093dd.iframe.bundle.js":871===chunkId?"871.5c415dc2.iframe.bundle.js":8051===chunkId?"8051.9e020026.iframe.bundle.js":8819===chunkId?"8819.a364d173.iframe.bundle.js":2089===chunkId?"2089.96eaef3d.iframe.bundle.js":9946===chunkId?"9946.020049b3.iframe.bundle.js":void 0,__webpack_require__.miniCssF=chunkId=>{},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.o=(obj,prop)=>Object.prototype.hasOwnProperty.call(obj,prop),(()=>{const inProgress={};__webpack_require__.l=(url,done,key,chunkId)=>{if(inProgress[url])return void inProgress[url].push(done);let script,needAttach;if(void 0!==key){const scripts=document.getElementsByTagName("script");for(var i=0;i<scripts.length;i++){const s=scripts[i];if(s.getAttribute("src")==url||s.getAttribute("data-webpack")=="moja-work:"+key){script=s;break}}}script||(needAttach=!0,script=document.createElement("script"),script.charset="utf-8",__webpack_require__.nc&&script.setAttribute("nonce",__webpack_require__.nc),script.setAttribute("data-webpack","moja-work:"+key),script.src=url),inProgress[url]=[done];const onScriptComplete=(prev,event)=>{script.onerror=script.onload=null,clearTimeout(timeout);const doneFns=inProgress[url];if(delete inProgress[url],script.parentNode?.removeChild(script),doneFns?.forEach(fn=>fn(event)),prev)return prev(event)},timeout=setTimeout(onScriptComplete.bind(null,void 0,{type:"timeout",target:script}),12e4);script.onerror=onScriptComplete.bind(null,script.onerror),script.onload=onScriptComplete.bind(null,script.onload),needAttach&&document.head.appendChild(script)}})(),__webpack_require__.r=exports=>{Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(exports,"__esModule",{value:!0})},__webpack_require__.p="",(()=>{const installedChunks={5354:0};__webpack_require__.f.j=(chunkId,promises)=>{let installedChunkData=__webpack_require__.o(installedChunks,chunkId)?installedChunks[chunkId]:void 0;if(0!==installedChunkData)if(installedChunkData)promises.push(installedChunkData[2]);else if(5354!=chunkId){const promise=new Promise((resolve,reject)=>installedChunkData=installedChunks[chunkId]=[resolve,reject]);promises.push(installedChunkData[2]=promise);const error=new Error,loadingEnded=event=>{if(__webpack_require__.o(installedChunks,chunkId)&&(installedChunkData=installedChunks[chunkId],0!==installedChunkData&&(installedChunks[chunkId]=void 0),installedChunkData)){const errorType=event&&("load"===event.type?"missing":event.type),realSrc=event&&event.target&&event.target.src;error.message="Loading chunk "+chunkId+" failed.\n("+errorType+": "+realSrc+")",error.name="ChunkLoadError",error.type=errorType,error.request=realSrc,error.event=event,installedChunkData[1](error)}};__webpack_require__.l(__webpack_require__.p+__webpack_require__.u(chunkId),loadingEnded,"chunk-"+chunkId,chunkId)}else installedChunks[chunkId]=0},__webpack_require__.O.j=chunkId=>0===installedChunks[chunkId];const webpackJsonpCallback=(parentChunkLoadingFunction,data)=>{let[chunkIds,moreModules,runtime]=data;var moduleId,chunkId,i=0;if(chunkIds.some(id=>0!==installedChunks[id])){for(moduleId in moreModules)__webpack_require__.o(moreModules,moduleId)&&(__webpack_require__.m[moduleId]=moreModules[moduleId]);if(runtime)var result=runtime(__webpack_require__)}for(parentChunkLoadingFunction&&parentChunkLoadingFunction(data);i<chunkIds.length;i++)chunkId=chunkIds[i],__webpack_require__.o(installedChunks,chunkId)&&installedChunks[chunkId]&&installedChunks[chunkId][0](),installedChunks[chunkId]=0;return __webpack_require__.O(result)},chunkLoadingGlobal=self.webpackChunkmoja_work=self.webpackChunkmoja_work||[];chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null,0)),chunkLoadingGlobal.push=webpackJsonpCallback.bind(null,chunkLoadingGlobal.push.bind(chunkLoadingGlobal))})(),__webpack_require__.nc=void 0})();
2
+ //# sourceMappingURL=runtime~main.5ea1c7f8.iframe.bundle.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"runtime~main.36fe369a.iframe.bundle.js","mappings":"AACA","sources":["webpack://moja-work/webpack/bootstrap","webpack://moja-work/webpack/runtime/amd options","webpack://moja-work/webpack/runtime/chunk loaded","webpack://moja-work/webpack/runtime/compat get default export","webpack://moja-work/webpack/runtime/concatenation wrap","webpack://moja-work/webpack/runtime/create fake namespace object","webpack://moja-work/webpack/runtime/define property getters","webpack://moja-work/webpack/runtime/ensure chunk","webpack://moja-work/webpack/runtime/get javascript chunk filename","webpack://moja-work/webpack/runtime/get mini-css chunk filename","webpack://moja-work/webpack/runtime/global","webpack://moja-work/webpack/runtime/hasOwnProperty shorthand","webpack://moja-work/webpack/runtime/load script","webpack://moja-work/webpack/runtime/make namespace object","webpack://moja-work/webpack/runtime/publicPath","webpack://moja-work/webpack/runtime/jsonp chunk loading","webpack://moja-work/webpack/runtime/nonce"],"sourcesContent":["// The module cache\nconst __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tconst cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tconst module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","__webpack_require__.amdO = {};","const deferred = [];\n__webpack_require__.O = (result, chunkIds, fn) => {\n\tif(chunkIds) {\n\t\tdeferred.push([chunkIds, fn]);\n\t\treturn;\n\t}\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tlet [chunkIds, fn] = deferred[i];\n\t\tlet fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif (Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tconst r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tconst getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// wrap a concatenated module body as a lazy, memoized accessor; mod is\n// set before the body runs so re-entrant calls (require cycles) observe\n// the partial exports like Node.js\n__webpack_require__.cw = (body) => {\n\tvar mod;\n\treturn () => {\n\t\tif (body) {\n\t\t\tvar fn = body;\n\t\t\tbody = 0;\n\t\t\tmod = { exports: {} };\n\t\t\tfn.call(mod.exports, mod, mod.exports);\n\t\t}\n\t\treturn mod.exports;\n\t};\n};","const getProto = Object.getPrototypeOf;\nlet leafPrototypes;\n// create a fake namespace object\n// mode & 1: value is a module id, require it\n// mode & 2: merge all properties of value into the ns\n// mode & 4: return value when already ns object\n// mode & 16: return value when it's Promise-like\n// mode & 8|1: behave like require\n__webpack_require__.t = function(value, mode) {\n\tif(mode & 1) value = this(value);\n\tif(mode & 8) return value;\n\tif(typeof value === 'object' && value) {\n\t\tif((mode & 4) && value.__esModule) return value;\n\t\tif((mode & 16) && typeof value.then === 'function') return value;\n\t}\n\tconst ns = Object.create(null);\n\t__webpack_require__.r(ns);\n\tconst def = {};\n\tleafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];\n\tfor(var current = mode & 2 && value; (typeof current == 'object' || typeof current == 'function') && !~leafPrototypes.indexOf(current); current = getProto(current)) {\n\t\tObject.getOwnPropertyNames(current).forEach((key) => (def[key] = () => (value[key])));\n\t}\n\tdef['default'] = () => (value);\n\t__webpack_require__.d(ns, def);\n\treturn ns;\n};","// define getter/value functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tif(Array.isArray(definition)) {\n\t\tvar i = 0;\n\t\twhile(i < definition.length) {\n\t\t\tvar key = definition[i++];\n\t\t\tvar binding = definition[i++];\n\t\t\tvar descriptor = binding === 0 ? { enumerable: true, value: definition[i++] } : { enumerable: true, get: binding };\n\t\t\tif(!__webpack_require__.o(exports, key)) Object.defineProperty(exports, key, descriptor);\n\t\t}\n\t} else {\n\t\tfor(var key in definition) {\n\t\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t\t}\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = (chunkId) => {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = (chunkId) => {\n\t// return url for filenames not based on template\n\tif (chunkId === 3899) return \"3899.52becdfd.iframe.bundle.js\";\n\tif (chunkId === 8658) return \"8658.36c47575.iframe.bundle.js\";\n\tif (chunkId === 9009) return \"9009.98c03cef.iframe.bundle.js\";\n\tif (chunkId === 2228) return \"2228.80f939cd.iframe.bundle.js\";\n\tif (chunkId === 6501) return \"_external-mwork-banner-docs-mdx.6fe6b228.iframe.bundle.js\";\n\tif (chunkId === 3752) return \"_external-mwork-basic-interpreter-docs-mdx.86ff7887.iframe.bundle.js\";\n\tif (chunkId === 3260) return \"_external-mwork-music-player-docs-mdx.f82da5e7.iframe.bundle.js\";\n\tif (chunkId === 2096) return \"2096.8c5d6455.iframe.bundle.js\";\n\tif (chunkId === 2074) return \"atoms-_electrons-form-error-message-docs-mdx.4609d59a.iframe.bundle.js\";\n\tif (chunkId === 4814) return \"atoms-_electrons-loader-docs-mdx.2296cffb.iframe.bundle.js\";\n\tif (chunkId === 4555) return \"4555.5877ea9c.iframe.bundle.js\";\n\tif (chunkId === 2006) return \"atoms-background-docs-mdx.42850a1d.iframe.bundle.js\";\n\tif (chunkId === 9918) return \"atoms-barcode-docs-mdx.d8831ce8.iframe.bundle.js\";\n\tif (chunkId === 4320) return \"atoms-buzzer-docs-mdx.a4907475.iframe.bundle.js\";\n\tif (chunkId === 6169) return \"6169.3a9a3c91.iframe.bundle.js\";\n\tif (chunkId === 8852) return \"atoms-card-docs-mdx.1e281915.iframe.bundle.js\";\n\tif (chunkId === 6978) return \"atoms-chart-docs-mdx.b7140a3f.iframe.bundle.js\";\n\tif (chunkId === 5084) return \"atoms-clock-docs-mdx.5d8b176c.iframe.bundle.js\";\n\tif (chunkId === 3007) return \"atoms-copy-value-docs-mdx.e1598a3c.iframe.bundle.js\";\n\tif (chunkId === 9045) return \"9045.1983540d.iframe.bundle.js\";\n\tif (chunkId === 2621) return \"2621.191de6c7.iframe.bundle.js\";\n\tif (chunkId === 3146) return \"atoms-image-grid-docs-mdx.ec5695b0.iframe.bundle.js\";\n\tif (chunkId === 7316) return \"7316.3ac8df70.iframe.bundle.js\";\n\tif (chunkId === 7947) return \"atoms-image-slider-docs-mdx.8f9f8ad2.iframe.bundle.js\";\n\tif (chunkId === 8931) return \"atoms-inline-spinner-docs-mdx.ec967365.iframe.bundle.js\";\n\tif (chunkId === 2960) return \"atoms-lang-selector-docs-mdx.15ecc3bd.iframe.bundle.js\";\n\tif (chunkId === 2831) return \"atoms-mosaic-mosaic-component-stories.6187a08c.iframe.bundle.js\";\n\tif (chunkId === 1954) return \"atoms-mosaic-docs-mdx.da9bb17a.iframe.bundle.js\";\n\tif (chunkId === 6203) return \"atoms-placeholder-docs-mdx.12ad1174.iframe.bundle.js\";\n\tif (chunkId === 2193) return \"atoms-qr-code-docs-mdx.27026e0a.iframe.bundle.js\";\n\tif (chunkId === 7819) return \"atoms-rating-docs-mdx.a1a967c7.iframe.bundle.js\";\n\tif (chunkId === 1183) return \"1183.64f0b5f1.iframe.bundle.js\";\n\tif (chunkId === 3999) return \"atoms-reader-doc-reader-doc-component-stories.a87f00ba.iframe.bundle.js\";\n\tif (chunkId === 3550) return \"atoms-reader-doc-docs-mdx.1da8d554.iframe.bundle.js\";\n\tif (chunkId === 4067) return \"atoms-text-animate-docs-mdx.39298897.iframe.bundle.js\";\n\tif (chunkId === 4425) return \"4425.f04c4050.iframe.bundle.js\";\n\tif (chunkId === 5370) return \"atoms-thumb-docs-mdx.480c437a.iframe.bundle.js\";\n\tif (chunkId === 4447) return \"atoms-timer-docs-mdx.47493a2d.iframe.bundle.js\";\n\tif (chunkId === 4806) return \"atoms-typewriter-docs-mdx.78a80972.iframe.bundle.js\";\n\tif (chunkId === 660) return \"660.b9429e44.iframe.bundle.js\";\n\tif (chunkId === 2844) return \"2844.45ea79f4.iframe.bundle.js\";\n\tif (chunkId === 1327) return \"cdk-components-drag-and-drop-splitter-docs-mdx.6d08fc28.iframe.bundle.js\";\n\tif (chunkId === 973) return \"973.8a2a6602.iframe.bundle.js\";\n\tif (chunkId === 7749) return \"7749.aa2acc38.iframe.bundle.js\";\n\tif (chunkId === 6569) return \"cdk-components-table-docs-mdx.24986c94.iframe.bundle.js\";\n\tif (chunkId === 813) return \"813.99319c57.iframe.bundle.js\";\n\tif (chunkId === 1296) return \"examples-docs-mdx.adf30900.iframe.bundle.js\";\n\tif (chunkId === 7837) return \"forms-autocomplete-docs-mdx.122fc29b.iframe.bundle.js\";\n\tif (chunkId === 1516) return \"1516.13c89782.iframe.bundle.js\";\n\tif (chunkId === 166) return \"forms-autofocus-docs-mdx.6deaa111.iframe.bundle.js\";\n\tif (chunkId === 8108) return \"forms-checkbox-docs-mdx.0ec6b444.iframe.bundle.js\";\n\tif (chunkId === 7363) return \"forms-chip-docs-mdx.586fea17.iframe.bundle.js\";\n\tif (chunkId === 4939) return \"forms-input-docs-mdx.07a9d9a2.iframe.bundle.js\";\n\tif (chunkId === 6202) return \"6202.777aaac8.iframe.bundle.js\";\n\tif (chunkId === 6252) return \"forms-slider-docs-mdx.bb87c0c9.iframe.bundle.js\";\n\tif (chunkId === 977) return \"forms-switch-docs-mdx.f19d52a9.iframe.bundle.js\";\n\tif (chunkId === 7586) return \"forms-validators-docs-mdx.5b824b80.iframe.bundle.js\";\n\tif (chunkId === 3767) return \"home-guide-mdx.138ced64.iframe.bundle.js\";\n\tif (chunkId === 128) return \"home-overview-mdx.e9de5b1f.iframe.bundle.js\";\n\tif (chunkId === 3143) return \"home-tips-mdx.9742f533.iframe.bundle.js\";\n\tif (chunkId === 3842) return \"home-usage-mdx.e93a7cd4.iframe.bundle.js\";\n\tif (chunkId === 2249) return \"2249.dc1c4f9b.iframe.bundle.js\";\n\tif (chunkId === 3837) return \"layout-main-docs-mdx.36fac8a0.iframe.bundle.js\";\n\tif (chunkId === 3151) return \"layout-media-screen-docs-mdx.23566d03.iframe.bundle.js\";\n\tif (chunkId === 1255) return \"1255.a4623c9d.iframe.bundle.js\";\n\tif (chunkId === 9653) return \"layout-nav-docs-mdx.dcd44711.iframe.bundle.js\";\n\tif (chunkId === 6659) return \"layout-overlay-overlay-component-stories.d090c8bf.iframe.bundle.js\";\n\tif (chunkId === 2168) return \"layout-overlay-docs-mdx.4280a9b2.iframe.bundle.js\";\n\tif (chunkId === 9042) return \"layout-overlay-header-docs-mdx.661738ce.iframe.bundle.js\";\n\tif (chunkId === 365) return \"layout-spinner-docs-mdx.e12e215a.iframe.bundle.js\";\n\tif (chunkId === 6331) return \"layout-splitter-splitter-component-stories.f225bee2.iframe.bundle.js\";\n\tif (chunkId === 947) return \"layout-splitter-docs-mdx.66ecb680.iframe.bundle.js\";\n\tif (chunkId === 6892) return \"layout-tabs-docs-mdx.6707ee35.iframe.bundle.js\";\n\tif (chunkId === 3073) return \"layout-top-scroll-bottom-docs-mdx.4f9d1380.iframe.bundle.js\";\n\tif (chunkId === 8180) return \"molecules-image-editor-image-editor-component-stories.b41b84b7.iframe.bundle.js\";\n\tif (chunkId === 3190) return \"molecules-image-editor-docs-mdx.41df9b01.iframe.bundle.js\";\n\tif (chunkId === 7867) return \"_external-mwork-banner-mwork-banner-stories.3c0d21dc.iframe.bundle.js\";\n\tif (chunkId === 2379) return \"_external-mwork-basic-interpreter-mwork-basic-interpreter-stories.36f1071f.iframe.bundle.js\";\n\tif (chunkId === 1365) return \"_external-mwork-music-player-mwork-music-player-stories.c5213c5e.iframe.bundle.js\";\n\tif (chunkId === 1322) return \"atoms-_electrons-form-error-message-form-error-message-component-stories.57783408.iframe.bundle.js\";\n\tif (chunkId === 2690) return \"atoms-_electrons-loader-loader-component-stories.aec4216e.iframe.bundle.js\";\n\tif (chunkId === 4855) return \"atoms-background-background-component-stories.5822ef83.iframe.bundle.js\";\n\tif (chunkId === 9217) return \"atoms-barcode-barcode-component-stories.d5fe91e1.iframe.bundle.js\";\n\tif (chunkId === 7419) return \"atoms-buzzer-buzzer-component-stories.47430790.iframe.bundle.js\";\n\tif (chunkId === 4947) return \"atoms-card-card-component-stories.5b3175d5.iframe.bundle.js\";\n\tif (chunkId === 2425) return \"atoms-chart-chart-component-stories.07b4adcc.iframe.bundle.js\";\n\tif (chunkId === 1809) return \"atoms-clock-clock-component-stories.8047670e.iframe.bundle.js\";\n\tif (chunkId === 3853) return \"atoms-copy-value-copy-value-component-stories.55b8745b.iframe.bundle.js\";\n\tif (chunkId === 8039) return \"atoms-image-grid-image-grid-component-stories.c67dc0b3.iframe.bundle.js\";\n\tif (chunkId === 1461) return \"atoms-image-slider-image-slider-component-stories.4af9ba20.iframe.bundle.js\";\n\tif (chunkId === 533) return \"atoms-inline-spinner-inline-spinner-component-stories.a19bb51c.iframe.bundle.js\";\n\tif (chunkId === 3277) return \"atoms-lang-selector-lang-selector-component-stories.e5e90842.iframe.bundle.js\";\n\tif (chunkId === 3045) return \"atoms-placeholder-placeholder-component-stories.4d5ca661.iframe.bundle.js\";\n\tif (chunkId === 4365) return \"atoms-qr-code-qr-code-component-stories.c88e3a8c.iframe.bundle.js\";\n\tif (chunkId === 3685) return \"atoms-rating-rating-component-stories.7411b460.iframe.bundle.js\";\n\tif (chunkId === 7877) return \"atoms-text-animate-text-animate-component-stories.45525540.iframe.bundle.js\";\n\tif (chunkId === 3925) return \"atoms-thumb-thumb-component-stories.c705d9ae.iframe.bundle.js\";\n\tif (chunkId === 6189) return \"atoms-timer-timer-component-stories.716d5dce.iframe.bundle.js\";\n\tif (chunkId === 4713) return \"atoms-typewriter-typewriter-component-stories.493073f4.iframe.bundle.js\";\n\tif (chunkId === 4271) return \"cdk-components-drag-and-drop-splitter-splitter-component-stories.c9a23a13.iframe.bundle.js\";\n\tif (chunkId === 6212) return \"cdk-components-table-table-component-stories.d4de84e5.iframe.bundle.js\";\n\tif (chunkId === 9652) return \"examples-burger-menu-stories.faa22733.iframe.bundle.js\";\n\tif (chunkId === 1860) return \"forms-autocomplete-autocomplete-component-stories.c20f83ed.iframe.bundle.js\";\n\tif (chunkId === 9236) return \"forms-autofocus-autofocus-stories.bdd8d41d.iframe.bundle.js\";\n\tif (chunkId === 3678) return \"forms-checkbox-checkbox-component-stories.40546bd4.iframe.bundle.js\";\n\tif (chunkId === 6020) return \"forms-chip-chip-component-stories.3ffb3220.iframe.bundle.js\";\n\tif (chunkId === 1686) return \"forms-input-input-component-stories.dc70ebff.iframe.bundle.js\";\n\tif (chunkId === 6922) return \"forms-slider-slider-component-stories.703c7b0d.iframe.bundle.js\";\n\tif (chunkId === 3048) return \"forms-switch-switch-component-stories.2fbd25ff.iframe.bundle.js\";\n\tif (chunkId === 6354) return \"forms-validators-validators-component-stories.c9a5a918.iframe.bundle.js\";\n\tif (chunkId === 7683) return \"layout-main-main-component-stories.ffe59fa9.iframe.bundle.js\";\n\tif (chunkId === 3651) return \"layout-media-screen-media-screen-component-stories.3ee9da0f.iframe.bundle.js\";\n\tif (chunkId === 9475) return \"layout-nav-nav-component-stories.1a261331.iframe.bundle.js\";\n\tif (chunkId === 9240) return \"layout-overlay-header-header-component-stories.0cd86aa3.iframe.bundle.js\";\n\tif (chunkId === 1043) return \"layout-spinner-spinner-component-stories.d3cc8da3.iframe.bundle.js\";\n\tif (chunkId === 8753) return \"layout-tabs-tabs-component-stories.70e12e03.iframe.bundle.js\";\n\tif (chunkId === 9779) return \"layout-top-scroll-bottom-top-scroll-bottom-component-stories.e0c0acde.iframe.bundle.js\";\n\tif (chunkId === 943) return \"examples-image-grid-slider-docs-mdx.e9974098.iframe.bundle.js\";\n\tif (chunkId === 1481) return \"examples-layout-docs-mdx.ea054be8.iframe.bundle.js\";\n\tif (chunkId === 5493) return \"examples-table-edit-focus-docs-mdx.cbb8609a.iframe.bundle.js\";\n\tif (chunkId === 6768) return \"examples-transloco-docs-mdx.416e81c2.iframe.bundle.js\";\n\tif (chunkId === 1838) return \"styling-colors-docs-mdx.93836504.iframe.bundle.js\";\n\tif (chunkId === 7893) return \"styling-css-variables-docs-mdx.49c59e1b.iframe.bundle.js\";\n\tif (chunkId === 3857) return \"styling-forms-docs-mdx.7545f54f.iframe.bundle.js\";\n\tif (chunkId === 7653) return \"styling-icons-icons-component-stories.9cdbf044.iframe.bundle.js\";\n\tif (chunkId === 8092) return \"styling-icons-docs-mdx.3b9eae36.iframe.bundle.js\";\n\tif (chunkId === 7600) return \"styling-layers-docs-mdx.e80f5638.iframe.bundle.js\";\n\tif (chunkId === 1927) return \"styling-tags-docs-mdx.9a69fc8e.iframe.bundle.js\";\n\tif (chunkId === 3338) return \"styling-ui-tags-docs-mdx.5fd0034e.iframe.bundle.js\";\n\tif (chunkId === 8938) return \"examples-image-grid-slider-image-grid-slider-stories.5ecd087c.iframe.bundle.js\";\n\tif (chunkId === 5684) return \"examples-layout-layout-stories.7c8d669f.iframe.bundle.js\";\n\tif (chunkId === 9836) return \"examples-table-edit-focus-table-edit-focus-stories.0b5092a5.iframe.bundle.js\";\n\tif (chunkId === 9044) return \"examples-transloco-transloco-component-stories.3abf4bff.iframe.bundle.js\";\n\tif (chunkId === 5995) return \"styling-colors-colors-component-stories.ae3bcc4e.iframe.bundle.js\";\n\tif (chunkId === 1977) return \"styling-forms-forms-component-stories.75eb983b.iframe.bundle.js\";\n\tif (chunkId === 1165) return \"styling-tags-tags-component-stories.73ac8eae.iframe.bundle.js\";\n\tif (chunkId === 5233) return \"styling-ui-tags-ui-tags-component-stories.81278f23.iframe.bundle.js\";\n\tif (chunkId === 5944) return \"5944.20fe1482.iframe.bundle.js\";\n\tif (chunkId === 2) return \"2.da09311b.iframe.bundle.js\";\n\tif (chunkId === 9789) return \"9789.514a555b.iframe.bundle.js\";\n\tif (chunkId === 4476) return \"4476.9db7c3d3.iframe.bundle.js\";\n\tif (chunkId === 3058) return \"3058.37f6149f.iframe.bundle.js\";\n\tif (chunkId === 2127) return \"2127.2ed0ee31.iframe.bundle.js\";\n\tif (chunkId === 4935) return \"4935.963e35f0.iframe.bundle.js\";\n\tif (chunkId === 3968) return \"3968.881af65c.iframe.bundle.js\";\n\tif (chunkId === 5568) return \"5568.11b974fa.iframe.bundle.js\";\n\tif (chunkId === 2639) return \"2639.0a2c5775.iframe.bundle.js\";\n\tif (chunkId === 2033) return \"2033.6d54b218.iframe.bundle.js\";\n\tif (chunkId === 9850) return \"9850.6d3302fe.iframe.bundle.js\";\n\tif (chunkId === 2971) return \"2971.168977c2.iframe.bundle.js\";\n\tif (chunkId === 6824) return \"6824.255680bc.iframe.bundle.js\";\n\tif (chunkId === 871) return \"871.32988802.iframe.bundle.js\";\n\tif (chunkId === 8051) return \"8051.586b2473.iframe.bundle.js\";\n\tif (chunkId === 8819) return \"8819.fe12c131.iframe.bundle.js\";\n\tif (chunkId === 2089) return \"2089.99a87b40.iframe.bundle.js\";\n\tif (chunkId === 9946) return \"9946.399e3335.iframe.bundle.js\";\n\t// return url for filenames based on template\n\treturn undefined;\n};","// This function allow to reference async chunks\n__webpack_require__.miniCssF = (chunkId) => (undefined);","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop));","const inProgress = {};\nconst dataWebpackPrefix = \"moja-work:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = (url, done, key, chunkId) => {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tlet script, needAttach;\n\tif(key !== undefined) {\n\t\tconst scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tconst s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tconst onScriptComplete = (prev, event) => {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tconst doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode?.removeChild(script);\n\t\tdoneFns?.forEach((fn) => (fn(event)));\n\t\tif(prev) return prev(event);\n\t}\n\tconst timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.p = \"\";","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nconst installedChunks = {\n\t5354: 0\n};\n\n__webpack_require__.f.j = (chunkId, promises) => {\n\t\t// JSONP chunk loading for javascript\n\t\tlet installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(5354 != chunkId) {\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tconst promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tconst error = new Error();\n\t\t\t\t\tconst loadingEnded = (event) => {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tconst errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tconst realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\terror.event = event;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(__webpack_require__.p + __webpack_require__.u(chunkId), loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t} else installedChunks[chunkId] = 0;\n\t\t\t}\n\t\t}\n};\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nconst webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tlet [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nconst chunkLoadingGlobal = self[\"webpackChunkmoja_work\"] = self[\"webpackChunkmoja_work\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","__webpack_require__.nc = undefined;"],"names":[],"sourceRoot":""}
1
+ {"version":3,"file":"runtime~main.1515d7ca.iframe.bundle.js","mappings":"AACA","sources":["webpack://moja-work/webpack/bootstrap","webpack://moja-work/webpack/runtime/amd options","webpack://moja-work/webpack/runtime/chunk loaded","webpack://moja-work/webpack/runtime/compat get default export","webpack://moja-work/webpack/runtime/concatenation wrap","webpack://moja-work/webpack/runtime/create fake namespace object","webpack://moja-work/webpack/runtime/define property getters","webpack://moja-work/webpack/runtime/ensure chunk","webpack://moja-work/webpack/runtime/get javascript chunk filename","webpack://moja-work/webpack/runtime/get mini-css chunk filename","webpack://moja-work/webpack/runtime/global","webpack://moja-work/webpack/runtime/hasOwnProperty shorthand","webpack://moja-work/webpack/runtime/load script","webpack://moja-work/webpack/runtime/make namespace object","webpack://moja-work/webpack/runtime/publicPath","webpack://moja-work/webpack/runtime/jsonp chunk loading","webpack://moja-work/webpack/runtime/nonce"],"sourcesContent":["// The module cache\nconst __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tconst cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tconst module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","__webpack_require__.amdO = {};","const deferred = [];\n__webpack_require__.O = (result, chunkIds, fn) => {\n\tif(chunkIds) {\n\t\tdeferred.push([chunkIds, fn]);\n\t\treturn;\n\t}\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tlet [chunkIds, fn] = deferred[i];\n\t\tlet fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif (Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tconst r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tconst getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// wrap a concatenated module body as a lazy, memoized accessor; mod is\n// set before the body runs so re-entrant calls (require cycles) observe\n// the partial exports like Node.js\n__webpack_require__.cw = (body) => {\n\tvar mod;\n\treturn () => {\n\t\tif (body) {\n\t\t\tvar fn = body;\n\t\t\tbody = 0;\n\t\t\tmod = { exports: {} };\n\t\t\tfn.call(mod.exports, mod, mod.exports);\n\t\t}\n\t\treturn mod.exports;\n\t};\n};","const getProto = Object.getPrototypeOf;\nlet leafPrototypes;\n// create a fake namespace object\n// mode & 1: value is a module id, require it\n// mode & 2: merge all properties of value into the ns\n// mode & 4: return value when already ns object\n// mode & 16: return value when it's Promise-like\n// mode & 8|1: behave like require\n__webpack_require__.t = function(value, mode) {\n\tif(mode & 1) value = this(value);\n\tif(mode & 8) return value;\n\tif(typeof value === 'object' && value) {\n\t\tif((mode & 4) && value.__esModule) return value;\n\t\tif((mode & 16) && typeof value.then === 'function') return value;\n\t}\n\tconst ns = Object.create(null);\n\t__webpack_require__.r(ns);\n\tconst def = {};\n\tleafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];\n\tfor(var current = mode & 2 && value; (typeof current == 'object' || typeof current == 'function') && !~leafPrototypes.indexOf(current); current = getProto(current)) {\n\t\tObject.getOwnPropertyNames(current).forEach((key) => (def[key] = () => (value[key])));\n\t}\n\tdef['default'] = () => (value);\n\t__webpack_require__.d(ns, def);\n\treturn ns;\n};","// define getter/value functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tif(Array.isArray(definition)) {\n\t\tvar i = 0;\n\t\twhile(i < definition.length) {\n\t\t\tvar key = definition[i++];\n\t\t\tvar binding = definition[i++];\n\t\t\tvar descriptor = binding === 0 ? { enumerable: true, value: definition[i++] } : { enumerable: true, get: binding };\n\t\t\tif(!__webpack_require__.o(exports, key)) Object.defineProperty(exports, key, descriptor);\n\t\t}\n\t} else {\n\t\tfor(var key in definition) {\n\t\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t\t}\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = (chunkId) => {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = (chunkId) => {\n\t// return url for filenames not based on template\n\tif (chunkId === 3899) return \"3899.52becdfd.iframe.bundle.js\";\n\tif (chunkId === 8658) return \"8658.36c47575.iframe.bundle.js\";\n\tif (chunkId === 9009) return \"9009.98c03cef.iframe.bundle.js\";\n\tif (chunkId === 2228) return \"2228.80f939cd.iframe.bundle.js\";\n\tif (chunkId === 6501) return \"_external-mwork-banner-docs-mdx.6fe6b228.iframe.bundle.js\";\n\tif (chunkId === 3752) return \"_external-mwork-basic-interpreter-docs-mdx.86ff7887.iframe.bundle.js\";\n\tif (chunkId === 3260) return \"_external-mwork-music-player-docs-mdx.f82da5e7.iframe.bundle.js\";\n\tif (chunkId === 2096) return \"2096.8c5d6455.iframe.bundle.js\";\n\tif (chunkId === 2074) return \"atoms-_electrons-form-error-message-docs-mdx.4609d59a.iframe.bundle.js\";\n\tif (chunkId === 4814) return \"atoms-_electrons-loader-docs-mdx.2296cffb.iframe.bundle.js\";\n\tif (chunkId === 4555) return \"4555.db1842a7.iframe.bundle.js\";\n\tif (chunkId === 2006) return \"atoms-background-docs-mdx.42850a1d.iframe.bundle.js\";\n\tif (chunkId === 9918) return \"atoms-barcode-docs-mdx.d8831ce8.iframe.bundle.js\";\n\tif (chunkId === 4320) return \"atoms-buzzer-docs-mdx.a4907475.iframe.bundle.js\";\n\tif (chunkId === 6169) return \"6169.3a9a3c91.iframe.bundle.js\";\n\tif (chunkId === 8852) return \"atoms-card-docs-mdx.1e281915.iframe.bundle.js\";\n\tif (chunkId === 6978) return \"atoms-chart-docs-mdx.b7140a3f.iframe.bundle.js\";\n\tif (chunkId === 5084) return \"atoms-clock-docs-mdx.5d8b176c.iframe.bundle.js\";\n\tif (chunkId === 3007) return \"atoms-copy-value-docs-mdx.e1598a3c.iframe.bundle.js\";\n\tif (chunkId === 9045) return \"9045.1983540d.iframe.bundle.js\";\n\tif (chunkId === 2621) return \"2621.1066d712.iframe.bundle.js\";\n\tif (chunkId === 3146) return \"atoms-image-grid-docs-mdx.06f7a6e1.iframe.bundle.js\";\n\tif (chunkId === 7316) return \"7316.3ac8df70.iframe.bundle.js\";\n\tif (chunkId === 7947) return \"atoms-image-slider-docs-mdx.8f9f8ad2.iframe.bundle.js\";\n\tif (chunkId === 8931) return \"atoms-inline-spinner-docs-mdx.ec967365.iframe.bundle.js\";\n\tif (chunkId === 2960) return \"atoms-lang-selector-docs-mdx.15ecc3bd.iframe.bundle.js\";\n\tif (chunkId === 2831) return \"atoms-mosaic-mosaic-component-stories.6187a08c.iframe.bundle.js\";\n\tif (chunkId === 1954) return \"atoms-mosaic-docs-mdx.da9bb17a.iframe.bundle.js\";\n\tif (chunkId === 6203) return \"atoms-placeholder-docs-mdx.12ad1174.iframe.bundle.js\";\n\tif (chunkId === 2193) return \"atoms-qr-code-docs-mdx.27026e0a.iframe.bundle.js\";\n\tif (chunkId === 7819) return \"atoms-rating-docs-mdx.a1a967c7.iframe.bundle.js\";\n\tif (chunkId === 1183) return \"1183.64f0b5f1.iframe.bundle.js\";\n\tif (chunkId === 3999) return \"atoms-reader-doc-reader-doc-component-stories.a87f00ba.iframe.bundle.js\";\n\tif (chunkId === 3550) return \"atoms-reader-doc-docs-mdx.1da8d554.iframe.bundle.js\";\n\tif (chunkId === 4067) return \"atoms-text-animate-docs-mdx.39298897.iframe.bundle.js\";\n\tif (chunkId === 4425) return \"4425.f04c4050.iframe.bundle.js\";\n\tif (chunkId === 5370) return \"atoms-thumb-docs-mdx.480c437a.iframe.bundle.js\";\n\tif (chunkId === 4447) return \"atoms-timer-docs-mdx.47493a2d.iframe.bundle.js\";\n\tif (chunkId === 4806) return \"atoms-typewriter-docs-mdx.78a80972.iframe.bundle.js\";\n\tif (chunkId === 660) return \"660.b9429e44.iframe.bundle.js\";\n\tif (chunkId === 2844) return \"2844.45ea79f4.iframe.bundle.js\";\n\tif (chunkId === 1327) return \"cdk-components-drag-and-drop-splitter-docs-mdx.6d08fc28.iframe.bundle.js\";\n\tif (chunkId === 973) return \"973.8a2a6602.iframe.bundle.js\";\n\tif (chunkId === 7749) return \"7749.aa2acc38.iframe.bundle.js\";\n\tif (chunkId === 6569) return \"cdk-components-table-docs-mdx.24986c94.iframe.bundle.js\";\n\tif (chunkId === 813) return \"813.99319c57.iframe.bundle.js\";\n\tif (chunkId === 1296) return \"examples-docs-mdx.adf30900.iframe.bundle.js\";\n\tif (chunkId === 7837) return \"forms-autocomplete-docs-mdx.122fc29b.iframe.bundle.js\";\n\tif (chunkId === 1516) return \"1516.13c89782.iframe.bundle.js\";\n\tif (chunkId === 166) return \"forms-autofocus-docs-mdx.6deaa111.iframe.bundle.js\";\n\tif (chunkId === 8108) return \"forms-checkbox-docs-mdx.0ec6b444.iframe.bundle.js\";\n\tif (chunkId === 7363) return \"forms-chip-docs-mdx.586fea17.iframe.bundle.js\";\n\tif (chunkId === 4939) return \"forms-input-docs-mdx.07a9d9a2.iframe.bundle.js\";\n\tif (chunkId === 6202) return \"6202.777aaac8.iframe.bundle.js\";\n\tif (chunkId === 6252) return \"forms-slider-docs-mdx.bb87c0c9.iframe.bundle.js\";\n\tif (chunkId === 977) return \"forms-switch-docs-mdx.f19d52a9.iframe.bundle.js\";\n\tif (chunkId === 7586) return \"forms-validators-docs-mdx.5b824b80.iframe.bundle.js\";\n\tif (chunkId === 3767) return \"home-guide-mdx.138ced64.iframe.bundle.js\";\n\tif (chunkId === 128) return \"home-overview-mdx.2ba225a7.iframe.bundle.js\";\n\tif (chunkId === 3143) return \"home-tips-mdx.9742f533.iframe.bundle.js\";\n\tif (chunkId === 3842) return \"home-usage-mdx.e93a7cd4.iframe.bundle.js\";\n\tif (chunkId === 2249) return \"2249.dc1c4f9b.iframe.bundle.js\";\n\tif (chunkId === 3837) return \"layout-main-docs-mdx.36fac8a0.iframe.bundle.js\";\n\tif (chunkId === 3151) return \"layout-media-screen-docs-mdx.23566d03.iframe.bundle.js\";\n\tif (chunkId === 1255) return \"1255.a4623c9d.iframe.bundle.js\";\n\tif (chunkId === 9653) return \"layout-nav-docs-mdx.dcd44711.iframe.bundle.js\";\n\tif (chunkId === 6659) return \"layout-overlay-overlay-component-stories.d090c8bf.iframe.bundle.js\";\n\tif (chunkId === 2168) return \"layout-overlay-docs-mdx.4280a9b2.iframe.bundle.js\";\n\tif (chunkId === 9042) return \"layout-overlay-header-docs-mdx.661738ce.iframe.bundle.js\";\n\tif (chunkId === 365) return \"layout-spinner-docs-mdx.e12e215a.iframe.bundle.js\";\n\tif (chunkId === 6331) return \"layout-splitter-splitter-component-stories.f225bee2.iframe.bundle.js\";\n\tif (chunkId === 947) return \"layout-splitter-docs-mdx.66ecb680.iframe.bundle.js\";\n\tif (chunkId === 6892) return \"layout-tabs-docs-mdx.6707ee35.iframe.bundle.js\";\n\tif (chunkId === 3073) return \"layout-top-scroll-bottom-docs-mdx.4f9d1380.iframe.bundle.js\";\n\tif (chunkId === 8180) return \"molecules-image-editor-image-editor-component-stories.b41b84b7.iframe.bundle.js\";\n\tif (chunkId === 3190) return \"molecules-image-editor-docs-mdx.41df9b01.iframe.bundle.js\";\n\tif (chunkId === 7867) return \"_external-mwork-banner-mwork-banner-stories.3c0d21dc.iframe.bundle.js\";\n\tif (chunkId === 2379) return \"_external-mwork-basic-interpreter-mwork-basic-interpreter-stories.36f1071f.iframe.bundle.js\";\n\tif (chunkId === 1365) return \"_external-mwork-music-player-mwork-music-player-stories.c5213c5e.iframe.bundle.js\";\n\tif (chunkId === 1322) return \"atoms-_electrons-form-error-message-form-error-message-component-stories.57783408.iframe.bundle.js\";\n\tif (chunkId === 2690) return \"atoms-_electrons-loader-loader-component-stories.aec4216e.iframe.bundle.js\";\n\tif (chunkId === 4855) return \"atoms-background-background-component-stories.5822ef83.iframe.bundle.js\";\n\tif (chunkId === 9217) return \"atoms-barcode-barcode-component-stories.d5fe91e1.iframe.bundle.js\";\n\tif (chunkId === 7419) return \"atoms-buzzer-buzzer-component-stories.47430790.iframe.bundle.js\";\n\tif (chunkId === 4947) return \"atoms-card-card-component-stories.5b3175d5.iframe.bundle.js\";\n\tif (chunkId === 2425) return \"atoms-chart-chart-component-stories.07b4adcc.iframe.bundle.js\";\n\tif (chunkId === 1809) return \"atoms-clock-clock-component-stories.8047670e.iframe.bundle.js\";\n\tif (chunkId === 3853) return \"atoms-copy-value-copy-value-component-stories.55b8745b.iframe.bundle.js\";\n\tif (chunkId === 8039) return \"atoms-image-grid-image-grid-component-stories.9a952e1b.iframe.bundle.js\";\n\tif (chunkId === 1461) return \"atoms-image-slider-image-slider-component-stories.4af9ba20.iframe.bundle.js\";\n\tif (chunkId === 533) return \"atoms-inline-spinner-inline-spinner-component-stories.a19bb51c.iframe.bundle.js\";\n\tif (chunkId === 3277) return \"atoms-lang-selector-lang-selector-component-stories.e5e90842.iframe.bundle.js\";\n\tif (chunkId === 3045) return \"atoms-placeholder-placeholder-component-stories.4d5ca661.iframe.bundle.js\";\n\tif (chunkId === 4365) return \"atoms-qr-code-qr-code-component-stories.c88e3a8c.iframe.bundle.js\";\n\tif (chunkId === 3685) return \"atoms-rating-rating-component-stories.7411b460.iframe.bundle.js\";\n\tif (chunkId === 7877) return \"atoms-text-animate-text-animate-component-stories.45525540.iframe.bundle.js\";\n\tif (chunkId === 3925) return \"atoms-thumb-thumb-component-stories.c705d9ae.iframe.bundle.js\";\n\tif (chunkId === 6189) return \"atoms-timer-timer-component-stories.716d5dce.iframe.bundle.js\";\n\tif (chunkId === 4713) return \"atoms-typewriter-typewriter-component-stories.493073f4.iframe.bundle.js\";\n\tif (chunkId === 4271) return \"cdk-components-drag-and-drop-splitter-splitter-component-stories.c9a23a13.iframe.bundle.js\";\n\tif (chunkId === 6212) return \"cdk-components-table-table-component-stories.d4de84e5.iframe.bundle.js\";\n\tif (chunkId === 9652) return \"examples-burger-menu-stories.faa22733.iframe.bundle.js\";\n\tif (chunkId === 1860) return \"forms-autocomplete-autocomplete-component-stories.c20f83ed.iframe.bundle.js\";\n\tif (chunkId === 9236) return \"forms-autofocus-autofocus-stories.bdd8d41d.iframe.bundle.js\";\n\tif (chunkId === 3678) return \"forms-checkbox-checkbox-component-stories.40546bd4.iframe.bundle.js\";\n\tif (chunkId === 6020) return \"forms-chip-chip-component-stories.3ffb3220.iframe.bundle.js\";\n\tif (chunkId === 1686) return \"forms-input-input-component-stories.dc70ebff.iframe.bundle.js\";\n\tif (chunkId === 6922) return \"forms-slider-slider-component-stories.703c7b0d.iframe.bundle.js\";\n\tif (chunkId === 3048) return \"forms-switch-switch-component-stories.2fbd25ff.iframe.bundle.js\";\n\tif (chunkId === 6354) return \"forms-validators-validators-component-stories.c9a5a918.iframe.bundle.js\";\n\tif (chunkId === 7683) return \"layout-main-main-component-stories.ffe59fa9.iframe.bundle.js\";\n\tif (chunkId === 3651) return \"layout-media-screen-media-screen-component-stories.3ee9da0f.iframe.bundle.js\";\n\tif (chunkId === 9475) return \"layout-nav-nav-component-stories.1a261331.iframe.bundle.js\";\n\tif (chunkId === 9240) return \"layout-overlay-header-header-component-stories.0cd86aa3.iframe.bundle.js\";\n\tif (chunkId === 1043) return \"layout-spinner-spinner-component-stories.d3cc8da3.iframe.bundle.js\";\n\tif (chunkId === 8753) return \"layout-tabs-tabs-component-stories.70e12e03.iframe.bundle.js\";\n\tif (chunkId === 9779) return \"layout-top-scroll-bottom-top-scroll-bottom-component-stories.e0c0acde.iframe.bundle.js\";\n\tif (chunkId === 943) return \"examples-image-grid-slider-docs-mdx.e9974098.iframe.bundle.js\";\n\tif (chunkId === 1481) return \"examples-layout-docs-mdx.ea054be8.iframe.bundle.js\";\n\tif (chunkId === 5493) return \"examples-table-edit-focus-docs-mdx.cbb8609a.iframe.bundle.js\";\n\tif (chunkId === 6768) return \"examples-transloco-docs-mdx.416e81c2.iframe.bundle.js\";\n\tif (chunkId === 1838) return \"styling-colors-docs-mdx.93836504.iframe.bundle.js\";\n\tif (chunkId === 7893) return \"styling-css-variables-docs-mdx.49c59e1b.iframe.bundle.js\";\n\tif (chunkId === 3857) return \"styling-forms-docs-mdx.7545f54f.iframe.bundle.js\";\n\tif (chunkId === 7653) return \"styling-icons-icons-component-stories.9cdbf044.iframe.bundle.js\";\n\tif (chunkId === 8092) return \"styling-icons-docs-mdx.3b9eae36.iframe.bundle.js\";\n\tif (chunkId === 7600) return \"styling-layers-docs-mdx.e80f5638.iframe.bundle.js\";\n\tif (chunkId === 1927) return \"styling-tags-docs-mdx.9a69fc8e.iframe.bundle.js\";\n\tif (chunkId === 3338) return \"styling-ui-tags-docs-mdx.5fd0034e.iframe.bundle.js\";\n\tif (chunkId === 8938) return \"examples-image-grid-slider-image-grid-slider-stories.5ecd087c.iframe.bundle.js\";\n\tif (chunkId === 5684) return \"examples-layout-layout-stories.7c8d669f.iframe.bundle.js\";\n\tif (chunkId === 9836) return \"examples-table-edit-focus-table-edit-focus-stories.0b5092a5.iframe.bundle.js\";\n\tif (chunkId === 9044) return \"examples-transloco-transloco-component-stories.3abf4bff.iframe.bundle.js\";\n\tif (chunkId === 5995) return \"styling-colors-colors-component-stories.ae3bcc4e.iframe.bundle.js\";\n\tif (chunkId === 1977) return \"styling-forms-forms-component-stories.75eb983b.iframe.bundle.js\";\n\tif (chunkId === 1165) return \"styling-tags-tags-component-stories.73ac8eae.iframe.bundle.js\";\n\tif (chunkId === 5233) return \"styling-ui-tags-ui-tags-component-stories.81278f23.iframe.bundle.js\";\n\tif (chunkId === 5944) return \"5944.20fe1482.iframe.bundle.js\";\n\tif (chunkId === 2) return \"2.da09311b.iframe.bundle.js\";\n\tif (chunkId === 9789) return \"9789.514a555b.iframe.bundle.js\";\n\tif (chunkId === 4476) return \"4476.9db7c3d3.iframe.bundle.js\";\n\tif (chunkId === 3058) return \"3058.37f6149f.iframe.bundle.js\";\n\tif (chunkId === 2127) return \"2127.2ed0ee31.iframe.bundle.js\";\n\tif (chunkId === 4935) return \"4935.963e35f0.iframe.bundle.js\";\n\tif (chunkId === 3968) return \"3968.881af65c.iframe.bundle.js\";\n\tif (chunkId === 5568) return \"5568.11b974fa.iframe.bundle.js\";\n\tif (chunkId === 2639) return \"2639.0a2c5775.iframe.bundle.js\";\n\tif (chunkId === 2033) return \"2033.6d54b218.iframe.bundle.js\";\n\tif (chunkId === 9850) return \"9850.6d3302fe.iframe.bundle.js\";\n\tif (chunkId === 2971) return \"2971.168977c2.iframe.bundle.js\";\n\tif (chunkId === 6824) return \"6824.255680bc.iframe.bundle.js\";\n\tif (chunkId === 871) return \"871.32988802.iframe.bundle.js\";\n\tif (chunkId === 8051) return \"8051.586b2473.iframe.bundle.js\";\n\tif (chunkId === 8819) return \"8819.fe12c131.iframe.bundle.js\";\n\tif (chunkId === 2089) return \"2089.99a87b40.iframe.bundle.js\";\n\tif (chunkId === 9946) return \"9946.399e3335.iframe.bundle.js\";\n\t// return url for filenames based on template\n\treturn undefined;\n};","// This function allow to reference async chunks\n__webpack_require__.miniCssF = (chunkId) => (undefined);","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop));","const inProgress = {};\nconst dataWebpackPrefix = \"moja-work:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = (url, done, key, chunkId) => {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tlet script, needAttach;\n\tif(key !== undefined) {\n\t\tconst scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tconst s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tconst onScriptComplete = (prev, event) => {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tconst doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode?.removeChild(script);\n\t\tdoneFns?.forEach((fn) => (fn(event)));\n\t\tif(prev) return prev(event);\n\t}\n\tconst timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.p = \"\";","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nconst installedChunks = {\n\t5354: 0\n};\n\n__webpack_require__.f.j = (chunkId, promises) => {\n\t\t// JSONP chunk loading for javascript\n\t\tlet installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(5354 != chunkId) {\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tconst promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tconst error = new Error();\n\t\t\t\t\tconst loadingEnded = (event) => {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tconst errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tconst realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\terror.event = event;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(__webpack_require__.p + __webpack_require__.u(chunkId), loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t} else installedChunks[chunkId] = 0;\n\t\t\t}\n\t\t}\n};\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nconst webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tlet [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nconst chunkLoadingGlobal = self[\"webpackChunkmoja_work\"] = self[\"webpackChunkmoja_work\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","__webpack_require__.nc = undefined;"],"names":[],"sourceRoot":""}
@@ -1,4 +1,4 @@
1
1
  {
2
- "commit": "10dd5586",
3
- "uiVersion": "2.9.0"
2
+ "commit": "86dc323b",
3
+ "uiVersion": "2.10.0"
4
4
  }
package/version.json CHANGED
@@ -1,4 +1,4 @@
1
1
  {
2
- "uiVersion": "2.9.0",
3
- "commit": "10dd5586"
2
+ "uiVersion": "2.10.0",
3
+ "commit": "86dc323b"
4
4
  }
@@ -1,2 +0,0 @@
1
- (self.webpackChunkmoja_work=self.webpackChunkmoja_work||[]).push([[2621],{"./libs/ui/src/lib/atoms/image-grid/image-grid-click-area.directive.ts"(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{u:()=>UiImageGridClickAreaDirective});var tslib__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/tslib/tslib.es6.mjs"),_angular_core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/@angular/core/fesm2022/_pending_tasks-chunk.mjs"),_angular_core__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/@angular/core/fesm2022/_debug_node-chunk.mjs");let UiImageGridClickAreaDirective=class UiImageGridClickAreaDirective{template=(0,_angular_core__WEBPACK_IMPORTED_MODULE_1__.WQX)(_angular_core__WEBPACK_IMPORTED_MODULE_2__.C4Q);static ngTemplateContextGuard(_directive,_context){return!0}};UiImageGridClickAreaDirective=(0,tslib__WEBPACK_IMPORTED_MODULE_0__.Cg)([(0,_angular_core__WEBPACK_IMPORTED_MODULE_2__.WLR)({selector:"ng-template[uiImageGridClickArea]"})],UiImageGridClickAreaDirective)},"./libs/ui/src/lib/atoms/image-grid/image-grid.component.ts"(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{p:()=>UiImageGridComponent});var tslib_es6=__webpack_require__("./node_modules/tslib/tslib.es6.mjs");var image_grid_componentngResource=__webpack_require__("./libs/ui/src/lib/atoms/image-grid/image-grid.component.css?ngResource"),image_grid_componentngResource_default=__webpack_require__.n(image_grid_componentngResource),_common_module_chunk=__webpack_require__("./node_modules/@angular/common/fesm2022/_common_module-chunk.mjs"),core=__webpack_require__("./node_modules/@angular/core/fesm2022/core.mjs"),_debug_node_chunk=__webpack_require__("./node_modules/@angular/core/fesm2022/_debug_node-chunk.mjs"),_resource_chunk=__webpack_require__("./node_modules/@angular/core/fesm2022/_resource-chunk.mjs"),_pending_tasks_chunk=__webpack_require__("./node_modules/@angular/core/fesm2022/_pending_tasks-chunk.mjs"),resize_signal=__webpack_require__("./libs/ui/src/lib/helpers/resize-signal.ts"),image_grid_click_area_directive=__webpack_require__("./libs/ui/src/lib/atoms/image-grid/image-grid-click-area.directive.ts");let UiImageGridComponent=class UiImageGridComponent{get scrollerHeightValue(){return this.scrollerHeight()}get fitClass(){return`_-fit-${this.imageFit()}`}scroller;imageContainer;clickArea=(0,core.contentChild)(image_grid_click_area_directive.u,{read:_debug_node_chunk.C4Q});resizeEvent=(0,resize_signal.H)();data=(0,core.input)(null);dataCount=(0,_resource_chunk.EW)(()=>this.data()?.length??0);dataCountItems=(0,_pending_tasks_chunk.vPA)([0]);debug=(0,core.input)(!1);singleRow=(0,core.input)(!1);gap=(0,core.input)(0);overlayType=(0,core.input)("default");overlayTypeClass=(0,_resource_chunk.EW)(()=>`_-${this.overlayType()}`);cols=(0,core.input)(0);height=(0,core.input)();tileHeight=(0,core.input)();tileAspect=(0,core.input)("1/1");imageFit=(0,core.input)("none");action=(0,core.input)(!1);loaded=(0,core.input)(!1);setIndex=(0,core.input)(0);currentIndex=(0,core.output)();clickIndex=(0,core.output)();strip=(0,_resource_chunk.EW)(()=>this.singleRow()&&Boolean(this.tileHeight()));tileWidth=(0,_resource_chunk.EW)(()=>{const height=this.tileHeight()??0,[w,h]=this.tileAspect().split("/").map(Number),ratio=w>0&&h>0?w/h:1;return Math.round(height*ratio)});scrollerHeight=(0,_resource_chunk.EW)(()=>{const height=this.height(),cols=this.cols();return this.strip()?`${this.tileHeight()}px`:this.singleRow()&&height&&cols?height/cols+"px":height?`${height}px`:"200px"});gridColsInternal=(0,_resource_chunk.EW)(()=>{const counter=this.cols();return this.singleRow()?counter:0!==counter&&this.dataCount()/counter>counter?Math.ceil(this.dataCount()/counter):counter});active=(0,_pending_tasks_chunk.vPA)(null);broken=(0,_pending_tasks_chunk.vPA)(new Set);hideDisplay=(0,_pending_tasks_chunk.vPA)(!0);clickAreaExist=(0,_resource_chunk.EW)(()=>void 0!==this.clickArea());constructor(){(0,_pending_tasks_chunk.QZP)(()=>{this.gap(),this.height(),this.cols(),this.tileHeight(),this.tileAspect(),this.resizeEvent(),this.updateGrid()}),(0,_pending_tasks_chunk.QZP)(()=>{this.data(),this.broken.set(new Set)}),(0,_pending_tasks_chunk.QZP)(()=>{this.setIndex(),this.scrollToChild(this.setIndex()),this.active.set(this.setIndex())}),(0,_pending_tasks_chunk.QZP)(()=>{this.action(),this.active.set(null)})}ngAfterViewInit(){this.active.set(this.setIndex()),this.updateGrid(),this.fader()}clickAreaContext(index){const item=this.data()?.[index];return item?{$implicit:item,index}:null}updateGrid(){const scroller=this.scroller?.nativeElement;scroller&&(scroller.style.height=this.scrollerHeight());const element=this.imageContainer?.nativeElement;if(element&&this.dataCount()){const gap=this.gap(),tiles=this.singleRow()?this.dataCount():this.gridColsInternal()*this.gridColsInternal();this.dataCountItems.set(Array.from({length:tiles},(_,index)=>index+1));const repeatCount=this.singleRow()?this.dataCount():this.gridColsInternal(),track=this.strip()?`${this.tileWidth()}px`:"1fr";setTimeout(()=>{element.style.display="grid",element.style.gap=`${gap}px`,element.style.gridTemplateColumns=`repeat(${repeatCount}, ${track})`,element.style.width=this.strip()?"max-content":"",this.applyStylesToChildren()},100)}}calculateGridSize(containerSize){const adjustedSize=containerSize/this.cols()-this.gap();return Math.ceil(adjustedSize)}applyStylesToChildren(){const element=this.imageContainer?.nativeElement;if(element){const strip=this.strip(),width=strip?this.tileWidth():this.calculateGridSize(element.offsetWidth??0),height=strip?this.tileHeight()??0:this.singleRow()?element.offsetHeight:this.calculateGridSize(element.offsetHeight??0),applyChildStyles=child=>{child.style.height=`${height}px`,child.style.width=`${width}px`};element.childNodes.forEach(child=>{child instanceof HTMLElement&&applyChildStyles(child)})}}fader(){this.hideDisplay.set(!0),setTimeout(()=>{this.hideDisplay.set(!1)},800)}scrollToChild(index){const containerElement=this.imageContainer?.nativeElement,scrollerElement=this.scroller?.nativeElement;if(!containerElement||!scrollerElement)return;const targetChild=containerElement.childNodes[index];if(!(targetChild instanceof HTMLElement))return;const scrollOffset=this.calculateScrollOffset(scrollerElement,targetChild);scrollerElement.scrollTo({left:scrollOffset,top:0})}calculateScrollOffset(viewport,child){return child.offsetLeft-viewport.clientWidth/2+child.offsetWidth/2}useAction(index){this.action()&&this.imageSrc(index)&&(this.clickAreaExist()&&this.active()===index&&this.clickIndex.emit(index),this.currentIndex.emit(index),this.active.set(index),this.scrollToChild(index))}scale(index){const value=this.data()?.[index]?.src.scale;return`transform: scale(${value??1})`}markBroken(index){this.broken.update(current=>new Set(current).add(index))}imageSrc(index){return this.data()?.[index]?.src.default}imageAlt(index){return this.data()?.[index]?.alt}imageTitle(index){return this.data()?.[index]?.title}static ctorParameters=()=>[];static propDecorators={scrollerHeightValue:[{type:_debug_node_chunk.g$6,args:["style.height"]}],fitClass:[{type:_debug_node_chunk.g$6,args:["class"]}],scroller:[{type:core.ViewChild,args:["scroller"]}],imageContainer:[{type:core.ViewChild,args:["imageContainer"]}],clickArea:[{type:core.ContentChild,args:[image_grid_click_area_directive.u,{read:_debug_node_chunk.C4Q,isSignal:!0}]}],data:[{type:_debug_node_chunk.pde,args:[{isSignal:!0,alias:"data",required:!1,transform:void 0}]}],debug:[{type:_debug_node_chunk.pde,args:[{isSignal:!0,alias:"debug",required:!1,transform:void 0}]}],singleRow:[{type:_debug_node_chunk.pde,args:[{isSignal:!0,alias:"singleRow",required:!1,transform:void 0}]}],gap:[{type:_debug_node_chunk.pde,args:[{isSignal:!0,alias:"gap",required:!1,transform:void 0}]}],overlayType:[{type:_debug_node_chunk.pde,args:[{isSignal:!0,alias:"overlayType",required:!1,transform:void 0}]}],cols:[{type:_debug_node_chunk.pde,args:[{isSignal:!0,alias:"cols",required:!1,transform:void 0}]}],height:[{type:_debug_node_chunk.pde,args:[{isSignal:!0,alias:"height",required:!1,transform:void 0}]}],tileHeight:[{type:_debug_node_chunk.pde,args:[{isSignal:!0,alias:"tileHeight",required:!1,transform:void 0}]}],tileAspect:[{type:_debug_node_chunk.pde,args:[{isSignal:!0,alias:"tileAspect",required:!1,transform:void 0}]}],imageFit:[{type:_debug_node_chunk.pde,args:[{isSignal:!0,alias:"imageFit",required:!1,transform:void 0}]}],action:[{type:_debug_node_chunk.pde,args:[{isSignal:!0,alias:"action",required:!1,transform:void 0}]}],loaded:[{type:_debug_node_chunk.pde,args:[{isSignal:!0,alias:"loaded",required:!1,transform:void 0}]}],setIndex:[{type:_debug_node_chunk.pde,args:[{isSignal:!0,alias:"setIndex",required:!1,transform:void 0}]}],currentIndex:[{type:_debug_node_chunk.k7i,args:["currentIndex"]}],clickIndex:[{type:_debug_node_chunk.k7i,args:["clickIndex"]}]}};UiImageGridComponent=(0,tslib_es6.Cg)([(0,_debug_node_chunk.uAl)({selector:"ui-image-grid",template:'@if (data()) {\n <div class="_scroller" #scroller>\n <div\n #imageContainer\n class="_image-container"\n [class._-hide-display]="hideDisplay()"\n >\n @for (item of dataCountItems(); track item; let i = $index) {\n <button\n class="_wrapper"\n [class._-action]="action() && imageSrc(i)"\n [class._-active]="active() === i"\n [class._-no-image]="!imageSrc(i)"\n [class]="overlayTypeClass()"\n (click)="useAction(i)"\n >\n @if (debug()) {\n dataCount: {{ this.dataCount() }} <br />\n internalCounter: {{ this.gridColsInternal() }} <br />\n counter: {{ this.cols() }} <br />\n src: {{ imageSrc(i) }}\n } @else {\n @if (imageSrc(i) && loaded()) {\n @if (broken().has(i)) {\n \x3c!-- The file did not load: the alt text stands in the tile,\n centred, the same in every fit mode — a sized broken\n <img> would draw the browser\'s icon in a corner. --\x3e\n <figure class="_-broken"><figcaption>{{ imageAlt(i) }}</figcaption></figure>\n } @else {\n <figure>\n <img\n [style]="scale(i)"\n [src]="imageSrc(i)"\n [alt]="imageAlt(i)"\n [title]="imageTitle(i)"\n (error)="markBroken(i)"\n />\n </figure>\n }\n @if (clickArea(); as template) {\n <div class="_click-area">\n <ng-container\n *ngTemplateOutlet="template; context: clickAreaContext(i)"\n ></ng-container>\n </div>\n }\n } @else {\n \x3c!-- No picture: the same shape the image editor uses — icon\n centred, whatever title the item carries underneath. No\n stand-in text: an empty title is the caller\'s business. --\x3e\n <div class="_empty">\n <span class="ui-icon x3" aria-hidden="true">image</span>\n <strong>{{ imageTitle(i) }}</strong>\n </div>\n }\n }\n </button>\n }\n </div>\n </div>\n}\n',changeDetection:_debug_node_chunk.Ngq.Eager,imports:[_common_module_chunk.T3],styles:[image_grid_componentngResource_default()]}),(0,tslib_es6.Sn)("design:paramtypes",[])],UiImageGridComponent)},"./libs/ui/src/lib/atoms/image-grid/image-grid.component.css?ngResource"(module,__unused_webpack_exports,__webpack_require__){var ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/noSourceMaps.js"),___CSS_LOADER_EXPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js")(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);___CSS_LOADER_EXPORT___.push([module.id,"@layer ui.base, ui.components;\n@layer ui.components {\n:host {\n /* The scroller and the grid inside are positioned absolutely; the host is\n their anchor. Without this they climbed to the nearest positioned\n ancestor — an overlay's top edge, in one consumer. */\n position: relative;\n z-index: 0;\n --wrapper-height: 60rem;\n --button-size: 4rem;\n display: flex;\n /* Fills its container by default; the named hooks let a consumer set a fixed\n size without a cascade fight (tickets#241, tickets#251). */\n width: var(--ui-image-grid-width, 100%);\n height: var(--ui-image-grid-height, 100%);\n border-radius: calc(var(--ui-border-width) * 4);\n\n ._scroller {\n position: absolute;\n top: 0;\n left: 0;\n display: flex;\n width: 100%;\n height: 100%;\n overflow-y: hidden;\n overflow-x: scroll;\n background-color: var(--ui-c-background);\n scroll-behavior: smooth;\n }\n\n ._image-container {\n position: absolute;\n top: 0;\n left: 0;\n display: grid;\n width: 100%;\n height: 100%;\n transition: opacity calc(var(--ui-time) * 0.1) linear;\n\n &._-hide-display {\n opacity: 0;\n }\n\n button._wrapper {\n position: relative;\n display: flex;\n width: 100%;\n height: 100%;\n gap: calc(var(--ui-spacer) * 0.5);\n align-items: center;\n justify-content: center;\n overflow: hidden;\n transition: scale calc(var(--ui-time) * 0.5) ease-in-out;\n background-color: var(--ui-c-fourthly);\n border: 0;\n\n &._-no-image {\n cursor: default;\n opacity: 0.5;\n }\n\n /* A picture that did not load: its alt text, centred in the tile —\n the same look whatever the fit mode. */\n figure._-broken {\n width: 100%;\n height: 100%;\n justify-content: center;\n\n figcaption {\n padding: calc(var(--ui-spacer) * 0.25);\n text-align: center;\n }\n }\n\n /* The empty state, same arrangement as the image editor's: icon above,\n title below, both dimmed. */\n ._empty {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n gap: calc(var(--ui-spacer) * 0.25);\n }\n\n &._-default {\n &:not(._-action) {\n cursor: default;\n }\n\n &._-active {\n border: 0.32rem solid var(--ui-c-focus);\n\n img {\n transform: scale(1.1) !important;\n }\n }\n\n &._-action:hover {\n img {\n transform: scale(1.1) !important;\n }\n }\n }\n\n &._-doors {\n &._-active {\n border: 0.32rem solid var(--ui-c-focus);\n }\n\n &._-action:hover {\n img {\n transform: scale(1.1) !important;\n }\n }\n\n &::after,\n &::before {\n z-index: 1;\n content: '\\00a0';\n position: absolute;\n left: 0;\n display: flex;\n height: 100%;\n width: 100%;\n background-color: var(--ui-c-background);\n transition: var(--ui-time) ease-in-out;\n opacity: 0.6;\n }\n\n &::before {\n top: -50%;\n z-index: 1;\n }\n\n &::after {\n top: 50%;\n }\n\n &._-active::before {\n opacity: 0;\n top: -100%;\n }\n\n &._-active::after {\n opacity: 0;\n top: 100%;\n }\n }\n\n figure {\n position: relative;\n display: flex;\n flex-flow: column;\n justify-content: center;\n align-items: center;\n padding: 0;\n\n img {\n width: auto;\n max-width: initial;\n aspect-ratio: auto;\n transition: transform calc(var(--ui-time) * 0.5) ease-in-out;\n -webkit-user-select: none;\n user-select: none;\n }\n }\n\n\n ._click-area {\n position: absolute;\n display: flex;\n justify-content: center;\n align-items: center;\n width: 100%;\n height: 100%;\n opacity: 0;\n transition: var(--ui-time) ease-in-out;\n }\n\n &._-active {\n ._click-area {\n opacity: 1;\n }\n }\n }\n }\n}\n\n/* `imageFit`: the picture takes the tile and either fills it (cover) or\n fits inside it whole (contain). `none` keeps the picture at its own size,\n as above. Top level, because a nested `&` after `:host()` would name the\n host twice. */\n:host(._-fit-cover) ._image-container button._wrapper figure,\n:host(._-fit-cover) ._image-container button._wrapper figure img,\n:host(._-fit-contain) ._image-container button._wrapper figure,\n:host(._-fit-contain) ._image-container button._wrapper figure img {\n width: 100%;\n height: 100%;\n}\n\n:host(._-fit-cover) ._image-container button._wrapper figure img {\n object-fit: cover;\n}\n\n:host(._-fit-contain) ._image-container button._wrapper figure img {\n object-fit: contain;\n}\n}\n",""]),module.exports=___CSS_LOADER_EXPORT___.toString()}}]);
2
- //# sourceMappingURL=2621.41931f1f.iframe.bundle.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"2621.191de6c7.iframe.bundle.js","mappings":"AAUA","sources":["webpack://moja-work/./libs/ui/src/lib/atoms/image-grid/image-grid-click-area.directive.ts","webpack://moja-work/./libs/ui/src/lib/atoms/image-grid/image-grid.component.ts","webpack://moja-work/./libs/ui/src/lib/atoms/image-grid/image-grid.component.css"],"sourcesContent":["import { __decorate } from \"tslib\";\nimport { Directive, inject, TemplateRef } from '@angular/core';\n/**\n * Marks the `<ng-template>` inside `ui-image-grid` that is the click area —\n * the overlay the grid stamps into every tile. A marker rather than \"the\n * first template in the content\": a caller may project other templates\n * (`*ngIf`, a structural directive of their own), and an unmarked query would\n * pick whichever comes first and stamp foreign markup into the tiles. The\n * name also tells a reader of the call site what the template is for.\n */\nlet UiImageGridClickAreaDirective = class UiImageGridClickAreaDirective {\n /** The template the directive sits on; the grid reads it through this. */\n template = inject((TemplateRef));\n /** Lets the template's implicit context be typed as the grid's. */\n static ngTemplateContextGuard(_directive, \n // The guard's whole job is the type predicate on this parameter.\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _context) {\n return true;\n }\n};\nUiImageGridClickAreaDirective = __decorate([\n Directive({\n selector: 'ng-template[uiImageGridClickArea]',\n })\n], UiImageGridClickAreaDirective);\nexport { UiImageGridClickAreaDirective };\n","import { __decorate, __metadata } from \"tslib\";\nimport __NG_CLI_RESOURCE__0 from \"./image-grid.component.html?ngResource\";\nimport __NG_CLI_RESOURCE__1 from \"./image-grid.component.css?ngResource\";\nimport { NgTemplateOutlet } from '@angular/common';\nimport { Component, computed, contentChild, effect, HostBinding, input, output, signal, TemplateRef, ViewChild, ChangeDetectionStrategy } from '@angular/core';\nimport { uiResizeSignal } from '../../helpers/resize-signal';\nimport { UiImageGridClickAreaDirective, } from './image-grid-click-area.directive';\nimport * as i0 from \"@angular/core\";\n/** Debounce/delay duration in milliseconds used for resize events and grid updates. */\nconst DELAY = 100;\n/**\n * Scrollable image grid that supports configurable columns, gap, overlay styles,\n * single-row mode, and active-item selection. A click area — the overlay that\n * appears on the active tile and whose second click emits `clickIndex` — is an\n * `<ng-template uiImageGridClickArea>` projected into the tag; the grid stamps\n * it into every tile with the tile's item and index as context.\n */\nlet UiImageGridComponent = class UiImageGridComponent {\n get scrollerHeightValue() {\n return this.scrollerHeight();\n }\n get fitClass() {\n return `_-fit-${this.imageFit()}`;\n }\n scroller;\n imageContainer;\n clickArea = contentChild(UiImageGridClickAreaDirective, {\n read: (TemplateRef),\n });\n resizeEvent = uiResizeSignal();\n data = input(null);\n /** Total number of items in `data`. */\n dataCount = computed(() => this.data()?.length ?? 0);\n /** Flat index array used to generate placeholder grid cells. */\n dataCountItems = signal([0]);\n debug = input(false);\n singleRow = input(false);\n gap = input(0);\n overlayType = input('default');\n /** CSS modifier class derived from `overlayType`. */\n overlayTypeClass = computed(() => `_-${this.overlayType()}`);\n cols = input(0);\n height = input();\n tileHeight = input();\n tileAspect = input('1/1');\n imageFit = input('none');\n action = input(false);\n loaded = input(false);\n setIndex = input(0);\n currentIndex = output();\n clickIndex = output();\n /** Whether the grid is a strip: one row of fixed-size tiles. */\n strip = computed(() => this.singleRow() && Boolean(this.tileHeight()));\n /** The strip tile's width in pixels, from its height and aspect. */\n tileWidth = computed(() => {\n const height = this.tileHeight() ?? 0;\n const [w, h] = this.tileAspect().split('/').map(Number);\n const ratio = w > 0 && h > 0 ? w / h : 1;\n return Math.round(height * ratio);\n });\n /** Computes the CSS height string for the scroller based on `height`, `cols`, and `singleRow`. */\n scrollerHeight = computed(() => {\n const height = this.height();\n const cols = this.cols();\n if (this.strip()) {\n return `${this.tileHeight()}px`;\n }\n if (this.singleRow() && height && cols) {\n return `${height / cols}px`;\n }\n if (height) {\n return `${height}px`;\n }\n return '200px';\n });\n /**\n * Adjusts the effective column count upward when the data count exceeds\n * the square of `cols`. A single row never pads: the square is the\n * two-dimensional grid's shape, and a row has no second dimension to fill.\n */\n gridColsInternal = computed(() => {\n const counter = this.cols();\n if (this.singleRow()) {\n return counter;\n }\n if (counter !== 0 && this.dataCount() / counter > counter) {\n return Math.ceil(this.dataCount() / counter);\n }\n else\n return counter;\n });\n /** Index of the currently selected grid cell, or `null` when nothing is selected. */\n active = signal(null);\n /** The tiles whose picture failed to load; they show their alt text instead. */\n broken = signal(new Set());\n /** Controls the initial fade-in visibility; starts hidden until the grid layout is ready. */\n hideDisplay = signal(true);\n /** True when the caller projected a click-area template. */\n clickAreaExist = computed(() => this.clickArea() !== undefined);\n constructor() {\n effect(() => {\n this.gap();\n this.height();\n this.cols();\n this.tileHeight();\n this.tileAspect();\n this.resizeEvent();\n this.updateGrid();\n });\n // New data, new verdicts: a picture that failed under the old list says\n // nothing about the one now standing at its index.\n effect(() => {\n this.data();\n this.broken.set(new Set());\n });\n effect(() => {\n this.setIndex();\n this.scrollToChild(this.setIndex());\n this.active.set(this.setIndex());\n });\n effect(() => {\n this.action();\n this.active.set(null);\n });\n }\n /** Initialises the active index and triggers the first grid update and fader. */\n ngAfterViewInit() {\n this.active.set(this.setIndex());\n this.updateGrid();\n this.fader();\n }\n /** The context a click-area template receives for the tile at `index`. */\n clickAreaContext(index) {\n const item = this.data()?.[index];\n return item ? { $implicit: item, index } : null;\n }\n updateGrid() {\n const scroller = this.scroller?.nativeElement;\n if (scroller) {\n scroller.style.height = this.scrollerHeight();\n }\n const element = this.imageContainer?.nativeElement;\n if (element && this.dataCount()) {\n const gap = this.gap();\n // A row holds exactly its items; the grid pads to a square.\n const tiles = this.singleRow()\n ? this.dataCount()\n : this.gridColsInternal() * this.gridColsInternal();\n this.dataCountItems.set(Array.from({ length: tiles }, (_, index) => index + 1));\n const repeatCount = this.singleRow()\n ? this.dataCount()\n : this.gridColsInternal();\n // The strip's tracks are the tile's own width, so the row overflows\n // and scrolls instead of shrinking every tile to fit.\n const track = this.strip() ? `${this.tileWidth()}px` : '1fr';\n setTimeout(() => {\n element.style.display = 'grid';\n element.style.gap = `${gap}px`;\n element.style.gridTemplateColumns = `repeat(${repeatCount}, ${track})`;\n element.style.width = this.strip() ? 'max-content' : '';\n this.applyStylesToChildren();\n }, DELAY);\n }\n }\n calculateGridSize(containerSize) {\n const counterValue = this.cols();\n const gridGapValue = this.gap();\n const scaledSize = containerSize / counterValue;\n const adjustedSize = scaledSize - gridGapValue;\n return Math.ceil(adjustedSize);\n }\n applyStylesToChildren() {\n const element = this.imageContainer?.nativeElement;\n if (element) {\n const strip = this.strip();\n const width = strip\n ? this.tileWidth()\n : this.calculateGridSize(element.offsetWidth ?? 0);\n const height = strip\n ? (this.tileHeight() ?? 0)\n : this.singleRow()\n ? element.offsetHeight\n : this.calculateGridSize(element.offsetHeight ?? 0);\n const applyChildStyles = (child) => {\n child.style.height = `${height}px`;\n child.style.width = `${width}px`;\n };\n element.childNodes.forEach((child) => {\n if (child instanceof HTMLElement) {\n applyChildStyles(child);\n }\n });\n }\n }\n /** Triggers a timed fade-in by briefly hiding the grid and then revealing it. */\n fader() {\n this.hideDisplay.set(true);\n setTimeout(() => {\n this.hideDisplay.set(false);\n }, DELAY * 8);\n }\n scrollToChild(index) {\n const containerElement = this.imageContainer?.nativeElement;\n const scrollerElement = this.scroller?.nativeElement;\n if (!containerElement || !scrollerElement)\n return;\n const targetChild = containerElement.childNodes[index];\n if (!(targetChild instanceof HTMLElement))\n return;\n const scrollOffset = this.calculateScrollOffset(scrollerElement, targetChild);\n scrollerElement.scrollTo({\n left: scrollOffset,\n top: 0,\n });\n }\n /**\n * Where the scroller has to stand so `child` sits in the middle of it.\n *\n * Measured against the SCROLLER, never against the grid inside it: in\n * strip mode the grid is `max-content` wide — every tile there is, far\n * wider than the window it scrolls behind — so half of it is not half of\n * what the reader sees. Taking that as the centre parked every tile near\n * the left edge instead of moving it into the middle.\n */\n calculateScrollOffset(viewport, child) {\n return child.offsetLeft - viewport.clientWidth / 2 + child.offsetWidth / 2;\n }\n /** Selects the cell at `index`, scrolls it into view, and emits selection events if action mode is enabled. */\n useAction(index) {\n if (this.action() && this.imageSrc(index)) {\n if (this.clickAreaExist() && this.active() === index) {\n this.clickIndex.emit(index);\n }\n this.currentIndex.emit(index);\n this.active.set(index);\n this.scrollToChild(index);\n }\n }\n /** Returns an inline `transform: scale(…)` style string for the image at `index`. */\n scale(index) {\n const value = this.data()?.[index]?.src.scale;\n return `transform: scale(${value ?? 1})`;\n }\n /** A picture failed to load: the tile shows its alt text from now on. */\n markBroken(index) {\n this.broken.update((current) => new Set(current).add(index));\n }\n /** Returns the default image URL for the item at `index`. */\n imageSrc(index) {\n return this.data()?.[index]?.src.default;\n }\n /** Returns the alt text for the item at `index`. */\n imageAlt(index) {\n return this.data()?.[index]?.alt;\n }\n /** Returns the title caption for the item at `index`. */\n imageTitle(index) {\n return this.data()?.[index]?.title;\n }\n static ctorParameters = () => [];\n static propDecorators = {\n scrollerHeightValue: [{ type: HostBinding, args: ['style.height',] }],\n fitClass: [{ type: HostBinding, args: ['class',] }],\n scroller: [{ type: ViewChild, args: ['scroller',] }],\n imageContainer: [{ type: ViewChild, args: ['imageContainer',] }],\n clickArea: [{ type: i0.ContentChild, args: [UiImageGridClickAreaDirective, { ...{\n read: (TemplateRef),\n }, isSignal: true },] }],\n data: [{ type: i0.Input, args: [{ isSignal: true, alias: \"data\", required: false, transform: undefined },] }],\n debug: [{ type: i0.Input, args: [{ isSignal: true, alias: \"debug\", required: false, transform: undefined },] }],\n singleRow: [{ type: i0.Input, args: [{ isSignal: true, alias: \"singleRow\", required: false, transform: undefined },] }],\n gap: [{ type: i0.Input, args: [{ isSignal: true, alias: \"gap\", required: false, transform: undefined },] }],\n overlayType: [{ type: i0.Input, args: [{ isSignal: true, alias: \"overlayType\", required: false, transform: undefined },] }],\n cols: [{ type: i0.Input, args: [{ isSignal: true, alias: \"cols\", required: false, transform: undefined },] }],\n height: [{ type: i0.Input, args: [{ isSignal: true, alias: \"height\", required: false, transform: undefined },] }],\n tileHeight: [{ type: i0.Input, args: [{ isSignal: true, alias: \"tileHeight\", required: false, transform: undefined },] }],\n tileAspect: [{ type: i0.Input, args: [{ isSignal: true, alias: \"tileAspect\", required: false, transform: undefined },] }],\n imageFit: [{ type: i0.Input, args: [{ isSignal: true, alias: \"imageFit\", required: false, transform: undefined },] }],\n action: [{ type: i0.Input, args: [{ isSignal: true, alias: \"action\", required: false, transform: undefined },] }],\n loaded: [{ type: i0.Input, args: [{ isSignal: true, alias: \"loaded\", required: false, transform: undefined },] }],\n setIndex: [{ type: i0.Input, args: [{ isSignal: true, alias: \"setIndex\", required: false, transform: undefined },] }],\n currentIndex: [{ type: i0.Output, args: [\"currentIndex\",] }],\n clickIndex: [{ type: i0.Output, args: [\"clickIndex\",] }]\n };\n};\nUiImageGridComponent = __decorate([\n Component({\n selector: 'ui-image-grid',\n template: __NG_CLI_RESOURCE__0,\n changeDetection: ChangeDetectionStrategy.Eager,\n imports: [NgTemplateOutlet],\n styles: [__NG_CLI_RESOURCE__1]\n }),\n __metadata(\"design:paramtypes\", [])\n], UiImageGridComponent);\nexport { UiImageGridComponent };\n","// Imports\nvar ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ = require(\"../../../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js\");\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../../../node_modules/css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `@layer ui.base, ui.components;\n@layer ui.components {\n:host {\n /* The scroller and the grid inside are positioned absolutely; the host is\n their anchor. Without this they climbed to the nearest positioned\n ancestor — an overlay's top edge, in one consumer. */\n position: relative;\n z-index: 0;\n --wrapper-height: 60rem;\n --button-size: 4rem;\n display: flex;\n /* Fills its container by default; the named hooks let a consumer set a fixed\n size without a cascade fight (tickets#241, tickets#251). */\n width: var(--ui-image-grid-width, 100%);\n height: var(--ui-image-grid-height, 100%);\n border-radius: calc(var(--ui-border-width) * 4);\n\n ._scroller {\n position: absolute;\n top: 0;\n left: 0;\n display: flex;\n width: 100%;\n height: 100%;\n overflow-y: hidden;\n overflow-x: scroll;\n background-color: var(--ui-c-background);\n scroll-behavior: smooth;\n }\n\n ._image-container {\n position: absolute;\n top: 0;\n left: 0;\n display: grid;\n width: 100%;\n height: 100%;\n transition: opacity calc(var(--ui-time) * 0.1) linear;\n\n &._-hide-display {\n opacity: 0;\n }\n\n button._wrapper {\n position: relative;\n display: flex;\n width: 100%;\n height: 100%;\n gap: calc(var(--ui-spacer) * 0.5);\n align-items: center;\n justify-content: center;\n overflow: hidden;\n transition: scale calc(var(--ui-time) * 0.5) ease-in-out;\n background-color: var(--ui-c-fourthly);\n border: 0;\n\n &._-no-image {\n cursor: default;\n opacity: 0.5;\n }\n\n /* A picture that did not load: its alt text, centred in the tile —\n the same look whatever the fit mode. */\n figure._-broken {\n width: 100%;\n height: 100%;\n justify-content: center;\n\n figcaption {\n padding: calc(var(--ui-spacer) * 0.25);\n text-align: center;\n }\n }\n\n /* The empty state, same arrangement as the image editor's: icon above,\n title below, both dimmed. */\n ._empty {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n gap: calc(var(--ui-spacer) * 0.25);\n }\n\n &._-default {\n &:not(._-action) {\n cursor: default;\n }\n\n &._-active {\n border: 0.32rem solid var(--ui-c-focus);\n\n img {\n transform: scale(1.1) !important;\n }\n }\n\n &._-action:hover {\n img {\n transform: scale(1.1) !important;\n }\n }\n }\n\n &._-doors {\n &._-active {\n border: 0.32rem solid var(--ui-c-focus);\n }\n\n &._-action:hover {\n img {\n transform: scale(1.1) !important;\n }\n }\n\n &::after,\n &::before {\n z-index: 1;\n content: '\\\\00a0';\n position: absolute;\n left: 0;\n display: flex;\n height: 100%;\n width: 100%;\n background-color: var(--ui-c-background);\n transition: var(--ui-time) ease-in-out;\n opacity: 0.6;\n }\n\n &::before {\n top: -50%;\n z-index: 1;\n }\n\n &::after {\n top: 50%;\n }\n\n &._-active::before {\n opacity: 0;\n top: -100%;\n }\n\n &._-active::after {\n opacity: 0;\n top: 100%;\n }\n }\n\n figure {\n position: relative;\n display: flex;\n flex-flow: column;\n justify-content: center;\n align-items: center;\n padding: 0;\n\n img {\n width: auto;\n max-width: initial;\n aspect-ratio: auto;\n transition: transform calc(var(--ui-time) * 0.5) ease-in-out;\n -webkit-user-select: none;\n user-select: none;\n }\n }\n\n\n ._click-area {\n position: absolute;\n display: flex;\n justify-content: center;\n align-items: center;\n width: 100%;\n height: 100%;\n opacity: 0;\n transition: var(--ui-time) ease-in-out;\n }\n\n &._-active {\n ._click-area {\n opacity: 1;\n }\n }\n }\n }\n}\n\n/* \\`imageFit\\`: the picture takes the tile and either fills it (cover) or\n fits inside it whole (contain). \\`none\\` keeps the picture at its own size,\n as above. Top level, because a nested \\`&\\` after \\`:host()\\` would name the\n host twice. */\n:host(._-fit-cover) ._image-container button._wrapper figure,\n:host(._-fit-cover) ._image-container button._wrapper figure img,\n:host(._-fit-contain) ._image-container button._wrapper figure,\n:host(._-fit-contain) ._image-container button._wrapper figure img {\n width: 100%;\n height: 100%;\n}\n\n:host(._-fit-cover) ._image-container button._wrapper figure img {\n object-fit: cover;\n}\n\n:host(._-fit-contain) ._image-container button._wrapper figure img {\n object-fit: contain;\n}\n}\n`, \"\"]);\n// Exports\nmodule.exports = ___CSS_LOADER_EXPORT___.toString();\n"],"names":[],"sourceRoot":""}
@@ -1,2 +0,0 @@
1
- "use strict";(self.webpackChunkmoja_work=self.webpackChunkmoja_work||[]).push([[3146,8039],{"./libs/ui/src/lib/atoms/image-grid/image-grid.component.stories.ts"(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.r(__webpack_exports__);var _angular_forms__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@angular/forms/fesm2022/forms.mjs"),_storybook_angular__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/@storybook/angular/dist/index.js"),_storybook_demos_header_header_component__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./libs/ui/.storybook/demos/header/header.component.ts"),_image_mock__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./libs/ui/src/lib/atoms/image.mock.ts"),_image_grid_click_area_directive__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./libs/ui/src/lib/atoms/image-grid/image-grid-click-area.directive.ts"),_image_grid_component__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./libs/ui/src/lib/atoms/image-grid/image-grid.component.ts");const __WEBPACK_DEFAULT_EXPORT__={title:"Atoms/Image Grid",component:_image_grid_component__WEBPACK_IMPORTED_MODULE_5__.p,decorators:[(0,_storybook_angular__WEBPACK_IMPORTED_MODULE_1__.Iz)({providers:[_angular_forms__WEBPACK_IMPORTED_MODULE_0__.vS],imports:[_storybook_demos_header_header_component__WEBPACK_IMPORTED_MODULE_2__.b,_angular_forms__WEBPACK_IMPORTED_MODULE_0__.YN,_image_grid_component__WEBPACK_IMPORTED_MODULE_5__.p,_image_grid_click_area_directive__WEBPACK_IMPORTED_MODULE_4__.u]})],argTypes:{cols:{control:{type:"range",min:1,max:16,step:1}},gap:{control:{type:"range",min:0,max:64,step:1}},height:{control:{type:"range",min:100,max:1e3,step:10}},setIndex:{control:{type:"range",min:0,max:24,step:1}},tileHeight:{control:{type:"range",min:40,max:300,step:10}},tileAspect:{control:"select",options:["1/1","16/9","4/3","2/3"]},imageFit:{control:"select",options:["none","cover","contain"]},action:{control:"boolean"},loaded:{control:"boolean"},singleRow:{control:"boolean"},overlayType:{control:"select",options:["default","doors"]},currentIndex:{table:{disable:!0}},clickIndex:{table:{disable:!0}},data:{control:"object"}},parameters:{docs:{canvas:{sourceState:"none"},source:{code:null}}},args:{cols:4,gap:4,height:520,setIndex:0,action:!0,loaded:!0,singleRow:!1,overlayType:"default",tileHeight:void 0,tileAspect:"1/1",imageFit:"none",data:(0,_image_mock__WEBPACK_IMPORTED_MODULE_3__.W)()}},ImageGrid={render:args=>({props:{...args},template:'\n <ui-intern-header theme="theme-light" [onTop]="true" [display]="true"></ui-intern-header>\n <section class="relative flex flex-col">\n <ui-image-grid\n [setIndex]="setIndex"\n (currentIndex)="currentIndex=$event"\n (clickIndex)="clickIndex=$event"\n [data]="data"\n [action]="action"\n [height]="height"\n [singleRow]="singleRow"\n [loaded]="loaded"\n [cols]="cols"\n [gap]="gap"\n [tileHeight]="tileHeight"\n [tileAspect]="tileAspect"\n [imageFit]="imageFit"\n [overlayType]="overlayType">\n <ng-template uiImageGridClickArea let-item let-index="index">\n <div class="bg-c-background p-2">{{ index + 1 }}: {{ item.title }}</div>\n </ng-template>\n </ui-image-grid>\n </section>\n '})},Strip={argTypes:Object.fromEntries(["cols","gap","height","setIndex","action","loaded","singleRow","data","debug"].map(key=>[key,{table:{disable:!0}}])),args:{tileHeight:100,tileAspect:"16/9",imageFit:"cover",overlayType:"default"},render:args=>({props:{...args,strip:(0,_image_mock__WEBPACK_IMPORTED_MODULE_3__.W)().slice(0,12)},template:'\n <ui-intern-header theme="theme-light" [onTop]="true" [display]="true"></ui-intern-header>\n <section class="relative flex w-full flex-col">\n <ui-image-grid\n class="w-full"\n [data]="strip"\n [singleRow]="true"\n [tileHeight]="tileHeight"\n [tileAspect]="tileAspect"\n [imageFit]="imageFit"\n [overlayType]="overlayType"\n [gap]="4"\n [action]="true"\n [loaded]="true">\n <ng-template uiImageGridClickArea let-item>\n <div class="bg-c-background px-2 py-1 font-bold">{{ item.alt }}</div>\n </ng-template>\n </ui-image-grid>\n </section>\n '})};ImageGrid.parameters={...ImageGrid.parameters,docs:{...ImageGrid.parameters?.docs,source:{originalSource:'{\n render: args => {\n return {\n props: {\n ...args\n },\n template: `\n <ui-intern-header theme="theme-light" [onTop]="true" [display]="true"></ui-intern-header>\n <section class="relative flex flex-col">\n <ui-image-grid\n [setIndex]="setIndex"\n (currentIndex)="currentIndex=$event"\n (clickIndex)="clickIndex=$event"\n [data]="data"\n [action]="action"\n [height]="height"\n [singleRow]="singleRow"\n [loaded]="loaded"\n [cols]="cols"\n [gap]="gap"\n [tileHeight]="tileHeight"\n [tileAspect]="tileAspect"\n [imageFit]="imageFit"\n [overlayType]="overlayType">\n <ng-template uiImageGridClickArea let-item let-index="index">\n <div class="bg-c-background p-2">{{ index + 1 }}: {{ item.title }}</div>\n </ng-template>\n </ui-image-grid>\n </section>\n `\n };\n }\n}',...ImageGrid.parameters?.docs?.source}}},Strip.parameters={...Strip.parameters,docs:{...Strip.parameters?.docs,source:{originalSource:'{\n argTypes: hideAll,\n args: {\n tileHeight: 100,\n tileAspect: \'16/9\',\n imageFit: \'cover\',\n overlayType: \'default\'\n },\n render: args => ({\n props: {\n ...args,\n strip: uiImageMock().slice(0, 12)\n },\n template: `\n <ui-intern-header theme="theme-light" [onTop]="true" [display]="true"></ui-intern-header>\n <section class="relative flex w-full flex-col">\n <ui-image-grid\n class="w-full"\n [data]="strip"\n [singleRow]="true"\n [tileHeight]="tileHeight"\n [tileAspect]="tileAspect"\n [imageFit]="imageFit"\n [overlayType]="overlayType"\n [gap]="4"\n [action]="true"\n [loaded]="true">\n <ng-template uiImageGridClickArea let-item>\n <div class="bg-c-background px-2 py-1 font-bold">{{ item.alt }}</div>\n </ng-template>\n </ui-image-grid>\n </section>\n `\n })\n}',...Strip.parameters?.docs?.source},description:{story:"One row of fixed-size tiles that scrolls sideways — an episode strip. The\ntiles keep their height and shape whatever the container's width; with\nmore of them than fit, the row overflows and scrolls instead of shrinking\nthem. `cols` is not read here, and nothing is padded: twelve pictures are\ntwelve tiles. The pictures fill their tiles (`imageFit: 'cover'`).",...Strip.parameters?.docs?.description}}},__webpack_require__.d(__webpack_exports__,["ImageGrid",0,ImageGrid,"Strip",0,Strip,"__namedExportsOrder",0,["ImageGrid","Strip"],"default",0,__WEBPACK_DEFAULT_EXPORT__])},"./libs/ui/.storybook/blocks/guide.mdx"(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{Ay:()=>MDXContent});__webpack_require__("./node_modules/react/index.js");var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/react/jsx-runtime.js"),_Users_moja_projects_moja_code_mojawork_mono_node_modules_storybook_addon_docs_dist_mdx_react_shim_js__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/@mdx-js/react/lib/index.js"),_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/@storybook/addon-docs/dist/blocks.js"),_guide_entries__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./libs/ui/.storybook/blocks/guide.entries.js"),_guide_model_mjs__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./libs/ui/.storybook/blocks/guide.model.mjs");const Link=({href,children})=>href?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_3__.zE,{href,children}):(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children}),Sentences=({items})=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("ul",{children:items.map((s,i)=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("li",{children:s},i))}),Block=({of,entry})=>{const m=(0,_guide_model_mjs__WEBPACK_IMPORTED_MODULE_5__.Cc)(entry,_guide_entries__WEBPACK_IMPORTED_MODULE_4__.H,of);return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("section",{className:"ui-guide",children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("h4",{children:["Guide — a recommendation, not the truth",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("small",{children:[" · reviewed ",m.reviewed]})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("p",{children:["Written by an agent from the sources below, only for what runs in the house."," ","component"===m.kind?"The section above is what the component does; this is what to reach for it for.":"The pages of the parts say what each does; this is what they are for together."," ","Where the two disagree, the page wins."]}),m.uses.length>0&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("p",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("strong",{children:"Builds on"})," ",m.uses.map((u,i)=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("span",{children:[i>0&&", ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Link,{href:u.href,children:u.selector})]},u.selector))]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("strong",{children:"Use it for"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Sentences,{items:m.useFor}),m.notFor.length>0&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.Fragment,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("strong",{children:"Not for"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Sentences,{items:m.notFor})]}),m.instead.length>0&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("p",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("strong",{children:"Instead"})," ",m.instead.map((s,i)=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("span",{children:[i>0&&", ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Link,{href:s.href,children:s.selector})]},s.selector))]}),m.note&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("p",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("strong",{children:"Note"})," ",m.note]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("p",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("strong",{children:"Shown in"})," ",m.shownIn.map((s,i)=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("span",{children:[i>0&&" · ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Link,{href:s.href,children:s.label})]},s.label))]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("p",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("small",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("strong",{children:"Sources"})," ",m.sources.join(" · ")]})})]})};function _createMdxContent(props){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.Fragment,{children:["\n","\n","\n","\n","\n","\n","\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Block,{of:props.of,entry:props.entry})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={...(0,_Users_moja_projects_moja_code_mojawork_mono_node_modules_storybook_addon_docs_dist_mdx_react_shim_js__WEBPACK_IMPORTED_MODULE_2__.R)(),...props.components};return MDXLayout?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(MDXLayout,{...props,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_createMdxContent,{...props})}):_createMdxContent(props)}},"./libs/ui/src/lib/atoms/image-grid/docs.mdx"(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>MDXContent});__webpack_require__("./node_modules/react/index.js");var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/react/jsx-runtime.js"),_Users_moja_projects_moja_code_mojawork_mono_node_modules_storybook_addon_docs_dist_mdx_react_shim_js__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/@mdx-js/react/lib/index.js"),_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/@storybook/addon-docs/dist/blocks.js"),_image_grid_component_stories__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./libs/ui/src/lib/atoms/image-grid/image-grid.component.stories.ts"),_storybook_blocks_guide_mdx__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./libs/ui/.storybook/blocks/guide.mdx"),_guide_ui_image_grid_json__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("./libs/ui/guide/ui-image-grid.json");function _createMdxContent(props){const _components={a:"a",code:"code",em:"em",h3:"h3",h4:"h4",h5:"h5",hr:"hr",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,_Users_moja_projects_moja_code_mojawork_mono_node_modules_storybook_addon_docs_dist_mdx_react_shim_js__WEBPACK_IMPORTED_MODULE_2__.R)(),...props.components};return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.Fragment,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_3__.W8,{of:_image_grid_component_stories__WEBPACK_IMPORTED_MODULE_4__}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h4,{id:"atoms-image-grid",children:"Atoms: Image Grid"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.p,{children:["The ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"UiImageGridComponent"})," is a versatile and responsive grid-based image display component. It allows for dynamic configuration of columns, gaps, and heights, making it suitable for galleries, portfolios, or any grouped image presentation."]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.hr,{}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h3,{id:"what-it-does-and-what-it-does-not",children:"What it does, and what it does not"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.p,{children:["Lays pictures out in a fixed number of columns, with a gap, a height and an\noptional overlay per tile, and reports which tile is selected or clicked. It\nshares an index with ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"ui-image-slider"})," (",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"setIndex"}),"/",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"currentIndex"}),") so grid and\nslider can point at the same picture. It opens nothing itself: a click emits\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"clickIndex"}),", and what follows — a slider in zoom, a route — is the host's\ndecision. ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"cols"})," must be set; the default ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"0"})," draws no columns."]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.p,{children:["As a ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.strong,{children:"strip"})," (",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"singleRow"})," with a ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"tileHeight"}),") it is one row of equally\nsized tiles that scrolls sideways once there are more than fit — a row of\nepisode stills, a row of posters. Then ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"cols"})," plays no part, nothing is\npadded, and ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"tileAspect"})," gives the tile its shape. ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"imageFit"})," decides how\na tile holds its picture in either mode: at its own size (the default), or\nfilling the tile, or fitted whole."]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.hr,{}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_storybook_blocks_guide_mdx__WEBPACK_IMPORTED_MODULE_5__.Ay,{of:"ui-image-grid",entry:_guide_ui_image_grid_json__WEBPACK_IMPORTED_MODULE_6__}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.hr,{}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h3,{id:"image-grid",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.a,{href:"?path=/story/atoms-image-grid--image-grid",children:"Image Grid"})}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.hr,{}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h3,{id:"strip",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.a,{href:"?path=/story/atoms-image-grid--strip",children:"Strip"})}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.p,{children:["One row of fixed-size tiles that scrolls sideways — an episode strip, a row\nof posters. ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"singleRow"})," with a ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"tileHeight"}),": every tile is that tall and\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"tileHeight × tileAspect"})," wide, the row holds exactly its items, and once\nthey are wider than the container it scrolls instead of shrinking them.\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"cols"})," is not read. The pictures fill their tiles (",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"imageFit: 'cover'"}),"), and\nthe click area names the tile — the story writes the item's ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"alt"})," into it."]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.hr,{}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h4,{id:"features",children:"Features"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.ul,{children:["\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.li,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.strong,{children:"Responsive Grid"}),": Automatically adjusts to its container and supports configurable column counts."]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.li,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.strong,{children:"Lazy Loading Support"}),": Integrated ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"loaded"})," state to manage image rendering."]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.li,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.strong,{children:"Interactive Overlays"}),": Supports different overlay types (e.g., 'default', 'doors') for enhanced user interaction."]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.li,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.strong,{children:"Click Area"}),": An ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"<ng-template uiImageGridClickArea>"})," projected into the tag is stamped into every tile as the active tile's overlay — with the tile's item and index as context."]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.li,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.strong,{children:"Action Mode"}),": Enable interactive selection with event emitting for current and clicked indices."]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.li,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.strong,{children:"Dynamic Styling"}),": Configure gap, height, and image scaling per item."]}),"\n"]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.hr,{}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h4,{id:"inputs",children:"Inputs"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("table",{class:"ui",children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("th",{children:"@Input"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("th",{children:"Type"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("th",{children:"Default"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("th",{children:"Description"})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"data"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"UiImageDisplayItemDataType[] | null"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"null"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"Array of image objects containing source, alt text, and scaling info."})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"cols"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"number"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"0"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("td",{children:["Number of columns in the grid. The default ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"0"})," renders no columns — always set it."]})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"gap"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"number"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"0"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"Gap between grid items in pixels."})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"height"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"number"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"undefined"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("td",{children:["Height of the grid container. If ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"singleRow"})," is false, this is the total height. If ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"singleRow"})," is true, this value is divided by ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"cols"})," to determine the row height. Falls back to 200px when no height is given."]})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"tileHeight"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"number"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"undefined"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("td",{children:["Strip mode, with ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"singleRow"}),": the fixed tile height in pixels. The row then holds exactly its items at that size and scrolls sideways when they do not fit; ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"cols"})," and ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"height"})," are not read. Without it the single row keeps its ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"height / cols"})," sizing."]})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"tileAspect"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"string"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"'1/1'"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("td",{children:["The strip tile's shape as ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"width/height"})," — ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"'16/9'"})," for stills, ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"'2/3'"})," for posters. Read only together with ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"tileHeight"}),"."]})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"imageFit"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"'none' | 'cover' | 'contain'"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"'none'"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("td",{children:["How a tile holds its picture. ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"none"})," draws it at its own size and lets the tile crop it; ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"cover"})," fills the tile and crops what does not fit; ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"contain"})," shows the whole picture with bars where the shapes differ."]})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"singleRow"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"boolean"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"false"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("td",{children:["If true, the grid renders as a single row with horizontal scrolling. The row height is calculated as ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"height / cols"}),"."]})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"setIndex"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"number"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"0"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"Programmatically set the active/scrolled-to image index."})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"action"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"boolean"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"false"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"Enables click interactions and active state highlighting."})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"loaded"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"boolean"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"false"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("td",{children:["Flag to trigger image rendering (useful for deferred loading). While it is false, every tile shows its title instead of its picture — the same branch a tile without a ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"src"}),' falls into, see "A tile without a picture".']})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"overlayType"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"'default' | 'doors'"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"'default'"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"Visual style of the hover/active overlay."})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"debug"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"boolean"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"false"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"Shows internal state information (cols, indices, src) for debugging."})]})]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.hr,{}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h4,{id:"a-tile-without-a-picture",children:"A tile without a picture"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.p,{children:["A tile without a source draws ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.strong,{children:"no image at all"}),": it shows an icon with the\nitem's ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"title"})," underneath, gets the modifier class ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"._-no-image"}),", and is left\nout of the click area. Nothing is broken — this is what the component does\nwhen it has nothing to show."]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.p,{children:["In the story above, the fourth tile is that case, and it says so: the entry\ncarries the title ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.em,{children:'"no image on purpose"'}),". Give it whatever wording fits your\ncase — the component supplies the space, never the words."]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.p,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.strong,{children:"A picture that fails to load"})," is the other case, and it ends in the same\npicture: the tile keeps its surface and shows the item's ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"alt"})," text, centred,\nwhatever the fit mode — a sized ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"<img>"})," that failed would otherwise draw the\nbrowser's broken-image icon in a corner. The grid marks the tile on the\nimage's ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"error"})," event; new data clears the marks."]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"Two things worth knowing about the empty state:"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.ul,{children:["\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.li,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.strong,{children:["It is the same branch as ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"loaded: false"}),"."]})," Turn ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"loaded"})," off and ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.em,{children:"every"}),'\ntile shows its title. The component does not distinguish "not there yet" from\n"not there at all" — both mean "no picture to draw", and both look the same.']}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.li,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.strong,{children:"The grid pads to a square."})," ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"gridColsInternal"})," squares the column count,\nso a data set that does not fill the last row leaves empty tiles behind. With\nthe story's 25 items that is 49 tiles: 24 of them carry no data and render as\nthe same empty state."]}),"\n"]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.hr,{}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h4,{id:"grid-logic",children:"Grid Logic"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"The component uses internal computed signals to determine the grid layout and height."}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.h5,{id:"column-calculation-gridcolsinternal",children:["Column Calculation (",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"gridColsInternal"}),")"]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.p,{children:["The number of columns is determined by the ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"cols"})," input and the total number of items (",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"dataCount"}),"):"]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.ul,{children:["\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.li,{children:["If ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"dataCount / cols > cols"}),', the grid becomes "square-ish" or expands to fit items, calculating columns as ',(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"Math.ceil(dataCount / cols)"}),"."]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.li,{children:["Otherwise, it uses the fixed ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"cols"})," value provided."]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.li,{children:["With ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"cols"})," at ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"0"})," (the default) no expansion happens and the grid gets zero columns — a column count is part of using the component."]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.li,{children:["A ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.strong,{children:"single row never expands and never pads"}),": it holds exactly its items. The square is the two-dimensional grid's shape, and a row has no second dimension to fill."]}),"\n"]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.h5,{id:"height-calculation-scrollerheight",children:["Height Calculation (",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"scrollerHeight"}),")"]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"The height of the grid container is dynamically calculated:"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.ul,{children:["\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.li,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.strong,{children:["Standard Mode (",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"singleRow"})," is false)"]}),": Uses the ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"height"})," input value in pixels. Falls back to ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"200px"})," when no ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"height"})," is given."]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.li,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.strong,{children:["Single Row Mode (",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"singleRow"})," is true)"]}),": The height is calculated as ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"height / cols"})," (both must be set; otherwise the same ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"height"}),"-or-",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"200px"})," fallback applies). This ensures that even in a horizontal scroll scenario, the items maintain a consistent aspect ratio based on the intended column count."]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.li,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.strong,{children:["Strip Mode (",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"singleRow"})," with ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"tileHeight"}),")"]}),": The height IS ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"tileHeight"}),"; each tile is ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"tileHeight"})," tall and ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"tileHeight × tileAspect"})," wide, and the row's tracks are that width, so the row overflows and scrolls instead of shrinking the tiles to fit. A tile that becomes active — by a click or through ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"setIndex"})," — is scrolled into the middle of the visible row. See the ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.a,{href:"?path=/story/atoms-image-grid--strip",children:"Strip"})," story."]}),"\n"]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.hr,{}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h4,{id:"outputs",children:"Outputs"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("table",{class:"ui",children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("th",{children:"@Output"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("th",{children:"Type"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("th",{children:"Description"})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"currentIndex"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"output<number>"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"Emitted when a new item becomes active or is clicked."})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"clickIndex"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"output<number>"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:"Emitted when an already active item is clicked (only when a click-area template is projected)."})]})]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.hr,{}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h4,{id:"the-click-area",children:"The click area"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.p,{children:["The overlay that appears on the ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.strong,{children:"active"})," tile, and whose second click\nemits ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"clickIndex"}),". It is an ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"<ng-template uiImageGridClickArea>"})," projected\ninto the tag: the grid stamps it into every tile, so everything Angular can\ndo inside a template works here — bindings, pipes, ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"(click)"})," handlers — and\nthe template is handed the tile's item (",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"let-item"}),") and index\n(",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:'let-index="index"'}),")."]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"A template rather than projected content, because content can be projected\nonce and the grid needs the area in every tile. It used to clone a projected\nelement's innerHTML per tile, which ran the markup through the sanitizer and\nleft a dead copy without events; a stamped template keeps all of that alive."}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.p,{children:["The marker is the directive ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"UiImageGridClickAreaDirective"})," — import it next\nto the grid. It is a marker and nothing else, so the grid finds the click\narea by name rather than taking the first template it meets; a caller may\nproject other templates (",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"*ngIf"}),", a structural directive of their own)\nwithout one of those ending up in every tile."]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.pre,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{className:"language-html",children:'<ui-image-grid [data]="myData" [action]="true" (clickIndex)="open($event)">\n <ng-template uiImageGridClickArea let-item let-index="index">\n <div class="my-overlay">{{ index + 1 }}: {{ item.title }}</div>\n </ng-template>\n</ui-image-grid>\n'})}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.hr,{}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h3,{id:"sizing",children:"Sizing"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.p,{children:["The host fills its container (",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"100%"})," / ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"100%"}),") by default. Give it a fixed size\nwithout a cascade fight through the named hooks ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"--ui-image-grid-width"})," and\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"--ui-image-grid-height"}),"."]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={...(0,_Users_moja_projects_moja_code_mojawork_mono_node_modules_storybook_addon_docs_dist_mdx_react_shim_js__WEBPACK_IMPORTED_MODULE_2__.R)(),...props.components};return MDXLayout?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(MDXLayout,{...props,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_createMdxContent,{...props})}):_createMdxContent(props)}}}]);
2
- //# sourceMappingURL=atoms-image-grid-docs-mdx.884fa455.iframe.bundle.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"atoms-image-grid-docs-mdx.ec5695b0.iframe.bundle.js","mappings":"AAMA","sources":["webpack://moja-work/./libs/ui/src/lib/atoms/image-grid/image-grid.component.stories.ts","webpack://moja-work/./libs/ui/.storybook/blocks/guide.mdx","webpack://moja-work/./libs/ui/src/lib/atoms/image-grid/docs.mdx"],"sourcesContent":["import { FormsModule, NgModel } from '@angular/forms';\nimport { moduleMetadata } from '@storybook/angular';\nimport { UiInternHeaderComponent } from '../../../../.storybook/demos/header/header.component';\nimport { uiImageMock } from '../image.mock';\nimport { UiImageGridClickAreaDirective } from './image-grid-click-area.directive';\nimport { UiImageGridComponent } from './image-grid.component';\nconst meta = {\n title: 'Atoms/Image Grid',\n component: UiImageGridComponent,\n decorators: [\n moduleMetadata({\n providers: [NgModel],\n imports: [\n UiInternHeaderComponent,\n FormsModule,\n UiImageGridComponent,\n UiImageGridClickAreaDirective,\n ],\n }),\n ],\n argTypes: {\n cols: { control: { type: 'range', min: 1, max: 16, step: 1 } },\n gap: { control: { type: 'range', min: 0, max: 64, step: 1 } },\n height: { control: { type: 'range', min: 100, max: 1000, step: 10 } },\n setIndex: { control: { type: 'range', min: 0, max: 24, step: 1 } },\n tileHeight: { control: { type: 'range', min: 40, max: 300, step: 10 } },\n tileAspect: { control: 'select', options: ['1/1', '16/9', '4/3', '2/3'] },\n imageFit: { control: 'select', options: ['none', 'cover', 'contain'] },\n action: { control: 'boolean' },\n loaded: { control: 'boolean' },\n singleRow: { control: 'boolean' },\n overlayType: {\n control: 'select',\n options: ['default', 'doors'],\n },\n // Outputs, not settings. The Actions addon is switched off library-wide\n // (`actions: { disable: true }` in preview.ts), so an `action:` entry here\n // produced a row that offered \"Setup controls\" and then did nothing. The\n // emissions are documented in docs.mdx; the panel stays free of rows that\n // cannot move anything.\n currentIndex: { table: { disable: true } },\n clickIndex: { table: { disable: true } },\n data: { control: 'object' },\n },\n parameters: {\n docs: {\n canvas: {\n sourceState: 'none',\n },\n source: {\n code: null,\n },\n },\n },\n args: {\n cols: 4,\n gap: 4,\n height: 520,\n setIndex: 0,\n action: true,\n loaded: true,\n singleRow: false,\n overlayType: 'default',\n tileHeight: undefined,\n tileAspect: '1/1',\n imageFit: 'none',\n data: uiImageMock(),\n },\n};\n/** The default story shows everything; the strip shows its own three and the overlay. */\nconst hideAll = Object.fromEntries(['cols', 'gap', 'height', 'setIndex', 'action', 'loaded', 'singleRow', 'data', 'debug'].map((key) => [key, { table: { disable: true } }]));\nexport default meta;\nexport const ImageGrid = {\n render: (args) => {\n return {\n props: {\n ...args,\n },\n template: `\n <ui-intern-header theme=\"theme-light\" [onTop]=\"true\" [display]=\"true\"></ui-intern-header>\n <section class=\"relative flex flex-col\">\n <ui-image-grid\n [setIndex]=\"setIndex\"\n (currentIndex)=\"currentIndex=$event\"\n (clickIndex)=\"clickIndex=$event\"\n [data]=\"data\"\n [action]=\"action\"\n [height]=\"height\"\n [singleRow]=\"singleRow\"\n [loaded]=\"loaded\"\n [cols]=\"cols\"\n [gap]=\"gap\"\n [tileHeight]=\"tileHeight\"\n [tileAspect]=\"tileAspect\"\n [imageFit]=\"imageFit\"\n [overlayType]=\"overlayType\">\n <ng-template uiImageGridClickArea let-item let-index=\"index\">\n <div class=\"bg-c-background p-2\">{{ index + 1 }}: {{ item.title }}</div>\n </ng-template>\n </ui-image-grid>\n </section>\n `,\n };\n },\n};\n/**\n * One row of fixed-size tiles that scrolls sideways — an episode strip. The\n * tiles keep their height and shape whatever the container's width; with\n * more of them than fit, the row overflows and scrolls instead of shrinking\n * them. `cols` is not read here, and nothing is padded: twelve pictures are\n * twelve tiles. The pictures fill their tiles (`imageFit: 'cover'`).\n */\nexport const Strip = {\n argTypes: hideAll,\n args: {\n tileHeight: 100,\n tileAspect: '16/9',\n imageFit: 'cover',\n overlayType: 'default',\n },\n render: (args) => ({\n props: { ...args, strip: uiImageMock().slice(0, 12) },\n template: `\n <ui-intern-header theme=\"theme-light\" [onTop]=\"true\" [display]=\"true\"></ui-intern-header>\n <section class=\"relative flex w-full flex-col\">\n <ui-image-grid\n class=\"w-full\"\n [data]=\"strip\"\n [singleRow]=\"true\"\n [tileHeight]=\"tileHeight\"\n [tileAspect]=\"tileAspect\"\n [imageFit]=\"imageFit\"\n [overlayType]=\"overlayType\"\n [gap]=\"4\"\n [action]=\"true\"\n [loaded]=\"true\">\n <ng-template uiImageGridClickArea let-item>\n <div class=\"bg-c-background px-2 py-1 font-bold\">{{ item.alt }}</div>\n </ng-template>\n </ui-image-grid>\n </section>\n `,\n }),\n};\n","\nimport React from 'react';\n\n/*\nThe guide block (tickets#265): one entry of libs/ui/guide/, rendered.\nUsed from a docs page as\n\nimport Guide from '../../../../.storybook/blocks/guide.mdx';\nimport entry from '../../../../guide/ui-card.json';\n<Guide of=\"ui-card\" entry={entry} />\n\nThe JSON import is the loud part: a page whose entry does not exist fails\nthe build at the import, not at render. This file holds no guidance of its\nown — it is the view of what guide.model.mjs hands it.\n*/\n/*AnchorMdx is what markdown links on every docs page render through: it\nhands a `?path=` href to the manager instead of the docs iframe. A raw\n<a> would resolve against iframe.html and open a bare page.*/\nimport {Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs} from \"react/jsx-runtime\";\nimport {useMDXComponents as _provideComponents} from \"/Users/moja/projects/moja-code/mojawork/mono/node_modules/@storybook/addon-docs/dist/mdx-react-shim.js\";\nimport {AnchorMdx} from '@storybook/addon-docs/blocks';\nimport {guideEntries} from './guide.entries';\nimport {guideModel} from './guide.model.mjs';\nexport const Link = ({href, children}) => href ? _jsx(AnchorMdx, {\n href: href,\n children: children\n}) : _jsx(\"code\", {\n children: children\n});\nexport const Sentences = ({items}) => _jsx(\"ul\", {\n children: items.map((s, i) => _jsx(\"li\", {\n children: s\n }, i))\n});\nexport const Block = ({of, entry}) => {\n const m = guideModel(entry, guideEntries, of);\n return _jsxs(\"section\", {\n className: \"ui-guide\",\n children: [_jsxs(\"h4\", {\n children: [\"Guide — a recommendation, not the truth\", _jsxs(\"small\", {\n children: [\" · reviewed \", m.reviewed]\n })]\n }), _jsxs(\"p\", {\n children: [\"Written by an agent from the sources below, only for what runs in the house.\", ' ', m.kind === 'component' ? 'The section above is what the component does; this is what to reach for it for.' : 'The pages of the parts say what each does; this is what they are for together.', ' ', \"Where the two disagree, the page wins.\"]\n }), m.uses.length > 0 && _jsxs(\"p\", {\n children: [_jsx(\"strong\", {\n children: \"Builds on\"\n }), ' ', m.uses.map((u, i) => _jsxs(\"span\", {\n children: [i > 0 && ', ', _jsx(Link, {\n href: u.href,\n children: u.selector\n })]\n }, u.selector))]\n }), _jsx(\"strong\", {\n children: \"Use it for\"\n }), _jsx(Sentences, {\n items: m.useFor\n }), m.notFor.length > 0 && _jsxs(_Fragment, {\n children: [_jsx(\"strong\", {\n children: \"Not for\"\n }), _jsx(Sentences, {\n items: m.notFor\n })]\n }), m.instead.length > 0 && _jsxs(\"p\", {\n children: [_jsx(\"strong\", {\n children: \"Instead\"\n }), ' ', m.instead.map((s, i) => _jsxs(\"span\", {\n children: [i > 0 && ', ', _jsx(Link, {\n href: s.href,\n children: s.selector\n })]\n }, s.selector))]\n }), m.note && _jsxs(\"p\", {\n children: [_jsx(\"strong\", {\n children: \"Note\"\n }), \" \", m.note]\n }), _jsxs(\"p\", {\n children: [_jsx(\"strong\", {\n children: \"Shown in\"\n }), ' ', m.shownIn.map((s, i) => _jsxs(\"span\", {\n children: [i > 0 && ' · ', _jsx(Link, {\n href: s.href,\n children: s.label\n })]\n }, s.label))]\n }), _jsx(\"p\", {\n children: _jsxs(\"small\", {\n children: [_jsx(\"strong\", {\n children: \"Sources\"\n }), \" \", m.sources.join(' · ')]\n })\n })]\n });\n};\nfunction _createMdxContent(props) {\n return _jsxs(_Fragment, {\n children: [\"\\n\", \"\\n\", \"\\n\", \"\\n\", \"\\n\", \"\\n\", \"\\n\", _jsx(Block, {\n of: props.of,\n entry: props.entry\n })]\n });\n}\nexport default function MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\n","\nimport React from 'react';\n\nimport {Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs} from \"react/jsx-runtime\";\nimport {useMDXComponents as _provideComponents} from \"/Users/moja/projects/moja-code/mojawork/mono/node_modules/@storybook/addon-docs/dist/mdx-react-shim.js\";\nimport {Canvas, Meta} from '@storybook/addon-docs/blocks';\nimport * as story from './image-grid.component.stories';\nimport Guide from '../../../../.storybook/blocks/guide.mdx';\nimport guide from '../../../../guide/ui-image-grid.json';\nfunction _createMdxContent(props) {\n const _components = {\n a: \"a\",\n code: \"code\",\n em: \"em\",\n h3: \"h3\",\n h4: \"h4\",\n h5: \"h5\",\n hr: \"hr\",\n li: \"li\",\n p: \"p\",\n pre: \"pre\",\n strong: \"strong\",\n ul: \"ul\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(Meta, {\n of: story\n }), \"\\n\", _jsx(_components.h4, {\n id: \"atoms-image-grid\",\n children: \"Atoms: Image Grid\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"The \", _jsx(_components.code, {\n children: \"UiImageGridComponent\"\n }), \" is a versatile and responsive grid-based image display component. It allows for dynamic configuration of columns, gaps, and heights, making it suitable for galleries, portfolios, or any grouped image presentation.\"]\n }), \"\\n\", _jsx(_components.hr, {}), \"\\n\", _jsx(_components.h3, {\n id: \"what-it-does-and-what-it-does-not\",\n children: \"What it does, and what it does not\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Lays pictures out in a fixed number of columns, with a gap, a height and an\\noptional overlay per tile, and reports which tile is selected or clicked. It\\nshares an index with \", _jsx(_components.code, {\n children: \"ui-image-slider\"\n }), \" (\", _jsx(_components.code, {\n children: \"setIndex\"\n }), \"/\", _jsx(_components.code, {\n children: \"currentIndex\"\n }), \") so grid and\\nslider can point at the same picture. It opens nothing itself: a click emits\\n\", _jsx(_components.code, {\n children: \"clickIndex\"\n }), \", and what follows — a slider in zoom, a route — is the host's\\ndecision. \", _jsx(_components.code, {\n children: \"cols\"\n }), \" must be set; the default \", _jsx(_components.code, {\n children: \"0\"\n }), \" draws no columns.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"As a \", _jsx(_components.strong, {\n children: \"strip\"\n }), \" (\", _jsx(_components.code, {\n children: \"singleRow\"\n }), \" with a \", _jsx(_components.code, {\n children: \"tileHeight\"\n }), \") it is one row of equally\\nsized tiles that scrolls sideways once there are more than fit — a row of\\nepisode stills, a row of posters. Then \", _jsx(_components.code, {\n children: \"cols\"\n }), \" plays no part, nothing is\\npadded, and \", _jsx(_components.code, {\n children: \"tileAspect\"\n }), \" gives the tile its shape. \", _jsx(_components.code, {\n children: \"imageFit\"\n }), \" decides how\\na tile holds its picture in either mode: at its own size (the default), or\\nfilling the tile, or fitted whole.\"]\n }), \"\\n\", _jsx(_components.hr, {}), \"\\n\", _jsx(Guide, {\n of: \"ui-image-grid\",\n entry: guide\n }), \"\\n\", _jsx(_components.hr, {}), \"\\n\", _jsx(_components.h3, {\n id: \"image-grid\",\n children: _jsx(_components.a, {\n href: \"?path=/story/atoms-image-grid--image-grid\",\n children: \"Image Grid\"\n })\n }), \"\\n\", _jsx(_components.hr, {}), \"\\n\", _jsx(_components.h3, {\n id: \"strip\",\n children: _jsx(_components.a, {\n href: \"?path=/story/atoms-image-grid--strip\",\n children: \"Strip\"\n })\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"One row of fixed-size tiles that scrolls sideways — an episode strip, a row\\nof posters. \", _jsx(_components.code, {\n children: \"singleRow\"\n }), \" with a \", _jsx(_components.code, {\n children: \"tileHeight\"\n }), \": every tile is that tall and\\n\", _jsx(_components.code, {\n children: \"tileHeight × tileAspect\"\n }), \" wide, the row holds exactly its items, and once\\nthey are wider than the container it scrolls instead of shrinking them.\\n\", _jsx(_components.code, {\n children: \"cols\"\n }), \" is not read. The pictures fill their tiles (\", _jsx(_components.code, {\n children: \"imageFit: 'cover'\"\n }), \"), and\\nthe click area names the tile — the story writes the item's \", _jsx(_components.code, {\n children: \"alt\"\n }), \" into it.\"]\n }), \"\\n\", _jsx(_components.hr, {}), \"\\n\", _jsx(_components.h4, {\n id: \"features\",\n children: \"Features\"\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.strong, {\n children: \"Responsive Grid\"\n }), \": Automatically adjusts to its container and supports configurable column counts.\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.strong, {\n children: \"Lazy Loading Support\"\n }), \": Integrated \", _jsx(_components.code, {\n children: \"loaded\"\n }), \" state to manage image rendering.\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.strong, {\n children: \"Interactive Overlays\"\n }), \": Supports different overlay types (e.g., 'default', 'doors') for enhanced user interaction.\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.strong, {\n children: \"Click Area\"\n }), \": An \", _jsx(_components.code, {\n children: \"<ng-template uiImageGridClickArea>\"\n }), \" projected into the tag is stamped into every tile as the active tile's overlay — with the tile's item and index as context.\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.strong, {\n children: \"Action Mode\"\n }), \": Enable interactive selection with event emitting for current and clicked indices.\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.strong, {\n children: \"Dynamic Styling\"\n }), \": Configure gap, height, and image scaling per item.\"]\n }), \"\\n\"]\n }), \"\\n\", _jsx(_components.hr, {}), \"\\n\", _jsx(_components.h4, {\n id: \"inputs\",\n children: \"Inputs\"\n }), \"\\n\", _jsxs(\"table\", {\n class: \"ui\",\n children: [_jsxs(\"tr\", {\n children: [_jsx(\"th\", {\n children: \"@Input\"\n }), _jsx(\"th\", {\n children: \"Type\"\n }), _jsx(\"th\", {\n children: \"Default\"\n }), _jsx(\"th\", {\n children: \"Description\"\n })]\n }), _jsxs(\"tr\", {\n children: [_jsx(\"td\", {\n children: \"data\"\n }), _jsx(\"td\", {\n children: _jsx(\"code\", {\n children: \"UiImageDisplayItemDataType[] | null\"\n })\n }), _jsx(\"td\", {\n children: \"null\"\n }), _jsx(\"td\", {\n children: \"Array of image objects containing source, alt text, and scaling info.\"\n })]\n }), _jsxs(\"tr\", {\n children: [_jsx(\"td\", {\n children: \"cols\"\n }), _jsx(\"td\", {\n children: \"number\"\n }), _jsx(\"td\", {\n children: \"0\"\n }), _jsxs(\"td\", {\n children: [\"Number of columns in the grid. The default \", _jsx(\"code\", {\n children: \"0\"\n }), \" renders no columns — always set it.\"]\n })]\n }), _jsxs(\"tr\", {\n children: [_jsx(\"td\", {\n children: \"gap\"\n }), _jsx(\"td\", {\n children: \"number\"\n }), _jsx(\"td\", {\n children: \"0\"\n }), _jsx(\"td\", {\n children: \"Gap between grid items in pixels.\"\n })]\n }), _jsxs(\"tr\", {\n children: [_jsx(\"td\", {\n children: \"height\"\n }), _jsx(\"td\", {\n children: \"number\"\n }), _jsx(\"td\", {\n children: \"undefined\"\n }), _jsxs(\"td\", {\n children: [\"Height of the grid container. If \", _jsx(\"code\", {\n children: \"singleRow\"\n }), \" is false, this is the total height. If \", _jsx(\"code\", {\n children: \"singleRow\"\n }), \" is true, this value is divided by \", _jsx(\"code\", {\n children: \"cols\"\n }), \" to determine the row height. Falls back to 200px when no height is given.\"]\n })]\n }), _jsxs(\"tr\", {\n children: [_jsx(\"td\", {\n children: \"tileHeight\"\n }), _jsx(\"td\", {\n children: \"number\"\n }), _jsx(\"td\", {\n children: \"undefined\"\n }), _jsxs(\"td\", {\n children: [\"Strip mode, with \", _jsx(\"code\", {\n children: \"singleRow\"\n }), \": the fixed tile height in pixels. The row then holds exactly its items at that size and scrolls sideways when they do not fit; \", _jsx(\"code\", {\n children: \"cols\"\n }), \" and \", _jsx(\"code\", {\n children: \"height\"\n }), \" are not read. Without it the single row keeps its \", _jsx(\"code\", {\n children: \"height / cols\"\n }), \" sizing.\"]\n })]\n }), _jsxs(\"tr\", {\n children: [_jsx(\"td\", {\n children: \"tileAspect\"\n }), _jsx(\"td\", {\n children: \"string\"\n }), _jsx(\"td\", {\n children: \"'1/1'\"\n }), _jsxs(\"td\", {\n children: [\"The strip tile's shape as \", _jsx(\"code\", {\n children: \"width/height\"\n }), \" — \", _jsx(\"code\", {\n children: \"'16/9'\"\n }), \" for stills, \", _jsx(\"code\", {\n children: \"'2/3'\"\n }), \" for posters. Read only together with \", _jsx(\"code\", {\n children: \"tileHeight\"\n }), \".\"]\n })]\n }), _jsxs(\"tr\", {\n children: [_jsx(\"td\", {\n children: \"imageFit\"\n }), _jsx(\"td\", {\n children: _jsx(\"code\", {\n children: \"'none' | 'cover' | 'contain'\"\n })\n }), _jsx(\"td\", {\n children: \"'none'\"\n }), _jsxs(\"td\", {\n children: [\"How a tile holds its picture. \", _jsx(\"code\", {\n children: \"none\"\n }), \" draws it at its own size and lets the tile crop it; \", _jsx(\"code\", {\n children: \"cover\"\n }), \" fills the tile and crops what does not fit; \", _jsx(\"code\", {\n children: \"contain\"\n }), \" shows the whole picture with bars where the shapes differ.\"]\n })]\n }), _jsxs(\"tr\", {\n children: [_jsx(\"td\", {\n children: \"singleRow\"\n }), _jsx(\"td\", {\n children: \"boolean\"\n }), _jsx(\"td\", {\n children: \"false\"\n }), _jsxs(\"td\", {\n children: [\"If true, the grid renders as a single row with horizontal scrolling. The row height is calculated as \", _jsx(\"code\", {\n children: \"height / cols\"\n }), \".\"]\n })]\n }), _jsxs(\"tr\", {\n children: [_jsx(\"td\", {\n children: \"setIndex\"\n }), _jsx(\"td\", {\n children: \"number\"\n }), _jsx(\"td\", {\n children: \"0\"\n }), _jsx(\"td\", {\n children: \"Programmatically set the active/scrolled-to image index.\"\n })]\n }), _jsxs(\"tr\", {\n children: [_jsx(\"td\", {\n children: \"action\"\n }), _jsx(\"td\", {\n children: \"boolean\"\n }), _jsx(\"td\", {\n children: \"false\"\n }), _jsx(\"td\", {\n children: \"Enables click interactions and active state highlighting.\"\n })]\n }), _jsxs(\"tr\", {\n children: [_jsx(\"td\", {\n children: \"loaded\"\n }), _jsx(\"td\", {\n children: \"boolean\"\n }), _jsx(\"td\", {\n children: \"false\"\n }), _jsxs(\"td\", {\n children: [\"Flag to trigger image rendering (useful for deferred loading). While it is false, every tile shows its title instead of its picture — the same branch a tile without a \", _jsx(\"code\", {\n children: \"src\"\n }), \" falls into, see \\\"A tile without a picture\\\".\"]\n })]\n }), _jsxs(\"tr\", {\n children: [_jsx(\"td\", {\n children: \"overlayType\"\n }), _jsx(\"td\", {\n children: _jsx(\"code\", {\n children: \"'default' | 'doors'\"\n })\n }), _jsx(\"td\", {\n children: \"'default'\"\n }), _jsx(\"td\", {\n children: \"Visual style of the hover/active overlay.\"\n })]\n }), _jsxs(\"tr\", {\n children: [_jsx(\"td\", {\n children: \"debug\"\n }), _jsx(\"td\", {\n children: \"boolean\"\n }), _jsx(\"td\", {\n children: \"false\"\n }), _jsx(\"td\", {\n children: \"Shows internal state information (cols, indices, src) for debugging.\"\n })]\n })]\n }), \"\\n\", _jsx(_components.hr, {}), \"\\n\", _jsx(_components.h4, {\n id: \"a-tile-without-a-picture\",\n children: \"A tile without a picture\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"A tile without a source draws \", _jsx(_components.strong, {\n children: \"no image at all\"\n }), \": it shows an icon with the\\nitem's \", _jsx(_components.code, {\n children: \"title\"\n }), \" underneath, gets the modifier class \", _jsx(_components.code, {\n children: \"._-no-image\"\n }), \", and is left\\nout of the click area. Nothing is broken — this is what the component does\\nwhen it has nothing to show.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"In the story above, the fourth tile is that case, and it says so: the entry\\ncarries the title \", _jsx(_components.em, {\n children: \"\\\"no image on purpose\\\"\"\n }), \". Give it whatever wording fits your\\ncase — the component supplies the space, never the words.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"A picture that fails to load\"\n }), \" is the other case, and it ends in the same\\npicture: the tile keeps its surface and shows the item's \", _jsx(_components.code, {\n children: \"alt\"\n }), \" text, centred,\\nwhatever the fit mode — a sized \", _jsx(_components.code, {\n children: \"<img>\"\n }), \" that failed would otherwise draw the\\nbrowser's broken-image icon in a corner. The grid marks the tile on the\\nimage's \", _jsx(_components.code, {\n children: \"error\"\n }), \" event; new data clears the marks.\"]\n }), \"\\n\", _jsx(_components.p, {\n children: \"Two things worth knowing about the empty state:\"\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsxs(_components.li, {\n children: [_jsxs(_components.strong, {\n children: [\"It is the same branch as \", _jsx(_components.code, {\n children: \"loaded: false\"\n }), \".\"]\n }), \" Turn \", _jsx(_components.code, {\n children: \"loaded\"\n }), \" off and \", _jsx(_components.em, {\n children: \"every\"\n }), \"\\ntile shows its title. The component does not distinguish \\\"not there yet\\\" from\\n\\\"not there at all\\\" — both mean \\\"no picture to draw\\\", and both look the same.\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.strong, {\n children: \"The grid pads to a square.\"\n }), \" \", _jsx(_components.code, {\n children: \"gridColsInternal\"\n }), \" squares the column count,\\nso a data set that does not fill the last row leaves empty tiles behind. With\\nthe story's 25 items that is 49 tiles: 24 of them carry no data and render as\\nthe same empty state.\"]\n }), \"\\n\"]\n }), \"\\n\", _jsx(_components.hr, {}), \"\\n\", _jsx(_components.h4, {\n id: \"grid-logic\",\n children: \"Grid Logic\"\n }), \"\\n\", _jsx(_components.p, {\n children: \"The component uses internal computed signals to determine the grid layout and height.\"\n }), \"\\n\", _jsxs(_components.h5, {\n id: \"column-calculation-gridcolsinternal\",\n children: [\"Column Calculation (\", _jsx(_components.code, {\n children: \"gridColsInternal\"\n }), \")\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"The number of columns is determined by the \", _jsx(_components.code, {\n children: \"cols\"\n }), \" input and the total number of items (\", _jsx(_components.code, {\n children: \"dataCount\"\n }), \"):\"]\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsxs(_components.li, {\n children: [\"If \", _jsx(_components.code, {\n children: \"dataCount / cols > cols\"\n }), \", the grid becomes \\\"square-ish\\\" or expands to fit items, calculating columns as \", _jsx(_components.code, {\n children: \"Math.ceil(dataCount / cols)\"\n }), \".\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [\"Otherwise, it uses the fixed \", _jsx(_components.code, {\n children: \"cols\"\n }), \" value provided.\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [\"With \", _jsx(_components.code, {\n children: \"cols\"\n }), \" at \", _jsx(_components.code, {\n children: \"0\"\n }), \" (the default) no expansion happens and the grid gets zero columns — a column count is part of using the component.\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [\"A \", _jsx(_components.strong, {\n children: \"single row never expands and never pads\"\n }), \": it holds exactly its items. The square is the two-dimensional grid's shape, and a row has no second dimension to fill.\"]\n }), \"\\n\"]\n }), \"\\n\", _jsxs(_components.h5, {\n id: \"height-calculation-scrollerheight\",\n children: [\"Height Calculation (\", _jsx(_components.code, {\n children: \"scrollerHeight\"\n }), \")\"]\n }), \"\\n\", _jsx(_components.p, {\n children: \"The height of the grid container is dynamically calculated:\"\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsxs(_components.li, {\n children: [_jsxs(_components.strong, {\n children: [\"Standard Mode (\", _jsx(_components.code, {\n children: \"singleRow\"\n }), \" is false)\"]\n }), \": Uses the \", _jsx(_components.code, {\n children: \"height\"\n }), \" input value in pixels. Falls back to \", _jsx(_components.code, {\n children: \"200px\"\n }), \" when no \", _jsx(_components.code, {\n children: \"height\"\n }), \" is given.\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsxs(_components.strong, {\n children: [\"Single Row Mode (\", _jsx(_components.code, {\n children: \"singleRow\"\n }), \" is true)\"]\n }), \": The height is calculated as \", _jsx(_components.code, {\n children: \"height / cols\"\n }), \" (both must be set; otherwise the same \", _jsx(_components.code, {\n children: \"height\"\n }), \"-or-\", _jsx(_components.code, {\n children: \"200px\"\n }), \" fallback applies). This ensures that even in a horizontal scroll scenario, the items maintain a consistent aspect ratio based on the intended column count.\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsxs(_components.strong, {\n children: [\"Strip Mode (\", _jsx(_components.code, {\n children: \"singleRow\"\n }), \" with \", _jsx(_components.code, {\n children: \"tileHeight\"\n }), \")\"]\n }), \": The height IS \", _jsx(_components.code, {\n children: \"tileHeight\"\n }), \"; each tile is \", _jsx(_components.code, {\n children: \"tileHeight\"\n }), \" tall and \", _jsx(_components.code, {\n children: \"tileHeight × tileAspect\"\n }), \" wide, and the row's tracks are that width, so the row overflows and scrolls instead of shrinking the tiles to fit. A tile that becomes active — by a click or through \", _jsx(_components.code, {\n children: \"setIndex\"\n }), \" — is scrolled into the middle of the visible row. See the \", _jsx(_components.a, {\n href: \"?path=/story/atoms-image-grid--strip\",\n children: \"Strip\"\n }), \" story.\"]\n }), \"\\n\"]\n }), \"\\n\", _jsx(_components.hr, {}), \"\\n\", _jsx(_components.h4, {\n id: \"outputs\",\n children: \"Outputs\"\n }), \"\\n\", _jsxs(\"table\", {\n class: \"ui\",\n children: [_jsxs(\"tr\", {\n children: [_jsx(\"th\", {\n children: \"@Output\"\n }), _jsx(\"th\", {\n children: \"Type\"\n }), _jsx(\"th\", {\n children: \"Description\"\n })]\n }), _jsxs(\"tr\", {\n children: [_jsx(\"td\", {\n children: \"currentIndex\"\n }), _jsx(\"td\", {\n children: _jsx(\"code\", {\n children: \"output<number>\"\n })\n }), _jsx(\"td\", {\n children: \"Emitted when a new item becomes active or is clicked.\"\n })]\n }), _jsxs(\"tr\", {\n children: [_jsx(\"td\", {\n children: \"clickIndex\"\n }), _jsx(\"td\", {\n children: _jsx(\"code\", {\n children: \"output<number>\"\n })\n }), _jsx(\"td\", {\n children: \"Emitted when an already active item is clicked (only when a click-area template is projected).\"\n })]\n })]\n }), \"\\n\", _jsx(_components.hr, {}), \"\\n\", _jsx(_components.h4, {\n id: \"the-click-area\",\n children: \"The click area\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"The overlay that appears on the \", _jsx(_components.strong, {\n children: \"active\"\n }), \" tile, and whose second click\\nemits \", _jsx(_components.code, {\n children: \"clickIndex\"\n }), \". It is an \", _jsx(_components.code, {\n children: \"<ng-template uiImageGridClickArea>\"\n }), \" projected\\ninto the tag: the grid stamps it into every tile, so everything Angular can\\ndo inside a template works here — bindings, pipes, \", _jsx(_components.code, {\n children: \"(click)\"\n }), \" handlers — and\\nthe template is handed the tile's item (\", _jsx(_components.code, {\n children: \"let-item\"\n }), \") and index\\n(\", _jsx(_components.code, {\n children: \"let-index=\\\"index\\\"\"\n }), \").\"]\n }), \"\\n\", _jsx(_components.p, {\n children: \"A template rather than projected content, because content can be projected\\nonce and the grid needs the area in every tile. It used to clone a projected\\nelement's innerHTML per tile, which ran the markup through the sanitizer and\\nleft a dead copy without events; a stamped template keeps all of that alive.\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"The marker is the directive \", _jsx(_components.code, {\n children: \"UiImageGridClickAreaDirective\"\n }), \" — import it next\\nto the grid. It is a marker and nothing else, so the grid finds the click\\narea by name rather than taking the first template it meets; a caller may\\nproject other templates (\", _jsx(_components.code, {\n children: \"*ngIf\"\n }), \", a structural directive of their own)\\nwithout one of those ending up in every tile.\"]\n }), \"\\n\", _jsx(_components.pre, {\n children: _jsx(_components.code, {\n className: \"language-html\",\n children: \"<ui-image-grid [data]=\\\"myData\\\" [action]=\\\"true\\\" (clickIndex)=\\\"open($event)\\\">\\n <ng-template uiImageGridClickArea let-item let-index=\\\"index\\\">\\n <div class=\\\"my-overlay\\\">{{ index + 1 }}: {{ item.title }}</div>\\n </ng-template>\\n</ui-image-grid>\\n\"\n })\n }), \"\\n\", _jsx(_components.hr, {}), \"\\n\", _jsx(_components.h3, {\n id: \"sizing\",\n children: \"Sizing\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"The host fills its container (\", _jsx(_components.code, {\n children: \"100%\"\n }), \" / \", _jsx(_components.code, {\n children: \"100%\"\n }), \") by default. Give it a fixed size\\nwithout a cascade fight through the named hooks \", _jsx(_components.code, {\n children: \"--ui-image-grid-width\"\n }), \" and\\n\", _jsx(_components.code, {\n children: \"--ui-image-grid-height\"\n }), \".\"]\n })]\n });\n}\nexport default function MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\n"],"names":[],"sourceRoot":""}