@pie-element/select-text 8.9.2-next.7 → 8.10.1-next.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/CHANGELOG.md +11 -0
- package/configure/CHANGELOG.md +11 -0
- package/configure/package.json +2 -2
- package/controller/CHANGELOG.md +11 -0
- package/controller/package.json +2 -2
- package/module/configure.js +24 -22
- package/module/element.js +24 -22
- package/module/index.html +1 -1
- package/module/manifest.json +2 -2
- package/module/print.html +1 -1
- package/module/print.js +24 -22
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [8.10.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/select-text@8.9.1...@pie-element/select-text@8.10.0) (2024-04-18)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* update pie-lib/pie-toolbox SC-30530, SC-30682, PD-3607, PD-3655 ([f08bccf](https://github.com/pie-framework/pie-elements/commit/f08bccf86fcb430e75e410116b000b3affc252c0))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [8.9.1](https://github.com/pie-framework/pie-elements/compare/@pie-element/select-text@8.9.0...@pie-element/select-text@8.9.1) (2024-04-01)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @pie-element/select-text
|
package/configure/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [7.9.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/select-text-configure@7.8.1...@pie-element/select-text-configure@7.9.0) (2024-04-18)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* update pie-lib/pie-toolbox SC-30530, SC-30682, PD-3607, PD-3655 ([f08bccf](https://github.com/pie-framework/pie-elements/commit/f08bccf86fcb430e75e410116b000b3affc252c0))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [7.8.1](https://github.com/pie-framework/pie-elements/compare/@pie-element/select-text-configure@7.8.0...@pie-element/select-text-configure@7.8.1) (2024-04-01)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @pie-element/select-text-configure
|
package/configure/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pie-element/select-text-configure",
|
|
3
3
|
"private": true,
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.9.0",
|
|
5
5
|
"description": "",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"module": "src/index.js",
|
|
8
8
|
"dependencies": {
|
|
9
9
|
"@material-ui/core": "^3.9.2",
|
|
10
10
|
"@pie-framework/pie-configure-events": "^1.3.0",
|
|
11
|
-
"@pie-lib/pie-toolbox": "1.
|
|
11
|
+
"@pie-lib/pie-toolbox": "1.15.0",
|
|
12
12
|
"debug": "^3.1.0",
|
|
13
13
|
"lodash": "^4.17.15",
|
|
14
14
|
"prop-types": "^15.6.2",
|
package/controller/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [5.8.0](https://github.com/pie-framework/pie-elements/compare/@pie-element/select-text-controller@5.7.1...@pie-element/select-text-controller@5.8.0) (2024-04-18)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* update pie-lib/pie-toolbox SC-30530, SC-30682, PD-3607, PD-3655 ([f08bccf](https://github.com/pie-framework/pie-elements/commit/f08bccf86fcb430e75e410116b000b3affc252c0))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [5.7.1](https://github.com/pie-framework/pie-elements/compare/@pie-element/select-text-controller@5.7.0...@pie-element/select-text-controller@5.7.1) (2024-04-01)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @pie-element/select-text-controller
|
package/controller/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pie-element/select-text-controller",
|
|
3
3
|
"private": true,
|
|
4
|
-
"version": "5.
|
|
4
|
+
"version": "5.8.0",
|
|
5
5
|
"description": "",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"module": "src/index.js",
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@pie-lib/pie-toolbox": "1.
|
|
9
|
+
"@pie-lib/pie-toolbox": "1.15.0",
|
|
10
10
|
"debug": "^3.1.0",
|
|
11
11
|
"lodash": "^4.17.15"
|
|
12
12
|
},
|
package/module/configure.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {_dll_react, _dll_prop_types, _dll_classnames, _dll_react_dom, _dll_lodash, _dll_debug, _dll_react_dom_server} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.
|
|
1
|
+
import {_dll_react, _dll_prop_types, _dll_classnames, _dll_react_dom, _dll_lodash, _dll_debug, _dll_react_dom_server} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.7.1/module/index.js";
|
|
2
2
|
import {_dll_pie_lib__pie_toolbox_config_ui, _dll_pie_lib__pie_toolbox_editable_html} from "../../../@pie-lib/pie-toolbox-module@4.0.0/module/index.js";
|
|
3
3
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
4
4
|
function getDefaultExportFromCjs(x) {
|
|
@@ -104669,31 +104669,33 @@ const require$$11$3 = _dll_prop_types;
|
|
|
104669
104669
|
}, {
|
|
104670
104670
|
key: "alignImages",
|
|
104671
104671
|
value: function alignImages() {
|
|
104672
|
-
var
|
|
104673
|
-
|
|
104674
|
-
|
|
104675
|
-
|
|
104676
|
-
|
|
104677
|
-
|
|
104678
|
-
|
|
104679
|
-
|
|
104680
|
-
|
|
104681
|
-
|
|
104682
|
-
|
|
104683
|
-
|
|
104684
|
-
|
|
104685
|
-
|
|
104686
|
-
|
|
104687
|
-
|
|
104672
|
+
var previewPrompts = document.querySelectorAll('#preview-prompt');
|
|
104673
|
+
previewPrompts.forEach(function (previewPrompt) {
|
|
104674
|
+
var images = previewPrompt.getElementsByTagName('img');
|
|
104675
|
+
if (images && images.length) {
|
|
104676
|
+
var _iterator = _createForOfIteratorHelper(images), _step;
|
|
104677
|
+
try {
|
|
104678
|
+
for (_iterator.s(); !(_step = _iterator.n()).done; ) {
|
|
104679
|
+
var image = _step.value;
|
|
104680
|
+
if (image.attributes && image.attributes.alignment && image.attributes.alignment.value) {
|
|
104681
|
+
var parentNode = image.parentElement;
|
|
104682
|
+
if (!(parentNode.tagName === 'DIV' && parentNode.style.display === 'flex' && parentNode.style.width === '100%')) {
|
|
104683
|
+
var div = document.createElement('div');
|
|
104684
|
+
div.style.display = 'flex';
|
|
104685
|
+
div.style.width = '100%';
|
|
104686
|
+
var copyImage = image.cloneNode(true);
|
|
104687
|
+
div.appendChild(copyImage);
|
|
104688
|
+
parentNode.replaceChild(div, image);
|
|
104689
|
+
}
|
|
104688
104690
|
}
|
|
104689
104691
|
}
|
|
104692
|
+
} catch (err) {
|
|
104693
|
+
_iterator.e(err);
|
|
104694
|
+
} finally {
|
|
104695
|
+
_iterator.f();
|
|
104690
104696
|
}
|
|
104691
|
-
} catch (err) {
|
|
104692
|
-
_iterator.e(err);
|
|
104693
|
-
} finally {
|
|
104694
|
-
_iterator.f();
|
|
104695
104697
|
}
|
|
104696
|
-
}
|
|
104698
|
+
});
|
|
104697
104699
|
}
|
|
104698
104700
|
}, {
|
|
104699
104701
|
key: "render",
|
package/module/element.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {_dll_react, _dll_prop_types, _dll_react_dom, _dll_classnames, _dll_lodash, _dll_debug, _dll_react_dom_server, _dll_pie_lib__pie_toolbox_math_rendering_accessible} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.
|
|
1
|
+
import {_dll_react, _dll_prop_types, _dll_react_dom, _dll_classnames, _dll_lodash, _dll_debug, _dll_react_dom_server, _dll_pie_lib__pie_toolbox_math_rendering_accessible} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.7.1/module/index.js";
|
|
2
2
|
import {_dll_pie_lib__pie_toolbox_correct_answer_toggle, _dll_pie_lib__pie_toolbox_render_ui} from "../../../@pie-lib/pie-toolbox-module@4.0.0/module/index.js";
|
|
3
3
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
4
4
|
function getDefaultExportFromCjs(x) {
|
|
@@ -102215,31 +102215,33 @@ const require$$11$1 = _dll_prop_types;
|
|
|
102215
102215
|
}, {
|
|
102216
102216
|
key: "alignImages",
|
|
102217
102217
|
value: function alignImages() {
|
|
102218
|
-
var
|
|
102219
|
-
|
|
102220
|
-
|
|
102221
|
-
|
|
102222
|
-
|
|
102223
|
-
|
|
102224
|
-
|
|
102225
|
-
|
|
102226
|
-
|
|
102227
|
-
|
|
102228
|
-
|
|
102229
|
-
|
|
102230
|
-
|
|
102231
|
-
|
|
102232
|
-
|
|
102233
|
-
|
|
102218
|
+
var previewPrompts = document.querySelectorAll('#preview-prompt');
|
|
102219
|
+
previewPrompts.forEach(function (previewPrompt) {
|
|
102220
|
+
var images = previewPrompt.getElementsByTagName('img');
|
|
102221
|
+
if (images && images.length) {
|
|
102222
|
+
var _iterator = _createForOfIteratorHelper(images), _step;
|
|
102223
|
+
try {
|
|
102224
|
+
for (_iterator.s(); !(_step = _iterator.n()).done; ) {
|
|
102225
|
+
var image = _step.value;
|
|
102226
|
+
if (image.attributes && image.attributes.alignment && image.attributes.alignment.value) {
|
|
102227
|
+
var parentNode = image.parentElement;
|
|
102228
|
+
if (!(parentNode.tagName === 'DIV' && parentNode.style.display === 'flex' && parentNode.style.width === '100%')) {
|
|
102229
|
+
var div = document.createElement('div');
|
|
102230
|
+
div.style.display = 'flex';
|
|
102231
|
+
div.style.width = '100%';
|
|
102232
|
+
var copyImage = image.cloneNode(true);
|
|
102233
|
+
div.appendChild(copyImage);
|
|
102234
|
+
parentNode.replaceChild(div, image);
|
|
102235
|
+
}
|
|
102234
102236
|
}
|
|
102235
102237
|
}
|
|
102238
|
+
} catch (err) {
|
|
102239
|
+
_iterator.e(err);
|
|
102240
|
+
} finally {
|
|
102241
|
+
_iterator.f();
|
|
102236
102242
|
}
|
|
102237
|
-
} catch (err) {
|
|
102238
|
-
_iterator.e(err);
|
|
102239
|
-
} finally {
|
|
102240
|
-
_iterator.f();
|
|
102241
102243
|
}
|
|
102242
|
-
}
|
|
102244
|
+
});
|
|
102243
102245
|
}
|
|
102244
102246
|
}, {
|
|
102245
102247
|
key: "render",
|
package/module/index.html
CHANGED
package/module/manifest.json
CHANGED
package/module/print.html
CHANGED
package/module/print.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {_dll_react, _dll_prop_types, _dll_react_dom, _dll_classnames, _dll_lodash, _dll_debug, _dll_react_dom_server, _dll_pie_lib__pie_toolbox_math_rendering_accessible} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.
|
|
1
|
+
import {_dll_react, _dll_prop_types, _dll_react_dom, _dll_classnames, _dll_lodash, _dll_debug, _dll_react_dom_server, _dll_pie_lib__pie_toolbox_math_rendering_accessible} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.7.1/module/index.js";
|
|
2
2
|
import {_dll_pie_lib__pie_toolbox_correct_answer_toggle, _dll_pie_lib__pie_toolbox_render_ui} from "../../../@pie-lib/pie-toolbox-module@4.0.0/module/index.js";
|
|
3
3
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
4
4
|
function getDefaultExportFromCjs(x) {
|
|
@@ -102178,31 +102178,33 @@ const require$$11$1 = _dll_prop_types;
|
|
|
102178
102178
|
}, {
|
|
102179
102179
|
key: "alignImages",
|
|
102180
102180
|
value: function alignImages() {
|
|
102181
|
-
var
|
|
102182
|
-
|
|
102183
|
-
|
|
102184
|
-
|
|
102185
|
-
|
|
102186
|
-
|
|
102187
|
-
|
|
102188
|
-
|
|
102189
|
-
|
|
102190
|
-
|
|
102191
|
-
|
|
102192
|
-
|
|
102193
|
-
|
|
102194
|
-
|
|
102195
|
-
|
|
102196
|
-
|
|
102181
|
+
var previewPrompts = document.querySelectorAll('#preview-prompt');
|
|
102182
|
+
previewPrompts.forEach(function (previewPrompt) {
|
|
102183
|
+
var images = previewPrompt.getElementsByTagName('img');
|
|
102184
|
+
if (images && images.length) {
|
|
102185
|
+
var _iterator = _createForOfIteratorHelper(images), _step;
|
|
102186
|
+
try {
|
|
102187
|
+
for (_iterator.s(); !(_step = _iterator.n()).done; ) {
|
|
102188
|
+
var image = _step.value;
|
|
102189
|
+
if (image.attributes && image.attributes.alignment && image.attributes.alignment.value) {
|
|
102190
|
+
var parentNode = image.parentElement;
|
|
102191
|
+
if (!(parentNode.tagName === 'DIV' && parentNode.style.display === 'flex' && parentNode.style.width === '100%')) {
|
|
102192
|
+
var div = document.createElement('div');
|
|
102193
|
+
div.style.display = 'flex';
|
|
102194
|
+
div.style.width = '100%';
|
|
102195
|
+
var copyImage = image.cloneNode(true);
|
|
102196
|
+
div.appendChild(copyImage);
|
|
102197
|
+
parentNode.replaceChild(div, image);
|
|
102198
|
+
}
|
|
102197
102199
|
}
|
|
102198
102200
|
}
|
|
102201
|
+
} catch (err) {
|
|
102202
|
+
_iterator.e(err);
|
|
102203
|
+
} finally {
|
|
102204
|
+
_iterator.f();
|
|
102199
102205
|
}
|
|
102200
|
-
} catch (err) {
|
|
102201
|
-
_iterator.e(err);
|
|
102202
|
-
} finally {
|
|
102203
|
-
_iterator.f();
|
|
102204
102206
|
}
|
|
102205
|
-
}
|
|
102207
|
+
});
|
|
102206
102208
|
}
|
|
102207
102209
|
}, {
|
|
102208
102210
|
key: "render",
|
package/package.json
CHANGED
|
@@ -4,19 +4,19 @@
|
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
6
|
"repository": "pie-framework/pie-elements",
|
|
7
|
-
"version": "8.
|
|
7
|
+
"version": "8.10.1-next.0+abbffaffb",
|
|
8
8
|
"description": "",
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"@material-ui/core": "^3.9.2",
|
|
11
11
|
"@pie-framework/pie-player-events": "^0.1.0",
|
|
12
|
-
"@pie-lib/pie-toolbox": "1.
|
|
12
|
+
"@pie-lib/pie-toolbox": "1.15.0",
|
|
13
13
|
"prop-types": "^15.6.1",
|
|
14
14
|
"react": "^16.8.1",
|
|
15
15
|
"react-dom": "^16.8.1"
|
|
16
16
|
},
|
|
17
17
|
"author": "",
|
|
18
18
|
"license": "ISC",
|
|
19
|
-
"gitHead": "
|
|
19
|
+
"gitHead": "abbffaffb9b79d3f36a10d912f281fb094be8252",
|
|
20
20
|
"scripts": {
|
|
21
21
|
"postpublish": "../../scripts/postpublish"
|
|
22
22
|
},
|