jpf 5.1.1 → 5.1.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.
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.LabeledControlProperties = exports.LabeledControlElement = void 0;
|
|
4
4
|
exports.createLabeledControl = createLabeledControl;
|
|
5
5
|
const element_1 = require("../../../framework/element");
|
|
6
|
-
const
|
|
6
|
+
const Span_1 = require("../../html/Span/Span");
|
|
7
7
|
class LabeledControlElement extends element_1.Element {
|
|
8
8
|
constructor(properties) {
|
|
9
9
|
super({
|
|
@@ -15,12 +15,7 @@ class LabeledControlElement extends element_1.Element {
|
|
|
15
15
|
}
|
|
16
16
|
})
|
|
17
17
|
}, [
|
|
18
|
-
(0,
|
|
19
|
-
target: properties.labelProperties,
|
|
20
|
-
preserveExisting: {
|
|
21
|
-
elementType: "LabeledControlElement"
|
|
22
|
-
}
|
|
23
|
-
})),
|
|
18
|
+
(0, Span_1.createSpan)(properties.labelProperties),
|
|
24
19
|
properties.element
|
|
25
20
|
]);
|
|
26
21
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LabeledControl.js","sourceRoot":"","sources":["../../../../src/controls/custom/LabeledControl/LabeledControl.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"LabeledControl.js","sourceRoot":"","sources":["../../../../src/controls/custom/LabeledControl/LabeledControl.ts"],"names":[],"mappings":";;;AA8BA,oDAEC;AAhCD,wDAAsH;AACtH,+CAAkD;AAOlD,MAAa,qBAAsB,SAAQ,iBAA+B;IACtE,YAAY,UAAkC;QAC1C,KAAK,CACD;YACI,OAAO,EAAE,KAAK;YACd,UAAU,EAAE,IAAA,0BAAgB,EACxB;gBACI,MAAM,EAAE,UAAU;gBAClB,gBAAgB,EAAE;oBACd,WAAW,EAAE,uBAAuB;iBACvC;aACJ,CACJ;SACJ,EACD;YACI,IAAA,iBAAU,EAAC,UAAU,CAAC,eAAe,CAAC;YACtC,UAAU,CAAC,OAAO;SACrB,CACJ,CAAC;IACN,CAAC;CACJ;AApBD,sDAoBC;AAED,SAAgB,oBAAoB,CAAC,UAAkC;IACnE,OAAO,IAAI,qBAAqB,CAAC,UAAU,CAAC,CAAC;AACjD,CAAC;AAED,MAAa,wBAAwB;IACjC,YAAY,UAAkC;QAC1C,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;IACpC,CAAC;IACD,eAAe,CAAqB;IACpC,OAAO,CAAW;CACrB;AAND,4DAMC;AAED,IAAA,yBAAe,EACX,wBAAwB,EACxB,qBAAqB,CACxB,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Element, IElement, addToDictionary, IElementProperties, extendProperties } from "../../../framework/element";
|
|
2
|
-
import {
|
|
2
|
+
import { createSpan } from "../../html/Span/Span";
|
|
3
3
|
|
|
4
4
|
export interface ILabeledViewProperties extends IElementProperties {
|
|
5
5
|
labelProperties: IElementProperties;
|
|
@@ -21,16 +21,7 @@ export class LabeledControlElement extends Element<ILabeledViewProperties> {
|
|
|
21
21
|
)
|
|
22
22
|
},
|
|
23
23
|
[
|
|
24
|
-
|
|
25
|
-
extendProperties(
|
|
26
|
-
{
|
|
27
|
-
target: properties.labelProperties,
|
|
28
|
-
preserveExisting: {
|
|
29
|
-
elementType: "LabeledControlElement"
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
)
|
|
33
|
-
),
|
|
24
|
+
createSpan(properties.labelProperties),
|
|
34
25
|
properties.element
|
|
35
26
|
]
|
|
36
27
|
);
|