1
import { AppStorage, AppStorageLinkState, ArkPageTransitionEnterComponent, ArkPageTransitionExitComponent, ArkStructBase, ArkText, CanvasRenderingContext2D, ESObject, ForEach, GestureGroup, IDataSource, ImageBitmap, Indicator, LazyForEach, LinearGradient, LocalStorage, LongPressGesture, MutableState, OffscreenCanvasRenderingContext2D, PanGesture, PanGestureOptions, PatternLockController, PinchGesture, RenderingContextSettings, RichEditorController, Scroller, SearchController, StorageLinkState, SwiperController, SyncedProperty, TabsController, TapGesture, TextAreaController, TextClockController, TextInputController, TextInputOptions, TextTimerController, TransitionEffect, VideoController, WebController, XComponentController, animateTo, contextLocalStateOf, observableProxy, propState, stateOf } from "@koalaui/arkoala-arkui";
2
class ArkStateToStateComponent extends ArkStructBase<ArkStateToStateComponent> {
3
private _entry_local_storage_ = new LocalStorage();
4
__initializeStruct(/**/
6
content?: () => void, initializers?: Partial<ArkStateToStateComponent>): void {
7
this._state = stateOf<string>(initializers?.state ?? ('Hello World'), this);
8
this._test = stateOf<string>(initializers?.test ?? (this.state + "!"), this);
10
_state!: MutableState<string>;
12
return this._state!.value;
14
set state(value: string) {
15
this._state!.value = observableProxy(value);
17
_test!: MutableState<string>;
19
return this._test!.value;
21
set test(value: string) {
22
this._test!.value = observableProxy(value);
27
builder: ((instance: ArkStateToStateComponent) => void) | undefined) {
28
ArkText(undefined, undefined, this.test);
31
class ArkStateToPropComponent extends ArkStructBase<ArkStateToPropComponent> {
32
private _entry_local_storage_ = new LocalStorage();
33
__initializeStruct(/**/
35
content?: () => void, initializers?: Partial<ArkStateToPropComponent>): void {
36
this._state = stateOf<string>(initializers?.state ?? ('Hello World'), this);
37
this._test = propState<string>(this.state + "!");
39
_state!: MutableState<string>;
41
return this._state!.value;
43
set state(value: string) {
44
this._state!.value = observableProxy(value);
46
_test!: SyncedProperty<string>;
48
return this._test!.value;
50
set test(value: string) {
51
this._test!.value = observableProxy(value);
54
__updateStruct(initializers: Partial<ArkStateToPropComponent> | undefined): void {
55
this._test.update(initializers?.test);
60
builder: ((instance: ArkStateToPropComponent) => void) | undefined) {
61
ArkText(undefined, undefined, this.test);
64
class ArkStateToProvideComponent extends ArkStructBase<ArkStateToProvideComponent> {
65
private _entry_local_storage_ = new LocalStorage();
66
__initializeStruct(/**/
68
content?: () => void, initializers?: Partial<ArkStateToProvideComponent>): void {
69
this._state = stateOf<string>(initializers?.state ?? ('Hello World'), this);
70
this._test = initializers!._test!;
72
_state!: MutableState<string>;
74
return this._state!.value;
76
set state(value: string) {
77
this._state!.value = observableProxy(value);
79
_test!: MutableState<string>;
81
return this._test!.value;
83
set test(value: string) {
84
this._test!.value = observableProxy(value);
89
builder: ((instance: ArkStateToProvideComponent) => void) | undefined) {
90
ArkText(undefined, undefined, this.test);
93
class ArkStateToStorageLinkComponent extends ArkStructBase<ArkStateToStorageLinkComponent> {
94
private _entry_local_storage_ = new LocalStorage();
95
__initializeStruct(/**/
97
content?: () => void, initializers?: Partial<ArkStateToStorageLinkComponent>): void {
98
this._state = stateOf<string>(initializers?.state ?? ('Hello World'), this);
99
this._test = AppStorageLinkState<string>("test", this.state + "!");
101
_state!: MutableState<string>;
102
get state(): string {
103
return this._state!.value;
105
set state(value: string) {
106
this._state!.value = observableProxy(value);
108
_test!: MutableState<string>;
110
return this._test!.value;
112
set test(value: string) {
113
this._test!.value = observableProxy(value);
118
builder: ((instance: ArkStateToStorageLinkComponent) => void) | undefined) {
119
ArkText(undefined, undefined, this.test);
122
class ArkStateToLocalStorageLinkComponent extends ArkStructBase<ArkStateToLocalStorageLinkComponent> {
123
private _entry_local_storage_ = new LocalStorage();
124
__initializeStruct(/**/
126
content?: () => void, initializers?: Partial<ArkStateToLocalStorageLinkComponent>): void {
127
this._state = stateOf<string>(initializers?.state ?? ('Hello World'), this);
128
this._test = StorageLinkState<string>(this._entry_local_storage_, "test", this.state + "!");
130
_state!: MutableState<string>;
131
get state(): string {
132
return this._state!.value;
134
set state(value: string) {
135
this._state!.value = observableProxy(value);
137
_test!: MutableState<string>;
139
return this._test!.value;
141
set test(value: string) {
142
this._test!.value = observableProxy(value);
147
builder: ((instance: ArkStateToLocalStorageLinkComponent) => void) | undefined) {
148
ArkText(undefined, undefined, this.test);
151
class ArkStateToStoragePropComponent extends ArkStructBase<ArkStateToStoragePropComponent> {
152
private _entry_local_storage_ = new LocalStorage();
153
__initializeStruct(/**/
155
content?: () => void, initializers?: Partial<ArkStateToStoragePropComponent>): void {
156
this._state = stateOf<string>(initializers?.state ?? ('Hello World'), this);
157
this._test = propState<string>(AppStorageLinkState<string>("test", this.state + "!").value);
159
_state!: MutableState<string>;
160
get state(): string {
161
return this._state!.value;
163
set state(value: string) {
164
this._state!.value = observableProxy(value);
166
_test!: SyncedProperty<string>;
168
return this._test!.value;
170
set test(value: string) {
171
this._test!.value = observableProxy(value);
174
__updateStruct(initializers: Partial<ArkStateToStoragePropComponent> | undefined): void {
175
this._test.update(AppStorageLinkState<string>("test", this.state + "!").value);
180
builder: ((instance: ArkStateToStoragePropComponent) => void) | undefined) {
181
ArkText(undefined, undefined, this.test);
184
class ArkStateToLocalStoragePropComponent extends ArkStructBase<ArkStateToLocalStoragePropComponent> {
185
private _entry_local_storage_ = new LocalStorage();
186
__initializeStruct(/**/
188
content?: () => void, initializers?: Partial<ArkStateToLocalStoragePropComponent>): void {
189
this._state = stateOf<string>(initializers?.state ?? ('Hello World'), this);
190
this._test = propState<string>(StorageLinkState<string>(this._entry_local_storage_, "test", this.state + "!").value);
192
_state!: MutableState<string>;
193
get state(): string {
194
return this._state!.value;
196
set state(value: string) {
197
this._state!.value = observableProxy(value);
199
_test!: SyncedProperty<string>;
201
return this._test!.value;
203
set test(value: string) {
204
this._test!.value = observableProxy(value);
207
__updateStruct(initializers: Partial<ArkStateToLocalStoragePropComponent> | undefined): void {
208
this._test.update(StorageLinkState<string>(this._entry_local_storage_, "test", this.state + "!").value);
213
builder: ((instance: ArkStateToLocalStoragePropComponent) => void) | undefined) {
214
ArkText(undefined, undefined, this.test);
217
class ArkStateToBuilderParamComponent extends ArkStructBase<ArkStateToBuilderParamComponent> {
218
private _entry_local_storage_ = new LocalStorage();
219
__initializeStruct(/**/
221
content?: () => void, initializers?: Partial<ArkStateToBuilderParamComponent>): void {
222
this._state = stateOf<string>(initializers?.state ?? ('Hello World'), this);
223
this._test = initializers?.test ?? (this.state + "!");
224
if (!this._test && content)
225
this._test = content;
227
_state!: MutableState<string>;
228
get state(): string {
229
return this._state!.value;
231
set state(value: string) {
232
this._state!.value = observableProxy(value);
248
builder: ((instance: ArkStateToBuilderParamComponent) => void) | undefined) {
249
ArkText(undefined, undefined, this.test);
252
class ArkStateToPlainComponent extends ArkStructBase<ArkStateToPlainComponent> {
253
private _entry_local_storage_ = new LocalStorage();
254
__initializeStruct(/**/
256
content?: () => void, initializers?: Partial<ArkStateToPlainComponent>): void {
257
this._state = stateOf<string>(initializers?.state ?? ('Hello World'), this);
258
this._test = initializers?.test ?? (this.state + "!");
260
_state!: MutableState<string>;
261
get state(): string {
262
return this._state!.value;
264
set state(value: string) {
265
this._state!.value = observableProxy(value);
271
set test(value: string) {
277
builder: ((instance: ArkStateToPlainComponent) => void) | undefined) {
278
ArkText(undefined, undefined, this.test);
281
class ArkPropToStateComponent extends ArkStructBase<ArkPropToStateComponent> {
282
private _entry_local_storage_ = new LocalStorage();
283
__initializeStruct(/**/
285
content?: () => void, initializers?: Partial<ArkPropToStateComponent>): void {
286
this._state = propState<string>('Hello World');
287
this._test = stateOf<string>(initializers?.test ?? (this.state + "!"), this);
289
_state!: SyncedProperty<string>;
290
get state(): string {
291
return this._state!.value;
293
set state(value: string) {
294
this._state!.value = observableProxy(value);
296
_test!: MutableState<string>;
298
return this._test!.value;
300
set test(value: string) {
301
this._test!.value = observableProxy(value);
304
__updateStruct(initializers: Partial<ArkPropToStateComponent> | undefined): void {
305
this._state.update(initializers?.state);
310
builder: ((instance: ArkPropToStateComponent) => void) | undefined) {
311
ArkText(undefined, undefined, this.test);
314
class ArkPropToPropComponent extends ArkStructBase<ArkPropToPropComponent> {
315
private _entry_local_storage_ = new LocalStorage();
316
__initializeStruct(/**/
318
content?: () => void, initializers?: Partial<ArkPropToPropComponent>): void {
319
this._state = propState<string>('Hello World');
320
this._test = propState<string>(this.state + "!");
322
_state!: SyncedProperty<string>;
323
get state(): string {
324
return this._state!.value;
326
set state(value: string) {
327
this._state!.value = observableProxy(value);
329
_test!: SyncedProperty<string>;
331
return this._test!.value;
333
set test(value: string) {
334
this._test!.value = observableProxy(value);
337
__updateStruct(initializers: Partial<ArkPropToPropComponent> | undefined): void {
338
this._state.update(initializers?.state);
339
this._test.update(initializers?.test);
344
builder: ((instance: ArkPropToPropComponent) => void) | undefined) {
345
ArkText(undefined, undefined, this.test);
348
class ArkPropToProvideComponent extends ArkStructBase<ArkPropToProvideComponent> {
349
private _entry_local_storage_ = new LocalStorage();
350
__initializeStruct(/**/
352
content?: () => void, initializers?: Partial<ArkPropToProvideComponent>): void {
353
this._state = propState<string>('Hello World');
354
this._test = initializers!._test!;
356
_state!: SyncedProperty<string>;
357
get state(): string {
358
return this._state!.value;
360
set state(value: string) {
361
this._state!.value = observableProxy(value);
363
_test!: MutableState<string>;
365
return this._test!.value;
367
set test(value: string) {
368
this._test!.value = observableProxy(value);
371
__updateStruct(initializers: Partial<ArkPropToProvideComponent> | undefined): void {
372
this._state.update(initializers?.state);
377
builder: ((instance: ArkPropToProvideComponent) => void) | undefined) {
378
ArkText(undefined, undefined, this.test);
381
class ArkPropToStorageLinkComponent extends ArkStructBase<ArkPropToStorageLinkComponent> {
382
private _entry_local_storage_ = new LocalStorage();
383
__initializeStruct(/**/
385
content?: () => void, initializers?: Partial<ArkPropToStorageLinkComponent>): void {
386
this._state = propState<string>('Hello World');
387
this._test = AppStorageLinkState<string>("test", this.state + "!");
389
_state!: SyncedProperty<string>;
390
get state(): string {
391
return this._state!.value;
393
set state(value: string) {
394
this._state!.value = observableProxy(value);
396
_test!: MutableState<string>;
398
return this._test!.value;
400
set test(value: string) {
401
this._test!.value = observableProxy(value);
404
__updateStruct(initializers: Partial<ArkPropToStorageLinkComponent> | undefined): void {
405
this._state.update(initializers?.state);
410
builder: ((instance: ArkPropToStorageLinkComponent) => void) | undefined) {
411
ArkText(undefined, undefined, this.test);
414
class ArkPropToLocalStorageLinkComponent extends ArkStructBase<ArkPropToLocalStorageLinkComponent> {
415
private _entry_local_storage_ = new LocalStorage();
416
__initializeStruct(/**/
418
content?: () => void, initializers?: Partial<ArkPropToLocalStorageLinkComponent>): void {
419
this._state = propState<string>('Hello World');
420
this._test = StorageLinkState<string>(this._entry_local_storage_, "test", this.state + "!");
422
_state!: SyncedProperty<string>;
423
get state(): string {
424
return this._state!.value;
426
set state(value: string) {
427
this._state!.value = observableProxy(value);
429
_test!: MutableState<string>;
431
return this._test!.value;
433
set test(value: string) {
434
this._test!.value = observableProxy(value);
437
__updateStruct(initializers: Partial<ArkPropToLocalStorageLinkComponent> | undefined): void {
438
this._state.update(initializers?.state);
443
builder: ((instance: ArkPropToLocalStorageLinkComponent) => void) | undefined) {
444
ArkText(undefined, undefined, this.test);
447
class ArkPropToStoragePropComponent extends ArkStructBase<ArkPropToStoragePropComponent> {
448
private _entry_local_storage_ = new LocalStorage();
449
__initializeStruct(/**/
451
content?: () => void, initializers?: Partial<ArkPropToStoragePropComponent>): void {
452
this._state = propState<string>('Hello World');
453
this._test = propState<string>(AppStorageLinkState<string>("test", this.state + "!").value);
455
_state!: SyncedProperty<string>;
456
get state(): string {
457
return this._state!.value;
459
set state(value: string) {
460
this._state!.value = observableProxy(value);
462
_test!: SyncedProperty<string>;
464
return this._test!.value;
466
set test(value: string) {
467
this._test!.value = observableProxy(value);
470
__updateStruct(initializers: Partial<ArkPropToStoragePropComponent> | undefined): void {
471
this._state.update(initializers?.state);
472
this._test.update(AppStorageLinkState<string>("test", this.state + "!").value);
477
builder: ((instance: ArkPropToStoragePropComponent) => void) | undefined) {
478
ArkText(undefined, undefined, this.test);
481
class ArkPropToLocalStoragePropComponent extends ArkStructBase<ArkPropToLocalStoragePropComponent> {
482
private _entry_local_storage_ = new LocalStorage();
483
__initializeStruct(/**/
485
content?: () => void, initializers?: Partial<ArkPropToLocalStoragePropComponent>): void {
486
this._state = propState<string>('Hello World');
487
this._test = propState<string>(StorageLinkState<string>(this._entry_local_storage_, "test", this.state + "!").value);
489
_state!: SyncedProperty<string>;
490
get state(): string {
491
return this._state!.value;
493
set state(value: string) {
494
this._state!.value = observableProxy(value);
496
_test!: SyncedProperty<string>;
498
return this._test!.value;
500
set test(value: string) {
501
this._test!.value = observableProxy(value);
504
__updateStruct(initializers: Partial<ArkPropToLocalStoragePropComponent> | undefined): void {
505
this._state.update(initializers?.state);
506
this._test.update(StorageLinkState<string>(this._entry_local_storage_, "test", this.state + "!").value);
511
builder: ((instance: ArkPropToLocalStoragePropComponent) => void) | undefined) {
512
ArkText(undefined, undefined, this.test);
515
class ArkPropToBuilderParamComponent extends ArkStructBase<ArkPropToBuilderParamComponent> {
516
private _entry_local_storage_ = new LocalStorage();
517
__initializeStruct(/**/
519
content?: () => void, initializers?: Partial<ArkPropToBuilderParamComponent>): void {
520
this._state = propState<string>('Hello World');
521
this._test = initializers?.test ?? (this.state + "!");
522
if (!this._test && content)
523
this._test = content;
525
_state!: SyncedProperty<string>;
526
get state(): string {
527
return this._state!.value;
529
set state(value: string) {
530
this._state!.value = observableProxy(value);
544
__updateStruct(initializers: Partial<ArkPropToBuilderParamComponent> | undefined): void {
545
this._state.update(initializers?.state);
550
builder: ((instance: ArkPropToBuilderParamComponent) => void) | undefined) {
551
ArkText(undefined, undefined, this.test);
554
class ArkPropToPlainComponent extends ArkStructBase<ArkPropToPlainComponent> {
555
private _entry_local_storage_ = new LocalStorage();
556
__initializeStruct(/**/
558
content?: () => void, initializers?: Partial<ArkPropToPlainComponent>): void {
559
this._state = propState<string>('Hello World');
560
this._test = initializers?.test ?? (this.state + "!");
562
_state!: SyncedProperty<string>;
563
get state(): string {
564
return this._state!.value;
566
set state(value: string) {
567
this._state!.value = observableProxy(value);
573
set test(value: string) {
577
__updateStruct(initializers: Partial<ArkPropToPlainComponent> | undefined): void {
578
this._state.update(initializers?.state);
583
builder: ((instance: ArkPropToPlainComponent) => void) | undefined) {
584
ArkText(undefined, undefined, this.test);
587
class ArkProvideToStateComponent extends ArkStructBase<ArkProvideToStateComponent> {
588
private _entry_local_storage_ = new LocalStorage();
589
__initializeStruct(/**/
591
content?: () => void, initializers?: Partial<ArkProvideToStateComponent>): void {
592
this._state = initializers!._state!;
593
this._test = stateOf<string>(initializers?.test ?? (this.state + "!"), this);
595
_state!: MutableState<string>;
596
get state(): string {
597
return this._state!.value;
599
set state(value: string) {
600
this._state!.value = observableProxy(value);
602
_test!: MutableState<string>;
604
return this._test!.value;
606
set test(value: string) {
607
this._test!.value = observableProxy(value);
612
builder: ((instance: ArkProvideToStateComponent) => void) | undefined) {
613
ArkText(undefined, undefined, this.test);
616
class ArkProvideToPropComponent extends ArkStructBase<ArkProvideToPropComponent> {
617
private _entry_local_storage_ = new LocalStorage();
618
__initializeStruct(/**/
620
content?: () => void, initializers?: Partial<ArkProvideToPropComponent>): void {
621
this._state = initializers!._state!;
622
this._test = propState<string>(this.state + "!");
624
_state!: MutableState<string>;
625
get state(): string {
626
return this._state!.value;
628
set state(value: string) {
629
this._state!.value = observableProxy(value);
631
_test!: SyncedProperty<string>;
633
return this._test!.value;
635
set test(value: string) {
636
this._test!.value = observableProxy(value);
639
__updateStruct(initializers: Partial<ArkProvideToPropComponent> | undefined): void {
640
this._test.update(initializers?.test);
645
builder: ((instance: ArkProvideToPropComponent) => void) | undefined) {
646
ArkText(undefined, undefined, this.test);
649
class ArkProvideToProvideComponent extends ArkStructBase<ArkProvideToProvideComponent> {
650
private _entry_local_storage_ = new LocalStorage();
651
__initializeStruct(/**/
653
content?: () => void, initializers?: Partial<ArkProvideToProvideComponent>): void {
654
this._state = initializers!._state!;
655
this._test = initializers!._test!;
657
_state!: MutableState<string>;
658
get state(): string {
659
return this._state!.value;
661
set state(value: string) {
662
this._state!.value = observableProxy(value);
664
_test!: MutableState<string>;
666
return this._test!.value;
668
set test(value: string) {
669
this._test!.value = observableProxy(value);
674
builder: ((instance: ArkProvideToProvideComponent) => void) | undefined) {
675
ArkText(undefined, undefined, this.test);
678
class ArkProvideToStorageLinkComponent extends ArkStructBase<ArkProvideToStorageLinkComponent> {
679
private _entry_local_storage_ = new LocalStorage();
680
__initializeStruct(/**/
682
content?: () => void, initializers?: Partial<ArkProvideToStorageLinkComponent>): void {
683
this._state = initializers!._state!;
684
this._test = AppStorageLinkState<string>("test", this.state + "!");
686
_state!: MutableState<string>;
687
get state(): string {
688
return this._state!.value;
690
set state(value: string) {
691
this._state!.value = observableProxy(value);
693
_test!: MutableState<string>;
695
return this._test!.value;
697
set test(value: string) {
698
this._test!.value = observableProxy(value);
703
builder: ((instance: ArkProvideToStorageLinkComponent) => void) | undefined) {
704
ArkText(undefined, undefined, this.test);
707
class ArkProvideToLocalStorageLinkComponent extends ArkStructBase<ArkProvideToLocalStorageLinkComponent> {
708
private _entry_local_storage_ = new LocalStorage();
709
__initializeStruct(/**/
711
content?: () => void, initializers?: Partial<ArkProvideToLocalStorageLinkComponent>): void {
712
this._state = initializers!._state!;
713
this._test = StorageLinkState<string>(this._entry_local_storage_, "test", this.state + "!");
715
_state!: MutableState<string>;
716
get state(): string {
717
return this._state!.value;
719
set state(value: string) {
720
this._state!.value = observableProxy(value);
722
_test!: MutableState<string>;
724
return this._test!.value;
726
set test(value: string) {
727
this._test!.value = observableProxy(value);
732
builder: ((instance: ArkProvideToLocalStorageLinkComponent) => void) | undefined) {
733
ArkText(undefined, undefined, this.test);
736
class ArkProvideToStoragePropComponent extends ArkStructBase<ArkProvideToStoragePropComponent> {
737
private _entry_local_storage_ = new LocalStorage();
738
__initializeStruct(/**/
740
content?: () => void, initializers?: Partial<ArkProvideToStoragePropComponent>): void {
741
this._state = initializers!._state!;
742
this._test = propState<string>(AppStorageLinkState<string>("test", this.state + "!").value);
744
_state!: MutableState<string>;
745
get state(): string {
746
return this._state!.value;
748
set state(value: string) {
749
this._state!.value = observableProxy(value);
751
_test!: SyncedProperty<string>;
753
return this._test!.value;
755
set test(value: string) {
756
this._test!.value = observableProxy(value);
759
__updateStruct(initializers: Partial<ArkProvideToStoragePropComponent> | undefined): void {
760
this._test.update(AppStorageLinkState<string>("test", this.state + "!").value);
765
builder: ((instance: ArkProvideToStoragePropComponent) => void) | undefined) {
766
ArkText(undefined, undefined, this.test);
769
class ArkProvideToLocalStoragePropComponent extends ArkStructBase<ArkProvideToLocalStoragePropComponent> {
770
private _entry_local_storage_ = new LocalStorage();
771
__initializeStruct(/**/
773
content?: () => void, initializers?: Partial<ArkProvideToLocalStoragePropComponent>): void {
774
this._state = initializers!._state!;
775
this._test = propState<string>(StorageLinkState<string>(this._entry_local_storage_, "test", this.state + "!").value);
777
_state!: MutableState<string>;
778
get state(): string {
779
return this._state!.value;
781
set state(value: string) {
782
this._state!.value = observableProxy(value);
784
_test!: SyncedProperty<string>;
786
return this._test!.value;
788
set test(value: string) {
789
this._test!.value = observableProxy(value);
792
__updateStruct(initializers: Partial<ArkProvideToLocalStoragePropComponent> | undefined): void {
793
this._test.update(StorageLinkState<string>(this._entry_local_storage_, "test", this.state + "!").value);
798
builder: ((instance: ArkProvideToLocalStoragePropComponent) => void) | undefined) {
799
ArkText(undefined, undefined, this.test);
802
class ArkProvideToBuilderParamComponent extends ArkStructBase<ArkProvideToBuilderParamComponent> {
803
private _entry_local_storage_ = new LocalStorage();
804
__initializeStruct(/**/
806
content?: () => void, initializers?: Partial<ArkProvideToBuilderParamComponent>): void {
807
this._state = initializers!._state!;
808
this._test = initializers?.test ?? (this.state + "!");
809
if (!this._test && content)
810
this._test = content;
812
_state!: MutableState<string>;
813
get state(): string {
814
return this._state!.value;
816
set state(value: string) {
817
this._state!.value = observableProxy(value);
833
builder: ((instance: ArkProvideToBuilderParamComponent) => void) | undefined) {
834
ArkText(undefined, undefined, this.test);
837
class ArkProvideToPlainComponent extends ArkStructBase<ArkProvideToPlainComponent> {
838
private _entry_local_storage_ = new LocalStorage();
839
__initializeStruct(/**/
841
content?: () => void, initializers?: Partial<ArkProvideToPlainComponent>): void {
842
this._state = initializers!._state!;
843
this._test = initializers?.test ?? (this.state + "!");
845
_state!: MutableState<string>;
846
get state(): string {
847
return this._state!.value;
849
set state(value: string) {
850
this._state!.value = observableProxy(value);
856
set test(value: string) {
862
builder: ((instance: ArkProvideToPlainComponent) => void) | undefined) {
863
ArkText(undefined, undefined, this.test);
866
class ArkStorageLinkToStateComponent extends ArkStructBase<ArkStorageLinkToStateComponent> {
867
private _entry_local_storage_ = new LocalStorage();
868
__initializeStruct(/**/
870
content?: () => void, initializers?: Partial<ArkStorageLinkToStateComponent>): void {
871
this._state = AppStorageLinkState<string>("key", 'Hello World');
872
this._test = stateOf<string>(initializers?.test ?? (this.state + "!"), this);
874
_state!: MutableState<string>;
875
get state(): string {
876
return this._state!.value;
878
set state(value: string) {
879
this._state!.value = observableProxy(value);
881
_test!: MutableState<string>;
883
return this._test!.value;
885
set test(value: string) {
886
this._test!.value = observableProxy(value);
891
builder: ((instance: ArkStorageLinkToStateComponent) => void) | undefined) {
892
ArkText(undefined, undefined, this.test);
895
class ArkStorageLinkToPropComponent extends ArkStructBase<ArkStorageLinkToPropComponent> {
896
private _entry_local_storage_ = new LocalStorage();
897
__initializeStruct(/**/
899
content?: () => void, initializers?: Partial<ArkStorageLinkToPropComponent>): void {
900
this._state = AppStorageLinkState<string>("key", 'Hello World');
901
this._test = propState<string>(this.state + "!");
903
_state!: MutableState<string>;
904
get state(): string {
905
return this._state!.value;
907
set state(value: string) {
908
this._state!.value = observableProxy(value);
910
_test!: SyncedProperty<string>;
912
return this._test!.value;
914
set test(value: string) {
915
this._test!.value = observableProxy(value);
918
__updateStruct(initializers: Partial<ArkStorageLinkToPropComponent> | undefined): void {
919
this._test.update(initializers?.test);
924
builder: ((instance: ArkStorageLinkToPropComponent) => void) | undefined) {
925
ArkText(undefined, undefined, this.test);
928
class ArkStorageLinkToProvideComponent extends ArkStructBase<ArkStorageLinkToProvideComponent> {
929
private _entry_local_storage_ = new LocalStorage();
930
__initializeStruct(/**/
932
content?: () => void, initializers?: Partial<ArkStorageLinkToProvideComponent>): void {
933
this._state = AppStorageLinkState<string>("key", 'Hello World');
934
this._test = initializers!._test!;
936
_state!: MutableState<string>;
937
get state(): string {
938
return this._state!.value;
940
set state(value: string) {
941
this._state!.value = observableProxy(value);
943
_test!: MutableState<string>;
945
return this._test!.value;
947
set test(value: string) {
948
this._test!.value = observableProxy(value);
953
builder: ((instance: ArkStorageLinkToProvideComponent) => void) | undefined) {
954
ArkText(undefined, undefined, this.test);
957
class ArkStorageLinkToStorageLinkComponent extends ArkStructBase<ArkStorageLinkToStorageLinkComponent> {
958
private _entry_local_storage_ = new LocalStorage();
959
__initializeStruct(/**/
961
content?: () => void, initializers?: Partial<ArkStorageLinkToStorageLinkComponent>): void {
962
this._state = AppStorageLinkState<string>("key", 'Hello World');
963
this._test = AppStorageLinkState<string>("test", this.state + "!");
965
_state!: MutableState<string>;
966
get state(): string {
967
return this._state!.value;
969
set state(value: string) {
970
this._state!.value = observableProxy(value);
972
_test!: MutableState<string>;
974
return this._test!.value;
976
set test(value: string) {
977
this._test!.value = observableProxy(value);
982
builder: ((instance: ArkStorageLinkToStorageLinkComponent) => void) | undefined) {
983
ArkText(undefined, undefined, this.test);
986
class ArkStorageLinkToLocalStorageLinkComponent extends ArkStructBase<ArkStorageLinkToLocalStorageLinkComponent> {
987
private _entry_local_storage_ = new LocalStorage();
988
__initializeStruct(/**/
990
content?: () => void, initializers?: Partial<ArkStorageLinkToLocalStorageLinkComponent>): void {
991
this._state = AppStorageLinkState<string>("key", 'Hello World');
992
this._test = StorageLinkState<string>(this._entry_local_storage_, "test", this.state + "!");
994
_state!: MutableState<string>;
995
get state(): string {
996
return this._state!.value;
998
set state(value: string) {
999
this._state!.value = observableProxy(value);
1001
_test!: MutableState<string>;
1002
get test(): string {
1003
return this._test!.value;
1005
set test(value: string) {
1006
this._test!.value = observableProxy(value);
1011
builder: ((instance: ArkStorageLinkToLocalStorageLinkComponent) => void) | undefined) {
1012
ArkText(undefined, undefined, this.test);
1015
class ArkStorageLinkToStoragePropComponent extends ArkStructBase<ArkStorageLinkToStoragePropComponent> {
1016
private _entry_local_storage_ = new LocalStorage();
1017
__initializeStruct(/**/
1019
content?: () => void, initializers?: Partial<ArkStorageLinkToStoragePropComponent>): void {
1020
this._state = AppStorageLinkState<string>("key", 'Hello World');
1021
this._test = propState<string>(AppStorageLinkState<string>("test", this.state + "!").value);
1023
_state!: MutableState<string>;
1024
get state(): string {
1025
return this._state!.value;
1027
set state(value: string) {
1028
this._state!.value = observableProxy(value);
1030
_test!: SyncedProperty<string>;
1031
get test(): string {
1032
return this._test!.value;
1034
set test(value: string) {
1035
this._test!.value = observableProxy(value);
1038
__updateStruct(initializers: Partial<ArkStorageLinkToStoragePropComponent> | undefined): void {
1039
this._test.update(AppStorageLinkState<string>("test", this.state + "!").value);
1044
builder: ((instance: ArkStorageLinkToStoragePropComponent) => void) | undefined) {
1045
ArkText(undefined, undefined, this.test);
1048
class ArkStorageLinkToLocalStoragePropComponent extends ArkStructBase<ArkStorageLinkToLocalStoragePropComponent> {
1049
private _entry_local_storage_ = new LocalStorage();
1050
__initializeStruct(/**/
1052
content?: () => void, initializers?: Partial<ArkStorageLinkToLocalStoragePropComponent>): void {
1053
this._state = AppStorageLinkState<string>("key", 'Hello World');
1054
this._test = propState<string>(StorageLinkState<string>(this._entry_local_storage_, "test", this.state + "!").value);
1056
_state!: MutableState<string>;
1057
get state(): string {
1058
return this._state!.value;
1060
set state(value: string) {
1061
this._state!.value = observableProxy(value);
1063
_test!: SyncedProperty<string>;
1064
get test(): string {
1065
return this._test!.value;
1067
set test(value: string) {
1068
this._test!.value = observableProxy(value);
1071
__updateStruct(initializers: Partial<ArkStorageLinkToLocalStoragePropComponent> | undefined): void {
1072
this._test.update(StorageLinkState<string>(this._entry_local_storage_, "test", this.state + "!").value);
1077
builder: ((instance: ArkStorageLinkToLocalStoragePropComponent) => void) | undefined) {
1078
ArkText(undefined, undefined, this.test);
1081
class ArkStorageLinkToBuilderParamComponent extends ArkStructBase<ArkStorageLinkToBuilderParamComponent> {
1082
private _entry_local_storage_ = new LocalStorage();
1083
__initializeStruct(/**/
1085
content?: () => void, initializers?: Partial<ArkStorageLinkToBuilderParamComponent>): void {
1086
this._state = AppStorageLinkState<string>("key", 'Hello World');
1087
this._test = initializers?.test ?? (this.state + "!");
1088
if (!this._test && content)
1089
this._test = content;
1091
_state!: MutableState<string>;
1092
get state(): string {
1093
return this._state!.value;
1095
set state(value: string) {
1096
this._state!.value = observableProxy(value);
1101
get test(): string {
1112
builder: ((instance: ArkStorageLinkToBuilderParamComponent) => void) | undefined) {
1113
ArkText(undefined, undefined, this.test);
1116
class ArkStorageLinkToPlainComponent extends ArkStructBase<ArkStorageLinkToPlainComponent> {
1117
private _entry_local_storage_ = new LocalStorage();
1118
__initializeStruct(/**/
1120
content?: () => void, initializers?: Partial<ArkStorageLinkToPlainComponent>): void {
1121
this._state = AppStorageLinkState<string>("key", 'Hello World');
1122
this._test = initializers?.test ?? (this.state + "!");
1124
_state!: MutableState<string>;
1125
get state(): string {
1126
return this._state!.value;
1128
set state(value: string) {
1129
this._state!.value = observableProxy(value);
1132
get test(): string {
1135
set test(value: string) {
1141
builder: ((instance: ArkStorageLinkToPlainComponent) => void) | undefined) {
1142
ArkText(undefined, undefined, this.test);
1145
class ArkLocalStorageLinkToStateComponent extends ArkStructBase<ArkLocalStorageLinkToStateComponent> {
1146
private _entry_local_storage_ = new LocalStorage();
1147
__initializeStruct(/**/
1149
content?: () => void, initializers?: Partial<ArkLocalStorageLinkToStateComponent>): void {
1150
this._state = StorageLinkState<string>(this._entry_local_storage_, "key", 'Hello World');
1151
this._test = stateOf<string>(initializers?.test ?? (this.state + "!"), this);
1153
_state!: MutableState<string>;
1154
get state(): string {
1155
return this._state!.value;
1157
set state(value: string) {
1158
this._state!.value = observableProxy(value);
1160
_test!: MutableState<string>;
1161
get test(): string {
1162
return this._test!.value;
1164
set test(value: string) {
1165
this._test!.value = observableProxy(value);
1170
builder: ((instance: ArkLocalStorageLinkToStateComponent) => void) | undefined) {
1171
ArkText(undefined, undefined, this.test);
1174
class ArkLocalStorageLinkToPropComponent extends ArkStructBase<ArkLocalStorageLinkToPropComponent> {
1175
private _entry_local_storage_ = new LocalStorage();
1176
__initializeStruct(/**/
1178
content?: () => void, initializers?: Partial<ArkLocalStorageLinkToPropComponent>): void {
1179
this._state = StorageLinkState<string>(this._entry_local_storage_, "key", 'Hello World');
1180
this._test = propState<string>(this.state + "!");
1182
_state!: MutableState<string>;
1183
get state(): string {
1184
return this._state!.value;
1186
set state(value: string) {
1187
this._state!.value = observableProxy(value);
1189
_test!: SyncedProperty<string>;
1190
get test(): string {
1191
return this._test!.value;
1193
set test(value: string) {
1194
this._test!.value = observableProxy(value);
1197
__updateStruct(initializers: Partial<ArkLocalStorageLinkToPropComponent> | undefined): void {
1198
this._test.update(initializers?.test);
1203
builder: ((instance: ArkLocalStorageLinkToPropComponent) => void) | undefined) {
1204
ArkText(undefined, undefined, this.test);
1207
class ArkLocalStorageLinkToProvideComponent extends ArkStructBase<ArkLocalStorageLinkToProvideComponent> {
1208
private _entry_local_storage_ = new LocalStorage();
1209
__initializeStruct(/**/
1211
content?: () => void, initializers?: Partial<ArkLocalStorageLinkToProvideComponent>): void {
1212
this._state = StorageLinkState<string>(this._entry_local_storage_, "key", 'Hello World');
1213
this._test = initializers!._test!;
1215
_state!: MutableState<string>;
1216
get state(): string {
1217
return this._state!.value;
1219
set state(value: string) {
1220
this._state!.value = observableProxy(value);
1222
_test!: MutableState<string>;
1223
get test(): string {
1224
return this._test!.value;
1226
set test(value: string) {
1227
this._test!.value = observableProxy(value);
1232
builder: ((instance: ArkLocalStorageLinkToProvideComponent) => void) | undefined) {
1233
ArkText(undefined, undefined, this.test);
1236
class ArkLocalStorageLinkToStorageLinkComponent extends ArkStructBase<ArkLocalStorageLinkToStorageLinkComponent> {
1237
private _entry_local_storage_ = new LocalStorage();
1238
__initializeStruct(/**/
1240
content?: () => void, initializers?: Partial<ArkLocalStorageLinkToStorageLinkComponent>): void {
1241
this._state = StorageLinkState<string>(this._entry_local_storage_, "key", 'Hello World');
1242
this._test = AppStorageLinkState<string>("test", this.state + "!");
1244
_state!: MutableState<string>;
1245
get state(): string {
1246
return this._state!.value;
1248
set state(value: string) {
1249
this._state!.value = observableProxy(value);
1251
_test!: MutableState<string>;
1252
get test(): string {
1253
return this._test!.value;
1255
set test(value: string) {
1256
this._test!.value = observableProxy(value);
1261
builder: ((instance: ArkLocalStorageLinkToStorageLinkComponent) => void) | undefined) {
1262
ArkText(undefined, undefined, this.test);
1265
class ArkLocalStorageLinkToLocalStorageLinkComponent extends ArkStructBase<ArkLocalStorageLinkToLocalStorageLinkComponent> {
1266
private _entry_local_storage_ = new LocalStorage();
1267
__initializeStruct(/**/
1269
content?: () => void, initializers?: Partial<ArkLocalStorageLinkToLocalStorageLinkComponent>): void {
1270
this._state = StorageLinkState<string>(this._entry_local_storage_, "key", 'Hello World');
1271
this._test = StorageLinkState<string>(this._entry_local_storage_, "test", this.state + "!");
1273
_state!: MutableState<string>;
1274
get state(): string {
1275
return this._state!.value;
1277
set state(value: string) {
1278
this._state!.value = observableProxy(value);
1280
_test!: MutableState<string>;
1281
get test(): string {
1282
return this._test!.value;
1284
set test(value: string) {
1285
this._test!.value = observableProxy(value);
1290
builder: ((instance: ArkLocalStorageLinkToLocalStorageLinkComponent) => void) | undefined) {
1291
ArkText(undefined, undefined, this.test);
1294
class ArkLocalStorageLinkToStoragePropComponent extends ArkStructBase<ArkLocalStorageLinkToStoragePropComponent> {
1295
private _entry_local_storage_ = new LocalStorage();
1296
__initializeStruct(/**/
1298
content?: () => void, initializers?: Partial<ArkLocalStorageLinkToStoragePropComponent>): void {
1299
this._state = StorageLinkState<string>(this._entry_local_storage_, "key", 'Hello World');
1300
this._test = propState<string>(AppStorageLinkState<string>("test", this.state + "!").value);
1302
_state!: MutableState<string>;
1303
get state(): string {
1304
return this._state!.value;
1306
set state(value: string) {
1307
this._state!.value = observableProxy(value);
1309
_test!: SyncedProperty<string>;
1310
get test(): string {
1311
return this._test!.value;
1313
set test(value: string) {
1314
this._test!.value = observableProxy(value);
1317
__updateStruct(initializers: Partial<ArkLocalStorageLinkToStoragePropComponent> | undefined): void {
1318
this._test.update(AppStorageLinkState<string>("test", this.state + "!").value);
1323
builder: ((instance: ArkLocalStorageLinkToStoragePropComponent) => void) | undefined) {
1324
ArkText(undefined, undefined, this.test);
1327
class ArkLocalStorageLinkToLocalStoragePropComponent extends ArkStructBase<ArkLocalStorageLinkToLocalStoragePropComponent> {
1328
private _entry_local_storage_ = new LocalStorage();
1329
__initializeStruct(/**/
1331
content?: () => void, initializers?: Partial<ArkLocalStorageLinkToLocalStoragePropComponent>): void {
1332
this._state = StorageLinkState<string>(this._entry_local_storage_, "key", 'Hello World');
1333
this._test = propState<string>(StorageLinkState<string>(this._entry_local_storage_, "test", this.state + "!").value);
1335
_state!: MutableState<string>;
1336
get state(): string {
1337
return this._state!.value;
1339
set state(value: string) {
1340
this._state!.value = observableProxy(value);
1342
_test!: SyncedProperty<string>;
1343
get test(): string {
1344
return this._test!.value;
1346
set test(value: string) {
1347
this._test!.value = observableProxy(value);
1350
__updateStruct(initializers: Partial<ArkLocalStorageLinkToLocalStoragePropComponent> | undefined): void {
1351
this._test.update(StorageLinkState<string>(this._entry_local_storage_, "test", this.state + "!").value);
1356
builder: ((instance: ArkLocalStorageLinkToLocalStoragePropComponent) => void) | undefined) {
1357
ArkText(undefined, undefined, this.test);
1360
class ArkLocalStorageLinkToBuilderParamComponent extends ArkStructBase<ArkLocalStorageLinkToBuilderParamComponent> {
1361
private _entry_local_storage_ = new LocalStorage();
1362
__initializeStruct(/**/
1364
content?: () => void, initializers?: Partial<ArkLocalStorageLinkToBuilderParamComponent>): void {
1365
this._state = StorageLinkState<string>(this._entry_local_storage_, "key", 'Hello World');
1366
this._test = initializers?.test ?? (this.state + "!");
1367
if (!this._test && content)
1368
this._test = content;
1370
_state!: MutableState<string>;
1371
get state(): string {
1372
return this._state!.value;
1374
set state(value: string) {
1375
this._state!.value = observableProxy(value);
1380
get test(): string {
1391
builder: ((instance: ArkLocalStorageLinkToBuilderParamComponent) => void) | undefined) {
1392
ArkText(undefined, undefined, this.test);
1395
class ArkLocalStorageLinkToPlainComponent extends ArkStructBase<ArkLocalStorageLinkToPlainComponent> {
1396
private _entry_local_storage_ = new LocalStorage();
1397
__initializeStruct(/**/
1399
content?: () => void, initializers?: Partial<ArkLocalStorageLinkToPlainComponent>): void {
1400
this._state = StorageLinkState<string>(this._entry_local_storage_, "key", 'Hello World');
1401
this._test = initializers?.test ?? (this.state + "!");
1403
_state!: MutableState<string>;
1404
get state(): string {
1405
return this._state!.value;
1407
set state(value: string) {
1408
this._state!.value = observableProxy(value);
1411
get test(): string {
1414
set test(value: string) {
1420
builder: ((instance: ArkLocalStorageLinkToPlainComponent) => void) | undefined) {
1421
ArkText(undefined, undefined, this.test);
1424
class ArkStoragePropToStateComponent extends ArkStructBase<ArkStoragePropToStateComponent> {
1425
private _entry_local_storage_ = new LocalStorage();
1426
__initializeStruct(/**/
1428
content?: () => void, initializers?: Partial<ArkStoragePropToStateComponent>): void {
1429
this._state = propState<string>(AppStorageLinkState<string>("key", 'Hello World').value);
1430
this._test = stateOf<string>(initializers?.test ?? (this.state + "!"), this);
1432
_state!: SyncedProperty<string>;
1433
get state(): string {
1434
return this._state!.value;
1436
set state(value: string) {
1437
this._state!.value = observableProxy(value);
1439
_test!: MutableState<string>;
1440
get test(): string {
1441
return this._test!.value;
1443
set test(value: string) {
1444
this._test!.value = observableProxy(value);
1447
__updateStruct(initializers: Partial<ArkStoragePropToStateComponent> | undefined): void {
1448
this._state.update(AppStorageLinkState<string>("key", 'Hello World').value);
1453
builder: ((instance: ArkStoragePropToStateComponent) => void) | undefined) {
1454
ArkText(undefined, undefined, this.test);
1457
class ArkStoragePropToPropComponent extends ArkStructBase<ArkStoragePropToPropComponent> {
1458
private _entry_local_storage_ = new LocalStorage();
1459
__initializeStruct(/**/
1461
content?: () => void, initializers?: Partial<ArkStoragePropToPropComponent>): void {
1462
this._state = propState<string>(AppStorageLinkState<string>("key", 'Hello World').value);
1463
this._test = propState<string>(this.state + "!");
1465
_state!: SyncedProperty<string>;
1466
get state(): string {
1467
return this._state!.value;
1469
set state(value: string) {
1470
this._state!.value = observableProxy(value);
1472
_test!: SyncedProperty<string>;
1473
get test(): string {
1474
return this._test!.value;
1476
set test(value: string) {
1477
this._test!.value = observableProxy(value);
1480
__updateStruct(initializers: Partial<ArkStoragePropToPropComponent> | undefined): void {
1481
this._state.update(AppStorageLinkState<string>("key", 'Hello World').value);
1482
this._test.update(initializers?.test);
1487
builder: ((instance: ArkStoragePropToPropComponent) => void) | undefined) {
1488
ArkText(undefined, undefined, this.test);
1491
class ArkStoragePropToProvideComponent extends ArkStructBase<ArkStoragePropToProvideComponent> {
1492
private _entry_local_storage_ = new LocalStorage();
1493
__initializeStruct(/**/
1495
content?: () => void, initializers?: Partial<ArkStoragePropToProvideComponent>): void {
1496
this._state = propState<string>(AppStorageLinkState<string>("key", 'Hello World').value);
1497
this._test = initializers!._test!;
1499
_state!: SyncedProperty<string>;
1500
get state(): string {
1501
return this._state!.value;
1503
set state(value: string) {
1504
this._state!.value = observableProxy(value);
1506
_test!: MutableState<string>;
1507
get test(): string {
1508
return this._test!.value;
1510
set test(value: string) {
1511
this._test!.value = observableProxy(value);
1514
__updateStruct(initializers: Partial<ArkStoragePropToProvideComponent> | undefined): void {
1515
this._state.update(AppStorageLinkState<string>("key", 'Hello World').value);
1520
builder: ((instance: ArkStoragePropToProvideComponent) => void) | undefined) {
1521
ArkText(undefined, undefined, this.test);
1524
class ArkStoragePropToStorageLinkComponent extends ArkStructBase<ArkStoragePropToStorageLinkComponent> {
1525
private _entry_local_storage_ = new LocalStorage();
1526
__initializeStruct(/**/
1528
content?: () => void, initializers?: Partial<ArkStoragePropToStorageLinkComponent>): void {
1529
this._state = propState<string>(AppStorageLinkState<string>("key", 'Hello World').value);
1530
this._test = AppStorageLinkState<string>("test", this.state + "!");
1532
_state!: SyncedProperty<string>;
1533
get state(): string {
1534
return this._state!.value;
1536
set state(value: string) {
1537
this._state!.value = observableProxy(value);
1539
_test!: MutableState<string>;
1540
get test(): string {
1541
return this._test!.value;
1543
set test(value: string) {
1544
this._test!.value = observableProxy(value);
1547
__updateStruct(initializers: Partial<ArkStoragePropToStorageLinkComponent> | undefined): void {
1548
this._state.update(AppStorageLinkState<string>("key", 'Hello World').value);
1553
builder: ((instance: ArkStoragePropToStorageLinkComponent) => void) | undefined) {
1554
ArkText(undefined, undefined, this.test);
1557
class ArkStoragePropToLocalStorageLinkComponent extends ArkStructBase<ArkStoragePropToLocalStorageLinkComponent> {
1558
private _entry_local_storage_ = new LocalStorage();
1559
__initializeStruct(/**/
1561
content?: () => void, initializers?: Partial<ArkStoragePropToLocalStorageLinkComponent>): void {
1562
this._state = propState<string>(AppStorageLinkState<string>("key", 'Hello World').value);
1563
this._test = StorageLinkState<string>(this._entry_local_storage_, "test", this.state + "!");
1565
_state!: SyncedProperty<string>;
1566
get state(): string {
1567
return this._state!.value;
1569
set state(value: string) {
1570
this._state!.value = observableProxy(value);
1572
_test!: MutableState<string>;
1573
get test(): string {
1574
return this._test!.value;
1576
set test(value: string) {
1577
this._test!.value = observableProxy(value);
1580
__updateStruct(initializers: Partial<ArkStoragePropToLocalStorageLinkComponent> | undefined): void {
1581
this._state.update(AppStorageLinkState<string>("key", 'Hello World').value);
1586
builder: ((instance: ArkStoragePropToLocalStorageLinkComponent) => void) | undefined) {
1587
ArkText(undefined, undefined, this.test);
1590
class ArkStoragePropToStoragePropComponent extends ArkStructBase<ArkStoragePropToStoragePropComponent> {
1591
private _entry_local_storage_ = new LocalStorage();
1592
__initializeStruct(/**/
1594
content?: () => void, initializers?: Partial<ArkStoragePropToStoragePropComponent>): void {
1595
this._state = propState<string>(AppStorageLinkState<string>("key", 'Hello World').value);
1596
this._test = propState<string>(AppStorageLinkState<string>("test", this.state + "!").value);
1598
_state!: SyncedProperty<string>;
1599
get state(): string {
1600
return this._state!.value;
1602
set state(value: string) {
1603
this._state!.value = observableProxy(value);
1605
_test!: SyncedProperty<string>;
1606
get test(): string {
1607
return this._test!.value;
1609
set test(value: string) {
1610
this._test!.value = observableProxy(value);
1613
__updateStruct(initializers: Partial<ArkStoragePropToStoragePropComponent> | undefined): void {
1614
this._state.update(AppStorageLinkState<string>("key", 'Hello World').value);
1615
this._test.update(AppStorageLinkState<string>("test", this.state + "!").value);
1620
builder: ((instance: ArkStoragePropToStoragePropComponent) => void) | undefined) {
1621
ArkText(undefined, undefined, this.test);
1624
class ArkStoragePropToLocalStoragePropComponent extends ArkStructBase<ArkStoragePropToLocalStoragePropComponent> {
1625
private _entry_local_storage_ = new LocalStorage();
1626
__initializeStruct(/**/
1628
content?: () => void, initializers?: Partial<ArkStoragePropToLocalStoragePropComponent>): void {
1629
this._state = propState<string>(AppStorageLinkState<string>("key", 'Hello World').value);
1630
this._test = propState<string>(StorageLinkState<string>(this._entry_local_storage_, "test", this.state + "!").value);
1632
_state!: SyncedProperty<string>;
1633
get state(): string {
1634
return this._state!.value;
1636
set state(value: string) {
1637
this._state!.value = observableProxy(value);
1639
_test!: SyncedProperty<string>;
1640
get test(): string {
1641
return this._test!.value;
1643
set test(value: string) {
1644
this._test!.value = observableProxy(value);
1647
__updateStruct(initializers: Partial<ArkStoragePropToLocalStoragePropComponent> | undefined): void {
1648
this._state.update(AppStorageLinkState<string>("key", 'Hello World').value);
1649
this._test.update(StorageLinkState<string>(this._entry_local_storage_, "test", this.state + "!").value);
1654
builder: ((instance: ArkStoragePropToLocalStoragePropComponent) => void) | undefined) {
1655
ArkText(undefined, undefined, this.test);
1658
class ArkStoragePropToBuilderParamComponent extends ArkStructBase<ArkStoragePropToBuilderParamComponent> {
1659
private _entry_local_storage_ = new LocalStorage();
1660
__initializeStruct(/**/
1662
content?: () => void, initializers?: Partial<ArkStoragePropToBuilderParamComponent>): void {
1663
this._state = propState<string>(AppStorageLinkState<string>("key", 'Hello World').value);
1664
this._test = initializers?.test ?? (this.state + "!");
1665
if (!this._test && content)
1666
this._test = content;
1668
_state!: SyncedProperty<string>;
1669
get state(): string {
1670
return this._state!.value;
1672
set state(value: string) {
1673
this._state!.value = observableProxy(value);
1678
get test(): string {
1687
__updateStruct(initializers: Partial<ArkStoragePropToBuilderParamComponent> | undefined): void {
1688
this._state.update(AppStorageLinkState<string>("key", 'Hello World').value);
1693
builder: ((instance: ArkStoragePropToBuilderParamComponent) => void) | undefined) {
1694
ArkText(undefined, undefined, this.test);
1697
class ArkStoragePropToPlainComponent extends ArkStructBase<ArkStoragePropToPlainComponent> {
1698
private _entry_local_storage_ = new LocalStorage();
1699
__initializeStruct(/**/
1701
content?: () => void, initializers?: Partial<ArkStoragePropToPlainComponent>): void {
1702
this._state = propState<string>(AppStorageLinkState<string>("key", 'Hello World').value);
1703
this._test = initializers?.test ?? (this.state + "!");
1705
_state!: SyncedProperty<string>;
1706
get state(): string {
1707
return this._state!.value;
1709
set state(value: string) {
1710
this._state!.value = observableProxy(value);
1713
get test(): string {
1716
set test(value: string) {
1720
__updateStruct(initializers: Partial<ArkStoragePropToPlainComponent> | undefined): void {
1721
this._state.update(AppStorageLinkState<string>("key", 'Hello World').value);
1726
builder: ((instance: ArkStoragePropToPlainComponent) => void) | undefined) {
1727
ArkText(undefined, undefined, this.test);
1730
class ArkLocalStoragePropToStateComponent extends ArkStructBase<ArkLocalStoragePropToStateComponent> {
1731
private _entry_local_storage_ = new LocalStorage();
1732
__initializeStruct(/**/
1734
content?: () => void, initializers?: Partial<ArkLocalStoragePropToStateComponent>): void {
1735
this._state = propState<string>(StorageLinkState<string>(this._entry_local_storage_, "key", 'Hello World').value);
1736
this._test = stateOf<string>(initializers?.test ?? (this.state + "!"), this);
1738
_state!: SyncedProperty<string>;
1739
get state(): string {
1740
return this._state!.value;
1742
set state(value: string) {
1743
this._state!.value = observableProxy(value);
1745
_test!: MutableState<string>;
1746
get test(): string {
1747
return this._test!.value;
1749
set test(value: string) {
1750
this._test!.value = observableProxy(value);
1753
__updateStruct(initializers: Partial<ArkLocalStoragePropToStateComponent> | undefined): void {
1754
this._state.update(StorageLinkState<string>(this._entry_local_storage_, "key", 'Hello World').value);
1759
builder: ((instance: ArkLocalStoragePropToStateComponent) => void) | undefined) {
1760
ArkText(undefined, undefined, this.test);
1763
class ArkLocalStoragePropToPropComponent extends ArkStructBase<ArkLocalStoragePropToPropComponent> {
1764
private _entry_local_storage_ = new LocalStorage();
1765
__initializeStruct(/**/
1767
content?: () => void, initializers?: Partial<ArkLocalStoragePropToPropComponent>): void {
1768
this._state = propState<string>(StorageLinkState<string>(this._entry_local_storage_, "key", 'Hello World').value);
1769
this._test = propState<string>(this.state + "!");
1771
_state!: SyncedProperty<string>;
1772
get state(): string {
1773
return this._state!.value;
1775
set state(value: string) {
1776
this._state!.value = observableProxy(value);
1778
_test!: SyncedProperty<string>;
1779
get test(): string {
1780
return this._test!.value;
1782
set test(value: string) {
1783
this._test!.value = observableProxy(value);
1786
__updateStruct(initializers: Partial<ArkLocalStoragePropToPropComponent> | undefined): void {
1787
this._state.update(StorageLinkState<string>(this._entry_local_storage_, "key", 'Hello World').value);
1788
this._test.update(initializers?.test);
1793
builder: ((instance: ArkLocalStoragePropToPropComponent) => void) | undefined) {
1794
ArkText(undefined, undefined, this.test);
1797
class ArkLocalStoragePropToProvideComponent extends ArkStructBase<ArkLocalStoragePropToProvideComponent> {
1798
private _entry_local_storage_ = new LocalStorage();
1799
__initializeStruct(/**/
1801
content?: () => void, initializers?: Partial<ArkLocalStoragePropToProvideComponent>): void {
1802
this._state = propState<string>(StorageLinkState<string>(this._entry_local_storage_, "key", 'Hello World').value);
1803
this._test = initializers!._test!;
1805
_state!: SyncedProperty<string>;
1806
get state(): string {
1807
return this._state!.value;
1809
set state(value: string) {
1810
this._state!.value = observableProxy(value);
1812
_test!: MutableState<string>;
1813
get test(): string {
1814
return this._test!.value;
1816
set test(value: string) {
1817
this._test!.value = observableProxy(value);
1820
__updateStruct(initializers: Partial<ArkLocalStoragePropToProvideComponent> | undefined): void {
1821
this._state.update(StorageLinkState<string>(this._entry_local_storage_, "key", 'Hello World').value);
1826
builder: ((instance: ArkLocalStoragePropToProvideComponent) => void) | undefined) {
1827
ArkText(undefined, undefined, this.test);
1830
class ArkLocalStoragePropToStorageLinkComponent extends ArkStructBase<ArkLocalStoragePropToStorageLinkComponent> {
1831
private _entry_local_storage_ = new LocalStorage();
1832
__initializeStruct(/**/
1834
content?: () => void, initializers?: Partial<ArkLocalStoragePropToStorageLinkComponent>): void {
1835
this._state = propState<string>(StorageLinkState<string>(this._entry_local_storage_, "key", 'Hello World').value);
1836
this._test = AppStorageLinkState<string>("test", this.state + "!");
1838
_state!: SyncedProperty<string>;
1839
get state(): string {
1840
return this._state!.value;
1842
set state(value: string) {
1843
this._state!.value = observableProxy(value);
1845
_test!: MutableState<string>;
1846
get test(): string {
1847
return this._test!.value;
1849
set test(value: string) {
1850
this._test!.value = observableProxy(value);
1853
__updateStruct(initializers: Partial<ArkLocalStoragePropToStorageLinkComponent> | undefined): void {
1854
this._state.update(StorageLinkState<string>(this._entry_local_storage_, "key", 'Hello World').value);
1859
builder: ((instance: ArkLocalStoragePropToStorageLinkComponent) => void) | undefined) {
1860
ArkText(undefined, undefined, this.test);
1863
class ArkLocalStoragePropToLocalStorageLinkComponent extends ArkStructBase<ArkLocalStoragePropToLocalStorageLinkComponent> {
1864
private _entry_local_storage_ = new LocalStorage();
1865
__initializeStruct(/**/
1867
content?: () => void, initializers?: Partial<ArkLocalStoragePropToLocalStorageLinkComponent>): void {
1868
this._state = propState<string>(StorageLinkState<string>(this._entry_local_storage_, "key", 'Hello World').value);
1869
this._test = StorageLinkState<string>(this._entry_local_storage_, "test", this.state + "!");
1871
_state!: SyncedProperty<string>;
1872
get state(): string {
1873
return this._state!.value;
1875
set state(value: string) {
1876
this._state!.value = observableProxy(value);
1878
_test!: MutableState<string>;
1879
get test(): string {
1880
return this._test!.value;
1882
set test(value: string) {
1883
this._test!.value = observableProxy(value);
1886
__updateStruct(initializers: Partial<ArkLocalStoragePropToLocalStorageLinkComponent> | undefined): void {
1887
this._state.update(StorageLinkState<string>(this._entry_local_storage_, "key", 'Hello World').value);
1892
builder: ((instance: ArkLocalStoragePropToLocalStorageLinkComponent) => void) | undefined) {
1893
ArkText(undefined, undefined, this.test);
1896
class ArkLocalStoragePropToStoragePropComponent extends ArkStructBase<ArkLocalStoragePropToStoragePropComponent> {
1897
private _entry_local_storage_ = new LocalStorage();
1898
__initializeStruct(/**/
1900
content?: () => void, initializers?: Partial<ArkLocalStoragePropToStoragePropComponent>): void {
1901
this._state = propState<string>(StorageLinkState<string>(this._entry_local_storage_, "key", 'Hello World').value);
1902
this._test = propState<string>(AppStorageLinkState<string>("test", this.state + "!").value);
1904
_state!: SyncedProperty<string>;
1905
get state(): string {
1906
return this._state!.value;
1908
set state(value: string) {
1909
this._state!.value = observableProxy(value);
1911
_test!: SyncedProperty<string>;
1912
get test(): string {
1913
return this._test!.value;
1915
set test(value: string) {
1916
this._test!.value = observableProxy(value);
1919
__updateStruct(initializers: Partial<ArkLocalStoragePropToStoragePropComponent> | undefined): void {
1920
this._state.update(StorageLinkState<string>(this._entry_local_storage_, "key", 'Hello World').value);
1921
this._test.update(AppStorageLinkState<string>("test", this.state + "!").value);
1926
builder: ((instance: ArkLocalStoragePropToStoragePropComponent) => void) | undefined) {
1927
ArkText(undefined, undefined, this.test);
1930
class ArkLocalStoragePropToLocalStoragePropComponent extends ArkStructBase<ArkLocalStoragePropToLocalStoragePropComponent> {
1931
private _entry_local_storage_ = new LocalStorage();
1932
__initializeStruct(/**/
1934
content?: () => void, initializers?: Partial<ArkLocalStoragePropToLocalStoragePropComponent>): void {
1935
this._state = propState<string>(StorageLinkState<string>(this._entry_local_storage_, "key", 'Hello World').value);
1936
this._test = propState<string>(StorageLinkState<string>(this._entry_local_storage_, "test", this.state + "!").value);
1938
_state!: SyncedProperty<string>;
1939
get state(): string {
1940
return this._state!.value;
1942
set state(value: string) {
1943
this._state!.value = observableProxy(value);
1945
_test!: SyncedProperty<string>;
1946
get test(): string {
1947
return this._test!.value;
1949
set test(value: string) {
1950
this._test!.value = observableProxy(value);
1953
__updateStruct(initializers: Partial<ArkLocalStoragePropToLocalStoragePropComponent> | undefined): void {
1954
this._state.update(StorageLinkState<string>(this._entry_local_storage_, "key", 'Hello World').value);
1955
this._test.update(StorageLinkState<string>(this._entry_local_storage_, "test", this.state + "!").value);
1960
builder: ((instance: ArkLocalStoragePropToLocalStoragePropComponent) => void) | undefined) {
1961
ArkText(undefined, undefined, this.test);
1964
class ArkLocalStoragePropToBuilderParamComponent extends ArkStructBase<ArkLocalStoragePropToBuilderParamComponent> {
1965
private _entry_local_storage_ = new LocalStorage();
1966
__initializeStruct(/**/
1968
content?: () => void, initializers?: Partial<ArkLocalStoragePropToBuilderParamComponent>): void {
1969
this._state = propState<string>(StorageLinkState<string>(this._entry_local_storage_, "key", 'Hello World').value);
1970
this._test = initializers?.test ?? (this.state + "!");
1971
if (!this._test && content)
1972
this._test = content;
1974
_state!: SyncedProperty<string>;
1975
get state(): string {
1976
return this._state!.value;
1978
set state(value: string) {
1979
this._state!.value = observableProxy(value);
1984
get test(): string {
1993
__updateStruct(initializers: Partial<ArkLocalStoragePropToBuilderParamComponent> | undefined): void {
1994
this._state.update(StorageLinkState<string>(this._entry_local_storage_, "key", 'Hello World').value);
1999
builder: ((instance: ArkLocalStoragePropToBuilderParamComponent) => void) | undefined) {
2000
ArkText(undefined, undefined, this.test);
2003
class ArkLocalStoragePropToPlainComponent extends ArkStructBase<ArkLocalStoragePropToPlainComponent> {
2004
private _entry_local_storage_ = new LocalStorage();
2005
__initializeStruct(/**/
2007
content?: () => void, initializers?: Partial<ArkLocalStoragePropToPlainComponent>): void {
2008
this._state = propState<string>(StorageLinkState<string>(this._entry_local_storage_, "key", 'Hello World').value);
2009
this._test = initializers?.test ?? (this.state + "!");
2011
_state!: SyncedProperty<string>;
2012
get state(): string {
2013
return this._state!.value;
2015
set state(value: string) {
2016
this._state!.value = observableProxy(value);
2019
get test(): string {
2022
set test(value: string) {
2026
__updateStruct(initializers: Partial<ArkLocalStoragePropToPlainComponent> | undefined): void {
2027
this._state.update(StorageLinkState<string>(this._entry_local_storage_, "key", 'Hello World').value);
2032
builder: ((instance: ArkLocalStoragePropToPlainComponent) => void) | undefined) {
2033
ArkText(undefined, undefined, this.test);
2036
class ArkBuilderParamToStateComponent extends ArkStructBase<ArkBuilderParamToStateComponent> {
2037
private _entry_local_storage_ = new LocalStorage();
2038
__initializeStruct(/**/
2040
content?: () => void, initializers?: Partial<ArkBuilderParamToStateComponent>): void {
2041
this._state = initializers?.state ?? ('Hello World');
2042
this._test = stateOf<string>(initializers?.test ?? (this.state + "!"), this);
2043
if (!this._state && content)
2044
this._state = content;
2049
get state(): string {
2055
this._state = value;
2057
_test!: MutableState<string>;
2058
get test(): string {
2059
return this._test!.value;
2061
set test(value: string) {
2062
this._test!.value = observableProxy(value);
2067
builder: ((instance: ArkBuilderParamToStateComponent) => void) | undefined) {
2068
ArkText(undefined, undefined, this.test);
2071
class ArkBuilderParamToPropComponent extends ArkStructBase<ArkBuilderParamToPropComponent> {
2072
private _entry_local_storage_ = new LocalStorage();
2073
__initializeStruct(/**/
2075
content?: () => void, initializers?: Partial<ArkBuilderParamToPropComponent>): void {
2076
this._state = initializers?.state ?? ('Hello World');
2077
this._test = propState<string>(this.state + "!");
2078
if (!this._state && content)
2079
this._state = content;
2084
get state(): string {
2090
this._state = value;
2092
_test!: SyncedProperty<string>;
2093
get test(): string {
2094
return this._test!.value;
2096
set test(value: string) {
2097
this._test!.value = observableProxy(value);
2100
__updateStruct(initializers: Partial<ArkBuilderParamToPropComponent> | undefined): void {
2101
this._test.update(initializers?.test);
2106
builder: ((instance: ArkBuilderParamToPropComponent) => void) | undefined) {
2107
ArkText(undefined, undefined, this.test);
2110
class ArkBuilderParamToProvideComponent extends ArkStructBase<ArkBuilderParamToProvideComponent> {
2111
private _entry_local_storage_ = new LocalStorage();
2112
__initializeStruct(/**/
2114
content?: () => void, initializers?: Partial<ArkBuilderParamToProvideComponent>): void {
2115
this._state = initializers?.state ?? ('Hello World');
2116
this._test = initializers!._test!;
2117
if (!this._state && content)
2118
this._state = content;
2123
get state(): string {
2129
this._state = value;
2131
_test!: MutableState<string>;
2132
get test(): string {
2133
return this._test!.value;
2135
set test(value: string) {
2136
this._test!.value = observableProxy(value);
2141
builder: ((instance: ArkBuilderParamToProvideComponent) => void) | undefined) {
2142
ArkText(undefined, undefined, this.test);
2145
class ArkBuilderParamToStorageLinkComponent extends ArkStructBase<ArkBuilderParamToStorageLinkComponent> {
2146
private _entry_local_storage_ = new LocalStorage();
2147
__initializeStruct(/**/
2149
content?: () => void, initializers?: Partial<ArkBuilderParamToStorageLinkComponent>): void {
2150
this._state = initializers?.state ?? ('Hello World');
2151
this._test = AppStorageLinkState<string>("test", this.state + "!");
2152
if (!this._state && content)
2153
this._state = content;
2158
get state(): string {
2164
this._state = value;
2166
_test!: MutableState<string>;
2167
get test(): string {
2168
return this._test!.value;
2170
set test(value: string) {
2171
this._test!.value = observableProxy(value);
2176
builder: ((instance: ArkBuilderParamToStorageLinkComponent) => void) | undefined) {
2177
ArkText(undefined, undefined, this.test);
2180
class ArkBuilderParamToLocalStorageLinkComponent extends ArkStructBase<ArkBuilderParamToLocalStorageLinkComponent> {
2181
private _entry_local_storage_ = new LocalStorage();
2182
__initializeStruct(/**/
2184
content?: () => void, initializers?: Partial<ArkBuilderParamToLocalStorageLinkComponent>): void {
2185
this._state = initializers?.state ?? ('Hello World');
2186
this._test = StorageLinkState<string>(this._entry_local_storage_, "test", this.state + "!");
2187
if (!this._state && content)
2188
this._state = content;
2193
get state(): string {
2199
this._state = value;
2201
_test!: MutableState<string>;
2202
get test(): string {
2203
return this._test!.value;
2205
set test(value: string) {
2206
this._test!.value = observableProxy(value);
2211
builder: ((instance: ArkBuilderParamToLocalStorageLinkComponent) => void) | undefined) {
2212
ArkText(undefined, undefined, this.test);
2215
class ArkBuilderParamToStoragePropComponent extends ArkStructBase<ArkBuilderParamToStoragePropComponent> {
2216
private _entry_local_storage_ = new LocalStorage();
2217
__initializeStruct(/**/
2219
content?: () => void, initializers?: Partial<ArkBuilderParamToStoragePropComponent>): void {
2220
this._state = initializers?.state ?? ('Hello World');
2221
this._test = propState<string>(AppStorageLinkState<string>("test", this.state + "!").value);
2222
if (!this._state && content)
2223
this._state = content;
2228
get state(): string {
2234
this._state = value;
2236
_test!: SyncedProperty<string>;
2237
get test(): string {
2238
return this._test!.value;
2240
set test(value: string) {
2241
this._test!.value = observableProxy(value);
2244
__updateStruct(initializers: Partial<ArkBuilderParamToStoragePropComponent> | undefined): void {
2245
this._test.update(AppStorageLinkState<string>("test", this.state + "!").value);
2250
builder: ((instance: ArkBuilderParamToStoragePropComponent) => void) | undefined) {
2251
ArkText(undefined, undefined, this.test);
2254
class ArkBuilderParamToLocalStoragePropComponent extends ArkStructBase<ArkBuilderParamToLocalStoragePropComponent> {
2255
private _entry_local_storage_ = new LocalStorage();
2256
__initializeStruct(/**/
2258
content?: () => void, initializers?: Partial<ArkBuilderParamToLocalStoragePropComponent>): void {
2259
this._state = initializers?.state ?? ('Hello World');
2260
this._test = propState<string>(StorageLinkState<string>(this._entry_local_storage_, "test", this.state + "!").value);
2261
if (!this._state && content)
2262
this._state = content;
2267
get state(): string {
2273
this._state = value;
2275
_test!: SyncedProperty<string>;
2276
get test(): string {
2277
return this._test!.value;
2279
set test(value: string) {
2280
this._test!.value = observableProxy(value);
2283
__updateStruct(initializers: Partial<ArkBuilderParamToLocalStoragePropComponent> | undefined): void {
2284
this._test.update(StorageLinkState<string>(this._entry_local_storage_, "test", this.state + "!").value);
2289
builder: ((instance: ArkBuilderParamToLocalStoragePropComponent) => void) | undefined) {
2290
ArkText(undefined, undefined, this.test);
2293
class ArkBuilderParamToBuilderParamComponent extends ArkStructBase<ArkBuilderParamToBuilderParamComponent> {
2294
private _entry_local_storage_ = new LocalStorage();
2295
__initializeStruct(/**/
2297
content?: () => void, initializers?: Partial<ArkBuilderParamToBuilderParamComponent>): void {
2298
this._state = initializers?.state ?? ('Hello World');
2299
this._test = initializers?.test ?? (this.state + "!");
2300
if (!this._state && content)
2301
this._state = content;
2306
get state(): string {
2312
this._state = value;
2317
get test(): string {
2328
builder: ((instance: ArkBuilderParamToBuilderParamComponent) => void) | undefined) {
2329
ArkText(undefined, undefined, this.test);
2332
class ArkBuilderParamToPlainComponent extends ArkStructBase<ArkBuilderParamToPlainComponent> {
2333
private _entry_local_storage_ = new LocalStorage();
2334
__initializeStruct(/**/
2336
content?: () => void, initializers?: Partial<ArkBuilderParamToPlainComponent>): void {
2337
this._state = initializers?.state ?? ('Hello World');
2338
this._test = initializers?.test ?? (this.state + "!");
2339
if (!this._state && content)
2340
this._state = content;
2345
get state(): string {
2351
this._state = value;
2354
get test(): string {
2357
set test(value: string) {
2363
builder: ((instance: ArkBuilderParamToPlainComponent) => void) | undefined) {
2364
ArkText(undefined, undefined, this.test);
2367
class ArkPlainToStateComponent extends ArkStructBase<ArkPlainToStateComponent> {
2368
private _entry_local_storage_ = new LocalStorage();
2369
__initializeStruct(/**/
2371
content?: () => void, initializers?: Partial<ArkPlainToStateComponent>): void {
2372
this._state = initializers?.state ?? ('Hello World');
2373
this._test = stateOf<string>(initializers?.test ?? (this.state + "!"), this);
2376
get state(): string {
2379
set state(value: string) {
2380
this._state = value;
2382
_test!: MutableState<string>;
2383
get test(): string {
2384
return this._test!.value;
2386
set test(value: string) {
2387
this._test!.value = observableProxy(value);
2392
builder: ((instance: ArkPlainToStateComponent) => void) | undefined) {
2393
ArkText(undefined, undefined, this.test);
2396
class ArkPlainToPropComponent extends ArkStructBase<ArkPlainToPropComponent> {
2397
private _entry_local_storage_ = new LocalStorage();
2398
__initializeStruct(/**/
2400
content?: () => void, initializers?: Partial<ArkPlainToPropComponent>): void {
2401
this._state = initializers?.state ?? ('Hello World');
2402
this._test = propState<string>(this.state + "!");
2405
get state(): string {
2408
set state(value: string) {
2409
this._state = value;
2411
_test!: SyncedProperty<string>;
2412
get test(): string {
2413
return this._test!.value;
2415
set test(value: string) {
2416
this._test!.value = observableProxy(value);
2419
__updateStruct(initializers: Partial<ArkPlainToPropComponent> | undefined): void {
2420
this._test.update(initializers?.test);
2425
builder: ((instance: ArkPlainToPropComponent) => void) | undefined) {
2426
ArkText(undefined, undefined, this.test);
2429
class ArkPlainToProvideComponent extends ArkStructBase<ArkPlainToProvideComponent> {
2430
private _entry_local_storage_ = new LocalStorage();
2431
__initializeStruct(/**/
2433
content?: () => void, initializers?: Partial<ArkPlainToProvideComponent>): void {
2434
this._state = initializers?.state ?? ('Hello World');
2435
this._test = initializers!._test!;
2438
get state(): string {
2441
set state(value: string) {
2442
this._state = value;
2444
_test!: MutableState<string>;
2445
get test(): string {
2446
return this._test!.value;
2448
set test(value: string) {
2449
this._test!.value = observableProxy(value);
2454
builder: ((instance: ArkPlainToProvideComponent) => void) | undefined) {
2455
ArkText(undefined, undefined, this.test);
2458
class ArkPlainToStorageLinkComponent extends ArkStructBase<ArkPlainToStorageLinkComponent> {
2459
private _entry_local_storage_ = new LocalStorage();
2460
__initializeStruct(/**/
2462
content?: () => void, initializers?: Partial<ArkPlainToStorageLinkComponent>): void {
2463
this._state = initializers?.state ?? ('Hello World');
2464
this._test = AppStorageLinkState<string>("test", this.state + "!");
2467
get state(): string {
2470
set state(value: string) {
2471
this._state = value;
2473
_test!: MutableState<string>;
2474
get test(): string {
2475
return this._test!.value;
2477
set test(value: string) {
2478
this._test!.value = observableProxy(value);
2483
builder: ((instance: ArkPlainToStorageLinkComponent) => void) | undefined) {
2484
ArkText(undefined, undefined, this.test);
2487
class ArkPlainToLocalStorageLinkComponent extends ArkStructBase<ArkPlainToLocalStorageLinkComponent> {
2488
private _entry_local_storage_ = new LocalStorage();
2489
__initializeStruct(/**/
2491
content?: () => void, initializers?: Partial<ArkPlainToLocalStorageLinkComponent>): void {
2492
this._state = initializers?.state ?? ('Hello World');
2493
this._test = StorageLinkState<string>(this._entry_local_storage_, "test", this.state + "!");
2496
get state(): string {
2499
set state(value: string) {
2500
this._state = value;
2502
_test!: MutableState<string>;
2503
get test(): string {
2504
return this._test!.value;
2506
set test(value: string) {
2507
this._test!.value = observableProxy(value);
2512
builder: ((instance: ArkPlainToLocalStorageLinkComponent) => void) | undefined) {
2513
ArkText(undefined, undefined, this.test);
2516
class ArkPlainToStoragePropComponent extends ArkStructBase<ArkPlainToStoragePropComponent> {
2517
private _entry_local_storage_ = new LocalStorage();
2518
__initializeStruct(/**/
2520
content?: () => void, initializers?: Partial<ArkPlainToStoragePropComponent>): void {
2521
this._state = initializers?.state ?? ('Hello World');
2522
this._test = propState<string>(AppStorageLinkState<string>("test", this.state + "!").value);
2525
get state(): string {
2528
set state(value: string) {
2529
this._state = value;
2531
_test!: SyncedProperty<string>;
2532
get test(): string {
2533
return this._test!.value;
2535
set test(value: string) {
2536
this._test!.value = observableProxy(value);
2539
__updateStruct(initializers: Partial<ArkPlainToStoragePropComponent> | undefined): void {
2540
this._test.update(AppStorageLinkState<string>("test", this.state + "!").value);
2545
builder: ((instance: ArkPlainToStoragePropComponent) => void) | undefined) {
2546
ArkText(undefined, undefined, this.test);
2549
class ArkPlainToLocalStoragePropComponent extends ArkStructBase<ArkPlainToLocalStoragePropComponent> {
2550
private _entry_local_storage_ = new LocalStorage();
2551
__initializeStruct(/**/
2553
content?: () => void, initializers?: Partial<ArkPlainToLocalStoragePropComponent>): void {
2554
this._state = initializers?.state ?? ('Hello World');
2555
this._test = propState<string>(StorageLinkState<string>(this._entry_local_storage_, "test", this.state + "!").value);
2558
get state(): string {
2561
set state(value: string) {
2562
this._state = value;
2564
_test!: SyncedProperty<string>;
2565
get test(): string {
2566
return this._test!.value;
2568
set test(value: string) {
2569
this._test!.value = observableProxy(value);
2572
__updateStruct(initializers: Partial<ArkPlainToLocalStoragePropComponent> | undefined): void {
2573
this._test.update(StorageLinkState<string>(this._entry_local_storage_, "test", this.state + "!").value);
2578
builder: ((instance: ArkPlainToLocalStoragePropComponent) => void) | undefined) {
2579
ArkText(undefined, undefined, this.test);
2582
class ArkPlainToBuilderParamComponent extends ArkStructBase<ArkPlainToBuilderParamComponent> {
2583
private _entry_local_storage_ = new LocalStorage();
2584
__initializeStruct(/**/
2586
content?: () => void, initializers?: Partial<ArkPlainToBuilderParamComponent>): void {
2587
this._state = initializers?.state ?? ('Hello World');
2588
this._test = initializers?.test ?? (this.state + "!");
2589
if (!this._test && content)
2590
this._test = content;
2593
get state(): string {
2596
set state(value: string) {
2597
this._state = value;
2602
get test(): string {
2613
builder: ((instance: ArkPlainToBuilderParamComponent) => void) | undefined) {
2614
ArkText(undefined, undefined, this.test);
2617
class ArkPlainToPlainComponent extends ArkStructBase<ArkPlainToPlainComponent> {
2618
private _entry_local_storage_ = new LocalStorage();
2619
__initializeStruct(/**/
2621
content?: () => void, initializers?: Partial<ArkPlainToPlainComponent>): void {
2622
this._state = initializers?.state ?? ('Hello World');
2623
this._test = initializers?.test ?? (this.state + "!");
2626
get state(): string {
2629
set state(value: string) {
2630
this._state = value;
2633
get test(): string {
2636
set test(value: string) {
2642
builder: ((instance: ArkPlainToPlainComponent) => void) | undefined) {
2643
ArkText(undefined, undefined, this.test);
2647
export function StateToState(style?: any, /**/
2649
content?: () => void, initializers?: Partial<ArkStateToStateComponent>): ArkStateToStateComponent {
2650
return ArkStateToStateComponent._instantiate(style, () => new ArkStateToStateComponent, content, initializers);
2653
export function StateToProp(style?: any, /**/
2655
content?: () => void, initializers?: Partial<ArkStateToPropComponent>): ArkStateToPropComponent {
2656
return ArkStateToPropComponent._instantiate(style, () => new ArkStateToPropComponent, content, initializers);
2659
export function StateToProvide(style?: any, /**/
2661
content?: () => void, initializers?: Partial<ArkStateToProvideComponent>): ArkStateToProvideComponent {
2662
const __provide_test = contextLocalStateOf<string>("test", () => this.state + "!");
2663
return ArkStateToProvideComponent._instantiate(style, () => new ArkStateToProvideComponent, content, {
2664
_test: __provide_test,
2669
export function StateToStorageLink(style?: any, /**/
2671
content?: () => void, initializers?: Partial<ArkStateToStorageLinkComponent>): ArkStateToStorageLinkComponent {
2672
return ArkStateToStorageLinkComponent._instantiate(style, () => new ArkStateToStorageLinkComponent, content, initializers);
2675
export function StateToLocalStorageLink(style?: any, /**/
2677
content?: () => void, initializers?: Partial<ArkStateToLocalStorageLinkComponent>): ArkStateToLocalStorageLinkComponent {
2678
return ArkStateToLocalStorageLinkComponent._instantiate(style, () => new ArkStateToLocalStorageLinkComponent, content, initializers);
2681
export function StateToStorageProp(style?: any, /**/
2683
content?: () => void, initializers?: Partial<ArkStateToStoragePropComponent>): ArkStateToStoragePropComponent {
2684
return ArkStateToStoragePropComponent._instantiate(style, () => new ArkStateToStoragePropComponent, content, initializers);
2687
export function StateToLocalStorageProp(style?: any, /**/
2689
content?: () => void, initializers?: Partial<ArkStateToLocalStoragePropComponent>): ArkStateToLocalStoragePropComponent {
2690
return ArkStateToLocalStoragePropComponent._instantiate(style, () => new ArkStateToLocalStoragePropComponent, content, initializers);
2693
export function StateToBuilderParam(style?: any, /**/
2695
content?: () => void, initializers?: Partial<ArkStateToBuilderParamComponent>): ArkStateToBuilderParamComponent {
2696
return ArkStateToBuilderParamComponent._instantiate(style, () => new ArkStateToBuilderParamComponent, content, initializers);
2699
export function StateToPlain(style?: any, /**/
2701
content?: () => void, initializers?: Partial<ArkStateToPlainComponent>): ArkStateToPlainComponent {
2702
return ArkStateToPlainComponent._instantiate(style, () => new ArkStateToPlainComponent, content, initializers);
2705
export function PropToState(style?: any, /**/
2707
content?: () => void, initializers?: Partial<ArkPropToStateComponent>): ArkPropToStateComponent {
2708
return ArkPropToStateComponent._instantiate(style, () => new ArkPropToStateComponent, content, initializers);
2711
export function PropToProp(style?: any, /**/
2713
content?: () => void, initializers?: Partial<ArkPropToPropComponent>): ArkPropToPropComponent {
2714
return ArkPropToPropComponent._instantiate(style, () => new ArkPropToPropComponent, content, initializers);
2717
export function PropToProvide(style?: any, /**/
2719
content?: () => void, initializers?: Partial<ArkPropToProvideComponent>): ArkPropToProvideComponent {
2720
const __provide_test = contextLocalStateOf<string>("test", () => this.state + "!");
2721
return ArkPropToProvideComponent._instantiate(style, () => new ArkPropToProvideComponent, content, {
2722
_test: __provide_test,
2727
export function PropToStorageLink(style?: any, /**/
2729
content?: () => void, initializers?: Partial<ArkPropToStorageLinkComponent>): ArkPropToStorageLinkComponent {
2730
return ArkPropToStorageLinkComponent._instantiate(style, () => new ArkPropToStorageLinkComponent, content, initializers);
2733
export function PropToLocalStorageLink(style?: any, /**/
2735
content?: () => void, initializers?: Partial<ArkPropToLocalStorageLinkComponent>): ArkPropToLocalStorageLinkComponent {
2736
return ArkPropToLocalStorageLinkComponent._instantiate(style, () => new ArkPropToLocalStorageLinkComponent, content, initializers);
2739
export function PropToStorageProp(style?: any, /**/
2741
content?: () => void, initializers?: Partial<ArkPropToStoragePropComponent>): ArkPropToStoragePropComponent {
2742
return ArkPropToStoragePropComponent._instantiate(style, () => new ArkPropToStoragePropComponent, content, initializers);
2745
export function PropToLocalStorageProp(style?: any, /**/
2747
content?: () => void, initializers?: Partial<ArkPropToLocalStoragePropComponent>): ArkPropToLocalStoragePropComponent {
2748
return ArkPropToLocalStoragePropComponent._instantiate(style, () => new ArkPropToLocalStoragePropComponent, content, initializers);
2751
export function PropToBuilderParam(style?: any, /**/
2753
content?: () => void, initializers?: Partial<ArkPropToBuilderParamComponent>): ArkPropToBuilderParamComponent {
2754
return ArkPropToBuilderParamComponent._instantiate(style, () => new ArkPropToBuilderParamComponent, content, initializers);
2757
export function PropToPlain(style?: any, /**/
2759
content?: () => void, initializers?: Partial<ArkPropToPlainComponent>): ArkPropToPlainComponent {
2760
return ArkPropToPlainComponent._instantiate(style, () => new ArkPropToPlainComponent, content, initializers);
2763
export function ProvideToState(style?: any, /**/
2765
content?: () => void, initializers?: Partial<ArkProvideToStateComponent>): ArkProvideToStateComponent {
2766
const __provide_state = contextLocalStateOf<string>("state", () => 'Hello World');
2767
return ArkProvideToStateComponent._instantiate(style, () => new ArkProvideToStateComponent, content, {
2768
_state: __provide_state,
2773
export function ProvideToProp(style?: any, /**/
2775
content?: () => void, initializers?: Partial<ArkProvideToPropComponent>): ArkProvideToPropComponent {
2776
const __provide_state = contextLocalStateOf<string>("state", () => 'Hello World');
2777
return ArkProvideToPropComponent._instantiate(style, () => new ArkProvideToPropComponent, content, {
2778
_state: __provide_state,
2783
export function ProvideToProvide(style?: any, /**/
2785
content?: () => void, initializers?: Partial<ArkProvideToProvideComponent>): ArkProvideToProvideComponent {
2786
const __provide_state = contextLocalStateOf<string>("state", () => 'Hello World');
2787
const __provide_test = contextLocalStateOf<string>("test", () => this.state + "!");
2788
return ArkProvideToProvideComponent._instantiate(style, () => new ArkProvideToProvideComponent, content, {
2789
_state: __provide_state,
2790
_test: __provide_test,
2795
export function ProvideToStorageLink(style?: any, /**/
2797
content?: () => void, initializers?: Partial<ArkProvideToStorageLinkComponent>): ArkProvideToStorageLinkComponent {
2798
const __provide_state = contextLocalStateOf<string>("state", () => 'Hello World');
2799
return ArkProvideToStorageLinkComponent._instantiate(style, () => new ArkProvideToStorageLinkComponent, content, {
2800
_state: __provide_state,
2805
export function ProvideToLocalStorageLink(style?: any, /**/
2807
content?: () => void, initializers?: Partial<ArkProvideToLocalStorageLinkComponent>): ArkProvideToLocalStorageLinkComponent {
2808
const __provide_state = contextLocalStateOf<string>("state", () => 'Hello World');
2809
return ArkProvideToLocalStorageLinkComponent._instantiate(style, () => new ArkProvideToLocalStorageLinkComponent, content, {
2810
_state: __provide_state,
2815
export function ProvideToStorageProp(style?: any, /**/
2817
content?: () => void, initializers?: Partial<ArkProvideToStoragePropComponent>): ArkProvideToStoragePropComponent {
2818
const __provide_state = contextLocalStateOf<string>("state", () => 'Hello World');
2819
return ArkProvideToStoragePropComponent._instantiate(style, () => new ArkProvideToStoragePropComponent, content, {
2820
_state: __provide_state,
2825
export function ProvideToLocalStorageProp(style?: any, /**/
2827
content?: () => void, initializers?: Partial<ArkProvideToLocalStoragePropComponent>): ArkProvideToLocalStoragePropComponent {
2828
const __provide_state = contextLocalStateOf<string>("state", () => 'Hello World');
2829
return ArkProvideToLocalStoragePropComponent._instantiate(style, () => new ArkProvideToLocalStoragePropComponent, content, {
2830
_state: __provide_state,
2835
export function ProvideToBuilderParam(style?: any, /**/
2837
content?: () => void, initializers?: Partial<ArkProvideToBuilderParamComponent>): ArkProvideToBuilderParamComponent {
2838
const __provide_state = contextLocalStateOf<string>("state", () => 'Hello World');
2839
return ArkProvideToBuilderParamComponent._instantiate(style, () => new ArkProvideToBuilderParamComponent, content, {
2840
_state: __provide_state,
2845
export function ProvideToPlain(style?: any, /**/
2847
content?: () => void, initializers?: Partial<ArkProvideToPlainComponent>): ArkProvideToPlainComponent {
2848
const __provide_state = contextLocalStateOf<string>("state", () => 'Hello World');
2849
return ArkProvideToPlainComponent._instantiate(style, () => new ArkProvideToPlainComponent, content, {
2850
_state: __provide_state,
2855
export function StorageLinkToState(style?: any, /**/
2857
content?: () => void, initializers?: Partial<ArkStorageLinkToStateComponent>): ArkStorageLinkToStateComponent {
2858
return ArkStorageLinkToStateComponent._instantiate(style, () => new ArkStorageLinkToStateComponent, content, initializers);
2861
export function StorageLinkToProp(style?: any, /**/
2863
content?: () => void, initializers?: Partial<ArkStorageLinkToPropComponent>): ArkStorageLinkToPropComponent {
2864
return ArkStorageLinkToPropComponent._instantiate(style, () => new ArkStorageLinkToPropComponent, content, initializers);
2867
export function StorageLinkToProvide(style?: any, /**/
2869
content?: () => void, initializers?: Partial<ArkStorageLinkToProvideComponent>): ArkStorageLinkToProvideComponent {
2870
const __provide_test = contextLocalStateOf<string>("test", () => this.state + "!");
2871
return ArkStorageLinkToProvideComponent._instantiate(style, () => new ArkStorageLinkToProvideComponent, content, {
2872
_test: __provide_test,
2877
export function StorageLinkToStorageLink(style?: any, /**/
2879
content?: () => void, initializers?: Partial<ArkStorageLinkToStorageLinkComponent>): ArkStorageLinkToStorageLinkComponent {
2880
return ArkStorageLinkToStorageLinkComponent._instantiate(style, () => new ArkStorageLinkToStorageLinkComponent, content, initializers);
2883
export function StorageLinkToLocalStorageLink(style?: any, /**/
2885
content?: () => void, initializers?: Partial<ArkStorageLinkToLocalStorageLinkComponent>): ArkStorageLinkToLocalStorageLinkComponent {
2886
return ArkStorageLinkToLocalStorageLinkComponent._instantiate(style, () => new ArkStorageLinkToLocalStorageLinkComponent, content, initializers);
2889
export function StorageLinkToStorageProp(style?: any, /**/
2891
content?: () => void, initializers?: Partial<ArkStorageLinkToStoragePropComponent>): ArkStorageLinkToStoragePropComponent {
2892
return ArkStorageLinkToStoragePropComponent._instantiate(style, () => new ArkStorageLinkToStoragePropComponent, content, initializers);
2895
export function StorageLinkToLocalStorageProp(style?: any, /**/
2897
content?: () => void, initializers?: Partial<ArkStorageLinkToLocalStoragePropComponent>): ArkStorageLinkToLocalStoragePropComponent {
2898
return ArkStorageLinkToLocalStoragePropComponent._instantiate(style, () => new ArkStorageLinkToLocalStoragePropComponent, content, initializers);
2901
export function StorageLinkToBuilderParam(style?: any, /**/
2903
content?: () => void, initializers?: Partial<ArkStorageLinkToBuilderParamComponent>): ArkStorageLinkToBuilderParamComponent {
2904
return ArkStorageLinkToBuilderParamComponent._instantiate(style, () => new ArkStorageLinkToBuilderParamComponent, content, initializers);
2907
export function StorageLinkToPlain(style?: any, /**/
2909
content?: () => void, initializers?: Partial<ArkStorageLinkToPlainComponent>): ArkStorageLinkToPlainComponent {
2910
return ArkStorageLinkToPlainComponent._instantiate(style, () => new ArkStorageLinkToPlainComponent, content, initializers);
2913
export function LocalStorageLinkToState(style?: any, /**/
2915
content?: () => void, initializers?: Partial<ArkLocalStorageLinkToStateComponent>): ArkLocalStorageLinkToStateComponent {
2916
return ArkLocalStorageLinkToStateComponent._instantiate(style, () => new ArkLocalStorageLinkToStateComponent, content, initializers);
2919
export function LocalStorageLinkToProp(style?: any, /**/
2921
content?: () => void, initializers?: Partial<ArkLocalStorageLinkToPropComponent>): ArkLocalStorageLinkToPropComponent {
2922
return ArkLocalStorageLinkToPropComponent._instantiate(style, () => new ArkLocalStorageLinkToPropComponent, content, initializers);
2925
export function LocalStorageLinkToProvide(style?: any, /**/
2927
content?: () => void, initializers?: Partial<ArkLocalStorageLinkToProvideComponent>): ArkLocalStorageLinkToProvideComponent {
2928
const __provide_test = contextLocalStateOf<string>("test", () => this.state + "!");
2929
return ArkLocalStorageLinkToProvideComponent._instantiate(style, () => new ArkLocalStorageLinkToProvideComponent, content, {
2930
_test: __provide_test,
2935
export function LocalStorageLinkToStorageLink(style?: any, /**/
2937
content?: () => void, initializers?: Partial<ArkLocalStorageLinkToStorageLinkComponent>): ArkLocalStorageLinkToStorageLinkComponent {
2938
return ArkLocalStorageLinkToStorageLinkComponent._instantiate(style, () => new ArkLocalStorageLinkToStorageLinkComponent, content, initializers);
2941
export function LocalStorageLinkToLocalStorageLink(style?: any, /**/
2943
content?: () => void, initializers?: Partial<ArkLocalStorageLinkToLocalStorageLinkComponent>): ArkLocalStorageLinkToLocalStorageLinkComponent {
2944
return ArkLocalStorageLinkToLocalStorageLinkComponent._instantiate(style, () => new ArkLocalStorageLinkToLocalStorageLinkComponent, content, initializers);
2947
export function LocalStorageLinkToStorageProp(style?: any, /**/
2949
content?: () => void, initializers?: Partial<ArkLocalStorageLinkToStoragePropComponent>): ArkLocalStorageLinkToStoragePropComponent {
2950
return ArkLocalStorageLinkToStoragePropComponent._instantiate(style, () => new ArkLocalStorageLinkToStoragePropComponent, content, initializers);
2953
export function LocalStorageLinkToLocalStorageProp(style?: any, /**/
2955
content?: () => void, initializers?: Partial<ArkLocalStorageLinkToLocalStoragePropComponent>): ArkLocalStorageLinkToLocalStoragePropComponent {
2956
return ArkLocalStorageLinkToLocalStoragePropComponent._instantiate(style, () => new ArkLocalStorageLinkToLocalStoragePropComponent, content, initializers);
2959
export function LocalStorageLinkToBuilderParam(style?: any, /**/
2961
content?: () => void, initializers?: Partial<ArkLocalStorageLinkToBuilderParamComponent>): ArkLocalStorageLinkToBuilderParamComponent {
2962
return ArkLocalStorageLinkToBuilderParamComponent._instantiate(style, () => new ArkLocalStorageLinkToBuilderParamComponent, content, initializers);
2965
export function LocalStorageLinkToPlain(style?: any, /**/
2967
content?: () => void, initializers?: Partial<ArkLocalStorageLinkToPlainComponent>): ArkLocalStorageLinkToPlainComponent {
2968
return ArkLocalStorageLinkToPlainComponent._instantiate(style, () => new ArkLocalStorageLinkToPlainComponent, content, initializers);
2971
export function StoragePropToState(style?: any, /**/
2973
content?: () => void, initializers?: Partial<ArkStoragePropToStateComponent>): ArkStoragePropToStateComponent {
2974
return ArkStoragePropToStateComponent._instantiate(style, () => new ArkStoragePropToStateComponent, content, initializers);
2977
export function StoragePropToProp(style?: any, /**/
2979
content?: () => void, initializers?: Partial<ArkStoragePropToPropComponent>): ArkStoragePropToPropComponent {
2980
return ArkStoragePropToPropComponent._instantiate(style, () => new ArkStoragePropToPropComponent, content, initializers);
2983
export function StoragePropToProvide(style?: any, /**/
2985
content?: () => void, initializers?: Partial<ArkStoragePropToProvideComponent>): ArkStoragePropToProvideComponent {
2986
const __provide_test = contextLocalStateOf<string>("test", () => this.state + "!");
2987
return ArkStoragePropToProvideComponent._instantiate(style, () => new ArkStoragePropToProvideComponent, content, {
2988
_test: __provide_test,
2993
export function StoragePropToStorageLink(style?: any, /**/
2995
content?: () => void, initializers?: Partial<ArkStoragePropToStorageLinkComponent>): ArkStoragePropToStorageLinkComponent {
2996
return ArkStoragePropToStorageLinkComponent._instantiate(style, () => new ArkStoragePropToStorageLinkComponent, content, initializers);
2999
export function StoragePropToLocalStorageLink(style?: any, /**/
3001
content?: () => void, initializers?: Partial<ArkStoragePropToLocalStorageLinkComponent>): ArkStoragePropToLocalStorageLinkComponent {
3002
return ArkStoragePropToLocalStorageLinkComponent._instantiate(style, () => new ArkStoragePropToLocalStorageLinkComponent, content, initializers);
3005
export function StoragePropToStorageProp(style?: any, /**/
3007
content?: () => void, initializers?: Partial<ArkStoragePropToStoragePropComponent>): ArkStoragePropToStoragePropComponent {
3008
return ArkStoragePropToStoragePropComponent._instantiate(style, () => new ArkStoragePropToStoragePropComponent, content, initializers);
3011
export function StoragePropToLocalStorageProp(style?: any, /**/
3013
content?: () => void, initializers?: Partial<ArkStoragePropToLocalStoragePropComponent>): ArkStoragePropToLocalStoragePropComponent {
3014
return ArkStoragePropToLocalStoragePropComponent._instantiate(style, () => new ArkStoragePropToLocalStoragePropComponent, content, initializers);
3017
export function StoragePropToBuilderParam(style?: any, /**/
3019
content?: () => void, initializers?: Partial<ArkStoragePropToBuilderParamComponent>): ArkStoragePropToBuilderParamComponent {
3020
return ArkStoragePropToBuilderParamComponent._instantiate(style, () => new ArkStoragePropToBuilderParamComponent, content, initializers);
3023
export function StoragePropToPlain(style?: any, /**/
3025
content?: () => void, initializers?: Partial<ArkStoragePropToPlainComponent>): ArkStoragePropToPlainComponent {
3026
return ArkStoragePropToPlainComponent._instantiate(style, () => new ArkStoragePropToPlainComponent, content, initializers);
3029
export function LocalStoragePropToState(style?: any, /**/
3031
content?: () => void, initializers?: Partial<ArkLocalStoragePropToStateComponent>): ArkLocalStoragePropToStateComponent {
3032
return ArkLocalStoragePropToStateComponent._instantiate(style, () => new ArkLocalStoragePropToStateComponent, content, initializers);
3035
export function LocalStoragePropToProp(style?: any, /**/
3037
content?: () => void, initializers?: Partial<ArkLocalStoragePropToPropComponent>): ArkLocalStoragePropToPropComponent {
3038
return ArkLocalStoragePropToPropComponent._instantiate(style, () => new ArkLocalStoragePropToPropComponent, content, initializers);
3041
export function LocalStoragePropToProvide(style?: any, /**/
3043
content?: () => void, initializers?: Partial<ArkLocalStoragePropToProvideComponent>): ArkLocalStoragePropToProvideComponent {
3044
const __provide_test = contextLocalStateOf<string>("test", () => this.state + "!");
3045
return ArkLocalStoragePropToProvideComponent._instantiate(style, () => new ArkLocalStoragePropToProvideComponent, content, {
3046
_test: __provide_test,
3051
export function LocalStoragePropToStorageLink(style?: any, /**/
3053
content?: () => void, initializers?: Partial<ArkLocalStoragePropToStorageLinkComponent>): ArkLocalStoragePropToStorageLinkComponent {
3054
return ArkLocalStoragePropToStorageLinkComponent._instantiate(style, () => new ArkLocalStoragePropToStorageLinkComponent, content, initializers);
3057
export function LocalStoragePropToLocalStorageLink(style?: any, /**/
3059
content?: () => void, initializers?: Partial<ArkLocalStoragePropToLocalStorageLinkComponent>): ArkLocalStoragePropToLocalStorageLinkComponent {
3060
return ArkLocalStoragePropToLocalStorageLinkComponent._instantiate(style, () => new ArkLocalStoragePropToLocalStorageLinkComponent, content, initializers);
3063
export function LocalStoragePropToStorageProp(style?: any, /**/
3065
content?: () => void, initializers?: Partial<ArkLocalStoragePropToStoragePropComponent>): ArkLocalStoragePropToStoragePropComponent {
3066
return ArkLocalStoragePropToStoragePropComponent._instantiate(style, () => new ArkLocalStoragePropToStoragePropComponent, content, initializers);
3069
export function LocalStoragePropToLocalStorageProp(style?: any, /**/
3071
content?: () => void, initializers?: Partial<ArkLocalStoragePropToLocalStoragePropComponent>): ArkLocalStoragePropToLocalStoragePropComponent {
3072
return ArkLocalStoragePropToLocalStoragePropComponent._instantiate(style, () => new ArkLocalStoragePropToLocalStoragePropComponent, content, initializers);
3075
export function LocalStoragePropToBuilderParam(style?: any, /**/
3077
content?: () => void, initializers?: Partial<ArkLocalStoragePropToBuilderParamComponent>): ArkLocalStoragePropToBuilderParamComponent {
3078
return ArkLocalStoragePropToBuilderParamComponent._instantiate(style, () => new ArkLocalStoragePropToBuilderParamComponent, content, initializers);
3081
export function LocalStoragePropToPlain(style?: any, /**/
3083
content?: () => void, initializers?: Partial<ArkLocalStoragePropToPlainComponent>): ArkLocalStoragePropToPlainComponent {
3084
return ArkLocalStoragePropToPlainComponent._instantiate(style, () => new ArkLocalStoragePropToPlainComponent, content, initializers);
3087
export function BuilderParamToState(style?: any, /**/
3089
content?: () => void, initializers?: Partial<ArkBuilderParamToStateComponent>): ArkBuilderParamToStateComponent {
3090
return ArkBuilderParamToStateComponent._instantiate(style, () => new ArkBuilderParamToStateComponent, content, initializers);
3093
export function BuilderParamToProp(style?: any, /**/
3095
content?: () => void, initializers?: Partial<ArkBuilderParamToPropComponent>): ArkBuilderParamToPropComponent {
3096
return ArkBuilderParamToPropComponent._instantiate(style, () => new ArkBuilderParamToPropComponent, content, initializers);
3099
export function BuilderParamToProvide(style?: any, /**/
3101
content?: () => void, initializers?: Partial<ArkBuilderParamToProvideComponent>): ArkBuilderParamToProvideComponent {
3102
const __provide_test = contextLocalStateOf<string>("test", () => this.state + "!");
3103
return ArkBuilderParamToProvideComponent._instantiate(style, () => new ArkBuilderParamToProvideComponent, content, {
3104
_test: __provide_test,
3109
export function BuilderParamToStorageLink(style?: any, /**/
3111
content?: () => void, initializers?: Partial<ArkBuilderParamToStorageLinkComponent>): ArkBuilderParamToStorageLinkComponent {
3112
return ArkBuilderParamToStorageLinkComponent._instantiate(style, () => new ArkBuilderParamToStorageLinkComponent, content, initializers);
3115
export function BuilderParamToLocalStorageLink(style?: any, /**/
3117
content?: () => void, initializers?: Partial<ArkBuilderParamToLocalStorageLinkComponent>): ArkBuilderParamToLocalStorageLinkComponent {
3118
return ArkBuilderParamToLocalStorageLinkComponent._instantiate(style, () => new ArkBuilderParamToLocalStorageLinkComponent, content, initializers);
3121
export function BuilderParamToStorageProp(style?: any, /**/
3123
content?: () => void, initializers?: Partial<ArkBuilderParamToStoragePropComponent>): ArkBuilderParamToStoragePropComponent {
3124
return ArkBuilderParamToStoragePropComponent._instantiate(style, () => new ArkBuilderParamToStoragePropComponent, content, initializers);
3127
export function BuilderParamToLocalStorageProp(style?: any, /**/
3129
content?: () => void, initializers?: Partial<ArkBuilderParamToLocalStoragePropComponent>): ArkBuilderParamToLocalStoragePropComponent {
3130
return ArkBuilderParamToLocalStoragePropComponent._instantiate(style, () => new ArkBuilderParamToLocalStoragePropComponent, content, initializers);
3133
export function BuilderParamToBuilderParam(style?: any, /**/
3135
content?: () => void, initializers?: Partial<ArkBuilderParamToBuilderParamComponent>): ArkBuilderParamToBuilderParamComponent {
3136
return ArkBuilderParamToBuilderParamComponent._instantiate(style, () => new ArkBuilderParamToBuilderParamComponent, content, initializers);
3139
export function BuilderParamToPlain(style?: any, /**/
3141
content?: () => void, initializers?: Partial<ArkBuilderParamToPlainComponent>): ArkBuilderParamToPlainComponent {
3142
return ArkBuilderParamToPlainComponent._instantiate(style, () => new ArkBuilderParamToPlainComponent, content, initializers);
3145
export function PlainToState(style?: any, /**/
3147
content?: () => void, initializers?: Partial<ArkPlainToStateComponent>): ArkPlainToStateComponent {
3148
return ArkPlainToStateComponent._instantiate(style, () => new ArkPlainToStateComponent, content, initializers);
3151
export function PlainToProp(style?: any, /**/
3153
content?: () => void, initializers?: Partial<ArkPlainToPropComponent>): ArkPlainToPropComponent {
3154
return ArkPlainToPropComponent._instantiate(style, () => new ArkPlainToPropComponent, content, initializers);
3157
export function PlainToProvide(style?: any, /**/
3159
content?: () => void, initializers?: Partial<ArkPlainToProvideComponent>): ArkPlainToProvideComponent {
3160
const __provide_test = contextLocalStateOf<string>("test", () => this.state + "!");
3161
return ArkPlainToProvideComponent._instantiate(style, () => new ArkPlainToProvideComponent, content, {
3162
_test: __provide_test,
3167
export function PlainToStorageLink(style?: any, /**/
3169
content?: () => void, initializers?: Partial<ArkPlainToStorageLinkComponent>): ArkPlainToStorageLinkComponent {
3170
return ArkPlainToStorageLinkComponent._instantiate(style, () => new ArkPlainToStorageLinkComponent, content, initializers);
3173
export function PlainToLocalStorageLink(style?: any, /**/
3175
content?: () => void, initializers?: Partial<ArkPlainToLocalStorageLinkComponent>): ArkPlainToLocalStorageLinkComponent {
3176
return ArkPlainToLocalStorageLinkComponent._instantiate(style, () => new ArkPlainToLocalStorageLinkComponent, content, initializers);
3179
export function PlainToStorageProp(style?: any, /**/
3181
content?: () => void, initializers?: Partial<ArkPlainToStoragePropComponent>): ArkPlainToStoragePropComponent {
3182
return ArkPlainToStoragePropComponent._instantiate(style, () => new ArkPlainToStoragePropComponent, content, initializers);
3185
export function PlainToLocalStorageProp(style?: any, /**/
3187
content?: () => void, initializers?: Partial<ArkPlainToLocalStoragePropComponent>): ArkPlainToLocalStoragePropComponent {
3188
return ArkPlainToLocalStoragePropComponent._instantiate(style, () => new ArkPlainToLocalStoragePropComponent, content, initializers);
3191
export function PlainToBuilderParam(style?: any, /**/
3193
content?: () => void, initializers?: Partial<ArkPlainToBuilderParamComponent>): ArkPlainToBuilderParamComponent {
3194
return ArkPlainToBuilderParamComponent._instantiate(style, () => new ArkPlainToBuilderParamComponent, content, initializers);
3197
export function PlainToPlain(style?: any, /**/
3199
content?: () => void, initializers?: Partial<ArkPlainToPlainComponent>): ArkPlainToPlainComponent {
3200
return ArkPlainToPlainComponent._instantiate(style, () => new ArkPlainToPlainComponent, content, initializers);