@ionic/angular 7.5.3-dev.11698435472.1743a09e → 7.5.3-dev.11698687076.1aaa7af2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2126,15 +2126,13 @@ class IonCheckbox extends ValueAccessor {
2126
2126
  defineCustomElement$17();
2127
2127
  c.detach();
2128
2128
  this.el = r.nativeElement;
2129
- proxyOutputs(this, this.el, ['ionChange', 'ionFocus', 'ionBlur']);
2130
- }
2131
- ngOnInit() {
2132
2129
  /**
2133
2130
  * Data-bound input properties are set
2134
2131
  * by Angular after the constructor, so
2135
- * we need to run the proxy in ngOnInit.
2132
+ * we need to run the proxy before ngOnInit.
2136
2133
  */
2137
2134
  proxyInputs(IonCheckbox, CHECKBOX_INPUTS);
2135
+ proxyOutputs(this, this.el, ['ionChange', 'ionFocus', 'ionBlur']);
2138
2136
  }
2139
2137
  writeValue(value) {
2140
2138
  this.elementRef.nativeElement.checked = this.lastValue = value;
@@ -2214,16 +2212,14 @@ class IonDatetime extends ValueAccessor {
2214
2212
  defineCustomElement$18();
2215
2213
  c.detach();
2216
2214
  this.el = r.nativeElement;
2217
- proxyOutputs(this, this.el, ['ionCancel', 'ionChange', 'ionFocus', 'ionBlur']);
2218
- }
2219
- ngOnInit() {
2220
2215
  /**
2221
2216
  * Data-bound input properties are set
2222
2217
  * by Angular after the constructor, so
2223
- * we need to run the proxy in ngOnInit.
2218
+ * we need to run the proxy before ngOnInit.
2224
2219
  */
2225
2220
  proxyInputs(IonDatetime, DATETIME_INPUTS);
2226
2221
  proxyMethods(IonDatetime, DATETIME_METHODS);
2222
+ proxyOutputs(this, this.el, ['ionCancel', 'ionChange', 'ionFocus', 'ionBlur']);
2227
2223
  }
2228
2224
  handleIonChange(el) {
2229
2225
  this.handleValueChange(el, el.value);
@@ -2333,16 +2329,14 @@ class IonInput extends ValueAccessor {
2333
2329
  defineCustomElement$1a();
2334
2330
  c.detach();
2335
2331
  this.el = r.nativeElement;
2336
- proxyOutputs(this, this.el, ['ionInput', 'ionChange', 'ionBlur', 'ionFocus']);
2337
- }
2338
- ngOnInit() {
2339
2332
  /**
2340
2333
  * Data-bound input properties are set
2341
2334
  * by Angular after the constructor, so
2342
- * we need to run the proxy in ngOnInit.
2335
+ * we need to run the proxy before ngOnInit.
2343
2336
  */
2344
2337
  proxyInputs(IonInput, INPUT_INPUTS);
2345
2338
  proxyMethods(IonInput, INPUT_METHODS);
2339
+ proxyOutputs(this, this.el, ['ionInput', 'ionChange', 'ionBlur', 'ionFocus']);
2346
2340
  }
2347
2341
  handleIonInput(el) {
2348
2342
  this.handleValueChange(el, el.value);
@@ -2401,15 +2395,13 @@ class IonRadioGroup extends ValueAccessor {
2401
2395
  defineCustomElement$1b();
2402
2396
  c.detach();
2403
2397
  this.el = r.nativeElement;
2404
- proxyOutputs(this, this.el, ['ionChange']);
2405
- }
2406
- ngOnInit() {
2407
2398
  /**
2408
2399
  * Data-bound input properties are set
2409
2400
  * by Angular after the constructor, so
2410
- * we need to run the proxy in ngOnInit.
2401
+ * we need to run the proxy before ngOnInit.
2411
2402
  */
2412
2403
  proxyInputs(IonRadioGroup, RADIO_GROUP_INPUTS);
2404
+ proxyOutputs(this, this.el, ['ionChange']);
2413
2405
  }
2414
2406
  handleIonChange(el) {
2415
2407
  this.handleValueChange(el, el.value);
@@ -2453,15 +2445,13 @@ class IonRadio extends ValueAccessor {
2453
2445
  defineCustomElement$1c();
2454
2446
  c.detach();
2455
2447
  this.el = r.nativeElement;
2456
- proxyOutputs(this, this.el, ['ionFocus', 'ionBlur']);
2457
- }
2458
- ngOnInit() {
2459
2448
  /**
2460
2449
  * Data-bound input properties are set
2461
2450
  * by Angular after the constructor, so
2462
- * we need to run the proxy in ngOnInit.
2451
+ * we need to run the proxy before ngOnInit.
2463
2452
  */
2464
2453
  proxyInputs(IonRadio, RADIO_INPUTS);
2454
+ proxyOutputs(this, this.el, ['ionFocus', 'ionBlur']);
2465
2455
  }
2466
2456
  handleIonSelect(el) {
2467
2457
  /**
@@ -2528,15 +2518,13 @@ class IonRange extends ValueAccessor {
2528
2518
  defineCustomElement$1d();
2529
2519
  c.detach();
2530
2520
  this.el = r.nativeElement;
2531
- proxyOutputs(this, this.el, ['ionChange', 'ionInput', 'ionFocus', 'ionBlur', 'ionKnobMoveStart', 'ionKnobMoveEnd']);
2532
- }
2533
- ngOnInit() {
2534
2521
  /**
2535
2522
  * Data-bound input properties are set
2536
2523
  * by Angular after the constructor, so
2537
- * we need to run the proxy in ngOnInit.
2524
+ * we need to run the proxy before ngOnInit.
2538
2525
  */
2539
2526
  proxyInputs(IonRange, RANGE_INPUTS);
2527
+ proxyOutputs(this, this.el, ['ionChange', 'ionInput', 'ionFocus', 'ionBlur', 'ionKnobMoveStart', 'ionKnobMoveEnd']);
2540
2528
  }
2541
2529
  handleIonChange(el) {
2542
2530
  this.handleValueChange(el, el.value);
@@ -2602,16 +2590,14 @@ class IonSearchbar extends ValueAccessor {
2602
2590
  defineCustomElement$1e();
2603
2591
  c.detach();
2604
2592
  this.el = r.nativeElement;
2605
- proxyOutputs(this, this.el, ['ionInput', 'ionChange', 'ionCancel', 'ionClear', 'ionBlur', 'ionFocus']);
2606
- }
2607
- ngOnInit() {
2608
2593
  /**
2609
2594
  * Data-bound input properties are set
2610
2595
  * by Angular after the constructor, so
2611
- * we need to run the proxy in ngOnInit.
2596
+ * we need to run the proxy before ngOnInit.
2612
2597
  */
2613
2598
  proxyInputs(IonSearchbar, SEARCHBAR_INPUTS);
2614
2599
  proxyMethods(IonSearchbar, SEARCHBAR_METHODS);
2600
+ proxyOutputs(this, this.el, ['ionInput', 'ionChange', 'ionCancel', 'ionClear', 'ionBlur', 'ionFocus']);
2615
2601
  }
2616
2602
  handleIonInput(el) {
2617
2603
  this.handleValueChange(el, el.value);
@@ -2655,15 +2641,13 @@ class IonSegment extends ValueAccessor {
2655
2641
  defineCustomElement$1f();
2656
2642
  c.detach();
2657
2643
  this.el = r.nativeElement;
2658
- proxyOutputs(this, this.el, ['ionChange']);
2659
- }
2660
- ngOnInit() {
2661
2644
  /**
2662
2645
  * Data-bound input properties are set
2663
2646
  * by Angular after the constructor, so
2664
- * we need to run the proxy in ngOnInit.
2647
+ * we need to run the proxy before ngOnInit.
2665
2648
  */
2666
2649
  proxyInputs(IonSegment, SEGMENT_INPUTS);
2650
+ proxyOutputs(this, this.el, ['ionChange']);
2667
2651
  }
2668
2652
  handleIonChange(el) {
2669
2653
  this.handleValueChange(el, el.value);
@@ -2730,16 +2714,14 @@ class IonSelect extends ValueAccessor {
2730
2714
  defineCustomElement$1g();
2731
2715
  c.detach();
2732
2716
  this.el = r.nativeElement;
2733
- proxyOutputs(this, this.el, ['ionChange', 'ionCancel', 'ionDismiss', 'ionFocus', 'ionBlur']);
2734
- }
2735
- ngOnInit() {
2736
2717
  /**
2737
2718
  * Data-bound input properties are set
2738
2719
  * by Angular after the constructor, so
2739
- * we need to run the proxy in ngOnInit.
2720
+ * we need to run the proxy before ngOnInit.
2740
2721
  */
2741
2722
  proxyInputs(IonSelect, SELECT_INPUTS);
2742
2723
  proxyMethods(IonSelect, SELECT_METHODS);
2724
+ proxyOutputs(this, this.el, ['ionChange', 'ionCancel', 'ionDismiss', 'ionFocus', 'ionBlur']);
2743
2725
  }
2744
2726
  handleIonChange(el) {
2745
2727
  this.handleValueChange(el, el.value);
@@ -2815,16 +2797,14 @@ class IonTextarea extends ValueAccessor {
2815
2797
  defineCustomElement$1h();
2816
2798
  c.detach();
2817
2799
  this.el = r.nativeElement;
2818
- proxyOutputs(this, this.el, ['ionChange', 'ionInput', 'ionBlur', 'ionFocus']);
2819
- }
2820
- ngOnInit() {
2821
2800
  /**
2822
2801
  * Data-bound input properties are set
2823
2802
  * by Angular after the constructor, so
2824
- * we need to run the proxy in ngOnInit.
2803
+ * we need to run the proxy before ngOnInit.
2825
2804
  */
2826
2805
  proxyInputs(IonTextarea, TEXTAREA_INPUTS);
2827
2806
  proxyMethods(IonTextarea, TEXTAREA_METHODS);
2807
+ proxyOutputs(this, this.el, ['ionChange', 'ionInput', 'ionBlur', 'ionFocus']);
2828
2808
  }
2829
2809
  handleIonInput(el) {
2830
2810
  this.handleValueChange(el, el.value);
@@ -2879,15 +2859,13 @@ class IonToggle extends ValueAccessor {
2879
2859
  defineCustomElement$1i();
2880
2860
  c.detach();
2881
2861
  this.el = r.nativeElement;
2882
- proxyOutputs(this, this.el, ['ionChange', 'ionFocus', 'ionBlur']);
2883
- }
2884
- ngOnInit() {
2885
2862
  /**
2886
2863
  * Data-bound input properties are set
2887
2864
  * by Angular after the constructor, so
2888
- * we need to run the proxy in ngOnInit.
2865
+ * we need to run the proxy before ngOnInit.
2889
2866
  */
2890
2867
  proxyInputs(IonToggle, TOGGLE_INPUTS);
2868
+ proxyOutputs(this, this.el, ['ionChange', 'ionFocus', 'ionBlur']);
2891
2869
  }
2892
2870
  writeValue(value) {
2893
2871
  this.elementRef.nativeElement.checked = this.lastValue = value;