@momentum-design/components 0.120.32 → 0.120.33
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/dist/custom-elements.json +1820 -1820
- package/dist/react/index.d.ts +3 -3
- package/dist/react/index.js +3 -3
- package/package.json +1 -1
|
@@ -7212,447 +7212,6 @@
|
|
|
7212
7212
|
}
|
|
7213
7213
|
]
|
|
7214
7214
|
},
|
|
7215
|
-
{
|
|
7216
|
-
"kind": "javascript-module",
|
|
7217
|
-
"path": "components/card/card.component.js",
|
|
7218
|
-
"declarations": [
|
|
7219
|
-
{
|
|
7220
|
-
"kind": "class",
|
|
7221
|
-
"description": "The card component allows users to organize information in a structured and tangible\nformat that is visually appealing. `mdc-card` is a static component that supports\nthe following features:\n- Image\n- Header\n - Icon\n - Title\n - Subtitle\n- Body\n\nThe card can either be vertically or horizontally oriented. The vertical card has a min-width of 20rem and the horizontal card has a min-width of 40rem.\n\nThere are 2 variants for the card that represent the border styling - 'border' and 'ghost'.\n\nTo make this card interactive, use the following slots:\n- `icon-button`: This slot supports action icon buttons in the header section (maximum of 3 buttons).\n- `footer-link`: This slot is for passing `mdc-link` component within the footer section.\n- `footer-button-primary`: This slot is for passing primary variant of `mdc-button` component within the footer section.\n- `footer-button-secondary`: This slot is for passing secondary variant of `mdc-button` component\nwithin the footer section.\n\nInteractive card additionally supports 'promotional' variant that represents the border styling - 'promotional'.",
|
|
7222
|
-
"name": "Card",
|
|
7223
|
-
"cssProperties": [
|
|
7224
|
-
{
|
|
7225
|
-
"description": "The width of the card",
|
|
7226
|
-
"name": "--mdc-card-width"
|
|
7227
|
-
}
|
|
7228
|
-
],
|
|
7229
|
-
"cssParts": [
|
|
7230
|
-
{
|
|
7231
|
-
"description": "The header part of the card",
|
|
7232
|
-
"name": "header"
|
|
7233
|
-
},
|
|
7234
|
-
{
|
|
7235
|
-
"description": "The icon part of the card header",
|
|
7236
|
-
"name": "icon"
|
|
7237
|
-
},
|
|
7238
|
-
{
|
|
7239
|
-
"description": "The body part of the card",
|
|
7240
|
-
"name": "body"
|
|
7241
|
-
},
|
|
7242
|
-
{
|
|
7243
|
-
"description": "The image part of the card",
|
|
7244
|
-
"name": "image"
|
|
7245
|
-
},
|
|
7246
|
-
{
|
|
7247
|
-
"description": "The footer part of the card",
|
|
7248
|
-
"name": "footer"
|
|
7249
|
-
},
|
|
7250
|
-
{
|
|
7251
|
-
"description": "The link part of the card footer",
|
|
7252
|
-
"name": "footer-link"
|
|
7253
|
-
},
|
|
7254
|
-
{
|
|
7255
|
-
"description": "The primary button part of the card footer",
|
|
7256
|
-
"name": "footer-button-primary"
|
|
7257
|
-
},
|
|
7258
|
-
{
|
|
7259
|
-
"description": "The secondary button part of the card footer",
|
|
7260
|
-
"name": "footer-button-secondary"
|
|
7261
|
-
},
|
|
7262
|
-
{
|
|
7263
|
-
"description": "The icon button part of the card header",
|
|
7264
|
-
"name": "icon-button"
|
|
7265
|
-
},
|
|
7266
|
-
{
|
|
7267
|
-
"description": "The text part of the card",
|
|
7268
|
-
"name": "text"
|
|
7269
|
-
}
|
|
7270
|
-
],
|
|
7271
|
-
"slots": [
|
|
7272
|
-
{
|
|
7273
|
-
"description": "This slot is for passing the content before the body",
|
|
7274
|
-
"name": "before-body"
|
|
7275
|
-
},
|
|
7276
|
-
{
|
|
7277
|
-
"description": "This slot is for passing the text content for the card",
|
|
7278
|
-
"name": "body"
|
|
7279
|
-
},
|
|
7280
|
-
{
|
|
7281
|
-
"description": "This slot is for passing the content after the body",
|
|
7282
|
-
"name": "after-body"
|
|
7283
|
-
},
|
|
7284
|
-
{
|
|
7285
|
-
"description": "This slot is for passing `mdc-link` component within the footer section.",
|
|
7286
|
-
"name": "footer-link"
|
|
7287
|
-
},
|
|
7288
|
-
{
|
|
7289
|
-
"description": "This slot is for passing primary variant of `mdc-button` component within the footer section.",
|
|
7290
|
-
"name": "footer-button-primary"
|
|
7291
|
-
},
|
|
7292
|
-
{
|
|
7293
|
-
"description": "This slot is for passing secondary variant of `mdc-button` component within the footer section.",
|
|
7294
|
-
"name": "footer-button-secondary"
|
|
7295
|
-
},
|
|
7296
|
-
{
|
|
7297
|
-
"description": " This slot is for passing custom footer content. Only use this if really needed, using the footer-link and footer-button slots is preferred.",
|
|
7298
|
-
"name": "footer"
|
|
7299
|
-
}
|
|
7300
|
-
],
|
|
7301
|
-
"members": [
|
|
7302
|
-
{
|
|
7303
|
-
"kind": "method",
|
|
7304
|
-
"name": "renderHeader",
|
|
7305
|
-
"privacy": "protected",
|
|
7306
|
-
"description": "Renders the header of the card if title is provided",
|
|
7307
|
-
"return": {
|
|
7308
|
-
"type": {
|
|
7309
|
-
"text": ""
|
|
7310
|
-
}
|
|
7311
|
-
}
|
|
7312
|
-
},
|
|
7313
|
-
{
|
|
7314
|
-
"kind": "field",
|
|
7315
|
-
"name": "cardTitle",
|
|
7316
|
-
"type": {
|
|
7317
|
-
"text": "string"
|
|
7318
|
-
},
|
|
7319
|
-
"default": "''",
|
|
7320
|
-
"description": "The title of the card - part of header section",
|
|
7321
|
-
"attribute": "card-title",
|
|
7322
|
-
"reflects": true,
|
|
7323
|
-
"inheritedFrom": {
|
|
7324
|
-
"name": "CardComponentMixin",
|
|
7325
|
-
"module": "utils/mixins/CardComponentMixin.js"
|
|
7326
|
-
}
|
|
7327
|
-
},
|
|
7328
|
-
{
|
|
7329
|
-
"kind": "field",
|
|
7330
|
-
"name": "subtitle",
|
|
7331
|
-
"type": {
|
|
7332
|
-
"text": "string"
|
|
7333
|
-
},
|
|
7334
|
-
"default": "''",
|
|
7335
|
-
"description": "The subtitle of the card - part of header section",
|
|
7336
|
-
"attribute": "subtitle",
|
|
7337
|
-
"reflects": true,
|
|
7338
|
-
"inheritedFrom": {
|
|
7339
|
-
"name": "CardComponentMixin",
|
|
7340
|
-
"module": "utils/mixins/CardComponentMixin.js"
|
|
7341
|
-
}
|
|
7342
|
-
},
|
|
7343
|
-
{
|
|
7344
|
-
"kind": "field",
|
|
7345
|
-
"name": "imageSrc",
|
|
7346
|
-
"type": {
|
|
7347
|
-
"text": "string"
|
|
7348
|
-
},
|
|
7349
|
-
"default": "''",
|
|
7350
|
-
"description": "The image source URL to render on the card",
|
|
7351
|
-
"attribute": "image-src",
|
|
7352
|
-
"reflects": true,
|
|
7353
|
-
"inheritedFrom": {
|
|
7354
|
-
"name": "CardComponentMixin",
|
|
7355
|
-
"module": "utils/mixins/CardComponentMixin.js"
|
|
7356
|
-
}
|
|
7357
|
-
},
|
|
7358
|
-
{
|
|
7359
|
-
"kind": "field",
|
|
7360
|
-
"name": "imageAlt",
|
|
7361
|
-
"type": {
|
|
7362
|
-
"text": "string"
|
|
7363
|
-
},
|
|
7364
|
-
"default": "''",
|
|
7365
|
-
"description": "The image alt for accessibility support",
|
|
7366
|
-
"attribute": "image-alt",
|
|
7367
|
-
"reflects": true,
|
|
7368
|
-
"inheritedFrom": {
|
|
7369
|
-
"name": "CardComponentMixin",
|
|
7370
|
-
"module": "utils/mixins/CardComponentMixin.js"
|
|
7371
|
-
}
|
|
7372
|
-
},
|
|
7373
|
-
{
|
|
7374
|
-
"kind": "field",
|
|
7375
|
-
"name": "variant",
|
|
7376
|
-
"type": {
|
|
7377
|
-
"text": "CardVariant"
|
|
7378
|
-
},
|
|
7379
|
-
"description": "The variant of the card. It can either be set to 'border' or 'ghost'",
|
|
7380
|
-
"default": "'border'",
|
|
7381
|
-
"attribute": "variant",
|
|
7382
|
-
"reflects": true,
|
|
7383
|
-
"inheritedFrom": {
|
|
7384
|
-
"name": "CardComponentMixin",
|
|
7385
|
-
"module": "utils/mixins/CardComponentMixin.js"
|
|
7386
|
-
}
|
|
7387
|
-
},
|
|
7388
|
-
{
|
|
7389
|
-
"kind": "field",
|
|
7390
|
-
"name": "orientation",
|
|
7391
|
-
"type": {
|
|
7392
|
-
"text": "CardOrientation"
|
|
7393
|
-
},
|
|
7394
|
-
"description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
|
|
7395
|
-
"default": "'vertical'",
|
|
7396
|
-
"attribute": "orientation",
|
|
7397
|
-
"reflects": true,
|
|
7398
|
-
"inheritedFrom": {
|
|
7399
|
-
"name": "CardComponentMixin",
|
|
7400
|
-
"module": "utils/mixins/CardComponentMixin.js"
|
|
7401
|
-
}
|
|
7402
|
-
},
|
|
7403
|
-
{
|
|
7404
|
-
"kind": "field",
|
|
7405
|
-
"name": "titleTagName",
|
|
7406
|
-
"type": {
|
|
7407
|
-
"text": "TagNameType"
|
|
7408
|
-
},
|
|
7409
|
-
"description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
|
|
7410
|
-
"default": "'span'",
|
|
7411
|
-
"attribute": "title-tag-name",
|
|
7412
|
-
"reflects": true,
|
|
7413
|
-
"inheritedFrom": {
|
|
7414
|
-
"name": "CardComponentMixin",
|
|
7415
|
-
"module": "utils/mixins/CardComponentMixin.js"
|
|
7416
|
-
}
|
|
7417
|
-
},
|
|
7418
|
-
{
|
|
7419
|
-
"kind": "field",
|
|
7420
|
-
"name": "subtitleTagName",
|
|
7421
|
-
"type": {
|
|
7422
|
-
"text": "TagNameType"
|
|
7423
|
-
},
|
|
7424
|
-
"description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
|
|
7425
|
-
"default": "'span'",
|
|
7426
|
-
"attribute": "subtitle-tag-name",
|
|
7427
|
-
"reflects": true,
|
|
7428
|
-
"inheritedFrom": {
|
|
7429
|
-
"name": "CardComponentMixin",
|
|
7430
|
-
"module": "utils/mixins/CardComponentMixin.js"
|
|
7431
|
-
}
|
|
7432
|
-
},
|
|
7433
|
-
{
|
|
7434
|
-
"kind": "field",
|
|
7435
|
-
"name": "iconName",
|
|
7436
|
-
"type": {
|
|
7437
|
-
"text": "IconNames | undefined"
|
|
7438
|
-
},
|
|
7439
|
-
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
|
7440
|
-
"attribute": "icon-name",
|
|
7441
|
-
"reflects": true,
|
|
7442
|
-
"inheritedFrom": {
|
|
7443
|
-
"name": "CardComponentMixin",
|
|
7444
|
-
"module": "utils/mixins/CardComponentMixin.js"
|
|
7445
|
-
}
|
|
7446
|
-
},
|
|
7447
|
-
{
|
|
7448
|
-
"kind": "method",
|
|
7449
|
-
"name": "renderImage",
|
|
7450
|
-
"privacy": "protected",
|
|
7451
|
-
"description": "Renders the image on the card if image source is provided",
|
|
7452
|
-
"return": {
|
|
7453
|
-
"type": {
|
|
7454
|
-
"text": ""
|
|
7455
|
-
}
|
|
7456
|
-
},
|
|
7457
|
-
"inheritedFrom": {
|
|
7458
|
-
"name": "CardComponentMixin",
|
|
7459
|
-
"module": "utils/mixins/CardComponentMixin.js"
|
|
7460
|
-
}
|
|
7461
|
-
},
|
|
7462
|
-
{
|
|
7463
|
-
"kind": "method",
|
|
7464
|
-
"name": "renderIcon",
|
|
7465
|
-
"privacy": "protected",
|
|
7466
|
-
"description": "Renders the icon on the card if icon name is provided",
|
|
7467
|
-
"return": {
|
|
7468
|
-
"type": {
|
|
7469
|
-
"text": ""
|
|
7470
|
-
}
|
|
7471
|
-
},
|
|
7472
|
-
"inheritedFrom": {
|
|
7473
|
-
"name": "CardComponentMixin",
|
|
7474
|
-
"module": "utils/mixins/CardComponentMixin.js"
|
|
7475
|
-
}
|
|
7476
|
-
},
|
|
7477
|
-
{
|
|
7478
|
-
"kind": "method",
|
|
7479
|
-
"name": "renderTitle",
|
|
7480
|
-
"privacy": "protected",
|
|
7481
|
-
"description": "Renders the title and subtitle on the card",
|
|
7482
|
-
"return": {
|
|
7483
|
-
"type": {
|
|
7484
|
-
"text": ""
|
|
7485
|
-
}
|
|
7486
|
-
},
|
|
7487
|
-
"inheritedFrom": {
|
|
7488
|
-
"name": "CardComponentMixin",
|
|
7489
|
-
"module": "utils/mixins/CardComponentMixin.js"
|
|
7490
|
-
}
|
|
7491
|
-
},
|
|
7492
|
-
{
|
|
7493
|
-
"kind": "method",
|
|
7494
|
-
"name": "renderFooter",
|
|
7495
|
-
"privacy": "protected",
|
|
7496
|
-
"description": "Renders the footer of the card if footer-link,\nfooter-button-primary, or footer-button-secondary slots are provided",
|
|
7497
|
-
"return": {
|
|
7498
|
-
"type": {
|
|
7499
|
-
"text": ""
|
|
7500
|
-
}
|
|
7501
|
-
},
|
|
7502
|
-
"inheritedFrom": {
|
|
7503
|
-
"name": "FooterMixin",
|
|
7504
|
-
"module": "utils/mixins/FooterMixin.js"
|
|
7505
|
-
}
|
|
7506
|
-
}
|
|
7507
|
-
],
|
|
7508
|
-
"mixins": [
|
|
7509
|
-
{
|
|
7510
|
-
"name": "CardComponentMixin",
|
|
7511
|
-
"module": "/src/utils/mixins/CardComponentMixin"
|
|
7512
|
-
},
|
|
7513
|
-
{
|
|
7514
|
-
"name": "FooterMixin",
|
|
7515
|
-
"module": "/src/utils/mixins/FooterMixin"
|
|
7516
|
-
}
|
|
7517
|
-
],
|
|
7518
|
-
"superclass": {
|
|
7519
|
-
"name": "Component",
|
|
7520
|
-
"module": "/src/models"
|
|
7521
|
-
},
|
|
7522
|
-
"tagName": "mdc-card",
|
|
7523
|
-
"jsDoc": "/**\n * The card component allows users to organize information in a structured and tangible\n * format that is visually appealing. `mdc-card` is a static component that supports\n * the following features:\n * - Image\n * - Header\n * - Icon\n * - Title\n * - Subtitle\n * - Body\n *\n * The card can either be vertically or horizontally oriented. The vertical card has a min-width of 20rem and the horizontal card has a min-width of 40rem.\n *\n * There are 2 variants for the card that represent the border styling - 'border' and 'ghost'.\n *\n * To make this card interactive, use the following slots:\n * - `icon-button`: This slot supports action icon buttons in the header section (maximum of 3 buttons).\n * - `footer-link`: This slot is for passing `mdc-link` component within the footer section.\n * - `footer-button-primary`: This slot is for passing primary variant of `mdc-button` component within the footer section.\n * - `footer-button-secondary`: This slot is for passing secondary variant of `mdc-button` component\n * within the footer section.\n *\n * Interactive card additionally supports 'promotional' variant that represents the border styling - 'promotional'.\n *\n * @slot before-body - This slot is for passing the content before the body\n * @slot body - This slot is for passing the text content for the card\n * @slot after-body - This slot is for passing the content after the body\n * @slot footer-link - This slot is for passing `mdc-link` component within the footer section.\n * @slot footer-button-primary - This slot is for passing primary variant of\n * `mdc-button` component within the footer section.\n * @slot footer-button-secondary - This slot is for passing secondary variant of `mdc-button` component\n * within the footer section.\n * @slot footer - This slot is for passing custom footer content. Only use this if really needed,\n * using the footer-link and footer-button slots is preferred.\n *\n * @csspart header - The header part of the card\n * @csspart icon - The icon part of the card header\n * @csspart body - The body part of the card\n * @csspart image - The image part of the card\n * @csspart footer - The footer part of the card\n * @csspart footer-link - The link part of the card footer\n * @csspart footer-button-primary - The primary button part of the card footer\n * @csspart footer-button-secondary - The secondary button part of the card footer\n * @csspart icon-button - The icon button part of the card header\n * @csspart text - The text part of the card\n *\n * @tagname mdc-card\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @cssproperty --mdc-card-width - The width of the card\n *\n */",
|
|
7524
|
-
"customElement": true,
|
|
7525
|
-
"attributes": [
|
|
7526
|
-
{
|
|
7527
|
-
"name": "card-title",
|
|
7528
|
-
"type": {
|
|
7529
|
-
"text": "string"
|
|
7530
|
-
},
|
|
7531
|
-
"default": "''",
|
|
7532
|
-
"description": "The title of the card - part of header section",
|
|
7533
|
-
"fieldName": "cardTitle",
|
|
7534
|
-
"inheritedFrom": {
|
|
7535
|
-
"name": "CardComponentMixin",
|
|
7536
|
-
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
7537
|
-
}
|
|
7538
|
-
},
|
|
7539
|
-
{
|
|
7540
|
-
"name": "subtitle",
|
|
7541
|
-
"type": {
|
|
7542
|
-
"text": "string"
|
|
7543
|
-
},
|
|
7544
|
-
"default": "''",
|
|
7545
|
-
"description": "The subtitle of the card - part of header section",
|
|
7546
|
-
"fieldName": "subtitle",
|
|
7547
|
-
"inheritedFrom": {
|
|
7548
|
-
"name": "CardComponentMixin",
|
|
7549
|
-
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
7550
|
-
}
|
|
7551
|
-
},
|
|
7552
|
-
{
|
|
7553
|
-
"name": "image-src",
|
|
7554
|
-
"type": {
|
|
7555
|
-
"text": "string"
|
|
7556
|
-
},
|
|
7557
|
-
"default": "''",
|
|
7558
|
-
"description": "The image source URL to render on the card",
|
|
7559
|
-
"fieldName": "imageSrc",
|
|
7560
|
-
"inheritedFrom": {
|
|
7561
|
-
"name": "CardComponentMixin",
|
|
7562
|
-
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
7563
|
-
}
|
|
7564
|
-
},
|
|
7565
|
-
{
|
|
7566
|
-
"name": "image-alt",
|
|
7567
|
-
"type": {
|
|
7568
|
-
"text": "string"
|
|
7569
|
-
},
|
|
7570
|
-
"default": "''",
|
|
7571
|
-
"description": "The image alt for accessibility support",
|
|
7572
|
-
"fieldName": "imageAlt",
|
|
7573
|
-
"inheritedFrom": {
|
|
7574
|
-
"name": "CardComponentMixin",
|
|
7575
|
-
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
7576
|
-
}
|
|
7577
|
-
},
|
|
7578
|
-
{
|
|
7579
|
-
"name": "variant",
|
|
7580
|
-
"type": {
|
|
7581
|
-
"text": "CardVariant"
|
|
7582
|
-
},
|
|
7583
|
-
"description": "The variant of the card. It can either be set to 'border' or 'ghost'",
|
|
7584
|
-
"default": "'border'",
|
|
7585
|
-
"fieldName": "variant",
|
|
7586
|
-
"inheritedFrom": {
|
|
7587
|
-
"name": "CardComponentMixin",
|
|
7588
|
-
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
7589
|
-
}
|
|
7590
|
-
},
|
|
7591
|
-
{
|
|
7592
|
-
"name": "orientation",
|
|
7593
|
-
"type": {
|
|
7594
|
-
"text": "CardOrientation"
|
|
7595
|
-
},
|
|
7596
|
-
"description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
|
|
7597
|
-
"default": "'vertical'",
|
|
7598
|
-
"fieldName": "orientation",
|
|
7599
|
-
"inheritedFrom": {
|
|
7600
|
-
"name": "CardComponentMixin",
|
|
7601
|
-
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
7602
|
-
}
|
|
7603
|
-
},
|
|
7604
|
-
{
|
|
7605
|
-
"name": "title-tag-name",
|
|
7606
|
-
"type": {
|
|
7607
|
-
"text": "TagNameType"
|
|
7608
|
-
},
|
|
7609
|
-
"description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
|
|
7610
|
-
"default": "'span'",
|
|
7611
|
-
"fieldName": "titleTagName",
|
|
7612
|
-
"inheritedFrom": {
|
|
7613
|
-
"name": "CardComponentMixin",
|
|
7614
|
-
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
7615
|
-
}
|
|
7616
|
-
},
|
|
7617
|
-
{
|
|
7618
|
-
"name": "subtitle-tag-name",
|
|
7619
|
-
"type": {
|
|
7620
|
-
"text": "TagNameType"
|
|
7621
|
-
},
|
|
7622
|
-
"description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
|
|
7623
|
-
"default": "'span'",
|
|
7624
|
-
"fieldName": "subtitleTagName",
|
|
7625
|
-
"inheritedFrom": {
|
|
7626
|
-
"name": "CardComponentMixin",
|
|
7627
|
-
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
7628
|
-
}
|
|
7629
|
-
},
|
|
7630
|
-
{
|
|
7631
|
-
"name": "icon-name",
|
|
7632
|
-
"type": {
|
|
7633
|
-
"text": "IconNames | undefined"
|
|
7634
|
-
},
|
|
7635
|
-
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
|
7636
|
-
"fieldName": "iconName",
|
|
7637
|
-
"inheritedFrom": {
|
|
7638
|
-
"name": "CardComponentMixin",
|
|
7639
|
-
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
7640
|
-
}
|
|
7641
|
-
}
|
|
7642
|
-
]
|
|
7643
|
-
}
|
|
7644
|
-
],
|
|
7645
|
-
"exports": [
|
|
7646
|
-
{
|
|
7647
|
-
"kind": "js",
|
|
7648
|
-
"name": "default",
|
|
7649
|
-
"declaration": {
|
|
7650
|
-
"name": "Card",
|
|
7651
|
-
"module": "components/card/card.component.js"
|
|
7652
|
-
}
|
|
7653
|
-
}
|
|
7654
|
-
]
|
|
7655
|
-
},
|
|
7656
7215
|
{
|
|
7657
7216
|
"kind": "javascript-module",
|
|
7658
7217
|
"path": "components/cardbutton/cardbutton.component.js",
|
|
@@ -8587,6 +8146,447 @@
|
|
|
8587
8146
|
}
|
|
8588
8147
|
]
|
|
8589
8148
|
},
|
|
8149
|
+
{
|
|
8150
|
+
"kind": "javascript-module",
|
|
8151
|
+
"path": "components/card/card.component.js",
|
|
8152
|
+
"declarations": [
|
|
8153
|
+
{
|
|
8154
|
+
"kind": "class",
|
|
8155
|
+
"description": "The card component allows users to organize information in a structured and tangible\nformat that is visually appealing. `mdc-card` is a static component that supports\nthe following features:\n- Image\n- Header\n - Icon\n - Title\n - Subtitle\n- Body\n\nThe card can either be vertically or horizontally oriented. The vertical card has a min-width of 20rem and the horizontal card has a min-width of 40rem.\n\nThere are 2 variants for the card that represent the border styling - 'border' and 'ghost'.\n\nTo make this card interactive, use the following slots:\n- `icon-button`: This slot supports action icon buttons in the header section (maximum of 3 buttons).\n- `footer-link`: This slot is for passing `mdc-link` component within the footer section.\n- `footer-button-primary`: This slot is for passing primary variant of `mdc-button` component within the footer section.\n- `footer-button-secondary`: This slot is for passing secondary variant of `mdc-button` component\nwithin the footer section.\n\nInteractive card additionally supports 'promotional' variant that represents the border styling - 'promotional'.",
|
|
8156
|
+
"name": "Card",
|
|
8157
|
+
"cssProperties": [
|
|
8158
|
+
{
|
|
8159
|
+
"description": "The width of the card",
|
|
8160
|
+
"name": "--mdc-card-width"
|
|
8161
|
+
}
|
|
8162
|
+
],
|
|
8163
|
+
"cssParts": [
|
|
8164
|
+
{
|
|
8165
|
+
"description": "The header part of the card",
|
|
8166
|
+
"name": "header"
|
|
8167
|
+
},
|
|
8168
|
+
{
|
|
8169
|
+
"description": "The icon part of the card header",
|
|
8170
|
+
"name": "icon"
|
|
8171
|
+
},
|
|
8172
|
+
{
|
|
8173
|
+
"description": "The body part of the card",
|
|
8174
|
+
"name": "body"
|
|
8175
|
+
},
|
|
8176
|
+
{
|
|
8177
|
+
"description": "The image part of the card",
|
|
8178
|
+
"name": "image"
|
|
8179
|
+
},
|
|
8180
|
+
{
|
|
8181
|
+
"description": "The footer part of the card",
|
|
8182
|
+
"name": "footer"
|
|
8183
|
+
},
|
|
8184
|
+
{
|
|
8185
|
+
"description": "The link part of the card footer",
|
|
8186
|
+
"name": "footer-link"
|
|
8187
|
+
},
|
|
8188
|
+
{
|
|
8189
|
+
"description": "The primary button part of the card footer",
|
|
8190
|
+
"name": "footer-button-primary"
|
|
8191
|
+
},
|
|
8192
|
+
{
|
|
8193
|
+
"description": "The secondary button part of the card footer",
|
|
8194
|
+
"name": "footer-button-secondary"
|
|
8195
|
+
},
|
|
8196
|
+
{
|
|
8197
|
+
"description": "The icon button part of the card header",
|
|
8198
|
+
"name": "icon-button"
|
|
8199
|
+
},
|
|
8200
|
+
{
|
|
8201
|
+
"description": "The text part of the card",
|
|
8202
|
+
"name": "text"
|
|
8203
|
+
}
|
|
8204
|
+
],
|
|
8205
|
+
"slots": [
|
|
8206
|
+
{
|
|
8207
|
+
"description": "This slot is for passing the content before the body",
|
|
8208
|
+
"name": "before-body"
|
|
8209
|
+
},
|
|
8210
|
+
{
|
|
8211
|
+
"description": "This slot is for passing the text content for the card",
|
|
8212
|
+
"name": "body"
|
|
8213
|
+
},
|
|
8214
|
+
{
|
|
8215
|
+
"description": "This slot is for passing the content after the body",
|
|
8216
|
+
"name": "after-body"
|
|
8217
|
+
},
|
|
8218
|
+
{
|
|
8219
|
+
"description": "This slot is for passing `mdc-link` component within the footer section.",
|
|
8220
|
+
"name": "footer-link"
|
|
8221
|
+
},
|
|
8222
|
+
{
|
|
8223
|
+
"description": "This slot is for passing primary variant of `mdc-button` component within the footer section.",
|
|
8224
|
+
"name": "footer-button-primary"
|
|
8225
|
+
},
|
|
8226
|
+
{
|
|
8227
|
+
"description": "This slot is for passing secondary variant of `mdc-button` component within the footer section.",
|
|
8228
|
+
"name": "footer-button-secondary"
|
|
8229
|
+
},
|
|
8230
|
+
{
|
|
8231
|
+
"description": " This slot is for passing custom footer content. Only use this if really needed, using the footer-link and footer-button slots is preferred.",
|
|
8232
|
+
"name": "footer"
|
|
8233
|
+
}
|
|
8234
|
+
],
|
|
8235
|
+
"members": [
|
|
8236
|
+
{
|
|
8237
|
+
"kind": "method",
|
|
8238
|
+
"name": "renderHeader",
|
|
8239
|
+
"privacy": "protected",
|
|
8240
|
+
"description": "Renders the header of the card if title is provided",
|
|
8241
|
+
"return": {
|
|
8242
|
+
"type": {
|
|
8243
|
+
"text": ""
|
|
8244
|
+
}
|
|
8245
|
+
}
|
|
8246
|
+
},
|
|
8247
|
+
{
|
|
8248
|
+
"kind": "field",
|
|
8249
|
+
"name": "cardTitle",
|
|
8250
|
+
"type": {
|
|
8251
|
+
"text": "string"
|
|
8252
|
+
},
|
|
8253
|
+
"default": "''",
|
|
8254
|
+
"description": "The title of the card - part of header section",
|
|
8255
|
+
"attribute": "card-title",
|
|
8256
|
+
"reflects": true,
|
|
8257
|
+
"inheritedFrom": {
|
|
8258
|
+
"name": "CardComponentMixin",
|
|
8259
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
8260
|
+
}
|
|
8261
|
+
},
|
|
8262
|
+
{
|
|
8263
|
+
"kind": "field",
|
|
8264
|
+
"name": "subtitle",
|
|
8265
|
+
"type": {
|
|
8266
|
+
"text": "string"
|
|
8267
|
+
},
|
|
8268
|
+
"default": "''",
|
|
8269
|
+
"description": "The subtitle of the card - part of header section",
|
|
8270
|
+
"attribute": "subtitle",
|
|
8271
|
+
"reflects": true,
|
|
8272
|
+
"inheritedFrom": {
|
|
8273
|
+
"name": "CardComponentMixin",
|
|
8274
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
8275
|
+
}
|
|
8276
|
+
},
|
|
8277
|
+
{
|
|
8278
|
+
"kind": "field",
|
|
8279
|
+
"name": "imageSrc",
|
|
8280
|
+
"type": {
|
|
8281
|
+
"text": "string"
|
|
8282
|
+
},
|
|
8283
|
+
"default": "''",
|
|
8284
|
+
"description": "The image source URL to render on the card",
|
|
8285
|
+
"attribute": "image-src",
|
|
8286
|
+
"reflects": true,
|
|
8287
|
+
"inheritedFrom": {
|
|
8288
|
+
"name": "CardComponentMixin",
|
|
8289
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
8290
|
+
}
|
|
8291
|
+
},
|
|
8292
|
+
{
|
|
8293
|
+
"kind": "field",
|
|
8294
|
+
"name": "imageAlt",
|
|
8295
|
+
"type": {
|
|
8296
|
+
"text": "string"
|
|
8297
|
+
},
|
|
8298
|
+
"default": "''",
|
|
8299
|
+
"description": "The image alt for accessibility support",
|
|
8300
|
+
"attribute": "image-alt",
|
|
8301
|
+
"reflects": true,
|
|
8302
|
+
"inheritedFrom": {
|
|
8303
|
+
"name": "CardComponentMixin",
|
|
8304
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
8305
|
+
}
|
|
8306
|
+
},
|
|
8307
|
+
{
|
|
8308
|
+
"kind": "field",
|
|
8309
|
+
"name": "variant",
|
|
8310
|
+
"type": {
|
|
8311
|
+
"text": "CardVariant"
|
|
8312
|
+
},
|
|
8313
|
+
"description": "The variant of the card. It can either be set to 'border' or 'ghost'",
|
|
8314
|
+
"default": "'border'",
|
|
8315
|
+
"attribute": "variant",
|
|
8316
|
+
"reflects": true,
|
|
8317
|
+
"inheritedFrom": {
|
|
8318
|
+
"name": "CardComponentMixin",
|
|
8319
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
8320
|
+
}
|
|
8321
|
+
},
|
|
8322
|
+
{
|
|
8323
|
+
"kind": "field",
|
|
8324
|
+
"name": "orientation",
|
|
8325
|
+
"type": {
|
|
8326
|
+
"text": "CardOrientation"
|
|
8327
|
+
},
|
|
8328
|
+
"description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
|
|
8329
|
+
"default": "'vertical'",
|
|
8330
|
+
"attribute": "orientation",
|
|
8331
|
+
"reflects": true,
|
|
8332
|
+
"inheritedFrom": {
|
|
8333
|
+
"name": "CardComponentMixin",
|
|
8334
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
8335
|
+
}
|
|
8336
|
+
},
|
|
8337
|
+
{
|
|
8338
|
+
"kind": "field",
|
|
8339
|
+
"name": "titleTagName",
|
|
8340
|
+
"type": {
|
|
8341
|
+
"text": "TagNameType"
|
|
8342
|
+
},
|
|
8343
|
+
"description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
|
|
8344
|
+
"default": "'span'",
|
|
8345
|
+
"attribute": "title-tag-name",
|
|
8346
|
+
"reflects": true,
|
|
8347
|
+
"inheritedFrom": {
|
|
8348
|
+
"name": "CardComponentMixin",
|
|
8349
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
8350
|
+
}
|
|
8351
|
+
},
|
|
8352
|
+
{
|
|
8353
|
+
"kind": "field",
|
|
8354
|
+
"name": "subtitleTagName",
|
|
8355
|
+
"type": {
|
|
8356
|
+
"text": "TagNameType"
|
|
8357
|
+
},
|
|
8358
|
+
"description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
|
|
8359
|
+
"default": "'span'",
|
|
8360
|
+
"attribute": "subtitle-tag-name",
|
|
8361
|
+
"reflects": true,
|
|
8362
|
+
"inheritedFrom": {
|
|
8363
|
+
"name": "CardComponentMixin",
|
|
8364
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
8365
|
+
}
|
|
8366
|
+
},
|
|
8367
|
+
{
|
|
8368
|
+
"kind": "field",
|
|
8369
|
+
"name": "iconName",
|
|
8370
|
+
"type": {
|
|
8371
|
+
"text": "IconNames | undefined"
|
|
8372
|
+
},
|
|
8373
|
+
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
|
8374
|
+
"attribute": "icon-name",
|
|
8375
|
+
"reflects": true,
|
|
8376
|
+
"inheritedFrom": {
|
|
8377
|
+
"name": "CardComponentMixin",
|
|
8378
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
8379
|
+
}
|
|
8380
|
+
},
|
|
8381
|
+
{
|
|
8382
|
+
"kind": "method",
|
|
8383
|
+
"name": "renderImage",
|
|
8384
|
+
"privacy": "protected",
|
|
8385
|
+
"description": "Renders the image on the card if image source is provided",
|
|
8386
|
+
"return": {
|
|
8387
|
+
"type": {
|
|
8388
|
+
"text": ""
|
|
8389
|
+
}
|
|
8390
|
+
},
|
|
8391
|
+
"inheritedFrom": {
|
|
8392
|
+
"name": "CardComponentMixin",
|
|
8393
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
8394
|
+
}
|
|
8395
|
+
},
|
|
8396
|
+
{
|
|
8397
|
+
"kind": "method",
|
|
8398
|
+
"name": "renderIcon",
|
|
8399
|
+
"privacy": "protected",
|
|
8400
|
+
"description": "Renders the icon on the card if icon name is provided",
|
|
8401
|
+
"return": {
|
|
8402
|
+
"type": {
|
|
8403
|
+
"text": ""
|
|
8404
|
+
}
|
|
8405
|
+
},
|
|
8406
|
+
"inheritedFrom": {
|
|
8407
|
+
"name": "CardComponentMixin",
|
|
8408
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
8409
|
+
}
|
|
8410
|
+
},
|
|
8411
|
+
{
|
|
8412
|
+
"kind": "method",
|
|
8413
|
+
"name": "renderTitle",
|
|
8414
|
+
"privacy": "protected",
|
|
8415
|
+
"description": "Renders the title and subtitle on the card",
|
|
8416
|
+
"return": {
|
|
8417
|
+
"type": {
|
|
8418
|
+
"text": ""
|
|
8419
|
+
}
|
|
8420
|
+
},
|
|
8421
|
+
"inheritedFrom": {
|
|
8422
|
+
"name": "CardComponentMixin",
|
|
8423
|
+
"module": "utils/mixins/CardComponentMixin.js"
|
|
8424
|
+
}
|
|
8425
|
+
},
|
|
8426
|
+
{
|
|
8427
|
+
"kind": "method",
|
|
8428
|
+
"name": "renderFooter",
|
|
8429
|
+
"privacy": "protected",
|
|
8430
|
+
"description": "Renders the footer of the card if footer-link,\nfooter-button-primary, or footer-button-secondary slots are provided",
|
|
8431
|
+
"return": {
|
|
8432
|
+
"type": {
|
|
8433
|
+
"text": ""
|
|
8434
|
+
}
|
|
8435
|
+
},
|
|
8436
|
+
"inheritedFrom": {
|
|
8437
|
+
"name": "FooterMixin",
|
|
8438
|
+
"module": "utils/mixins/FooterMixin.js"
|
|
8439
|
+
}
|
|
8440
|
+
}
|
|
8441
|
+
],
|
|
8442
|
+
"mixins": [
|
|
8443
|
+
{
|
|
8444
|
+
"name": "CardComponentMixin",
|
|
8445
|
+
"module": "/src/utils/mixins/CardComponentMixin"
|
|
8446
|
+
},
|
|
8447
|
+
{
|
|
8448
|
+
"name": "FooterMixin",
|
|
8449
|
+
"module": "/src/utils/mixins/FooterMixin"
|
|
8450
|
+
}
|
|
8451
|
+
],
|
|
8452
|
+
"superclass": {
|
|
8453
|
+
"name": "Component",
|
|
8454
|
+
"module": "/src/models"
|
|
8455
|
+
},
|
|
8456
|
+
"tagName": "mdc-card",
|
|
8457
|
+
"jsDoc": "/**\n * The card component allows users to organize information in a structured and tangible\n * format that is visually appealing. `mdc-card` is a static component that supports\n * the following features:\n * - Image\n * - Header\n * - Icon\n * - Title\n * - Subtitle\n * - Body\n *\n * The card can either be vertically or horizontally oriented. The vertical card has a min-width of 20rem and the horizontal card has a min-width of 40rem.\n *\n * There are 2 variants for the card that represent the border styling - 'border' and 'ghost'.\n *\n * To make this card interactive, use the following slots:\n * - `icon-button`: This slot supports action icon buttons in the header section (maximum of 3 buttons).\n * - `footer-link`: This slot is for passing `mdc-link` component within the footer section.\n * - `footer-button-primary`: This slot is for passing primary variant of `mdc-button` component within the footer section.\n * - `footer-button-secondary`: This slot is for passing secondary variant of `mdc-button` component\n * within the footer section.\n *\n * Interactive card additionally supports 'promotional' variant that represents the border styling - 'promotional'.\n *\n * @slot before-body - This slot is for passing the content before the body\n * @slot body - This slot is for passing the text content for the card\n * @slot after-body - This slot is for passing the content after the body\n * @slot footer-link - This slot is for passing `mdc-link` component within the footer section.\n * @slot footer-button-primary - This slot is for passing primary variant of\n * `mdc-button` component within the footer section.\n * @slot footer-button-secondary - This slot is for passing secondary variant of `mdc-button` component\n * within the footer section.\n * @slot footer - This slot is for passing custom footer content. Only use this if really needed,\n * using the footer-link and footer-button slots is preferred.\n *\n * @csspart header - The header part of the card\n * @csspart icon - The icon part of the card header\n * @csspart body - The body part of the card\n * @csspart image - The image part of the card\n * @csspart footer - The footer part of the card\n * @csspart footer-link - The link part of the card footer\n * @csspart footer-button-primary - The primary button part of the card footer\n * @csspart footer-button-secondary - The secondary button part of the card footer\n * @csspart icon-button - The icon button part of the card header\n * @csspart text - The text part of the card\n *\n * @tagname mdc-card\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @cssproperty --mdc-card-width - The width of the card\n *\n */",
|
|
8458
|
+
"customElement": true,
|
|
8459
|
+
"attributes": [
|
|
8460
|
+
{
|
|
8461
|
+
"name": "card-title",
|
|
8462
|
+
"type": {
|
|
8463
|
+
"text": "string"
|
|
8464
|
+
},
|
|
8465
|
+
"default": "''",
|
|
8466
|
+
"description": "The title of the card - part of header section",
|
|
8467
|
+
"fieldName": "cardTitle",
|
|
8468
|
+
"inheritedFrom": {
|
|
8469
|
+
"name": "CardComponentMixin",
|
|
8470
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
8471
|
+
}
|
|
8472
|
+
},
|
|
8473
|
+
{
|
|
8474
|
+
"name": "subtitle",
|
|
8475
|
+
"type": {
|
|
8476
|
+
"text": "string"
|
|
8477
|
+
},
|
|
8478
|
+
"default": "''",
|
|
8479
|
+
"description": "The subtitle of the card - part of header section",
|
|
8480
|
+
"fieldName": "subtitle",
|
|
8481
|
+
"inheritedFrom": {
|
|
8482
|
+
"name": "CardComponentMixin",
|
|
8483
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
8484
|
+
}
|
|
8485
|
+
},
|
|
8486
|
+
{
|
|
8487
|
+
"name": "image-src",
|
|
8488
|
+
"type": {
|
|
8489
|
+
"text": "string"
|
|
8490
|
+
},
|
|
8491
|
+
"default": "''",
|
|
8492
|
+
"description": "The image source URL to render on the card",
|
|
8493
|
+
"fieldName": "imageSrc",
|
|
8494
|
+
"inheritedFrom": {
|
|
8495
|
+
"name": "CardComponentMixin",
|
|
8496
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
8497
|
+
}
|
|
8498
|
+
},
|
|
8499
|
+
{
|
|
8500
|
+
"name": "image-alt",
|
|
8501
|
+
"type": {
|
|
8502
|
+
"text": "string"
|
|
8503
|
+
},
|
|
8504
|
+
"default": "''",
|
|
8505
|
+
"description": "The image alt for accessibility support",
|
|
8506
|
+
"fieldName": "imageAlt",
|
|
8507
|
+
"inheritedFrom": {
|
|
8508
|
+
"name": "CardComponentMixin",
|
|
8509
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
8510
|
+
}
|
|
8511
|
+
},
|
|
8512
|
+
{
|
|
8513
|
+
"name": "variant",
|
|
8514
|
+
"type": {
|
|
8515
|
+
"text": "CardVariant"
|
|
8516
|
+
},
|
|
8517
|
+
"description": "The variant of the card. It can either be set to 'border' or 'ghost'",
|
|
8518
|
+
"default": "'border'",
|
|
8519
|
+
"fieldName": "variant",
|
|
8520
|
+
"inheritedFrom": {
|
|
8521
|
+
"name": "CardComponentMixin",
|
|
8522
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
8523
|
+
}
|
|
8524
|
+
},
|
|
8525
|
+
{
|
|
8526
|
+
"name": "orientation",
|
|
8527
|
+
"type": {
|
|
8528
|
+
"text": "CardOrientation"
|
|
8529
|
+
},
|
|
8530
|
+
"description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
|
|
8531
|
+
"default": "'vertical'",
|
|
8532
|
+
"fieldName": "orientation",
|
|
8533
|
+
"inheritedFrom": {
|
|
8534
|
+
"name": "CardComponentMixin",
|
|
8535
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
8536
|
+
}
|
|
8537
|
+
},
|
|
8538
|
+
{
|
|
8539
|
+
"name": "title-tag-name",
|
|
8540
|
+
"type": {
|
|
8541
|
+
"text": "TagNameType"
|
|
8542
|
+
},
|
|
8543
|
+
"description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
|
|
8544
|
+
"default": "'span'",
|
|
8545
|
+
"fieldName": "titleTagName",
|
|
8546
|
+
"inheritedFrom": {
|
|
8547
|
+
"name": "CardComponentMixin",
|
|
8548
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
8549
|
+
}
|
|
8550
|
+
},
|
|
8551
|
+
{
|
|
8552
|
+
"name": "subtitle-tag-name",
|
|
8553
|
+
"type": {
|
|
8554
|
+
"text": "TagNameType"
|
|
8555
|
+
},
|
|
8556
|
+
"description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
|
|
8557
|
+
"default": "'span'",
|
|
8558
|
+
"fieldName": "subtitleTagName",
|
|
8559
|
+
"inheritedFrom": {
|
|
8560
|
+
"name": "CardComponentMixin",
|
|
8561
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
8562
|
+
}
|
|
8563
|
+
},
|
|
8564
|
+
{
|
|
8565
|
+
"name": "icon-name",
|
|
8566
|
+
"type": {
|
|
8567
|
+
"text": "IconNames | undefined"
|
|
8568
|
+
},
|
|
8569
|
+
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
|
8570
|
+
"fieldName": "iconName",
|
|
8571
|
+
"inheritedFrom": {
|
|
8572
|
+
"name": "CardComponentMixin",
|
|
8573
|
+
"module": "src/utils/mixins/CardComponentMixin.ts"
|
|
8574
|
+
}
|
|
8575
|
+
}
|
|
8576
|
+
]
|
|
8577
|
+
}
|
|
8578
|
+
],
|
|
8579
|
+
"exports": [
|
|
8580
|
+
{
|
|
8581
|
+
"kind": "js",
|
|
8582
|
+
"name": "default",
|
|
8583
|
+
"declaration": {
|
|
8584
|
+
"name": "Card",
|
|
8585
|
+
"module": "components/card/card.component.js"
|
|
8586
|
+
}
|
|
8587
|
+
}
|
|
8588
|
+
]
|
|
8589
|
+
},
|
|
8590
8590
|
{
|
|
8591
8591
|
"kind": "javascript-module",
|
|
8592
8592
|
"path": "components/cardcheckbox/cardcheckbox.component.js",
|
|
@@ -21649,231 +21649,6 @@
|
|
|
21649
21649
|
}
|
|
21650
21650
|
]
|
|
21651
21651
|
},
|
|
21652
|
-
{
|
|
21653
|
-
"kind": "javascript-module",
|
|
21654
|
-
"path": "components/list/list.component.js",
|
|
21655
|
-
"declarations": [
|
|
21656
|
-
{
|
|
21657
|
-
"kind": "class",
|
|
21658
|
-
"description": "mdc-list component is used to display a group of list items. It is used as a container to wrap other list items.\n\nTo add a header to the list, use the `mdc-listheader` component and place it in the `list-header` slot.\n`mdc-listitem` components can be placed in the default slot.",
|
|
21659
|
-
"name": "List",
|
|
21660
|
-
"cssParts": [
|
|
21661
|
-
{
|
|
21662
|
-
"description": "The container slot around the list items",
|
|
21663
|
-
"name": "container"
|
|
21664
|
-
}
|
|
21665
|
-
],
|
|
21666
|
-
"slots": [
|
|
21667
|
-
{
|
|
21668
|
-
"description": "This is a default/unnamed slot, where listitems can be placed.",
|
|
21669
|
-
"name": "default"
|
|
21670
|
-
},
|
|
21671
|
-
{
|
|
21672
|
-
"description": "This slot is used to pass a header for the list, which can be a `mdc-listheader` component.",
|
|
21673
|
-
"name": "list-header"
|
|
21674
|
-
}
|
|
21675
|
-
],
|
|
21676
|
-
"members": [
|
|
21677
|
-
{
|
|
21678
|
-
"kind": "field",
|
|
21679
|
-
"name": "loop",
|
|
21680
|
-
"type": {
|
|
21681
|
-
"text": "'true' | 'false'"
|
|
21682
|
-
},
|
|
21683
|
-
"privacy": "public",
|
|
21684
|
-
"description": "Whether to loop navigation when reaching the end of the list.\nIf 'true', pressing the down arrow on the last item will focus the first item,\nand pressing the up arrow on the first item will focus the last item.\nIf 'false', navigation will stop at the first or last item.",
|
|
21685
|
-
"default": "''",
|
|
21686
|
-
"attribute": "loop",
|
|
21687
|
-
"reflects": true
|
|
21688
|
-
},
|
|
21689
|
-
{
|
|
21690
|
-
"kind": "field",
|
|
21691
|
-
"name": "initialFocus",
|
|
21692
|
-
"type": {
|
|
21693
|
-
"text": "number"
|
|
21694
|
-
},
|
|
21695
|
-
"privacy": "public",
|
|
21696
|
-
"description": "The index of the item that should receive focus when the list is first rendered.\nIf the index is out of bounds, the first item (index 0) will receive focus.",
|
|
21697
|
-
"default": "0",
|
|
21698
|
-
"attribute": "initial-focus",
|
|
21699
|
-
"reflects": true
|
|
21700
|
-
},
|
|
21701
|
-
{
|
|
21702
|
-
"kind": "field",
|
|
21703
|
-
"name": "itemsStore",
|
|
21704
|
-
"default": "new ElementStore<ListItem>(this, { isValidItem: this.isValidItem, })"
|
|
21705
|
-
},
|
|
21706
|
-
{
|
|
21707
|
-
"kind": "method",
|
|
21708
|
-
"name": "getCurrentIndex",
|
|
21709
|
-
"privacy": "private",
|
|
21710
|
-
"return": {
|
|
21711
|
-
"type": {
|
|
21712
|
-
"text": ""
|
|
21713
|
-
}
|
|
21714
|
-
},
|
|
21715
|
-
"parameters": [
|
|
21716
|
-
{
|
|
21717
|
-
"name": "target",
|
|
21718
|
-
"type": {
|
|
21719
|
-
"text": "HTMLElement | null"
|
|
21720
|
-
},
|
|
21721
|
-
"description": "The target element that triggered the event."
|
|
21722
|
-
}
|
|
21723
|
-
],
|
|
21724
|
-
"description": "Retrieves the current index of the item that triggered the event.",
|
|
21725
|
-
"inheritedFrom": {
|
|
21726
|
-
"name": "ListNavigationMixin",
|
|
21727
|
-
"module": "utils/mixins/ListNavigationMixin.js"
|
|
21728
|
-
}
|
|
21729
|
-
},
|
|
21730
|
-
{
|
|
21731
|
-
"kind": "method",
|
|
21732
|
-
"name": "resetTabIndexes",
|
|
21733
|
-
"privacy": "protected",
|
|
21734
|
-
"parameters": [
|
|
21735
|
-
{
|
|
21736
|
-
"name": "index",
|
|
21737
|
-
"type": {
|
|
21738
|
-
"text": "number"
|
|
21739
|
-
},
|
|
21740
|
-
"description": "The index of the currently focused item."
|
|
21741
|
-
}
|
|
21742
|
-
],
|
|
21743
|
-
"description": "Reset all tabindex to -1 and set the tabindex of the current item to 0",
|
|
21744
|
-
"inheritedFrom": {
|
|
21745
|
-
"name": "ListNavigationMixin",
|
|
21746
|
-
"module": "utils/mixins/ListNavigationMixin.js"
|
|
21747
|
-
}
|
|
21748
|
-
},
|
|
21749
|
-
{
|
|
21750
|
-
"kind": "method",
|
|
21751
|
-
"name": "resetTabIndexAndSetFocus",
|
|
21752
|
-
"privacy": "protected",
|
|
21753
|
-
"parameters": [
|
|
21754
|
-
{
|
|
21755
|
-
"name": "newIndex",
|
|
21756
|
-
"type": {
|
|
21757
|
-
"text": "number"
|
|
21758
|
-
},
|
|
21759
|
-
"description": "The index of the new item to focus."
|
|
21760
|
-
},
|
|
21761
|
-
{
|
|
21762
|
-
"name": "oldIndex",
|
|
21763
|
-
"optional": true,
|
|
21764
|
-
"type": {
|
|
21765
|
-
"text": "number"
|
|
21766
|
-
},
|
|
21767
|
-
"description": "The index of the currently focused item."
|
|
21768
|
-
},
|
|
21769
|
-
{
|
|
21770
|
-
"name": "focusNewItem",
|
|
21771
|
-
"default": "true",
|
|
21772
|
-
"description": "Call focus() on the new item or not. It should be false during firstUpdate"
|
|
21773
|
-
}
|
|
21774
|
-
],
|
|
21775
|
-
"description": "Resets the tabindex of the currently focused item and sets focus to a new item.",
|
|
21776
|
-
"return": {
|
|
21777
|
-
"type": {
|
|
21778
|
-
"text": ""
|
|
21779
|
-
}
|
|
21780
|
-
},
|
|
21781
|
-
"inheritedFrom": {
|
|
21782
|
-
"name": "ListNavigationMixin",
|
|
21783
|
-
"module": "utils/mixins/ListNavigationMixin.js"
|
|
21784
|
-
}
|
|
21785
|
-
},
|
|
21786
|
-
{
|
|
21787
|
-
"kind": "method",
|
|
21788
|
-
"name": "resolveDirectionKey",
|
|
21789
|
-
"privacy": "private",
|
|
21790
|
-
"parameters": [
|
|
21791
|
-
{
|
|
21792
|
-
"name": "key",
|
|
21793
|
-
"type": {
|
|
21794
|
-
"text": "string"
|
|
21795
|
-
},
|
|
21796
|
-
"description": "The key pressed by the user."
|
|
21797
|
-
},
|
|
21798
|
-
{
|
|
21799
|
-
"name": "isRtl",
|
|
21800
|
-
"type": {
|
|
21801
|
-
"text": "boolean"
|
|
21802
|
-
},
|
|
21803
|
-
"description": "A boolean indicating if the layout is right-to-left (RTL)."
|
|
21804
|
-
}
|
|
21805
|
-
],
|
|
21806
|
-
"description": "Resolves the key pressed by the user based on the direction of the layout.\nThis method is used to handle keyboard navigation in a right-to-left (RTL) layout.\nIt checks if the layout is RTL and adjusts the arrow keys accordingly.\nFor example, in RTL, the left arrow key behaves like the right arrow key and vice versa.",
|
|
21807
|
-
"return": {
|
|
21808
|
-
"type": {
|
|
21809
|
-
"text": ""
|
|
21810
|
-
}
|
|
21811
|
-
},
|
|
21812
|
-
"inheritedFrom": {
|
|
21813
|
-
"name": "ListNavigationMixin",
|
|
21814
|
-
"module": "utils/mixins/ListNavigationMixin.js"
|
|
21815
|
-
}
|
|
21816
|
-
},
|
|
21817
|
-
{
|
|
21818
|
-
"kind": "method",
|
|
21819
|
-
"name": "shouldLoop",
|
|
21820
|
-
"privacy": "private",
|
|
21821
|
-
"inheritedFrom": {
|
|
21822
|
-
"name": "ListNavigationMixin",
|
|
21823
|
-
"module": "utils/mixins/ListNavigationMixin.js"
|
|
21824
|
-
}
|
|
21825
|
-
}
|
|
21826
|
-
],
|
|
21827
|
-
"attributes": [
|
|
21828
|
-
{
|
|
21829
|
-
"name": "loop",
|
|
21830
|
-
"type": {
|
|
21831
|
-
"text": "'true' | 'false'"
|
|
21832
|
-
},
|
|
21833
|
-
"description": "Whether to loop navigation when reaching the end of the list.\nIf 'true', pressing the down arrow on the last item will focus the first item,\nand pressing the up arrow on the first item will focus the last item.\nIf 'false', navigation will stop at the first or last item.",
|
|
21834
|
-
"default": "''",
|
|
21835
|
-
"fieldName": "loop"
|
|
21836
|
-
},
|
|
21837
|
-
{
|
|
21838
|
-
"name": "initial-focus",
|
|
21839
|
-
"type": {
|
|
21840
|
-
"text": "number"
|
|
21841
|
-
},
|
|
21842
|
-
"description": "The index of the item that should receive focus when the list is first rendered.\nIf the index is out of bounds, the first item (index 0) will receive focus.",
|
|
21843
|
-
"default": "0",
|
|
21844
|
-
"fieldName": "initialFocus"
|
|
21845
|
-
}
|
|
21846
|
-
],
|
|
21847
|
-
"mixins": [
|
|
21848
|
-
{
|
|
21849
|
-
"name": "ListNavigationMixin",
|
|
21850
|
-
"module": "/src/utils/mixins/ListNavigationMixin"
|
|
21851
|
-
},
|
|
21852
|
-
{
|
|
21853
|
-
"name": "CaptureDestroyEventForChildElement",
|
|
21854
|
-
"module": "/src/utils/mixins/lifecycle/CaptureDestroyEventForChildElement"
|
|
21855
|
-
}
|
|
21856
|
-
],
|
|
21857
|
-
"superclass": {
|
|
21858
|
-
"name": "Component",
|
|
21859
|
-
"module": "/src/models"
|
|
21860
|
-
},
|
|
21861
|
-
"tagName": "mdc-list",
|
|
21862
|
-
"jsDoc": "/**\n * mdc-list component is used to display a group of list items. It is used as a container to wrap other list items.\n *\n * To add a header to the list, use the `mdc-listheader` component and place it in the `list-header` slot.\n * `mdc-listitem` components can be placed in the default slot.\n *\n * @tagname mdc-list\n *\n * @slot default - This is a default/unnamed slot, where listitems can be placed.\n * @slot list-header - This slot is used to pass a header for the list, which can be a `mdc-listheader` component.\n *\n * @csspart container - The container slot around the list items\n */",
|
|
21863
|
-
"customElement": true
|
|
21864
|
-
}
|
|
21865
|
-
],
|
|
21866
|
-
"exports": [
|
|
21867
|
-
{
|
|
21868
|
-
"kind": "js",
|
|
21869
|
-
"name": "default",
|
|
21870
|
-
"declaration": {
|
|
21871
|
-
"name": "List",
|
|
21872
|
-
"module": "components/list/list.component.js"
|
|
21873
|
-
}
|
|
21874
|
-
}
|
|
21875
|
-
]
|
|
21876
|
-
},
|
|
21877
21652
|
{
|
|
21878
21653
|
"kind": "javascript-module",
|
|
21879
21654
|
"path": "components/linksimple/linksimple.component.js",
|
|
@@ -22257,6 +22032,231 @@
|
|
|
22257
22032
|
}
|
|
22258
22033
|
]
|
|
22259
22034
|
},
|
|
22035
|
+
{
|
|
22036
|
+
"kind": "javascript-module",
|
|
22037
|
+
"path": "components/list/list.component.js",
|
|
22038
|
+
"declarations": [
|
|
22039
|
+
{
|
|
22040
|
+
"kind": "class",
|
|
22041
|
+
"description": "mdc-list component is used to display a group of list items. It is used as a container to wrap other list items.\n\nTo add a header to the list, use the `mdc-listheader` component and place it in the `list-header` slot.\n`mdc-listitem` components can be placed in the default slot.",
|
|
22042
|
+
"name": "List",
|
|
22043
|
+
"cssParts": [
|
|
22044
|
+
{
|
|
22045
|
+
"description": "The container slot around the list items",
|
|
22046
|
+
"name": "container"
|
|
22047
|
+
}
|
|
22048
|
+
],
|
|
22049
|
+
"slots": [
|
|
22050
|
+
{
|
|
22051
|
+
"description": "This is a default/unnamed slot, where listitems can be placed.",
|
|
22052
|
+
"name": "default"
|
|
22053
|
+
},
|
|
22054
|
+
{
|
|
22055
|
+
"description": "This slot is used to pass a header for the list, which can be a `mdc-listheader` component.",
|
|
22056
|
+
"name": "list-header"
|
|
22057
|
+
}
|
|
22058
|
+
],
|
|
22059
|
+
"members": [
|
|
22060
|
+
{
|
|
22061
|
+
"kind": "field",
|
|
22062
|
+
"name": "loop",
|
|
22063
|
+
"type": {
|
|
22064
|
+
"text": "'true' | 'false'"
|
|
22065
|
+
},
|
|
22066
|
+
"privacy": "public",
|
|
22067
|
+
"description": "Whether to loop navigation when reaching the end of the list.\nIf 'true', pressing the down arrow on the last item will focus the first item,\nand pressing the up arrow on the first item will focus the last item.\nIf 'false', navigation will stop at the first or last item.",
|
|
22068
|
+
"default": "''",
|
|
22069
|
+
"attribute": "loop",
|
|
22070
|
+
"reflects": true
|
|
22071
|
+
},
|
|
22072
|
+
{
|
|
22073
|
+
"kind": "field",
|
|
22074
|
+
"name": "initialFocus",
|
|
22075
|
+
"type": {
|
|
22076
|
+
"text": "number"
|
|
22077
|
+
},
|
|
22078
|
+
"privacy": "public",
|
|
22079
|
+
"description": "The index of the item that should receive focus when the list is first rendered.\nIf the index is out of bounds, the first item (index 0) will receive focus.",
|
|
22080
|
+
"default": "0",
|
|
22081
|
+
"attribute": "initial-focus",
|
|
22082
|
+
"reflects": true
|
|
22083
|
+
},
|
|
22084
|
+
{
|
|
22085
|
+
"kind": "field",
|
|
22086
|
+
"name": "itemsStore",
|
|
22087
|
+
"default": "new ElementStore<ListItem>(this, { isValidItem: this.isValidItem, })"
|
|
22088
|
+
},
|
|
22089
|
+
{
|
|
22090
|
+
"kind": "method",
|
|
22091
|
+
"name": "getCurrentIndex",
|
|
22092
|
+
"privacy": "private",
|
|
22093
|
+
"return": {
|
|
22094
|
+
"type": {
|
|
22095
|
+
"text": ""
|
|
22096
|
+
}
|
|
22097
|
+
},
|
|
22098
|
+
"parameters": [
|
|
22099
|
+
{
|
|
22100
|
+
"name": "target",
|
|
22101
|
+
"type": {
|
|
22102
|
+
"text": "HTMLElement | null"
|
|
22103
|
+
},
|
|
22104
|
+
"description": "The target element that triggered the event."
|
|
22105
|
+
}
|
|
22106
|
+
],
|
|
22107
|
+
"description": "Retrieves the current index of the item that triggered the event.",
|
|
22108
|
+
"inheritedFrom": {
|
|
22109
|
+
"name": "ListNavigationMixin",
|
|
22110
|
+
"module": "utils/mixins/ListNavigationMixin.js"
|
|
22111
|
+
}
|
|
22112
|
+
},
|
|
22113
|
+
{
|
|
22114
|
+
"kind": "method",
|
|
22115
|
+
"name": "resetTabIndexes",
|
|
22116
|
+
"privacy": "protected",
|
|
22117
|
+
"parameters": [
|
|
22118
|
+
{
|
|
22119
|
+
"name": "index",
|
|
22120
|
+
"type": {
|
|
22121
|
+
"text": "number"
|
|
22122
|
+
},
|
|
22123
|
+
"description": "The index of the currently focused item."
|
|
22124
|
+
}
|
|
22125
|
+
],
|
|
22126
|
+
"description": "Reset all tabindex to -1 and set the tabindex of the current item to 0",
|
|
22127
|
+
"inheritedFrom": {
|
|
22128
|
+
"name": "ListNavigationMixin",
|
|
22129
|
+
"module": "utils/mixins/ListNavigationMixin.js"
|
|
22130
|
+
}
|
|
22131
|
+
},
|
|
22132
|
+
{
|
|
22133
|
+
"kind": "method",
|
|
22134
|
+
"name": "resetTabIndexAndSetFocus",
|
|
22135
|
+
"privacy": "protected",
|
|
22136
|
+
"parameters": [
|
|
22137
|
+
{
|
|
22138
|
+
"name": "newIndex",
|
|
22139
|
+
"type": {
|
|
22140
|
+
"text": "number"
|
|
22141
|
+
},
|
|
22142
|
+
"description": "The index of the new item to focus."
|
|
22143
|
+
},
|
|
22144
|
+
{
|
|
22145
|
+
"name": "oldIndex",
|
|
22146
|
+
"optional": true,
|
|
22147
|
+
"type": {
|
|
22148
|
+
"text": "number"
|
|
22149
|
+
},
|
|
22150
|
+
"description": "The index of the currently focused item."
|
|
22151
|
+
},
|
|
22152
|
+
{
|
|
22153
|
+
"name": "focusNewItem",
|
|
22154
|
+
"default": "true",
|
|
22155
|
+
"description": "Call focus() on the new item or not. It should be false during firstUpdate"
|
|
22156
|
+
}
|
|
22157
|
+
],
|
|
22158
|
+
"description": "Resets the tabindex of the currently focused item and sets focus to a new item.",
|
|
22159
|
+
"return": {
|
|
22160
|
+
"type": {
|
|
22161
|
+
"text": ""
|
|
22162
|
+
}
|
|
22163
|
+
},
|
|
22164
|
+
"inheritedFrom": {
|
|
22165
|
+
"name": "ListNavigationMixin",
|
|
22166
|
+
"module": "utils/mixins/ListNavigationMixin.js"
|
|
22167
|
+
}
|
|
22168
|
+
},
|
|
22169
|
+
{
|
|
22170
|
+
"kind": "method",
|
|
22171
|
+
"name": "resolveDirectionKey",
|
|
22172
|
+
"privacy": "private",
|
|
22173
|
+
"parameters": [
|
|
22174
|
+
{
|
|
22175
|
+
"name": "key",
|
|
22176
|
+
"type": {
|
|
22177
|
+
"text": "string"
|
|
22178
|
+
},
|
|
22179
|
+
"description": "The key pressed by the user."
|
|
22180
|
+
},
|
|
22181
|
+
{
|
|
22182
|
+
"name": "isRtl",
|
|
22183
|
+
"type": {
|
|
22184
|
+
"text": "boolean"
|
|
22185
|
+
},
|
|
22186
|
+
"description": "A boolean indicating if the layout is right-to-left (RTL)."
|
|
22187
|
+
}
|
|
22188
|
+
],
|
|
22189
|
+
"description": "Resolves the key pressed by the user based on the direction of the layout.\nThis method is used to handle keyboard navigation in a right-to-left (RTL) layout.\nIt checks if the layout is RTL and adjusts the arrow keys accordingly.\nFor example, in RTL, the left arrow key behaves like the right arrow key and vice versa.",
|
|
22190
|
+
"return": {
|
|
22191
|
+
"type": {
|
|
22192
|
+
"text": ""
|
|
22193
|
+
}
|
|
22194
|
+
},
|
|
22195
|
+
"inheritedFrom": {
|
|
22196
|
+
"name": "ListNavigationMixin",
|
|
22197
|
+
"module": "utils/mixins/ListNavigationMixin.js"
|
|
22198
|
+
}
|
|
22199
|
+
},
|
|
22200
|
+
{
|
|
22201
|
+
"kind": "method",
|
|
22202
|
+
"name": "shouldLoop",
|
|
22203
|
+
"privacy": "private",
|
|
22204
|
+
"inheritedFrom": {
|
|
22205
|
+
"name": "ListNavigationMixin",
|
|
22206
|
+
"module": "utils/mixins/ListNavigationMixin.js"
|
|
22207
|
+
}
|
|
22208
|
+
}
|
|
22209
|
+
],
|
|
22210
|
+
"attributes": [
|
|
22211
|
+
{
|
|
22212
|
+
"name": "loop",
|
|
22213
|
+
"type": {
|
|
22214
|
+
"text": "'true' | 'false'"
|
|
22215
|
+
},
|
|
22216
|
+
"description": "Whether to loop navigation when reaching the end of the list.\nIf 'true', pressing the down arrow on the last item will focus the first item,\nand pressing the up arrow on the first item will focus the last item.\nIf 'false', navigation will stop at the first or last item.",
|
|
22217
|
+
"default": "''",
|
|
22218
|
+
"fieldName": "loop"
|
|
22219
|
+
},
|
|
22220
|
+
{
|
|
22221
|
+
"name": "initial-focus",
|
|
22222
|
+
"type": {
|
|
22223
|
+
"text": "number"
|
|
22224
|
+
},
|
|
22225
|
+
"description": "The index of the item that should receive focus when the list is first rendered.\nIf the index is out of bounds, the first item (index 0) will receive focus.",
|
|
22226
|
+
"default": "0",
|
|
22227
|
+
"fieldName": "initialFocus"
|
|
22228
|
+
}
|
|
22229
|
+
],
|
|
22230
|
+
"mixins": [
|
|
22231
|
+
{
|
|
22232
|
+
"name": "ListNavigationMixin",
|
|
22233
|
+
"module": "/src/utils/mixins/ListNavigationMixin"
|
|
22234
|
+
},
|
|
22235
|
+
{
|
|
22236
|
+
"name": "CaptureDestroyEventForChildElement",
|
|
22237
|
+
"module": "/src/utils/mixins/lifecycle/CaptureDestroyEventForChildElement"
|
|
22238
|
+
}
|
|
22239
|
+
],
|
|
22240
|
+
"superclass": {
|
|
22241
|
+
"name": "Component",
|
|
22242
|
+
"module": "/src/models"
|
|
22243
|
+
},
|
|
22244
|
+
"tagName": "mdc-list",
|
|
22245
|
+
"jsDoc": "/**\n * mdc-list component is used to display a group of list items. It is used as a container to wrap other list items.\n *\n * To add a header to the list, use the `mdc-listheader` component and place it in the `list-header` slot.\n * `mdc-listitem` components can be placed in the default slot.\n *\n * @tagname mdc-list\n *\n * @slot default - This is a default/unnamed slot, where listitems can be placed.\n * @slot list-header - This slot is used to pass a header for the list, which can be a `mdc-listheader` component.\n *\n * @csspart container - The container slot around the list items\n */",
|
|
22246
|
+
"customElement": true
|
|
22247
|
+
}
|
|
22248
|
+
],
|
|
22249
|
+
"exports": [
|
|
22250
|
+
{
|
|
22251
|
+
"kind": "js",
|
|
22252
|
+
"name": "default",
|
|
22253
|
+
"declaration": {
|
|
22254
|
+
"name": "List",
|
|
22255
|
+
"module": "components/list/list.component.js"
|
|
22256
|
+
}
|
|
22257
|
+
}
|
|
22258
|
+
]
|
|
22259
|
+
},
|
|
22260
22260
|
{
|
|
22261
22261
|
"kind": "javascript-module",
|
|
22262
22262
|
"path": "components/listbox/listbox.component.js",
|
|
@@ -37811,12 +37811,12 @@
|
|
|
37811
37811
|
},
|
|
37812
37812
|
{
|
|
37813
37813
|
"kind": "javascript-module",
|
|
37814
|
-
"path": "components/
|
|
37814
|
+
"path": "components/searchfield/searchfield.component.js",
|
|
37815
37815
|
"declarations": [
|
|
37816
37816
|
{
|
|
37817
37817
|
"kind": "class",
|
|
37818
|
-
"description": "
|
|
37819
|
-
"name": "
|
|
37818
|
+
"description": "`mdc-searchfield` component is used as an input field for search functionality.\n\nIt supports `mdc-inputchip` as filters.\n\nThis component is built by extending the `mdc-input` component.",
|
|
37819
|
+
"name": "Searchfield",
|
|
37820
37820
|
"cssProperties": [
|
|
37821
37821
|
{
|
|
37822
37822
|
"description": "Font size for the label text.",
|
|
@@ -37891,28 +37891,52 @@
|
|
|
37891
37891
|
}
|
|
37892
37892
|
},
|
|
37893
37893
|
{
|
|
37894
|
-
"description": "
|
|
37895
|
-
"name": "--mdc-
|
|
37894
|
+
"description": "Text color for the input field",
|
|
37895
|
+
"name": "--mdc-input-text-color",
|
|
37896
|
+
"inheritedFrom": {
|
|
37897
|
+
"name": "Input",
|
|
37898
|
+
"module": "src/components/input/input.component.ts"
|
|
37899
|
+
}
|
|
37896
37900
|
},
|
|
37897
37901
|
{
|
|
37898
|
-
"description": "
|
|
37899
|
-
"name": "--mdc-
|
|
37902
|
+
"description": "Border color for the input container",
|
|
37903
|
+
"name": "--mdc-input-border-color",
|
|
37904
|
+
"inheritedFrom": {
|
|
37905
|
+
"name": "Input",
|
|
37906
|
+
"module": "src/components/input/input.component.ts"
|
|
37907
|
+
}
|
|
37900
37908
|
},
|
|
37901
37909
|
{
|
|
37902
|
-
"description": "
|
|
37903
|
-
"name": "--mdc-
|
|
37910
|
+
"description": "Background color for the input field",
|
|
37911
|
+
"name": "--mdc-input-background-color",
|
|
37912
|
+
"inheritedFrom": {
|
|
37913
|
+
"name": "Input",
|
|
37914
|
+
"module": "src/components/input/input.component.ts"
|
|
37915
|
+
}
|
|
37904
37916
|
},
|
|
37905
37917
|
{
|
|
37906
|
-
"description": "
|
|
37907
|
-
"name": "--mdc-
|
|
37918
|
+
"description": "Text color for the help text",
|
|
37919
|
+
"name": "--mdc-input-support-text-color",
|
|
37920
|
+
"inheritedFrom": {
|
|
37921
|
+
"name": "Input",
|
|
37922
|
+
"module": "src/components/input/input.component.ts"
|
|
37923
|
+
}
|
|
37908
37924
|
},
|
|
37909
37925
|
{
|
|
37910
|
-
"description": "
|
|
37911
|
-
"name": "--mdc-
|
|
37926
|
+
"description": "Text color for the selected text",
|
|
37927
|
+
"name": "--mdc-input-selection-text-color",
|
|
37928
|
+
"inheritedFrom": {
|
|
37929
|
+
"name": "Input",
|
|
37930
|
+
"module": "src/components/input/input.component.ts"
|
|
37931
|
+
}
|
|
37912
37932
|
},
|
|
37913
37933
|
{
|
|
37914
|
-
"description": "
|
|
37915
|
-
"name": "--mdc-
|
|
37934
|
+
"description": "Background color for the selected text",
|
|
37935
|
+
"name": "--mdc-input-selection-background-color",
|
|
37936
|
+
"inheritedFrom": {
|
|
37937
|
+
"name": "Input",
|
|
37938
|
+
"module": "src/components/input/input.component.ts"
|
|
37939
|
+
}
|
|
37916
37940
|
}
|
|
37917
37941
|
],
|
|
37918
37942
|
"cssParts": [
|
|
@@ -37979,12 +38003,60 @@
|
|
|
37979
38003
|
"name": "FormfieldWrapper",
|
|
37980
38004
|
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
|
37981
38005
|
}
|
|
38006
|
+
},
|
|
38007
|
+
{
|
|
38008
|
+
"description": "The leading icon element that is displayed before the input field.",
|
|
38009
|
+
"name": "leading-icon",
|
|
38010
|
+
"inheritedFrom": {
|
|
38011
|
+
"name": "Input",
|
|
38012
|
+
"module": "src/components/input/input.component.ts"
|
|
38013
|
+
}
|
|
38014
|
+
},
|
|
38015
|
+
{
|
|
38016
|
+
"description": "The prefix text element that is displayed before the input field.",
|
|
38017
|
+
"name": "prefix-text",
|
|
38018
|
+
"inheritedFrom": {
|
|
38019
|
+
"name": "Input",
|
|
38020
|
+
"module": "src/components/input/input.component.ts"
|
|
38021
|
+
}
|
|
38022
|
+
},
|
|
38023
|
+
{
|
|
38024
|
+
"description": "The container for the input field, leading icon, prefix text, and trailing button elements.",
|
|
38025
|
+
"name": "input-container",
|
|
38026
|
+
"inheritedFrom": {
|
|
38027
|
+
"name": "Input",
|
|
38028
|
+
"module": "src/components/input/input.component.ts"
|
|
38029
|
+
}
|
|
38030
|
+
},
|
|
38031
|
+
{
|
|
38032
|
+
"description": "The container for the input field, leading icon, and prefix text elements.",
|
|
38033
|
+
"name": "input-section",
|
|
38034
|
+
"inheritedFrom": {
|
|
38035
|
+
"name": "Input",
|
|
38036
|
+
"module": "src/components/input/input.component.ts"
|
|
38037
|
+
}
|
|
38038
|
+
},
|
|
38039
|
+
{
|
|
38040
|
+
"description": "The input field element.",
|
|
38041
|
+
"name": "input-text",
|
|
38042
|
+
"inheritedFrom": {
|
|
38043
|
+
"name": "Input",
|
|
38044
|
+
"module": "src/components/input/input.component.ts"
|
|
38045
|
+
}
|
|
38046
|
+
},
|
|
38047
|
+
{
|
|
38048
|
+
"description": "The trailing button element that is displayed to clear the input field when the `trailingButton` property is set to true.",
|
|
38049
|
+
"name": "trailing-button",
|
|
38050
|
+
"inheritedFrom": {
|
|
38051
|
+
"name": "Input",
|
|
38052
|
+
"module": "src/components/input/input.component.ts"
|
|
38053
|
+
}
|
|
37982
38054
|
}
|
|
37983
38055
|
],
|
|
37984
38056
|
"slots": [
|
|
37985
38057
|
{
|
|
37986
|
-
"description": "
|
|
37987
|
-
"name": "
|
|
38058
|
+
"description": "Slot for input chips",
|
|
38059
|
+
"name": "filters"
|
|
37988
38060
|
},
|
|
37989
38061
|
{
|
|
37990
38062
|
"description": "Slot for the label element. If not provided, the `label` property will be used to render the label.",
|
|
@@ -38017,337 +38089,81 @@
|
|
|
38017
38089
|
"name": "FormfieldWrapper",
|
|
38018
38090
|
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
|
38019
38091
|
}
|
|
38020
|
-
}
|
|
38021
|
-
],
|
|
38022
|
-
"members": [
|
|
38023
|
-
{
|
|
38024
|
-
"kind": "field",
|
|
38025
|
-
"name": "placeholder",
|
|
38026
|
-
"type": {
|
|
38027
|
-
"text": "string | undefined"
|
|
38028
|
-
},
|
|
38029
|
-
"description": "The placeholder text which will be shown on the text if provided.",
|
|
38030
|
-
"attribute": "placeholder"
|
|
38031
|
-
},
|
|
38032
|
-
{
|
|
38033
|
-
"kind": "field",
|
|
38034
|
-
"name": "placement",
|
|
38035
|
-
"type": {
|
|
38036
|
-
"text": "Placement"
|
|
38037
|
-
},
|
|
38038
|
-
"description": "The placement of the popover within Select component.\nThis defines the position of the popover relative to the select input field.\n\nPossible values:\n - 'top-start'\n - 'bottom-start'",
|
|
38039
|
-
"default": "'bottom-start'",
|
|
38040
|
-
"attribute": "placement",
|
|
38041
|
-
"reflects": true
|
|
38042
|
-
},
|
|
38043
|
-
{
|
|
38044
|
-
"kind": "field",
|
|
38045
|
-
"name": "boundary",
|
|
38046
|
-
"type": {
|
|
38047
|
-
"text": "'clippingAncestors' | string"
|
|
38048
|
-
},
|
|
38049
|
-
"description": "This describes the clipping element(s) or area that overflow of the used popover will be checked relative to.\nThe default is 'clippingAncestors', which are the overflow ancestors which will cause the\nelement to be clipped.\n\nPossible values:\n - 'clippingAncestors'\n - any css selector",
|
|
38050
|
-
"default": "'clippingAncestors'",
|
|
38051
|
-
"attribute": "boundary",
|
|
38052
|
-
"reflects": true
|
|
38053
|
-
},
|
|
38054
|
-
{
|
|
38055
|
-
"kind": "field",
|
|
38056
|
-
"name": "strategy",
|
|
38057
|
-
"type": {
|
|
38058
|
-
"text": "PopoverStrategy"
|
|
38059
|
-
},
|
|
38060
|
-
"description": "The strategy of the popover within Select.\nThis determines how the popover is positioned in the DOM.\n\nIn case `boundary` is set to something other than 'clippingAncestors',\nit might be necessary to set the `strategy` to 'fixed' to ensure that the popover\nis not getting clipped by scrollable containers enclosing the select.",
|
|
38061
|
-
"default": "absolute",
|
|
38062
|
-
"attribute": "strategy",
|
|
38063
|
-
"reflects": true
|
|
38064
|
-
},
|
|
38065
|
-
{
|
|
38066
|
-
"kind": "field",
|
|
38067
|
-
"name": "popoverZIndex",
|
|
38068
|
-
"type": {
|
|
38069
|
-
"text": "number"
|
|
38070
|
-
},
|
|
38071
|
-
"description": "The z-index of the popover within Select.\n\nOverride this to make sure this stays on top of other components.",
|
|
38072
|
-
"default": "1000",
|
|
38073
|
-
"attribute": "popover-z-index",
|
|
38074
|
-
"reflects": true
|
|
38075
|
-
},
|
|
38076
|
-
{
|
|
38077
|
-
"kind": "field",
|
|
38078
|
-
"name": "backdropAppendTo",
|
|
38079
|
-
"type": {
|
|
38080
|
-
"text": "string | undefined"
|
|
38081
|
-
},
|
|
38082
|
-
"description": "ID of the element where the backdrop will be appended to.\nThis is useful to ensure that the backdrop is appended to the correct element in the DOM.\nIf not set, the backdrop will be appended to the parent element of the select.",
|
|
38083
|
-
"attribute": "backdrop-append-to",
|
|
38084
|
-
"reflects": true
|
|
38085
|
-
},
|
|
38086
|
-
{
|
|
38087
|
-
"kind": "method",
|
|
38088
|
-
"name": "handleOptionsClick",
|
|
38089
|
-
"privacy": "private",
|
|
38090
|
-
"return": {
|
|
38091
|
-
"type": {
|
|
38092
|
-
"text": "void"
|
|
38093
|
-
}
|
|
38094
|
-
},
|
|
38095
|
-
"parameters": [
|
|
38096
|
-
{
|
|
38097
|
-
"name": "event",
|
|
38098
|
-
"type": {
|
|
38099
|
-
"text": "MouseEvent"
|
|
38100
|
-
},
|
|
38101
|
-
"description": "The event which triggered this function."
|
|
38102
|
-
}
|
|
38103
|
-
],
|
|
38104
|
-
"description": "A private method which is called when an option is clicked.\nIt sets the selected option, removes selected from other options, updates the tabindex for all options,\ncloses the popover, and fires the change and input events."
|
|
38105
|
-
},
|
|
38106
|
-
{
|
|
38107
|
-
"kind": "method",
|
|
38108
|
-
"name": "setSelectedOption",
|
|
38109
|
-
"privacy": "private",
|
|
38110
|
-
"return": {
|
|
38111
|
-
"type": {
|
|
38112
|
-
"text": "void"
|
|
38113
|
-
}
|
|
38114
|
-
},
|
|
38115
|
-
"parameters": [
|
|
38116
|
-
{
|
|
38117
|
-
"name": "option",
|
|
38118
|
-
"type": {
|
|
38119
|
-
"text": "Option | null"
|
|
38120
|
-
},
|
|
38121
|
-
"description": "The option element in DOM which gets selected."
|
|
38122
|
-
}
|
|
38123
|
-
],
|
|
38124
|
-
"description": "Sets the selected option in the component state and updates the input element's value.\nThis method ensures that only the selected option is marked as selected in the DOM,\nand updates the tabindex for all options accordingly.\nIt also updates the validity of the input element based on the selected option.\nThis method is called when an option is selected."
|
|
38125
|
-
},
|
|
38126
|
-
{
|
|
38127
|
-
"kind": "method",
|
|
38128
|
-
"name": "updateSelectedInChildOptions",
|
|
38129
|
-
"privacy": "private",
|
|
38130
|
-
"return": {
|
|
38131
|
-
"type": {
|
|
38132
|
-
"text": "void"
|
|
38133
|
-
}
|
|
38134
|
-
},
|
|
38135
|
-
"parameters": [
|
|
38136
|
-
{
|
|
38137
|
-
"name": "selectedOption",
|
|
38138
|
-
"type": {
|
|
38139
|
-
"text": "Option | null"
|
|
38140
|
-
},
|
|
38141
|
-
"description": "The option which gets selected"
|
|
38142
|
-
}
|
|
38143
|
-
],
|
|
38144
|
-
"description": "Sets selected attribute on the selected option and removes it from all options"
|
|
38145
|
-
},
|
|
38146
|
-
{
|
|
38147
|
-
"kind": "method",
|
|
38148
|
-
"name": "fireEvents",
|
|
38149
|
-
"privacy": "private",
|
|
38150
|
-
"return": {
|
|
38151
|
-
"type": {
|
|
38152
|
-
"text": "void"
|
|
38153
|
-
}
|
|
38154
|
-
},
|
|
38155
|
-
"description": "A private method which is called to fire the change and input events.\nIt dispatches the input and change events with the selected option's value and label."
|
|
38156
|
-
},
|
|
38157
|
-
{
|
|
38158
|
-
"kind": "method",
|
|
38159
|
-
"name": "dispatchChange",
|
|
38160
|
-
"privacy": "private",
|
|
38161
|
-
"return": {
|
|
38162
|
-
"type": {
|
|
38163
|
-
"text": "void"
|
|
38164
|
-
}
|
|
38165
|
-
},
|
|
38166
|
-
"parameters": [
|
|
38167
|
-
{
|
|
38168
|
-
"name": "option",
|
|
38169
|
-
"type": {
|
|
38170
|
-
"text": "Option"
|
|
38171
|
-
}
|
|
38172
|
-
}
|
|
38173
|
-
]
|
|
38174
|
-
},
|
|
38175
|
-
{
|
|
38176
|
-
"kind": "method",
|
|
38177
|
-
"name": "dispatchInput",
|
|
38178
|
-
"privacy": "private",
|
|
38179
|
-
"return": {
|
|
38180
|
-
"type": {
|
|
38181
|
-
"text": "void"
|
|
38182
|
-
}
|
|
38183
|
-
},
|
|
38184
|
-
"parameters": [
|
|
38185
|
-
{
|
|
38186
|
-
"name": "option",
|
|
38187
|
-
"type": {
|
|
38188
|
-
"text": "Option"
|
|
38189
|
-
}
|
|
38190
|
-
}
|
|
38191
|
-
]
|
|
38192
38092
|
},
|
|
38193
38093
|
{
|
|
38194
|
-
"
|
|
38195
|
-
"name": "
|
|
38196
|
-
"
|
|
38197
|
-
|
|
38198
|
-
"
|
|
38199
|
-
|
|
38200
|
-
}
|
|
38201
|
-
},
|
|
38202
|
-
"parameters": [
|
|
38203
|
-
{
|
|
38204
|
-
"name": "event",
|
|
38205
|
-
"type": {
|
|
38206
|
-
"text": "MouseEvent"
|
|
38207
|
-
},
|
|
38208
|
-
"description": "The mouse event which triggered this function."
|
|
38209
|
-
}
|
|
38210
|
-
],
|
|
38211
|
-
"description": "Handles the click event on the visual combobox.\nIf the select is disabled, soft-disabled or readonly, it does nothing.\nIf the popover is already open, it closes it.\nIf it is closed, it opens it."
|
|
38094
|
+
"description": "Slot for the input element. If not provided, the input field will be rendered.",
|
|
38095
|
+
"name": "input",
|
|
38096
|
+
"inheritedFrom": {
|
|
38097
|
+
"name": "Input",
|
|
38098
|
+
"module": "src/components/input/input.component.ts"
|
|
38099
|
+
}
|
|
38212
38100
|
},
|
|
38213
38101
|
{
|
|
38214
|
-
"
|
|
38215
|
-
"name": "
|
|
38216
|
-
"
|
|
38217
|
-
|
|
38218
|
-
"
|
|
38219
|
-
|
|
38220
|
-
}
|
|
38221
|
-
},
|
|
38222
|
-
"parameters": [
|
|
38223
|
-
{
|
|
38224
|
-
"name": "event",
|
|
38225
|
-
"type": {
|
|
38226
|
-
"text": "KeyboardEvent"
|
|
38227
|
-
},
|
|
38228
|
-
"description": "The keyboard event."
|
|
38229
|
-
}
|
|
38230
|
-
],
|
|
38231
|
-
"description": "Handles the keydown event on the select element when the popover is closed.\nThe options are as follows:\n- ARROW_DOWN, ARROW_UP, SPACE: Opens the popover and prevents the default scrolling behavior.\n- ENTER: Opens the popover, prevents default scrolling, and submits the form if the popover is closed.\n- HOME: Opens the popover and sets focus and tabindex on the first option.\n- END: Opens the popover and sets focus and tabindex on the last option."
|
|
38102
|
+
"description": "Slot for the leading icon before the input field. If not provided, the `leadingIcon` property will be used to render the leading icon.",
|
|
38103
|
+
"name": "input-leading-icon",
|
|
38104
|
+
"inheritedFrom": {
|
|
38105
|
+
"name": "Input",
|
|
38106
|
+
"module": "src/components/input/input.component.ts"
|
|
38107
|
+
}
|
|
38232
38108
|
},
|
|
38233
38109
|
{
|
|
38234
|
-
"
|
|
38235
|
-
"name": "
|
|
38236
|
-
"privacy": "private",
|
|
38237
|
-
"return": {
|
|
38238
|
-
"type": {
|
|
38239
|
-
"text": ""
|
|
38240
|
-
}
|
|
38241
|
-
},
|
|
38242
|
-
"parameters": [
|
|
38243
|
-
{
|
|
38244
|
-
"name": "target",
|
|
38245
|
-
"type": {
|
|
38246
|
-
"text": "HTMLElement | null"
|
|
38247
|
-
},
|
|
38248
|
-
"description": "The target element that triggered the event."
|
|
38249
|
-
}
|
|
38250
|
-
],
|
|
38251
|
-
"description": "Retrieves the current index of the item that triggered the event.",
|
|
38110
|
+
"description": "Slot for the prefix text before the input field. If not provided, the `prefixText` property will be used to render the prefix text.",
|
|
38111
|
+
"name": "input-prefix-text",
|
|
38252
38112
|
"inheritedFrom": {
|
|
38253
|
-
"name": "
|
|
38254
|
-
"module": "
|
|
38113
|
+
"name": "Input",
|
|
38114
|
+
"module": "src/components/input/input.component.ts"
|
|
38255
38115
|
}
|
|
38256
38116
|
},
|
|
38257
38117
|
{
|
|
38258
|
-
"
|
|
38259
|
-
"name": "
|
|
38260
|
-
"privacy": "protected",
|
|
38261
|
-
"parameters": [
|
|
38262
|
-
{
|
|
38263
|
-
"name": "index",
|
|
38264
|
-
"type": {
|
|
38265
|
-
"text": "number"
|
|
38266
|
-
},
|
|
38267
|
-
"description": "The index of the currently focused item."
|
|
38268
|
-
}
|
|
38269
|
-
],
|
|
38270
|
-
"description": "Reset all tabindex to -1 and set the tabindex of the current item to 0",
|
|
38118
|
+
"description": "Slot for the trailing button to clear the input field. If not provided, the clear button will be rendered when `trailingButton` property is set to true.",
|
|
38119
|
+
"name": "trailing-button",
|
|
38271
38120
|
"inheritedFrom": {
|
|
38272
|
-
"name": "
|
|
38273
|
-
"module": "
|
|
38121
|
+
"name": "Input",
|
|
38122
|
+
"module": "src/components/input/input.component.ts"
|
|
38123
|
+
}
|
|
38124
|
+
}
|
|
38125
|
+
],
|
|
38126
|
+
"members": [
|
|
38127
|
+
{
|
|
38128
|
+
"kind": "field",
|
|
38129
|
+
"name": "inputChips",
|
|
38130
|
+
"type": {
|
|
38131
|
+
"text": "Array<HTMLElement> | undefined"
|
|
38274
38132
|
}
|
|
38275
38133
|
},
|
|
38276
38134
|
{
|
|
38277
38135
|
"kind": "method",
|
|
38278
|
-
"name": "
|
|
38136
|
+
"name": "handleKeyDown",
|
|
38279
38137
|
"privacy": "protected",
|
|
38280
38138
|
"parameters": [
|
|
38281
38139
|
{
|
|
38282
|
-
"name": "
|
|
38283
|
-
"type": {
|
|
38284
|
-
"text": "number"
|
|
38285
|
-
},
|
|
38286
|
-
"description": "The index of the new item to focus."
|
|
38287
|
-
},
|
|
38288
|
-
{
|
|
38289
|
-
"name": "oldIndex",
|
|
38290
|
-
"optional": true,
|
|
38140
|
+
"name": "event",
|
|
38291
38141
|
"type": {
|
|
38292
|
-
"text": "
|
|
38142
|
+
"text": "KeyboardEvent"
|
|
38293
38143
|
},
|
|
38294
|
-
"description": "
|
|
38295
|
-
},
|
|
38296
|
-
{
|
|
38297
|
-
"name": "focusNewItem",
|
|
38298
|
-
"default": "true",
|
|
38299
|
-
"description": "Call focus() on the new item or not. It should be false during firstUpdate"
|
|
38144
|
+
"description": "Keyboard event"
|
|
38300
38145
|
}
|
|
38301
38146
|
],
|
|
38302
|
-
"description": "
|
|
38303
|
-
"return": {
|
|
38304
|
-
"type": {
|
|
38305
|
-
"text": ""
|
|
38306
|
-
}
|
|
38307
|
-
},
|
|
38147
|
+
"description": "Handles the keydown event of the search field.\nIf the key pressed is 'Enter', it submits the form.\nIf the key pressed is 'Escape', it clears the input text.",
|
|
38308
38148
|
"inheritedFrom": {
|
|
38309
|
-
"name": "
|
|
38310
|
-
"module": "
|
|
38149
|
+
"name": "Input",
|
|
38150
|
+
"module": "components/input/input.component.js"
|
|
38311
38151
|
}
|
|
38312
38152
|
},
|
|
38313
38153
|
{
|
|
38314
38154
|
"kind": "method",
|
|
38315
|
-
"name": "
|
|
38155
|
+
"name": "renderInputChips",
|
|
38316
38156
|
"privacy": "private",
|
|
38317
|
-
"
|
|
38318
|
-
{
|
|
38319
|
-
"name": "key",
|
|
38320
|
-
"type": {
|
|
38321
|
-
"text": "string"
|
|
38322
|
-
},
|
|
38323
|
-
"description": "The key pressed by the user."
|
|
38324
|
-
},
|
|
38325
|
-
{
|
|
38326
|
-
"name": "isRtl",
|
|
38327
|
-
"type": {
|
|
38328
|
-
"text": "boolean"
|
|
38329
|
-
},
|
|
38330
|
-
"description": "A boolean indicating if the layout is right-to-left (RTL)."
|
|
38331
|
-
}
|
|
38332
|
-
],
|
|
38333
|
-
"description": "Resolves the key pressed by the user based on the direction of the layout.\nThis method is used to handle keyboard navigation in a right-to-left (RTL) layout.\nIt checks if the layout is RTL and adjusts the arrow keys accordingly.\nFor example, in RTL, the left arrow key behaves like the right arrow key and vice versa.",
|
|
38334
|
-
"return": {
|
|
38335
|
-
"type": {
|
|
38336
|
-
"text": ""
|
|
38337
|
-
}
|
|
38338
|
-
},
|
|
38339
|
-
"inheritedFrom": {
|
|
38340
|
-
"name": "ListNavigationMixin",
|
|
38341
|
-
"module": "utils/mixins/ListNavigationMixin.js"
|
|
38342
|
-
}
|
|
38157
|
+
"description": "This method is used to render the input chips inside filters slot.\nIt will remove any elements that are not input chips."
|
|
38343
38158
|
},
|
|
38344
38159
|
{
|
|
38345
38160
|
"kind": "method",
|
|
38346
|
-
"name": "
|
|
38347
|
-
"privacy": "
|
|
38161
|
+
"name": "clearInputText",
|
|
38162
|
+
"privacy": "protected",
|
|
38163
|
+
"description": "Clears the input field.",
|
|
38348
38164
|
"inheritedFrom": {
|
|
38349
|
-
"name": "
|
|
38350
|
-
"module": "
|
|
38165
|
+
"name": "Input",
|
|
38166
|
+
"module": "components/input/input.component.js"
|
|
38351
38167
|
}
|
|
38352
38168
|
},
|
|
38353
38169
|
{
|
|
@@ -38482,73 +38298,373 @@
|
|
|
38482
38298
|
},
|
|
38483
38299
|
{
|
|
38484
38300
|
"kind": "field",
|
|
38485
|
-
"name": "
|
|
38301
|
+
"name": "placeholder",
|
|
38486
38302
|
"type": {
|
|
38487
|
-
"text": "
|
|
38303
|
+
"text": "string"
|
|
38488
38304
|
},
|
|
38489
|
-
"
|
|
38490
|
-
"
|
|
38491
|
-
"attribute": "
|
|
38492
|
-
"reflects": true,
|
|
38305
|
+
"default": "''",
|
|
38306
|
+
"description": "The placeholder text that is displayed when the input field is empty.",
|
|
38307
|
+
"attribute": "placeholder",
|
|
38493
38308
|
"inheritedFrom": {
|
|
38494
|
-
"name": "
|
|
38495
|
-
"module": "components/
|
|
38309
|
+
"name": "Input",
|
|
38310
|
+
"module": "components/input/input.component.js"
|
|
38496
38311
|
}
|
|
38497
38312
|
},
|
|
38498
38313
|
{
|
|
38499
38314
|
"kind": "field",
|
|
38500
|
-
"name": "
|
|
38315
|
+
"name": "prefixText",
|
|
38501
38316
|
"type": {
|
|
38502
38317
|
"text": "string | undefined"
|
|
38503
38318
|
},
|
|
38504
|
-
"description": "The
|
|
38505
|
-
"attribute": "
|
|
38506
|
-
"reflects": true,
|
|
38319
|
+
"description": "The prefix text that is displayed before the input field. It has a max length of 10 characters.\nWhen the prefix text is set, make sure to set the 'data-aria-label'\nattribute with the appropriate value for accessibility.",
|
|
38320
|
+
"attribute": "prefix-text",
|
|
38507
38321
|
"inheritedFrom": {
|
|
38508
|
-
"name": "
|
|
38509
|
-
"module": "components/
|
|
38322
|
+
"name": "Input",
|
|
38323
|
+
"module": "components/input/input.component.js"
|
|
38510
38324
|
}
|
|
38511
38325
|
},
|
|
38512
38326
|
{
|
|
38513
38327
|
"kind": "field",
|
|
38514
|
-
"name": "
|
|
38328
|
+
"name": "leadingIcon",
|
|
38515
38329
|
"type": {
|
|
38516
|
-
"text": "
|
|
38330
|
+
"text": "IconNames | undefined"
|
|
38517
38331
|
},
|
|
38518
|
-
"
|
|
38519
|
-
"
|
|
38520
|
-
"attribute": "required",
|
|
38521
|
-
"reflects": true,
|
|
38332
|
+
"description": "The leading icon that is displayed before the input field.",
|
|
38333
|
+
"attribute": "leading-icon",
|
|
38522
38334
|
"inheritedFrom": {
|
|
38523
|
-
"name": "
|
|
38524
|
-
"module": "components/
|
|
38335
|
+
"name": "Input",
|
|
38336
|
+
"module": "components/input/input.component.js"
|
|
38525
38337
|
}
|
|
38526
38338
|
},
|
|
38527
38339
|
{
|
|
38528
38340
|
"kind": "field",
|
|
38529
|
-
"name": "
|
|
38341
|
+
"name": "trailingButton",
|
|
38530
38342
|
"type": {
|
|
38531
|
-
"text": "
|
|
38343
|
+
"text": "boolean"
|
|
38532
38344
|
},
|
|
38533
|
-
"
|
|
38534
|
-
"
|
|
38535
|
-
"
|
|
38345
|
+
"default": "false",
|
|
38346
|
+
"description": "The trailing button when set to true, shows a clear button that clears the input field.",
|
|
38347
|
+
"attribute": "trailing-button",
|
|
38536
38348
|
"inheritedFrom": {
|
|
38537
|
-
"name": "
|
|
38538
|
-
"module": "components/
|
|
38349
|
+
"name": "Input",
|
|
38350
|
+
"module": "components/input/input.component.js"
|
|
38539
38351
|
}
|
|
38540
38352
|
},
|
|
38541
38353
|
{
|
|
38542
38354
|
"kind": "field",
|
|
38543
|
-
"name": "
|
|
38355
|
+
"name": "maxlength",
|
|
38544
38356
|
"type": {
|
|
38545
|
-
"text": "
|
|
38357
|
+
"text": "number | undefined"
|
|
38546
38358
|
},
|
|
38547
|
-
"description": "The
|
|
38548
|
-
"attribute": "
|
|
38549
|
-
"reflects": true,
|
|
38359
|
+
"description": "The maximum number of characters that the input field can accept.",
|
|
38360
|
+
"attribute": "maxlength",
|
|
38550
38361
|
"inheritedFrom": {
|
|
38551
|
-
"name": "
|
|
38362
|
+
"name": "Input",
|
|
38363
|
+
"module": "components/input/input.component.js"
|
|
38364
|
+
}
|
|
38365
|
+
},
|
|
38366
|
+
{
|
|
38367
|
+
"kind": "field",
|
|
38368
|
+
"name": "minlength",
|
|
38369
|
+
"type": {
|
|
38370
|
+
"text": "number | undefined"
|
|
38371
|
+
},
|
|
38372
|
+
"description": "The minimum number of characters that the input field can accept.",
|
|
38373
|
+
"attribute": "minlength",
|
|
38374
|
+
"inheritedFrom": {
|
|
38375
|
+
"name": "Input",
|
|
38376
|
+
"module": "components/input/input.component.js"
|
|
38377
|
+
}
|
|
38378
|
+
},
|
|
38379
|
+
{
|
|
38380
|
+
"kind": "field",
|
|
38381
|
+
"name": "autocapitalize",
|
|
38382
|
+
"type": {
|
|
38383
|
+
"text": "AutoCapitalizeType"
|
|
38384
|
+
},
|
|
38385
|
+
"description": "The autocapitalize attribute of the input field.",
|
|
38386
|
+
"default": "'off'",
|
|
38387
|
+
"attribute": "autocapitalize",
|
|
38388
|
+
"inheritedFrom": {
|
|
38389
|
+
"name": "Input",
|
|
38390
|
+
"module": "components/input/input.component.js"
|
|
38391
|
+
}
|
|
38392
|
+
},
|
|
38393
|
+
{
|
|
38394
|
+
"kind": "field",
|
|
38395
|
+
"name": "autocomplete",
|
|
38396
|
+
"type": {
|
|
38397
|
+
"text": "AutoCompleteType"
|
|
38398
|
+
},
|
|
38399
|
+
"description": "The autocomplete attribute of the input field.",
|
|
38400
|
+
"default": "'off'",
|
|
38401
|
+
"attribute": "autocomplete",
|
|
38402
|
+
"inheritedFrom": {
|
|
38403
|
+
"name": "Input",
|
|
38404
|
+
"module": "components/input/input.component.js"
|
|
38405
|
+
}
|
|
38406
|
+
},
|
|
38407
|
+
{
|
|
38408
|
+
"kind": "field",
|
|
38409
|
+
"name": "dirname",
|
|
38410
|
+
"type": {
|
|
38411
|
+
"text": "string | undefined"
|
|
38412
|
+
},
|
|
38413
|
+
"description": "Specifies the name of the directionality of text for submission purposes (e.g., \"rtl\" for right-to-left).",
|
|
38414
|
+
"attribute": "dirname",
|
|
38415
|
+
"inheritedFrom": {
|
|
38416
|
+
"name": "Input",
|
|
38417
|
+
"module": "components/input/input.component.js"
|
|
38418
|
+
}
|
|
38419
|
+
},
|
|
38420
|
+
{
|
|
38421
|
+
"kind": "field",
|
|
38422
|
+
"name": "pattern",
|
|
38423
|
+
"type": {
|
|
38424
|
+
"text": "string | undefined"
|
|
38425
|
+
},
|
|
38426
|
+
"description": "The pattern attribute of the input field.\nSpecifies a regular expression that the input value must match for validation purposes.",
|
|
38427
|
+
"attribute": "pattern",
|
|
38428
|
+
"inheritedFrom": {
|
|
38429
|
+
"name": "Input",
|
|
38430
|
+
"module": "components/input/input.component.js"
|
|
38431
|
+
}
|
|
38432
|
+
},
|
|
38433
|
+
{
|
|
38434
|
+
"kind": "field",
|
|
38435
|
+
"name": "list",
|
|
38436
|
+
"type": {
|
|
38437
|
+
"text": "string | undefined"
|
|
38438
|
+
},
|
|
38439
|
+
"description": "The list attribute of the input field.\nIdentifies a list of pre-defined options to suggest to the user.",
|
|
38440
|
+
"attribute": "list",
|
|
38441
|
+
"inheritedFrom": {
|
|
38442
|
+
"name": "Input",
|
|
38443
|
+
"module": "components/input/input.component.js"
|
|
38444
|
+
}
|
|
38445
|
+
},
|
|
38446
|
+
{
|
|
38447
|
+
"kind": "field",
|
|
38448
|
+
"name": "size",
|
|
38449
|
+
"type": {
|
|
38450
|
+
"text": "number | undefined | undefined"
|
|
38451
|
+
},
|
|
38452
|
+
"description": "The size attribute of the input field.\nSpecifies the width of the input field.",
|
|
38453
|
+
"default": "undefined",
|
|
38454
|
+
"attribute": "size",
|
|
38455
|
+
"inheritedFrom": {
|
|
38456
|
+
"name": "Input",
|
|
38457
|
+
"module": "components/input/input.component.js"
|
|
38458
|
+
}
|
|
38459
|
+
},
|
|
38460
|
+
{
|
|
38461
|
+
"kind": "field",
|
|
38462
|
+
"name": "clearAriaLabel",
|
|
38463
|
+
"type": {
|
|
38464
|
+
"text": "string"
|
|
38465
|
+
},
|
|
38466
|
+
"default": "''",
|
|
38467
|
+
"description": "Aria label for the trailing button. If trailing button is set to true, this label is used for the clear button.",
|
|
38468
|
+
"attribute": "clear-aria-label",
|
|
38469
|
+
"inheritedFrom": {
|
|
38470
|
+
"name": "Input",
|
|
38471
|
+
"module": "components/input/input.component.js"
|
|
38472
|
+
}
|
|
38473
|
+
},
|
|
38474
|
+
{
|
|
38475
|
+
"kind": "method",
|
|
38476
|
+
"name": "setInputValidity",
|
|
38477
|
+
"privacy": "private",
|
|
38478
|
+
"inheritedFrom": {
|
|
38479
|
+
"name": "Input",
|
|
38480
|
+
"module": "components/input/input.component.js"
|
|
38481
|
+
}
|
|
38482
|
+
},
|
|
38483
|
+
{
|
|
38484
|
+
"kind": "method",
|
|
38485
|
+
"name": "updateValue",
|
|
38486
|
+
"privacy": "private",
|
|
38487
|
+
"description": "Updates the value of the input field.\nSets the form value.",
|
|
38488
|
+
"return": {
|
|
38489
|
+
"type": {
|
|
38490
|
+
"text": ""
|
|
38491
|
+
}
|
|
38492
|
+
},
|
|
38493
|
+
"inheritedFrom": {
|
|
38494
|
+
"name": "Input",
|
|
38495
|
+
"module": "components/input/input.component.js"
|
|
38496
|
+
}
|
|
38497
|
+
},
|
|
38498
|
+
{
|
|
38499
|
+
"kind": "method",
|
|
38500
|
+
"name": "onInput",
|
|
38501
|
+
"privacy": "private",
|
|
38502
|
+
"description": "Handles the input event of the input field.\nUpdates the value and sets the validity of the input field.",
|
|
38503
|
+
"inheritedFrom": {
|
|
38504
|
+
"name": "Input",
|
|
38505
|
+
"module": "components/input/input.component.js"
|
|
38506
|
+
}
|
|
38507
|
+
},
|
|
38508
|
+
{
|
|
38509
|
+
"kind": "method",
|
|
38510
|
+
"name": "onChange",
|
|
38511
|
+
"privacy": "private",
|
|
38512
|
+
"parameters": [
|
|
38513
|
+
{
|
|
38514
|
+
"name": "event",
|
|
38515
|
+
"type": {
|
|
38516
|
+
"text": "Event"
|
|
38517
|
+
},
|
|
38518
|
+
"description": "Event which contains information about the value change."
|
|
38519
|
+
}
|
|
38520
|
+
],
|
|
38521
|
+
"description": "Handles the change event of the input field.\nUpdates the value and sets the validity of the input field.\n\nThe 'change' event does not bubble up through the shadow DOM as it was not composed.\nTherefore, we need to re-dispatch the same event to ensure it is propagated correctly.\nRead more: https://developer.mozilla.org/en-US/docs/Web/API/Event/composed",
|
|
38522
|
+
"inheritedFrom": {
|
|
38523
|
+
"name": "Input",
|
|
38524
|
+
"module": "components/input/input.component.js"
|
|
38525
|
+
}
|
|
38526
|
+
},
|
|
38527
|
+
{
|
|
38528
|
+
"kind": "method",
|
|
38529
|
+
"name": "renderLeadingIcon",
|
|
38530
|
+
"privacy": "protected",
|
|
38531
|
+
"description": "Renders the leading icon before the input field.\nIf the leading icon is not set, it will not be displayed.",
|
|
38532
|
+
"return": {
|
|
38533
|
+
"type": {
|
|
38534
|
+
"text": ""
|
|
38535
|
+
}
|
|
38536
|
+
},
|
|
38537
|
+
"inheritedFrom": {
|
|
38538
|
+
"name": "Input",
|
|
38539
|
+
"module": "components/input/input.component.js"
|
|
38540
|
+
}
|
|
38541
|
+
},
|
|
38542
|
+
{
|
|
38543
|
+
"kind": "method",
|
|
38544
|
+
"name": "renderPrefixText",
|
|
38545
|
+
"privacy": "protected",
|
|
38546
|
+
"description": "Renders the prefix text before the input field.\nIf the prefix text is more than 10 characters,\n- it will not be displayed.\n- the validation messsage will be displayed.\n\n Note: We are setting aria-hidden so that the screen reader does not read the prefix text.\n The consumers should set the appropriate aria-label for the input field using 'data-aria-label' attribute.",
|
|
38547
|
+
"return": {
|
|
38548
|
+
"type": {
|
|
38549
|
+
"text": ""
|
|
38550
|
+
}
|
|
38551
|
+
},
|
|
38552
|
+
"inheritedFrom": {
|
|
38553
|
+
"name": "Input",
|
|
38554
|
+
"module": "components/input/input.component.js"
|
|
38555
|
+
}
|
|
38556
|
+
},
|
|
38557
|
+
{
|
|
38558
|
+
"kind": "method",
|
|
38559
|
+
"name": "renderTrailingButton",
|
|
38560
|
+
"privacy": "protected",
|
|
38561
|
+
"parameters": [
|
|
38562
|
+
{
|
|
38563
|
+
"name": "show",
|
|
38564
|
+
"default": "false"
|
|
38565
|
+
}
|
|
38566
|
+
],
|
|
38567
|
+
"description": "Renders the trailing button to clear the input field if the trailingButton is set to true.",
|
|
38568
|
+
"return": {
|
|
38569
|
+
"type": {
|
|
38570
|
+
"text": ""
|
|
38571
|
+
}
|
|
38572
|
+
},
|
|
38573
|
+
"inheritedFrom": {
|
|
38574
|
+
"name": "Input",
|
|
38575
|
+
"module": "components/input/input.component.js"
|
|
38576
|
+
}
|
|
38577
|
+
},
|
|
38578
|
+
{
|
|
38579
|
+
"kind": "method",
|
|
38580
|
+
"name": "renderInputElement",
|
|
38581
|
+
"privacy": "protected",
|
|
38582
|
+
"parameters": [
|
|
38583
|
+
{
|
|
38584
|
+
"name": "type",
|
|
38585
|
+
"type": {
|
|
38586
|
+
"text": "InputType"
|
|
38587
|
+
}
|
|
38588
|
+
},
|
|
38589
|
+
{
|
|
38590
|
+
"name": "hidePlaceholder",
|
|
38591
|
+
"default": "false"
|
|
38592
|
+
}
|
|
38593
|
+
],
|
|
38594
|
+
"inheritedFrom": {
|
|
38595
|
+
"name": "Input",
|
|
38596
|
+
"module": "components/input/input.component.js"
|
|
38597
|
+
}
|
|
38598
|
+
},
|
|
38599
|
+
{
|
|
38600
|
+
"kind": "field",
|
|
38601
|
+
"name": "disabled",
|
|
38602
|
+
"type": {
|
|
38603
|
+
"text": "boolean | undefined"
|
|
38604
|
+
},
|
|
38605
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
|
38606
|
+
"default": "undefined",
|
|
38607
|
+
"attribute": "disabled",
|
|
38608
|
+
"reflects": true,
|
|
38609
|
+
"inheritedFrom": {
|
|
38610
|
+
"name": "FormfieldWrapper",
|
|
38611
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
|
38612
|
+
}
|
|
38613
|
+
},
|
|
38614
|
+
{
|
|
38615
|
+
"kind": "field",
|
|
38616
|
+
"name": "label",
|
|
38617
|
+
"type": {
|
|
38618
|
+
"text": "string | undefined"
|
|
38619
|
+
},
|
|
38620
|
+
"description": "The label of the input field. It is linked to the input field using the `for` attribute.",
|
|
38621
|
+
"attribute": "label",
|
|
38622
|
+
"reflects": true,
|
|
38623
|
+
"inheritedFrom": {
|
|
38624
|
+
"name": "FormfieldWrapper",
|
|
38625
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
|
38626
|
+
}
|
|
38627
|
+
},
|
|
38628
|
+
{
|
|
38629
|
+
"kind": "field",
|
|
38630
|
+
"name": "required",
|
|
38631
|
+
"type": {
|
|
38632
|
+
"text": "boolean"
|
|
38633
|
+
},
|
|
38634
|
+
"default": "false",
|
|
38635
|
+
"description": "The required attribute to indicate that the input field is required.\nIt is used to append a required indicator (*) to the label.",
|
|
38636
|
+
"attribute": "required",
|
|
38637
|
+
"reflects": true,
|
|
38638
|
+
"inheritedFrom": {
|
|
38639
|
+
"name": "FormfieldWrapper",
|
|
38640
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
|
38641
|
+
}
|
|
38642
|
+
},
|
|
38643
|
+
{
|
|
38644
|
+
"kind": "field",
|
|
38645
|
+
"name": "helpTextType",
|
|
38646
|
+
"type": {
|
|
38647
|
+
"text": "ValidationType"
|
|
38648
|
+
},
|
|
38649
|
+
"description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
|
|
38650
|
+
"attribute": "help-text-type",
|
|
38651
|
+
"reflects": true,
|
|
38652
|
+
"inheritedFrom": {
|
|
38653
|
+
"name": "FormfieldWrapper",
|
|
38654
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
|
38655
|
+
}
|
|
38656
|
+
},
|
|
38657
|
+
{
|
|
38658
|
+
"kind": "field",
|
|
38659
|
+
"name": "helpText",
|
|
38660
|
+
"type": {
|
|
38661
|
+
"text": "string | undefined"
|
|
38662
|
+
},
|
|
38663
|
+
"description": "The help text that is displayed below the input field.",
|
|
38664
|
+
"attribute": "help-text",
|
|
38665
|
+
"reflects": true,
|
|
38666
|
+
"inheritedFrom": {
|
|
38667
|
+
"name": "FormfieldWrapper",
|
|
38552
38668
|
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
|
38553
38669
|
}
|
|
38554
38670
|
},
|
|
@@ -38716,90 +38832,71 @@
|
|
|
38716
38832
|
],
|
|
38717
38833
|
"events": [
|
|
38718
38834
|
{
|
|
38719
|
-
"
|
|
38720
|
-
"type": {
|
|
38721
|
-
"text": "CustomEvent"
|
|
38722
|
-
},
|
|
38723
|
-
"description": "(React: onChange) This event is dispatched when the select is changed.",
|
|
38724
|
-
"reactName": "onChange"
|
|
38725
|
-
},
|
|
38726
|
-
{
|
|
38835
|
+
"description": "(React: onInput) This event is dispatched when the value of the input field changes (every press).",
|
|
38727
38836
|
"name": "input",
|
|
38728
|
-
"
|
|
38729
|
-
|
|
38730
|
-
|
|
38731
|
-
|
|
38732
|
-
|
|
38733
|
-
},
|
|
38734
|
-
{
|
|
38735
|
-
"description": "(React: onClick) This event is dispatched when the select is clicked.",
|
|
38736
|
-
"name": "click",
|
|
38737
|
-
"reactName": "onClick"
|
|
38837
|
+
"reactName": "onInput",
|
|
38838
|
+
"inheritedFrom": {
|
|
38839
|
+
"name": "Input",
|
|
38840
|
+
"module": "src/components/input/input.component.ts"
|
|
38841
|
+
}
|
|
38738
38842
|
},
|
|
38739
38843
|
{
|
|
38740
|
-
"description": "(React:
|
|
38741
|
-
"name": "
|
|
38742
|
-
"reactName": "
|
|
38844
|
+
"description": "(React: onChange) This event is dispatched when the value of the input field changes (on blur).",
|
|
38845
|
+
"name": "change",
|
|
38846
|
+
"reactName": "onChange",
|
|
38847
|
+
"inheritedFrom": {
|
|
38848
|
+
"name": "Input",
|
|
38849
|
+
"module": "src/components/input/input.component.ts"
|
|
38850
|
+
}
|
|
38743
38851
|
},
|
|
38744
38852
|
{
|
|
38745
|
-
"description": "(React: onFocus) This event is dispatched when the
|
|
38853
|
+
"description": "(React: onFocus) This event is dispatched when the input receives focus.",
|
|
38746
38854
|
"name": "focus",
|
|
38747
|
-
"reactName": "onFocus"
|
|
38748
|
-
|
|
38749
|
-
|
|
38750
|
-
|
|
38751
|
-
|
|
38752
|
-
"name": "placeholder",
|
|
38753
|
-
"type": {
|
|
38754
|
-
"text": "string | undefined"
|
|
38755
|
-
},
|
|
38756
|
-
"description": "The placeholder text which will be shown on the text if provided.",
|
|
38757
|
-
"fieldName": "placeholder"
|
|
38758
|
-
},
|
|
38759
|
-
{
|
|
38760
|
-
"name": "placement",
|
|
38761
|
-
"type": {
|
|
38762
|
-
"text": "Placement"
|
|
38763
|
-
},
|
|
38764
|
-
"description": "The placement of the popover within Select component.\nThis defines the position of the popover relative to the select input field.\n\nPossible values:\n - 'top-start'\n - 'bottom-start'",
|
|
38765
|
-
"default": "'bottom-start'",
|
|
38766
|
-
"fieldName": "placement"
|
|
38767
|
-
},
|
|
38768
|
-
{
|
|
38769
|
-
"name": "boundary",
|
|
38770
|
-
"type": {
|
|
38771
|
-
"text": "'clippingAncestors' | string"
|
|
38772
|
-
},
|
|
38773
|
-
"description": "This describes the clipping element(s) or area that overflow of the used popover will be checked relative to.\nThe default is 'clippingAncestors', which are the overflow ancestors which will cause the\nelement to be clipped.\n\nPossible values:\n - 'clippingAncestors'\n - any css selector",
|
|
38774
|
-
"default": "'clippingAncestors'",
|
|
38775
|
-
"fieldName": "boundary"
|
|
38855
|
+
"reactName": "onFocus",
|
|
38856
|
+
"inheritedFrom": {
|
|
38857
|
+
"name": "Input",
|
|
38858
|
+
"module": "src/components/input/input.component.ts"
|
|
38859
|
+
}
|
|
38776
38860
|
},
|
|
38777
38861
|
{
|
|
38778
|
-
"
|
|
38779
|
-
"
|
|
38780
|
-
|
|
38781
|
-
|
|
38782
|
-
|
|
38783
|
-
|
|
38784
|
-
|
|
38862
|
+
"description": "(React: onBlur) This event is dispatched when the input loses focus.",
|
|
38863
|
+
"name": "blur",
|
|
38864
|
+
"reactName": "onBlur",
|
|
38865
|
+
"inheritedFrom": {
|
|
38866
|
+
"name": "Input",
|
|
38867
|
+
"module": "src/components/input/input.component.ts"
|
|
38868
|
+
}
|
|
38785
38869
|
},
|
|
38786
38870
|
{
|
|
38787
|
-
"name": "
|
|
38871
|
+
"name": "clear",
|
|
38788
38872
|
"type": {
|
|
38789
|
-
"text": "
|
|
38873
|
+
"text": "CustomEvent"
|
|
38790
38874
|
},
|
|
38791
|
-
"description": "
|
|
38792
|
-
"
|
|
38793
|
-
"
|
|
38875
|
+
"description": "(React: onClear) This event is dispatched when the input text is cleared.",
|
|
38876
|
+
"reactName": "onClear",
|
|
38877
|
+
"inheritedFrom": {
|
|
38878
|
+
"name": "Input",
|
|
38879
|
+
"module": "src/components/input/input.component.ts"
|
|
38880
|
+
}
|
|
38794
38881
|
},
|
|
38795
38882
|
{
|
|
38796
|
-
"name": "backdrop-append-to",
|
|
38797
38883
|
"type": {
|
|
38798
|
-
"text": "
|
|
38884
|
+
"text": "EventConstructor"
|
|
38799
38885
|
},
|
|
38800
|
-
"
|
|
38801
|
-
|
|
38802
|
-
|
|
38886
|
+
"inheritedFrom": {
|
|
38887
|
+
"name": "Input",
|
|
38888
|
+
"module": "src/components/input/input.component.ts"
|
|
38889
|
+
}
|
|
38890
|
+
}
|
|
38891
|
+
],
|
|
38892
|
+
"superclass": {
|
|
38893
|
+
"name": "Input",
|
|
38894
|
+
"module": "/src/components/input/input.component"
|
|
38895
|
+
},
|
|
38896
|
+
"tagName": "mdc-searchfield",
|
|
38897
|
+
"jsDoc": "/**\n * `mdc-searchfield` component is used as an input field for search functionality.\n *\n * It supports `mdc-inputchip` as filters.\n *\n * This component is built by extending the `mdc-input` component.\n *\n * @tagname mdc-searchfield\n *\n * @event input - (React: onInput) This event is dispatched when the value of the input field changes (every press).\n * @event change - (React: onChange) This event is dispatched when the value of the input field changes (on blur).\n * @event focus - (React: onFocus) This event is dispatched when the input receives focus.\n * @event blur - (React: onBlur) This event is dispatched when the input loses focus.\n * @event clear - (React: onClear) This event is dispatched when the input text is cleared.\n *\n * @slot filters - Slot for input chips\n * @slot label - Slot for the label element. If not provided, the `label` property will be used to render the label.\n * @slot toggletip - Slot for the toggletip info icon button. If not provided, the `toggletip-text` property will be used to render the info icon button and toggletip.\n * @slot help-icon - Slot for the helper/validation icon. If not provided, the icon will be rendered based on the `helpTextType` property.\n * @slot help-text - Slot for the helper/validation text. If not provided, the `helpText` property will be used to render the helper/validation text.\n * @slot input - Slot for the input element. If not provided, the input field will be rendered.\n * @slot input-leading-icon - Slot for the leading icon before the input field. If not provided, the `leadingIcon` property will be used to render the leading icon.\n * @slot input-prefix-text - Slot for the prefix text before the input field. If not provided, the `prefixText` property will be used to render the prefix text.\n * @slot trailing-button - Slot for the trailing button to clear the input field. If not provided, the clear button will be rendered when `trailingButton` property is set to true.\n *\n * @cssproperty --mdc-label-font-size - Font size for the label text.\n * @cssproperty --mdc-label-font-weight - Font weight for the label text.\n * @cssproperty --mdc-label-line-height - Line height for the label text.\n * @cssproperty --mdc-label-color - Color for the label text.\n * @cssproperty --mdc-help-text-font-size - Font size for the help text.\n * @cssproperty --mdc-help-text-font-weight - Font weight for the help text.\n * @cssproperty --mdc-help-text-line-height - Line height for the help text.\n * @cssproperty --mdc-help-text-color - Color for the help text.\n * @cssproperty --mdc-required-indicator-color - Color for the required indicator text.\n * @cssproperty --mdc-input-text-color - Text color for the input field\n * @cssproperty --mdc-input-border-color - Border color for the input container\n * @cssproperty --mdc-input-background-color - Background color for the input field\n * @cssproperty --mdc-input-support-text-color - Text color for the help text\n * @cssproperty --mdc-input-selection-text-color - Text color for the selected text\n * @cssproperty --mdc-input-selection-background-color - Background color for the selected text\n *\n * @csspart label - The label element.\n * @csspart label-text - The container for the label and required indicator elements.\n * @csspart required-indicator - The required indicator element that is displayed next to the label when the `required` property is set to true.\n * @csspart info-icon-btn - The info icon button element that is displayed next to the label when the `toggletip-text` property is set.\n * @csspart label-toggletip - The toggletip element that is displayed when the info icon button is clicked.\n * @csspart help-text - The helper/validation text element.\n * @csspart helper-icon - The helper/validation icon element that is displayed next to the helper/validation text.\n * @csspart help-text-container - The container for the helper/validation icon and text elements.\n * @csspart leading-icon - The leading icon element that is displayed before the input field.\n * @csspart prefix-text - The prefix text element that is displayed before the input field.\n * @csspart input-container - The container for the input field, leading icon, prefix text, and trailing button elements.\n * @csspart input-section - The container for the input field, leading icon, and prefix text elements.\n * @csspart input-text - The input field element.\n * @csspart trailing-button - The trailing button element that is displayed to clear the input field when the `trailingButton` property is set to true.\n */",
|
|
38898
|
+
"customElement": true,
|
|
38899
|
+
"attributes": [
|
|
38803
38900
|
{
|
|
38804
38901
|
"name": "auto-focus-on-mount",
|
|
38805
38902
|
"type": {
|
|
@@ -38865,94 +38962,256 @@
|
|
|
38865
38962
|
}
|
|
38866
38963
|
},
|
|
38867
38964
|
{
|
|
38868
|
-
"name": "
|
|
38965
|
+
"name": "placeholder",
|
|
38869
38966
|
"type": {
|
|
38870
|
-
"text": "
|
|
38967
|
+
"text": "string"
|
|
38871
38968
|
},
|
|
38872
|
-
"
|
|
38873
|
-
"
|
|
38874
|
-
"fieldName": "
|
|
38969
|
+
"default": "''",
|
|
38970
|
+
"description": "The placeholder text that is displayed when the input field is empty.",
|
|
38971
|
+
"fieldName": "placeholder",
|
|
38875
38972
|
"inheritedFrom": {
|
|
38876
|
-
"name": "
|
|
38877
|
-
"module": "src/components/
|
|
38973
|
+
"name": "Input",
|
|
38974
|
+
"module": "src/components/input/input.component.ts"
|
|
38878
38975
|
}
|
|
38879
38976
|
},
|
|
38880
38977
|
{
|
|
38881
|
-
"name": "
|
|
38978
|
+
"name": "prefix-text",
|
|
38882
38979
|
"type": {
|
|
38883
38980
|
"text": "string | undefined"
|
|
38884
38981
|
},
|
|
38885
|
-
"description": "The
|
|
38886
|
-
"fieldName": "
|
|
38982
|
+
"description": "The prefix text that is displayed before the input field. It has a max length of 10 characters.\nWhen the prefix text is set, make sure to set the 'data-aria-label'\nattribute with the appropriate value for accessibility.",
|
|
38983
|
+
"fieldName": "prefixText",
|
|
38887
38984
|
"inheritedFrom": {
|
|
38888
|
-
"name": "
|
|
38889
|
-
"module": "src/components/
|
|
38985
|
+
"name": "Input",
|
|
38986
|
+
"module": "src/components/input/input.component.ts"
|
|
38890
38987
|
}
|
|
38891
38988
|
},
|
|
38892
38989
|
{
|
|
38893
|
-
"name": "
|
|
38990
|
+
"name": "leading-icon",
|
|
38894
38991
|
"type": {
|
|
38895
|
-
"text": "
|
|
38992
|
+
"text": "IconNames | undefined"
|
|
38896
38993
|
},
|
|
38897
|
-
"
|
|
38898
|
-
"
|
|
38899
|
-
"fieldName": "required",
|
|
38994
|
+
"description": "The leading icon that is displayed before the input field.",
|
|
38995
|
+
"fieldName": "leadingIcon",
|
|
38900
38996
|
"inheritedFrom": {
|
|
38901
|
-
"name": "
|
|
38902
|
-
"module": "src/components/
|
|
38997
|
+
"name": "Input",
|
|
38998
|
+
"module": "src/components/input/input.component.ts"
|
|
38903
38999
|
}
|
|
38904
39000
|
},
|
|
38905
39001
|
{
|
|
38906
|
-
"name": "
|
|
39002
|
+
"name": "trailing-button",
|
|
38907
39003
|
"type": {
|
|
38908
|
-
"text": "
|
|
39004
|
+
"text": "boolean"
|
|
38909
39005
|
},
|
|
38910
|
-
"
|
|
38911
|
-
"
|
|
39006
|
+
"default": "false",
|
|
39007
|
+
"description": "The trailing button when set to true, shows a clear button that clears the input field.",
|
|
39008
|
+
"fieldName": "trailingButton",
|
|
38912
39009
|
"inheritedFrom": {
|
|
38913
|
-
"name": "
|
|
38914
|
-
"module": "src/components/
|
|
39010
|
+
"name": "Input",
|
|
39011
|
+
"module": "src/components/input/input.component.ts"
|
|
38915
39012
|
}
|
|
38916
39013
|
},
|
|
38917
39014
|
{
|
|
38918
|
-
"name": "
|
|
39015
|
+
"name": "maxlength",
|
|
38919
39016
|
"type": {
|
|
38920
|
-
"text": "
|
|
39017
|
+
"text": "number | undefined"
|
|
38921
39018
|
},
|
|
38922
|
-
"description": "The
|
|
38923
|
-
"fieldName": "
|
|
39019
|
+
"description": "The maximum number of characters that the input field can accept.",
|
|
39020
|
+
"fieldName": "maxlength",
|
|
38924
39021
|
"inheritedFrom": {
|
|
38925
|
-
"name": "
|
|
38926
|
-
"module": "src/components/
|
|
39022
|
+
"name": "Input",
|
|
39023
|
+
"module": "src/components/input/input.component.ts"
|
|
38927
39024
|
}
|
|
38928
39025
|
},
|
|
38929
39026
|
{
|
|
38930
|
-
"name": "
|
|
39027
|
+
"name": "minlength",
|
|
38931
39028
|
"type": {
|
|
38932
|
-
"text": "
|
|
39029
|
+
"text": "number | undefined"
|
|
38933
39030
|
},
|
|
38934
|
-
"description": "The
|
|
38935
|
-
"fieldName": "
|
|
39031
|
+
"description": "The minimum number of characters that the input field can accept.",
|
|
39032
|
+
"fieldName": "minlength",
|
|
38936
39033
|
"inheritedFrom": {
|
|
38937
|
-
"name": "
|
|
38938
|
-
"module": "src/components/
|
|
39034
|
+
"name": "Input",
|
|
39035
|
+
"module": "src/components/input/input.component.ts"
|
|
38939
39036
|
}
|
|
38940
39037
|
},
|
|
38941
39038
|
{
|
|
38942
|
-
"name": "
|
|
39039
|
+
"name": "autocapitalize",
|
|
38943
39040
|
"type": {
|
|
38944
|
-
"text": "
|
|
39041
|
+
"text": "AutoCapitalizeType"
|
|
38945
39042
|
},
|
|
38946
|
-
"description": "The
|
|
38947
|
-
"default": "'
|
|
38948
|
-
"fieldName": "
|
|
39043
|
+
"description": "The autocapitalize attribute of the input field.",
|
|
39044
|
+
"default": "'off'",
|
|
39045
|
+
"fieldName": "autocapitalize",
|
|
38949
39046
|
"inheritedFrom": {
|
|
38950
|
-
"name": "
|
|
38951
|
-
"module": "src/components/
|
|
39047
|
+
"name": "Input",
|
|
39048
|
+
"module": "src/components/input/input.component.ts"
|
|
38952
39049
|
}
|
|
38953
39050
|
},
|
|
38954
39051
|
{
|
|
38955
|
-
"name": "
|
|
39052
|
+
"name": "autocomplete",
|
|
39053
|
+
"type": {
|
|
39054
|
+
"text": "AutoCompleteType"
|
|
39055
|
+
},
|
|
39056
|
+
"description": "The autocomplete attribute of the input field.",
|
|
39057
|
+
"default": "'off'",
|
|
39058
|
+
"fieldName": "autocomplete",
|
|
39059
|
+
"inheritedFrom": {
|
|
39060
|
+
"name": "Input",
|
|
39061
|
+
"module": "src/components/input/input.component.ts"
|
|
39062
|
+
}
|
|
39063
|
+
},
|
|
39064
|
+
{
|
|
39065
|
+
"name": "dirname",
|
|
39066
|
+
"type": {
|
|
39067
|
+
"text": "string | undefined"
|
|
39068
|
+
},
|
|
39069
|
+
"description": "Specifies the name of the directionality of text for submission purposes (e.g., \"rtl\" for right-to-left).",
|
|
39070
|
+
"fieldName": "dirname",
|
|
39071
|
+
"inheritedFrom": {
|
|
39072
|
+
"name": "Input",
|
|
39073
|
+
"module": "src/components/input/input.component.ts"
|
|
39074
|
+
}
|
|
39075
|
+
},
|
|
39076
|
+
{
|
|
39077
|
+
"name": "pattern",
|
|
39078
|
+
"type": {
|
|
39079
|
+
"text": "string | undefined"
|
|
39080
|
+
},
|
|
39081
|
+
"description": "The pattern attribute of the input field.\nSpecifies a regular expression that the input value must match for validation purposes.",
|
|
39082
|
+
"fieldName": "pattern",
|
|
39083
|
+
"inheritedFrom": {
|
|
39084
|
+
"name": "Input",
|
|
39085
|
+
"module": "src/components/input/input.component.ts"
|
|
39086
|
+
}
|
|
39087
|
+
},
|
|
39088
|
+
{
|
|
39089
|
+
"name": "list",
|
|
39090
|
+
"type": {
|
|
39091
|
+
"text": "string | undefined"
|
|
39092
|
+
},
|
|
39093
|
+
"description": "The list attribute of the input field.\nIdentifies a list of pre-defined options to suggest to the user.",
|
|
39094
|
+
"fieldName": "list",
|
|
39095
|
+
"inheritedFrom": {
|
|
39096
|
+
"name": "Input",
|
|
39097
|
+
"module": "src/components/input/input.component.ts"
|
|
39098
|
+
}
|
|
39099
|
+
},
|
|
39100
|
+
{
|
|
39101
|
+
"name": "size",
|
|
39102
|
+
"type": {
|
|
39103
|
+
"text": "number | undefined | undefined"
|
|
39104
|
+
},
|
|
39105
|
+
"description": "The size attribute of the input field.\nSpecifies the width of the input field.",
|
|
39106
|
+
"default": "undefined",
|
|
39107
|
+
"fieldName": "size",
|
|
39108
|
+
"inheritedFrom": {
|
|
39109
|
+
"name": "Input",
|
|
39110
|
+
"module": "src/components/input/input.component.ts"
|
|
39111
|
+
}
|
|
39112
|
+
},
|
|
39113
|
+
{
|
|
39114
|
+
"name": "clear-aria-label",
|
|
39115
|
+
"type": {
|
|
39116
|
+
"text": "string"
|
|
39117
|
+
},
|
|
39118
|
+
"default": "''",
|
|
39119
|
+
"description": "Aria label for the trailing button. If trailing button is set to true, this label is used for the clear button.",
|
|
39120
|
+
"fieldName": "clearAriaLabel",
|
|
39121
|
+
"inheritedFrom": {
|
|
39122
|
+
"name": "Input",
|
|
39123
|
+
"module": "src/components/input/input.component.ts"
|
|
39124
|
+
}
|
|
39125
|
+
},
|
|
39126
|
+
{
|
|
39127
|
+
"name": "disabled",
|
|
39128
|
+
"type": {
|
|
39129
|
+
"text": "boolean | undefined"
|
|
39130
|
+
},
|
|
39131
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
|
39132
|
+
"default": "undefined",
|
|
39133
|
+
"fieldName": "disabled",
|
|
39134
|
+
"inheritedFrom": {
|
|
39135
|
+
"name": "FormfieldWrapper",
|
|
39136
|
+
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
|
39137
|
+
}
|
|
39138
|
+
},
|
|
39139
|
+
{
|
|
39140
|
+
"name": "label",
|
|
39141
|
+
"type": {
|
|
39142
|
+
"text": "string | undefined"
|
|
39143
|
+
},
|
|
39144
|
+
"description": "The label of the input field. It is linked to the input field using the `for` attribute.",
|
|
39145
|
+
"fieldName": "label",
|
|
39146
|
+
"inheritedFrom": {
|
|
39147
|
+
"name": "FormfieldWrapper",
|
|
39148
|
+
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
|
39149
|
+
}
|
|
39150
|
+
},
|
|
39151
|
+
{
|
|
39152
|
+
"name": "required",
|
|
39153
|
+
"type": {
|
|
39154
|
+
"text": "boolean"
|
|
39155
|
+
},
|
|
39156
|
+
"default": "false",
|
|
39157
|
+
"description": "The required attribute to indicate that the input field is required.\nIt is used to append a required indicator (*) to the label.",
|
|
39158
|
+
"fieldName": "required",
|
|
39159
|
+
"inheritedFrom": {
|
|
39160
|
+
"name": "FormfieldWrapper",
|
|
39161
|
+
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
|
39162
|
+
}
|
|
39163
|
+
},
|
|
39164
|
+
{
|
|
39165
|
+
"name": "help-text-type",
|
|
39166
|
+
"type": {
|
|
39167
|
+
"text": "ValidationType"
|
|
39168
|
+
},
|
|
39169
|
+
"description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
|
|
39170
|
+
"fieldName": "helpTextType",
|
|
39171
|
+
"inheritedFrom": {
|
|
39172
|
+
"name": "FormfieldWrapper",
|
|
39173
|
+
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
|
39174
|
+
}
|
|
39175
|
+
},
|
|
39176
|
+
{
|
|
39177
|
+
"name": "help-text",
|
|
39178
|
+
"type": {
|
|
39179
|
+
"text": "string | undefined"
|
|
39180
|
+
},
|
|
39181
|
+
"description": "The help text that is displayed below the input field.",
|
|
39182
|
+
"fieldName": "helpText",
|
|
39183
|
+
"inheritedFrom": {
|
|
39184
|
+
"name": "FormfieldWrapper",
|
|
39185
|
+
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
|
39186
|
+
}
|
|
39187
|
+
},
|
|
39188
|
+
{
|
|
39189
|
+
"name": "toggletip-text",
|
|
39190
|
+
"type": {
|
|
39191
|
+
"text": "string | undefined"
|
|
39192
|
+
},
|
|
39193
|
+
"description": "The toggletip text that is displayed when the label is hovered.\nIt is used to provide additional information about the label.",
|
|
39194
|
+
"fieldName": "toggletipText",
|
|
39195
|
+
"inheritedFrom": {
|
|
39196
|
+
"name": "FormfieldWrapper",
|
|
39197
|
+
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
|
39198
|
+
}
|
|
39199
|
+
},
|
|
39200
|
+
{
|
|
39201
|
+
"name": "toggletip-placement",
|
|
39202
|
+
"type": {
|
|
39203
|
+
"text": "PopoverPlacement"
|
|
39204
|
+
},
|
|
39205
|
+
"description": "The placement of the toggletip that is displayed when the info icon is hovered.",
|
|
39206
|
+
"default": "'top'",
|
|
39207
|
+
"fieldName": "toggletipPlacement",
|
|
39208
|
+
"inheritedFrom": {
|
|
39209
|
+
"name": "FormfieldWrapper",
|
|
39210
|
+
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
|
39211
|
+
}
|
|
39212
|
+
},
|
|
39213
|
+
{
|
|
39214
|
+
"name": "toggletip-strategy",
|
|
38956
39215
|
"type": {
|
|
38957
39216
|
"text": "PopoverStrategy"
|
|
38958
39217
|
},
|
|
@@ -39000,36 +39259,7 @@
|
|
|
39000
39259
|
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
|
39001
39260
|
}
|
|
39002
39261
|
}
|
|
39003
|
-
]
|
|
39004
|
-
"mixins": [
|
|
39005
|
-
{
|
|
39006
|
-
"name": "ListNavigationMixin",
|
|
39007
|
-
"module": "/src/utils/mixins/ListNavigationMixin"
|
|
39008
|
-
},
|
|
39009
|
-
{
|
|
39010
|
-
"name": "CaptureDestroyEventForChildElement",
|
|
39011
|
-
"module": "/src/utils/mixins/lifecycle/CaptureDestroyEventForChildElement"
|
|
39012
|
-
},
|
|
39013
|
-
{
|
|
39014
|
-
"name": "AutoFocusOnMountMixin",
|
|
39015
|
-
"module": "/src/utils/mixins/AutoFocusOnMountMixin"
|
|
39016
|
-
},
|
|
39017
|
-
{
|
|
39018
|
-
"name": "FormInternalsMixin",
|
|
39019
|
-
"module": "/src/utils/mixins/FormInternalsMixin"
|
|
39020
|
-
},
|
|
39021
|
-
{
|
|
39022
|
-
"name": "DataAriaLabelMixin",
|
|
39023
|
-
"module": "/src/utils/mixins/DataAriaLabelMixin"
|
|
39024
|
-
}
|
|
39025
|
-
],
|
|
39026
|
-
"superclass": {
|
|
39027
|
-
"name": "FormfieldWrapper",
|
|
39028
|
-
"module": "/src/components/formfieldwrapper/formfieldwrapper.component"
|
|
39029
|
-
},
|
|
39030
|
-
"tagName": "mdc-select",
|
|
39031
|
-
"jsDoc": "/**\n * The mdc-select component is a dropdown selection control that allows users to pick an option from a predefined list.\n * It is designed to work with `mdc-option` for individual options and `mdc-optgroup` for grouping related options.\n *\n * Every mdc-option should have a `value` attribute set to ensure proper form submission.\n *\n * To set a default option, use the `selected` attribute on the `mdc-option` element.\n * You can also set the `value` attribute on the `mdc-select` element to match the value of the desired option. The component will select the corresponding option automatically.\n *\n * **Note:** Make sure to add `mdc-selectlistbox` as a child of `mdc-select` and wrap options/optgroup in it to ensure proper accessibility functionality. Read more about it in SelectListBox documentation.\n *\n * If you need to use `mdc-tooltip` with any options, make sure to place the tooltip component outside the `mdc-select` element.\n *\n * @dependency mdc-button\n * @dependency mdc-icon\n * @dependency mdc-popover\n * @dependency mdc-text\n * @dependency mdc-toggletip\n *\n * @tagname mdc-select\n *\n * @slot default - This is a default/unnamed slot for Selectlistbox including options and/or option group.\n *\n * @event click - (React: onClick) This event is dispatched when the select is clicked.\n * @event change - (React: onChange) This event is dispatched when the select is changed.\n * @event input - (React: onInput) This event is dispatched when the select is changed.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the select.\n * @event focus - (React: onFocus) This event is dispatched when the select receives focus.\n *\n * @slot label - Slot for the label element. If not provided, the `label` property will be used to render the label.\n * @slot toggletip - Slot for the toggletip info icon button. If not provided, the `toggletip-text` property will be used to render the info icon button and toggletip.\n * @slot help-icon - Slot for the helper/validation icon. If not provided, the icon will be rendered based on the `helpTextType` property.\n * @slot help-text - Slot for the helper/validation text. If not provided, the `helpText` property will be used to render the helper/validation text.\n *\n * @csspart label - The label element.\n * @csspart label-text - The container for the label and required indicator elements.\n * @csspart required-indicator - The required indicator element that is displayed next to the label when the `required` property is set to true.\n * @csspart info-icon-btn - The info icon button element that is displayed next to the label when the `toggletip-text` property is set.\n * @csspart label-toggletip - The toggletip element that is displayed when the info icon button is clicked.\n * @csspart help-text - The helper/validation text element.\n * @csspart helper-icon - The helper/validation icon element that is displayed next to the helper/validation text.\n * @csspart help-text-container - The container for the helper/validation icon and text elements.\n *\n * @cssproperty --mdc-label-font-size - Font size for the label text.\n * @cssproperty --mdc-label-font-weight - Font weight for the label text.\n * @cssproperty --mdc-label-line-height - Line height for the label text.\n * @cssproperty --mdc-label-color - Color for the label text.\n * @cssproperty --mdc-help-text-font-size - Font size for the help text.\n * @cssproperty --mdc-help-text-font-weight - Font weight for the help text.\n * @cssproperty --mdc-help-text-line-height - Line height for the help text.\n * @cssproperty --mdc-help-text-color - Color for the help text.\n * @cssproperty --mdc-required-indicator-color - Color for the required indicator text.\n * @cssproperty --mdc-select-background-color - The background color of the combobox of select.\n * @cssproperty --mdc-select-text-color - The text color of the select.\n * @cssproperty --mdc-select-border-color - The border color of the select.\n * @cssproperty --mdc-select-width - The width of the select.\n * @cssproperty --mdc-select-listbox-height - The height of the listbox inside the select.\n * @cssproperty --mdc-select-listbox-width - The width of the listbox inside the select (default: `--mdc-select-width`).\n */",
|
|
39032
|
-
"customElement": true
|
|
39262
|
+
]
|
|
39033
39263
|
}
|
|
39034
39264
|
],
|
|
39035
39265
|
"exports": [
|
|
@@ -39037,20 +39267,20 @@
|
|
|
39037
39267
|
"kind": "js",
|
|
39038
39268
|
"name": "default",
|
|
39039
39269
|
"declaration": {
|
|
39040
|
-
"name": "
|
|
39041
|
-
"module": "components/
|
|
39270
|
+
"name": "Searchfield",
|
|
39271
|
+
"module": "components/searchfield/searchfield.component.js"
|
|
39042
39272
|
}
|
|
39043
39273
|
}
|
|
39044
39274
|
]
|
|
39045
39275
|
},
|
|
39046
39276
|
{
|
|
39047
39277
|
"kind": "javascript-module",
|
|
39048
|
-
"path": "components/
|
|
39278
|
+
"path": "components/select/select.component.js",
|
|
39049
39279
|
"declarations": [
|
|
39050
39280
|
{
|
|
39051
39281
|
"kind": "class",
|
|
39052
|
-
"description": "
|
|
39053
|
-
"name": "
|
|
39282
|
+
"description": "The mdc-select component is a dropdown selection control that allows users to pick an option from a predefined list.\nIt is designed to work with `mdc-option` for individual options and `mdc-optgroup` for grouping related options.\n\nEvery mdc-option should have a `value` attribute set to ensure proper form submission.\n\nTo set a default option, use the `selected` attribute on the `mdc-option` element.\nYou can also set the `value` attribute on the `mdc-select` element to match the value of the desired option. The component will select the corresponding option automatically.\n\n**Note:** Make sure to add `mdc-selectlistbox` as a child of `mdc-select` and wrap options/optgroup in it to ensure proper accessibility functionality. Read more about it in SelectListBox documentation.\n\nIf you need to use `mdc-tooltip` with any options, make sure to place the tooltip component outside the `mdc-select` element.",
|
|
39283
|
+
"name": "Select",
|
|
39054
39284
|
"cssProperties": [
|
|
39055
39285
|
{
|
|
39056
39286
|
"description": "Font size for the label text.",
|
|
@@ -39125,52 +39355,28 @@
|
|
|
39125
39355
|
}
|
|
39126
39356
|
},
|
|
39127
39357
|
{
|
|
39128
|
-
"description": "
|
|
39129
|
-
"name": "--mdc-
|
|
39130
|
-
"inheritedFrom": {
|
|
39131
|
-
"name": "Input",
|
|
39132
|
-
"module": "src/components/input/input.component.ts"
|
|
39133
|
-
}
|
|
39358
|
+
"description": "The background color of the combobox of select.",
|
|
39359
|
+
"name": "--mdc-select-background-color"
|
|
39134
39360
|
},
|
|
39135
39361
|
{
|
|
39136
|
-
"description": "
|
|
39137
|
-
"name": "--mdc-
|
|
39138
|
-
"inheritedFrom": {
|
|
39139
|
-
"name": "Input",
|
|
39140
|
-
"module": "src/components/input/input.component.ts"
|
|
39141
|
-
}
|
|
39362
|
+
"description": "The text color of the select.",
|
|
39363
|
+
"name": "--mdc-select-text-color"
|
|
39142
39364
|
},
|
|
39143
39365
|
{
|
|
39144
|
-
"description": "
|
|
39145
|
-
"name": "--mdc-
|
|
39146
|
-
"inheritedFrom": {
|
|
39147
|
-
"name": "Input",
|
|
39148
|
-
"module": "src/components/input/input.component.ts"
|
|
39149
|
-
}
|
|
39366
|
+
"description": "The border color of the select.",
|
|
39367
|
+
"name": "--mdc-select-border-color"
|
|
39150
39368
|
},
|
|
39151
39369
|
{
|
|
39152
|
-
"description": "
|
|
39153
|
-
"name": "--mdc-
|
|
39154
|
-
"inheritedFrom": {
|
|
39155
|
-
"name": "Input",
|
|
39156
|
-
"module": "src/components/input/input.component.ts"
|
|
39157
|
-
}
|
|
39370
|
+
"description": "The width of the select.",
|
|
39371
|
+
"name": "--mdc-select-width"
|
|
39158
39372
|
},
|
|
39159
39373
|
{
|
|
39160
|
-
"description": "
|
|
39161
|
-
"name": "--mdc-
|
|
39162
|
-
"inheritedFrom": {
|
|
39163
|
-
"name": "Input",
|
|
39164
|
-
"module": "src/components/input/input.component.ts"
|
|
39165
|
-
}
|
|
39374
|
+
"description": "The height of the listbox inside the select.",
|
|
39375
|
+
"name": "--mdc-select-listbox-height"
|
|
39166
39376
|
},
|
|
39167
39377
|
{
|
|
39168
|
-
"description": "
|
|
39169
|
-
"name": "--mdc-
|
|
39170
|
-
"inheritedFrom": {
|
|
39171
|
-
"name": "Input",
|
|
39172
|
-
"module": "src/components/input/input.component.ts"
|
|
39173
|
-
}
|
|
39378
|
+
"description": "The width of the listbox inside the select (default: `--mdc-select-width`).",
|
|
39379
|
+
"name": "--mdc-select-listbox-width"
|
|
39174
39380
|
}
|
|
39175
39381
|
],
|
|
39176
39382
|
"cssParts": [
|
|
@@ -39237,60 +39443,12 @@
|
|
|
39237
39443
|
"name": "FormfieldWrapper",
|
|
39238
39444
|
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
|
39239
39445
|
}
|
|
39240
|
-
},
|
|
39241
|
-
{
|
|
39242
|
-
"description": "The leading icon element that is displayed before the input field.",
|
|
39243
|
-
"name": "leading-icon",
|
|
39244
|
-
"inheritedFrom": {
|
|
39245
|
-
"name": "Input",
|
|
39246
|
-
"module": "src/components/input/input.component.ts"
|
|
39247
|
-
}
|
|
39248
|
-
},
|
|
39249
|
-
{
|
|
39250
|
-
"description": "The prefix text element that is displayed before the input field.",
|
|
39251
|
-
"name": "prefix-text",
|
|
39252
|
-
"inheritedFrom": {
|
|
39253
|
-
"name": "Input",
|
|
39254
|
-
"module": "src/components/input/input.component.ts"
|
|
39255
|
-
}
|
|
39256
|
-
},
|
|
39257
|
-
{
|
|
39258
|
-
"description": "The container for the input field, leading icon, prefix text, and trailing button elements.",
|
|
39259
|
-
"name": "input-container",
|
|
39260
|
-
"inheritedFrom": {
|
|
39261
|
-
"name": "Input",
|
|
39262
|
-
"module": "src/components/input/input.component.ts"
|
|
39263
|
-
}
|
|
39264
|
-
},
|
|
39265
|
-
{
|
|
39266
|
-
"description": "The container for the input field, leading icon, and prefix text elements.",
|
|
39267
|
-
"name": "input-section",
|
|
39268
|
-
"inheritedFrom": {
|
|
39269
|
-
"name": "Input",
|
|
39270
|
-
"module": "src/components/input/input.component.ts"
|
|
39271
|
-
}
|
|
39272
|
-
},
|
|
39273
|
-
{
|
|
39274
|
-
"description": "The input field element.",
|
|
39275
|
-
"name": "input-text",
|
|
39276
|
-
"inheritedFrom": {
|
|
39277
|
-
"name": "Input",
|
|
39278
|
-
"module": "src/components/input/input.component.ts"
|
|
39279
|
-
}
|
|
39280
|
-
},
|
|
39281
|
-
{
|
|
39282
|
-
"description": "The trailing button element that is displayed to clear the input field when the `trailingButton` property is set to true.",
|
|
39283
|
-
"name": "trailing-button",
|
|
39284
|
-
"inheritedFrom": {
|
|
39285
|
-
"name": "Input",
|
|
39286
|
-
"module": "src/components/input/input.component.ts"
|
|
39287
|
-
}
|
|
39288
39446
|
}
|
|
39289
39447
|
],
|
|
39290
39448
|
"slots": [
|
|
39291
39449
|
{
|
|
39292
|
-
"description": "
|
|
39293
|
-
"name": "
|
|
39450
|
+
"description": "This is a default/unnamed slot for Selectlistbox including options and/or option group.",
|
|
39451
|
+
"name": "default"
|
|
39294
39452
|
},
|
|
39295
39453
|
{
|
|
39296
39454
|
"description": "Slot for the label element. If not provided, the `label` property will be used to render the label.",
|
|
@@ -39323,511 +39481,467 @@
|
|
|
39323
39481
|
"name": "FormfieldWrapper",
|
|
39324
39482
|
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
|
39325
39483
|
}
|
|
39326
|
-
},
|
|
39327
|
-
{
|
|
39328
|
-
"description": "Slot for the input element. If not provided, the input field will be rendered.",
|
|
39329
|
-
"name": "input",
|
|
39330
|
-
"inheritedFrom": {
|
|
39331
|
-
"name": "Input",
|
|
39332
|
-
"module": "src/components/input/input.component.ts"
|
|
39333
|
-
}
|
|
39334
|
-
},
|
|
39335
|
-
{
|
|
39336
|
-
"description": "Slot for the leading icon before the input field. If not provided, the `leadingIcon` property will be used to render the leading icon.",
|
|
39337
|
-
"name": "input-leading-icon",
|
|
39338
|
-
"inheritedFrom": {
|
|
39339
|
-
"name": "Input",
|
|
39340
|
-
"module": "src/components/input/input.component.ts"
|
|
39341
|
-
}
|
|
39342
|
-
},
|
|
39343
|
-
{
|
|
39344
|
-
"description": "Slot for the prefix text before the input field. If not provided, the `prefixText` property will be used to render the prefix text.",
|
|
39345
|
-
"name": "input-prefix-text",
|
|
39346
|
-
"inheritedFrom": {
|
|
39347
|
-
"name": "Input",
|
|
39348
|
-
"module": "src/components/input/input.component.ts"
|
|
39349
|
-
}
|
|
39350
|
-
},
|
|
39351
|
-
{
|
|
39352
|
-
"description": "Slot for the trailing button to clear the input field. If not provided, the clear button will be rendered when `trailingButton` property is set to true.",
|
|
39353
|
-
"name": "trailing-button",
|
|
39354
|
-
"inheritedFrom": {
|
|
39355
|
-
"name": "Input",
|
|
39356
|
-
"module": "src/components/input/input.component.ts"
|
|
39357
|
-
}
|
|
39358
39484
|
}
|
|
39359
39485
|
],
|
|
39360
39486
|
"members": [
|
|
39361
39487
|
{
|
|
39362
39488
|
"kind": "field",
|
|
39363
|
-
"name": "
|
|
39489
|
+
"name": "placeholder",
|
|
39364
39490
|
"type": {
|
|
39365
|
-
"text": "
|
|
39366
|
-
}
|
|
39367
|
-
|
|
39368
|
-
|
|
39369
|
-
"kind": "method",
|
|
39370
|
-
"name": "handleKeyDown",
|
|
39371
|
-
"privacy": "protected",
|
|
39372
|
-
"parameters": [
|
|
39373
|
-
{
|
|
39374
|
-
"name": "event",
|
|
39375
|
-
"type": {
|
|
39376
|
-
"text": "KeyboardEvent"
|
|
39377
|
-
},
|
|
39378
|
-
"description": "Keyboard event"
|
|
39379
|
-
}
|
|
39380
|
-
],
|
|
39381
|
-
"description": "Handles the keydown event of the search field.\nIf the key pressed is 'Enter', it submits the form.\nIf the key pressed is 'Escape', it clears the input text.",
|
|
39382
|
-
"inheritedFrom": {
|
|
39383
|
-
"name": "Input",
|
|
39384
|
-
"module": "components/input/input.component.js"
|
|
39385
|
-
}
|
|
39386
|
-
},
|
|
39387
|
-
{
|
|
39388
|
-
"kind": "method",
|
|
39389
|
-
"name": "renderInputChips",
|
|
39390
|
-
"privacy": "private",
|
|
39391
|
-
"description": "This method is used to render the input chips inside filters slot.\nIt will remove any elements that are not input chips."
|
|
39392
|
-
},
|
|
39393
|
-
{
|
|
39394
|
-
"kind": "method",
|
|
39395
|
-
"name": "clearInputText",
|
|
39396
|
-
"privacy": "protected",
|
|
39397
|
-
"description": "Clears the input field.",
|
|
39398
|
-
"inheritedFrom": {
|
|
39399
|
-
"name": "Input",
|
|
39400
|
-
"module": "components/input/input.component.js"
|
|
39401
|
-
}
|
|
39491
|
+
"text": "string | undefined"
|
|
39492
|
+
},
|
|
39493
|
+
"description": "The placeholder text which will be shown on the text if provided.",
|
|
39494
|
+
"attribute": "placeholder"
|
|
39402
39495
|
},
|
|
39403
39496
|
{
|
|
39404
39497
|
"kind": "field",
|
|
39405
|
-
"name": "
|
|
39498
|
+
"name": "placement",
|
|
39406
39499
|
"type": {
|
|
39407
|
-
"text": "
|
|
39500
|
+
"text": "Placement"
|
|
39408
39501
|
},
|
|
39409
|
-
"
|
|
39410
|
-
"
|
|
39411
|
-
"attribute": "
|
|
39412
|
-
"reflects": true
|
|
39413
|
-
"inheritedFrom": {
|
|
39414
|
-
"name": "AutoFocusOnMountMixin",
|
|
39415
|
-
"module": "utils/mixins/AutoFocusOnMountMixin.js"
|
|
39416
|
-
}
|
|
39502
|
+
"description": "The placement of the popover within Select component.\nThis defines the position of the popover relative to the select input field.\n\nPossible values:\n - 'top-start'\n - 'bottom-start'",
|
|
39503
|
+
"default": "'bottom-start'",
|
|
39504
|
+
"attribute": "placement",
|
|
39505
|
+
"reflects": true
|
|
39417
39506
|
},
|
|
39418
39507
|
{
|
|
39419
39508
|
"kind": "field",
|
|
39420
|
-
"name": "
|
|
39509
|
+
"name": "boundary",
|
|
39421
39510
|
"type": {
|
|
39422
|
-
"text": "string"
|
|
39511
|
+
"text": "'clippingAncestors' | string"
|
|
39423
39512
|
},
|
|
39424
|
-
"
|
|
39425
|
-
"
|
|
39426
|
-
"attribute": "
|
|
39427
|
-
"reflects": true
|
|
39428
|
-
"inheritedFrom": {
|
|
39429
|
-
"name": "FormInternalsMixin",
|
|
39430
|
-
"module": "utils/mixins/FormInternalsMixin.js"
|
|
39431
|
-
}
|
|
39513
|
+
"description": "This describes the clipping element(s) or area that overflow of the used popover will be checked relative to.\nThe default is 'clippingAncestors', which are the overflow ancestors which will cause the\nelement to be clipped.\n\nPossible values:\n - 'clippingAncestors'\n - any css selector",
|
|
39514
|
+
"default": "'clippingAncestors'",
|
|
39515
|
+
"attribute": "boundary",
|
|
39516
|
+
"reflects": true
|
|
39432
39517
|
},
|
|
39433
39518
|
{
|
|
39434
39519
|
"kind": "field",
|
|
39435
|
-
"name": "
|
|
39520
|
+
"name": "strategy",
|
|
39436
39521
|
"type": {
|
|
39437
|
-
"text": "
|
|
39522
|
+
"text": "PopoverStrategy"
|
|
39438
39523
|
},
|
|
39439
|
-
"
|
|
39440
|
-
"
|
|
39441
|
-
"attribute": "
|
|
39442
|
-
"reflects": true
|
|
39443
|
-
"inheritedFrom": {
|
|
39444
|
-
"name": "FormInternalsMixin",
|
|
39445
|
-
"module": "utils/mixins/FormInternalsMixin.js"
|
|
39446
|
-
}
|
|
39524
|
+
"description": "The strategy of the popover within Select.\nThis determines how the popover is positioned in the DOM.\n\nIn case `boundary` is set to something other than 'clippingAncestors',\nit might be necessary to set the `strategy` to 'fixed' to ensure that the popover\nis not getting clipped by scrollable containers enclosing the select.",
|
|
39525
|
+
"default": "absolute",
|
|
39526
|
+
"attribute": "strategy",
|
|
39527
|
+
"reflects": true
|
|
39447
39528
|
},
|
|
39448
39529
|
{
|
|
39449
39530
|
"kind": "field",
|
|
39450
|
-
"name": "
|
|
39531
|
+
"name": "popoverZIndex",
|
|
39451
39532
|
"type": {
|
|
39452
|
-
"text": "
|
|
39533
|
+
"text": "number"
|
|
39453
39534
|
},
|
|
39454
|
-
"description": "
|
|
39455
|
-
"
|
|
39456
|
-
"
|
|
39457
|
-
"
|
|
39458
|
-
"name": "FormInternalsMixin",
|
|
39459
|
-
"module": "utils/mixins/FormInternalsMixin.js"
|
|
39460
|
-
}
|
|
39535
|
+
"description": "The z-index of the popover within Select.\n\nOverride this to make sure this stays on top of other components.",
|
|
39536
|
+
"default": "1000",
|
|
39537
|
+
"attribute": "popover-z-index",
|
|
39538
|
+
"reflects": true
|
|
39461
39539
|
},
|
|
39462
39540
|
{
|
|
39463
39541
|
"kind": "field",
|
|
39464
|
-
"name": "
|
|
39542
|
+
"name": "backdropAppendTo",
|
|
39465
39543
|
"type": {
|
|
39466
|
-
"text": "
|
|
39544
|
+
"text": "string | undefined"
|
|
39467
39545
|
},
|
|
39468
|
-
"
|
|
39469
|
-
"
|
|
39470
|
-
|
|
39471
|
-
"module": "utils/mixins/FormInternalsMixin.js"
|
|
39472
|
-
}
|
|
39473
|
-
},
|
|
39474
|
-
{
|
|
39475
|
-
"kind": "field",
|
|
39476
|
-
"name": "willValidate",
|
|
39477
|
-
"readonly": true,
|
|
39478
|
-
"inheritedFrom": {
|
|
39479
|
-
"name": "FormInternalsMixin",
|
|
39480
|
-
"module": "utils/mixins/FormInternalsMixin.js"
|
|
39481
|
-
}
|
|
39546
|
+
"description": "ID of the element where the backdrop will be appended to.\nThis is useful to ensure that the backdrop is appended to the correct element in the DOM.\nIf not set, the backdrop will be appended to the parent element of the select.",
|
|
39547
|
+
"attribute": "backdrop-append-to",
|
|
39548
|
+
"reflects": true
|
|
39482
39549
|
},
|
|
39483
39550
|
{
|
|
39484
39551
|
"kind": "method",
|
|
39485
|
-
"name": "
|
|
39486
|
-
"
|
|
39552
|
+
"name": "handleOptionsClick",
|
|
39553
|
+
"privacy": "private",
|
|
39487
39554
|
"return": {
|
|
39488
39555
|
"type": {
|
|
39489
|
-
"text": ""
|
|
39556
|
+
"text": "void"
|
|
39490
39557
|
}
|
|
39491
39558
|
},
|
|
39492
|
-
"
|
|
39493
|
-
|
|
39494
|
-
|
|
39495
|
-
|
|
39559
|
+
"parameters": [
|
|
39560
|
+
{
|
|
39561
|
+
"name": "event",
|
|
39562
|
+
"type": {
|
|
39563
|
+
"text": "MouseEvent"
|
|
39564
|
+
},
|
|
39565
|
+
"description": "The event which triggered this function."
|
|
39566
|
+
}
|
|
39567
|
+
],
|
|
39568
|
+
"description": "A private method which is called when an option is clicked.\nIt sets the selected option, removes selected from other options, updates the tabindex for all options,\ncloses the popover, and fires the change and input events."
|
|
39496
39569
|
},
|
|
39497
39570
|
{
|
|
39498
39571
|
"kind": "method",
|
|
39499
|
-
"name": "
|
|
39572
|
+
"name": "setSelectedOption",
|
|
39573
|
+
"privacy": "private",
|
|
39500
39574
|
"return": {
|
|
39501
39575
|
"type": {
|
|
39502
|
-
"text": "
|
|
39576
|
+
"text": "void"
|
|
39503
39577
|
}
|
|
39504
39578
|
},
|
|
39505
|
-
"
|
|
39506
|
-
|
|
39507
|
-
|
|
39508
|
-
|
|
39579
|
+
"parameters": [
|
|
39580
|
+
{
|
|
39581
|
+
"name": "option",
|
|
39582
|
+
"type": {
|
|
39583
|
+
"text": "Option | null"
|
|
39584
|
+
},
|
|
39585
|
+
"description": "The option element in DOM which gets selected."
|
|
39586
|
+
}
|
|
39587
|
+
],
|
|
39588
|
+
"description": "Sets the selected option in the component state and updates the input element's value.\nThis method ensures that only the selected option is marked as selected in the DOM,\nand updates the tabindex for all options accordingly.\nIt also updates the validity of the input element based on the selected option.\nThis method is called when an option is selected."
|
|
39509
39589
|
},
|
|
39510
39590
|
{
|
|
39511
39591
|
"kind": "method",
|
|
39512
|
-
"name": "
|
|
39513
|
-
"
|
|
39514
|
-
|
|
39515
|
-
"
|
|
39516
|
-
|
|
39517
|
-
|
|
39518
|
-
{
|
|
39519
|
-
"kind": "field",
|
|
39520
|
-
"name": "dataAriaLabel",
|
|
39521
|
-
"type": {
|
|
39522
|
-
"text": "string | null"
|
|
39592
|
+
"name": "updateSelectedInChildOptions",
|
|
39593
|
+
"privacy": "private",
|
|
39594
|
+
"return": {
|
|
39595
|
+
"type": {
|
|
39596
|
+
"text": "void"
|
|
39597
|
+
}
|
|
39523
39598
|
},
|
|
39524
|
-
"
|
|
39525
|
-
|
|
39526
|
-
|
|
39527
|
-
|
|
39528
|
-
|
|
39529
|
-
|
|
39530
|
-
|
|
39531
|
-
|
|
39599
|
+
"parameters": [
|
|
39600
|
+
{
|
|
39601
|
+
"name": "selectedOption",
|
|
39602
|
+
"type": {
|
|
39603
|
+
"text": "Option | null"
|
|
39604
|
+
},
|
|
39605
|
+
"description": "The option which gets selected"
|
|
39606
|
+
}
|
|
39607
|
+
],
|
|
39608
|
+
"description": "Sets selected attribute on the selected option and removes it from all options"
|
|
39532
39609
|
},
|
|
39533
39610
|
{
|
|
39534
|
-
"kind": "
|
|
39535
|
-
"name": "
|
|
39536
|
-
"
|
|
39537
|
-
|
|
39611
|
+
"kind": "method",
|
|
39612
|
+
"name": "fireEvents",
|
|
39613
|
+
"privacy": "private",
|
|
39614
|
+
"return": {
|
|
39615
|
+
"type": {
|
|
39616
|
+
"text": "void"
|
|
39617
|
+
}
|
|
39538
39618
|
},
|
|
39539
|
-
"
|
|
39540
|
-
"description": "The placeholder text that is displayed when the input field is empty.",
|
|
39541
|
-
"attribute": "placeholder",
|
|
39542
|
-
"inheritedFrom": {
|
|
39543
|
-
"name": "Input",
|
|
39544
|
-
"module": "components/input/input.component.js"
|
|
39545
|
-
}
|
|
39619
|
+
"description": "A private method which is called to fire the change and input events.\nIt dispatches the input and change events with the selected option's value and label."
|
|
39546
39620
|
},
|
|
39547
39621
|
{
|
|
39548
|
-
"kind": "
|
|
39549
|
-
"name": "
|
|
39550
|
-
"
|
|
39551
|
-
|
|
39622
|
+
"kind": "method",
|
|
39623
|
+
"name": "dispatchChange",
|
|
39624
|
+
"privacy": "private",
|
|
39625
|
+
"return": {
|
|
39626
|
+
"type": {
|
|
39627
|
+
"text": "void"
|
|
39628
|
+
}
|
|
39552
39629
|
},
|
|
39553
|
-
"
|
|
39554
|
-
|
|
39555
|
-
|
|
39556
|
-
|
|
39557
|
-
|
|
39558
|
-
|
|
39630
|
+
"parameters": [
|
|
39631
|
+
{
|
|
39632
|
+
"name": "option",
|
|
39633
|
+
"type": {
|
|
39634
|
+
"text": "Option"
|
|
39635
|
+
}
|
|
39636
|
+
}
|
|
39637
|
+
]
|
|
39559
39638
|
},
|
|
39560
39639
|
{
|
|
39561
|
-
"kind": "
|
|
39562
|
-
"name": "
|
|
39563
|
-
"
|
|
39564
|
-
|
|
39640
|
+
"kind": "method",
|
|
39641
|
+
"name": "dispatchInput",
|
|
39642
|
+
"privacy": "private",
|
|
39643
|
+
"return": {
|
|
39644
|
+
"type": {
|
|
39645
|
+
"text": "void"
|
|
39646
|
+
}
|
|
39565
39647
|
},
|
|
39566
|
-
"
|
|
39567
|
-
|
|
39568
|
-
|
|
39569
|
-
|
|
39570
|
-
|
|
39571
|
-
|
|
39648
|
+
"parameters": [
|
|
39649
|
+
{
|
|
39650
|
+
"name": "option",
|
|
39651
|
+
"type": {
|
|
39652
|
+
"text": "Option"
|
|
39653
|
+
}
|
|
39654
|
+
}
|
|
39655
|
+
]
|
|
39572
39656
|
},
|
|
39573
39657
|
{
|
|
39574
|
-
"kind": "
|
|
39575
|
-
"name": "
|
|
39576
|
-
"
|
|
39577
|
-
|
|
39658
|
+
"kind": "method",
|
|
39659
|
+
"name": "handleClickCombobox",
|
|
39660
|
+
"privacy": "private",
|
|
39661
|
+
"return": {
|
|
39662
|
+
"type": {
|
|
39663
|
+
"text": "void"
|
|
39664
|
+
}
|
|
39578
39665
|
},
|
|
39579
|
-
"
|
|
39580
|
-
|
|
39581
|
-
|
|
39582
|
-
|
|
39583
|
-
|
|
39584
|
-
|
|
39585
|
-
|
|
39666
|
+
"parameters": [
|
|
39667
|
+
{
|
|
39668
|
+
"name": "event",
|
|
39669
|
+
"type": {
|
|
39670
|
+
"text": "MouseEvent"
|
|
39671
|
+
},
|
|
39672
|
+
"description": "The mouse event which triggered this function."
|
|
39673
|
+
}
|
|
39674
|
+
],
|
|
39675
|
+
"description": "Handles the click event on the visual combobox.\nIf the select is disabled, soft-disabled or readonly, it does nothing.\nIf the popover is already open, it closes it.\nIf it is closed, it opens it."
|
|
39586
39676
|
},
|
|
39587
39677
|
{
|
|
39588
|
-
"kind": "
|
|
39589
|
-
"name": "
|
|
39590
|
-
"
|
|
39591
|
-
|
|
39678
|
+
"kind": "method",
|
|
39679
|
+
"name": "handleKeydownCombobox",
|
|
39680
|
+
"privacy": "private",
|
|
39681
|
+
"return": {
|
|
39682
|
+
"type": {
|
|
39683
|
+
"text": "void"
|
|
39684
|
+
}
|
|
39592
39685
|
},
|
|
39593
|
-
"
|
|
39594
|
-
|
|
39595
|
-
|
|
39596
|
-
|
|
39597
|
-
|
|
39598
|
-
|
|
39686
|
+
"parameters": [
|
|
39687
|
+
{
|
|
39688
|
+
"name": "event",
|
|
39689
|
+
"type": {
|
|
39690
|
+
"text": "KeyboardEvent"
|
|
39691
|
+
},
|
|
39692
|
+
"description": "The keyboard event."
|
|
39693
|
+
}
|
|
39694
|
+
],
|
|
39695
|
+
"description": "Handles the keydown event on the select element when the popover is closed.\nThe options are as follows:\n- ARROW_DOWN, ARROW_UP, SPACE: Opens the popover and prevents the default scrolling behavior.\n- ENTER: Opens the popover, prevents default scrolling, and submits the form if the popover is closed.\n- HOME: Opens the popover and sets focus and tabindex on the first option.\n- END: Opens the popover and sets focus and tabindex on the last option."
|
|
39599
39696
|
},
|
|
39600
39697
|
{
|
|
39601
|
-
"kind": "
|
|
39602
|
-
"name": "
|
|
39603
|
-
"
|
|
39604
|
-
|
|
39698
|
+
"kind": "method",
|
|
39699
|
+
"name": "getCurrentIndex",
|
|
39700
|
+
"privacy": "private",
|
|
39701
|
+
"return": {
|
|
39702
|
+
"type": {
|
|
39703
|
+
"text": ""
|
|
39704
|
+
}
|
|
39605
39705
|
},
|
|
39606
|
-
"
|
|
39607
|
-
|
|
39706
|
+
"parameters": [
|
|
39707
|
+
{
|
|
39708
|
+
"name": "target",
|
|
39709
|
+
"type": {
|
|
39710
|
+
"text": "HTMLElement | null"
|
|
39711
|
+
},
|
|
39712
|
+
"description": "The target element that triggered the event."
|
|
39713
|
+
}
|
|
39714
|
+
],
|
|
39715
|
+
"description": "Retrieves the current index of the item that triggered the event.",
|
|
39608
39716
|
"inheritedFrom": {
|
|
39609
|
-
"name": "
|
|
39610
|
-
"module": "
|
|
39717
|
+
"name": "ListNavigationMixin",
|
|
39718
|
+
"module": "utils/mixins/ListNavigationMixin.js"
|
|
39611
39719
|
}
|
|
39612
39720
|
},
|
|
39613
39721
|
{
|
|
39614
|
-
"kind": "
|
|
39615
|
-
"name": "
|
|
39616
|
-
"
|
|
39617
|
-
|
|
39618
|
-
|
|
39619
|
-
|
|
39620
|
-
|
|
39621
|
-
|
|
39722
|
+
"kind": "method",
|
|
39723
|
+
"name": "resetTabIndexes",
|
|
39724
|
+
"privacy": "protected",
|
|
39725
|
+
"parameters": [
|
|
39726
|
+
{
|
|
39727
|
+
"name": "index",
|
|
39728
|
+
"type": {
|
|
39729
|
+
"text": "number"
|
|
39730
|
+
},
|
|
39731
|
+
"description": "The index of the currently focused item."
|
|
39732
|
+
}
|
|
39733
|
+
],
|
|
39734
|
+
"description": "Reset all tabindex to -1 and set the tabindex of the current item to 0",
|
|
39622
39735
|
"inheritedFrom": {
|
|
39623
|
-
"name": "
|
|
39624
|
-
"module": "
|
|
39736
|
+
"name": "ListNavigationMixin",
|
|
39737
|
+
"module": "utils/mixins/ListNavigationMixin.js"
|
|
39625
39738
|
}
|
|
39626
39739
|
},
|
|
39627
39740
|
{
|
|
39628
|
-
"kind": "
|
|
39629
|
-
"name": "
|
|
39630
|
-
"
|
|
39631
|
-
|
|
39741
|
+
"kind": "method",
|
|
39742
|
+
"name": "resetTabIndexAndSetFocus",
|
|
39743
|
+
"privacy": "protected",
|
|
39744
|
+
"parameters": [
|
|
39745
|
+
{
|
|
39746
|
+
"name": "newIndex",
|
|
39747
|
+
"type": {
|
|
39748
|
+
"text": "number"
|
|
39749
|
+
},
|
|
39750
|
+
"description": "The index of the new item to focus."
|
|
39751
|
+
},
|
|
39752
|
+
{
|
|
39753
|
+
"name": "oldIndex",
|
|
39754
|
+
"optional": true,
|
|
39755
|
+
"type": {
|
|
39756
|
+
"text": "number"
|
|
39757
|
+
},
|
|
39758
|
+
"description": "The index of the currently focused item."
|
|
39759
|
+
},
|
|
39760
|
+
{
|
|
39761
|
+
"name": "focusNewItem",
|
|
39762
|
+
"default": "true",
|
|
39763
|
+
"description": "Call focus() on the new item or not. It should be false during firstUpdate"
|
|
39764
|
+
}
|
|
39765
|
+
],
|
|
39766
|
+
"description": "Resets the tabindex of the currently focused item and sets focus to a new item.",
|
|
39767
|
+
"return": {
|
|
39768
|
+
"type": {
|
|
39769
|
+
"text": ""
|
|
39770
|
+
}
|
|
39632
39771
|
},
|
|
39633
|
-
"description": "The autocomplete attribute of the input field.",
|
|
39634
|
-
"default": "'off'",
|
|
39635
|
-
"attribute": "autocomplete",
|
|
39636
39772
|
"inheritedFrom": {
|
|
39637
|
-
"name": "
|
|
39638
|
-
"module": "
|
|
39773
|
+
"name": "ListNavigationMixin",
|
|
39774
|
+
"module": "utils/mixins/ListNavigationMixin.js"
|
|
39639
39775
|
}
|
|
39640
39776
|
},
|
|
39641
39777
|
{
|
|
39642
|
-
"kind": "
|
|
39643
|
-
"name": "
|
|
39644
|
-
"
|
|
39645
|
-
|
|
39778
|
+
"kind": "method",
|
|
39779
|
+
"name": "resolveDirectionKey",
|
|
39780
|
+
"privacy": "private",
|
|
39781
|
+
"parameters": [
|
|
39782
|
+
{
|
|
39783
|
+
"name": "key",
|
|
39784
|
+
"type": {
|
|
39785
|
+
"text": "string"
|
|
39786
|
+
},
|
|
39787
|
+
"description": "The key pressed by the user."
|
|
39788
|
+
},
|
|
39789
|
+
{
|
|
39790
|
+
"name": "isRtl",
|
|
39791
|
+
"type": {
|
|
39792
|
+
"text": "boolean"
|
|
39793
|
+
},
|
|
39794
|
+
"description": "A boolean indicating if the layout is right-to-left (RTL)."
|
|
39795
|
+
}
|
|
39796
|
+
],
|
|
39797
|
+
"description": "Resolves the key pressed by the user based on the direction of the layout.\nThis method is used to handle keyboard navigation in a right-to-left (RTL) layout.\nIt checks if the layout is RTL and adjusts the arrow keys accordingly.\nFor example, in RTL, the left arrow key behaves like the right arrow key and vice versa.",
|
|
39798
|
+
"return": {
|
|
39799
|
+
"type": {
|
|
39800
|
+
"text": ""
|
|
39801
|
+
}
|
|
39646
39802
|
},
|
|
39647
|
-
"description": "Specifies the name of the directionality of text for submission purposes (e.g., \"rtl\" for right-to-left).",
|
|
39648
|
-
"attribute": "dirname",
|
|
39649
39803
|
"inheritedFrom": {
|
|
39650
|
-
"name": "
|
|
39651
|
-
"module": "
|
|
39804
|
+
"name": "ListNavigationMixin",
|
|
39805
|
+
"module": "utils/mixins/ListNavigationMixin.js"
|
|
39652
39806
|
}
|
|
39653
39807
|
},
|
|
39654
39808
|
{
|
|
39655
|
-
"kind": "
|
|
39656
|
-
"name": "
|
|
39657
|
-
"
|
|
39658
|
-
"text": "string | undefined"
|
|
39659
|
-
},
|
|
39660
|
-
"description": "The pattern attribute of the input field.\nSpecifies a regular expression that the input value must match for validation purposes.",
|
|
39661
|
-
"attribute": "pattern",
|
|
39809
|
+
"kind": "method",
|
|
39810
|
+
"name": "shouldLoop",
|
|
39811
|
+
"privacy": "private",
|
|
39662
39812
|
"inheritedFrom": {
|
|
39663
|
-
"name": "
|
|
39664
|
-
"module": "
|
|
39813
|
+
"name": "ListNavigationMixin",
|
|
39814
|
+
"module": "utils/mixins/ListNavigationMixin.js"
|
|
39665
39815
|
}
|
|
39666
39816
|
},
|
|
39667
39817
|
{
|
|
39668
39818
|
"kind": "field",
|
|
39669
|
-
"name": "
|
|
39819
|
+
"name": "autoFocusOnMount",
|
|
39670
39820
|
"type": {
|
|
39671
|
-
"text": "
|
|
39821
|
+
"text": "boolean"
|
|
39672
39822
|
},
|
|
39673
|
-
"
|
|
39674
|
-
"
|
|
39823
|
+
"default": "false",
|
|
39824
|
+
"description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
|
|
39825
|
+
"attribute": "auto-focus-on-mount",
|
|
39826
|
+
"reflects": true,
|
|
39675
39827
|
"inheritedFrom": {
|
|
39676
|
-
"name": "
|
|
39677
|
-
"module": "
|
|
39828
|
+
"name": "AutoFocusOnMountMixin",
|
|
39829
|
+
"module": "utils/mixins/AutoFocusOnMountMixin.js"
|
|
39678
39830
|
}
|
|
39679
39831
|
},
|
|
39680
39832
|
{
|
|
39681
39833
|
"kind": "field",
|
|
39682
|
-
"name": "
|
|
39834
|
+
"name": "name",
|
|
39683
39835
|
"type": {
|
|
39684
|
-
"text": "
|
|
39836
|
+
"text": "string"
|
|
39685
39837
|
},
|
|
39686
|
-
"
|
|
39687
|
-
"
|
|
39688
|
-
"attribute": "
|
|
39838
|
+
"default": "''",
|
|
39839
|
+
"description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
|
|
39840
|
+
"attribute": "name",
|
|
39841
|
+
"reflects": true,
|
|
39689
39842
|
"inheritedFrom": {
|
|
39690
|
-
"name": "
|
|
39691
|
-
"module": "
|
|
39843
|
+
"name": "FormInternalsMixin",
|
|
39844
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
|
39692
39845
|
}
|
|
39693
39846
|
},
|
|
39694
39847
|
{
|
|
39695
39848
|
"kind": "field",
|
|
39696
|
-
"name": "
|
|
39849
|
+
"name": "value",
|
|
39697
39850
|
"type": {
|
|
39698
39851
|
"text": "string"
|
|
39699
39852
|
},
|
|
39700
39853
|
"default": "''",
|
|
39701
|
-
"description": "
|
|
39702
|
-
"attribute": "
|
|
39703
|
-
"
|
|
39704
|
-
"name": "Input",
|
|
39705
|
-
"module": "components/input/input.component.js"
|
|
39706
|
-
}
|
|
39707
|
-
},
|
|
39708
|
-
{
|
|
39709
|
-
"kind": "method",
|
|
39710
|
-
"name": "setInputValidity",
|
|
39711
|
-
"privacy": "private",
|
|
39854
|
+
"description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
|
|
39855
|
+
"attribute": "value",
|
|
39856
|
+
"reflects": true,
|
|
39712
39857
|
"inheritedFrom": {
|
|
39713
|
-
"name": "
|
|
39714
|
-
"module": "
|
|
39858
|
+
"name": "FormInternalsMixin",
|
|
39859
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
|
39715
39860
|
}
|
|
39716
39861
|
},
|
|
39717
39862
|
{
|
|
39718
|
-
"kind": "
|
|
39719
|
-
"name": "
|
|
39720
|
-
"
|
|
39721
|
-
|
|
39722
|
-
"return": {
|
|
39723
|
-
"type": {
|
|
39724
|
-
"text": ""
|
|
39725
|
-
}
|
|
39863
|
+
"kind": "field",
|
|
39864
|
+
"name": "validationMessage",
|
|
39865
|
+
"type": {
|
|
39866
|
+
"text": "string | undefined"
|
|
39726
39867
|
},
|
|
39868
|
+
"description": "Custom validation message that will override the default message and displayed when the input is invalid.\n\nTo display custom validation messages, you must listen for input events (or other relevant events)\non your component and update the `validationMessage` property with the desired message string.\nUpdating this property will ensure that new validation messages are shown to the user.\n- The `validationMessage` property overrides the default browser validation message when set.\n- Consumers are responsible for updating `validationMessage` in response to input or validation state changes.",
|
|
39869
|
+
"attribute": "validation-message",
|
|
39870
|
+
"reflects": true,
|
|
39727
39871
|
"inheritedFrom": {
|
|
39728
|
-
"name": "
|
|
39729
|
-
"module": "
|
|
39872
|
+
"name": "FormInternalsMixin",
|
|
39873
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
|
39730
39874
|
}
|
|
39731
39875
|
},
|
|
39732
39876
|
{
|
|
39733
|
-
"kind": "
|
|
39734
|
-
"name": "
|
|
39735
|
-
"
|
|
39736
|
-
|
|
39877
|
+
"kind": "field",
|
|
39878
|
+
"name": "validity",
|
|
39879
|
+
"type": {
|
|
39880
|
+
"text": "ValidityState"
|
|
39881
|
+
},
|
|
39882
|
+
"readonly": true,
|
|
39737
39883
|
"inheritedFrom": {
|
|
39738
|
-
"name": "
|
|
39739
|
-
"module": "
|
|
39884
|
+
"name": "FormInternalsMixin",
|
|
39885
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
|
39740
39886
|
}
|
|
39741
39887
|
},
|
|
39742
39888
|
{
|
|
39743
|
-
"kind": "
|
|
39744
|
-
"name": "
|
|
39745
|
-
"
|
|
39746
|
-
"parameters": [
|
|
39747
|
-
{
|
|
39748
|
-
"name": "event",
|
|
39749
|
-
"type": {
|
|
39750
|
-
"text": "Event"
|
|
39751
|
-
},
|
|
39752
|
-
"description": "Event which contains information about the value change."
|
|
39753
|
-
}
|
|
39754
|
-
],
|
|
39755
|
-
"description": "Handles the change event of the input field.\nUpdates the value and sets the validity of the input field.\n\nThe 'change' event does not bubble up through the shadow DOM as it was not composed.\nTherefore, we need to re-dispatch the same event to ensure it is propagated correctly.\nRead more: https://developer.mozilla.org/en-US/docs/Web/API/Event/composed",
|
|
39889
|
+
"kind": "field",
|
|
39890
|
+
"name": "willValidate",
|
|
39891
|
+
"readonly": true,
|
|
39756
39892
|
"inheritedFrom": {
|
|
39757
|
-
"name": "
|
|
39758
|
-
"module": "
|
|
39893
|
+
"name": "FormInternalsMixin",
|
|
39894
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
|
39759
39895
|
}
|
|
39760
39896
|
},
|
|
39761
39897
|
{
|
|
39762
39898
|
"kind": "method",
|
|
39763
|
-
"name": "
|
|
39764
|
-
"
|
|
39765
|
-
"description": "Renders the leading icon before the input field.\nIf the leading icon is not set, it will not be displayed.",
|
|
39899
|
+
"name": "setValidity",
|
|
39900
|
+
"description": "Sets the validity of the input field based on the input field's validity.",
|
|
39766
39901
|
"return": {
|
|
39767
39902
|
"type": {
|
|
39768
39903
|
"text": ""
|
|
39769
39904
|
}
|
|
39770
39905
|
},
|
|
39771
39906
|
"inheritedFrom": {
|
|
39772
|
-
"name": "
|
|
39773
|
-
"module": "
|
|
39907
|
+
"name": "FormInternalsMixin",
|
|
39908
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
|
39774
39909
|
}
|
|
39775
39910
|
},
|
|
39776
39911
|
{
|
|
39777
39912
|
"kind": "method",
|
|
39778
|
-
"name": "
|
|
39779
|
-
"privacy": "protected",
|
|
39780
|
-
"description": "Renders the prefix text before the input field.\nIf the prefix text is more than 10 characters,\n- it will not be displayed.\n- the validation messsage will be displayed.\n\n Note: We are setting aria-hidden so that the screen reader does not read the prefix text.\n The consumers should set the appropriate aria-label for the input field using 'data-aria-label' attribute.",
|
|
39913
|
+
"name": "checkValidity",
|
|
39781
39914
|
"return": {
|
|
39782
39915
|
"type": {
|
|
39783
|
-
"text": ""
|
|
39916
|
+
"text": "boolean"
|
|
39784
39917
|
}
|
|
39785
39918
|
},
|
|
39786
39919
|
"inheritedFrom": {
|
|
39787
|
-
"name": "
|
|
39788
|
-
"module": "
|
|
39920
|
+
"name": "FormInternalsMixin",
|
|
39921
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
|
39789
39922
|
}
|
|
39790
39923
|
},
|
|
39791
39924
|
{
|
|
39792
39925
|
"kind": "method",
|
|
39793
|
-
"name": "
|
|
39794
|
-
"privacy": "protected",
|
|
39795
|
-
"parameters": [
|
|
39796
|
-
{
|
|
39797
|
-
"name": "show",
|
|
39798
|
-
"default": "false"
|
|
39799
|
-
}
|
|
39800
|
-
],
|
|
39801
|
-
"description": "Renders the trailing button to clear the input field if the trailingButton is set to true.",
|
|
39802
|
-
"return": {
|
|
39803
|
-
"type": {
|
|
39804
|
-
"text": ""
|
|
39805
|
-
}
|
|
39806
|
-
},
|
|
39926
|
+
"name": "reportValidity",
|
|
39807
39927
|
"inheritedFrom": {
|
|
39808
|
-
"name": "
|
|
39809
|
-
"module": "
|
|
39928
|
+
"name": "FormInternalsMixin",
|
|
39929
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
|
39810
39930
|
}
|
|
39811
39931
|
},
|
|
39812
39932
|
{
|
|
39813
|
-
"kind": "
|
|
39814
|
-
"name": "
|
|
39815
|
-
"
|
|
39816
|
-
|
|
39817
|
-
|
|
39818
|
-
|
|
39819
|
-
|
|
39820
|
-
|
|
39821
|
-
|
|
39822
|
-
},
|
|
39823
|
-
{
|
|
39824
|
-
"name": "hidePlaceholder",
|
|
39825
|
-
"default": "false"
|
|
39826
|
-
}
|
|
39827
|
-
],
|
|
39933
|
+
"kind": "field",
|
|
39934
|
+
"name": "dataAriaLabel",
|
|
39935
|
+
"type": {
|
|
39936
|
+
"text": "string | null"
|
|
39937
|
+
},
|
|
39938
|
+
"default": "null",
|
|
39939
|
+
"description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
|
|
39940
|
+
"attribute": "data-aria-label",
|
|
39941
|
+
"reflects": true,
|
|
39828
39942
|
"inheritedFrom": {
|
|
39829
|
-
"name": "
|
|
39830
|
-
"module": "
|
|
39943
|
+
"name": "DataAriaLabelMixin",
|
|
39944
|
+
"module": "utils/mixins/DataAriaLabelMixin.js"
|
|
39831
39945
|
}
|
|
39832
39946
|
},
|
|
39833
39947
|
{
|
|
@@ -40066,71 +40180,90 @@
|
|
|
40066
40180
|
],
|
|
40067
40181
|
"events": [
|
|
40068
40182
|
{
|
|
40069
|
-
"
|
|
40183
|
+
"name": "change",
|
|
40184
|
+
"type": {
|
|
40185
|
+
"text": "CustomEvent"
|
|
40186
|
+
},
|
|
40187
|
+
"description": "(React: onChange) This event is dispatched when the select is changed.",
|
|
40188
|
+
"reactName": "onChange"
|
|
40189
|
+
},
|
|
40190
|
+
{
|
|
40070
40191
|
"name": "input",
|
|
40071
|
-
"
|
|
40072
|
-
|
|
40073
|
-
|
|
40074
|
-
|
|
40075
|
-
|
|
40192
|
+
"type": {
|
|
40193
|
+
"text": "CustomEvent"
|
|
40194
|
+
},
|
|
40195
|
+
"description": "(React: onInput) This event is dispatched when the select is changed.",
|
|
40196
|
+
"reactName": "onInput"
|
|
40076
40197
|
},
|
|
40077
40198
|
{
|
|
40078
|
-
"description": "(React:
|
|
40079
|
-
"name": "
|
|
40080
|
-
"reactName": "
|
|
40081
|
-
"inheritedFrom": {
|
|
40082
|
-
"name": "Input",
|
|
40083
|
-
"module": "src/components/input/input.component.ts"
|
|
40084
|
-
}
|
|
40199
|
+
"description": "(React: onClick) This event is dispatched when the select is clicked.",
|
|
40200
|
+
"name": "click",
|
|
40201
|
+
"reactName": "onClick"
|
|
40085
40202
|
},
|
|
40086
40203
|
{
|
|
40087
|
-
"description": "(React:
|
|
40204
|
+
"description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the select.",
|
|
40205
|
+
"name": "keydown",
|
|
40206
|
+
"reactName": "onKeyDown"
|
|
40207
|
+
},
|
|
40208
|
+
{
|
|
40209
|
+
"description": "(React: onFocus) This event is dispatched when the select receives focus.",
|
|
40088
40210
|
"name": "focus",
|
|
40089
|
-
"reactName": "onFocus"
|
|
40090
|
-
|
|
40091
|
-
|
|
40092
|
-
|
|
40093
|
-
|
|
40211
|
+
"reactName": "onFocus"
|
|
40212
|
+
}
|
|
40213
|
+
],
|
|
40214
|
+
"attributes": [
|
|
40215
|
+
{
|
|
40216
|
+
"name": "placeholder",
|
|
40217
|
+
"type": {
|
|
40218
|
+
"text": "string | undefined"
|
|
40219
|
+
},
|
|
40220
|
+
"description": "The placeholder text which will be shown on the text if provided.",
|
|
40221
|
+
"fieldName": "placeholder"
|
|
40094
40222
|
},
|
|
40095
40223
|
{
|
|
40096
|
-
"
|
|
40097
|
-
"
|
|
40098
|
-
|
|
40099
|
-
|
|
40100
|
-
|
|
40101
|
-
|
|
40102
|
-
|
|
40224
|
+
"name": "placement",
|
|
40225
|
+
"type": {
|
|
40226
|
+
"text": "Placement"
|
|
40227
|
+
},
|
|
40228
|
+
"description": "The placement of the popover within Select component.\nThis defines the position of the popover relative to the select input field.\n\nPossible values:\n - 'top-start'\n - 'bottom-start'",
|
|
40229
|
+
"default": "'bottom-start'",
|
|
40230
|
+
"fieldName": "placement"
|
|
40103
40231
|
},
|
|
40104
40232
|
{
|
|
40105
|
-
"name": "
|
|
40233
|
+
"name": "boundary",
|
|
40106
40234
|
"type": {
|
|
40107
|
-
"text": "
|
|
40235
|
+
"text": "'clippingAncestors' | string"
|
|
40108
40236
|
},
|
|
40109
|
-
"description": "(
|
|
40110
|
-
"
|
|
40111
|
-
"
|
|
40112
|
-
"name": "Input",
|
|
40113
|
-
"module": "src/components/input/input.component.ts"
|
|
40114
|
-
}
|
|
40237
|
+
"description": "This describes the clipping element(s) or area that overflow of the used popover will be checked relative to.\nThe default is 'clippingAncestors', which are the overflow ancestors which will cause the\nelement to be clipped.\n\nPossible values:\n - 'clippingAncestors'\n - any css selector",
|
|
40238
|
+
"default": "'clippingAncestors'",
|
|
40239
|
+
"fieldName": "boundary"
|
|
40115
40240
|
},
|
|
40116
40241
|
{
|
|
40242
|
+
"name": "strategy",
|
|
40117
40243
|
"type": {
|
|
40118
|
-
"text": "
|
|
40244
|
+
"text": "PopoverStrategy"
|
|
40119
40245
|
},
|
|
40120
|
-
"
|
|
40121
|
-
|
|
40122
|
-
|
|
40123
|
-
|
|
40124
|
-
|
|
40125
|
-
|
|
40126
|
-
|
|
40127
|
-
|
|
40128
|
-
|
|
40129
|
-
|
|
40130
|
-
|
|
40131
|
-
|
|
40132
|
-
|
|
40133
|
-
|
|
40246
|
+
"description": "The strategy of the popover within Select.\nThis determines how the popover is positioned in the DOM.\n\nIn case `boundary` is set to something other than 'clippingAncestors',\nit might be necessary to set the `strategy` to 'fixed' to ensure that the popover\nis not getting clipped by scrollable containers enclosing the select.",
|
|
40247
|
+
"default": "absolute",
|
|
40248
|
+
"fieldName": "strategy"
|
|
40249
|
+
},
|
|
40250
|
+
{
|
|
40251
|
+
"name": "popover-z-index",
|
|
40252
|
+
"type": {
|
|
40253
|
+
"text": "number"
|
|
40254
|
+
},
|
|
40255
|
+
"description": "The z-index of the popover within Select.\n\nOverride this to make sure this stays on top of other components.",
|
|
40256
|
+
"default": "1000",
|
|
40257
|
+
"fieldName": "popoverZIndex"
|
|
40258
|
+
},
|
|
40259
|
+
{
|
|
40260
|
+
"name": "backdrop-append-to",
|
|
40261
|
+
"type": {
|
|
40262
|
+
"text": "string | undefined"
|
|
40263
|
+
},
|
|
40264
|
+
"description": "ID of the element where the backdrop will be appended to.\nThis is useful to ensure that the backdrop is appended to the correct element in the DOM.\nIf not set, the backdrop will be appended to the parent element of the select.",
|
|
40265
|
+
"fieldName": "backdropAppendTo"
|
|
40266
|
+
},
|
|
40134
40267
|
{
|
|
40135
40268
|
"name": "auto-focus-on-mount",
|
|
40136
40269
|
"type": {
|
|
@@ -40195,168 +40328,6 @@
|
|
|
40195
40328
|
"module": "src/utils/mixins/DataAriaLabelMixin.ts"
|
|
40196
40329
|
}
|
|
40197
40330
|
},
|
|
40198
|
-
{
|
|
40199
|
-
"name": "placeholder",
|
|
40200
|
-
"type": {
|
|
40201
|
-
"text": "string"
|
|
40202
|
-
},
|
|
40203
|
-
"default": "''",
|
|
40204
|
-
"description": "The placeholder text that is displayed when the input field is empty.",
|
|
40205
|
-
"fieldName": "placeholder",
|
|
40206
|
-
"inheritedFrom": {
|
|
40207
|
-
"name": "Input",
|
|
40208
|
-
"module": "src/components/input/input.component.ts"
|
|
40209
|
-
}
|
|
40210
|
-
},
|
|
40211
|
-
{
|
|
40212
|
-
"name": "prefix-text",
|
|
40213
|
-
"type": {
|
|
40214
|
-
"text": "string | undefined"
|
|
40215
|
-
},
|
|
40216
|
-
"description": "The prefix text that is displayed before the input field. It has a max length of 10 characters.\nWhen the prefix text is set, make sure to set the 'data-aria-label'\nattribute with the appropriate value for accessibility.",
|
|
40217
|
-
"fieldName": "prefixText",
|
|
40218
|
-
"inheritedFrom": {
|
|
40219
|
-
"name": "Input",
|
|
40220
|
-
"module": "src/components/input/input.component.ts"
|
|
40221
|
-
}
|
|
40222
|
-
},
|
|
40223
|
-
{
|
|
40224
|
-
"name": "leading-icon",
|
|
40225
|
-
"type": {
|
|
40226
|
-
"text": "IconNames | undefined"
|
|
40227
|
-
},
|
|
40228
|
-
"description": "The leading icon that is displayed before the input field.",
|
|
40229
|
-
"fieldName": "leadingIcon",
|
|
40230
|
-
"inheritedFrom": {
|
|
40231
|
-
"name": "Input",
|
|
40232
|
-
"module": "src/components/input/input.component.ts"
|
|
40233
|
-
}
|
|
40234
|
-
},
|
|
40235
|
-
{
|
|
40236
|
-
"name": "trailing-button",
|
|
40237
|
-
"type": {
|
|
40238
|
-
"text": "boolean"
|
|
40239
|
-
},
|
|
40240
|
-
"default": "false",
|
|
40241
|
-
"description": "The trailing button when set to true, shows a clear button that clears the input field.",
|
|
40242
|
-
"fieldName": "trailingButton",
|
|
40243
|
-
"inheritedFrom": {
|
|
40244
|
-
"name": "Input",
|
|
40245
|
-
"module": "src/components/input/input.component.ts"
|
|
40246
|
-
}
|
|
40247
|
-
},
|
|
40248
|
-
{
|
|
40249
|
-
"name": "maxlength",
|
|
40250
|
-
"type": {
|
|
40251
|
-
"text": "number | undefined"
|
|
40252
|
-
},
|
|
40253
|
-
"description": "The maximum number of characters that the input field can accept.",
|
|
40254
|
-
"fieldName": "maxlength",
|
|
40255
|
-
"inheritedFrom": {
|
|
40256
|
-
"name": "Input",
|
|
40257
|
-
"module": "src/components/input/input.component.ts"
|
|
40258
|
-
}
|
|
40259
|
-
},
|
|
40260
|
-
{
|
|
40261
|
-
"name": "minlength",
|
|
40262
|
-
"type": {
|
|
40263
|
-
"text": "number | undefined"
|
|
40264
|
-
},
|
|
40265
|
-
"description": "The minimum number of characters that the input field can accept.",
|
|
40266
|
-
"fieldName": "minlength",
|
|
40267
|
-
"inheritedFrom": {
|
|
40268
|
-
"name": "Input",
|
|
40269
|
-
"module": "src/components/input/input.component.ts"
|
|
40270
|
-
}
|
|
40271
|
-
},
|
|
40272
|
-
{
|
|
40273
|
-
"name": "autocapitalize",
|
|
40274
|
-
"type": {
|
|
40275
|
-
"text": "AutoCapitalizeType"
|
|
40276
|
-
},
|
|
40277
|
-
"description": "The autocapitalize attribute of the input field.",
|
|
40278
|
-
"default": "'off'",
|
|
40279
|
-
"fieldName": "autocapitalize",
|
|
40280
|
-
"inheritedFrom": {
|
|
40281
|
-
"name": "Input",
|
|
40282
|
-
"module": "src/components/input/input.component.ts"
|
|
40283
|
-
}
|
|
40284
|
-
},
|
|
40285
|
-
{
|
|
40286
|
-
"name": "autocomplete",
|
|
40287
|
-
"type": {
|
|
40288
|
-
"text": "AutoCompleteType"
|
|
40289
|
-
},
|
|
40290
|
-
"description": "The autocomplete attribute of the input field.",
|
|
40291
|
-
"default": "'off'",
|
|
40292
|
-
"fieldName": "autocomplete",
|
|
40293
|
-
"inheritedFrom": {
|
|
40294
|
-
"name": "Input",
|
|
40295
|
-
"module": "src/components/input/input.component.ts"
|
|
40296
|
-
}
|
|
40297
|
-
},
|
|
40298
|
-
{
|
|
40299
|
-
"name": "dirname",
|
|
40300
|
-
"type": {
|
|
40301
|
-
"text": "string | undefined"
|
|
40302
|
-
},
|
|
40303
|
-
"description": "Specifies the name of the directionality of text for submission purposes (e.g., \"rtl\" for right-to-left).",
|
|
40304
|
-
"fieldName": "dirname",
|
|
40305
|
-
"inheritedFrom": {
|
|
40306
|
-
"name": "Input",
|
|
40307
|
-
"module": "src/components/input/input.component.ts"
|
|
40308
|
-
}
|
|
40309
|
-
},
|
|
40310
|
-
{
|
|
40311
|
-
"name": "pattern",
|
|
40312
|
-
"type": {
|
|
40313
|
-
"text": "string | undefined"
|
|
40314
|
-
},
|
|
40315
|
-
"description": "The pattern attribute of the input field.\nSpecifies a regular expression that the input value must match for validation purposes.",
|
|
40316
|
-
"fieldName": "pattern",
|
|
40317
|
-
"inheritedFrom": {
|
|
40318
|
-
"name": "Input",
|
|
40319
|
-
"module": "src/components/input/input.component.ts"
|
|
40320
|
-
}
|
|
40321
|
-
},
|
|
40322
|
-
{
|
|
40323
|
-
"name": "list",
|
|
40324
|
-
"type": {
|
|
40325
|
-
"text": "string | undefined"
|
|
40326
|
-
},
|
|
40327
|
-
"description": "The list attribute of the input field.\nIdentifies a list of pre-defined options to suggest to the user.",
|
|
40328
|
-
"fieldName": "list",
|
|
40329
|
-
"inheritedFrom": {
|
|
40330
|
-
"name": "Input",
|
|
40331
|
-
"module": "src/components/input/input.component.ts"
|
|
40332
|
-
}
|
|
40333
|
-
},
|
|
40334
|
-
{
|
|
40335
|
-
"name": "size",
|
|
40336
|
-
"type": {
|
|
40337
|
-
"text": "number | undefined | undefined"
|
|
40338
|
-
},
|
|
40339
|
-
"description": "The size attribute of the input field.\nSpecifies the width of the input field.",
|
|
40340
|
-
"default": "undefined",
|
|
40341
|
-
"fieldName": "size",
|
|
40342
|
-
"inheritedFrom": {
|
|
40343
|
-
"name": "Input",
|
|
40344
|
-
"module": "src/components/input/input.component.ts"
|
|
40345
|
-
}
|
|
40346
|
-
},
|
|
40347
|
-
{
|
|
40348
|
-
"name": "clear-aria-label",
|
|
40349
|
-
"type": {
|
|
40350
|
-
"text": "string"
|
|
40351
|
-
},
|
|
40352
|
-
"default": "''",
|
|
40353
|
-
"description": "Aria label for the trailing button. If trailing button is set to true, this label is used for the clear button.",
|
|
40354
|
-
"fieldName": "clearAriaLabel",
|
|
40355
|
-
"inheritedFrom": {
|
|
40356
|
-
"name": "Input",
|
|
40357
|
-
"module": "src/components/input/input.component.ts"
|
|
40358
|
-
}
|
|
40359
|
-
},
|
|
40360
40331
|
{
|
|
40361
40332
|
"name": "disabled",
|
|
40362
40333
|
"type": {
|
|
@@ -40493,7 +40464,36 @@
|
|
|
40493
40464
|
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
|
40494
40465
|
}
|
|
40495
40466
|
}
|
|
40496
|
-
]
|
|
40467
|
+
],
|
|
40468
|
+
"mixins": [
|
|
40469
|
+
{
|
|
40470
|
+
"name": "ListNavigationMixin",
|
|
40471
|
+
"module": "/src/utils/mixins/ListNavigationMixin"
|
|
40472
|
+
},
|
|
40473
|
+
{
|
|
40474
|
+
"name": "CaptureDestroyEventForChildElement",
|
|
40475
|
+
"module": "/src/utils/mixins/lifecycle/CaptureDestroyEventForChildElement"
|
|
40476
|
+
},
|
|
40477
|
+
{
|
|
40478
|
+
"name": "AutoFocusOnMountMixin",
|
|
40479
|
+
"module": "/src/utils/mixins/AutoFocusOnMountMixin"
|
|
40480
|
+
},
|
|
40481
|
+
{
|
|
40482
|
+
"name": "FormInternalsMixin",
|
|
40483
|
+
"module": "/src/utils/mixins/FormInternalsMixin"
|
|
40484
|
+
},
|
|
40485
|
+
{
|
|
40486
|
+
"name": "DataAriaLabelMixin",
|
|
40487
|
+
"module": "/src/utils/mixins/DataAriaLabelMixin"
|
|
40488
|
+
}
|
|
40489
|
+
],
|
|
40490
|
+
"superclass": {
|
|
40491
|
+
"name": "FormfieldWrapper",
|
|
40492
|
+
"module": "/src/components/formfieldwrapper/formfieldwrapper.component"
|
|
40493
|
+
},
|
|
40494
|
+
"tagName": "mdc-select",
|
|
40495
|
+
"jsDoc": "/**\n * The mdc-select component is a dropdown selection control that allows users to pick an option from a predefined list.\n * It is designed to work with `mdc-option` for individual options and `mdc-optgroup` for grouping related options.\n *\n * Every mdc-option should have a `value` attribute set to ensure proper form submission.\n *\n * To set a default option, use the `selected` attribute on the `mdc-option` element.\n * You can also set the `value` attribute on the `mdc-select` element to match the value of the desired option. The component will select the corresponding option automatically.\n *\n * **Note:** Make sure to add `mdc-selectlistbox` as a child of `mdc-select` and wrap options/optgroup in it to ensure proper accessibility functionality. Read more about it in SelectListBox documentation.\n *\n * If you need to use `mdc-tooltip` with any options, make sure to place the tooltip component outside the `mdc-select` element.\n *\n * @dependency mdc-button\n * @dependency mdc-icon\n * @dependency mdc-popover\n * @dependency mdc-text\n * @dependency mdc-toggletip\n *\n * @tagname mdc-select\n *\n * @slot default - This is a default/unnamed slot for Selectlistbox including options and/or option group.\n *\n * @event click - (React: onClick) This event is dispatched when the select is clicked.\n * @event change - (React: onChange) This event is dispatched when the select is changed.\n * @event input - (React: onInput) This event is dispatched when the select is changed.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the select.\n * @event focus - (React: onFocus) This event is dispatched when the select receives focus.\n *\n * @slot label - Slot for the label element. If not provided, the `label` property will be used to render the label.\n * @slot toggletip - Slot for the toggletip info icon button. If not provided, the `toggletip-text` property will be used to render the info icon button and toggletip.\n * @slot help-icon - Slot for the helper/validation icon. If not provided, the icon will be rendered based on the `helpTextType` property.\n * @slot help-text - Slot for the helper/validation text. If not provided, the `helpText` property will be used to render the helper/validation text.\n *\n * @csspart label - The label element.\n * @csspart label-text - The container for the label and required indicator elements.\n * @csspart required-indicator - The required indicator element that is displayed next to the label when the `required` property is set to true.\n * @csspart info-icon-btn - The info icon button element that is displayed next to the label when the `toggletip-text` property is set.\n * @csspart label-toggletip - The toggletip element that is displayed when the info icon button is clicked.\n * @csspart help-text - The helper/validation text element.\n * @csspart helper-icon - The helper/validation icon element that is displayed next to the helper/validation text.\n * @csspart help-text-container - The container for the helper/validation icon and text elements.\n *\n * @cssproperty --mdc-label-font-size - Font size for the label text.\n * @cssproperty --mdc-label-font-weight - Font weight for the label text.\n * @cssproperty --mdc-label-line-height - Line height for the label text.\n * @cssproperty --mdc-label-color - Color for the label text.\n * @cssproperty --mdc-help-text-font-size - Font size for the help text.\n * @cssproperty --mdc-help-text-font-weight - Font weight for the help text.\n * @cssproperty --mdc-help-text-line-height - Line height for the help text.\n * @cssproperty --mdc-help-text-color - Color for the help text.\n * @cssproperty --mdc-required-indicator-color - Color for the required indicator text.\n * @cssproperty --mdc-select-background-color - The background color of the combobox of select.\n * @cssproperty --mdc-select-text-color - The text color of the select.\n * @cssproperty --mdc-select-border-color - The border color of the select.\n * @cssproperty --mdc-select-width - The width of the select.\n * @cssproperty --mdc-select-listbox-height - The height of the listbox inside the select.\n * @cssproperty --mdc-select-listbox-width - The width of the listbox inside the select (default: `--mdc-select-width`).\n */",
|
|
40496
|
+
"customElement": true
|
|
40497
40497
|
}
|
|
40498
40498
|
],
|
|
40499
40499
|
"exports": [
|
|
@@ -40501,8 +40501,8 @@
|
|
|
40501
40501
|
"kind": "js",
|
|
40502
40502
|
"name": "default",
|
|
40503
40503
|
"declaration": {
|
|
40504
|
-
"name": "
|
|
40505
|
-
"module": "components/
|
|
40504
|
+
"name": "Select",
|
|
40505
|
+
"module": "components/select/select.component.js"
|
|
40506
40506
|
}
|
|
40507
40507
|
}
|
|
40508
40508
|
]
|