@ctx-core/window 11.1.11 → 12.0.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/CHANGELOG.md +45 -0
- package/dist/hostname$_b.js.map +1 -1
- package/dist/index.js +0 -2
- package/dist/index.js.map +1 -1
- package/dist/pathname$_b.js.map +1 -1
- package/dist/window_location$_b.js.map +1 -1
- package/dist/window_location_hostname$_b.js.map +1 -1
- package/dist/window_location_pathname$_b.js.map +1 -1
- package/package.json +16 -18
- package/src/hostname$_b.ts +1 -2
- package/src/index.ts +0 -2
- package/src/pathname$_b.ts +1 -2
- package/src/window_location$_b.ts +1 -2
- package/src/window_location_hostname$_b.ts +1 -2
- package/src/window_location_pathname$_b.ts +1 -2
- package/dist/window_Ctx.js +0 -3
- package/dist/window_Ctx.js.map +0 -1
- package/dist/window_ctx_I.generated.js +0 -5
- package/dist/window_ctx_I.generated.js.map +0 -1
- package/src/window_Ctx.ts +0 -3
- package/src/window_ctx_I.generated.ts +0 -15
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,50 @@
|
|
|
1
1
|
# @ctx-core/window
|
|
2
2
|
|
|
3
|
+
## 12.0.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- fix: package.json: exports
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
- @ctx-core/dom@11.0.42
|
|
10
|
+
- @ctx-core/function@20.2.14
|
|
11
|
+
- @ctx-core/object@22.0.2
|
|
12
|
+
- @ctx-core/store@27.0.49
|
|
13
|
+
|
|
14
|
+
## 12.0.2
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- package.json: svelte: ./dist/index.js
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
- @ctx-core/dom@11.0.41
|
|
21
|
+
- @ctx-core/function@20.2.13
|
|
22
|
+
- @ctx-core/object@22.0.1
|
|
23
|
+
- @ctx-core/store@27.0.48
|
|
24
|
+
|
|
25
|
+
## 12.0.1
|
|
26
|
+
|
|
27
|
+
### Patch Changes
|
|
28
|
+
|
|
29
|
+
- svelte: 3.44.2 -> 3.44.3
|
|
30
|
+
- Updated dependencies
|
|
31
|
+
- @ctx-core/store@27.0.47
|
|
32
|
+
|
|
33
|
+
## 12.0.0
|
|
34
|
+
|
|
35
|
+
### Major Changes
|
|
36
|
+
|
|
37
|
+
- \*\_b: ctx is a map: @ctx-core/object: 22.0.0
|
|
38
|
+
|
|
39
|
+
### Patch Changes
|
|
40
|
+
|
|
41
|
+
- package.json: - module
|
|
42
|
+
- Updated dependencies
|
|
43
|
+
- Updated dependencies
|
|
44
|
+
- @ctx-core/object@22.0.0
|
|
45
|
+
- @ctx-core/dom@11.0.40
|
|
46
|
+
- @ctx-core/store@27.0.46
|
|
47
|
+
|
|
3
48
|
## 11.1.11
|
|
4
49
|
|
|
5
50
|
### Patch Changes
|
package/dist/hostname$_b.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/hostname$_b.ts"],"sourcesContent":["import { B, be_ } from '@ctx-core/object'\nimport { Writable$, writable$ } from '@ctx-core/store'\
|
|
1
|
+
{"version":3,"sources":["../src/hostname$_b.ts"],"sourcesContent":["import { B, be_ } from '@ctx-core/object'\nimport { Writable$, writable$ } from '@ctx-core/store'\nconst key = 'hostname$'\nexport const hostname$_b:B<hostname$_T> = be_(key, ()=>\n\twritable$(undefined) as hostname$_T\n)\nexport type hostname$_T = Writable$<string|undefined>\nexport { hostname$_b as b__hostname }\n"],"names":["be_","writable$","key","hostname$_b","undefined","b__hostname"],"mappings":"AAAA,MAAM,GAAMA,GAAG,QAAQ,CAAkB;AACzC,MAAM,GAAcC,SAAS,QAAQ,CAAiB;AACtD,KAAK,CAACC,GAAG,GAAG,CAAW;AACvB,MAAM,CAAC,KAAK,CAACC,WAAW,GAAkBH,GAAG,CAACE,GAAG,MAChDD,SAAS,CAACG,SAAS;;AAGpB,MAAM,GAAGD,WAAW,IAAIE,WAAW"}
|
package/dist/index.js
CHANGED
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["export * from './
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["export * from './hostname$_b.js'\nexport * from './pathname$_b.js'\nexport * from './window_location$_b.js'\nexport * from './window_location_hostname$_b.js'\nexport * from './window_location_pathname$_b.js'\n"],"names":[],"mappings":"cAAc,CAAkB;cAClB,CAAkB;cAClB,CAAyB;cACzB,CAAkC;cAClC,CAAkC"}
|
package/dist/pathname$_b.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/pathname$_b.ts"],"sourcesContent":["import { B, be_ } from '@ctx-core/object'\nimport { Writable$, writable$ } from '@ctx-core/store'\
|
|
1
|
+
{"version":3,"sources":["../src/pathname$_b.ts"],"sourcesContent":["import { B, be_ } from '@ctx-core/object'\nimport { Writable$, writable$ } from '@ctx-core/store'\nconst key = 'pathname$'\nexport const pathname$_b:B<pathname$_T> = be_(key, ()=>\n\twritable$(undefined) as pathname$_T\n)\nexport interface pathname$_T extends Writable$<string|undefined> {}\nexport { pathname$_b as b__pathname }\n"],"names":["be_","writable$","key","pathname$_b","undefined","b__pathname"],"mappings":"AAAA,MAAM,GAAMA,GAAG,QAAQ,CAAkB;AACzC,MAAM,GAAcC,SAAS,QAAQ,CAAiB;AACtD,KAAK,CAACC,GAAG,GAAG,CAAW;AACvB,MAAM,CAAC,KAAK,CAACC,WAAW,GAAkBH,GAAG,CAACE,GAAG,MAChDD,SAAS,CAACG,SAAS;;AAGpB,MAAM,GAAGD,WAAW,IAAIE,WAAW"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/window_location$_b.ts"],"sourcesContent":["import { B, be_, assign } from '@ctx-core/object'\nimport { has_dom } from '@ctx-core/dom'\nimport { Writable$, writable$ } from '@ctx-core/store'\
|
|
1
|
+
{"version":3,"sources":["../src/window_location$_b.ts"],"sourcesContent":["import { B, be_, assign } from '@ctx-core/object'\nimport { has_dom } from '@ctx-core/dom'\nimport { Writable$, writable$ } from '@ctx-core/store'\nconst key = 'window_location$'\nexport const window_location$_b:B<window_location$_T> = be_(key, ()=>{\n\tconst window_location$ = writable$<Location|undefined>(undefined)\n\tconst window_location_reload_popstate_bound$ =\n\t\twritable$(undefined) as Writable$<boolean|undefined>\n\tif (has_dom) {\n\t\treset_window_location()\n\t}\n\treturn assign(window_location$, {\n\t\treset_window_location,\n\t\treset__location__window: reset_window_location,\n\t}) as window_location$_T\n\tfunction reset_window_location() {\n\t\tif (!has_dom) return\n\t\tif (!window_location_reload_popstate_bound$.$) {\n\t\t\twindow_location_reload_popstate_bound$.set(true)\n\t\t\twindow.addEventListener(\n\t\t\t\t'popstate',\n\t\t\t\treset_window_location)\n\t\t}\n\t\twindow_location$.set(window.location)\n\t}\n})\nexport interface window_location$_T extends Writable$<Location|undefined> {\n\treset_window_location:()=>void\n\treset__location__window:()=>void\n}\nexport {\n\twindow_location$_b as b__location__window,\n}\n"],"names":["be_","assign","has_dom","writable$","key","window_location$_b","window_location$","undefined","window_location_reload_popstate_bound$","reset_window_location","reset__location__window","$","set","window","addEventListener","location","b__location__window"],"mappings":"AAAA,MAAM,GAAMA,GAAG,EAAEC,MAAM,QAAQ,CAAkB;AACjD,MAAM,GAAGC,OAAO,QAAQ,CAAe;AACvC,MAAM,GAAcC,SAAS,QAAQ,CAAiB;AACtD,KAAK,CAACC,GAAG,GAAG,CAAkB;AAC9B,MAAM,CAAC,KAAK,CAACC,kBAAkB,GAAyBL,GAAG,CAACI,GAAG,MAAM,CAAC;IACrE,KAAK,CAACE,gBAAgB,GAAGH,SAAS,CAAqBI,SAAS;IAChE,KAAK,CAACC,sCAAsC,GAC3CL,SAAS,CAACI,SAAS;IACpB,EAAE,EAAEL,OAAO,EAAE,CAAC;QACbO,qBAAqB;IACtB,CAAC;IACD,MAAM,CAACR,MAAM,CAACK,gBAAgB,EAAE,CAAC;QAChCG,qBAAqB;QACrBC,uBAAuB,EAAED,qBAAqB;IAC/C,CAAC;aACQA,qBAAqB,GAAG,CAAC;QACjC,EAAE,GAAGP,OAAO,EAAE,MAAM;QACpB,EAAE,GAAGM,sCAAsC,CAACG,CAAC,EAAE,CAAC;YAC/CH,sCAAsC,CAACI,GAAG,CAAC,IAAI;YAC/CC,MAAM,CAACC,gBAAgB,CACtB,CAAU,WACVL,qBAAqB;QACvB,CAAC;QACDH,gBAAgB,CAACM,GAAG,CAACC,MAAM,CAACE,QAAQ;IACrC,CAAC;AACF,CAAC;AAKD,MAAM,GACLV,kBAAkB,IAAIW,mBAAmB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/window_location_hostname$_b.ts"],"sourcesContent":["import { B, be_ } from '@ctx-core/object'\nimport { derived$, Readable$ } from '@ctx-core/store'\nimport { hostname$_b } from './hostname$_b.js'\nimport { window_location$_b } from './window_location$_b.js'\
|
|
1
|
+
{"version":3,"sources":["../src/window_location_hostname$_b.ts"],"sourcesContent":["import { B, be_ } from '@ctx-core/object'\nimport { derived$, Readable$ } from '@ctx-core/store'\nimport { hostname$_b } from './hostname$_b.js'\nimport { window_location$_b } from './window_location$_b.js'\nconst key = 'window_location_hostname$'\nexport const window_location_hostname$_b:B<window_location_hostname$_T> = be_(key, ctx=>\n\tderived$([\n\t\t\thostname$_b(ctx),\n\t\t\twindow_location$_b(ctx),\n\t\t],\n\t\t([hostname, window_location])=>\n\t\t\t(window_location && (window_location as Location).hostname) || hostname || ''\n\t) as window_location_hostname$_T\n)\nexport type window_location_hostname$_T = Readable$<string|undefined>\n"],"names":["be_","derived$","hostname$_b","window_location$_b","key","window_location_hostname$_b","ctx","hostname","window_location"],"mappings":"AAAA,MAAM,GAAMA,GAAG,QAAQ,CAAkB;AACzC,MAAM,GAAGC,QAAQ,QAAmB,CAAiB;AACrD,MAAM,GAAGC,WAAW,QAAQ,CAAkB;AAC9C,MAAM,GAAGC,kBAAkB,QAAQ,CAAyB;AAC5D,KAAK,CAACC,GAAG,GAAG,CAA2B;AACvC,MAAM,CAAC,KAAK,CAACC,2BAA2B,GAAkCL,GAAG,CAACI,GAAG,GAAEE,GAAG,GACrFL,QAAQ,CAAC,CAAC;QACRC,WAAW,CAACI,GAAG;QACfH,kBAAkB,CAACG,GAAG;IACvB,CAAC,IACCC,QAAQ,EAAEC,eAAe,IACzBA,eAAe,IAAKA,eAAe,CAAcD,QAAQ,IAAKA,QAAQ,IAAI,CAAE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/window_location_pathname$_b.ts"],"sourcesContent":["import { B, be_ } from '@ctx-core/object'\nimport { derived$, Readable$ } from '@ctx-core/store'\nimport { pathname$_b } from './pathname$_b.js'\nimport { window_location$_b } from './window_location$_b.js'\
|
|
1
|
+
{"version":3,"sources":["../src/window_location_pathname$_b.ts"],"sourcesContent":["import { B, be_ } from '@ctx-core/object'\nimport { derived$, Readable$ } from '@ctx-core/store'\nimport { pathname$_b } from './pathname$_b.js'\nimport { window_location$_b } from './window_location$_b.js'\nconst key = 'window_location_pathname$'\nexport const window_location_pathname$_b:B<window_location_pathname$_T> = be_(key, ctx=>\n\tderived$([\n\t\t\tpathname$_b(ctx),\n\t\t\twindow_location$_b(ctx),\n\t\t],\n\t\t([pathname, location__window]:[string|undefined, Location|undefined])=>\n\t\t\t(location__window && (location__window as Location).pathname)\n\t\t\t|| pathname\n\t\t\t|| ''\n\t) as window_location_pathname$_T\n)\nexport type window_location_pathname_T = string|undefined\nexport interface window_location_pathname$_T extends Readable$<window_location_pathname_T> {}\nexport {\n\twindow_location_pathname$_b as window_location_pathname_b,\n\twindow_location_pathname$_b as b__pathname__location__window,\n}\n"],"names":["be_","derived$","pathname$_b","window_location$_b","key","window_location_pathname$_b","ctx","pathname","location__window","window_location_pathname_b","b__pathname__location__window"],"mappings":"AAAA,MAAM,GAAMA,GAAG,QAAQ,CAAkB;AACzC,MAAM,GAAGC,QAAQ,QAAmB,CAAiB;AACrD,MAAM,GAAGC,WAAW,QAAQ,CAAkB;AAC9C,MAAM,GAAGC,kBAAkB,QAAQ,CAAyB;AAC5D,KAAK,CAACC,GAAG,GAAG,CAA2B;AACvC,MAAM,CAAC,KAAK,CAACC,2BAA2B,GAAkCL,GAAG,CAACI,GAAG,GAAEE,GAAG,GACrFL,QAAQ,CAAC,CAAC;QACRC,WAAW,CAACI,GAAG;QACfH,kBAAkB,CAACG,GAAG;IACvB,CAAC,IACCC,QAAQ,EAAEC,gBAAgB,IAC1BA,gBAAgB,IAAKA,gBAAgB,CAAcD,QAAQ,IACzDA,QAAQ,IACR,CAAE;;;AAKR,MAAM,GACLF,2BAA2B,IAAII,0BAA0B,EACzDJ,2BAA2B,IAAIK,6BAA6B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ctx-core/window",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "12.0.3",
|
|
4
4
|
"description": "ctx-core window",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ctx-core",
|
|
@@ -12,42 +12,40 @@
|
|
|
12
12
|
},
|
|
13
13
|
"repository": {
|
|
14
14
|
"type": "git",
|
|
15
|
-
"url": "https://github.com/ctx-core/window
|
|
15
|
+
"url": "https://github.com/ctx-core/window.git"
|
|
16
16
|
},
|
|
17
17
|
"license": "Apache-2.0",
|
|
18
18
|
"author": "Brian Takita",
|
|
19
19
|
"type": "module",
|
|
20
|
-
"module": "./dist/index.js",
|
|
21
|
-
"types": "./src/index.ts",
|
|
22
20
|
"exports": {
|
|
23
21
|
".": {
|
|
24
|
-
"
|
|
25
|
-
"
|
|
22
|
+
"import": "./dist/index.js",
|
|
23
|
+
"types": "./src/index.ts"
|
|
26
24
|
},
|
|
27
25
|
"./package.json": "./package.json"
|
|
28
26
|
},
|
|
29
27
|
"dependencies": {
|
|
30
|
-
"@ctx-core/dom": "^11.0.
|
|
31
|
-
"@ctx-core/function": "^20.2.
|
|
32
|
-
"@ctx-core/object": "^
|
|
33
|
-
"@ctx-core/store": "^27.0.
|
|
34
|
-
"svelte": "3.44.
|
|
28
|
+
"@ctx-core/dom": "^11.0.42",
|
|
29
|
+
"@ctx-core/function": "^20.2.14",
|
|
30
|
+
"@ctx-core/object": "^22.0.2",
|
|
31
|
+
"@ctx-core/store": "^27.0.49",
|
|
32
|
+
"svelte": "^3.44.3"
|
|
35
33
|
},
|
|
36
34
|
"devDependencies": {
|
|
37
|
-
"@
|
|
38
|
-
"@swc/
|
|
39
|
-
"
|
|
35
|
+
"@swc/cli": "^0.1.55",
|
|
36
|
+
"@swc/core": "^1.2.120",
|
|
37
|
+
"rimraf": "^3.0.2",
|
|
40
38
|
"typescript": "next"
|
|
41
39
|
},
|
|
42
40
|
"publishConfig": {
|
|
43
41
|
"access": "public",
|
|
44
42
|
"cache": "~/.npm"
|
|
45
43
|
},
|
|
44
|
+
"svelte": "./dist/index.js",
|
|
46
45
|
"scripts": {
|
|
47
|
-
"build": "npm run
|
|
48
|
-
"clean": "
|
|
46
|
+
"build": "npm run compile",
|
|
47
|
+
"clean": "rimraf dist",
|
|
49
48
|
"compile": "swc src --out-dir dist --copy-files --source-maps --config-file .swcrc",
|
|
50
|
-
"exec": "$@"
|
|
51
|
-
"generate_ctx_I_file": "swc $(./node_modules/.bin/generate_ctx_I_file | tail -n1) --out-dir dist --source-maps --config-file .swcrc"
|
|
49
|
+
"exec": "$@"
|
|
52
50
|
}
|
|
53
51
|
}
|
package/src/hostname$_b.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { B, be_ } from '@ctx-core/object'
|
|
2
2
|
import { Writable$, writable$ } from '@ctx-core/store'
|
|
3
|
-
import type { window_Ctx } from './window_Ctx'
|
|
4
3
|
const key = 'hostname$'
|
|
5
|
-
export const hostname$_b:B<
|
|
4
|
+
export const hostname$_b:B<hostname$_T> = be_(key, ()=>
|
|
6
5
|
writable$(undefined) as hostname$_T
|
|
7
6
|
)
|
|
8
7
|
export type hostname$_T = Writable$<string|undefined>
|
package/src/index.ts
CHANGED
package/src/pathname$_b.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { B, be_ } from '@ctx-core/object'
|
|
2
2
|
import { Writable$, writable$ } from '@ctx-core/store'
|
|
3
|
-
import type { window_Ctx } from './window_Ctx'
|
|
4
3
|
const key = 'pathname$'
|
|
5
|
-
export const pathname$_b:B<
|
|
4
|
+
export const pathname$_b:B<pathname$_T> = be_(key, ()=>
|
|
6
5
|
writable$(undefined) as pathname$_T
|
|
7
6
|
)
|
|
8
7
|
export interface pathname$_T extends Writable$<string|undefined> {}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { B, be_, assign } from '@ctx-core/object'
|
|
2
2
|
import { has_dom } from '@ctx-core/dom'
|
|
3
3
|
import { Writable$, writable$ } from '@ctx-core/store'
|
|
4
|
-
import type { window_Ctx } from './window_Ctx.js'
|
|
5
4
|
const key = 'window_location$'
|
|
6
|
-
export const window_location$_b:B<
|
|
5
|
+
export const window_location$_b:B<window_location$_T> = be_(key, ()=>{
|
|
7
6
|
const window_location$ = writable$<Location|undefined>(undefined)
|
|
8
7
|
const window_location_reload_popstate_bound$ =
|
|
9
8
|
writable$(undefined) as Writable$<boolean|undefined>
|
|
@@ -2,9 +2,8 @@ import { B, be_ } from '@ctx-core/object'
|
|
|
2
2
|
import { derived$, Readable$ } from '@ctx-core/store'
|
|
3
3
|
import { hostname$_b } from './hostname$_b.js'
|
|
4
4
|
import { window_location$_b } from './window_location$_b.js'
|
|
5
|
-
import type { window_Ctx } from './window_Ctx.js'
|
|
6
5
|
const key = 'window_location_hostname$'
|
|
7
|
-
export const window_location_hostname$_b:B<
|
|
6
|
+
export const window_location_hostname$_b:B<window_location_hostname$_T> = be_(key, ctx=>
|
|
8
7
|
derived$([
|
|
9
8
|
hostname$_b(ctx),
|
|
10
9
|
window_location$_b(ctx),
|
|
@@ -2,9 +2,8 @@ import { B, be_ } from '@ctx-core/object'
|
|
|
2
2
|
import { derived$, Readable$ } from '@ctx-core/store'
|
|
3
3
|
import { pathname$_b } from './pathname$_b.js'
|
|
4
4
|
import { window_location$_b } from './window_location$_b.js'
|
|
5
|
-
import type { window_Ctx } from './window_Ctx'
|
|
6
5
|
const key = 'window_location_pathname$'
|
|
7
|
-
export const window_location_pathname$_b:B<
|
|
6
|
+
export const window_location_pathname$_b:B<window_location_pathname$_T> = be_(key, ctx=>
|
|
8
7
|
derived$([
|
|
9
8
|
pathname$_b(ctx),
|
|
10
9
|
window_location$_b(ctx),
|
package/dist/window_Ctx.js
DELETED
package/dist/window_Ctx.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/window_Ctx.ts"],"sourcesContent":["import type { window_ctx_I } from './window_ctx_I.generated.js'\nexport interface window_Ctx extends window_ctx_I {\n}\n"],"names":[],"mappings":"AAAA,MAAM"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/window_ctx_I.generated.ts"],"sourcesContent":["/*\n * This file was generated by `npm run generate_ctx_I_file` in @ctx-core/dev-tools\n*/\nimport type { hostname$_T } from './hostname$_b.js'\nimport type { pathname$_T } from './pathname$_b.js'\nimport type { window_location$_T } from './window_location$_b.js'\nimport type { window_location_hostname$_T } from './window_location_hostname$_b.js'\nimport type { window_location_pathname$_T } from './window_location_pathname$_b.js'\nexport interface window_ctx_I {\n\thostname$?:hostname$_T\n\tpathname$?:pathname$_T\n\twindow_location$?:window_location$_T\n\twindow_location_hostname$?:window_location_hostname$_T\n\twindow_location_pathname$?:window_location_pathname$_T\n}"],"names":[],"mappings":"AAAA,EAEE,AAFF;;AAEE,AAFF,EAEE,CACF,MAAM"}
|
package/src/window_Ctx.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* This file was generated by `npm run generate_ctx_I_file` in @ctx-core/dev-tools
|
|
3
|
-
*/
|
|
4
|
-
import type { hostname$_T } from './hostname$_b.js'
|
|
5
|
-
import type { pathname$_T } from './pathname$_b.js'
|
|
6
|
-
import type { window_location$_T } from './window_location$_b.js'
|
|
7
|
-
import type { window_location_hostname$_T } from './window_location_hostname$_b.js'
|
|
8
|
-
import type { window_location_pathname$_T } from './window_location_pathname$_b.js'
|
|
9
|
-
export interface window_ctx_I {
|
|
10
|
-
hostname$?:hostname$_T
|
|
11
|
-
pathname$?:pathname$_T
|
|
12
|
-
window_location$?:window_location$_T
|
|
13
|
-
window_location_hostname$?:window_location_hostname$_T
|
|
14
|
-
window_location_pathname$?:window_location_pathname$_T
|
|
15
|
-
}
|