@cortezaproject/corteza-vue 2024.9.3-dev.1 → 2024.9.3-dev.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
- import Simple from './Simple.vue';
1
+ import NotificationSimple from './NotificationSimple.vue';
2
2
  declare const _default: {
3
- Simple: import("vue").VueConstructor<Simple<globalThis.Record<string, any>, globalThis.Record<string, any>, never, never, (event: string, ...args: any[]) => Simple>>;
4
- Record: import("vue").VueConstructor<Simple<globalThis.Record<string, any>, globalThis.Record<string, any>, never, never, (event: string, ...args: any[]) => Simple>>;
3
+ NotificationSimple: import("vue").VueConstructor<NotificationSimple<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => NotificationSimple>>;
4
+ NotificationRecord: import("vue").VueConstructor<NotificationSimple<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => NotificationSimple>>;
5
5
  };
6
6
  export default _default;
package/dist/index.es.js CHANGED
@@ -7756,6 +7756,15 @@ var __vue_staticRenderFns__$14 = [];
7756
7756
  //
7757
7757
  //
7758
7758
  //
7759
+ //
7760
+ //
7761
+ //
7762
+ //
7763
+ //
7764
+ //
7765
+ //
7766
+ //
7767
+ //
7759
7768
 
7760
7769
  var script$17 = {
7761
7770
  name: 'CFormTableWrapper',
@@ -7785,6 +7794,11 @@ var script$17 = {
7785
7794
  type: String,
7786
7795
  default: '',
7787
7796
  },
7797
+
7798
+ loading: {
7799
+ type: Boolean,
7800
+ default: false,
7801
+ },
7788
7802
  },
7789
7803
  };
7790
7804
 
@@ -7792,17 +7806,17 @@ var script$17 = {
7792
7806
  const __vue_script__$17 = script$17;
7793
7807
 
7794
7808
  /* template */
7795
- var __vue_render__$13 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"list-background w-100 p-3 rounded border border-light"},[_vm._t("default"),_vm._v(" "),(!_vm.hideAddButton)?_c('b-button',{class:_vm.addButtonClass,attrs:{"variant":"primary","size":"sm","data-test-id":_vm.testID,"disabled":_vm.disableAddButton},on:{"click":function($event){return _vm.$emit('add-item')}}},[_c('font-awesome-icon',{staticClass:"mr-1",attrs:{"icon":['fas', 'plus']}}),_vm._v("\n\n "+_vm._s(_vm.labels.addButton || '')+"\n ")],1):_vm._e()],2)};
7809
+ var __vue_render__$13 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"list-background w-100 p-3 rounded border border-light"},[(_vm.loading)?_c('div',{staticClass:"d-flex justify-content-center align-items-center w-100"},[_c('b-spinner')],1):_vm._t("default"),_vm._v(" "),(!_vm.hideAddButton && !_vm.loading)?_c('b-button',{class:_vm.addButtonClass,attrs:{"variant":"primary","size":"sm","data-test-id":_vm.testID,"disabled":_vm.disableAddButton},on:{"click":function($event){return _vm.$emit('add-item')}}},[_c('font-awesome-icon',{staticClass:"mr-1",attrs:{"icon":['fas', 'plus']}}),_vm._v("\n\n "+_vm._s(_vm.labels.addButton || '')+"\n ")],1):_vm._e()],2)};
7796
7810
  var __vue_staticRenderFns__$13 = [];
7797
7811
 
7798
7812
  /* style */
7799
7813
  const __vue_inject_styles__$18 = function (inject) {
7800
7814
  if (!inject) return
7801
- inject("data-v-f9ac8e80_0", { source: ".list-background[data-v-f9ac8e80]{background-color:var(--body-bg)}", map: undefined, media: undefined });
7815
+ inject("data-v-7ae53668_0", { source: ".list-background[data-v-7ae53668]{background-color:var(--body-bg)}", map: undefined, media: undefined });
7802
7816
 
7803
7817
  };
7804
7818
  /* scoped */
7805
- const __vue_scope_id__$18 = "data-v-f9ac8e80";
7819
+ const __vue_scope_id__$18 = "data-v-7ae53668";
7806
7820
  /* module identifier */
7807
7821
  const __vue_module_identifier__$18 = undefined;
7808
7822
  /* functional template */
@@ -8044,7 +8058,7 @@ var script$16 = {
8044
8058
  const __vue_script__$16 = script$16;
8045
8059
 
8046
8060
  /* template */
8047
- var __vue_render__$12 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('c-form-table-wrapper',{attrs:{"labels":{ addButton: _vm.labels.addButton },"hide-add-button":_vm.textInput},on:{"add-item":function($event){return _vm.items.push({ field: undefined, descending: false })}}},[(!_vm.textInput)?_c('b-form-group',{attrs:{"label":_vm.labels.title,"label-class":"text-primary"}},[_c('b-table-simple',{staticClass:"mb-0",attrs:{"borderless":"","small":"","responsive":"lg"}},[_c('draggable',{attrs:{"list":_vm.items,"group":"sort","handle":".grab","tag":"tbody"},on:{"update:list":function($event){_vm.items=$event;}}},_vm._l((_vm.items),function(column,index){return _c('tr',{key:index},[_c('td',{staticClass:"grab text-center align-middle",staticStyle:{"width":"40px"}},[_c('font-awesome-icon',{staticClass:"text-secondary",attrs:{"icon":['fas', 'bars']}})],1),_vm._v(" "),_c('td',{staticClass:"align-middle",staticStyle:{"min-width":"250px"}},[_c('c-input-select',{staticClass:"rounded",attrs:{"options":_vm.availableFields,"reduce":function (o) { return o.name; },"placeholder":_vm.labels.none},model:{value:(column.field),callback:function ($$v) {_vm.$set(column, "field", $$v);},expression:"column.field"}})],1),_vm._v(" "),_c('td',{staticClass:"text-center align-middle",staticStyle:{"min-width":"200px"}},[_c('b-form-radio-group',{staticClass:"bg-white",attrs:{"options":_vm.sortDirections,"buttons":"","button-variant":"outline-primary"},model:{value:(column.descending),callback:function ($$v) {_vm.$set(column, "descending", $$v);},expression:"column.descending"}})],1),_vm._v(" "),_c('td',{staticClass:"align-middle text-right",staticStyle:{"min-width":"80px","width":"80px"}},[_c('c-input-confirm',{attrs:{"show-icon":""},on:{"confirmed":function($event){return _vm.items.splice(index, 1)}}})],1)])}),0)],1)],1):_c('div',[_c('b-form-textarea',{attrs:{"placeholder":_vm.labels.placeholder},model:{value:(_vm.presortValue),callback:function ($$v) {_vm.presortValue=$$v;},expression:"presortValue"}}),_vm._v(" "),_c('b-form-text',[_vm._v("\n "+_vm._s(_vm.labels.footnote)+"\n ")])],1),_vm._v(" "),(_vm.allowTextInput)?_c('div',{staticClass:"d-flex align-items-center mt-1"},[_c('b-button',{staticClass:"text-decoration-none ml-auto",attrs:{"variant":"link","size":"sm"},on:{"click":function($event){_vm.textInput = !_vm.textInput;}}},[_vm._v("\n "+_vm._s(_vm.labels.toggleInput)+"\n ")])],1):_vm._e()],1)};
8061
+ var __vue_render__$12 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('c-form-table-wrapper',{attrs:{"labels":{ addButton: _vm.labels.addButton },"hide-add-button":_vm.textInput},on:{"add-item":function($event){return _vm.items.push({ field: undefined, descending: false })}}},[(!_vm.textInput)?_c('b-form-group',{attrs:{"label":_vm.labels.title,"label-class":"text-primary"}},[_c('b-table-simple',{staticClass:"mb-0",attrs:{"borderless":"","small":"","responsive":""}},[_c('draggable',{attrs:{"list":_vm.items,"group":"sort","handle":".grab","tag":"tbody"},on:{"update:list":function($event){_vm.items=$event;}}},_vm._l((_vm.items),function(column,index){return _c('tr',{key:index},[_c('td',{staticClass:"grab text-center align-middle",staticStyle:{"width":"40px"}},[_c('font-awesome-icon',{staticClass:"text-secondary",attrs:{"icon":['fas', 'bars']}})],1),_vm._v(" "),_c('td',{staticClass:"align-middle",staticStyle:{"min-width":"250px"}},[_c('c-input-select',{staticClass:"rounded",attrs:{"options":_vm.availableFields,"reduce":function (o) { return o.name; },"placeholder":_vm.labels.none},model:{value:(column.field),callback:function ($$v) {_vm.$set(column, "field", $$v);},expression:"column.field"}})],1),_vm._v(" "),_c('td',{staticClass:"text-center align-middle",staticStyle:{"min-width":"200px"}},[_c('b-form-radio-group',{staticClass:"bg-white",attrs:{"options":_vm.sortDirections,"buttons":"","button-variant":"outline-primary"},model:{value:(column.descending),callback:function ($$v) {_vm.$set(column, "descending", $$v);},expression:"column.descending"}})],1),_vm._v(" "),_c('td',{staticClass:"align-middle text-right",staticStyle:{"min-width":"80px","width":"80px"}},[_c('c-input-confirm',{attrs:{"show-icon":""},on:{"confirmed":function($event){return _vm.items.splice(index, 1)}}})],1)])}),0)],1)],1):_c('div',[_c('b-form-textarea',{attrs:{"placeholder":_vm.labels.placeholder},model:{value:(_vm.presortValue),callback:function ($$v) {_vm.presortValue=$$v;},expression:"presortValue"}}),_vm._v(" "),_c('b-form-text',[_vm._v("\n "+_vm._s(_vm.labels.footnote)+"\n ")])],1),_vm._v(" "),(_vm.allowTextInput)?_c('div',{staticClass:"d-flex align-items-center mt-1"},[_c('b-button',{staticClass:"text-decoration-none ml-auto",attrs:{"variant":"link","size":"sm"},on:{"click":function($event){_vm.textInput = !_vm.textInput;}}},[_vm._v("\n "+_vm._s(_vm.labels.toggleInput)+"\n ")])],1):_vm._e()],1)};
8048
8062
  var __vue_staticRenderFns__$12 = [];
8049
8063
 
8050
8064
  /* style */
@@ -12336,11 +12350,6 @@ var node = {
12336
12350
  //
12337
12351
  //
12338
12352
  //
12339
- //
12340
- //
12341
- //
12342
- //
12343
- //
12344
12353
 
12345
12354
 
12346
12355
  /**
@@ -12348,6 +12357,7 @@ var node = {
12348
12357
  */
12349
12358
  var script$_ = {
12350
12359
  name: 'TNattrAlignment',
12360
+
12351
12361
  extends: __vue_component__$11,
12352
12362
 
12353
12363
  props: {
@@ -12405,7 +12415,7 @@ var script$_ = {
12405
12415
  const __vue_script__$_ = script$_;
12406
12416
 
12407
12417
  /* template */
12408
- var __vue_render__$Y = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-dropdown',{attrs:{"menu-class":"text-center","variant":"link","boundary":"window"},scopedSlots:_vm._u([{key:"button-content",fn:function(){return [_c('span',{staticClass:"text-dark font-weight-bold"},[_c('span',{class:_vm.rootActiveClasses()},[(_vm.format.icon)?_c('font-awesome-icon',{attrs:{"icon":_vm.format.icon}}):_c('span',[_vm._v("\n "+_vm._s(_vm.format.label)+"\n ")])],1)])]},proxy:true}])},[_vm._v(" "),_vm._l((_vm.format.variants),function(v){return _c('b-dropdown-item-button',{key:v.variant,on:{"click":function($event){return _vm.dispatchTransaction(v)}}},[_c('b-button',{staticClass:"text-dark font-weight-bold",attrs:{"variant":"link"}},[_c('span',{class:_vm.activeClasses(v.attrs)},[(_vm.format.icon)?_c('font-awesome-icon',{attrs:{"icon":v.icon}}):_c('span',[_vm._v("\n "+_vm._s(v.label)+"\n ")])],1)])],1)})],2)};
12418
+ var __vue_render__$Y = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-dropdown',{attrs:{"menu-class":"text-center","variant":"link","boundary":"window"},scopedSlots:_vm._u([{key:"button-content",fn:function(){return [_c('span',{staticClass:"text-dark font-weight-bold"},[_c('span',{class:_vm.rootActiveClasses()},[(_vm.format.icon)?_c('font-awesome-icon',{attrs:{"icon":_vm.format.icon}}):_c('span',[_vm._v("\n "+_vm._s(_vm.format.label)+"\n ")])],1)])]},proxy:true}])},[_vm._v(" "),_vm._l((_vm.format.variants),function(v){return _c('b-dropdown-item-button',{key:v.variant,on:{"click":function($event){return _vm.dispatchTransaction(v)}}},[_c('span',{class:_vm.activeClasses(v.attrs)},[(_vm.format.icon)?_c('font-awesome-icon',{attrs:{"icon":v.icon}}):_c('span',[_vm._v("\n "+_vm._s(v.label)+"\n ")])],1)])})],2)};
12409
12419
  var __vue_staticRenderFns__$Y = [];
12410
12420
 
12411
12421
  /* style */
@@ -12492,6 +12502,7 @@ var script$Z = {
12492
12502
  const b = (this.isActive[type]);
12493
12503
  return b && (b(attrs))
12494
12504
  };
12505
+
12495
12506
  if (ac(an.node.type.name, { ...an.node.attrs, ...attrs })) {
12496
12507
  return ['text-success']
12497
12508
  }
@@ -16742,6 +16753,12 @@ var __vue_staticRenderFns__$y = [];
16742
16753
  //
16743
16754
  //
16744
16755
  //
16756
+ //
16757
+ //
16758
+ //
16759
+ //
16760
+ //
16761
+ //
16745
16762
 
16746
16763
 
16747
16764
  library.add(faMoon, faSun);
@@ -16887,12 +16904,12 @@ var __vue_staticRenderFns__$x = [];
16887
16904
  /* style */
16888
16905
  const __vue_inject_styles__$z = function (inject) {
16889
16906
  if (!inject) return
16890
- inject("data-v-1434302a_0", { source: ".nav-icon[data-v-1434302a]{width:calc(var(--topbar-height) - 24px);height:calc(var(--topbar-height) - 24px)}.nav-user-icon[data-v-1434302a]{min-width:calc(var(--topbar-height) - 16px);min-height:calc(var(--topbar-height) - 16px)}.header-navigation[data-v-1434302a]{width:100vw;min-height:var(--topbar-height);background-color:var(--topbar-bg)}.header-navigation .sidebar-spacer[data-v-1434302a]{display:none;min-width:calc(var(--sidebar-width) - 60px)}.header-navigation .sidebar-spacer.expanded[data-v-1434302a]{display:block}.avatar[data-v-1434302a]{border-radius:50%;background-size:cover;background-repeat:no-repeat;background-position:center}.avatar[data-v-1434302a]:hover{opacity:.8;transition:opacity .25s ease-in-out;-moz-transition:opacity .25s ease-in-out;-webkit-transition:opacity .25s ease-in-out}.title[data-v-1434302a]{display:flex;align-items:center;min-height:calc(var(--topbar-height) - 16px);padding-left:47px}.title .vue-portal-target[data-v-1434302a]{display:-webkit-box;display:-ms-flexbox;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden;text-overflow:ellipsis}.tools-wrapper[data-v-1434302a]{flex-grow:1}.tools-wrapper .vue-portal-target[data-v-1434302a]{display:flex;justify-content:end;align-items:center;flex-wrap:wrap}", map: undefined, media: undefined })
16891
- ,inject("data-v-1434302a_1", { source: ".topbar-dropdown-menu{z-index:1100}#theme-dropleft .btn{font-family:var(--font-regular)}", map: undefined, media: undefined });
16907
+ inject("data-v-2aa7b5d6_0", { source: ".nav-icon[data-v-2aa7b5d6]{width:calc(var(--topbar-height) - 24px);height:calc(var(--topbar-height) - 24px)}.nav-user-icon[data-v-2aa7b5d6]{min-width:calc(var(--topbar-height) - 16px);min-height:calc(var(--topbar-height) - 16px)}.header-navigation[data-v-2aa7b5d6]{width:100vw;min-height:var(--topbar-height);background-color:var(--topbar-bg)}.header-navigation .sidebar-spacer[data-v-2aa7b5d6]{display:none;min-width:calc(var(--sidebar-width) - 60px)}.header-navigation .sidebar-spacer.expanded[data-v-2aa7b5d6]{display:block}.avatar[data-v-2aa7b5d6]{border-radius:50%;background-size:cover;background-repeat:no-repeat;background-position:center}.avatar[data-v-2aa7b5d6]:hover{opacity:.8;transition:opacity .25s ease-in-out;-moz-transition:opacity .25s ease-in-out;-webkit-transition:opacity .25s ease-in-out}.title[data-v-2aa7b5d6]{display:flex;align-items:center;min-height:calc(var(--topbar-height) - 16px);padding-left:47px}.title .vue-portal-target[data-v-2aa7b5d6]{display:-webkit-box;display:-ms-flexbox;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden;text-overflow:ellipsis}.tools-wrapper[data-v-2aa7b5d6]{flex-grow:1}.tools-wrapper .vue-portal-target[data-v-2aa7b5d6]{display:flex;justify-content:end;align-items:center;flex-wrap:wrap}", map: undefined, media: undefined })
16908
+ ,inject("data-v-2aa7b5d6_1", { source: ".topbar-dropdown-menu{z-index:1100}#theme-dropleft .btn{font-family:var(--font-regular)}", map: undefined, media: undefined });
16892
16909
 
16893
16910
  };
16894
16911
  /* scoped */
16895
- const __vue_scope_id__$z = "data-v-1434302a";
16912
+ const __vue_scope_id__$z = "data-v-2aa7b5d6";
16896
16913
  /* module identifier */
16897
16914
  const __vue_module_identifier__$z = undefined;
16898
16915
  /* functional template */
@@ -20965,7 +20982,7 @@ var __vue_staticRenderFns__$a = [];
20965
20982
  /* style */
20966
20983
  const __vue_inject_styles__$a = undefined;
20967
20984
  /* scoped */
20968
- const __vue_scope_id__$a = "data-v-d140a564";
20985
+ const __vue_scope_id__$a = "data-v-92f5374e";
20969
20986
  /* module identifier */
20970
20987
  const __vue_module_identifier__$a = undefined;
20971
20988
  /* functional template */
@@ -21041,71 +21058,84 @@ var script$9 = {
21041
21058
  async handleRecordNavigation () {
21042
21059
  const { namespaceID, recordID, moduleID, openMode, edit } = this.notification.config;
21043
21060
 
21044
- const namespace = await this.$ComposeAPI.namespaceRead({ namespaceID });
21061
+ try {
21062
+ const namespace = await this.$ComposeAPI.namespaceRead({ namespaceID });
21045
21063
 
21046
- if (!namespace) {
21047
- return
21048
- }
21064
+ if (!namespace) {
21065
+ this.toastDanger(this.$t('namespaceNotFound'));
21066
+ return
21067
+ }
21049
21068
 
21050
- const slug = namespace.slug || namespace.namespaceID;
21069
+ const slug = namespace.slug || namespace.namespaceID;
21051
21070
 
21052
- const recordPages = await this.$ComposeAPI.pageList({ moduleID, namespaceID }).then(({ set = [] }) => set);
21071
+ const recordPages = await this.$ComposeAPI.pageList({ moduleID, namespaceID }).then(({ set = [] }) => set);
21053
21072
 
21054
- if (!recordPages || recordPages.length === 0) {
21055
- return
21056
- }
21057
-
21058
- const { pageID } = recordPages[0];
21073
+ if (!recordPages || recordPages.length === 0) {
21074
+ this.toastDanger(this.$t('pageNotFound'));
21075
+ return
21076
+ }
21059
21077
 
21060
- if (this.$router.app.$options.name !== 'compose') {
21061
- const u = new URL(window.location);
21062
- const url = `${u.origin}/compose/ns/${slug}/pages/${pageID}/record/${recordID}/${edit ? 'edit' : ''}`;
21078
+ const record = await this.$ComposeAPI.recordRead({ recordID, moduleID, namespaceID });
21063
21079
 
21064
- if (openMode === 'newTab') {
21065
- window.open(url, '_blank');
21066
- } else {
21067
- window.location = url;
21080
+ if (!record) {
21081
+ this.toastDanger(this.$t('recordNotFound'));
21082
+ return
21068
21083
  }
21069
21084
 
21070
- return
21071
- }
21085
+ const { pageID } = recordPages[0];
21072
21086
 
21073
- let routeName = 'page.record';
21087
+ if (this.$router.app.$options.name !== 'compose') {
21088
+ const u = new URL(window.location);
21089
+ const url = `${u.origin}/compose/ns/${slug}/pages/${pageID}/record/${recordID}/${edit ? 'edit' : ''}`;
21074
21090
 
21075
- if (!recordID || recordID === '0') {
21076
- routeName += '.create';
21077
- } else if (edit) {
21078
- routeName += '.edit';
21079
- }
21091
+ if (openMode === 'newTab') {
21092
+ window.open(url, '_blank');
21093
+ } else {
21094
+ window.location = url;
21095
+ }
21080
21096
 
21081
- const routeParams = {
21082
- name: routeName,
21083
- params: {
21084
- recordID,
21085
- pageID,
21086
- slug,
21087
- edit,
21088
- },
21089
- };
21097
+ return
21098
+ }
21090
21099
 
21091
- // If name and params match, make sure to refresh page instead of pushing
21092
- const sameRoute = routeName === this.$route.name &&
21093
- slug === this.$route.params.slug &&
21094
- pageID === this.$route.params.pageID &&
21095
- recordID === this.$route.params.recordID;
21096
-
21097
- if (openMode === 'newTab') {
21098
- window.open(this.$router.resolve(routeParams).href, '_blank');
21099
- } else if (this.isOnPagesRouteOrChild && !sameRoute && openMode === 'modal') {
21100
- this.$root.$emit('show-record-modal', {
21101
- recordID: !recordID || recordID === '0' ? '0' : recordID,
21102
- recordPageID: pageID,
21100
+ let routeName = 'page.record';
21101
+
21102
+ if (!recordID || recordID === '0') {
21103
+ routeName += '.create';
21104
+ } else if (edit) {
21105
+ routeName += '.edit';
21106
+ }
21107
+
21108
+ const routeParams = {
21109
+ name: routeName,
21110
+ params: {
21111
+ recordID,
21112
+ pageID,
21113
+ slug,
21103
21114
  edit,
21104
- });
21115
+ },
21116
+ };
21105
21117
 
21106
- return
21107
- } else {
21108
- this.$router.push(routeParams);
21118
+ // If name and params match, make sure to refresh page instead of pushing
21119
+ const sameRoute = routeName === this.$route.name &&
21120
+ slug === this.$route.params.slug &&
21121
+ pageID === this.$route.params.pageID &&
21122
+ recordID === this.$route.params.recordID;
21123
+
21124
+ if (openMode === 'newTab') {
21125
+ window.open(this.$router.resolve(routeParams).href, '_blank');
21126
+ } else if (this.isOnPagesRouteOrChild && !sameRoute && openMode === 'modal') {
21127
+ this.$root.$emit('show-record-modal', {
21128
+ recordID: !recordID || recordID === '0' ? '0' : recordID,
21129
+ recordPageID: pageID,
21130
+ edit,
21131
+ });
21132
+
21133
+ return
21134
+ } else {
21135
+ this.$router.push(routeParams);
21136
+ }
21137
+ } catch (error) {
21138
+ this.toastErrorHandler(this.$t('recordRedirectError'))(error);
21109
21139
  }
21110
21140
  },
21111
21141
  },
@@ -21145,8 +21175,8 @@ var __vue_staticRenderFns__$9 = [];
21145
21175
  undefined);
21146
21176
 
21147
21177
  var NotificationTypes = {
21148
- Simple: __vue_component__$a,
21149
- Record: __vue_component__$9,
21178
+ NotificationSimple: __vue_component__$a,
21179
+ NotificationRecord: __vue_component__$9,
21150
21180
  };
21151
21181
 
21152
21182
  //
@@ -21243,7 +21273,7 @@ var script$8 = {
21243
21273
  let { kind } = this.notification;
21244
21274
  kind = kind.charAt(0).toUpperCase() + kind.slice(1);
21245
21275
 
21246
- return NotificationTypes[kind]
21276
+ return NotificationTypes[`Notification${kind}`]
21247
21277
  },
21248
21278
  },
21249
21279
  };
@@ -21258,11 +21288,11 @@ var __vue_staticRenderFns__$8 = [];
21258
21288
  /* style */
21259
21289
  const __vue_inject_styles__$8 = function (inject) {
21260
21290
  if (!inject) return
21261
- inject("data-v-27eea3d6_0", { source: ".notification-item-container[data-v-27eea3d6]:hover{background-color:var(--light)!important}.notification-item-container .notification-item[data-v-27eea3d6]{transition:background-color .2s ease;cursor:pointer}.notification-item-container .notification-item.read .notification-item-content[data-v-27eea3d6]{opacity:.5!important}.notification-item-container:hover .action-menu[data-v-27eea3d6]{opacity:1!important;pointer-events:auto}.notification-item-container .action-menu[data-v-27eea3d6]{position:absolute;top:.5rem;right:.5rem;z-index:2;opacity:0;pointer-events:none;transition:opacity .2s ease}", map: undefined, media: undefined });
21291
+ inject("data-v-de33bfca_0", { source: ".notification-item-container[data-v-de33bfca]:hover{background-color:var(--light)!important}.notification-item-container .notification-item[data-v-de33bfca]{transition:background-color .2s ease;cursor:pointer}.notification-item-container .notification-item.read .notification-item-content[data-v-de33bfca]{opacity:.5!important}.notification-item-container:hover .action-menu[data-v-de33bfca]{opacity:1!important;pointer-events:auto}.notification-item-container .action-menu[data-v-de33bfca]{position:absolute;top:.5rem;right:.5rem;z-index:2;opacity:0;pointer-events:none;transition:opacity .2s ease}", map: undefined, media: undefined });
21262
21292
 
21263
21293
  };
21264
21294
  /* scoped */
21265
- const __vue_scope_id__$8 = "data-v-27eea3d6";
21295
+ const __vue_scope_id__$8 = "data-v-de33bfca";
21266
21296
  /* module identifier */
21267
21297
  const __vue_module_identifier__$8 = undefined;
21268
21298
  /* functional template */