eservices-core 1.0.339 → 1.0.340

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * eservices-core v1.0.339
2
+ * eservices-core v1.0.340
3
3
  * (c) 2022 ESERVICES
4
4
  */
5
5
  'use strict';
@@ -5100,7 +5100,6 @@ var script$e = /*#__PURE__*/ vue.defineComponent({
5100
5100
  __name: 'interface-user-card',
5101
5101
  props: {
5102
5102
  user: { type: null, required: true },
5103
- currentContextId: { type: Number, required: false },
5104
5103
  popup: { type: null, required: true }
5105
5104
  },
5106
5105
  setup(__props) {
@@ -5114,6 +5113,7 @@ var script$e = /*#__PURE__*/ vue.defineComponent({
5114
5113
  });
5115
5114
  const currentContext = ApplicationManager.currentContext;
5116
5115
  const organizations = ApplicationManager.organizations;
5116
+ const person = ApplicationManager.person;
5117
5117
  return (_ctx, _cache) => {
5118
5118
  return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$e, [
5119
5119
  vue.createElementVNode("div", {
@@ -5124,8 +5124,8 @@ var script$e = /*#__PURE__*/ vue.defineComponent({
5124
5124
  vue.createElementVNode("p", _hoisted_3$7, vue.toDisplayString(vue.unref(currentContext).name), 1 /* TEXT */),
5125
5125
  vue.createVNode(vue.Transition, { name: "slide-up" }, {
5126
5126
  default: vue.withCtx(() => [
5127
- (__props.user.id !== vue.unref(currentContext).id)
5128
- ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_4$7, vue.toDisplayString(__props.user.name), 1 /* TEXT */))
5127
+ (vue.unref(person).id !== vue.unref(currentContext).id)
5128
+ ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_4$7, vue.toDisplayString(vue.unref(person).name), 1 /* TEXT */))
5129
5129
  : vue.createCommentVNode("v-if", true)
5130
5130
  ]),
5131
5131
  _: 1 /* STABLE */
@@ -5133,7 +5133,7 @@ var script$e = /*#__PURE__*/ vue.defineComponent({
5133
5133
  ]),
5134
5134
  vue.createElementVNode("img", {
5135
5135
  class: "user-card-image",
5136
- src: __props.user.photo,
5136
+ src: vue.unref(person).photo,
5137
5137
  alt: "user-logo"
5138
5138
  }, null, 8 /* PROPS */, _hoisted_5$5)
5139
5139
  ]),
@@ -5150,8 +5150,8 @@ var script$e = /*#__PURE__*/ vue.defineComponent({
5150
5150
  vue.createVNode(script$f, {
5151
5151
  config: __props.popup,
5152
5152
  organizations: vue.unref(organizations),
5153
- user: __props.user,
5154
- currentContextId: __props.currentContextId,
5153
+ user: vue.unref(person),
5154
+ currentContextId: _ctx.currentContextId,
5155
5155
  ref_key: "refPopup",
5156
5156
  ref: refPopup,
5157
5157
  onHide: _cache[1] || (_cache[1] = ($event) => (active.value = false))
@@ -5179,21 +5179,13 @@ const _hoisted_2$8 = /*#__PURE__*/ _withScopeId$4(() => /*#__PURE__*/ vue.create
5179
5179
  var script$d = /*#__PURE__*/ vue.defineComponent({
5180
5180
  __name: 'interface-header',
5181
5181
  props: {
5182
- user: { type: null, required: true },
5183
- organizations: { type: Array, required: true },
5184
- currentContextId: { type: Number, required: true },
5185
5182
  popup: { type: null, required: true }
5186
5183
  },
5187
5184
  setup(__props) {
5188
5185
  return (_ctx, _cache) => {
5189
5186
  return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$d, [
5190
5187
  _hoisted_2$8,
5191
- vue.createVNode(script$e, {
5192
- user: __props.user,
5193
- organizations: __props.organizations,
5194
- currentContextId: __props.currentContextId,
5195
- popup: __props.popup
5196
- }, null, 8 /* PROPS */, ["user", "organizations", "currentContextId", "popup"])
5188
+ vue.createVNode(script$e, { popup: __props.popup }, null, 8 /* PROPS */, ["popup"])
5197
5189
  ]));
5198
5190
  };
5199
5191
  }
@@ -5216,10 +5208,7 @@ var script$c = /*#__PURE__*/ vue.defineComponent({
5216
5208
  props: {
5217
5209
  nav: { type: Array, required: false },
5218
5210
  popup: { type: null, required: false },
5219
- logotype: { type: String, required: false },
5220
- organizations: { type: null, required: false },
5221
- user: { type: null, required: true },
5222
- currentContextId: { type: Number, required: true }
5211
+ logotype: { type: String, required: false }
5223
5212
  },
5224
5213
  setup(__props) {
5225
5214
  // If true on mobile devices' navigation will be showed
@@ -5240,12 +5229,7 @@ var script$c = /*#__PURE__*/ vue.defineComponent({
5240
5229
  ]),
5241
5230
  _: 1 /* STABLE */
5242
5231
  }),
5243
- vue.createVNode(script$d, {
5244
- user: __props.user,
5245
- organizations: __props.organizations,
5246
- popup: __props.popup,
5247
- currentContextId: __props.currentContextId
5248
- }, null, 8 /* PROPS */, ["user", "organizations", "popup", "currentContextId"]),
5232
+ vue.createVNode(script$d, { popup: __props.popup }, null, 8 /* PROPS */, ["popup"]),
5249
5233
  vue.createCommentVNode("Mobile navigation toggle"),
5250
5234
  vue.createElementVNode("div", _hoisted_3$6, [
5251
5235
  vue.createElementVNode("button", {
@@ -11,18 +11,6 @@ declare const _default: import("vue").DefineComponent<{
11
11
  type: StringConstructor;
12
12
  required: false;
13
13
  };
14
- organizations: {
15
- type: any;
16
- required: false;
17
- };
18
- user: {
19
- type: any;
20
- required: true;
21
- };
22
- currentContextId: {
23
- type: NumberConstructor;
24
- required: true;
25
- };
26
14
  }, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
27
15
  [key: string]: any;
28
16
  }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
@@ -38,20 +26,7 @@ declare const _default: import("vue").DefineComponent<{
38
26
  type: StringConstructor;
39
27
  required: false;
40
28
  };
41
- organizations: {
42
- type: any;
43
- required: false;
44
- };
45
- user: {
46
- type: any;
47
- required: true;
48
- };
49
- currentContextId: {
50
- type: NumberConstructor;
51
- required: true;
52
- };
53
29
  }>>, {
54
30
  popup: any;
55
- organizations: any;
56
31
  }>;
57
32
  export default _default;
@@ -1,16 +1,4 @@
1
1
  declare const _default: import("vue").DefineComponent<{
2
- user: {
3
- type: any;
4
- required: true;
5
- };
6
- organizations: {
7
- type: ArrayConstructor;
8
- required: true;
9
- };
10
- currentContextId: {
11
- type: NumberConstructor;
12
- required: true;
13
- };
14
2
  popup: {
15
3
  type: any;
16
4
  required: true;
@@ -18,18 +6,6 @@ declare const _default: import("vue").DefineComponent<{
18
6
  }, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
19
7
  [key: string]: any;
20
8
  }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
21
- user: {
22
- type: any;
23
- required: true;
24
- };
25
- organizations: {
26
- type: ArrayConstructor;
27
- required: true;
28
- };
29
- currentContextId: {
30
- type: NumberConstructor;
31
- required: true;
32
- };
33
9
  popup: {
34
10
  type: any;
35
11
  required: true;
@@ -3,10 +3,6 @@ declare const _default: import("vue").DefineComponent<{
3
3
  type: any;
4
4
  required: true;
5
5
  };
6
- currentContextId: {
7
- type: NumberConstructor;
8
- required: false;
9
- };
10
6
  popup: {
11
7
  type: any;
12
8
  required: true;
@@ -18,10 +14,6 @@ declare const _default: import("vue").DefineComponent<{
18
14
  type: any;
19
15
  required: true;
20
16
  };
21
- currentContextId: {
22
- type: NumberConstructor;
23
- required: false;
24
- };
25
17
  popup: {
26
18
  type: any;
27
19
  required: true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eservices-core",
3
- "version": "1.0.339",
3
+ "version": "1.0.340",
4
4
  "description": "----",
5
5
  "author": "",
6
6
  "scripts": {