Skip to content

Commit 1a380ef

Browse files
Update from slint-ui/slint
Pull web demos and C++/Rust reference docs from commit 85692d1786a0c4bae55c813d939a4d4319c70c06 (refs/heads/master)
1 parent b96512f commit 1a380ef

File tree

2,975 files changed

+6713
-4811
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,975 files changed

+6713
-4811
lines changed
-4 KB
Binary file not shown.
-12 KB
Binary file not shown.
-4 KB
Binary file not shown.
-12 KB
Binary file not shown.

snapshots/master/demos/carousel/pkg/carousel.js

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -274,11 +274,11 @@ function __wbg_adapter_6(arg0, arg1, arg2) {
274274
wasm.closure191_externref_shim(arg0, arg1, arg2);
275275
}
276276

277-
function __wbg_adapter_9(arg0, arg1, arg2) {
277+
function __wbg_adapter_13(arg0, arg1, arg2) {
278278
wasm.closure402_externref_shim(arg0, arg1, arg2);
279279
}
280280

281-
function __wbg_adapter_32(arg0, arg1) {
281+
function __wbg_adapter_18(arg0, arg1) {
282282
wasm.wasm_bindgen__convert__closures_____invoke__h0edb6a1aed6dc497(arg0, arg1);
283283
}
284284

@@ -1619,7 +1619,7 @@ function __wbg_get_imports() {
16191619
};
16201620
imports.wbg.__wbindgen_cast_173b168fabcebbda = function(arg0, arg1) {
16211621
// Cast intrinsic for `Closure(Closure { dtor_idx: 401, function: Function { arguments: [NamedExternref("WheelEvent")], shim_idx: 402, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1622-
const ret = makeMutClosure(arg0, arg1, 401, __wbg_adapter_9);
1622+
const ret = makeMutClosure(arg0, arg1, 401, __wbg_adapter_13);
16231623
return ret;
16241624
};
16251625
imports.wbg.__wbindgen_cast_2241b6af4c4b2941 = function(arg0, arg1) {
@@ -1634,7 +1634,7 @@ function __wbg_get_imports() {
16341634
};
16351635
imports.wbg.__wbindgen_cast_4992e0f004b2258f = function(arg0, arg1) {
16361636
// Cast intrinsic for `Closure(Closure { dtor_idx: 401, function: Function { arguments: [Externref], shim_idx: 402, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1637-
const ret = makeMutClosure(arg0, arg1, 401, __wbg_adapter_9);
1637+
const ret = makeMutClosure(arg0, arg1, 401, __wbg_adapter_13);
16381638
return ret;
16391639
};
16401640
imports.wbg.__wbindgen_cast_5b7d297379b58e5a = function(arg0, arg1) {
@@ -1649,12 +1649,12 @@ function __wbg_get_imports() {
16491649
};
16501650
imports.wbg.__wbindgen_cast_738a85efee63049e = function(arg0, arg1) {
16511651
// Cast intrinsic for `Closure(Closure { dtor_idx: 401, function: Function { arguments: [NamedExternref("KeyboardEvent")], shim_idx: 402, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1652-
const ret = makeMutClosure(arg0, arg1, 401, __wbg_adapter_9);
1652+
const ret = makeMutClosure(arg0, arg1, 401, __wbg_adapter_13);
16531653
return ret;
16541654
};
16551655
imports.wbg.__wbindgen_cast_81ae19579b764768 = function(arg0, arg1) {
16561656
// Cast intrinsic for `Closure(Closure { dtor_idx: 401, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx: 402, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1657-
const ret = makeMutClosure(arg0, arg1, 401, __wbg_adapter_9);
1657+
const ret = makeMutClosure(arg0, arg1, 401, __wbg_adapter_13);
16581658
return ret;
16591659
};
16601660
imports.wbg.__wbindgen_cast_9cd78f89d0182328 = function(arg0, arg1) {
@@ -1664,12 +1664,12 @@ function __wbg_get_imports() {
16641664
};
16651665
imports.wbg.__wbindgen_cast_bd29760aa1319dc0 = function(arg0, arg1) {
16661666
// Cast intrinsic for `Closure(Closure { dtor_idx: 401, function: Function { arguments: [NamedExternref("PointerEvent")], shim_idx: 402, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1667-
const ret = makeMutClosure(arg0, arg1, 401, __wbg_adapter_9);
1667+
const ret = makeMutClosure(arg0, arg1, 401, __wbg_adapter_13);
16681668
return ret;
16691669
};
16701670
imports.wbg.__wbindgen_cast_c1ca793dc568c1b3 = function(arg0, arg1) {
16711671
// Cast intrinsic for `Closure(Closure { dtor_idx: 401, function: Function { arguments: [], shim_idx: 404, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1672-
const ret = makeMutClosure(arg0, arg1, 401, __wbg_adapter_32);
1672+
const ret = makeMutClosure(arg0, arg1, 401, __wbg_adapter_18);
16731673
return ret;
16741674
};
16751675
imports.wbg.__wbindgen_cast_cb9088102bce6b30 = function(arg0, arg1) {
@@ -1684,7 +1684,7 @@ function __wbg_get_imports() {
16841684
};
16851685
imports.wbg.__wbindgen_cast_cea2f4e903bc708d = function(arg0, arg1) {
16861686
// Cast intrinsic for `Closure(Closure { dtor_idx: 401, function: Function { arguments: [NamedExternref("FocusEvent")], shim_idx: 402, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1687-
const ret = makeMutClosure(arg0, arg1, 401, __wbg_adapter_9);
1687+
const ret = makeMutClosure(arg0, arg1, 401, __wbg_adapter_13);
16881688
return ret;
16891689
};
16901690
imports.wbg.__wbindgen_cast_d6cd19b81560fd6e = function(arg0) {
@@ -1694,12 +1694,12 @@ function __wbg_get_imports() {
16941694
};
16951695
imports.wbg.__wbindgen_cast_e32de872a8a04271 = function(arg0, arg1) {
16961696
// Cast intrinsic for `Closure(Closure { dtor_idx: 401, function: Function { arguments: [NamedExternref("Event")], shim_idx: 402, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1697-
const ret = makeMutClosure(arg0, arg1, 401, __wbg_adapter_9);
1697+
const ret = makeMutClosure(arg0, arg1, 401, __wbg_adapter_13);
16981698
return ret;
16991699
};
17001700
imports.wbg.__wbindgen_cast_eb65d4687f1afcb6 = function(arg0, arg1) {
17011701
// Cast intrinsic for `Closure(Closure { dtor_idx: 401, function: Function { arguments: [NamedExternref("PageTransitionEvent")], shim_idx: 402, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1702-
const ret = makeMutClosure(arg0, arg1, 401, __wbg_adapter_9);
1702+
const ret = makeMutClosure(arg0, arg1, 401, __wbg_adapter_13);
17031703
return ret;
17041704
};
17051705
imports.wbg.__wbindgen_cast_f671726606e27bb6 = function(arg0, arg1) {
2.08 KB
Binary file not shown.

snapshots/master/demos/energy-monitor/pkg/energy_monitor.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ export interface InitOutput {
1919
readonly __wbindgen_malloc: (a: number, b: number) => number;
2020
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
2121
readonly __wbindgen_export_5: WebAssembly.Table;
22-
readonly closure3349_externref_shim: (a: number, b: number, c: any) => void;
2322
readonly closure3731_externref_shim: (a: number, b: number, c: any) => void;
23+
readonly closure3349_externref_shim: (a: number, b: number, c: any) => void;
2424
readonly wasm_bindgen__convert__closures_____invoke__h2df447169abbed51: (a: number, b: number) => void;
25-
readonly closure3732_externref_shim: (a: number, b: number, c: any, d: any) => void;
2625
readonly closure3794_externref_shim: (a: number, b: number, c: any) => void;
26+
readonly closure3732_externref_shim: (a: number, b: number, c: any, d: any) => void;
2727
readonly __wbindgen_start: () => void;
2828
}
2929

snapshots/master/demos/energy-monitor/pkg/energy_monitor.js

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -340,24 +340,24 @@ export function main() {
340340
wasm.main();
341341
}
342342

343-
function __wbg_adapter_8(arg0, arg1, arg2) {
344-
wasm.closure3349_externref_shim(arg0, arg1, arg2);
343+
function __wbg_adapter_6(arg0, arg1, arg2) {
344+
wasm.closure3731_externref_shim(arg0, arg1, arg2);
345345
}
346346

347-
function __wbg_adapter_11(arg0, arg1, arg2) {
348-
wasm.closure3731_externref_shim(arg0, arg1, arg2);
347+
function __wbg_adapter_9(arg0, arg1, arg2) {
348+
wasm.closure3349_externref_shim(arg0, arg1, arg2);
349349
}
350350

351351
function __wbg_adapter_26(arg0, arg1) {
352352
wasm.wasm_bindgen__convert__closures_____invoke__h2df447169abbed51(arg0, arg1);
353353
}
354354

355-
function __wbg_adapter_47(arg0, arg1, arg2, arg3) {
356-
wasm.closure3732_externref_shim(arg0, arg1, arg2, arg3);
355+
function __wbg_adapter_39(arg0, arg1, arg2) {
356+
wasm.closure3794_externref_shim(arg0, arg1, arg2);
357357
}
358358

359-
function __wbg_adapter_56(arg0, arg1, arg2) {
360-
wasm.closure3794_externref_shim(arg0, arg1, arg2);
359+
function __wbg_adapter_56(arg0, arg1, arg2, arg3) {
360+
wasm.closure3732_externref_shim(arg0, arg1, arg2, arg3);
361361
}
362362

363363
const __wbindgen_enum_ResizeObserverBoxOptions = ["border-box", "content-box", "device-pixel-content-box"];
@@ -1729,37 +1729,37 @@ function __wbg_get_imports() {
17291729
};
17301730
imports.wbg.__wbindgen_cast_25f5a631da2081f3 = function(arg0, arg1) {
17311731
// Cast intrinsic for `Closure(Closure { dtor_idx: 3589, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx: 3731, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1732-
const ret = makeMutClosure(arg0, arg1, 3589, __wbg_adapter_11);
1732+
const ret = makeMutClosure(arg0, arg1, 3589, __wbg_adapter_6);
17331733
return ret;
17341734
};
17351735
imports.wbg.__wbindgen_cast_33b3a31ed8457124 = function(arg0, arg1) {
17361736
// Cast intrinsic for `Closure(Closure { dtor_idx: 3589, function: Function { arguments: [NamedExternref("PointerEvent")], shim_idx: 3731, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1737-
const ret = makeMutClosure(arg0, arg1, 3589, __wbg_adapter_11);
1737+
const ret = makeMutClosure(arg0, arg1, 3589, __wbg_adapter_6);
17381738
return ret;
17391739
};
17401740
imports.wbg.__wbindgen_cast_34e702667622047e = function(arg0, arg1) {
17411741
// Cast intrinsic for `Closure(Closure { dtor_idx: 3198, function: Function { arguments: [NamedExternref("KeyboardEvent")], shim_idx: 3349, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
1742-
const ret = makeClosure(arg0, arg1, 3198, __wbg_adapter_8);
1742+
const ret = makeClosure(arg0, arg1, 3198, __wbg_adapter_9);
17431743
return ret;
17441744
};
17451745
imports.wbg.__wbindgen_cast_35da03a57806bd25 = function(arg0, arg1) {
17461746
// Cast intrinsic for `Closure(Closure { dtor_idx: 3589, function: Function { arguments: [NamedExternref("Array<any>"), NamedExternref("ResizeObserver")], shim_idx: 3732, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1747-
const ret = makeMutClosure(arg0, arg1, 3589, __wbg_adapter_47);
1747+
const ret = makeMutClosure(arg0, arg1, 3589, __wbg_adapter_56);
17481748
return ret;
17491749
};
17501750
imports.wbg.__wbindgen_cast_3f9d7059e0415186 = function(arg0, arg1) {
17511751
// Cast intrinsic for `Closure(Closure { dtor_idx: 3589, function: Function { arguments: [NamedExternref("WheelEvent")], shim_idx: 3731, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1752-
const ret = makeMutClosure(arg0, arg1, 3589, __wbg_adapter_11);
1752+
const ret = makeMutClosure(arg0, arg1, 3589, __wbg_adapter_6);
17531753
return ret;
17541754
};
17551755
imports.wbg.__wbindgen_cast_44d1512a75d6c274 = function(arg0, arg1) {
17561756
// Cast intrinsic for `Closure(Closure { dtor_idx: 3589, function: Function { arguments: [NamedExternref("Event")], shim_idx: 3731, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1757-
const ret = makeMutClosure(arg0, arg1, 3589, __wbg_adapter_11);
1757+
const ret = makeMutClosure(arg0, arg1, 3589, __wbg_adapter_6);
17581758
return ret;
17591759
};
17601760
imports.wbg.__wbindgen_cast_7b0722e709ece533 = function(arg0, arg1) {
17611761
// Cast intrinsic for `Closure(Closure { dtor_idx: 3198, function: Function { arguments: [NamedExternref("CompositionEvent")], shim_idx: 3349, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
1762-
const ret = makeClosure(arg0, arg1, 3198, __wbg_adapter_8);
1762+
const ret = makeClosure(arg0, arg1, 3198, __wbg_adapter_9);
17631763
return ret;
17641764
};
17651765
imports.wbg.__wbindgen_cast_7c316abdc43840a3 = function(arg0, arg1) {
@@ -1769,7 +1769,7 @@ function __wbg_get_imports() {
17691769
};
17701770
imports.wbg.__wbindgen_cast_814a67ec09747614 = function(arg0, arg1) {
17711771
// Cast intrinsic for `Closure(Closure { dtor_idx: 3589, function: Function { arguments: [NamedExternref("FocusEvent")], shim_idx: 3731, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1772-
const ret = makeMutClosure(arg0, arg1, 3589, __wbg_adapter_11);
1772+
const ret = makeMutClosure(arg0, arg1, 3589, __wbg_adapter_6);
17731773
return ret;
17741774
};
17751775
imports.wbg.__wbindgen_cast_9575fb55a66c262b = function(arg0, arg1) {
@@ -1779,12 +1779,12 @@ function __wbg_get_imports() {
17791779
};
17801780
imports.wbg.__wbindgen_cast_b327d79baec3770e = function(arg0, arg1) {
17811781
// Cast intrinsic for `Closure(Closure { dtor_idx: 3589, function: Function { arguments: [NamedExternref("PageTransitionEvent")], shim_idx: 3731, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1782-
const ret = makeMutClosure(arg0, arg1, 3589, __wbg_adapter_11);
1782+
const ret = makeMutClosure(arg0, arg1, 3589, __wbg_adapter_6);
17831783
return ret;
17841784
};
17851785
imports.wbg.__wbindgen_cast_b79e59724ac1841d = function(arg0, arg1) {
17861786
// Cast intrinsic for `Closure(Closure { dtor_idx: 3788, function: Function { arguments: [Externref], shim_idx: 3794, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1787-
const ret = makeMutClosure(arg0, arg1, 3788, __wbg_adapter_56);
1787+
const ret = makeMutClosure(arg0, arg1, 3788, __wbg_adapter_39);
17881788
return ret;
17891789
};
17901790
imports.wbg.__wbindgen_cast_bbb4883c6389f1de = function(arg0, arg1) {
@@ -1804,7 +1804,7 @@ function __wbg_get_imports() {
18041804
};
18051805
imports.wbg.__wbindgen_cast_d5a0628287a9a018 = function(arg0, arg1) {
18061806
// Cast intrinsic for `Closure(Closure { dtor_idx: 3198, function: Function { arguments: [NamedExternref("ClipboardEvent")], shim_idx: 3349, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
1807-
const ret = makeClosure(arg0, arg1, 3198, __wbg_adapter_8);
1807+
const ret = makeClosure(arg0, arg1, 3198, __wbg_adapter_9);
18081808
return ret;
18091809
};
18101810
imports.wbg.__wbindgen_cast_d6cd19b81560fd6e = function(arg0) {
@@ -1814,7 +1814,7 @@ function __wbg_get_imports() {
18141814
};
18151815
imports.wbg.__wbindgen_cast_dfd5225e432ba13c = function(arg0, arg1) {
18161816
// Cast intrinsic for `Closure(Closure { dtor_idx: 3589, function: Function { arguments: [NamedExternref("KeyboardEvent")], shim_idx: 3731, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1817-
const ret = makeMutClosure(arg0, arg1, 3589, __wbg_adapter_11);
1817+
const ret = makeMutClosure(arg0, arg1, 3589, __wbg_adapter_6);
18181818
return ret;
18191819
};
18201820
imports.wbg.__wbindgen_cast_e47ceb6027f5c92c = function(arg0, arg1) {
@@ -1824,12 +1824,12 @@ function __wbg_get_imports() {
18241824
};
18251825
imports.wbg.__wbindgen_cast_ef914754d971befa = function(arg0, arg1) {
18261826
// Cast intrinsic for `Closure(Closure { dtor_idx: 3198, function: Function { arguments: [NamedExternref("Event")], shim_idx: 3349, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
1827-
const ret = makeClosure(arg0, arg1, 3198, __wbg_adapter_8);
1827+
const ret = makeClosure(arg0, arg1, 3198, __wbg_adapter_9);
18281828
return ret;
18291829
};
18301830
imports.wbg.__wbindgen_cast_f0be9ac5b9cfde06 = function(arg0, arg1) {
18311831
// Cast intrinsic for `Closure(Closure { dtor_idx: 3198, function: Function { arguments: [NamedExternref("InputEvent")], shim_idx: 3349, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
1832-
const ret = makeClosure(arg0, arg1, 3198, __wbg_adapter_8);
1832+
const ret = makeClosure(arg0, arg1, 3198, __wbg_adapter_9);
18331833
return ret;
18341834
};
18351835
imports.wbg.__wbindgen_cast_feefb5fadd6457fd = function(arg0, arg1) {
609 Bytes
Binary file not shown.

snapshots/master/demos/energy-monitor/pkg/energy_monitor_bg.wasm.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ export const __wbindgen_exn_store: (a: number) => void;
1414
export const __wbindgen_malloc: (a: number, b: number) => number;
1515
export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
1616
export const __wbindgen_export_5: WebAssembly.Table;
17-
export const closure3349_externref_shim: (a: number, b: number, c: any) => void;
1817
export const closure3731_externref_shim: (a: number, b: number, c: any) => void;
18+
export const closure3349_externref_shim: (a: number, b: number, c: any) => void;
1919
export const wasm_bindgen__convert__closures_____invoke__h2df447169abbed51: (a: number, b: number) => void;
20-
export const closure3732_externref_shim: (a: number, b: number, c: any, d: any) => void;
2120
export const closure3794_externref_shim: (a: number, b: number, c: any) => void;
21+
export const closure3732_externref_shim: (a: number, b: number, c: any, d: any) => void;
2222
export const __wbindgen_start: () => void;

0 commit comments

Comments
 (0)