@scaleflex/widget-core 4.0.7-beta.0 → 4.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/style.css CHANGED
@@ -1,6 +1,6 @@
1
1
  @import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap");
2
- /**
3
- * General Scaleflex styles that apply to everything inside the .filerobot-Root container
2
+ /**
3
+ * General Scaleflex styles that apply to everything inside the .filerobot-Root container
4
4
  */
5
5
  .filerobot-Root {
6
6
  overflow: hidden;
@@ -11,36 +11,50 @@
11
11
  -moz-osx-font-smoothing: grayscale;
12
12
  text-align: left;
13
13
  position: relative;
14
- color: #333; }
15
- .filerobot-Root :disabled {
16
- cursor: not-allowed; }
14
+ color: #333;
15
+ }
16
+ .filerobot-Root :disabled {
17
+ cursor: not-allowed;
18
+ }
17
19
 
18
20
  .SfxModal-Wrapper, .filerobot-Root *, #SfxPopper * {
19
- font-family: "Roboto", sans-serif, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; }
21
+ font-family: "Roboto", sans-serif, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
22
+ }
20
23
 
21
24
  #SfxPopper * {
22
- box-sizing: border-box; }
25
+ box-sizing: border-box;
26
+ }
23
27
 
24
28
  .SfxModal-Wrapper *, .filerobot-Root *, #SfxPopper * {
25
29
  scrollbar-color: auto !important;
30
+ }
31
+ .SfxModal-Wrapper *::-webkit-scrollbar, .filerobot-Root *::-webkit-scrollbar, #SfxPopper *::-webkit-scrollbar {
32
+ width: 12px !important;
33
+ height: 12px !important;
34
+ }
35
+ .SfxModal-Wrapper *, .filerobot-Root *, #SfxPopper * {
26
36
  /* Track */
27
- /* Handle */ }
28
- .SfxModal-Wrapper *::-webkit-scrollbar, .filerobot-Root *::-webkit-scrollbar, #SfxPopper *::-webkit-scrollbar {
29
- width: 12px !important;
30
- height: 12px !important; }
31
- .SfxModal-Wrapper *::-webkit-scrollbar-track, .filerobot-Root *::-webkit-scrollbar-track, #SfxPopper *::-webkit-scrollbar-track {
32
- background: transparent !important; }
33
- .SfxModal-Wrapper *::-webkit-scrollbar-thumb, .filerobot-Root *::-webkit-scrollbar-thumb, #SfxPopper *::-webkit-scrollbar-thumb {
34
- background: #CCD6DE;
35
- border: 4px solid #FFFFFF;
36
- border-radius: 99px;
37
- padding: 4px 6px; }
37
+ }
38
+ .SfxModal-Wrapper *::-webkit-scrollbar-track, .filerobot-Root *::-webkit-scrollbar-track, #SfxPopper *::-webkit-scrollbar-track {
39
+ background: transparent !important;
40
+ }
41
+ .SfxModal-Wrapper *, .filerobot-Root *, #SfxPopper * {
42
+ /* Handle */
43
+ }
44
+ .SfxModal-Wrapper *::-webkit-scrollbar-thumb, .filerobot-Root *::-webkit-scrollbar-thumb, #SfxPopper *::-webkit-scrollbar-thumb {
45
+ background: #CCD6DE;
46
+ border: 4px solid #FFFFFF;
47
+ border-radius: 99px;
48
+ padding: 4px 6px;
49
+ }
38
50
 
39
51
  .filerobot-Root *, .filerobot-Root *:before, .filerobot-Root *:after {
40
- box-sizing: inherit; }
52
+ box-sizing: inherit;
53
+ }
41
54
 
42
55
  .filerobot-Root [hidden] {
43
- display: none; }
56
+ display: none;
57
+ }
44
58
 
45
59
  .filerobot-u-reset {
46
60
  -webkit-appearance: none;
@@ -98,13 +112,16 @@
98
112
  vertical-align: baseline;
99
113
  visibility: visible;
100
114
  white-space: normal;
101
- z-index: auto; }
102
- .filerobot-u-reset span {
103
- max-width: 250px;
104
- overflow: hidden;
105
- text-overflow: ellipsis; }
106
- .filerobot-u-reset span :not(:disabled) :active {
107
- background-color: #eceef2; }
115
+ z-index: auto;
116
+ }
117
+ .filerobot-u-reset span {
118
+ max-width: 250px;
119
+ overflow: hidden;
120
+ text-overflow: ellipsis;
121
+ }
122
+ .filerobot-u-reset span :not(:disabled) :active {
123
+ background-color: #eceef2;
124
+ }
108
125
 
109
126
  .filerobot-c-horizontal-separator {
110
127
  width: 100%;
@@ -113,14 +130,16 @@
113
130
  display: block;
114
131
  position: absolute;
115
132
  left: 0;
116
- right: 0; }
133
+ right: 0;
134
+ }
117
135
 
118
136
  .filerobot-c-icon {
119
137
  max-width: 100%;
120
138
  max-height: 100%;
121
139
  fill: currentColor;
122
140
  display: inline-block;
123
- overflow: hidden; }
141
+ overflow: hidden;
142
+ }
124
143
 
125
144
  .filerobot-c-btn {
126
145
  display: inline-block;
@@ -135,36 +154,51 @@
135
154
  transition-duration: 0.3s;
136
155
  -webkit-user-select: none;
137
156
  -moz-user-select: none;
138
- user-select: none; }
157
+ user-select: none;
158
+ }
139
159
 
140
160
  .filerobot-c-btn:not(:disabled):not(.disabled) {
141
- cursor: pointer; }
161
+ cursor: pointer;
162
+ }
142
163
 
143
164
  .filerobot-c-btn::-moz-focus-inner {
144
- border: 0; }
165
+ border: 0;
166
+ }
145
167
 
146
168
  .filerobot-c-btn-primary {
147
169
  font-size: 14px;
148
170
  padding: 10px 18px;
149
171
  border-radius: 4px;
150
172
  background-color: #5282DB;
151
- color: #fff; }
152
- .filerobot-c-btn-primary:hover {
153
- background-color: #2b64cf; }
154
- .filerobot-c-btn-primary:focus {
155
- outline: none;
156
- box-shadow: 0 0 0 3px rgba(82, 130, 219, 0.4); }
157
- .filerobot-size--md .filerobot-c-btn-primary {
158
- padding: 13px 22px; }
159
- [data-filerobot-theme="dark"] .filerobot-c-btn-primary {
160
- color: #eaeaea; }
161
- [data-filerobot-theme="dark"] .filerobot-c-btn-primary:focus {
162
- outline: none; }
163
- [data-filerobot-theme="dark"] .filerobot-c-btn-primary::-moz-focus-inner {
164
- border: 0; }
165
- [data-filerobot-theme="dark"] .filerobot-c-btn-primary:focus {
166
- box-shadow: 0 0 0 2px rgba(170, 225, 255, 0.85); }
173
+ color: #fff;
174
+ }
175
+ .filerobot-c-btn-primary:hover {
176
+ background-color: rgb(43.0622009569, 100.4784688995, 206.9377990431);
177
+ }
178
+ .filerobot-c-btn-primary:focus {
179
+ outline: none;
180
+ box-shadow: 0 0 0 3px rgba(82, 130, 219, 0.4);
181
+ }
182
+ .filerobot-size--md .filerobot-c-btn-primary {
183
+ padding: 13px 22px;
184
+ }
185
+ [data-filerobot-theme=dark] .filerobot-c-btn-primary {
186
+ color: #eaeaea;
187
+ }
188
+ [data-filerobot-theme=dark] .filerobot-c-btn-primary:focus {
189
+ outline: none;
190
+ }
191
+ [data-filerobot-theme=dark] .filerobot-c-btn-primary::-moz-focus-inner {
192
+ border: 0;
193
+ }
194
+ [data-filerobot-theme=dark] .filerobot-c-btn-primary:focus {
195
+ box-shadow: 0 0 0 2px rgba(170, 225, 255, 0.85);
196
+ }
167
197
 
198
+ .filerobot-c-empty-wrapper {
199
+ display: flex;
200
+ height: 100%;
201
+ }
168
202
  .filerobot-c-empty {
169
203
  height: 100%;
170
204
  width: 100%;
@@ -176,18 +210,20 @@
176
210
  color: #939393;
177
211
  background-color: #ffffff;
178
212
  line-height: 14px;
179
- font-size: 12px; }
180
- .filerobot-c-empty-wrapper {
181
- display: flex;
182
- height: 100%; }
183
- .filerobot-c-empty.left {
184
- align-items: flex-start; }
185
- .filerobot-c-empty.right {
186
- align-items: flex-end; }
213
+ font-size: 12px;
214
+ }
215
+ .filerobot-c-empty.left {
216
+ align-items: flex-start;
217
+ }
218
+ .filerobot-c-empty.right {
219
+ align-items: flex-end;
220
+ }
187
221
 
188
222
  .filerobot-c-empty {
189
223
  align-items: flex-start;
190
- color: #768A9F; }
224
+ color: #768A9F;
225
+ }
191
226
 
192
227
  svg {
193
- outline: none; }
228
+ outline: none;
229
+ }
@@ -1 +1 @@
1
- @import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap");.filerobot-Root{box-sizing:border-box;font-family:Roboto,sans-serif,Helvetica,Arial,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;line-height:1;overflow:hidden;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#333;position:relative;text-align:left}.filerobot-Root :disabled{cursor:not-allowed}#SfxPopper *,.SfxModal-Wrapper,.filerobot-Root *{font-family:Roboto,sans-serif,Helvetica,Arial,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol}#SfxPopper *{box-sizing:border-box}#SfxPopper *,.SfxModal-Wrapper *,.filerobot-Root *{scrollbar-color:auto!important}#SfxPopper ::-webkit-scrollbar,.SfxModal-Wrapper ::-webkit-scrollbar,.filerobot-Root ::-webkit-scrollbar{height:12px!important;width:12px!important}#SfxPopper ::-webkit-scrollbar-track,.SfxModal-Wrapper ::-webkit-scrollbar-track,.filerobot-Root ::-webkit-scrollbar-track{background:transparent!important}#SfxPopper ::-webkit-scrollbar-thumb,.SfxModal-Wrapper ::-webkit-scrollbar-thumb,.filerobot-Root ::-webkit-scrollbar-thumb{background:#ccd6de;border:4px solid #fff;border-radius:99px;padding:4px 6px}.filerobot-Root *,.filerobot-Root :after,.filerobot-Root :before{box-sizing:inherit}.filerobot-Root [hidden]{display:none}.filerobot-u-reset{-webkit-appearance:none;backface-visibility:visible;background:none;border:none;border-collapse:separate;-o-border-image:none;border-image:none;border-radius:0;border-spacing:0;box-shadow:none;clear:none;color:inherit;cursor:auto;display:inline;empty-cells:show;float:none;font-family:inherit;font-size:inherit;font-stretch:normal;font-style:normal;font-variant:normal;font-weight:400;-webkit-hyphens:none;hyphens:none;left:auto;letter-spacing:normal;line-height:1;list-style:none;margin:0;max-height:none;max-width:none;min-height:0;min-width:0;opacity:1;outline:medium none invert;overflow:visible;overflow-x:visible;overflow-y:visible;padding:0;text-align:left;text-decoration:none;text-indent:0;text-shadow:none;text-transform:none;top:auto;transform:none;transform-origin:50% 50% 0;transform-style:flat;transition:none 0s ease 0s;unicode-bidi:normal;vertical-align:baseline;visibility:visible;white-space:normal;z-index:auto}.filerobot-u-reset span{max-width:250px;overflow:hidden;text-overflow:ellipsis}.filerobot-u-reset span :not(:disabled) :active{background-color:#eceef2}.filerobot-c-horizontal-separator{border-bottom:1px solid #dfe7ed;display:block;height:1px;left:0;position:absolute;right:0;width:100%}.filerobot-c-icon{max-height:100%;max-width:100%;fill:currentColor;display:inline-block;overflow:hidden}.filerobot-c-btn{display:inline-block;font-family:inherit;font-size:16px;font-weight:500;line-height:1;text-align:center;transition-duration:.3s;transition-property:background-color,color;-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:middle;white-space:nowrap}.filerobot-c-btn:not(:disabled):not(.disabled){cursor:pointer}.filerobot-c-btn::-moz-focus-inner{border:0}.filerobot-c-btn-primary{background-color:#5282db;border-radius:4px;color:#fff;font-size:14px;padding:10px 18px}.filerobot-c-btn-primary:hover{background-color:#2b64cf}.filerobot-c-btn-primary:focus{box-shadow:0 0 0 3px rgba(82,130,219,.4);outline:none}.filerobot-size--md .filerobot-c-btn-primary{padding:13px 22px}[data-filerobot-theme=dark] .filerobot-c-btn-primary{color:#eaeaea}[data-filerobot-theme=dark] .filerobot-c-btn-primary:focus{outline:none}[data-filerobot-theme=dark] .filerobot-c-btn-primary::-moz-focus-inner{border:0}[data-filerobot-theme=dark] .filerobot-c-btn-primary:focus{box-shadow:0 0 0 2px rgba(170,225,255,.85)}.filerobot-c-empty{align-items:center;background-color:#fff;color:#939393;flex:1;flex-flow:column wrap;font-size:12px;justify-content:center;line-height:14px;width:100%}.filerobot-c-empty,.filerobot-c-empty-wrapper{display:flex;height:100%}.filerobot-c-empty.left{align-items:flex-start}.filerobot-c-empty.right{align-items:flex-end}.filerobot-c-empty{align-items:flex-start;color:#768a9f}svg{outline:none}
1
+ @import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap");.filerobot-Root{box-sizing:border-box;font-family:Roboto,sans-serif,Helvetica,Arial,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;line-height:1;overflow:hidden;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#333;position:relative;text-align:left}.filerobot-Root :disabled{cursor:not-allowed}#SfxPopper *,.SfxModal-Wrapper,.filerobot-Root *{font-family:Roboto,sans-serif,Helvetica,Arial,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol}#SfxPopper *{box-sizing:border-box}#SfxPopper *,.SfxModal-Wrapper *,.filerobot-Root *{scrollbar-color:auto!important}#SfxPopper ::-webkit-scrollbar,.SfxModal-Wrapper ::-webkit-scrollbar,.filerobot-Root ::-webkit-scrollbar{height:12px!important;width:12px!important}#SfxPopper ::-webkit-scrollbar-track,.SfxModal-Wrapper ::-webkit-scrollbar-track,.filerobot-Root ::-webkit-scrollbar-track{background:transparent!important}#SfxPopper ::-webkit-scrollbar-thumb,.SfxModal-Wrapper ::-webkit-scrollbar-thumb,.filerobot-Root ::-webkit-scrollbar-thumb{background:#ccd6de;border:4px solid #fff;border-radius:99px;padding:4px 6px}.filerobot-Root *,.filerobot-Root :after,.filerobot-Root :before{box-sizing:inherit}.filerobot-Root [hidden]{display:none}.filerobot-u-reset{-webkit-appearance:none;backface-visibility:visible;background:none;border:none;border-collapse:separate;-o-border-image:none;border-image:none;border-radius:0;border-spacing:0;box-shadow:none;clear:none;color:inherit;cursor:auto;display:inline;empty-cells:show;float:none;font-family:inherit;font-size:inherit;font-stretch:normal;font-style:normal;font-variant:normal;font-weight:400;-webkit-hyphens:none;hyphens:none;left:auto;letter-spacing:normal;line-height:1;list-style:none;margin:0;max-height:none;max-width:none;min-height:0;min-width:0;opacity:1;outline:medium none invert;overflow:visible;overflow-x:visible;overflow-y:visible;padding:0;text-align:left;text-decoration:none;text-indent:0;text-shadow:none;text-transform:none;top:auto;transform:none;transform-origin:50% 50% 0;transform-style:flat;transition:none 0s ease 0s;unicode-bidi:normal;vertical-align:baseline;visibility:visible;white-space:normal;z-index:auto}.filerobot-u-reset span{max-width:250px;overflow:hidden;text-overflow:ellipsis}.filerobot-u-reset span :not(:disabled) :active{background-color:#eceef2}.filerobot-c-horizontal-separator{border-bottom:1px solid #dfe7ed;display:block;height:1px;left:0;position:absolute;right:0;width:100%}.filerobot-c-icon{max-height:100%;max-width:100%;fill:currentColor;display:inline-block;overflow:hidden}.filerobot-c-btn{display:inline-block;font-family:inherit;font-size:16px;font-weight:500;line-height:1;text-align:center;transition-duration:.3s;transition-property:background-color,color;-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:middle;white-space:nowrap}.filerobot-c-btn:not(:disabled):not(.disabled){cursor:pointer}.filerobot-c-btn::-moz-focus-inner{border:0}.filerobot-c-btn-primary{background-color:#5282db;border-radius:4px;color:#fff;font-size:14px;padding:10px 18px}.filerobot-c-btn-primary:hover{background-color:#2b64cf}.filerobot-c-btn-primary:focus{box-shadow:0 0 0 3px rgba(82,130,219,.4);outline:none}.filerobot-size--md .filerobot-c-btn-primary{padding:13px 22px}[data-filerobot-theme=dark] .filerobot-c-btn-primary{color:#eaeaea}[data-filerobot-theme=dark] .filerobot-c-btn-primary:focus{outline:none}[data-filerobot-theme=dark] .filerobot-c-btn-primary::-moz-focus-inner{border:0}[data-filerobot-theme=dark] .filerobot-c-btn-primary:focus{box-shadow:0 0 0 2px rgba(170,225,255,.85)}.filerobot-c-empty,.filerobot-c-empty-wrapper{display:flex;height:100%}.filerobot-c-empty{align-items:center;background-color:#fff;color:#939393;flex:1;flex-flow:column wrap;font-size:12px;justify-content:center;line-height:14px;width:100%}.filerobot-c-empty.left{align-items:flex-start}.filerobot-c-empty.right{align-items:flex-end}.filerobot-c-empty{align-items:flex-start;color:#768a9f}svg{outline:none}
package/lib/Client.js CHANGED
@@ -26,8 +26,8 @@ var Client = /*#__PURE__*/_createClass(function Client(filerobot) {
26
26
  var _selectUser;
27
27
  return (_selectUser = selectUser(_this.filerobot.getGlobalState())) === null || _selectUser === void 0 ? void 0 : _selectUser.sassKey;
28
28
  });
29
- /**
30
- * @param {string|string[]} id
29
+ /**
30
+ * @param {string|string[]} id
31
31
  */
32
32
  _defineProperty(this, "abort", function (id) {
33
33
  var abortSingleId = function abortSingleId(_id) {
@@ -137,9 +137,9 @@ var Client = /*#__PURE__*/_createClass(function Client(filerobot) {
137
137
  }
138
138
  };
139
139
 
140
- /**
141
- * Handle 'KEY_EXPIRED' response code by sending renew SassKey request
142
- * @returns {boolean} - TRUE if handled
140
+ /**
141
+ * Handle 'KEY_EXPIRED' response code by sending renew SassKey request
142
+ * @returns {boolean} - TRUE if handled
143
143
  */
144
144
  var handleKeyExpiredCode = function handleKeyExpiredCode() {
145
145
  var _xhr$response4, _xhr$response5, _this$filerobot, _this$filerobot$sassK;
package/lib/Plugin.js CHANGED
@@ -18,8 +18,8 @@ import { createRoot } from 'react-dom/client';
18
18
  import findDOMElement from '@scaleflex/widget-utils/lib/findDOMElement';
19
19
  import Providers from './Providers';
20
20
 
21
- /**
22
- * Defer a frequent call to the microtask queue.
21
+ /**
22
+ * Defer a frequent call to the microtask queue.
23
23
  */
24
24
  function debounce(fn) {
25
25
  var calling = null;
@@ -43,14 +43,14 @@ function debounce(fn) {
43
43
  };
44
44
  }
45
45
 
46
- /**
47
- * Boilerplate that all Plugins share - and should not be used
48
- * directly. It also shows which methods final plugins should implement/override,
49
- * this deciding on structure.
50
- *
51
- * @param {object} main Filerobot core object
52
- * @param {object} object with plugin options
53
- * @returns {Array|string} files or success/fail message
46
+ /**
47
+ * Boilerplate that all Plugins share - and should not be used
48
+ * directly. It also shows which methods final plugins should implement/override,
49
+ * this deciding on structure.
50
+ *
51
+ * @param {object} main Filerobot core object
52
+ * @param {object} object with plugin options
53
+ * @returns {Array|string} files or success/fail message
54
54
  */
55
55
  var Plugin = /*#__PURE__*/function () {
56
56
  function Plugin(filerobot) {
@@ -75,11 +75,11 @@ var Plugin = /*#__PURE__*/function () {
75
75
  this.log = this.filerobot.log;
76
76
  }
77
77
 
78
- /**
79
- * Returns current state of whole redux's store, uses the same one of scaleflexWidget's core class,
80
- * for easier access from the extended plugin class only.
81
- *
82
- * @returns {object}
78
+ /**
79
+ * Returns current state of whole redux's store, uses the same one of scaleflexWidget's core class,
80
+ * for easier access from the extended plugin class only.
81
+ *
82
+ * @returns {object}
83
83
  */
84
84
  return _createClass(Plugin, [{
85
85
  key: "getGlobalState",
@@ -87,10 +87,10 @@ var Plugin = /*#__PURE__*/function () {
87
87
  return this.filerobot.getGlobalState();
88
88
  }
89
89
 
90
- /**
91
- * returns the plugin's common state/slice from the redux's store
92
- * @param {string} sliceName - the slice's name (property) to be accessed from the redux's store state.
93
- * @returns {Object}
90
+ /**
91
+ * returns the plugin's common state/slice from the redux's store
92
+ * @param {string} sliceName - the slice's name (property) to be accessed from the redux's store state.
93
+ * @returns {Object}
94
94
  */
95
95
  }, {
96
96
  key: "getPluginCommonState",
@@ -103,19 +103,19 @@ var Plugin = /*#__PURE__*/function () {
103
103
  return pluginCommonState || {};
104
104
  }
105
105
 
106
- /**
107
- * To be overriden from the plugin itself with the common state/slice of the plugin getting dispatched to.
108
- * @param {string} update - object contains the updates.
109
- * @returns {Object}
106
+ /**
107
+ * To be overriden from the plugin itself with the common state/slice of the plugin getting dispatched to.
108
+ * @param {string} update - object contains the updates.
109
+ * @returns {Object}
110
110
  */
111
111
  }, {
112
112
  key: "setPluginCommonState",
113
113
  value: function setPluginCommonState(update) {}
114
114
 
115
- /**
116
- * Same dispatch as core's one but wrapping it in-case of future changes/logs...etc.
117
- *
118
- * @param {Function/Object} actionCreator
115
+ /**
116
+ * Same dispatch as core's one but wrapping it in-case of future changes/logs...etc.
117
+ *
118
+ * @param {Function/Object} actionCreator
119
119
  */
120
120
  }, {
121
121
  key: "dispatch",
@@ -161,22 +161,22 @@ var Plugin = /*#__PURE__*/function () {
161
161
  key: "afterUpdate",
162
162
  value: function afterUpdate() {}
163
163
 
164
- /**
165
- * Called when plugin is mounted, whether in DOM or into another plugin.
166
- * Needed because sometimes plugins are mounted separately/after `install`,
167
- * so this.el and this.parent might not be available in `install`.
164
+ /**
165
+ * Called when plugin is mounted, whether in DOM or into another plugin.
166
+ * Needed because sometimes plugins are mounted separately/after `install`,
167
+ * so this.el and this.parent might not be available in `install`.
168
168
  */
169
169
  }, {
170
170
  key: "onMount",
171
171
  value: function onMount() {}
172
172
 
173
- /**
174
- * Check if supplied `target` is a DOM element or an `object`.
175
- * If it’s an object — target is a plugin, and we search `plugins`
176
- * for a plugin with same name and return its target.
177
- *
178
- * @param {string|object} target
179
- *
173
+ /**
174
+ * Check if supplied `target` is a DOM element or an `object`.
175
+ * If it’s an object — target is a plugin, and we search `plugins`
176
+ * for a plugin with same name and return its target.
177
+ *
178
+ * @param {string|object} target
179
+ *
180
180
  */
181
181
  }, {
182
182
  key: "mount",
@@ -279,8 +279,8 @@ var Plugin = /*#__PURE__*/function () {
279
279
  return this.filerobot.checkPluginExistence(pluginIdToCheck);
280
280
  }
281
281
 
282
- /**
283
- * Called to get the plugin's reducer.
282
+ /**
283
+ * Called to get the plugin's reducer.
284
284
  */
285
285
  }, {
286
286
  key: "getPluginReducer",
@@ -16,15 +16,15 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
16
16
  import { RESPONSE_CODES } from '@scaleflex/widget-utils/lib/constants';
17
17
  import { saveUserSassKey, selectUserSessionUuid, userLogout } from './slices/user.slice';
18
18
 
19
- /**
20
- * Spec: https://scaleflexhq.atlassian.net/wiki/spaces/SHARED/pages/34570620/Session+handling
21
- * Task: https://scaleflexhq.atlassian.net/browse/FRA-3494
22
- *
23
- * Notice!
24
- * SassKeyRenewer works only when there is defined a session uuid:
25
- * - Hub case
26
- * - standalone Widget with enabled auth
27
- * Doesn't work for Widget with security template (for this case is used logic to regenerate sass key from sec template user.slice.js:generateUserKey())
19
+ /**
20
+ * Spec: https://scaleflexhq.atlassian.net/wiki/spaces/SHARED/pages/34570620/Session+handling
21
+ * Task: https://scaleflexhq.atlassian.net/browse/FRA-3494
22
+ *
23
+ * Notice!
24
+ * SassKeyRenewer works only when there is defined a session uuid:
25
+ * - Hub case
26
+ * - standalone Widget with enabled auth
27
+ * Doesn't work for Widget with security template (for this case is used logic to regenerate sass key from sec template user.slice.js:generateUserKey())
28
28
  */
29
29
 
30
30
  export var TIMER_DELAY_STORAGE_NAME = 'sassKeyRenewerTimerDelay';
@@ -176,9 +176,9 @@ var SassKeyRenewer = /*#__PURE__*/_createClass(function SassKeyRenewer(filerobot
176
176
  _this.isSending = false;
177
177
  });
178
178
  });
179
- /**
180
- * @param {function} cb - Call back function
181
- * @param {string} [requestId] - Optional. Should be used in cases when need to cancel previous simil request handler that has same ID.
179
+ /**
180
+ * @param {function} cb - Call back function
181
+ * @param {string} [requestId] - Optional. Should be used in cases when need to cancel previous simil request handler that has same ID.
182
182
  */
183
183
  _defineProperty(this, "addSuccessHandlerToTheQueue", function (cb, requestId) {
184
184
  _this.log('Run addSuccessHandlerToTheQueue()', {