@rxdi/forms 0.7.190 → 0.7.191-nightly.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.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Form = void 0;
3
+ exports.Form = Form;
4
4
  const form_group_1 = require("./form.group");
5
5
  const rx_fake_1 = require("./rx-fake");
6
6
  function Form(options = {
@@ -38,4 +38,3 @@ function Form(options = {
38
38
  };
39
39
  };
40
40
  }
41
- exports.Form = Form;
@@ -1,4 +1,4 @@
1
- export declare type FormStrategies = keyof WindowEventMap;
1
+ export type FormStrategies = keyof WindowEventMap;
2
2
  export interface FormOptions {
3
3
  /** Name of the form element */
4
4
  name: string;
@@ -40,4 +40,4 @@ export declare const InputValidityState: {
40
40
  valid: "valid";
41
41
  valueMissing: "valueMissing";
42
42
  };
43
- export declare type InputValidityState = keyof typeof InputValidityState;
43
+ export type InputValidityState = keyof typeof InputValidityState;
package/dist/index.js CHANGED
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
package/dist/rx-fake.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { BehaviorSubject as BS, Observable as O, Subscription as S } from 'rxjs';
2
- declare type OBS<T> = (o: $Observable<T>) => void | Function;
3
- declare type FN<T> = (a: T) => void;
2
+ type OBS<T> = (o: $Observable<T>) => void | Function;
3
+ type FN<T> = (a: T) => void;
4
4
  export declare class $Subscription<T> {
5
5
  o: Map<Function, FN<T>>;
6
6
  unsubscribe(): void;
package/dist/rx-fake.js CHANGED
@@ -1,6 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Subscription = exports.Observable = exports.BehaviorSubject = exports.noop = exports.$BehaviorSubject = exports.$Observable = exports.$Subscription = void 0;
3
+ exports.$BehaviorSubject = exports.$Observable = exports.$Subscription = void 0;
4
+ exports.noop = noop;
5
+ exports.BehaviorSubject = BehaviorSubject;
6
+ exports.Observable = Observable;
7
+ exports.Subscription = Subscription;
4
8
  class $Subscription {
5
9
  constructor() {
6
10
  this.o = new Map();
@@ -81,19 +85,15 @@ function subscriptionOrFake() {
81
85
  return $Subscription;
82
86
  }
83
87
  function noop() { }
84
- exports.noop = noop;
85
88
  function BehaviorSubject(init) {
86
89
  const b = behaviorOrFake();
87
90
  return new b(init);
88
91
  }
89
- exports.BehaviorSubject = BehaviorSubject;
90
92
  function Observable(fn) {
91
93
  const o = observableOrFake();
92
94
  return new o(fn);
93
95
  }
94
- exports.Observable = Observable;
95
96
  function Subscription() {
96
97
  const s = subscriptionOrFake();
97
98
  return new s();
98
99
  }
99
- exports.Subscription = Subscription;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rxdi/forms",
3
- "version": "0.7.190",
3
+ "version": "0.7.191-nightly.0",
4
4
  "main": "./dist/index.js",
5
5
  "author": "Kristiyan Tachev",
6
6
  "license": "MIT",
@@ -12,10 +12,10 @@
12
12
  "build": "tsc || true"
13
13
  },
14
14
  "devDependencies": {
15
- "@rxdi/lit-html": "^0.7.189",
16
- "@types/node": "^12.0.10",
15
+ "@rxdi/lit-html": "^0.7.190",
16
+ "@types/node": "^25.0.3",
17
17
  "rxjs": "^7.8.0",
18
- "typescript": "^4.3.5"
18
+ "typescript": "^5.9.3"
19
19
  },
20
20
  "types": "./dist/index.d.ts",
21
21
  "module": "./dist/index.js",