@plaidev/karte-action-sdk 1.1.127 → 1.1.128-27953991.9a13b983

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.
@@ -187,24 +187,6 @@ declare const OnClickOperationOptions: readonly [
187
187
  readonly default: "/";
188
188
  }
189
189
  ];
190
- },
191
- {
192
- readonly operation: "nextForm";
193
- readonly args: readonly [
194
- {
195
- readonly type: "TransitState";
196
- readonly default: "/";
197
- }
198
- ];
199
- },
200
- {
201
- readonly operation: "prevForm";
202
- readonly args: readonly [
203
- {
204
- readonly type: "TransitState";
205
- readonly default: "/";
206
- }
207
- ];
208
190
  }
209
191
  ];
210
192
  /** @internal */
@@ -1610,24 +1592,6 @@ declare namespace widget {
1610
1592
  readonly default: "/";
1611
1593
  }
1612
1594
  ];
1613
- },
1614
- {
1615
- readonly operation: "nextForm";
1616
- readonly args: readonly [
1617
- {
1618
- readonly type: "TransitState";
1619
- readonly default: "/";
1620
- }
1621
- ];
1622
- },
1623
- {
1624
- readonly operation: "prevForm";
1625
- readonly args: readonly [
1626
- {
1627
- readonly type: "TransitState";
1628
- readonly default: "/";
1629
- }
1630
- ];
1631
1595
  }
1632
1596
  ];
1633
1597
  /** @internal */
@@ -2368,10 +2332,6 @@ declare namespace widget {
2368
2332
  /** @internal */
2369
2333
  const submitForm: (to: string) => () => void;
2370
2334
  /** @internal */
2371
- const nextForm: (to: string) => () => void;
2372
- /** @internal */
2373
- const prevForm: (to: string) => () => void;
2374
- /** @internal */
2375
2335
  const execOnClickOperation: (onClickOperation: OnClickOperation) => void;
2376
2336
  /** @internal */
2377
2337
  const haveFunction: (onClickOperation: OnClickOperation) => boolean;
@@ -792,15 +792,6 @@ const submitForm = (to) => () => {
792
792
  _moveTo(to);
793
793
  };
794
794
  /** @internal */
795
- const nextForm = (to) => () => {
796
- _moveTo(to);
797
- };
798
- /** @internal */
799
- const prevForm = (to) => () => {
800
- // deleteValues(stateId);
801
- _moveTo(to);
802
- };
803
- /** @internal */
804
795
  const execOnClickOperation = (onClickOperation) => {
805
796
  if (onClickOperation.operation === 'linkTo') {
806
797
  linkTo(...onClickOperation.args)();
@@ -817,12 +808,6 @@ const execOnClickOperation = (onClickOperation) => {
817
808
  else if (onClickOperation.operation === 'submitForm') {
818
809
  submitForm(onClickOperation.args[0])();
819
810
  }
820
- else if (onClickOperation.operation === 'nextForm') {
821
- nextForm(onClickOperation.args[0])();
822
- }
823
- else if (onClickOperation.operation === 'prevForm') {
824
- prevForm(onClickOperation.args[0])();
825
- }
826
811
  };
827
812
  /** @internal */
828
813
  const haveFunction = (onClickOperation) => {
@@ -1289,24 +1274,6 @@ const OnClickOperationOptions = [
1289
1274
  },
1290
1275
  ],
1291
1276
  },
1292
- {
1293
- operation: 'nextForm',
1294
- args: [
1295
- {
1296
- type: 'TransitState',
1297
- default: '/',
1298
- },
1299
- ],
1300
- },
1301
- {
1302
- operation: 'prevForm',
1303
- args: [
1304
- {
1305
- type: 'TransitState',
1306
- default: '/',
1307
- },
1308
- ],
1309
- },
1310
1277
  ];
1311
1278
  /** @internal */
1312
1279
  const LengthUnits = ['px', 'em', 'rem', 'vw', 'fr', '%'];
@@ -4639,7 +4606,7 @@ function instance$g($$self, $$props, $$invalidate) {
4639
4606
 
4640
4607
  if (onClick.operation === 'submitForm') {
4641
4608
  isEnabled = $valuesAreValid;
4642
- } else if (onClick.operation === 'nextForm') {
4609
+ } else if (onClick.operation === 'moveTo') {
4643
4610
  isEnabled = $valuesAreValid;
4644
4611
  }
4645
4612
 
@@ -5832,7 +5799,7 @@ function get_each_context$4(ctx, list, i) {
5832
5799
  return child_ctx;
5833
5800
  }
5834
5801
 
5835
- // (55:2) {#each _options as option, i}
5802
+ // (58:2) {#each _options as option, i}
5836
5803
  function create_each_block$4(ctx) {
5837
5804
  let label;
5838
5805
  let input;
@@ -6114,7 +6081,7 @@ function get_each_context$3(ctx, list, i) {
6114
6081
  return child_ctx;
6115
6082
  }
6116
6083
 
6117
- // (53:10) {:else}
6084
+ // (56:10) {:else}
6118
6085
  function create_else_block(ctx) {
6119
6086
  let t;
6120
6087
 
@@ -6135,7 +6102,7 @@ function create_else_block(ctx) {
6135
6102
  };
6136
6103
  }
6137
6104
 
6138
- // (51:10) {#if option}
6105
+ // (54:10) {#if option}
6139
6106
  function create_if_block$2(ctx) {
6140
6107
  let t_value = /*option*/ ctx[10] + "";
6141
6108
  let t;
@@ -6159,7 +6126,7 @@ function create_if_block$2(ctx) {
6159
6126
  };
6160
6127
  }
6161
6128
 
6162
- // (49:6) {#each _options as option, i}
6129
+ // (52:6) {#each _options as option, i}
6163
6130
  function create_each_block$3(ctx) {
6164
6131
  let option;
6165
6132
  let t;
@@ -6434,7 +6401,7 @@ function get_each_context$2(ctx, list, i) {
6434
6401
  return child_ctx;
6435
6402
  }
6436
6403
 
6437
- // (61:2) {#each _options as option, i}
6404
+ // (64:2) {#each _options as option, i}
6438
6405
  function create_each_block$2(ctx) {
6439
6406
  let label;
6440
6407
  let input;
@@ -187,24 +187,6 @@ declare const OnClickOperationOptions: readonly [
187
187
  readonly default: "/";
188
188
  }
189
189
  ];
190
- },
191
- {
192
- readonly operation: "nextForm";
193
- readonly args: readonly [
194
- {
195
- readonly type: "TransitState";
196
- readonly default: "/";
197
- }
198
- ];
199
- },
200
- {
201
- readonly operation: "prevForm";
202
- readonly args: readonly [
203
- {
204
- readonly type: "TransitState";
205
- readonly default: "/";
206
- }
207
- ];
208
190
  }
209
191
  ];
210
192
  /** @internal */
@@ -1610,24 +1592,6 @@ declare namespace widget {
1610
1592
  readonly default: "/";
1611
1593
  }
1612
1594
  ];
1613
- },
1614
- {
1615
- readonly operation: "nextForm";
1616
- readonly args: readonly [
1617
- {
1618
- readonly type: "TransitState";
1619
- readonly default: "/";
1620
- }
1621
- ];
1622
- },
1623
- {
1624
- readonly operation: "prevForm";
1625
- readonly args: readonly [
1626
- {
1627
- readonly type: "TransitState";
1628
- readonly default: "/";
1629
- }
1630
- ];
1631
1595
  }
1632
1596
  ];
1633
1597
  /** @internal */
@@ -2368,10 +2332,6 @@ declare namespace widget {
2368
2332
  /** @internal */
2369
2333
  const submitForm: (to: string) => () => void;
2370
2334
  /** @internal */
2371
- const nextForm: (to: string) => () => void;
2372
- /** @internal */
2373
- const prevForm: (to: string) => () => void;
2374
- /** @internal */
2375
2335
  const execOnClickOperation: (onClickOperation: OnClickOperation) => void;
2376
2336
  /** @internal */
2377
2337
  const haveFunction: (onClickOperation: OnClickOperation) => boolean;
package/dist/index.es.js CHANGED
@@ -790,15 +790,6 @@ const submitForm = (to) => () => {
790
790
  _moveTo(to);
791
791
  };
792
792
  /** @internal */
793
- const nextForm = (to) => () => {
794
- _moveTo(to);
795
- };
796
- /** @internal */
797
- const prevForm = (to) => () => {
798
- // deleteValues(stateId);
799
- _moveTo(to);
800
- };
801
- /** @internal */
802
793
  const execOnClickOperation = (onClickOperation) => {
803
794
  if (onClickOperation.operation === 'linkTo') {
804
795
  linkTo(...onClickOperation.args)();
@@ -815,12 +806,6 @@ const execOnClickOperation = (onClickOperation) => {
815
806
  else if (onClickOperation.operation === 'submitForm') {
816
807
  submitForm(onClickOperation.args[0])();
817
808
  }
818
- else if (onClickOperation.operation === 'nextForm') {
819
- nextForm(onClickOperation.args[0])();
820
- }
821
- else if (onClickOperation.operation === 'prevForm') {
822
- prevForm(onClickOperation.args[0])();
823
- }
824
809
  };
825
810
  /** @internal */
826
811
  const haveFunction = (onClickOperation) => {
@@ -1359,24 +1344,6 @@ const OnClickOperationOptions = [
1359
1344
  },
1360
1345
  ],
1361
1346
  },
1362
- {
1363
- operation: 'nextForm',
1364
- args: [
1365
- {
1366
- type: 'TransitState',
1367
- default: '/',
1368
- },
1369
- ],
1370
- },
1371
- {
1372
- operation: 'prevForm',
1373
- args: [
1374
- {
1375
- type: 'TransitState',
1376
- default: '/',
1377
- },
1378
- ],
1379
- },
1380
1347
  ];
1381
1348
  /** @internal */
1382
1349
  const LengthUnits = ['px', 'em', 'rem', 'vw', 'fr', '%'];
@@ -4514,7 +4481,7 @@ function instance$g($$self, $$props, $$invalidate) {
4514
4481
 
4515
4482
  if (onClick.operation === 'submitForm') {
4516
4483
  isEnabled = $valuesAreValid;
4517
- } else if (onClick.operation === 'nextForm') {
4484
+ } else if (onClick.operation === 'moveTo') {
4518
4485
  isEnabled = $valuesAreValid;
4519
4486
  }
4520
4487
 
@@ -5616,7 +5583,7 @@ function get_each_context$4(ctx, list, i) {
5616
5583
  return child_ctx;
5617
5584
  }
5618
5585
 
5619
- // (55:2) {#each _options as option, i}
5586
+ // (58:2) {#each _options as option, i}
5620
5587
  function create_each_block$4(ctx) {
5621
5588
  let label;
5622
5589
  let input;
@@ -5861,7 +5828,7 @@ function get_each_context$3(ctx, list, i) {
5861
5828
  return child_ctx;
5862
5829
  }
5863
5830
 
5864
- // (53:10) {:else}
5831
+ // (56:10) {:else}
5865
5832
  function create_else_block(ctx) {
5866
5833
  let t;
5867
5834
 
@@ -5879,7 +5846,7 @@ function create_else_block(ctx) {
5879
5846
  };
5880
5847
  }
5881
5848
 
5882
- // (51:10) {#if option}
5849
+ // (54:10) {#if option}
5883
5850
  function create_if_block$2(ctx) {
5884
5851
  let t_value = /*option*/ ctx[10] + "";
5885
5852
  let t;
@@ -5900,7 +5867,7 @@ function create_if_block$2(ctx) {
5900
5867
  };
5901
5868
  }
5902
5869
 
5903
- // (49:6) {#each _options as option, i}
5870
+ // (52:6) {#each _options as option, i}
5904
5871
  function create_each_block$3(ctx) {
5905
5872
  let option;
5906
5873
  let t;
@@ -6141,7 +6108,7 @@ function get_each_context$2(ctx, list, i) {
6141
6108
  return child_ctx;
6142
6109
  }
6143
6110
 
6144
- // (61:2) {#each _options as option, i}
6111
+ // (64:2) {#each _options as option, i}
6145
6112
  function create_each_block$2(ctx) {
6146
6113
  let label;
6147
6114
  let input;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plaidev/karte-action-sdk",
3
- "version": "1.1.127",
3
+ "version": "1.1.128-27953991.9a13b983",
4
4
  "author": "Plaid Inc.",
5
5
  "license": "Apache-2.0",
6
6
  "module": "./dist/index.es.js",