jpf-mobx 1.0.32 → 1.0.34

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.
@@ -1,15 +1,16 @@
1
1
  import { Properties, IProperties } from "../../../framework/properties";
2
2
  import { Element, IElement } from "../../../framework/element";
3
- export interface LabeledViewProperties extends IProperties {
4
- labelProperties: Properties;
3
+ export interface ILabeledViewProperties extends IProperties {
4
+ labelProperties: IProperties;
5
5
  element: IElement;
6
6
  }
7
- export declare class LabeledControlElement extends Element<LabeledViewProperties> {
8
- constructor(properties: LabeledViewProperties);
7
+ declare class LabeledControlElement extends Element<ILabeledViewProperties> {
8
+ constructor(properties: ILabeledViewProperties);
9
9
  }
10
- export declare function labeledControlView(properties: LabeledViewProperties): LabeledControlElement;
11
- export declare class LabeledControlProperties extends Properties implements LabeledViewProperties {
12
- constructor(properties: LabeledViewProperties);
10
+ export declare function labeledControlElement(properties: ILabeledViewProperties): LabeledControlElement;
11
+ export declare class LabeledControlProperties extends Properties implements ILabeledViewProperties {
12
+ constructor(properties: ILabeledViewProperties);
13
13
  labelProperties: Properties;
14
14
  element: IElement;
15
15
  }
16
+ export {};
@@ -1,7 +1,7 @@
1
1
  import { Properties, extendProperties } from "../../../framework/properties";
2
2
  import { Element, registerElement } from "../../../framework/element";
3
3
  import { divElement } from "../../html/Div/Div";
4
- export class LabeledControlElement extends Element {
4
+ class LabeledControlElement extends Element {
5
5
  constructor(properties) {
6
6
  super({
7
7
  tagName: "div",
@@ -22,7 +22,7 @@ export class LabeledControlElement extends Element {
22
22
  });
23
23
  }
24
24
  }
25
- export function labeledControlView(properties) {
25
+ export function labeledControlElement(properties) {
26
26
  return new LabeledControlElement(properties);
27
27
  }
28
28
  export class LabeledControlProperties extends Properties {
@@ -1 +1 @@
1
- {"version":3,"file":"LabeledControl.js","sourceRoot":"","sources":["../../../../src/controls/custom/LabeledControl/LabeledControl.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAe,gBAAgB,EAAE,MAAM,+BAA+B,CAAA;AACzF,OAAO,EAAE,OAAO,EAAY,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAChF,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAOhD,MAAM,OAAO,qBAAsB,SAAQ,OAA8B;IACrE,YAAY,UAAiC;QACzC,KAAK,CACD;YACI,OAAO,EAAE,KAAK;YACd,UAAU,EAAE,gBAAgB,CACxB,UAAU,EACV;gBACI,WAAW,EAAE,gBAAgB;gBAC7B,KAAK,EAAE;oBACH,OAAO,EAAE,MAAM;oBACf,UAAU,EAAE,QAAQ;iBACvB;gBACD,UAAU,EAAE,CAAC,kBAAkB,CAAC;aACnC,EACD,IAAI,CACP;YACD,QAAQ,EAAE;gBACN,UAAU,CACN,gBAAgB,CACZ,UAAU,CAAC,eAAe,EAC1B;oBACI,QAAQ,EAAE,OAAO;iBACpB,EACD,IAAI,CACP,CACJ;gBACD,UAAU,CAAC,OAAO;aACrB;SACJ,CACJ,CAAC;IACN,CAAC;CACJ;AAED,MAAM,UAAU,kBAAkB,CAAC,UAAiC;IAChE,OAAO,IAAI,qBAAqB,CAAC,UAAU,CAAC,CAAC;AACjD,CAAC;AAED,MAAM,OAAO,wBAAyB,SAAQ,UAAU;IACpD,YAAY,UAAiC;QACzC,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,aAAa,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;IACzC,CAAC;IACD,eAAe,CAAa;IAC5B,OAAO,CAAW;CACrB;AAED,eAAe,CACX,wBAAwB,EACxB,qBAAqB,CACxB,CAAA"}
1
+ {"version":3,"file":"LabeledControl.js","sourceRoot":"","sources":["../../../../src/controls/custom/LabeledControl/LabeledControl.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAe,gBAAgB,EAAE,MAAM,+BAA+B,CAAA;AACzF,OAAO,EAAE,OAAO,EAAY,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAChF,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAOhD,MAAM,qBAAsB,SAAQ,OAA+B;IAC/D,YAAY,UAAkC;QAC1C,KAAK,CACD;YACI,OAAO,EAAE,KAAK;YACd,UAAU,EAAE,gBAAgB,CACxB,UAAU,EACV;gBACI,WAAW,EAAE,gBAAgB;gBAC7B,KAAK,EAAE;oBACH,OAAO,EAAE,MAAM;oBACf,UAAU,EAAE,QAAQ;iBACvB;gBACD,UAAU,EAAE,CAAC,kBAAkB,CAAC;aACnC,EACD,IAAI,CACP;YACD,QAAQ,EAAE;gBACN,UAAU,CACN,gBAAgB,CACZ,UAAU,CAAC,eAAe,EAC1B;oBACI,QAAQ,EAAE,OAAO;iBACpB,EACD,IAAI,CACP,CACJ;gBACD,UAAU,CAAC,OAAO;aACrB;SACJ,CACJ,CAAC;IACN,CAAC;CACJ;AAED,MAAM,UAAU,qBAAqB,CAAC,UAAkC;IACpE,OAAO,IAAI,qBAAqB,CAAC,UAAU,CAAC,CAAC;AACjD,CAAC;AAED,MAAM,OAAO,wBAAyB,SAAQ,UAAU;IACpD,YAAY,UAAkC;QAC1C,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,aAAa,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;IACzC,CAAC;IACD,eAAe,CAAa;IAC5B,OAAO,CAAW;CACrB;AAED,eAAe,CACX,wBAAwB,EACxB,qBAAqB,CACxB,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jpf-mobx",
3
- "version": "1.0.32",
3
+ "version": "1.0.34",
4
4
  "description": "Javascript Presentation Foundation with mobx state management",
5
5
  "keywords": [
6
6
  "mvvm",
@@ -2,13 +2,13 @@
2
2
  import { Element, IElement, registerElement } from "../../../framework/element";
3
3
  import { divElement } from "../../html/Div/Div";
4
4
 
5
- export interface LabeledViewProperties extends IProperties {
6
- labelProperties: Properties;
5
+ export interface ILabeledViewProperties extends IProperties {
6
+ labelProperties: IProperties;
7
7
  element: IElement;
8
8
  }
9
9
 
10
- export class LabeledControlElement extends Element<LabeledViewProperties> {
11
- constructor(properties: LabeledViewProperties) {
10
+ class LabeledControlElement extends Element<ILabeledViewProperties> {
11
+ constructor(properties: ILabeledViewProperties) {
12
12
  super(
13
13
  {
14
14
  tagName: "div",
@@ -41,12 +41,12 @@ export class LabeledControlElement extends Element<LabeledViewProperties> {
41
41
  }
42
42
  }
43
43
 
44
- export function labeledControlView(properties: LabeledViewProperties) {
44
+ export function labeledControlElement(properties: ILabeledViewProperties) {
45
45
  return new LabeledControlElement(properties);
46
46
  }
47
47
 
48
- export class LabeledControlProperties extends Properties implements LabeledViewProperties {
49
- constructor(properties: LabeledViewProperties) {
48
+ export class LabeledControlProperties extends Properties implements ILabeledViewProperties {
49
+ constructor(properties: ILabeledViewProperties) {
50
50
  super();
51
51
  this.setProperties(this, properties);
52
52
  }