@hpcc-js/form 2.12.1 → 2.12.3

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/src/TextArea.ts CHANGED
@@ -1,48 +1,48 @@
1
- import { Input } from "./Input";
2
-
3
- export class TextArea extends Input {
4
- constructor() {
5
- super();
6
-
7
- this._tag = "div";
8
- this.type("textarea");
9
- }
10
-
11
- enter(domNode, element) {
12
- super.enter(domNode, element);
13
- }
14
-
15
- calcHeight() {
16
- return Math.max(this.minHeight_exists() ? this.minHeight() : 0, this.height());
17
- }
18
-
19
- update(domNode, element) {
20
- super.update(domNode, element);
21
- this._inputElement[0]
22
- .attr("rows", this.rows())
23
- .attr("cols", this.cols())
24
- .attr("wrap", this.wrap())
25
- .attr("spellcheck", this.spellcheck())
26
- .style("height", this.calcHeight() + "px")
27
- ;
28
- }
29
-
30
- rows: { (): number; (_: number): TextArea };
31
- rows_exists: () => boolean;
32
- cols: { (): number; (_: number): TextArea };
33
- cols_exists: () => boolean;
34
- wrap: { (): string; (_: string): TextArea };
35
- wrap_exists: () => boolean;
36
- minHeight: { (): number; (_: number): TextArea };
37
- minHeight_exists: () => boolean;
38
- spellcheck: { (): boolean; (_: boolean): TextArea };
39
- spellcheck_exists: () => boolean;
40
- value: { (): any; (_: any): TextArea };
41
- }
42
- TextArea.prototype._class += " form_TextArea";
43
-
44
- TextArea.prototype.publish("rows", null, "number", "Rows", null, { optional: true });
45
- TextArea.prototype.publish("cols", null, "number", "Columns", null, { optional: true });
46
- TextArea.prototype.publish("wrap", "off", "set", "Wrap", ["off", "on"]);
47
- TextArea.prototype.publish("minHeight", null, "number", "Minimum Height", null, { optional: true });
48
- TextArea.prototype.publish("spellcheck", null, "boolean", "Input spell checking", { optional: true });
1
+ import { Input } from "./Input";
2
+
3
+ export class TextArea extends Input {
4
+ constructor() {
5
+ super();
6
+
7
+ this._tag = "div";
8
+ this.type("textarea");
9
+ }
10
+
11
+ enter(domNode, element) {
12
+ super.enter(domNode, element);
13
+ }
14
+
15
+ calcHeight() {
16
+ return Math.max(this.minHeight_exists() ? this.minHeight() : 0, this.height());
17
+ }
18
+
19
+ update(domNode, element) {
20
+ super.update(domNode, element);
21
+ this._inputElement[0]
22
+ .attr("rows", this.rows())
23
+ .attr("cols", this.cols())
24
+ .attr("wrap", this.wrap())
25
+ .attr("spellcheck", this.spellcheck())
26
+ .style("height", this.calcHeight() + "px")
27
+ ;
28
+ }
29
+
30
+ rows: { (): number; (_: number): TextArea };
31
+ rows_exists: () => boolean;
32
+ cols: { (): number; (_: number): TextArea };
33
+ cols_exists: () => boolean;
34
+ wrap: { (): string; (_: string): TextArea };
35
+ wrap_exists: () => boolean;
36
+ minHeight: { (): number; (_: number): TextArea };
37
+ minHeight_exists: () => boolean;
38
+ spellcheck: { (): boolean; (_: boolean): TextArea };
39
+ spellcheck_exists: () => boolean;
40
+ value: { (): any; (_: any): TextArea };
41
+ }
42
+ TextArea.prototype._class += " form_TextArea";
43
+
44
+ TextArea.prototype.publish("rows", null, "number", "Rows", null, { optional: true });
45
+ TextArea.prototype.publish("cols", null, "number", "Columns", null, { optional: true });
46
+ TextArea.prototype.publish("wrap", "off", "set", "Wrap", ["off", "on"]);
47
+ TextArea.prototype.publish("minHeight", null, "number", "Minimum Height", null, { optional: true });
48
+ TextArea.prototype.publish("spellcheck", null, "boolean", "Input spell checking", { optional: true });
@@ -1,3 +1,3 @@
1
- export const PKG_NAME = "@hpcc-js/form";
2
- export const PKG_VERSION = "2.12.1";
3
- export const BUILD_VERSION = "2.108.2";
1
+ export const PKG_NAME = "@hpcc-js/form";
2
+ export const PKG_VERSION = "2.12.2";
3
+ export const BUILD_VERSION = "2.108.6";
package/src/index.ts CHANGED
@@ -1,14 +1,14 @@
1
- export * from "./__package__";
2
- export * from "./Button";
3
- export * from "./CheckBox";
4
- export * from "./ColorInput";
5
- export * from "./Form";
6
- export * from "./FieldForm";
7
- export * from "./Input";
8
- export * from "./InputRange";
9
- export * from "./OnOff";
10
- export * from "./Radio";
11
- export * from "./Range";
12
- export * from "./Select";
13
- export * from "./Slider";
14
- export * from "./TextArea";
1
+ export * from "./__package__";
2
+ export * from "./Button";
3
+ export * from "./CheckBox";
4
+ export * from "./ColorInput";
5
+ export * from "./Form";
6
+ export * from "./FieldForm";
7
+ export * from "./Input";
8
+ export * from "./InputRange";
9
+ export * from "./OnOff";
10
+ export * from "./Radio";
11
+ export * from "./Range";
12
+ export * from "./Select";
13
+ export * from "./Slider";
14
+ export * from "./TextArea";
@@ -1 +1 @@
1
- {"version":3,"file":"Slider.d.ts","sourceRoot":"","sources":["../src/Slider.ts"],"names":[],"mappings":"AACA,OAAO,EAA+B,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAMzE,OAAO,mBAAmB,CAAC;AAE3B,qBAAa,MAAO,SAAQ,SAAS;IACjC,MAAM,MAAC;IAEP,QAAQ,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;IACpC,YAAY,EAAE,MAAM,CAAC;IAErB,SAAS,MAAC;IAEV,MAAM,MAAC;IAEP,UAAU,MAAC;IACX,aAAa,EAAE,MAAM,CAAK;IAC1B,kBAAkB,EAAE,MAAM,CAAC;IAE3B,WAAW,MAAC;IACZ,cAAc,EAAE,MAAM,CAAK;IAC3B,mBAAmB,EAAE,MAAM,CAAC;;IAO5B,KAAK,CAAC,OAAO,KAAA,EAAE,OAAO,KAAA;IA6DtB,MAAM,CAAC,OAAO,KAAA,EAAE,OAAO,KAAA;IA8EvB,iBAAiB;IAOjB,aAAa;IAWb,MAAM,IAAI,MAAM;IAQhB,OAAO,IAAI,MAAM;IAQjB,YAAY,CAAC,GAAG,KAAA;IA8BhB,SAAS,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM;IAO9B,WAAW,CAAC,GAAG,KAAA;IAKf,UAAU,qBAuBR;IAEF,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,MAAM,KAAK,MAAM,GAAG,IAAI,CAAC;IACpC,MAAM,EAAE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MAAM,GAAG,IAAI,CAAC;IACjC,WAAW,IAAI,MAAM,CAAC;IACtB,WAAW,CAAC,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE7B,cAAc,IAAI,OAAO,CAAC;IAC1B,eAAe,IAAI,OAAO,CAAC;IAC3B,iBAAiB,IAAI,OAAO,CAAC;IAC7B,gBAAgB,IAAI,OAAO,CAAC;IAC5B,iBAAiB,IAAI,OAAO,CAAC;IAC7B,UAAU,IAAI,OAAO,CAAC;IACtB,WAAW,IAAI,OAAO,CAAC;IACvB,WAAW,IAAI,OAAO,CAAC;IACvB,qBAAqB,IAAI,OAAO,CAAC;IACjC,WAAW,IAAI,OAAO,CAAC;IACvB,YAAY,IAAI,OAAO,CAAC;IACxB,YAAY,IAAI,OAAO,CAAC;IACxB,eAAe,IAAI,OAAO,CAAC;CAC9B"}
@@ -1,4 +1,4 @@
1
1
  export declare const PKG_NAME = "@hpcc-js/form";
2
- export declare const PKG_VERSION = "2.12.1";
3
- export declare const BUILD_VERSION = "2.108.2";
2
+ export declare const PKG_VERSION = "2.12.2";
3
+ export declare const BUILD_VERSION = "2.108.6";
4
4
  //# sourceMappingURL=__package__.d.ts.map
@@ -1,4 +1,4 @@
1
1
  export declare const PKG_NAME = "@hpcc-js/form";
2
- export declare const PKG_VERSION = "2.12.1";
3
- export declare const BUILD_VERSION = "2.108.2";
2
+ export declare const PKG_VERSION = "2.12.2";
3
+ export declare const BUILD_VERSION = "2.108.6";
4
4
  //# sourceMappingURL=__package__.d.ts.map