@primer-io/primer-js 1.0.0 → 1.0.1
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.
- package/CHANGELOG.md +6 -0
- package/dist/custom-elements.json +279 -279
- package/dist/jsx/index.d.ts +31 -31
- package/dist/primer-loader.js +3 -3
- package/dist/vscode.html-custom-data.json +26 -26
- package/dist/web-types.json +67 -67
- package/package.json +1 -1
|
@@ -7211,6 +7211,48 @@
|
|
|
7211
7211
|
}
|
|
7212
7212
|
]
|
|
7213
7213
|
},
|
|
7214
|
+
{
|
|
7215
|
+
"kind": "javascript-module",
|
|
7216
|
+
"path": "e2e/tests/sdkcore-true-tests/card-form-billing-address.spec.ts",
|
|
7217
|
+
"declarations": [],
|
|
7218
|
+
"exports": []
|
|
7219
|
+
},
|
|
7220
|
+
{
|
|
7221
|
+
"kind": "javascript-module",
|
|
7222
|
+
"path": "e2e/tests/sdkcore-true-tests/paypal.spec.ts",
|
|
7223
|
+
"declarations": [],
|
|
7224
|
+
"exports": []
|
|
7225
|
+
},
|
|
7226
|
+
{
|
|
7227
|
+
"kind": "javascript-module",
|
|
7228
|
+
"path": "e2e/tests/sdkcore-false-tests/card-3ds.spec.ts",
|
|
7229
|
+
"declarations": [],
|
|
7230
|
+
"exports": []
|
|
7231
|
+
},
|
|
7232
|
+
{
|
|
7233
|
+
"kind": "javascript-module",
|
|
7234
|
+
"path": "e2e/tests/sdkcore-false-tests/card-basic.spec.ts",
|
|
7235
|
+
"declarations": [],
|
|
7236
|
+
"exports": []
|
|
7237
|
+
},
|
|
7238
|
+
{
|
|
7239
|
+
"kind": "javascript-module",
|
|
7240
|
+
"path": "e2e/tests/sdkcore-false-tests/disabled-payments.spec.ts",
|
|
7241
|
+
"declarations": [],
|
|
7242
|
+
"exports": []
|
|
7243
|
+
},
|
|
7244
|
+
{
|
|
7245
|
+
"kind": "javascript-module",
|
|
7246
|
+
"path": "e2e/tests/sdkcore-false-tests/klarna.spec.ts",
|
|
7247
|
+
"declarations": [],
|
|
7248
|
+
"exports": []
|
|
7249
|
+
},
|
|
7250
|
+
{
|
|
7251
|
+
"kind": "javascript-module",
|
|
7252
|
+
"path": "e2e/tests/sdkcore-false-tests/vaulted-paypal.spec.ts",
|
|
7253
|
+
"declarations": [],
|
|
7254
|
+
"exports": []
|
|
7255
|
+
},
|
|
7214
7256
|
{
|
|
7215
7257
|
"kind": "javascript-module",
|
|
7216
7258
|
"path": "e2e/mocks/sdkcore-true/billing-address.ts",
|
|
@@ -7335,48 +7377,6 @@
|
|
|
7335
7377
|
}
|
|
7336
7378
|
]
|
|
7337
7379
|
},
|
|
7338
|
-
{
|
|
7339
|
-
"kind": "javascript-module",
|
|
7340
|
-
"path": "e2e/tests/sdkcore-false-tests/card-3ds.spec.ts",
|
|
7341
|
-
"declarations": [],
|
|
7342
|
-
"exports": []
|
|
7343
|
-
},
|
|
7344
|
-
{
|
|
7345
|
-
"kind": "javascript-module",
|
|
7346
|
-
"path": "e2e/tests/sdkcore-false-tests/card-basic.spec.ts",
|
|
7347
|
-
"declarations": [],
|
|
7348
|
-
"exports": []
|
|
7349
|
-
},
|
|
7350
|
-
{
|
|
7351
|
-
"kind": "javascript-module",
|
|
7352
|
-
"path": "e2e/tests/sdkcore-false-tests/disabled-payments.spec.ts",
|
|
7353
|
-
"declarations": [],
|
|
7354
|
-
"exports": []
|
|
7355
|
-
},
|
|
7356
|
-
{
|
|
7357
|
-
"kind": "javascript-module",
|
|
7358
|
-
"path": "e2e/tests/sdkcore-false-tests/klarna.spec.ts",
|
|
7359
|
-
"declarations": [],
|
|
7360
|
-
"exports": []
|
|
7361
|
-
},
|
|
7362
|
-
{
|
|
7363
|
-
"kind": "javascript-module",
|
|
7364
|
-
"path": "e2e/tests/sdkcore-false-tests/vaulted-paypal.spec.ts",
|
|
7365
|
-
"declarations": [],
|
|
7366
|
-
"exports": []
|
|
7367
|
-
},
|
|
7368
|
-
{
|
|
7369
|
-
"kind": "javascript-module",
|
|
7370
|
-
"path": "e2e/tests/sdkcore-true-tests/card-form-billing-address.spec.ts",
|
|
7371
|
-
"declarations": [],
|
|
7372
|
-
"exports": []
|
|
7373
|
-
},
|
|
7374
|
-
{
|
|
7375
|
-
"kind": "javascript-module",
|
|
7376
|
-
"path": "e2e/tests/sdkcore-true-tests/paypal.spec.ts",
|
|
7377
|
-
"declarations": [],
|
|
7378
|
-
"exports": []
|
|
7379
|
-
},
|
|
7380
7380
|
{
|
|
7381
7381
|
"kind": "javascript-module",
|
|
7382
7382
|
"path": "src/__tests__/mocks/sdk-core.ts",
|
|
@@ -18325,6 +18325,167 @@
|
|
|
18325
18325
|
}
|
|
18326
18326
|
]
|
|
18327
18327
|
},
|
|
18328
|
+
{
|
|
18329
|
+
"kind": "javascript-module",
|
|
18330
|
+
"path": "src/containers/vault-manager/components/vault-delete-confirmation/vault-delete-confirmation.component.ts",
|
|
18331
|
+
"declarations": [
|
|
18332
|
+
{
|
|
18333
|
+
"kind": "class",
|
|
18334
|
+
"description": "VaultDeleteConfirmationComponent - displays confirmation UI for deleting a payment method",
|
|
18335
|
+
"name": "VaultDeleteConfirmationComponent",
|
|
18336
|
+
"members": [
|
|
18337
|
+
{
|
|
18338
|
+
"kind": "field",
|
|
18339
|
+
"name": "addEventListener",
|
|
18340
|
+
"type": {
|
|
18341
|
+
"text": "<K extends keyof VaultManagerEventMap>(\n type: K,\n listener: (ev: VaultManagerEventMap[K]) => void,\n options?: boolean | AddEventListenerOptions,\n ) => void"
|
|
18342
|
+
},
|
|
18343
|
+
"description": "Strongly typed event declarations"
|
|
18344
|
+
},
|
|
18345
|
+
{
|
|
18346
|
+
"kind": "field",
|
|
18347
|
+
"name": "removeEventListener",
|
|
18348
|
+
"type": {
|
|
18349
|
+
"text": "<K extends keyof VaultManagerEventMap>(\n type: K,\n listener: (ev: VaultManagerEventMap[K]) => void,\n options?: boolean | AddEventListenerOptions,\n ) => void"
|
|
18350
|
+
}
|
|
18351
|
+
},
|
|
18352
|
+
{
|
|
18353
|
+
"kind": "field",
|
|
18354
|
+
"name": "isDeleting",
|
|
18355
|
+
"type": {
|
|
18356
|
+
"text": "boolean"
|
|
18357
|
+
},
|
|
18358
|
+
"default": "false",
|
|
18359
|
+
"description": "Whether a delete operation is in progress",
|
|
18360
|
+
"attribute": "isDeleting"
|
|
18361
|
+
},
|
|
18362
|
+
{
|
|
18363
|
+
"kind": "field",
|
|
18364
|
+
"name": "paymentMethodId",
|
|
18365
|
+
"type": {
|
|
18366
|
+
"text": "string"
|
|
18367
|
+
},
|
|
18368
|
+
"default": "''",
|
|
18369
|
+
"description": "The ID of the payment method being deleted",
|
|
18370
|
+
"attribute": "paymentMethodId"
|
|
18371
|
+
},
|
|
18372
|
+
{
|
|
18373
|
+
"kind": "field",
|
|
18374
|
+
"name": "paymentMethodName",
|
|
18375
|
+
"type": {
|
|
18376
|
+
"text": "string"
|
|
18377
|
+
},
|
|
18378
|
+
"default": "''",
|
|
18379
|
+
"description": "Payment method name to display in confirmation",
|
|
18380
|
+
"attribute": "paymentMethodName"
|
|
18381
|
+
},
|
|
18382
|
+
{
|
|
18383
|
+
"kind": "field",
|
|
18384
|
+
"name": "vaultManager",
|
|
18385
|
+
"type": {
|
|
18386
|
+
"text": "VaultManagerContextType"
|
|
18387
|
+
},
|
|
18388
|
+
"default": "null",
|
|
18389
|
+
"description": "Consume the vault manager context to access payment method info"
|
|
18390
|
+
},
|
|
18391
|
+
{
|
|
18392
|
+
"kind": "field",
|
|
18393
|
+
"name": "handleConfirmClick",
|
|
18394
|
+
"privacy": "private",
|
|
18395
|
+
"description": "Handle confirm click"
|
|
18396
|
+
},
|
|
18397
|
+
{
|
|
18398
|
+
"kind": "field",
|
|
18399
|
+
"name": "handleCancelClick",
|
|
18400
|
+
"privacy": "private",
|
|
18401
|
+
"description": "Handle cancel click"
|
|
18402
|
+
}
|
|
18403
|
+
],
|
|
18404
|
+
"attributes": [
|
|
18405
|
+
{
|
|
18406
|
+
"name": "isDeleting",
|
|
18407
|
+
"type": {
|
|
18408
|
+
"text": "boolean"
|
|
18409
|
+
},
|
|
18410
|
+
"default": "false",
|
|
18411
|
+
"description": "Whether a delete operation is in progress",
|
|
18412
|
+
"fieldName": "isDeleting"
|
|
18413
|
+
},
|
|
18414
|
+
{
|
|
18415
|
+
"name": "paymentMethodId",
|
|
18416
|
+
"type": {
|
|
18417
|
+
"text": "string"
|
|
18418
|
+
},
|
|
18419
|
+
"default": "''",
|
|
18420
|
+
"description": "The ID of the payment method being deleted",
|
|
18421
|
+
"fieldName": "paymentMethodId"
|
|
18422
|
+
},
|
|
18423
|
+
{
|
|
18424
|
+
"name": "paymentMethodName",
|
|
18425
|
+
"type": {
|
|
18426
|
+
"text": "string"
|
|
18427
|
+
},
|
|
18428
|
+
"default": "''",
|
|
18429
|
+
"description": "Payment method name to display in confirmation",
|
|
18430
|
+
"fieldName": "paymentMethodName"
|
|
18431
|
+
}
|
|
18432
|
+
],
|
|
18433
|
+
"superclass": {
|
|
18434
|
+
"name": "LitElement",
|
|
18435
|
+
"package": "lit"
|
|
18436
|
+
},
|
|
18437
|
+
"tagName": "primer-vault-delete-confirmation",
|
|
18438
|
+
"customElement": true
|
|
18439
|
+
}
|
|
18440
|
+
],
|
|
18441
|
+
"exports": [
|
|
18442
|
+
{
|
|
18443
|
+
"kind": "js",
|
|
18444
|
+
"name": "VaultDeleteConfirmationComponent",
|
|
18445
|
+
"declaration": {
|
|
18446
|
+
"name": "VaultDeleteConfirmationComponent",
|
|
18447
|
+
"module": "src/containers/vault-manager/components/vault-delete-confirmation/vault-delete-confirmation.component.ts"
|
|
18448
|
+
}
|
|
18449
|
+
},
|
|
18450
|
+
{
|
|
18451
|
+
"kind": "custom-element-definition",
|
|
18452
|
+
"name": "primer-vault-delete-confirmation",
|
|
18453
|
+
"declaration": {
|
|
18454
|
+
"name": "VaultDeleteConfirmationComponent",
|
|
18455
|
+
"module": "src/containers/vault-manager/components/vault-delete-confirmation/vault-delete-confirmation.component.ts"
|
|
18456
|
+
}
|
|
18457
|
+
}
|
|
18458
|
+
]
|
|
18459
|
+
},
|
|
18460
|
+
{
|
|
18461
|
+
"kind": "javascript-module",
|
|
18462
|
+
"path": "src/containers/vault-manager/components/vault-delete-confirmation/vault-delete-confirmation.styles.ts",
|
|
18463
|
+
"declarations": [],
|
|
18464
|
+
"exports": [
|
|
18465
|
+
{
|
|
18466
|
+
"kind": "js",
|
|
18467
|
+
"name": "default",
|
|
18468
|
+
"declaration": {
|
|
18469
|
+
"module": "src/containers/vault-manager/components/vault-delete-confirmation/vault-delete-confirmation.styles.ts"
|
|
18470
|
+
}
|
|
18471
|
+
}
|
|
18472
|
+
]
|
|
18473
|
+
},
|
|
18474
|
+
{
|
|
18475
|
+
"kind": "javascript-module",
|
|
18476
|
+
"path": "src/containers/vault-manager/components/vault-delete-confirmation/vault-delete-confirmation.ts",
|
|
18477
|
+
"declarations": [],
|
|
18478
|
+
"exports": [
|
|
18479
|
+
{
|
|
18480
|
+
"kind": "js",
|
|
18481
|
+
"name": "VaultDeleteConfirmation",
|
|
18482
|
+
"declaration": {
|
|
18483
|
+
"name": "VaultDeleteConfirmationComponent",
|
|
18484
|
+
"module": "src/containers/vault-manager/components/vault-delete-confirmation/vault-delete-confirmation.ts"
|
|
18485
|
+
}
|
|
18486
|
+
}
|
|
18487
|
+
]
|
|
18488
|
+
},
|
|
18328
18489
|
{
|
|
18329
18490
|
"kind": "javascript-module",
|
|
18330
18491
|
"path": "src/containers/vault-manager/components/vault-cvv-input/vault-cvv-input.component.ts",
|
|
@@ -18526,168 +18687,7 @@
|
|
|
18526
18687
|
},
|
|
18527
18688
|
{
|
|
18528
18689
|
"kind": "javascript-module",
|
|
18529
|
-
"path": "src/containers/vault-manager/components/vault-
|
|
18530
|
-
"declarations": [
|
|
18531
|
-
{
|
|
18532
|
-
"kind": "class",
|
|
18533
|
-
"description": "VaultDeleteConfirmationComponent - displays confirmation UI for deleting a payment method",
|
|
18534
|
-
"name": "VaultDeleteConfirmationComponent",
|
|
18535
|
-
"members": [
|
|
18536
|
-
{
|
|
18537
|
-
"kind": "field",
|
|
18538
|
-
"name": "addEventListener",
|
|
18539
|
-
"type": {
|
|
18540
|
-
"text": "<K extends keyof VaultManagerEventMap>(\n type: K,\n listener: (ev: VaultManagerEventMap[K]) => void,\n options?: boolean | AddEventListenerOptions,\n ) => void"
|
|
18541
|
-
},
|
|
18542
|
-
"description": "Strongly typed event declarations"
|
|
18543
|
-
},
|
|
18544
|
-
{
|
|
18545
|
-
"kind": "field",
|
|
18546
|
-
"name": "removeEventListener",
|
|
18547
|
-
"type": {
|
|
18548
|
-
"text": "<K extends keyof VaultManagerEventMap>(\n type: K,\n listener: (ev: VaultManagerEventMap[K]) => void,\n options?: boolean | AddEventListenerOptions,\n ) => void"
|
|
18549
|
-
}
|
|
18550
|
-
},
|
|
18551
|
-
{
|
|
18552
|
-
"kind": "field",
|
|
18553
|
-
"name": "isDeleting",
|
|
18554
|
-
"type": {
|
|
18555
|
-
"text": "boolean"
|
|
18556
|
-
},
|
|
18557
|
-
"default": "false",
|
|
18558
|
-
"description": "Whether a delete operation is in progress",
|
|
18559
|
-
"attribute": "isDeleting"
|
|
18560
|
-
},
|
|
18561
|
-
{
|
|
18562
|
-
"kind": "field",
|
|
18563
|
-
"name": "paymentMethodId",
|
|
18564
|
-
"type": {
|
|
18565
|
-
"text": "string"
|
|
18566
|
-
},
|
|
18567
|
-
"default": "''",
|
|
18568
|
-
"description": "The ID of the payment method being deleted",
|
|
18569
|
-
"attribute": "paymentMethodId"
|
|
18570
|
-
},
|
|
18571
|
-
{
|
|
18572
|
-
"kind": "field",
|
|
18573
|
-
"name": "paymentMethodName",
|
|
18574
|
-
"type": {
|
|
18575
|
-
"text": "string"
|
|
18576
|
-
},
|
|
18577
|
-
"default": "''",
|
|
18578
|
-
"description": "Payment method name to display in confirmation",
|
|
18579
|
-
"attribute": "paymentMethodName"
|
|
18580
|
-
},
|
|
18581
|
-
{
|
|
18582
|
-
"kind": "field",
|
|
18583
|
-
"name": "vaultManager",
|
|
18584
|
-
"type": {
|
|
18585
|
-
"text": "VaultManagerContextType"
|
|
18586
|
-
},
|
|
18587
|
-
"default": "null",
|
|
18588
|
-
"description": "Consume the vault manager context to access payment method info"
|
|
18589
|
-
},
|
|
18590
|
-
{
|
|
18591
|
-
"kind": "field",
|
|
18592
|
-
"name": "handleConfirmClick",
|
|
18593
|
-
"privacy": "private",
|
|
18594
|
-
"description": "Handle confirm click"
|
|
18595
|
-
},
|
|
18596
|
-
{
|
|
18597
|
-
"kind": "field",
|
|
18598
|
-
"name": "handleCancelClick",
|
|
18599
|
-
"privacy": "private",
|
|
18600
|
-
"description": "Handle cancel click"
|
|
18601
|
-
}
|
|
18602
|
-
],
|
|
18603
|
-
"attributes": [
|
|
18604
|
-
{
|
|
18605
|
-
"name": "isDeleting",
|
|
18606
|
-
"type": {
|
|
18607
|
-
"text": "boolean"
|
|
18608
|
-
},
|
|
18609
|
-
"default": "false",
|
|
18610
|
-
"description": "Whether a delete operation is in progress",
|
|
18611
|
-
"fieldName": "isDeleting"
|
|
18612
|
-
},
|
|
18613
|
-
{
|
|
18614
|
-
"name": "paymentMethodId",
|
|
18615
|
-
"type": {
|
|
18616
|
-
"text": "string"
|
|
18617
|
-
},
|
|
18618
|
-
"default": "''",
|
|
18619
|
-
"description": "The ID of the payment method being deleted",
|
|
18620
|
-
"fieldName": "paymentMethodId"
|
|
18621
|
-
},
|
|
18622
|
-
{
|
|
18623
|
-
"name": "paymentMethodName",
|
|
18624
|
-
"type": {
|
|
18625
|
-
"text": "string"
|
|
18626
|
-
},
|
|
18627
|
-
"default": "''",
|
|
18628
|
-
"description": "Payment method name to display in confirmation",
|
|
18629
|
-
"fieldName": "paymentMethodName"
|
|
18630
|
-
}
|
|
18631
|
-
],
|
|
18632
|
-
"superclass": {
|
|
18633
|
-
"name": "LitElement",
|
|
18634
|
-
"package": "lit"
|
|
18635
|
-
},
|
|
18636
|
-
"tagName": "primer-vault-delete-confirmation",
|
|
18637
|
-
"customElement": true
|
|
18638
|
-
}
|
|
18639
|
-
],
|
|
18640
|
-
"exports": [
|
|
18641
|
-
{
|
|
18642
|
-
"kind": "js",
|
|
18643
|
-
"name": "VaultDeleteConfirmationComponent",
|
|
18644
|
-
"declaration": {
|
|
18645
|
-
"name": "VaultDeleteConfirmationComponent",
|
|
18646
|
-
"module": "src/containers/vault-manager/components/vault-delete-confirmation/vault-delete-confirmation.component.ts"
|
|
18647
|
-
}
|
|
18648
|
-
},
|
|
18649
|
-
{
|
|
18650
|
-
"kind": "custom-element-definition",
|
|
18651
|
-
"name": "primer-vault-delete-confirmation",
|
|
18652
|
-
"declaration": {
|
|
18653
|
-
"name": "VaultDeleteConfirmationComponent",
|
|
18654
|
-
"module": "src/containers/vault-manager/components/vault-delete-confirmation/vault-delete-confirmation.component.ts"
|
|
18655
|
-
}
|
|
18656
|
-
}
|
|
18657
|
-
]
|
|
18658
|
-
},
|
|
18659
|
-
{
|
|
18660
|
-
"kind": "javascript-module",
|
|
18661
|
-
"path": "src/containers/vault-manager/components/vault-delete-confirmation/vault-delete-confirmation.styles.ts",
|
|
18662
|
-
"declarations": [],
|
|
18663
|
-
"exports": [
|
|
18664
|
-
{
|
|
18665
|
-
"kind": "js",
|
|
18666
|
-
"name": "default",
|
|
18667
|
-
"declaration": {
|
|
18668
|
-
"module": "src/containers/vault-manager/components/vault-delete-confirmation/vault-delete-confirmation.styles.ts"
|
|
18669
|
-
}
|
|
18670
|
-
}
|
|
18671
|
-
]
|
|
18672
|
-
},
|
|
18673
|
-
{
|
|
18674
|
-
"kind": "javascript-module",
|
|
18675
|
-
"path": "src/containers/vault-manager/components/vault-delete-confirmation/vault-delete-confirmation.ts",
|
|
18676
|
-
"declarations": [],
|
|
18677
|
-
"exports": [
|
|
18678
|
-
{
|
|
18679
|
-
"kind": "js",
|
|
18680
|
-
"name": "VaultDeleteConfirmation",
|
|
18681
|
-
"declaration": {
|
|
18682
|
-
"name": "VaultDeleteConfirmationComponent",
|
|
18683
|
-
"module": "src/containers/vault-manager/components/vault-delete-confirmation/vault-delete-confirmation.ts"
|
|
18684
|
-
}
|
|
18685
|
-
}
|
|
18686
|
-
]
|
|
18687
|
-
},
|
|
18688
|
-
{
|
|
18689
|
-
"kind": "javascript-module",
|
|
18690
|
-
"path": "src/containers/vault-manager/components/vault-empty-state/vault-empty-state.component.ts",
|
|
18690
|
+
"path": "src/containers/vault-manager/components/vault-empty-state/vault-empty-state.component.ts",
|
|
18691
18691
|
"declarations": [
|
|
18692
18692
|
{
|
|
18693
18693
|
"kind": "class",
|
|
@@ -18752,12 +18752,12 @@
|
|
|
18752
18752
|
},
|
|
18753
18753
|
{
|
|
18754
18754
|
"kind": "javascript-module",
|
|
18755
|
-
"path": "src/containers/vault-manager/components/vault-
|
|
18755
|
+
"path": "src/containers/vault-manager/components/vault-manager-header/vault-manager-header.component.ts",
|
|
18756
18756
|
"declarations": [
|
|
18757
18757
|
{
|
|
18758
18758
|
"kind": "class",
|
|
18759
|
-
"description": "
|
|
18760
|
-
"name": "
|
|
18759
|
+
"description": "VaultManagerHeaderComponent - displays the header for the vault manager",
|
|
18760
|
+
"name": "VaultManagerHeaderComponent",
|
|
18761
18761
|
"members": [
|
|
18762
18762
|
{
|
|
18763
18763
|
"kind": "field",
|
|
@@ -18776,96 +18776,115 @@
|
|
|
18776
18776
|
},
|
|
18777
18777
|
{
|
|
18778
18778
|
"kind": "field",
|
|
18779
|
-
"name": "
|
|
18779
|
+
"name": "isEditMode",
|
|
18780
18780
|
"type": {
|
|
18781
|
-
"text": "
|
|
18781
|
+
"text": "boolean"
|
|
18782
18782
|
},
|
|
18783
|
-
"default": "
|
|
18784
|
-
"description": "
|
|
18785
|
-
"attribute": "
|
|
18783
|
+
"default": "false",
|
|
18784
|
+
"description": "Whether we're in edit mode",
|
|
18785
|
+
"attribute": "isEditMode"
|
|
18786
18786
|
},
|
|
18787
18787
|
{
|
|
18788
18788
|
"kind": "field",
|
|
18789
|
-
"name": "
|
|
18789
|
+
"name": "hasPaymentMethods",
|
|
18790
|
+
"type": {
|
|
18791
|
+
"text": "boolean"
|
|
18792
|
+
},
|
|
18793
|
+
"default": "false",
|
|
18794
|
+
"description": "Whether we have payment methods to edit",
|
|
18795
|
+
"attribute": "hasPaymentMethods"
|
|
18796
|
+
},
|
|
18797
|
+
{
|
|
18798
|
+
"kind": "field",
|
|
18799
|
+
"name": "toggleEditMode",
|
|
18790
18800
|
"privacy": "private",
|
|
18791
|
-
"description": "
|
|
18801
|
+
"description": "Toggle edit mode"
|
|
18792
18802
|
}
|
|
18793
18803
|
],
|
|
18794
18804
|
"attributes": [
|
|
18795
18805
|
{
|
|
18796
|
-
"name": "
|
|
18806
|
+
"name": "isEditMode",
|
|
18797
18807
|
"type": {
|
|
18798
|
-
"text": "
|
|
18808
|
+
"text": "boolean"
|
|
18799
18809
|
},
|
|
18800
|
-
"default": "
|
|
18801
|
-
"description": "
|
|
18802
|
-
"fieldName": "
|
|
18810
|
+
"default": "false",
|
|
18811
|
+
"description": "Whether we're in edit mode",
|
|
18812
|
+
"fieldName": "isEditMode"
|
|
18813
|
+
},
|
|
18814
|
+
{
|
|
18815
|
+
"name": "hasPaymentMethods",
|
|
18816
|
+
"type": {
|
|
18817
|
+
"text": "boolean"
|
|
18818
|
+
},
|
|
18819
|
+
"default": "false",
|
|
18820
|
+
"description": "Whether we have payment methods to edit",
|
|
18821
|
+
"fieldName": "hasPaymentMethods"
|
|
18803
18822
|
}
|
|
18804
18823
|
],
|
|
18805
18824
|
"superclass": {
|
|
18806
18825
|
"name": "LitElement",
|
|
18807
18826
|
"package": "lit"
|
|
18808
18827
|
},
|
|
18809
|
-
"tagName": "primer-vault-
|
|
18828
|
+
"tagName": "primer-vault-manager-header",
|
|
18810
18829
|
"customElement": true
|
|
18811
18830
|
}
|
|
18812
18831
|
],
|
|
18813
18832
|
"exports": [
|
|
18814
18833
|
{
|
|
18815
18834
|
"kind": "js",
|
|
18816
|
-
"name": "
|
|
18835
|
+
"name": "VaultManagerHeaderComponent",
|
|
18817
18836
|
"declaration": {
|
|
18818
|
-
"name": "
|
|
18819
|
-
"module": "src/containers/vault-manager/components/vault-
|
|
18837
|
+
"name": "VaultManagerHeaderComponent",
|
|
18838
|
+
"module": "src/containers/vault-manager/components/vault-manager-header/vault-manager-header.component.ts"
|
|
18820
18839
|
}
|
|
18821
18840
|
},
|
|
18822
18841
|
{
|
|
18823
18842
|
"kind": "custom-element-definition",
|
|
18824
|
-
"name": "primer-vault-
|
|
18843
|
+
"name": "primer-vault-manager-header",
|
|
18825
18844
|
"declaration": {
|
|
18826
|
-
"name": "
|
|
18827
|
-
"module": "src/containers/vault-manager/components/vault-
|
|
18845
|
+
"name": "VaultManagerHeaderComponent",
|
|
18846
|
+
"module": "src/containers/vault-manager/components/vault-manager-header/vault-manager-header.component.ts"
|
|
18828
18847
|
}
|
|
18829
18848
|
}
|
|
18830
18849
|
]
|
|
18831
18850
|
},
|
|
18832
18851
|
{
|
|
18833
18852
|
"kind": "javascript-module",
|
|
18834
|
-
"path": "src/containers/vault-manager/components/vault-
|
|
18853
|
+
"path": "src/containers/vault-manager/components/vault-manager-header/vault-manager-header.styles.ts",
|
|
18835
18854
|
"declarations": [],
|
|
18836
18855
|
"exports": [
|
|
18837
18856
|
{
|
|
18838
18857
|
"kind": "js",
|
|
18839
18858
|
"name": "default",
|
|
18840
18859
|
"declaration": {
|
|
18841
|
-
"module": "src/containers/vault-manager/components/vault-
|
|
18860
|
+
"module": "src/containers/vault-manager/components/vault-manager-header/vault-manager-header.styles.ts"
|
|
18842
18861
|
}
|
|
18843
18862
|
}
|
|
18844
18863
|
]
|
|
18845
18864
|
},
|
|
18846
18865
|
{
|
|
18847
18866
|
"kind": "javascript-module",
|
|
18848
|
-
"path": "src/containers/vault-manager/components/vault-
|
|
18867
|
+
"path": "src/containers/vault-manager/components/vault-manager-header/vault-manager-header.ts",
|
|
18849
18868
|
"declarations": [],
|
|
18850
18869
|
"exports": [
|
|
18851
18870
|
{
|
|
18852
18871
|
"kind": "js",
|
|
18853
|
-
"name": "
|
|
18872
|
+
"name": "VaultManagerHeader",
|
|
18854
18873
|
"declaration": {
|
|
18855
|
-
"name": "
|
|
18856
|
-
"module": "src/containers/vault-manager/components/vault-
|
|
18874
|
+
"name": "VaultManagerHeaderComponent",
|
|
18875
|
+
"module": "src/containers/vault-manager/components/vault-manager-header/vault-manager-header.ts"
|
|
18857
18876
|
}
|
|
18858
18877
|
}
|
|
18859
18878
|
]
|
|
18860
18879
|
},
|
|
18861
18880
|
{
|
|
18862
18881
|
"kind": "javascript-module",
|
|
18863
|
-
"path": "src/containers/vault-manager/components/vault-
|
|
18882
|
+
"path": "src/containers/vault-manager/components/vault-error-message/vault-error-message.component.ts",
|
|
18864
18883
|
"declarations": [
|
|
18865
18884
|
{
|
|
18866
18885
|
"kind": "class",
|
|
18867
|
-
"description": "
|
|
18868
|
-
"name": "
|
|
18886
|
+
"description": "VaultErrorMessageComponent - displays error messages with improved visuals",
|
|
18887
|
+
"name": "VaultErrorMessageComponent",
|
|
18869
18888
|
"members": [
|
|
18870
18889
|
{
|
|
18871
18890
|
"kind": "field",
|
|
@@ -18884,103 +18903,84 @@
|
|
|
18884
18903
|
},
|
|
18885
18904
|
{
|
|
18886
18905
|
"kind": "field",
|
|
18887
|
-
"name": "
|
|
18888
|
-
"type": {
|
|
18889
|
-
"text": "boolean"
|
|
18890
|
-
},
|
|
18891
|
-
"default": "false",
|
|
18892
|
-
"description": "Whether we're in edit mode",
|
|
18893
|
-
"attribute": "isEditMode"
|
|
18894
|
-
},
|
|
18895
|
-
{
|
|
18896
|
-
"kind": "field",
|
|
18897
|
-
"name": "hasPaymentMethods",
|
|
18906
|
+
"name": "errorMessage",
|
|
18898
18907
|
"type": {
|
|
18899
|
-
"text": "
|
|
18908
|
+
"text": "string"
|
|
18900
18909
|
},
|
|
18901
|
-
"default": "
|
|
18902
|
-
"description": "
|
|
18903
|
-
"attribute": "
|
|
18910
|
+
"default": "''",
|
|
18911
|
+
"description": "The error message to display",
|
|
18912
|
+
"attribute": "errorMessage"
|
|
18904
18913
|
},
|
|
18905
18914
|
{
|
|
18906
18915
|
"kind": "field",
|
|
18907
|
-
"name": "
|
|
18916
|
+
"name": "handleDismiss",
|
|
18908
18917
|
"privacy": "private",
|
|
18909
|
-
"description": "
|
|
18918
|
+
"description": "Handle dismiss click"
|
|
18910
18919
|
}
|
|
18911
18920
|
],
|
|
18912
18921
|
"attributes": [
|
|
18913
18922
|
{
|
|
18914
|
-
"name": "
|
|
18915
|
-
"type": {
|
|
18916
|
-
"text": "boolean"
|
|
18917
|
-
},
|
|
18918
|
-
"default": "false",
|
|
18919
|
-
"description": "Whether we're in edit mode",
|
|
18920
|
-
"fieldName": "isEditMode"
|
|
18921
|
-
},
|
|
18922
|
-
{
|
|
18923
|
-
"name": "hasPaymentMethods",
|
|
18923
|
+
"name": "errorMessage",
|
|
18924
18924
|
"type": {
|
|
18925
|
-
"text": "
|
|
18925
|
+
"text": "string"
|
|
18926
18926
|
},
|
|
18927
|
-
"default": "
|
|
18928
|
-
"description": "
|
|
18929
|
-
"fieldName": "
|
|
18927
|
+
"default": "''",
|
|
18928
|
+
"description": "The error message to display",
|
|
18929
|
+
"fieldName": "errorMessage"
|
|
18930
18930
|
}
|
|
18931
18931
|
],
|
|
18932
18932
|
"superclass": {
|
|
18933
18933
|
"name": "LitElement",
|
|
18934
18934
|
"package": "lit"
|
|
18935
18935
|
},
|
|
18936
|
-
"tagName": "primer-vault-
|
|
18936
|
+
"tagName": "primer-vault-error-message",
|
|
18937
18937
|
"customElement": true
|
|
18938
18938
|
}
|
|
18939
18939
|
],
|
|
18940
18940
|
"exports": [
|
|
18941
18941
|
{
|
|
18942
18942
|
"kind": "js",
|
|
18943
|
-
"name": "
|
|
18943
|
+
"name": "VaultErrorMessageComponent",
|
|
18944
18944
|
"declaration": {
|
|
18945
|
-
"name": "
|
|
18946
|
-
"module": "src/containers/vault-manager/components/vault-
|
|
18945
|
+
"name": "VaultErrorMessageComponent",
|
|
18946
|
+
"module": "src/containers/vault-manager/components/vault-error-message/vault-error-message.component.ts"
|
|
18947
18947
|
}
|
|
18948
18948
|
},
|
|
18949
18949
|
{
|
|
18950
18950
|
"kind": "custom-element-definition",
|
|
18951
|
-
"name": "primer-vault-
|
|
18951
|
+
"name": "primer-vault-error-message",
|
|
18952
18952
|
"declaration": {
|
|
18953
|
-
"name": "
|
|
18954
|
-
"module": "src/containers/vault-manager/components/vault-
|
|
18953
|
+
"name": "VaultErrorMessageComponent",
|
|
18954
|
+
"module": "src/containers/vault-manager/components/vault-error-message/vault-error-message.component.ts"
|
|
18955
18955
|
}
|
|
18956
18956
|
}
|
|
18957
18957
|
]
|
|
18958
18958
|
},
|
|
18959
18959
|
{
|
|
18960
18960
|
"kind": "javascript-module",
|
|
18961
|
-
"path": "src/containers/vault-manager/components/vault-
|
|
18961
|
+
"path": "src/containers/vault-manager/components/vault-error-message/vault-error-message.styles.ts",
|
|
18962
18962
|
"declarations": [],
|
|
18963
18963
|
"exports": [
|
|
18964
18964
|
{
|
|
18965
18965
|
"kind": "js",
|
|
18966
18966
|
"name": "default",
|
|
18967
18967
|
"declaration": {
|
|
18968
|
-
"module": "src/containers/vault-manager/components/vault-
|
|
18968
|
+
"module": "src/containers/vault-manager/components/vault-error-message/vault-error-message.styles.ts"
|
|
18969
18969
|
}
|
|
18970
18970
|
}
|
|
18971
18971
|
]
|
|
18972
18972
|
},
|
|
18973
18973
|
{
|
|
18974
18974
|
"kind": "javascript-module",
|
|
18975
|
-
"path": "src/containers/vault-manager/components/vault-
|
|
18975
|
+
"path": "src/containers/vault-manager/components/vault-error-message/vault-error-message.ts",
|
|
18976
18976
|
"declarations": [],
|
|
18977
18977
|
"exports": [
|
|
18978
18978
|
{
|
|
18979
18979
|
"kind": "js",
|
|
18980
|
-
"name": "
|
|
18980
|
+
"name": "VaultErrorMessage",
|
|
18981
18981
|
"declaration": {
|
|
18982
|
-
"name": "
|
|
18983
|
-
"module": "src/containers/vault-manager/components/vault-
|
|
18982
|
+
"name": "VaultErrorMessageComponent",
|
|
18983
|
+
"module": "src/containers/vault-manager/components/vault-error-message/vault-error-message.ts"
|
|
18984
18984
|
}
|
|
18985
18985
|
}
|
|
18986
18986
|
]
|