Skip to content

Commit c37822e

Browse files
committed
1.2.4
Signed-off-by: Sascha Greuel <[email protected]>
1 parent 6d48a26 commit c37822e

File tree

5 files changed

+28
-18
lines changed

5 files changed

+28
-18
lines changed

fileDelete.xml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com https://www.woltlab.com/XSD/5.4/fileDelete.xsd">
3+
<delete>
4+
<file>acp/update_de.mysterycode.wcf.formBuilder.extension.php</file>
5+
<file>lib/system/form/builder/data/processor/MCRecurringElementsFormDataProcessor.class.php</file>
6+
<file>lib/system/form/builder/MCNestedFormDocument.class.php</file>
7+
<file>lib/system/form/builder/container/MCRecurringElementsFormContainer.class.php</file>
8+
<file>lib/system/form/builder/container/MCRegisterFormContainer.class.php</file>
9+
<file>lib/data/TI18nDatabaseObjectAction.class.php</file>
10+
</delete>
11+
</data>

files/js/MysteryCode/Form/Builder/Field/Wysiwyg/Attachment.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,16 @@
77
* @module MysteryCode/Form/Builder/Field/Field/Wysiwyg/Attachment
88
* @since 5.2
99
*/
10-
define(["require", "exports", "tslib", "WoltLabSuite/Core/Form/Builder/Field/Value", "WoltLabSuite/Core/Core"], function (require, exports, tslib_1, Value_1, Core) {
10+
define(["require", "exports", "tslib", "WoltLabSuite/Core/Form/Builder/Field/Value"], function (require, exports, tslib_1, Value_1) {
1111
"use strict";
12+
Object.defineProperty(exports, "__esModule", { value: true });
13+
exports.Attachment = void 0;
1214
Value_1 = tslib_1.__importDefault(Value_1);
13-
Core = tslib_1.__importStar(Core);
1415
class Attachment extends Value_1.default {
1516
constructor(fieldId) {
1617
super(fieldId + "_tmpHash");
1718
}
1819
}
19-
Core.enableLegacyInheritance(Attachment);
20-
return Attachment;
20+
exports.Attachment = Attachment;
21+
exports.default = Attachment;
2122
});

files/lib/data/TI18nDatabaseObjectAction.class.php renamed to files/lib/data/MCTI18nDatabaseObjectAction.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
*
1414
* @notice meant to be used in extensions of `AbstractDatabaseObjectAction` only
1515
*/
16-
trait TI18nDatabaseObjectAction
16+
trait MCTI18nDatabaseObjectAction
1717
{
1818
/**
1919
* @param string $propertyName

package.xml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
<packagename language="de"><![CDATA[Form Builder: Erweiterung]]></packagename>
66
<packagedescription><![CDATA[Extension for the form builder API.]]></packagedescription>
77
<packagedescription language="de"><![CDATA[Erweiterung für die Form Builder-API.]]></packagedescription>
8-
<version>1.2.3</version>
9-
<date><![CDATA[2022-07-27]]></date>
8+
<version>1.2.4</version>
9+
<date><![CDATA[2022-07-29]]></date>
1010
<license><![CDATA[Lesser General Public License (LGPL)]]></license>
1111
</packageinformation>
1212

@@ -24,14 +24,15 @@
2424
</excludedpackages>
2525

2626
<instructions type="install">
27-
<instruction type="file" />
28-
<instruction type="acpTemplate" />
29-
<instruction type="template" />
27+
<instruction type="file"/>
28+
<instruction type="acpTemplate"/>
29+
<instruction type="template"/>
3030
</instructions>
3131

3232
<instructions type="update" fromversion="*">
33-
<instruction type="file" />
34-
<instruction type="acpTemplate" />
35-
<instruction type="template" />
33+
<instruction type="file"/>
34+
<instruction type="acpTemplate"/>
35+
<instruction type="template"/>
36+
<instruction type="fileDelete"/>
3637
</instructions>
3738
</package>

ts/MysteryCode/Form/Builder/Field/Wysiwyg/Attachment.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,11 @@
99
*/
1010

1111
import Value from "WoltLabSuite/Core/Form/Builder/Field/Value";
12-
import * as Core from "WoltLabSuite/Core/Core";
1312

14-
class Attachment extends Value {
13+
export class Attachment extends Value {
1514
constructor(fieldId: string) {
1615
super(fieldId + "_tmpHash");
1716
}
1817
}
1918

20-
Core.enableLegacyInheritance(Attachment);
21-
22-
export = Attachment;
19+
export default Attachment;

0 commit comments

Comments
 (0)