mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 14:45:49 +01:00
Merge branch 'v3-alpha' into v3-alpha-feature/typescript-runtime
This commit is contained in:
commit
6423abe630
132 changed files with 5243 additions and 307 deletions
20
.github/workflows/build-and-test-v3.yml
vendored
20
.github/workflows/build-and-test-v3.yml
vendored
|
|
@ -3,8 +3,12 @@ name: Build + Test v3
|
|||
on:
|
||||
pull_request:
|
||||
types: [opened, synchronize, reopened, ready_for_review]
|
||||
branches:
|
||||
- v3-alpha
|
||||
pull_request_review:
|
||||
types: [submitted]
|
||||
branches:
|
||||
- v3-alpha
|
||||
|
||||
jobs:
|
||||
check_approval:
|
||||
|
|
@ -125,7 +129,7 @@ jobs:
|
|||
v3/internal/runtime/desktop/@wailsio/runtime/tsconfig.tsbuildinfo
|
||||
|
||||
test_go:
|
||||
name: Run Go Tests
|
||||
name: Run Go Tests v3
|
||||
needs: [check_approval, test_js]
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
|
|
@ -262,3 +266,17 @@ jobs:
|
|||
wails3 init -n ${{ matrix.template }} -t ${{ matrix.template }}
|
||||
cd ${{ matrix.template }}
|
||||
wails3 build
|
||||
|
||||
results:
|
||||
if: ${{ always() }}
|
||||
runs-on: ubuntu-latest
|
||||
name: v3 Build Results
|
||||
needs: [test_go, test_js, test_templates]
|
||||
steps:
|
||||
- run: |
|
||||
result="${{ needs.build.result }}"
|
||||
if [[ $result == "success" || $result == "skipped" ]]; then
|
||||
exit 0
|
||||
else
|
||||
exit 1
|
||||
fi
|
||||
4
.github/workflows/pr.yml
vendored
4
.github/workflows/pr.yml
vendored
|
|
@ -2,8 +2,12 @@ name: PR Checks
|
|||
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
pull_request_review:
|
||||
types: [submitted]
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
check_docs:
|
||||
|
|
|
|||
|
|
@ -53,6 +53,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
- Add `//wails:ignore` directive to prevent binding generation for chosen service methods by [@fbbdev](https://github.com/fbbdev) in [#4045](https://github.com/wailsapp/wails/pull/4045)
|
||||
- Add `//wails:internal` directive on services and models to allow for types that are exported in Go but not in JS/TS by [@fbbdev](https://github.com/fbbdev) in [#4045](https://github.com/wailsapp/wails/pull/4045)
|
||||
- Add binding generator support for constants of alias type to allow for weakly typed enums by [@fbbdev](https://github.com/fbbdev) in [#4045](https://github.com/wailsapp/wails/pull/4045)
|
||||
- Add binding generator tests for Go 1.24 features by [@fbbdev](https://github.com/fbbdev) in [#4068](https://github.com/wailsapp/wails/pull/4068)
|
||||
- Add support for macOS 15 "Sequoia" to `OSInfo.Branding` for improved OS version detection in [#4065](https://github.com/wailsapp/wails/pull/4065)
|
||||
- Add `PostShutdown` hook for running custom code after the shutdown process completes by [@fbbdev](https://github.com/fbbdev) in [#4066](https://github.com/wailsapp/wails/pull/4066)
|
||||
- Add `FatalError` struct to support detection of fatal errors in custom error handlers by [@fbbdev](https://github.com/fbbdev) in [#4066](https://github.com/wailsapp/wails/pull/4066)
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ package main
|
|||
|
||||
import (
|
||||
_ "embed"
|
||||
"encoding"
|
||||
"log"
|
||||
|
||||
nobindingshere "github.com/wailsapp/wails/v3/internal/generator/testcases/no_bindings_here"
|
||||
|
|
@ -54,37 +55,37 @@ type GenericPerson[T any] struct {
|
|||
type StrangelyAliasedPerson = Person
|
||||
|
||||
// A generic alias that forwards to a type parameter.
|
||||
// type GenericAlias[T any] = T
|
||||
type GenericAlias[T any] = T
|
||||
|
||||
// A generic alias that wraps a pointer type.
|
||||
// type GenericPtrAlias[T any] = *GenericAlias[T]
|
||||
type GenericPtrAlias[T any] = *GenericAlias[T]
|
||||
|
||||
// A generic alias that wraps a map.
|
||||
// type GenericMapAlias[T interface {
|
||||
// comparable
|
||||
// encoding.TextMarshaler
|
||||
// }, U any] = map[T]U
|
||||
type GenericMapAlias[T interface {
|
||||
comparable
|
||||
encoding.TextMarshaler
|
||||
}, U any] = map[T]U
|
||||
|
||||
// A generic alias that wraps a generic struct.
|
||||
// type GenericPersonAlias[T any] = GenericPerson[[]GenericPtrAlias[T]]
|
||||
type GenericPersonAlias[T any] = GenericPerson[[]GenericPtrAlias[T]]
|
||||
|
||||
// An alias that wraps a class through a non-typeparam alias.
|
||||
// type IndirectPersonAlias = GenericPersonAlias[bool]
|
||||
type IndirectPersonAlias = GenericPersonAlias[bool]
|
||||
|
||||
// An alias that wraps a class through a typeparam alias.
|
||||
// type TPIndirectPersonAlias = GenericAlias[GenericPerson[bool]]
|
||||
type TPIndirectPersonAlias = GenericAlias[GenericPerson[bool]]
|
||||
|
||||
// A class whose fields have various aliased types.
|
||||
// type AliasGroup struct {
|
||||
// GAi GenericAlias[int]
|
||||
// GAP GenericAlias[GenericPerson[bool]]
|
||||
// GPAs GenericPtrAlias[[]string]
|
||||
// GPAP GenericPtrAlias[GenericPerson[[]int]]
|
||||
// GMA GenericMapAlias[struct{ encoding.TextMarshaler }, float32]
|
||||
// GPA GenericPersonAlias[bool]
|
||||
// IPA IndirectPersonAlias
|
||||
// TPIPA TPIndirectPersonAlias
|
||||
// }
|
||||
type AliasGroup struct {
|
||||
GAi GenericAlias[int]
|
||||
GAP GenericAlias[GenericPerson[bool]]
|
||||
GPAs GenericPtrAlias[[]string]
|
||||
GPAP GenericPtrAlias[GenericPerson[[]int]]
|
||||
GMA GenericMapAlias[struct{ encoding.TextMarshaler }, float32]
|
||||
GPA GenericPersonAlias[bool]
|
||||
IPA IndirectPersonAlias
|
||||
TPIPA TPIndirectPersonAlias
|
||||
}
|
||||
|
||||
// Get someone.
|
||||
func (GreetService) Get(aliasValue Alias) Person {
|
||||
|
|
@ -105,9 +106,9 @@ func (GreetService) GetButForeignPrivateAlias() (_ nobindingshere.PrivatePerson)
|
|||
return
|
||||
}
|
||||
|
||||
// func (GreetService) GetButGenericAliases() (_ AliasGroup) {
|
||||
// return
|
||||
// }
|
||||
func (GreetService) GetButGenericAliases() (_ AliasGroup) {
|
||||
return
|
||||
}
|
||||
|
||||
// Greet a lot of unusual things.
|
||||
func (GreetService) Greet(EmptyAliasStruct, EmptyStruct) AliasStruct {
|
||||
|
|
|
|||
|
|
@ -12,5 +12,7 @@
|
|||
".Service11",
|
||||
".Service12",
|
||||
".Service13",
|
||||
".Service14",
|
||||
".Service15",
|
||||
"/other.Service16"
|
||||
]
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ type Service13 struct{}
|
|||
type Service14 struct{}
|
||||
type Service15 struct{}
|
||||
|
||||
// type SimplifiedFactory[T any] = Factory[T, Service15]
|
||||
type SimplifiedFactory[T any] = Factory[T, Service15]
|
||||
|
||||
func main() {
|
||||
factory := NewFactory[Service1, Service2]()
|
||||
|
|
@ -42,7 +42,7 @@ func main() {
|
|||
other.CustomNewService(Service7{}),
|
||||
other.ServiceInitialiser[Service8]()(&Service8{}),
|
||||
application.NewServiceWithOptions(&Service13{}, application.ServiceOptions{Name: "custom name"}),
|
||||
// SimplifiedFactory[Service14]{}.Get(),
|
||||
SimplifiedFactory[Service14]{}.Get(),
|
||||
other.LocalService,
|
||||
},
|
||||
CustomNewServices[Service9, Service10]()...),
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ type Embedded3 string
|
|||
// Person represents a person
|
||||
type Person struct {
|
||||
// Titles is optional in JSON
|
||||
Titles []Title `json:",omitempty"`
|
||||
Titles []Title `json:",omitzero"`
|
||||
|
||||
// Names has a
|
||||
// multiline comment
|
||||
|
|
|
|||
|
|
@ -106,24 +106,24 @@ type InterfacePtrType *encoding.TextMarshaler
|
|||
type InterfaceAlias = encoding.TextMarshaler
|
||||
type InterfacePtrAlias = *encoding.TextMarshaler
|
||||
|
||||
// type ComparableCstrAlias[R comparable] = R
|
||||
// type ComparableCstrPtrAlias[R comparable] = *R
|
||||
// type BasicCstrAlias[S BasicConstraint] = S
|
||||
// type BasicCstrPtrAlias[S BasicConstraint] = *S
|
||||
// type BadTildeCstrAlias[T BadTildeConstraint] = T
|
||||
// type BadTildeCstrPtrAlias[T BadTildeConstraint] = *T
|
||||
// type GoodTildeCstrAlias[U GoodTildeConstraint] = U
|
||||
// type GoodTildeCstrPtrAlias[U GoodTildeConstraint] = *U
|
||||
// type NonBasicCstrAlias[V NonBasicConstraint] = V
|
||||
// type NonBasicCstrPtrAlias[V NonBasicConstraint] = *V
|
||||
// type PointableCstrAlias[W PointableConstraint] = W
|
||||
// type PointableCstrPtrAlias[W PointableConstraint] = *W
|
||||
// type MixedCstrAlias[X MixedConstraint] = X
|
||||
// type MixedCstrPtrAlias[X MixedConstraint] = *X
|
||||
// type InterfaceCstrAlias[Y InterfaceConstraint] = Y
|
||||
// type InterfaceCstrPtrAlias[Y InterfaceConstraint] = *Y
|
||||
// type PointerCstrAlias[R comparable, Z PointerConstraint[R]] = Z
|
||||
// type PointerCstrPtrAlias[R comparable, Z PointerConstraint[R]] = *Z
|
||||
type ComparableCstrAlias[R comparable] = R
|
||||
type ComparableCstrPtrAlias[R comparable] = *R
|
||||
type BasicCstrAlias[S BasicConstraint] = S
|
||||
type BasicCstrPtrAlias[S BasicConstraint] = *S
|
||||
type BadTildeCstrAlias[T BadTildeConstraint] = T
|
||||
type BadTildeCstrPtrAlias[T BadTildeConstraint] = *T
|
||||
type GoodTildeCstrAlias[U GoodTildeConstraint] = U
|
||||
type GoodTildeCstrPtrAlias[U GoodTildeConstraint] = *U
|
||||
type NonBasicCstrAlias[V NonBasicConstraint] = V
|
||||
type NonBasicCstrPtrAlias[V NonBasicConstraint] = *V
|
||||
type PointableCstrAlias[W PointableConstraint] = W
|
||||
type PointableCstrPtrAlias[W PointableConstraint] = *W
|
||||
type MixedCstrAlias[X MixedConstraint] = X
|
||||
type MixedCstrPtrAlias[X MixedConstraint] = *X
|
||||
type InterfaceCstrAlias[Y InterfaceConstraint] = Y
|
||||
type InterfaceCstrPtrAlias[Y InterfaceConstraint] = *Y
|
||||
type PointerCstrAlias[R comparable, Z PointerConstraint[R]] = Z
|
||||
type PointerCstrPtrAlias[R comparable, Z PointerConstraint[R]] = *Z
|
||||
|
||||
type Maps[R comparable, S BasicConstraint, T BadTildeConstraint, U GoodTildeConstraint, V NonBasicConstraint, W PointableConstraint, X MixedConstraint, Y InterfaceConstraint, Z PointerConstraint[R]] struct {
|
||||
Bool map[bool]int // Reject
|
||||
|
|
@ -226,63 +226,63 @@ type Maps[R comparable, S BasicConstraint, T BadTildeConstraint, U GoodTildeCons
|
|||
TPZ map[Z]int // Accept, hide
|
||||
TPZPtr map[*Z]int // Soft reject
|
||||
|
||||
// GAR map[ComparableCstrAlias[R]]int // Soft reject
|
||||
// GARPtr map[ComparableCstrPtrAlias[R]]int // Soft reject
|
||||
// GAS map[BasicCstrAlias[S]]int // Accept, hide
|
||||
// GASPtr map[BasicCstrPtrAlias[S]]int // Soft reject
|
||||
// GAT map[BadTildeCstrAlias[T]]int // Soft reject
|
||||
// GATPtr map[BadTildeCstrPtrAlias[T]]int // Soft reject
|
||||
// GAU map[GoodTildeCstrAlias[U]]int // Accept, hide
|
||||
// GAUPtr map[GoodTildeCstrPtrAlias[U]]int // Soft reject
|
||||
// GAV map[NonBasicCstrAlias[V]]int // Accept, hide
|
||||
// GAVPtr map[NonBasicCstrPtrAlias[V]]int // Soft reject
|
||||
// GAW map[PointableCstrAlias[W]]int // Soft reject
|
||||
// GAWPtr map[PointableCstrPtrAlias[W]]int // Accept, hide
|
||||
// GAX map[MixedCstrAlias[X]]int // Accept, hide
|
||||
// GAXPtr map[MixedCstrPtrAlias[X]]int // Soft reject
|
||||
// GAY map[InterfaceCstrAlias[Y]]int // Accept, hide
|
||||
// GAYPtr map[InterfaceCstrPtrAlias[Y]]int // Soft reject
|
||||
// GAZ map[PointerCstrAlias[R, Z]]int // Accept, hide
|
||||
// GAZPtr map[PointerCstrPtrAlias[R, Z]]int // Soft reject
|
||||
GAR map[ComparableCstrAlias[R]]int // Soft reject
|
||||
GARPtr map[ComparableCstrPtrAlias[R]]int // Soft reject
|
||||
GAS map[BasicCstrAlias[S]]int // Accept, hide
|
||||
GASPtr map[BasicCstrPtrAlias[S]]int // Soft reject
|
||||
GAT map[BadTildeCstrAlias[T]]int // Soft reject
|
||||
GATPtr map[BadTildeCstrPtrAlias[T]]int // Soft reject
|
||||
GAU map[GoodTildeCstrAlias[U]]int // Accept, hide
|
||||
GAUPtr map[GoodTildeCstrPtrAlias[U]]int // Soft reject
|
||||
GAV map[NonBasicCstrAlias[V]]int // Accept, hide
|
||||
GAVPtr map[NonBasicCstrPtrAlias[V]]int // Soft reject
|
||||
GAW map[PointableCstrAlias[W]]int // Soft reject
|
||||
GAWPtr map[PointableCstrPtrAlias[W]]int // Accept, hide
|
||||
GAX map[MixedCstrAlias[X]]int // Accept, hide
|
||||
GAXPtr map[MixedCstrPtrAlias[X]]int // Soft reject
|
||||
GAY map[InterfaceCstrAlias[Y]]int // Accept, hide
|
||||
GAYPtr map[InterfaceCstrPtrAlias[Y]]int // Soft reject
|
||||
GAZ map[PointerCstrAlias[R, Z]]int // Accept, hide
|
||||
GAZPtr map[PointerCstrPtrAlias[R, Z]]int // Soft reject
|
||||
|
||||
// GACi map[ComparableCstrAlias[int]]int // Accept, hide
|
||||
// GACV map[ComparableCstrAlias[ValueTextMarshaler]]int // Accept
|
||||
// GACP map[ComparableCstrAlias[PointerTextMarshaler]]int // Reject
|
||||
// GACiPtr map[ComparableCstrPtrAlias[int]]int // Reject
|
||||
// GACVPtr map[ComparableCstrPtrAlias[ValueTextMarshaler]]int // Accept, hide
|
||||
// GACPPtr map[ComparableCstrPtrAlias[PointerTextMarshaler]]int // Accept, hide
|
||||
// GABi map[BasicCstrAlias[int]]int // Accept, hide
|
||||
// GABs map[BasicCstrAlias[string]]int // Accept
|
||||
// GABiPtr map[BasicCstrPtrAlias[int]]int // Reject
|
||||
// GABT map[BadTildeCstrAlias[struct{}]]int // Reject
|
||||
// GABTPtr map[BadTildeCstrPtrAlias[struct{}]]int // Reject
|
||||
// GAGT map[GoodTildeCstrAlias[ValueTextMarshaler]]int // Accept
|
||||
// GAGTPtr map[GoodTildeCstrPtrAlias[ValueTextMarshaler]]int // Accept, hide
|
||||
// GANBV map[NonBasicCstrAlias[ValueTextMarshaler]]int // Accept
|
||||
// GANBP map[NonBasicCstrAlias[*PointerTextMarshaler]]int // Accept, hide
|
||||
// GANBVPtr map[NonBasicCstrPtrAlias[ValueTextMarshaler]]int // Accept, hide
|
||||
// GANBPPtr map[NonBasicCstrPtrAlias[*PointerTextMarshaler]]int // Reject
|
||||
// GAPlV1 map[PointableCstrAlias[ValueTextMarshaler]]int // Accept
|
||||
// GAPlV2 map[*PointableCstrAlias[ValueTextMarshaler]]int // Accept
|
||||
// GAPlP1 map[PointableCstrAlias[PointerTextMarshaler]]int // Reject
|
||||
// GAPlP2 map[*PointableCstrAlias[PointerTextMarshaler]]int // Accept
|
||||
// GAPlVPtr map[PointableCstrPtrAlias[ValueTextMarshaler]]int // Accept, hide
|
||||
// GAPlPPtr map[PointableCstrPtrAlias[PointerTextMarshaler]]int // Accept, hide
|
||||
// GAMi map[MixedCstrAlias[uint]]int // Accept, hide
|
||||
// GAMS map[MixedCstrAlias[StringType]]int // Accept
|
||||
// GAMV map[MixedCstrAlias[ValueTextMarshaler]]int // Accept
|
||||
// GAMSPtr map[MixedCstrPtrAlias[StringType]]int // Reject
|
||||
// GAMVPtr map[MixedCstrPtrAlias[ValueTextMarshaler]]int // Accept, hide
|
||||
// GAII map[InterfaceCstrAlias[encoding.TextMarshaler]]int // Accept, hide
|
||||
// GAIV map[InterfaceCstrAlias[ValueTextMarshaler]]int // Accept
|
||||
// GAIP map[InterfaceCstrAlias[*PointerTextMarshaler]]int // Accept, hide
|
||||
// GAIIPtr map[InterfaceCstrPtrAlias[encoding.TextMarshaler]]int // Reject
|
||||
// GAIVPtr map[InterfaceCstrPtrAlias[ValueTextMarshaler]]int // Accept, hide
|
||||
// GAIPPtr map[InterfaceCstrPtrAlias[*PointerTextMarshaler]]int // Reject
|
||||
// GAPrV map[PointerCstrAlias[ValueTextMarshaler, *ValueTextMarshaler]]int // Accept, hide
|
||||
// GAPrP map[PointerCstrAlias[PointerTextMarshaler, *PointerTextMarshaler]]int // Accept, hide
|
||||
// GAPrVPtr map[PointerCstrPtrAlias[ValueTextMarshaler, *ValueTextMarshaler]]int // Reject
|
||||
// GAPrPPtr map[PointerCstrPtrAlias[PointerTextMarshaler, *PointerTextMarshaler]]int // Reject
|
||||
GACi map[ComparableCstrAlias[int]]int // Accept, hide
|
||||
GACV map[ComparableCstrAlias[ValueTextMarshaler]]int // Accept
|
||||
GACP map[ComparableCstrAlias[PointerTextMarshaler]]int // Reject
|
||||
GACiPtr map[ComparableCstrPtrAlias[int]]int // Reject
|
||||
GACVPtr map[ComparableCstrPtrAlias[ValueTextMarshaler]]int // Accept, hide
|
||||
GACPPtr map[ComparableCstrPtrAlias[PointerTextMarshaler]]int // Accept, hide
|
||||
GABi map[BasicCstrAlias[int]]int // Accept, hide
|
||||
GABs map[BasicCstrAlias[string]]int // Accept
|
||||
GABiPtr map[BasicCstrPtrAlias[int]]int // Reject
|
||||
GABT map[BadTildeCstrAlias[struct{}]]int // Reject
|
||||
GABTPtr map[BadTildeCstrPtrAlias[struct{}]]int // Reject
|
||||
GAGT map[GoodTildeCstrAlias[ValueTextMarshaler]]int // Accept
|
||||
GAGTPtr map[GoodTildeCstrPtrAlias[ValueTextMarshaler]]int // Accept, hide
|
||||
GANBV map[NonBasicCstrAlias[ValueTextMarshaler]]int // Accept
|
||||
GANBP map[NonBasicCstrAlias[*PointerTextMarshaler]]int // Accept, hide
|
||||
GANBVPtr map[NonBasicCstrPtrAlias[ValueTextMarshaler]]int // Accept, hide
|
||||
GANBPPtr map[NonBasicCstrPtrAlias[*PointerTextMarshaler]]int // Reject
|
||||
GAPlV1 map[PointableCstrAlias[ValueTextMarshaler]]int // Accept
|
||||
GAPlV2 map[*PointableCstrAlias[ValueTextMarshaler]]int // Accept
|
||||
GAPlP1 map[PointableCstrAlias[PointerTextMarshaler]]int // Reject
|
||||
GAPlP2 map[*PointableCstrAlias[PointerTextMarshaler]]int // Accept
|
||||
GAPlVPtr map[PointableCstrPtrAlias[ValueTextMarshaler]]int // Accept, hide
|
||||
GAPlPPtr map[PointableCstrPtrAlias[PointerTextMarshaler]]int // Accept, hide
|
||||
GAMi map[MixedCstrAlias[uint]]int // Accept, hide
|
||||
GAMS map[MixedCstrAlias[StringType]]int // Accept
|
||||
GAMV map[MixedCstrAlias[ValueTextMarshaler]]int // Accept
|
||||
GAMSPtr map[MixedCstrPtrAlias[StringType]]int // Reject
|
||||
GAMVPtr map[MixedCstrPtrAlias[ValueTextMarshaler]]int // Accept, hide
|
||||
GAII map[InterfaceCstrAlias[encoding.TextMarshaler]]int // Accept, hide
|
||||
GAIV map[InterfaceCstrAlias[ValueTextMarshaler]]int // Accept
|
||||
GAIP map[InterfaceCstrAlias[*PointerTextMarshaler]]int // Accept, hide
|
||||
GAIIPtr map[InterfaceCstrPtrAlias[encoding.TextMarshaler]]int // Reject
|
||||
GAIVPtr map[InterfaceCstrPtrAlias[ValueTextMarshaler]]int // Accept, hide
|
||||
GAIPPtr map[InterfaceCstrPtrAlias[*PointerTextMarshaler]]int // Reject
|
||||
GAPrV map[PointerCstrAlias[ValueTextMarshaler, *ValueTextMarshaler]]int // Accept, hide
|
||||
GAPrP map[PointerCstrAlias[PointerTextMarshaler, *PointerTextMarshaler]]int // Accept, hide
|
||||
GAPrVPtr map[PointerCstrPtrAlias[ValueTextMarshaler, *ValueTextMarshaler]]int // Reject
|
||||
GAPrPPtr map[PointerCstrPtrAlias[PointerTextMarshaler, *PointerTextMarshaler]]int // Reject
|
||||
}
|
||||
|
||||
func (*Service) Method() (_ Maps[PointerTextMarshaler, int, int, ValueTextMarshaler, *PointerTextMarshaler, ValueTextMarshaler, StringType, ValueTextMarshaler, *PointerTextMarshaler]) {
|
||||
|
|
|
|||
|
|
@ -72,6 +72,18 @@ export function GetButForeignPrivateAlias() {
|
|||
return $typingPromise;
|
||||
}
|
||||
|
||||
/**
|
||||
* @returns {Promise<$models.AliasGroup> & { cancel(): void }}
|
||||
*/
|
||||
export function GetButGenericAliases() {
|
||||
let $resultPromise = /** @type {any} */($Call.ByID(914093800));
|
||||
let $typingPromise = /** @type {any} */($resultPromise.then(($result) => {
|
||||
return $$createType3($result);
|
||||
}));
|
||||
$typingPromise.cancel = $resultPromise.cancel.bind($resultPromise);
|
||||
return $typingPromise;
|
||||
}
|
||||
|
||||
/**
|
||||
* Greet a lot of unusual things.
|
||||
* @param {$models.EmptyAliasStruct} $0
|
||||
|
|
@ -81,7 +93,7 @@ export function GetButForeignPrivateAlias() {
|
|||
export function Greet($0, $1) {
|
||||
let $resultPromise = /** @type {any} */($Call.ByID(1411160069, $0, $1));
|
||||
let $typingPromise = /** @type {any} */($resultPromise.then(($result) => {
|
||||
return $$createType6($result);
|
||||
return $$createType7($result);
|
||||
}));
|
||||
$typingPromise.cancel = $resultPromise.cancel.bind($resultPromise);
|
||||
return $typingPromise;
|
||||
|
|
@ -91,12 +103,13 @@ export function Greet($0, $1) {
|
|||
const $$createType0 = $models.Person.createFrom;
|
||||
const $$createType1 = $models.GenericPerson.createFrom($Create.Any);
|
||||
const $$createType2 = nobindingshere$0.personImpl.createFrom;
|
||||
const $$createType3 = $Create.Array($Create.Any);
|
||||
const $$createType3 = $models.AliasGroup.createFrom;
|
||||
const $$createType4 = $Create.Array($Create.Any);
|
||||
const $$createType5 = $Create.Struct({
|
||||
"NoMoreIdeas": $$createType4,
|
||||
});
|
||||
const $$createType5 = $Create.Array($Create.Any);
|
||||
const $$createType6 = $Create.Struct({
|
||||
"Foo": $$createType3,
|
||||
"Other": $$createType5,
|
||||
"NoMoreIdeas": $$createType5,
|
||||
});
|
||||
const $$createType7 = $Create.Struct({
|
||||
"Foo": $$createType4,
|
||||
"Other": $$createType6,
|
||||
});
|
||||
|
|
|
|||
|
|
@ -8,11 +8,15 @@ export {
|
|||
};
|
||||
|
||||
export {
|
||||
AliasGroup,
|
||||
AliasedPerson,
|
||||
EmptyStruct,
|
||||
GenericPerson,
|
||||
GenericPersonAlias,
|
||||
IndirectPersonAlias,
|
||||
Person,
|
||||
StrangelyAliasedPerson
|
||||
StrangelyAliasedPerson,
|
||||
TPIndirectPersonAlias
|
||||
} from "./models.js";
|
||||
|
||||
import * as $models from "./models.js";
|
||||
|
|
@ -33,6 +37,24 @@ import * as $models from "./models.js";
|
|||
* @typedef {$models.EmptyAliasStruct} EmptyAliasStruct
|
||||
*/
|
||||
|
||||
/**
|
||||
* A generic alias that forwards to a type parameter.
|
||||
* @template T
|
||||
* @typedef {$models.GenericAlias<T>} GenericAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* A generic alias that wraps a map.
|
||||
* @template T,U
|
||||
* @typedef {$models.GenericMapAlias<T, U>} GenericMapAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* A generic alias that wraps a pointer type.
|
||||
* @template T
|
||||
* @typedef {$models.GenericPtrAlias<T>} GenericPtrAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* Another struct alias.
|
||||
* @typedef {$models.OtherAliasStruct} OtherAliasStruct
|
||||
|
|
|
|||
|
|
@ -11,6 +11,114 @@ import {Create as $Create} from "/wails/runtime.js";
|
|||
* @typedef {number} Alias
|
||||
*/
|
||||
|
||||
/**
|
||||
* A class whose fields have various aliased types.
|
||||
*/
|
||||
export class AliasGroup {
|
||||
/**
|
||||
* Creates a new AliasGroup instance.
|
||||
* @param {Partial<AliasGroup>} [$$source = {}] - The source object to create the AliasGroup.
|
||||
*/
|
||||
constructor($$source = {}) {
|
||||
if (!("GAi" in $$source)) {
|
||||
/**
|
||||
* @member
|
||||
* @type {GenericAlias<number>}
|
||||
*/
|
||||
this["GAi"] = 0;
|
||||
}
|
||||
if (!("GAP" in $$source)) {
|
||||
/**
|
||||
* @member
|
||||
* @type {GenericAlias<GenericPerson<boolean>>}
|
||||
*/
|
||||
this["GAP"] = (new GenericPerson());
|
||||
}
|
||||
if (!("GPAs" in $$source)) {
|
||||
/**
|
||||
* @member
|
||||
* @type {GenericPtrAlias<string[]>}
|
||||
*/
|
||||
this["GPAs"] = null;
|
||||
}
|
||||
if (!("GPAP" in $$source)) {
|
||||
/**
|
||||
* @member
|
||||
* @type {GenericPtrAlias<GenericPerson<number[]>>}
|
||||
*/
|
||||
this["GPAP"] = null;
|
||||
}
|
||||
if (!("GMA" in $$source)) {
|
||||
/**
|
||||
* @member
|
||||
* @type {GenericMapAlias<string, number>}
|
||||
*/
|
||||
this["GMA"] = {};
|
||||
}
|
||||
if (!("GPA" in $$source)) {
|
||||
/**
|
||||
* @member
|
||||
* @type {GenericPersonAlias<boolean>}
|
||||
*/
|
||||
this["GPA"] = (new GenericPersonAlias());
|
||||
}
|
||||
if (!("IPA" in $$source)) {
|
||||
/**
|
||||
* @member
|
||||
* @type {IndirectPersonAlias}
|
||||
*/
|
||||
this["IPA"] = (new IndirectPersonAlias());
|
||||
}
|
||||
if (!("TPIPA" in $$source)) {
|
||||
/**
|
||||
* @member
|
||||
* @type {TPIndirectPersonAlias}
|
||||
*/
|
||||
this["TPIPA"] = (new TPIndirectPersonAlias());
|
||||
}
|
||||
|
||||
Object.assign(this, $$source);
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a new AliasGroup instance from a string or object.
|
||||
* @param {any} [$$source = {}]
|
||||
* @returns {AliasGroup}
|
||||
*/
|
||||
static createFrom($$source = {}) {
|
||||
const $$createField1_0 = $$createType0;
|
||||
const $$createField2_0 = $$createType2;
|
||||
const $$createField3_0 = $$createType5;
|
||||
const $$createField4_0 = $$createType6;
|
||||
const $$createField5_0 = $$createType8;
|
||||
const $$createField6_0 = $$createType8;
|
||||
const $$createField7_0 = $$createType0;
|
||||
let $$parsedSource = typeof $$source === 'string' ? JSON.parse($$source) : $$source;
|
||||
if ("GAP" in $$parsedSource) {
|
||||
$$parsedSource["GAP"] = $$createField1_0($$parsedSource["GAP"]);
|
||||
}
|
||||
if ("GPAs" in $$parsedSource) {
|
||||
$$parsedSource["GPAs"] = $$createField2_0($$parsedSource["GPAs"]);
|
||||
}
|
||||
if ("GPAP" in $$parsedSource) {
|
||||
$$parsedSource["GPAP"] = $$createField3_0($$parsedSource["GPAP"]);
|
||||
}
|
||||
if ("GMA" in $$parsedSource) {
|
||||
$$parsedSource["GMA"] = $$createField4_0($$parsedSource["GMA"]);
|
||||
}
|
||||
if ("GPA" in $$parsedSource) {
|
||||
$$parsedSource["GPA"] = $$createField5_0($$parsedSource["GPA"]);
|
||||
}
|
||||
if ("IPA" in $$parsedSource) {
|
||||
$$parsedSource["IPA"] = $$createField6_0($$parsedSource["IPA"]);
|
||||
}
|
||||
if ("TPIPA" in $$parsedSource) {
|
||||
$$parsedSource["TPIPA"] = $$createField7_0($$parsedSource["TPIPA"]);
|
||||
}
|
||||
return new AliasGroup(/** @type {Partial<AliasGroup>} */($$parsedSource));
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* A struct alias.
|
||||
* This should be rendered as a typedef or interface in every mode.
|
||||
|
|
@ -51,6 +159,18 @@ export class EmptyStruct {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* A generic alias that forwards to a type parameter.
|
||||
* @template T
|
||||
* @typedef {T} GenericAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* A generic alias that wraps a map.
|
||||
* @template T,U
|
||||
* @typedef {{ [_: string]: U }} GenericMapAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* A generic struct containing an alias.
|
||||
* @template T
|
||||
|
|
@ -99,6 +219,33 @@ export class GenericPerson {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* A generic alias that wraps a generic struct.
|
||||
*/
|
||||
export const GenericPersonAlias = GenericPerson;
|
||||
|
||||
/**
|
||||
* A generic alias that wraps a generic struct.
|
||||
* @template T
|
||||
* @typedef {GenericPerson<GenericPtrAlias<T>[]>} GenericPersonAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* A generic alias that wraps a pointer type.
|
||||
* @template T
|
||||
* @typedef {GenericAlias<T> | null} GenericPtrAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* An alias that wraps a class through a non-typeparam alias.
|
||||
*/
|
||||
export const IndirectPersonAlias = GenericPersonAlias;
|
||||
|
||||
/**
|
||||
* An alias that wraps a class through a non-typeparam alias.
|
||||
* @typedef {GenericPersonAlias<boolean>} IndirectPersonAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* Another struct alias.
|
||||
* @typedef {Object} OtherAliasStruct
|
||||
|
|
@ -164,3 +311,24 @@ export const StrangelyAliasedPerson = Person;
|
|||
* Another class alias, but ordered after its aliased class.
|
||||
* @typedef {Person} StrangelyAliasedPerson
|
||||
*/
|
||||
|
||||
/**
|
||||
* An alias that wraps a class through a typeparam alias.
|
||||
*/
|
||||
export const TPIndirectPersonAlias = GenericPerson;
|
||||
|
||||
/**
|
||||
* An alias that wraps a class through a typeparam alias.
|
||||
* @typedef {GenericAlias<GenericPerson<boolean>>} TPIndirectPersonAlias
|
||||
*/
|
||||
|
||||
// Private type creation functions
|
||||
const $$createType0 = GenericPerson.createFrom($Create.Any);
|
||||
const $$createType1 = $Create.Array($Create.Any);
|
||||
const $$createType2 = $Create.Nullable($$createType1);
|
||||
const $$createType3 = $Create.Array($Create.Any);
|
||||
const $$createType4 = GenericPerson.createFrom($$createType3);
|
||||
const $$createType5 = $Create.Nullable($$createType4);
|
||||
const $$createType6 = $Create.Map($Create.Any, $Create.Any);
|
||||
const $$createType7 = $Create.Array($Create.Any);
|
||||
const $$createType8 = GenericPerson.createFrom($$createType7);
|
||||
|
|
|
|||
|
|
@ -13,6 +13,16 @@ export {
|
|||
|
||||
import * as $models from "./models.js";
|
||||
|
||||
/**
|
||||
* @template S
|
||||
* @typedef {$models.BasicCstrAlias<S>} BasicCstrAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* @template R
|
||||
* @typedef {$models.ComparableCstrAlias<R>} ComparableCstrAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* @typedef {$models.EmbeddedCustomInterface} EmbeddedCustomInterface
|
||||
*/
|
||||
|
|
@ -37,6 +47,31 @@ import * as $models from "./models.js";
|
|||
* @typedef {$models.EmbeddedValuePtr} EmbeddedValuePtr
|
||||
*/
|
||||
|
||||
/**
|
||||
* @template U
|
||||
* @typedef {$models.GoodTildeCstrAlias<U>} GoodTildeCstrAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* @template Y
|
||||
* @typedef {$models.InterfaceCstrAlias<Y>} InterfaceCstrAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* @template X
|
||||
* @typedef {$models.MixedCstrAlias<X>} MixedCstrAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* @template V
|
||||
* @typedef {$models.NonBasicCstrAlias<V>} NonBasicCstrAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* @template W
|
||||
* @typedef {$models.PointableCstrAlias<W>} PointableCstrAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* @typedef {$models.PointerAlias} PointerAlias
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -6,6 +6,16 @@
|
|||
// @ts-ignore: Unused imports
|
||||
import {Create as $Create} from "/wails/runtime.js";
|
||||
|
||||
/**
|
||||
* @template S
|
||||
* @typedef {S} BasicCstrAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* @template R
|
||||
* @typedef {R} ComparableCstrAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* @typedef {string} EmbeddedCustomInterface
|
||||
*/
|
||||
|
|
@ -30,6 +40,16 @@ import {Create as $Create} from "/wails/runtime.js";
|
|||
* @typedef {string} EmbeddedValuePtr
|
||||
*/
|
||||
|
||||
/**
|
||||
* @template U
|
||||
* @typedef {U} GoodTildeCstrAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* @template Y
|
||||
* @typedef {Y} InterfaceCstrAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* @template R,S,T,U,V,W,X,Y,Z
|
||||
*/
|
||||
|
|
@ -751,6 +771,454 @@ export class Maps {
|
|||
*/
|
||||
this["TPZPtr"] = {};
|
||||
}
|
||||
if (!("GAR" in $$source)) {
|
||||
/**
|
||||
* Soft reject
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GAR"] = {};
|
||||
}
|
||||
if (!("GARPtr" in $$source)) {
|
||||
/**
|
||||
* Soft reject
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GARPtr"] = {};
|
||||
}
|
||||
if (!("GAS" in $$source)) {
|
||||
/**
|
||||
* Accept, hide
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GAS"] = {};
|
||||
}
|
||||
if (!("GASPtr" in $$source)) {
|
||||
/**
|
||||
* Soft reject
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GASPtr"] = {};
|
||||
}
|
||||
if (!("GAT" in $$source)) {
|
||||
/**
|
||||
* Soft reject
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GAT"] = {};
|
||||
}
|
||||
if (!("GATPtr" in $$source)) {
|
||||
/**
|
||||
* Soft reject
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GATPtr"] = {};
|
||||
}
|
||||
if (!("GAU" in $$source)) {
|
||||
/**
|
||||
* Accept, hide
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GAU"] = {};
|
||||
}
|
||||
if (!("GAUPtr" in $$source)) {
|
||||
/**
|
||||
* Soft reject
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GAUPtr"] = {};
|
||||
}
|
||||
if (!("GAV" in $$source)) {
|
||||
/**
|
||||
* Accept, hide
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GAV"] = {};
|
||||
}
|
||||
if (!("GAVPtr" in $$source)) {
|
||||
/**
|
||||
* Soft reject
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GAVPtr"] = {};
|
||||
}
|
||||
if (!("GAW" in $$source)) {
|
||||
/**
|
||||
* Soft reject
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GAW"] = {};
|
||||
}
|
||||
if (!("GAWPtr" in $$source)) {
|
||||
/**
|
||||
* Accept, hide
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GAWPtr"] = {};
|
||||
}
|
||||
if (!("GAX" in $$source)) {
|
||||
/**
|
||||
* Accept, hide
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GAX"] = {};
|
||||
}
|
||||
if (!("GAXPtr" in $$source)) {
|
||||
/**
|
||||
* Soft reject
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GAXPtr"] = {};
|
||||
}
|
||||
if (!("GAY" in $$source)) {
|
||||
/**
|
||||
* Accept, hide
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GAY"] = {};
|
||||
}
|
||||
if (!("GAYPtr" in $$source)) {
|
||||
/**
|
||||
* Soft reject
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GAYPtr"] = {};
|
||||
}
|
||||
if (!("GAZ" in $$source)) {
|
||||
/**
|
||||
* Accept, hide
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GAZ"] = {};
|
||||
}
|
||||
if (!("GAZPtr" in $$source)) {
|
||||
/**
|
||||
* Soft reject
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GAZPtr"] = {};
|
||||
}
|
||||
if (!("GACi" in $$source)) {
|
||||
/**
|
||||
* Accept, hide
|
||||
* @member
|
||||
* @type {{ [_: `${number}`]: number }}
|
||||
*/
|
||||
this["GACi"] = {};
|
||||
}
|
||||
if (!("GACV" in $$source)) {
|
||||
/**
|
||||
* Accept
|
||||
* @member
|
||||
* @type {{ [_: ComparableCstrAlias<ValueTextMarshaler>]: number }}
|
||||
*/
|
||||
this["GACV"] = {};
|
||||
}
|
||||
if (!("GACP" in $$source)) {
|
||||
/**
|
||||
* Reject
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GACP"] = {};
|
||||
}
|
||||
if (!("GACiPtr" in $$source)) {
|
||||
/**
|
||||
* Reject
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GACiPtr"] = {};
|
||||
}
|
||||
if (!("GACVPtr" in $$source)) {
|
||||
/**
|
||||
* Accept, hide
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GACVPtr"] = {};
|
||||
}
|
||||
if (!("GACPPtr" in $$source)) {
|
||||
/**
|
||||
* Accept, hide
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GACPPtr"] = {};
|
||||
}
|
||||
if (!("GABi" in $$source)) {
|
||||
/**
|
||||
* Accept, hide
|
||||
* @member
|
||||
* @type {{ [_: `${number}`]: number }}
|
||||
*/
|
||||
this["GABi"] = {};
|
||||
}
|
||||
if (!("GABs" in $$source)) {
|
||||
/**
|
||||
* Accept
|
||||
* @member
|
||||
* @type {{ [_: BasicCstrAlias<string>]: number }}
|
||||
*/
|
||||
this["GABs"] = {};
|
||||
}
|
||||
if (!("GABiPtr" in $$source)) {
|
||||
/**
|
||||
* Reject
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GABiPtr"] = {};
|
||||
}
|
||||
if (!("GABT" in $$source)) {
|
||||
/**
|
||||
* Reject
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GABT"] = {};
|
||||
}
|
||||
if (!("GABTPtr" in $$source)) {
|
||||
/**
|
||||
* Reject
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GABTPtr"] = {};
|
||||
}
|
||||
if (!("GAGT" in $$source)) {
|
||||
/**
|
||||
* Accept
|
||||
* @member
|
||||
* @type {{ [_: GoodTildeCstrAlias<ValueTextMarshaler>]: number }}
|
||||
*/
|
||||
this["GAGT"] = {};
|
||||
}
|
||||
if (!("GAGTPtr" in $$source)) {
|
||||
/**
|
||||
* Accept, hide
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GAGTPtr"] = {};
|
||||
}
|
||||
if (!("GANBV" in $$source)) {
|
||||
/**
|
||||
* Accept
|
||||
* @member
|
||||
* @type {{ [_: NonBasicCstrAlias<ValueTextMarshaler>]: number }}
|
||||
*/
|
||||
this["GANBV"] = {};
|
||||
}
|
||||
if (!("GANBP" in $$source)) {
|
||||
/**
|
||||
* Accept, hide
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GANBP"] = {};
|
||||
}
|
||||
if (!("GANBVPtr" in $$source)) {
|
||||
/**
|
||||
* Accept, hide
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GANBVPtr"] = {};
|
||||
}
|
||||
if (!("GANBPPtr" in $$source)) {
|
||||
/**
|
||||
* Reject
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GANBPPtr"] = {};
|
||||
}
|
||||
if (!("GAPlV1" in $$source)) {
|
||||
/**
|
||||
* Accept
|
||||
* @member
|
||||
* @type {{ [_: PointableCstrAlias<ValueTextMarshaler>]: number }}
|
||||
*/
|
||||
this["GAPlV1"] = {};
|
||||
}
|
||||
if (!("GAPlV2" in $$source)) {
|
||||
/**
|
||||
* Accept
|
||||
* @member
|
||||
* @type {{ [_: PointableCstrAlias<ValueTextMarshaler>]: number }}
|
||||
*/
|
||||
this["GAPlV2"] = {};
|
||||
}
|
||||
if (!("GAPlP1" in $$source)) {
|
||||
/**
|
||||
* Reject
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GAPlP1"] = {};
|
||||
}
|
||||
if (!("GAPlP2" in $$source)) {
|
||||
/**
|
||||
* Accept
|
||||
* @member
|
||||
* @type {{ [_: PointableCstrAlias<PointerTextMarshaler>]: number }}
|
||||
*/
|
||||
this["GAPlP2"] = {};
|
||||
}
|
||||
if (!("GAPlVPtr" in $$source)) {
|
||||
/**
|
||||
* Accept, hide
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GAPlVPtr"] = {};
|
||||
}
|
||||
if (!("GAPlPPtr" in $$source)) {
|
||||
/**
|
||||
* Accept, hide
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GAPlPPtr"] = {};
|
||||
}
|
||||
if (!("GAMi" in $$source)) {
|
||||
/**
|
||||
* Accept, hide
|
||||
* @member
|
||||
* @type {{ [_: `${number}`]: number }}
|
||||
*/
|
||||
this["GAMi"] = {};
|
||||
}
|
||||
if (!("GAMS" in $$source)) {
|
||||
/**
|
||||
* Accept
|
||||
* @member
|
||||
* @type {{ [_: MixedCstrAlias<StringType>]: number }}
|
||||
*/
|
||||
this["GAMS"] = {};
|
||||
}
|
||||
if (!("GAMV" in $$source)) {
|
||||
/**
|
||||
* Accept
|
||||
* @member
|
||||
* @type {{ [_: MixedCstrAlias<ValueTextMarshaler>]: number }}
|
||||
*/
|
||||
this["GAMV"] = {};
|
||||
}
|
||||
if (!("GAMSPtr" in $$source)) {
|
||||
/**
|
||||
* Reject
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GAMSPtr"] = {};
|
||||
}
|
||||
if (!("GAMVPtr" in $$source)) {
|
||||
/**
|
||||
* Accept, hide
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GAMVPtr"] = {};
|
||||
}
|
||||
if (!("GAII" in $$source)) {
|
||||
/**
|
||||
* Accept, hide
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GAII"] = {};
|
||||
}
|
||||
if (!("GAIV" in $$source)) {
|
||||
/**
|
||||
* Accept
|
||||
* @member
|
||||
* @type {{ [_: InterfaceCstrAlias<ValueTextMarshaler>]: number }}
|
||||
*/
|
||||
this["GAIV"] = {};
|
||||
}
|
||||
if (!("GAIP" in $$source)) {
|
||||
/**
|
||||
* Accept, hide
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GAIP"] = {};
|
||||
}
|
||||
if (!("GAIIPtr" in $$source)) {
|
||||
/**
|
||||
* Reject
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GAIIPtr"] = {};
|
||||
}
|
||||
if (!("GAIVPtr" in $$source)) {
|
||||
/**
|
||||
* Accept, hide
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GAIVPtr"] = {};
|
||||
}
|
||||
if (!("GAIPPtr" in $$source)) {
|
||||
/**
|
||||
* Reject
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GAIPPtr"] = {};
|
||||
}
|
||||
if (!("GAPrV" in $$source)) {
|
||||
/**
|
||||
* Accept, hide
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GAPrV"] = {};
|
||||
}
|
||||
if (!("GAPrP" in $$source)) {
|
||||
/**
|
||||
* Accept, hide
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GAPrP"] = {};
|
||||
}
|
||||
if (!("GAPrVPtr" in $$source)) {
|
||||
/**
|
||||
* Reject
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GAPrVPtr"] = {};
|
||||
}
|
||||
if (!("GAPrPPtr" in $$source)) {
|
||||
/**
|
||||
* Reject
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GAPrPPtr"] = {};
|
||||
}
|
||||
|
||||
Object.assign(this, $$source);
|
||||
}
|
||||
|
|
@ -861,6 +1329,62 @@ export class Maps {
|
|||
const $$createField86_0 = $$createType74($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField87_0 = $$createType75($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField88_0 = $$createType76($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField89_0 = $$createType59($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField90_0 = $$createType60($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField91_0 = $$createType61($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField92_0 = $$createType62($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField93_0 = $$createType63($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField94_0 = $$createType64($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField95_0 = $$createType65($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField96_0 = $$createType66($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField97_0 = $$createType67($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField98_0 = $$createType68($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField99_0 = $$createType69($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField100_0 = $$createType70($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField101_0 = $$createType71($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField102_0 = $$createType72($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField103_0 = $$createType73($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField104_0 = $$createType74($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField105_0 = $$createType75($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField106_0 = $$createType76($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField107_0 = $$createType1;
|
||||
const $$createField108_0 = $$createType15;
|
||||
const $$createField109_0 = $$createType17;
|
||||
const $$createField110_0 = $$createType8;
|
||||
const $$createField111_0 = $$createType16;
|
||||
const $$createField112_0 = $$createType18;
|
||||
const $$createField113_0 = $$createType1;
|
||||
const $$createField114_0 = $$createType7;
|
||||
const $$createField115_0 = $$createType8;
|
||||
const $$createField116_0 = $$createType77;
|
||||
const $$createField117_0 = $$createType78;
|
||||
const $$createField118_0 = $$createType15;
|
||||
const $$createField119_0 = $$createType16;
|
||||
const $$createField120_0 = $$createType15;
|
||||
const $$createField121_0 = $$createType18;
|
||||
const $$createField122_0 = $$createType16;
|
||||
const $$createField123_0 = $$createType53;
|
||||
const $$createField124_0 = $$createType15;
|
||||
const $$createField125_0 = $$createType16;
|
||||
const $$createField126_0 = $$createType17;
|
||||
const $$createField127_0 = $$createType18;
|
||||
const $$createField128_0 = $$createType16;
|
||||
const $$createField129_0 = $$createType18;
|
||||
const $$createField130_0 = $$createType2;
|
||||
const $$createField131_0 = $$createType42;
|
||||
const $$createField132_0 = $$createType15;
|
||||
const $$createField133_0 = $$createType79;
|
||||
const $$createField134_0 = $$createType16;
|
||||
const $$createField135_0 = $$createType23;
|
||||
const $$createField136_0 = $$createType15;
|
||||
const $$createField137_0 = $$createType18;
|
||||
const $$createField138_0 = $$createType24;
|
||||
const $$createField139_0 = $$createType16;
|
||||
const $$createField140_0 = $$createType53;
|
||||
const $$createField141_0 = $$createType16;
|
||||
const $$createField142_0 = $$createType18;
|
||||
const $$createField143_0 = $$createType48;
|
||||
const $$createField144_0 = $$createType53;
|
||||
return ($$source = {}) => {
|
||||
let $$parsedSource = typeof $$source === 'string' ? JSON.parse($$source) : $$source;
|
||||
if ("Bool" in $$parsedSource) {
|
||||
|
|
@ -1130,11 +1654,194 @@ export class Maps {
|
|||
if ("TPZPtr" in $$parsedSource) {
|
||||
$$parsedSource["TPZPtr"] = $$createField88_0($$parsedSource["TPZPtr"]);
|
||||
}
|
||||
if ("GAR" in $$parsedSource) {
|
||||
$$parsedSource["GAR"] = $$createField89_0($$parsedSource["GAR"]);
|
||||
}
|
||||
if ("GARPtr" in $$parsedSource) {
|
||||
$$parsedSource["GARPtr"] = $$createField90_0($$parsedSource["GARPtr"]);
|
||||
}
|
||||
if ("GAS" in $$parsedSource) {
|
||||
$$parsedSource["GAS"] = $$createField91_0($$parsedSource["GAS"]);
|
||||
}
|
||||
if ("GASPtr" in $$parsedSource) {
|
||||
$$parsedSource["GASPtr"] = $$createField92_0($$parsedSource["GASPtr"]);
|
||||
}
|
||||
if ("GAT" in $$parsedSource) {
|
||||
$$parsedSource["GAT"] = $$createField93_0($$parsedSource["GAT"]);
|
||||
}
|
||||
if ("GATPtr" in $$parsedSource) {
|
||||
$$parsedSource["GATPtr"] = $$createField94_0($$parsedSource["GATPtr"]);
|
||||
}
|
||||
if ("GAU" in $$parsedSource) {
|
||||
$$parsedSource["GAU"] = $$createField95_0($$parsedSource["GAU"]);
|
||||
}
|
||||
if ("GAUPtr" in $$parsedSource) {
|
||||
$$parsedSource["GAUPtr"] = $$createField96_0($$parsedSource["GAUPtr"]);
|
||||
}
|
||||
if ("GAV" in $$parsedSource) {
|
||||
$$parsedSource["GAV"] = $$createField97_0($$parsedSource["GAV"]);
|
||||
}
|
||||
if ("GAVPtr" in $$parsedSource) {
|
||||
$$parsedSource["GAVPtr"] = $$createField98_0($$parsedSource["GAVPtr"]);
|
||||
}
|
||||
if ("GAW" in $$parsedSource) {
|
||||
$$parsedSource["GAW"] = $$createField99_0($$parsedSource["GAW"]);
|
||||
}
|
||||
if ("GAWPtr" in $$parsedSource) {
|
||||
$$parsedSource["GAWPtr"] = $$createField100_0($$parsedSource["GAWPtr"]);
|
||||
}
|
||||
if ("GAX" in $$parsedSource) {
|
||||
$$parsedSource["GAX"] = $$createField101_0($$parsedSource["GAX"]);
|
||||
}
|
||||
if ("GAXPtr" in $$parsedSource) {
|
||||
$$parsedSource["GAXPtr"] = $$createField102_0($$parsedSource["GAXPtr"]);
|
||||
}
|
||||
if ("GAY" in $$parsedSource) {
|
||||
$$parsedSource["GAY"] = $$createField103_0($$parsedSource["GAY"]);
|
||||
}
|
||||
if ("GAYPtr" in $$parsedSource) {
|
||||
$$parsedSource["GAYPtr"] = $$createField104_0($$parsedSource["GAYPtr"]);
|
||||
}
|
||||
if ("GAZ" in $$parsedSource) {
|
||||
$$parsedSource["GAZ"] = $$createField105_0($$parsedSource["GAZ"]);
|
||||
}
|
||||
if ("GAZPtr" in $$parsedSource) {
|
||||
$$parsedSource["GAZPtr"] = $$createField106_0($$parsedSource["GAZPtr"]);
|
||||
}
|
||||
if ("GACi" in $$parsedSource) {
|
||||
$$parsedSource["GACi"] = $$createField107_0($$parsedSource["GACi"]);
|
||||
}
|
||||
if ("GACV" in $$parsedSource) {
|
||||
$$parsedSource["GACV"] = $$createField108_0($$parsedSource["GACV"]);
|
||||
}
|
||||
if ("GACP" in $$parsedSource) {
|
||||
$$parsedSource["GACP"] = $$createField109_0($$parsedSource["GACP"]);
|
||||
}
|
||||
if ("GACiPtr" in $$parsedSource) {
|
||||
$$parsedSource["GACiPtr"] = $$createField110_0($$parsedSource["GACiPtr"]);
|
||||
}
|
||||
if ("GACVPtr" in $$parsedSource) {
|
||||
$$parsedSource["GACVPtr"] = $$createField111_0($$parsedSource["GACVPtr"]);
|
||||
}
|
||||
if ("GACPPtr" in $$parsedSource) {
|
||||
$$parsedSource["GACPPtr"] = $$createField112_0($$parsedSource["GACPPtr"]);
|
||||
}
|
||||
if ("GABi" in $$parsedSource) {
|
||||
$$parsedSource["GABi"] = $$createField113_0($$parsedSource["GABi"]);
|
||||
}
|
||||
if ("GABs" in $$parsedSource) {
|
||||
$$parsedSource["GABs"] = $$createField114_0($$parsedSource["GABs"]);
|
||||
}
|
||||
if ("GABiPtr" in $$parsedSource) {
|
||||
$$parsedSource["GABiPtr"] = $$createField115_0($$parsedSource["GABiPtr"]);
|
||||
}
|
||||
if ("GABT" in $$parsedSource) {
|
||||
$$parsedSource["GABT"] = $$createField116_0($$parsedSource["GABT"]);
|
||||
}
|
||||
if ("GABTPtr" in $$parsedSource) {
|
||||
$$parsedSource["GABTPtr"] = $$createField117_0($$parsedSource["GABTPtr"]);
|
||||
}
|
||||
if ("GAGT" in $$parsedSource) {
|
||||
$$parsedSource["GAGT"] = $$createField118_0($$parsedSource["GAGT"]);
|
||||
}
|
||||
if ("GAGTPtr" in $$parsedSource) {
|
||||
$$parsedSource["GAGTPtr"] = $$createField119_0($$parsedSource["GAGTPtr"]);
|
||||
}
|
||||
if ("GANBV" in $$parsedSource) {
|
||||
$$parsedSource["GANBV"] = $$createField120_0($$parsedSource["GANBV"]);
|
||||
}
|
||||
if ("GANBP" in $$parsedSource) {
|
||||
$$parsedSource["GANBP"] = $$createField121_0($$parsedSource["GANBP"]);
|
||||
}
|
||||
if ("GANBVPtr" in $$parsedSource) {
|
||||
$$parsedSource["GANBVPtr"] = $$createField122_0($$parsedSource["GANBVPtr"]);
|
||||
}
|
||||
if ("GANBPPtr" in $$parsedSource) {
|
||||
$$parsedSource["GANBPPtr"] = $$createField123_0($$parsedSource["GANBPPtr"]);
|
||||
}
|
||||
if ("GAPlV1" in $$parsedSource) {
|
||||
$$parsedSource["GAPlV1"] = $$createField124_0($$parsedSource["GAPlV1"]);
|
||||
}
|
||||
if ("GAPlV2" in $$parsedSource) {
|
||||
$$parsedSource["GAPlV2"] = $$createField125_0($$parsedSource["GAPlV2"]);
|
||||
}
|
||||
if ("GAPlP1" in $$parsedSource) {
|
||||
$$parsedSource["GAPlP1"] = $$createField126_0($$parsedSource["GAPlP1"]);
|
||||
}
|
||||
if ("GAPlP2" in $$parsedSource) {
|
||||
$$parsedSource["GAPlP2"] = $$createField127_0($$parsedSource["GAPlP2"]);
|
||||
}
|
||||
if ("GAPlVPtr" in $$parsedSource) {
|
||||
$$parsedSource["GAPlVPtr"] = $$createField128_0($$parsedSource["GAPlVPtr"]);
|
||||
}
|
||||
if ("GAPlPPtr" in $$parsedSource) {
|
||||
$$parsedSource["GAPlPPtr"] = $$createField129_0($$parsedSource["GAPlPPtr"]);
|
||||
}
|
||||
if ("GAMi" in $$parsedSource) {
|
||||
$$parsedSource["GAMi"] = $$createField130_0($$parsedSource["GAMi"]);
|
||||
}
|
||||
if ("GAMS" in $$parsedSource) {
|
||||
$$parsedSource["GAMS"] = $$createField131_0($$parsedSource["GAMS"]);
|
||||
}
|
||||
if ("GAMV" in $$parsedSource) {
|
||||
$$parsedSource["GAMV"] = $$createField132_0($$parsedSource["GAMV"]);
|
||||
}
|
||||
if ("GAMSPtr" in $$parsedSource) {
|
||||
$$parsedSource["GAMSPtr"] = $$createField133_0($$parsedSource["GAMSPtr"]);
|
||||
}
|
||||
if ("GAMVPtr" in $$parsedSource) {
|
||||
$$parsedSource["GAMVPtr"] = $$createField134_0($$parsedSource["GAMVPtr"]);
|
||||
}
|
||||
if ("GAII" in $$parsedSource) {
|
||||
$$parsedSource["GAII"] = $$createField135_0($$parsedSource["GAII"]);
|
||||
}
|
||||
if ("GAIV" in $$parsedSource) {
|
||||
$$parsedSource["GAIV"] = $$createField136_0($$parsedSource["GAIV"]);
|
||||
}
|
||||
if ("GAIP" in $$parsedSource) {
|
||||
$$parsedSource["GAIP"] = $$createField137_0($$parsedSource["GAIP"]);
|
||||
}
|
||||
if ("GAIIPtr" in $$parsedSource) {
|
||||
$$parsedSource["GAIIPtr"] = $$createField138_0($$parsedSource["GAIIPtr"]);
|
||||
}
|
||||
if ("GAIVPtr" in $$parsedSource) {
|
||||
$$parsedSource["GAIVPtr"] = $$createField139_0($$parsedSource["GAIVPtr"]);
|
||||
}
|
||||
if ("GAIPPtr" in $$parsedSource) {
|
||||
$$parsedSource["GAIPPtr"] = $$createField140_0($$parsedSource["GAIPPtr"]);
|
||||
}
|
||||
if ("GAPrV" in $$parsedSource) {
|
||||
$$parsedSource["GAPrV"] = $$createField141_0($$parsedSource["GAPrV"]);
|
||||
}
|
||||
if ("GAPrP" in $$parsedSource) {
|
||||
$$parsedSource["GAPrP"] = $$createField142_0($$parsedSource["GAPrP"]);
|
||||
}
|
||||
if ("GAPrVPtr" in $$parsedSource) {
|
||||
$$parsedSource["GAPrVPtr"] = $$createField143_0($$parsedSource["GAPrVPtr"]);
|
||||
}
|
||||
if ("GAPrPPtr" in $$parsedSource) {
|
||||
$$parsedSource["GAPrPPtr"] = $$createField144_0($$parsedSource["GAPrPPtr"]);
|
||||
}
|
||||
return new Maps(/** @type {Partial<Maps<R, S, T, U, V, W, X, Y, Z>>} */($$parsedSource));
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @template X
|
||||
* @typedef {X} MixedCstrAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* @template V
|
||||
* @typedef {V} NonBasicCstrAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* @template W
|
||||
* @typedef {W} PointableCstrAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* @typedef {PointerTextMarshaler} PointerAlias
|
||||
*/
|
||||
|
|
@ -1237,3 +1944,6 @@ const $$createType73 = ($$createParamR, $$createParamS, $$createParamT, $$create
|
|||
const $$createType74 = ($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ) => $Create.Map($Create.Any, $Create.Any);
|
||||
const $$createType75 = ($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ) => $Create.Map($Create.Any, $Create.Any);
|
||||
const $$createType76 = ($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ) => $Create.Map($Create.Any, $Create.Any);
|
||||
const $$createType77 = $Create.Map($Create.Any, $Create.Any);
|
||||
const $$createType78 = $Create.Map($Create.Any, $Create.Any);
|
||||
const $$createType79 = $Create.Map($Create.Any, $Create.Any);
|
||||
|
|
|
|||
|
|
@ -33,11 +33,34 @@ package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type
|
|||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type bool is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type complex64 is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type float32 is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.BadTildeCstrAlias[T] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.BadTildeCstrAlias[struct{}] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.BadTildeCstrPtrAlias[T] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.BadTildeCstrPtrAlias[struct{}] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.BasicCstrPtrAlias[S] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.BasicCstrPtrAlias[int] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.ComparableCstrAlias[R] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.ComparableCstrAlias[github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerTextMarshaler] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.ComparableCstrPtrAlias[R] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.ComparableCstrPtrAlias[int] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.EmbeddedPointer is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.GoodTildeCstrPtrAlias[U] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.InterfaceCstrPtrAlias[*github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerTextMarshaler] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.InterfaceCstrPtrAlias[Y] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.InterfaceCstrPtrAlias[encoding.TextMarshaler] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.InterfacePtrAlias is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.InterfacePtrType is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.MixedCstrPtrAlias[X] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.MixedCstrPtrAlias[github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.StringType] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.NonBasicCstrPtrAlias[*github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerTextMarshaler] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.NonBasicCstrPtrAlias[V] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.NonTextMarshaler is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointableCstrAlias[W] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointableCstrAlias[github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerTextMarshaler] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerAlias is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerCstrPtrAlias[R, Z] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerCstrPtrAlias[github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerTextMarshaler, *github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerTextMarshaler] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerCstrPtrAlias[github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.ValueTextMarshaler, *github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.ValueTextMarshaler] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerPtrType is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerTextMarshaler is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerType is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
|
|
|
|||
|
|
@ -72,6 +72,18 @@ export function GetButForeignPrivateAlias() {
|
|||
return $typingPromise;
|
||||
}
|
||||
|
||||
/**
|
||||
* @returns {Promise<$models.AliasGroup> & { cancel(): void }}
|
||||
*/
|
||||
export function GetButGenericAliases() {
|
||||
let $resultPromise = /** @type {any} */($Call.ByName("main.GreetService.GetButGenericAliases"));
|
||||
let $typingPromise = /** @type {any} */($resultPromise.then(($result) => {
|
||||
return $$createType3($result);
|
||||
}));
|
||||
$typingPromise.cancel = $resultPromise.cancel.bind($resultPromise);
|
||||
return $typingPromise;
|
||||
}
|
||||
|
||||
/**
|
||||
* Greet a lot of unusual things.
|
||||
* @param {$models.EmptyAliasStruct} $0
|
||||
|
|
@ -81,7 +93,7 @@ export function GetButForeignPrivateAlias() {
|
|||
export function Greet($0, $1) {
|
||||
let $resultPromise = /** @type {any} */($Call.ByName("main.GreetService.Greet", $0, $1));
|
||||
let $typingPromise = /** @type {any} */($resultPromise.then(($result) => {
|
||||
return $$createType6($result);
|
||||
return $$createType7($result);
|
||||
}));
|
||||
$typingPromise.cancel = $resultPromise.cancel.bind($resultPromise);
|
||||
return $typingPromise;
|
||||
|
|
@ -91,12 +103,13 @@ export function Greet($0, $1) {
|
|||
const $$createType0 = $models.Person.createFrom;
|
||||
const $$createType1 = $models.GenericPerson.createFrom($Create.Any);
|
||||
const $$createType2 = nobindingshere$0.personImpl.createFrom;
|
||||
const $$createType3 = $Create.Array($Create.Any);
|
||||
const $$createType3 = $models.AliasGroup.createFrom;
|
||||
const $$createType4 = $Create.Array($Create.Any);
|
||||
const $$createType5 = $Create.Struct({
|
||||
"NoMoreIdeas": $$createType4,
|
||||
});
|
||||
const $$createType5 = $Create.Array($Create.Any);
|
||||
const $$createType6 = $Create.Struct({
|
||||
"Foo": $$createType3,
|
||||
"Other": $$createType5,
|
||||
"NoMoreIdeas": $$createType5,
|
||||
});
|
||||
const $$createType7 = $Create.Struct({
|
||||
"Foo": $$createType4,
|
||||
"Other": $$createType6,
|
||||
});
|
||||
|
|
|
|||
|
|
@ -8,11 +8,15 @@ export {
|
|||
};
|
||||
|
||||
export {
|
||||
AliasGroup,
|
||||
AliasedPerson,
|
||||
EmptyStruct,
|
||||
GenericPerson,
|
||||
GenericPersonAlias,
|
||||
IndirectPersonAlias,
|
||||
Person,
|
||||
StrangelyAliasedPerson
|
||||
StrangelyAliasedPerson,
|
||||
TPIndirectPersonAlias
|
||||
} from "./models.js";
|
||||
|
||||
import * as $models from "./models.js";
|
||||
|
|
@ -33,6 +37,24 @@ import * as $models from "./models.js";
|
|||
* @typedef {$models.EmptyAliasStruct} EmptyAliasStruct
|
||||
*/
|
||||
|
||||
/**
|
||||
* A generic alias that forwards to a type parameter.
|
||||
* @template T
|
||||
* @typedef {$models.GenericAlias<T>} GenericAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* A generic alias that wraps a map.
|
||||
* @template T,U
|
||||
* @typedef {$models.GenericMapAlias<T, U>} GenericMapAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* A generic alias that wraps a pointer type.
|
||||
* @template T
|
||||
* @typedef {$models.GenericPtrAlias<T>} GenericPtrAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* Another struct alias.
|
||||
* @typedef {$models.OtherAliasStruct} OtherAliasStruct
|
||||
|
|
|
|||
|
|
@ -11,6 +11,114 @@ import {Create as $Create} from "/wails/runtime.js";
|
|||
* @typedef {number} Alias
|
||||
*/
|
||||
|
||||
/**
|
||||
* A class whose fields have various aliased types.
|
||||
*/
|
||||
export class AliasGroup {
|
||||
/**
|
||||
* Creates a new AliasGroup instance.
|
||||
* @param {Partial<AliasGroup>} [$$source = {}] - The source object to create the AliasGroup.
|
||||
*/
|
||||
constructor($$source = {}) {
|
||||
if (!("GAi" in $$source)) {
|
||||
/**
|
||||
* @member
|
||||
* @type {GenericAlias<number>}
|
||||
*/
|
||||
this["GAi"] = 0;
|
||||
}
|
||||
if (!("GAP" in $$source)) {
|
||||
/**
|
||||
* @member
|
||||
* @type {GenericAlias<GenericPerson<boolean>>}
|
||||
*/
|
||||
this["GAP"] = (new GenericPerson());
|
||||
}
|
||||
if (!("GPAs" in $$source)) {
|
||||
/**
|
||||
* @member
|
||||
* @type {GenericPtrAlias<string[]>}
|
||||
*/
|
||||
this["GPAs"] = null;
|
||||
}
|
||||
if (!("GPAP" in $$source)) {
|
||||
/**
|
||||
* @member
|
||||
* @type {GenericPtrAlias<GenericPerson<number[]>>}
|
||||
*/
|
||||
this["GPAP"] = null;
|
||||
}
|
||||
if (!("GMA" in $$source)) {
|
||||
/**
|
||||
* @member
|
||||
* @type {GenericMapAlias<string, number>}
|
||||
*/
|
||||
this["GMA"] = {};
|
||||
}
|
||||
if (!("GPA" in $$source)) {
|
||||
/**
|
||||
* @member
|
||||
* @type {GenericPersonAlias<boolean>}
|
||||
*/
|
||||
this["GPA"] = (new GenericPersonAlias());
|
||||
}
|
||||
if (!("IPA" in $$source)) {
|
||||
/**
|
||||
* @member
|
||||
* @type {IndirectPersonAlias}
|
||||
*/
|
||||
this["IPA"] = (new IndirectPersonAlias());
|
||||
}
|
||||
if (!("TPIPA" in $$source)) {
|
||||
/**
|
||||
* @member
|
||||
* @type {TPIndirectPersonAlias}
|
||||
*/
|
||||
this["TPIPA"] = (new TPIndirectPersonAlias());
|
||||
}
|
||||
|
||||
Object.assign(this, $$source);
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a new AliasGroup instance from a string or object.
|
||||
* @param {any} [$$source = {}]
|
||||
* @returns {AliasGroup}
|
||||
*/
|
||||
static createFrom($$source = {}) {
|
||||
const $$createField1_0 = $$createType0;
|
||||
const $$createField2_0 = $$createType2;
|
||||
const $$createField3_0 = $$createType5;
|
||||
const $$createField4_0 = $$createType6;
|
||||
const $$createField5_0 = $$createType8;
|
||||
const $$createField6_0 = $$createType8;
|
||||
const $$createField7_0 = $$createType0;
|
||||
let $$parsedSource = typeof $$source === 'string' ? JSON.parse($$source) : $$source;
|
||||
if ("GAP" in $$parsedSource) {
|
||||
$$parsedSource["GAP"] = $$createField1_0($$parsedSource["GAP"]);
|
||||
}
|
||||
if ("GPAs" in $$parsedSource) {
|
||||
$$parsedSource["GPAs"] = $$createField2_0($$parsedSource["GPAs"]);
|
||||
}
|
||||
if ("GPAP" in $$parsedSource) {
|
||||
$$parsedSource["GPAP"] = $$createField3_0($$parsedSource["GPAP"]);
|
||||
}
|
||||
if ("GMA" in $$parsedSource) {
|
||||
$$parsedSource["GMA"] = $$createField4_0($$parsedSource["GMA"]);
|
||||
}
|
||||
if ("GPA" in $$parsedSource) {
|
||||
$$parsedSource["GPA"] = $$createField5_0($$parsedSource["GPA"]);
|
||||
}
|
||||
if ("IPA" in $$parsedSource) {
|
||||
$$parsedSource["IPA"] = $$createField6_0($$parsedSource["IPA"]);
|
||||
}
|
||||
if ("TPIPA" in $$parsedSource) {
|
||||
$$parsedSource["TPIPA"] = $$createField7_0($$parsedSource["TPIPA"]);
|
||||
}
|
||||
return new AliasGroup(/** @type {Partial<AliasGroup>} */($$parsedSource));
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* A struct alias.
|
||||
* This should be rendered as a typedef or interface in every mode.
|
||||
|
|
@ -51,6 +159,18 @@ export class EmptyStruct {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* A generic alias that forwards to a type parameter.
|
||||
* @template T
|
||||
* @typedef {T} GenericAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* A generic alias that wraps a map.
|
||||
* @template T,U
|
||||
* @typedef {{ [_: string]: U }} GenericMapAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* A generic struct containing an alias.
|
||||
* @template T
|
||||
|
|
@ -99,6 +219,33 @@ export class GenericPerson {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* A generic alias that wraps a generic struct.
|
||||
*/
|
||||
export const GenericPersonAlias = GenericPerson;
|
||||
|
||||
/**
|
||||
* A generic alias that wraps a generic struct.
|
||||
* @template T
|
||||
* @typedef {GenericPerson<GenericPtrAlias<T>[]>} GenericPersonAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* A generic alias that wraps a pointer type.
|
||||
* @template T
|
||||
* @typedef {GenericAlias<T> | null} GenericPtrAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* An alias that wraps a class through a non-typeparam alias.
|
||||
*/
|
||||
export const IndirectPersonAlias = GenericPersonAlias;
|
||||
|
||||
/**
|
||||
* An alias that wraps a class through a non-typeparam alias.
|
||||
* @typedef {GenericPersonAlias<boolean>} IndirectPersonAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* Another struct alias.
|
||||
* @typedef {Object} OtherAliasStruct
|
||||
|
|
@ -164,3 +311,24 @@ export const StrangelyAliasedPerson = Person;
|
|||
* Another class alias, but ordered after its aliased class.
|
||||
* @typedef {Person} StrangelyAliasedPerson
|
||||
*/
|
||||
|
||||
/**
|
||||
* An alias that wraps a class through a typeparam alias.
|
||||
*/
|
||||
export const TPIndirectPersonAlias = GenericPerson;
|
||||
|
||||
/**
|
||||
* An alias that wraps a class through a typeparam alias.
|
||||
* @typedef {GenericAlias<GenericPerson<boolean>>} TPIndirectPersonAlias
|
||||
*/
|
||||
|
||||
// Private type creation functions
|
||||
const $$createType0 = GenericPerson.createFrom($Create.Any);
|
||||
const $$createType1 = $Create.Array($Create.Any);
|
||||
const $$createType2 = $Create.Nullable($$createType1);
|
||||
const $$createType3 = $Create.Array($Create.Any);
|
||||
const $$createType4 = GenericPerson.createFrom($$createType3);
|
||||
const $$createType5 = $Create.Nullable($$createType4);
|
||||
const $$createType6 = $Create.Map($Create.Any, $Create.Any);
|
||||
const $$createType7 = $Create.Array($Create.Any);
|
||||
const $$createType8 = GenericPerson.createFrom($$createType7);
|
||||
|
|
|
|||
|
|
@ -13,6 +13,16 @@ export {
|
|||
|
||||
import * as $models from "./models.js";
|
||||
|
||||
/**
|
||||
* @template S
|
||||
* @typedef {$models.BasicCstrAlias<S>} BasicCstrAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* @template R
|
||||
* @typedef {$models.ComparableCstrAlias<R>} ComparableCstrAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* @typedef {$models.EmbeddedCustomInterface} EmbeddedCustomInterface
|
||||
*/
|
||||
|
|
@ -37,6 +47,31 @@ import * as $models from "./models.js";
|
|||
* @typedef {$models.EmbeddedValuePtr} EmbeddedValuePtr
|
||||
*/
|
||||
|
||||
/**
|
||||
* @template U
|
||||
* @typedef {$models.GoodTildeCstrAlias<U>} GoodTildeCstrAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* @template Y
|
||||
* @typedef {$models.InterfaceCstrAlias<Y>} InterfaceCstrAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* @template X
|
||||
* @typedef {$models.MixedCstrAlias<X>} MixedCstrAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* @template V
|
||||
* @typedef {$models.NonBasicCstrAlias<V>} NonBasicCstrAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* @template W
|
||||
* @typedef {$models.PointableCstrAlias<W>} PointableCstrAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* @typedef {$models.PointerAlias} PointerAlias
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -6,6 +6,16 @@
|
|||
// @ts-ignore: Unused imports
|
||||
import {Create as $Create} from "/wails/runtime.js";
|
||||
|
||||
/**
|
||||
* @template S
|
||||
* @typedef {S} BasicCstrAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* @template R
|
||||
* @typedef {R} ComparableCstrAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* @typedef {string} EmbeddedCustomInterface
|
||||
*/
|
||||
|
|
@ -30,6 +40,16 @@ import {Create as $Create} from "/wails/runtime.js";
|
|||
* @typedef {string} EmbeddedValuePtr
|
||||
*/
|
||||
|
||||
/**
|
||||
* @template U
|
||||
* @typedef {U} GoodTildeCstrAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* @template Y
|
||||
* @typedef {Y} InterfaceCstrAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* @template R,S,T,U,V,W,X,Y,Z
|
||||
*/
|
||||
|
|
@ -751,6 +771,454 @@ export class Maps {
|
|||
*/
|
||||
this["TPZPtr"] = {};
|
||||
}
|
||||
if (!("GAR" in $$source)) {
|
||||
/**
|
||||
* Soft reject
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GAR"] = {};
|
||||
}
|
||||
if (!("GARPtr" in $$source)) {
|
||||
/**
|
||||
* Soft reject
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GARPtr"] = {};
|
||||
}
|
||||
if (!("GAS" in $$source)) {
|
||||
/**
|
||||
* Accept, hide
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GAS"] = {};
|
||||
}
|
||||
if (!("GASPtr" in $$source)) {
|
||||
/**
|
||||
* Soft reject
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GASPtr"] = {};
|
||||
}
|
||||
if (!("GAT" in $$source)) {
|
||||
/**
|
||||
* Soft reject
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GAT"] = {};
|
||||
}
|
||||
if (!("GATPtr" in $$source)) {
|
||||
/**
|
||||
* Soft reject
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GATPtr"] = {};
|
||||
}
|
||||
if (!("GAU" in $$source)) {
|
||||
/**
|
||||
* Accept, hide
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GAU"] = {};
|
||||
}
|
||||
if (!("GAUPtr" in $$source)) {
|
||||
/**
|
||||
* Soft reject
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GAUPtr"] = {};
|
||||
}
|
||||
if (!("GAV" in $$source)) {
|
||||
/**
|
||||
* Accept, hide
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GAV"] = {};
|
||||
}
|
||||
if (!("GAVPtr" in $$source)) {
|
||||
/**
|
||||
* Soft reject
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GAVPtr"] = {};
|
||||
}
|
||||
if (!("GAW" in $$source)) {
|
||||
/**
|
||||
* Soft reject
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GAW"] = {};
|
||||
}
|
||||
if (!("GAWPtr" in $$source)) {
|
||||
/**
|
||||
* Accept, hide
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GAWPtr"] = {};
|
||||
}
|
||||
if (!("GAX" in $$source)) {
|
||||
/**
|
||||
* Accept, hide
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GAX"] = {};
|
||||
}
|
||||
if (!("GAXPtr" in $$source)) {
|
||||
/**
|
||||
* Soft reject
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GAXPtr"] = {};
|
||||
}
|
||||
if (!("GAY" in $$source)) {
|
||||
/**
|
||||
* Accept, hide
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GAY"] = {};
|
||||
}
|
||||
if (!("GAYPtr" in $$source)) {
|
||||
/**
|
||||
* Soft reject
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GAYPtr"] = {};
|
||||
}
|
||||
if (!("GAZ" in $$source)) {
|
||||
/**
|
||||
* Accept, hide
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GAZ"] = {};
|
||||
}
|
||||
if (!("GAZPtr" in $$source)) {
|
||||
/**
|
||||
* Soft reject
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GAZPtr"] = {};
|
||||
}
|
||||
if (!("GACi" in $$source)) {
|
||||
/**
|
||||
* Accept, hide
|
||||
* @member
|
||||
* @type {{ [_: `${number}`]: number }}
|
||||
*/
|
||||
this["GACi"] = {};
|
||||
}
|
||||
if (!("GACV" in $$source)) {
|
||||
/**
|
||||
* Accept
|
||||
* @member
|
||||
* @type {{ [_: ComparableCstrAlias<ValueTextMarshaler>]: number }}
|
||||
*/
|
||||
this["GACV"] = {};
|
||||
}
|
||||
if (!("GACP" in $$source)) {
|
||||
/**
|
||||
* Reject
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GACP"] = {};
|
||||
}
|
||||
if (!("GACiPtr" in $$source)) {
|
||||
/**
|
||||
* Reject
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GACiPtr"] = {};
|
||||
}
|
||||
if (!("GACVPtr" in $$source)) {
|
||||
/**
|
||||
* Accept, hide
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GACVPtr"] = {};
|
||||
}
|
||||
if (!("GACPPtr" in $$source)) {
|
||||
/**
|
||||
* Accept, hide
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GACPPtr"] = {};
|
||||
}
|
||||
if (!("GABi" in $$source)) {
|
||||
/**
|
||||
* Accept, hide
|
||||
* @member
|
||||
* @type {{ [_: `${number}`]: number }}
|
||||
*/
|
||||
this["GABi"] = {};
|
||||
}
|
||||
if (!("GABs" in $$source)) {
|
||||
/**
|
||||
* Accept
|
||||
* @member
|
||||
* @type {{ [_: BasicCstrAlias<string>]: number }}
|
||||
*/
|
||||
this["GABs"] = {};
|
||||
}
|
||||
if (!("GABiPtr" in $$source)) {
|
||||
/**
|
||||
* Reject
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GABiPtr"] = {};
|
||||
}
|
||||
if (!("GABT" in $$source)) {
|
||||
/**
|
||||
* Reject
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GABT"] = {};
|
||||
}
|
||||
if (!("GABTPtr" in $$source)) {
|
||||
/**
|
||||
* Reject
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GABTPtr"] = {};
|
||||
}
|
||||
if (!("GAGT" in $$source)) {
|
||||
/**
|
||||
* Accept
|
||||
* @member
|
||||
* @type {{ [_: GoodTildeCstrAlias<ValueTextMarshaler>]: number }}
|
||||
*/
|
||||
this["GAGT"] = {};
|
||||
}
|
||||
if (!("GAGTPtr" in $$source)) {
|
||||
/**
|
||||
* Accept, hide
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GAGTPtr"] = {};
|
||||
}
|
||||
if (!("GANBV" in $$source)) {
|
||||
/**
|
||||
* Accept
|
||||
* @member
|
||||
* @type {{ [_: NonBasicCstrAlias<ValueTextMarshaler>]: number }}
|
||||
*/
|
||||
this["GANBV"] = {};
|
||||
}
|
||||
if (!("GANBP" in $$source)) {
|
||||
/**
|
||||
* Accept, hide
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GANBP"] = {};
|
||||
}
|
||||
if (!("GANBVPtr" in $$source)) {
|
||||
/**
|
||||
* Accept, hide
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GANBVPtr"] = {};
|
||||
}
|
||||
if (!("GANBPPtr" in $$source)) {
|
||||
/**
|
||||
* Reject
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GANBPPtr"] = {};
|
||||
}
|
||||
if (!("GAPlV1" in $$source)) {
|
||||
/**
|
||||
* Accept
|
||||
* @member
|
||||
* @type {{ [_: PointableCstrAlias<ValueTextMarshaler>]: number }}
|
||||
*/
|
||||
this["GAPlV1"] = {};
|
||||
}
|
||||
if (!("GAPlV2" in $$source)) {
|
||||
/**
|
||||
* Accept
|
||||
* @member
|
||||
* @type {{ [_: PointableCstrAlias<ValueTextMarshaler>]: number }}
|
||||
*/
|
||||
this["GAPlV2"] = {};
|
||||
}
|
||||
if (!("GAPlP1" in $$source)) {
|
||||
/**
|
||||
* Reject
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GAPlP1"] = {};
|
||||
}
|
||||
if (!("GAPlP2" in $$source)) {
|
||||
/**
|
||||
* Accept
|
||||
* @member
|
||||
* @type {{ [_: PointableCstrAlias<PointerTextMarshaler>]: number }}
|
||||
*/
|
||||
this["GAPlP2"] = {};
|
||||
}
|
||||
if (!("GAPlVPtr" in $$source)) {
|
||||
/**
|
||||
* Accept, hide
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GAPlVPtr"] = {};
|
||||
}
|
||||
if (!("GAPlPPtr" in $$source)) {
|
||||
/**
|
||||
* Accept, hide
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GAPlPPtr"] = {};
|
||||
}
|
||||
if (!("GAMi" in $$source)) {
|
||||
/**
|
||||
* Accept, hide
|
||||
* @member
|
||||
* @type {{ [_: `${number}`]: number }}
|
||||
*/
|
||||
this["GAMi"] = {};
|
||||
}
|
||||
if (!("GAMS" in $$source)) {
|
||||
/**
|
||||
* Accept
|
||||
* @member
|
||||
* @type {{ [_: MixedCstrAlias<StringType>]: number }}
|
||||
*/
|
||||
this["GAMS"] = {};
|
||||
}
|
||||
if (!("GAMV" in $$source)) {
|
||||
/**
|
||||
* Accept
|
||||
* @member
|
||||
* @type {{ [_: MixedCstrAlias<ValueTextMarshaler>]: number }}
|
||||
*/
|
||||
this["GAMV"] = {};
|
||||
}
|
||||
if (!("GAMSPtr" in $$source)) {
|
||||
/**
|
||||
* Reject
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GAMSPtr"] = {};
|
||||
}
|
||||
if (!("GAMVPtr" in $$source)) {
|
||||
/**
|
||||
* Accept, hide
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GAMVPtr"] = {};
|
||||
}
|
||||
if (!("GAII" in $$source)) {
|
||||
/**
|
||||
* Accept, hide
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GAII"] = {};
|
||||
}
|
||||
if (!("GAIV" in $$source)) {
|
||||
/**
|
||||
* Accept
|
||||
* @member
|
||||
* @type {{ [_: InterfaceCstrAlias<ValueTextMarshaler>]: number }}
|
||||
*/
|
||||
this["GAIV"] = {};
|
||||
}
|
||||
if (!("GAIP" in $$source)) {
|
||||
/**
|
||||
* Accept, hide
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GAIP"] = {};
|
||||
}
|
||||
if (!("GAIIPtr" in $$source)) {
|
||||
/**
|
||||
* Reject
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GAIIPtr"] = {};
|
||||
}
|
||||
if (!("GAIVPtr" in $$source)) {
|
||||
/**
|
||||
* Accept, hide
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GAIVPtr"] = {};
|
||||
}
|
||||
if (!("GAIPPtr" in $$source)) {
|
||||
/**
|
||||
* Reject
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GAIPPtr"] = {};
|
||||
}
|
||||
if (!("GAPrV" in $$source)) {
|
||||
/**
|
||||
* Accept, hide
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GAPrV"] = {};
|
||||
}
|
||||
if (!("GAPrP" in $$source)) {
|
||||
/**
|
||||
* Accept, hide
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GAPrP"] = {};
|
||||
}
|
||||
if (!("GAPrVPtr" in $$source)) {
|
||||
/**
|
||||
* Reject
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GAPrVPtr"] = {};
|
||||
}
|
||||
if (!("GAPrPPtr" in $$source)) {
|
||||
/**
|
||||
* Reject
|
||||
* @member
|
||||
* @type {{ [_: string]: number }}
|
||||
*/
|
||||
this["GAPrPPtr"] = {};
|
||||
}
|
||||
|
||||
Object.assign(this, $$source);
|
||||
}
|
||||
|
|
@ -861,6 +1329,62 @@ export class Maps {
|
|||
const $$createField86_0 = $$createType74($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField87_0 = $$createType75($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField88_0 = $$createType76($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField89_0 = $$createType59($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField90_0 = $$createType60($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField91_0 = $$createType61($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField92_0 = $$createType62($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField93_0 = $$createType63($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField94_0 = $$createType64($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField95_0 = $$createType65($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField96_0 = $$createType66($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField97_0 = $$createType67($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField98_0 = $$createType68($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField99_0 = $$createType69($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField100_0 = $$createType70($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField101_0 = $$createType71($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField102_0 = $$createType72($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField103_0 = $$createType73($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField104_0 = $$createType74($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField105_0 = $$createType75($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField106_0 = $$createType76($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField107_0 = $$createType1;
|
||||
const $$createField108_0 = $$createType15;
|
||||
const $$createField109_0 = $$createType17;
|
||||
const $$createField110_0 = $$createType8;
|
||||
const $$createField111_0 = $$createType16;
|
||||
const $$createField112_0 = $$createType18;
|
||||
const $$createField113_0 = $$createType1;
|
||||
const $$createField114_0 = $$createType7;
|
||||
const $$createField115_0 = $$createType8;
|
||||
const $$createField116_0 = $$createType77;
|
||||
const $$createField117_0 = $$createType78;
|
||||
const $$createField118_0 = $$createType15;
|
||||
const $$createField119_0 = $$createType16;
|
||||
const $$createField120_0 = $$createType15;
|
||||
const $$createField121_0 = $$createType18;
|
||||
const $$createField122_0 = $$createType16;
|
||||
const $$createField123_0 = $$createType53;
|
||||
const $$createField124_0 = $$createType15;
|
||||
const $$createField125_0 = $$createType16;
|
||||
const $$createField126_0 = $$createType17;
|
||||
const $$createField127_0 = $$createType18;
|
||||
const $$createField128_0 = $$createType16;
|
||||
const $$createField129_0 = $$createType18;
|
||||
const $$createField130_0 = $$createType2;
|
||||
const $$createField131_0 = $$createType42;
|
||||
const $$createField132_0 = $$createType15;
|
||||
const $$createField133_0 = $$createType79;
|
||||
const $$createField134_0 = $$createType16;
|
||||
const $$createField135_0 = $$createType23;
|
||||
const $$createField136_0 = $$createType15;
|
||||
const $$createField137_0 = $$createType18;
|
||||
const $$createField138_0 = $$createType24;
|
||||
const $$createField139_0 = $$createType16;
|
||||
const $$createField140_0 = $$createType53;
|
||||
const $$createField141_0 = $$createType16;
|
||||
const $$createField142_0 = $$createType18;
|
||||
const $$createField143_0 = $$createType48;
|
||||
const $$createField144_0 = $$createType53;
|
||||
return ($$source = {}) => {
|
||||
let $$parsedSource = typeof $$source === 'string' ? JSON.parse($$source) : $$source;
|
||||
if ("Bool" in $$parsedSource) {
|
||||
|
|
@ -1130,11 +1654,194 @@ export class Maps {
|
|||
if ("TPZPtr" in $$parsedSource) {
|
||||
$$parsedSource["TPZPtr"] = $$createField88_0($$parsedSource["TPZPtr"]);
|
||||
}
|
||||
if ("GAR" in $$parsedSource) {
|
||||
$$parsedSource["GAR"] = $$createField89_0($$parsedSource["GAR"]);
|
||||
}
|
||||
if ("GARPtr" in $$parsedSource) {
|
||||
$$parsedSource["GARPtr"] = $$createField90_0($$parsedSource["GARPtr"]);
|
||||
}
|
||||
if ("GAS" in $$parsedSource) {
|
||||
$$parsedSource["GAS"] = $$createField91_0($$parsedSource["GAS"]);
|
||||
}
|
||||
if ("GASPtr" in $$parsedSource) {
|
||||
$$parsedSource["GASPtr"] = $$createField92_0($$parsedSource["GASPtr"]);
|
||||
}
|
||||
if ("GAT" in $$parsedSource) {
|
||||
$$parsedSource["GAT"] = $$createField93_0($$parsedSource["GAT"]);
|
||||
}
|
||||
if ("GATPtr" in $$parsedSource) {
|
||||
$$parsedSource["GATPtr"] = $$createField94_0($$parsedSource["GATPtr"]);
|
||||
}
|
||||
if ("GAU" in $$parsedSource) {
|
||||
$$parsedSource["GAU"] = $$createField95_0($$parsedSource["GAU"]);
|
||||
}
|
||||
if ("GAUPtr" in $$parsedSource) {
|
||||
$$parsedSource["GAUPtr"] = $$createField96_0($$parsedSource["GAUPtr"]);
|
||||
}
|
||||
if ("GAV" in $$parsedSource) {
|
||||
$$parsedSource["GAV"] = $$createField97_0($$parsedSource["GAV"]);
|
||||
}
|
||||
if ("GAVPtr" in $$parsedSource) {
|
||||
$$parsedSource["GAVPtr"] = $$createField98_0($$parsedSource["GAVPtr"]);
|
||||
}
|
||||
if ("GAW" in $$parsedSource) {
|
||||
$$parsedSource["GAW"] = $$createField99_0($$parsedSource["GAW"]);
|
||||
}
|
||||
if ("GAWPtr" in $$parsedSource) {
|
||||
$$parsedSource["GAWPtr"] = $$createField100_0($$parsedSource["GAWPtr"]);
|
||||
}
|
||||
if ("GAX" in $$parsedSource) {
|
||||
$$parsedSource["GAX"] = $$createField101_0($$parsedSource["GAX"]);
|
||||
}
|
||||
if ("GAXPtr" in $$parsedSource) {
|
||||
$$parsedSource["GAXPtr"] = $$createField102_0($$parsedSource["GAXPtr"]);
|
||||
}
|
||||
if ("GAY" in $$parsedSource) {
|
||||
$$parsedSource["GAY"] = $$createField103_0($$parsedSource["GAY"]);
|
||||
}
|
||||
if ("GAYPtr" in $$parsedSource) {
|
||||
$$parsedSource["GAYPtr"] = $$createField104_0($$parsedSource["GAYPtr"]);
|
||||
}
|
||||
if ("GAZ" in $$parsedSource) {
|
||||
$$parsedSource["GAZ"] = $$createField105_0($$parsedSource["GAZ"]);
|
||||
}
|
||||
if ("GAZPtr" in $$parsedSource) {
|
||||
$$parsedSource["GAZPtr"] = $$createField106_0($$parsedSource["GAZPtr"]);
|
||||
}
|
||||
if ("GACi" in $$parsedSource) {
|
||||
$$parsedSource["GACi"] = $$createField107_0($$parsedSource["GACi"]);
|
||||
}
|
||||
if ("GACV" in $$parsedSource) {
|
||||
$$parsedSource["GACV"] = $$createField108_0($$parsedSource["GACV"]);
|
||||
}
|
||||
if ("GACP" in $$parsedSource) {
|
||||
$$parsedSource["GACP"] = $$createField109_0($$parsedSource["GACP"]);
|
||||
}
|
||||
if ("GACiPtr" in $$parsedSource) {
|
||||
$$parsedSource["GACiPtr"] = $$createField110_0($$parsedSource["GACiPtr"]);
|
||||
}
|
||||
if ("GACVPtr" in $$parsedSource) {
|
||||
$$parsedSource["GACVPtr"] = $$createField111_0($$parsedSource["GACVPtr"]);
|
||||
}
|
||||
if ("GACPPtr" in $$parsedSource) {
|
||||
$$parsedSource["GACPPtr"] = $$createField112_0($$parsedSource["GACPPtr"]);
|
||||
}
|
||||
if ("GABi" in $$parsedSource) {
|
||||
$$parsedSource["GABi"] = $$createField113_0($$parsedSource["GABi"]);
|
||||
}
|
||||
if ("GABs" in $$parsedSource) {
|
||||
$$parsedSource["GABs"] = $$createField114_0($$parsedSource["GABs"]);
|
||||
}
|
||||
if ("GABiPtr" in $$parsedSource) {
|
||||
$$parsedSource["GABiPtr"] = $$createField115_0($$parsedSource["GABiPtr"]);
|
||||
}
|
||||
if ("GABT" in $$parsedSource) {
|
||||
$$parsedSource["GABT"] = $$createField116_0($$parsedSource["GABT"]);
|
||||
}
|
||||
if ("GABTPtr" in $$parsedSource) {
|
||||
$$parsedSource["GABTPtr"] = $$createField117_0($$parsedSource["GABTPtr"]);
|
||||
}
|
||||
if ("GAGT" in $$parsedSource) {
|
||||
$$parsedSource["GAGT"] = $$createField118_0($$parsedSource["GAGT"]);
|
||||
}
|
||||
if ("GAGTPtr" in $$parsedSource) {
|
||||
$$parsedSource["GAGTPtr"] = $$createField119_0($$parsedSource["GAGTPtr"]);
|
||||
}
|
||||
if ("GANBV" in $$parsedSource) {
|
||||
$$parsedSource["GANBV"] = $$createField120_0($$parsedSource["GANBV"]);
|
||||
}
|
||||
if ("GANBP" in $$parsedSource) {
|
||||
$$parsedSource["GANBP"] = $$createField121_0($$parsedSource["GANBP"]);
|
||||
}
|
||||
if ("GANBVPtr" in $$parsedSource) {
|
||||
$$parsedSource["GANBVPtr"] = $$createField122_0($$parsedSource["GANBVPtr"]);
|
||||
}
|
||||
if ("GANBPPtr" in $$parsedSource) {
|
||||
$$parsedSource["GANBPPtr"] = $$createField123_0($$parsedSource["GANBPPtr"]);
|
||||
}
|
||||
if ("GAPlV1" in $$parsedSource) {
|
||||
$$parsedSource["GAPlV1"] = $$createField124_0($$parsedSource["GAPlV1"]);
|
||||
}
|
||||
if ("GAPlV2" in $$parsedSource) {
|
||||
$$parsedSource["GAPlV2"] = $$createField125_0($$parsedSource["GAPlV2"]);
|
||||
}
|
||||
if ("GAPlP1" in $$parsedSource) {
|
||||
$$parsedSource["GAPlP1"] = $$createField126_0($$parsedSource["GAPlP1"]);
|
||||
}
|
||||
if ("GAPlP2" in $$parsedSource) {
|
||||
$$parsedSource["GAPlP2"] = $$createField127_0($$parsedSource["GAPlP2"]);
|
||||
}
|
||||
if ("GAPlVPtr" in $$parsedSource) {
|
||||
$$parsedSource["GAPlVPtr"] = $$createField128_0($$parsedSource["GAPlVPtr"]);
|
||||
}
|
||||
if ("GAPlPPtr" in $$parsedSource) {
|
||||
$$parsedSource["GAPlPPtr"] = $$createField129_0($$parsedSource["GAPlPPtr"]);
|
||||
}
|
||||
if ("GAMi" in $$parsedSource) {
|
||||
$$parsedSource["GAMi"] = $$createField130_0($$parsedSource["GAMi"]);
|
||||
}
|
||||
if ("GAMS" in $$parsedSource) {
|
||||
$$parsedSource["GAMS"] = $$createField131_0($$parsedSource["GAMS"]);
|
||||
}
|
||||
if ("GAMV" in $$parsedSource) {
|
||||
$$parsedSource["GAMV"] = $$createField132_0($$parsedSource["GAMV"]);
|
||||
}
|
||||
if ("GAMSPtr" in $$parsedSource) {
|
||||
$$parsedSource["GAMSPtr"] = $$createField133_0($$parsedSource["GAMSPtr"]);
|
||||
}
|
||||
if ("GAMVPtr" in $$parsedSource) {
|
||||
$$parsedSource["GAMVPtr"] = $$createField134_0($$parsedSource["GAMVPtr"]);
|
||||
}
|
||||
if ("GAII" in $$parsedSource) {
|
||||
$$parsedSource["GAII"] = $$createField135_0($$parsedSource["GAII"]);
|
||||
}
|
||||
if ("GAIV" in $$parsedSource) {
|
||||
$$parsedSource["GAIV"] = $$createField136_0($$parsedSource["GAIV"]);
|
||||
}
|
||||
if ("GAIP" in $$parsedSource) {
|
||||
$$parsedSource["GAIP"] = $$createField137_0($$parsedSource["GAIP"]);
|
||||
}
|
||||
if ("GAIIPtr" in $$parsedSource) {
|
||||
$$parsedSource["GAIIPtr"] = $$createField138_0($$parsedSource["GAIIPtr"]);
|
||||
}
|
||||
if ("GAIVPtr" in $$parsedSource) {
|
||||
$$parsedSource["GAIVPtr"] = $$createField139_0($$parsedSource["GAIVPtr"]);
|
||||
}
|
||||
if ("GAIPPtr" in $$parsedSource) {
|
||||
$$parsedSource["GAIPPtr"] = $$createField140_0($$parsedSource["GAIPPtr"]);
|
||||
}
|
||||
if ("GAPrV" in $$parsedSource) {
|
||||
$$parsedSource["GAPrV"] = $$createField141_0($$parsedSource["GAPrV"]);
|
||||
}
|
||||
if ("GAPrP" in $$parsedSource) {
|
||||
$$parsedSource["GAPrP"] = $$createField142_0($$parsedSource["GAPrP"]);
|
||||
}
|
||||
if ("GAPrVPtr" in $$parsedSource) {
|
||||
$$parsedSource["GAPrVPtr"] = $$createField143_0($$parsedSource["GAPrVPtr"]);
|
||||
}
|
||||
if ("GAPrPPtr" in $$parsedSource) {
|
||||
$$parsedSource["GAPrPPtr"] = $$createField144_0($$parsedSource["GAPrPPtr"]);
|
||||
}
|
||||
return new Maps(/** @type {Partial<Maps<R, S, T, U, V, W, X, Y, Z>>} */($$parsedSource));
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @template X
|
||||
* @typedef {X} MixedCstrAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* @template V
|
||||
* @typedef {V} NonBasicCstrAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* @template W
|
||||
* @typedef {W} PointableCstrAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* @typedef {PointerTextMarshaler} PointerAlias
|
||||
*/
|
||||
|
|
@ -1237,3 +1944,6 @@ const $$createType73 = ($$createParamR, $$createParamS, $$createParamT, $$create
|
|||
const $$createType74 = ($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ) => $Create.Map($Create.Any, $Create.Any);
|
||||
const $$createType75 = ($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ) => $Create.Map($Create.Any, $Create.Any);
|
||||
const $$createType76 = ($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ) => $Create.Map($Create.Any, $Create.Any);
|
||||
const $$createType77 = $Create.Map($Create.Any, $Create.Any);
|
||||
const $$createType78 = $Create.Map($Create.Any, $Create.Any);
|
||||
const $$createType79 = $Create.Map($Create.Any, $Create.Any);
|
||||
|
|
|
|||
|
|
@ -33,11 +33,34 @@ package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type
|
|||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type bool is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type complex64 is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type float32 is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.BadTildeCstrAlias[T] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.BadTildeCstrAlias[struct{}] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.BadTildeCstrPtrAlias[T] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.BadTildeCstrPtrAlias[struct{}] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.BasicCstrPtrAlias[S] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.BasicCstrPtrAlias[int] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.ComparableCstrAlias[R] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.ComparableCstrAlias[github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerTextMarshaler] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.ComparableCstrPtrAlias[R] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.ComparableCstrPtrAlias[int] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.EmbeddedPointer is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.GoodTildeCstrPtrAlias[U] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.InterfaceCstrPtrAlias[*github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerTextMarshaler] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.InterfaceCstrPtrAlias[Y] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.InterfaceCstrPtrAlias[encoding.TextMarshaler] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.InterfacePtrAlias is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.InterfacePtrType is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.MixedCstrPtrAlias[X] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.MixedCstrPtrAlias[github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.StringType] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.NonBasicCstrPtrAlias[*github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerTextMarshaler] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.NonBasicCstrPtrAlias[V] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.NonTextMarshaler is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointableCstrAlias[W] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointableCstrAlias[github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerTextMarshaler] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerAlias is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerCstrPtrAlias[R, Z] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerCstrPtrAlias[github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerTextMarshaler, *github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerTextMarshaler] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerCstrPtrAlias[github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.ValueTextMarshaler, *github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.ValueTextMarshaler] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerPtrType is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerTextMarshaler is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerType is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
|
|
|
|||
|
|
@ -56,6 +56,14 @@ export function GetButForeignPrivateAlias() {
|
|||
return $resultPromise;
|
||||
}
|
||||
|
||||
/**
|
||||
* @returns {Promise<$models.AliasGroup> & { cancel(): void }}
|
||||
*/
|
||||
export function GetButGenericAliases() {
|
||||
let $resultPromise = /** @type {any} */($Call.ByID(914093800));
|
||||
return $resultPromise;
|
||||
}
|
||||
|
||||
/**
|
||||
* Greet a lot of unusual things.
|
||||
* @param {$models.EmptyAliasStruct} $0
|
||||
|
|
|
|||
|
|
@ -14,6 +14,11 @@ import * as $models from "./models.js";
|
|||
* @typedef {$models.Alias} Alias
|
||||
*/
|
||||
|
||||
/**
|
||||
* A class whose fields have various aliased types.
|
||||
* @typedef {$models.AliasGroup} AliasGroup
|
||||
*/
|
||||
|
||||
/**
|
||||
* A struct alias.
|
||||
* This should be rendered as a typedef or interface in every mode.
|
||||
|
|
@ -35,12 +40,41 @@ import * as $models from "./models.js";
|
|||
* @typedef {$models.EmptyStruct} EmptyStruct
|
||||
*/
|
||||
|
||||
/**
|
||||
* A generic alias that forwards to a type parameter.
|
||||
* @template T
|
||||
* @typedef {$models.GenericAlias<T>} GenericAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* A generic alias that wraps a map.
|
||||
* @template T,U
|
||||
* @typedef {$models.GenericMapAlias<T, U>} GenericMapAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* A generic struct containing an alias.
|
||||
* @template T
|
||||
* @typedef {$models.GenericPerson<T>} GenericPerson
|
||||
*/
|
||||
|
||||
/**
|
||||
* A generic alias that wraps a generic struct.
|
||||
* @template T
|
||||
* @typedef {$models.GenericPersonAlias<T>} GenericPersonAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* A generic alias that wraps a pointer type.
|
||||
* @template T
|
||||
* @typedef {$models.GenericPtrAlias<T>} GenericPtrAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* An alias that wraps a class through a non-typeparam alias.
|
||||
* @typedef {$models.IndirectPersonAlias} IndirectPersonAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* Another struct alias.
|
||||
* @typedef {$models.OtherAliasStruct} OtherAliasStruct
|
||||
|
|
@ -55,3 +89,8 @@ import * as $models from "./models.js";
|
|||
* Another class alias, but ordered after its aliased class.
|
||||
* @typedef {$models.StrangelyAliasedPerson} StrangelyAliasedPerson
|
||||
*/
|
||||
|
||||
/**
|
||||
* An alias that wraps a class through a typeparam alias.
|
||||
* @typedef {$models.TPIndirectPersonAlias} TPIndirectPersonAlias
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -7,6 +7,19 @@
|
|||
* @typedef {number} Alias
|
||||
*/
|
||||
|
||||
/**
|
||||
* A class whose fields have various aliased types.
|
||||
* @typedef {Object} AliasGroup
|
||||
* @property {GenericAlias<number>} GAi
|
||||
* @property {GenericAlias<GenericPerson<boolean>>} GAP
|
||||
* @property {GenericPtrAlias<string[] | null>} GPAs
|
||||
* @property {GenericPtrAlias<GenericPerson<number[] | null>>} GPAP
|
||||
* @property {GenericMapAlias<string, number>} GMA
|
||||
* @property {GenericPersonAlias<boolean>} GPA
|
||||
* @property {IndirectPersonAlias} IPA
|
||||
* @property {TPIndirectPersonAlias} TPIPA
|
||||
*/
|
||||
|
||||
/**
|
||||
* A struct alias.
|
||||
* This should be rendered as a typedef or interface in every mode.
|
||||
|
|
@ -34,6 +47,18 @@
|
|||
* } } EmptyStruct
|
||||
*/
|
||||
|
||||
/**
|
||||
* A generic alias that forwards to a type parameter.
|
||||
* @template T
|
||||
* @typedef {T} GenericAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* A generic alias that wraps a map.
|
||||
* @template T,U
|
||||
* @typedef {{ [_: string]: U } | null} GenericMapAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* A generic struct containing an alias.
|
||||
* @template T
|
||||
|
|
@ -42,6 +67,23 @@
|
|||
* @property {Alias} AliasedField
|
||||
*/
|
||||
|
||||
/**
|
||||
* A generic alias that wraps a generic struct.
|
||||
* @template T
|
||||
* @typedef {GenericPerson<GenericPtrAlias<T>[] | null>} GenericPersonAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* A generic alias that wraps a pointer type.
|
||||
* @template T
|
||||
* @typedef {GenericAlias<T> | null} GenericPtrAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* An alias that wraps a class through a non-typeparam alias.
|
||||
* @typedef {GenericPersonAlias<boolean>} IndirectPersonAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* Another struct alias.
|
||||
* @typedef {Object} OtherAliasStruct
|
||||
|
|
@ -60,6 +102,11 @@
|
|||
* @typedef {Person} StrangelyAliasedPerson
|
||||
*/
|
||||
|
||||
/**
|
||||
* An alias that wraps a class through a typeparam alias.
|
||||
* @typedef {GenericAlias<GenericPerson<boolean>>} TPIndirectPersonAlias
|
||||
*/
|
||||
|
||||
// In interface mode, this file is likely to contain just comments.
|
||||
// We add a dummy export statement to ensure it is recognised as an ES module.
|
||||
export {};
|
||||
|
|
|
|||
|
|
@ -9,6 +9,16 @@ export {
|
|||
|
||||
import * as $models from "./models.js";
|
||||
|
||||
/**
|
||||
* @template S
|
||||
* @typedef {$models.BasicCstrAlias<S>} BasicCstrAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* @template R
|
||||
* @typedef {$models.ComparableCstrAlias<R>} ComparableCstrAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* @typedef {$models.EmbeddedCustomInterface} EmbeddedCustomInterface
|
||||
*/
|
||||
|
|
@ -33,11 +43,36 @@ import * as $models from "./models.js";
|
|||
* @typedef {$models.EmbeddedValuePtr} EmbeddedValuePtr
|
||||
*/
|
||||
|
||||
/**
|
||||
* @template U
|
||||
* @typedef {$models.GoodTildeCstrAlias<U>} GoodTildeCstrAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* @template Y
|
||||
* @typedef {$models.InterfaceCstrAlias<Y>} InterfaceCstrAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* @template R,S,T,U,V,W,X,Y,Z
|
||||
* @typedef {$models.Maps<R, S, T, U, V, W, X, Y, Z>} Maps
|
||||
*/
|
||||
|
||||
/**
|
||||
* @template X
|
||||
* @typedef {$models.MixedCstrAlias<X>} MixedCstrAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* @template V
|
||||
* @typedef {$models.NonBasicCstrAlias<V>} NonBasicCstrAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* @template W
|
||||
* @typedef {$models.PointableCstrAlias<W>} PointableCstrAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* @typedef {$models.PointerAlias} PointerAlias
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -2,6 +2,16 @@
|
|||
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
|
||||
// This file is automatically generated. DO NOT EDIT
|
||||
|
||||
/**
|
||||
* @template S
|
||||
* @typedef {S} BasicCstrAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* @template R
|
||||
* @typedef {R} ComparableCstrAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* @typedef {string} EmbeddedCustomInterface
|
||||
*/
|
||||
|
|
@ -26,6 +36,16 @@
|
|||
* @typedef {string} EmbeddedValuePtr
|
||||
*/
|
||||
|
||||
/**
|
||||
* @template U
|
||||
* @typedef {U} GoodTildeCstrAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* @template Y
|
||||
* @typedef {Y} InterfaceCstrAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* @template R,S,T,U,V,W,X,Y,Z
|
||||
* @typedef {Object} Maps
|
||||
|
|
@ -118,6 +138,77 @@
|
|||
* @property {{ [_: string]: number } | null} TPYPtr - Soft reject
|
||||
* @property {{ [_: string]: number } | null} TPZ - Accept, hide
|
||||
* @property {{ [_: string]: number } | null} TPZPtr - Soft reject
|
||||
* @property {{ [_: string]: number } | null} GAR - Soft reject
|
||||
* @property {{ [_: string]: number } | null} GARPtr - Soft reject
|
||||
* @property {{ [_: string]: number } | null} GAS - Accept, hide
|
||||
* @property {{ [_: string]: number } | null} GASPtr - Soft reject
|
||||
* @property {{ [_: string]: number } | null} GAT - Soft reject
|
||||
* @property {{ [_: string]: number } | null} GATPtr - Soft reject
|
||||
* @property {{ [_: string]: number } | null} GAU - Accept, hide
|
||||
* @property {{ [_: string]: number } | null} GAUPtr - Soft reject
|
||||
* @property {{ [_: string]: number } | null} GAV - Accept, hide
|
||||
* @property {{ [_: string]: number } | null} GAVPtr - Soft reject
|
||||
* @property {{ [_: string]: number } | null} GAW - Soft reject
|
||||
* @property {{ [_: string]: number } | null} GAWPtr - Accept, hide
|
||||
* @property {{ [_: string]: number } | null} GAX - Accept, hide
|
||||
* @property {{ [_: string]: number } | null} GAXPtr - Soft reject
|
||||
* @property {{ [_: string]: number } | null} GAY - Accept, hide
|
||||
* @property {{ [_: string]: number } | null} GAYPtr - Soft reject
|
||||
* @property {{ [_: string]: number } | null} GAZ - Accept, hide
|
||||
* @property {{ [_: string]: number } | null} GAZPtr - Soft reject
|
||||
* @property {{ [_: `${number}`]: number } | null} GACi - Accept, hide
|
||||
* @property {{ [_: ComparableCstrAlias<ValueTextMarshaler>]: number } | null} GACV - Accept
|
||||
* @property {{ [_: string]: number } | null} GACP - Reject
|
||||
* @property {{ [_: string]: number } | null} GACiPtr - Reject
|
||||
* @property {{ [_: string]: number } | null} GACVPtr - Accept, hide
|
||||
* @property {{ [_: string]: number } | null} GACPPtr - Accept, hide
|
||||
* @property {{ [_: `${number}`]: number } | null} GABi - Accept, hide
|
||||
* @property {{ [_: BasicCstrAlias<string>]: number } | null} GABs - Accept
|
||||
* @property {{ [_: string]: number } | null} GABiPtr - Reject
|
||||
* @property {{ [_: string]: number } | null} GABT - Reject
|
||||
* @property {{ [_: string]: number } | null} GABTPtr - Reject
|
||||
* @property {{ [_: GoodTildeCstrAlias<ValueTextMarshaler>]: number } | null} GAGT - Accept
|
||||
* @property {{ [_: string]: number } | null} GAGTPtr - Accept, hide
|
||||
* @property {{ [_: NonBasicCstrAlias<ValueTextMarshaler>]: number } | null} GANBV - Accept
|
||||
* @property {{ [_: string]: number } | null} GANBP - Accept, hide
|
||||
* @property {{ [_: string]: number } | null} GANBVPtr - Accept, hide
|
||||
* @property {{ [_: string]: number } | null} GANBPPtr - Reject
|
||||
* @property {{ [_: PointableCstrAlias<ValueTextMarshaler>]: number } | null} GAPlV1 - Accept
|
||||
* @property {{ [_: PointableCstrAlias<ValueTextMarshaler>]: number } | null} GAPlV2 - Accept
|
||||
* @property {{ [_: string]: number } | null} GAPlP1 - Reject
|
||||
* @property {{ [_: PointableCstrAlias<PointerTextMarshaler>]: number } | null} GAPlP2 - Accept
|
||||
* @property {{ [_: string]: number } | null} GAPlVPtr - Accept, hide
|
||||
* @property {{ [_: string]: number } | null} GAPlPPtr - Accept, hide
|
||||
* @property {{ [_: `${number}`]: number } | null} GAMi - Accept, hide
|
||||
* @property {{ [_: MixedCstrAlias<StringType>]: number } | null} GAMS - Accept
|
||||
* @property {{ [_: MixedCstrAlias<ValueTextMarshaler>]: number } | null} GAMV - Accept
|
||||
* @property {{ [_: string]: number } | null} GAMSPtr - Reject
|
||||
* @property {{ [_: string]: number } | null} GAMVPtr - Accept, hide
|
||||
* @property {{ [_: string]: number } | null} GAII - Accept, hide
|
||||
* @property {{ [_: InterfaceCstrAlias<ValueTextMarshaler>]: number } | null} GAIV - Accept
|
||||
* @property {{ [_: string]: number } | null} GAIP - Accept, hide
|
||||
* @property {{ [_: string]: number } | null} GAIIPtr - Reject
|
||||
* @property {{ [_: string]: number } | null} GAIVPtr - Accept, hide
|
||||
* @property {{ [_: string]: number } | null} GAIPPtr - Reject
|
||||
* @property {{ [_: string]: number } | null} GAPrV - Accept, hide
|
||||
* @property {{ [_: string]: number } | null} GAPrP - Accept, hide
|
||||
* @property {{ [_: string]: number } | null} GAPrVPtr - Reject
|
||||
* @property {{ [_: string]: number } | null} GAPrPPtr - Reject
|
||||
*/
|
||||
|
||||
/**
|
||||
* @template X
|
||||
* @typedef {X} MixedCstrAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* @template V
|
||||
* @typedef {V} NonBasicCstrAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* @template W
|
||||
* @typedef {W} PointableCstrAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -33,11 +33,34 @@ package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type
|
|||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type bool is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type complex64 is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type float32 is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.BadTildeCstrAlias[T] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.BadTildeCstrAlias[struct{}] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.BadTildeCstrPtrAlias[T] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.BadTildeCstrPtrAlias[struct{}] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.BasicCstrPtrAlias[S] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.BasicCstrPtrAlias[int] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.ComparableCstrAlias[R] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.ComparableCstrAlias[github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerTextMarshaler] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.ComparableCstrPtrAlias[R] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.ComparableCstrPtrAlias[int] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.EmbeddedPointer is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.GoodTildeCstrPtrAlias[U] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.InterfaceCstrPtrAlias[*github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerTextMarshaler] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.InterfaceCstrPtrAlias[Y] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.InterfaceCstrPtrAlias[encoding.TextMarshaler] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.InterfacePtrAlias is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.InterfacePtrType is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.MixedCstrPtrAlias[X] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.MixedCstrPtrAlias[github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.StringType] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.NonBasicCstrPtrAlias[*github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerTextMarshaler] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.NonBasicCstrPtrAlias[V] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.NonTextMarshaler is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointableCstrAlias[W] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointableCstrAlias[github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerTextMarshaler] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerAlias is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerCstrPtrAlias[R, Z] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerCstrPtrAlias[github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerTextMarshaler, *github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerTextMarshaler] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerCstrPtrAlias[github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.ValueTextMarshaler, *github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.ValueTextMarshaler] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerPtrType is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerTextMarshaler is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerType is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
|
|
|
|||
|
|
@ -56,6 +56,14 @@ export function GetButForeignPrivateAlias() {
|
|||
return $resultPromise;
|
||||
}
|
||||
|
||||
/**
|
||||
* @returns {Promise<$models.AliasGroup> & { cancel(): void }}
|
||||
*/
|
||||
export function GetButGenericAliases() {
|
||||
let $resultPromise = /** @type {any} */($Call.ByName("main.GreetService.GetButGenericAliases"));
|
||||
return $resultPromise;
|
||||
}
|
||||
|
||||
/**
|
||||
* Greet a lot of unusual things.
|
||||
* @param {$models.EmptyAliasStruct} $0
|
||||
|
|
|
|||
|
|
@ -14,6 +14,11 @@ import * as $models from "./models.js";
|
|||
* @typedef {$models.Alias} Alias
|
||||
*/
|
||||
|
||||
/**
|
||||
* A class whose fields have various aliased types.
|
||||
* @typedef {$models.AliasGroup} AliasGroup
|
||||
*/
|
||||
|
||||
/**
|
||||
* A struct alias.
|
||||
* This should be rendered as a typedef or interface in every mode.
|
||||
|
|
@ -35,12 +40,41 @@ import * as $models from "./models.js";
|
|||
* @typedef {$models.EmptyStruct} EmptyStruct
|
||||
*/
|
||||
|
||||
/**
|
||||
* A generic alias that forwards to a type parameter.
|
||||
* @template T
|
||||
* @typedef {$models.GenericAlias<T>} GenericAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* A generic alias that wraps a map.
|
||||
* @template T,U
|
||||
* @typedef {$models.GenericMapAlias<T, U>} GenericMapAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* A generic struct containing an alias.
|
||||
* @template T
|
||||
* @typedef {$models.GenericPerson<T>} GenericPerson
|
||||
*/
|
||||
|
||||
/**
|
||||
* A generic alias that wraps a generic struct.
|
||||
* @template T
|
||||
* @typedef {$models.GenericPersonAlias<T>} GenericPersonAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* A generic alias that wraps a pointer type.
|
||||
* @template T
|
||||
* @typedef {$models.GenericPtrAlias<T>} GenericPtrAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* An alias that wraps a class through a non-typeparam alias.
|
||||
* @typedef {$models.IndirectPersonAlias} IndirectPersonAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* Another struct alias.
|
||||
* @typedef {$models.OtherAliasStruct} OtherAliasStruct
|
||||
|
|
@ -55,3 +89,8 @@ import * as $models from "./models.js";
|
|||
* Another class alias, but ordered after its aliased class.
|
||||
* @typedef {$models.StrangelyAliasedPerson} StrangelyAliasedPerson
|
||||
*/
|
||||
|
||||
/**
|
||||
* An alias that wraps a class through a typeparam alias.
|
||||
* @typedef {$models.TPIndirectPersonAlias} TPIndirectPersonAlias
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -7,6 +7,19 @@
|
|||
* @typedef {number} Alias
|
||||
*/
|
||||
|
||||
/**
|
||||
* A class whose fields have various aliased types.
|
||||
* @typedef {Object} AliasGroup
|
||||
* @property {GenericAlias<number>} GAi
|
||||
* @property {GenericAlias<GenericPerson<boolean>>} GAP
|
||||
* @property {GenericPtrAlias<string[] | null>} GPAs
|
||||
* @property {GenericPtrAlias<GenericPerson<number[] | null>>} GPAP
|
||||
* @property {GenericMapAlias<string, number>} GMA
|
||||
* @property {GenericPersonAlias<boolean>} GPA
|
||||
* @property {IndirectPersonAlias} IPA
|
||||
* @property {TPIndirectPersonAlias} TPIPA
|
||||
*/
|
||||
|
||||
/**
|
||||
* A struct alias.
|
||||
* This should be rendered as a typedef or interface in every mode.
|
||||
|
|
@ -34,6 +47,18 @@
|
|||
* } } EmptyStruct
|
||||
*/
|
||||
|
||||
/**
|
||||
* A generic alias that forwards to a type parameter.
|
||||
* @template T
|
||||
* @typedef {T} GenericAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* A generic alias that wraps a map.
|
||||
* @template T,U
|
||||
* @typedef {{ [_: string]: U } | null} GenericMapAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* A generic struct containing an alias.
|
||||
* @template T
|
||||
|
|
@ -42,6 +67,23 @@
|
|||
* @property {Alias} AliasedField
|
||||
*/
|
||||
|
||||
/**
|
||||
* A generic alias that wraps a generic struct.
|
||||
* @template T
|
||||
* @typedef {GenericPerson<GenericPtrAlias<T>[] | null>} GenericPersonAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* A generic alias that wraps a pointer type.
|
||||
* @template T
|
||||
* @typedef {GenericAlias<T> | null} GenericPtrAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* An alias that wraps a class through a non-typeparam alias.
|
||||
* @typedef {GenericPersonAlias<boolean>} IndirectPersonAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* Another struct alias.
|
||||
* @typedef {Object} OtherAliasStruct
|
||||
|
|
@ -60,6 +102,11 @@
|
|||
* @typedef {Person} StrangelyAliasedPerson
|
||||
*/
|
||||
|
||||
/**
|
||||
* An alias that wraps a class through a typeparam alias.
|
||||
* @typedef {GenericAlias<GenericPerson<boolean>>} TPIndirectPersonAlias
|
||||
*/
|
||||
|
||||
// In interface mode, this file is likely to contain just comments.
|
||||
// We add a dummy export statement to ensure it is recognised as an ES module.
|
||||
export {};
|
||||
|
|
|
|||
|
|
@ -9,6 +9,16 @@ export {
|
|||
|
||||
import * as $models from "./models.js";
|
||||
|
||||
/**
|
||||
* @template S
|
||||
* @typedef {$models.BasicCstrAlias<S>} BasicCstrAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* @template R
|
||||
* @typedef {$models.ComparableCstrAlias<R>} ComparableCstrAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* @typedef {$models.EmbeddedCustomInterface} EmbeddedCustomInterface
|
||||
*/
|
||||
|
|
@ -33,11 +43,36 @@ import * as $models from "./models.js";
|
|||
* @typedef {$models.EmbeddedValuePtr} EmbeddedValuePtr
|
||||
*/
|
||||
|
||||
/**
|
||||
* @template U
|
||||
* @typedef {$models.GoodTildeCstrAlias<U>} GoodTildeCstrAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* @template Y
|
||||
* @typedef {$models.InterfaceCstrAlias<Y>} InterfaceCstrAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* @template R,S,T,U,V,W,X,Y,Z
|
||||
* @typedef {$models.Maps<R, S, T, U, V, W, X, Y, Z>} Maps
|
||||
*/
|
||||
|
||||
/**
|
||||
* @template X
|
||||
* @typedef {$models.MixedCstrAlias<X>} MixedCstrAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* @template V
|
||||
* @typedef {$models.NonBasicCstrAlias<V>} NonBasicCstrAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* @template W
|
||||
* @typedef {$models.PointableCstrAlias<W>} PointableCstrAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* @typedef {$models.PointerAlias} PointerAlias
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -2,6 +2,16 @@
|
|||
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
|
||||
// This file is automatically generated. DO NOT EDIT
|
||||
|
||||
/**
|
||||
* @template S
|
||||
* @typedef {S} BasicCstrAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* @template R
|
||||
* @typedef {R} ComparableCstrAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* @typedef {string} EmbeddedCustomInterface
|
||||
*/
|
||||
|
|
@ -26,6 +36,16 @@
|
|||
* @typedef {string} EmbeddedValuePtr
|
||||
*/
|
||||
|
||||
/**
|
||||
* @template U
|
||||
* @typedef {U} GoodTildeCstrAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* @template Y
|
||||
* @typedef {Y} InterfaceCstrAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* @template R,S,T,U,V,W,X,Y,Z
|
||||
* @typedef {Object} Maps
|
||||
|
|
@ -118,6 +138,77 @@
|
|||
* @property {{ [_: string]: number } | null} TPYPtr - Soft reject
|
||||
* @property {{ [_: string]: number } | null} TPZ - Accept, hide
|
||||
* @property {{ [_: string]: number } | null} TPZPtr - Soft reject
|
||||
* @property {{ [_: string]: number } | null} GAR - Soft reject
|
||||
* @property {{ [_: string]: number } | null} GARPtr - Soft reject
|
||||
* @property {{ [_: string]: number } | null} GAS - Accept, hide
|
||||
* @property {{ [_: string]: number } | null} GASPtr - Soft reject
|
||||
* @property {{ [_: string]: number } | null} GAT - Soft reject
|
||||
* @property {{ [_: string]: number } | null} GATPtr - Soft reject
|
||||
* @property {{ [_: string]: number } | null} GAU - Accept, hide
|
||||
* @property {{ [_: string]: number } | null} GAUPtr - Soft reject
|
||||
* @property {{ [_: string]: number } | null} GAV - Accept, hide
|
||||
* @property {{ [_: string]: number } | null} GAVPtr - Soft reject
|
||||
* @property {{ [_: string]: number } | null} GAW - Soft reject
|
||||
* @property {{ [_: string]: number } | null} GAWPtr - Accept, hide
|
||||
* @property {{ [_: string]: number } | null} GAX - Accept, hide
|
||||
* @property {{ [_: string]: number } | null} GAXPtr - Soft reject
|
||||
* @property {{ [_: string]: number } | null} GAY - Accept, hide
|
||||
* @property {{ [_: string]: number } | null} GAYPtr - Soft reject
|
||||
* @property {{ [_: string]: number } | null} GAZ - Accept, hide
|
||||
* @property {{ [_: string]: number } | null} GAZPtr - Soft reject
|
||||
* @property {{ [_: `${number}`]: number } | null} GACi - Accept, hide
|
||||
* @property {{ [_: ComparableCstrAlias<ValueTextMarshaler>]: number } | null} GACV - Accept
|
||||
* @property {{ [_: string]: number } | null} GACP - Reject
|
||||
* @property {{ [_: string]: number } | null} GACiPtr - Reject
|
||||
* @property {{ [_: string]: number } | null} GACVPtr - Accept, hide
|
||||
* @property {{ [_: string]: number } | null} GACPPtr - Accept, hide
|
||||
* @property {{ [_: `${number}`]: number } | null} GABi - Accept, hide
|
||||
* @property {{ [_: BasicCstrAlias<string>]: number } | null} GABs - Accept
|
||||
* @property {{ [_: string]: number } | null} GABiPtr - Reject
|
||||
* @property {{ [_: string]: number } | null} GABT - Reject
|
||||
* @property {{ [_: string]: number } | null} GABTPtr - Reject
|
||||
* @property {{ [_: GoodTildeCstrAlias<ValueTextMarshaler>]: number } | null} GAGT - Accept
|
||||
* @property {{ [_: string]: number } | null} GAGTPtr - Accept, hide
|
||||
* @property {{ [_: NonBasicCstrAlias<ValueTextMarshaler>]: number } | null} GANBV - Accept
|
||||
* @property {{ [_: string]: number } | null} GANBP - Accept, hide
|
||||
* @property {{ [_: string]: number } | null} GANBVPtr - Accept, hide
|
||||
* @property {{ [_: string]: number } | null} GANBPPtr - Reject
|
||||
* @property {{ [_: PointableCstrAlias<ValueTextMarshaler>]: number } | null} GAPlV1 - Accept
|
||||
* @property {{ [_: PointableCstrAlias<ValueTextMarshaler>]: number } | null} GAPlV2 - Accept
|
||||
* @property {{ [_: string]: number } | null} GAPlP1 - Reject
|
||||
* @property {{ [_: PointableCstrAlias<PointerTextMarshaler>]: number } | null} GAPlP2 - Accept
|
||||
* @property {{ [_: string]: number } | null} GAPlVPtr - Accept, hide
|
||||
* @property {{ [_: string]: number } | null} GAPlPPtr - Accept, hide
|
||||
* @property {{ [_: `${number}`]: number } | null} GAMi - Accept, hide
|
||||
* @property {{ [_: MixedCstrAlias<StringType>]: number } | null} GAMS - Accept
|
||||
* @property {{ [_: MixedCstrAlias<ValueTextMarshaler>]: number } | null} GAMV - Accept
|
||||
* @property {{ [_: string]: number } | null} GAMSPtr - Reject
|
||||
* @property {{ [_: string]: number } | null} GAMVPtr - Accept, hide
|
||||
* @property {{ [_: string]: number } | null} GAII - Accept, hide
|
||||
* @property {{ [_: InterfaceCstrAlias<ValueTextMarshaler>]: number } | null} GAIV - Accept
|
||||
* @property {{ [_: string]: number } | null} GAIP - Accept, hide
|
||||
* @property {{ [_: string]: number } | null} GAIIPtr - Reject
|
||||
* @property {{ [_: string]: number } | null} GAIVPtr - Accept, hide
|
||||
* @property {{ [_: string]: number } | null} GAIPPtr - Reject
|
||||
* @property {{ [_: string]: number } | null} GAPrV - Accept, hide
|
||||
* @property {{ [_: string]: number } | null} GAPrP - Accept, hide
|
||||
* @property {{ [_: string]: number } | null} GAPrVPtr - Reject
|
||||
* @property {{ [_: string]: number } | null} GAPrPPtr - Reject
|
||||
*/
|
||||
|
||||
/**
|
||||
* @template X
|
||||
* @typedef {X} MixedCstrAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* @template V
|
||||
* @typedef {V} NonBasicCstrAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
* @template W
|
||||
* @typedef {W} PointableCstrAlias
|
||||
*/
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -33,11 +33,34 @@ package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type
|
|||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type bool is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type complex64 is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type float32 is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.BadTildeCstrAlias[T] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.BadTildeCstrAlias[struct{}] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.BadTildeCstrPtrAlias[T] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.BadTildeCstrPtrAlias[struct{}] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.BasicCstrPtrAlias[S] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.BasicCstrPtrAlias[int] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.ComparableCstrAlias[R] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.ComparableCstrAlias[github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerTextMarshaler] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.ComparableCstrPtrAlias[R] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.ComparableCstrPtrAlias[int] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.EmbeddedPointer is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.GoodTildeCstrPtrAlias[U] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.InterfaceCstrPtrAlias[*github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerTextMarshaler] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.InterfaceCstrPtrAlias[Y] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.InterfaceCstrPtrAlias[encoding.TextMarshaler] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.InterfacePtrAlias is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.InterfacePtrType is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.MixedCstrPtrAlias[X] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.MixedCstrPtrAlias[github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.StringType] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.NonBasicCstrPtrAlias[*github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerTextMarshaler] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.NonBasicCstrPtrAlias[V] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.NonTextMarshaler is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointableCstrAlias[W] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointableCstrAlias[github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerTextMarshaler] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerAlias is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerCstrPtrAlias[R, Z] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerCstrPtrAlias[github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerTextMarshaler, *github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerTextMarshaler] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerCstrPtrAlias[github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.ValueTextMarshaler, *github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.ValueTextMarshaler] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerPtrType is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerTextMarshaler is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerType is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
|
|
|
|||
|
|
@ -63,13 +63,22 @@ export function GetButForeignPrivateAlias(): Promise<nobindingshere$0.PrivatePer
|
|||
return $typingPromise;
|
||||
}
|
||||
|
||||
export function GetButGenericAliases(): Promise<$models.AliasGroup> & { cancel(): void } {
|
||||
let $resultPromise = $Call.ByID(914093800) as any;
|
||||
let $typingPromise = $resultPromise.then(($result: any) => {
|
||||
return $$createType3($result);
|
||||
}) as any;
|
||||
$typingPromise.cancel = $resultPromise.cancel.bind($resultPromise);
|
||||
return $typingPromise;
|
||||
}
|
||||
|
||||
/**
|
||||
* Greet a lot of unusual things.
|
||||
*/
|
||||
export function Greet($0: $models.EmptyAliasStruct, $1: $models.EmptyStruct): Promise<$models.AliasStruct> & { cancel(): void } {
|
||||
let $resultPromise = $Call.ByID(1411160069, $0, $1) as any;
|
||||
let $typingPromise = $resultPromise.then(($result: any) => {
|
||||
return $$createType6($result);
|
||||
return $$createType7($result);
|
||||
}) as any;
|
||||
$typingPromise.cancel = $resultPromise.cancel.bind($resultPromise);
|
||||
return $typingPromise;
|
||||
|
|
@ -79,12 +88,13 @@ export function Greet($0: $models.EmptyAliasStruct, $1: $models.EmptyStruct): Pr
|
|||
const $$createType0 = $models.Person.createFrom;
|
||||
const $$createType1 = $models.GenericPerson.createFrom($Create.Any);
|
||||
const $$createType2 = nobindingshere$0.personImpl.createFrom;
|
||||
const $$createType3 = $Create.Array($Create.Any);
|
||||
const $$createType3 = $models.AliasGroup.createFrom;
|
||||
const $$createType4 = $Create.Array($Create.Any);
|
||||
const $$createType5 = $Create.Struct({
|
||||
"NoMoreIdeas": $$createType4,
|
||||
});
|
||||
const $$createType5 = $Create.Array($Create.Any);
|
||||
const $$createType6 = $Create.Struct({
|
||||
"Foo": $$createType3,
|
||||
"Other": $$createType5,
|
||||
"NoMoreIdeas": $$createType5,
|
||||
});
|
||||
const $$createType7 = $Create.Struct({
|
||||
"Foo": $$createType4,
|
||||
"Other": $$createType6,
|
||||
});
|
||||
|
|
|
|||
|
|
@ -7,16 +7,23 @@ export {
|
|||
};
|
||||
|
||||
export {
|
||||
AliasGroup,
|
||||
AliasedPerson,
|
||||
EmptyStruct,
|
||||
GenericPerson,
|
||||
GenericPersonAlias,
|
||||
IndirectPersonAlias,
|
||||
Person,
|
||||
StrangelyAliasedPerson
|
||||
StrangelyAliasedPerson,
|
||||
TPIndirectPersonAlias
|
||||
} from "./models.js";
|
||||
|
||||
export type {
|
||||
Alias,
|
||||
AliasStruct,
|
||||
EmptyAliasStruct,
|
||||
GenericAlias,
|
||||
GenericMapAlias,
|
||||
GenericPtrAlias,
|
||||
OtherAliasStruct
|
||||
} from "./models.js";
|
||||
|
|
|
|||
|
|
@ -10,6 +10,86 @@ import {Create as $Create} from "/wails/runtime.js";
|
|||
*/
|
||||
export type Alias = number;
|
||||
|
||||
/**
|
||||
* A class whose fields have various aliased types.
|
||||
*/
|
||||
export class AliasGroup {
|
||||
"GAi": GenericAlias<number>;
|
||||
"GAP": GenericAlias<GenericPerson<boolean>>;
|
||||
"GPAs": GenericPtrAlias<string[]>;
|
||||
"GPAP": GenericPtrAlias<GenericPerson<number[]>>;
|
||||
"GMA": GenericMapAlias<string, number>;
|
||||
"GPA": GenericPersonAlias<boolean>;
|
||||
"IPA": IndirectPersonAlias;
|
||||
"TPIPA": TPIndirectPersonAlias;
|
||||
|
||||
/** Creates a new AliasGroup instance. */
|
||||
constructor($$source: Partial<AliasGroup> = {}) {
|
||||
if (!("GAi" in $$source)) {
|
||||
this["GAi"] = 0;
|
||||
}
|
||||
if (!("GAP" in $$source)) {
|
||||
this["GAP"] = (new GenericPerson());
|
||||
}
|
||||
if (!("GPAs" in $$source)) {
|
||||
this["GPAs"] = null;
|
||||
}
|
||||
if (!("GPAP" in $$source)) {
|
||||
this["GPAP"] = null;
|
||||
}
|
||||
if (!("GMA" in $$source)) {
|
||||
this["GMA"] = {};
|
||||
}
|
||||
if (!("GPA" in $$source)) {
|
||||
this["GPA"] = (new GenericPersonAlias());
|
||||
}
|
||||
if (!("IPA" in $$source)) {
|
||||
this["IPA"] = (new IndirectPersonAlias());
|
||||
}
|
||||
if (!("TPIPA" in $$source)) {
|
||||
this["TPIPA"] = (new TPIndirectPersonAlias());
|
||||
}
|
||||
|
||||
Object.assign(this, $$source);
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a new AliasGroup instance from a string or object.
|
||||
*/
|
||||
static createFrom($$source: any = {}): AliasGroup {
|
||||
const $$createField1_0 = $$createType0;
|
||||
const $$createField2_0 = $$createType2;
|
||||
const $$createField3_0 = $$createType5;
|
||||
const $$createField4_0 = $$createType6;
|
||||
const $$createField5_0 = $$createType8;
|
||||
const $$createField6_0 = $$createType8;
|
||||
const $$createField7_0 = $$createType0;
|
||||
let $$parsedSource = typeof $$source === 'string' ? JSON.parse($$source) : $$source;
|
||||
if ("GAP" in $$parsedSource) {
|
||||
$$parsedSource["GAP"] = $$createField1_0($$parsedSource["GAP"]);
|
||||
}
|
||||
if ("GPAs" in $$parsedSource) {
|
||||
$$parsedSource["GPAs"] = $$createField2_0($$parsedSource["GPAs"]);
|
||||
}
|
||||
if ("GPAP" in $$parsedSource) {
|
||||
$$parsedSource["GPAP"] = $$createField3_0($$parsedSource["GPAP"]);
|
||||
}
|
||||
if ("GMA" in $$parsedSource) {
|
||||
$$parsedSource["GMA"] = $$createField4_0($$parsedSource["GMA"]);
|
||||
}
|
||||
if ("GPA" in $$parsedSource) {
|
||||
$$parsedSource["GPA"] = $$createField5_0($$parsedSource["GPA"]);
|
||||
}
|
||||
if ("IPA" in $$parsedSource) {
|
||||
$$parsedSource["IPA"] = $$createField6_0($$parsedSource["IPA"]);
|
||||
}
|
||||
if ("TPIPA" in $$parsedSource) {
|
||||
$$parsedSource["TPIPA"] = $$createField7_0($$parsedSource["TPIPA"]);
|
||||
}
|
||||
return new AliasGroup($$parsedSource as Partial<AliasGroup>);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* A struct alias.
|
||||
* This should be rendered as a typedef or interface in every mode.
|
||||
|
|
@ -58,6 +138,16 @@ export class EmptyStruct {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* A generic alias that forwards to a type parameter.
|
||||
*/
|
||||
export type GenericAlias<T> = T;
|
||||
|
||||
/**
|
||||
* A generic alias that wraps a map.
|
||||
*/
|
||||
export type GenericMapAlias<T, U> = { [_: string]: U };
|
||||
|
||||
/**
|
||||
* A generic struct containing an alias.
|
||||
*/
|
||||
|
|
@ -91,6 +181,31 @@ export class GenericPerson<T> {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* A generic alias that wraps a generic struct.
|
||||
*/
|
||||
export const GenericPersonAlias = GenericPerson;
|
||||
|
||||
/**
|
||||
* A generic alias that wraps a generic struct.
|
||||
*/
|
||||
export type GenericPersonAlias<T> = GenericPerson<GenericPtrAlias<T>[]>;
|
||||
|
||||
/**
|
||||
* A generic alias that wraps a pointer type.
|
||||
*/
|
||||
export type GenericPtrAlias<T> = GenericAlias<T> | null;
|
||||
|
||||
/**
|
||||
* An alias that wraps a class through a non-typeparam alias.
|
||||
*/
|
||||
export const IndirectPersonAlias = GenericPersonAlias;
|
||||
|
||||
/**
|
||||
* An alias that wraps a class through a non-typeparam alias.
|
||||
*/
|
||||
export type IndirectPersonAlias = GenericPersonAlias<boolean>;
|
||||
|
||||
/**
|
||||
* Another struct alias.
|
||||
*/
|
||||
|
|
@ -152,3 +267,24 @@ export const StrangelyAliasedPerson = Person;
|
|||
* Another class alias, but ordered after its aliased class.
|
||||
*/
|
||||
export type StrangelyAliasedPerson = Person;
|
||||
|
||||
/**
|
||||
* An alias that wraps a class through a typeparam alias.
|
||||
*/
|
||||
export const TPIndirectPersonAlias = GenericPerson;
|
||||
|
||||
/**
|
||||
* An alias that wraps a class through a typeparam alias.
|
||||
*/
|
||||
export type TPIndirectPersonAlias = GenericAlias<GenericPerson<boolean>>;
|
||||
|
||||
// Private type creation functions
|
||||
const $$createType0 = GenericPerson.createFrom($Create.Any);
|
||||
const $$createType1 = $Create.Array($Create.Any);
|
||||
const $$createType2 = $Create.Nullable($$createType1);
|
||||
const $$createType3 = $Create.Array($Create.Any);
|
||||
const $$createType4 = GenericPerson.createFrom($$createType3);
|
||||
const $$createType5 = $Create.Nullable($$createType4);
|
||||
const $$createType6 = $Create.Map($Create.Any, $Create.Any);
|
||||
const $$createType7 = $Create.Array($Create.Any);
|
||||
const $$createType8 = GenericPerson.createFrom($$createType7);
|
||||
|
|
|
|||
|
|
@ -11,12 +11,19 @@ export {
|
|||
} from "./models.js";
|
||||
|
||||
export type {
|
||||
BasicCstrAlias,
|
||||
ComparableCstrAlias,
|
||||
EmbeddedCustomInterface,
|
||||
EmbeddedOriginalInterface,
|
||||
EmbeddedPointer,
|
||||
EmbeddedPointerPtr,
|
||||
EmbeddedValue,
|
||||
EmbeddedValuePtr,
|
||||
GoodTildeCstrAlias,
|
||||
InterfaceCstrAlias,
|
||||
MixedCstrAlias,
|
||||
NonBasicCstrAlias,
|
||||
PointableCstrAlias,
|
||||
PointerAlias,
|
||||
PointerTextMarshaler,
|
||||
StringAlias,
|
||||
|
|
|
|||
|
|
@ -5,6 +5,10 @@
|
|||
// @ts-ignore: Unused imports
|
||||
import {Create as $Create} from "/wails/runtime.js";
|
||||
|
||||
export type BasicCstrAlias<S> = S;
|
||||
|
||||
export type ComparableCstrAlias<R> = R;
|
||||
|
||||
export type EmbeddedCustomInterface = string;
|
||||
|
||||
export type EmbeddedOriginalInterface = string;
|
||||
|
|
@ -17,6 +21,10 @@ export type EmbeddedValue = string;
|
|||
|
||||
export type EmbeddedValuePtr = string;
|
||||
|
||||
export type GoodTildeCstrAlias<U> = U;
|
||||
|
||||
export type InterfaceCstrAlias<Y> = Y;
|
||||
|
||||
export class Maps<R, S, T, U, V, W, X, Y, Z> {
|
||||
/**
|
||||
* Reject
|
||||
|
|
@ -463,6 +471,286 @@ export class Maps<R, S, T, U, V, W, X, Y, Z> {
|
|||
*/
|
||||
"TPZPtr": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Soft reject
|
||||
*/
|
||||
"GAR": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Soft reject
|
||||
*/
|
||||
"GARPtr": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GAS": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Soft reject
|
||||
*/
|
||||
"GASPtr": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Soft reject
|
||||
*/
|
||||
"GAT": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Soft reject
|
||||
*/
|
||||
"GATPtr": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GAU": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Soft reject
|
||||
*/
|
||||
"GAUPtr": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GAV": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Soft reject
|
||||
*/
|
||||
"GAVPtr": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Soft reject
|
||||
*/
|
||||
"GAW": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GAWPtr": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GAX": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Soft reject
|
||||
*/
|
||||
"GAXPtr": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GAY": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Soft reject
|
||||
*/
|
||||
"GAYPtr": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GAZ": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Soft reject
|
||||
*/
|
||||
"GAZPtr": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GACi": { [_: `${number}`]: number };
|
||||
|
||||
/**
|
||||
* Accept
|
||||
*/
|
||||
"GACV": { [_: ComparableCstrAlias<ValueTextMarshaler>]: number };
|
||||
|
||||
/**
|
||||
* Reject
|
||||
*/
|
||||
"GACP": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Reject
|
||||
*/
|
||||
"GACiPtr": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GACVPtr": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GACPPtr": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GABi": { [_: `${number}`]: number };
|
||||
|
||||
/**
|
||||
* Accept
|
||||
*/
|
||||
"GABs": { [_: BasicCstrAlias<string>]: number };
|
||||
|
||||
/**
|
||||
* Reject
|
||||
*/
|
||||
"GABiPtr": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Reject
|
||||
*/
|
||||
"GABT": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Reject
|
||||
*/
|
||||
"GABTPtr": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Accept
|
||||
*/
|
||||
"GAGT": { [_: GoodTildeCstrAlias<ValueTextMarshaler>]: number };
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GAGTPtr": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Accept
|
||||
*/
|
||||
"GANBV": { [_: NonBasicCstrAlias<ValueTextMarshaler>]: number };
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GANBP": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GANBVPtr": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Reject
|
||||
*/
|
||||
"GANBPPtr": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Accept
|
||||
*/
|
||||
"GAPlV1": { [_: PointableCstrAlias<ValueTextMarshaler>]: number };
|
||||
|
||||
/**
|
||||
* Accept
|
||||
*/
|
||||
"GAPlV2": { [_: PointableCstrAlias<ValueTextMarshaler>]: number };
|
||||
|
||||
/**
|
||||
* Reject
|
||||
*/
|
||||
"GAPlP1": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Accept
|
||||
*/
|
||||
"GAPlP2": { [_: PointableCstrAlias<PointerTextMarshaler>]: number };
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GAPlVPtr": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GAPlPPtr": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GAMi": { [_: `${number}`]: number };
|
||||
|
||||
/**
|
||||
* Accept
|
||||
*/
|
||||
"GAMS": { [_: MixedCstrAlias<StringType>]: number };
|
||||
|
||||
/**
|
||||
* Accept
|
||||
*/
|
||||
"GAMV": { [_: MixedCstrAlias<ValueTextMarshaler>]: number };
|
||||
|
||||
/**
|
||||
* Reject
|
||||
*/
|
||||
"GAMSPtr": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GAMVPtr": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GAII": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Accept
|
||||
*/
|
||||
"GAIV": { [_: InterfaceCstrAlias<ValueTextMarshaler>]: number };
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GAIP": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Reject
|
||||
*/
|
||||
"GAIIPtr": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GAIVPtr": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Reject
|
||||
*/
|
||||
"GAIPPtr": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GAPrV": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GAPrP": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Reject
|
||||
*/
|
||||
"GAPrVPtr": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Reject
|
||||
*/
|
||||
"GAPrPPtr": { [_: string]: number };
|
||||
|
||||
/** Creates a new Maps instance. */
|
||||
constructor($$source: Partial<Maps<R, S, T, U, V, W, X, Y, Z>> = {}) {
|
||||
if (!("Bool" in $$source)) {
|
||||
|
|
@ -732,6 +1020,174 @@ export class Maps<R, S, T, U, V, W, X, Y, Z> {
|
|||
if (!("TPZPtr" in $$source)) {
|
||||
this["TPZPtr"] = {};
|
||||
}
|
||||
if (!("GAR" in $$source)) {
|
||||
this["GAR"] = {};
|
||||
}
|
||||
if (!("GARPtr" in $$source)) {
|
||||
this["GARPtr"] = {};
|
||||
}
|
||||
if (!("GAS" in $$source)) {
|
||||
this["GAS"] = {};
|
||||
}
|
||||
if (!("GASPtr" in $$source)) {
|
||||
this["GASPtr"] = {};
|
||||
}
|
||||
if (!("GAT" in $$source)) {
|
||||
this["GAT"] = {};
|
||||
}
|
||||
if (!("GATPtr" in $$source)) {
|
||||
this["GATPtr"] = {};
|
||||
}
|
||||
if (!("GAU" in $$source)) {
|
||||
this["GAU"] = {};
|
||||
}
|
||||
if (!("GAUPtr" in $$source)) {
|
||||
this["GAUPtr"] = {};
|
||||
}
|
||||
if (!("GAV" in $$source)) {
|
||||
this["GAV"] = {};
|
||||
}
|
||||
if (!("GAVPtr" in $$source)) {
|
||||
this["GAVPtr"] = {};
|
||||
}
|
||||
if (!("GAW" in $$source)) {
|
||||
this["GAW"] = {};
|
||||
}
|
||||
if (!("GAWPtr" in $$source)) {
|
||||
this["GAWPtr"] = {};
|
||||
}
|
||||
if (!("GAX" in $$source)) {
|
||||
this["GAX"] = {};
|
||||
}
|
||||
if (!("GAXPtr" in $$source)) {
|
||||
this["GAXPtr"] = {};
|
||||
}
|
||||
if (!("GAY" in $$source)) {
|
||||
this["GAY"] = {};
|
||||
}
|
||||
if (!("GAYPtr" in $$source)) {
|
||||
this["GAYPtr"] = {};
|
||||
}
|
||||
if (!("GAZ" in $$source)) {
|
||||
this["GAZ"] = {};
|
||||
}
|
||||
if (!("GAZPtr" in $$source)) {
|
||||
this["GAZPtr"] = {};
|
||||
}
|
||||
if (!("GACi" in $$source)) {
|
||||
this["GACi"] = {};
|
||||
}
|
||||
if (!("GACV" in $$source)) {
|
||||
this["GACV"] = {};
|
||||
}
|
||||
if (!("GACP" in $$source)) {
|
||||
this["GACP"] = {};
|
||||
}
|
||||
if (!("GACiPtr" in $$source)) {
|
||||
this["GACiPtr"] = {};
|
||||
}
|
||||
if (!("GACVPtr" in $$source)) {
|
||||
this["GACVPtr"] = {};
|
||||
}
|
||||
if (!("GACPPtr" in $$source)) {
|
||||
this["GACPPtr"] = {};
|
||||
}
|
||||
if (!("GABi" in $$source)) {
|
||||
this["GABi"] = {};
|
||||
}
|
||||
if (!("GABs" in $$source)) {
|
||||
this["GABs"] = {};
|
||||
}
|
||||
if (!("GABiPtr" in $$source)) {
|
||||
this["GABiPtr"] = {};
|
||||
}
|
||||
if (!("GABT" in $$source)) {
|
||||
this["GABT"] = {};
|
||||
}
|
||||
if (!("GABTPtr" in $$source)) {
|
||||
this["GABTPtr"] = {};
|
||||
}
|
||||
if (!("GAGT" in $$source)) {
|
||||
this["GAGT"] = {};
|
||||
}
|
||||
if (!("GAGTPtr" in $$source)) {
|
||||
this["GAGTPtr"] = {};
|
||||
}
|
||||
if (!("GANBV" in $$source)) {
|
||||
this["GANBV"] = {};
|
||||
}
|
||||
if (!("GANBP" in $$source)) {
|
||||
this["GANBP"] = {};
|
||||
}
|
||||
if (!("GANBVPtr" in $$source)) {
|
||||
this["GANBVPtr"] = {};
|
||||
}
|
||||
if (!("GANBPPtr" in $$source)) {
|
||||
this["GANBPPtr"] = {};
|
||||
}
|
||||
if (!("GAPlV1" in $$source)) {
|
||||
this["GAPlV1"] = {};
|
||||
}
|
||||
if (!("GAPlV2" in $$source)) {
|
||||
this["GAPlV2"] = {};
|
||||
}
|
||||
if (!("GAPlP1" in $$source)) {
|
||||
this["GAPlP1"] = {};
|
||||
}
|
||||
if (!("GAPlP2" in $$source)) {
|
||||
this["GAPlP2"] = {};
|
||||
}
|
||||
if (!("GAPlVPtr" in $$source)) {
|
||||
this["GAPlVPtr"] = {};
|
||||
}
|
||||
if (!("GAPlPPtr" in $$source)) {
|
||||
this["GAPlPPtr"] = {};
|
||||
}
|
||||
if (!("GAMi" in $$source)) {
|
||||
this["GAMi"] = {};
|
||||
}
|
||||
if (!("GAMS" in $$source)) {
|
||||
this["GAMS"] = {};
|
||||
}
|
||||
if (!("GAMV" in $$source)) {
|
||||
this["GAMV"] = {};
|
||||
}
|
||||
if (!("GAMSPtr" in $$source)) {
|
||||
this["GAMSPtr"] = {};
|
||||
}
|
||||
if (!("GAMVPtr" in $$source)) {
|
||||
this["GAMVPtr"] = {};
|
||||
}
|
||||
if (!("GAII" in $$source)) {
|
||||
this["GAII"] = {};
|
||||
}
|
||||
if (!("GAIV" in $$source)) {
|
||||
this["GAIV"] = {};
|
||||
}
|
||||
if (!("GAIP" in $$source)) {
|
||||
this["GAIP"] = {};
|
||||
}
|
||||
if (!("GAIIPtr" in $$source)) {
|
||||
this["GAIIPtr"] = {};
|
||||
}
|
||||
if (!("GAIVPtr" in $$source)) {
|
||||
this["GAIVPtr"] = {};
|
||||
}
|
||||
if (!("GAIPPtr" in $$source)) {
|
||||
this["GAIPPtr"] = {};
|
||||
}
|
||||
if (!("GAPrV" in $$source)) {
|
||||
this["GAPrV"] = {};
|
||||
}
|
||||
if (!("GAPrP" in $$source)) {
|
||||
this["GAPrP"] = {};
|
||||
}
|
||||
if (!("GAPrVPtr" in $$source)) {
|
||||
this["GAPrVPtr"] = {};
|
||||
}
|
||||
if (!("GAPrPPtr" in $$source)) {
|
||||
this["GAPrPPtr"] = {};
|
||||
}
|
||||
|
||||
Object.assign(this, $$source);
|
||||
}
|
||||
|
|
@ -831,6 +1287,62 @@ export class Maps<R, S, T, U, V, W, X, Y, Z> {
|
|||
const $$createField86_0 = $$createType74($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField87_0 = $$createType75($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField88_0 = $$createType76($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField89_0 = $$createType59($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField90_0 = $$createType60($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField91_0 = $$createType61($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField92_0 = $$createType62($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField93_0 = $$createType63($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField94_0 = $$createType64($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField95_0 = $$createType65($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField96_0 = $$createType66($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField97_0 = $$createType67($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField98_0 = $$createType68($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField99_0 = $$createType69($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField100_0 = $$createType70($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField101_0 = $$createType71($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField102_0 = $$createType72($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField103_0 = $$createType73($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField104_0 = $$createType74($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField105_0 = $$createType75($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField106_0 = $$createType76($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField107_0 = $$createType1;
|
||||
const $$createField108_0 = $$createType15;
|
||||
const $$createField109_0 = $$createType17;
|
||||
const $$createField110_0 = $$createType8;
|
||||
const $$createField111_0 = $$createType16;
|
||||
const $$createField112_0 = $$createType18;
|
||||
const $$createField113_0 = $$createType1;
|
||||
const $$createField114_0 = $$createType7;
|
||||
const $$createField115_0 = $$createType8;
|
||||
const $$createField116_0 = $$createType77;
|
||||
const $$createField117_0 = $$createType78;
|
||||
const $$createField118_0 = $$createType15;
|
||||
const $$createField119_0 = $$createType16;
|
||||
const $$createField120_0 = $$createType15;
|
||||
const $$createField121_0 = $$createType18;
|
||||
const $$createField122_0 = $$createType16;
|
||||
const $$createField123_0 = $$createType53;
|
||||
const $$createField124_0 = $$createType15;
|
||||
const $$createField125_0 = $$createType16;
|
||||
const $$createField126_0 = $$createType17;
|
||||
const $$createField127_0 = $$createType18;
|
||||
const $$createField128_0 = $$createType16;
|
||||
const $$createField129_0 = $$createType18;
|
||||
const $$createField130_0 = $$createType2;
|
||||
const $$createField131_0 = $$createType42;
|
||||
const $$createField132_0 = $$createType15;
|
||||
const $$createField133_0 = $$createType79;
|
||||
const $$createField134_0 = $$createType16;
|
||||
const $$createField135_0 = $$createType23;
|
||||
const $$createField136_0 = $$createType15;
|
||||
const $$createField137_0 = $$createType18;
|
||||
const $$createField138_0 = $$createType24;
|
||||
const $$createField139_0 = $$createType16;
|
||||
const $$createField140_0 = $$createType53;
|
||||
const $$createField141_0 = $$createType16;
|
||||
const $$createField142_0 = $$createType18;
|
||||
const $$createField143_0 = $$createType48;
|
||||
const $$createField144_0 = $$createType53;
|
||||
return ($$source: any = {}) => {
|
||||
let $$parsedSource = typeof $$source === 'string' ? JSON.parse($$source) : $$source;
|
||||
if ("Bool" in $$parsedSource) {
|
||||
|
|
@ -1100,11 +1612,185 @@ export class Maps<R, S, T, U, V, W, X, Y, Z> {
|
|||
if ("TPZPtr" in $$parsedSource) {
|
||||
$$parsedSource["TPZPtr"] = $$createField88_0($$parsedSource["TPZPtr"]);
|
||||
}
|
||||
if ("GAR" in $$parsedSource) {
|
||||
$$parsedSource["GAR"] = $$createField89_0($$parsedSource["GAR"]);
|
||||
}
|
||||
if ("GARPtr" in $$parsedSource) {
|
||||
$$parsedSource["GARPtr"] = $$createField90_0($$parsedSource["GARPtr"]);
|
||||
}
|
||||
if ("GAS" in $$parsedSource) {
|
||||
$$parsedSource["GAS"] = $$createField91_0($$parsedSource["GAS"]);
|
||||
}
|
||||
if ("GASPtr" in $$parsedSource) {
|
||||
$$parsedSource["GASPtr"] = $$createField92_0($$parsedSource["GASPtr"]);
|
||||
}
|
||||
if ("GAT" in $$parsedSource) {
|
||||
$$parsedSource["GAT"] = $$createField93_0($$parsedSource["GAT"]);
|
||||
}
|
||||
if ("GATPtr" in $$parsedSource) {
|
||||
$$parsedSource["GATPtr"] = $$createField94_0($$parsedSource["GATPtr"]);
|
||||
}
|
||||
if ("GAU" in $$parsedSource) {
|
||||
$$parsedSource["GAU"] = $$createField95_0($$parsedSource["GAU"]);
|
||||
}
|
||||
if ("GAUPtr" in $$parsedSource) {
|
||||
$$parsedSource["GAUPtr"] = $$createField96_0($$parsedSource["GAUPtr"]);
|
||||
}
|
||||
if ("GAV" in $$parsedSource) {
|
||||
$$parsedSource["GAV"] = $$createField97_0($$parsedSource["GAV"]);
|
||||
}
|
||||
if ("GAVPtr" in $$parsedSource) {
|
||||
$$parsedSource["GAVPtr"] = $$createField98_0($$parsedSource["GAVPtr"]);
|
||||
}
|
||||
if ("GAW" in $$parsedSource) {
|
||||
$$parsedSource["GAW"] = $$createField99_0($$parsedSource["GAW"]);
|
||||
}
|
||||
if ("GAWPtr" in $$parsedSource) {
|
||||
$$parsedSource["GAWPtr"] = $$createField100_0($$parsedSource["GAWPtr"]);
|
||||
}
|
||||
if ("GAX" in $$parsedSource) {
|
||||
$$parsedSource["GAX"] = $$createField101_0($$parsedSource["GAX"]);
|
||||
}
|
||||
if ("GAXPtr" in $$parsedSource) {
|
||||
$$parsedSource["GAXPtr"] = $$createField102_0($$parsedSource["GAXPtr"]);
|
||||
}
|
||||
if ("GAY" in $$parsedSource) {
|
||||
$$parsedSource["GAY"] = $$createField103_0($$parsedSource["GAY"]);
|
||||
}
|
||||
if ("GAYPtr" in $$parsedSource) {
|
||||
$$parsedSource["GAYPtr"] = $$createField104_0($$parsedSource["GAYPtr"]);
|
||||
}
|
||||
if ("GAZ" in $$parsedSource) {
|
||||
$$parsedSource["GAZ"] = $$createField105_0($$parsedSource["GAZ"]);
|
||||
}
|
||||
if ("GAZPtr" in $$parsedSource) {
|
||||
$$parsedSource["GAZPtr"] = $$createField106_0($$parsedSource["GAZPtr"]);
|
||||
}
|
||||
if ("GACi" in $$parsedSource) {
|
||||
$$parsedSource["GACi"] = $$createField107_0($$parsedSource["GACi"]);
|
||||
}
|
||||
if ("GACV" in $$parsedSource) {
|
||||
$$parsedSource["GACV"] = $$createField108_0($$parsedSource["GACV"]);
|
||||
}
|
||||
if ("GACP" in $$parsedSource) {
|
||||
$$parsedSource["GACP"] = $$createField109_0($$parsedSource["GACP"]);
|
||||
}
|
||||
if ("GACiPtr" in $$parsedSource) {
|
||||
$$parsedSource["GACiPtr"] = $$createField110_0($$parsedSource["GACiPtr"]);
|
||||
}
|
||||
if ("GACVPtr" in $$parsedSource) {
|
||||
$$parsedSource["GACVPtr"] = $$createField111_0($$parsedSource["GACVPtr"]);
|
||||
}
|
||||
if ("GACPPtr" in $$parsedSource) {
|
||||
$$parsedSource["GACPPtr"] = $$createField112_0($$parsedSource["GACPPtr"]);
|
||||
}
|
||||
if ("GABi" in $$parsedSource) {
|
||||
$$parsedSource["GABi"] = $$createField113_0($$parsedSource["GABi"]);
|
||||
}
|
||||
if ("GABs" in $$parsedSource) {
|
||||
$$parsedSource["GABs"] = $$createField114_0($$parsedSource["GABs"]);
|
||||
}
|
||||
if ("GABiPtr" in $$parsedSource) {
|
||||
$$parsedSource["GABiPtr"] = $$createField115_0($$parsedSource["GABiPtr"]);
|
||||
}
|
||||
if ("GABT" in $$parsedSource) {
|
||||
$$parsedSource["GABT"] = $$createField116_0($$parsedSource["GABT"]);
|
||||
}
|
||||
if ("GABTPtr" in $$parsedSource) {
|
||||
$$parsedSource["GABTPtr"] = $$createField117_0($$parsedSource["GABTPtr"]);
|
||||
}
|
||||
if ("GAGT" in $$parsedSource) {
|
||||
$$parsedSource["GAGT"] = $$createField118_0($$parsedSource["GAGT"]);
|
||||
}
|
||||
if ("GAGTPtr" in $$parsedSource) {
|
||||
$$parsedSource["GAGTPtr"] = $$createField119_0($$parsedSource["GAGTPtr"]);
|
||||
}
|
||||
if ("GANBV" in $$parsedSource) {
|
||||
$$parsedSource["GANBV"] = $$createField120_0($$parsedSource["GANBV"]);
|
||||
}
|
||||
if ("GANBP" in $$parsedSource) {
|
||||
$$parsedSource["GANBP"] = $$createField121_0($$parsedSource["GANBP"]);
|
||||
}
|
||||
if ("GANBVPtr" in $$parsedSource) {
|
||||
$$parsedSource["GANBVPtr"] = $$createField122_0($$parsedSource["GANBVPtr"]);
|
||||
}
|
||||
if ("GANBPPtr" in $$parsedSource) {
|
||||
$$parsedSource["GANBPPtr"] = $$createField123_0($$parsedSource["GANBPPtr"]);
|
||||
}
|
||||
if ("GAPlV1" in $$parsedSource) {
|
||||
$$parsedSource["GAPlV1"] = $$createField124_0($$parsedSource["GAPlV1"]);
|
||||
}
|
||||
if ("GAPlV2" in $$parsedSource) {
|
||||
$$parsedSource["GAPlV2"] = $$createField125_0($$parsedSource["GAPlV2"]);
|
||||
}
|
||||
if ("GAPlP1" in $$parsedSource) {
|
||||
$$parsedSource["GAPlP1"] = $$createField126_0($$parsedSource["GAPlP1"]);
|
||||
}
|
||||
if ("GAPlP2" in $$parsedSource) {
|
||||
$$parsedSource["GAPlP2"] = $$createField127_0($$parsedSource["GAPlP2"]);
|
||||
}
|
||||
if ("GAPlVPtr" in $$parsedSource) {
|
||||
$$parsedSource["GAPlVPtr"] = $$createField128_0($$parsedSource["GAPlVPtr"]);
|
||||
}
|
||||
if ("GAPlPPtr" in $$parsedSource) {
|
||||
$$parsedSource["GAPlPPtr"] = $$createField129_0($$parsedSource["GAPlPPtr"]);
|
||||
}
|
||||
if ("GAMi" in $$parsedSource) {
|
||||
$$parsedSource["GAMi"] = $$createField130_0($$parsedSource["GAMi"]);
|
||||
}
|
||||
if ("GAMS" in $$parsedSource) {
|
||||
$$parsedSource["GAMS"] = $$createField131_0($$parsedSource["GAMS"]);
|
||||
}
|
||||
if ("GAMV" in $$parsedSource) {
|
||||
$$parsedSource["GAMV"] = $$createField132_0($$parsedSource["GAMV"]);
|
||||
}
|
||||
if ("GAMSPtr" in $$parsedSource) {
|
||||
$$parsedSource["GAMSPtr"] = $$createField133_0($$parsedSource["GAMSPtr"]);
|
||||
}
|
||||
if ("GAMVPtr" in $$parsedSource) {
|
||||
$$parsedSource["GAMVPtr"] = $$createField134_0($$parsedSource["GAMVPtr"]);
|
||||
}
|
||||
if ("GAII" in $$parsedSource) {
|
||||
$$parsedSource["GAII"] = $$createField135_0($$parsedSource["GAII"]);
|
||||
}
|
||||
if ("GAIV" in $$parsedSource) {
|
||||
$$parsedSource["GAIV"] = $$createField136_0($$parsedSource["GAIV"]);
|
||||
}
|
||||
if ("GAIP" in $$parsedSource) {
|
||||
$$parsedSource["GAIP"] = $$createField137_0($$parsedSource["GAIP"]);
|
||||
}
|
||||
if ("GAIIPtr" in $$parsedSource) {
|
||||
$$parsedSource["GAIIPtr"] = $$createField138_0($$parsedSource["GAIIPtr"]);
|
||||
}
|
||||
if ("GAIVPtr" in $$parsedSource) {
|
||||
$$parsedSource["GAIVPtr"] = $$createField139_0($$parsedSource["GAIVPtr"]);
|
||||
}
|
||||
if ("GAIPPtr" in $$parsedSource) {
|
||||
$$parsedSource["GAIPPtr"] = $$createField140_0($$parsedSource["GAIPPtr"]);
|
||||
}
|
||||
if ("GAPrV" in $$parsedSource) {
|
||||
$$parsedSource["GAPrV"] = $$createField141_0($$parsedSource["GAPrV"]);
|
||||
}
|
||||
if ("GAPrP" in $$parsedSource) {
|
||||
$$parsedSource["GAPrP"] = $$createField142_0($$parsedSource["GAPrP"]);
|
||||
}
|
||||
if ("GAPrVPtr" in $$parsedSource) {
|
||||
$$parsedSource["GAPrVPtr"] = $$createField143_0($$parsedSource["GAPrVPtr"]);
|
||||
}
|
||||
if ("GAPrPPtr" in $$parsedSource) {
|
||||
$$parsedSource["GAPrPPtr"] = $$createField144_0($$parsedSource["GAPrPPtr"]);
|
||||
}
|
||||
return new Maps<R, S, T, U, V, W, X, Y, Z>($$parsedSource as Partial<Maps<R, S, T, U, V, W, X, Y, Z>>);
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
export type MixedCstrAlias<X> = X;
|
||||
|
||||
export type NonBasicCstrAlias<V> = V;
|
||||
|
||||
export type PointableCstrAlias<W> = W;
|
||||
|
||||
export type PointerAlias = PointerTextMarshaler;
|
||||
|
||||
export type PointerTextMarshaler = string;
|
||||
|
|
@ -1195,3 +1881,6 @@ const $$createType73 = ($$createParamR, $$createParamS, $$createParamT, $$create
|
|||
const $$createType74 = ($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ) => $Create.Map($Create.Any, $Create.Any);
|
||||
const $$createType75 = ($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ) => $Create.Map($Create.Any, $Create.Any);
|
||||
const $$createType76 = ($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ) => $Create.Map($Create.Any, $Create.Any);
|
||||
const $$createType77 = $Create.Map($Create.Any, $Create.Any);
|
||||
const $$createType78 = $Create.Map($Create.Any, $Create.Any);
|
||||
const $$createType79 = $Create.Map($Create.Any, $Create.Any);
|
||||
|
|
|
|||
|
|
@ -33,11 +33,34 @@ package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type
|
|||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type bool is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type complex64 is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type float32 is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.BadTildeCstrAlias[T] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.BadTildeCstrAlias[struct{}] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.BadTildeCstrPtrAlias[T] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.BadTildeCstrPtrAlias[struct{}] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.BasicCstrPtrAlias[S] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.BasicCstrPtrAlias[int] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.ComparableCstrAlias[R] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.ComparableCstrAlias[github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerTextMarshaler] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.ComparableCstrPtrAlias[R] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.ComparableCstrPtrAlias[int] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.EmbeddedPointer is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.GoodTildeCstrPtrAlias[U] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.InterfaceCstrPtrAlias[*github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerTextMarshaler] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.InterfaceCstrPtrAlias[Y] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.InterfaceCstrPtrAlias[encoding.TextMarshaler] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.InterfacePtrAlias is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.InterfacePtrType is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.MixedCstrPtrAlias[X] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.MixedCstrPtrAlias[github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.StringType] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.NonBasicCstrPtrAlias[*github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerTextMarshaler] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.NonBasicCstrPtrAlias[V] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.NonTextMarshaler is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointableCstrAlias[W] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointableCstrAlias[github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerTextMarshaler] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerAlias is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerCstrPtrAlias[R, Z] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerCstrPtrAlias[github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerTextMarshaler, *github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerTextMarshaler] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerCstrPtrAlias[github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.ValueTextMarshaler, *github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.ValueTextMarshaler] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerPtrType is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerTextMarshaler is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerType is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
|
|
|
|||
|
|
@ -63,13 +63,22 @@ export function GetButForeignPrivateAlias(): Promise<nobindingshere$0.PrivatePer
|
|||
return $typingPromise;
|
||||
}
|
||||
|
||||
export function GetButGenericAliases(): Promise<$models.AliasGroup> & { cancel(): void } {
|
||||
let $resultPromise = $Call.ByName("main.GreetService.GetButGenericAliases") as any;
|
||||
let $typingPromise = $resultPromise.then(($result: any) => {
|
||||
return $$createType3($result);
|
||||
}) as any;
|
||||
$typingPromise.cancel = $resultPromise.cancel.bind($resultPromise);
|
||||
return $typingPromise;
|
||||
}
|
||||
|
||||
/**
|
||||
* Greet a lot of unusual things.
|
||||
*/
|
||||
export function Greet($0: $models.EmptyAliasStruct, $1: $models.EmptyStruct): Promise<$models.AliasStruct> & { cancel(): void } {
|
||||
let $resultPromise = $Call.ByName("main.GreetService.Greet", $0, $1) as any;
|
||||
let $typingPromise = $resultPromise.then(($result: any) => {
|
||||
return $$createType6($result);
|
||||
return $$createType7($result);
|
||||
}) as any;
|
||||
$typingPromise.cancel = $resultPromise.cancel.bind($resultPromise);
|
||||
return $typingPromise;
|
||||
|
|
@ -79,12 +88,13 @@ export function Greet($0: $models.EmptyAliasStruct, $1: $models.EmptyStruct): Pr
|
|||
const $$createType0 = $models.Person.createFrom;
|
||||
const $$createType1 = $models.GenericPerson.createFrom($Create.Any);
|
||||
const $$createType2 = nobindingshere$0.personImpl.createFrom;
|
||||
const $$createType3 = $Create.Array($Create.Any);
|
||||
const $$createType3 = $models.AliasGroup.createFrom;
|
||||
const $$createType4 = $Create.Array($Create.Any);
|
||||
const $$createType5 = $Create.Struct({
|
||||
"NoMoreIdeas": $$createType4,
|
||||
});
|
||||
const $$createType5 = $Create.Array($Create.Any);
|
||||
const $$createType6 = $Create.Struct({
|
||||
"Foo": $$createType3,
|
||||
"Other": $$createType5,
|
||||
"NoMoreIdeas": $$createType5,
|
||||
});
|
||||
const $$createType7 = $Create.Struct({
|
||||
"Foo": $$createType4,
|
||||
"Other": $$createType6,
|
||||
});
|
||||
|
|
|
|||
|
|
@ -7,16 +7,23 @@ export {
|
|||
};
|
||||
|
||||
export {
|
||||
AliasGroup,
|
||||
AliasedPerson,
|
||||
EmptyStruct,
|
||||
GenericPerson,
|
||||
GenericPersonAlias,
|
||||
IndirectPersonAlias,
|
||||
Person,
|
||||
StrangelyAliasedPerson
|
||||
StrangelyAliasedPerson,
|
||||
TPIndirectPersonAlias
|
||||
} from "./models.js";
|
||||
|
||||
export type {
|
||||
Alias,
|
||||
AliasStruct,
|
||||
EmptyAliasStruct,
|
||||
GenericAlias,
|
||||
GenericMapAlias,
|
||||
GenericPtrAlias,
|
||||
OtherAliasStruct
|
||||
} from "./models.js";
|
||||
|
|
|
|||
|
|
@ -10,6 +10,86 @@ import {Create as $Create} from "/wails/runtime.js";
|
|||
*/
|
||||
export type Alias = number;
|
||||
|
||||
/**
|
||||
* A class whose fields have various aliased types.
|
||||
*/
|
||||
export class AliasGroup {
|
||||
"GAi": GenericAlias<number>;
|
||||
"GAP": GenericAlias<GenericPerson<boolean>>;
|
||||
"GPAs": GenericPtrAlias<string[]>;
|
||||
"GPAP": GenericPtrAlias<GenericPerson<number[]>>;
|
||||
"GMA": GenericMapAlias<string, number>;
|
||||
"GPA": GenericPersonAlias<boolean>;
|
||||
"IPA": IndirectPersonAlias;
|
||||
"TPIPA": TPIndirectPersonAlias;
|
||||
|
||||
/** Creates a new AliasGroup instance. */
|
||||
constructor($$source: Partial<AliasGroup> = {}) {
|
||||
if (!("GAi" in $$source)) {
|
||||
this["GAi"] = 0;
|
||||
}
|
||||
if (!("GAP" in $$source)) {
|
||||
this["GAP"] = (new GenericPerson());
|
||||
}
|
||||
if (!("GPAs" in $$source)) {
|
||||
this["GPAs"] = null;
|
||||
}
|
||||
if (!("GPAP" in $$source)) {
|
||||
this["GPAP"] = null;
|
||||
}
|
||||
if (!("GMA" in $$source)) {
|
||||
this["GMA"] = {};
|
||||
}
|
||||
if (!("GPA" in $$source)) {
|
||||
this["GPA"] = (new GenericPersonAlias());
|
||||
}
|
||||
if (!("IPA" in $$source)) {
|
||||
this["IPA"] = (new IndirectPersonAlias());
|
||||
}
|
||||
if (!("TPIPA" in $$source)) {
|
||||
this["TPIPA"] = (new TPIndirectPersonAlias());
|
||||
}
|
||||
|
||||
Object.assign(this, $$source);
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a new AliasGroup instance from a string or object.
|
||||
*/
|
||||
static createFrom($$source: any = {}): AliasGroup {
|
||||
const $$createField1_0 = $$createType0;
|
||||
const $$createField2_0 = $$createType2;
|
||||
const $$createField3_0 = $$createType5;
|
||||
const $$createField4_0 = $$createType6;
|
||||
const $$createField5_0 = $$createType8;
|
||||
const $$createField6_0 = $$createType8;
|
||||
const $$createField7_0 = $$createType0;
|
||||
let $$parsedSource = typeof $$source === 'string' ? JSON.parse($$source) : $$source;
|
||||
if ("GAP" in $$parsedSource) {
|
||||
$$parsedSource["GAP"] = $$createField1_0($$parsedSource["GAP"]);
|
||||
}
|
||||
if ("GPAs" in $$parsedSource) {
|
||||
$$parsedSource["GPAs"] = $$createField2_0($$parsedSource["GPAs"]);
|
||||
}
|
||||
if ("GPAP" in $$parsedSource) {
|
||||
$$parsedSource["GPAP"] = $$createField3_0($$parsedSource["GPAP"]);
|
||||
}
|
||||
if ("GMA" in $$parsedSource) {
|
||||
$$parsedSource["GMA"] = $$createField4_0($$parsedSource["GMA"]);
|
||||
}
|
||||
if ("GPA" in $$parsedSource) {
|
||||
$$parsedSource["GPA"] = $$createField5_0($$parsedSource["GPA"]);
|
||||
}
|
||||
if ("IPA" in $$parsedSource) {
|
||||
$$parsedSource["IPA"] = $$createField6_0($$parsedSource["IPA"]);
|
||||
}
|
||||
if ("TPIPA" in $$parsedSource) {
|
||||
$$parsedSource["TPIPA"] = $$createField7_0($$parsedSource["TPIPA"]);
|
||||
}
|
||||
return new AliasGroup($$parsedSource as Partial<AliasGroup>);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* A struct alias.
|
||||
* This should be rendered as a typedef or interface in every mode.
|
||||
|
|
@ -58,6 +138,16 @@ export class EmptyStruct {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* A generic alias that forwards to a type parameter.
|
||||
*/
|
||||
export type GenericAlias<T> = T;
|
||||
|
||||
/**
|
||||
* A generic alias that wraps a map.
|
||||
*/
|
||||
export type GenericMapAlias<T, U> = { [_: string]: U };
|
||||
|
||||
/**
|
||||
* A generic struct containing an alias.
|
||||
*/
|
||||
|
|
@ -91,6 +181,31 @@ export class GenericPerson<T> {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* A generic alias that wraps a generic struct.
|
||||
*/
|
||||
export const GenericPersonAlias = GenericPerson;
|
||||
|
||||
/**
|
||||
* A generic alias that wraps a generic struct.
|
||||
*/
|
||||
export type GenericPersonAlias<T> = GenericPerson<GenericPtrAlias<T>[]>;
|
||||
|
||||
/**
|
||||
* A generic alias that wraps a pointer type.
|
||||
*/
|
||||
export type GenericPtrAlias<T> = GenericAlias<T> | null;
|
||||
|
||||
/**
|
||||
* An alias that wraps a class through a non-typeparam alias.
|
||||
*/
|
||||
export const IndirectPersonAlias = GenericPersonAlias;
|
||||
|
||||
/**
|
||||
* An alias that wraps a class through a non-typeparam alias.
|
||||
*/
|
||||
export type IndirectPersonAlias = GenericPersonAlias<boolean>;
|
||||
|
||||
/**
|
||||
* Another struct alias.
|
||||
*/
|
||||
|
|
@ -152,3 +267,24 @@ export const StrangelyAliasedPerson = Person;
|
|||
* Another class alias, but ordered after its aliased class.
|
||||
*/
|
||||
export type StrangelyAliasedPerson = Person;
|
||||
|
||||
/**
|
||||
* An alias that wraps a class through a typeparam alias.
|
||||
*/
|
||||
export const TPIndirectPersonAlias = GenericPerson;
|
||||
|
||||
/**
|
||||
* An alias that wraps a class through a typeparam alias.
|
||||
*/
|
||||
export type TPIndirectPersonAlias = GenericAlias<GenericPerson<boolean>>;
|
||||
|
||||
// Private type creation functions
|
||||
const $$createType0 = GenericPerson.createFrom($Create.Any);
|
||||
const $$createType1 = $Create.Array($Create.Any);
|
||||
const $$createType2 = $Create.Nullable($$createType1);
|
||||
const $$createType3 = $Create.Array($Create.Any);
|
||||
const $$createType4 = GenericPerson.createFrom($$createType3);
|
||||
const $$createType5 = $Create.Nullable($$createType4);
|
||||
const $$createType6 = $Create.Map($Create.Any, $Create.Any);
|
||||
const $$createType7 = $Create.Array($Create.Any);
|
||||
const $$createType8 = GenericPerson.createFrom($$createType7);
|
||||
|
|
|
|||
|
|
@ -11,12 +11,19 @@ export {
|
|||
} from "./models.js";
|
||||
|
||||
export type {
|
||||
BasicCstrAlias,
|
||||
ComparableCstrAlias,
|
||||
EmbeddedCustomInterface,
|
||||
EmbeddedOriginalInterface,
|
||||
EmbeddedPointer,
|
||||
EmbeddedPointerPtr,
|
||||
EmbeddedValue,
|
||||
EmbeddedValuePtr,
|
||||
GoodTildeCstrAlias,
|
||||
InterfaceCstrAlias,
|
||||
MixedCstrAlias,
|
||||
NonBasicCstrAlias,
|
||||
PointableCstrAlias,
|
||||
PointerAlias,
|
||||
PointerTextMarshaler,
|
||||
StringAlias,
|
||||
|
|
|
|||
|
|
@ -5,6 +5,10 @@
|
|||
// @ts-ignore: Unused imports
|
||||
import {Create as $Create} from "/wails/runtime.js";
|
||||
|
||||
export type BasicCstrAlias<S> = S;
|
||||
|
||||
export type ComparableCstrAlias<R> = R;
|
||||
|
||||
export type EmbeddedCustomInterface = string;
|
||||
|
||||
export type EmbeddedOriginalInterface = string;
|
||||
|
|
@ -17,6 +21,10 @@ export type EmbeddedValue = string;
|
|||
|
||||
export type EmbeddedValuePtr = string;
|
||||
|
||||
export type GoodTildeCstrAlias<U> = U;
|
||||
|
||||
export type InterfaceCstrAlias<Y> = Y;
|
||||
|
||||
export class Maps<R, S, T, U, V, W, X, Y, Z> {
|
||||
/**
|
||||
* Reject
|
||||
|
|
@ -463,6 +471,286 @@ export class Maps<R, S, T, U, V, W, X, Y, Z> {
|
|||
*/
|
||||
"TPZPtr": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Soft reject
|
||||
*/
|
||||
"GAR": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Soft reject
|
||||
*/
|
||||
"GARPtr": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GAS": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Soft reject
|
||||
*/
|
||||
"GASPtr": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Soft reject
|
||||
*/
|
||||
"GAT": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Soft reject
|
||||
*/
|
||||
"GATPtr": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GAU": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Soft reject
|
||||
*/
|
||||
"GAUPtr": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GAV": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Soft reject
|
||||
*/
|
||||
"GAVPtr": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Soft reject
|
||||
*/
|
||||
"GAW": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GAWPtr": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GAX": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Soft reject
|
||||
*/
|
||||
"GAXPtr": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GAY": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Soft reject
|
||||
*/
|
||||
"GAYPtr": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GAZ": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Soft reject
|
||||
*/
|
||||
"GAZPtr": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GACi": { [_: `${number}`]: number };
|
||||
|
||||
/**
|
||||
* Accept
|
||||
*/
|
||||
"GACV": { [_: ComparableCstrAlias<ValueTextMarshaler>]: number };
|
||||
|
||||
/**
|
||||
* Reject
|
||||
*/
|
||||
"GACP": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Reject
|
||||
*/
|
||||
"GACiPtr": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GACVPtr": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GACPPtr": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GABi": { [_: `${number}`]: number };
|
||||
|
||||
/**
|
||||
* Accept
|
||||
*/
|
||||
"GABs": { [_: BasicCstrAlias<string>]: number };
|
||||
|
||||
/**
|
||||
* Reject
|
||||
*/
|
||||
"GABiPtr": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Reject
|
||||
*/
|
||||
"GABT": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Reject
|
||||
*/
|
||||
"GABTPtr": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Accept
|
||||
*/
|
||||
"GAGT": { [_: GoodTildeCstrAlias<ValueTextMarshaler>]: number };
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GAGTPtr": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Accept
|
||||
*/
|
||||
"GANBV": { [_: NonBasicCstrAlias<ValueTextMarshaler>]: number };
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GANBP": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GANBVPtr": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Reject
|
||||
*/
|
||||
"GANBPPtr": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Accept
|
||||
*/
|
||||
"GAPlV1": { [_: PointableCstrAlias<ValueTextMarshaler>]: number };
|
||||
|
||||
/**
|
||||
* Accept
|
||||
*/
|
||||
"GAPlV2": { [_: PointableCstrAlias<ValueTextMarshaler>]: number };
|
||||
|
||||
/**
|
||||
* Reject
|
||||
*/
|
||||
"GAPlP1": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Accept
|
||||
*/
|
||||
"GAPlP2": { [_: PointableCstrAlias<PointerTextMarshaler>]: number };
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GAPlVPtr": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GAPlPPtr": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GAMi": { [_: `${number}`]: number };
|
||||
|
||||
/**
|
||||
* Accept
|
||||
*/
|
||||
"GAMS": { [_: MixedCstrAlias<StringType>]: number };
|
||||
|
||||
/**
|
||||
* Accept
|
||||
*/
|
||||
"GAMV": { [_: MixedCstrAlias<ValueTextMarshaler>]: number };
|
||||
|
||||
/**
|
||||
* Reject
|
||||
*/
|
||||
"GAMSPtr": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GAMVPtr": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GAII": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Accept
|
||||
*/
|
||||
"GAIV": { [_: InterfaceCstrAlias<ValueTextMarshaler>]: number };
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GAIP": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Reject
|
||||
*/
|
||||
"GAIIPtr": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GAIVPtr": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Reject
|
||||
*/
|
||||
"GAIPPtr": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GAPrV": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GAPrP": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Reject
|
||||
*/
|
||||
"GAPrVPtr": { [_: string]: number };
|
||||
|
||||
/**
|
||||
* Reject
|
||||
*/
|
||||
"GAPrPPtr": { [_: string]: number };
|
||||
|
||||
/** Creates a new Maps instance. */
|
||||
constructor($$source: Partial<Maps<R, S, T, U, V, W, X, Y, Z>> = {}) {
|
||||
if (!("Bool" in $$source)) {
|
||||
|
|
@ -732,6 +1020,174 @@ export class Maps<R, S, T, U, V, W, X, Y, Z> {
|
|||
if (!("TPZPtr" in $$source)) {
|
||||
this["TPZPtr"] = {};
|
||||
}
|
||||
if (!("GAR" in $$source)) {
|
||||
this["GAR"] = {};
|
||||
}
|
||||
if (!("GARPtr" in $$source)) {
|
||||
this["GARPtr"] = {};
|
||||
}
|
||||
if (!("GAS" in $$source)) {
|
||||
this["GAS"] = {};
|
||||
}
|
||||
if (!("GASPtr" in $$source)) {
|
||||
this["GASPtr"] = {};
|
||||
}
|
||||
if (!("GAT" in $$source)) {
|
||||
this["GAT"] = {};
|
||||
}
|
||||
if (!("GATPtr" in $$source)) {
|
||||
this["GATPtr"] = {};
|
||||
}
|
||||
if (!("GAU" in $$source)) {
|
||||
this["GAU"] = {};
|
||||
}
|
||||
if (!("GAUPtr" in $$source)) {
|
||||
this["GAUPtr"] = {};
|
||||
}
|
||||
if (!("GAV" in $$source)) {
|
||||
this["GAV"] = {};
|
||||
}
|
||||
if (!("GAVPtr" in $$source)) {
|
||||
this["GAVPtr"] = {};
|
||||
}
|
||||
if (!("GAW" in $$source)) {
|
||||
this["GAW"] = {};
|
||||
}
|
||||
if (!("GAWPtr" in $$source)) {
|
||||
this["GAWPtr"] = {};
|
||||
}
|
||||
if (!("GAX" in $$source)) {
|
||||
this["GAX"] = {};
|
||||
}
|
||||
if (!("GAXPtr" in $$source)) {
|
||||
this["GAXPtr"] = {};
|
||||
}
|
||||
if (!("GAY" in $$source)) {
|
||||
this["GAY"] = {};
|
||||
}
|
||||
if (!("GAYPtr" in $$source)) {
|
||||
this["GAYPtr"] = {};
|
||||
}
|
||||
if (!("GAZ" in $$source)) {
|
||||
this["GAZ"] = {};
|
||||
}
|
||||
if (!("GAZPtr" in $$source)) {
|
||||
this["GAZPtr"] = {};
|
||||
}
|
||||
if (!("GACi" in $$source)) {
|
||||
this["GACi"] = {};
|
||||
}
|
||||
if (!("GACV" in $$source)) {
|
||||
this["GACV"] = {};
|
||||
}
|
||||
if (!("GACP" in $$source)) {
|
||||
this["GACP"] = {};
|
||||
}
|
||||
if (!("GACiPtr" in $$source)) {
|
||||
this["GACiPtr"] = {};
|
||||
}
|
||||
if (!("GACVPtr" in $$source)) {
|
||||
this["GACVPtr"] = {};
|
||||
}
|
||||
if (!("GACPPtr" in $$source)) {
|
||||
this["GACPPtr"] = {};
|
||||
}
|
||||
if (!("GABi" in $$source)) {
|
||||
this["GABi"] = {};
|
||||
}
|
||||
if (!("GABs" in $$source)) {
|
||||
this["GABs"] = {};
|
||||
}
|
||||
if (!("GABiPtr" in $$source)) {
|
||||
this["GABiPtr"] = {};
|
||||
}
|
||||
if (!("GABT" in $$source)) {
|
||||
this["GABT"] = {};
|
||||
}
|
||||
if (!("GABTPtr" in $$source)) {
|
||||
this["GABTPtr"] = {};
|
||||
}
|
||||
if (!("GAGT" in $$source)) {
|
||||
this["GAGT"] = {};
|
||||
}
|
||||
if (!("GAGTPtr" in $$source)) {
|
||||
this["GAGTPtr"] = {};
|
||||
}
|
||||
if (!("GANBV" in $$source)) {
|
||||
this["GANBV"] = {};
|
||||
}
|
||||
if (!("GANBP" in $$source)) {
|
||||
this["GANBP"] = {};
|
||||
}
|
||||
if (!("GANBVPtr" in $$source)) {
|
||||
this["GANBVPtr"] = {};
|
||||
}
|
||||
if (!("GANBPPtr" in $$source)) {
|
||||
this["GANBPPtr"] = {};
|
||||
}
|
||||
if (!("GAPlV1" in $$source)) {
|
||||
this["GAPlV1"] = {};
|
||||
}
|
||||
if (!("GAPlV2" in $$source)) {
|
||||
this["GAPlV2"] = {};
|
||||
}
|
||||
if (!("GAPlP1" in $$source)) {
|
||||
this["GAPlP1"] = {};
|
||||
}
|
||||
if (!("GAPlP2" in $$source)) {
|
||||
this["GAPlP2"] = {};
|
||||
}
|
||||
if (!("GAPlVPtr" in $$source)) {
|
||||
this["GAPlVPtr"] = {};
|
||||
}
|
||||
if (!("GAPlPPtr" in $$source)) {
|
||||
this["GAPlPPtr"] = {};
|
||||
}
|
||||
if (!("GAMi" in $$source)) {
|
||||
this["GAMi"] = {};
|
||||
}
|
||||
if (!("GAMS" in $$source)) {
|
||||
this["GAMS"] = {};
|
||||
}
|
||||
if (!("GAMV" in $$source)) {
|
||||
this["GAMV"] = {};
|
||||
}
|
||||
if (!("GAMSPtr" in $$source)) {
|
||||
this["GAMSPtr"] = {};
|
||||
}
|
||||
if (!("GAMVPtr" in $$source)) {
|
||||
this["GAMVPtr"] = {};
|
||||
}
|
||||
if (!("GAII" in $$source)) {
|
||||
this["GAII"] = {};
|
||||
}
|
||||
if (!("GAIV" in $$source)) {
|
||||
this["GAIV"] = {};
|
||||
}
|
||||
if (!("GAIP" in $$source)) {
|
||||
this["GAIP"] = {};
|
||||
}
|
||||
if (!("GAIIPtr" in $$source)) {
|
||||
this["GAIIPtr"] = {};
|
||||
}
|
||||
if (!("GAIVPtr" in $$source)) {
|
||||
this["GAIVPtr"] = {};
|
||||
}
|
||||
if (!("GAIPPtr" in $$source)) {
|
||||
this["GAIPPtr"] = {};
|
||||
}
|
||||
if (!("GAPrV" in $$source)) {
|
||||
this["GAPrV"] = {};
|
||||
}
|
||||
if (!("GAPrP" in $$source)) {
|
||||
this["GAPrP"] = {};
|
||||
}
|
||||
if (!("GAPrVPtr" in $$source)) {
|
||||
this["GAPrVPtr"] = {};
|
||||
}
|
||||
if (!("GAPrPPtr" in $$source)) {
|
||||
this["GAPrPPtr"] = {};
|
||||
}
|
||||
|
||||
Object.assign(this, $$source);
|
||||
}
|
||||
|
|
@ -831,6 +1287,62 @@ export class Maps<R, S, T, U, V, W, X, Y, Z> {
|
|||
const $$createField86_0 = $$createType74($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField87_0 = $$createType75($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField88_0 = $$createType76($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField89_0 = $$createType59($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField90_0 = $$createType60($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField91_0 = $$createType61($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField92_0 = $$createType62($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField93_0 = $$createType63($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField94_0 = $$createType64($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField95_0 = $$createType65($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField96_0 = $$createType66($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField97_0 = $$createType67($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField98_0 = $$createType68($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField99_0 = $$createType69($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField100_0 = $$createType70($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField101_0 = $$createType71($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField102_0 = $$createType72($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField103_0 = $$createType73($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField104_0 = $$createType74($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField105_0 = $$createType75($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField106_0 = $$createType76($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ);
|
||||
const $$createField107_0 = $$createType1;
|
||||
const $$createField108_0 = $$createType15;
|
||||
const $$createField109_0 = $$createType17;
|
||||
const $$createField110_0 = $$createType8;
|
||||
const $$createField111_0 = $$createType16;
|
||||
const $$createField112_0 = $$createType18;
|
||||
const $$createField113_0 = $$createType1;
|
||||
const $$createField114_0 = $$createType7;
|
||||
const $$createField115_0 = $$createType8;
|
||||
const $$createField116_0 = $$createType77;
|
||||
const $$createField117_0 = $$createType78;
|
||||
const $$createField118_0 = $$createType15;
|
||||
const $$createField119_0 = $$createType16;
|
||||
const $$createField120_0 = $$createType15;
|
||||
const $$createField121_0 = $$createType18;
|
||||
const $$createField122_0 = $$createType16;
|
||||
const $$createField123_0 = $$createType53;
|
||||
const $$createField124_0 = $$createType15;
|
||||
const $$createField125_0 = $$createType16;
|
||||
const $$createField126_0 = $$createType17;
|
||||
const $$createField127_0 = $$createType18;
|
||||
const $$createField128_0 = $$createType16;
|
||||
const $$createField129_0 = $$createType18;
|
||||
const $$createField130_0 = $$createType2;
|
||||
const $$createField131_0 = $$createType42;
|
||||
const $$createField132_0 = $$createType15;
|
||||
const $$createField133_0 = $$createType79;
|
||||
const $$createField134_0 = $$createType16;
|
||||
const $$createField135_0 = $$createType23;
|
||||
const $$createField136_0 = $$createType15;
|
||||
const $$createField137_0 = $$createType18;
|
||||
const $$createField138_0 = $$createType24;
|
||||
const $$createField139_0 = $$createType16;
|
||||
const $$createField140_0 = $$createType53;
|
||||
const $$createField141_0 = $$createType16;
|
||||
const $$createField142_0 = $$createType18;
|
||||
const $$createField143_0 = $$createType48;
|
||||
const $$createField144_0 = $$createType53;
|
||||
return ($$source: any = {}) => {
|
||||
let $$parsedSource = typeof $$source === 'string' ? JSON.parse($$source) : $$source;
|
||||
if ("Bool" in $$parsedSource) {
|
||||
|
|
@ -1100,11 +1612,185 @@ export class Maps<R, S, T, U, V, W, X, Y, Z> {
|
|||
if ("TPZPtr" in $$parsedSource) {
|
||||
$$parsedSource["TPZPtr"] = $$createField88_0($$parsedSource["TPZPtr"]);
|
||||
}
|
||||
if ("GAR" in $$parsedSource) {
|
||||
$$parsedSource["GAR"] = $$createField89_0($$parsedSource["GAR"]);
|
||||
}
|
||||
if ("GARPtr" in $$parsedSource) {
|
||||
$$parsedSource["GARPtr"] = $$createField90_0($$parsedSource["GARPtr"]);
|
||||
}
|
||||
if ("GAS" in $$parsedSource) {
|
||||
$$parsedSource["GAS"] = $$createField91_0($$parsedSource["GAS"]);
|
||||
}
|
||||
if ("GASPtr" in $$parsedSource) {
|
||||
$$parsedSource["GASPtr"] = $$createField92_0($$parsedSource["GASPtr"]);
|
||||
}
|
||||
if ("GAT" in $$parsedSource) {
|
||||
$$parsedSource["GAT"] = $$createField93_0($$parsedSource["GAT"]);
|
||||
}
|
||||
if ("GATPtr" in $$parsedSource) {
|
||||
$$parsedSource["GATPtr"] = $$createField94_0($$parsedSource["GATPtr"]);
|
||||
}
|
||||
if ("GAU" in $$parsedSource) {
|
||||
$$parsedSource["GAU"] = $$createField95_0($$parsedSource["GAU"]);
|
||||
}
|
||||
if ("GAUPtr" in $$parsedSource) {
|
||||
$$parsedSource["GAUPtr"] = $$createField96_0($$parsedSource["GAUPtr"]);
|
||||
}
|
||||
if ("GAV" in $$parsedSource) {
|
||||
$$parsedSource["GAV"] = $$createField97_0($$parsedSource["GAV"]);
|
||||
}
|
||||
if ("GAVPtr" in $$parsedSource) {
|
||||
$$parsedSource["GAVPtr"] = $$createField98_0($$parsedSource["GAVPtr"]);
|
||||
}
|
||||
if ("GAW" in $$parsedSource) {
|
||||
$$parsedSource["GAW"] = $$createField99_0($$parsedSource["GAW"]);
|
||||
}
|
||||
if ("GAWPtr" in $$parsedSource) {
|
||||
$$parsedSource["GAWPtr"] = $$createField100_0($$parsedSource["GAWPtr"]);
|
||||
}
|
||||
if ("GAX" in $$parsedSource) {
|
||||
$$parsedSource["GAX"] = $$createField101_0($$parsedSource["GAX"]);
|
||||
}
|
||||
if ("GAXPtr" in $$parsedSource) {
|
||||
$$parsedSource["GAXPtr"] = $$createField102_0($$parsedSource["GAXPtr"]);
|
||||
}
|
||||
if ("GAY" in $$parsedSource) {
|
||||
$$parsedSource["GAY"] = $$createField103_0($$parsedSource["GAY"]);
|
||||
}
|
||||
if ("GAYPtr" in $$parsedSource) {
|
||||
$$parsedSource["GAYPtr"] = $$createField104_0($$parsedSource["GAYPtr"]);
|
||||
}
|
||||
if ("GAZ" in $$parsedSource) {
|
||||
$$parsedSource["GAZ"] = $$createField105_0($$parsedSource["GAZ"]);
|
||||
}
|
||||
if ("GAZPtr" in $$parsedSource) {
|
||||
$$parsedSource["GAZPtr"] = $$createField106_0($$parsedSource["GAZPtr"]);
|
||||
}
|
||||
if ("GACi" in $$parsedSource) {
|
||||
$$parsedSource["GACi"] = $$createField107_0($$parsedSource["GACi"]);
|
||||
}
|
||||
if ("GACV" in $$parsedSource) {
|
||||
$$parsedSource["GACV"] = $$createField108_0($$parsedSource["GACV"]);
|
||||
}
|
||||
if ("GACP" in $$parsedSource) {
|
||||
$$parsedSource["GACP"] = $$createField109_0($$parsedSource["GACP"]);
|
||||
}
|
||||
if ("GACiPtr" in $$parsedSource) {
|
||||
$$parsedSource["GACiPtr"] = $$createField110_0($$parsedSource["GACiPtr"]);
|
||||
}
|
||||
if ("GACVPtr" in $$parsedSource) {
|
||||
$$parsedSource["GACVPtr"] = $$createField111_0($$parsedSource["GACVPtr"]);
|
||||
}
|
||||
if ("GACPPtr" in $$parsedSource) {
|
||||
$$parsedSource["GACPPtr"] = $$createField112_0($$parsedSource["GACPPtr"]);
|
||||
}
|
||||
if ("GABi" in $$parsedSource) {
|
||||
$$parsedSource["GABi"] = $$createField113_0($$parsedSource["GABi"]);
|
||||
}
|
||||
if ("GABs" in $$parsedSource) {
|
||||
$$parsedSource["GABs"] = $$createField114_0($$parsedSource["GABs"]);
|
||||
}
|
||||
if ("GABiPtr" in $$parsedSource) {
|
||||
$$parsedSource["GABiPtr"] = $$createField115_0($$parsedSource["GABiPtr"]);
|
||||
}
|
||||
if ("GABT" in $$parsedSource) {
|
||||
$$parsedSource["GABT"] = $$createField116_0($$parsedSource["GABT"]);
|
||||
}
|
||||
if ("GABTPtr" in $$parsedSource) {
|
||||
$$parsedSource["GABTPtr"] = $$createField117_0($$parsedSource["GABTPtr"]);
|
||||
}
|
||||
if ("GAGT" in $$parsedSource) {
|
||||
$$parsedSource["GAGT"] = $$createField118_0($$parsedSource["GAGT"]);
|
||||
}
|
||||
if ("GAGTPtr" in $$parsedSource) {
|
||||
$$parsedSource["GAGTPtr"] = $$createField119_0($$parsedSource["GAGTPtr"]);
|
||||
}
|
||||
if ("GANBV" in $$parsedSource) {
|
||||
$$parsedSource["GANBV"] = $$createField120_0($$parsedSource["GANBV"]);
|
||||
}
|
||||
if ("GANBP" in $$parsedSource) {
|
||||
$$parsedSource["GANBP"] = $$createField121_0($$parsedSource["GANBP"]);
|
||||
}
|
||||
if ("GANBVPtr" in $$parsedSource) {
|
||||
$$parsedSource["GANBVPtr"] = $$createField122_0($$parsedSource["GANBVPtr"]);
|
||||
}
|
||||
if ("GANBPPtr" in $$parsedSource) {
|
||||
$$parsedSource["GANBPPtr"] = $$createField123_0($$parsedSource["GANBPPtr"]);
|
||||
}
|
||||
if ("GAPlV1" in $$parsedSource) {
|
||||
$$parsedSource["GAPlV1"] = $$createField124_0($$parsedSource["GAPlV1"]);
|
||||
}
|
||||
if ("GAPlV2" in $$parsedSource) {
|
||||
$$parsedSource["GAPlV2"] = $$createField125_0($$parsedSource["GAPlV2"]);
|
||||
}
|
||||
if ("GAPlP1" in $$parsedSource) {
|
||||
$$parsedSource["GAPlP1"] = $$createField126_0($$parsedSource["GAPlP1"]);
|
||||
}
|
||||
if ("GAPlP2" in $$parsedSource) {
|
||||
$$parsedSource["GAPlP2"] = $$createField127_0($$parsedSource["GAPlP2"]);
|
||||
}
|
||||
if ("GAPlVPtr" in $$parsedSource) {
|
||||
$$parsedSource["GAPlVPtr"] = $$createField128_0($$parsedSource["GAPlVPtr"]);
|
||||
}
|
||||
if ("GAPlPPtr" in $$parsedSource) {
|
||||
$$parsedSource["GAPlPPtr"] = $$createField129_0($$parsedSource["GAPlPPtr"]);
|
||||
}
|
||||
if ("GAMi" in $$parsedSource) {
|
||||
$$parsedSource["GAMi"] = $$createField130_0($$parsedSource["GAMi"]);
|
||||
}
|
||||
if ("GAMS" in $$parsedSource) {
|
||||
$$parsedSource["GAMS"] = $$createField131_0($$parsedSource["GAMS"]);
|
||||
}
|
||||
if ("GAMV" in $$parsedSource) {
|
||||
$$parsedSource["GAMV"] = $$createField132_0($$parsedSource["GAMV"]);
|
||||
}
|
||||
if ("GAMSPtr" in $$parsedSource) {
|
||||
$$parsedSource["GAMSPtr"] = $$createField133_0($$parsedSource["GAMSPtr"]);
|
||||
}
|
||||
if ("GAMVPtr" in $$parsedSource) {
|
||||
$$parsedSource["GAMVPtr"] = $$createField134_0($$parsedSource["GAMVPtr"]);
|
||||
}
|
||||
if ("GAII" in $$parsedSource) {
|
||||
$$parsedSource["GAII"] = $$createField135_0($$parsedSource["GAII"]);
|
||||
}
|
||||
if ("GAIV" in $$parsedSource) {
|
||||
$$parsedSource["GAIV"] = $$createField136_0($$parsedSource["GAIV"]);
|
||||
}
|
||||
if ("GAIP" in $$parsedSource) {
|
||||
$$parsedSource["GAIP"] = $$createField137_0($$parsedSource["GAIP"]);
|
||||
}
|
||||
if ("GAIIPtr" in $$parsedSource) {
|
||||
$$parsedSource["GAIIPtr"] = $$createField138_0($$parsedSource["GAIIPtr"]);
|
||||
}
|
||||
if ("GAIVPtr" in $$parsedSource) {
|
||||
$$parsedSource["GAIVPtr"] = $$createField139_0($$parsedSource["GAIVPtr"]);
|
||||
}
|
||||
if ("GAIPPtr" in $$parsedSource) {
|
||||
$$parsedSource["GAIPPtr"] = $$createField140_0($$parsedSource["GAIPPtr"]);
|
||||
}
|
||||
if ("GAPrV" in $$parsedSource) {
|
||||
$$parsedSource["GAPrV"] = $$createField141_0($$parsedSource["GAPrV"]);
|
||||
}
|
||||
if ("GAPrP" in $$parsedSource) {
|
||||
$$parsedSource["GAPrP"] = $$createField142_0($$parsedSource["GAPrP"]);
|
||||
}
|
||||
if ("GAPrVPtr" in $$parsedSource) {
|
||||
$$parsedSource["GAPrVPtr"] = $$createField143_0($$parsedSource["GAPrVPtr"]);
|
||||
}
|
||||
if ("GAPrPPtr" in $$parsedSource) {
|
||||
$$parsedSource["GAPrPPtr"] = $$createField144_0($$parsedSource["GAPrPPtr"]);
|
||||
}
|
||||
return new Maps<R, S, T, U, V, W, X, Y, Z>($$parsedSource as Partial<Maps<R, S, T, U, V, W, X, Y, Z>>);
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
export type MixedCstrAlias<X> = X;
|
||||
|
||||
export type NonBasicCstrAlias<V> = V;
|
||||
|
||||
export type PointableCstrAlias<W> = W;
|
||||
|
||||
export type PointerAlias = PointerTextMarshaler;
|
||||
|
||||
export type PointerTextMarshaler = string;
|
||||
|
|
@ -1195,3 +1881,6 @@ const $$createType73 = ($$createParamR, $$createParamS, $$createParamT, $$create
|
|||
const $$createType74 = ($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ) => $Create.Map($Create.Any, $Create.Any);
|
||||
const $$createType75 = ($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ) => $Create.Map($Create.Any, $Create.Any);
|
||||
const $$createType76 = ($$createParamR, $$createParamS, $$createParamT, $$createParamU, $$createParamV, $$createParamW, $$createParamX, $$createParamY, $$createParamZ) => $Create.Map($Create.Any, $Create.Any);
|
||||
const $$createType77 = $Create.Map($Create.Any, $Create.Any);
|
||||
const $$createType78 = $Create.Map($Create.Any, $Create.Any);
|
||||
const $$createType79 = $Create.Map($Create.Any, $Create.Any);
|
||||
|
|
|
|||
|
|
@ -33,11 +33,34 @@ package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type
|
|||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type bool is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type complex64 is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type float32 is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.BadTildeCstrAlias[T] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.BadTildeCstrAlias[struct{}] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.BadTildeCstrPtrAlias[T] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.BadTildeCstrPtrAlias[struct{}] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.BasicCstrPtrAlias[S] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.BasicCstrPtrAlias[int] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.ComparableCstrAlias[R] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.ComparableCstrAlias[github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerTextMarshaler] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.ComparableCstrPtrAlias[R] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.ComparableCstrPtrAlias[int] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.EmbeddedPointer is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.GoodTildeCstrPtrAlias[U] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.InterfaceCstrPtrAlias[*github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerTextMarshaler] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.InterfaceCstrPtrAlias[Y] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.InterfaceCstrPtrAlias[encoding.TextMarshaler] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.InterfacePtrAlias is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.InterfacePtrType is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.MixedCstrPtrAlias[X] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.MixedCstrPtrAlias[github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.StringType] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.NonBasicCstrPtrAlias[*github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerTextMarshaler] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.NonBasicCstrPtrAlias[V] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.NonTextMarshaler is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointableCstrAlias[W] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointableCstrAlias[github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerTextMarshaler] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerAlias is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerCstrPtrAlias[R, Z] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerCstrPtrAlias[github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerTextMarshaler, *github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerTextMarshaler] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerCstrPtrAlias[github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.ValueTextMarshaler, *github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.ValueTextMarshaler] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerPtrType is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerTextMarshaler is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerType is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
|
|
|
|||
|
|
@ -47,6 +47,11 @@ export function GetButForeignPrivateAlias(): Promise<nobindingshere$0.PrivatePer
|
|||
return $resultPromise;
|
||||
}
|
||||
|
||||
export function GetButGenericAliases(): Promise<$models.AliasGroup> & { cancel(): void } {
|
||||
let $resultPromise = $Call.ByID(914093800) as any;
|
||||
return $resultPromise;
|
||||
}
|
||||
|
||||
/**
|
||||
* Greet a lot of unusual things.
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -8,12 +8,19 @@ export {
|
|||
|
||||
export type {
|
||||
Alias,
|
||||
AliasGroup,
|
||||
AliasStruct,
|
||||
AliasedPerson,
|
||||
EmptyAliasStruct,
|
||||
EmptyStruct,
|
||||
GenericAlias,
|
||||
GenericMapAlias,
|
||||
GenericPerson,
|
||||
GenericPersonAlias,
|
||||
GenericPtrAlias,
|
||||
IndirectPersonAlias,
|
||||
OtherAliasStruct,
|
||||
Person,
|
||||
StrangelyAliasedPerson
|
||||
StrangelyAliasedPerson,
|
||||
TPIndirectPersonAlias
|
||||
} from "./models.js";
|
||||
|
|
|
|||
|
|
@ -6,6 +6,20 @@
|
|||
*/
|
||||
export type Alias = number;
|
||||
|
||||
/**
|
||||
* A class whose fields have various aliased types.
|
||||
*/
|
||||
export interface AliasGroup {
|
||||
"GAi": GenericAlias<number>;
|
||||
"GAP": GenericAlias<GenericPerson<boolean>>;
|
||||
"GPAs": GenericPtrAlias<string[] | null>;
|
||||
"GPAP": GenericPtrAlias<GenericPerson<number[] | null>>;
|
||||
"GMA": GenericMapAlias<string, number>;
|
||||
"GPA": GenericPersonAlias<boolean>;
|
||||
"IPA": IndirectPersonAlias;
|
||||
"TPIPA": TPIndirectPersonAlias;
|
||||
}
|
||||
|
||||
/**
|
||||
* A struct alias.
|
||||
* This should be rendered as a typedef or interface in every mode.
|
||||
|
|
@ -45,6 +59,16 @@ export interface EmptyAliasStruct {
|
|||
export interface EmptyStruct {
|
||||
}
|
||||
|
||||
/**
|
||||
* A generic alias that forwards to a type parameter.
|
||||
*/
|
||||
export type GenericAlias<T> = T;
|
||||
|
||||
/**
|
||||
* A generic alias that wraps a map.
|
||||
*/
|
||||
export type GenericMapAlias<T, U> = { [_: string]: U } | null;
|
||||
|
||||
/**
|
||||
* A generic struct containing an alias.
|
||||
*/
|
||||
|
|
@ -53,6 +77,21 @@ export interface GenericPerson<T> {
|
|||
"AliasedField": Alias;
|
||||
}
|
||||
|
||||
/**
|
||||
* A generic alias that wraps a generic struct.
|
||||
*/
|
||||
export type GenericPersonAlias<T> = GenericPerson<GenericPtrAlias<T>[] | null>;
|
||||
|
||||
/**
|
||||
* A generic alias that wraps a pointer type.
|
||||
*/
|
||||
export type GenericPtrAlias<T> = GenericAlias<T> | null;
|
||||
|
||||
/**
|
||||
* An alias that wraps a class through a non-typeparam alias.
|
||||
*/
|
||||
export type IndirectPersonAlias = GenericPersonAlias<boolean>;
|
||||
|
||||
/**
|
||||
* Another struct alias.
|
||||
*/
|
||||
|
|
@ -79,3 +118,8 @@ export interface Person {
|
|||
* Another class alias, but ordered after its aliased class.
|
||||
*/
|
||||
export type StrangelyAliasedPerson = Person;
|
||||
|
||||
/**
|
||||
* An alias that wraps a class through a typeparam alias.
|
||||
*/
|
||||
export type TPIndirectPersonAlias = GenericAlias<GenericPerson<boolean>>;
|
||||
|
|
|
|||
|
|
@ -7,13 +7,20 @@ export {
|
|||
};
|
||||
|
||||
export type {
|
||||
BasicCstrAlias,
|
||||
ComparableCstrAlias,
|
||||
EmbeddedCustomInterface,
|
||||
EmbeddedOriginalInterface,
|
||||
EmbeddedPointer,
|
||||
EmbeddedPointerPtr,
|
||||
EmbeddedValue,
|
||||
EmbeddedValuePtr,
|
||||
GoodTildeCstrAlias,
|
||||
InterfaceCstrAlias,
|
||||
Maps,
|
||||
MixedCstrAlias,
|
||||
NonBasicCstrAlias,
|
||||
PointableCstrAlias,
|
||||
PointerAlias,
|
||||
PointerTextMarshaler,
|
||||
StringAlias,
|
||||
|
|
|
|||
|
|
@ -1,6 +1,10 @@
|
|||
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
|
||||
// This file is automatically generated. DO NOT EDIT
|
||||
|
||||
export type BasicCstrAlias<S> = S;
|
||||
|
||||
export type ComparableCstrAlias<R> = R;
|
||||
|
||||
export type EmbeddedCustomInterface = string;
|
||||
|
||||
export type EmbeddedOriginalInterface = string;
|
||||
|
|
@ -13,6 +17,10 @@ export type EmbeddedValue = string;
|
|||
|
||||
export type EmbeddedValuePtr = string;
|
||||
|
||||
export type GoodTildeCstrAlias<U> = U;
|
||||
|
||||
export type InterfaceCstrAlias<Y> = Y;
|
||||
|
||||
export interface Maps<R, S, T, U, V, W, X, Y, Z> {
|
||||
/**
|
||||
* Reject
|
||||
|
|
@ -458,8 +466,294 @@ export interface Maps<R, S, T, U, V, W, X, Y, Z> {
|
|||
* Soft reject
|
||||
*/
|
||||
"TPZPtr": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Soft reject
|
||||
*/
|
||||
"GAR": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Soft reject
|
||||
*/
|
||||
"GARPtr": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GAS": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Soft reject
|
||||
*/
|
||||
"GASPtr": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Soft reject
|
||||
*/
|
||||
"GAT": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Soft reject
|
||||
*/
|
||||
"GATPtr": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GAU": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Soft reject
|
||||
*/
|
||||
"GAUPtr": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GAV": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Soft reject
|
||||
*/
|
||||
"GAVPtr": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Soft reject
|
||||
*/
|
||||
"GAW": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GAWPtr": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GAX": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Soft reject
|
||||
*/
|
||||
"GAXPtr": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GAY": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Soft reject
|
||||
*/
|
||||
"GAYPtr": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GAZ": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Soft reject
|
||||
*/
|
||||
"GAZPtr": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GACi": { [_: `${number}`]: number } | null;
|
||||
|
||||
/**
|
||||
* Accept
|
||||
*/
|
||||
"GACV": { [_: ComparableCstrAlias<ValueTextMarshaler>]: number } | null;
|
||||
|
||||
/**
|
||||
* Reject
|
||||
*/
|
||||
"GACP": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Reject
|
||||
*/
|
||||
"GACiPtr": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GACVPtr": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GACPPtr": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GABi": { [_: `${number}`]: number } | null;
|
||||
|
||||
/**
|
||||
* Accept
|
||||
*/
|
||||
"GABs": { [_: BasicCstrAlias<string>]: number } | null;
|
||||
|
||||
/**
|
||||
* Reject
|
||||
*/
|
||||
"GABiPtr": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Reject
|
||||
*/
|
||||
"GABT": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Reject
|
||||
*/
|
||||
"GABTPtr": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Accept
|
||||
*/
|
||||
"GAGT": { [_: GoodTildeCstrAlias<ValueTextMarshaler>]: number } | null;
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GAGTPtr": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Accept
|
||||
*/
|
||||
"GANBV": { [_: NonBasicCstrAlias<ValueTextMarshaler>]: number } | null;
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GANBP": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GANBVPtr": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Reject
|
||||
*/
|
||||
"GANBPPtr": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Accept
|
||||
*/
|
||||
"GAPlV1": { [_: PointableCstrAlias<ValueTextMarshaler>]: number } | null;
|
||||
|
||||
/**
|
||||
* Accept
|
||||
*/
|
||||
"GAPlV2": { [_: PointableCstrAlias<ValueTextMarshaler>]: number } | null;
|
||||
|
||||
/**
|
||||
* Reject
|
||||
*/
|
||||
"GAPlP1": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Accept
|
||||
*/
|
||||
"GAPlP2": { [_: PointableCstrAlias<PointerTextMarshaler>]: number } | null;
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GAPlVPtr": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GAPlPPtr": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GAMi": { [_: `${number}`]: number } | null;
|
||||
|
||||
/**
|
||||
* Accept
|
||||
*/
|
||||
"GAMS": { [_: MixedCstrAlias<StringType>]: number } | null;
|
||||
|
||||
/**
|
||||
* Accept
|
||||
*/
|
||||
"GAMV": { [_: MixedCstrAlias<ValueTextMarshaler>]: number } | null;
|
||||
|
||||
/**
|
||||
* Reject
|
||||
*/
|
||||
"GAMSPtr": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GAMVPtr": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GAII": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Accept
|
||||
*/
|
||||
"GAIV": { [_: InterfaceCstrAlias<ValueTextMarshaler>]: number } | null;
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GAIP": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Reject
|
||||
*/
|
||||
"GAIIPtr": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GAIVPtr": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Reject
|
||||
*/
|
||||
"GAIPPtr": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GAPrV": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GAPrP": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Reject
|
||||
*/
|
||||
"GAPrVPtr": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Reject
|
||||
*/
|
||||
"GAPrPPtr": { [_: string]: number } | null;
|
||||
}
|
||||
|
||||
export type MixedCstrAlias<X> = X;
|
||||
|
||||
export type NonBasicCstrAlias<V> = V;
|
||||
|
||||
export type PointableCstrAlias<W> = W;
|
||||
|
||||
export type PointerAlias = PointerTextMarshaler;
|
||||
|
||||
export type PointerTextMarshaler = string;
|
||||
|
|
|
|||
|
|
@ -33,11 +33,34 @@ package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type
|
|||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type bool is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type complex64 is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type float32 is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.BadTildeCstrAlias[T] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.BadTildeCstrAlias[struct{}] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.BadTildeCstrPtrAlias[T] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.BadTildeCstrPtrAlias[struct{}] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.BasicCstrPtrAlias[S] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.BasicCstrPtrAlias[int] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.ComparableCstrAlias[R] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.ComparableCstrAlias[github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerTextMarshaler] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.ComparableCstrPtrAlias[R] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.ComparableCstrPtrAlias[int] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.EmbeddedPointer is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.GoodTildeCstrPtrAlias[U] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.InterfaceCstrPtrAlias[*github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerTextMarshaler] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.InterfaceCstrPtrAlias[Y] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.InterfaceCstrPtrAlias[encoding.TextMarshaler] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.InterfacePtrAlias is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.InterfacePtrType is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.MixedCstrPtrAlias[X] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.MixedCstrPtrAlias[github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.StringType] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.NonBasicCstrPtrAlias[*github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerTextMarshaler] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.NonBasicCstrPtrAlias[V] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.NonTextMarshaler is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointableCstrAlias[W] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointableCstrAlias[github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerTextMarshaler] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerAlias is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerCstrPtrAlias[R, Z] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerCstrPtrAlias[github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerTextMarshaler, *github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerTextMarshaler] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerCstrPtrAlias[github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.ValueTextMarshaler, *github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.ValueTextMarshaler] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerPtrType is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerTextMarshaler is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerType is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
|
|
|
|||
|
|
@ -47,6 +47,11 @@ export function GetButForeignPrivateAlias(): Promise<nobindingshere$0.PrivatePer
|
|||
return $resultPromise;
|
||||
}
|
||||
|
||||
export function GetButGenericAliases(): Promise<$models.AliasGroup> & { cancel(): void } {
|
||||
let $resultPromise = $Call.ByName("main.GreetService.GetButGenericAliases") as any;
|
||||
return $resultPromise;
|
||||
}
|
||||
|
||||
/**
|
||||
* Greet a lot of unusual things.
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -8,12 +8,19 @@ export {
|
|||
|
||||
export type {
|
||||
Alias,
|
||||
AliasGroup,
|
||||
AliasStruct,
|
||||
AliasedPerson,
|
||||
EmptyAliasStruct,
|
||||
EmptyStruct,
|
||||
GenericAlias,
|
||||
GenericMapAlias,
|
||||
GenericPerson,
|
||||
GenericPersonAlias,
|
||||
GenericPtrAlias,
|
||||
IndirectPersonAlias,
|
||||
OtherAliasStruct,
|
||||
Person,
|
||||
StrangelyAliasedPerson
|
||||
StrangelyAliasedPerson,
|
||||
TPIndirectPersonAlias
|
||||
} from "./models.js";
|
||||
|
|
|
|||
|
|
@ -6,6 +6,20 @@
|
|||
*/
|
||||
export type Alias = number;
|
||||
|
||||
/**
|
||||
* A class whose fields have various aliased types.
|
||||
*/
|
||||
export interface AliasGroup {
|
||||
"GAi": GenericAlias<number>;
|
||||
"GAP": GenericAlias<GenericPerson<boolean>>;
|
||||
"GPAs": GenericPtrAlias<string[] | null>;
|
||||
"GPAP": GenericPtrAlias<GenericPerson<number[] | null>>;
|
||||
"GMA": GenericMapAlias<string, number>;
|
||||
"GPA": GenericPersonAlias<boolean>;
|
||||
"IPA": IndirectPersonAlias;
|
||||
"TPIPA": TPIndirectPersonAlias;
|
||||
}
|
||||
|
||||
/**
|
||||
* A struct alias.
|
||||
* This should be rendered as a typedef or interface in every mode.
|
||||
|
|
@ -45,6 +59,16 @@ export interface EmptyAliasStruct {
|
|||
export interface EmptyStruct {
|
||||
}
|
||||
|
||||
/**
|
||||
* A generic alias that forwards to a type parameter.
|
||||
*/
|
||||
export type GenericAlias<T> = T;
|
||||
|
||||
/**
|
||||
* A generic alias that wraps a map.
|
||||
*/
|
||||
export type GenericMapAlias<T, U> = { [_: string]: U } | null;
|
||||
|
||||
/**
|
||||
* A generic struct containing an alias.
|
||||
*/
|
||||
|
|
@ -53,6 +77,21 @@ export interface GenericPerson<T> {
|
|||
"AliasedField": Alias;
|
||||
}
|
||||
|
||||
/**
|
||||
* A generic alias that wraps a generic struct.
|
||||
*/
|
||||
export type GenericPersonAlias<T> = GenericPerson<GenericPtrAlias<T>[] | null>;
|
||||
|
||||
/**
|
||||
* A generic alias that wraps a pointer type.
|
||||
*/
|
||||
export type GenericPtrAlias<T> = GenericAlias<T> | null;
|
||||
|
||||
/**
|
||||
* An alias that wraps a class through a non-typeparam alias.
|
||||
*/
|
||||
export type IndirectPersonAlias = GenericPersonAlias<boolean>;
|
||||
|
||||
/**
|
||||
* Another struct alias.
|
||||
*/
|
||||
|
|
@ -79,3 +118,8 @@ export interface Person {
|
|||
* Another class alias, but ordered after its aliased class.
|
||||
*/
|
||||
export type StrangelyAliasedPerson = Person;
|
||||
|
||||
/**
|
||||
* An alias that wraps a class through a typeparam alias.
|
||||
*/
|
||||
export type TPIndirectPersonAlias = GenericAlias<GenericPerson<boolean>>;
|
||||
|
|
|
|||
|
|
@ -7,13 +7,20 @@ export {
|
|||
};
|
||||
|
||||
export type {
|
||||
BasicCstrAlias,
|
||||
ComparableCstrAlias,
|
||||
EmbeddedCustomInterface,
|
||||
EmbeddedOriginalInterface,
|
||||
EmbeddedPointer,
|
||||
EmbeddedPointerPtr,
|
||||
EmbeddedValue,
|
||||
EmbeddedValuePtr,
|
||||
GoodTildeCstrAlias,
|
||||
InterfaceCstrAlias,
|
||||
Maps,
|
||||
MixedCstrAlias,
|
||||
NonBasicCstrAlias,
|
||||
PointableCstrAlias,
|
||||
PointerAlias,
|
||||
PointerTextMarshaler,
|
||||
StringAlias,
|
||||
|
|
|
|||
|
|
@ -1,6 +1,10 @@
|
|||
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
|
||||
// This file is automatically generated. DO NOT EDIT
|
||||
|
||||
export type BasicCstrAlias<S> = S;
|
||||
|
||||
export type ComparableCstrAlias<R> = R;
|
||||
|
||||
export type EmbeddedCustomInterface = string;
|
||||
|
||||
export type EmbeddedOriginalInterface = string;
|
||||
|
|
@ -13,6 +17,10 @@ export type EmbeddedValue = string;
|
|||
|
||||
export type EmbeddedValuePtr = string;
|
||||
|
||||
export type GoodTildeCstrAlias<U> = U;
|
||||
|
||||
export type InterfaceCstrAlias<Y> = Y;
|
||||
|
||||
export interface Maps<R, S, T, U, V, W, X, Y, Z> {
|
||||
/**
|
||||
* Reject
|
||||
|
|
@ -458,8 +466,294 @@ export interface Maps<R, S, T, U, V, W, X, Y, Z> {
|
|||
* Soft reject
|
||||
*/
|
||||
"TPZPtr": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Soft reject
|
||||
*/
|
||||
"GAR": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Soft reject
|
||||
*/
|
||||
"GARPtr": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GAS": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Soft reject
|
||||
*/
|
||||
"GASPtr": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Soft reject
|
||||
*/
|
||||
"GAT": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Soft reject
|
||||
*/
|
||||
"GATPtr": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GAU": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Soft reject
|
||||
*/
|
||||
"GAUPtr": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GAV": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Soft reject
|
||||
*/
|
||||
"GAVPtr": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Soft reject
|
||||
*/
|
||||
"GAW": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GAWPtr": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GAX": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Soft reject
|
||||
*/
|
||||
"GAXPtr": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GAY": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Soft reject
|
||||
*/
|
||||
"GAYPtr": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GAZ": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Soft reject
|
||||
*/
|
||||
"GAZPtr": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GACi": { [_: `${number}`]: number } | null;
|
||||
|
||||
/**
|
||||
* Accept
|
||||
*/
|
||||
"GACV": { [_: ComparableCstrAlias<ValueTextMarshaler>]: number } | null;
|
||||
|
||||
/**
|
||||
* Reject
|
||||
*/
|
||||
"GACP": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Reject
|
||||
*/
|
||||
"GACiPtr": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GACVPtr": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GACPPtr": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GABi": { [_: `${number}`]: number } | null;
|
||||
|
||||
/**
|
||||
* Accept
|
||||
*/
|
||||
"GABs": { [_: BasicCstrAlias<string>]: number } | null;
|
||||
|
||||
/**
|
||||
* Reject
|
||||
*/
|
||||
"GABiPtr": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Reject
|
||||
*/
|
||||
"GABT": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Reject
|
||||
*/
|
||||
"GABTPtr": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Accept
|
||||
*/
|
||||
"GAGT": { [_: GoodTildeCstrAlias<ValueTextMarshaler>]: number } | null;
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GAGTPtr": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Accept
|
||||
*/
|
||||
"GANBV": { [_: NonBasicCstrAlias<ValueTextMarshaler>]: number } | null;
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GANBP": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GANBVPtr": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Reject
|
||||
*/
|
||||
"GANBPPtr": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Accept
|
||||
*/
|
||||
"GAPlV1": { [_: PointableCstrAlias<ValueTextMarshaler>]: number } | null;
|
||||
|
||||
/**
|
||||
* Accept
|
||||
*/
|
||||
"GAPlV2": { [_: PointableCstrAlias<ValueTextMarshaler>]: number } | null;
|
||||
|
||||
/**
|
||||
* Reject
|
||||
*/
|
||||
"GAPlP1": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Accept
|
||||
*/
|
||||
"GAPlP2": { [_: PointableCstrAlias<PointerTextMarshaler>]: number } | null;
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GAPlVPtr": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GAPlPPtr": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GAMi": { [_: `${number}`]: number } | null;
|
||||
|
||||
/**
|
||||
* Accept
|
||||
*/
|
||||
"GAMS": { [_: MixedCstrAlias<StringType>]: number } | null;
|
||||
|
||||
/**
|
||||
* Accept
|
||||
*/
|
||||
"GAMV": { [_: MixedCstrAlias<ValueTextMarshaler>]: number } | null;
|
||||
|
||||
/**
|
||||
* Reject
|
||||
*/
|
||||
"GAMSPtr": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GAMVPtr": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GAII": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Accept
|
||||
*/
|
||||
"GAIV": { [_: InterfaceCstrAlias<ValueTextMarshaler>]: number } | null;
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GAIP": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Reject
|
||||
*/
|
||||
"GAIIPtr": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GAIVPtr": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Reject
|
||||
*/
|
||||
"GAIPPtr": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GAPrV": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Accept, hide
|
||||
*/
|
||||
"GAPrP": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Reject
|
||||
*/
|
||||
"GAPrVPtr": { [_: string]: number } | null;
|
||||
|
||||
/**
|
||||
* Reject
|
||||
*/
|
||||
"GAPrPPtr": { [_: string]: number } | null;
|
||||
}
|
||||
|
||||
export type MixedCstrAlias<X> = X;
|
||||
|
||||
export type NonBasicCstrAlias<V> = V;
|
||||
|
||||
export type PointableCstrAlias<W> = W;
|
||||
|
||||
export type PointerAlias = PointerTextMarshaler;
|
||||
|
||||
export type PointerTextMarshaler = string;
|
||||
|
|
|
|||
|
|
@ -33,11 +33,34 @@ package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type
|
|||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type bool is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type complex64 is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type float32 is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.BadTildeCstrAlias[T] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.BadTildeCstrAlias[struct{}] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.BadTildeCstrPtrAlias[T] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.BadTildeCstrPtrAlias[struct{}] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.BasicCstrPtrAlias[S] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.BasicCstrPtrAlias[int] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.ComparableCstrAlias[R] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.ComparableCstrAlias[github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerTextMarshaler] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.ComparableCstrPtrAlias[R] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.ComparableCstrPtrAlias[int] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.EmbeddedPointer is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.GoodTildeCstrPtrAlias[U] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.InterfaceCstrPtrAlias[*github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerTextMarshaler] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.InterfaceCstrPtrAlias[Y] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.InterfaceCstrPtrAlias[encoding.TextMarshaler] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.InterfacePtrAlias is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.InterfacePtrType is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.MixedCstrPtrAlias[X] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.MixedCstrPtrAlias[github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.StringType] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.NonBasicCstrPtrAlias[*github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerTextMarshaler] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.NonBasicCstrPtrAlias[V] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.NonTextMarshaler is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointableCstrAlias[W] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointableCstrAlias[github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerTextMarshaler] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerAlias is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerCstrPtrAlias[R, Z] is used as a map key, but some of its instantiations might not implement encoding.TextMarshaler: this might result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerCstrPtrAlias[github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerTextMarshaler, *github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerTextMarshaler] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerCstrPtrAlias[github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.ValueTextMarshaler, *github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.ValueTextMarshaler] is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerPtrType is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerTextMarshaler is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
package github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys: type github.com/wailsapp/wails/v3/internal/generator/testcases/map_keys.PointerType is used as a map key, but does not implement encoding.TextMarshaler: this will likely result in runtime errors
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -1,2 +1,2 @@
|
|||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Hide | @wailsio/runtime</title><meta name="description" content="Documentation for @wailsio/runtime"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@wailsio/runtime</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">@wailsio/runtime</a></li><li><a href="../modules/Application.html">Application</a></li><li><a href="Application.Hide.html">Hide</a></li></ul><h1>Function Hide</h1></div><section class="tsd-panel"><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="Hide" class="tsd-anchor"></a><span class="tsd-kind-call-signature">Hide</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span><a href="#Hide" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Hides a certain method by calling the HideMethod function.</p>
|
||||
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/wailsapp/wails/blob/b2c43c03/v3/internal/runtime/desktop/@wailsio/runtime/src/application.js#L26">src/application.js:26</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@wailsio/runtime</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><div class="tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div></body></html>
|
||||
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/wailsapp/wails/blob/01a51f74/v3/internal/runtime/desktop/@wailsio/runtime/src/application.js#L26">src/application.js:26</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@wailsio/runtime</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><div class="tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div></body></html>
|
||||
|
|
@ -1,2 +1,2 @@
|
|||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Quit | @wailsio/runtime</title><meta name="description" content="Documentation for @wailsio/runtime"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@wailsio/runtime</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">@wailsio/runtime</a></li><li><a href="../modules/Application.html">Application</a></li><li><a href="Application.Quit.html">Quit</a></li></ul><h1>Function Quit</h1></div><section class="tsd-panel"><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="Quit" class="tsd-anchor"></a><span class="tsd-kind-call-signature">Quit</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span><a href="#Quit" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Calls the QuitMethod to terminate the program.</p>
|
||||
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/wailsapp/wails/blob/b2c43c03/v3/internal/runtime/desktop/@wailsio/runtime/src/application.js#L44">src/application.js:44</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@wailsio/runtime</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><div class="tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div></body></html>
|
||||
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/wailsapp/wails/blob/01a51f74/v3/internal/runtime/desktop/@wailsio/runtime/src/application.js#L44">src/application.js:44</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@wailsio/runtime</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><div class="tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div></body></html>
|
||||
|
|
@ -1,2 +1,2 @@
|
|||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Show | @wailsio/runtime</title><meta name="description" content="Documentation for @wailsio/runtime"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@wailsio/runtime</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">@wailsio/runtime</a></li><li><a href="../modules/Application.html">Application</a></li><li><a href="Application.Show.html">Show</a></li></ul><h1>Function Show</h1></div><section class="tsd-panel"><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="Show" class="tsd-anchor"></a><span class="tsd-kind-call-signature">Show</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span><a href="#Show" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Calls the ShowMethod and returns the result.</p>
|
||||
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/wailsapp/wails/blob/b2c43c03/v3/internal/runtime/desktop/@wailsio/runtime/src/application.js#L35">src/application.js:35</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@wailsio/runtime</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><div class="tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div></body></html>
|
||||
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/wailsapp/wails/blob/01a51f74/v3/internal/runtime/desktop/@wailsio/runtime/src/application.js#L35">src/application.js:35</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@wailsio/runtime</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><div class="tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div></body></html>
|
||||
|
|
@ -1,3 +1,3 @@
|
|||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>OpenURL | @wailsio/runtime</title><meta name="description" content="Documentation for @wailsio/runtime"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@wailsio/runtime</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">@wailsio/runtime</a></li><li><a href="../modules/Browser.html">Browser</a></li><li><a href="Browser.OpenURL.html">OpenURL</a></li></ul><h1>Function OpenURL</h1></div><section class="tsd-panel"><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="OpenURL" class="tsd-anchor"></a><span class="tsd-kind-call-signature">OpenURL</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">url</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span><a href="#OpenURL" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Open a browser window to the given URL</p>
|
||||
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">url</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>The URL to open</p>
|
||||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/wailsapp/wails/blob/b2c43c03/v3/internal/runtime/desktop/@wailsio/runtime/src/browser.js#L22">src/browser.js:22</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@wailsio/runtime</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><div class="tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div></body></html>
|
||||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/wailsapp/wails/blob/01a51f74/v3/internal/runtime/desktop/@wailsio/runtime/src/browser.js#L22">src/browser.js:22</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@wailsio/runtime</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><div class="tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div></body></html>
|
||||
|
|
@ -5,4 +5,4 @@ See <a href="Call.Call.html" class="tsd-kind-function">Call</a> for details.</p>
|
|||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span></h4><ul>
|
||||
<li>The result of the method call.</li>
|
||||
</ul>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/wailsapp/wails/blob/b2c43c03/v3/internal/runtime/desktop/@wailsio/runtime/src/calls.js#L216">src/calls.js:216</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@wailsio/runtime</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><div class="tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div></body></html>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/wailsapp/wails/blob/01a51f74/v3/internal/runtime/desktop/@wailsio/runtime/src/calls.js#L216">src/calls.js:216</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@wailsio/runtime</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><div class="tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div></body></html>
|
||||
|
|
@ -3,4 +3,4 @@ See <a href="Call.Call.html" class="tsd-kind-function">Call</a> for details.</p>
|
|||
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">methodName</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>The name of the method in the format 'package.struct.method'.</p>
|
||||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag ts-flagRest">Rest</code> <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span>: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></span><div class="tsd-comment tsd-typography"><p>The arguments to pass to the method.</p>
|
||||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span></h4><p>The result of the method call.</p>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/wailsapp/wails/blob/b2c43c03/v3/internal/runtime/desktop/@wailsio/runtime/src/calls.js#L201">src/calls.js:201</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@wailsio/runtime</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><div class="tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div></body></html>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/wailsapp/wails/blob/01a51f74/v3/internal/runtime/desktop/@wailsio/runtime/src/calls.js#L201">src/calls.js:201</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@wailsio/runtime</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><div class="tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div></body></html>
|
||||
|
|
@ -8,4 +8,4 @@ by the application- or service-level error marshaling functions.</p>
|
|||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span></h4><ul>
|
||||
<li>The result of the call.</li>
|
||||
</ul>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/wailsapp/wails/blob/b2c43c03/v3/internal/runtime/desktop/@wailsio/runtime/src/calls.js#L165">src/calls.js:165</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@wailsio/runtime</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><div class="tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div></body></html>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/wailsapp/wails/blob/01a51f74/v3/internal/runtime/desktop/@wailsio/runtime/src/calls.js#L165">src/calls.js:165</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@wailsio/runtime</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><div class="tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div></body></html>
|
||||
|
|
@ -3,4 +3,4 @@
|
|||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span></h4><ul>
|
||||
<li>A Promise that resolves when the operation is successful.</li>
|
||||
</ul>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/wailsapp/wails/blob/b2c43c03/v3/internal/runtime/desktop/@wailsio/runtime/src/clipboard.js#L25">src/clipboard.js:25</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@wailsio/runtime</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><div class="tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div></body></html>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/wailsapp/wails/blob/01a51f74/v3/internal/runtime/desktop/@wailsio/runtime/src/clipboard.js#L25">src/clipboard.js:25</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@wailsio/runtime</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><div class="tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div></body></html>
|
||||
|
|
@ -1,3 +1,3 @@
|
|||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Text | @wailsio/runtime</title><meta name="description" content="Documentation for @wailsio/runtime"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@wailsio/runtime</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">@wailsio/runtime</a></li><li><a href="../modules/Clipboard.html">Clipboard</a></li><li><a href="Clipboard.Text.html">Text</a></li></ul><h1>Function Text</h1></div><section class="tsd-panel"><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="Text" class="tsd-anchor"></a><span class="tsd-kind-call-signature">Text</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span><a href="#Text" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get the Clipboard text</p>
|
||||
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span></h4><p>A promise that resolves with the text from the Clipboard.</p>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/wailsapp/wails/blob/b2c43c03/v3/internal/runtime/desktop/@wailsio/runtime/src/clipboard.js#L33">src/clipboard.js:33</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@wailsio/runtime</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><div class="tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div></body></html>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/wailsapp/wails/blob/01a51f74/v3/internal/runtime/desktop/@wailsio/runtime/src/clipboard.js#L33">src/clipboard.js:33</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@wailsio/runtime</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><div class="tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div></body></html>
|
||||
|
|
@ -1,2 +1,2 @@
|
|||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Any | @wailsio/runtime</title><meta name="description" content="Documentation for @wailsio/runtime"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@wailsio/runtime</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">@wailsio/runtime</a></li><li><a href="../modules/Create.html">Create</a></li><li><a href="Create.Any.html">Any</a></li></ul><h1>Function Any</h1></div><section class="tsd-panel"><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="Any" class="tsd-anchor"></a><span class="tsd-kind-call-signature">Any</span><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="Create.Any.html#Any.T">T</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">source</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a class="tsd-signature-type tsd-kind-type-parameter" href="Create.Any.html#Any.T">T</a><a href="#Any" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Any is a dummy creation function for simple or unknown types.</p>
|
||||
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="Any.T" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">T</span></span><div class="tsd-comment tsd-typography"></div></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">source</span>: <span class="tsd-signature-type">any</span></span><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <a class="tsd-signature-type tsd-kind-type-parameter" href="Create.Any.html#Any.T">T</a></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/wailsapp/wails/blob/b2c43c03/v3/internal/runtime/desktop/@wailsio/runtime/src/create.js#L19">src/create.js:19</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@wailsio/runtime</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><div class="tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div></body></html>
|
||||
</div><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="Any.T" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">T</span></span><div class="tsd-comment tsd-typography"></div></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">source</span>: <span class="tsd-signature-type">any</span></span><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <a class="tsd-signature-type tsd-kind-type-parameter" href="Create.Any.html#Any.T">T</a></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/wailsapp/wails/blob/01a51f74/v3/internal/runtime/desktop/@wailsio/runtime/src/create.js#L19">src/create.js:19</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@wailsio/runtime</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><div class="tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div></body></html>
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -1,3 +1,3 @@
|
|||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>ByteSlice | @wailsio/runtime</title><meta name="description" content="Documentation for @wailsio/runtime"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@wailsio/runtime</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">@wailsio/runtime</a></li><li><a href="../modules/Create.html">Create</a></li><li><a href="Create.ByteSlice.html">ByteSlice</a></li></ul><h1>Function ByteSlice</h1></div><section class="tsd-panel"><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="ByteSlice" class="tsd-anchor"></a><span class="tsd-kind-call-signature">Byte<wbr/>Slice</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">source</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><a href="#ByteSlice" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>ByteSlice is a creation function that replaces
|
||||
null strings with empty strings.</p>
|
||||
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">source</span>: <span class="tsd-signature-type">any</span></span><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/wailsapp/wails/blob/b2c43c03/v3/internal/runtime/desktop/@wailsio/runtime/src/create.js#L29">src/create.js:29</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@wailsio/runtime</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><div class="tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div></body></html>
|
||||
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">source</span>: <span class="tsd-signature-type">any</span></span><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/wailsapp/wails/blob/01a51f74/v3/internal/runtime/desktop/@wailsio/runtime/src/create.js#L29">src/create.js:29</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@wailsio/runtime</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><div class="tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div></body></html>
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -2,4 +2,4 @@
|
|||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span></h4><ul>
|
||||
<li>The label of the button pressed</li>
|
||||
</ul>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/wailsapp/wails/blob/b2c43c03/v3/internal/runtime/desktop/@wailsio/runtime/src/dialogs.js#L182">src/dialogs.js:182</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@wailsio/runtime</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><div class="tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div></body></html>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/wailsapp/wails/blob/01a51f74/v3/internal/runtime/desktop/@wailsio/runtime/src/dialogs.js#L182">src/dialogs.js:182</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@wailsio/runtime</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><div class="tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div></body></html>
|
||||
|
|
@ -2,4 +2,4 @@
|
|||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span></h4><ul>
|
||||
<li>The label of the button pressed</li>
|
||||
</ul>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/wailsapp/wails/blob/b2c43c03/v3/internal/runtime/desktop/@wailsio/runtime/src/dialogs.js#L170">src/dialogs.js:170</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@wailsio/runtime</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><div class="tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div></body></html>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/wailsapp/wails/blob/01a51f74/v3/internal/runtime/desktop/@wailsio/runtime/src/dialogs.js#L170">src/dialogs.js:170</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@wailsio/runtime</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><div class="tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div></body></html>
|
||||
|
|
@ -1,3 +1,3 @@
|
|||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>OpenFile | @wailsio/runtime</title><meta name="description" content="Documentation for @wailsio/runtime"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@wailsio/runtime</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">@wailsio/runtime</a></li><li><a href="../modules/Dialogs.html">Dialogs</a></li><li><a href="Dialogs.OpenFile.html">OpenFile</a></li></ul><h1>Function OpenFile</h1></div><section class="tsd-panel"><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="OpenFile" class="tsd-anchor"></a><span class="tsd-kind-call-signature">Open<wbr/>File</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">options</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span><a href="#OpenFile" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">options</span>: <a href="../interfaces/Dialogs.OpenFileDialogOptions.html" class="tsd-signature-type tsd-kind-interface">OpenFileDialogOptions</a></span><div class="tsd-comment tsd-typography"><p>Dialog options</p>
|
||||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span></h4><p>Returns selected file or list of files. Returns blank string if no file is selected.</p>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/wailsapp/wails/blob/b2c43c03/v3/internal/runtime/desktop/@wailsio/runtime/src/dialogs.js#L194">src/dialogs.js:194</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@wailsio/runtime</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><div class="tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div></body></html>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/wailsapp/wails/blob/01a51f74/v3/internal/runtime/desktop/@wailsio/runtime/src/dialogs.js#L194">src/dialogs.js:194</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@wailsio/runtime</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><div class="tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div></body></html>
|
||||
|
|
@ -2,4 +2,4 @@
|
|||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span></h4><ul>
|
||||
<li>The label of the button pressed</li>
|
||||
</ul>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/wailsapp/wails/blob/b2c43c03/v3/internal/runtime/desktop/@wailsio/runtime/src/dialogs.js#L188">src/dialogs.js:188</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@wailsio/runtime</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><div class="tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div></body></html>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/wailsapp/wails/blob/01a51f74/v3/internal/runtime/desktop/@wailsio/runtime/src/dialogs.js#L188">src/dialogs.js:188</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@wailsio/runtime</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><div class="tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div></body></html>
|
||||
|
|
@ -1,3 +1,3 @@
|
|||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>SaveFile | @wailsio/runtime</title><meta name="description" content="Documentation for @wailsio/runtime"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@wailsio/runtime</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">@wailsio/runtime</a></li><li><a href="../modules/Dialogs.html">Dialogs</a></li><li><a href="Dialogs.SaveFile.html">SaveFile</a></li></ul><h1>Function SaveFile</h1></div><section class="tsd-panel"><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="SaveFile" class="tsd-anchor"></a><span class="tsd-kind-call-signature">Save<wbr/>File</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">options</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span><a href="#SaveFile" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">options</span>: <a href="../interfaces/Dialogs.SaveFileDialogOptions.html" class="tsd-signature-type tsd-kind-interface">SaveFileDialogOptions</a></span><div class="tsd-comment tsd-typography"><p>Dialog options</p>
|
||||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span></h4><p>Returns the selected file. Returns blank string if no file is selected.</p>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/wailsapp/wails/blob/b2c43c03/v3/internal/runtime/desktop/@wailsio/runtime/src/dialogs.js#L200">src/dialogs.js:200</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@wailsio/runtime</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><div class="tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div></body></html>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/wailsapp/wails/blob/01a51f74/v3/internal/runtime/desktop/@wailsio/runtime/src/dialogs.js#L200">src/dialogs.js:200</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@wailsio/runtime</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><div class="tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div></body></html>
|
||||
|
|
@ -2,4 +2,4 @@
|
|||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span></h4><ul>
|
||||
<li>The label of the button pressed</li>
|
||||
</ul>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/wailsapp/wails/blob/b2c43c03/v3/internal/runtime/desktop/@wailsio/runtime/src/dialogs.js#L176">src/dialogs.js:176</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@wailsio/runtime</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><div class="tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div></body></html>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/wailsapp/wails/blob/01a51f74/v3/internal/runtime/desktop/@wailsio/runtime/src/dialogs.js#L176">src/dialogs.js:176</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@wailsio/runtime</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><div class="tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div></body></html>
|
||||
|
|
@ -3,4 +3,4 @@
|
|||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4><ul>
|
||||
<li>The result of the emitted event.</li>
|
||||
</ul>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/wailsapp/wails/blob/b2c43c03/v3/internal/runtime/desktop/@wailsio/runtime/src/events.js#L140">src/events.js:140</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@wailsio/runtime</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><div class="tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div></body></html>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/wailsapp/wails/blob/01a51f74/v3/internal/runtime/desktop/@wailsio/runtime/src/events.js#L140">src/events.js:140</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@wailsio/runtime</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><div class="tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div></body></html>
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Off | @wailsio/runtime</title><meta name="description" content="Documentation for @wailsio/runtime"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@wailsio/runtime</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">@wailsio/runtime</a></li><li><a href="../modules/Events.html">Events</a></li><li><a href="Events.Off.html">Off</a></li></ul><h1>Function Off</h1></div><section class="tsd-panel"><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="Off" class="tsd-anchor"></a><span class="tsd-kind-call-signature">Off</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">eventName</span>, <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">additionalEventNames</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><a href="#Off" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Removes event listeners for the specified event names.</p>
|
||||
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">eventName</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>The name of the event to remove listeners for.</p>
|
||||
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag ts-flagRest">Rest</code> <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">additionalEventNames</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></span><div class="tsd-comment tsd-typography"><p>Additional event names to remove listeners for.</p>
|
||||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/wailsapp/wails/blob/b2c43c03/v3/internal/runtime/desktop/@wailsio/runtime/src/events.js#L122">src/events.js:122</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@wailsio/runtime</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><div class="tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div></body></html>
|
||||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/wailsapp/wails/blob/01a51f74/v3/internal/runtime/desktop/@wailsio/runtime/src/events.js#L122">src/events.js:122</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@wailsio/runtime</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><div class="tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div></body></html>
|
||||
|
|
@ -1,3 +1,3 @@
|
|||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>OffAll | @wailsio/runtime</title><meta name="description" content="Documentation for @wailsio/runtime"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@wailsio/runtime</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">@wailsio/runtime</a></li><li><a href="../modules/Events.html">Events</a></li><li><a href="Events.OffAll.html">OffAll</a></li></ul><h1>Function OffAll</h1></div><section class="tsd-panel"><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="OffAll" class="tsd-anchor"></a><span class="tsd-kind-call-signature">Off<wbr/>All</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#OffAll" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Removes all event listeners.</p>
|
||||
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"><h4>Function</h4><p>OffAll</p>
|
||||
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/wailsapp/wails/blob/b2c43c03/v3/internal/runtime/desktop/@wailsio/runtime/src/events.js#L132">src/events.js:132</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@wailsio/runtime</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><div class="tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div></body></html>
|
||||
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/wailsapp/wails/blob/01a51f74/v3/internal/runtime/desktop/@wailsio/runtime/src/events.js#L132">src/events.js:132</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@wailsio/runtime</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><div class="tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div></body></html>
|
||||
|
|
@ -4,4 +4,4 @@
|
|||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Function</span></h4><ul>
|
||||
<li>A function that, when called, will unregister the callback from the event.</li>
|
||||
</ul>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/wailsapp/wails/blob/b2c43c03/v3/internal/runtime/desktop/@wailsio/runtime/src/events.js#L90">src/events.js:90</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@wailsio/runtime</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><div class="tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div></body></html>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/wailsapp/wails/blob/01a51f74/v3/internal/runtime/desktop/@wailsio/runtime/src/events.js#L90">src/events.js:90</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@wailsio/runtime</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><div class="tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div></body></html>
|
||||
|
|
@ -5,4 +5,4 @@
|
|||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Function</span></h4><ul>
|
||||
<li>A function that, when called, will unregister the callback from the event.</li>
|
||||
</ul>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/wailsapp/wails/blob/b2c43c03/v3/internal/runtime/desktop/@wailsio/runtime/src/events.js#L76">src/events.js:76</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@wailsio/runtime</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><div class="tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div></body></html>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/wailsapp/wails/blob/01a51f74/v3/internal/runtime/desktop/@wailsio/runtime/src/events.js#L76">src/events.js:76</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@wailsio/runtime</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><div class="tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div></body></html>
|
||||
|
|
@ -4,4 +4,4 @@
|
|||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Function</span></h4><ul>
|
||||
<li>A function that, when called, will unregister the callback from the event.</li>
|
||||
</ul>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/wailsapp/wails/blob/b2c43c03/v3/internal/runtime/desktop/@wailsio/runtime/src/events.js#L99">src/events.js:99</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@wailsio/runtime</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><div class="tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div></body></html>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/wailsapp/wails/blob/01a51f74/v3/internal/runtime/desktop/@wailsio/runtime/src/events.js#L99">src/events.js:99</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@wailsio/runtime</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><div class="tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div></body></html>
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -3,4 +3,4 @@
|
|||
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4><ul>
|
||||
<li>The value associated with the specified key.</li>
|
||||
</ul>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/wailsapp/wails/blob/b2c43c03/v3/internal/runtime/desktop/@wailsio/runtime/src/flags.js#L19">src/flags.js:19</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@wailsio/runtime</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><div class="tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div></body></html>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/wailsapp/wails/blob/01a51f74/v3/internal/runtime/desktop/@wailsio/runtime/src/flags.js#L19">src/flags.js:19</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@wailsio/runtime</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><div class="tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div></body></html>
|
||||
|
|
@ -1,3 +1,3 @@
|
|||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>GetAll | @wailsio/runtime</title><meta name="description" content="Documentation for @wailsio/runtime"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@wailsio/runtime</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">@wailsio/runtime</a></li><li><a href="../modules/Screens.html">Screens</a></li><li><a href="Screens.GetAll.html">GetAll</a></li></ul><h1>Function GetAll</h1></div><section class="tsd-panel"><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="GetAll" class="tsd-anchor"></a><span class="tsd-kind-call-signature">Get<wbr/>All</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/Screens.Screen.html" class="tsd-signature-type tsd-kind-interface">Screen</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span><a href="#GetAll" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Gets all screens.</p>
|
||||
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/Screens.Screen.html" class="tsd-signature-type tsd-kind-interface">Screen</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span></h4><p>A promise that resolves to an array of Screen objects.</p>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/wailsapp/wails/blob/b2c43c03/v3/internal/runtime/desktop/@wailsio/runtime/src/screens.js#L54">src/screens.js:54</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@wailsio/runtime</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><div class="tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div></body></html>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/wailsapp/wails/blob/01a51f74/v3/internal/runtime/desktop/@wailsio/runtime/src/screens.js#L54">src/screens.js:54</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@wailsio/runtime</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><div class="tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div></body></html>
|
||||
|
|
@ -1,3 +1,3 @@
|
|||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>GetCurrent | @wailsio/runtime</title><meta name="description" content="Documentation for @wailsio/runtime"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@wailsio/runtime</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">@wailsio/runtime</a></li><li><a href="../modules/Screens.html">Screens</a></li><li><a href="Screens.GetCurrent.html">GetCurrent</a></li></ul><h1>Function GetCurrent</h1></div><section class="tsd-panel"><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="GetCurrent" class="tsd-anchor"></a><span class="tsd-kind-call-signature">Get<wbr/>Current</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/Screens.Screen.html" class="tsd-signature-type tsd-kind-interface">Screen</a><span class="tsd-signature-symbol">></span><a href="#GetCurrent" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Gets the current active screen.</p>
|
||||
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/Screens.Screen.html" class="tsd-signature-type tsd-kind-interface">Screen</a><span class="tsd-signature-symbol">></span></h4><p>A promise that resolves with the current active screen.</p>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/wailsapp/wails/blob/b2c43c03/v3/internal/runtime/desktop/@wailsio/runtime/src/screens.js#L69">src/screens.js:69</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@wailsio/runtime</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><div class="tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div></body></html>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/wailsapp/wails/blob/01a51f74/v3/internal/runtime/desktop/@wailsio/runtime/src/screens.js#L69">src/screens.js:69</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@wailsio/runtime</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><div class="tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div></body></html>
|
||||
|
|
@ -1,3 +1,3 @@
|
|||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>GetPrimary | @wailsio/runtime</title><meta name="description" content="Documentation for @wailsio/runtime"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@wailsio/runtime</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">@wailsio/runtime</a></li><li><a href="../modules/Screens.html">Screens</a></li><li><a href="Screens.GetPrimary.html">GetPrimary</a></li></ul><h1>Function GetPrimary</h1></div><section class="tsd-panel"><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="GetPrimary" class="tsd-anchor"></a><span class="tsd-kind-call-signature">Get<wbr/>Primary</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/Screens.Screen.html" class="tsd-signature-type tsd-kind-interface">Screen</a><span class="tsd-signature-symbol">></span><a href="#GetPrimary" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Gets the primary screen.</p>
|
||||
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/Screens.Screen.html" class="tsd-signature-type tsd-kind-interface">Screen</a><span class="tsd-signature-symbol">></span></h4><p>A promise that resolves to the primary screen.</p>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/wailsapp/wails/blob/b2c43c03/v3/internal/runtime/desktop/@wailsio/runtime/src/screens.js#L61">src/screens.js:61</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@wailsio/runtime</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><div class="tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div></body></html>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/wailsapp/wails/blob/01a51f74/v3/internal/runtime/desktop/@wailsio/runtime/src/screens.js#L61">src/screens.js:61</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@wailsio/runtime</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><div class="tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div></body></html>
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Capabilities | @wailsio/runtime</title><meta name="description" content="Documentation for @wailsio/runtime"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@wailsio/runtime</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">@wailsio/runtime</a></li><li><a href="../modules/System.html">System</a></li><li><a href="System.Capabilities.html">Capabilities</a></li></ul><h1>Function Capabilities</h1></div><section class="tsd-panel"><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="Capabilities" class="tsd-anchor"></a><span class="tsd-kind-call-signature">Capabilities</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Object</span><span class="tsd-signature-symbol">></span><a href="#Capabilities" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Fetches the capabilities of the application from the server.</p>
|
||||
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Object</span><span class="tsd-signature-symbol">></span></h4><p>A promise that resolves to an object containing the capabilities.</p>
|
||||
<div class="tsd-comment tsd-typography"><h4>Async</h4><h4>Function</h4><p>Capabilities</p>
|
||||
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/wailsapp/wails/blob/b2c43c03/v3/internal/runtime/desktop/@wailsio/runtime/src/system.js#L56">src/system.js:56</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@wailsio/runtime</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><div class="tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div></body></html>
|
||||
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/wailsapp/wails/blob/01a51f74/v3/internal/runtime/desktop/@wailsio/runtime/src/system.js#L56">src/system.js:56</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@wailsio/runtime</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><div class="tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div></body></html>
|
||||
|
|
@ -2,4 +2,4 @@
|
|||
<li>A promise that resolves to an object containing OS and system architecture.</li>
|
||||
</ul>
|
||||
<div class="tsd-comment tsd-typography"><h4>Function</h4><p>Retrieves environment details.</p>
|
||||
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/wailsapp/wails/blob/b2c43c03/v3/internal/runtime/desktop/@wailsio/runtime/src/system.js#L83">src/system.js:83</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@wailsio/runtime</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><div class="tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div></body></html>
|
||||
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/wailsapp/wails/blob/01a51f74/v3/internal/runtime/desktop/@wailsio/runtime/src/system.js#L83">src/system.js:83</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@wailsio/runtime</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><div class="tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div></body></html>
|
||||
|
|
@ -1,3 +1,3 @@
|
|||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>IsAMD64 | @wailsio/runtime</title><meta name="description" content="Documentation for @wailsio/runtime"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@wailsio/runtime</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">@wailsio/runtime</a></li><li><a href="../modules/System.html">System</a></li><li><a href="System.IsAMD64.html">IsAMD64</a></li></ul><h1>Function IsAMD64</h1></div><section class="tsd-panel"><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="IsAMD64" class="tsd-anchor"></a><span class="tsd-kind-call-signature">IsAMD64</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#IsAMD64" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Checks if the current environment architecture is AMD64.</p>
|
||||
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>True if the current environment architecture is AMD64, false otherwise.</p>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/wailsapp/wails/blob/b2c43c03/v3/internal/runtime/desktop/@wailsio/runtime/src/system.js#L118">src/system.js:118</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@wailsio/runtime</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><div class="tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div></body></html>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/wailsapp/wails/blob/01a51f74/v3/internal/runtime/desktop/@wailsio/runtime/src/system.js#L118">src/system.js:118</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@wailsio/runtime</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><div class="tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div></body></html>
|
||||
|
|
@ -1,3 +1,3 @@
|
|||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>IsARM | @wailsio/runtime</title><meta name="description" content="Documentation for @wailsio/runtime"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@wailsio/runtime</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">@wailsio/runtime</a></li><li><a href="../modules/System.html">System</a></li><li><a href="System.IsARM.html">IsARM</a></li></ul><h1>Function IsARM</h1></div><section class="tsd-panel"><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="IsARM" class="tsd-anchor"></a><span class="tsd-kind-call-signature">IsARM</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#IsARM" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Checks if the current architecture is ARM.</p>
|
||||
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>True if the current architecture is ARM, false otherwise.</p>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/wailsapp/wails/blob/b2c43c03/v3/internal/runtime/desktop/@wailsio/runtime/src/system.js#L127">src/system.js:127</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@wailsio/runtime</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><div class="tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div></body></html>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/wailsapp/wails/blob/01a51f74/v3/internal/runtime/desktop/@wailsio/runtime/src/system.js#L127">src/system.js:127</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@wailsio/runtime</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><div class="tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div></body></html>
|
||||
|
|
@ -2,4 +2,4 @@
|
|||
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><ul>
|
||||
<li>Returns true if the environment is ARM64 architecture, otherwise returns false.</li>
|
||||
</ul>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/wailsapp/wails/blob/b2c43c03/v3/internal/runtime/desktop/@wailsio/runtime/src/system.js#L136">src/system.js:136</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@wailsio/runtime</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><div class="tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div></body></html>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/wailsapp/wails/blob/01a51f74/v3/internal/runtime/desktop/@wailsio/runtime/src/system.js#L136">src/system.js:136</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@wailsio/runtime</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><div class="tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div></body></html>
|
||||
|
|
@ -2,4 +2,4 @@
|
|||
<li>A promise that resolves to a boolean value indicating if the system is in dark mode.</li>
|
||||
</ul>
|
||||
<div class="tsd-comment tsd-typography"><h4>Function</h4><p>Retrieves the system dark mode status.</p>
|
||||
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/wailsapp/wails/blob/b2c43c03/v3/internal/runtime/desktop/@wailsio/runtime/src/system.js#L45">src/system.js:45</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@wailsio/runtime</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><div class="tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div></body></html>
|
||||
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/wailsapp/wails/blob/01a51f74/v3/internal/runtime/desktop/@wailsio/runtime/src/system.js#L45">src/system.js:45</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@wailsio/runtime</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><div class="tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div></body></html>
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -1,3 +1,3 @@
|
|||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>IsLinux | @wailsio/runtime</title><meta name="description" content="Documentation for @wailsio/runtime"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@wailsio/runtime</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">@wailsio/runtime</a></li><li><a href="../modules/System.html">System</a></li><li><a href="System.IsLinux.html">IsLinux</a></li></ul><h1>Function IsLinux</h1></div><section class="tsd-panel"><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="IsLinux" class="tsd-anchor"></a><span class="tsd-kind-call-signature">Is<wbr/>Linux</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#IsLinux" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Checks if the current operating system is Linux.</p>
|
||||
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>Returns true if the current operating system is Linux, false otherwise.</p>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/wailsapp/wails/blob/b2c43c03/v3/internal/runtime/desktop/@wailsio/runtime/src/system.js#L101">src/system.js:101</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@wailsio/runtime</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><div class="tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div></body></html>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/wailsapp/wails/blob/01a51f74/v3/internal/runtime/desktop/@wailsio/runtime/src/system.js#L101">src/system.js:101</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@wailsio/runtime</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><div class="tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div></body></html>
|
||||
|
|
@ -1,3 +1,3 @@
|
|||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>IsMac | @wailsio/runtime</title><meta name="description" content="Documentation for @wailsio/runtime"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@wailsio/runtime</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">@wailsio/runtime</a></li><li><a href="../modules/System.html">System</a></li><li><a href="System.IsMac.html">IsMac</a></li></ul><h1>Function IsMac</h1></div><section class="tsd-panel"><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="IsMac" class="tsd-anchor"></a><span class="tsd-kind-call-signature">Is<wbr/>Mac</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#IsMac" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Checks if the current environment is a macOS operating system.</p>
|
||||
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>True if the environment is macOS, false otherwise.</p>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/wailsapp/wails/blob/b2c43c03/v3/internal/runtime/desktop/@wailsio/runtime/src/system.js#L110">src/system.js:110</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@wailsio/runtime</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><div class="tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div></body></html>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/wailsapp/wails/blob/01a51f74/v3/internal/runtime/desktop/@wailsio/runtime/src/system.js#L110">src/system.js:110</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@wailsio/runtime</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><div class="tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div></body></html>
|
||||
|
|
@ -1,3 +1,3 @@
|
|||
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>IsWindows | @wailsio/runtime</title><meta name="description" content="Documentation for @wailsio/runtime"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@wailsio/runtime</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">@wailsio/runtime</a></li><li><a href="../modules/System.html">System</a></li><li><a href="System.IsWindows.html">IsWindows</a></li></ul><h1>Function IsWindows</h1></div><section class="tsd-panel"><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="IsWindows" class="tsd-anchor"></a><span class="tsd-kind-call-signature">Is<wbr/>Windows</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#IsWindows" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Checks if the current operating system is Windows.</p>
|
||||
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>True if the operating system is Windows, otherwise false.</p>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/wailsapp/wails/blob/b2c43c03/v3/internal/runtime/desktop/@wailsio/runtime/src/system.js#L92">src/system.js:92</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@wailsio/runtime</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><div class="tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div></body></html>
|
||||
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/wailsapp/wails/blob/01a51f74/v3/internal/runtime/desktop/@wailsio/runtime/src/system.js#L92">src/system.js:92</a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@wailsio/runtime</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><div class="tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div></body></html>
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue