{"version":3,"sources":["webpack:///./src/incident/EntityEntryPage.vue?857a","webpack:///./src/incident/EntityEntryPage.vue","webpack:///src/incident/EntityEntryPage.vue","webpack:///./src/incident/EntityEntryPage.vue?6a01","webpack:///./src/incident/EntityEntryPage.vue?099e","webpack:///../../../src/components/VSkeletonLoader/VSkeletonLoader.ts","webpack:///../../../src/components/VStepper/VStepperStep.ts","webpack:///../../../src/components/VStepper/VStepper.ts","webpack:///../../../src/components/VStepper/VStepperContent.ts"],"names":["staticClass","attrs","$event","model","value","search","callback","_c","_vm","currentStep","expression","key","skeletonType","loading","entities","length","totalItems","staticRenderFns","name","inject","components","OrganizationBanner","NotificationSnackbarsWrapper","IncidentEntitiesTab","data","universes","galaxies","lastSearchQuery","items","selected","currentPage","totalPages","numItems","itemsPerPageOptions","valueDeterminate1","valueDeterminate2","valueDeterminate3","animationInProgress","animationInterval","features","title","description","skeletonHeight","computed","mapFields","mapState","selectedUniverse","get","currentOrganization","set","SET_CURRENT_ORGANIZATION","selectedGalaxy","currentProject","SET_CURRENT_PROJECT","mounted","animateSteps","syncUrlWithStoredData","updateTitle","created","savedProject","localStorage","getItem","parseInt","$route","query","q","fetchEntities","watch","to","from","methods","mapMutations","mapActions","storedUniverse","currentPath","path","pathParts","split","filter","Boolean","needsRedirect","newPath","$router","replace","userProjectsApi","getUserProjects","some","p","id","error","console","fetchUniverses","UniverseApi","getAll","then","response","savedUniverse","u","slug","catch","onUniverseChange","setItem","$store","commit","currentUrl","URL","window","location","href","pathname","removeItem","unshift","join","searchParams","delete","onGalaxyChange","clearSearch","clearInterval","animationStartTime","Date","now","setInterval","fromsearch","newUrl","history","pushState","filterOptions","itemsPerPage","page","project_id","EntityApi","getAllByClass","total","stopAnimation","push","finally","minAnimationDuration","animationEndTime","remainingTime","Math","max","setTimeout","component","mixins","Elevatable","Measurable","Themeable","extend","props","boilerplate","tile","transition","String","type","types","Object","default","this","isLoading","role","$attrs","classes","themeClasses","elevationClasses","$scopedSlots","rootTypes","actions","article","avatar","button","card","chip","heading","image","paragraph","sentences","table","text","genBone","children","$createElement","genBones","bone","generator","genStructure","Array","map","indexOf","mapBones","genSkeleton","getSlot","on","afterEnter","resetStyles","beforeEnter","onBeforeEnter","beforeLeave","onBeforeLeave","leaveCancelled","bones","el","_initialStyle","display","style","setProperty","render","h","$listeners","class","measurableStyles","undefined","baseMixins","Colorable","RegistrableInject","directives","ripple","color","complete","completeIcon","editable","editIcon","errorIcon","rules","step","Number","isActive","isInactive","hasError","validate","stepper","register","beforeDestroy","unregister","click","e","stopPropagation","$emit","stepClick","genIcon","icon","VIcon","genLabel","$slots","genStep","setBackgroundColor","genStepContent","toggle","toString","RegistrableProvide","Proxyable","provide","isVertical","vertical","altLabels","nonLinear","isBooted","steps","content","isReverse","internalLazyValue","internalValue","val","oldVal","updateView","input","breaking","item","$options","i","$nextTick","index","isVerticalProvided","required","height","computedTransition","reverse","$vuetify","rtl","VTabReverseTransition","VTabTransition","styles","convertToUnit","current","previous","enter","leave","$refs","wrapper","addEventListener","onTransition","removeEventListener","propertyName","scrollHeight","requestAnimationFrame","clientHeight","contentData","wrapperData","ref"],"mappings":"kHAAA,W,qRCAuZ,W,IAAiB,O,EAAkB,QAAY,G,OAAC,SAAY,GAAC,4CAAkB,4BAAI,GAAG,OAAI,CAA0DA,YAAY,mBAAeC,MAAM,CAAC,OAAmC,KAAO,GAAmB,oBAAiB,oBAAiB,K,CAAgB,gBAAW,C,YAAW,Y,MAAG,CAAW,IAAI,e,GAAwD,OAAIC,C,MAA6F,CAA+C,iCAAE,iBAACC,aAAM,KAACC,QAAWC,GAAQC,WAAS,uBAA+B,iC,YAAW,eAAS,OAAI,qBAAoB,cAA+CN,MAAW,kBAAQC,cAAM,GAAC,eAAQ,GAAE,aAAIM,OAAG,GAA4EP,QAAY,GAAgBC,MAAM,IAAsB,IAAIM,cAAW,cAACP,MAAW,SAAC,GAAcC,OAAM,qEAAU,EAAC,cAAQ,wBAAmB,MAAK,CAASA,MAAM,SAAC,S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AAKwB,WAC9C1F,KAAKqG,UAAYiB,IAIrBtE,OAAQC,GACN,MAAMyF,EAAc,CAClBvS,YAAa,sBAETwS,EAAc,CAClBxS,YAAa,qBACb2M,MAAO9C,KAAK2H,OACZiB,IAAK,WAGF5I,KAAK8F,aACR4C,EAAYjF,WAAa,CAAC,CACxBpM,KAAM,OACNd,MAAOyJ,KAAKoE,YAIhB,MAAM8D,EAAUjF,EAAE,MAAO0F,EAAa,CAAC3I,KAAKqF,OAAOtF,UAC7CqG,EAAUnD,EAAE,MAAOyF,EAAa,CAACR,IAEvC,OAAOjF,EAAEjD,KAAKqH,mBAAoB,CAChCnF,GAAIlC,KAAKkD,YACR,CAACkD","file":"static/js/chunk-4fbfab43.4e769308.js","sourcesContent":["export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EntityEntryPage.vue?vue&type=style&index=0&id=23c4419d&prod&scoped=true&lang=css\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-app',[_c('notification-snackbars-wrapper'),_c('v-main',{staticClass:\"main-content\"},[_c('v-app-bar',{staticClass:\"v-bar--underline\",attrs:{\"app\":\"\",\"flat\":\"\",\"color\":\"background0\",\"elevate-on-scroll\":\"\"}},[_c('router-link',{staticClass:\"logo-link\",attrs:{\"to\":{ name: 'chat' }}},[_c('v-img',{attrs:{\"src\":\"/static/unstruct-robot.png\",\"max-width\":\"45\",\"max-height\":\"45\",\"contain\":\"\",\"transition\":\"scale-transition\"}})],1),_c('v-spacer'),_c('v-slide-x-transition',[_c('v-text-field',{staticClass:\"search-field\",attrs:{\"prepend-inner-icon\":\"mdi-magnify\",\"label\":\"Search IAOs ...\",\"single-line\":\"\",\"hide-details\":\"\",\"clearable\":\"\",\"filled\":\"\",\"rounded\":\"\",\"dense\":\"\"},on:{\"click:clear\":_vm.clearSearch,\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\"))return null;return _vm.fetchEntities.apply(null, arguments)}},model:{value:(_vm.search),callback:function ($$v) {_vm.search=$$v},expression:\"search\"}})],1),_c('v-spacer')],1),_c('organization-banner'),_c('v-container',{staticClass:\"pa-0\",attrs:{\"fluid\":\"\"}},[_c('v-fade-transition',[(_vm.loading || _vm.animationInProgress)?_c('v-sheet',{staticClass:\"loading-sheet\",attrs:{\"color\":\"background0\"}},[_c('v-row',{staticClass:\"fill-height\",attrs:{\"justify\":\"center\",\"align\":\"center\"}},[_c('v-col',{attrs:{\"cols\":\"12\",\"md\":\"8\",\"lg\":\"6\"}},[_c('v-card',{staticClass:\"mx-auto\"},[_c('v-card-title',{staticClass:\"text-h5 justify-center\"},[_vm._v(\" UnStruct.AI is preparing your personalized experience... \")]),_c('v-card-text',[_c('v-stepper',{attrs:{\"vertical\":\"\"},model:{value:(_vm.currentStep),callback:function ($$v) {_vm.currentStep=$$v},expression:\"currentStep\"}},[_vm._l((_vm.features),function(feature,index){return [_c('v-stepper-step',{key:`step-${index}`,attrs:{\"step\":index + 1,\"complete\":_vm.currentStep > index + 1}},[_vm._v(\" \"+_vm._s(feature.title)+\" \")]),_c('v-stepper-content',{key:`content-${index}`,attrs:{\"step\":index + 1}},[_c('v-card',{staticClass:\"mb-4\",attrs:{\"outlined\":\"\"}},[_c('v-card-text',[_c('p',[_vm._v(_vm._s(feature.description))]),_c('v-skeleton-loader',{attrs:{\"type\":feature.skeletonType,\"height\":feature.skeletonHeight}})],1)],1)],1)]})],2)],1)],1)],1)],1)],1):_vm._e()],1),_c('v-fade-transition',[(!_vm.loading && !_vm.animationInProgress)?_c('incident-entities-tab',{attrs:{\"entities\":_vm.entities}}):_vm._e()],1),_c('v-slide-y-transition',[(_vm.entities.length >= _vm.numItems)?_c('v-btn',{staticClass:\"mt-5 mb-5 load-more-btn\",attrs:{\"loading\":_vm.loading,\"disabled\":_vm.loading,\"color\":\"primary\",\"rounded\":\"\",\"elevation\":\"2\",\"block\":\"\"},on:{\"click\":function($event){return _vm.fetchEntities(false)}}},[_c('v-icon',{attrs:{\"left\":\"\"}},[_vm._v(\"mdi-arrow-down\")]),_vm._v(\" Load More (\"+_vm._s(_vm.entities.length)+\" / \"+_vm._s(_vm.totalItems)+\") \")],1):_vm._e()],1)],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n\n \n\n \n \n \n \n \n \n \n UnStruct.AI is preparing your personalized experience...\n \n \n \n \n index + 1\"\n >\n {{ feature.title }}\n \n\n \n \n \n {{ feature.description }}\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n\n \n = numItems\"\n @click=\"fetchEntities(false)\"\n :loading=\"loading\"\n :disabled=\"loading\"\n color=\"primary\"\n rounded\n class=\"mt-5 mb-5 load-more-btn\"\n elevation=\"2\"\n block\n >\n mdi-arrow-down\n Load More ({{ entities.length }} / {{ totalItems }})\n \n \n \n \n \n\n\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EntityEntryPage.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EntityEntryPage.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./EntityEntryPage.vue?vue&type=template&id=23c4419d&scoped=true\"\nimport script from \"./EntityEntryPage.vue?vue&type=script&lang=js\"\nexport * from \"./EntityEntryPage.vue?vue&type=script&lang=js\"\nimport style0 from \"./EntityEntryPage.vue?vue&type=style&index=0&id=23c4419d&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"23c4419d\",\n null\n \n)\n\nexport default component.exports","// Styles\nimport './VSkeletonLoader.sass'\n\n// Mixins\nimport Elevatable from '../../mixins/elevatable'\nimport Measurable from '../../mixins/measurable'\nimport Themeable from '../../mixins/themeable'\n\n// Utilities\nimport mixins from '../../util/mixins'\n\n// Types\nimport { VNode } from 'vue'\nimport { getSlot } from '../../util/helpers'\nimport { PropValidator } from 'vue/types/options'\n\nexport interface HTMLSkeletonLoaderElement extends HTMLElement {\n _initialStyle?: {\n display: string | null\n transition: string\n }\n}\n\n/* @vue/component */\nexport default mixins(\n Elevatable,\n Measurable,\n Themeable,\n).extend({\n name: 'VSkeletonLoader',\n\n props: {\n boilerplate: Boolean,\n loading: Boolean,\n tile: Boolean,\n transition: String,\n type: String,\n types: {\n type: Object,\n default: () => ({}),\n } as PropValidator>,\n },\n\n computed: {\n attrs (): object {\n if (!this.isLoading) return this.$attrs\n\n return !this.boilerplate ? {\n 'aria-busy': true,\n 'aria-live': 'polite',\n role: 'alert',\n ...this.$attrs,\n } : {}\n },\n classes (): object {\n return {\n 'v-skeleton-loader--boilerplate': this.boilerplate,\n 'v-skeleton-loader--is-loading': this.isLoading,\n 'v-skeleton-loader--tile': this.tile,\n ...this.themeClasses,\n ...this.elevationClasses,\n }\n },\n isLoading (): boolean {\n return !('default' in this.$scopedSlots) || this.loading\n },\n rootTypes (): Record {\n return {\n actions: 'button@2',\n article: 'heading, paragraph',\n avatar: 'avatar',\n button: 'button',\n card: 'image, card-heading',\n 'card-avatar': 'image, list-item-avatar',\n 'card-heading': 'heading',\n chip: 'chip',\n 'date-picker': 'list-item, card-heading, divider, date-picker-options, date-picker-days, actions',\n 'date-picker-options': 'text, avatar@2',\n 'date-picker-days': 'avatar@28',\n heading: 'heading',\n image: 'image',\n 'list-item': 'text',\n 'list-item-avatar': 'avatar, text',\n 'list-item-two-line': 'sentences',\n 'list-item-avatar-two-line': 'avatar, sentences',\n 'list-item-three-line': 'paragraph',\n 'list-item-avatar-three-line': 'avatar, paragraph',\n paragraph: 'text@3',\n sentences: 'text@2',\n table: 'table-heading, table-thead, table-tbody, table-tfoot',\n 'table-heading': 'heading, text',\n 'table-thead': 'heading@6',\n 'table-tbody': 'table-row-divider@6',\n 'table-row-divider': 'table-row, divider',\n 'table-row': 'table-cell@6',\n 'table-cell': 'text',\n 'table-tfoot': 'text@2, avatar@2',\n text: 'text',\n ...this.types,\n }\n },\n },\n\n methods: {\n genBone (text: string, children: VNode[]) {\n return this.$createElement('div', {\n staticClass: `v-skeleton-loader__${text} v-skeleton-loader__bone`,\n }, children)\n },\n genBones (bone: string): VNode[] {\n // e.g. 'text@3'\n const [type, length] = bone.split('@') as [string, number]\n const generator = () => this.genStructure(type)\n\n // Generate a length array based upon\n // value after @ in the bone string\n return Array.from({ length }).map(generator)\n },\n // Fix type when this is merged\n // https://github.com/microsoft/TypeScript/pull/33050\n genStructure (type?: string): any {\n let children = []\n type = type || this.type || ''\n const bone = this.rootTypes[type] || ''\n\n // End of recursion, do nothing\n /* eslint-disable-next-line no-empty, brace-style */\n if (type === bone) {}\n // Array of values - e.g. 'heading, paragraph, text@2'\n else if (type.indexOf(',') > -1) return this.mapBones(type)\n // Array of values - e.g. 'paragraph@4'\n else if (type.indexOf('@') > -1) return this.genBones(type)\n // Array of values - e.g. 'card@2'\n else if (bone.indexOf(',') > -1) children = this.mapBones(bone)\n // Array of values - e.g. 'list-item@2'\n else if (bone.indexOf('@') > -1) children = this.genBones(bone)\n // Single value - e.g. 'card-heading'\n else if (bone) children.push(this.genStructure(bone))\n\n return [this.genBone(type, children)]\n },\n genSkeleton () {\n const children = []\n\n if (!this.isLoading) children.push(getSlot(this))\n else children.push(this.genStructure())\n\n /* istanbul ignore else */\n if (!this.transition) return children\n\n /* istanbul ignore next */\n return this.$createElement('transition', {\n props: {\n name: this.transition,\n },\n // Only show transition when\n // content has been loaded\n on: {\n afterEnter: this.resetStyles,\n beforeEnter: this.onBeforeEnter,\n beforeLeave: this.onBeforeLeave,\n leaveCancelled: this.resetStyles,\n },\n }, children)\n },\n mapBones (bones: string) {\n // Remove spaces and return array of structures\n return bones.replace(/\\s/g, '').split(',').map(this.genStructure)\n },\n onBeforeEnter (el: HTMLSkeletonLoaderElement) {\n this.resetStyles(el)\n\n if (!this.isLoading) return\n\n el._initialStyle = {\n display: el.style.display,\n transition: el.style.transition,\n }\n\n el.style.setProperty('transition', 'none', 'important')\n },\n onBeforeLeave (el: HTMLSkeletonLoaderElement) {\n el.style.setProperty('display', 'none', 'important')\n },\n resetStyles (el: HTMLSkeletonLoaderElement) {\n if (!el._initialStyle) return\n\n el.style.display = el._initialStyle.display || ''\n el.style.transition = el._initialStyle.transition\n\n delete el._initialStyle\n },\n },\n\n render (h): VNode {\n return h('div', {\n staticClass: 'v-skeleton-loader',\n attrs: this.attrs,\n on: this.$listeners,\n class: this.classes,\n style: this.isLoading ? this.measurableStyles : undefined,\n }, [this.genSkeleton()])\n },\n})\n","// Components\nimport VIcon from '../VIcon'\n\n// Mixins\nimport Colorable from '../../mixins/colorable'\nimport { inject as RegistrableInject } from '../../mixins/registrable'\n\n// Directives\nimport ripple from '../../directives/ripple'\n\n// Utilities\nimport mixins from '../../util/mixins'\n\n// Types\nimport { VNode } from 'vue'\nimport { PropValidator } from 'vue/types/options'\n\ntype VuetifyStepperRuleValidator = () => string | boolean\n\nconst baseMixins = mixins(\n Colorable,\n RegistrableInject('stepper', 'v-stepper-step', 'v-stepper')\n)\n\ninterface options extends InstanceType {\n stepClick: (step: number | string) => void\n}\n/* @vue/component */\nexport default baseMixins.extend().extend({\n name: 'v-stepper-step',\n\n directives: { ripple },\n\n inject: ['stepClick'],\n\n props: {\n color: {\n type: String,\n default: 'primary',\n },\n complete: Boolean,\n completeIcon: {\n type: String,\n default: '$complete',\n },\n editable: Boolean,\n editIcon: {\n type: String,\n default: '$edit',\n },\n errorIcon: {\n type: String,\n default: '$error',\n },\n rules: {\n type: Array,\n default: () => [],\n } as PropValidator,\n step: [Number, String],\n },\n\n data () {\n return {\n isActive: false,\n isInactive: true,\n }\n },\n\n computed: {\n classes (): object {\n return {\n 'v-stepper__step--active': this.isActive,\n 'v-stepper__step--editable': this.editable,\n 'v-stepper__step--inactive': this.isInactive,\n 'v-stepper__step--error error--text': this.hasError,\n 'v-stepper__step--complete': this.complete,\n }\n },\n hasError (): boolean {\n return this.rules.some(validate => validate() !== true)\n },\n },\n\n mounted () {\n this.stepper && this.stepper.register(this)\n },\n\n beforeDestroy () {\n this.stepper && this.stepper.unregister(this)\n },\n\n methods: {\n click (e: MouseEvent) {\n e.stopPropagation()\n\n this.$emit('click', e)\n\n if (this.editable) {\n this.stepClick(this.step)\n }\n },\n genIcon (icon: string) {\n return this.$createElement(VIcon, icon)\n },\n genLabel () {\n return this.$createElement('div', {\n staticClass: 'v-stepper__label',\n }, this.$slots.default)\n },\n genStep () {\n const color = (!this.hasError && (this.complete || this.isActive)) ? this.color : false\n\n return this.$createElement('span', this.setBackgroundColor(color, {\n staticClass: 'v-stepper__step__step',\n }), this.genStepContent())\n },\n genStepContent () {\n const children = []\n\n if (this.hasError) {\n children.push(this.genIcon(this.errorIcon))\n } else if (this.complete) {\n if (this.editable) {\n children.push(this.genIcon(this.editIcon))\n } else {\n children.push(this.genIcon(this.completeIcon))\n }\n } else {\n children.push(String(this.step))\n }\n\n return children\n },\n toggle (step: number | string) {\n this.isActive = step.toString() === this.step.toString()\n this.isInactive = Number(step) < Number(this.step)\n },\n },\n\n render (h): VNode {\n return h('div', {\n staticClass: 'v-stepper__step',\n class: this.classes,\n directives: [{\n name: 'ripple',\n value: this.editable,\n }],\n on: { click: this.click },\n }, [\n this.genStep(),\n this.genLabel(),\n ])\n },\n})\n","// Styles\nimport './VStepper.sass'\n\n// Components\nimport VStepperStep from './VStepperStep'\nimport VStepperContent from './VStepperContent'\n\n// Mixins\nimport { provide as RegistrableProvide } from '../../mixins/registrable'\nimport Proxyable from '../../mixins/proxyable'\nimport Themeable from '../../mixins/themeable'\n\n// Utilities\nimport mixins from '../../util/mixins'\nimport { breaking } from '../../util/console'\n\n// Types\nimport { VNode } from 'vue'\n\nconst baseMixins = mixins(\n RegistrableProvide('stepper'),\n Proxyable,\n Themeable\n)\n\ntype VStepperStepInstance = InstanceType\ntype VStepperContentInstance = InstanceType\n\n/* @vue/component */\nexport default baseMixins.extend({\n name: 'v-stepper',\n\n provide (): object {\n return {\n stepClick: this.stepClick,\n isVertical: this.vertical,\n }\n },\n\n props: {\n altLabels: Boolean,\n nonLinear: Boolean,\n vertical: Boolean,\n },\n\n data () {\n const data: Dictionary = {\n isBooted: false,\n steps: [] as VStepperStepInstance[],\n content: [] as VStepperContentInstance[],\n isReverse: false,\n }\n\n data.internalLazyValue = this.value != null\n ? this.value\n : (data[0] || {}).step || 1\n\n return data\n },\n\n computed: {\n classes (): object {\n return {\n 'v-stepper--is-booted': this.isBooted,\n 'v-stepper--vertical': this.vertical,\n 'v-stepper--alt-labels': this.altLabels,\n 'v-stepper--non-linear': this.nonLinear,\n ...this.themeClasses,\n }\n },\n },\n\n watch: {\n internalValue (val, oldVal) {\n this.isReverse = Number(val) < Number(oldVal)\n\n oldVal && (this.isBooted = true)\n\n this.updateView()\n },\n },\n\n created () {\n /* istanbul ignore next */\n if (this.$listeners.input) {\n breaking('@input', '@change', this)\n }\n },\n\n mounted () {\n this.updateView()\n },\n\n methods: {\n register (item: VStepperStepInstance | VStepperContentInstance) {\n if (item.$options.name === 'v-stepper-step') {\n this.steps.push(item as VStepperStepInstance)\n } else if (item.$options.name === 'v-stepper-content') {\n (item as VStepperContentInstance).isVertical = this.vertical\n this.content.push(item as VStepperContentInstance)\n }\n },\n unregister (item: VStepperStepInstance | VStepperContentInstance) {\n if (item.$options.name === 'v-stepper-step') {\n this.steps = this.steps.filter((i: VStepperStepInstance) => i !== item)\n } else if (item.$options.name === 'v-stepper-content') {\n (item as VStepperContentInstance).isVertical = this.vertical\n this.content = this.content.filter((i: VStepperContentInstance) => i !== item)\n }\n },\n stepClick (step: string | number) {\n this.$nextTick(() => (this.internalValue = step))\n },\n updateView () {\n for (let index = this.steps.length; --index >= 0;) {\n this.steps[index].toggle(this.internalValue as any)\n }\n for (let index = this.content.length; --index >= 0;) {\n this.content[index].toggle(this.internalValue as any, this.isReverse)\n }\n },\n },\n\n render (h): VNode {\n return h('div', {\n staticClass: 'v-stepper',\n class: this.classes,\n }, this.$slots.default)\n },\n})\n","// Components\nimport {\n VTabTransition,\n VTabReverseTransition,\n} from '../transitions'\n\n// Mixins\nimport { inject as RegistrableInject } from '../../mixins/registrable'\n\n// Helpers\nimport { convertToUnit } from '../../util/helpers'\n\n// Utilities\nimport mixins from '../../util/mixins'\n\n// Types\nimport { VNode, FunctionalComponentOptions, VNodeData } from 'vue'\n\nconst baseMixins = mixins(\n RegistrableInject('stepper', 'v-stepper-content', 'v-stepper')\n)\n\ninterface options extends InstanceType {\n $refs: {\n wrapper: HTMLElement\n }\n isVerticalProvided: boolean\n}\n\n/* @vue/component */\nexport default baseMixins.extend().extend({\n name: 'v-stepper-content',\n\n inject: {\n isVerticalProvided: {\n from: 'isVertical',\n },\n },\n\n props: {\n step: {\n type: [Number, String],\n required: true,\n },\n },\n\n data () {\n return {\n height: 0 as number | string,\n // Must be null to allow\n // previous comparison\n isActive: null as boolean | null,\n isReverse: false,\n isVertical: this.isVerticalProvided,\n }\n },\n\n computed: {\n computedTransition (): FunctionalComponentOptions {\n // Fix for #8978\n const reverse = this.$vuetify.rtl ? !this.isReverse : this.isReverse\n\n return reverse\n ? VTabReverseTransition\n : VTabTransition\n },\n styles (): object {\n if (!this.isVertical) return {}\n\n return {\n height: convertToUnit(this.height),\n }\n },\n },\n\n watch: {\n isActive (current, previous) {\n // If active and the previous state\n // was null, is just booting up\n if (current && previous == null) {\n this.height = 'auto'\n return\n }\n\n if (!this.isVertical) return\n\n if (this.isActive) this.enter()\n else this.leave()\n },\n },\n\n mounted () {\n this.$refs.wrapper.addEventListener(\n 'transitionend',\n this.onTransition,\n false\n )\n this.stepper && this.stepper.register(this)\n },\n\n beforeDestroy () {\n this.$refs.wrapper.removeEventListener(\n 'transitionend',\n this.onTransition,\n false\n )\n this.stepper && this.stepper.unregister(this)\n },\n\n methods: {\n onTransition (e: TransitionEvent) {\n if (!this.isActive ||\n e.propertyName !== 'height'\n ) return\n\n this.height = 'auto'\n },\n enter () {\n let scrollHeight = 0\n\n // Render bug with height\n requestAnimationFrame(() => {\n scrollHeight = this.$refs.wrapper.scrollHeight\n })\n\n this.height = 0\n\n // Give the collapsing element time to collapse\n setTimeout(() => this.isActive && (this.height = (scrollHeight || 'auto')), 450)\n },\n leave () {\n this.height = this.$refs.wrapper.clientHeight\n setTimeout(() => (this.height = 0), 10)\n },\n toggle (step: string | number, reverse: boolean) {\n this.isActive = step.toString() === this.step.toString()\n this.isReverse = reverse\n },\n },\n\n render (h): VNode {\n const contentData = {\n staticClass: 'v-stepper__content',\n } as VNodeData\n const wrapperData = {\n staticClass: 'v-stepper__wrapper',\n style: this.styles,\n ref: 'wrapper',\n }\n\n if (!this.isVertical) {\n contentData.directives = [{\n name: 'show',\n value: this.isActive,\n }]\n }\n\n const wrapper = h('div', wrapperData, [this.$slots.default])\n const content = h('div', contentData, [wrapper])\n\n return h(this.computedTransition, {\n on: this.$listeners,\n }, [content])\n },\n})\n"],"sourceRoot":""}
{{ feature.description }}