be-intl 0.0.46 → 0.0.48

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/README.md CHANGED
@@ -55,7 +55,7 @@ Any web server than can serve static files will do, but...
55
55
  4. Open command window to folder where you cloned this repo.
56
56
  5. > npm install
57
57
  6. > npm run serve
58
- 7. Open http://localhost:3030/demo in a modern browser.
58
+ 7. Open http://localhost:8000/demo in a modern browser.
59
59
 
60
60
  ## Importing in ES Modules:
61
61
 
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
  /**
@@ -1,7 +1,7 @@
1
1
  // @ts-check
2
2
  import { BeHive, MountObserver, seed } from 'be-hive/be-hive.js';
3
3
  const defaultLocale = new Intl.NumberFormat().resolvedOptions().locale;
4
- /** @import {EMC} from './ts-refs/trans-render/be/types.d.ts' */
4
+ /** @import {EMC} from './ts-refs/trans-render/be/types' */
5
5
 
6
6
  /**
7
7
  * @type {EMC}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "be-intl",
3
- "version": "0.0.46",
3
+ "version": "0.0.48",
4
4
  "keywords": [
5
5
  "web-components",
6
6
  "web-component",
@@ -13,29 +13,30 @@
13
13
  "exports": {
14
14
  ".": "./be-intl.js",
15
15
  "./be-intl.js": "./be-intl.js",
16
- "./behivior.js": "./behivior.js"
16
+ "./emc.js": "./emc.js",
17
+ "./🌐.js": "./🌐.js"
17
18
  },
18
19
  "files": [
19
20
  "*.js",
20
21
  "types.d.ts"
21
22
  ],
22
- "types": "types.d.ts",
23
+ "types": "./ts-refs/types.d.ts",
23
24
  "scripts": {
24
25
  "test": "playwright test",
25
- "serve": "node node_modules/may-it-serve/serve.js",
26
- "safari": "npx playwright wk http://localhost:3030",
26
+ "serve": "python3 ./node_modules/ssi-server/ssi_server.py",
27
+ "safari": "npx playwright wk http://localhost:8000",
27
28
  "update": "ncu -u && npm install"
28
29
  },
29
30
  "dependencies": {
30
- "be-enhanced": "0.0.131",
31
- "be-hive": "0.0.201",
32
- "be-propagating": "0.0.57",
33
- "be-value-added": "0.0.50",
34
- "trans-render": "0.0.821"
31
+ "be-enhanced": "0.0.163",
32
+ "be-hive": "0.0.243",
33
+ "be-propagating": "0.0.58",
34
+ "be-value-added": "0.0.51",
35
+ "trans-render": "0.0.877"
35
36
  },
36
37
  "devDependencies": {
37
- "may-it-serve": "0.0.8",
38
- "@playwright/test": "1.46.0"
38
+ "ssi-server": "0.0.1",
39
+ "@playwright/test": "1.49.1"
39
40
  },
40
41
  "author": "anderson.bruce.b@gmail.com",
41
42
  "license": "MIT"
@@ -1,6 +1,6 @@
1
1
  // @ts-check
2
2
  import { MountObserver, seed, BeHive } from 'be-hive/be-hive.js';
3
- import { emc as baseEMC } from './behivior.js';
3
+ import { emc as baseEMC } from './emc.js';
4
4
  /** @import {EMC} from './ts-refs/trans-render/be/types.d.ts' */
5
5
 
6
6
  /**
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
- }