@momentum-design/components 0.120.24 → 0.120.26

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.
@@ -37604,6 +37604,17 @@
37604
37604
  "attribute": "timeout",
37605
37605
  "reflects": true
37606
37606
  },
37607
+ {
37608
+ "kind": "field",
37609
+ "name": "debounceTime",
37610
+ "type": {
37611
+ "text": "number"
37612
+ },
37613
+ "description": "The debounce time delay in milliseconds for announcements.",
37614
+ "default": "500",
37615
+ "attribute": "debounce-time",
37616
+ "reflects": true
37617
+ },
37607
37618
  {
37608
37619
  "kind": "method",
37609
37620
  "name": "announce",
@@ -37650,6 +37661,12 @@
37650
37661
  "name": "createAnnouncementAriaLiveRegion",
37651
37662
  "privacy": "private",
37652
37663
  "description": "Creates a div element with id as identity attribute in the DOM.\n\nIf the identity attribute is not provided, it is set internally to\n`mdc-screenreaderannouncer-identity`."
37664
+ },
37665
+ {
37666
+ "kind": "method",
37667
+ "name": "setupDebouncedAnnounce",
37668
+ "privacy": "private",
37669
+ "description": "Creates a single debounced function that will read the latest this.announcement when executed.\n\nThis function is used to debounce the announcement so that it will only be made after\nthis.debounceTime milliseconds have passed since the last time this.announcement was updated."
37653
37670
  }
37654
37671
  ],
37655
37672
  "attributes": [
@@ -37697,6 +37714,15 @@
37697
37714
  "description": "Milliseconds to wait after which the announcement element will be removed from\nidentity region in DOM, causing the screen reader to not announcing the message.",
37698
37715
  "default": "20_000",
37699
37716
  "fieldName": "timeout"
37717
+ },
37718
+ {
37719
+ "name": "debounce-time",
37720
+ "type": {
37721
+ "text": "number"
37722
+ },
37723
+ "description": "The debounce time delay in milliseconds for announcements.",
37724
+ "default": "500",
37725
+ "fieldName": "debounceTime"
37700
37726
  }
37701
37727
  ],
37702
37728
  "superclass": {
@@ -41861,6 +41887,139 @@
41861
41887
  }
41862
41888
  ]
41863
41889
  },
41890
+ {
41891
+ "kind": "javascript-module",
41892
+ "path": "components/staticchip/staticchip.component.js",
41893
+ "declarations": [
41894
+ {
41895
+ "kind": "class",
41896
+ "description": "mdc-staticchip is an static element that can be used to represent a chip. It supports a leading icon along with label.\n\nIt is recommended to keep the label text for the chip component concise and compact.\nFor best results, we recommend limiting the <b>maximum length of the label text to 20 characters</b>, including empty spaces to split words.",
41897
+ "name": "StaticChip",
41898
+ "cssProperties": [
41899
+ {
41900
+ "description": "The color of the static chip.",
41901
+ "name": "--mdc-chip-color"
41902
+ },
41903
+ {
41904
+ "description": "The border color of the static chip.",
41905
+ "name": "--mdc-chip-border-color"
41906
+ },
41907
+ {
41908
+ "description": "The background color of the static chip.",
41909
+ "name": "--mdc-chip-background-color"
41910
+ }
41911
+ ],
41912
+ "cssParts": [
41913
+ {
41914
+ "description": "The label of the static chip.",
41915
+ "name": "label"
41916
+ }
41917
+ ],
41918
+ "members": [
41919
+ {
41920
+ "kind": "field",
41921
+ "name": "color",
41922
+ "type": {
41923
+ "text": "ColorType"
41924
+ },
41925
+ "description": "The color of the chip. It supports the following colors\n- default\n- cobalt\n- gold\n- lime\n- mint\n- orange\n- pink\n- purple\n- slate\n- violet",
41926
+ "default": "default",
41927
+ "attribute": "color",
41928
+ "reflects": true
41929
+ },
41930
+ {
41931
+ "kind": "field",
41932
+ "name": "label",
41933
+ "type": {
41934
+ "text": "string"
41935
+ },
41936
+ "default": "''",
41937
+ "description": "The visible label text of the chip.\n\nWe recommend limiting the <b>maximum length of the label text to 20 characters</b>,\nincluding empty spaces to split words.",
41938
+ "attribute": "label"
41939
+ },
41940
+ {
41941
+ "kind": "method",
41942
+ "name": "renderIcon",
41943
+ "privacy": "private",
41944
+ "description": "Renders the icon element if available.",
41945
+ "return": {
41946
+ "type": {
41947
+ "text": ""
41948
+ }
41949
+ }
41950
+ },
41951
+ {
41952
+ "kind": "field",
41953
+ "name": "iconName",
41954
+ "type": {
41955
+ "text": "IconNames | undefined"
41956
+ },
41957
+ "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
41958
+ "attribute": "icon-name",
41959
+ "inheritedFrom": {
41960
+ "name": "IconNameMixin",
41961
+ "module": "utils/mixins/IconNameMixin.js"
41962
+ }
41963
+ }
41964
+ ],
41965
+ "attributes": [
41966
+ {
41967
+ "name": "color",
41968
+ "type": {
41969
+ "text": "ColorType"
41970
+ },
41971
+ "description": "The color of the chip. It supports the following colors\n- default\n- cobalt\n- gold\n- lime\n- mint\n- orange\n- pink\n- purple\n- slate\n- violet",
41972
+ "default": "default",
41973
+ "fieldName": "color"
41974
+ },
41975
+ {
41976
+ "name": "label",
41977
+ "type": {
41978
+ "text": "string"
41979
+ },
41980
+ "default": "''",
41981
+ "description": "The visible label text of the chip.\n\nWe recommend limiting the <b>maximum length of the label text to 20 characters</b>,\nincluding empty spaces to split words.",
41982
+ "fieldName": "label"
41983
+ },
41984
+ {
41985
+ "name": "icon-name",
41986
+ "type": {
41987
+ "text": "IconNames | undefined"
41988
+ },
41989
+ "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
41990
+ "fieldName": "iconName",
41991
+ "inheritedFrom": {
41992
+ "name": "IconNameMixin",
41993
+ "module": "src/utils/mixins/IconNameMixin.ts"
41994
+ }
41995
+ }
41996
+ ],
41997
+ "mixins": [
41998
+ {
41999
+ "name": "IconNameMixin",
42000
+ "module": "/src/utils/mixins/IconNameMixin"
42001
+ }
42002
+ ],
42003
+ "superclass": {
42004
+ "name": "Component",
42005
+ "module": "/src/models"
42006
+ },
42007
+ "tagName": "mdc-staticchip",
42008
+ "jsDoc": "/**\n * mdc-staticchip is an static element that can be used to represent a chip. It supports a leading icon along with label.\n *\n * It is recommended to keep the label text for the chip component concise and compact.\n * For best results, we recommend limiting the <b>maximum length of the label text to 20 characters</b>, including empty spaces to split words.\n *\n *\n * @tagname mdc-staticchip\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @cssproperty --mdc-chip-color - The color of the static chip.\n * @cssproperty --mdc-chip-border-color - The border color of the static chip.\n * @cssproperty --mdc-chip-background-color - The background color of the static chip.\n *\n * @csspart label - The label of the static chip.\n */",
42009
+ "customElement": true
42010
+ }
42011
+ ],
42012
+ "exports": [
42013
+ {
42014
+ "kind": "js",
42015
+ "name": "default",
42016
+ "declaration": {
42017
+ "name": "StaticChip",
42018
+ "module": "components/staticchip/staticchip.component.js"
42019
+ }
42020
+ }
42021
+ ]
42022
+ },
41864
42023
  {
41865
42024
  "kind": "javascript-module",
41866
42025
  "path": "components/staticradio/staticradio.component.js",
@@ -42007,159 +42166,26 @@
42007
42166
  "text": "boolean | undefined"
42008
42167
  },
42009
42168
  "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
42010
- "default": "undefined",
42011
- "fieldName": "disabled",
42012
- "inheritedFrom": {
42013
- "name": "DisabledMixin",
42014
- "module": "src/utils/mixins/DisabledMixin.ts"
42015
- }
42016
- }
42017
- ],
42018
- "mixins": [
42019
- {
42020
- "name": "DisabledMixin",
42021
- "module": "/src/utils/mixins/DisabledMixin"
42022
- }
42023
- ],
42024
- "superclass": {
42025
- "name": "Component",
42026
- "module": "/src/models"
42027
- },
42028
- "tagName": "mdc-staticradio",
42029
- "jsDoc": "/**\n * This is a decorative component that is styled to look as a radio.\n * It has 4 properties - checked, disabled, readonly and soft-disabled.\n *\n * We are using the same styling that has been created for the `mdc-radio` component.\n *\n * @tagname mdc-staticradio\n *\n * @cssproperty --mdc-staticradio-inner-circle-size - size of the inner circle\n * @cssproperty --mdc-staticradio-text-disabled-color - color of the label when disabled\n * @cssproperty --mdc-staticradio-normal-border-color - color of the radio button border when normal\n * @cssproperty --mdc-staticradio-disabled-border-color - color of the radio button border when disabled\n * @cssproperty --mdc-staticradio-inner-circle-normal-background - background color of the inner circle when normal\n * @cssproperty --mdc-staticradio-inner-circle-disabled-background - background color of the inner circle when disabled\n * @cssproperty --mdc-staticradio-control-inactive-color - color of the radio button when inactive\n * @cssproperty --mdc-staticradio-control-inactive-disabled-background - background color of the radio button when\n * inactive and disabled\n * @cssproperty --mdc-staticradio-control-active-color - color of the radio button when active\n * @cssproperty --mdc-staticradio-control-active-disabled-background - background color of the radio button\n * when active and disabled\n *\n * @csspart radio-icon - The radio icon.\n *\n * @slot - Default slot for the label of the radio.\n */",
42030
- "customElement": true
42031
- }
42032
- ],
42033
- "exports": [
42034
- {
42035
- "kind": "js",
42036
- "name": "default",
42037
- "declaration": {
42038
- "name": "StaticRadio",
42039
- "module": "components/staticradio/staticradio.component.js"
42040
- }
42041
- }
42042
- ]
42043
- },
42044
- {
42045
- "kind": "javascript-module",
42046
- "path": "components/staticchip/staticchip.component.js",
42047
- "declarations": [
42048
- {
42049
- "kind": "class",
42050
- "description": "mdc-staticchip is an static element that can be used to represent a chip. It supports a leading icon along with label.\n\nIt is recommended to keep the label text for the chip component concise and compact.\nFor best results, we recommend limiting the <b>maximum length of the label text to 20 characters</b>, including empty spaces to split words.",
42051
- "name": "StaticChip",
42052
- "cssProperties": [
42053
- {
42054
- "description": "The color of the static chip.",
42055
- "name": "--mdc-chip-color"
42056
- },
42057
- {
42058
- "description": "The border color of the static chip.",
42059
- "name": "--mdc-chip-border-color"
42060
- },
42061
- {
42062
- "description": "The background color of the static chip.",
42063
- "name": "--mdc-chip-background-color"
42064
- }
42065
- ],
42066
- "cssParts": [
42067
- {
42068
- "description": "The label of the static chip.",
42069
- "name": "label"
42070
- }
42071
- ],
42072
- "members": [
42073
- {
42074
- "kind": "field",
42075
- "name": "color",
42076
- "type": {
42077
- "text": "ColorType"
42078
- },
42079
- "description": "The color of the chip. It supports the following colors\n- default\n- cobalt\n- gold\n- lime\n- mint\n- orange\n- pink\n- purple\n- slate\n- violet",
42080
- "default": "default",
42081
- "attribute": "color",
42082
- "reflects": true
42083
- },
42084
- {
42085
- "kind": "field",
42086
- "name": "label",
42087
- "type": {
42088
- "text": "string"
42089
- },
42090
- "default": "''",
42091
- "description": "The visible label text of the chip.\n\nWe recommend limiting the <b>maximum length of the label text to 20 characters</b>,\nincluding empty spaces to split words.",
42092
- "attribute": "label"
42093
- },
42094
- {
42095
- "kind": "method",
42096
- "name": "renderIcon",
42097
- "privacy": "private",
42098
- "description": "Renders the icon element if available.",
42099
- "return": {
42100
- "type": {
42101
- "text": ""
42102
- }
42103
- }
42104
- },
42105
- {
42106
- "kind": "field",
42107
- "name": "iconName",
42108
- "type": {
42109
- "text": "IconNames | undefined"
42110
- },
42111
- "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
42112
- "attribute": "icon-name",
42113
- "inheritedFrom": {
42114
- "name": "IconNameMixin",
42115
- "module": "utils/mixins/IconNameMixin.js"
42116
- }
42117
- }
42118
- ],
42119
- "attributes": [
42120
- {
42121
- "name": "color",
42122
- "type": {
42123
- "text": "ColorType"
42124
- },
42125
- "description": "The color of the chip. It supports the following colors\n- default\n- cobalt\n- gold\n- lime\n- mint\n- orange\n- pink\n- purple\n- slate\n- violet",
42126
- "default": "default",
42127
- "fieldName": "color"
42128
- },
42129
- {
42130
- "name": "label",
42131
- "type": {
42132
- "text": "string"
42133
- },
42134
- "default": "''",
42135
- "description": "The visible label text of the chip.\n\nWe recommend limiting the <b>maximum length of the label text to 20 characters</b>,\nincluding empty spaces to split words.",
42136
- "fieldName": "label"
42137
- },
42138
- {
42139
- "name": "icon-name",
42140
- "type": {
42141
- "text": "IconNames | undefined"
42142
- },
42143
- "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
42144
- "fieldName": "iconName",
42169
+ "default": "undefined",
42170
+ "fieldName": "disabled",
42145
42171
  "inheritedFrom": {
42146
- "name": "IconNameMixin",
42147
- "module": "src/utils/mixins/IconNameMixin.ts"
42172
+ "name": "DisabledMixin",
42173
+ "module": "src/utils/mixins/DisabledMixin.ts"
42148
42174
  }
42149
42175
  }
42150
42176
  ],
42151
42177
  "mixins": [
42152
42178
  {
42153
- "name": "IconNameMixin",
42154
- "module": "/src/utils/mixins/IconNameMixin"
42179
+ "name": "DisabledMixin",
42180
+ "module": "/src/utils/mixins/DisabledMixin"
42155
42181
  }
42156
42182
  ],
42157
42183
  "superclass": {
42158
42184
  "name": "Component",
42159
42185
  "module": "/src/models"
42160
42186
  },
42161
- "tagName": "mdc-staticchip",
42162
- "jsDoc": "/**\n * mdc-staticchip is an static element that can be used to represent a chip. It supports a leading icon along with label.\n *\n * It is recommended to keep the label text for the chip component concise and compact.\n * For best results, we recommend limiting the <b>maximum length of the label text to 20 characters</b>, including empty spaces to split words.\n *\n *\n * @tagname mdc-staticchip\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @cssproperty --mdc-chip-color - The color of the static chip.\n * @cssproperty --mdc-chip-border-color - The border color of the static chip.\n * @cssproperty --mdc-chip-background-color - The background color of the static chip.\n *\n * @csspart label - The label of the static chip.\n */",
42187
+ "tagName": "mdc-staticradio",
42188
+ "jsDoc": "/**\n * This is a decorative component that is styled to look as a radio.\n * It has 4 properties - checked, disabled, readonly and soft-disabled.\n *\n * We are using the same styling that has been created for the `mdc-radio` component.\n *\n * @tagname mdc-staticradio\n *\n * @cssproperty --mdc-staticradio-inner-circle-size - size of the inner circle\n * @cssproperty --mdc-staticradio-text-disabled-color - color of the label when disabled\n * @cssproperty --mdc-staticradio-normal-border-color - color of the radio button border when normal\n * @cssproperty --mdc-staticradio-disabled-border-color - color of the radio button border when disabled\n * @cssproperty --mdc-staticradio-inner-circle-normal-background - background color of the inner circle when normal\n * @cssproperty --mdc-staticradio-inner-circle-disabled-background - background color of the inner circle when disabled\n * @cssproperty --mdc-staticradio-control-inactive-color - color of the radio button when inactive\n * @cssproperty --mdc-staticradio-control-inactive-disabled-background - background color of the radio button when\n * inactive and disabled\n * @cssproperty --mdc-staticradio-control-active-color - color of the radio button when active\n * @cssproperty --mdc-staticradio-control-active-disabled-background - background color of the radio button\n * when active and disabled\n *\n * @csspart radio-icon - The radio icon.\n *\n * @slot - Default slot for the label of the radio.\n */",
42163
42189
  "customElement": true
42164
42190
  }
42165
42191
  ],
@@ -42168,8 +42194,8 @@
42168
42194
  "kind": "js",
42169
42195
  "name": "default",
42170
42196
  "declaration": {
42171
- "name": "StaticChip",
42172
- "module": "components/staticchip/staticchip.component.js"
42197
+ "name": "StaticRadio",
42198
+ "module": "components/staticradio/staticradio.component.js"
42173
42199
  }
42174
42200
  }
42175
42201
  ]
@@ -44280,17 +44306,17 @@
44280
44306
  "type": {
44281
44307
  "text": "number | undefined"
44282
44308
  },
44283
- "description": "maximum character limit for the textarea field for character counter.",
44309
+ "description": "The maximum character limit for the textarea field for character counter.",
44284
44310
  "attribute": "max-character-limit"
44285
44311
  },
44286
44312
  {
44287
44313
  "kind": "field",
44288
- "name": "characterLimitExceedingFired",
44314
+ "name": "characterLimitAnnouncement",
44289
44315
  "type": {
44290
- "text": "boolean"
44316
+ "text": "string | undefined"
44291
44317
  },
44292
- "privacy": "private",
44293
- "default": "false"
44318
+ "description": "Template string for the announcement that will be read by screen readers when the max character limit is set.\nConsumers must use the placeholders `%{number-of-characters}` and `%{max-character-limit}` in the string,\nwhich will be dynamically replaced with the actual values at runtime.\nFor example: `%{number-of-characters} out of %{max-character-limit} characters are typed.`\nExample output: \"93 out of 140 characters are typed.\"",
44319
+ "attribute": "character-limit-announcement"
44294
44320
  },
44295
44321
  {
44296
44322
  "kind": "field",
@@ -44349,6 +44375,12 @@
44349
44375
  }
44350
44376
  }
44351
44377
  },
44378
+ {
44379
+ "kind": "method",
44380
+ "name": "announceMaxLengthWarning",
44381
+ "privacy": "private",
44382
+ "description": "Announces the character limit warning based on the current value length.\nIf the value length exceeds the max character limit, the help text is announced (if help text is present).\nIf the value length does not exceed the max character limit, then the character limit announcement is announced."
44383
+ },
44352
44384
  {
44353
44385
  "kind": "method",
44354
44386
  "name": "onChange",
@@ -44856,9 +44888,17 @@
44856
44888
  "type": {
44857
44889
  "text": "number | undefined"
44858
44890
  },
44859
- "description": "maximum character limit for the textarea field for character counter.",
44891
+ "description": "The maximum character limit for the textarea field for character counter.",
44860
44892
  "fieldName": "maxCharacterLimit"
44861
44893
  },
44894
+ {
44895
+ "name": "character-limit-announcement",
44896
+ "type": {
44897
+ "text": "string | undefined"
44898
+ },
44899
+ "description": "Template string for the announcement that will be read by screen readers when the max character limit is set.\nConsumers must use the placeholders `%{number-of-characters}` and `%{max-character-limit}` in the string,\nwhich will be dynamically replaced with the actual values at runtime.\nFor example: `%{number-of-characters} out of %{max-character-limit} characters are typed.`\nExample output: \"93 out of 140 characters are typed.\"",
44900
+ "fieldName": "characterLimitAnnouncement"
44901
+ },
44862
44902
  {
44863
44903
  "name": "auto-focus-on-mount",
44864
44904
  "type": {
@@ -53258,274 +53298,6 @@
53258
53298
  }
53259
53299
  ]
53260
53300
  },
53261
- {
53262
- "kind": "javascript-module",
53263
- "path": "utils/mixins/ItemCollectionMixin.js",
53264
- "declarations": [
53265
- {
53266
- "kind": "class",
53267
- "description": "",
53268
- "name": "ItemCollectionMixinInterface",
53269
- "members": [
53270
- {
53271
- "kind": "field",
53272
- "name": "items",
53273
- "type": {
53274
- "text": "TItem[]"
53275
- },
53276
- "privacy": "public",
53277
- "description": "List of items (cached)",
53278
- "readonly": true
53279
- },
53280
- {
53281
- "kind": "method",
53282
- "name": "isValidItem",
53283
- "privacy": "protected",
53284
- "return": {
53285
- "type": {
53286
- "text": ""
53287
- }
53288
- },
53289
- "parameters": [
53290
- {
53291
- "name": "item",
53292
- "type": {
53293
- "text": "Element"
53294
- },
53295
- "description": "The item to validate."
53296
- }
53297
- ],
53298
- "description": "Checks if the item is valid.\nInvalid items will not be collected or processed.\nThis method can be overridden by subclasses to define custom validation logic."
53299
- },
53300
- {
53301
- "kind": "method",
53302
- "name": "addItemToCacheAt",
53303
- "privacy": "protected",
53304
- "return": {
53305
- "type": {
53306
- "text": "void"
53307
- }
53308
- },
53309
- "parameters": [
53310
- {
53311
- "name": "item",
53312
- "type": {
53313
- "text": "Element"
53314
- },
53315
- "description": "The item to add to the cache."
53316
- },
53317
- {
53318
- "name": "index",
53319
- "optional": true,
53320
- "type": {
53321
- "text": "number"
53322
- },
53323
- "description": "The index at which to add the item. If -1, adds to the end."
53324
- }
53325
- ],
53326
- "description": "Adds an item to the cache at the specified index.\nWhen the index\n is `undefined`, the item is added automatically keeping the DOM order.\n is `-1`, the item is added to the end of the cache.\n is `>= 0`, the item is added at that index.\n otherwise, do nothing."
53327
- },
53328
- {
53329
- "kind": "method",
53330
- "name": "removeItemFromCache",
53331
- "privacy": "protected",
53332
- "return": {
53333
- "type": {
53334
- "text": "void"
53335
- }
53336
- },
53337
- "parameters": [
53338
- {
53339
- "name": "item",
53340
- "type": {
53341
- "text": "Element"
53342
- },
53343
- "description": "The item to remove from the cache."
53344
- }
53345
- ],
53346
- "description": "Removes an item from the cache."
53347
- },
53348
- {
53349
- "kind": "method",
53350
- "name": "setItemCache",
53351
- "privacy": "protected",
53352
- "return": {
53353
- "type": {
53354
- "text": "void"
53355
- }
53356
- },
53357
- "parameters": [
53358
- {
53359
- "name": "items",
53360
- "optional": true,
53361
- "type": {
53362
- "text": "TItem[]"
53363
- },
53364
- "description": "The items to set in the cache."
53365
- }
53366
- ],
53367
- "description": "Sets the item cache to the provided items.\nIf no items are provided, it clears the cache."
53368
- }
53369
- ]
53370
- },
53371
- {
53372
- "kind": "mixin",
53373
- "description": "This mixin collects and cache items based on the `created` and `destroyed` lifecycle events.\nAlso provides methods to manage the item cache.",
53374
- "name": "ItemCollectionMixin",
53375
- "members": [
53376
- {
53377
- "kind": "field",
53378
- "name": "itemCache",
53379
- "type": {
53380
- "text": "TItem[]"
53381
- },
53382
- "privacy": "private",
53383
- "default": "[]"
53384
- },
53385
- {
53386
- "kind": "field",
53387
- "name": "items",
53388
- "type": {
53389
- "text": "TItem[]"
53390
- },
53391
- "privacy": "protected",
53392
- "readonly": true
53393
- },
53394
- {
53395
- "kind": "method",
53396
- "name": "itemCreationHandler",
53397
- "privacy": "protected",
53398
- "parameters": [
53399
- {
53400
- "name": "event",
53401
- "type": {
53402
- "text": "Event"
53403
- },
53404
- "description": "The event triggered when an item is created."
53405
- }
53406
- ],
53407
- "description": "Handles the item creation event."
53408
- },
53409
- {
53410
- "kind": "method",
53411
- "name": "itemDestroyHandler",
53412
- "privacy": "protected",
53413
- "parameters": [
53414
- {
53415
- "name": "event",
53416
- "type": {
53417
- "text": "Event"
53418
- },
53419
- "description": "The event triggered when an item is destroyed."
53420
- }
53421
- ],
53422
- "description": "Handles the item destroy event."
53423
- },
53424
- {
53425
- "kind": "method",
53426
- "name": "isValidItem",
53427
- "privacy": "protected",
53428
- "return": {
53429
- "type": {
53430
- "text": "boolean"
53431
- }
53432
- },
53433
- "parameters": [
53434
- {
53435
- "name": "item",
53436
- "type": {
53437
- "text": "Element"
53438
- }
53439
- }
53440
- ]
53441
- },
53442
- {
53443
- "kind": "method",
53444
- "name": "addItemToCacheAt",
53445
- "privacy": "protected",
53446
- "parameters": [
53447
- {
53448
- "name": "newItem",
53449
- "type": {
53450
- "text": "Element"
53451
- }
53452
- },
53453
- {
53454
- "name": "index",
53455
- "optional": true,
53456
- "type": {
53457
- "text": "number"
53458
- }
53459
- }
53460
- ]
53461
- },
53462
- {
53463
- "kind": "method",
53464
- "name": "removeItemFromCache",
53465
- "privacy": "protected",
53466
- "return": {
53467
- "type": {
53468
- "text": "void"
53469
- }
53470
- },
53471
- "parameters": [
53472
- {
53473
- "name": "item",
53474
- "type": {
53475
- "text": "Element"
53476
- }
53477
- }
53478
- ]
53479
- },
53480
- {
53481
- "kind": "method",
53482
- "name": "setItemCache",
53483
- "privacy": "protected",
53484
- "return": {
53485
- "type": {
53486
- "text": "void"
53487
- }
53488
- },
53489
- "parameters": [
53490
- {
53491
- "name": "items",
53492
- "type": {
53493
- "text": "TItem[]"
53494
- }
53495
- }
53496
- ]
53497
- }
53498
- ],
53499
- "parameters": [
53500
- {
53501
- "name": "superClass",
53502
- "type": {
53503
- "text": "T"
53504
- },
53505
- "description": "The class to extend with the mixin."
53506
- }
53507
- ]
53508
- }
53509
- ],
53510
- "exports": [
53511
- {
53512
- "kind": "js",
53513
- "name": "ItemCollectionMixinInterface",
53514
- "declaration": {
53515
- "name": "ItemCollectionMixinInterface",
53516
- "module": "utils/mixins/ItemCollectionMixin.js"
53517
- }
53518
- },
53519
- {
53520
- "kind": "js",
53521
- "name": "ItemCollectionMixin",
53522
- "declaration": {
53523
- "name": "ItemCollectionMixin",
53524
- "module": "utils/mixins/ItemCollectionMixin.js"
53525
- }
53526
- }
53527
- ]
53528
- },
53529
53301
  {
53530
53302
  "kind": "javascript-module",
53531
53303
  "path": "utils/mixins/ListNavigationMixin.js",