@yoobic/yobi 8.7.11 → 8.7.13
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/cjs/yoo-form-emailreport.cjs.entry.js +0 -3
- package/dist/cjs/yoo-form-input-container.cjs.entry.js +2 -2
- package/dist/cjs/yoo-form-input.cjs.entry.js +1 -1
- package/dist/cjs/yoo-markdown.cjs.entry.js +2 -2
- package/dist/collection/components/1.atoms/markdown/markdown.js +3 -3
- package/dist/collection/components/form/form-emailreport/form-emailreport.js +0 -3
- package/dist/collection/components/form/form-input/form-input.js +1 -1
- package/dist/collection/components/form/form-input-container/form-input-container.js +2 -2
- package/dist/design-system/yoo-form-emailreport.entry.js +0 -3
- package/dist/design-system/yoo-form-input-container.entry.js +2 -2
- package/dist/design-system/yoo-form-input.entry.js +1 -1
- package/dist/design-system/yoo-markdown.entry.js +3 -3
- package/dist/esm/yoo-form-emailreport.entry.js +0 -3
- package/dist/esm/yoo-form-input-container.entry.js +2 -2
- package/dist/esm/yoo-form-input.entry.js +1 -1
- package/dist/esm/yoo-markdown.entry.js +3 -3
- package/dist/types/components/form/form-emailreport/form-emailreport.d.ts +0 -1
- package/dist/types/home/runner/work/yoobic-ng-6/yoobic-ng-6/design-system/stencil/.stencil/shared/interfaces/src/services/session/session.interface.d.ts +0 -1
- package/package.json +1 -1
@@ -84,9 +84,6 @@ const YooFormEmailreportComponent = class {
|
|
84
84
|
onAutoCompleteValidityChanged(ev) {
|
85
85
|
ev.stopPropagation();
|
86
86
|
}
|
87
|
-
renderInput() {
|
88
|
-
return (index.h("yoo-form-autocomplete", { ref: (el) => (this.formAutocomplete = el), size: index$1.isWeb(this.host) ? 'medium' : 'large', multiple: true, idOnly: true, idOnlyInitialSelection: this.extraData, isLocal: this.isLocal, value: this.value, values: this.isLocal ? this.fieldValues : null, entityType: "emails", displayType: "card-list", placeholder: this.isLocal ? 'ADDNEWEMAILS' : null, onFetchData: (ev) => this.onFetchData(ev), onInputChanged: (ev) => this.onInputChanged(ev), onInputBlurred: (ev) => this.onInputBlurred(ev), onInputFocused: (ev) => this.onInputFocused(ev), onValidityChanged: (ev) => this.onAutoCompleteValidityChanged(ev), tags: this.tags, clearable: true, allowCustomTag: true, tabindex: this.inputTabIndex }));
|
89
|
-
}
|
90
87
|
renderReadonly() {
|
91
88
|
const emails = lodash.compact([].concat(this.value));
|
92
89
|
if (emails.length > 0) {
|
@@ -255,11 +255,11 @@ const YooFormInputContainerComponent = class {
|
|
255
255
|
}
|
256
256
|
async setContent() {
|
257
257
|
if (index$1.isOffline() || index$1.isYoobicSecuredDocTenant()) {
|
258
|
-
const descriptionUrls = index$1.getURLs(this.field.description);
|
258
|
+
const descriptionUrls = index$1.getURLs(index$1.translateMulti(this.field.description));
|
259
259
|
for (const url of descriptionUrls) {
|
260
260
|
const cachedFile = await localForage.getFromLocalForage(index$1.getKeyToCache(url));
|
261
261
|
if (cachedFile) {
|
262
|
-
this.field.description = this.field.description.replace(url, index$1.getMedia(cachedFile));
|
262
|
+
this.field.description = index$1.translateMulti(this.field.description).replace(url, index$1.getMedia(cachedFile));
|
263
263
|
}
|
264
264
|
}
|
265
265
|
index.forceUpdate(this);
|
@@ -265,7 +265,7 @@ const YooFormInputComponent = class {
|
|
265
265
|
disconnectedCallback() {
|
266
266
|
if (index$1.isNativeMobile() && index$1.isIOS()) {
|
267
267
|
this.isKeyboardResizeModeInactive && index$1.disableKeyboardResize();
|
268
|
-
if (this.disableKeyboardResizing) {
|
268
|
+
if (!this.disableKeyboardResizing) {
|
269
269
|
index$1.removeKeyboardEventListeners();
|
270
270
|
}
|
271
271
|
}
|
@@ -39,11 +39,11 @@ const YooMarkdownComponent = class {
|
|
39
39
|
async setContent() {
|
40
40
|
var _a;
|
41
41
|
if (index$1.isOffline() || index$1.isYoobicSecuredDocTenant()) {
|
42
|
-
const markdownUrls = index$1.getURLs(this.treatedContent);
|
42
|
+
const markdownUrls = index$1.getURLs(index$1.translateMulti(this.treatedContent));
|
43
43
|
for (const url of markdownUrls) {
|
44
44
|
const cachedFile = await localForage.getFromLocalForage(index$1.getKeyToCache(url));
|
45
45
|
if (cachedFile) {
|
46
|
-
this.treatedContent = this.treatedContent.replace(url, (index$1.cleanupWKWebViewFilePath(cachedFile)));
|
46
|
+
this.treatedContent = index$1.translateMulti(this.treatedContent).replace(url, (index$1.cleanupWKWebViewFilePath(cachedFile)));
|
47
47
|
}
|
48
48
|
}
|
49
49
|
this.treatedContent = index$1.setSecuredContent(this.treatedContent);
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { cleanupWKWebViewFilePath, getKeyToCache, getURLs, isOffline, isYoobicSecuredDocTenant, setSecuredContent, translate } from '@shared/utils';
|
1
|
+
import { cleanupWKWebViewFilePath, getKeyToCache, getURLs, isOffline, isYoobicSecuredDocTenant, setSecuredContent, translate, translateMulti } from '@shared/utils';
|
2
2
|
import { forceUpdate, h, Host } from '@stencil/core';
|
3
3
|
import { getFromLocalForage } from '@yobi/utils/cache/local-forage';
|
4
4
|
import { openImageDetailFromRTE } from '@yobi/utils/helpers/common-helpers';
|
@@ -27,11 +27,11 @@ export class YooMarkdownComponent {
|
|
27
27
|
async setContent() {
|
28
28
|
var _a;
|
29
29
|
if (isOffline() || isYoobicSecuredDocTenant()) {
|
30
|
-
const markdownUrls = getURLs(this.treatedContent);
|
30
|
+
const markdownUrls = getURLs(translateMulti(this.treatedContent));
|
31
31
|
for (const url of markdownUrls) {
|
32
32
|
const cachedFile = await getFromLocalForage(getKeyToCache(url));
|
33
33
|
if (cachedFile) {
|
34
|
-
this.treatedContent = this.treatedContent.replace(url, (cleanupWKWebViewFilePath(cachedFile)));
|
34
|
+
this.treatedContent = translateMulti(this.treatedContent).replace(url, (cleanupWKWebViewFilePath(cachedFile)));
|
35
35
|
}
|
36
36
|
}
|
37
37
|
this.treatedContent = setSecuredContent(this.treatedContent);
|
@@ -67,9 +67,6 @@ export class YooFormEmailreportComponent {
|
|
67
67
|
onAutoCompleteValidityChanged(ev) {
|
68
68
|
ev.stopPropagation();
|
69
69
|
}
|
70
|
-
renderInput() {
|
71
|
-
return (h("yoo-form-autocomplete", { ref: (el) => (this.formAutocomplete = el), size: isWeb(this.host) ? 'medium' : 'large', multiple: true, idOnly: true, idOnlyInitialSelection: this.extraData, isLocal: this.isLocal, value: this.value, values: this.isLocal ? this.fieldValues : null, entityType: "emails", displayType: "card-list", placeholder: this.isLocal ? 'ADDNEWEMAILS' : null, onFetchData: (ev) => this.onFetchData(ev), onInputChanged: (ev) => this.onInputChanged(ev), onInputBlurred: (ev) => this.onInputBlurred(ev), onInputFocused: (ev) => this.onInputFocused(ev), onValidityChanged: (ev) => this.onAutoCompleteValidityChanged(ev), tags: this.tags, clearable: true, allowCustomTag: true, tabindex: this.inputTabIndex }));
|
72
|
-
}
|
73
70
|
renderReadonly() {
|
74
71
|
const emails = compact([].concat(this.value));
|
75
72
|
if (emails.length > 0) {
|
@@ -239,7 +239,7 @@ export class YooFormInputComponent {
|
|
239
239
|
disconnectedCallback() {
|
240
240
|
if (isNativeMobile() && isIOS()) {
|
241
241
|
this.isKeyboardResizeModeInactive && disableKeyboardResize();
|
242
|
-
if (this.disableKeyboardResizing) {
|
242
|
+
if (!this.disableKeyboardResizing) {
|
243
243
|
removeKeyboardEventListeners();
|
244
244
|
}
|
245
245
|
}
|
@@ -236,11 +236,11 @@ export class YooFormInputContainerComponent {
|
|
236
236
|
}
|
237
237
|
async setContent() {
|
238
238
|
if (isOffline() || isYoobicSecuredDocTenant()) {
|
239
|
-
const descriptionUrls = getURLs(this.field.description);
|
239
|
+
const descriptionUrls = getURLs(translateMulti(this.field.description));
|
240
240
|
for (const url of descriptionUrls) {
|
241
241
|
const cachedFile = await getFromLocalForage(getKeyToCache(url));
|
242
242
|
if (cachedFile) {
|
243
|
-
this.field.description = this.field.description.replace(url, getMedia(cachedFile));
|
243
|
+
this.field.description = translateMulti(this.field.description).replace(url, getMedia(cachedFile));
|
244
244
|
}
|
245
245
|
}
|
246
246
|
forceUpdate(this);
|
@@ -80,9 +80,6 @@ const YooFormEmailreportComponent = class {
|
|
80
80
|
onAutoCompleteValidityChanged(ev) {
|
81
81
|
ev.stopPropagation();
|
82
82
|
}
|
83
|
-
renderInput() {
|
84
|
-
return (h("yoo-form-autocomplete", { ref: (el) => (this.formAutocomplete = el), size: isWeb(this.host) ? 'medium' : 'large', multiple: true, idOnly: true, idOnlyInitialSelection: this.extraData, isLocal: this.isLocal, value: this.value, values: this.isLocal ? this.fieldValues : null, entityType: "emails", displayType: "card-list", placeholder: this.isLocal ? 'ADDNEWEMAILS' : null, onFetchData: (ev) => this.onFetchData(ev), onInputChanged: (ev) => this.onInputChanged(ev), onInputBlurred: (ev) => this.onInputBlurred(ev), onInputFocused: (ev) => this.onInputFocused(ev), onValidityChanged: (ev) => this.onAutoCompleteValidityChanged(ev), tags: this.tags, clearable: true, allowCustomTag: true, tabindex: this.inputTabIndex }));
|
85
|
-
}
|
86
83
|
renderReadonly() {
|
87
84
|
const emails = compact([].concat(this.value));
|
88
85
|
if (emails.length > 0) {
|
@@ -251,11 +251,11 @@ const YooFormInputContainerComponent = class {
|
|
251
251
|
}
|
252
252
|
async setContent() {
|
253
253
|
if (isOffline() || isYoobicSecuredDocTenant()) {
|
254
|
-
const descriptionUrls = getURLs(this.field.description);
|
254
|
+
const descriptionUrls = getURLs(translateMulti(this.field.description));
|
255
255
|
for (const url of descriptionUrls) {
|
256
256
|
const cachedFile = await getFromLocalForage(getKeyToCache(url));
|
257
257
|
if (cachedFile) {
|
258
|
-
this.field.description = this.field.description.replace(url, getMedia(cachedFile));
|
258
|
+
this.field.description = translateMulti(this.field.description).replace(url, getMedia(cachedFile));
|
259
259
|
}
|
260
260
|
}
|
261
261
|
forceUpdate(this);
|
@@ -261,7 +261,7 @@ const YooFormInputComponent = class {
|
|
261
261
|
disconnectedCallback() {
|
262
262
|
if (isNativeMobile() && isIOS()) {
|
263
263
|
this.isKeyboardResizeModeInactive && disableKeyboardResize();
|
264
|
-
if (this.disableKeyboardResizing) {
|
264
|
+
if (!this.disableKeyboardResizing) {
|
265
265
|
removeKeyboardEventListeners();
|
266
266
|
}
|
267
267
|
}
|
@@ -2,7 +2,7 @@ import { r as registerInstance, f as forceUpdate, h, e as Host, g as getElement
|
|
2
2
|
import './index-fcad4af8.js';
|
3
3
|
import { a as getFromLocalForage } from './local-forage-7904b0fc.js';
|
4
4
|
import { o as openImageDetailFromRTE } from './common-helpers-7e61c241.js';
|
5
|
-
import { bE as isOffline, eu as isYoobicSecuredDocTenant, ev as getURLs, bF as getKeyToCache, D as cleanupWKWebViewFilePath, d0 as setSecuredContent, t as translate } from './index-bd6fd8e6.js';
|
5
|
+
import { bE as isOffline, eu as isYoobicSecuredDocTenant, ev as getURLs, ae as translateMulti, bF as getKeyToCache, D as cleanupWKWebViewFilePath, d0 as setSecuredContent, t as translate } from './index-bd6fd8e6.js';
|
6
6
|
import './lodash-04b11500.js';
|
7
7
|
import './_commonjsHelpers-f4d11124.js';
|
8
8
|
import './index-95d3486f.js';
|
@@ -35,11 +35,11 @@ const YooMarkdownComponent = class {
|
|
35
35
|
async setContent() {
|
36
36
|
var _a;
|
37
37
|
if (isOffline() || isYoobicSecuredDocTenant()) {
|
38
|
-
const markdownUrls = getURLs(this.treatedContent);
|
38
|
+
const markdownUrls = getURLs(translateMulti(this.treatedContent));
|
39
39
|
for (const url of markdownUrls) {
|
40
40
|
const cachedFile = await getFromLocalForage(getKeyToCache(url));
|
41
41
|
if (cachedFile) {
|
42
|
-
this.treatedContent = this.treatedContent.replace(url, (cleanupWKWebViewFilePath(cachedFile)));
|
42
|
+
this.treatedContent = translateMulti(this.treatedContent).replace(url, (cleanupWKWebViewFilePath(cachedFile)));
|
43
43
|
}
|
44
44
|
}
|
45
45
|
this.treatedContent = setSecuredContent(this.treatedContent);
|
@@ -80,9 +80,6 @@ const YooFormEmailreportComponent = class {
|
|
80
80
|
onAutoCompleteValidityChanged(ev) {
|
81
81
|
ev.stopPropagation();
|
82
82
|
}
|
83
|
-
renderInput() {
|
84
|
-
return (h("yoo-form-autocomplete", { ref: (el) => (this.formAutocomplete = el), size: isWeb(this.host) ? 'medium' : 'large', multiple: true, idOnly: true, idOnlyInitialSelection: this.extraData, isLocal: this.isLocal, value: this.value, values: this.isLocal ? this.fieldValues : null, entityType: "emails", displayType: "card-list", placeholder: this.isLocal ? 'ADDNEWEMAILS' : null, onFetchData: (ev) => this.onFetchData(ev), onInputChanged: (ev) => this.onInputChanged(ev), onInputBlurred: (ev) => this.onInputBlurred(ev), onInputFocused: (ev) => this.onInputFocused(ev), onValidityChanged: (ev) => this.onAutoCompleteValidityChanged(ev), tags: this.tags, clearable: true, allowCustomTag: true, tabindex: this.inputTabIndex }));
|
85
|
-
}
|
86
83
|
renderReadonly() {
|
87
84
|
const emails = compact([].concat(this.value));
|
88
85
|
if (emails.length > 0) {
|
@@ -251,11 +251,11 @@ const YooFormInputContainerComponent = class {
|
|
251
251
|
}
|
252
252
|
async setContent() {
|
253
253
|
if (isOffline() || isYoobicSecuredDocTenant()) {
|
254
|
-
const descriptionUrls = getURLs(this.field.description);
|
254
|
+
const descriptionUrls = getURLs(translateMulti(this.field.description));
|
255
255
|
for (const url of descriptionUrls) {
|
256
256
|
const cachedFile = await getFromLocalForage(getKeyToCache(url));
|
257
257
|
if (cachedFile) {
|
258
|
-
this.field.description = this.field.description.replace(url, getMedia(cachedFile));
|
258
|
+
this.field.description = translateMulti(this.field.description).replace(url, getMedia(cachedFile));
|
259
259
|
}
|
260
260
|
}
|
261
261
|
forceUpdate(this);
|
@@ -261,7 +261,7 @@ const YooFormInputComponent = class {
|
|
261
261
|
disconnectedCallback() {
|
262
262
|
if (isNativeMobile() && isIOS()) {
|
263
263
|
this.isKeyboardResizeModeInactive && disableKeyboardResize();
|
264
|
-
if (this.disableKeyboardResizing) {
|
264
|
+
if (!this.disableKeyboardResizing) {
|
265
265
|
removeKeyboardEventListeners();
|
266
266
|
}
|
267
267
|
}
|
@@ -2,7 +2,7 @@ import { r as registerInstance, f as forceUpdate, h, e as Host, g as getElement
|
|
2
2
|
import './index-fcad4af8.js';
|
3
3
|
import { a as getFromLocalForage } from './local-forage-7904b0fc.js';
|
4
4
|
import { o as openImageDetailFromRTE } from './common-helpers-7e61c241.js';
|
5
|
-
import { bE as isOffline, eu as isYoobicSecuredDocTenant, ev as getURLs, bF as getKeyToCache, D as cleanupWKWebViewFilePath, d0 as setSecuredContent, t as translate } from './index-bd6fd8e6.js';
|
5
|
+
import { bE as isOffline, eu as isYoobicSecuredDocTenant, ev as getURLs, ae as translateMulti, bF as getKeyToCache, D as cleanupWKWebViewFilePath, d0 as setSecuredContent, t as translate } from './index-bd6fd8e6.js';
|
6
6
|
import './lodash-04b11500.js';
|
7
7
|
import './_commonjsHelpers-f4d11124.js';
|
8
8
|
import './index-95d3486f.js';
|
@@ -35,11 +35,11 @@ const YooMarkdownComponent = class {
|
|
35
35
|
async setContent() {
|
36
36
|
var _a;
|
37
37
|
if (isOffline() || isYoobicSecuredDocTenant()) {
|
38
|
-
const markdownUrls = getURLs(this.treatedContent);
|
38
|
+
const markdownUrls = getURLs(translateMulti(this.treatedContent));
|
39
39
|
for (const url of markdownUrls) {
|
40
40
|
const cachedFile = await getFromLocalForage(getKeyToCache(url));
|
41
41
|
if (cachedFile) {
|
42
|
-
this.treatedContent = this.treatedContent.replace(url, (cleanupWKWebViewFilePath(cachedFile)));
|
42
|
+
this.treatedContent = translateMulti(this.treatedContent).replace(url, (cleanupWKWebViewFilePath(cachedFile)));
|
43
43
|
}
|
44
44
|
}
|
45
45
|
this.treatedContent = setSecuredContent(this.treatedContent);
|
@@ -28,7 +28,6 @@ export declare class YooFormEmailreportComponent implements IFormEmailreport {
|
|
28
28
|
onInputBlurred(ev: CustomEvent<any>): void;
|
29
29
|
onInputFocused(ev: CustomEvent<any>): void;
|
30
30
|
onAutoCompleteValidityChanged(ev: CustomEvent<any>): void;
|
31
|
-
renderInput(): any;
|
32
31
|
renderReadonly(): any;
|
33
32
|
renderEditable(): any;
|
34
33
|
render(): any;
|