diff --git a/308.5cd72db0.iframe.bundle.js b/308.5cd72db0.iframe.bundle.js new file mode 100644 index 00000000..18d6d744 --- /dev/null +++ b/308.5cd72db0.iframe.bundle.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmooc=self.webpackChunkmooc||[]).push([[308],{"./node_modules/@storybook/preset-vue3-webpack/node_modules/vue-loader/dist/exportHelper.js":(__unused_webpack_module,exports)=>{exports.Z=(sfc,props)=>{const target=sfc.__vccOpts||sfc;for(const[key,val]of props)target[key]=val;return target}},"./node_modules/css-loader/dist/cjs.js??clonedRuleSet-16.use[1]!./node_modules/@storybook/preset-vue3-webpack/node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/resolve-url-loader/index.js!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-16.use[3]!./node_modules/@storybook/preset-vue3-webpack/node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/vue/components/button/ButtonLink.vue?vue&type=style&index=0&id=1e43b236&lang=scss":(module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});var _node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/css-loader/dist/runtime/sourceMaps.js"),_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__),_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js"),___CSS_LOADER_EXPORT___=__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__)()(_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default());___CSS_LOADER_EXPORT___.push([module.id,".btn-link{cursor:pointer;position:relative;background:#303030;color:#fff;border:none;border-radius:.1875rem;font-weight:700;line-height:1;display:flex;align-items:center;bottom:-0.05rem;text-decoration:none !important;width:fit-content}.btn-link:hover{background:#00468e;color:#fff;text-decoration:none !important}.btn-link--filled{background:#303030;color:#fff}.btn-link--filled.btn-link--sm{padding:.25rem .875rem .25rem .875rem}.btn-link--filled.btn-link--md{padding:.5rem 1.375rem .5rem 1.375rem}.btn-link--filled.btn-link--lg{padding:.75rem 1.75rem .75rem 1.75rem}.btn-link--outlined{background:#fff;color:#303030;border:.125rem solid #303030}.btn-link--outlined:hover{border:.125rem solid #00468e}.btn-link--outlined.btn-link--sm{padding:.125rem .75rem .125rem .75rem}.btn-link--outlined.btn-link--md{padding:.375rem 1.25rem .375rem 1.15rem}.btn-link--outlined.btn-link--lg{padding:.625rem 1.625rem .625rem 1.625rem}.btn-link--dropdown{background:#fff;color:#303030;border:.125rem solid #303030}.btn-link--dropdown:hover{background:#303030;border:.125rem solid #303030}.btn-link--dropdown.btn-link--sm{padding:.125rem .75rem .125rem .75rem}.btn-link--dropdown.btn-link--md{padding:.375rem 1.25rem .375rem 1.25rem}.btn-link--dropdown.btn-link--lg{padding:.625rem 1.625rem .625rem 1.625rem}.feide-symbol{width:1em;height:1em;margin-right:.5em;margin-top:-0.5em}","",{version:3,sources:["webpack://./src/vue/components/button/ButtonLink.vue","webpack://./src/vue/design/colors.scss"],names:[],mappings:"AAGA,UACE,cAAA,CACA,iBAAA,CACA,kBCGe,CDFf,UCKY,CDJZ,WAAA,CACA,sBAAA,CACA,eAAA,CACA,aAAA,CACA,YAAA,CACA,kBAAA,CACA,eAAA,CACA,+BAAA,CACA,iBAAA,CAEA,gBACE,kBAAA,CACA,UCRU,CDSV,+BAAA,CAGF,kBACE,kBChBa,CDiBb,UCdU,CDgBV,+BACE,qCAAA,CAEF,+BACE,qCAAA,CAEF,+BACE,qCAAA,CAIJ,oBACE,eC5BU,CD6BV,aChCa,CDiCb,4BAAA,CAEA,0BACE,4BAAA,CAGF,iCACE,qCAAA,CAEF,iCACE,uCAAA,CAEF,iCACE,yCAAA,CAIJ,oBACE,eChDU,CDiDV,aCpDa,CDqDb,4BAAA,CAEA,0BACE,kBCxDW,CDyDX,4BAAA,CAGF,iCACE,qCAAA,CAEF,iCACE,uCAAA,CAEF,iCACE,yCAAA,CAKN,cACE,SAAA,CACA,UAAA,CACA,iBAAA,CACA,iBAAA",sourcesContent:["\n@import '../../design/colors.scss';\n\n.btn-link {\n cursor: pointer;\n position: relative;\n background: $color-grey-900;\n color: $color-white;\n border: none;\n border-radius: 0.1875rem;\n font-weight: 700;\n line-height: 1;\n display: flex;\n align-items: center;\n bottom: -0.05rem;\n text-decoration:none!important;\n width: fit-content;\n\n &:hover {\n background: #00468e;\n color: $color-white;\n text-decoration:none!important;\n }\n\n &--filled {\n background: $color-grey-900;\n color: $color-white;\n\n &.btn-link--sm {\n padding: 0.25rem 0.875rem 0.25rem 0.875rem;\n }\n &.btn-link--md {\n padding: 0.5rem 1.375rem 0.5rem 1.375rem;\n }\n &.btn-link--lg {\n padding: 0.75rem 1.75rem 0.75rem 1.75rem;\n }\n }\n\n &--outlined {\n background: $color-white;\n color: $color-grey-900;\n border: 0.125rem solid $color-grey-900;\n\n &:hover {\n border: 0.125rem solid #00468e;\n }\n\n &.btn-link--sm {\n padding: 0.125rem 0.75rem 0.125rem 0.75rem;\n }\n &.btn-link--md {\n padding: 0.375rem 1.25rem 0.375rem 1.15rem;\n }\n &.btn-link--lg {\n padding: 0.625rem 1.625rem 0.625rem 1.625rem;\n }\n }\n\n &--dropdown {\n background: $color-white;\n color: $color-grey-900;\n border: 0.125rem solid $color-grey-900;\n\n &:hover {\n background: $color-grey-900;\n border: 0.125rem solid $color-grey-900;\n }\n\n &.btn-link--sm {\n padding: 0.125rem 0.75rem 0.125rem 0.75rem;\n }\n &.btn-link--md {\n padding: 0.375rem 1.25rem 0.375rem 1.25rem;\n }\n &.btn-link--lg {\n padding: 0.625rem 1.625rem 0.625rem 1.625rem;\n }\n }\n}\n\n.feide-symbol{\n width: 1em;\n height: 1em;\n margin-right: 0.5em;\n margin-top: -0.5em;\n}\n","// support colors\n$color-grey-100: #f9f9f9; \n$color-grey-200: #f1f1f1;\n$color-grey-300: #eaeaea;\n$color-grey-400: #e6e6e6;\n$color-grey-500: #bfbfbf;\n$color-grey-600: #999999;\n$colorgrey-700: #737373;\n$color-grey-800: #666666;\n$color-grey-900: #303030;\n\n$color-black: #1a1a1a;\n$color-white: #ffffff;\n$primary-hover-color:#00468e;\n\n\n// Color palettes\n$color-palette-green: (\n background: (\n 200: #e3f2eb,\n 300: #94caae,\n 400: #7dbf9d,\n 500: #3b7858,\n 600: #254b38\n ),\n foreground: (\n 200: $color-black,\n 300: $color-black,\n 400: $color-black,\n 500: $color-white,\n 600: $color-white\n )\n);\n\n$color-palette-eggshell: (\n background: (\n 300: #f6efe4,\n 400: #f2e8da,\n 500: #d6b689,\n 600: #8c6631,\n 700: #5e4521\n ),\n foreground: (\n 300: $color-black,\n 400: $color-black,\n 500: $color-white,\n 600: $color-white,\n 700: $color-white\n )\n);\n\n$color-palette-peach: (\n background: (\n 300: #f8ece6,\n 400: #eed0c3,\n 500: #dc9e83,\n 600: #a7532f,\n 700: #63321c\n ),\n foreground: (\n 300: $color-black,\n 400: $color-black,\n 500: $color-black,\n 600: $color-white,\n 700: $color-grey-200\n )\n);\n\n$color-palette-azur: (\n background: (\n 300: #eaeaf5,\n 400: #e2e3f1,\n 500: #c7c9e3,\n 600: #999cbf,\n 700: #666883\n ),\n foreground: (\n 300: #303030,\n 400: #303030,\n 500: #303030,\n 600: #303030,\n 700: #ffffff\n )\n);\n\n$color-palette-steel: (\n background: (\n 200: #f5f7f9,\n 300: #ebeef3,\n 400: #bac6d8,\n 500: #99abc5,\n 600: #51698f,\n 700: #2e3c51\n ),\n foreground: (\n 200: $color-grey-900,\n 300: $color-grey-900,\n 400: $color-grey-900,\n 500: $color-grey-900,\n 600: $color-white,\n 700: $color-white\n )\n);\n\n$color-palette-slate: (\n background: (\n 200: #eceff2,\n 300: #a0b1bf,\n 400: #6d889d,\n 500: #546b7d,\n 600: #191d24\n ),\n foreground: (\n 200: $color-grey-900,\n 300: $color-grey-900,\n 400: $color-grey-900,\n 500: $color-white,\n 600: $color-white\n )\n);\n\n// extra colors\n$color-palette-red: (\n background: (\n 200: #ffebee,\n 300: #ffcdd2,\n 400: #ef9a9a,\n 500: #ef5350,\n 600: #c62828\n ),\n foreground: (#E2E3F1\n 200: $color-grey-900,\n 300: $color-black,\n 400: $color-grey-900,\n 500: $color-grey-900,\n 600: $color-white\n )\n);\n\n$color-palette-orange: (\n background: (\n 200: #fff3e0,\n 300: #ffcc80,\n 400: #ffa726,\n 500: #fb8c00,\n 600: #EF6C00\n ),\n foreground: (\n 200: $color-grey-900,\n 300: $color-black,\n 400: $color-grey-900,\n 500: $color-grey-900,\n 600: $color-black\n )\n);\n"],sourceRoot:""}]);const __WEBPACK_DEFAULT_EXPORT__=___CSS_LOADER_EXPORT___},"./node_modules/css-loader/dist/cjs.js??clonedRuleSet-16.use[1]!./node_modules/@storybook/preset-vue3-webpack/node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/resolve-url-loader/index.js!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-16.use[3]!./node_modules/@storybook/preset-vue3-webpack/node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/vue/components/icon/Icon.vue?vue&type=style&index=0&id=90c4211a&lang=scss":(module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});var _node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/css-loader/dist/runtime/sourceMaps.js"),_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__),_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js"),___CSS_LOADER_EXPORT___=__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__)()(_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default());___CSS_LOADER_EXPORT___.push([module.id,".material-icon{color:inherit}.material-icon__icon .custom-size-1em{font-size:1em}.material-icon__icon .custom-size-2em{font-size:2em}.material-icon__icon .custom-size-3em{font-size:3em}","",{version:3,sources:["webpack://./src/vue/components/icon/Icon.vue"],names:[],mappings:"AACA,eACE,aAAA,CAII,sCACE,aAAA,CADF,sCACE,aAAA,CADF,sCACE,aAAA",sourcesContent:["\n.material-icon {\n color: inherit;\n\n &__icon {\n @each $size in (1em, 2em, 3em) {\n .custom-size-#{$size} {\n font-size: #{$size};\n }\n }\n }\n}\n"],sourceRoot:""}]);const __WEBPACK_DEFAULT_EXPORT__=___CSS_LOADER_EXPORT___},"./node_modules/css-loader/dist/runtime/api.js":module=>{module.exports=function(cssWithMappingToString){var list=[];return list.toString=function toString(){return this.map((function(item){var content="",needLayer=void 0!==item[5];return item[4]&&(content+="@supports (".concat(item[4],") {")),item[2]&&(content+="@media ".concat(item[2]," {")),needLayer&&(content+="@layer".concat(item[5].length>0?" ".concat(item[5]):""," {")),content+=cssWithMappingToString(item),needLayer&&(content+="}"),item[2]&&(content+="}"),item[4]&&(content+="}"),content})).join("")},list.i=function i(modules,media,dedupe,supports,layer){"string"==typeof modules&&(modules=[[null,modules,void 0]]);var alreadyImportedModules={};if(dedupe)for(var k=0;k0?" ".concat(item[5]):""," {").concat(item[1],"}")),item[5]=layer),media&&(item[2]?(item[1]="@media ".concat(item[2]," {").concat(item[1],"}"),item[2]=media):item[2]=media),supports&&(item[4]?(item[1]="@supports (".concat(item[4],") {").concat(item[1],"}"),item[4]=supports):item[4]="".concat(supports)),list.push(item))}},list}},"./node_modules/css-loader/dist/runtime/sourceMaps.js":module=>{module.exports=function(item){var content=item[1],cssMapping=item[3];if(!cssMapping)return content;if("function"==typeof btoa){var base64=btoa(unescape(encodeURIComponent(JSON.stringify(cssMapping)))),data="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(base64),sourceMapping="/*# ".concat(data," */");return[content].concat([sourceMapping]).join("\n")}return[content].join("\n")}},"./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js":module=>{var stylesInDOM=[];function getIndexByIdentifier(identifier){for(var result=-1,i=0;i{var memo={};module.exports=function insertBySelector(insert,style){var target=function getTarget(target){if(void 0===memo[target]){var styleTarget=document.querySelector(target);if(window.HTMLIFrameElement&&styleTarget instanceof window.HTMLIFrameElement)try{styleTarget=styleTarget.contentDocument.head}catch(e){styleTarget=null}memo[target]=styleTarget}return memo[target]}(insert);if(!target)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");target.appendChild(style)}},"./node_modules/style-loader/dist/runtime/insertStyleElement.js":module=>{module.exports=function insertStyleElement(options){var element=document.createElement("style");return options.setAttributes(element,options.attributes),options.insert(element,options.options),element}},"./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js":(module,__unused_webpack_exports,__webpack_require__)=>{module.exports=function setAttributesWithoutAttributes(styleElement){var nonce=__webpack_require__.nc;nonce&&styleElement.setAttribute("nonce",nonce)}},"./node_modules/style-loader/dist/runtime/styleDomAPI.js":module=>{module.exports=function domAPI(options){if("undefined"==typeof document)return{update:function update(){},remove:function remove(){}};var styleElement=options.insertStyleElement(options);return{update:function update(obj){!function apply(styleElement,options,obj){var css="";obj.supports&&(css+="@supports (".concat(obj.supports,") {")),obj.media&&(css+="@media ".concat(obj.media," {"));var needLayer=void 0!==obj.layer;needLayer&&(css+="@layer".concat(obj.layer.length>0?" ".concat(obj.layer):""," {")),css+=obj.css,needLayer&&(css+="}"),obj.media&&(css+="}"),obj.supports&&(css+="}");var sourceMap=obj.sourceMap;sourceMap&&"undefined"!=typeof btoa&&(css+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))))," */")),options.styleTagTransform(css,styleElement,options.options)}(styleElement,options,obj)},remove:function remove(){!function removeStyleElement(styleElement){if(null===styleElement.parentNode)return!1;styleElement.parentNode.removeChild(styleElement)}(styleElement)}}}},"./node_modules/style-loader/dist/runtime/styleTagTransform.js":module=>{module.exports=function styleTagTransform(css,styleElement){if(styleElement.styleSheet)styleElement.styleSheet.cssText=css;else{for(;styleElement.firstChild;)styleElement.removeChild(styleElement.firstChild);styleElement.appendChild(document.createTextNode(css))}}},"./src/vue/components/button/ButtonLink.vue":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>ButtonLink});var vue_esm_bundler=__webpack_require__("./node_modules/vue/dist/vue.esm-bundler.js"),Icon=__webpack_require__("./src/vue/components/icon/Icon.vue"),_hoisted_1=["href"],_hoisted_2=["src"];const ButtonLinkvue_type_script_setup_true_lang_js={__name:"ButtonLink",props:{size:String,type:String,url:String},setup:function setup(__props){var props=__props,isFilled=!props.type||"filled"===props.type||"feideLogin"===props.type,isOutlined="outlined"===props.type||"previous"===props.type||"next"===props.type,isDropdown="dropdown"===props.type;return function(_ctx,_cache){return(0,vue_esm_bundler.wg)(),(0,vue_esm_bundler.iD)("a",{href:__props.url,class:(0,vue_esm_bundler.C_)(["btn-link",{"btn-link--filled":(0,vue_esm_bundler.SU)(isFilled)},{"btn-link--outlined":(0,vue_esm_bundler.SU)(isOutlined)},{"btn-link--dropdown":isDropdown},{"btn-link--sm":"sm"===__props.size},{"btn-link--md":!__props.size||"md"===__props.size},{"btn-link--lg":"lg"===__props.size}])},["previous"===__props.type?((0,vue_esm_bundler.wg)(),(0,vue_esm_bundler.j4)(Icon.Z,{key:0,name:"chevron_left",size:"1.5em"})):(0,vue_esm_bundler.kq)("",!0),"feideLogin"===__props.type?((0,vue_esm_bundler.wg)(),(0,vue_esm_bundler.iD)("img",{key:1,class:"feide-symbol",src:"".concat((0,vue_esm_bundler.SU)("/frontend/"),"feide_white-symbol.svg")},null,8,_hoisted_2)):(0,vue_esm_bundler.kq)("",!0),(0,vue_esm_bundler.WI)(_ctx.$slots,"default"),"next"===__props.type?((0,vue_esm_bundler.wg)(),(0,vue_esm_bundler.j4)(Icon.Z,{key:2,name:"chevron_right",size:"1.5em"})):(0,vue_esm_bundler.kq)("",!0)],10,_hoisted_1)}}};var injectStylesIntoStyleTag=__webpack_require__("./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),injectStylesIntoStyleTag_default=__webpack_require__.n(injectStylesIntoStyleTag),styleDomAPI=__webpack_require__("./node_modules/style-loader/dist/runtime/styleDomAPI.js"),styleDomAPI_default=__webpack_require__.n(styleDomAPI),insertBySelector=__webpack_require__("./node_modules/style-loader/dist/runtime/insertBySelector.js"),insertBySelector_default=__webpack_require__.n(insertBySelector),setAttributesWithoutAttributes=__webpack_require__("./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"),setAttributesWithoutAttributes_default=__webpack_require__.n(setAttributesWithoutAttributes),insertStyleElement=__webpack_require__("./node_modules/style-loader/dist/runtime/insertStyleElement.js"),insertStyleElement_default=__webpack_require__.n(insertStyleElement),styleTagTransform=__webpack_require__("./node_modules/style-loader/dist/runtime/styleTagTransform.js"),styleTagTransform_default=__webpack_require__.n(styleTagTransform),ButtonLinkvue_type_style_index_0_id_1e43b236_lang_scss=__webpack_require__("./node_modules/css-loader/dist/cjs.js??clonedRuleSet-16.use[1]!./node_modules/@storybook/preset-vue3-webpack/node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/resolve-url-loader/index.js!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-16.use[3]!./node_modules/@storybook/preset-vue3-webpack/node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/vue/components/button/ButtonLink.vue?vue&type=style&index=0&id=1e43b236&lang=scss"),options={};options.styleTagTransform=styleTagTransform_default(),options.setAttributes=setAttributesWithoutAttributes_default(),options.insert=insertBySelector_default().bind(null,"head"),options.domAPI=styleDomAPI_default(),options.insertStyleElement=insertStyleElement_default();injectStylesIntoStyleTag_default()(ButtonLinkvue_type_style_index_0_id_1e43b236_lang_scss.Z,options);ButtonLinkvue_type_style_index_0_id_1e43b236_lang_scss.Z&&ButtonLinkvue_type_style_index_0_id_1e43b236_lang_scss.Z.locals&&ButtonLinkvue_type_style_index_0_id_1e43b236_lang_scss.Z.locals;const ButtonLink=ButtonLinkvue_type_script_setup_true_lang_js;ButtonLinkvue_type_script_setup_true_lang_js.__docgenInfo={exportName:"default",displayName:"ButtonLink",description:"",tags:{},props:[{name:"size",type:{name:"string"}},{name:"type",type:{name:"string"}},{name:"url",type:{name:"string"}}],slots:[{name:"default"}],sourceFiles:["/home/runner/work/frontend/frontend/src/vue/components/button/ButtonLink.vue"]}},"./src/vue/components/icon/Icon.vue":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>Icon});var vue_esm_bundler=__webpack_require__("./node_modules/vue/dist/vue.esm-bundler.js"),_hoisted_1=["innerHTML"];var IconPaths={alarm:"M480-80q-75 0-140.5-28.5t-114-77q-48.5-48.5-77-114T120-440q0-75 28.5-140.5t77-114q48.5-48.5 114-77T480-800q75 0 140.5 28.5t114 77q48.5 48.5 77 114T840-440q0 75-28.5 140.5t-77 114q-48.5 48.5-114 77T480-80Zm0-360Zm112 168 56-56-128-128v-184h-80v216l152 152ZM224-866l56 56-170 170-56-56 170-170Zm512 0 170 170-56 56-170-170 56-56ZM480-160q117 0 198.5-81.5T760-440q0-117-81.5-198.5T480-720q-117 0-198.5 81.5T200-440q0 117 81.5 198.5T480-160Z",article:"M280-280h280v-80H280v80Zm0-160h400v-80H280v80Zm0-160h400v-80H280v80Zm-80 480q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Zm0-80h560v-560H200v560Zm0-560v560-560Z",campaign:"M720-440v-80h160v80H720Zm48 280-128-96 48-64 128 96-48 64Zm-80-480-48-64 128-96 48 64-128 96ZM200-200v-160h-40q-33 0-56.5-23.5T80-440v-80q0-33 23.5-56.5T160-600h160l200-120v480L320-360h-40v160h-80Zm240-182v-196l-98 58H160v80h182l98 58Zm120 36v-268q27 24 43.5 58.5T620-480q0 41-16.5 75.5T560-346ZM300-480Z",check_circle_filled:"m424-296 282-282-56-56-226 226-114-114-56 56 170 170Zm56 216q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Z",chevron_left:"M560-240 320-480l240-240 56 56-184 184 184 184-56 56Z",chevron_right:"M504-480 320-664l56-56 240 240-240 240-56-56 184-184Z",cancel:"m336-280 144-144 144 144 56-56-144-144 144-144-56-56-144 144-144-144-56 56 144 144-144 144 56 56ZM480-80q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z",close:"m256-200-56-56 224-224-224-224 56-56 224 224 224-224 56 56-224 224 224 224-56 56-224-224-224 224Z",description:"M320-240h320v-80H320v80Zm0-160h320v-80H320v80ZM240-80q-33 0-56.5-23.5T160-160v-640q0-33 23.5-56.5T240-880h320l240 240v480q0 33-23.5-56.5T720-80H240Zm280-520v-200H240v640h480v-440H520ZM240-800v200-200 640-640Z",devices:"M80-160v-120h80v-440q0-33 23.5-56.5T240-800h600v80H240v440h240v120H80Zm520 0q-17 0-28.5-11.5T560-200v-400q0-17 11.5-28.5T600-640h240q17 0 28.5 11.5T880-600v400q0 17-11.5 28.5T840-160H600Zm40-120h160v-280H640v280Zm0 0h160-160Z",error:"M480-280q17 0 28.5-11.5T520-320q0-17-11.5-28.5T480-360q-17 0-28.5 11.5T440-320q0 17 11.5-28.5T480-280Zm-40-160h80v-240h-80v240Zm40 360q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z",expand_more:"M480-345 240-585l56-56 184 184 184-184 56 56-240 240Z",face:"M360-390q-21 0-35.5-14.5T310-440q0-21 14.5-35.5T360-490q21 0 35.5 14.5T410-440q0 21-14.5 35.5T360-390Zm240 0q-21 0-35.5-14.5T550-440q0-21 14.5-35.5T600-490q21 0 35.5 14.5T650-440q0 21-14.5 35.5T600-390ZM480-160q134 0 227-93t93-227q0-24-3-46.5T786-570q-21 5-42 7.5t-44 2.5q-91 0-172-39T390-708q-32 78-91.5 135.5T160-486v6q0 134 93 227t227 93Zm0 80q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm-54-715q42 70 114 112.5T700-640q14 0 27-1.5t27-3.5q-42-70-114-112.5T480-800q-14 0-27 1.5t-27 3.5ZM177-581q51-29 89-75t57-103q-51 29-89 75t-57 103Zm249-214Zm-103 36Z",flag:"M200-120v-680h360l16 80h224v400H520l-16-80H280v280h-80Zm300-440Zm86 160h134v-240H510l-16-80H280v240h290l16 80Z",format_list_numbered:"M120-80v-60h100v-30h-60v-60h60v-30H120v-60h120q17 0 28.5 11.5T280-280v40q0 17-11.5 28.5T240-200q17 0 28.5 11.5T280-160v40q0 17-11.5 28.5T240-80H120Zm0-280v-110q0-17 11.5-28.5T160-510h60v-30H120v-60h120q17 0 28.5 11.5T280-560v70q0 17-11.5 28.5T240-450h-60v30h100v60H120Zm60-280v-180h-60v-60h120v240h-60Zm180 440v-80h480v80H360Zm0-240v-80h480v80H360Zm0-240v-80h480v80H360Z",grade:"m354-247 126-76 126 77-33-144 111-96-146-13-58-136-58 135-146 13 111 97-33 143ZM233-80l65-281L80-550l288-25 112-265 112 265 288 25-218 189 65 281-247-149L233-80Zm247-350Z",light_bulb:"M440-80v-120h80v120h-80ZM80-440v-80h120v80H80Zm680 0v-80h120v80H760Zm-40 276-84-84 56-56 84 84-56 56Zm-480 0-56-56 84-84 56 56-84 84Zm240-116q-83 0-141.5-58.5T280-480q0-48 21.5-89.5T360-640v-200h240v200q37 29 58.5 70.5T680-480q0 83-58.5 141.5T480-280Zm-40-396q10-2 20-3t20-1q10 0 20 1t20 3v-84h-80v84Zm40 316q50 0 85-35t35-85q0-50-35-85t-85-35q-50 0-85 35t-35 85q0 50 35 85t85 35Zm0-120Z",link:"M440-280H280q-83 0-141.5-58.5T80-480q0-83 58.5-141.5T280-680h160v80H280q-50 0-85 35t-35 85q0 50 35 85t85 35h160v80ZM320-440v-80h320v80H320Zm200 160v-80h160q50 0 85-35t35-85q0-50-35-85t-85-35H520v-80h160q83 0 141.5 58.5T880-480q0 83-58.5 141.5T680-280H520Z",open_in_new:"M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h280v80H200v560h560v-280h80v280q0 33-23.5 56.5T760-120H200Zm188-212-56-56 372-372H560v-80h280v280h-80v-144L388-332Z",star:"m354-247 126-76 126 77-33-144 111-96-146-13-58-136-58 135-146 13 111 97-33 143ZM233-80l65-281L80-550l288-25 112-265 112 265 288 25-218 189 65 281-247-149L233-80Zm247-350Z",quote:"m228-240 92-160q-66 0-113-47t-47-113q0-66 47-113t113-47q66 0 113 47t47 113q0 23-5.5 42.5T458-480L320-240h-92Zm360 0 92-160q-66 0-113-47t-47-113q0-66 47-113t113-47q66 0 113 47t47 113q0 23-5.5 42.5T818-480L680-240h-92ZM320-500q25 0 42.5-17.5T380-560q0-25-17.5-42.5T320-620q-25 0-42.5 17.5T260-560q0 25 17.5 42.5T320-500Zm360 0q25 0 42.5-17.5T740-560q0-25-17.5-42.5T680-620q-25 0-42.5 17.5T620-560q0 25 17.5 42.5T680-500Zm0-60Zm-360 0Z",warning:"m40-120 440-760 440 760H40Zm138-80h604L480-720 178-200Zm302-40q17 0 28.5-11.5T520-280q0-17-11.5-28.5T480-320q-17 0-28.5 11.5T440-280q0 17 11.5 28.5T480-240q0 17-11.5 28.5T440-200Zm-40-120h80v-200h-80v200Zm40-100Z"};const Iconvue_type_script_lang_js={props:{name:{type:String,required:!0},size:{type:[String,Number],default:"1em"},color:{type:String,default:"currentColor"}},setup:function setup(props){var iconPath=(0,vue_esm_bundler.Fl)((function(){var selected=IconPaths[props.name];if(selected)return selected}));return{iconClasses:(0,vue_esm_bundler.Fl)((function(){return["material-icon","custom-size-".concat("string"==typeof props.size&&props.size.includes("em")?props.size:"1em")]})),iconContent:(0,vue_esm_bundler.Fl)((function(){return'')})),iconPath}}};var injectStylesIntoStyleTag=__webpack_require__("./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),injectStylesIntoStyleTag_default=__webpack_require__.n(injectStylesIntoStyleTag),styleDomAPI=__webpack_require__("./node_modules/style-loader/dist/runtime/styleDomAPI.js"),styleDomAPI_default=__webpack_require__.n(styleDomAPI),insertBySelector=__webpack_require__("./node_modules/style-loader/dist/runtime/insertBySelector.js"),insertBySelector_default=__webpack_require__.n(insertBySelector),setAttributesWithoutAttributes=__webpack_require__("./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"),setAttributesWithoutAttributes_default=__webpack_require__.n(setAttributesWithoutAttributes),insertStyleElement=__webpack_require__("./node_modules/style-loader/dist/runtime/insertStyleElement.js"),insertStyleElement_default=__webpack_require__.n(insertStyleElement),styleTagTransform=__webpack_require__("./node_modules/style-loader/dist/runtime/styleTagTransform.js"),styleTagTransform_default=__webpack_require__.n(styleTagTransform),Iconvue_type_style_index_0_id_90c4211a_lang_scss=__webpack_require__("./node_modules/css-loader/dist/cjs.js??clonedRuleSet-16.use[1]!./node_modules/@storybook/preset-vue3-webpack/node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/resolve-url-loader/index.js!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-16.use[3]!./node_modules/@storybook/preset-vue3-webpack/node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/vue/components/icon/Icon.vue?vue&type=style&index=0&id=90c4211a&lang=scss"),options={};options.styleTagTransform=styleTagTransform_default(),options.setAttributes=setAttributesWithoutAttributes_default(),options.insert=insertBySelector_default().bind(null,"head"),options.domAPI=styleDomAPI_default(),options.insertStyleElement=insertStyleElement_default();injectStylesIntoStyleTag_default()(Iconvue_type_style_index_0_id_90c4211a_lang_scss.Z,options);Iconvue_type_style_index_0_id_90c4211a_lang_scss.Z&&Iconvue_type_style_index_0_id_90c4211a_lang_scss.Z.locals&&Iconvue_type_style_index_0_id_90c4211a_lang_scss.Z.locals;const __exports__=(0,__webpack_require__("./node_modules/@storybook/preset-vue3-webpack/node_modules/vue-loader/dist/exportHelper.js").Z)(Iconvue_type_script_lang_js,[["render",function render(_ctx,_cache,$props,$setup,$data,$options){return(0,vue_esm_bundler.wg)(),(0,vue_esm_bundler.iD)("span",{class:(0,vue_esm_bundler.C_)($setup.iconClasses),innerHTML:$setup.iconContent},null,10,_hoisted_1)}]]),Icon=__exports__;__exports__.__docgenInfo={exportName:"default",displayName:"Icon",description:"",tags:{},props:[{name:"name",type:{name:"string"},required:!0},{name:"size",type:{name:"string|number"},defaultValue:{func:!1,value:"'1em'"}},{name:"color",type:{name:"string"},defaultValue:{func:!1,value:"'currentColor'"}}],sourceFiles:["/home/runner/work/frontend/frontend/src/vue/components/icon/Icon.vue"]}}}]); \ No newline at end of file diff --git a/components-button-ButtonLink-stories.5f82ed51.iframe.bundle.js b/components-button-ButtonLink-stories.5f82ed51.iframe.bundle.js new file mode 100644 index 00000000..878ad3bb --- /dev/null +++ b/components-button-ButtonLink-stories.5f82ed51.iframe.bundle.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmooc=self.webpackChunkmooc||[]).push([[433],{"./src/vue/components/button/ButtonLink.stories.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{PrimaryButtonLink:()=>PrimaryButtonLink,SecondaryButtonLink:()=>SecondaryButtonLink,__namedExportsOrder:()=>__namedExportsOrder,default:()=>__WEBPACK_DEFAULT_EXPORT__});var _PrimaryButtonLink$pa,_PrimaryButtonLink$pa2,_SecondaryButtonLink$,_SecondaryButtonLink$2,_ButtonLink_vue__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./src/vue/components/button/ButtonLink.vue");function _typeof(o){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)}function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function _objectSpread(e){for(var r=1;rButtonLink'}},args:{type:"filled",size:"md"},tags:["autodocs"],argTypes:{type:{control:{type:"select"},options:["filled","outlined","next","previous"]},size:{control:{type:"select"},options:["sm","md","lg"]}}},SecondaryButtonLink={render:function render(args){return{components:{ButtonLink:_ButtonLink_vue__WEBPACK_IMPORTED_MODULE_0__.Z},setup:function setup(){return{args}},template:'ButtonLink'}},args:{type:"outlined",size:"md"},argTypes:{type:{control:{type:"select"},options:["filled","outlined","next","previous"]},size:{control:{type:"select"},options:["sm","md","lg"]}}};PrimaryButtonLink.parameters=_objectSpread(_objectSpread({},PrimaryButtonLink.parameters),{},{docs:_objectSpread(_objectSpread({},null===(_PrimaryButtonLink$pa=PrimaryButtonLink.parameters)||void 0===_PrimaryButtonLink$pa?void 0:_PrimaryButtonLink$pa.docs),{},{source:_objectSpread({originalSource:'{\n render: args => ({\n components: {\n ButtonLink\n },\n setup() {\n return {\n args\n };\n },\n template: \'ButtonLink\'\n }),\n args: {\n type: "filled",\n size: "md"\n },\n tags: ["autodocs"],\n argTypes: {\n type: {\n control: {\n type: "select"\n },\n options: ["filled", "outlined", "next", "previous"]\n },\n size: {\n control: {\n type: "select"\n },\n options: ["sm", "md", "lg"]\n }\n }\n}'},null===(_PrimaryButtonLink$pa2=PrimaryButtonLink.parameters)||void 0===_PrimaryButtonLink$pa2||null===(_PrimaryButtonLink$pa2=_PrimaryButtonLink$pa2.docs)||void 0===_PrimaryButtonLink$pa2?void 0:_PrimaryButtonLink$pa2.source)})}),SecondaryButtonLink.parameters=_objectSpread(_objectSpread({},SecondaryButtonLink.parameters),{},{docs:_objectSpread(_objectSpread({},null===(_SecondaryButtonLink$=SecondaryButtonLink.parameters)||void 0===_SecondaryButtonLink$?void 0:_SecondaryButtonLink$.docs),{},{source:_objectSpread({originalSource:'{\n render: args => ({\n components: {\n ButtonLink\n },\n setup() {\n return {\n args\n };\n },\n template: \'ButtonLink\'\n }),\n args: {\n type: "outlined",\n size: "md"\n },\n argTypes: {\n type: {\n control: {\n type: "select"\n },\n options: ["filled", "outlined", "next", "previous"]\n },\n size: {\n control: {\n type: "select"\n },\n options: ["sm", "md", "lg"]\n }\n }\n}'},null===(_SecondaryButtonLink$2=SecondaryButtonLink.parameters)||void 0===_SecondaryButtonLink$2||null===(_SecondaryButtonLink$2=_SecondaryButtonLink$2.docs)||void 0===_SecondaryButtonLink$2?void 0:_SecondaryButtonLink$2.source)})});var __namedExportsOrder=["PrimaryButtonLink","SecondaryButtonLink"]}}]); \ No newline at end of file diff --git a/components-course-modules-CourseModules-stories.71d6f29f.iframe.bundle.js b/components-course-modules-CourseModules-stories.10a5d8a8.iframe.bundle.js similarity index 98% rename from components-course-modules-CourseModules-stories.71d6f29f.iframe.bundle.js rename to components-course-modules-CourseModules-stories.10a5d8a8.iframe.bundle.js index cc2fe3e2..326cb8ac 100644 --- a/components-course-modules-CourseModules-stories.71d6f29f.iframe.bundle.js +++ b/components-course-modules-CourseModules-stories.10a5d8a8.iframe.bundle.js @@ -1 +1 @@ -"use strict";(self.webpackChunkmooc=self.webpackChunkmooc||[]).push([[561],{"./src/vue/components/course-modules/CourseModules.stories.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{ThreeLevelTree:()=>ThreeLevelTree,TwoLevelTree:()=>TwoLevelTree,__namedExportsOrder:()=>__namedExportsOrder,default:()=>CourseModules_stories});var vue_esm_bundler=__webpack_require__("./node_modules/vue/dist/vue.esm-bundler.js"),Icon=__webpack_require__("./src/vue/components/icon/Icon.vue"),lang_utils=__webpack_require__("./src/vue/utils/lang-utils.js"),_hoisted_1=["aria-hidden","tabIndex","role","onKeydown"],_hoisted_2={class:"tree-node__label",tabIndex:"-1"},_hoisted_3={class:"tree-node__label__text"},_hoisted_4=["href"],_hoisted_5={key:3,class:"dropdown-title"},_hoisted_6={key:0,class:"tree-node__child-nodes"};const TreeViewvue_type_script_setup_true_lang_js={__name:"TreeView",props:{type:String,label:String,lang:String,url:String,id:Number,nodes:Array,isCompleted:Boolean,isActive:Boolean},setup:function setup(__props){var props=__props,collapsed=(0,vue_esm_bundler.iH)(!0),initialIsActive=(0,vue_esm_bundler.iH)(props.isActive),isLeaf=(0,vue_esm_bundler.Fl)((function(){return 0===props.nodes.length})),toggleCollapse=function toggleCollapse(){isLeaf.value||(collapsed.value=!collapsed.value),isLeaf.value&&(window.location.href=props.url)};initialIsActive.value&&!isLeaf.value&&(collapsed.value=!1);var localizedLabel=(0,vue_esm_bundler.Fl)((function(){return(0,lang_utils.cN)(props.label,props.lang)}));return(0,vue_esm_bundler.bv)((function(){props.isActive&&(collapsed.value=!1)})),function(_ctx,_cache){var _component_TreeView=(0,vue_esm_bundler.up)("TreeView",!0);return(0,vue_esm_bundler.wg)(),(0,vue_esm_bundler.iD)("div",{class:(0,vue_esm_bundler.C_)(["tree-node",{"tree-node__leaf":isLeaf.value,"tree-node--collapsed":!isLeaf.value&&collapsed.value,"tree-node__leaf--active":__props.isActive&&isLeaf.value,"tree-node--active":__props.isActive&&!isLeaf.value}]),"aria-hidden":collapsed.value||isLeaf.value,tabIndex:isLeaf.value?-1:0,role:isLeaf.value?"presentation":"group",onClick:toggleCollapse,onKeydown:[(0,vue_esm_bundler.D2)(toggleCollapse,["enter"]),(0,vue_esm_bundler.D2)(toggleCollapse,["space"])]},[(0,vue_esm_bundler._)("span",_hoisted_2,[(0,vue_esm_bundler._)("div",_hoisted_3,[isLeaf.value?(0,vue_esm_bundler.kq)("",!0):((0,vue_esm_bundler.wg)(),(0,vue_esm_bundler.iD)("span",{key:0,class:(0,vue_esm_bundler.C_)(["dropdown-indicator",{"dropdown-indicator--collapsed":collapsed.value}])},[(0,vue_esm_bundler.Wm)(Icon.Z,{name:"expand_more",size:"2em"})],2)),"page"===__props.type&&__props.isCompleted?((0,vue_esm_bundler.wg)(),(0,vue_esm_bundler.j4)(Icon.Z,{key:1,class:"tree-node__label__text__done-icon",name:"check_circle_filled",size:"1em"})):(0,vue_esm_bundler.kq)("",!0),"page"===__props.type?((0,vue_esm_bundler.wg)(),(0,vue_esm_bundler.iD)("a",{key:2,href:__props.url},(0,vue_esm_bundler.zw)(localizedLabel.value),9,_hoisted_4)):((0,vue_esm_bundler.wg)(),(0,vue_esm_bundler.iD)("div",_hoisted_5,(0,vue_esm_bundler.zw)(localizedLabel.value),1))])]),collapsed.value||isLeaf.value?(0,vue_esm_bundler.kq)("",!0):((0,vue_esm_bundler.wg)(),(0,vue_esm_bundler.iD)("ul",_hoisted_6,[((0,vue_esm_bundler.wg)(!0),(0,vue_esm_bundler.iD)(vue_esm_bundler.HY,null,(0,vue_esm_bundler.Ko)(__props.nodes,(function(node){return(0,vue_esm_bundler.wg)(),(0,vue_esm_bundler.iD)("li",{key:node.id,class:"tree-node__child-nodes__node"},[(0,vue_esm_bundler.Wm)(_component_TreeView,{type:node.type,label:(0,vue_esm_bundler.SU)(lang_utils.cN)(node.label,(0,vue_esm_bundler.SU)(lang_utils.YI)()),id:node.id,nodes:node.nodes,lang:__props.lang,url:node.url?node.url:"",isCompleted:node.isCompleted,isActive:node.isActive},null,8,["type","label","id","nodes","lang","url","isCompleted","isActive"])])})),128))]))],42,_hoisted_1)}}};var injectStylesIntoStyleTag=__webpack_require__("./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),injectStylesIntoStyleTag_default=__webpack_require__.n(injectStylesIntoStyleTag),styleDomAPI=__webpack_require__("./node_modules/style-loader/dist/runtime/styleDomAPI.js"),styleDomAPI_default=__webpack_require__.n(styleDomAPI),insertBySelector=__webpack_require__("./node_modules/style-loader/dist/runtime/insertBySelector.js"),insertBySelector_default=__webpack_require__.n(insertBySelector),setAttributesWithoutAttributes=__webpack_require__("./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"),setAttributesWithoutAttributes_default=__webpack_require__.n(setAttributesWithoutAttributes),insertStyleElement=__webpack_require__("./node_modules/style-loader/dist/runtime/insertStyleElement.js"),insertStyleElement_default=__webpack_require__.n(insertStyleElement),styleTagTransform=__webpack_require__("./node_modules/style-loader/dist/runtime/styleTagTransform.js"),styleTagTransform_default=__webpack_require__.n(styleTagTransform),TreeViewvue_type_style_index_0_id_91a9cf58_lang_scss=__webpack_require__("./node_modules/css-loader/dist/cjs.js??clonedRuleSet-16.use[1]!./node_modules/@storybook/preset-vue3-webpack/node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/resolve-url-loader/index.js!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-16.use[3]!./node_modules/@storybook/preset-vue3-webpack/node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/vue/components/tree-view/TreeView.vue?vue&type=style&index=0&id=91a9cf58&lang=scss"),options={};options.styleTagTransform=styleTagTransform_default(),options.setAttributes=setAttributesWithoutAttributes_default(),options.insert=insertBySelector_default().bind(null,"head"),options.domAPI=styleDomAPI_default(),options.insertStyleElement=insertStyleElement_default();injectStylesIntoStyleTag_default()(TreeViewvue_type_style_index_0_id_91a9cf58_lang_scss.Z,options);TreeViewvue_type_style_index_0_id_91a9cf58_lang_scss.Z&&TreeViewvue_type_style_index_0_id_91a9cf58_lang_scss.Z.locals&&TreeViewvue_type_style_index_0_id_91a9cf58_lang_scss.Z.locals;const TreeView=TreeViewvue_type_script_setup_true_lang_js;TreeViewvue_type_script_setup_true_lang_js.__docgenInfo={exportName:"default",displayName:"TreeView",description:"",tags:{},props:[{name:"type",type:{name:"string"}},{name:"label",type:{name:"string"}},{name:"lang",type:{name:"string"}},{name:"url",type:{name:"string"}},{name:"id",type:{name:"number"}},{name:"nodes",type:{name:"array"}},{name:"isCompleted",type:{name:"boolean"}},{name:"isActive",type:{name:"boolean"}}],sourceFiles:["/home/runner/work/frontend/frontend/src/vue/components/tree-view/TreeView.vue"]};var CourseModulevue_type_script_setup_true_lang_js_hoisted_1={class:"module-package"},CourseModulevue_type_script_setup_true_lang_js_hoisted_2=["onKeydown","tabIndex","aria-expanded","role"],CourseModulevue_type_script_setup_true_lang_js_hoisted_3={class:"title"},CourseModulevue_type_script_setup_true_lang_js_hoisted_4=["role"];const CourseModulevue_type_script_setup_true_lang_js={__name:"CourseModule",props:{type:String,label:String,id:Number,nodes:Array,lang:String,isActive:Boolean},emits:["toggleActiveModule"],setup:function setup(__props,_ref){var emits=_ref.emit,props=__props,collapsed=(0,vue_esm_bundler.iH)(!0),selectedNode=(0,vue_esm_bundler.iH)(-1),isLeaf=(0,vue_esm_bundler.Fl)((function(){return 0===props.nodes.length})),localizedLabel=(0,vue_esm_bundler.Fl)((function(){return(0,lang_utils.cN)(props.label,props.lang)})),toggleCollapse=function toggleCollapse(){isLeaf.value||(collapsed.value=!collapsed.value,emits("toggleActiveModule",{moduleId:props.id,isOpen:!collapsed.value}))},toggleActiveModule=function toggleActiveModule(_ref2){var moduleId=_ref2.moduleId,isOpen=_ref2.isOpen;selectedNode.value,selectedNode.value=isOpen?moduleId:-1};return(0,vue_esm_bundler.bv)((function(){props.isActive&&(collapsed.value=!1)})),function(_ctx,_cache){return(0,vue_esm_bundler.wg)(),(0,vue_esm_bundler.iD)("div",CourseModulevue_type_script_setup_true_lang_js_hoisted_1,[(0,vue_esm_bundler._)("div",{class:(0,vue_esm_bundler.C_)(["module-package__title",{"module-package__title--active":__props.isActive}]),onClick:toggleCollapse,onKeydown:[(0,vue_esm_bundler.D2)(toggleCollapse,["enter"]),(0,vue_esm_bundler.D2)(toggleCollapse,["space"])],tabIndex:isLeaf.value?-1:0,"aria-expanded":!collapsed.value,role:isLeaf.value?"button":"treeitem"},[(0,vue_esm_bundler._)("div",{class:(0,vue_esm_bundler.C_)({"module-package__indicator--active":__props.isActive})},null,2),(0,vue_esm_bundler._)("h4",null,[(0,vue_esm_bundler._)("span",{class:(0,vue_esm_bundler.C_)(["module-package__dropdown-indicator",{"module-package__dropdown-indicator--collapsed":collapsed.value}])},[(0,vue_esm_bundler.Wm)(Icon.Z,{name:"expand_more",size:"2em"})],2),(0,vue_esm_bundler._)("span",CourseModulevue_type_script_setup_true_lang_js_hoisted_3,(0,vue_esm_bundler.zw)(localizedLabel.value),1)])],42,CourseModulevue_type_script_setup_true_lang_js_hoisted_2),(0,vue_esm_bundler._)("ul",{class:(0,vue_esm_bundler.C_)(["module-package__child-nodes",{"module-package__child-nodes--hidden":collapsed.value}]),role:isLeaf.value?"presentation":"group"},[((0,vue_esm_bundler.wg)(!0),(0,vue_esm_bundler.iD)(vue_esm_bundler.HY,null,(0,vue_esm_bundler.Ko)(__props.nodes,(function(course){return(0,vue_esm_bundler.wg)(),(0,vue_esm_bundler.iD)("li",{key:course.id},[(0,vue_esm_bundler.Wm)(TreeView,{type:course.type,label:course.label,id:course.id,lang:__props.lang,url:course.url?course.url:"",nodes:course.nodes,isCompleted:course.isCompleted,isActive:course.isActive,onToggleActiveModule:toggleActiveModule},null,8,["type","label","id","lang","url","nodes","isCompleted","isActive"])])})),128))],10,CourseModulevue_type_script_setup_true_lang_js_hoisted_4)])}}};var CourseModulevue_type_style_index_0_id_64bc2d84_lang_scss=__webpack_require__("./node_modules/css-loader/dist/cjs.js??clonedRuleSet-16.use[1]!./node_modules/@storybook/preset-vue3-webpack/node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/resolve-url-loader/index.js!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-16.use[3]!./node_modules/@storybook/preset-vue3-webpack/node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/vue/components/course-modules/CourseModule.vue?vue&type=style&index=0&id=64bc2d84&lang=scss"),CourseModulevue_type_style_index_0_id_64bc2d84_lang_scss_options={};CourseModulevue_type_style_index_0_id_64bc2d84_lang_scss_options.styleTagTransform=styleTagTransform_default(),CourseModulevue_type_style_index_0_id_64bc2d84_lang_scss_options.setAttributes=setAttributesWithoutAttributes_default(),CourseModulevue_type_style_index_0_id_64bc2d84_lang_scss_options.insert=insertBySelector_default().bind(null,"head"),CourseModulevue_type_style_index_0_id_64bc2d84_lang_scss_options.domAPI=styleDomAPI_default(),CourseModulevue_type_style_index_0_id_64bc2d84_lang_scss_options.insertStyleElement=insertStyleElement_default();injectStylesIntoStyleTag_default()(CourseModulevue_type_style_index_0_id_64bc2d84_lang_scss.Z,CourseModulevue_type_style_index_0_id_64bc2d84_lang_scss_options);CourseModulevue_type_style_index_0_id_64bc2d84_lang_scss.Z&&CourseModulevue_type_style_index_0_id_64bc2d84_lang_scss.Z.locals&&CourseModulevue_type_style_index_0_id_64bc2d84_lang_scss.Z.locals;const CourseModule=CourseModulevue_type_script_setup_true_lang_js;CourseModulevue_type_script_setup_true_lang_js.__docgenInfo={exportName:"default",displayName:"CourseModule",description:"",tags:{},props:[{name:"type",type:{name:"string"}},{name:"label",type:{name:"string"}},{name:"id",type:{name:"number"}},{name:"nodes",type:{name:"array"}},{name:"lang",type:{name:"string"}},{name:"isActive",type:{name:"boolean"}}],events:[{name:"toggleActiveModule"}],sourceFiles:["/home/runner/work/frontend/frontend/src/vue/components/course-modules/CourseModule.vue"]};var ModulesProgressIndicator=__webpack_require__("./src/vue/components/module-progress-indicator/ModulesProgressIndicator.vue");var CourseModulesvue_type_script_setup_true_lang_js_hoisted_1={class:"courses"},CourseModulesvue_type_script_setup_true_lang_js_hoisted_2={class:"courses__header-section"},CourseModulesvue_type_script_setup_true_lang_js_hoisted_3=(0,vue_esm_bundler._)("span",{class:"courses__header-section__header__title"},"Moduler",-1),CourseModulesvue_type_script_setup_true_lang_js_hoisted_4={class:"courses__progress-indicator"},CourseModulesvue_type_script_setup_true_lang_js_hoisted_5={class:"courses__treeview"};const CourseModulesvue_type_script_setup_true_lang_js={__name:"CourseModules",props:{nodes:Array,lang:String,moduleProgressions:Array},setup:function setup(__props){var props=__props,modulesProgressionData=(0,vue_esm_bundler.Fl)((function(){return function completedPagesForAllModules(modulesCompletedCount){var totalPages=0,completedPages=0,completedModules=0;return modulesCompletedCount.forEach((function(module){module.totalPages>0&&module.totalPages===module.completedPages&&completedModules++,totalPages+=module.totalPages,completedPages+=module.completedPages})),{totalPages,completedPages,completedModules,totalModules:modulesCompletedCount.length}}(props.moduleProgressions)})),treestructure=props.nodes,selectedNode=(0,vue_esm_bundler.iH)(-1),toggleActiveModule=function toggleActiveModule(_ref){var moduleId=_ref.moduleId,isOpen=_ref.isOpen;selectedNode.value,selectedNode.value=isOpen?moduleId:-1};return function(_ctx,_cache){return(0,vue_esm_bundler.wg)(),(0,vue_esm_bundler.iD)("div",CourseModulesvue_type_script_setup_true_lang_js_hoisted_1,[(0,vue_esm_bundler._)("div",CourseModulesvue_type_script_setup_true_lang_js_hoisted_2,[(0,vue_esm_bundler._)("h3",{tabindex:"0",class:"courses__header-section__header",onKeydown:_cache[0]||(_cache[0]=(0,vue_esm_bundler.D2)((function($event){return toggleActiveModule(null)}),["enter"]))},[(0,vue_esm_bundler.Wm)(Icon.Z,{name:"format_list_numbered",size:"2em"}),CourseModulesvue_type_script_setup_true_lang_js_hoisted_3],32)]),(0,vue_esm_bundler._)("div",CourseModulesvue_type_script_setup_true_lang_js_hoisted_4,[(0,vue_esm_bundler.Wm)(ModulesProgressIndicator.Z,{modulesProgressionData:modulesProgressionData.value},null,8,["modulesProgressionData"])]),(0,vue_esm_bundler._)("div",CourseModulesvue_type_script_setup_true_lang_js_hoisted_5,[((0,vue_esm_bundler.wg)(!0),(0,vue_esm_bundler.iD)(vue_esm_bundler.HY,null,(0,vue_esm_bundler.Ko)((0,vue_esm_bundler.SU)(treestructure),(function(module){return(0,vue_esm_bundler.wg)(),(0,vue_esm_bundler.iD)("div",{class:"courses__treeview__item",key:module.id},[(0,vue_esm_bundler.Wm)(CourseModule,{type:module.type,lang:__props.lang,label:module.label,id:module.id,nodes:module.nodes,isActive:module.isActive,onToggleActiveModule:toggleActiveModule},null,8,["type","lang","label","id","nodes","isActive"])])})),128))])])}}};var CourseModulesvue_type_style_index_0_id_43fd01a8_lang_scss=__webpack_require__("./node_modules/css-loader/dist/cjs.js??clonedRuleSet-16.use[1]!./node_modules/@storybook/preset-vue3-webpack/node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/resolve-url-loader/index.js!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-16.use[3]!./node_modules/@storybook/preset-vue3-webpack/node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/vue/components/course-modules/CourseModules.vue?vue&type=style&index=0&id=43fd01a8&lang=scss"),CourseModulesvue_type_style_index_0_id_43fd01a8_lang_scss_options={};CourseModulesvue_type_style_index_0_id_43fd01a8_lang_scss_options.styleTagTransform=styleTagTransform_default(),CourseModulesvue_type_style_index_0_id_43fd01a8_lang_scss_options.setAttributes=setAttributesWithoutAttributes_default(),CourseModulesvue_type_style_index_0_id_43fd01a8_lang_scss_options.insert=insertBySelector_default().bind(null,"head"),CourseModulesvue_type_style_index_0_id_43fd01a8_lang_scss_options.domAPI=styleDomAPI_default(),CourseModulesvue_type_style_index_0_id_43fd01a8_lang_scss_options.insertStyleElement=insertStyleElement_default();injectStylesIntoStyleTag_default()(CourseModulesvue_type_style_index_0_id_43fd01a8_lang_scss.Z,CourseModulesvue_type_style_index_0_id_43fd01a8_lang_scss_options);CourseModulesvue_type_style_index_0_id_43fd01a8_lang_scss.Z&&CourseModulesvue_type_style_index_0_id_43fd01a8_lang_scss.Z.locals&&CourseModulesvue_type_style_index_0_id_43fd01a8_lang_scss.Z.locals;const CourseModules=CourseModulesvue_type_script_setup_true_lang_js;CourseModulesvue_type_script_setup_true_lang_js.__docgenInfo={exportName:"default",displayName:"CourseModules",description:"",tags:{},props:[{name:"nodes",type:{name:"array"}},{name:"lang",type:{name:"string"}},{name:"moduleProgressions",type:{name:"array"}}],sourceFiles:["/home/runner/work/frontend/frontend/src/vue/components/course-modules/CourseModules.vue"]};var _TwoLevelTree$paramet,_TwoLevelTree$paramet2,_ThreeLevelTree$param,_ThreeLevelTree$param2;function addPropertiesToTreeData(data){return data.forEach((function(module,moduleIndex){var moduleId="".concat(moduleIndex+1),moduleUrl=module.label.replace(/ /g,"-");module.id=moduleId,module.isActive=!1,module.nodes&&module.nodes.length>0&&module.nodes.forEach((function(node,nodeIndex){var nodeId="".concat(moduleId,"-").concat(nodeIndex+1),nodeUrl="".concat(moduleUrl,"/").concat(node.label.replace(/ /g,"-"));node.id=nodeId,node.isActive=!1,node.nodes&&node.nodes.length>0&&node.nodes.forEach((function(subNode,subNodeIndex){var subNodeId="".concat(nodeId,"-").concat(subNodeIndex+1),subNodeUrl="".concat(nodeUrl,"/").concat(subNode.label.replace(/ /g,"-"));subNode.id=subNodeId,subNode.url=subNodeUrl,subNode.isActive=!1}))}))})),console.log("Hello the data looks like that:",data),data}function _typeof(o){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)}function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function _objectSpread(e){for(var r=1;r'})},TwoLevelTree=Template.bind({});TwoLevelTree.args={nodes:addPropertiesToTreeData([{label:"0. Intro til modulen",type:"module",isCompleted:!1,nodes:[{label:"0.0 Rollevalg",type:"page",isCompleted:!0,nodes:[]},{label:"0.1 Intro og mål for modulen",type:"page",isCompleted:!1,nodes:[]},{label:"0.2 Inkludering og digital praksis",type:"page",isCompleted:!0,nodes:[]},{label:"0.3 Hvorfor er universell utforming viktig?",type:"page",isCompleted:!1,nodes:[]}]},{label:"Inkludering i digital praksis",type:"module",isCompleted:!0,nodes:[{label:"Visuelt gode læremidler på skjerm",type:"page",isCompleted:!1,nodes:[]},{label:"1.2 Auditivt gode læremidler på skjerm",type:"page",isCompleted:!1,nodes:[]},{label:"1.3 Gruppeoppgav: Skjermen i klasserommet",type:"page",isCompleted:!1,nodes:[]},{label:"1.4 Å uttrykke seg med mer enn tekst",type:"page",isCompleted:!1,nodes:[]},{label:"1.5 Stemmestyrt skriving som hjelpemiddel",type:"page",isCompleted:!1,nodes:[]},{label:"1.6 Skjermleser, e-bøker og lydbøker som hjelpemidler",type:"page",isCompleted:!1,nodes:[]},{label:"1.7 Inspirasjon fra dysleksivennlige skoler",type:"page",isCompleted:!1,nodes:[]},{label:"1.8 Gruppeoppgave: Bruk av hjelpemidler",type:"page",isCompleted:!1,nodes:[]},{label:"1.9 Spørreundersøkelse til modulen",type:"page",isCompleted:!0,nodes:[]},{label:"1.10 Visning av resultater fra spørreundersøkelse til modulen",type:"page",isCompleted:!1,nodes:[]}]},{label:"Universelt utformede læringsressurser",type:"module",isCompleted:!1,nodes:[{label:"2.1 Skjermlesere og alternativ tekst",type:"page",isCompleted:!0,nodes:[]},{label:"2.2 Tekst bør være tekst ",type:"page",isCompleted:!0,nodes:[]},{label:"2.3 Titler og overskrifter",type:"page",isCompleted:!0,nodes:[]},{label:"2.4 Kontrast",type:"page",isCompleted:!0,nodes:[]},{label:"2.6 Gruppeoppgave: Universell utforming av IKT",type:"page",isCompleted:!0,nodes:[]},{label:"2.5 Farge",type:"page",isCompleted:!0,nodes:[]},{label:"2.7 Teksting av video og lyd",type:"page",isCompleted:!0,nodes:[]},{label:"2.8 Leserekkefølge i PowerPoint",type:"page",isCompleted:!0,nodes:[]},{label:"2.9 Tabeller",type:"page",isCompleted:!0,nodes:[]},{label:"2.10 Responsivt design",type:"page",isCompleted:!0,nodes:[]},{label:"2.11 Navigering med tastatur",type:"page",isCompleted:!0,nodes:[]},{label:"2.12 Andre krav",type:"page",isCompleted:!0,nodes:[]},{label:"2.13 Tilgjengelighetssjekk",type:"page",isCompleted:!0,nodes:[]},{label:"2.14 Individuell oppgave: En universelt utformet læringsressurs",type:"page",isCompleted:!0,nodes:[]},{label:"2.15 Gruppeoppgave: Universell utforming av IKT",type:"page",isCompleted:!0,nodes:[]},{label:"2.16 Plenumsoppgaver",type:"page",isCompleted:!0,nodes:[]},{label:"2.17 Veien videre - og hva kan kunstig intelligens (KI) hjelpe oss med?",type:"page",isCompleted:!0,nodes:[]},{label:"2.18 Spørreundersøkelse til modulen",type:"page",isCompleted:!0,nodes:[]},{label:"2.19 Visning av resultater fra spørreundersøkelse til modulen",type:"page",isCompleted:!0,nodes:[]}]}])};var ThreeLevelTree=Template.bind({});ThreeLevelTree.args={nodes:addPropertiesToTreeData([{label:"0. Valg av rolle og lederstøtte",type:"module",isCompleted:!1,nodes:[{label:"Valg av rolle og skole",type:"page",isCompleted:!0,nodes:[]},{label:"Statistikk",type:"page",isCompleted:!1,nodes:[]},{label:"Fylkesstatistikk",type:"page",isCompleted:!1,nodes:[]},{label:"Kommunestatistikk",type:"page",isCompleted:!1,nodes:[]}]},{label:"1. Introduksjon",type:"module",isCompleted:!1,nodes:[{label:"1.1 Hva får du i denne kompetansepakken?",type:"page",isCompleted:!0,nodes:[]},{label:"1.2 Arbeid med læringssløyfer",type:"page",isCompleted:!1,nodes:[]},{label:"1.3 Kartlegging av ståsted",type:"page",isCompleted:!1,nodes:[]},{label:"1.4 Teoretiske modeller i praksis: Jahnke, Tpack og SAMR",type:"page",isCompleted:!1,nodes:[]},{label:"1.5 Begrepsavklaring",type:"page",isCompleted:!1,nodes:[]}]},{label:"2. Planlegge undervisning",type:"module",isCompleted:!1,nodes:[{label:"2.0 Introduksjon",type:"module",isCompleted:!0,nodes:[{label:"2.0.1 Video: Introduksjon til planlegge undervisnging",type:"page",isCompleted:!1,nodes:[]},{label:"2.0.2 Teoretisk modell i praksis: Jahnke",type:"page",isCompleted:!1,nodes:[]},{label:'Spill "Den sorte enke"',type:"page",isCompleted:!1,nodes:[]}]},{label:"2.1 Synkron/asynkron ",type:"module",isCompleted:!1,nodes:[{label:"2.1.1-Synkron og asynkron tilnærming",type:"page",isCompleted:!1,nodes:[]},{label:"2.1.2-Video:eksempel på hybrid undervisning",type:"page",isCompleted:!1,nodes:[]},{label:"2.1.3-Samhandling",type:"page",isCompleted:!1,nodes:[]},{label:"2.1.4 Aktivitet: Samhandling",type:"page",isCompleted:!1,nodes:[]}]},{label:"1.3 Kartlegging av ståsted",type:"page",isCompleted:!1,nodes:[]},{label:"1.4 Teoretiske modeller i praksis: Jahnke, Tpack og SAMR",type:"page",isCompleted:!1,nodes:[]},{label:"1.5 Begrepsavklaring",type:"page",isCompleted:!1,nodes:[]}]}])},TwoLevelTree.parameters=_objectSpread(_objectSpread({},TwoLevelTree.parameters),{},{docs:_objectSpread(_objectSpread({},null===(_TwoLevelTree$paramet=TwoLevelTree.parameters)||void 0===_TwoLevelTree$paramet?void 0:_TwoLevelTree$paramet.docs),{},{source:_objectSpread({originalSource:"args => defineComponent({\n components: {\n CourseModules\n },\n setup() {\n return {\n args\n };\n },\n template: ''\n})"},null===(_TwoLevelTree$paramet2=TwoLevelTree.parameters)||void 0===_TwoLevelTree$paramet2||null===(_TwoLevelTree$paramet2=_TwoLevelTree$paramet2.docs)||void 0===_TwoLevelTree$paramet2?void 0:_TwoLevelTree$paramet2.source)})}),ThreeLevelTree.parameters=_objectSpread(_objectSpread({},ThreeLevelTree.parameters),{},{docs:_objectSpread(_objectSpread({},null===(_ThreeLevelTree$param=ThreeLevelTree.parameters)||void 0===_ThreeLevelTree$param?void 0:_ThreeLevelTree$param.docs),{},{source:_objectSpread({originalSource:"args => defineComponent({\n components: {\n CourseModules\n },\n setup() {\n return {\n args\n };\n },\n template: ''\n})"},null===(_ThreeLevelTree$param2=ThreeLevelTree.parameters)||void 0===_ThreeLevelTree$param2||null===(_ThreeLevelTree$param2=_ThreeLevelTree$param2.docs)||void 0===_ThreeLevelTree$param2?void 0:_ThreeLevelTree$param2.source)})});var __namedExportsOrder=["TwoLevelTree","ThreeLevelTree"]},"./node_modules/css-loader/dist/cjs.js??clonedRuleSet-16.use[1]!./node_modules/@storybook/preset-vue3-webpack/node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/resolve-url-loader/index.js!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-16.use[3]!./node_modules/@storybook/preset-vue3-webpack/node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/vue/components/course-modules/CourseModule.vue?vue&type=style&index=0&id=64bc2d84&lang=scss":(module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});var _node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/css-loader/dist/runtime/sourceMaps.js"),_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__),_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js"),___CSS_LOADER_EXPORT___=__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__)()(_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default());___CSS_LOADER_EXPORT___.push([module.id,".module-package{border-top:.0625rem solid #e6e6e6;position:relative}.module-package__title{cursor:pointer;display:flex;align-items:center;padding:.5rem 1.5rem .5rem 0;height:4.375rem;color:#1a1a1a;font-family:Roboto;font-size:1.125rem;vertical-align:center;position:relative}.module-package__title .module-package__indicator--active{position:absolute;z-index:2;border-radius:0 .4375rem .4375rem 0;background:#3b7858;width:.875rem;height:100%;right:-0.875rem;pointer-events:none;animation-name:hideshow;animation-duration:.7s;animation-iteration-count:1;animation-direction:alternate}@keyframes hideshow{0%{opacity:0}100%{opacity:1}}.module-package__title h4{font-weight:400;font-size:1.125rem;line-height:normal;letter-spacing:.063rem;display:flex;align-items:center;white-space:normal !important;word-wrap:break-word !important}.module-package__title--active h4{font-weight:700}.module-package .module-package__dropdown-indicator{display:inline-block;transition:transform .3s;font-size:1.125rem}.module-package .module-package__dropdown-indicator--collapsed{transform:rotate(-90deg)}.module-package__child-nodes{list-style-type:none;background:#eceff2;padding:.2rem 0 .2rem 0;margin:0;animation-name:hideshow;animation-duration:.7s;animation-iteration-count:1;animation-direction:alternate}@keyframes hideshow{0%{opacity:0}100%{opacity:1}}.module-package__child-nodes--hidden{display:none}","",{version:3,sources:["webpack://./src/vue/components/course-modules/CourseModule.vue","webpack://./src/vue/design/colors.scss","webpack://./src/vue/design/_hide-show-effect.scss"],names:[],mappings:"AAIA,gBACE,iCAAA,CACA,iBAAA,CAEA,uBACE,cAAA,CACA,YAAA,CACA,kBAAA,CACA,4BAAA,CACA,eAAA,CACA,aCHU,CDIV,kBAAA,CACA,kBAAA,CACA,qBAAA,CACA,iBAAA,CACA,0DACE,iBAAA,CACA,SAAA,CACA,mCAAA,CACA,kBAAA,CACA,aAAA,CACA,WAAA,CACA,eAAA,CACA,mBAAA,CE1BJ,uBAAA,CACA,sBAAA,CACA,2BAAA,CACA,6BAAA,CAEA,oBACE,GACE,SAAA,CAEF,KACE,SAAA,CAAA,CFmBF,0BACE,eAAA,CACA,kBAAA,CACA,kBAAA,CACA,sBAAA,CACA,YAAA,CACA,kBAAA,CACA,6BAAA,CACA,+BAAA,CAIA,kCACE,eAAA,CAKN,oDACE,oBAAA,CACA,wBAAA,CACA,kBAAA,CAEA,+DACE,wBAAA,CAIJ,6BACE,oBAAA,CACA,kBAAA,CACA,uBAAA,CACA,QAAA,CE7DF,uBAAA,CACA,sBAAA,CACA,2BAAA,CACA,6BAAA,CAEA,oBACE,GACE,SAAA,CAEF,KACE,SAAA,CAAA,CFqDF,qCACE,YAAA",sourcesContent:["\n@import '../../design/hide-show-effect';\n@import '../../design/colors.scss';\n\n.module-package {\n border-top: 0.0625rem solid $color-grey-400;\n position:relative;\n\n &__title {\n cursor: pointer;\n display: flex;\n align-items: center;\n padding:0.5rem 1.5rem 0.5rem 0;\n height: 4.375rem;\n color: $color-black;\n font-family: Roboto;\n font-size: 1.125rem;\n vertical-align: center;\n position: relative;\n .module-package__indicator--active{\n position: absolute;\n z-index:2;\n border-radius: 0 0.4375rem 0.4375rem 0;\n background: map-get($color-palette-green, background, 500);\n width: 0.875rem;\n height: 100%;\n right: -0.875rem;\n pointer-events: none;\n @include hide-show-effect;\n }\n h4 {\n font-weight: 400;\n font-size: 1.125rem;\n line-height: normal;\n letter-spacing:0.063rem ;\n display:flex;\n align-items: center;\n white-space: normal !important;\n word-wrap: break-word !important;\n }\n\n &--active {\n h4 {\n font-weight: 700;\n }\n }\n }\n\n .module-package__dropdown-indicator {\n display: inline-block;\n transition: transform 0.3s;\n font-size: 1.125rem;\n\n &--collapsed {\n transform: rotate(-90deg);\n }\n }\n\n &__child-nodes {\n list-style-type: none;\n background: map-get($color-palette-slate, background, 200);\n padding: 0.2rem 0 0.2rem 0;\n margin:0;\n @include hide-show-effect;\n &--hidden{\n display: none;\n }\n }\n}\n","// support colors\n$color-grey-100: #f9f9f9; \n$color-grey-200: #f1f1f1;\n$color-grey-300: #eaeaea;\n$color-grey-400: #e6e6e6;\n$color-grey-500: #bfbfbf;\n$color-grey-600: #999999;\n$colorgrey-700: #737373;\n$color-grey-800: #666666;\n$color-grey-900: #303030;\n\n$color-black: #1a1a1a;\n$color-white: #ffffff;\n$primary-hover-color:#00468e;\n\n\n// Color palettes\n$color-palette-green: (\n background: (\n 200: #e3f2eb,\n 300: #94caae,\n 400: #7dbf9d,\n 500: #3b7858,\n 600: #254b38\n ),\n foreground: (\n 200: $color-black,\n 300: $color-black,\n 400: $color-black,\n 500: $color-white,\n 600: $color-white\n )\n);\n\n$color-palette-eggshell: (\n background: (\n 300: #f6efe4,\n 400: #f2e8da,\n 500: #d6b689,\n 600: #8c6631,\n 700: #5e4521\n ),\n foreground: (\n 300: $color-black,\n 400: $color-black,\n 500: $color-white,\n 600: $color-white,\n 700: $color-white\n )\n);\n\n$color-palette-peach: (\n background: (\n 300: #f8ece6,\n 400: #eed0c3,\n 500: #dc9e83,\n 600: #a7532f,\n 700: #63321c\n ),\n foreground: (\n 300: $color-black,\n 400: $color-black,\n 500: $color-black,\n 600: $color-white,\n 700: $color-grey-200\n )\n);\n\n$color-palette-azur: (\n background: (\n 300: #eaeaf5,\n 400: #e2e3f1,\n 500: #c7c9e3,\n 600: #999cbf,\n 700: #666883\n ),\n foreground: (\n 300: #303030,\n 400: #303030,\n 500: #303030,\n 600: #303030,\n 700: #ffffff\n )\n);\n\n$color-palette-steel: (\n background: (\n 200: #f5f7f9,\n 300: #ebeef3,\n 400: #bac6d8,\n 500: #99abc5,\n 600: #51698f,\n 700: #2e3c51\n ),\n foreground: (\n 200: $color-grey-900,\n 300: $color-grey-900,\n 400: $color-grey-900,\n 500: $color-grey-900,\n 600: $color-white,\n 700: $color-white\n )\n);\n\n$color-palette-slate: (\n background: (\n 200: #eceff2,\n 300: #a0b1bf,\n 400: #6d889d,\n 500: #546b7d,\n 600: #191d24\n ),\n foreground: (\n 200: $color-grey-900,\n 300: $color-grey-900,\n 400: $color-grey-900,\n 500: $color-white,\n 600: $color-white\n )\n);\n\n// extra colors\n$color-palette-red: (\n background: (\n 200: #ffebee,\n 300: #ffcdd2,\n 400: #ef9a9a,\n 500: #ef5350,\n 600: #c62828\n ),\n foreground: (#E2E3F1\n 200: $color-grey-900,\n 300: $color-black,\n 400: $color-grey-900,\n 500: $color-grey-900,\n 600: $color-white\n )\n);\n\n$color-palette-orange: (\n background: (\n 200: #fff3e0,\n 300: #ffcc80,\n 400: #ffa726,\n 500: #fb8c00,\n 600: #EF6C00\n ),\n foreground: (\n 200: $color-grey-900,\n 300: $color-black,\n 400: $color-grey-900,\n 500: $color-grey-900,\n 600: $color-black\n )\n);\n","@mixin hide-show-effect() {\n animation-name: hideshow;\n animation-duration: 0.7s;\n animation-iteration-count: 1;\n animation-direction: alternate;\n\n @keyframes hideshow {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n"],sourceRoot:""}]);const __WEBPACK_DEFAULT_EXPORT__=___CSS_LOADER_EXPORT___},"./node_modules/css-loader/dist/cjs.js??clonedRuleSet-16.use[1]!./node_modules/@storybook/preset-vue3-webpack/node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/resolve-url-loader/index.js!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-16.use[3]!./node_modules/@storybook/preset-vue3-webpack/node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/vue/components/course-modules/CourseModules.vue?vue&type=style&index=0&id=43fd01a8&lang=scss":(module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});var _node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/css-loader/dist/runtime/sourceMaps.js"),_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__),_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js"),___CSS_LOADER_EXPORT___=__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__)()(_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default());___CSS_LOADER_EXPORT___.push([module.id,".courses{box-sizing:border-box;width:100%;border-radius:1.6875rem 0 0 1.6875rem;border:.0625rem solid #e6e6e6;background:#fff;padding:0 0 .75rem 0;box-shadow:0 .2rem .3rem rgba(19,19,19,.35)}.courses__progress-indicator{box-sizing:border-box;padding:1rem;width:100%}.courses__header-section{color:#000;word-wrap:break-word;border-bottom:.125rem solid #e6e6e6;padding:1.75rem 1rem .625rem 1.5rem}.courses__header-section__header{display:flex;align-items:center;justify-content:flex-start;font-size:1.25rem;font-family:Roboto;font-weight:600;margin-left:1rem}.courses__header-section__header__title{margin-left:1.5rem;margin-top:-0.5rem}.courses__treeview{display:flex;flex-direction:column;justify-content:flex-start;padding-bottom:1rem}","",{version:3,sources:["webpack://./src/vue/components/course-modules/CourseModules.vue","webpack://./src/vue/design/colors.scss","webpack://./src/vue/design/_box-shadow.scss"],names:[],mappings:"AAGA,SACE,qBAAA,CACA,UAAA,CACA,qCAAA,CACA,6BAAA,CACA,eCIY,CDHZ,oBAAA,CEFE,2CANgB,CFWlB,6BACE,qBAAA,CACA,YAAA,CACA,UAAA,CAGF,yBACE,UAAA,CACA,oBAAA,CACA,mCAAA,CACA,mCAAA,CACA,iCACE,YAAA,CACA,kBAAA,CACA,0BAAA,CACA,iBAAA,CACA,kBAAA,CACA,eAAA,CACA,gBAAA,CACA,wCACE,kBAAA,CACA,kBAAA,CAMN,mBACE,YAAA,CACA,qBAAA,CACA,0BAAA,CACA,mBAAA",sourcesContent:["\n@import '../../design/box-shadow';\n@import '../../design/colors.scss';\n.courses {\n box-sizing: border-box;\n width: 100%;\n border-radius: 1.6875rem 0 0 1.6875rem;\n border: 0.0625rem solid $color-grey-400; \n background: $color-white;\n padding: 0 0 0.75rem 0;\n @include box-shadow(medium); \n\n &__progress-indicator{\n box-sizing: border-box;\n padding: 1rem;\n width: 100%;\n }\n\n &__header-section {\n color: black;\n word-wrap: break-word;\n border-bottom: 0.125rem solid $color-grey-400; \n padding: 1.75rem 1rem 0.625rem 1.5rem;\n &__header{\n display:flex;\n align-items: center;\n justify-content: flex-start;\n font-size: 1.25rem;\n font-family: Roboto;\n font-weight: 600;\n margin-left: 1rem;\n &__title{\n margin-left:1.5rem;\n margin-top: -0.5rem;\n }\n }\n \n }\n\n &__treeview {\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n padding-bottom:1rem;\n }\n}\n","// support colors\n$color-grey-100: #f9f9f9; \n$color-grey-200: #f1f1f1;\n$color-grey-300: #eaeaea;\n$color-grey-400: #e6e6e6;\n$color-grey-500: #bfbfbf;\n$color-grey-600: #999999;\n$colorgrey-700: #737373;\n$color-grey-800: #666666;\n$color-grey-900: #303030;\n\n$color-black: #1a1a1a;\n$color-white: #ffffff;\n$primary-hover-color:#00468e;\n\n\n// Color palettes\n$color-palette-green: (\n background: (\n 200: #e3f2eb,\n 300: #94caae,\n 400: #7dbf9d,\n 500: #3b7858,\n 600: #254b38\n ),\n foreground: (\n 200: $color-black,\n 300: $color-black,\n 400: $color-black,\n 500: $color-white,\n 600: $color-white\n )\n);\n\n$color-palette-eggshell: (\n background: (\n 300: #f6efe4,\n 400: #f2e8da,\n 500: #d6b689,\n 600: #8c6631,\n 700: #5e4521\n ),\n foreground: (\n 300: $color-black,\n 400: $color-black,\n 500: $color-white,\n 600: $color-white,\n 700: $color-white\n )\n);\n\n$color-palette-peach: (\n background: (\n 300: #f8ece6,\n 400: #eed0c3,\n 500: #dc9e83,\n 600: #a7532f,\n 700: #63321c\n ),\n foreground: (\n 300: $color-black,\n 400: $color-black,\n 500: $color-black,\n 600: $color-white,\n 700: $color-grey-200\n )\n);\n\n$color-palette-azur: (\n background: (\n 300: #eaeaf5,\n 400: #e2e3f1,\n 500: #c7c9e3,\n 600: #999cbf,\n 700: #666883\n ),\n foreground: (\n 300: #303030,\n 400: #303030,\n 500: #303030,\n 600: #303030,\n 700: #ffffff\n )\n);\n\n$color-palette-steel: (\n background: (\n 200: #f5f7f9,\n 300: #ebeef3,\n 400: #bac6d8,\n 500: #99abc5,\n 600: #51698f,\n 700: #2e3c51\n ),\n foreground: (\n 200: $color-grey-900,\n 300: $color-grey-900,\n 400: $color-grey-900,\n 500: $color-grey-900,\n 600: $color-white,\n 700: $color-white\n )\n);\n\n$color-palette-slate: (\n background: (\n 200: #eceff2,\n 300: #a0b1bf,\n 400: #6d889d,\n 500: #546b7d,\n 600: #191d24\n ),\n foreground: (\n 200: $color-grey-900,\n 300: $color-grey-900,\n 400: $color-grey-900,\n 500: $color-white,\n 600: $color-white\n )\n);\n\n// extra colors\n$color-palette-red: (\n background: (\n 200: #ffebee,\n 300: #ffcdd2,\n 400: #ef9a9a,\n 500: #ef5350,\n 600: #c62828\n ),\n foreground: (#E2E3F1\n 200: $color-grey-900,\n 300: $color-black,\n 400: $color-grey-900,\n 500: $color-grey-900,\n 600: $color-white\n )\n);\n\n$color-palette-orange: (\n background: (\n 200: #fff3e0,\n 300: #ffcc80,\n 400: #ffa726,\n 500: #fb8c00,\n 600: #EF6C00\n ),\n foreground: (\n 200: $color-grey-900,\n 300: $color-black,\n 400: $color-grey-900,\n 500: $color-grey-900,\n 600: $color-black\n )\n);\n","$box-shadow-small: 0 0.1rem 0.2rem rgba(19, 19, 19, 0.15);\n$box-shadow-medium: 0 0.2rem 0.3rem rgba(19, 19, 19, 0.35);\n\n@mixin box-shadow($size: small) {\n @if $size == small {\n box-shadow: $box-shadow-small;\n } @else if $size == medium {\n box-shadow: $box-shadow-medium;\n } @else {\n box-shadow: 0;\n }\n}\n"],sourceRoot:""}]);const __WEBPACK_DEFAULT_EXPORT__=___CSS_LOADER_EXPORT___},"./node_modules/css-loader/dist/cjs.js??clonedRuleSet-16.use[1]!./node_modules/@storybook/preset-vue3-webpack/node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/resolve-url-loader/index.js!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-16.use[3]!./node_modules/@storybook/preset-vue3-webpack/node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/vue/components/icon/Icon.vue?vue&type=style&index=0&id=90c4211a&lang=scss":(module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});var _node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/css-loader/dist/runtime/sourceMaps.js"),_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__),_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js"),___CSS_LOADER_EXPORT___=__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__)()(_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default());___CSS_LOADER_EXPORT___.push([module.id,".material-icon{color:inherit}.material-icon__icon .custom-size-1em{font-size:1em}.material-icon__icon .custom-size-2em{font-size:2em}.material-icon__icon .custom-size-3em{font-size:3em}","",{version:3,sources:["webpack://./src/vue/components/icon/Icon.vue"],names:[],mappings:"AACA,eACE,aAAA,CAII,sCACE,aAAA,CADF,sCACE,aAAA,CADF,sCACE,aAAA",sourcesContent:["\n.material-icon {\n color: inherit;\n\n &__icon {\n @each $size in (1em, 2em, 3em) {\n .custom-size-#{$size} {\n font-size: #{$size};\n }\n }\n }\n}\n"],sourceRoot:""}]);const __WEBPACK_DEFAULT_EXPORT__=___CSS_LOADER_EXPORT___},"./node_modules/css-loader/dist/cjs.js??clonedRuleSet-16.use[1]!./node_modules/@storybook/preset-vue3-webpack/node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/resolve-url-loader/index.js!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-16.use[3]!./node_modules/@storybook/preset-vue3-webpack/node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/vue/components/module-progress-indicator/ModulesProgressIndicator.vue?vue&type=style&index=0&id=5a6bae60&lang=scss":(module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});var _node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/css-loader/dist/runtime/sourceMaps.js"),_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__),_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js"),___CSS_LOADER_EXPORT___=__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__)()(_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default());___CSS_LOADER_EXPORT___.push([module.id,'.modules-progress-indicator-container{display:flex;flex-direction:column;width:100%;padding-left:1.5rem;box-sizing:border-box}.modules-progress-indicator-container h5{font-family:Montserrat;font-weight:500}.modules-progress-indicator-container .progress-indicator{width:100%;border:.063rem solid #99abc5;border-radius:.25rem;background-color:#eceff2;overflow:hidden;margin:.625rem 0;height:.625rem;position:relative}.modules-progress-indicator-container .progress-indicator .progress-bar{position:absolute;left:0;top:0;background-color:#3b7858;height:.625rem}.modules-progress-indicator-container .progress-label{font-size:.875rem;font-family:"Roboto";font-weight:400}',"",{version:3,sources:["webpack://./src/vue/components/module-progress-indicator/ModulesProgressIndicator.vue"],names:[],mappings:"AAEA,sCACE,YAAA,CACA,qBAAA,CACA,UAAA,CACA,mBAAA,CACA,qBAAA,CACA,yCACE,sBAAA,CACA,eAAA,CAGJ,0DACE,UAAA,CACA,4BAAA,CACA,oBAAA,CACA,wBAAA,CACA,eAAA,CACA,gBAAA,CACA,cAAA,CACA,iBAAA,CAEA,wEACE,iBAAA,CACA,MAAA,CACA,KAAA,CACA,wBAAA,CACA,cAAA,CAIJ,sDACG,iBAAA,CACA,oBAAA,CACA,eAAA",sourcesContent:["\n@import \"../../design/colors.scss\";\n.modules-progress-indicator-container{\n display:flex;\n flex-direction: column;\n width: 100%;\n padding-left: 1.5rem;\n box-sizing: border-box;\n h5{\n font-family: Montserrat;\n font-weight: 500;\n }\n\n.progress-indicator {\n width: 100%;\n border: 0.063rem solid #99ABC5;\n border-radius: 0.25rem;\n background-color: #ECEFF2;\n overflow: hidden;\n margin: 0.625rem 0;\n height: 0.625rem;\n position: relative;\n\n .progress-bar {\n position:absolute;\n left:0;\n top:0;\n background-color: map-get($color-palette-green, background, 500);\n height: 0.625rem;\n }\n \n}\n.progress-label {\n font-size: 0.875rem;\n font-family: 'Roboto';\n font-weight: 400;\n }\n}\n \n"],sourceRoot:""}]);const __WEBPACK_DEFAULT_EXPORT__=___CSS_LOADER_EXPORT___},"./node_modules/css-loader/dist/cjs.js??clonedRuleSet-16.use[1]!./node_modules/@storybook/preset-vue3-webpack/node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/resolve-url-loader/index.js!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-16.use[3]!./node_modules/@storybook/preset-vue3-webpack/node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/vue/components/tree-view/TreeView.vue?vue&type=style&index=0&id=91a9cf58&lang=scss":(module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});var _node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/css-loader/dist/runtime/sourceMaps.js"),_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__),_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js"),___CSS_LOADER_EXPORT___=__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__)()(_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default());___CSS_LOADER_EXPORT___.push([module.id,".tree-node{color:#1a1a1a;font-family:Roboto;font-size:.875rem;font-style:normal;font-weight:400;line-height:normal;margin-bottom:.5rem;box-sizing:border-box}.tree-node--active{color:#1a1a1a;font-family:Roboto;font-style:normal;font-weight:700;line-height:normal}.tree-node__leaf{width:100%;font-weight:400;padding-left:1.5rem;margin:.2rem 0 .2rem 0}.tree-node__leaf--active{background:#fff;font-weight:700}.tree-node__leaf:hover{background:#fff}.tree-node__label{position:relative;display:flex;width:100%;min-height:2rem;padding:.2rem .2rem .2rem .5rem;align-items:center;justify-content:flex-start;gap:.75rem;cursor:pointer}.tree-node__label a{text-decoration:none;color:inherit;width:100%}.tree-node__label__text{font-size:1rem;position:relative;box-sizing:border-box;display:flex;justify-content:flex-start;align-items:center}.tree-node__label__text .dropdown-title{font-weight:500}.tree-node__label__text__done-icon{position:absolute;left:-1.7rem;color:#3b7858;font-size:1.5rem}.tree-node__label__text .dropdown-indicator{position:relative;font-size:1rem;width:1.75rem;height:1.75rem;transition:transform .3s}.tree-node__label__text .dropdown-indicator--collapsed{transform:rotate(-90deg);top:.25rem}.tree-node__child-nodes{list-style-type:none;margin-bottom:.125rem;margin-left:0;animation-name:hideshow;animation-duration:.7s;animation-iteration-count:1;animation-direction:alternate}@keyframes hideshow{0%{opacity:0}100%{opacity:1}}.tree-node .tree-node__child-nodes__node{box-sizing:border-box}.tree-node .tree-node__child-nodes:focus>ul,.tree-node .tree-node__child-nodes:hover>ul{visibility:visible;opacity:1;display:block;box-sizing:border-box}.tree-node__label__text span,.tree-node__label__text a{word-break:break-word}","",{version:3,sources:["webpack://./src/vue/components/tree-view/TreeView.vue","webpack://./src/vue/design/colors.scss","webpack://./src/vue/design/_hide-show-effect.scss"],names:[],mappings:"AAGA,WACE,aCOY,CDNZ,kBAAA,CACA,iBAAA,CACA,iBAAA,CACA,eAAA,CACA,kBAAA,CACA,mBAAA,CACA,qBAAA,CAEA,mBACE,aCHU,CDIV,kBAAA,CACA,iBAAA,CACA,eAAA,CACA,kBAAA,CAGF,iBACE,UAAA,CACA,eAAA,CACA,mBAAA,CACA,sBAAA,CAEA,yBACE,eChBQ,CDiBR,eAAA,CAGF,uBACE,eCrBQ,CDyBZ,kBACE,iBAAA,CACA,YAAA,CACA,UAAA,CACA,eAAA,CACA,+BAAA,CACA,kBAAA,CACA,0BAAA,CACA,UAAA,CACA,cAAA,CAEA,oBACE,oBAAA,CACA,aAAA,CACA,UAAA,CAGF,wBACE,cAAA,CACA,iBAAA,CACA,qBAAA,CACA,YAAA,CACA,0BAAA,CACA,kBAAA,CACA,wCACE,eAAA,CAGF,mCACE,iBAAA,CACA,YAAA,CACA,aAAA,CACA,gBAAA,CAGF,4CACE,iBAAA,CACA,cAAA,CACA,aAAA,CACA,cAAA,CACA,wBAAA,CAGF,uDACE,wBAAA,CACA,UAAA,CAKN,wBACE,oBAAA,CACA,qBAAA,CACA,aAAA,CEzFF,uBAAA,CACA,sBAAA,CACA,2BAAA,CACA,6BAAA,CAEA,oBACE,GACE,SAAA,CAEF,KACE,SAAA,CAAA,CFkFH,yCACC,qBAAA,CAGF,wFAEE,kBAAA,CACA,SAAA,CACA,aAAA,CACA,qBAAA,CAIF,uDACE,qBAAA",sourcesContent:["\n@import '../../design/colors';\n@import '../../design/hide-show-effect';\n.tree-node {\n color: $color-black;\n font-family: Roboto;\n font-size: 0.875rem;\n font-style: normal;\n font-weight: 400;\n line-height: normal;\n margin-bottom: .5rem;\n box-sizing: border-box;\n\n &--active {\n color: $color-black;\n font-family: Roboto;\n font-style: normal;\n font-weight: 700;\n line-height: normal;\n }\n\n &__leaf {\n width:100%;\n font-weight:400;\n padding-left: 1.5rem;\n margin: 0.2rem 0 0.2rem 0;\n\n &--active {\n background: $color-white;\n font-weight: 700;\n }\n\n &:hover {\n background:$color-white;\n }\n }\n\n &__label {\n position: relative;\n display: flex;\n width: 100%;\n min-height: 2rem;\n padding: 0.2rem 0.2rem 0.2rem 0.5rem;\n align-items: center;\n justify-content: flex-start;\n gap: 0.75rem;\n cursor: pointer;\n\n a {\n text-decoration: none;\n color: inherit;\n width: 100%;\n }\n\n &__text {\n font-size: 1rem;\n position: relative;\n box-sizing: border-box;\n display:flex;\n justify-content: flex-start;\n align-items: center;\n .dropdown-title{\n font-weight: 500;\n }\n\n &__done-icon {\n position: absolute;\n left: -1.7rem;\n color: map-get($color-palette-green, background, 500);\n font-size: 1.5rem;\n }\n\n .dropdown-indicator {\n position: relative;\n font-size: 1rem;\n width: 1.75rem;\n height: 1.75rem;\n transition: transform 0.3s;\n }\n\n .dropdown-indicator--collapsed {\n transform: rotate(-90deg);\n top: 0.25rem;\n }\n }\n}\n\n &__child-nodes {\n list-style-type: none;\n margin-bottom: 0.125rem;\n margin-left: 0;\n @include hide-show-effect;\n }\n .tree-node__child-nodes__node{\n box-sizing: border-box;\n }\n\n .tree-node__child-nodes:focus > ul,\n .tree-node__child-nodes:hover > ul {\n visibility: visible;\n opacity: 1;\n display: block;\n box-sizing: border-box;\n }\n}\n.tree-node__label__text{\n span, a{\n word-break: break-word;\n }\n \n}\n","// support colors\n$color-grey-100: #f9f9f9; \n$color-grey-200: #f1f1f1;\n$color-grey-300: #eaeaea;\n$color-grey-400: #e6e6e6;\n$color-grey-500: #bfbfbf;\n$color-grey-600: #999999;\n$colorgrey-700: #737373;\n$color-grey-800: #666666;\n$color-grey-900: #303030;\n\n$color-black: #1a1a1a;\n$color-white: #ffffff;\n$primary-hover-color:#00468e;\n\n\n// Color palettes\n$color-palette-green: (\n background: (\n 200: #e3f2eb,\n 300: #94caae,\n 400: #7dbf9d,\n 500: #3b7858,\n 600: #254b38\n ),\n foreground: (\n 200: $color-black,\n 300: $color-black,\n 400: $color-black,\n 500: $color-white,\n 600: $color-white\n )\n);\n\n$color-palette-eggshell: (\n background: (\n 300: #f6efe4,\n 400: #f2e8da,\n 500: #d6b689,\n 600: #8c6631,\n 700: #5e4521\n ),\n foreground: (\n 300: $color-black,\n 400: $color-black,\n 500: $color-white,\n 600: $color-white,\n 700: $color-white\n )\n);\n\n$color-palette-peach: (\n background: (\n 300: #f8ece6,\n 400: #eed0c3,\n 500: #dc9e83,\n 600: #a7532f,\n 700: #63321c\n ),\n foreground: (\n 300: $color-black,\n 400: $color-black,\n 500: $color-black,\n 600: $color-white,\n 700: $color-grey-200\n )\n);\n\n$color-palette-azur: (\n background: (\n 300: #eaeaf5,\n 400: #e2e3f1,\n 500: #c7c9e3,\n 600: #999cbf,\n 700: #666883\n ),\n foreground: (\n 300: #303030,\n 400: #303030,\n 500: #303030,\n 600: #303030,\n 700: #ffffff\n )\n);\n\n$color-palette-steel: (\n background: (\n 200: #f5f7f9,\n 300: #ebeef3,\n 400: #bac6d8,\n 500: #99abc5,\n 600: #51698f,\n 700: #2e3c51\n ),\n foreground: (\n 200: $color-grey-900,\n 300: $color-grey-900,\n 400: $color-grey-900,\n 500: $color-grey-900,\n 600: $color-white,\n 700: $color-white\n )\n);\n\n$color-palette-slate: (\n background: (\n 200: #eceff2,\n 300: #a0b1bf,\n 400: #6d889d,\n 500: #546b7d,\n 600: #191d24\n ),\n foreground: (\n 200: $color-grey-900,\n 300: $color-grey-900,\n 400: $color-grey-900,\n 500: $color-white,\n 600: $color-white\n )\n);\n\n// extra colors\n$color-palette-red: (\n background: (\n 200: #ffebee,\n 300: #ffcdd2,\n 400: #ef9a9a,\n 500: #ef5350,\n 600: #c62828\n ),\n foreground: (#E2E3F1\n 200: $color-grey-900,\n 300: $color-black,\n 400: $color-grey-900,\n 500: $color-grey-900,\n 600: $color-white\n )\n);\n\n$color-palette-orange: (\n background: (\n 200: #fff3e0,\n 300: #ffcc80,\n 400: #ffa726,\n 500: #fb8c00,\n 600: #EF6C00\n ),\n foreground: (\n 200: $color-grey-900,\n 300: $color-black,\n 400: $color-grey-900,\n 500: $color-grey-900,\n 600: $color-black\n )\n);\n","@mixin hide-show-effect() {\n animation-name: hideshow;\n animation-duration: 0.7s;\n animation-iteration-count: 1;\n animation-direction: alternate;\n\n @keyframes hideshow {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n"],sourceRoot:""}]);const __WEBPACK_DEFAULT_EXPORT__=___CSS_LOADER_EXPORT___},"./src/vue/components/icon/Icon.vue":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>Icon});var vue_esm_bundler=__webpack_require__("./node_modules/vue/dist/vue.esm-bundler.js"),_hoisted_1=["innerHTML"];var IconPaths={alarm:"M480-80q-75 0-140.5-28.5t-114-77q-48.5-48.5-77-114T120-440q0-75 28.5-140.5t77-114q48.5-48.5 114-77T480-800q75 0 140.5 28.5t114 77q48.5 48.5 77 114T840-440q0 75-28.5 140.5t-77 114q-48.5 48.5-114 77T480-80Zm0-360Zm112 168 56-56-128-128v-184h-80v216l152 152ZM224-866l56 56-170 170-56-56 170-170Zm512 0 170 170-56 56-170-170 56-56ZM480-160q117 0 198.5-81.5T760-440q0-117-81.5-198.5T480-720q-117 0-198.5 81.5T200-440q0 117 81.5 198.5T480-160Z",article:"M280-280h280v-80H280v80Zm0-160h400v-80H280v80Zm0-160h400v-80H280v80Zm-80 480q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Zm0-80h560v-560H200v560Zm0-560v560-560Z",campaign:"M720-440v-80h160v80H720Zm48 280-128-96 48-64 128 96-48 64Zm-80-480-48-64 128-96 48 64-128 96ZM200-200v-160h-40q-33 0-56.5-23.5T80-440v-80q0-33 23.5-56.5T160-600h160l200-120v480L320-360h-40v160h-80Zm240-182v-196l-98 58H160v80h182l98 58Zm120 36v-268q27 24 43.5 58.5T620-480q0 41-16.5 75.5T560-346ZM300-480Z",check_circle_filled:"m424-296 282-282-56-56-226 226-114-114-56 56 170 170Zm56 216q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Z",chevron_left:"M560-240 320-480l240-240 56 56-184 184 184 184-56 56Z",chevron_right:"M504-480 320-664l56-56 240 240-240 240-56-56 184-184Z",cancel:"m336-280 144-144 144 144 56-56-144-144 144-144-56-56-144 144-144-144-56 56 144 144-144 144 56 56ZM480-80q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z",close:"m256-200-56-56 224-224-224-224 56-56 224 224 224-224 56 56-224 224 224 224-56 56-224-224-224 224Z",description:"M320-240h320v-80H320v80Zm0-160h320v-80H320v80ZM240-80q-33 0-56.5-23.5T160-160v-640q0-33 23.5-56.5T240-880h320l240 240v480q0 33-23.5-56.5T720-80H240Zm280-520v-200H240v640h480v-440H520ZM240-800v200-200 640-640Z",devices:"M80-160v-120h80v-440q0-33 23.5-56.5T240-800h600v80H240v440h240v120H80Zm520 0q-17 0-28.5-11.5T560-200v-400q0-17 11.5-28.5T600-640h240q17 0 28.5 11.5T880-600v400q0 17-11.5 28.5T840-160H600Zm40-120h160v-280H640v280Zm0 0h160-160Z",error:"M480-280q17 0 28.5-11.5T520-320q0-17-11.5-28.5T480-360q-17 0-28.5 11.5T440-320q0 17 11.5-28.5T480-280Zm-40-160h80v-240h-80v240Zm40 360q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z",expand_more:"M480-345 240-585l56-56 184 184 184-184 56 56-240 240Z",face:"M360-390q-21 0-35.5-14.5T310-440q0-21 14.5-35.5T360-490q21 0 35.5 14.5T410-440q0 21-14.5 35.5T360-390Zm240 0q-21 0-35.5-14.5T550-440q0-21 14.5-35.5T600-490q21 0 35.5 14.5T650-440q0 21-14.5 35.5T600-390ZM480-160q134 0 227-93t93-227q0-24-3-46.5T786-570q-21 5-42 7.5t-44 2.5q-91 0-172-39T390-708q-32 78-91.5 135.5T160-486v6q0 134 93 227t227 93Zm0 80q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm-54-715q42 70 114 112.5T700-640q14 0 27-1.5t27-3.5q-42-70-114-112.5T480-800q-14 0-27 1.5t-27 3.5ZM177-581q51-29 89-75t57-103q-51 29-89 75t-57 103Zm249-214Zm-103 36Z",flag:"M200-120v-680h360l16 80h224v400H520l-16-80H280v280h-80Zm300-440Zm86 160h134v-240H510l-16-80H280v240h290l16 80Z",format_list_numbered:"M120-80v-60h100v-30h-60v-60h60v-30H120v-60h120q17 0 28.5 11.5T280-280v40q0 17-11.5 28.5T240-200q17 0 28.5 11.5T280-160v40q0 17-11.5 28.5T240-80H120Zm0-280v-110q0-17 11.5-28.5T160-510h60v-30H120v-60h120q17 0 28.5 11.5T280-560v70q0 17-11.5 28.5T240-450h-60v30h100v60H120Zm60-280v-180h-60v-60h120v240h-60Zm180 440v-80h480v80H360Zm0-240v-80h480v80H360Zm0-240v-80h480v80H360Z",grade:"m354-247 126-76 126 77-33-144 111-96-146-13-58-136-58 135-146 13 111 97-33 143ZM233-80l65-281L80-550l288-25 112-265 112 265 288 25-218 189 65 281-247-149L233-80Zm247-350Z",light_bulb:"M440-80v-120h80v120h-80ZM80-440v-80h120v80H80Zm680 0v-80h120v80H760Zm-40 276-84-84 56-56 84 84-56 56Zm-480 0-56-56 84-84 56 56-84 84Zm240-116q-83 0-141.5-58.5T280-480q0-48 21.5-89.5T360-640v-200h240v200q37 29 58.5 70.5T680-480q0 83-58.5 141.5T480-280Zm-40-396q10-2 20-3t20-1q10 0 20 1t20 3v-84h-80v84Zm40 316q50 0 85-35t35-85q0-50-35-85t-85-35q-50 0-85 35t-35 85q0 50 35 85t85 35Zm0-120Z",link:"M440-280H280q-83 0-141.5-58.5T80-480q0-83 58.5-141.5T280-680h160v80H280q-50 0-85 35t-35 85q0 50 35 85t85 35h160v80ZM320-440v-80h320v80H320Zm200 160v-80h160q50 0 85-35t35-85q0-50-35-85t-85-35H520v-80h160q83 0 141.5 58.5T880-480q0 83-58.5 141.5T680-280H520Z",open_in_new:"M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h280v80H200v560h560v-280h80v280q0 33-23.5 56.5T760-120H200Zm188-212-56-56 372-372H560v-80h280v280h-80v-144L388-332Z",star:"m354-247 126-76 126 77-33-144 111-96-146-13-58-136-58 135-146 13 111 97-33 143ZM233-80l65-281L80-550l288-25 112-265 112 265 288 25-218 189 65 281-247-149L233-80Zm247-350Z",quote:"m228-240 92-160q-66 0-113-47t-47-113q0-66 47-113t113-47q66 0 113 47t47 113q0 23-5.5 42.5T458-480L320-240h-92Zm360 0 92-160q-66 0-113-47t-47-113q0-66 47-113t113-47q66 0 113 47t47 113q0 23-5.5 42.5T818-480L680-240h-92ZM320-500q25 0 42.5-17.5T380-560q0-25-17.5-42.5T320-620q-25 0-42.5 17.5T260-560q0 25 17.5 42.5T320-500Zm360 0q25 0 42.5-17.5T740-560q0-25-17.5-42.5T680-620q-25 0-42.5 17.5T620-560q0 25 17.5 42.5T680-500Zm0-60Zm-360 0Z",warning:"m40-120 440-760 440 760H40Zm138-80h604L480-720 178-200Zm302-40q17 0 28.5-11.5T520-280q0-17-11.5-28.5T480-320q-17 0-28.5 11.5T440-280q0 17 11.5 28.5T480-240q0 17-11.5 28.5T440-200Zm-40-120h80v-200h-80v200Zm40-100Z"};const Iconvue_type_script_lang_js={props:{name:{type:String,required:!0},size:{type:[String,Number],default:"1em"},color:{type:String,default:"currentColor"}},setup:function setup(props){var iconPath=(0,vue_esm_bundler.Fl)((function(){var selected=IconPaths[props.name];if(selected)return selected}));return{iconClasses:(0,vue_esm_bundler.Fl)((function(){return["material-icon","custom-size-".concat("string"==typeof props.size&&props.size.includes("em")?props.size:"1em")]})),iconContent:(0,vue_esm_bundler.Fl)((function(){return'')})),iconPath}}};var injectStylesIntoStyleTag=__webpack_require__("./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),injectStylesIntoStyleTag_default=__webpack_require__.n(injectStylesIntoStyleTag),styleDomAPI=__webpack_require__("./node_modules/style-loader/dist/runtime/styleDomAPI.js"),styleDomAPI_default=__webpack_require__.n(styleDomAPI),insertBySelector=__webpack_require__("./node_modules/style-loader/dist/runtime/insertBySelector.js"),insertBySelector_default=__webpack_require__.n(insertBySelector),setAttributesWithoutAttributes=__webpack_require__("./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"),setAttributesWithoutAttributes_default=__webpack_require__.n(setAttributesWithoutAttributes),insertStyleElement=__webpack_require__("./node_modules/style-loader/dist/runtime/insertStyleElement.js"),insertStyleElement_default=__webpack_require__.n(insertStyleElement),styleTagTransform=__webpack_require__("./node_modules/style-loader/dist/runtime/styleTagTransform.js"),styleTagTransform_default=__webpack_require__.n(styleTagTransform),Iconvue_type_style_index_0_id_90c4211a_lang_scss=__webpack_require__("./node_modules/css-loader/dist/cjs.js??clonedRuleSet-16.use[1]!./node_modules/@storybook/preset-vue3-webpack/node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/resolve-url-loader/index.js!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-16.use[3]!./node_modules/@storybook/preset-vue3-webpack/node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/vue/components/icon/Icon.vue?vue&type=style&index=0&id=90c4211a&lang=scss"),options={};options.styleTagTransform=styleTagTransform_default(),options.setAttributes=setAttributesWithoutAttributes_default(),options.insert=insertBySelector_default().bind(null,"head"),options.domAPI=styleDomAPI_default(),options.insertStyleElement=insertStyleElement_default();injectStylesIntoStyleTag_default()(Iconvue_type_style_index_0_id_90c4211a_lang_scss.Z,options);Iconvue_type_style_index_0_id_90c4211a_lang_scss.Z&&Iconvue_type_style_index_0_id_90c4211a_lang_scss.Z.locals&&Iconvue_type_style_index_0_id_90c4211a_lang_scss.Z.locals;const __exports__=(0,__webpack_require__("./node_modules/@storybook/preset-vue3-webpack/node_modules/vue-loader/dist/exportHelper.js").Z)(Iconvue_type_script_lang_js,[["render",function render(_ctx,_cache,$props,$setup,$data,$options){return(0,vue_esm_bundler.wg)(),(0,vue_esm_bundler.iD)("span",{class:(0,vue_esm_bundler.C_)($setup.iconClasses),innerHTML:$setup.iconContent},null,10,_hoisted_1)}]]),Icon=__exports__;__exports__.__docgenInfo={exportName:"default",displayName:"Icon",description:"",tags:{},props:[{name:"name",type:{name:"string"},required:!0},{name:"size",type:{name:"string|number"},defaultValue:{func:!1,value:"'1em'"}},{name:"color",type:{name:"string"},defaultValue:{func:!1,value:"'currentColor'"}}],sourceFiles:["/home/runner/work/frontend/frontend/src/vue/components/icon/Icon.vue"]}},"./src/vue/components/module-progress-indicator/ModulesProgressIndicator.vue":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>ModulesProgressIndicator});var vue_esm_bundler=__webpack_require__("./node_modules/vue/dist/vue.esm-bundler.js"),_hoisted_1={class:"modules-progress-indicator-container"},_hoisted_2=(0,vue_esm_bundler._)("h5",null,"Progresjon",-1),_hoisted_3={class:"progress-indicator"},_hoisted_4=["aria-label"],_hoisted_5={class:"progress-label"};const ModulesProgressIndicatorvue_type_script_lang_js={props:{modulesProgressionData:Object},data:function data(){return{percentageCompleted:Math.round(this.modulesProgressionData.completedPages/this.modulesProgressionData.totalPages*100),modulesProgressionData:this.modulesProgressionData}}};var injectStylesIntoStyleTag=__webpack_require__("./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),injectStylesIntoStyleTag_default=__webpack_require__.n(injectStylesIntoStyleTag),styleDomAPI=__webpack_require__("./node_modules/style-loader/dist/runtime/styleDomAPI.js"),styleDomAPI_default=__webpack_require__.n(styleDomAPI),insertBySelector=__webpack_require__("./node_modules/style-loader/dist/runtime/insertBySelector.js"),insertBySelector_default=__webpack_require__.n(insertBySelector),setAttributesWithoutAttributes=__webpack_require__("./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"),setAttributesWithoutAttributes_default=__webpack_require__.n(setAttributesWithoutAttributes),insertStyleElement=__webpack_require__("./node_modules/style-loader/dist/runtime/insertStyleElement.js"),insertStyleElement_default=__webpack_require__.n(insertStyleElement),styleTagTransform=__webpack_require__("./node_modules/style-loader/dist/runtime/styleTagTransform.js"),styleTagTransform_default=__webpack_require__.n(styleTagTransform),ModulesProgressIndicatorvue_type_style_index_0_id_5a6bae60_lang_scss=__webpack_require__("./node_modules/css-loader/dist/cjs.js??clonedRuleSet-16.use[1]!./node_modules/@storybook/preset-vue3-webpack/node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/resolve-url-loader/index.js!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-16.use[3]!./node_modules/@storybook/preset-vue3-webpack/node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/vue/components/module-progress-indicator/ModulesProgressIndicator.vue?vue&type=style&index=0&id=5a6bae60&lang=scss"),options={};options.styleTagTransform=styleTagTransform_default(),options.setAttributes=setAttributesWithoutAttributes_default(),options.insert=insertBySelector_default().bind(null,"head"),options.domAPI=styleDomAPI_default(),options.insertStyleElement=insertStyleElement_default();injectStylesIntoStyleTag_default()(ModulesProgressIndicatorvue_type_style_index_0_id_5a6bae60_lang_scss.Z,options);ModulesProgressIndicatorvue_type_style_index_0_id_5a6bae60_lang_scss.Z&&ModulesProgressIndicatorvue_type_style_index_0_id_5a6bae60_lang_scss.Z.locals&&ModulesProgressIndicatorvue_type_style_index_0_id_5a6bae60_lang_scss.Z.locals;const __exports__=(0,__webpack_require__("./node_modules/@storybook/preset-vue3-webpack/node_modules/vue-loader/dist/exportHelper.js").Z)(ModulesProgressIndicatorvue_type_script_lang_js,[["render",function render(_ctx,_cache,$props,$setup,$data,$options){return(0,vue_esm_bundler.wg)(),(0,vue_esm_bundler.iD)("div",_hoisted_1,[_hoisted_2,(0,vue_esm_bundler._)("div",_hoisted_3,[(0,vue_esm_bundler._)("div",{class:"progress-bar",style:(0,vue_esm_bundler.j5)({width:$data.percentageCompleted+"%"}),"aria-label":$data.modulesProgressionData.completedPages+" av "+$data.modulesProgressionData.totalPages+"er gjennomført."},null,12,_hoisted_4)]),(0,vue_esm_bundler._)("div",_hoisted_5,(0,vue_esm_bundler.zw)($data.modulesProgressionData.completedModules)+" av "+(0,vue_esm_bundler.zw)($data.modulesProgressionData.totalModules)+" moduler gjennomført ",1)])}]]),ModulesProgressIndicator=__exports__;__exports__.__docgenInfo={exportName:"default",displayName:"ModulesProgressIndicator",description:"",tags:{},props:[{name:"modulesProgressionData",type:{name:"object"}}],sourceFiles:["/home/runner/work/frontend/frontend/src/vue/components/module-progress-indicator/ModulesProgressIndicator.vue"]}}}]); \ No newline at end of file +"use strict";(self.webpackChunkmooc=self.webpackChunkmooc||[]).push([[561],{"./src/vue/components/course-modules/CourseModules.stories.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{ThreeLevelTree:()=>ThreeLevelTree,TwoLevelTree:()=>TwoLevelTree,__namedExportsOrder:()=>__namedExportsOrder,default:()=>CourseModules_stories});var vue_esm_bundler=__webpack_require__("./node_modules/vue/dist/vue.esm-bundler.js"),Icon=__webpack_require__("./src/vue/components/icon/Icon.vue"),lang_utils=__webpack_require__("./src/vue/utils/lang-utils.js"),_hoisted_1=["aria-hidden","tabIndex","role","onKeydown"],_hoisted_2={class:"tree-node__label",tabIndex:"-1"},_hoisted_3={class:"tree-node__label__text"},_hoisted_4=["href"],_hoisted_5={key:3,class:"dropdown-title"},_hoisted_6={key:0,class:"tree-node__child-nodes"};const TreeViewvue_type_script_setup_true_lang_js={__name:"TreeView",props:{type:String,label:String,lang:String,url:String,id:Number,nodes:Array,isCompleted:Boolean,isActive:Boolean},setup:function setup(__props){var props=__props,collapsed=(0,vue_esm_bundler.iH)(!0),initialIsActive=(0,vue_esm_bundler.iH)(props.isActive),isLeaf=(0,vue_esm_bundler.Fl)((function(){return 0===props.nodes.length})),toggleCollapse=function toggleCollapse(){isLeaf.value||(collapsed.value=!collapsed.value),isLeaf.value&&(window.location.href=props.url)};initialIsActive.value&&!isLeaf.value&&(collapsed.value=!1);var localizedLabel=(0,vue_esm_bundler.Fl)((function(){return(0,lang_utils.cN)(props.label,props.lang)}));return(0,vue_esm_bundler.bv)((function(){props.isActive&&(collapsed.value=!1)})),function(_ctx,_cache){var _component_TreeView=(0,vue_esm_bundler.up)("TreeView",!0);return(0,vue_esm_bundler.wg)(),(0,vue_esm_bundler.iD)("div",{class:(0,vue_esm_bundler.C_)(["tree-node",{"tree-node__leaf":isLeaf.value,"tree-node--collapsed":!isLeaf.value&&collapsed.value,"tree-node__leaf--active":__props.isActive&&isLeaf.value,"tree-node--active":__props.isActive&&!isLeaf.value}]),"aria-hidden":collapsed.value||isLeaf.value,tabIndex:isLeaf.value?-1:0,role:isLeaf.value?"presentation":"group",onClick:toggleCollapse,onKeydown:[(0,vue_esm_bundler.D2)(toggleCollapse,["enter"]),(0,vue_esm_bundler.D2)(toggleCollapse,["space"])]},[(0,vue_esm_bundler._)("span",_hoisted_2,[(0,vue_esm_bundler._)("div",_hoisted_3,[isLeaf.value?(0,vue_esm_bundler.kq)("",!0):((0,vue_esm_bundler.wg)(),(0,vue_esm_bundler.iD)("span",{key:0,class:(0,vue_esm_bundler.C_)(["dropdown-indicator",{"dropdown-indicator--collapsed":collapsed.value}])},[(0,vue_esm_bundler.Wm)(Icon.Z,{name:"expand_more",size:"2em"})],2)),"page"===__props.type&&__props.isCompleted?((0,vue_esm_bundler.wg)(),(0,vue_esm_bundler.j4)(Icon.Z,{key:1,class:"tree-node__label__text__done-icon",name:"check_circle_filled",size:"1em"})):(0,vue_esm_bundler.kq)("",!0),"page"===__props.type?((0,vue_esm_bundler.wg)(),(0,vue_esm_bundler.iD)("a",{key:2,href:__props.url},(0,vue_esm_bundler.zw)(localizedLabel.value),9,_hoisted_4)):((0,vue_esm_bundler.wg)(),(0,vue_esm_bundler.iD)("div",_hoisted_5,(0,vue_esm_bundler.zw)(localizedLabel.value),1))])]),collapsed.value||isLeaf.value?(0,vue_esm_bundler.kq)("",!0):((0,vue_esm_bundler.wg)(),(0,vue_esm_bundler.iD)("ul",_hoisted_6,[((0,vue_esm_bundler.wg)(!0),(0,vue_esm_bundler.iD)(vue_esm_bundler.HY,null,(0,vue_esm_bundler.Ko)(__props.nodes,(function(node){return(0,vue_esm_bundler.wg)(),(0,vue_esm_bundler.iD)("li",{key:node.id,class:"tree-node__child-nodes__node"},[(0,vue_esm_bundler.Wm)(_component_TreeView,{type:node.type,label:(0,vue_esm_bundler.SU)(lang_utils.cN)(node.label,(0,vue_esm_bundler.SU)(lang_utils.YI)()),id:node.id,nodes:node.nodes,lang:__props.lang,url:node.url?node.url:"",isCompleted:node.isCompleted,isActive:node.isActive},null,8,["type","label","id","nodes","lang","url","isCompleted","isActive"])])})),128))]))],42,_hoisted_1)}}};var injectStylesIntoStyleTag=__webpack_require__("./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),injectStylesIntoStyleTag_default=__webpack_require__.n(injectStylesIntoStyleTag),styleDomAPI=__webpack_require__("./node_modules/style-loader/dist/runtime/styleDomAPI.js"),styleDomAPI_default=__webpack_require__.n(styleDomAPI),insertBySelector=__webpack_require__("./node_modules/style-loader/dist/runtime/insertBySelector.js"),insertBySelector_default=__webpack_require__.n(insertBySelector),setAttributesWithoutAttributes=__webpack_require__("./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"),setAttributesWithoutAttributes_default=__webpack_require__.n(setAttributesWithoutAttributes),insertStyleElement=__webpack_require__("./node_modules/style-loader/dist/runtime/insertStyleElement.js"),insertStyleElement_default=__webpack_require__.n(insertStyleElement),styleTagTransform=__webpack_require__("./node_modules/style-loader/dist/runtime/styleTagTransform.js"),styleTagTransform_default=__webpack_require__.n(styleTagTransform),TreeViewvue_type_style_index_0_id_91a9cf58_lang_scss=__webpack_require__("./node_modules/css-loader/dist/cjs.js??clonedRuleSet-16.use[1]!./node_modules/@storybook/preset-vue3-webpack/node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/resolve-url-loader/index.js!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-16.use[3]!./node_modules/@storybook/preset-vue3-webpack/node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/vue/components/tree-view/TreeView.vue?vue&type=style&index=0&id=91a9cf58&lang=scss"),options={};options.styleTagTransform=styleTagTransform_default(),options.setAttributes=setAttributesWithoutAttributes_default(),options.insert=insertBySelector_default().bind(null,"head"),options.domAPI=styleDomAPI_default(),options.insertStyleElement=insertStyleElement_default();injectStylesIntoStyleTag_default()(TreeViewvue_type_style_index_0_id_91a9cf58_lang_scss.Z,options);TreeViewvue_type_style_index_0_id_91a9cf58_lang_scss.Z&&TreeViewvue_type_style_index_0_id_91a9cf58_lang_scss.Z.locals&&TreeViewvue_type_style_index_0_id_91a9cf58_lang_scss.Z.locals;const TreeView=TreeViewvue_type_script_setup_true_lang_js;TreeViewvue_type_script_setup_true_lang_js.__docgenInfo={exportName:"default",displayName:"TreeView",description:"",tags:{},props:[{name:"type",type:{name:"string"}},{name:"label",type:{name:"string"}},{name:"lang",type:{name:"string"}},{name:"url",type:{name:"string"}},{name:"id",type:{name:"number"}},{name:"nodes",type:{name:"array"}},{name:"isCompleted",type:{name:"boolean"}},{name:"isActive",type:{name:"boolean"}}],sourceFiles:["/home/runner/work/frontend/frontend/src/vue/components/tree-view/TreeView.vue"]};var CourseModulevue_type_script_setup_true_lang_js_hoisted_1={class:"module-package"},CourseModulevue_type_script_setup_true_lang_js_hoisted_2=["onKeydown","tabIndex","aria-expanded","role"],CourseModulevue_type_script_setup_true_lang_js_hoisted_3={class:"title"},CourseModulevue_type_script_setup_true_lang_js_hoisted_4=["role"];const CourseModulevue_type_script_setup_true_lang_js={__name:"CourseModule",props:{type:String,label:String,id:Number,nodes:Array,lang:String,isActive:Boolean},emits:["toggleActiveModule"],setup:function setup(__props,_ref){var emits=_ref.emit,props=__props,collapsed=(0,vue_esm_bundler.iH)(!0),selectedNode=(0,vue_esm_bundler.iH)(-1),isLeaf=(0,vue_esm_bundler.Fl)((function(){return 0===props.nodes.length})),localizedLabel=(0,vue_esm_bundler.Fl)((function(){return(0,lang_utils.cN)(props.label,props.lang)})),toggleCollapse=function toggleCollapse(){isLeaf.value||(collapsed.value=!collapsed.value,emits("toggleActiveModule",{moduleId:props.id,isOpen:!collapsed.value}))},toggleActiveModule=function toggleActiveModule(_ref2){var moduleId=_ref2.moduleId,isOpen=_ref2.isOpen;selectedNode.value,selectedNode.value=isOpen?moduleId:-1};return(0,vue_esm_bundler.bv)((function(){props.isActive&&(collapsed.value=!1)})),function(_ctx,_cache){return(0,vue_esm_bundler.wg)(),(0,vue_esm_bundler.iD)("div",CourseModulevue_type_script_setup_true_lang_js_hoisted_1,[(0,vue_esm_bundler._)("div",{class:(0,vue_esm_bundler.C_)(["module-package__title",{"module-package__title--active":__props.isActive}]),onClick:toggleCollapse,onKeydown:[(0,vue_esm_bundler.D2)(toggleCollapse,["enter"]),(0,vue_esm_bundler.D2)(toggleCollapse,["space"])],tabIndex:isLeaf.value?-1:0,"aria-expanded":!collapsed.value,role:isLeaf.value?"button":"treeitem"},[(0,vue_esm_bundler._)("div",{class:(0,vue_esm_bundler.C_)({"module-package__indicator--active":__props.isActive})},null,2),(0,vue_esm_bundler._)("h4",null,[(0,vue_esm_bundler._)("span",{class:(0,vue_esm_bundler.C_)(["module-package__dropdown-indicator",{"module-package__dropdown-indicator--collapsed":collapsed.value}])},[(0,vue_esm_bundler.Wm)(Icon.Z,{name:"expand_more",size:"2em"})],2),(0,vue_esm_bundler._)("span",CourseModulevue_type_script_setup_true_lang_js_hoisted_3,(0,vue_esm_bundler.zw)(localizedLabel.value),1)])],42,CourseModulevue_type_script_setup_true_lang_js_hoisted_2),(0,vue_esm_bundler._)("ul",{class:(0,vue_esm_bundler.C_)(["module-package__child-nodes",{"module-package__child-nodes--hidden":collapsed.value}]),role:isLeaf.value?"presentation":"group"},[((0,vue_esm_bundler.wg)(!0),(0,vue_esm_bundler.iD)(vue_esm_bundler.HY,null,(0,vue_esm_bundler.Ko)(__props.nodes,(function(course){return(0,vue_esm_bundler.wg)(),(0,vue_esm_bundler.iD)("li",{key:course.id},[(0,vue_esm_bundler.Wm)(TreeView,{type:course.type,label:course.label,id:course.id,lang:__props.lang,url:course.url?course.url:"",nodes:course.nodes,isCompleted:course.isCompleted,isActive:course.isActive,onToggleActiveModule:toggleActiveModule},null,8,["type","label","id","lang","url","nodes","isCompleted","isActive"])])})),128))],10,CourseModulevue_type_script_setup_true_lang_js_hoisted_4)])}}};var CourseModulevue_type_style_index_0_id_cec13170_lang_scss=__webpack_require__("./node_modules/css-loader/dist/cjs.js??clonedRuleSet-16.use[1]!./node_modules/@storybook/preset-vue3-webpack/node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/resolve-url-loader/index.js!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-16.use[3]!./node_modules/@storybook/preset-vue3-webpack/node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/vue/components/course-modules/CourseModule.vue?vue&type=style&index=0&id=cec13170&lang=scss"),CourseModulevue_type_style_index_0_id_cec13170_lang_scss_options={};CourseModulevue_type_style_index_0_id_cec13170_lang_scss_options.styleTagTransform=styleTagTransform_default(),CourseModulevue_type_style_index_0_id_cec13170_lang_scss_options.setAttributes=setAttributesWithoutAttributes_default(),CourseModulevue_type_style_index_0_id_cec13170_lang_scss_options.insert=insertBySelector_default().bind(null,"head"),CourseModulevue_type_style_index_0_id_cec13170_lang_scss_options.domAPI=styleDomAPI_default(),CourseModulevue_type_style_index_0_id_cec13170_lang_scss_options.insertStyleElement=insertStyleElement_default();injectStylesIntoStyleTag_default()(CourseModulevue_type_style_index_0_id_cec13170_lang_scss.Z,CourseModulevue_type_style_index_0_id_cec13170_lang_scss_options);CourseModulevue_type_style_index_0_id_cec13170_lang_scss.Z&&CourseModulevue_type_style_index_0_id_cec13170_lang_scss.Z.locals&&CourseModulevue_type_style_index_0_id_cec13170_lang_scss.Z.locals;const CourseModule=CourseModulevue_type_script_setup_true_lang_js;CourseModulevue_type_script_setup_true_lang_js.__docgenInfo={exportName:"default",displayName:"CourseModule",description:"",tags:{},props:[{name:"type",type:{name:"string"}},{name:"label",type:{name:"string"}},{name:"id",type:{name:"number"}},{name:"nodes",type:{name:"array"}},{name:"lang",type:{name:"string"}},{name:"isActive",type:{name:"boolean"}}],events:[{name:"toggleActiveModule"}],sourceFiles:["/home/runner/work/frontend/frontend/src/vue/components/course-modules/CourseModule.vue"]};var ModulesProgressIndicator=__webpack_require__("./src/vue/components/module-progress-indicator/ModulesProgressIndicator.vue");var CourseModulesvue_type_script_setup_true_lang_js_hoisted_1={class:"courses"},CourseModulesvue_type_script_setup_true_lang_js_hoisted_2={class:"courses__header-section"},CourseModulesvue_type_script_setup_true_lang_js_hoisted_3=(0,vue_esm_bundler._)("span",{class:"courses__header-section__header__title"},"Moduler",-1),CourseModulesvue_type_script_setup_true_lang_js_hoisted_4={class:"courses__progress-indicator"},CourseModulesvue_type_script_setup_true_lang_js_hoisted_5={class:"courses__treeview"};const CourseModulesvue_type_script_setup_true_lang_js={__name:"CourseModules",props:{nodes:Array,lang:String,moduleProgressions:Array},setup:function setup(__props){var props=__props,modulesProgressionData=(0,vue_esm_bundler.Fl)((function(){return function completedPagesForAllModules(modulesCompletedCount){var totalPages=0,completedPages=0,completedModules=0;return modulesCompletedCount.forEach((function(module){module.totalPages>0&&module.totalPages===module.completedPages&&completedModules++,totalPages+=module.totalPages,completedPages+=module.completedPages})),{totalPages,completedPages,completedModules,totalModules:modulesCompletedCount.length}}(props.moduleProgressions)})),treestructure=props.nodes,selectedNode=(0,vue_esm_bundler.iH)(-1),toggleActiveModule=function toggleActiveModule(_ref){var moduleId=_ref.moduleId,isOpen=_ref.isOpen;selectedNode.value,selectedNode.value=isOpen?moduleId:-1};return function(_ctx,_cache){return(0,vue_esm_bundler.wg)(),(0,vue_esm_bundler.iD)("div",CourseModulesvue_type_script_setup_true_lang_js_hoisted_1,[(0,vue_esm_bundler._)("div",CourseModulesvue_type_script_setup_true_lang_js_hoisted_2,[(0,vue_esm_bundler._)("h3",{tabindex:"0",class:"courses__header-section__header",onKeydown:_cache[0]||(_cache[0]=(0,vue_esm_bundler.D2)((function($event){return toggleActiveModule(null)}),["enter"]))},[(0,vue_esm_bundler.Wm)(Icon.Z,{name:"format_list_numbered",size:"2em"}),CourseModulesvue_type_script_setup_true_lang_js_hoisted_3],32)]),(0,vue_esm_bundler._)("div",CourseModulesvue_type_script_setup_true_lang_js_hoisted_4,[(0,vue_esm_bundler.Wm)(ModulesProgressIndicator.Z,{modulesProgressionData:modulesProgressionData.value},null,8,["modulesProgressionData"])]),(0,vue_esm_bundler._)("div",CourseModulesvue_type_script_setup_true_lang_js_hoisted_5,[((0,vue_esm_bundler.wg)(!0),(0,vue_esm_bundler.iD)(vue_esm_bundler.HY,null,(0,vue_esm_bundler.Ko)((0,vue_esm_bundler.SU)(treestructure),(function(module){return(0,vue_esm_bundler.wg)(),(0,vue_esm_bundler.iD)("div",{class:"courses__treeview__item",key:module.id},[(0,vue_esm_bundler.Wm)(CourseModule,{type:module.type,lang:__props.lang,label:module.label,id:module.id,nodes:module.nodes,isActive:module.isActive,onToggleActiveModule:toggleActiveModule},null,8,["type","lang","label","id","nodes","isActive"])])})),128))])])}}};var CourseModulesvue_type_style_index_0_id_43fd01a8_lang_scss=__webpack_require__("./node_modules/css-loader/dist/cjs.js??clonedRuleSet-16.use[1]!./node_modules/@storybook/preset-vue3-webpack/node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/resolve-url-loader/index.js!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-16.use[3]!./node_modules/@storybook/preset-vue3-webpack/node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/vue/components/course-modules/CourseModules.vue?vue&type=style&index=0&id=43fd01a8&lang=scss"),CourseModulesvue_type_style_index_0_id_43fd01a8_lang_scss_options={};CourseModulesvue_type_style_index_0_id_43fd01a8_lang_scss_options.styleTagTransform=styleTagTransform_default(),CourseModulesvue_type_style_index_0_id_43fd01a8_lang_scss_options.setAttributes=setAttributesWithoutAttributes_default(),CourseModulesvue_type_style_index_0_id_43fd01a8_lang_scss_options.insert=insertBySelector_default().bind(null,"head"),CourseModulesvue_type_style_index_0_id_43fd01a8_lang_scss_options.domAPI=styleDomAPI_default(),CourseModulesvue_type_style_index_0_id_43fd01a8_lang_scss_options.insertStyleElement=insertStyleElement_default();injectStylesIntoStyleTag_default()(CourseModulesvue_type_style_index_0_id_43fd01a8_lang_scss.Z,CourseModulesvue_type_style_index_0_id_43fd01a8_lang_scss_options);CourseModulesvue_type_style_index_0_id_43fd01a8_lang_scss.Z&&CourseModulesvue_type_style_index_0_id_43fd01a8_lang_scss.Z.locals&&CourseModulesvue_type_style_index_0_id_43fd01a8_lang_scss.Z.locals;const CourseModules=CourseModulesvue_type_script_setup_true_lang_js;CourseModulesvue_type_script_setup_true_lang_js.__docgenInfo={exportName:"default",displayName:"CourseModules",description:"",tags:{},props:[{name:"nodes",type:{name:"array"}},{name:"lang",type:{name:"string"}},{name:"moduleProgressions",type:{name:"array"}}],sourceFiles:["/home/runner/work/frontend/frontend/src/vue/components/course-modules/CourseModules.vue"]};var _TwoLevelTree$paramet,_TwoLevelTree$paramet2,_ThreeLevelTree$param,_ThreeLevelTree$param2;function addPropertiesToTreeData(data){return data.forEach((function(module,moduleIndex){var moduleId="".concat(moduleIndex+1),moduleUrl=module.label.replace(/ /g,"-");module.id=moduleId,module.isActive=!1,module.nodes&&module.nodes.length>0&&module.nodes.forEach((function(node,nodeIndex){var nodeId="".concat(moduleId,"-").concat(nodeIndex+1),nodeUrl="".concat(moduleUrl,"/").concat(node.label.replace(/ /g,"-"));node.id=nodeId,node.isActive=!1,node.nodes&&node.nodes.length>0&&node.nodes.forEach((function(subNode,subNodeIndex){var subNodeId="".concat(nodeId,"-").concat(subNodeIndex+1),subNodeUrl="".concat(nodeUrl,"/").concat(subNode.label.replace(/ /g,"-"));subNode.id=subNodeId,subNode.url=subNodeUrl,subNode.isActive=!1}))}))})),console.log("Hello the data looks like that:",data),data}function _typeof(o){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)}function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function _objectSpread(e){for(var r=1;r'})},TwoLevelTree=Template.bind({});TwoLevelTree.args={nodes:addPropertiesToTreeData([{label:"0. Intro til modulen",type:"module",isCompleted:!1,nodes:[{label:"0.0 Rollevalg",type:"page",isCompleted:!0,nodes:[]},{label:"0.1 Intro og mål for modulen",type:"page",isCompleted:!1,nodes:[]},{label:"0.2 Inkludering og digital praksis",type:"page",isCompleted:!0,nodes:[]},{label:"0.3 Hvorfor er universell utforming viktig?",type:"page",isCompleted:!1,nodes:[]}]},{label:"Inkludering i digital praksis",type:"module",isCompleted:!0,nodes:[{label:"Visuelt gode læremidler på skjerm",type:"page",isCompleted:!1,nodes:[]},{label:"1.2 Auditivt gode læremidler på skjerm",type:"page",isCompleted:!1,nodes:[]},{label:"1.3 Gruppeoppgav: Skjermen i klasserommet",type:"page",isCompleted:!1,nodes:[]},{label:"1.4 Å uttrykke seg med mer enn tekst",type:"page",isCompleted:!1,nodes:[]},{label:"1.5 Stemmestyrt skriving som hjelpemiddel",type:"page",isCompleted:!1,nodes:[]},{label:"1.6 Skjermleser, e-bøker og lydbøker som hjelpemidler",type:"page",isCompleted:!1,nodes:[]},{label:"1.7 Inspirasjon fra dysleksivennlige skoler",type:"page",isCompleted:!1,nodes:[]},{label:"1.8 Gruppeoppgave: Bruk av hjelpemidler",type:"page",isCompleted:!1,nodes:[]},{label:"1.9 Spørreundersøkelse til modulen",type:"page",isCompleted:!0,nodes:[]},{label:"1.10 Visning av resultater fra spørreundersøkelse til modulen",type:"page",isCompleted:!1,nodes:[]}]},{label:"Universelt utformede læringsressurser",type:"module",isCompleted:!1,nodes:[{label:"2.1 Skjermlesere og alternativ tekst",type:"page",isCompleted:!0,nodes:[]},{label:"2.2 Tekst bør være tekst ",type:"page",isCompleted:!0,nodes:[]},{label:"2.3 Titler og overskrifter",type:"page",isCompleted:!0,nodes:[]},{label:"2.4 Kontrast",type:"page",isCompleted:!0,nodes:[]},{label:"2.6 Gruppeoppgave: Universell utforming av IKT",type:"page",isCompleted:!0,nodes:[]},{label:"2.5 Farge",type:"page",isCompleted:!0,nodes:[]},{label:"2.7 Teksting av video og lyd",type:"page",isCompleted:!0,nodes:[]},{label:"2.8 Leserekkefølge i PowerPoint",type:"page",isCompleted:!0,nodes:[]},{label:"2.9 Tabeller",type:"page",isCompleted:!0,nodes:[]},{label:"2.10 Responsivt design",type:"page",isCompleted:!0,nodes:[]},{label:"2.11 Navigering med tastatur",type:"page",isCompleted:!0,nodes:[]},{label:"2.12 Andre krav",type:"page",isCompleted:!0,nodes:[]},{label:"2.13 Tilgjengelighetssjekk",type:"page",isCompleted:!0,nodes:[]},{label:"2.14 Individuell oppgave: En universelt utformet læringsressurs",type:"page",isCompleted:!0,nodes:[]},{label:"2.15 Gruppeoppgave: Universell utforming av IKT",type:"page",isCompleted:!0,nodes:[]},{label:"2.16 Plenumsoppgaver",type:"page",isCompleted:!0,nodes:[]},{label:"2.17 Veien videre - og hva kan kunstig intelligens (KI) hjelpe oss med?",type:"page",isCompleted:!0,nodes:[]},{label:"2.18 Spørreundersøkelse til modulen",type:"page",isCompleted:!0,nodes:[]},{label:"2.19 Visning av resultater fra spørreundersøkelse til modulen",type:"page",isCompleted:!0,nodes:[]}]}])};var ThreeLevelTree=Template.bind({});ThreeLevelTree.args={nodes:addPropertiesToTreeData([{label:"0. Valg av rolle og lederstøtte",type:"module",isCompleted:!1,nodes:[{label:"Valg av rolle og skole",type:"page",isCompleted:!0,nodes:[]},{label:"Statistikk",type:"page",isCompleted:!1,nodes:[]},{label:"Fylkesstatistikk",type:"page",isCompleted:!1,nodes:[]},{label:"Kommunestatistikk",type:"page",isCompleted:!1,nodes:[]}]},{label:"1. Introduksjon",type:"module",isCompleted:!1,nodes:[{label:"1.1 Hva får du i denne kompetansepakken?",type:"page",isCompleted:!0,nodes:[]},{label:"1.2 Arbeid med læringssløyfer",type:"page",isCompleted:!1,nodes:[]},{label:"1.3 Kartlegging av ståsted",type:"page",isCompleted:!1,nodes:[]},{label:"1.4 Teoretiske modeller i praksis: Jahnke, Tpack og SAMR",type:"page",isCompleted:!1,nodes:[]},{label:"1.5 Begrepsavklaring",type:"page",isCompleted:!1,nodes:[]}]},{label:"2. Planlegge undervisning",type:"module",isCompleted:!1,nodes:[{label:"2.0 Introduksjon",type:"module",isCompleted:!0,nodes:[{label:"2.0.1 Video: Introduksjon til planlegge undervisnging",type:"page",isCompleted:!1,nodes:[]},{label:"2.0.2 Teoretisk modell i praksis: Jahnke",type:"page",isCompleted:!1,nodes:[]},{label:'Spill "Den sorte enke"',type:"page",isCompleted:!1,nodes:[]}]},{label:"2.1 Synkron/asynkron ",type:"module",isCompleted:!1,nodes:[{label:"2.1.1-Synkron og asynkron tilnærming",type:"page",isCompleted:!1,nodes:[]},{label:"2.1.2-Video:eksempel på hybrid undervisning",type:"page",isCompleted:!1,nodes:[]},{label:"2.1.3-Samhandling",type:"page",isCompleted:!1,nodes:[]},{label:"2.1.4 Aktivitet: Samhandling",type:"page",isCompleted:!1,nodes:[]}]},{label:"1.3 Kartlegging av ståsted",type:"page",isCompleted:!1,nodes:[]},{label:"1.4 Teoretiske modeller i praksis: Jahnke, Tpack og SAMR",type:"page",isCompleted:!1,nodes:[]},{label:"1.5 Begrepsavklaring",type:"page",isCompleted:!1,nodes:[]}]}])},TwoLevelTree.parameters=_objectSpread(_objectSpread({},TwoLevelTree.parameters),{},{docs:_objectSpread(_objectSpread({},null===(_TwoLevelTree$paramet=TwoLevelTree.parameters)||void 0===_TwoLevelTree$paramet?void 0:_TwoLevelTree$paramet.docs),{},{source:_objectSpread({originalSource:"args => defineComponent({\n components: {\n CourseModules\n },\n setup() {\n return {\n args\n };\n },\n template: ''\n})"},null===(_TwoLevelTree$paramet2=TwoLevelTree.parameters)||void 0===_TwoLevelTree$paramet2||null===(_TwoLevelTree$paramet2=_TwoLevelTree$paramet2.docs)||void 0===_TwoLevelTree$paramet2?void 0:_TwoLevelTree$paramet2.source)})}),ThreeLevelTree.parameters=_objectSpread(_objectSpread({},ThreeLevelTree.parameters),{},{docs:_objectSpread(_objectSpread({},null===(_ThreeLevelTree$param=ThreeLevelTree.parameters)||void 0===_ThreeLevelTree$param?void 0:_ThreeLevelTree$param.docs),{},{source:_objectSpread({originalSource:"args => defineComponent({\n components: {\n CourseModules\n },\n setup() {\n return {\n args\n };\n },\n template: ''\n})"},null===(_ThreeLevelTree$param2=ThreeLevelTree.parameters)||void 0===_ThreeLevelTree$param2||null===(_ThreeLevelTree$param2=_ThreeLevelTree$param2.docs)||void 0===_ThreeLevelTree$param2?void 0:_ThreeLevelTree$param2.source)})});var __namedExportsOrder=["TwoLevelTree","ThreeLevelTree"]},"./node_modules/css-loader/dist/cjs.js??clonedRuleSet-16.use[1]!./node_modules/@storybook/preset-vue3-webpack/node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/resolve-url-loader/index.js!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-16.use[3]!./node_modules/@storybook/preset-vue3-webpack/node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/vue/components/course-modules/CourseModule.vue?vue&type=style&index=0&id=cec13170&lang=scss":(module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});var _node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/css-loader/dist/runtime/sourceMaps.js"),_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__),_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js"),___CSS_LOADER_EXPORT___=__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__)()(_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default());___CSS_LOADER_EXPORT___.push([module.id,".module-package{border-top:.0625rem solid #e6e6e6;position:relative}.module-package__title{cursor:pointer;display:flex;align-items:center;padding:.5rem 1.5rem .5rem 0;height:4.375rem;color:#1a1a1a;font-family:Roboto;font-size:1.125rem;vertical-align:center;position:relative}.module-package__title .module-package__indicator--active{position:absolute;z-index:2;border-radius:0 .4375rem .4375rem 0;background:#3b7858;width:.875rem;height:100%;right:-0.875rem;pointer-events:none;animation-name:hideshow;animation-duration:.7s;animation-iteration-count:1;animation-direction:alternate}@keyframes hideshow{0%{opacity:0}100%{opacity:1}}.module-package__title h4{font-weight:400;font-size:1.125rem;line-height:normal;letter-spacing:.063rem;display:flex;align-items:center;white-space:normal !important;word-wrap:break-word !important}.module-package__title--active h4{font-weight:700}.module-package .module-package__dropdown-indicator{display:inline-block;transition:transform .3s;font-size:1.125rem}.module-package .module-package__dropdown-indicator--collapsed{transform:rotate(-90deg)}.module-package__child-nodes{list-style-type:none;background:#eceff2;padding:.2rem 0 .2rem 0;margin:0;animation-name:hideshow;animation-duration:.7s;animation-iteration-count:1;animation-direction:alternate}@keyframes hideshow{0%{opacity:0}100%{opacity:1}}.module-package__child-nodes--hidden{display:none}","",{version:3,sources:["webpack://./src/vue/components/course-modules/CourseModule.vue","webpack://./src/vue/design/colors.scss","webpack://./src/vue/design/_hide-show-effect.scss"],names:[],mappings:"AAIA,gBACE,iCAAA,CACA,iBAAA,CAEA,uBACE,cAAA,CACA,YAAA,CACA,kBAAA,CACA,4BAAA,CACA,eAAA,CACA,aCHU,CDIV,kBAAA,CACA,kBAAA,CACA,qBAAA,CACA,iBAAA,CACA,0DACE,iBAAA,CACA,SAAA,CACA,mCAAA,CACA,kBAAA,CACA,aAAA,CACA,WAAA,CACA,eAAA,CACA,mBAAA,CE1BJ,uBAAA,CACA,sBAAA,CACA,2BAAA,CACA,6BAAA,CAEA,oBACE,GACE,SAAA,CAEF,KACE,SAAA,CAAA,CFmBF,0BACE,eAAA,CACA,kBAAA,CACA,kBAAA,CACA,sBAAA,CACA,YAAA,CACA,kBAAA,CACA,6BAAA,CACA,+BAAA,CAIA,kCACE,eAAA,CAKN,oDACE,oBAAA,CACA,wBAAA,CACA,kBAAA,CAEA,+DACE,wBAAA,CAIJ,6BACE,oBAAA,CACA,kBAAA,CACA,uBAAA,CACA,QAAA,CE7DF,uBAAA,CACA,sBAAA,CACA,2BAAA,CACA,6BAAA,CAEA,oBACE,GACE,SAAA,CAEF,KACE,SAAA,CAAA,CFqDF,qCACE,YAAA",sourcesContent:["\n@import '../../design/hide-show-effect';\n@import '../../design/colors.scss';\n\n.module-package {\n border-top: 0.0625rem solid $color-grey-400;\n position:relative;\n\n &__title {\n cursor: pointer;\n display: flex;\n align-items: center;\n padding:0.5rem 1.5rem 0.5rem 0;\n height: 4.375rem;\n color: $color-black;\n font-family: Roboto;\n font-size: 1.125rem;\n vertical-align: center;\n position: relative;\n .module-package__indicator--active{\n position: absolute;\n z-index:2;\n border-radius: 0 0.4375rem 0.4375rem 0;\n background: map-get($color-palette-green, background, 500);\n width: 0.875rem;\n height: 100%;\n right: -0.875rem;\n pointer-events: none;\n @include hide-show-effect;\n }\n h4 {\n font-weight: 400;\n font-size: 1.125rem;\n line-height: normal;\n letter-spacing:0.063rem ;\n display:flex;\n align-items: center;\n white-space: normal !important;\n word-wrap: break-word !important;\n }\n\n &--active {\n h4 {\n font-weight: 700;\n }\n }\n }\n\n .module-package__dropdown-indicator {\n display: inline-block;\n transition: transform 0.3s;\n font-size: 1.125rem;\n\n &--collapsed {\n transform: rotate(-90deg);\n }\n }\n\n &__child-nodes {\n list-style-type: none;\n background: map-get($color-palette-slate, background, 200);\n padding: 0.2rem 0 0.2rem 0;\n margin:0;\n @include hide-show-effect;\n &--hidden{\n display: none;\n }\n }\n}\n","// support colors\n$color-grey-100: #f9f9f9; \n$color-grey-200: #f1f1f1;\n$color-grey-300: #eaeaea;\n$color-grey-400: #e6e6e6;\n$color-grey-500: #bfbfbf;\n$color-grey-600: #999999;\n$colorgrey-700: #737373;\n$color-grey-800: #666666;\n$color-grey-900: #303030;\n\n$color-black: #1a1a1a;\n$color-white: #ffffff;\n$primary-hover-color:#00468e;\n\n\n// Color palettes\n$color-palette-green: (\n background: (\n 200: #e3f2eb,\n 300: #94caae,\n 400: #7dbf9d,\n 500: #3b7858,\n 600: #254b38\n ),\n foreground: (\n 200: $color-black,\n 300: $color-black,\n 400: $color-black,\n 500: $color-white,\n 600: $color-white\n )\n);\n\n$color-palette-eggshell: (\n background: (\n 300: #f6efe4,\n 400: #f2e8da,\n 500: #d6b689,\n 600: #8c6631,\n 700: #5e4521\n ),\n foreground: (\n 300: $color-black,\n 400: $color-black,\n 500: $color-white,\n 600: $color-white,\n 700: $color-white\n )\n);\n\n$color-palette-peach: (\n background: (\n 300: #f8ece6,\n 400: #eed0c3,\n 500: #dc9e83,\n 600: #a7532f,\n 700: #63321c\n ),\n foreground: (\n 300: $color-black,\n 400: $color-black,\n 500: $color-black,\n 600: $color-white,\n 700: $color-grey-200\n )\n);\n\n$color-palette-azur: (\n background: (\n 300: #eaeaf5,\n 400: #e2e3f1,\n 500: #c7c9e3,\n 600: #999cbf,\n 700: #666883\n ),\n foreground: (\n 300: #303030,\n 400: #303030,\n 500: #303030,\n 600: #303030,\n 700: #ffffff\n )\n);\n\n$color-palette-steel: (\n background: (\n 200: #f5f7f9,\n 300: #ebeef3,\n 400: #bac6d8,\n 500: #99abc5,\n 600: #51698f,\n 700: #2e3c51\n ),\n foreground: (\n 200: $color-grey-900,\n 300: $color-grey-900,\n 400: $color-grey-900,\n 500: $color-grey-900,\n 600: $color-white,\n 700: $color-white\n )\n);\n\n$color-palette-slate: (\n background: (\n 200: #eceff2,\n 300: #a0b1bf,\n 400: #6d889d,\n 500: #546b7d,\n 600: #191d24\n ),\n foreground: (\n 200: $color-grey-900,\n 300: $color-grey-900,\n 400: $color-grey-900,\n 500: $color-white,\n 600: $color-white\n )\n);\n\n// extra colors\n$color-palette-red: (\n background: (\n 200: #ffebee,\n 300: #ffcdd2,\n 400: #ef9a9a,\n 500: #ef5350,\n 600: #c62828\n ),\n foreground: (#E2E3F1\n 200: $color-grey-900,\n 300: $color-black,\n 400: $color-grey-900,\n 500: $color-grey-900,\n 600: $color-white\n )\n);\n\n$color-palette-orange: (\n background: (\n 200: #fff3e0,\n 300: #ffcc80,\n 400: #ffa726,\n 500: #fb8c00,\n 600: #EF6C00\n ),\n foreground: (\n 200: $color-grey-900,\n 300: $color-black,\n 400: $color-grey-900,\n 500: $color-grey-900,\n 600: $color-black\n )\n);\n","@mixin hide-show-effect() {\n animation-name: hideshow;\n animation-duration: 0.7s;\n animation-iteration-count: 1;\n animation-direction: alternate;\n\n @keyframes hideshow {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n"],sourceRoot:""}]);const __WEBPACK_DEFAULT_EXPORT__=___CSS_LOADER_EXPORT___},"./node_modules/css-loader/dist/cjs.js??clonedRuleSet-16.use[1]!./node_modules/@storybook/preset-vue3-webpack/node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/resolve-url-loader/index.js!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-16.use[3]!./node_modules/@storybook/preset-vue3-webpack/node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/vue/components/course-modules/CourseModules.vue?vue&type=style&index=0&id=43fd01a8&lang=scss":(module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});var _node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/css-loader/dist/runtime/sourceMaps.js"),_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__),_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js"),___CSS_LOADER_EXPORT___=__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__)()(_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default());___CSS_LOADER_EXPORT___.push([module.id,".courses{box-sizing:border-box;width:100%;border-radius:1.6875rem 0 0 1.6875rem;border:.0625rem solid #e6e6e6;background:#fff;padding:0 0 .75rem 0;box-shadow:0 .2rem .3rem rgba(19,19,19,.35)}.courses__progress-indicator{box-sizing:border-box;padding:1rem;width:100%}.courses__header-section{color:#000;word-wrap:break-word;border-bottom:.125rem solid #e6e6e6;padding:1.75rem 1rem .625rem 1.5rem}.courses__header-section__header{display:flex;align-items:center;justify-content:flex-start;font-size:1.25rem;font-family:Roboto;font-weight:600;margin-left:1rem}.courses__header-section__header__title{margin-left:1.5rem;margin-top:-0.5rem}.courses__treeview{display:flex;flex-direction:column;justify-content:flex-start;padding-bottom:1rem}","",{version:3,sources:["webpack://./src/vue/components/course-modules/CourseModules.vue","webpack://./src/vue/design/colors.scss","webpack://./src/vue/design/_box-shadow.scss"],names:[],mappings:"AAGA,SACE,qBAAA,CACA,UAAA,CACA,qCAAA,CACA,6BAAA,CACA,eCIY,CDHZ,oBAAA,CEFE,2CANgB,CFWlB,6BACE,qBAAA,CACA,YAAA,CACA,UAAA,CAGF,yBACE,UAAA,CACA,oBAAA,CACA,mCAAA,CACA,mCAAA,CACA,iCACE,YAAA,CACA,kBAAA,CACA,0BAAA,CACA,iBAAA,CACA,kBAAA,CACA,eAAA,CACA,gBAAA,CACA,wCACE,kBAAA,CACA,kBAAA,CAMN,mBACE,YAAA,CACA,qBAAA,CACA,0BAAA,CACA,mBAAA",sourcesContent:["\n@import '../../design/box-shadow';\n@import '../../design/colors.scss';\n.courses {\n box-sizing: border-box;\n width: 100%;\n border-radius: 1.6875rem 0 0 1.6875rem;\n border: 0.0625rem solid $color-grey-400; \n background: $color-white;\n padding: 0 0 0.75rem 0;\n @include box-shadow(medium); \n\n &__progress-indicator{\n box-sizing: border-box;\n padding: 1rem;\n width: 100%;\n }\n\n &__header-section {\n color: black;\n word-wrap: break-word;\n border-bottom: 0.125rem solid $color-grey-400; \n padding: 1.75rem 1rem 0.625rem 1.5rem;\n &__header{\n display:flex;\n align-items: center;\n justify-content: flex-start;\n font-size: 1.25rem;\n font-family: Roboto;\n font-weight: 600;\n margin-left: 1rem;\n &__title{\n margin-left:1.5rem;\n margin-top: -0.5rem;\n }\n }\n \n }\n\n &__treeview {\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n padding-bottom:1rem;\n }\n}\n","// support colors\n$color-grey-100: #f9f9f9; \n$color-grey-200: #f1f1f1;\n$color-grey-300: #eaeaea;\n$color-grey-400: #e6e6e6;\n$color-grey-500: #bfbfbf;\n$color-grey-600: #999999;\n$colorgrey-700: #737373;\n$color-grey-800: #666666;\n$color-grey-900: #303030;\n\n$color-black: #1a1a1a;\n$color-white: #ffffff;\n$primary-hover-color:#00468e;\n\n\n// Color palettes\n$color-palette-green: (\n background: (\n 200: #e3f2eb,\n 300: #94caae,\n 400: #7dbf9d,\n 500: #3b7858,\n 600: #254b38\n ),\n foreground: (\n 200: $color-black,\n 300: $color-black,\n 400: $color-black,\n 500: $color-white,\n 600: $color-white\n )\n);\n\n$color-palette-eggshell: (\n background: (\n 300: #f6efe4,\n 400: #f2e8da,\n 500: #d6b689,\n 600: #8c6631,\n 700: #5e4521\n ),\n foreground: (\n 300: $color-black,\n 400: $color-black,\n 500: $color-white,\n 600: $color-white,\n 700: $color-white\n )\n);\n\n$color-palette-peach: (\n background: (\n 300: #f8ece6,\n 400: #eed0c3,\n 500: #dc9e83,\n 600: #a7532f,\n 700: #63321c\n ),\n foreground: (\n 300: $color-black,\n 400: $color-black,\n 500: $color-black,\n 600: $color-white,\n 700: $color-grey-200\n )\n);\n\n$color-palette-azur: (\n background: (\n 300: #eaeaf5,\n 400: #e2e3f1,\n 500: #c7c9e3,\n 600: #999cbf,\n 700: #666883\n ),\n foreground: (\n 300: #303030,\n 400: #303030,\n 500: #303030,\n 600: #303030,\n 700: #ffffff\n )\n);\n\n$color-palette-steel: (\n background: (\n 200: #f5f7f9,\n 300: #ebeef3,\n 400: #bac6d8,\n 500: #99abc5,\n 600: #51698f,\n 700: #2e3c51\n ),\n foreground: (\n 200: $color-grey-900,\n 300: $color-grey-900,\n 400: $color-grey-900,\n 500: $color-grey-900,\n 600: $color-white,\n 700: $color-white\n )\n);\n\n$color-palette-slate: (\n background: (\n 200: #eceff2,\n 300: #a0b1bf,\n 400: #6d889d,\n 500: #546b7d,\n 600: #191d24\n ),\n foreground: (\n 200: $color-grey-900,\n 300: $color-grey-900,\n 400: $color-grey-900,\n 500: $color-white,\n 600: $color-white\n )\n);\n\n// extra colors\n$color-palette-red: (\n background: (\n 200: #ffebee,\n 300: #ffcdd2,\n 400: #ef9a9a,\n 500: #ef5350,\n 600: #c62828\n ),\n foreground: (#E2E3F1\n 200: $color-grey-900,\n 300: $color-black,\n 400: $color-grey-900,\n 500: $color-grey-900,\n 600: $color-white\n )\n);\n\n$color-palette-orange: (\n background: (\n 200: #fff3e0,\n 300: #ffcc80,\n 400: #ffa726,\n 500: #fb8c00,\n 600: #EF6C00\n ),\n foreground: (\n 200: $color-grey-900,\n 300: $color-black,\n 400: $color-grey-900,\n 500: $color-grey-900,\n 600: $color-black\n )\n);\n","$box-shadow-small: 0 0.1rem 0.2rem rgba(19, 19, 19, 0.15);\n$box-shadow-medium: 0 0.2rem 0.3rem rgba(19, 19, 19, 0.35);\n\n@mixin box-shadow($size: small) {\n @if $size == small {\n box-shadow: $box-shadow-small;\n } @else if $size == medium {\n box-shadow: $box-shadow-medium;\n } @else {\n box-shadow: 0;\n }\n}\n"],sourceRoot:""}]);const __WEBPACK_DEFAULT_EXPORT__=___CSS_LOADER_EXPORT___},"./node_modules/css-loader/dist/cjs.js??clonedRuleSet-16.use[1]!./node_modules/@storybook/preset-vue3-webpack/node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/resolve-url-loader/index.js!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-16.use[3]!./node_modules/@storybook/preset-vue3-webpack/node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/vue/components/icon/Icon.vue?vue&type=style&index=0&id=90c4211a&lang=scss":(module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});var _node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/css-loader/dist/runtime/sourceMaps.js"),_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__),_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js"),___CSS_LOADER_EXPORT___=__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__)()(_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default());___CSS_LOADER_EXPORT___.push([module.id,".material-icon{color:inherit}.material-icon__icon .custom-size-1em{font-size:1em}.material-icon__icon .custom-size-2em{font-size:2em}.material-icon__icon .custom-size-3em{font-size:3em}","",{version:3,sources:["webpack://./src/vue/components/icon/Icon.vue"],names:[],mappings:"AACA,eACE,aAAA,CAII,sCACE,aAAA,CADF,sCACE,aAAA,CADF,sCACE,aAAA",sourcesContent:["\n.material-icon {\n color: inherit;\n\n &__icon {\n @each $size in (1em, 2em, 3em) {\n .custom-size-#{$size} {\n font-size: #{$size};\n }\n }\n }\n}\n"],sourceRoot:""}]);const __WEBPACK_DEFAULT_EXPORT__=___CSS_LOADER_EXPORT___},"./node_modules/css-loader/dist/cjs.js??clonedRuleSet-16.use[1]!./node_modules/@storybook/preset-vue3-webpack/node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/resolve-url-loader/index.js!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-16.use[3]!./node_modules/@storybook/preset-vue3-webpack/node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/vue/components/module-progress-indicator/ModulesProgressIndicator.vue?vue&type=style&index=0&id=5a6bae60&lang=scss":(module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});var _node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/css-loader/dist/runtime/sourceMaps.js"),_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__),_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js"),___CSS_LOADER_EXPORT___=__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__)()(_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default());___CSS_LOADER_EXPORT___.push([module.id,'.modules-progress-indicator-container{display:flex;flex-direction:column;width:100%;padding-left:1.5rem;box-sizing:border-box}.modules-progress-indicator-container h5{font-family:Montserrat;font-weight:500}.modules-progress-indicator-container .progress-indicator{width:100%;border:.063rem solid #99abc5;border-radius:.25rem;background-color:#eceff2;overflow:hidden;margin:.625rem 0;height:.625rem;position:relative}.modules-progress-indicator-container .progress-indicator .progress-bar{position:absolute;left:0;top:0;background-color:#3b7858;height:.625rem}.modules-progress-indicator-container .progress-label{font-size:.875rem;font-family:"Roboto";font-weight:400}',"",{version:3,sources:["webpack://./src/vue/components/module-progress-indicator/ModulesProgressIndicator.vue"],names:[],mappings:"AAEA,sCACE,YAAA,CACA,qBAAA,CACA,UAAA,CACA,mBAAA,CACA,qBAAA,CACA,yCACE,sBAAA,CACA,eAAA,CAGJ,0DACE,UAAA,CACA,4BAAA,CACA,oBAAA,CACA,wBAAA,CACA,eAAA,CACA,gBAAA,CACA,cAAA,CACA,iBAAA,CAEA,wEACE,iBAAA,CACA,MAAA,CACA,KAAA,CACA,wBAAA,CACA,cAAA,CAIJ,sDACG,iBAAA,CACA,oBAAA,CACA,eAAA",sourcesContent:["\n@import \"../../design/colors.scss\";\n.modules-progress-indicator-container{\n display:flex;\n flex-direction: column;\n width: 100%;\n padding-left: 1.5rem;\n box-sizing: border-box;\n h5{\n font-family: Montserrat;\n font-weight: 500;\n }\n\n.progress-indicator {\n width: 100%;\n border: 0.063rem solid #99ABC5;\n border-radius: 0.25rem;\n background-color: #ECEFF2;\n overflow: hidden;\n margin: 0.625rem 0;\n height: 0.625rem;\n position: relative;\n\n .progress-bar {\n position:absolute;\n left:0;\n top:0;\n background-color: map-get($color-palette-green, background, 500);\n height: 0.625rem;\n }\n \n}\n.progress-label {\n font-size: 0.875rem;\n font-family: 'Roboto';\n font-weight: 400;\n }\n}\n \n"],sourceRoot:""}]);const __WEBPACK_DEFAULT_EXPORT__=___CSS_LOADER_EXPORT___},"./node_modules/css-loader/dist/cjs.js??clonedRuleSet-16.use[1]!./node_modules/@storybook/preset-vue3-webpack/node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/resolve-url-loader/index.js!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-16.use[3]!./node_modules/@storybook/preset-vue3-webpack/node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/vue/components/tree-view/TreeView.vue?vue&type=style&index=0&id=91a9cf58&lang=scss":(module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});var _node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/css-loader/dist/runtime/sourceMaps.js"),_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__),_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js"),___CSS_LOADER_EXPORT___=__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__)()(_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default());___CSS_LOADER_EXPORT___.push([module.id,".tree-node{color:#1a1a1a;font-family:Roboto;font-size:.875rem;font-style:normal;font-weight:400;line-height:normal;margin-bottom:.5rem;box-sizing:border-box}.tree-node--active{color:#1a1a1a;font-family:Roboto;font-style:normal;font-weight:700;line-height:normal}.tree-node__leaf{width:100%;font-weight:400;padding-left:1.5rem;margin:.2rem 0 .2rem 0}.tree-node__leaf--active{background:#fff;font-weight:700}.tree-node__leaf:hover{background:#fff}.tree-node__label{position:relative;display:flex;width:100%;min-height:2rem;padding:.2rem .2rem .2rem .5rem;align-items:center;justify-content:flex-start;gap:.75rem;cursor:pointer}.tree-node__label a{text-decoration:none;color:inherit;width:100%}.tree-node__label__text{font-size:1rem;position:relative;box-sizing:border-box;display:flex;justify-content:flex-start;align-items:center}.tree-node__label__text .dropdown-title{font-weight:500}.tree-node__label__text__done-icon{position:absolute;left:-1.7rem;color:#3b7858;font-size:1.5rem}.tree-node__label__text .dropdown-indicator{position:relative;font-size:1rem;width:1.75rem;height:1.75rem;transition:transform .3s}.tree-node__label__text .dropdown-indicator--collapsed{transform:rotate(-90deg);top:.25rem}.tree-node__child-nodes{list-style-type:none;margin-bottom:.125rem;margin-left:0;animation-name:hideshow;animation-duration:.7s;animation-iteration-count:1;animation-direction:alternate}@keyframes hideshow{0%{opacity:0}100%{opacity:1}}.tree-node .tree-node__child-nodes__node{box-sizing:border-box}.tree-node .tree-node__child-nodes:focus>ul,.tree-node .tree-node__child-nodes:hover>ul{visibility:visible;opacity:1;display:block;box-sizing:border-box}.tree-node__label__text span,.tree-node__label__text a{word-break:break-word}","",{version:3,sources:["webpack://./src/vue/components/tree-view/TreeView.vue","webpack://./src/vue/design/colors.scss","webpack://./src/vue/design/_hide-show-effect.scss"],names:[],mappings:"AAGA,WACE,aCOY,CDNZ,kBAAA,CACA,iBAAA,CACA,iBAAA,CACA,eAAA,CACA,kBAAA,CACA,mBAAA,CACA,qBAAA,CAEA,mBACE,aCHU,CDIV,kBAAA,CACA,iBAAA,CACA,eAAA,CACA,kBAAA,CAGF,iBACE,UAAA,CACA,eAAA,CACA,mBAAA,CACA,sBAAA,CAEA,yBACE,eChBQ,CDiBR,eAAA,CAGF,uBACE,eCrBQ,CDyBZ,kBACE,iBAAA,CACA,YAAA,CACA,UAAA,CACA,eAAA,CACA,+BAAA,CACA,kBAAA,CACA,0BAAA,CACA,UAAA,CACA,cAAA,CAEA,oBACE,oBAAA,CACA,aAAA,CACA,UAAA,CAGF,wBACE,cAAA,CACA,iBAAA,CACA,qBAAA,CACA,YAAA,CACA,0BAAA,CACA,kBAAA,CACA,wCACE,eAAA,CAGF,mCACE,iBAAA,CACA,YAAA,CACA,aAAA,CACA,gBAAA,CAGF,4CACE,iBAAA,CACA,cAAA,CACA,aAAA,CACA,cAAA,CACA,wBAAA,CAGF,uDACE,wBAAA,CACA,UAAA,CAKN,wBACE,oBAAA,CACA,qBAAA,CACA,aAAA,CEzFF,uBAAA,CACA,sBAAA,CACA,2BAAA,CACA,6BAAA,CAEA,oBACE,GACE,SAAA,CAEF,KACE,SAAA,CAAA,CFkFH,yCACC,qBAAA,CAGF,wFAEE,kBAAA,CACA,SAAA,CACA,aAAA,CACA,qBAAA,CAIF,uDACE,qBAAA",sourcesContent:["\n@import '../../design/colors';\n@import '../../design/hide-show-effect';\n.tree-node {\n color: $color-black;\n font-family: Roboto;\n font-size: 0.875rem;\n font-style: normal;\n font-weight: 400;\n line-height: normal;\n margin-bottom: .5rem;\n box-sizing: border-box;\n\n &--active {\n color: $color-black;\n font-family: Roboto;\n font-style: normal;\n font-weight: 700;\n line-height: normal;\n }\n\n &__leaf {\n width:100%;\n font-weight:400;\n padding-left: 1.5rem;\n margin: 0.2rem 0 0.2rem 0;\n\n &--active {\n background: $color-white;\n font-weight: 700;\n }\n\n &:hover {\n background:$color-white;\n }\n }\n\n &__label {\n position: relative;\n display: flex;\n width: 100%;\n min-height: 2rem;\n padding: 0.2rem 0.2rem 0.2rem 0.5rem;\n align-items: center;\n justify-content: flex-start;\n gap: 0.75rem;\n cursor: pointer;\n\n a {\n text-decoration: none;\n color: inherit;\n width: 100%;\n }\n\n &__text {\n font-size: 1rem;\n position: relative;\n box-sizing: border-box;\n display:flex;\n justify-content: flex-start;\n align-items: center;\n .dropdown-title{\n font-weight: 500;\n }\n\n &__done-icon {\n position: absolute;\n left: -1.7rem;\n color: map-get($color-palette-green, background, 500);\n font-size: 1.5rem;\n }\n\n .dropdown-indicator {\n position: relative;\n font-size: 1rem;\n width: 1.75rem;\n height: 1.75rem;\n transition: transform 0.3s;\n }\n\n .dropdown-indicator--collapsed {\n transform: rotate(-90deg);\n top: 0.25rem;\n }\n }\n}\n\n &__child-nodes {\n list-style-type: none;\n margin-bottom: 0.125rem;\n margin-left: 0;\n @include hide-show-effect;\n }\n .tree-node__child-nodes__node{\n box-sizing: border-box;\n }\n\n .tree-node__child-nodes:focus > ul,\n .tree-node__child-nodes:hover > ul {\n visibility: visible;\n opacity: 1;\n display: block;\n box-sizing: border-box;\n }\n}\n.tree-node__label__text{\n span, a{\n word-break: break-word;\n }\n \n}\n","// support colors\n$color-grey-100: #f9f9f9; \n$color-grey-200: #f1f1f1;\n$color-grey-300: #eaeaea;\n$color-grey-400: #e6e6e6;\n$color-grey-500: #bfbfbf;\n$color-grey-600: #999999;\n$colorgrey-700: #737373;\n$color-grey-800: #666666;\n$color-grey-900: #303030;\n\n$color-black: #1a1a1a;\n$color-white: #ffffff;\n$primary-hover-color:#00468e;\n\n\n// Color palettes\n$color-palette-green: (\n background: (\n 200: #e3f2eb,\n 300: #94caae,\n 400: #7dbf9d,\n 500: #3b7858,\n 600: #254b38\n ),\n foreground: (\n 200: $color-black,\n 300: $color-black,\n 400: $color-black,\n 500: $color-white,\n 600: $color-white\n )\n);\n\n$color-palette-eggshell: (\n background: (\n 300: #f6efe4,\n 400: #f2e8da,\n 500: #d6b689,\n 600: #8c6631,\n 700: #5e4521\n ),\n foreground: (\n 300: $color-black,\n 400: $color-black,\n 500: $color-white,\n 600: $color-white,\n 700: $color-white\n )\n);\n\n$color-palette-peach: (\n background: (\n 300: #f8ece6,\n 400: #eed0c3,\n 500: #dc9e83,\n 600: #a7532f,\n 700: #63321c\n ),\n foreground: (\n 300: $color-black,\n 400: $color-black,\n 500: $color-black,\n 600: $color-white,\n 700: $color-grey-200\n )\n);\n\n$color-palette-azur: (\n background: (\n 300: #eaeaf5,\n 400: #e2e3f1,\n 500: #c7c9e3,\n 600: #999cbf,\n 700: #666883\n ),\n foreground: (\n 300: #303030,\n 400: #303030,\n 500: #303030,\n 600: #303030,\n 700: #ffffff\n )\n);\n\n$color-palette-steel: (\n background: (\n 200: #f5f7f9,\n 300: #ebeef3,\n 400: #bac6d8,\n 500: #99abc5,\n 600: #51698f,\n 700: #2e3c51\n ),\n foreground: (\n 200: $color-grey-900,\n 300: $color-grey-900,\n 400: $color-grey-900,\n 500: $color-grey-900,\n 600: $color-white,\n 700: $color-white\n )\n);\n\n$color-palette-slate: (\n background: (\n 200: #eceff2,\n 300: #a0b1bf,\n 400: #6d889d,\n 500: #546b7d,\n 600: #191d24\n ),\n foreground: (\n 200: $color-grey-900,\n 300: $color-grey-900,\n 400: $color-grey-900,\n 500: $color-white,\n 600: $color-white\n )\n);\n\n// extra colors\n$color-palette-red: (\n background: (\n 200: #ffebee,\n 300: #ffcdd2,\n 400: #ef9a9a,\n 500: #ef5350,\n 600: #c62828\n ),\n foreground: (#E2E3F1\n 200: $color-grey-900,\n 300: $color-black,\n 400: $color-grey-900,\n 500: $color-grey-900,\n 600: $color-white\n )\n);\n\n$color-palette-orange: (\n background: (\n 200: #fff3e0,\n 300: #ffcc80,\n 400: #ffa726,\n 500: #fb8c00,\n 600: #EF6C00\n ),\n foreground: (\n 200: $color-grey-900,\n 300: $color-black,\n 400: $color-grey-900,\n 500: $color-grey-900,\n 600: $color-black\n )\n);\n","@mixin hide-show-effect() {\n animation-name: hideshow;\n animation-duration: 0.7s;\n animation-iteration-count: 1;\n animation-direction: alternate;\n\n @keyframes hideshow {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n"],sourceRoot:""}]);const __WEBPACK_DEFAULT_EXPORT__=___CSS_LOADER_EXPORT___},"./src/vue/components/icon/Icon.vue":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>Icon});var vue_esm_bundler=__webpack_require__("./node_modules/vue/dist/vue.esm-bundler.js"),_hoisted_1=["innerHTML"];var IconPaths={alarm:"M480-80q-75 0-140.5-28.5t-114-77q-48.5-48.5-77-114T120-440q0-75 28.5-140.5t77-114q48.5-48.5 114-77T480-800q75 0 140.5 28.5t114 77q48.5 48.5 77 114T840-440q0 75-28.5 140.5t-77 114q-48.5 48.5-114 77T480-80Zm0-360Zm112 168 56-56-128-128v-184h-80v216l152 152ZM224-866l56 56-170 170-56-56 170-170Zm512 0 170 170-56 56-170-170 56-56ZM480-160q117 0 198.5-81.5T760-440q0-117-81.5-198.5T480-720q-117 0-198.5 81.5T200-440q0 117 81.5 198.5T480-160Z",article:"M280-280h280v-80H280v80Zm0-160h400v-80H280v80Zm0-160h400v-80H280v80Zm-80 480q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Zm0-80h560v-560H200v560Zm0-560v560-560Z",campaign:"M720-440v-80h160v80H720Zm48 280-128-96 48-64 128 96-48 64Zm-80-480-48-64 128-96 48 64-128 96ZM200-200v-160h-40q-33 0-56.5-23.5T80-440v-80q0-33 23.5-56.5T160-600h160l200-120v480L320-360h-40v160h-80Zm240-182v-196l-98 58H160v80h182l98 58Zm120 36v-268q27 24 43.5 58.5T620-480q0 41-16.5 75.5T560-346ZM300-480Z",check_circle_filled:"m424-296 282-282-56-56-226 226-114-114-56 56 170 170Zm56 216q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Z",chevron_left:"M560-240 320-480l240-240 56 56-184 184 184 184-56 56Z",chevron_right:"M504-480 320-664l56-56 240 240-240 240-56-56 184-184Z",cancel:"m336-280 144-144 144 144 56-56-144-144 144-144-56-56-144 144-144-144-56 56 144 144-144 144 56 56ZM480-80q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z",close:"m256-200-56-56 224-224-224-224 56-56 224 224 224-224 56 56-224 224 224 224-56 56-224-224-224 224Z",description:"M320-240h320v-80H320v80Zm0-160h320v-80H320v80ZM240-80q-33 0-56.5-23.5T160-160v-640q0-33 23.5-56.5T240-880h320l240 240v480q0 33-23.5-56.5T720-80H240Zm280-520v-200H240v640h480v-440H520ZM240-800v200-200 640-640Z",devices:"M80-160v-120h80v-440q0-33 23.5-56.5T240-800h600v80H240v440h240v120H80Zm520 0q-17 0-28.5-11.5T560-200v-400q0-17 11.5-28.5T600-640h240q17 0 28.5 11.5T880-600v400q0 17-11.5 28.5T840-160H600Zm40-120h160v-280H640v280Zm0 0h160-160Z",error:"M480-280q17 0 28.5-11.5T520-320q0-17-11.5-28.5T480-360q-17 0-28.5 11.5T440-320q0 17 11.5-28.5T480-280Zm-40-160h80v-240h-80v240Zm40 360q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z",expand_more:"M480-345 240-585l56-56 184 184 184-184 56 56-240 240Z",face:"M360-390q-21 0-35.5-14.5T310-440q0-21 14.5-35.5T360-490q21 0 35.5 14.5T410-440q0 21-14.5 35.5T360-390Zm240 0q-21 0-35.5-14.5T550-440q0-21 14.5-35.5T600-490q21 0 35.5 14.5T650-440q0 21-14.5 35.5T600-390ZM480-160q134 0 227-93t93-227q0-24-3-46.5T786-570q-21 5-42 7.5t-44 2.5q-91 0-172-39T390-708q-32 78-91.5 135.5T160-486v6q0 134 93 227t227 93Zm0 80q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm-54-715q42 70 114 112.5T700-640q14 0 27-1.5t27-3.5q-42-70-114-112.5T480-800q-14 0-27 1.5t-27 3.5ZM177-581q51-29 89-75t57-103q-51 29-89 75t-57 103Zm249-214Zm-103 36Z",flag:"M200-120v-680h360l16 80h224v400H520l-16-80H280v280h-80Zm300-440Zm86 160h134v-240H510l-16-80H280v240h290l16 80Z",format_list_numbered:"M120-80v-60h100v-30h-60v-60h60v-30H120v-60h120q17 0 28.5 11.5T280-280v40q0 17-11.5 28.5T240-200q17 0 28.5 11.5T280-160v40q0 17-11.5 28.5T240-80H120Zm0-280v-110q0-17 11.5-28.5T160-510h60v-30H120v-60h120q17 0 28.5 11.5T280-560v70q0 17-11.5 28.5T240-450h-60v30h100v60H120Zm60-280v-180h-60v-60h120v240h-60Zm180 440v-80h480v80H360Zm0-240v-80h480v80H360Zm0-240v-80h480v80H360Z",grade:"m354-247 126-76 126 77-33-144 111-96-146-13-58-136-58 135-146 13 111 97-33 143ZM233-80l65-281L80-550l288-25 112-265 112 265 288 25-218 189 65 281-247-149L233-80Zm247-350Z",light_bulb:"M440-80v-120h80v120h-80ZM80-440v-80h120v80H80Zm680 0v-80h120v80H760Zm-40 276-84-84 56-56 84 84-56 56Zm-480 0-56-56 84-84 56 56-84 84Zm240-116q-83 0-141.5-58.5T280-480q0-48 21.5-89.5T360-640v-200h240v200q37 29 58.5 70.5T680-480q0 83-58.5 141.5T480-280Zm-40-396q10-2 20-3t20-1q10 0 20 1t20 3v-84h-80v84Zm40 316q50 0 85-35t35-85q0-50-35-85t-85-35q-50 0-85 35t-35 85q0 50 35 85t85 35Zm0-120Z",link:"M440-280H280q-83 0-141.5-58.5T80-480q0-83 58.5-141.5T280-680h160v80H280q-50 0-85 35t-35 85q0 50 35 85t85 35h160v80ZM320-440v-80h320v80H320Zm200 160v-80h160q50 0 85-35t35-85q0-50-35-85t-85-35H520v-80h160q83 0 141.5 58.5T880-480q0 83-58.5 141.5T680-280H520Z",open_in_new:"M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h280v80H200v560h560v-280h80v280q0 33-23.5 56.5T760-120H200Zm188-212-56-56 372-372H560v-80h280v280h-80v-144L388-332Z",star:"m354-247 126-76 126 77-33-144 111-96-146-13-58-136-58 135-146 13 111 97-33 143ZM233-80l65-281L80-550l288-25 112-265 112 265 288 25-218 189 65 281-247-149L233-80Zm247-350Z",quote:"m228-240 92-160q-66 0-113-47t-47-113q0-66 47-113t113-47q66 0 113 47t47 113q0 23-5.5 42.5T458-480L320-240h-92Zm360 0 92-160q-66 0-113-47t-47-113q0-66 47-113t113-47q66 0 113 47t47 113q0 23-5.5 42.5T818-480L680-240h-92ZM320-500q25 0 42.5-17.5T380-560q0-25-17.5-42.5T320-620q-25 0-42.5 17.5T260-560q0 25 17.5 42.5T320-500Zm360 0q25 0 42.5-17.5T740-560q0-25-17.5-42.5T680-620q-25 0-42.5 17.5T620-560q0 25 17.5 42.5T680-500Zm0-60Zm-360 0Z",warning:"m40-120 440-760 440 760H40Zm138-80h604L480-720 178-200Zm302-40q17 0 28.5-11.5T520-280q0-17-11.5-28.5T480-320q-17 0-28.5 11.5T440-280q0 17 11.5 28.5T480-240q0 17-11.5 28.5T440-200Zm-40-120h80v-200h-80v200Zm40-100Z"};const Iconvue_type_script_lang_js={props:{name:{type:String,required:!0},size:{type:[String,Number],default:"1em"},color:{type:String,default:"currentColor"}},setup:function setup(props){var iconPath=(0,vue_esm_bundler.Fl)((function(){var selected=IconPaths[props.name];if(selected)return selected}));return{iconClasses:(0,vue_esm_bundler.Fl)((function(){return["material-icon","custom-size-".concat("string"==typeof props.size&&props.size.includes("em")?props.size:"1em")]})),iconContent:(0,vue_esm_bundler.Fl)((function(){return'')})),iconPath}}};var injectStylesIntoStyleTag=__webpack_require__("./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),injectStylesIntoStyleTag_default=__webpack_require__.n(injectStylesIntoStyleTag),styleDomAPI=__webpack_require__("./node_modules/style-loader/dist/runtime/styleDomAPI.js"),styleDomAPI_default=__webpack_require__.n(styleDomAPI),insertBySelector=__webpack_require__("./node_modules/style-loader/dist/runtime/insertBySelector.js"),insertBySelector_default=__webpack_require__.n(insertBySelector),setAttributesWithoutAttributes=__webpack_require__("./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"),setAttributesWithoutAttributes_default=__webpack_require__.n(setAttributesWithoutAttributes),insertStyleElement=__webpack_require__("./node_modules/style-loader/dist/runtime/insertStyleElement.js"),insertStyleElement_default=__webpack_require__.n(insertStyleElement),styleTagTransform=__webpack_require__("./node_modules/style-loader/dist/runtime/styleTagTransform.js"),styleTagTransform_default=__webpack_require__.n(styleTagTransform),Iconvue_type_style_index_0_id_90c4211a_lang_scss=__webpack_require__("./node_modules/css-loader/dist/cjs.js??clonedRuleSet-16.use[1]!./node_modules/@storybook/preset-vue3-webpack/node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/resolve-url-loader/index.js!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-16.use[3]!./node_modules/@storybook/preset-vue3-webpack/node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/vue/components/icon/Icon.vue?vue&type=style&index=0&id=90c4211a&lang=scss"),options={};options.styleTagTransform=styleTagTransform_default(),options.setAttributes=setAttributesWithoutAttributes_default(),options.insert=insertBySelector_default().bind(null,"head"),options.domAPI=styleDomAPI_default(),options.insertStyleElement=insertStyleElement_default();injectStylesIntoStyleTag_default()(Iconvue_type_style_index_0_id_90c4211a_lang_scss.Z,options);Iconvue_type_style_index_0_id_90c4211a_lang_scss.Z&&Iconvue_type_style_index_0_id_90c4211a_lang_scss.Z.locals&&Iconvue_type_style_index_0_id_90c4211a_lang_scss.Z.locals;const __exports__=(0,__webpack_require__("./node_modules/@storybook/preset-vue3-webpack/node_modules/vue-loader/dist/exportHelper.js").Z)(Iconvue_type_script_lang_js,[["render",function render(_ctx,_cache,$props,$setup,$data,$options){return(0,vue_esm_bundler.wg)(),(0,vue_esm_bundler.iD)("span",{class:(0,vue_esm_bundler.C_)($setup.iconClasses),innerHTML:$setup.iconContent},null,10,_hoisted_1)}]]),Icon=__exports__;__exports__.__docgenInfo={exportName:"default",displayName:"Icon",description:"",tags:{},props:[{name:"name",type:{name:"string"},required:!0},{name:"size",type:{name:"string|number"},defaultValue:{func:!1,value:"'1em'"}},{name:"color",type:{name:"string"},defaultValue:{func:!1,value:"'currentColor'"}}],sourceFiles:["/home/runner/work/frontend/frontend/src/vue/components/icon/Icon.vue"]}},"./src/vue/components/module-progress-indicator/ModulesProgressIndicator.vue":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>ModulesProgressIndicator});var vue_esm_bundler=__webpack_require__("./node_modules/vue/dist/vue.esm-bundler.js"),_hoisted_1={class:"modules-progress-indicator-container"},_hoisted_2=(0,vue_esm_bundler._)("h5",null,"Progresjon",-1),_hoisted_3={class:"progress-indicator"},_hoisted_4=["aria-label"],_hoisted_5={class:"progress-label"};const ModulesProgressIndicatorvue_type_script_lang_js={props:{modulesProgressionData:Object},data:function data(){return{percentageCompleted:Math.round(this.modulesProgressionData.completedPages/this.modulesProgressionData.totalPages*100),modulesProgressionData:this.modulesProgressionData}}};var injectStylesIntoStyleTag=__webpack_require__("./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),injectStylesIntoStyleTag_default=__webpack_require__.n(injectStylesIntoStyleTag),styleDomAPI=__webpack_require__("./node_modules/style-loader/dist/runtime/styleDomAPI.js"),styleDomAPI_default=__webpack_require__.n(styleDomAPI),insertBySelector=__webpack_require__("./node_modules/style-loader/dist/runtime/insertBySelector.js"),insertBySelector_default=__webpack_require__.n(insertBySelector),setAttributesWithoutAttributes=__webpack_require__("./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"),setAttributesWithoutAttributes_default=__webpack_require__.n(setAttributesWithoutAttributes),insertStyleElement=__webpack_require__("./node_modules/style-loader/dist/runtime/insertStyleElement.js"),insertStyleElement_default=__webpack_require__.n(insertStyleElement),styleTagTransform=__webpack_require__("./node_modules/style-loader/dist/runtime/styleTagTransform.js"),styleTagTransform_default=__webpack_require__.n(styleTagTransform),ModulesProgressIndicatorvue_type_style_index_0_id_5a6bae60_lang_scss=__webpack_require__("./node_modules/css-loader/dist/cjs.js??clonedRuleSet-16.use[1]!./node_modules/@storybook/preset-vue3-webpack/node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/resolve-url-loader/index.js!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-16.use[3]!./node_modules/@storybook/preset-vue3-webpack/node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/vue/components/module-progress-indicator/ModulesProgressIndicator.vue?vue&type=style&index=0&id=5a6bae60&lang=scss"),options={};options.styleTagTransform=styleTagTransform_default(),options.setAttributes=setAttributesWithoutAttributes_default(),options.insert=insertBySelector_default().bind(null,"head"),options.domAPI=styleDomAPI_default(),options.insertStyleElement=insertStyleElement_default();injectStylesIntoStyleTag_default()(ModulesProgressIndicatorvue_type_style_index_0_id_5a6bae60_lang_scss.Z,options);ModulesProgressIndicatorvue_type_style_index_0_id_5a6bae60_lang_scss.Z&&ModulesProgressIndicatorvue_type_style_index_0_id_5a6bae60_lang_scss.Z.locals&&ModulesProgressIndicatorvue_type_style_index_0_id_5a6bae60_lang_scss.Z.locals;const __exports__=(0,__webpack_require__("./node_modules/@storybook/preset-vue3-webpack/node_modules/vue-loader/dist/exportHelper.js").Z)(ModulesProgressIndicatorvue_type_script_lang_js,[["render",function render(_ctx,_cache,$props,$setup,$data,$options){return(0,vue_esm_bundler.wg)(),(0,vue_esm_bundler.iD)("div",_hoisted_1,[_hoisted_2,(0,vue_esm_bundler._)("div",_hoisted_3,[(0,vue_esm_bundler._)("div",{class:"progress-bar",style:(0,vue_esm_bundler.j5)({width:$data.percentageCompleted+"%"}),"aria-label":$data.modulesProgressionData.completedPages+" av "+$data.modulesProgressionData.totalPages+"er gjennomført."},null,12,_hoisted_4)]),(0,vue_esm_bundler._)("div",_hoisted_5,(0,vue_esm_bundler.zw)($data.modulesProgressionData.completedModules)+" av "+(0,vue_esm_bundler.zw)($data.modulesProgressionData.totalModules)+" moduler gjennomført ",1)])}]]),ModulesProgressIndicator=__exports__;__exports__.__docgenInfo={exportName:"default",displayName:"ModulesProgressIndicator",description:"",tags:{},props:[{name:"modulesProgressionData",type:{name:"object"}}],sourceFiles:["/home/runner/work/frontend/frontend/src/vue/components/module-progress-indicator/ModulesProgressIndicator.vue"]}}}]); \ No newline at end of file diff --git a/components-course-modules-page-navigation-PageNavigationButtonLinks-stories.4e18945f.iframe.bundle.js b/components-course-modules-page-navigation-PageNavigationButtonLinks-stories.4e18945f.iframe.bundle.js new file mode 100644 index 00000000..67cb2c33 --- /dev/null +++ b/components-course-modules-page-navigation-PageNavigationButtonLinks-stories.4e18945f.iframe.bundle.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmooc=self.webpackChunkmooc||[]).push([[581],{"./src/vue/components/course-modules/page-navigation/PageNavigationButtonLinks.stories.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{ButtonLinks:()=>ButtonLinks,__namedExportsOrder:()=>__namedExportsOrder,default:()=>PageNavigationButtonLinks_stories});var vue_esm_bundler=__webpack_require__("./node_modules/vue/dist/vue.esm-bundler.js"),ButtonLink=__webpack_require__("./src/vue/components/button/ButtonLink.vue"),_hoisted_1={class:"page-button-link-navigation"},_hoisted_2={class:"page-button-link-container-left"},_hoisted_3={class:"page-button-link-container-right"};const PageNavigationButtonLinksvue_type_script_setup_true_lang_js={__name:"PageNavigationButtonLinks",props:["previousUrl","nextUrl"],setup:function setup(__props){return function(_ctx,_cache){return(0,vue_esm_bundler.wg)(),(0,vue_esm_bundler.iD)("div",_hoisted_1,[(0,vue_esm_bundler._)("div",_hoisted_2,[(0,vue_esm_bundler.wy)((0,vue_esm_bundler.Wm)(ButtonLink.Z,{type:"previous",url:__props.previousUrl},{default:(0,vue_esm_bundler.w5)((function(){return[(0,vue_esm_bundler.Uk)("forrige")]})),_:1},8,["url"]),[[vue_esm_bundler.F8,null!==__props.previousUrl]])]),(0,vue_esm_bundler._)("div",_hoisted_3,[(0,vue_esm_bundler.wy)((0,vue_esm_bundler.Wm)(ButtonLink.Z,{type:"next",url:__props.nextUrl},{default:(0,vue_esm_bundler.w5)((function(){return[(0,vue_esm_bundler.Uk)("neste")]})),_:1},8,["url"]),[[vue_esm_bundler.F8,null!==__props.nextUrl]])])])}}};var injectStylesIntoStyleTag=__webpack_require__("./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),injectStylesIntoStyleTag_default=__webpack_require__.n(injectStylesIntoStyleTag),styleDomAPI=__webpack_require__("./node_modules/style-loader/dist/runtime/styleDomAPI.js"),styleDomAPI_default=__webpack_require__.n(styleDomAPI),insertBySelector=__webpack_require__("./node_modules/style-loader/dist/runtime/insertBySelector.js"),insertBySelector_default=__webpack_require__.n(insertBySelector),setAttributesWithoutAttributes=__webpack_require__("./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"),setAttributesWithoutAttributes_default=__webpack_require__.n(setAttributesWithoutAttributes),insertStyleElement=__webpack_require__("./node_modules/style-loader/dist/runtime/insertStyleElement.js"),insertStyleElement_default=__webpack_require__.n(insertStyleElement),styleTagTransform=__webpack_require__("./node_modules/style-loader/dist/runtime/styleTagTransform.js"),styleTagTransform_default=__webpack_require__.n(styleTagTransform),PageNavigationButtonLinksvue_type_style_index_0_id_96e84a26_lang_scss=__webpack_require__("./node_modules/css-loader/dist/cjs.js??clonedRuleSet-16.use[1]!./node_modules/@storybook/preset-vue3-webpack/node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/resolve-url-loader/index.js!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-16.use[3]!./node_modules/@storybook/preset-vue3-webpack/node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/vue/components/course-modules/page-navigation/PageNavigationButtonLinks.vue?vue&type=style&index=0&id=96e84a26&lang=scss"),options={};options.styleTagTransform=styleTagTransform_default(),options.setAttributes=setAttributesWithoutAttributes_default(),options.insert=insertBySelector_default().bind(null,"head"),options.domAPI=styleDomAPI_default(),options.insertStyleElement=insertStyleElement_default();injectStylesIntoStyleTag_default()(PageNavigationButtonLinksvue_type_style_index_0_id_96e84a26_lang_scss.Z,options);PageNavigationButtonLinksvue_type_style_index_0_id_96e84a26_lang_scss.Z&&PageNavigationButtonLinksvue_type_style_index_0_id_96e84a26_lang_scss.Z.locals&&PageNavigationButtonLinksvue_type_style_index_0_id_96e84a26_lang_scss.Z.locals;const PageNavigationButtonLinks=PageNavigationButtonLinksvue_type_script_setup_true_lang_js;var _ButtonLinks$paramete,_ButtonLinks$paramete2;function _typeof(o){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)}function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function _objectSpread(e){for(var r=1;r'}},args:{previousUrl:"url",nextUrl:"urls"},tags:["autodocs"],argTypes:{previousUrl:{control:{type:"select"},options:["url",null]},nextUrl:{control:{type:"select"},options:["url",null]}}};ButtonLinks.parameters=_objectSpread(_objectSpread({},ButtonLinks.parameters),{},{docs:_objectSpread(_objectSpread({},null===(_ButtonLinks$paramete=ButtonLinks.parameters)||void 0===_ButtonLinks$paramete?void 0:_ButtonLinks$paramete.docs),{},{source:_objectSpread({originalSource:'{\n render: args => ({\n components: {\n PageNavigationButtonLinks\n },\n setup() {\n return {\n args\n };\n },\n template: \'\'\n }),\n args: {\n previousUrl: "url",\n nextUrl: "urls"\n },\n tags: ["autodocs"],\n argTypes: {\n previousUrl: {\n control: {\n type: "select"\n },\n options: ["url", null]\n },\n nextUrl: {\n control: {\n type: "select"\n },\n options: ["url", null]\n }\n }\n}'},null===(_ButtonLinks$paramete2=ButtonLinks.parameters)||void 0===_ButtonLinks$paramete2||null===(_ButtonLinks$paramete2=_ButtonLinks$paramete2.docs)||void 0===_ButtonLinks$paramete2?void 0:_ButtonLinks$paramete2.source)})});var __namedExportsOrder=["ButtonLinks"]},"./node_modules/css-loader/dist/cjs.js??clonedRuleSet-16.use[1]!./node_modules/@storybook/preset-vue3-webpack/node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/resolve-url-loader/index.js!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-16.use[3]!./node_modules/@storybook/preset-vue3-webpack/node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/vue/components/course-modules/page-navigation/PageNavigationButtonLinks.vue?vue&type=style&index=0&id=96e84a26&lang=scss":(module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});var _node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/css-loader/dist/runtime/sourceMaps.js"),_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__),_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js"),___CSS_LOADER_EXPORT___=__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__)()(_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default());___CSS_LOADER_EXPORT___.push([module.id,".module-sequence-custom-footer-content{display:flex;flex-direction:column;justify-content:flex-start;align-items:center;width:100%;margin-top:1rem}.custom-button-navigation-wrapper{width:100%;box-sizing:border-box;display:flex;flex-direction:column;justify-content:flex-start;align-items:center}.page-button-link-navigation{display:flex;width:100%;gap:2rem;padding:1rem;align-items:center;justify-content:center}.page-button-link-navigation .page-button-link-container-right{align-self:flex-end;min-width:5rem}.page-button-link-navigation .page-button-link-container-left{align-self:flex-start;min-width:5rem}","",{version:3,sources:["webpack://./src/vue/components/course-modules/page-navigation/PageNavigationButtonLinks.vue"],names:[],mappings:"AACA,uCACE,YAAA,CACA,qBAAA,CACA,0BAAA,CACA,kBAAA,CACA,UAAA,CACA,eAAA,CAEF,kCACE,UAAA,CACA,qBAAA,CACA,YAAA,CACA,qBAAA,CACA,0BAAA,CACA,kBAAA,CAGF,6BACE,YAAA,CACA,UAAA,CACA,QAAA,CACA,YAAA,CACA,kBAAA,CACA,sBAAA,CACA,+DACE,mBAAA,CACA,cAAA,CAEF,8DACE,qBAAA,CACA,cAAA",sourcesContent:["\n.module-sequence-custom-footer-content{\n display:flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: center;\n width: 100%;\n margin-top: 1rem;\n}\n.custom-button-navigation-wrapper{\n width: 100%;\n box-sizing: border-box;\n display:flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: center;\n\n}\n.page-button-link-navigation {\n display: flex;\n width: 100%;\n gap:2rem;\n padding: 1rem;\n align-items: center;\n justify-content: center;\n .page-button-link-container-right{\n align-self: flex-end;\n min-width: 5rem;\n }\n .page-button-link-container-left{\n align-self: flex-start;\n min-width: 5rem;\n }\n \n}\n"],sourceRoot:""}]);const __WEBPACK_DEFAULT_EXPORT__=___CSS_LOADER_EXPORT___}}]); \ No newline at end of file diff --git a/iframe.html b/iframe.html index 03357848..69a71595 100644 --- a/iframe.html +++ b/iframe.html @@ -348,8 +348,8 @@ window['DOCS_OPTIONS'] = {"defaultName":"Docs","autodocs":"tag"}; \ No newline at end of file + import './main.b125b7cb.iframe.bundle.js'; \ No newline at end of file diff --git a/index.json b/index.json index 83aac075..ef8c2d41 100644 --- a/index.json +++ b/index.json @@ -1 +1 @@ -{"v":4,"entries":{"components-announcements--default":{"type":"story","id":"components-announcements--default","name":"Default","title":"Components/Announcements","importPath":"./src/vue/components/announcements/announcements.stories.js","tags":["story"]},"components-announcements--no-new-announcements":{"type":"story","id":"components-announcements--no-new-announcements","name":"No New Announcements","title":"Components/Announcements","importPath":"./src/vue/components/announcements/announcements.stories.js","tags":["story"]},"components-checkboxinput--default":{"type":"story","id":"components-checkboxinput--default","name":"Default","title":"Components/CheckboxInput","importPath":"./src/vue/components/checkbox-input/CheckboxInput.stories.js","tags":["story"]},"components-coursemodules--two-level-tree":{"type":"story","id":"components-coursemodules--two-level-tree","name":"Two Level Tree","title":"Components/CourseModules","importPath":"./src/vue/components/course-modules/CourseModules.stories.js","tags":["story"]},"components-coursemodules--three-level-tree":{"type":"story","id":"components-coursemodules--three-level-tree","name":"Three Level Tree","title":"Components/CourseModules","importPath":"./src/vue/components/course-modules/CourseModules.stories.js","tags":["story"]},"components-coursepagebanner--docs":{"id":"components-coursepagebanner--docs","title":"Components/CoursePageBanner","name":"Docs","importPath":"./src/vue/components/course-page-banner/CoursePageBanner.stories.js","type":"docs","tags":["autodocs","docs"],"storiesImports":[]},"components-coursepagebanner--course-page-banner-component":{"type":"story","id":"components-coursepagebanner--course-page-banner-component","name":"Course Page Banner Component","title":"Components/CoursePageBanner","importPath":"./src/vue/components/course-page-banner/CoursePageBanner.stories.js","tags":["autodocs","story"]},"components-dropdownbutton--dropdown-button-component":{"type":"story","id":"components-dropdownbutton--dropdown-button-component","name":"Dropdown Button Component","title":"Components/DropdownButton","importPath":"./src/vue/components/dropdown-button/DropdownButton.stories.js","tags":["story"]},"components-iconbutton--close-button":{"type":"story","id":"components-iconbutton--close-button","name":"Close Button","title":"components/IconButton","importPath":"./src/vue/components/icon-button/IconButton.stories.js","tags":["story"]},"components-icon--default":{"type":"story","id":"components-icon--default","name":"Default","title":"Components/Icon","importPath":"./src/vue/components/icon/Icon.stories.js","tags":["story"]},"components-link--default":{"type":"story","id":"components-link--default","name":"Default","title":"Components/Link","importPath":"./src/vue/components/link/Link.stories.js","tags":["story"]},"components-loginform--default":{"type":"story","id":"components-loginform--default","name":"Default","title":"Components/LoginForm","importPath":"./src/vue/components/login-form/LoginForm.stories.js","tags":["story"]},"components-modal--default":{"type":"story","id":"components-modal--default","name":"Default","title":"Components/Modal","importPath":"./src/vue/components/modal/Modal.stories.js","tags":["story"]},"components-modal--without-header":{"type":"story","id":"components-modal--without-header","name":"Without Header","title":"Components/Modal","importPath":"./src/vue/components/modal/Modal.stories.js","tags":["story"]},"components-modal--without-actions":{"type":"story","id":"components-modal--without-actions","name":"Without Actions","title":"Components/Modal","importPath":"./src/vue/components/modal/Modal.stories.js","tags":["story"]},"components-modal--without-main-content":{"type":"story","id":"components-modal--without-main-content","name":"Without Main Content","title":"Components/Modal","importPath":"./src/vue/components/modal/Modal.stories.js","tags":["story"]},"example-modalexample--default":{"type":"story","id":"example-modalexample--default","name":"Default","title":"Example/ModalExample","importPath":"./src/vue/components/modal/ModalExample.stories.js","tags":["story"]},"components-modulesprogressindicator--example":{"type":"story","id":"components-modulesprogressindicator--example","name":"Example","title":"Components/ModulesProgressIndicator","importPath":"./src/vue/components/module-progress-indicator/ModulesProgressIndicator.stories.js","tags":["story"]},"components-textinput--email":{"type":"story","id":"components-textinput--email","name":"Email","title":"Components/TextInput","importPath":"./src/vue/components/text-input/TextInput.stories.js","tags":["story"]},"components-textinput--password":{"type":"story","id":"components-textinput--password","name":"Password","title":"Components/TextInput","importPath":"./src/vue/components/text-input/TextInput.stories.js","tags":["story"]},"pages-loginpage--login":{"type":"story","id":"pages-loginpage--login","name":"Login","title":"Pages/LoginPage","importPath":"./src/vue/pages/login-page/LoginPage.stories.js","tags":["story"]},"stories-banner--banner-component":{"type":"story","id":"stories-banner--banner-component","name":"Banner Component","title":"stories/Banner","importPath":"./src/vue/stories/Banner.stories.js","tags":["story"]},"stories-button--docs":{"id":"stories-button--docs","title":"stories/Button","name":"Docs","importPath":"./src/vue/stories/Button.stories.js","type":"docs","tags":["autodocs","docs"],"storiesImports":[]},"stories-button--primary-button":{"type":"story","id":"stories-button--primary-button","name":"Primary Button","title":"stories/Button","importPath":"./src/vue/stories/Button.stories.js","tags":["autodocs","story"]},"stories-button--secondary-button":{"type":"story","id":"stories-button--secondary-button","name":"Secondary Button","title":"stories/Button","importPath":"./src/vue/stories/Button.stories.js","tags":["story"]},"stories-card--docs":{"id":"stories-card--docs","title":"stories/Card","name":"Docs","importPath":"./src/vue/stories/Card.stories.js","type":"docs","tags":["autodocs","docs"],"storiesImports":[]},"stories-card--card-component":{"type":"story","id":"stories-card--card-component","name":"Card Component","title":"stories/Card","importPath":"./src/vue/stories/Card.stories.js","tags":["autodocs","story"]},"stories-footer--docs":{"id":"stories-footer--docs","title":"stories/Footer","name":"Docs","importPath":"./src/vue/stories/Footer.stories.js","type":"docs","tags":["autodocs","docs"],"storiesImports":[]},"stories-footer--footer":{"type":"story","id":"stories-footer--footer","name":"Footer","title":"stories/Footer","importPath":"./src/vue/stories/Footer.stories.js","tags":["autodocs","story"]},"stories-navbar--docs":{"id":"stories-navbar--docs","title":"stories/Navbar","name":"Docs","importPath":"./src/vue/stories/Navbar.stories.js","type":"docs","tags":["autodocs","docs"],"storiesImports":[]},"stories-navbar--nav":{"type":"story","id":"stories-navbar--nav","name":"Nav","title":"stories/Navbar","importPath":"./src/vue/stories/Navbar.stories.js","tags":["autodocs","story"]}}} +{"v":4,"entries":{"components-announcements--default":{"type":"story","id":"components-announcements--default","name":"Default","title":"Components/Announcements","importPath":"./src/vue/components/announcements/announcements.stories.js","tags":["story"]},"components-announcements--no-new-announcements":{"type":"story","id":"components-announcements--no-new-announcements","name":"No New Announcements","title":"Components/Announcements","importPath":"./src/vue/components/announcements/announcements.stories.js","tags":["story"]},"components-button-buttonlink--docs":{"id":"components-button-buttonlink--docs","title":"components/button/ButtonLink","name":"Docs","importPath":"./src/vue/components/button/ButtonLink.stories.js","type":"docs","tags":["autodocs","docs"],"storiesImports":[]},"components-button-buttonlink--primary-button-link":{"type":"story","id":"components-button-buttonlink--primary-button-link","name":"Primary Button Link","title":"components/button/ButtonLink","importPath":"./src/vue/components/button/ButtonLink.stories.js","tags":["autodocs","story"]},"components-button-buttonlink--secondary-button-link":{"type":"story","id":"components-button-buttonlink--secondary-button-link","name":"Secondary Button Link","title":"components/button/ButtonLink","importPath":"./src/vue/components/button/ButtonLink.stories.js","tags":["story"]},"components-checkboxinput--default":{"type":"story","id":"components-checkboxinput--default","name":"Default","title":"Components/CheckboxInput","importPath":"./src/vue/components/checkbox-input/CheckboxInput.stories.js","tags":["story"]},"components-coursemodules--two-level-tree":{"type":"story","id":"components-coursemodules--two-level-tree","name":"Two Level Tree","title":"Components/CourseModules","importPath":"./src/vue/components/course-modules/CourseModules.stories.js","tags":["story"]},"components-coursemodules--three-level-tree":{"type":"story","id":"components-coursemodules--three-level-tree","name":"Three Level Tree","title":"Components/CourseModules","importPath":"./src/vue/components/course-modules/CourseModules.stories.js","tags":["story"]},"components-course-modules-page-navigation-pagenavigationbuttonlinks--docs":{"id":"components-course-modules-page-navigation-pagenavigationbuttonlinks--docs","title":"components/course-modules/page-navigation/PageNavigationButtonLinks","name":"Docs","importPath":"./src/vue/components/course-modules/page-navigation/PageNavigationButtonLinks.stories.js","type":"docs","tags":["autodocs","docs"],"storiesImports":[]},"components-course-modules-page-navigation-pagenavigationbuttonlinks--button-links":{"type":"story","id":"components-course-modules-page-navigation-pagenavigationbuttonlinks--button-links","name":"Button Links","title":"components/course-modules/page-navigation/PageNavigationButtonLinks","importPath":"./src/vue/components/course-modules/page-navigation/PageNavigationButtonLinks.stories.js","tags":["autodocs","story"]},"components-coursepagebanner--docs":{"id":"components-coursepagebanner--docs","title":"Components/CoursePageBanner","name":"Docs","importPath":"./src/vue/components/course-page-banner/CoursePageBanner.stories.js","type":"docs","tags":["autodocs","docs"],"storiesImports":[]},"components-coursepagebanner--course-page-banner-component":{"type":"story","id":"components-coursepagebanner--course-page-banner-component","name":"Course Page Banner Component","title":"Components/CoursePageBanner","importPath":"./src/vue/components/course-page-banner/CoursePageBanner.stories.js","tags":["autodocs","story"]},"components-dropdownbutton--dropdown-button-component":{"type":"story","id":"components-dropdownbutton--dropdown-button-component","name":"Dropdown Button Component","title":"Components/DropdownButton","importPath":"./src/vue/components/dropdown-button/DropdownButton.stories.js","tags":["story"]},"components-iconbutton--close-button":{"type":"story","id":"components-iconbutton--close-button","name":"Close Button","title":"components/IconButton","importPath":"./src/vue/components/icon-button/IconButton.stories.js","tags":["story"]},"components-icon--default":{"type":"story","id":"components-icon--default","name":"Default","title":"Components/Icon","importPath":"./src/vue/components/icon/Icon.stories.js","tags":["story"]},"components-link--default":{"type":"story","id":"components-link--default","name":"Default","title":"Components/Link","importPath":"./src/vue/components/link/Link.stories.js","tags":["story"]},"components-loginform--default":{"type":"story","id":"components-loginform--default","name":"Default","title":"Components/LoginForm","importPath":"./src/vue/components/login-form/LoginForm.stories.js","tags":["story"]},"components-modal--default":{"type":"story","id":"components-modal--default","name":"Default","title":"Components/Modal","importPath":"./src/vue/components/modal/Modal.stories.js","tags":["story"]},"components-modal--without-header":{"type":"story","id":"components-modal--without-header","name":"Without Header","title":"Components/Modal","importPath":"./src/vue/components/modal/Modal.stories.js","tags":["story"]},"components-modal--without-actions":{"type":"story","id":"components-modal--without-actions","name":"Without Actions","title":"Components/Modal","importPath":"./src/vue/components/modal/Modal.stories.js","tags":["story"]},"components-modal--without-main-content":{"type":"story","id":"components-modal--without-main-content","name":"Without Main Content","title":"Components/Modal","importPath":"./src/vue/components/modal/Modal.stories.js","tags":["story"]},"example-modalexample--default":{"type":"story","id":"example-modalexample--default","name":"Default","title":"Example/ModalExample","importPath":"./src/vue/components/modal/ModalExample.stories.js","tags":["story"]},"components-modulesprogressindicator--example":{"type":"story","id":"components-modulesprogressindicator--example","name":"Example","title":"Components/ModulesProgressIndicator","importPath":"./src/vue/components/module-progress-indicator/ModulesProgressIndicator.stories.js","tags":["story"]},"components-textinput--email":{"type":"story","id":"components-textinput--email","name":"Email","title":"Components/TextInput","importPath":"./src/vue/components/text-input/TextInput.stories.js","tags":["story"]},"components-textinput--password":{"type":"story","id":"components-textinput--password","name":"Password","title":"Components/TextInput","importPath":"./src/vue/components/text-input/TextInput.stories.js","tags":["story"]},"pages-loginpage--login":{"type":"story","id":"pages-loginpage--login","name":"Login","title":"Pages/LoginPage","importPath":"./src/vue/pages/login-page/LoginPage.stories.js","tags":["story"]},"stories-banner--banner-component":{"type":"story","id":"stories-banner--banner-component","name":"Banner Component","title":"stories/Banner","importPath":"./src/vue/stories/Banner.stories.js","tags":["story"]},"stories-button--docs":{"id":"stories-button--docs","title":"stories/Button","name":"Docs","importPath":"./src/vue/stories/Button.stories.js","type":"docs","tags":["autodocs","docs"],"storiesImports":[]},"stories-button--primary-button":{"type":"story","id":"stories-button--primary-button","name":"Primary Button","title":"stories/Button","importPath":"./src/vue/stories/Button.stories.js","tags":["autodocs","story"]},"stories-button--secondary-button":{"type":"story","id":"stories-button--secondary-button","name":"Secondary Button","title":"stories/Button","importPath":"./src/vue/stories/Button.stories.js","tags":["story"]},"stories-card--docs":{"id":"stories-card--docs","title":"stories/Card","name":"Docs","importPath":"./src/vue/stories/Card.stories.js","type":"docs","tags":["autodocs","docs"],"storiesImports":[]},"stories-card--card-component":{"type":"story","id":"stories-card--card-component","name":"Card Component","title":"stories/Card","importPath":"./src/vue/stories/Card.stories.js","tags":["autodocs","story"]},"stories-footer--docs":{"id":"stories-footer--docs","title":"stories/Footer","name":"Docs","importPath":"./src/vue/stories/Footer.stories.js","type":"docs","tags":["autodocs","docs"],"storiesImports":[]},"stories-footer--footer":{"type":"story","id":"stories-footer--footer","name":"Footer","title":"stories/Footer","importPath":"./src/vue/stories/Footer.stories.js","tags":["autodocs","story"]},"stories-navbar--docs":{"id":"stories-navbar--docs","title":"stories/Navbar","name":"Docs","importPath":"./src/vue/stories/Navbar.stories.js","type":"docs","tags":["autodocs","docs"],"storiesImports":[]},"stories-navbar--nav":{"type":"story","id":"stories-navbar--nav","name":"Nav","title":"stories/Navbar","importPath":"./src/vue/stories/Navbar.stories.js","tags":["autodocs","story"]}}} diff --git a/main.43ea2780.iframe.bundle.js b/main.b125b7cb.iframe.bundle.js similarity index 70% rename from main.43ea2780.iframe.bundle.js rename to main.b125b7cb.iframe.bundle.js index 99d8ab56..5080a6e0 100644 --- a/main.43ea2780.iframe.bundle.js +++ b/main.b125b7cb.iframe.bundle.js @@ -1,2 +1,2 @@ -/*! For license information please see main.43ea2780.iframe.bundle.js.LICENSE.txt */ -(self.webpackChunkmooc=self.webpackChunkmooc||[]).push([[179],{"./storybook-config-entry.js":(__unused_webpack_module,__unused_webpack___webpack_exports__,__webpack_require__)=>{"use strict";var external_STORYBOOK_MODULE_GLOBAL_=__webpack_require__("@storybook/global"),external_STORYBOOK_MODULE_PREVIEW_API_=__webpack_require__("@storybook/preview-api"),external_STORYBOOK_MODULE_CHANNELS_=__webpack_require__("@storybook/channels");function _typeof(o){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)}function _regeneratorRuntime(){_regeneratorRuntime=function _regeneratorRuntime(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function define(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{define({},"")}catch(t){define=function define(t,e,r){return t[e]=r}}function wrap(t,e,r,n){var i=e&&e.prototype instanceof Generator?e:Generator,a=Object.create(i.prototype),c=new Context(n||[]);return o(a,"_invoke",{value:makeInvokeMethod(t,r,c)}),a}function tryCatch(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=wrap;var h="suspendedStart",l="suspendedYield",f="executing",s="completed",y={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var p={};define(p,a,(function(){return this}));var d=Object.getPrototypeOf,v=d&&d(d(values([])));v&&v!==r&&n.call(v,a)&&(p=v);var g=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(p);function defineIteratorMethods(t){["next","throw","return"].forEach((function(e){define(t,e,(function(t){return this._invoke(e,t)}))}))}function AsyncIterator(t,e){function invoke(r,o,i,a){var c=tryCatch(t[r],t,o);if("throw"!==c.type){var u=c.arg,h=u.value;return h&&"object"==_typeof(h)&&n.call(h,"__await")?e.resolve(h.__await).then((function(t){invoke("next",t,i,a)}),(function(t){invoke("throw",t,i,a)})):e.resolve(h).then((function(t){u.value=t,i(u)}),(function(t){return invoke("throw",t,i,a)}))}a(c.arg)}var r;o(this,"_invoke",{value:function value(t,n){function callInvokeWithMethodAndArg(){return new e((function(e,r){invoke(t,n,e,r)}))}return r=r?r.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}})}function makeInvokeMethod(e,r,n){var o=h;return function(i,a){if(o===f)throw new Error("Generator is already running");if(o===s){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=maybeInvokeDelegate(c,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=s,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=f;var p=tryCatch(e,r,n);if("normal"===p.type){if(o=n.done?s:l,p.arg===y)continue;return{value:p.arg,done:n.done}}"throw"===p.type&&(o=s,n.method="throw",n.arg=p.arg)}}}function maybeInvokeDelegate(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,maybeInvokeDelegate(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var i=tryCatch(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,y;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function pushTryEntry(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function resetTryEntry(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function Context(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(pushTryEntry,this),this.reset(!0)}function values(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function next(){for(;++o=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return handle("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),resetTryEntry(r),y}},catch:function _catch(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;resetTryEntry(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function delegateYield(e,r,n){return this.delegate={iterator:values(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function asyncGeneratorStep(gen,resolve,reject,_next,_throw,key,arg){try{var info=gen[key](arg),value=info.value}catch(error){return void reject(error)}info.done?resolve(value):Promise.resolve(value).then(_next,_throw)}function _asyncToGenerator(fn){return function(){var self=this,args=arguments;return new Promise((function(resolve,reject){var gen=fn.apply(self,args);function _next(value){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"next",value)}function _throw(err){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"throw",err)}_next(void 0)}))}}var pipeline=function pipeline(x){return x()},importers=[function(){var _ref=_asyncToGenerator(_regeneratorRuntime().mark((function _callee(path){var pathRemainder;return _regeneratorRuntime().wrap((function _callee$(_context){for(;;)switch(_context.prev=_context.next){case 0:if(/^\.[\\/](?:src\/vue(?:\/(?!\.)(?:(?:(?!(?:^|\/)\.).)*?)\/|\/|$)(?!\.)(?=.)[^/]*?\.stories\.(js|jsx|mjs|ts|tsx))$/.exec(path)){_context.next=2;break}return _context.abrupt("return");case 2:return pathRemainder=path.substring(10),_context.abrupt("return",__webpack_require__("./src/vue lazy recursive ^\\.\\/.*$ include: (?:\\/src\\/vue(?:\\/(?%21\\.)(?:(?:(?%21(?:^%7C\\/)\\.).)*?)\\/%7C\\/%7C$)(?%21\\.)(?=.)[^/]*?\\.stories\\.(js%7Cjsx%7Cmjs%7Cts%7Ctsx))$")("./"+pathRemainder));case 4:case"end":return _context.stop()}}),_callee)})));return function(_x){return _ref.apply(this,arguments)}}()];function _importFn(){return(_importFn=_asyncToGenerator(_regeneratorRuntime().mark((function _callee2(path){var _loop,_ret,i;return _regeneratorRuntime().wrap((function _callee2$(_context3){for(;;)switch(_context3.prev=_context3.next){case 0:_loop=_regeneratorRuntime().mark((function _loop(i){var moduleExports;return _regeneratorRuntime().wrap((function _loop$(_context2){for(;;)switch(_context2.prev=_context2.next){case 0:return _context2.next=2,pipeline((function(){return importers[i](path)}));case 2:if(!(moduleExports=_context2.sent)){_context2.next=5;break}return _context2.abrupt("return",{v:moduleExports});case 5:case"end":return _context2.stop()}}),_loop)})),i=0;case 2:if(!(i{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={parameters:{actions:{argTypesRegex:"^on[A-Z].*"},controls:{matchers:{color:/(background|color)$/i,date:/Date$/}}}}},"./src/vue lazy recursive ^\\.\\/.*$ include: (?:\\/src\\/vue(?:\\/(?%21\\.)(?:(?:(?%21(?:^%7C\\/)\\.).)*?)\\/%7C\\/%7C$)(?%21\\.)(?=.)[^/]*?\\.stories\\.(js%7Cjsx%7Cmjs%7Cts%7Ctsx))$":(module,__unused_webpack_exports,__webpack_require__)=>{var map={"./components/announcements/announcements.stories":["./src/vue/components/announcements/announcements.stories.js",532],"./components/announcements/announcements.stories.js":["./src/vue/components/announcements/announcements.stories.js",532],"./components/checkbox-input/CheckboxInput.stories":["./src/vue/components/checkbox-input/CheckboxInput.stories.js",64,805],"./components/checkbox-input/CheckboxInput.stories.js":["./src/vue/components/checkbox-input/CheckboxInput.stories.js",64,805],"./components/course-modules/CourseModules.stories":["./src/vue/components/course-modules/CourseModules.stories.js",337,561],"./components/course-modules/CourseModules.stories.js":["./src/vue/components/course-modules/CourseModules.stories.js",337,561],"./components/course-page-banner/CoursePageBanner.stories":["./src/vue/components/course-page-banner/CoursePageBanner.stories.js",737,337,297],"./components/course-page-banner/CoursePageBanner.stories.js":["./src/vue/components/course-page-banner/CoursePageBanner.stories.js",737,337,297],"./components/dropdown-button/DropdownButton.stories":["./src/vue/components/dropdown-button/DropdownButton.stories.js",737,973],"./components/dropdown-button/DropdownButton.stories.js":["./src/vue/components/dropdown-button/DropdownButton.stories.js",737,973],"./components/icon-button/IconButton.stories":["./src/vue/components/icon-button/IconButton.stories.js",59],"./components/icon-button/IconButton.stories.js":["./src/vue/components/icon-button/IconButton.stories.js",59],"./components/icon/Icon.stories":["./src/vue/components/icon/Icon.stories.js",957],"./components/icon/Icon.stories.js":["./src/vue/components/icon/Icon.stories.js",957],"./components/link/Link.stories":["./src/vue/components/link/Link.stories.js",539],"./components/link/Link.stories.js":["./src/vue/components/link/Link.stories.js",539],"./components/login-form/LoginForm.stories":["./src/vue/components/login-form/LoginForm.stories.js",64,737,748,741],"./components/login-form/LoginForm.stories.js":["./src/vue/components/login-form/LoginForm.stories.js",64,737,748,741],"./components/modal/Modal.stories":["./src/vue/components/modal/Modal.stories.js",737,732,707],"./components/modal/Modal.stories.js":["./src/vue/components/modal/Modal.stories.js",737,732,707],"./components/modal/ModalExample.stories":["./src/vue/components/modal/ModalExample.stories.js",737,732,240],"./components/modal/ModalExample.stories.js":["./src/vue/components/modal/ModalExample.stories.js",737,732,240],"./components/module-progress-indicator/ModulesProgressIndicator.stories":["./src/vue/components/module-progress-indicator/ModulesProgressIndicator.stories.js",282],"./components/module-progress-indicator/ModulesProgressIndicator.stories.js":["./src/vue/components/module-progress-indicator/ModulesProgressIndicator.stories.js",282],"./components/text-input/TextInput.stories":["./src/vue/components/text-input/TextInput.stories.js",64,860],"./components/text-input/TextInput.stories.js":["./src/vue/components/text-input/TextInput.stories.js",64,860],"./pages/login-page/LoginPage.stories":["./src/vue/pages/login-page/LoginPage.stories.js",64,737,748,249],"./pages/login-page/LoginPage.stories.js":["./src/vue/pages/login-page/LoginPage.stories.js",64,737,748,249],"./stories/Banner.stories":["./src/vue/stories/Banner.stories.js",468],"./stories/Banner.stories.js":["./src/vue/stories/Banner.stories.js",468],"./stories/Button.stories":["./src/vue/stories/Button.stories.js",737,256],"./stories/Button.stories.js":["./src/vue/stories/Button.stories.js",737,256],"./stories/Card.stories":["./src/vue/stories/Card.stories.js",16],"./stories/Card.stories.js":["./src/vue/stories/Card.stories.js",16],"./stories/Footer.stories":["./src/vue/stories/Footer.stories.js",513],"./stories/Footer.stories.js":["./src/vue/stories/Footer.stories.js",513],"./stories/Navbar.stories":["./src/vue/stories/Navbar.stories.js",737,732,189],"./stories/Navbar.stories.js":["./src/vue/stories/Navbar.stories.js",737,732,189]};function webpackAsyncContext(req){if(!__webpack_require__.o(map,req))return Promise.resolve().then((()=>{var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e}));var ids=map[req],id=ids[0];return Promise.all(ids.slice(1).map(__webpack_require__.e)).then((()=>__webpack_require__(id)))}webpackAsyncContext.keys=()=>Object.keys(map),webpackAsyncContext.id="./src/vue lazy recursive ^\\.\\/.*$ include: (?:\\/src\\/vue(?:\\/(?%21\\.)(?:(?:(?%21(?:^%7C\\/)\\.).)*?)\\/%7C\\/%7C$)(?%21\\.)(?=.)[^/]*?\\.stories\\.(js%7Cjsx%7Cmjs%7Cts%7Ctsx))$",module.exports=webpackAsyncContext},"@storybook/channels":module=>{"use strict";module.exports=__STORYBOOK_MODULE_CHANNELS__},"@storybook/client-logger":module=>{"use strict";module.exports=__STORYBOOK_MODULE_CLIENT_LOGGER__},"@storybook/core-events":module=>{"use strict";module.exports=__STORYBOOK_MODULE_CORE_EVENTS__},"@storybook/global":module=>{"use strict";module.exports=__STORYBOOK_MODULE_GLOBAL__},"@storybook/preview-api":module=>{"use strict";module.exports=__STORYBOOK_MODULE_PREVIEW_API__}},__webpack_require__=>{__webpack_require__.O(0,[685],(()=>{return moduleId="./storybook-config-entry.js",__webpack_require__(__webpack_require__.s=moduleId);var moduleId}));__webpack_require__.O()}]); \ No newline at end of file +/*! For license information please see main.b125b7cb.iframe.bundle.js.LICENSE.txt */ +(self.webpackChunkmooc=self.webpackChunkmooc||[]).push([[179],{"./storybook-config-entry.js":(__unused_webpack_module,__unused_webpack___webpack_exports__,__webpack_require__)=>{"use strict";var external_STORYBOOK_MODULE_GLOBAL_=__webpack_require__("@storybook/global"),external_STORYBOOK_MODULE_PREVIEW_API_=__webpack_require__("@storybook/preview-api"),external_STORYBOOK_MODULE_CHANNELS_=__webpack_require__("@storybook/channels");function _typeof(o){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)}function _regeneratorRuntime(){_regeneratorRuntime=function _regeneratorRuntime(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function define(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{define({},"")}catch(t){define=function define(t,e,r){return t[e]=r}}function wrap(t,e,r,n){var i=e&&e.prototype instanceof Generator?e:Generator,a=Object.create(i.prototype),c=new Context(n||[]);return o(a,"_invoke",{value:makeInvokeMethod(t,r,c)}),a}function tryCatch(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=wrap;var h="suspendedStart",l="suspendedYield",f="executing",s="completed",y={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var p={};define(p,a,(function(){return this}));var d=Object.getPrototypeOf,v=d&&d(d(values([])));v&&v!==r&&n.call(v,a)&&(p=v);var g=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(p);function defineIteratorMethods(t){["next","throw","return"].forEach((function(e){define(t,e,(function(t){return this._invoke(e,t)}))}))}function AsyncIterator(t,e){function invoke(r,o,i,a){var c=tryCatch(t[r],t,o);if("throw"!==c.type){var u=c.arg,h=u.value;return h&&"object"==_typeof(h)&&n.call(h,"__await")?e.resolve(h.__await).then((function(t){invoke("next",t,i,a)}),(function(t){invoke("throw",t,i,a)})):e.resolve(h).then((function(t){u.value=t,i(u)}),(function(t){return invoke("throw",t,i,a)}))}a(c.arg)}var r;o(this,"_invoke",{value:function value(t,n){function callInvokeWithMethodAndArg(){return new e((function(e,r){invoke(t,n,e,r)}))}return r=r?r.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}})}function makeInvokeMethod(e,r,n){var o=h;return function(i,a){if(o===f)throw new Error("Generator is already running");if(o===s){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=maybeInvokeDelegate(c,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=s,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=f;var p=tryCatch(e,r,n);if("normal"===p.type){if(o=n.done?s:l,p.arg===y)continue;return{value:p.arg,done:n.done}}"throw"===p.type&&(o=s,n.method="throw",n.arg=p.arg)}}}function maybeInvokeDelegate(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,maybeInvokeDelegate(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var i=tryCatch(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,y;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function pushTryEntry(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function resetTryEntry(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function Context(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(pushTryEntry,this),this.reset(!0)}function values(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function next(){for(;++o=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return handle("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),resetTryEntry(r),y}},catch:function _catch(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;resetTryEntry(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function delegateYield(e,r,n){return this.delegate={iterator:values(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function asyncGeneratorStep(gen,resolve,reject,_next,_throw,key,arg){try{var info=gen[key](arg),value=info.value}catch(error){return void reject(error)}info.done?resolve(value):Promise.resolve(value).then(_next,_throw)}function _asyncToGenerator(fn){return function(){var self=this,args=arguments;return new Promise((function(resolve,reject){var gen=fn.apply(self,args);function _next(value){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"next",value)}function _throw(err){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"throw",err)}_next(void 0)}))}}var pipeline=function pipeline(x){return x()},importers=[function(){var _ref=_asyncToGenerator(_regeneratorRuntime().mark((function _callee(path){var pathRemainder;return _regeneratorRuntime().wrap((function _callee$(_context){for(;;)switch(_context.prev=_context.next){case 0:if(/^\.[\\/](?:src\/vue(?:\/(?!\.)(?:(?:(?!(?:^|\/)\.).)*?)\/|\/|$)(?!\.)(?=.)[^/]*?\.stories\.(js|jsx|mjs|ts|tsx))$/.exec(path)){_context.next=2;break}return _context.abrupt("return");case 2:return pathRemainder=path.substring(10),_context.abrupt("return",__webpack_require__("./src/vue lazy recursive ^\\.\\/.*$ include: (?:\\/src\\/vue(?:\\/(?%21\\.)(?:(?:(?%21(?:^%7C\\/)\\.).)*?)\\/%7C\\/%7C$)(?%21\\.)(?=.)[^/]*?\\.stories\\.(js%7Cjsx%7Cmjs%7Cts%7Ctsx))$")("./"+pathRemainder));case 4:case"end":return _context.stop()}}),_callee)})));return function(_x){return _ref.apply(this,arguments)}}()];function _importFn(){return(_importFn=_asyncToGenerator(_regeneratorRuntime().mark((function _callee2(path){var _loop,_ret,i;return _regeneratorRuntime().wrap((function _callee2$(_context3){for(;;)switch(_context3.prev=_context3.next){case 0:_loop=_regeneratorRuntime().mark((function _loop(i){var moduleExports;return _regeneratorRuntime().wrap((function _loop$(_context2){for(;;)switch(_context2.prev=_context2.next){case 0:return _context2.next=2,pipeline((function(){return importers[i](path)}));case 2:if(!(moduleExports=_context2.sent)){_context2.next=5;break}return _context2.abrupt("return",{v:moduleExports});case 5:case"end":return _context2.stop()}}),_loop)})),i=0;case 2:if(!(i{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={parameters:{actions:{argTypesRegex:"^on[A-Z].*"},controls:{matchers:{color:/(background|color)$/i,date:/Date$/}}}}},"./src/vue lazy recursive ^\\.\\/.*$ include: (?:\\/src\\/vue(?:\\/(?%21\\.)(?:(?:(?%21(?:^%7C\\/)\\.).)*?)\\/%7C\\/%7C$)(?%21\\.)(?=.)[^/]*?\\.stories\\.(js%7Cjsx%7Cmjs%7Cts%7Ctsx))$":(module,__unused_webpack_exports,__webpack_require__)=>{var map={"./components/announcements/announcements.stories":["./src/vue/components/announcements/announcements.stories.js",532],"./components/announcements/announcements.stories.js":["./src/vue/components/announcements/announcements.stories.js",532],"./components/button/ButtonLink.stories":["./src/vue/components/button/ButtonLink.stories.js",308,433],"./components/button/ButtonLink.stories.js":["./src/vue/components/button/ButtonLink.stories.js",308,433],"./components/checkbox-input/CheckboxInput.stories":["./src/vue/components/checkbox-input/CheckboxInput.stories.js",64,805],"./components/checkbox-input/CheckboxInput.stories.js":["./src/vue/components/checkbox-input/CheckboxInput.stories.js",64,805],"./components/course-modules/CourseModules.stories":["./src/vue/components/course-modules/CourseModules.stories.js",337,561],"./components/course-modules/CourseModules.stories.js":["./src/vue/components/course-modules/CourseModules.stories.js",337,561],"./components/course-modules/page-navigation/PageNavigationButtonLinks.stories":["./src/vue/components/course-modules/page-navigation/PageNavigationButtonLinks.stories.js",308,581],"./components/course-modules/page-navigation/PageNavigationButtonLinks.stories.js":["./src/vue/components/course-modules/page-navigation/PageNavigationButtonLinks.stories.js",308,581],"./components/course-page-banner/CoursePageBanner.stories":["./src/vue/components/course-page-banner/CoursePageBanner.stories.js",737,337,297],"./components/course-page-banner/CoursePageBanner.stories.js":["./src/vue/components/course-page-banner/CoursePageBanner.stories.js",737,337,297],"./components/dropdown-button/DropdownButton.stories":["./src/vue/components/dropdown-button/DropdownButton.stories.js",737,973],"./components/dropdown-button/DropdownButton.stories.js":["./src/vue/components/dropdown-button/DropdownButton.stories.js",737,973],"./components/icon-button/IconButton.stories":["./src/vue/components/icon-button/IconButton.stories.js",59],"./components/icon-button/IconButton.stories.js":["./src/vue/components/icon-button/IconButton.stories.js",59],"./components/icon/Icon.stories":["./src/vue/components/icon/Icon.stories.js",957],"./components/icon/Icon.stories.js":["./src/vue/components/icon/Icon.stories.js",957],"./components/link/Link.stories":["./src/vue/components/link/Link.stories.js",539],"./components/link/Link.stories.js":["./src/vue/components/link/Link.stories.js",539],"./components/login-form/LoginForm.stories":["./src/vue/components/login-form/LoginForm.stories.js",64,737,748,741],"./components/login-form/LoginForm.stories.js":["./src/vue/components/login-form/LoginForm.stories.js",64,737,748,741],"./components/modal/Modal.stories":["./src/vue/components/modal/Modal.stories.js",737,732,707],"./components/modal/Modal.stories.js":["./src/vue/components/modal/Modal.stories.js",737,732,707],"./components/modal/ModalExample.stories":["./src/vue/components/modal/ModalExample.stories.js",737,732,240],"./components/modal/ModalExample.stories.js":["./src/vue/components/modal/ModalExample.stories.js",737,732,240],"./components/module-progress-indicator/ModulesProgressIndicator.stories":["./src/vue/components/module-progress-indicator/ModulesProgressIndicator.stories.js",282],"./components/module-progress-indicator/ModulesProgressIndicator.stories.js":["./src/vue/components/module-progress-indicator/ModulesProgressIndicator.stories.js",282],"./components/text-input/TextInput.stories":["./src/vue/components/text-input/TextInput.stories.js",64,860],"./components/text-input/TextInput.stories.js":["./src/vue/components/text-input/TextInput.stories.js",64,860],"./pages/login-page/LoginPage.stories":["./src/vue/pages/login-page/LoginPage.stories.js",64,737,748,249],"./pages/login-page/LoginPage.stories.js":["./src/vue/pages/login-page/LoginPage.stories.js",64,737,748,249],"./stories/Banner.stories":["./src/vue/stories/Banner.stories.js",468],"./stories/Banner.stories.js":["./src/vue/stories/Banner.stories.js",468],"./stories/Button.stories":["./src/vue/stories/Button.stories.js",737,256],"./stories/Button.stories.js":["./src/vue/stories/Button.stories.js",737,256],"./stories/Card.stories":["./src/vue/stories/Card.stories.js",16],"./stories/Card.stories.js":["./src/vue/stories/Card.stories.js",16],"./stories/Footer.stories":["./src/vue/stories/Footer.stories.js",513],"./stories/Footer.stories.js":["./src/vue/stories/Footer.stories.js",513],"./stories/Navbar.stories":["./src/vue/stories/Navbar.stories.js",737,732,189],"./stories/Navbar.stories.js":["./src/vue/stories/Navbar.stories.js",737,732,189]};function webpackAsyncContext(req){if(!__webpack_require__.o(map,req))return Promise.resolve().then((()=>{var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e}));var ids=map[req],id=ids[0];return Promise.all(ids.slice(1).map(__webpack_require__.e)).then((()=>__webpack_require__(id)))}webpackAsyncContext.keys=()=>Object.keys(map),webpackAsyncContext.id="./src/vue lazy recursive ^\\.\\/.*$ include: (?:\\/src\\/vue(?:\\/(?%21\\.)(?:(?:(?%21(?:^%7C\\/)\\.).)*?)\\/%7C\\/%7C$)(?%21\\.)(?=.)[^/]*?\\.stories\\.(js%7Cjsx%7Cmjs%7Cts%7Ctsx))$",module.exports=webpackAsyncContext},"@storybook/channels":module=>{"use strict";module.exports=__STORYBOOK_MODULE_CHANNELS__},"@storybook/client-logger":module=>{"use strict";module.exports=__STORYBOOK_MODULE_CLIENT_LOGGER__},"@storybook/core-events":module=>{"use strict";module.exports=__STORYBOOK_MODULE_CORE_EVENTS__},"@storybook/global":module=>{"use strict";module.exports=__STORYBOOK_MODULE_GLOBAL__},"@storybook/preview-api":module=>{"use strict";module.exports=__STORYBOOK_MODULE_PREVIEW_API__}},__webpack_require__=>{__webpack_require__.O(0,[685],(()=>{return moduleId="./storybook-config-entry.js",__webpack_require__(__webpack_require__.s=moduleId);var moduleId}));__webpack_require__.O()}]); \ No newline at end of file diff --git a/main.43ea2780.iframe.bundle.js.LICENSE.txt b/main.b125b7cb.iframe.bundle.js.LICENSE.txt similarity index 100% rename from main.43ea2780.iframe.bundle.js.LICENSE.txt rename to main.b125b7cb.iframe.bundle.js.LICENSE.txt diff --git a/project.json b/project.json index 49c6932b..60c56a16 100644 --- a/project.json +++ b/project.json @@ -1 +1 @@ -{"generatedAt":1702474895078,"hasCustomBabel":false,"hasCustomWebpack":true,"hasStaticDirs":true,"hasStorybookEslint":false,"refCount":0,"packageManager":{"type":"yarn","version":"1.22.21"},"preview":{"usesGlobals":false},"framework":{"name":"@storybook/vue3-webpack5","options":{}},"builder":"@storybook/builder-webpack5","renderer":"@storybook/vue3","storybookVersion":"7.5.1","storybookVersionSpecifier":"^7.5.1","language":"javascript","storybookPackages":{"@storybook/blocks":{"version":"7.5.1"},"@storybook/testing-library":{"version":"0.2.2"},"@storybook/vue3":{"version":"7.5.1"},"@storybook/vue3-webpack5":{"version":"7.5.1"},"storybook":{"version":"7.5.1"},"storybook-addon-sass-postcss":{"version":"0.1.3"}},"addons":{"@storybook/addon-essentials":{"version":"7.5.1"},"@storybook/addon-styling":{"version":"1.3.7"},"@storybook/addon-links":{"version":"7.5.1"},"@storybook/addon-interactions":{"version":"7.5.1"}}} +{"generatedAt":1702546542805,"hasCustomBabel":false,"hasCustomWebpack":true,"hasStaticDirs":true,"hasStorybookEslint":false,"refCount":0,"packageManager":{"type":"yarn","version":"1.22.21"},"preview":{"usesGlobals":false},"framework":{"name":"@storybook/vue3-webpack5","options":{}},"builder":"@storybook/builder-webpack5","renderer":"@storybook/vue3","storybookVersion":"7.5.1","storybookVersionSpecifier":"^7.5.1","language":"javascript","storybookPackages":{"@storybook/blocks":{"version":"7.5.1"},"@storybook/testing-library":{"version":"0.2.2"},"@storybook/vue3":{"version":"7.5.1"},"@storybook/vue3-webpack5":{"version":"7.5.1"},"storybook":{"version":"7.5.1"},"storybook-addon-sass-postcss":{"version":"0.1.3"}},"addons":{"@storybook/addon-essentials":{"version":"7.5.1"},"@storybook/addon-styling":{"version":"1.3.7"},"@storybook/addon-links":{"version":"7.5.1"},"@storybook/addon-interactions":{"version":"7.5.1"}}} diff --git a/runtime~main.58319de4.iframe.bundle.js b/runtime~main.58319de4.iframe.bundle.js new file mode 100644 index 00000000..5498ffc8 --- /dev/null +++ b/runtime~main.58319de4.iframe.bundle.js @@ -0,0 +1 @@ +(()=>{"use strict";var deferred,leafPrototypes,getProto,inProgress,__webpack_modules__={},__webpack_module_cache__={};function __webpack_require__(moduleId){var cachedModule=__webpack_module_cache__[moduleId];if(void 0!==cachedModule)return cachedModule.exports;var module=__webpack_module_cache__[moduleId]={id:moduleId,loaded:!1,exports:{}};return __webpack_modules__[moduleId].call(module.exports,module,module.exports,__webpack_require__),module.loaded=!0,module.exports}__webpack_require__.m=__webpack_modules__,__webpack_require__.amdO={},deferred=[],__webpack_require__.O=(result,chunkIds,fn,priority)=>{if(!chunkIds){var notFulfilled=1/0;for(i=0;i=priority)&&Object.keys(__webpack_require__.O).every((key=>__webpack_require__.O[key](chunkIds[j])))?chunkIds.splice(j--,1):(fulfilled=!1,priority0&&deferred[i-1][2]>priority;i--)deferred[i]=deferred[i-1];deferred[i]=[chunkIds,fn,priority]},__webpack_require__.n=module=>{var getter=module&&module.__esModule?()=>module.default:()=>module;return __webpack_require__.d(getter,{a:getter}),getter},getProto=Object.getPrototypeOf?obj=>Object.getPrototypeOf(obj):obj=>obj.__proto__,__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}var ns=Object.create(null);__webpack_require__.r(ns);var def={};leafPrototypes=leafPrototypes||[null,getProto({}),getProto([]),getProto(getProto)];for(var current=2&mode&&value;"object"==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)=>{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=>(({16:"stories-Card-stories",59:"components-icon-button-IconButton-stories",189:"stories-Navbar-stories",240:"components-modal-ModalExample-stories",249:"pages-login-page-LoginPage-stories",256:"stories-Button-stories",282:"components-module-progress-indicator-ModulesProgressIndicator-stories",297:"components-course-page-banner-CoursePageBanner-stories",433:"components-button-ButtonLink-stories",468:"stories-Banner-stories",513:"stories-Footer-stories",532:"components-announcements-announcements-stories",539:"components-link-Link-stories",561:"components-course-modules-CourseModules-stories",581:"components-course-modules-page-navigation-PageNavigationButtonLinks-stories",707:"components-modal-Modal-stories",741:"components-login-form-LoginForm-stories",805:"components-checkbox-input-CheckboxInput-stories",860:"components-text-input-TextInput-stories",957:"components-icon-Icon-stories",973:"components-dropdown-button-DropdownButton-stories"}[chunkId]||chunkId)+"."+{16:"de019746",59:"26b86521",64:"fb65876a",189:"1ca522b5",240:"ce996d6e",249:"01312b8e",256:"5d9d1c9d",282:"6a9285bc",296:"34c5ea5c",297:"da6f2a0d",308:"5cd72db0",337:"4d02f90f",341:"3cc24887",426:"0ad131cd",433:"5f82ed51",468:"d71a7511",513:"e840e157",532:"70257e7c",539:"1c1d1753",561:"10a5d8a8",581:"4e18945f",707:"355e901c",729:"2c565bec",732:"cc464c45",737:"398bdac4",741:"5dd5554f",748:"b48d368b",784:"85ed88b9",805:"c3c93996",860:"29ca315b",957:"4604c9ea",973:"cd677cd7",984:"bc677805"}[chunkId]+".iframe.bundle.js"),__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),inProgress={},__webpack_require__.l=(url,done,key,chunkId)=>{if(inProgress[url])inProgress[url].push(done);else{var script,needAttach;if(void 0!==key)for(var scripts=document.getElementsByTagName("script"),i=0;i{script.onerror=script.onload=null,clearTimeout(timeout);var doneFns=inProgress[url];if(delete inProgress[url],script.parentNode&&script.parentNode.removeChild(script),doneFns&&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=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(exports,"__esModule",{value:!0})},__webpack_require__.nmd=module=>(module.paths=[],module.children||(module.children=[]),module),__webpack_require__.p="",(()=>{var installedChunks={303:0};__webpack_require__.f.j=(chunkId,promises)=>{var installedChunkData=__webpack_require__.o(installedChunks,chunkId)?installedChunks[chunkId]:void 0;if(0!==installedChunkData)if(installedChunkData)promises.push(installedChunkData[2]);else if(303!=chunkId){var promise=new Promise(((resolve,reject)=>installedChunkData=installedChunks[chunkId]=[resolve,reject]));promises.push(installedChunkData[2]=promise);var url=__webpack_require__.p+__webpack_require__.u(chunkId),error=new Error;__webpack_require__.l(url,(event=>{if(__webpack_require__.o(installedChunks,chunkId)&&(0!==(installedChunkData=installedChunks[chunkId])&&(installedChunks[chunkId]=void 0),installedChunkData)){var 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,installedChunkData[1](error)}}),"chunk-"+chunkId,chunkId)}else installedChunks[chunkId]=0},__webpack_require__.O.j=chunkId=>0===installedChunks[chunkId];var webpackJsonpCallback=(parentChunkLoadingFunction,data)=>{var moduleId,chunkId,[chunkIds,moreModules,runtime]=data,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{"use strict";var deferred,leafPrototypes,getProto,inProgress,__webpack_modules__={},__webpack_module_cache__={};function __webpack_require__(moduleId){var cachedModule=__webpack_module_cache__[moduleId];if(void 0!==cachedModule)return cachedModule.exports;var module=__webpack_module_cache__[moduleId]={id:moduleId,loaded:!1,exports:{}};return __webpack_modules__[moduleId].call(module.exports,module,module.exports,__webpack_require__),module.loaded=!0,module.exports}__webpack_require__.m=__webpack_modules__,__webpack_require__.amdO={},deferred=[],__webpack_require__.O=(result,chunkIds,fn,priority)=>{if(!chunkIds){var notFulfilled=1/0;for(i=0;i=priority)&&Object.keys(__webpack_require__.O).every((key=>__webpack_require__.O[key](chunkIds[j])))?chunkIds.splice(j--,1):(fulfilled=!1,priority0&&deferred[i-1][2]>priority;i--)deferred[i]=deferred[i-1];deferred[i]=[chunkIds,fn,priority]},__webpack_require__.n=module=>{var getter=module&&module.__esModule?()=>module.default:()=>module;return __webpack_require__.d(getter,{a:getter}),getter},getProto=Object.getPrototypeOf?obj=>Object.getPrototypeOf(obj):obj=>obj.__proto__,__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}var ns=Object.create(null);__webpack_require__.r(ns);var def={};leafPrototypes=leafPrototypes||[null,getProto({}),getProto([]),getProto(getProto)];for(var current=2&mode&&value;"object"==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)=>{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=>(({16:"stories-Card-stories",59:"components-icon-button-IconButton-stories",189:"stories-Navbar-stories",240:"components-modal-ModalExample-stories",249:"pages-login-page-LoginPage-stories",256:"stories-Button-stories",282:"components-module-progress-indicator-ModulesProgressIndicator-stories",297:"components-course-page-banner-CoursePageBanner-stories",468:"stories-Banner-stories",513:"stories-Footer-stories",532:"components-announcements-announcements-stories",539:"components-link-Link-stories",561:"components-course-modules-CourseModules-stories",707:"components-modal-Modal-stories",741:"components-login-form-LoginForm-stories",805:"components-checkbox-input-CheckboxInput-stories",860:"components-text-input-TextInput-stories",957:"components-icon-Icon-stories",973:"components-dropdown-button-DropdownButton-stories"}[chunkId]||chunkId)+"."+{16:"de019746",59:"26b86521",64:"fb65876a",189:"1ca522b5",240:"ce996d6e",249:"01312b8e",256:"5d9d1c9d",282:"6a9285bc",296:"34c5ea5c",297:"da6f2a0d",337:"4d02f90f",341:"3cc24887",426:"0ad131cd",468:"d71a7511",513:"e840e157",532:"70257e7c",539:"1c1d1753",561:"71d6f29f",707:"355e901c",729:"2c565bec",732:"cc464c45",737:"398bdac4",741:"5dd5554f",748:"b48d368b",784:"85ed88b9",805:"c3c93996",860:"29ca315b",957:"4604c9ea",973:"cd677cd7",984:"bc677805"}[chunkId]+".iframe.bundle.js"),__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),inProgress={},__webpack_require__.l=(url,done,key,chunkId)=>{if(inProgress[url])inProgress[url].push(done);else{var script,needAttach;if(void 0!==key)for(var scripts=document.getElementsByTagName("script"),i=0;i{script.onerror=script.onload=null,clearTimeout(timeout);var doneFns=inProgress[url];if(delete inProgress[url],script.parentNode&&script.parentNode.removeChild(script),doneFns&&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=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(exports,"__esModule",{value:!0})},__webpack_require__.nmd=module=>(module.paths=[],module.children||(module.children=[]),module),__webpack_require__.p="",(()=>{var installedChunks={303:0};__webpack_require__.f.j=(chunkId,promises)=>{var installedChunkData=__webpack_require__.o(installedChunks,chunkId)?installedChunks[chunkId]:void 0;if(0!==installedChunkData)if(installedChunkData)promises.push(installedChunkData[2]);else if(303!=chunkId){var promise=new Promise(((resolve,reject)=>installedChunkData=installedChunks[chunkId]=[resolve,reject]));promises.push(installedChunkData[2]=promise);var url=__webpack_require__.p+__webpack_require__.u(chunkId),error=new Error;__webpack_require__.l(url,(event=>{if(__webpack_require__.o(installedChunks,chunkId)&&(0!==(installedChunkData=installedChunks[chunkId])&&(installedChunks[chunkId]=void 0),installedChunkData)){var 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,installedChunkData[1](error)}}),"chunk-"+chunkId,chunkId)}else installedChunks[chunkId]=0},__webpack_require__.O.j=chunkId=>0===installedChunks[chunkId];var webpackJsonpCallback=(parentChunkLoadingFunction,data)=>{var moduleId,chunkId,[chunkIds,moreModules,runtime]=data,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