be-intl 0.0.45 → 0.0.47

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.
Files changed (3) hide show
  1. package/be-intl.js +7 -2
  2. package/package.json +7 -7
  3. package/types.d.ts +0 -28
package/be-intl.js CHANGED
@@ -1,8 +1,10 @@
1
1
  // @ts-check
2
2
  import { propInfo, rejected, resolved } from 'be-enhanced/cc.js';
3
3
  import { BeValueAdded } from 'be-value-added/be-value-added.js';
4
- /** @import {Actions, AP} from './types' */
4
+ /** @import {Actions, AP} from './ts-refs/be-intl/types' */
5
5
  /** @import {BEConfig, IEnhancement, BEAllProps} from './ts-refs/be-enhanced/types.d.ts' */
6
+ /** @import {Positraction, PropLookup, PropInfo} from './ts-refs/trans-render/froop/types.d.ts' */
7
+ /** @import {BVAActions, BVAAllProps, BVAP} from './ts-refs/be-value-added/types' */;
6
8
 
7
9
  /**
8
10
  * @implements {Actions}
@@ -39,7 +41,10 @@ class BeIntl extends BeValueAdded {
39
41
  }
40
42
  },
41
43
  positractions: [
42
- resolved, rejected,
44
+ /** @type {Positraction<BVAP & BEAllProps>} */
45
+ (resolved),
46
+ /** @type {Positraction<BVAP & BEAllProps>} */
47
+ (rejected),
43
48
  ]
44
49
  };
45
50
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "be-intl",
3
- "version": "0.0.45",
3
+ "version": "0.0.47",
4
4
  "keywords": [
5
5
  "web-components",
6
6
  "web-component",
@@ -19,7 +19,7 @@
19
19
  "*.js",
20
20
  "types.d.ts"
21
21
  ],
22
- "types": "types.d.ts",
22
+ "types": "./ts-refs/types.d.ts",
23
23
  "scripts": {
24
24
  "test": "playwright test",
25
25
  "serve": "node node_modules/may-it-serve/serve.js",
@@ -27,11 +27,11 @@
27
27
  "update": "ncu -u && npm install"
28
28
  },
29
29
  "dependencies": {
30
- "be-enhanced": "0.0.131",
31
- "be-hive": "0.0.201",
32
- "be-propagating": "0.0.56",
33
- "be-value-added": "0.0.50",
34
- "trans-render": "0.0.821"
30
+ "be-enhanced": "0.0.133",
31
+ "be-hive": "0.0.202",
32
+ "be-propagating": "0.0.58",
33
+ "be-value-added": "0.0.51",
34
+ "trans-render": "0.0.825"
35
35
  },
36
36
  "devDependencies": {
37
37
  "may-it-serve": "0.0.8",
package/types.d.ts DELETED
@@ -1,28 +0,0 @@
1
- import {BVAEndUserProps, BVAAllProps, BVAActions} from './ts-refs/be-value-added/types';
2
- import {BEAllProps} from './ts-refs/be-enhanced/types';
3
-
4
- export interface EndUserProps extends BVAEndUserProps{
5
- format?: Intl.NumberFormatOptions | Intl.DateTimeFormatOptions,
6
- locale?: string;
7
- observeAttr?: string;
8
- currency?: string;
9
- }
10
-
11
- export interface AllProps extends EndUserProps, BVAAllProps{
12
- attached?: boolean;
13
- intlDateFormat?: Intl.DateTimeFormat,
14
- intlNumberFormat: Intl.NumberFormat,
15
- }
16
-
17
- export type AP = AllProps;
18
-
19
- export type PAP = Partial<AP>;
20
-
21
- export type ProPAP = Promise<PAP>;
22
-
23
-
24
- export interface Actions extends BVAActions {
25
- formatNumber(self: AP & BEAllProps): void;
26
- formatDate(self: this): void;
27
- onFormattingChange(self: this): PAP;
28
- }