@yoobic/yobi 8.4.1 → 8.4.2
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-autocomplete.cjs.entry.js +1 -1
- package/dist/cjs/yoo-form-scorm.cjs.entry.js +10 -0
- package/dist/collection/components/form/form-autocomplete/form-autocomplete.js +1 -1
- package/dist/collection/components/form/form-scorm/form-scorm.js +10 -0
- package/dist/design-system/yoo-form-autocomplete.entry.js +1 -1
- package/dist/design-system/yoo-form-scorm.entry.js +10 -0
- package/dist/esm/yoo-form-autocomplete.entry.js +1 -1
- package/dist/esm/yoo-form-scorm.entry.js +10 -0
- package/package.json +1 -1
|
@@ -1062,7 +1062,7 @@ const YooFormAutocompleteComponent = class {
|
|
|
1062
1062
|
if (this.entityType === 'files') {
|
|
1063
1063
|
displayType = 'card-file';
|
|
1064
1064
|
}
|
|
1065
|
-
if (this.entityType === 'user') {
|
|
1065
|
+
if (this.entityType === 'user' && !this.tag) {
|
|
1066
1066
|
displayType = 'card-list';
|
|
1067
1067
|
}
|
|
1068
1068
|
return (index.h("div", { class: "readonly" }, index.h("div", { class: {
|
|
@@ -97,6 +97,16 @@ const YooFormScormComponent = class {
|
|
|
97
97
|
iab._loadAfterBeforeload(params.url);
|
|
98
98
|
}
|
|
99
99
|
});
|
|
100
|
+
iab.addEventListener('loadstop', () => {
|
|
101
|
+
iab.insertCSS({ code: `#ContentDiv{
|
|
102
|
+
height: 100vh;
|
|
103
|
+
}
|
|
104
|
+
iframe {
|
|
105
|
+
height: 100%!important;
|
|
106
|
+
min-height: 100%;
|
|
107
|
+
}`
|
|
108
|
+
});
|
|
109
|
+
});
|
|
100
110
|
iab.addEventListener('loaderror', () => {
|
|
101
111
|
if (overlays.isAndroid()) {
|
|
102
112
|
iab.close();
|
|
@@ -1058,7 +1058,7 @@ export class YooFormAutocompleteComponent {
|
|
|
1058
1058
|
if (this.entityType === 'files') {
|
|
1059
1059
|
displayType = 'card-file';
|
|
1060
1060
|
}
|
|
1061
|
-
if (this.entityType === 'user') {
|
|
1061
|
+
if (this.entityType === 'user' && !this.tag) {
|
|
1062
1062
|
displayType = 'card-list';
|
|
1063
1063
|
}
|
|
1064
1064
|
return (h("div", { class: "readonly" },
|
|
@@ -79,6 +79,16 @@ export class YooFormScormComponent {
|
|
|
79
79
|
iab._loadAfterBeforeload(params.url);
|
|
80
80
|
}
|
|
81
81
|
});
|
|
82
|
+
iab.addEventListener('loadstop', () => {
|
|
83
|
+
iab.insertCSS({ code: `#ContentDiv{
|
|
84
|
+
height: 100vh;
|
|
85
|
+
}
|
|
86
|
+
iframe {
|
|
87
|
+
height: 100%!important;
|
|
88
|
+
min-height: 100%;
|
|
89
|
+
}`
|
|
90
|
+
});
|
|
91
|
+
});
|
|
82
92
|
iab.addEventListener('loaderror', () => {
|
|
83
93
|
if (isAndroid()) {
|
|
84
94
|
iab.close();
|
|
@@ -1058,7 +1058,7 @@ const YooFormAutocompleteComponent = class {
|
|
|
1058
1058
|
if (this.entityType === 'files') {
|
|
1059
1059
|
displayType = 'card-file';
|
|
1060
1060
|
}
|
|
1061
|
-
if (this.entityType === 'user') {
|
|
1061
|
+
if (this.entityType === 'user' && !this.tag) {
|
|
1062
1062
|
displayType = 'card-list';
|
|
1063
1063
|
}
|
|
1064
1064
|
return (h("div", { class: "readonly" }, h("div", { class: {
|
|
@@ -93,6 +93,16 @@ const YooFormScormComponent = class {
|
|
|
93
93
|
iab._loadAfterBeforeload(params.url);
|
|
94
94
|
}
|
|
95
95
|
});
|
|
96
|
+
iab.addEventListener('loadstop', () => {
|
|
97
|
+
iab.insertCSS({ code: `#ContentDiv{
|
|
98
|
+
height: 100vh;
|
|
99
|
+
}
|
|
100
|
+
iframe {
|
|
101
|
+
height: 100%!important;
|
|
102
|
+
min-height: 100%;
|
|
103
|
+
}`
|
|
104
|
+
});
|
|
105
|
+
});
|
|
96
106
|
iab.addEventListener('loaderror', () => {
|
|
97
107
|
if (isAndroid()) {
|
|
98
108
|
iab.close();
|
|
@@ -1058,7 +1058,7 @@ const YooFormAutocompleteComponent = class {
|
|
|
1058
1058
|
if (this.entityType === 'files') {
|
|
1059
1059
|
displayType = 'card-file';
|
|
1060
1060
|
}
|
|
1061
|
-
if (this.entityType === 'user') {
|
|
1061
|
+
if (this.entityType === 'user' && !this.tag) {
|
|
1062
1062
|
displayType = 'card-list';
|
|
1063
1063
|
}
|
|
1064
1064
|
return (h("div", { class: "readonly" }, h("div", { class: {
|
|
@@ -93,6 +93,16 @@ const YooFormScormComponent = class {
|
|
|
93
93
|
iab._loadAfterBeforeload(params.url);
|
|
94
94
|
}
|
|
95
95
|
});
|
|
96
|
+
iab.addEventListener('loadstop', () => {
|
|
97
|
+
iab.insertCSS({ code: `#ContentDiv{
|
|
98
|
+
height: 100vh;
|
|
99
|
+
}
|
|
100
|
+
iframe {
|
|
101
|
+
height: 100%!important;
|
|
102
|
+
min-height: 100%;
|
|
103
|
+
}`
|
|
104
|
+
});
|
|
105
|
+
});
|
|
96
106
|
iab.addEventListener('loaderror', () => {
|
|
97
107
|
if (isAndroid()) {
|
|
98
108
|
iab.close();
|