@genesislcap/foundation-ui 14.152.3-alpha-2e97897.0 → 14.154.0

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.
Files changed (2) hide show
  1. package/dist/custom-elements.json +1751 -1751
  2. package/package.json +15 -15
@@ -6104,53 +6104,39 @@
6104
6104
  },
6105
6105
  {
6106
6106
  "kind": "javascript-module",
6107
- "path": "src/button/button.styles.ts",
6107
+ "path": "src/calendar/calendar.styles.ts",
6108
6108
  "declarations": [
6109
6109
  {
6110
6110
  "kind": "function",
6111
- "name": "foundationButtonStyles",
6111
+ "name": "foundationCalendarStyles",
6112
6112
  "return": {
6113
6113
  "type": {
6114
6114
  "text": "ElementStyles"
6115
6115
  }
6116
- },
6117
- "parameters": [
6118
- {
6119
- "name": "context",
6120
- "type": {
6121
- "text": "ElementDefinitionContext"
6122
- }
6123
- },
6124
- {
6125
- "name": "definition",
6126
- "type": {
6127
- "text": "FoundationElementDefinition"
6128
- }
6129
- }
6130
- ]
6116
+ }
6131
6117
  }
6132
6118
  ],
6133
6119
  "exports": [
6134
6120
  {
6135
6121
  "kind": "js",
6136
- "name": "foundationButtonStyles",
6122
+ "name": "foundationCalendarStyles",
6137
6123
  "declaration": {
6138
- "name": "foundationButtonStyles",
6139
- "module": "src/button/button.styles.ts"
6124
+ "name": "foundationCalendarStyles",
6125
+ "module": "src/calendar/calendar.styles.ts"
6140
6126
  }
6141
6127
  }
6142
6128
  ]
6143
6129
  },
6144
6130
  {
6145
6131
  "kind": "javascript-module",
6146
- "path": "src/button/button.template.ts",
6132
+ "path": "src/calendar/calendar.template.ts",
6147
6133
  "declarations": [
6148
6134
  {
6149
6135
  "kind": "function",
6150
- "name": "foundationButtonTemplate",
6136
+ "name": "foundationCalendarTemplate",
6151
6137
  "return": {
6152
6138
  "type": {
6153
- "text": "ViewTemplate<Button>"
6139
+ "text": "ViewTemplate<Calendar>"
6154
6140
  }
6155
6141
  },
6156
6142
  "parameters": [
@@ -6172,156 +6158,192 @@
6172
6158
  "exports": [
6173
6159
  {
6174
6160
  "kind": "js",
6175
- "name": "foundationButtonTemplate",
6161
+ "name": "foundationCalendarTemplate",
6176
6162
  "declaration": {
6177
- "name": "foundationButtonTemplate",
6178
- "module": "src/button/button.template.ts"
6163
+ "name": "foundationCalendarTemplate",
6164
+ "module": "src/calendar/calendar.template.ts"
6179
6165
  }
6180
6166
  }
6181
6167
  ]
6182
6168
  },
6183
6169
  {
6184
6170
  "kind": "javascript-module",
6185
- "path": "src/button/button.ts",
6171
+ "path": "src/calendar/calendar.ts",
6186
6172
  "declarations": [
6187
6173
  {
6188
6174
  "kind": "class",
6189
6175
  "description": "",
6190
- "name": "Button",
6176
+ "name": "Calendar",
6191
6177
  "superclass": {
6192
- "name": "FASTButton",
6178
+ "name": "FASTCalendar",
6193
6179
  "package": "@microsoft/fast-components"
6194
6180
  },
6195
- "tagName": "%%prefix%%-button",
6181
+ "tagName": "%%prefix%%-calendar",
6196
6182
  "customElement": true,
6197
6183
  "attributes": [
6198
6184
  {
6199
6185
  "type": {
6200
- "text": "boolean"
6186
+ "text": "number"
6201
6187
  },
6202
- "description": "Determines if the element should receive document focus on page load.",
6203
- "fieldName": "autofocus",
6188
+ "description": "Readonly attribute for turning off data-grid",
6189
+ "fieldName": "readonly",
6190
+ "default": "false",
6204
6191
  "inheritedFrom": {
6205
- "name": "Button",
6206
- "module": "src/button/button.ts"
6192
+ "name": "Calendar",
6193
+ "module": "src/calendar/calendar.ts"
6207
6194
  }
6208
6195
  },
6209
6196
  {
6210
- "name": "form",
6197
+ "name": "locale",
6211
6198
  "type": {
6212
6199
  "text": "string"
6213
6200
  },
6214
- "description": "The id of a form to associate the element to.",
6215
- "fieldName": "formId",
6201
+ "default": "\"en-US\"",
6202
+ "description": "String repesentation of the full locale including market, calendar type and numbering system",
6203
+ "fieldName": "locale",
6216
6204
  "inheritedFrom": {
6217
- "name": "Button",
6218
- "module": "src/button/button.ts"
6205
+ "name": "Calendar",
6206
+ "module": "src/calendar/calendar.ts"
6219
6207
  }
6220
6208
  },
6221
6209
  {
6222
- "name": "formaction",
6210
+ "name": "day-format",
6223
6211
  "type": {
6224
- "text": "string"
6212
+ "text": "DayFormat"
6225
6213
  },
6226
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button | <button> element for more details.",
6227
- "fieldName": "formaction",
6214
+ "default": "\"numeric\"",
6215
+ "description": "Format style for the day",
6216
+ "fieldName": "dayFormat",
6228
6217
  "inheritedFrom": {
6229
- "name": "Button",
6230
- "module": "src/button/button.ts"
6218
+ "name": "Calendar",
6219
+ "module": "src/calendar/calendar.ts"
6231
6220
  }
6232
6221
  },
6233
6222
  {
6234
- "name": "formenctype",
6223
+ "name": "weekday-format",
6235
6224
  "type": {
6236
- "text": "string"
6225
+ "text": "WeekdayFormat"
6237
6226
  },
6238
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button | <button> element for more details.",
6239
- "fieldName": "formenctype",
6227
+ "default": "\"short\"",
6228
+ "description": "Format style for the week day labels",
6229
+ "fieldName": "weekdayFormat",
6240
6230
  "inheritedFrom": {
6241
- "name": "Button",
6242
- "module": "src/button/button.ts"
6231
+ "name": "Calendar",
6232
+ "module": "src/calendar/calendar.ts"
6243
6233
  }
6244
6234
  },
6245
6235
  {
6246
- "name": "formmethod",
6236
+ "name": "month-format",
6247
6237
  "type": {
6248
- "text": "string"
6238
+ "text": "MonthFormat"
6249
6239
  },
6250
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button | <button> element for more details.",
6251
- "fieldName": "formmethod",
6240
+ "default": "\"long\"",
6241
+ "description": "Format style for the month label",
6242
+ "fieldName": "monthFormat",
6252
6243
  "inheritedFrom": {
6253
- "name": "Button",
6254
- "module": "src/button/button.ts"
6244
+ "name": "Calendar",
6245
+ "module": "src/calendar/calendar.ts"
6255
6246
  }
6256
6247
  },
6257
6248
  {
6258
- "name": "formtarget",
6249
+ "name": "year-format",
6259
6250
  "type": {
6260
- "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
6251
+ "text": "YearFormat"
6261
6252
  },
6262
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button | <button> element for more details.",
6263
- "fieldName": "formtarget",
6253
+ "default": "\"numeric\"",
6254
+ "description": "Format style for the year used in the title",
6255
+ "fieldName": "yearFormat",
6264
6256
  "inheritedFrom": {
6265
- "name": "Button",
6266
- "module": "src/button/button.ts"
6257
+ "name": "Calendar",
6258
+ "module": "src/calendar/calendar.ts"
6267
6259
  }
6268
6260
  },
6269
6261
  {
6270
- "name": "type",
6262
+ "name": "min-weeks",
6271
6263
  "type": {
6272
- "text": "\"submit\" | \"reset\" | \"button\""
6264
+ "text": "number"
6273
6265
  },
6274
- "description": "The button type.",
6275
- "fieldName": "type",
6266
+ "default": "0",
6267
+ "description": "Minimum number of weeks to show for the month\nThis can be used to normalize the calendar view\n when changing or across multiple calendars",
6268
+ "fieldName": "minWeeks",
6276
6269
  "inheritedFrom": {
6277
- "name": "Button",
6278
- "module": "src/button/button.ts"
6270
+ "name": "Calendar",
6271
+ "module": "src/calendar/calendar.ts"
6272
+ }
6273
+ },
6274
+ {
6275
+ "name": "disabled-dates",
6276
+ "type": {
6277
+ "text": "string"
6278
+ },
6279
+ "default": "\"\"",
6280
+ "description": "A list of dates that should be shown as disabled",
6281
+ "fieldName": "disabledDates",
6282
+ "inheritedFrom": {
6283
+ "name": "Calendar",
6284
+ "module": "src/calendar/calendar.ts"
6285
+ }
6286
+ },
6287
+ {
6288
+ "name": "selected-dates",
6289
+ "type": {
6290
+ "text": "string"
6291
+ },
6292
+ "default": "\"\"",
6293
+ "description": "A list of dates that should be shown as highlighted",
6294
+ "fieldName": "selectedDates",
6295
+ "inheritedFrom": {
6296
+ "name": "Calendar",
6297
+ "module": "src/calendar/calendar.ts"
6279
6298
  }
6280
6299
  }
6281
6300
  ],
6282
6301
  "members": [
6283
6302
  {
6284
6303
  "kind": "field",
6285
- "name": "autofocus",
6304
+ "name": "dateFormatter",
6286
6305
  "type": {
6287
- "text": "boolean"
6306
+ "text": "DateFormatter"
6288
6307
  },
6289
6308
  "privacy": "public",
6290
- "description": "Determines if the element should receive document focus on page load.",
6309
+ "default": "new DateFormatter()",
6310
+ "description": "date formatter utitlity for getting localized strings",
6291
6311
  "inheritedFrom": {
6292
- "name": "Button",
6293
- "module": "src/button/button.ts"
6312
+ "name": "Calendar",
6313
+ "module": "src/calendar/calendar.ts"
6294
6314
  }
6295
6315
  },
6296
6316
  {
6297
6317
  "kind": "field",
6298
- "name": "formId",
6318
+ "name": "readonly",
6299
6319
  "type": {
6300
- "text": "string"
6320
+ "text": "boolean"
6301
6321
  },
6302
6322
  "privacy": "public",
6303
- "description": "The id of a form to associate the element to.",
6323
+ "default": "false",
6324
+ "description": "Readonly attribute for turning off data-grid",
6304
6325
  "inheritedFrom": {
6305
- "name": "Button",
6306
- "module": "src/button/button.ts"
6326
+ "name": "Calendar",
6327
+ "module": "src/calendar/calendar.ts"
6307
6328
  }
6308
6329
  },
6309
6330
  {
6310
6331
  "kind": "field",
6311
- "name": "formaction",
6332
+ "name": "locale",
6312
6333
  "type": {
6313
6334
  "text": "string"
6314
6335
  },
6315
6336
  "privacy": "public",
6316
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button | <button> element} for more details.",
6337
+ "default": "\"en-US\"",
6338
+ "description": "String repesentation of the full locale including market, calendar type and numbering system",
6317
6339
  "inheritedFrom": {
6318
- "name": "Button",
6319
- "module": "src/button/button.ts"
6340
+ "name": "Calendar",
6341
+ "module": "src/calendar/calendar.ts"
6320
6342
  }
6321
6343
  },
6322
6344
  {
6323
6345
  "kind": "method",
6324
- "name": "formactionChanged",
6346
+ "name": "localeChanged",
6325
6347
  "privacy": "private",
6326
6348
  "return": {
6327
6349
  "type": {
@@ -6329,53 +6351,53 @@
6329
6351
  }
6330
6352
  },
6331
6353
  "inheritedFrom": {
6332
- "name": "Button",
6333
- "module": "src/button/button.ts"
6354
+ "name": "Calendar",
6355
+ "module": "src/calendar/calendar.ts"
6334
6356
  }
6335
6357
  },
6336
6358
  {
6337
6359
  "kind": "field",
6338
- "name": "formenctype",
6360
+ "name": "month",
6339
6361
  "type": {
6340
- "text": "string"
6362
+ "text": "number"
6341
6363
  },
6342
6364
  "privacy": "public",
6343
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button | <button> element} for more details.",
6365
+ "description": "Month to display",
6344
6366
  "inheritedFrom": {
6345
- "name": "Button",
6346
- "module": "src/button/button.ts"
6367
+ "name": "Calendar",
6368
+ "module": "src/calendar/calendar.ts"
6347
6369
  }
6348
6370
  },
6349
6371
  {
6350
- "kind": "method",
6351
- "name": "formenctypeChanged",
6352
- "privacy": "private",
6353
- "return": {
6354
- "type": {
6355
- "text": "void"
6356
- }
6372
+ "kind": "field",
6373
+ "name": "year",
6374
+ "type": {
6375
+ "text": "number"
6357
6376
  },
6377
+ "privacy": "public",
6378
+ "description": "Year of the month to display",
6358
6379
  "inheritedFrom": {
6359
- "name": "Button",
6360
- "module": "src/button/button.ts"
6380
+ "name": "Calendar",
6381
+ "module": "src/calendar/calendar.ts"
6361
6382
  }
6362
6383
  },
6363
6384
  {
6364
6385
  "kind": "field",
6365
- "name": "formmethod",
6386
+ "name": "dayFormat",
6366
6387
  "type": {
6367
- "text": "string"
6388
+ "text": "DayFormat"
6368
6389
  },
6369
6390
  "privacy": "public",
6370
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button | <button> element} for more details.",
6391
+ "default": "\"numeric\"",
6392
+ "description": "Format style for the day",
6371
6393
  "inheritedFrom": {
6372
- "name": "Button",
6373
- "module": "src/button/button.ts"
6394
+ "name": "Calendar",
6395
+ "module": "src/calendar/calendar.ts"
6374
6396
  }
6375
6397
  },
6376
6398
  {
6377
6399
  "kind": "method",
6378
- "name": "formmethodChanged",
6400
+ "name": "dayFormatChanged",
6379
6401
  "privacy": "private",
6380
6402
  "return": {
6381
6403
  "type": {
@@ -6383,26 +6405,27 @@
6383
6405
  }
6384
6406
  },
6385
6407
  "inheritedFrom": {
6386
- "name": "Button",
6387
- "module": "src/button/button.ts"
6408
+ "name": "Calendar",
6409
+ "module": "src/calendar/calendar.ts"
6388
6410
  }
6389
6411
  },
6390
6412
  {
6391
6413
  "kind": "field",
6392
- "name": "formnovalidate",
6414
+ "name": "weekdayFormat",
6393
6415
  "type": {
6394
- "text": "boolean"
6416
+ "text": "WeekdayFormat"
6395
6417
  },
6396
6418
  "privacy": "public",
6397
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button | <button> element} for more details.",
6419
+ "default": "\"short\"",
6420
+ "description": "Format style for the week day labels",
6398
6421
  "inheritedFrom": {
6399
- "name": "Button",
6400
- "module": "src/button/button.ts"
6422
+ "name": "Calendar",
6423
+ "module": "src/calendar/calendar.ts"
6401
6424
  }
6402
6425
  },
6403
6426
  {
6404
6427
  "kind": "method",
6405
- "name": "formnovalidateChanged",
6428
+ "name": "weekdayFormatChanged",
6406
6429
  "privacy": "private",
6407
6430
  "return": {
6408
6431
  "type": {
@@ -6410,272 +6433,441 @@
6410
6433
  }
6411
6434
  },
6412
6435
  "inheritedFrom": {
6413
- "name": "Button",
6414
- "module": "src/button/button.ts"
6415
- }
6416
- },
6417
- {
6418
- "kind": "field",
6419
- "name": "formtarget",
6420
- "type": {
6421
- "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
6422
- },
6423
- "privacy": "public",
6424
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button | <button> element} for more details.",
6425
- "inheritedFrom": {
6426
- "name": "Button",
6427
- "module": "src/button/button.ts"
6428
- }
6429
- },
6430
- {
6431
- "kind": "method",
6432
- "name": "formtargetChanged",
6433
- "privacy": "private",
6434
- "return": {
6435
- "type": {
6436
- "text": "void"
6437
- }
6438
- },
6439
- "inheritedFrom": {
6440
- "name": "Button",
6441
- "module": "src/button/button.ts"
6436
+ "name": "Calendar",
6437
+ "module": "src/calendar/calendar.ts"
6442
6438
  }
6443
6439
  },
6444
6440
  {
6445
6441
  "kind": "field",
6446
- "name": "type",
6442
+ "name": "monthFormat",
6447
6443
  "type": {
6448
- "text": "\"submit\" | \"reset\" | \"button\""
6444
+ "text": "MonthFormat"
6449
6445
  },
6450
6446
  "privacy": "public",
6451
- "description": "The button type.",
6447
+ "default": "\"long\"",
6448
+ "description": "Format style for the month label",
6452
6449
  "inheritedFrom": {
6453
- "name": "Button",
6454
- "module": "src/button/button.ts"
6450
+ "name": "Calendar",
6451
+ "module": "src/calendar/calendar.ts"
6455
6452
  }
6456
6453
  },
6457
6454
  {
6458
6455
  "kind": "method",
6459
- "name": "typeChanged",
6456
+ "name": "monthFormatChanged",
6460
6457
  "privacy": "private",
6461
6458
  "return": {
6462
6459
  "type": {
6463
6460
  "text": "void"
6464
6461
  }
6465
6462
  },
6466
- "parameters": [
6467
- {
6468
- "name": "previous",
6469
- "type": {
6470
- "text": "\"submit\" | \"reset\" | \"button\" | void"
6471
- }
6472
- },
6473
- {
6474
- "name": "next",
6475
- "type": {
6476
- "text": "\"submit\" | \"reset\" | \"button\""
6477
- }
6478
- }
6479
- ],
6480
6463
  "inheritedFrom": {
6481
- "name": "Button",
6482
- "module": "src/button/button.ts"
6464
+ "name": "Calendar",
6465
+ "module": "src/calendar/calendar.ts"
6483
6466
  }
6484
6467
  },
6485
6468
  {
6486
6469
  "kind": "field",
6487
- "name": "defaultSlottedContent",
6470
+ "name": "yearFormat",
6488
6471
  "type": {
6489
- "text": "HTMLElement[]"
6472
+ "text": "YearFormat"
6490
6473
  },
6491
6474
  "privacy": "public",
6492
- "description": "\nDefault slotted content",
6475
+ "default": "\"numeric\"",
6476
+ "description": "Format style for the year used in the title",
6493
6477
  "inheritedFrom": {
6494
- "name": "Button",
6495
- "module": "src/button/button.ts"
6478
+ "name": "Calendar",
6479
+ "module": "src/calendar/calendar.ts"
6496
6480
  }
6497
6481
  },
6498
6482
  {
6499
6483
  "kind": "method",
6500
- "name": "validate",
6501
- "privacy": "public",
6484
+ "name": "yearFormatChanged",
6485
+ "privacy": "private",
6502
6486
  "return": {
6503
6487
  "type": {
6504
6488
  "text": "void"
6505
6489
  }
6506
6490
  },
6507
- "description": "{@inheritDoc (FormAssociated:interface).validate}",
6508
- "inheritedFrom": {
6509
- "name": "Button",
6510
- "module": "src/button/button.ts"
6511
- }
6512
- },
6513
- {
6514
- "kind": "field",
6515
- "name": "handleSubmission",
6516
- "privacy": "private",
6517
- "description": "Submits the parent form",
6518
- "inheritedFrom": {
6519
- "name": "Button",
6520
- "module": "src/button/button.ts"
6521
- }
6522
- },
6523
- {
6524
- "kind": "field",
6525
- "name": "handleFormReset",
6526
- "privacy": "private",
6527
- "description": "Resets the parent form",
6528
6491
  "inheritedFrom": {
6529
- "name": "Button",
6530
- "module": "src/button/button.ts"
6492
+ "name": "Calendar",
6493
+ "module": "src/calendar/calendar.ts"
6531
6494
  }
6532
6495
  },
6533
6496
  {
6534
6497
  "kind": "field",
6535
- "name": "control",
6498
+ "name": "minWeeks",
6536
6499
  "type": {
6537
- "text": "HTMLButtonElement"
6500
+ "text": "number"
6538
6501
  },
6539
6502
  "privacy": "public",
6503
+ "default": "0",
6504
+ "description": "Minimum number of weeks to show for the month\nThis can be used to normalize the calendar view\n when changing or across multiple calendars",
6540
6505
  "inheritedFrom": {
6541
- "name": "Button",
6542
- "module": "src/button/button.ts"
6543
- }
6544
- },
6545
- {
6546
- "kind": "field",
6547
- "name": "handleUnsupportedDelegatesFocus",
6548
- "privacy": "private",
6549
- "description": "Overrides the focus call for where delegatesFocus is unsupported.\nThis check works for Chrome, Edge Chromium, FireFox, and Safari\nRelevant PR on the Firefox browser: https://phabricator.services.mozilla.com/D123858",
6550
- "inheritedFrom": {
6551
- "name": "Button",
6552
- "module": "src/button/button.ts"
6553
- }
6554
- },
6555
- {
6556
- "kind": "field",
6557
- "name": "proxy",
6558
- "inheritedFrom": {
6559
- "name": "Button",
6560
- "module": "src/button/button.ts"
6561
- }
6562
- },
6563
- {
6564
- "kind": "field",
6565
- "name": "_presentation",
6566
- "type": {
6567
- "text": "ComponentPresentation | null | undefined"
6568
- },
6569
- "privacy": "private",
6570
- "default": "void 0",
6571
- "inheritedFrom": {
6572
- "name": "Button",
6573
- "module": "src/button/button.ts"
6506
+ "name": "Calendar",
6507
+ "module": "src/calendar/calendar.ts"
6574
6508
  }
6575
6509
  },
6576
6510
  {
6577
6511
  "kind": "field",
6578
- "name": "$presentation",
6512
+ "name": "disabledDates",
6579
6513
  "type": {
6580
- "text": "ComponentPresentation | null"
6514
+ "text": "string"
6581
6515
  },
6582
6516
  "privacy": "public",
6583
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
6517
+ "default": "\"\"",
6518
+ "description": "A list of dates that should be shown as disabled",
6584
6519
  "inheritedFrom": {
6585
- "name": "Button",
6586
- "module": "src/button/button.ts"
6520
+ "name": "Calendar",
6521
+ "module": "src/calendar/calendar.ts"
6587
6522
  }
6588
6523
  },
6589
6524
  {
6590
6525
  "kind": "field",
6591
- "name": "template",
6526
+ "name": "selectedDates",
6592
6527
  "type": {
6593
- "text": "ElementViewTemplate | void | null"
6528
+ "text": "string"
6594
6529
  },
6595
6530
  "privacy": "public",
6596
- "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
6531
+ "default": "\"\"",
6532
+ "description": "A list of dates that should be shown as highlighted",
6597
6533
  "inheritedFrom": {
6598
- "name": "Button",
6599
- "module": "src/button/button.ts"
6534
+ "name": "Calendar",
6535
+ "module": "src/calendar/calendar.ts"
6600
6536
  }
6601
6537
  },
6602
6538
  {
6603
6539
  "kind": "method",
6604
- "name": "templateChanged",
6605
- "privacy": "protected",
6540
+ "name": "getMonthInfo",
6541
+ "privacy": "public",
6606
6542
  "return": {
6607
6543
  "type": {
6608
- "text": "void"
6544
+ "text": ""
6609
6545
  }
6610
6546
  },
6547
+ "parameters": [
6548
+ {
6549
+ "name": "month",
6550
+ "default": "this.month",
6551
+ "type": {
6552
+ "text": "number"
6553
+ },
6554
+ "description": "month of the calendar"
6555
+ },
6556
+ {
6557
+ "name": "year",
6558
+ "default": "this.year",
6559
+ "type": {
6560
+ "text": "number"
6561
+ },
6562
+ "description": "year of the calendar"
6563
+ }
6564
+ ],
6565
+ "description": "Gets data needed to render about a calendar month as well as the previous and next months",
6611
6566
  "inheritedFrom": {
6612
- "name": "Button",
6613
- "module": "src/button/button.ts"
6614
- }
6615
- },
6616
- {
6617
- "kind": "field",
6618
- "name": "styles",
6619
- "type": {
6620
- "text": "ElementStyles | void | null"
6621
- },
6622
- "privacy": "public",
6623
- "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
6624
- "inheritedFrom": {
6625
- "name": "Button",
6626
- "module": "src/button/button.ts"
6567
+ "name": "Calendar",
6568
+ "module": "src/calendar/calendar.ts"
6627
6569
  }
6628
6570
  },
6629
6571
  {
6630
6572
  "kind": "method",
6631
- "name": "stylesChanged",
6632
- "privacy": "protected",
6573
+ "name": "getDays",
6574
+ "privacy": "public",
6633
6575
  "return": {
6634
6576
  "type": {
6635
- "text": "void"
6577
+ "text": ""
6636
6578
  }
6637
6579
  },
6580
+ "parameters": [
6581
+ {
6582
+ "name": "info",
6583
+ "default": "this.getMonthInfo()",
6584
+ "type": {
6585
+ "text": "CalendarInfo"
6586
+ },
6587
+ "description": "an object containing the information needed to render a calendar month"
6588
+ },
6589
+ {
6590
+ "name": "minWeeks",
6591
+ "default": "this.minWeeks",
6592
+ "type": {
6593
+ "text": "number"
6594
+ },
6595
+ "description": "minimum number of weeks to show"
6596
+ }
6597
+ ],
6598
+ "description": "A list of calendar days",
6638
6599
  "inheritedFrom": {
6639
- "name": "Button",
6640
- "module": "src/button/button.ts"
6600
+ "name": "Calendar",
6601
+ "module": "src/calendar/calendar.ts"
6641
6602
  }
6642
6603
  },
6643
6604
  {
6644
6605
  "kind": "method",
6645
- "name": "compose",
6606
+ "name": "dateInString",
6646
6607
  "privacy": "public",
6647
- "static": true,
6648
6608
  "return": {
6649
6609
  "type": {
6650
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
6610
+ "text": ""
6651
6611
  }
6652
6612
  },
6653
6613
  "parameters": [
6654
6614
  {
6655
- "name": "this",
6615
+ "name": "date",
6656
6616
  "type": {
6657
- "text": "K"
6658
- }
6617
+ "text": "Date | string"
6618
+ },
6619
+ "description": "A date objec that includes the day, month and year"
6659
6620
  },
6660
6621
  {
6661
- "name": "elementDefinition",
6622
+ "name": "datesString",
6662
6623
  "type": {
6663
- "text": "T"
6624
+ "text": "string"
6664
6625
  },
6665
- "description": "The definition of the element to create the registry\nfunction for."
6626
+ "description": "a comma separated list of dates"
6666
6627
  }
6667
6628
  ],
6668
- "description": "Defines an element registry function with a set of element definition defaults.",
6629
+ "description": "A helper function that checks if a date exists in a list of dates",
6669
6630
  "inheritedFrom": {
6670
- "name": "Button",
6671
- "module": "src/button/button.ts"
6672
- }
6631
+ "name": "Calendar",
6632
+ "module": "src/calendar/calendar.ts"
6633
+ }
6634
+ },
6635
+ {
6636
+ "kind": "method",
6637
+ "name": "getDayClassNames",
6638
+ "privacy": "public",
6639
+ "return": {
6640
+ "type": {
6641
+ "text": ""
6642
+ }
6643
+ },
6644
+ "parameters": [
6645
+ {
6646
+ "name": "date",
6647
+ "type": {
6648
+ "text": "CalendarDateInfo"
6649
+ },
6650
+ "description": "date of the calendar cell"
6651
+ },
6652
+ {
6653
+ "name": "todayString",
6654
+ "optional": true,
6655
+ "type": {
6656
+ "text": "string"
6657
+ }
6658
+ }
6659
+ ],
6660
+ "description": "Creates a class string for the day container",
6661
+ "inheritedFrom": {
6662
+ "name": "Calendar",
6663
+ "module": "src/calendar/calendar.ts"
6664
+ }
6665
+ },
6666
+ {
6667
+ "kind": "method",
6668
+ "name": "getWeekdayText",
6669
+ "privacy": "public",
6670
+ "return": {
6671
+ "type": {
6672
+ "text": ""
6673
+ }
6674
+ },
6675
+ "description": "Returns a list of weekday labels",
6676
+ "inheritedFrom": {
6677
+ "name": "Calendar",
6678
+ "module": "src/calendar/calendar.ts"
6679
+ }
6680
+ },
6681
+ {
6682
+ "kind": "method",
6683
+ "name": "handleDateSelect",
6684
+ "privacy": "public",
6685
+ "return": {
6686
+ "type": {
6687
+ "text": "void"
6688
+ }
6689
+ },
6690
+ "parameters": [
6691
+ {
6692
+ "name": "event",
6693
+ "type": {
6694
+ "text": "Event"
6695
+ }
6696
+ },
6697
+ {
6698
+ "name": "day",
6699
+ "type": {
6700
+ "text": "CalendarDateInfo"
6701
+ }
6702
+ },
6703
+ {
6704
+ "description": "Date cell",
6705
+ "name": "date"
6706
+ }
6707
+ ],
6708
+ "description": "Emits the \"date-select\" event with the day, month and year.",
6709
+ "inheritedFrom": {
6710
+ "name": "Calendar",
6711
+ "module": "src/calendar/calendar.ts"
6712
+ }
6713
+ },
6714
+ {
6715
+ "kind": "method",
6716
+ "name": "handleKeydown",
6717
+ "privacy": "public",
6718
+ "return": {
6719
+ "type": {
6720
+ "text": "boolean"
6721
+ }
6722
+ },
6723
+ "parameters": [
6724
+ {
6725
+ "name": "event",
6726
+ "type": {
6727
+ "text": "KeyboardEvent"
6728
+ },
6729
+ "description": "Keyboard event"
6730
+ },
6731
+ {
6732
+ "name": "date",
6733
+ "type": {
6734
+ "text": "CalendarDateInfo"
6735
+ },
6736
+ "description": "Date of the cell selected"
6737
+ }
6738
+ ],
6739
+ "description": "Handles keyboard events on a cell",
6740
+ "inheritedFrom": {
6741
+ "name": "Calendar",
6742
+ "module": "src/calendar/calendar.ts"
6743
+ }
6744
+ },
6745
+ {
6746
+ "kind": "field",
6747
+ "name": "_presentation",
6748
+ "type": {
6749
+ "text": "ComponentPresentation | null | undefined"
6750
+ },
6751
+ "privacy": "private",
6752
+ "default": "void 0",
6753
+ "inheritedFrom": {
6754
+ "name": "FoundationElement",
6755
+ "module": "src/foundation-element/foundation-element.ts"
6756
+ }
6757
+ },
6758
+ {
6759
+ "kind": "field",
6760
+ "name": "$presentation",
6761
+ "type": {
6762
+ "text": "ComponentPresentation | null"
6763
+ },
6764
+ "privacy": "public",
6765
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
6766
+ "inheritedFrom": {
6767
+ "name": "FoundationElement",
6768
+ "module": "src/foundation-element/foundation-element.ts"
6769
+ }
6770
+ },
6771
+ {
6772
+ "kind": "field",
6773
+ "name": "template",
6774
+ "type": {
6775
+ "text": "ElementViewTemplate | void | null"
6776
+ },
6777
+ "privacy": "public",
6778
+ "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
6779
+ "inheritedFrom": {
6780
+ "name": "FoundationElement",
6781
+ "module": "src/foundation-element/foundation-element.ts"
6782
+ }
6783
+ },
6784
+ {
6785
+ "kind": "method",
6786
+ "name": "templateChanged",
6787
+ "privacy": "protected",
6788
+ "return": {
6789
+ "type": {
6790
+ "text": "void"
6791
+ }
6792
+ },
6793
+ "inheritedFrom": {
6794
+ "name": "FoundationElement",
6795
+ "module": "src/foundation-element/foundation-element.ts"
6796
+ }
6797
+ },
6798
+ {
6799
+ "kind": "field",
6800
+ "name": "styles",
6801
+ "type": {
6802
+ "text": "ElementStyles | void | null"
6803
+ },
6804
+ "privacy": "public",
6805
+ "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
6806
+ "inheritedFrom": {
6807
+ "name": "FoundationElement",
6808
+ "module": "src/foundation-element/foundation-element.ts"
6809
+ }
6810
+ },
6811
+ {
6812
+ "kind": "method",
6813
+ "name": "stylesChanged",
6814
+ "privacy": "protected",
6815
+ "return": {
6816
+ "type": {
6817
+ "text": "void"
6818
+ }
6819
+ },
6820
+ "inheritedFrom": {
6821
+ "name": "FoundationElement",
6822
+ "module": "src/foundation-element/foundation-element.ts"
6823
+ }
6824
+ },
6825
+ {
6826
+ "kind": "method",
6827
+ "name": "compose",
6828
+ "privacy": "public",
6829
+ "static": true,
6830
+ "return": {
6831
+ "type": {
6832
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
6833
+ }
6834
+ },
6835
+ "parameters": [
6836
+ {
6837
+ "name": "this",
6838
+ "type": {
6839
+ "text": "K"
6840
+ }
6841
+ },
6842
+ {
6843
+ "name": "elementDefinition",
6844
+ "type": {
6845
+ "text": "T"
6846
+ },
6847
+ "description": "The definition of the element to create the registry\nfunction for."
6848
+ }
6849
+ ],
6850
+ "description": "Defines an element registry function with a set of element definition defaults.",
6851
+ "inheritedFrom": {
6852
+ "name": "FoundationElement",
6853
+ "module": "src/foundation-element/foundation-element.ts"
6854
+ }
6855
+ }
6856
+ ],
6857
+ "events": [
6858
+ {
6859
+ "description": "Fires a custom 'dateselected' event when Enter is invoked via keyboard on a date",
6860
+ "name": "dateselected",
6861
+ "inheritedFrom": {
6862
+ "name": "Calendar",
6863
+ "module": "src/calendar/calendar.ts"
6864
+ }
6673
6865
  }
6674
6866
  ]
6675
6867
  },
6676
6868
  {
6677
6869
  "kind": "variable",
6678
- "name": "foundationButtonShadowOptions",
6870
+ "name": "foundationCalendarShadowOptions",
6679
6871
  "type": {
6680
6872
  "text": "ShadowRootInit"
6681
6873
  },
@@ -6683,7 +6875,7 @@
6683
6875
  },
6684
6876
  {
6685
6877
  "kind": "variable",
6686
- "name": "defaultButtonConfig",
6878
+ "name": "defaultCalendarConfig",
6687
6879
  "type": {
6688
6880
  "text": "object"
6689
6881
  },
@@ -6691,49 +6883,49 @@
6691
6883
  },
6692
6884
  {
6693
6885
  "kind": "variable",
6694
- "name": "foundationButton",
6695
- "description": "The Foundation Button",
6886
+ "name": "foundationCalendar",
6887
+ "description": "The Foundation Calendar",
6696
6888
  "privacy": "public"
6697
6889
  }
6698
6890
  ],
6699
6891
  "exports": [
6700
6892
  {
6701
6893
  "kind": "js",
6702
- "name": "Button",
6894
+ "name": "Calendar",
6703
6895
  "declaration": {
6704
- "name": "Button",
6705
- "module": "src/button/button.ts"
6896
+ "name": "Calendar",
6897
+ "module": "src/calendar/calendar.ts"
6706
6898
  }
6707
6899
  },
6708
6900
  {
6709
6901
  "kind": "js",
6710
- "name": "foundationButtonShadowOptions",
6902
+ "name": "foundationCalendarShadowOptions",
6711
6903
  "declaration": {
6712
- "name": "foundationButtonShadowOptions",
6713
- "module": "src/button/button.ts"
6904
+ "name": "foundationCalendarShadowOptions",
6905
+ "module": "src/calendar/calendar.ts"
6714
6906
  }
6715
6907
  },
6716
6908
  {
6717
6909
  "kind": "js",
6718
- "name": "defaultButtonConfig",
6910
+ "name": "defaultCalendarConfig",
6719
6911
  "declaration": {
6720
- "name": "defaultButtonConfig",
6721
- "module": "src/button/button.ts"
6912
+ "name": "defaultCalendarConfig",
6913
+ "module": "src/calendar/calendar.ts"
6722
6914
  }
6723
6915
  },
6724
6916
  {
6725
6917
  "kind": "js",
6726
- "name": "foundationButton",
6918
+ "name": "foundationCalendar",
6727
6919
  "declaration": {
6728
- "name": "foundationButton",
6729
- "module": "src/button/button.ts"
6920
+ "name": "foundationCalendar",
6921
+ "module": "src/calendar/calendar.ts"
6730
6922
  }
6731
6923
  }
6732
6924
  ]
6733
6925
  },
6734
6926
  {
6735
6927
  "kind": "javascript-module",
6736
- "path": "src/button/index.ts",
6928
+ "path": "src/calendar/index.ts",
6737
6929
  "declarations": [],
6738
6930
  "exports": [
6739
6931
  {
@@ -6741,7 +6933,7 @@
6741
6933
  "name": "*",
6742
6934
  "declaration": {
6743
6935
  "name": "*",
6744
- "package": "./button.template"
6936
+ "package": "./calendar"
6745
6937
  }
6746
6938
  },
6747
6939
  {
@@ -6749,7 +6941,7 @@
6749
6941
  "name": "*",
6750
6942
  "declaration": {
6751
6943
  "name": "*",
6752
- "package": "./button.styles"
6944
+ "package": "./calendar.template"
6753
6945
  }
6754
6946
  },
6755
6947
  {
@@ -6757,47 +6949,22 @@
6757
6949
  "name": "*",
6758
6950
  "declaration": {
6759
6951
  "name": "*",
6760
- "package": "./button"
6952
+ "package": "./calendar.styles"
6761
6953
  }
6762
6954
  }
6763
6955
  ]
6764
6956
  },
6765
6957
  {
6766
6958
  "kind": "javascript-module",
6767
- "path": "src/calendar/calendar.styles.ts",
6959
+ "path": "src/card/card.styles.ts",
6768
6960
  "declarations": [
6769
6961
  {
6770
6962
  "kind": "function",
6771
- "name": "foundationCalendarStyles",
6963
+ "name": "foundationCardStyles",
6772
6964
  "return": {
6773
6965
  "type": {
6774
6966
  "text": "ElementStyles"
6775
6967
  }
6776
- }
6777
- }
6778
- ],
6779
- "exports": [
6780
- {
6781
- "kind": "js",
6782
- "name": "foundationCalendarStyles",
6783
- "declaration": {
6784
- "name": "foundationCalendarStyles",
6785
- "module": "src/calendar/calendar.styles.ts"
6786
- }
6787
- }
6788
- ]
6789
- },
6790
- {
6791
- "kind": "javascript-module",
6792
- "path": "src/calendar/calendar.template.ts",
6793
- "declarations": [
6794
- {
6795
- "kind": "function",
6796
- "name": "foundationCalendarTemplate",
6797
- "return": {
6798
- "type": {
6799
- "text": "ViewTemplate<Calendar>"
6800
- }
6801
6968
  },
6802
6969
  "parameters": [
6803
6970
  {
@@ -6818,895 +6985,728 @@
6818
6985
  "exports": [
6819
6986
  {
6820
6987
  "kind": "js",
6821
- "name": "foundationCalendarTemplate",
6988
+ "name": "foundationCardStyles",
6822
6989
  "declaration": {
6823
- "name": "foundationCalendarTemplate",
6824
- "module": "src/calendar/calendar.template.ts"
6990
+ "name": "foundationCardStyles",
6991
+ "module": "src/card/card.styles.ts"
6825
6992
  }
6826
6993
  }
6827
6994
  ]
6828
6995
  },
6829
6996
  {
6830
6997
  "kind": "javascript-module",
6831
- "path": "src/calendar/calendar.ts",
6998
+ "path": "src/card/card.template.ts",
6832
6999
  "declarations": [
6833
7000
  {
6834
- "kind": "class",
6835
- "description": "",
6836
- "name": "Calendar",
6837
- "superclass": {
6838
- "name": "FASTCalendar",
6839
- "package": "@microsoft/fast-components"
7001
+ "kind": "function",
7002
+ "name": "foundationCardTemplate",
7003
+ "return": {
7004
+ "type": {
7005
+ "text": "ViewTemplate<Card>"
7006
+ }
6840
7007
  },
6841
- "tagName": "%%prefix%%-calendar",
6842
- "customElement": true,
6843
- "attributes": [
6844
- {
6845
- "type": {
6846
- "text": "number"
6847
- },
6848
- "description": "Readonly attribute for turning off data-grid",
6849
- "fieldName": "readonly",
6850
- "default": "false",
6851
- "inheritedFrom": {
6852
- "name": "Calendar",
6853
- "module": "src/calendar/calendar.ts"
6854
- }
6855
- },
6856
- {
6857
- "name": "locale",
6858
- "type": {
6859
- "text": "string"
6860
- },
6861
- "default": "\"en-US\"",
6862
- "description": "String repesentation of the full locale including market, calendar type and numbering system",
6863
- "fieldName": "locale",
6864
- "inheritedFrom": {
6865
- "name": "Calendar",
6866
- "module": "src/calendar/calendar.ts"
6867
- }
6868
- },
6869
- {
6870
- "name": "day-format",
6871
- "type": {
6872
- "text": "DayFormat"
6873
- },
6874
- "default": "\"numeric\"",
6875
- "description": "Format style for the day",
6876
- "fieldName": "dayFormat",
6877
- "inheritedFrom": {
6878
- "name": "Calendar",
6879
- "module": "src/calendar/calendar.ts"
6880
- }
6881
- },
6882
- {
6883
- "name": "weekday-format",
6884
- "type": {
6885
- "text": "WeekdayFormat"
6886
- },
6887
- "default": "\"short\"",
6888
- "description": "Format style for the week day labels",
6889
- "fieldName": "weekdayFormat",
6890
- "inheritedFrom": {
6891
- "name": "Calendar",
6892
- "module": "src/calendar/calendar.ts"
6893
- }
6894
- },
6895
- {
6896
- "name": "month-format",
6897
- "type": {
6898
- "text": "MonthFormat"
6899
- },
6900
- "default": "\"long\"",
6901
- "description": "Format style for the month label",
6902
- "fieldName": "monthFormat",
6903
- "inheritedFrom": {
6904
- "name": "Calendar",
6905
- "module": "src/calendar/calendar.ts"
6906
- }
6907
- },
6908
- {
6909
- "name": "year-format",
6910
- "type": {
6911
- "text": "YearFormat"
6912
- },
6913
- "default": "\"numeric\"",
6914
- "description": "Format style for the year used in the title",
6915
- "fieldName": "yearFormat",
6916
- "inheritedFrom": {
6917
- "name": "Calendar",
6918
- "module": "src/calendar/calendar.ts"
6919
- }
6920
- },
6921
- {
6922
- "name": "min-weeks",
6923
- "type": {
6924
- "text": "number"
6925
- },
6926
- "default": "0",
6927
- "description": "Minimum number of weeks to show for the month\nThis can be used to normalize the calendar view\n when changing or across multiple calendars",
6928
- "fieldName": "minWeeks",
6929
- "inheritedFrom": {
6930
- "name": "Calendar",
6931
- "module": "src/calendar/calendar.ts"
6932
- }
6933
- },
7008
+ "parameters": [
6934
7009
  {
6935
- "name": "disabled-dates",
7010
+ "name": "context",
6936
7011
  "type": {
6937
- "text": "string"
6938
- },
6939
- "default": "\"\"",
6940
- "description": "A list of dates that should be shown as disabled",
6941
- "fieldName": "disabledDates",
6942
- "inheritedFrom": {
6943
- "name": "Calendar",
6944
- "module": "src/calendar/calendar.ts"
7012
+ "text": "ElementDefinitionContext"
6945
7013
  }
6946
7014
  },
6947
7015
  {
6948
- "name": "selected-dates",
7016
+ "name": "definition",
6949
7017
  "type": {
6950
- "text": "string"
6951
- },
6952
- "default": "\"\"",
6953
- "description": "A list of dates that should be shown as highlighted",
6954
- "fieldName": "selectedDates",
6955
- "inheritedFrom": {
6956
- "name": "Calendar",
6957
- "module": "src/calendar/calendar.ts"
7018
+ "text": "FoundationElementDefinition"
6958
7019
  }
6959
7020
  }
6960
- ],
7021
+ ]
7022
+ }
7023
+ ],
7024
+ "exports": [
7025
+ {
7026
+ "kind": "js",
7027
+ "name": "foundationCardTemplate",
7028
+ "declaration": {
7029
+ "name": "foundationCardTemplate",
7030
+ "module": "src/card/card.template.ts"
7031
+ }
7032
+ }
7033
+ ]
7034
+ },
7035
+ {
7036
+ "kind": "javascript-module",
7037
+ "path": "src/card/card.ts",
7038
+ "declarations": [
7039
+ {
7040
+ "kind": "class",
7041
+ "description": "",
7042
+ "name": "Card",
7043
+ "superclass": {
7044
+ "name": "FASTCard",
7045
+ "package": "@microsoft/fast-components"
7046
+ },
7047
+ "tagName": "%%prefix%%-card",
7048
+ "customElement": true,
6961
7049
  "members": [
6962
7050
  {
6963
7051
  "kind": "field",
6964
- "name": "dateFormatter",
7052
+ "name": "_presentation",
6965
7053
  "type": {
6966
- "text": "DateFormatter"
7054
+ "text": "ComponentPresentation | null | undefined"
6967
7055
  },
6968
- "privacy": "public",
6969
- "default": "new DateFormatter()",
6970
- "description": "date formatter utitlity for getting localized strings",
7056
+ "privacy": "private",
7057
+ "default": "void 0",
6971
7058
  "inheritedFrom": {
6972
- "name": "Calendar",
6973
- "module": "src/calendar/calendar.ts"
7059
+ "name": "FoundationElement",
7060
+ "module": "src/foundation-element/foundation-element.ts"
6974
7061
  }
6975
7062
  },
6976
7063
  {
6977
7064
  "kind": "field",
6978
- "name": "readonly",
7065
+ "name": "$presentation",
6979
7066
  "type": {
6980
- "text": "boolean"
7067
+ "text": "ComponentPresentation | null"
6981
7068
  },
6982
7069
  "privacy": "public",
6983
- "default": "false",
6984
- "description": "Readonly attribute for turning off data-grid",
7070
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
6985
7071
  "inheritedFrom": {
6986
- "name": "Calendar",
6987
- "module": "src/calendar/calendar.ts"
7072
+ "name": "FoundationElement",
7073
+ "module": "src/foundation-element/foundation-element.ts"
6988
7074
  }
6989
7075
  },
6990
7076
  {
6991
7077
  "kind": "field",
6992
- "name": "locale",
7078
+ "name": "template",
6993
7079
  "type": {
6994
- "text": "string"
7080
+ "text": "ElementViewTemplate | void | null"
6995
7081
  },
6996
7082
  "privacy": "public",
6997
- "default": "\"en-US\"",
6998
- "description": "String repesentation of the full locale including market, calendar type and numbering system",
7083
+ "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
6999
7084
  "inheritedFrom": {
7000
- "name": "Calendar",
7001
- "module": "src/calendar/calendar.ts"
7085
+ "name": "FoundationElement",
7086
+ "module": "src/foundation-element/foundation-element.ts"
7002
7087
  }
7003
7088
  },
7004
7089
  {
7005
7090
  "kind": "method",
7006
- "name": "localeChanged",
7007
- "privacy": "private",
7091
+ "name": "templateChanged",
7092
+ "privacy": "protected",
7008
7093
  "return": {
7009
7094
  "type": {
7010
7095
  "text": "void"
7011
7096
  }
7012
7097
  },
7013
7098
  "inheritedFrom": {
7014
- "name": "Calendar",
7015
- "module": "src/calendar/calendar.ts"
7016
- }
7017
- },
7018
- {
7019
- "kind": "field",
7020
- "name": "month",
7021
- "type": {
7022
- "text": "number"
7023
- },
7024
- "privacy": "public",
7025
- "description": "Month to display",
7026
- "inheritedFrom": {
7027
- "name": "Calendar",
7028
- "module": "src/calendar/calendar.ts"
7099
+ "name": "FoundationElement",
7100
+ "module": "src/foundation-element/foundation-element.ts"
7029
7101
  }
7030
7102
  },
7031
7103
  {
7032
7104
  "kind": "field",
7033
- "name": "year",
7105
+ "name": "styles",
7034
7106
  "type": {
7035
- "text": "number"
7107
+ "text": "ElementStyles | void | null"
7036
7108
  },
7037
7109
  "privacy": "public",
7038
- "description": "Year of the month to display",
7110
+ "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
7039
7111
  "inheritedFrom": {
7040
- "name": "Calendar",
7041
- "module": "src/calendar/calendar.ts"
7112
+ "name": "FoundationElement",
7113
+ "module": "src/foundation-element/foundation-element.ts"
7042
7114
  }
7043
7115
  },
7044
7116
  {
7045
- "kind": "field",
7046
- "name": "dayFormat",
7047
- "type": {
7048
- "text": "DayFormat"
7117
+ "kind": "method",
7118
+ "name": "stylesChanged",
7119
+ "privacy": "protected",
7120
+ "return": {
7121
+ "type": {
7122
+ "text": "void"
7123
+ }
7049
7124
  },
7050
- "privacy": "public",
7051
- "default": "\"numeric\"",
7052
- "description": "Format style for the day",
7053
7125
  "inheritedFrom": {
7054
- "name": "Calendar",
7055
- "module": "src/calendar/calendar.ts"
7126
+ "name": "FoundationElement",
7127
+ "module": "src/foundation-element/foundation-element.ts"
7056
7128
  }
7057
7129
  },
7058
7130
  {
7059
7131
  "kind": "method",
7060
- "name": "dayFormatChanged",
7061
- "privacy": "private",
7132
+ "name": "compose",
7133
+ "privacy": "public",
7134
+ "static": true,
7062
7135
  "return": {
7063
7136
  "type": {
7064
- "text": "void"
7137
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
7065
7138
  }
7066
7139
  },
7140
+ "parameters": [
7141
+ {
7142
+ "name": "this",
7143
+ "type": {
7144
+ "text": "K"
7145
+ }
7146
+ },
7147
+ {
7148
+ "name": "elementDefinition",
7149
+ "type": {
7150
+ "text": "T"
7151
+ },
7152
+ "description": "The definition of the element to create the registry\nfunction for."
7153
+ }
7154
+ ],
7155
+ "description": "Defines an element registry function with a set of element definition defaults.",
7067
7156
  "inheritedFrom": {
7068
- "name": "Calendar",
7069
- "module": "src/calendar/calendar.ts"
7157
+ "name": "FoundationElement",
7158
+ "module": "src/foundation-element/foundation-element.ts"
7159
+ }
7160
+ }
7161
+ ]
7162
+ },
7163
+ {
7164
+ "kind": "variable",
7165
+ "name": "foundationCardShadowOptions",
7166
+ "type": {
7167
+ "text": "ShadowRootInit"
7168
+ },
7169
+ "default": "undefined"
7170
+ },
7171
+ {
7172
+ "kind": "variable",
7173
+ "name": "defaultCardConfig",
7174
+ "type": {
7175
+ "text": "object"
7176
+ },
7177
+ "default": "{}"
7178
+ },
7179
+ {
7180
+ "kind": "variable",
7181
+ "name": "foundationCard",
7182
+ "description": "The Foundation Card",
7183
+ "privacy": "public"
7184
+ }
7185
+ ],
7186
+ "exports": [
7187
+ {
7188
+ "kind": "js",
7189
+ "name": "Card",
7190
+ "declaration": {
7191
+ "name": "Card",
7192
+ "module": "src/card/card.ts"
7193
+ }
7194
+ },
7195
+ {
7196
+ "kind": "js",
7197
+ "name": "foundationCardShadowOptions",
7198
+ "declaration": {
7199
+ "name": "foundationCardShadowOptions",
7200
+ "module": "src/card/card.ts"
7201
+ }
7202
+ },
7203
+ {
7204
+ "kind": "js",
7205
+ "name": "defaultCardConfig",
7206
+ "declaration": {
7207
+ "name": "defaultCardConfig",
7208
+ "module": "src/card/card.ts"
7209
+ }
7210
+ },
7211
+ {
7212
+ "kind": "js",
7213
+ "name": "foundationCard",
7214
+ "declaration": {
7215
+ "name": "foundationCard",
7216
+ "module": "src/card/card.ts"
7217
+ }
7218
+ }
7219
+ ]
7220
+ },
7221
+ {
7222
+ "kind": "javascript-module",
7223
+ "path": "src/card/index.ts",
7224
+ "declarations": [],
7225
+ "exports": [
7226
+ {
7227
+ "kind": "js",
7228
+ "name": "*",
7229
+ "declaration": {
7230
+ "name": "*",
7231
+ "package": "./card.template"
7232
+ }
7233
+ },
7234
+ {
7235
+ "kind": "js",
7236
+ "name": "*",
7237
+ "declaration": {
7238
+ "name": "*",
7239
+ "package": "./card.styles"
7240
+ }
7241
+ },
7242
+ {
7243
+ "kind": "js",
7244
+ "name": "*",
7245
+ "declaration": {
7246
+ "name": "*",
7247
+ "package": "./card"
7248
+ }
7249
+ }
7250
+ ]
7251
+ },
7252
+ {
7253
+ "kind": "javascript-module",
7254
+ "path": "src/button/button.styles.ts",
7255
+ "declarations": [
7256
+ {
7257
+ "kind": "function",
7258
+ "name": "foundationButtonStyles",
7259
+ "return": {
7260
+ "type": {
7261
+ "text": "ElementStyles"
7262
+ }
7263
+ },
7264
+ "parameters": [
7265
+ {
7266
+ "name": "context",
7267
+ "type": {
7268
+ "text": "ElementDefinitionContext"
7070
7269
  }
7071
7270
  },
7072
7271
  {
7073
- "kind": "field",
7074
- "name": "weekdayFormat",
7272
+ "name": "definition",
7075
7273
  "type": {
7076
- "text": "WeekdayFormat"
7077
- },
7078
- "privacy": "public",
7079
- "default": "\"short\"",
7080
- "description": "Format style for the week day labels",
7081
- "inheritedFrom": {
7082
- "name": "Calendar",
7083
- "module": "src/calendar/calendar.ts"
7274
+ "text": "FoundationElementDefinition"
7084
7275
  }
7085
- },
7276
+ }
7277
+ ]
7278
+ }
7279
+ ],
7280
+ "exports": [
7281
+ {
7282
+ "kind": "js",
7283
+ "name": "foundationButtonStyles",
7284
+ "declaration": {
7285
+ "name": "foundationButtonStyles",
7286
+ "module": "src/button/button.styles.ts"
7287
+ }
7288
+ }
7289
+ ]
7290
+ },
7291
+ {
7292
+ "kind": "javascript-module",
7293
+ "path": "src/button/button.template.ts",
7294
+ "declarations": [
7295
+ {
7296
+ "kind": "function",
7297
+ "name": "foundationButtonTemplate",
7298
+ "return": {
7299
+ "type": {
7300
+ "text": "ViewTemplate<Button>"
7301
+ }
7302
+ },
7303
+ "parameters": [
7086
7304
  {
7087
- "kind": "method",
7088
- "name": "weekdayFormatChanged",
7089
- "privacy": "private",
7090
- "return": {
7091
- "type": {
7092
- "text": "void"
7093
- }
7094
- },
7095
- "inheritedFrom": {
7096
- "name": "Calendar",
7097
- "module": "src/calendar/calendar.ts"
7305
+ "name": "context",
7306
+ "type": {
7307
+ "text": "ElementDefinitionContext"
7098
7308
  }
7099
7309
  },
7100
7310
  {
7101
- "kind": "field",
7102
- "name": "monthFormat",
7311
+ "name": "definition",
7103
7312
  "type": {
7104
- "text": "MonthFormat"
7105
- },
7106
- "privacy": "public",
7107
- "default": "\"long\"",
7108
- "description": "Format style for the month label",
7109
- "inheritedFrom": {
7110
- "name": "Calendar",
7111
- "module": "src/calendar/calendar.ts"
7313
+ "text": "FoundationElementDefinition"
7112
7314
  }
7113
- },
7315
+ }
7316
+ ]
7317
+ }
7318
+ ],
7319
+ "exports": [
7320
+ {
7321
+ "kind": "js",
7322
+ "name": "foundationButtonTemplate",
7323
+ "declaration": {
7324
+ "name": "foundationButtonTemplate",
7325
+ "module": "src/button/button.template.ts"
7326
+ }
7327
+ }
7328
+ ]
7329
+ },
7330
+ {
7331
+ "kind": "javascript-module",
7332
+ "path": "src/button/button.ts",
7333
+ "declarations": [
7334
+ {
7335
+ "kind": "class",
7336
+ "description": "",
7337
+ "name": "Button",
7338
+ "superclass": {
7339
+ "name": "FASTButton",
7340
+ "package": "@microsoft/fast-components"
7341
+ },
7342
+ "tagName": "%%prefix%%-button",
7343
+ "customElement": true,
7344
+ "attributes": [
7114
7345
  {
7115
- "kind": "method",
7116
- "name": "monthFormatChanged",
7117
- "privacy": "private",
7118
- "return": {
7119
- "type": {
7120
- "text": "void"
7121
- }
7346
+ "type": {
7347
+ "text": "boolean"
7122
7348
  },
7349
+ "description": "Determines if the element should receive document focus on page load.",
7350
+ "fieldName": "autofocus",
7123
7351
  "inheritedFrom": {
7124
- "name": "Calendar",
7125
- "module": "src/calendar/calendar.ts"
7352
+ "name": "Button",
7353
+ "module": "src/button/button.ts"
7126
7354
  }
7127
7355
  },
7128
7356
  {
7129
- "kind": "field",
7130
- "name": "yearFormat",
7357
+ "name": "form",
7131
7358
  "type": {
7132
- "text": "YearFormat"
7359
+ "text": "string"
7133
7360
  },
7134
- "privacy": "public",
7135
- "default": "\"numeric\"",
7136
- "description": "Format style for the year used in the title",
7361
+ "description": "The id of a form to associate the element to.",
7362
+ "fieldName": "formId",
7137
7363
  "inheritedFrom": {
7138
- "name": "Calendar",
7139
- "module": "src/calendar/calendar.ts"
7364
+ "name": "Button",
7365
+ "module": "src/button/button.ts"
7140
7366
  }
7141
7367
  },
7142
7368
  {
7143
- "kind": "method",
7144
- "name": "yearFormatChanged",
7145
- "privacy": "private",
7146
- "return": {
7147
- "type": {
7148
- "text": "void"
7149
- }
7369
+ "name": "formaction",
7370
+ "type": {
7371
+ "text": "string"
7150
7372
  },
7373
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button | <button> element for more details.",
7374
+ "fieldName": "formaction",
7151
7375
  "inheritedFrom": {
7152
- "name": "Calendar",
7153
- "module": "src/calendar/calendar.ts"
7376
+ "name": "Button",
7377
+ "module": "src/button/button.ts"
7154
7378
  }
7155
7379
  },
7156
7380
  {
7157
- "kind": "field",
7158
- "name": "minWeeks",
7381
+ "name": "formenctype",
7159
7382
  "type": {
7160
- "text": "number"
7383
+ "text": "string"
7161
7384
  },
7162
- "privacy": "public",
7163
- "default": "0",
7164
- "description": "Minimum number of weeks to show for the month\nThis can be used to normalize the calendar view\n when changing or across multiple calendars",
7385
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button | <button> element for more details.",
7386
+ "fieldName": "formenctype",
7165
7387
  "inheritedFrom": {
7166
- "name": "Calendar",
7167
- "module": "src/calendar/calendar.ts"
7388
+ "name": "Button",
7389
+ "module": "src/button/button.ts"
7168
7390
  }
7169
7391
  },
7170
7392
  {
7171
- "kind": "field",
7172
- "name": "disabledDates",
7393
+ "name": "formmethod",
7173
7394
  "type": {
7174
7395
  "text": "string"
7175
7396
  },
7176
- "privacy": "public",
7177
- "default": "\"\"",
7178
- "description": "A list of dates that should be shown as disabled",
7397
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button | <button> element for more details.",
7398
+ "fieldName": "formmethod",
7179
7399
  "inheritedFrom": {
7180
- "name": "Calendar",
7181
- "module": "src/calendar/calendar.ts"
7400
+ "name": "Button",
7401
+ "module": "src/button/button.ts"
7182
7402
  }
7183
7403
  },
7184
7404
  {
7185
- "kind": "field",
7186
- "name": "selectedDates",
7405
+ "name": "formtarget",
7187
7406
  "type": {
7188
- "text": "string"
7407
+ "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
7189
7408
  },
7190
- "privacy": "public",
7191
- "default": "\"\"",
7192
- "description": "A list of dates that should be shown as highlighted",
7409
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button | <button> element for more details.",
7410
+ "fieldName": "formtarget",
7193
7411
  "inheritedFrom": {
7194
- "name": "Calendar",
7195
- "module": "src/calendar/calendar.ts"
7412
+ "name": "Button",
7413
+ "module": "src/button/button.ts"
7196
7414
  }
7197
7415
  },
7198
7416
  {
7199
- "kind": "method",
7200
- "name": "getMonthInfo",
7201
- "privacy": "public",
7202
- "return": {
7203
- "type": {
7204
- "text": ""
7205
- }
7417
+ "name": "type",
7418
+ "type": {
7419
+ "text": "\"submit\" | \"reset\" | \"button\""
7206
7420
  },
7207
- "parameters": [
7208
- {
7209
- "name": "month",
7210
- "default": "this.month",
7211
- "type": {
7212
- "text": "number"
7213
- },
7214
- "description": "month of the calendar"
7215
- },
7216
- {
7217
- "name": "year",
7218
- "default": "this.year",
7219
- "type": {
7220
- "text": "number"
7221
- },
7222
- "description": "year of the calendar"
7223
- }
7224
- ],
7225
- "description": "Gets data needed to render about a calendar month as well as the previous and next months",
7421
+ "description": "The button type.",
7422
+ "fieldName": "type",
7226
7423
  "inheritedFrom": {
7227
- "name": "Calendar",
7228
- "module": "src/calendar/calendar.ts"
7424
+ "name": "Button",
7425
+ "module": "src/button/button.ts"
7229
7426
  }
7230
- },
7427
+ }
7428
+ ],
7429
+ "members": [
7231
7430
  {
7232
- "kind": "method",
7233
- "name": "getDays",
7234
- "privacy": "public",
7235
- "return": {
7236
- "type": {
7237
- "text": ""
7238
- }
7431
+ "kind": "field",
7432
+ "name": "autofocus",
7433
+ "type": {
7434
+ "text": "boolean"
7239
7435
  },
7240
- "parameters": [
7241
- {
7242
- "name": "info",
7243
- "default": "this.getMonthInfo()",
7244
- "type": {
7245
- "text": "CalendarInfo"
7246
- },
7247
- "description": "an object containing the information needed to render a calendar month"
7248
- },
7249
- {
7250
- "name": "minWeeks",
7251
- "default": "this.minWeeks",
7252
- "type": {
7253
- "text": "number"
7254
- },
7255
- "description": "minimum number of weeks to show"
7256
- }
7257
- ],
7258
- "description": "A list of calendar days",
7436
+ "privacy": "public",
7437
+ "description": "Determines if the element should receive document focus on page load.",
7259
7438
  "inheritedFrom": {
7260
- "name": "Calendar",
7261
- "module": "src/calendar/calendar.ts"
7439
+ "name": "Button",
7440
+ "module": "src/button/button.ts"
7262
7441
  }
7263
7442
  },
7264
7443
  {
7265
- "kind": "method",
7266
- "name": "dateInString",
7444
+ "kind": "field",
7445
+ "name": "formId",
7446
+ "type": {
7447
+ "text": "string"
7448
+ },
7267
7449
  "privacy": "public",
7268
- "return": {
7269
- "type": {
7270
- "text": ""
7271
- }
7450
+ "description": "The id of a form to associate the element to.",
7451
+ "inheritedFrom": {
7452
+ "name": "Button",
7453
+ "module": "src/button/button.ts"
7454
+ }
7455
+ },
7456
+ {
7457
+ "kind": "field",
7458
+ "name": "formaction",
7459
+ "type": {
7460
+ "text": "string"
7272
7461
  },
7273
- "parameters": [
7274
- {
7275
- "name": "date",
7276
- "type": {
7277
- "text": "Date | string"
7278
- },
7279
- "description": "A date objec that includes the day, month and year"
7280
- },
7281
- {
7282
- "name": "datesString",
7283
- "type": {
7284
- "text": "string"
7285
- },
7286
- "description": "a comma separated list of dates"
7287
- }
7288
- ],
7289
- "description": "A helper function that checks if a date exists in a list of dates",
7462
+ "privacy": "public",
7463
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button | <button> element} for more details.",
7290
7464
  "inheritedFrom": {
7291
- "name": "Calendar",
7292
- "module": "src/calendar/calendar.ts"
7465
+ "name": "Button",
7466
+ "module": "src/button/button.ts"
7293
7467
  }
7294
7468
  },
7295
7469
  {
7296
7470
  "kind": "method",
7297
- "name": "getDayClassNames",
7298
- "privacy": "public",
7471
+ "name": "formactionChanged",
7472
+ "privacy": "private",
7299
7473
  "return": {
7300
7474
  "type": {
7301
- "text": ""
7475
+ "text": "void"
7302
7476
  }
7303
7477
  },
7304
- "parameters": [
7305
- {
7306
- "name": "date",
7307
- "type": {
7308
- "text": "CalendarDateInfo"
7309
- },
7310
- "description": "date of the calendar cell"
7311
- },
7312
- {
7313
- "name": "todayString",
7314
- "optional": true,
7315
- "type": {
7316
- "text": "string"
7317
- }
7318
- }
7319
- ],
7320
- "description": "Creates a class string for the day container",
7321
7478
  "inheritedFrom": {
7322
- "name": "Calendar",
7323
- "module": "src/calendar/calendar.ts"
7479
+ "name": "Button",
7480
+ "module": "src/button/button.ts"
7324
7481
  }
7325
7482
  },
7326
7483
  {
7327
- "kind": "method",
7328
- "name": "getWeekdayText",
7329
- "privacy": "public",
7330
- "return": {
7331
- "type": {
7332
- "text": ""
7333
- }
7484
+ "kind": "field",
7485
+ "name": "formenctype",
7486
+ "type": {
7487
+ "text": "string"
7334
7488
  },
7335
- "description": "Returns a list of weekday labels",
7489
+ "privacy": "public",
7490
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button | <button> element} for more details.",
7336
7491
  "inheritedFrom": {
7337
- "name": "Calendar",
7338
- "module": "src/calendar/calendar.ts"
7492
+ "name": "Button",
7493
+ "module": "src/button/button.ts"
7339
7494
  }
7340
7495
  },
7341
7496
  {
7342
7497
  "kind": "method",
7343
- "name": "handleDateSelect",
7344
- "privacy": "public",
7498
+ "name": "formenctypeChanged",
7499
+ "privacy": "private",
7345
7500
  "return": {
7346
7501
  "type": {
7347
7502
  "text": "void"
7348
7503
  }
7349
7504
  },
7350
- "parameters": [
7351
- {
7352
- "name": "event",
7353
- "type": {
7354
- "text": "Event"
7355
- }
7356
- },
7357
- {
7358
- "name": "day",
7359
- "type": {
7360
- "text": "CalendarDateInfo"
7361
- }
7362
- },
7363
- {
7364
- "description": "Date cell",
7365
- "name": "date"
7366
- }
7367
- ],
7368
- "description": "Emits the \"date-select\" event with the day, month and year.",
7369
7505
  "inheritedFrom": {
7370
- "name": "Calendar",
7371
- "module": "src/calendar/calendar.ts"
7506
+ "name": "Button",
7507
+ "module": "src/button/button.ts"
7372
7508
  }
7373
7509
  },
7374
7510
  {
7375
- "kind": "method",
7376
- "name": "handleKeydown",
7511
+ "kind": "field",
7512
+ "name": "formmethod",
7513
+ "type": {
7514
+ "text": "string"
7515
+ },
7377
7516
  "privacy": "public",
7517
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button | <button> element} for more details.",
7518
+ "inheritedFrom": {
7519
+ "name": "Button",
7520
+ "module": "src/button/button.ts"
7521
+ }
7522
+ },
7523
+ {
7524
+ "kind": "method",
7525
+ "name": "formmethodChanged",
7526
+ "privacy": "private",
7378
7527
  "return": {
7379
7528
  "type": {
7380
- "text": "boolean"
7529
+ "text": "void"
7381
7530
  }
7382
7531
  },
7383
- "parameters": [
7384
- {
7385
- "name": "event",
7386
- "type": {
7387
- "text": "KeyboardEvent"
7388
- },
7389
- "description": "Keyboard event"
7390
- },
7391
- {
7392
- "name": "date",
7393
- "type": {
7394
- "text": "CalendarDateInfo"
7395
- },
7396
- "description": "Date of the cell selected"
7397
- }
7398
- ],
7399
- "description": "Handles keyboard events on a cell",
7400
7532
  "inheritedFrom": {
7401
- "name": "Calendar",
7402
- "module": "src/calendar/calendar.ts"
7533
+ "name": "Button",
7534
+ "module": "src/button/button.ts"
7403
7535
  }
7404
7536
  },
7405
7537
  {
7406
7538
  "kind": "field",
7407
- "name": "_presentation",
7539
+ "name": "formnovalidate",
7408
7540
  "type": {
7409
- "text": "ComponentPresentation | null | undefined"
7541
+ "text": "boolean"
7410
7542
  },
7411
- "privacy": "private",
7412
- "default": "void 0",
7543
+ "privacy": "public",
7544
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button | <button> element} for more details.",
7413
7545
  "inheritedFrom": {
7414
- "name": "FoundationElement",
7415
- "module": "src/foundation-element/foundation-element.ts"
7546
+ "name": "Button",
7547
+ "module": "src/button/button.ts"
7416
7548
  }
7417
7549
  },
7418
7550
  {
7419
- "kind": "field",
7420
- "name": "$presentation",
7421
- "type": {
7422
- "text": "ComponentPresentation | null"
7551
+ "kind": "method",
7552
+ "name": "formnovalidateChanged",
7553
+ "privacy": "private",
7554
+ "return": {
7555
+ "type": {
7556
+ "text": "void"
7557
+ }
7423
7558
  },
7424
- "privacy": "public",
7425
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
7426
7559
  "inheritedFrom": {
7427
- "name": "FoundationElement",
7428
- "module": "src/foundation-element/foundation-element.ts"
7560
+ "name": "Button",
7561
+ "module": "src/button/button.ts"
7429
7562
  }
7430
7563
  },
7431
7564
  {
7432
7565
  "kind": "field",
7433
- "name": "template",
7566
+ "name": "formtarget",
7434
7567
  "type": {
7435
- "text": "ElementViewTemplate | void | null"
7568
+ "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
7436
7569
  },
7437
7570
  "privacy": "public",
7438
- "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
7571
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button | <button> element} for more details.",
7439
7572
  "inheritedFrom": {
7440
- "name": "FoundationElement",
7441
- "module": "src/foundation-element/foundation-element.ts"
7573
+ "name": "Button",
7574
+ "module": "src/button/button.ts"
7442
7575
  }
7443
7576
  },
7444
7577
  {
7445
7578
  "kind": "method",
7446
- "name": "templateChanged",
7447
- "privacy": "protected",
7579
+ "name": "formtargetChanged",
7580
+ "privacy": "private",
7448
7581
  "return": {
7449
7582
  "type": {
7450
7583
  "text": "void"
7451
7584
  }
7452
7585
  },
7453
7586
  "inheritedFrom": {
7454
- "name": "FoundationElement",
7455
- "module": "src/foundation-element/foundation-element.ts"
7587
+ "name": "Button",
7588
+ "module": "src/button/button.ts"
7456
7589
  }
7457
7590
  },
7458
7591
  {
7459
7592
  "kind": "field",
7460
- "name": "styles",
7593
+ "name": "type",
7461
7594
  "type": {
7462
- "text": "ElementStyles | void | null"
7595
+ "text": "\"submit\" | \"reset\" | \"button\""
7463
7596
  },
7464
7597
  "privacy": "public",
7465
- "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
7598
+ "description": "The button type.",
7466
7599
  "inheritedFrom": {
7467
- "name": "FoundationElement",
7468
- "module": "src/foundation-element/foundation-element.ts"
7600
+ "name": "Button",
7601
+ "module": "src/button/button.ts"
7469
7602
  }
7470
7603
  },
7471
7604
  {
7472
7605
  "kind": "method",
7473
- "name": "stylesChanged",
7474
- "privacy": "protected",
7606
+ "name": "typeChanged",
7607
+ "privacy": "private",
7475
7608
  "return": {
7476
7609
  "type": {
7477
7610
  "text": "void"
7478
7611
  }
7479
7612
  },
7613
+ "parameters": [
7614
+ {
7615
+ "name": "previous",
7616
+ "type": {
7617
+ "text": "\"submit\" | \"reset\" | \"button\" | void"
7618
+ }
7619
+ },
7620
+ {
7621
+ "name": "next",
7622
+ "type": {
7623
+ "text": "\"submit\" | \"reset\" | \"button\""
7624
+ }
7625
+ }
7626
+ ],
7627
+ "inheritedFrom": {
7628
+ "name": "Button",
7629
+ "module": "src/button/button.ts"
7630
+ }
7631
+ },
7632
+ {
7633
+ "kind": "field",
7634
+ "name": "defaultSlottedContent",
7635
+ "type": {
7636
+ "text": "HTMLElement[]"
7637
+ },
7638
+ "privacy": "public",
7639
+ "description": "\nDefault slotted content",
7480
7640
  "inheritedFrom": {
7481
- "name": "FoundationElement",
7482
- "module": "src/foundation-element/foundation-element.ts"
7641
+ "name": "Button",
7642
+ "module": "src/button/button.ts"
7483
7643
  }
7484
7644
  },
7485
7645
  {
7486
7646
  "kind": "method",
7487
- "name": "compose",
7647
+ "name": "validate",
7488
7648
  "privacy": "public",
7489
- "static": true,
7490
7649
  "return": {
7491
7650
  "type": {
7492
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
7651
+ "text": "void"
7493
7652
  }
7494
7653
  },
7495
- "parameters": [
7496
- {
7497
- "name": "this",
7498
- "type": {
7499
- "text": "K"
7500
- }
7501
- },
7502
- {
7503
- "name": "elementDefinition",
7504
- "type": {
7505
- "text": "T"
7506
- },
7507
- "description": "The definition of the element to create the registry\nfunction for."
7508
- }
7509
- ],
7510
- "description": "Defines an element registry function with a set of element definition defaults.",
7654
+ "description": "{@inheritDoc (FormAssociated:interface).validate}",
7511
7655
  "inheritedFrom": {
7512
- "name": "FoundationElement",
7513
- "module": "src/foundation-element/foundation-element.ts"
7656
+ "name": "Button",
7657
+ "module": "src/button/button.ts"
7514
7658
  }
7515
- }
7516
- ],
7517
- "events": [
7659
+ },
7518
7660
  {
7519
- "description": "Fires a custom 'dateselected' event when Enter is invoked via keyboard on a date",
7520
- "name": "dateselected",
7661
+ "kind": "field",
7662
+ "name": "handleSubmission",
7663
+ "privacy": "private",
7664
+ "description": "Submits the parent form",
7521
7665
  "inheritedFrom": {
7522
- "name": "Calendar",
7523
- "module": "src/calendar/calendar.ts"
7666
+ "name": "Button",
7667
+ "module": "src/button/button.ts"
7524
7668
  }
7525
- }
7526
- ]
7527
- },
7528
- {
7529
- "kind": "variable",
7530
- "name": "foundationCalendarShadowOptions",
7531
- "type": {
7532
- "text": "ShadowRootInit"
7533
- },
7534
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
7535
- },
7536
- {
7537
- "kind": "variable",
7538
- "name": "defaultCalendarConfig",
7539
- "type": {
7540
- "text": "object"
7541
- },
7542
- "default": "{}"
7543
- },
7544
- {
7545
- "kind": "variable",
7546
- "name": "foundationCalendar",
7547
- "description": "The Foundation Calendar",
7548
- "privacy": "public"
7549
- }
7550
- ],
7551
- "exports": [
7552
- {
7553
- "kind": "js",
7554
- "name": "Calendar",
7555
- "declaration": {
7556
- "name": "Calendar",
7557
- "module": "src/calendar/calendar.ts"
7558
- }
7559
- },
7560
- {
7561
- "kind": "js",
7562
- "name": "foundationCalendarShadowOptions",
7563
- "declaration": {
7564
- "name": "foundationCalendarShadowOptions",
7565
- "module": "src/calendar/calendar.ts"
7566
- }
7567
- },
7568
- {
7569
- "kind": "js",
7570
- "name": "defaultCalendarConfig",
7571
- "declaration": {
7572
- "name": "defaultCalendarConfig",
7573
- "module": "src/calendar/calendar.ts"
7574
- }
7575
- },
7576
- {
7577
- "kind": "js",
7578
- "name": "foundationCalendar",
7579
- "declaration": {
7580
- "name": "foundationCalendar",
7581
- "module": "src/calendar/calendar.ts"
7582
- }
7583
- }
7584
- ]
7585
- },
7586
- {
7587
- "kind": "javascript-module",
7588
- "path": "src/calendar/index.ts",
7589
- "declarations": [],
7590
- "exports": [
7591
- {
7592
- "kind": "js",
7593
- "name": "*",
7594
- "declaration": {
7595
- "name": "*",
7596
- "package": "./calendar"
7597
- }
7598
- },
7599
- {
7600
- "kind": "js",
7601
- "name": "*",
7602
- "declaration": {
7603
- "name": "*",
7604
- "package": "./calendar.template"
7605
- }
7606
- },
7607
- {
7608
- "kind": "js",
7609
- "name": "*",
7610
- "declaration": {
7611
- "name": "*",
7612
- "package": "./calendar.styles"
7613
- }
7614
- }
7615
- ]
7616
- },
7617
- {
7618
- "kind": "javascript-module",
7619
- "path": "src/card/card.styles.ts",
7620
- "declarations": [
7621
- {
7622
- "kind": "function",
7623
- "name": "foundationCardStyles",
7624
- "return": {
7625
- "type": {
7626
- "text": "ElementStyles"
7627
- }
7628
- },
7629
- "parameters": [
7669
+ },
7630
7670
  {
7631
- "name": "context",
7632
- "type": {
7633
- "text": "ElementDefinitionContext"
7671
+ "kind": "field",
7672
+ "name": "handleFormReset",
7673
+ "privacy": "private",
7674
+ "description": "Resets the parent form",
7675
+ "inheritedFrom": {
7676
+ "name": "Button",
7677
+ "module": "src/button/button.ts"
7634
7678
  }
7635
7679
  },
7636
7680
  {
7637
- "name": "definition",
7681
+ "kind": "field",
7682
+ "name": "control",
7638
7683
  "type": {
7639
- "text": "FoundationElementDefinition"
7684
+ "text": "HTMLButtonElement"
7685
+ },
7686
+ "privacy": "public",
7687
+ "inheritedFrom": {
7688
+ "name": "Button",
7689
+ "module": "src/button/button.ts"
7640
7690
  }
7641
- }
7642
- ]
7643
- }
7644
- ],
7645
- "exports": [
7646
- {
7647
- "kind": "js",
7648
- "name": "foundationCardStyles",
7649
- "declaration": {
7650
- "name": "foundationCardStyles",
7651
- "module": "src/card/card.styles.ts"
7652
- }
7653
- }
7654
- ]
7655
- },
7656
- {
7657
- "kind": "javascript-module",
7658
- "path": "src/card/card.template.ts",
7659
- "declarations": [
7660
- {
7661
- "kind": "function",
7662
- "name": "foundationCardTemplate",
7663
- "return": {
7664
- "type": {
7665
- "text": "ViewTemplate<Card>"
7666
- }
7667
- },
7668
- "parameters": [
7691
+ },
7669
7692
  {
7670
- "name": "context",
7671
- "type": {
7672
- "text": "ElementDefinitionContext"
7693
+ "kind": "field",
7694
+ "name": "handleUnsupportedDelegatesFocus",
7695
+ "privacy": "private",
7696
+ "description": "Overrides the focus call for where delegatesFocus is unsupported.\nThis check works for Chrome, Edge Chromium, FireFox, and Safari\nRelevant PR on the Firefox browser: https://phabricator.services.mozilla.com/D123858",
7697
+ "inheritedFrom": {
7698
+ "name": "Button",
7699
+ "module": "src/button/button.ts"
7673
7700
  }
7674
7701
  },
7675
7702
  {
7676
- "name": "definition",
7677
- "type": {
7678
- "text": "FoundationElementDefinition"
7703
+ "kind": "field",
7704
+ "name": "proxy",
7705
+ "inheritedFrom": {
7706
+ "name": "Button",
7707
+ "module": "src/button/button.ts"
7679
7708
  }
7680
- }
7681
- ]
7682
- }
7683
- ],
7684
- "exports": [
7685
- {
7686
- "kind": "js",
7687
- "name": "foundationCardTemplate",
7688
- "declaration": {
7689
- "name": "foundationCardTemplate",
7690
- "module": "src/card/card.template.ts"
7691
- }
7692
- }
7693
- ]
7694
- },
7695
- {
7696
- "kind": "javascript-module",
7697
- "path": "src/card/card.ts",
7698
- "declarations": [
7699
- {
7700
- "kind": "class",
7701
- "description": "",
7702
- "name": "Card",
7703
- "superclass": {
7704
- "name": "FASTCard",
7705
- "package": "@microsoft/fast-components"
7706
- },
7707
- "tagName": "%%prefix%%-card",
7708
- "customElement": true,
7709
- "members": [
7709
+ },
7710
7710
  {
7711
7711
  "kind": "field",
7712
7712
  "name": "_presentation",
@@ -7716,8 +7716,8 @@
7716
7716
  "privacy": "private",
7717
7717
  "default": "void 0",
7718
7718
  "inheritedFrom": {
7719
- "name": "FoundationElement",
7720
- "module": "src/foundation-element/foundation-element.ts"
7719
+ "name": "Button",
7720
+ "module": "src/button/button.ts"
7721
7721
  }
7722
7722
  },
7723
7723
  {
@@ -7729,8 +7729,8 @@
7729
7729
  "privacy": "public",
7730
7730
  "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
7731
7731
  "inheritedFrom": {
7732
- "name": "FoundationElement",
7733
- "module": "src/foundation-element/foundation-element.ts"
7732
+ "name": "Button",
7733
+ "module": "src/button/button.ts"
7734
7734
  }
7735
7735
  },
7736
7736
  {
@@ -7742,8 +7742,8 @@
7742
7742
  "privacy": "public",
7743
7743
  "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
7744
7744
  "inheritedFrom": {
7745
- "name": "FoundationElement",
7746
- "module": "src/foundation-element/foundation-element.ts"
7745
+ "name": "Button",
7746
+ "module": "src/button/button.ts"
7747
7747
  }
7748
7748
  },
7749
7749
  {
@@ -7756,8 +7756,8 @@
7756
7756
  }
7757
7757
  },
7758
7758
  "inheritedFrom": {
7759
- "name": "FoundationElement",
7760
- "module": "src/foundation-element/foundation-element.ts"
7759
+ "name": "Button",
7760
+ "module": "src/button/button.ts"
7761
7761
  }
7762
7762
  },
7763
7763
  {
@@ -7769,8 +7769,8 @@
7769
7769
  "privacy": "public",
7770
7770
  "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
7771
7771
  "inheritedFrom": {
7772
- "name": "FoundationElement",
7773
- "module": "src/foundation-element/foundation-element.ts"
7772
+ "name": "Button",
7773
+ "module": "src/button/button.ts"
7774
7774
  }
7775
7775
  },
7776
7776
  {
@@ -7783,8 +7783,8 @@
7783
7783
  }
7784
7784
  },
7785
7785
  "inheritedFrom": {
7786
- "name": "FoundationElement",
7787
- "module": "src/foundation-element/foundation-element.ts"
7786
+ "name": "Button",
7787
+ "module": "src/button/button.ts"
7788
7788
  }
7789
7789
  },
7790
7790
  {
@@ -7814,23 +7814,23 @@
7814
7814
  ],
7815
7815
  "description": "Defines an element registry function with a set of element definition defaults.",
7816
7816
  "inheritedFrom": {
7817
- "name": "FoundationElement",
7818
- "module": "src/foundation-element/foundation-element.ts"
7817
+ "name": "Button",
7818
+ "module": "src/button/button.ts"
7819
7819
  }
7820
7820
  }
7821
7821
  ]
7822
7822
  },
7823
7823
  {
7824
7824
  "kind": "variable",
7825
- "name": "foundationCardShadowOptions",
7825
+ "name": "foundationButtonShadowOptions",
7826
7826
  "type": {
7827
7827
  "text": "ShadowRootInit"
7828
7828
  },
7829
- "default": "undefined"
7829
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
7830
7830
  },
7831
7831
  {
7832
7832
  "kind": "variable",
7833
- "name": "defaultCardConfig",
7833
+ "name": "defaultButtonConfig",
7834
7834
  "type": {
7835
7835
  "text": "object"
7836
7836
  },
@@ -7838,49 +7838,49 @@
7838
7838
  },
7839
7839
  {
7840
7840
  "kind": "variable",
7841
- "name": "foundationCard",
7842
- "description": "The Foundation Card",
7841
+ "name": "foundationButton",
7842
+ "description": "The Foundation Button",
7843
7843
  "privacy": "public"
7844
7844
  }
7845
7845
  ],
7846
7846
  "exports": [
7847
7847
  {
7848
7848
  "kind": "js",
7849
- "name": "Card",
7849
+ "name": "Button",
7850
7850
  "declaration": {
7851
- "name": "Card",
7852
- "module": "src/card/card.ts"
7851
+ "name": "Button",
7852
+ "module": "src/button/button.ts"
7853
7853
  }
7854
7854
  },
7855
7855
  {
7856
7856
  "kind": "js",
7857
- "name": "foundationCardShadowOptions",
7857
+ "name": "foundationButtonShadowOptions",
7858
7858
  "declaration": {
7859
- "name": "foundationCardShadowOptions",
7860
- "module": "src/card/card.ts"
7859
+ "name": "foundationButtonShadowOptions",
7860
+ "module": "src/button/button.ts"
7861
7861
  }
7862
7862
  },
7863
7863
  {
7864
7864
  "kind": "js",
7865
- "name": "defaultCardConfig",
7865
+ "name": "defaultButtonConfig",
7866
7866
  "declaration": {
7867
- "name": "defaultCardConfig",
7868
- "module": "src/card/card.ts"
7867
+ "name": "defaultButtonConfig",
7868
+ "module": "src/button/button.ts"
7869
7869
  }
7870
7870
  },
7871
7871
  {
7872
7872
  "kind": "js",
7873
- "name": "foundationCard",
7873
+ "name": "foundationButton",
7874
7874
  "declaration": {
7875
- "name": "foundationCard",
7876
- "module": "src/card/card.ts"
7875
+ "name": "foundationButton",
7876
+ "module": "src/button/button.ts"
7877
7877
  }
7878
7878
  }
7879
7879
  ]
7880
7880
  },
7881
7881
  {
7882
7882
  "kind": "javascript-module",
7883
- "path": "src/card/index.ts",
7883
+ "path": "src/button/index.ts",
7884
7884
  "declarations": [],
7885
7885
  "exports": [
7886
7886
  {
@@ -7888,7 +7888,7 @@
7888
7888
  "name": "*",
7889
7889
  "declaration": {
7890
7890
  "name": "*",
7891
- "package": "./card.template"
7891
+ "package": "./button.template"
7892
7892
  }
7893
7893
  },
7894
7894
  {
@@ -7896,7 +7896,7 @@
7896
7896
  "name": "*",
7897
7897
  "declaration": {
7898
7898
  "name": "*",
7899
- "package": "./card.styles"
7899
+ "package": "./button.styles"
7900
7900
  }
7901
7901
  },
7902
7902
  {
@@ -7904,7 +7904,7 @@
7904
7904
  "name": "*",
7905
7905
  "declaration": {
7906
7906
  "name": "*",
7907
- "package": "./card"
7907
+ "package": "./button"
7908
7908
  }
7909
7909
  }
7910
7910
  ]
@@ -9870,560 +9870,465 @@
9870
9870
  },
9871
9871
  {
9872
9872
  "kind": "javascript-module",
9873
- "path": "src/data-grid-cell/data-grid-cell.styles.ts",
9873
+ "path": "src/data-grid-datasource/data-grid-datasource.ts",
9874
9874
  "declarations": [
9875
9875
  {
9876
- "kind": "function",
9877
- "name": "foundationDataGridCellStyles",
9878
- "return": {
9879
- "type": {
9880
- "text": "ElementStyles"
9881
- }
9882
- },
9883
- "parameters": [
9876
+ "kind": "class",
9877
+ "description": "",
9878
+ "name": "DataGridDatasource",
9879
+ "members": [
9884
9880
  {
9885
- "name": "context",
9881
+ "kind": "field",
9882
+ "name": "dataGrid",
9886
9883
  "type": {
9887
- "text": "ElementDefinitionContext"
9884
+ "text": "DataGrid"
9885
+ },
9886
+ "privacy": "private"
9887
+ },
9888
+ {
9889
+ "kind": "field",
9890
+ "name": "isSnapshot",
9891
+ "type": {
9892
+ "text": "boolean"
9893
+ },
9894
+ "default": "true",
9895
+ "privacy": "public",
9896
+ "inheritedFrom": {
9897
+ "name": "<local>_BaseDatasource",
9898
+ "module": "src/utils/base-datasource.ts"
9888
9899
  }
9889
9900
  },
9890
9901
  {
9891
- "name": "defintion",
9902
+ "kind": "method",
9903
+ "name": "getColumnDefs",
9904
+ "privacy": "private",
9905
+ "parameters": [
9906
+ {
9907
+ "name": "fieldsMetadata",
9908
+ "type": {
9909
+ "text": "FieldMetadata[]"
9910
+ }
9911
+ }
9912
+ ]
9913
+ },
9914
+ {
9915
+ "kind": "method",
9916
+ "name": "clearData",
9917
+ "return": {
9918
+ "type": {
9919
+ "text": "void"
9920
+ }
9921
+ },
9922
+ "inheritedFrom": {
9923
+ "name": "<local>_BaseDatasource",
9924
+ "module": "src/utils/base-datasource.ts"
9925
+ }
9926
+ },
9927
+ {
9928
+ "kind": "method",
9929
+ "name": "syncComponentData",
9930
+ "return": {
9931
+ "type": {
9932
+ "text": "void"
9933
+ }
9934
+ },
9935
+ "parameters": [
9936
+ {
9937
+ "name": "snapshotData",
9938
+ "optional": true,
9939
+ "type": {
9940
+ "text": "any[]"
9941
+ }
9942
+ }
9943
+ ],
9944
+ "inheritedFrom": {
9945
+ "name": "<local>_BaseDatasource",
9946
+ "module": "src/utils/base-datasource.ts"
9947
+ }
9948
+ },
9949
+ {
9950
+ "kind": "method",
9951
+ "name": "handleStreamInserts",
9952
+ "return": {
9953
+ "type": {
9954
+ "text": "void"
9955
+ }
9956
+ },
9957
+ "parameters": [
9958
+ {
9959
+ "name": "insertedRows",
9960
+ "type": {
9961
+ "text": "any[]"
9962
+ }
9963
+ }
9964
+ ],
9965
+ "inheritedFrom": {
9966
+ "name": "<local>_BaseDatasource",
9967
+ "module": "src/utils/base-datasource.ts"
9968
+ }
9969
+ },
9970
+ {
9971
+ "kind": "method",
9972
+ "name": "handleStreamDeletes",
9973
+ "return": {
9974
+ "type": {
9975
+ "text": "void"
9976
+ }
9977
+ },
9978
+ "parameters": [
9979
+ {
9980
+ "name": "deletedRows",
9981
+ "type": {
9982
+ "text": "any[]"
9983
+ }
9984
+ }
9985
+ ],
9986
+ "inheritedFrom": {
9987
+ "name": "<local>_BaseDatasource",
9988
+ "module": "src/utils/base-datasource.ts"
9989
+ }
9990
+ },
9991
+ {
9992
+ "kind": "method",
9993
+ "name": "handleStreamUpdates",
9994
+ "return": {
9995
+ "type": {
9996
+ "text": "void"
9997
+ }
9998
+ },
9999
+ "parameters": [
10000
+ {
10001
+ "name": "updatedRows",
10002
+ "type": {
10003
+ "text": "any[]"
10004
+ }
10005
+ }
10006
+ ],
10007
+ "inheritedFrom": {
10008
+ "name": "<local>_BaseDatasource",
10009
+ "module": "src/utils/base-datasource.ts"
10010
+ }
10011
+ },
10012
+ {
10013
+ "kind": "field",
10014
+ "name": "connect",
9892
10015
  "type": {
9893
- "text": "FoundationElementDefinition"
10016
+ "text": "Connect"
10017
+ },
10018
+ "inheritedFrom": {
10019
+ "name": "<local>_BaseDatasource",
10020
+ "module": "src/utils/base-datasource.ts"
9894
10021
  }
9895
- }
9896
- ]
9897
- }
9898
- ],
9899
- "exports": [
9900
- {
9901
- "kind": "js",
9902
- "name": "foundationDataGridCellStyles",
9903
- "declaration": {
9904
- "name": "foundationDataGridCellStyles",
9905
- "module": "src/data-grid-cell/data-grid-cell.styles.ts"
9906
- }
9907
- }
9908
- ]
9909
- },
9910
- {
9911
- "kind": "javascript-module",
9912
- "path": "src/data-grid-cell/data-grid.cell.ts",
9913
- "declarations": [
9914
- {
9915
- "kind": "class",
9916
- "description": "",
9917
- "name": "DataGridCell",
9918
- "superclass": {
9919
- "name": "FASTDataGridCell",
9920
- "package": "@microsoft/fast-components"
9921
- },
9922
- "tagName": "%%prefix%%-data-grid-cell",
9923
- "customElement": true,
9924
- "attributes": [
10022
+ },
9925
10023
  {
9926
- "name": "cell-type",
10024
+ "kind": "field",
10025
+ "name": "datasource",
9927
10026
  "type": {
9928
- "text": "DataGridCellTypes"
10027
+ "text": "Datasource"
9929
10028
  },
9930
- "description": "The type of cell",
9931
- "fieldName": "cellType",
9932
10029
  "inheritedFrom": {
9933
- "name": "DataGridCell",
9934
- "module": "src/data-grid/data-grid-cell.ts"
10030
+ "name": "<local>_BaseDatasource",
10031
+ "module": "src/utils/base-datasource.ts"
9935
10032
  }
9936
10033
  },
9937
10034
  {
9938
- "name": "grid-column",
10035
+ "kind": "field",
10036
+ "name": "withGridInit",
9939
10037
  "type": {
9940
- "text": "string"
10038
+ "text": "boolean"
9941
10039
  },
9942
- "description": "The column index of the cell.\nThis will be applied to the css grid-column-index value\napplied to the cell",
9943
- "fieldName": "gridColumn",
10040
+ "default": "true",
9944
10041
  "inheritedFrom": {
9945
- "name": "DataGridCell",
9946
- "module": "src/data-grid/data-grid-cell.ts"
10042
+ "name": "<local>_BaseDatasource",
10043
+ "module": "src/utils/base-datasource.ts"
9947
10044
  }
9948
- }
9949
- ],
9950
- "members": [
10045
+ },
9951
10046
  {
9952
10047
  "kind": "field",
9953
- "name": "cellType",
10048
+ "name": "criteria",
9954
10049
  "type": {
9955
- "text": "DataGridCellTypes"
10050
+ "text": "string"
9956
10051
  },
9957
- "privacy": "public",
9958
- "description": "The type of cell",
9959
10052
  "inheritedFrom": {
9960
- "name": "DataGridCell",
9961
- "module": "src/data-grid/data-grid-cell.ts"
10053
+ "name": "<local>_BaseDatasource",
10054
+ "module": "src/utils/base-datasource.ts"
9962
10055
  }
9963
10056
  },
9964
10057
  {
9965
10058
  "kind": "method",
9966
- "name": "cellTypeChanged",
9967
- "privacy": "private",
9968
- "return": {
9969
- "type": {
9970
- "text": "void"
10059
+ "name": "criteriaChanged",
10060
+ "parameters": [
10061
+ {
10062
+ "name": "oldCriteria",
10063
+ "type": {
10064
+ "text": "string"
10065
+ }
10066
+ },
10067
+ {
10068
+ "name": "newCriteria",
10069
+ "type": {
10070
+ "text": "string"
10071
+ }
9971
10072
  }
9972
- },
10073
+ ],
9973
10074
  "inheritedFrom": {
9974
- "name": "DataGridCell",
9975
- "module": "src/data-grid/data-grid-cell.ts"
10075
+ "name": "<local>_BaseDatasource",
10076
+ "module": "src/utils/base-datasource.ts"
9976
10077
  }
9977
10078
  },
9978
10079
  {
9979
10080
  "kind": "field",
9980
- "name": "gridColumn",
10081
+ "name": "data",
9981
10082
  "type": {
9982
- "text": "string"
10083
+ "text": "any[]"
9983
10084
  },
9984
- "privacy": "public",
9985
- "description": "The column index of the cell.\nThis will be applied to the css grid-column-index value\napplied to the cell",
9986
10085
  "inheritedFrom": {
9987
- "name": "DataGridCell",
9988
- "module": "src/data-grid/data-grid-cell.ts"
10086
+ "name": "<local>_BaseDatasource",
10087
+ "module": "src/utils/base-datasource.ts"
9989
10088
  }
9990
10089
  },
9991
10090
  {
9992
- "kind": "method",
9993
- "name": "gridColumnChanged",
9994
- "privacy": "private",
9995
- "return": {
9996
- "type": {
9997
- "text": "void"
9998
- }
10091
+ "kind": "field",
10092
+ "name": "fields",
10093
+ "type": {
10094
+ "text": "string"
9999
10095
  },
10000
10096
  "inheritedFrom": {
10001
- "name": "DataGridCell",
10002
- "module": "src/data-grid/data-grid-cell.ts"
10097
+ "name": "<local>_BaseDatasource",
10098
+ "module": "src/utils/base-datasource.ts"
10003
10099
  }
10004
10100
  },
10005
10101
  {
10006
10102
  "kind": "field",
10007
- "name": "rowData",
10103
+ "name": "maxRows",
10008
10104
  "type": {
10009
- "text": "object | null"
10105
+ "text": "number"
10010
10106
  },
10011
- "privacy": "public",
10012
- "default": "null",
10013
- "description": "The base data for the parent row",
10014
10107
  "inheritedFrom": {
10015
- "name": "DataGridCell",
10016
- "module": "src/data-grid/data-grid-cell.ts"
10108
+ "name": "<local>_BaseDatasource",
10109
+ "module": "src/utils/base-datasource.ts"
10017
10110
  }
10018
10111
  },
10019
10112
  {
10020
10113
  "kind": "field",
10021
- "name": "columnDefinition",
10114
+ "name": "maxView",
10022
10115
  "type": {
10023
- "text": "ColumnDefinition | null"
10116
+ "text": "number"
10024
10117
  },
10025
- "privacy": "public",
10026
- "default": "null",
10027
- "description": "The base data for the column",
10028
10118
  "inheritedFrom": {
10029
- "name": "DataGridCell",
10030
- "module": "src/data-grid/data-grid-cell.ts"
10119
+ "name": "<local>_BaseDatasource",
10120
+ "module": "src/utils/base-datasource.ts"
10031
10121
  }
10032
10122
  },
10033
10123
  {
10034
- "kind": "method",
10035
- "name": "columnDefinitionChanged",
10036
- "privacy": "private",
10037
- "return": {
10038
- "type": {
10039
- "text": "void"
10040
- }
10124
+ "kind": "field",
10125
+ "name": "orderBy",
10126
+ "type": {
10127
+ "text": "string"
10041
10128
  },
10042
- "parameters": [
10043
- {
10044
- "name": "oldValue",
10045
- "type": {
10046
- "text": "ColumnDefinition | null"
10047
- }
10048
- },
10049
- {
10050
- "name": "newValue",
10051
- "type": {
10052
- "text": "ColumnDefinition | null"
10053
- }
10054
- }
10055
- ],
10056
10129
  "inheritedFrom": {
10057
- "name": "DataGridCell",
10058
- "module": "src/data-grid/data-grid-cell.ts"
10130
+ "name": "<local>_BaseDatasource",
10131
+ "module": "src/utils/base-datasource.ts"
10059
10132
  }
10060
10133
  },
10061
10134
  {
10062
10135
  "kind": "field",
10063
- "name": "isActiveCell",
10136
+ "name": "request",
10064
10137
  "type": {
10065
- "text": "boolean"
10138
+ "text": "any"
10066
10139
  },
10067
- "privacy": "private",
10068
- "default": "false",
10069
10140
  "inheritedFrom": {
10070
- "name": "DataGridCell",
10071
- "module": "src/data-grid/data-grid-cell.ts"
10141
+ "name": "<local>_BaseDatasource",
10142
+ "module": "src/utils/base-datasource.ts"
10072
10143
  }
10073
10144
  },
10074
10145
  {
10075
10146
  "kind": "field",
10076
- "name": "customCellView",
10147
+ "name": "resourceName",
10077
10148
  "type": {
10078
- "text": "HTMLView | null"
10149
+ "text": "string"
10079
10150
  },
10080
- "privacy": "private",
10081
- "default": "null",
10082
10151
  "inheritedFrom": {
10083
- "name": "DataGridCell",
10084
- "module": "src/data-grid/data-grid-cell.ts"
10152
+ "name": "<local>_BaseDatasource",
10153
+ "module": "src/utils/base-datasource.ts"
10085
10154
  }
10086
10155
  },
10087
10156
  {
10088
- "kind": "method",
10089
- "name": "handleFocusin",
10090
- "privacy": "public",
10091
- "return": {
10092
- "type": {
10093
- "text": "void"
10094
- }
10157
+ "kind": "field",
10158
+ "name": "reverse",
10159
+ "type": {
10160
+ "text": "boolean"
10095
10161
  },
10096
- "parameters": [
10097
- {
10098
- "name": "e",
10099
- "type": {
10100
- "text": "FocusEvent"
10101
- }
10102
- }
10103
- ],
10162
+ "default": "false",
10104
10163
  "inheritedFrom": {
10105
- "name": "DataGridCell",
10106
- "module": "src/data-grid/data-grid-cell.ts"
10164
+ "name": "<local>_BaseDatasource",
10165
+ "module": "src/utils/base-datasource.ts"
10107
10166
  }
10108
10167
  },
10109
10168
  {
10110
- "kind": "method",
10111
- "name": "handleFocusout",
10112
- "privacy": "public",
10113
- "return": {
10114
- "type": {
10115
- "text": "void"
10116
- }
10169
+ "kind": "field",
10170
+ "name": "rowId",
10171
+ "type": {
10172
+ "text": "string"
10117
10173
  },
10118
- "parameters": [
10119
- {
10120
- "name": "e",
10121
- "type": {
10122
- "text": "FocusEvent"
10123
- }
10124
- }
10125
- ],
10174
+ "default": "'ROW_REF'",
10126
10175
  "inheritedFrom": {
10127
- "name": "DataGridCell",
10128
- "module": "src/data-grid/data-grid-cell.ts"
10176
+ "name": "<local>_BaseDatasource",
10177
+ "module": "src/utils/base-datasource.ts"
10129
10178
  }
10130
10179
  },
10131
10180
  {
10132
- "kind": "method",
10133
- "name": "handleKeydown",
10134
- "privacy": "public",
10135
- "return": {
10136
- "type": {
10137
- "text": "void"
10138
- }
10181
+ "kind": "field",
10182
+ "name": "withTimestampFormatting",
10183
+ "type": {
10184
+ "text": "boolean"
10139
10185
  },
10140
- "parameters": [
10141
- {
10142
- "name": "e",
10143
- "type": {
10144
- "text": "KeyboardEvent"
10145
- }
10146
- }
10147
- ],
10186
+ "default": "true",
10187
+ "description": "Enabled by default, will format UNIX timestamp fields to readable [DATE|DATETIME] values.",
10188
+ "privacy": "public",
10148
10189
  "inheritedFrom": {
10149
- "name": "DataGridCell",
10150
- "module": "src/data-grid/data-grid-cell.ts"
10190
+ "name": "<local>_BaseDatasource",
10191
+ "module": "src/utils/base-datasource.ts"
10151
10192
  }
10152
10193
  },
10153
10194
  {
10154
- "kind": "method",
10155
- "name": "updateCellView",
10156
- "privacy": "private",
10157
- "return": {
10158
- "type": {
10159
- "text": "void"
10160
- }
10161
- },
10195
+ "kind": "field",
10196
+ "name": "datasourceConfig",
10162
10197
  "inheritedFrom": {
10163
- "name": "DataGridCell",
10164
- "module": "src/data-grid/data-grid-cell.ts"
10198
+ "name": "<local>_BaseDatasource",
10199
+ "module": "src/utils/base-datasource.ts"
10165
10200
  }
10166
10201
  },
10167
10202
  {
10168
- "kind": "method",
10169
- "name": "disconnectCellView",
10170
- "privacy": "private",
10171
- "return": {
10172
- "type": {
10173
- "text": "void"
10174
- }
10203
+ "kind": "field",
10204
+ "name": "requiresFullDataRefresh",
10205
+ "type": {
10206
+ "text": "boolean"
10175
10207
  },
10208
+ "privacy": "public",
10209
+ "default": "true",
10176
10210
  "inheritedFrom": {
10177
- "name": "DataGridCell",
10178
- "module": "src/data-grid/data-grid-cell.ts"
10211
+ "name": "<local>_BaseDatasource",
10212
+ "module": "src/utils/base-datasource.ts"
10179
10213
  }
10180
10214
  },
10181
10215
  {
10182
10216
  "kind": "field",
10183
- "name": "updateCellStyle",
10184
- "privacy": "private",
10185
- "inheritedFrom": {
10186
- "name": "DataGridCell",
10187
- "module": "src/data-grid/data-grid-cell.ts"
10217
+ "name": "dataSub",
10218
+ "type": {
10219
+ "text": "Subscription"
10220
+ },
10221
+ "privacy": "public",
10222
+ "inheritedFrom": {
10223
+ "name": "<local>_BaseDatasource",
10224
+ "module": "src/utils/base-datasource.ts"
10188
10225
  }
10189
10226
  },
10190
10227
  {
10191
10228
  "kind": "field",
10192
- "name": "_presentation",
10229
+ "name": "sourceRef",
10193
10230
  "type": {
10194
- "text": "ComponentPresentation | null | undefined"
10231
+ "text": "string"
10195
10232
  },
10196
10233
  "privacy": "private",
10197
- "default": "void 0",
10198
10234
  "inheritedFrom": {
10199
- "name": "FoundationElement",
10200
- "module": "src/foundation-element/foundation-element.ts"
10235
+ "name": "<local>_BaseDatasource",
10236
+ "module": "src/utils/base-datasource.ts"
10201
10237
  }
10202
10238
  },
10203
10239
  {
10204
10240
  "kind": "field",
10205
- "name": "$presentation",
10241
+ "name": "rowsSyncedWithStream",
10206
10242
  "type": {
10207
- "text": "ComponentPresentation | null"
10243
+ "text": "Map<string, any>"
10208
10244
  },
10209
10245
  "privacy": "public",
10210
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
10246
+ "default": "new Map()",
10211
10247
  "inheritedFrom": {
10212
- "name": "FoundationElement",
10213
- "module": "src/foundation-element/foundation-element.ts"
10248
+ "name": "<local>_BaseDatasource",
10249
+ "module": "src/utils/base-datasource.ts"
10214
10250
  }
10215
10251
  },
10216
10252
  {
10217
10253
  "kind": "field",
10218
- "name": "template",
10254
+ "name": "dataSubWasLoggedOff",
10219
10255
  "type": {
10220
- "text": "ElementViewTemplate | void | null"
10256
+ "text": "boolean"
10221
10257
  },
10222
10258
  "privacy": "public",
10223
- "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
10259
+ "default": "false",
10224
10260
  "inheritedFrom": {
10225
- "name": "FoundationElement",
10226
- "module": "src/foundation-element/foundation-element.ts"
10261
+ "name": "<local>_BaseDatasource",
10262
+ "module": "src/utils/base-datasource.ts"
10227
10263
  }
10228
10264
  },
10229
10265
  {
10230
- "kind": "method",
10231
- "name": "templateChanged",
10232
- "privacy": "protected",
10233
- "return": {
10234
- "type": {
10235
- "text": "void"
10236
- }
10266
+ "kind": "field",
10267
+ "name": "criteriaFromFilters",
10268
+ "type": {
10269
+ "text": "Map<string, string>"
10237
10270
  },
10271
+ "privacy": "private",
10272
+ "default": "new Map()",
10238
10273
  "inheritedFrom": {
10239
- "name": "FoundationElement",
10240
- "module": "src/foundation-element/foundation-element.ts"
10274
+ "name": "<local>_BaseDatasource",
10275
+ "module": "src/utils/base-datasource.ts"
10241
10276
  }
10242
10277
  },
10243
10278
  {
10244
10279
  "kind": "field",
10245
- "name": "styles",
10280
+ "name": "update",
10246
10281
  "type": {
10247
- "text": "ElementStyles | void | null"
10282
+ "text": "BehaviorSubject<Map<string, string>>"
10248
10283
  },
10249
10284
  "privacy": "public",
10250
- "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
10285
+ "default": "new BehaviorSubject(new Map())",
10251
10286
  "inheritedFrom": {
10252
- "name": "FoundationElement",
10253
- "module": "src/foundation-element/foundation-element.ts"
10287
+ "name": "<local>_BaseDatasource",
10288
+ "module": "src/utils/base-datasource.ts"
10254
10289
  }
10255
10290
  },
10256
10291
  {
10257
10292
  "kind": "method",
10258
- "name": "stylesChanged",
10259
- "privacy": "protected",
10260
- "return": {
10261
- "type": {
10262
- "text": "void"
10263
- }
10264
- },
10293
+ "name": "reset",
10265
10294
  "inheritedFrom": {
10266
- "name": "FoundationElement",
10267
- "module": "src/foundation-element/foundation-element.ts"
10295
+ "name": "<local>_BaseDatasource",
10296
+ "module": "src/utils/base-datasource.ts"
10268
10297
  }
10269
10298
  },
10270
10299
  {
10271
10300
  "kind": "method",
10272
- "name": "compose",
10301
+ "name": "fetchGenesisData",
10273
10302
  "privacy": "public",
10274
- "static": true,
10275
- "return": {
10276
- "type": {
10277
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
10278
- }
10279
- },
10280
10303
  "parameters": [
10281
10304
  {
10282
- "name": "this",
10283
- "type": {
10284
- "text": "K"
10285
- }
10286
- },
10287
- {
10288
- "name": "elementDefinition",
10289
- "type": {
10290
- "text": "T"
10291
- },
10292
- "description": "The definition of the element to create the registry\nfunction for."
10305
+ "name": "withFullInit",
10306
+ "default": "true"
10293
10307
  }
10294
10308
  ],
10295
- "description": "Defines an element registry function with a set of element definition defaults.",
10296
10309
  "inheritedFrom": {
10297
- "name": "FoundationElement",
10298
- "module": "src/foundation-element/foundation-element.ts"
10310
+ "name": "<local>_BaseDatasource",
10311
+ "module": "src/utils/base-datasource.ts"
10299
10312
  }
10300
- }
10301
- ],
10302
- "events": [
10313
+ },
10303
10314
  {
10304
- "description": "Fires a custom 'cell-focused' event when focus is on the cell or its contents",
10305
- "name": "cell-focused",
10315
+ "kind": "method",
10316
+ "name": "initDatasource",
10317
+ "privacy": "public",
10306
10318
  "inheritedFrom": {
10307
- "name": "DataGridCell",
10308
- "module": "src/data-grid/data-grid-cell.ts"
10319
+ "name": "<local>_BaseDatasource",
10320
+ "module": "src/utils/base-datasource.ts"
10309
10321
  }
10310
- }
10311
- ]
10312
- },
10313
- {
10314
- "kind": "variable",
10315
- "name": "foundationDataGridCellShadowOptions",
10316
- "type": {
10317
- "text": "ShadowRootInit"
10318
- },
10319
- "default": "undefined"
10320
- },
10321
- {
10322
- "kind": "variable",
10323
- "name": "defaultDataGridCellConfig",
10324
- "type": {
10325
- "text": "object"
10326
- },
10327
- "default": "{}"
10328
- },
10329
- {
10330
- "kind": "variable",
10331
- "name": "foundationDataGridCell",
10332
- "description": "The Foundation Data Grid Cell Element.",
10333
- "privacy": "public"
10334
- }
10335
- ],
10336
- "exports": [
10337
- {
10338
- "kind": "js",
10339
- "name": "foundationDataGridCellTemplate",
10340
- "declaration": {
10341
- "name": "dataGridCellTemplate",
10342
- "package": "@microsoft/fast-foundation"
10343
- }
10344
- },
10345
- {
10346
- "kind": "js",
10347
- "name": "DataGridCell",
10348
- "declaration": {
10349
- "name": "DataGridCell",
10350
- "module": "src/data-grid-cell/data-grid.cell.ts"
10351
- }
10352
- },
10353
- {
10354
- "kind": "js",
10355
- "name": "foundationDataGridCellShadowOptions",
10356
- "declaration": {
10357
- "name": "foundationDataGridCellShadowOptions",
10358
- "module": "src/data-grid-cell/data-grid.cell.ts"
10359
- }
10360
- },
10361
- {
10362
- "kind": "js",
10363
- "name": "defaultDataGridCellConfig",
10364
- "declaration": {
10365
- "name": "defaultDataGridCellConfig",
10366
- "module": "src/data-grid-cell/data-grid.cell.ts"
10367
- }
10368
- },
10369
- {
10370
- "kind": "js",
10371
- "name": "foundationDataGridCell",
10372
- "declaration": {
10373
- "name": "foundationDataGridCell",
10374
- "module": "src/data-grid-cell/data-grid.cell.ts"
10375
- }
10376
- }
10377
- ]
10378
- },
10379
- {
10380
- "kind": "javascript-module",
10381
- "path": "src/data-grid-cell/index.ts",
10382
- "declarations": [],
10383
- "exports": [
10384
- {
10385
- "kind": "js",
10386
- "name": "*",
10387
- "declaration": {
10388
- "name": "*",
10389
- "package": "./data-grid.cell"
10390
- }
10391
- },
10392
- {
10393
- "kind": "js",
10394
- "name": "*",
10395
- "declaration": {
10396
- "name": "*",
10397
- "package": "./data-grid-cell.styles"
10398
- }
10399
- }
10400
- ]
10401
- },
10402
- {
10403
- "kind": "javascript-module",
10404
- "path": "src/data-grid-datasource/data-grid-datasource.ts",
10405
- "declarations": [
10406
- {
10407
- "kind": "class",
10408
- "description": "",
10409
- "name": "DataGridDatasource",
10410
- "members": [
10411
- {
10412
- "kind": "field",
10413
- "name": "dataGrid",
10414
- "type": {
10415
- "text": "DataGrid"
10416
- },
10417
- "privacy": "private"
10418
10322
  },
10419
10323
  {
10420
- "kind": "field",
10421
- "name": "isSnapshot",
10422
- "type": {
10423
- "text": "boolean"
10324
+ "kind": "method",
10325
+ "name": "datasourceOptions",
10326
+ "privacy": "private",
10327
+ "return": {
10328
+ "type": {
10329
+ "text": "DatasourceOptions"
10330
+ }
10424
10331
  },
10425
- "default": "true",
10426
- "privacy": "public",
10427
10332
  "inheritedFrom": {
10428
10333
  "name": "<local>_BaseDatasource",
10429
10334
  "module": "src/utils/base-datasource.ts"
@@ -10431,25 +10336,16 @@
10431
10336
  },
10432
10337
  {
10433
10338
  "kind": "method",
10434
- "name": "getColumnDefs",
10339
+ "name": "handleStreamUpdate",
10435
10340
  "privacy": "private",
10436
10341
  "parameters": [
10437
10342
  {
10438
- "name": "fieldsMetadata",
10343
+ "name": "result",
10439
10344
  "type": {
10440
- "text": "FieldMetadata[]"
10345
+ "text": "FilteredDataServerResult | RequestServerResult"
10441
10346
  }
10442
10347
  }
10443
- ]
10444
- },
10445
- {
10446
- "kind": "method",
10447
- "name": "clearData",
10448
- "return": {
10449
- "type": {
10450
- "text": "void"
10451
- }
10452
- },
10348
+ ],
10453
10349
  "inheritedFrom": {
10454
10350
  "name": "<local>_BaseDatasource",
10455
10351
  "module": "src/utils/base-datasource.ts"
@@ -10457,18 +10353,13 @@
10457
10353
  },
10458
10354
  {
10459
10355
  "kind": "method",
10460
- "name": "syncComponentData",
10461
- "return": {
10462
- "type": {
10463
- "text": "void"
10464
- }
10465
- },
10356
+ "name": "applyRequestServerData",
10357
+ "privacy": "public",
10466
10358
  "parameters": [
10467
10359
  {
10468
- "name": "snapshotData",
10469
- "optional": true,
10360
+ "name": "requestServerResult",
10470
10361
  "type": {
10471
- "text": "any[]"
10362
+ "text": "RequestServerResult"
10472
10363
  }
10473
10364
  }
10474
10365
  ],
@@ -10479,17 +10370,13 @@
10479
10370
  },
10480
10371
  {
10481
10372
  "kind": "method",
10482
- "name": "handleStreamInserts",
10483
- "return": {
10484
- "type": {
10485
- "text": "void"
10486
- }
10487
- },
10373
+ "name": "applyDataserverData",
10374
+ "privacy": "public",
10488
10375
  "parameters": [
10489
10376
  {
10490
- "name": "insertedRows",
10377
+ "name": "dataServerResult",
10491
10378
  "type": {
10492
- "text": "any[]"
10379
+ "text": "FilteredDataServerResult"
10493
10380
  }
10494
10381
  }
10495
10382
  ],
@@ -10500,17 +10387,33 @@
10500
10387
  },
10501
10388
  {
10502
10389
  "kind": "method",
10503
- "name": "handleStreamDeletes",
10390
+ "name": "buildCriteria",
10391
+ "privacy": "private",
10504
10392
  "return": {
10505
10393
  "type": {
10506
- "text": "void"
10394
+ "text": "string"
10507
10395
  }
10508
10396
  },
10397
+ "inheritedFrom": {
10398
+ "name": "<local>_BaseDatasource",
10399
+ "module": "src/utils/base-datasource.ts"
10400
+ }
10401
+ },
10402
+ {
10403
+ "kind": "method",
10404
+ "name": "setFilter",
10405
+ "privacy": "public",
10509
10406
  "parameters": [
10510
10407
  {
10511
- "name": "deletedRows",
10408
+ "name": "fieldName",
10512
10409
  "type": {
10513
- "text": "any[]"
10410
+ "text": "string"
10411
+ }
10412
+ },
10413
+ {
10414
+ "name": "newFilter",
10415
+ "type": {
10416
+ "text": "string"
10514
10417
  }
10515
10418
  }
10516
10419
  ],
@@ -10521,17 +10424,13 @@
10521
10424
  },
10522
10425
  {
10523
10426
  "kind": "method",
10524
- "name": "handleStreamUpdates",
10525
- "return": {
10526
- "type": {
10527
- "text": "void"
10528
- }
10529
- },
10427
+ "name": "removeFilter",
10428
+ "privacy": "public",
10530
10429
  "parameters": [
10531
10430
  {
10532
- "name": "updatedRows",
10431
+ "name": "fieldName",
10533
10432
  "type": {
10534
- "text": "any[]"
10433
+ "text": "string"
10535
10434
  }
10536
10435
  }
10537
10436
  ],
@@ -10542,432 +10441,577 @@
10542
10441
  },
10543
10442
  {
10544
10443
  "kind": "field",
10545
- "name": "connect",
10444
+ "name": "_presentation",
10546
10445
  "type": {
10547
- "text": "Connect"
10446
+ "text": "ComponentPresentation | null | undefined"
10548
10447
  },
10448
+ "privacy": "private",
10449
+ "default": "void 0",
10549
10450
  "inheritedFrom": {
10550
- "name": "<local>_BaseDatasource",
10551
- "module": "src/utils/base-datasource.ts"
10451
+ "name": "FoundationElement",
10452
+ "module": "src/foundation-element/foundation-element.ts"
10552
10453
  }
10553
10454
  },
10554
10455
  {
10555
10456
  "kind": "field",
10556
- "name": "datasource",
10457
+ "name": "$presentation",
10557
10458
  "type": {
10558
- "text": "Datasource"
10459
+ "text": "ComponentPresentation | null"
10559
10460
  },
10461
+ "privacy": "public",
10462
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
10560
10463
  "inheritedFrom": {
10561
- "name": "<local>_BaseDatasource",
10562
- "module": "src/utils/base-datasource.ts"
10464
+ "name": "FoundationElement",
10465
+ "module": "src/foundation-element/foundation-element.ts"
10563
10466
  }
10564
10467
  },
10565
10468
  {
10566
10469
  "kind": "field",
10567
- "name": "withGridInit",
10470
+ "name": "template",
10568
10471
  "type": {
10569
- "text": "boolean"
10472
+ "text": "ElementViewTemplate | void | null"
10570
10473
  },
10571
- "default": "true",
10474
+ "privacy": "public",
10475
+ "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
10572
10476
  "inheritedFrom": {
10573
- "name": "<local>_BaseDatasource",
10574
- "module": "src/utils/base-datasource.ts"
10477
+ "name": "FoundationElement",
10478
+ "module": "src/foundation-element/foundation-element.ts"
10479
+ }
10480
+ },
10481
+ {
10482
+ "kind": "method",
10483
+ "name": "templateChanged",
10484
+ "privacy": "protected",
10485
+ "return": {
10486
+ "type": {
10487
+ "text": "void"
10488
+ }
10489
+ },
10490
+ "inheritedFrom": {
10491
+ "name": "FoundationElement",
10492
+ "module": "src/foundation-element/foundation-element.ts"
10575
10493
  }
10576
10494
  },
10577
10495
  {
10578
10496
  "kind": "field",
10579
- "name": "criteria",
10497
+ "name": "styles",
10580
10498
  "type": {
10581
- "text": "string"
10499
+ "text": "ElementStyles | void | null"
10582
10500
  },
10501
+ "privacy": "public",
10502
+ "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
10583
10503
  "inheritedFrom": {
10584
- "name": "<local>_BaseDatasource",
10585
- "module": "src/utils/base-datasource.ts"
10504
+ "name": "FoundationElement",
10505
+ "module": "src/foundation-element/foundation-element.ts"
10586
10506
  }
10587
10507
  },
10588
10508
  {
10589
10509
  "kind": "method",
10590
- "name": "criteriaChanged",
10510
+ "name": "stylesChanged",
10511
+ "privacy": "protected",
10512
+ "return": {
10513
+ "type": {
10514
+ "text": "void"
10515
+ }
10516
+ },
10517
+ "inheritedFrom": {
10518
+ "name": "FoundationElement",
10519
+ "module": "src/foundation-element/foundation-element.ts"
10520
+ }
10521
+ },
10522
+ {
10523
+ "kind": "method",
10524
+ "name": "compose",
10525
+ "privacy": "public",
10526
+ "static": true,
10527
+ "return": {
10528
+ "type": {
10529
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
10530
+ }
10531
+ },
10591
10532
  "parameters": [
10592
10533
  {
10593
- "name": "oldCriteria",
10534
+ "name": "this",
10594
10535
  "type": {
10595
- "text": "string"
10536
+ "text": "K"
10596
10537
  }
10597
10538
  },
10598
10539
  {
10599
- "name": "newCriteria",
10540
+ "name": "elementDefinition",
10600
10541
  "type": {
10601
- "text": "string"
10602
- }
10542
+ "text": "T"
10543
+ },
10544
+ "description": "The definition of the element to create the registry\nfunction for."
10603
10545
  }
10604
10546
  ],
10547
+ "description": "Defines an element registry function with a set of element definition defaults.",
10548
+ "inheritedFrom": {
10549
+ "name": "FoundationElement",
10550
+ "module": "src/foundation-element/foundation-element.ts"
10551
+ }
10552
+ }
10553
+ ],
10554
+ "superclass": {
10555
+ "name": "BaseDatasource",
10556
+ "module": "/src/utils"
10557
+ },
10558
+ "attributes": [
10559
+ {
10560
+ "type": {
10561
+ "text": "boolean"
10562
+ },
10563
+ "default": "true",
10564
+ "fieldName": "withGridInit",
10605
10565
  "inheritedFrom": {
10606
10566
  "name": "<local>_BaseDatasource",
10607
10567
  "module": "src/utils/base-datasource.ts"
10608
10568
  }
10609
10569
  },
10610
10570
  {
10611
- "kind": "field",
10612
- "name": "data",
10571
+ "name": "criteria",
10613
10572
  "type": {
10614
- "text": "any[]"
10573
+ "text": "string"
10615
10574
  },
10575
+ "fieldName": "criteria",
10616
10576
  "inheritedFrom": {
10617
10577
  "name": "<local>_BaseDatasource",
10618
10578
  "module": "src/utils/base-datasource.ts"
10619
10579
  }
10620
10580
  },
10621
10581
  {
10622
- "kind": "field",
10623
10582
  "name": "fields",
10624
10583
  "type": {
10625
10584
  "text": "string"
10626
10585
  },
10586
+ "fieldName": "fields",
10627
10587
  "inheritedFrom": {
10628
10588
  "name": "<local>_BaseDatasource",
10629
10589
  "module": "src/utils/base-datasource.ts"
10630
10590
  }
10631
10591
  },
10632
10592
  {
10633
- "kind": "field",
10634
10593
  "name": "maxRows",
10635
10594
  "type": {
10636
10595
  "text": "number"
10637
10596
  },
10597
+ "fieldName": "maxRows",
10638
10598
  "inheritedFrom": {
10639
10599
  "name": "<local>_BaseDatasource",
10640
10600
  "module": "src/utils/base-datasource.ts"
10641
10601
  }
10642
10602
  },
10643
10603
  {
10644
- "kind": "field",
10645
10604
  "name": "maxView",
10646
10605
  "type": {
10647
10606
  "text": "number"
10648
10607
  },
10608
+ "fieldName": "maxView",
10649
10609
  "inheritedFrom": {
10650
10610
  "name": "<local>_BaseDatasource",
10651
10611
  "module": "src/utils/base-datasource.ts"
10652
10612
  }
10653
10613
  },
10654
10614
  {
10655
- "kind": "field",
10656
10615
  "name": "orderBy",
10657
10616
  "type": {
10658
10617
  "text": "string"
10659
10618
  },
10619
+ "fieldName": "orderBy",
10660
10620
  "inheritedFrom": {
10661
10621
  "name": "<local>_BaseDatasource",
10662
10622
  "module": "src/utils/base-datasource.ts"
10663
10623
  }
10664
10624
  },
10665
10625
  {
10666
- "kind": "field",
10667
- "name": "request",
10626
+ "name": "resourceName",
10668
10627
  "type": {
10669
- "text": "any"
10628
+ "text": "string"
10629
+ },
10630
+ "fieldName": "resourceName",
10631
+ "inheritedFrom": {
10632
+ "name": "<local>_BaseDatasource",
10633
+ "module": "src/utils/base-datasource.ts"
10634
+ }
10635
+ },
10636
+ {
10637
+ "name": "rowId",
10638
+ "type": {
10639
+ "text": "string"
10640
+ },
10641
+ "default": "'ROW_REF'",
10642
+ "fieldName": "rowId",
10643
+ "inheritedFrom": {
10644
+ "name": "<local>_BaseDatasource",
10645
+ "module": "src/utils/base-datasource.ts"
10646
+ }
10647
+ },
10648
+ {
10649
+ "name": "with-timestamp-formatting",
10650
+ "type": {
10651
+ "text": "boolean"
10670
10652
  },
10653
+ "default": "true",
10654
+ "description": "Enabled by default, will format UNIX timestamp fields to readable [DATE|DATETIME] values.",
10655
+ "fieldName": "withTimestampFormatting",
10671
10656
  "inheritedFrom": {
10672
10657
  "name": "<local>_BaseDatasource",
10673
10658
  "module": "src/utils/base-datasource.ts"
10674
10659
  }
10660
+ }
10661
+ ]
10662
+ }
10663
+ ],
10664
+ "exports": [
10665
+ {
10666
+ "kind": "js",
10667
+ "name": "DataGridDatasource",
10668
+ "declaration": {
10669
+ "name": "DataGridDatasource",
10670
+ "module": "src/data-grid-datasource/data-grid-datasource.ts"
10671
+ }
10672
+ },
10673
+ {
10674
+ "kind": "custom-element-definition",
10675
+ "name": "data-grid-datasource",
10676
+ "declaration": {
10677
+ "name": "DataGridDatasource",
10678
+ "module": "src/data-grid-datasource/data-grid-datasource.ts"
10679
+ }
10680
+ }
10681
+ ]
10682
+ },
10683
+ {
10684
+ "kind": "javascript-module",
10685
+ "path": "src/data-grid-datasource/index.ts",
10686
+ "declarations": [],
10687
+ "exports": [
10688
+ {
10689
+ "kind": "js",
10690
+ "name": "*",
10691
+ "declaration": {
10692
+ "name": "*",
10693
+ "package": "./data-grid-datasource"
10694
+ }
10695
+ }
10696
+ ]
10697
+ },
10698
+ {
10699
+ "kind": "javascript-module",
10700
+ "path": "src/data-grid-cell/data-grid-cell.styles.ts",
10701
+ "declarations": [
10702
+ {
10703
+ "kind": "function",
10704
+ "name": "foundationDataGridCellStyles",
10705
+ "return": {
10706
+ "type": {
10707
+ "text": "ElementStyles"
10708
+ }
10709
+ },
10710
+ "parameters": [
10711
+ {
10712
+ "name": "context",
10713
+ "type": {
10714
+ "text": "ElementDefinitionContext"
10715
+ }
10675
10716
  },
10676
10717
  {
10677
- "kind": "field",
10678
- "name": "resourceName",
10718
+ "name": "defintion",
10679
10719
  "type": {
10680
- "text": "string"
10681
- },
10682
- "inheritedFrom": {
10683
- "name": "<local>_BaseDatasource",
10684
- "module": "src/utils/base-datasource.ts"
10720
+ "text": "FoundationElementDefinition"
10685
10721
  }
10686
- },
10722
+ }
10723
+ ]
10724
+ }
10725
+ ],
10726
+ "exports": [
10727
+ {
10728
+ "kind": "js",
10729
+ "name": "foundationDataGridCellStyles",
10730
+ "declaration": {
10731
+ "name": "foundationDataGridCellStyles",
10732
+ "module": "src/data-grid-cell/data-grid-cell.styles.ts"
10733
+ }
10734
+ }
10735
+ ]
10736
+ },
10737
+ {
10738
+ "kind": "javascript-module",
10739
+ "path": "src/data-grid-cell/data-grid.cell.ts",
10740
+ "declarations": [
10741
+ {
10742
+ "kind": "class",
10743
+ "description": "",
10744
+ "name": "DataGridCell",
10745
+ "superclass": {
10746
+ "name": "FASTDataGridCell",
10747
+ "package": "@microsoft/fast-components"
10748
+ },
10749
+ "tagName": "%%prefix%%-data-grid-cell",
10750
+ "customElement": true,
10751
+ "attributes": [
10687
10752
  {
10688
- "kind": "field",
10689
- "name": "reverse",
10753
+ "name": "cell-type",
10690
10754
  "type": {
10691
- "text": "boolean"
10755
+ "text": "DataGridCellTypes"
10692
10756
  },
10693
- "default": "false",
10757
+ "description": "The type of cell",
10758
+ "fieldName": "cellType",
10694
10759
  "inheritedFrom": {
10695
- "name": "<local>_BaseDatasource",
10696
- "module": "src/utils/base-datasource.ts"
10760
+ "name": "DataGridCell",
10761
+ "module": "src/data-grid/data-grid-cell.ts"
10697
10762
  }
10698
10763
  },
10699
10764
  {
10700
- "kind": "field",
10701
- "name": "rowId",
10765
+ "name": "grid-column",
10702
10766
  "type": {
10703
10767
  "text": "string"
10704
10768
  },
10705
- "default": "'ROW_REF'",
10769
+ "description": "The column index of the cell.\nThis will be applied to the css grid-column-index value\napplied to the cell",
10770
+ "fieldName": "gridColumn",
10706
10771
  "inheritedFrom": {
10707
- "name": "<local>_BaseDatasource",
10708
- "module": "src/utils/base-datasource.ts"
10772
+ "name": "DataGridCell",
10773
+ "module": "src/data-grid/data-grid-cell.ts"
10709
10774
  }
10710
- },
10775
+ }
10776
+ ],
10777
+ "members": [
10711
10778
  {
10712
10779
  "kind": "field",
10713
- "name": "withTimestampFormatting",
10780
+ "name": "cellType",
10714
10781
  "type": {
10715
- "text": "boolean"
10782
+ "text": "DataGridCellTypes"
10716
10783
  },
10717
- "default": "true",
10718
- "description": "Enabled by default, will format UNIX timestamp fields to readable [DATE|DATETIME] values.",
10719
10784
  "privacy": "public",
10785
+ "description": "The type of cell",
10720
10786
  "inheritedFrom": {
10721
- "name": "<local>_BaseDatasource",
10722
- "module": "src/utils/base-datasource.ts"
10787
+ "name": "DataGridCell",
10788
+ "module": "src/data-grid/data-grid-cell.ts"
10723
10789
  }
10724
10790
  },
10725
10791
  {
10726
- "kind": "field",
10727
- "name": "datasourceConfig",
10792
+ "kind": "method",
10793
+ "name": "cellTypeChanged",
10794
+ "privacy": "private",
10795
+ "return": {
10796
+ "type": {
10797
+ "text": "void"
10798
+ }
10799
+ },
10728
10800
  "inheritedFrom": {
10729
- "name": "<local>_BaseDatasource",
10730
- "module": "src/utils/base-datasource.ts"
10801
+ "name": "DataGridCell",
10802
+ "module": "src/data-grid/data-grid-cell.ts"
10731
10803
  }
10732
10804
  },
10733
10805
  {
10734
10806
  "kind": "field",
10735
- "name": "requiresFullDataRefresh",
10807
+ "name": "gridColumn",
10736
10808
  "type": {
10737
- "text": "boolean"
10809
+ "text": "string"
10738
10810
  },
10739
10811
  "privacy": "public",
10740
- "default": "true",
10812
+ "description": "The column index of the cell.\nThis will be applied to the css grid-column-index value\napplied to the cell",
10741
10813
  "inheritedFrom": {
10742
- "name": "<local>_BaseDatasource",
10743
- "module": "src/utils/base-datasource.ts"
10814
+ "name": "DataGridCell",
10815
+ "module": "src/data-grid/data-grid-cell.ts"
10744
10816
  }
10745
10817
  },
10746
10818
  {
10747
- "kind": "field",
10748
- "name": "dataSub",
10749
- "type": {
10750
- "text": "Subscription"
10819
+ "kind": "method",
10820
+ "name": "gridColumnChanged",
10821
+ "privacy": "private",
10822
+ "return": {
10823
+ "type": {
10824
+ "text": "void"
10825
+ }
10751
10826
  },
10752
- "privacy": "public",
10753
10827
  "inheritedFrom": {
10754
- "name": "<local>_BaseDatasource",
10755
- "module": "src/utils/base-datasource.ts"
10828
+ "name": "DataGridCell",
10829
+ "module": "src/data-grid/data-grid-cell.ts"
10756
10830
  }
10757
10831
  },
10758
10832
  {
10759
10833
  "kind": "field",
10760
- "name": "sourceRef",
10834
+ "name": "rowData",
10761
10835
  "type": {
10762
- "text": "string"
10836
+ "text": "object | null"
10763
10837
  },
10764
- "privacy": "private",
10838
+ "privacy": "public",
10839
+ "default": "null",
10840
+ "description": "The base data for the parent row",
10765
10841
  "inheritedFrom": {
10766
- "name": "<local>_BaseDatasource",
10767
- "module": "src/utils/base-datasource.ts"
10842
+ "name": "DataGridCell",
10843
+ "module": "src/data-grid/data-grid-cell.ts"
10768
10844
  }
10769
10845
  },
10770
10846
  {
10771
10847
  "kind": "field",
10772
- "name": "rowsSyncedWithStream",
10848
+ "name": "columnDefinition",
10773
10849
  "type": {
10774
- "text": "Map<string, any>"
10850
+ "text": "ColumnDefinition | null"
10775
10851
  },
10776
10852
  "privacy": "public",
10777
- "default": "new Map()",
10853
+ "default": "null",
10854
+ "description": "The base data for the column",
10778
10855
  "inheritedFrom": {
10779
- "name": "<local>_BaseDatasource",
10780
- "module": "src/utils/base-datasource.ts"
10856
+ "name": "DataGridCell",
10857
+ "module": "src/data-grid/data-grid-cell.ts"
10781
10858
  }
10782
10859
  },
10783
10860
  {
10784
- "kind": "field",
10785
- "name": "dataSubWasLoggedOff",
10786
- "type": {
10787
- "text": "boolean"
10861
+ "kind": "method",
10862
+ "name": "columnDefinitionChanged",
10863
+ "privacy": "private",
10864
+ "return": {
10865
+ "type": {
10866
+ "text": "void"
10867
+ }
10788
10868
  },
10789
- "privacy": "public",
10790
- "default": "false",
10869
+ "parameters": [
10870
+ {
10871
+ "name": "oldValue",
10872
+ "type": {
10873
+ "text": "ColumnDefinition | null"
10874
+ }
10875
+ },
10876
+ {
10877
+ "name": "newValue",
10878
+ "type": {
10879
+ "text": "ColumnDefinition | null"
10880
+ }
10881
+ }
10882
+ ],
10791
10883
  "inheritedFrom": {
10792
- "name": "<local>_BaseDatasource",
10793
- "module": "src/utils/base-datasource.ts"
10884
+ "name": "DataGridCell",
10885
+ "module": "src/data-grid/data-grid-cell.ts"
10794
10886
  }
10795
10887
  },
10796
10888
  {
10797
10889
  "kind": "field",
10798
- "name": "criteriaFromFilters",
10890
+ "name": "isActiveCell",
10799
10891
  "type": {
10800
- "text": "Map<string, string>"
10892
+ "text": "boolean"
10801
10893
  },
10802
10894
  "privacy": "private",
10803
- "default": "new Map()",
10895
+ "default": "false",
10804
10896
  "inheritedFrom": {
10805
- "name": "<local>_BaseDatasource",
10806
- "module": "src/utils/base-datasource.ts"
10897
+ "name": "DataGridCell",
10898
+ "module": "src/data-grid/data-grid-cell.ts"
10807
10899
  }
10808
10900
  },
10809
10901
  {
10810
10902
  "kind": "field",
10811
- "name": "update",
10903
+ "name": "customCellView",
10812
10904
  "type": {
10813
- "text": "BehaviorSubject<Map<string, string>>"
10905
+ "text": "HTMLView | null"
10814
10906
  },
10815
- "privacy": "public",
10816
- "default": "new BehaviorSubject(new Map())",
10817
- "inheritedFrom": {
10818
- "name": "<local>_BaseDatasource",
10819
- "module": "src/utils/base-datasource.ts"
10820
- }
10821
- },
10822
- {
10823
- "kind": "method",
10824
- "name": "reset",
10825
- "inheritedFrom": {
10826
- "name": "<local>_BaseDatasource",
10827
- "module": "src/utils/base-datasource.ts"
10828
- }
10829
- },
10830
- {
10831
- "kind": "method",
10832
- "name": "fetchGenesisData",
10833
- "privacy": "public",
10834
- "parameters": [
10835
- {
10836
- "name": "withFullInit",
10837
- "default": "true"
10838
- }
10839
- ],
10907
+ "privacy": "private",
10908
+ "default": "null",
10840
10909
  "inheritedFrom": {
10841
- "name": "<local>_BaseDatasource",
10842
- "module": "src/utils/base-datasource.ts"
10910
+ "name": "DataGridCell",
10911
+ "module": "src/data-grid/data-grid-cell.ts"
10843
10912
  }
10844
10913
  },
10845
10914
  {
10846
10915
  "kind": "method",
10847
- "name": "initDatasource",
10916
+ "name": "handleFocusin",
10848
10917
  "privacy": "public",
10849
- "inheritedFrom": {
10850
- "name": "<local>_BaseDatasource",
10851
- "module": "src/utils/base-datasource.ts"
10852
- }
10853
- },
10854
- {
10855
- "kind": "method",
10856
- "name": "datasourceOptions",
10857
- "privacy": "private",
10858
10918
  "return": {
10859
10919
  "type": {
10860
- "text": "DatasourceOptions"
10920
+ "text": "void"
10861
10921
  }
10862
10922
  },
10863
- "inheritedFrom": {
10864
- "name": "<local>_BaseDatasource",
10865
- "module": "src/utils/base-datasource.ts"
10866
- }
10867
- },
10868
- {
10869
- "kind": "method",
10870
- "name": "handleStreamUpdate",
10871
- "privacy": "private",
10872
10923
  "parameters": [
10873
10924
  {
10874
- "name": "result",
10925
+ "name": "e",
10875
10926
  "type": {
10876
- "text": "FilteredDataServerResult | RequestServerResult"
10927
+ "text": "FocusEvent"
10877
10928
  }
10878
10929
  }
10879
10930
  ],
10880
10931
  "inheritedFrom": {
10881
- "name": "<local>_BaseDatasource",
10882
- "module": "src/utils/base-datasource.ts"
10932
+ "name": "DataGridCell",
10933
+ "module": "src/data-grid/data-grid-cell.ts"
10883
10934
  }
10884
10935
  },
10885
10936
  {
10886
10937
  "kind": "method",
10887
- "name": "applyRequestServerData",
10938
+ "name": "handleFocusout",
10888
10939
  "privacy": "public",
10940
+ "return": {
10941
+ "type": {
10942
+ "text": "void"
10943
+ }
10944
+ },
10889
10945
  "parameters": [
10890
10946
  {
10891
- "name": "requestServerResult",
10947
+ "name": "e",
10892
10948
  "type": {
10893
- "text": "RequestServerResult"
10949
+ "text": "FocusEvent"
10894
10950
  }
10895
10951
  }
10896
10952
  ],
10897
10953
  "inheritedFrom": {
10898
- "name": "<local>_BaseDatasource",
10899
- "module": "src/utils/base-datasource.ts"
10954
+ "name": "DataGridCell",
10955
+ "module": "src/data-grid/data-grid-cell.ts"
10900
10956
  }
10901
10957
  },
10902
10958
  {
10903
10959
  "kind": "method",
10904
- "name": "applyDataserverData",
10960
+ "name": "handleKeydown",
10905
10961
  "privacy": "public",
10962
+ "return": {
10963
+ "type": {
10964
+ "text": "void"
10965
+ }
10966
+ },
10906
10967
  "parameters": [
10907
10968
  {
10908
- "name": "dataServerResult",
10969
+ "name": "e",
10909
10970
  "type": {
10910
- "text": "FilteredDataServerResult"
10971
+ "text": "KeyboardEvent"
10911
10972
  }
10912
10973
  }
10913
10974
  ],
10914
10975
  "inheritedFrom": {
10915
- "name": "<local>_BaseDatasource",
10916
- "module": "src/utils/base-datasource.ts"
10976
+ "name": "DataGridCell",
10977
+ "module": "src/data-grid/data-grid-cell.ts"
10917
10978
  }
10918
10979
  },
10919
10980
  {
10920
10981
  "kind": "method",
10921
- "name": "buildCriteria",
10982
+ "name": "updateCellView",
10922
10983
  "privacy": "private",
10923
10984
  "return": {
10924
10985
  "type": {
10925
- "text": "string"
10986
+ "text": "void"
10926
10987
  }
10927
10988
  },
10928
10989
  "inheritedFrom": {
10929
- "name": "<local>_BaseDatasource",
10930
- "module": "src/utils/base-datasource.ts"
10990
+ "name": "DataGridCell",
10991
+ "module": "src/data-grid/data-grid-cell.ts"
10931
10992
  }
10932
10993
  },
10933
10994
  {
10934
10995
  "kind": "method",
10935
- "name": "setFilter",
10936
- "privacy": "public",
10937
- "parameters": [
10938
- {
10939
- "name": "fieldName",
10940
- "type": {
10941
- "text": "string"
10942
- }
10943
- },
10944
- {
10945
- "name": "newFilter",
10946
- "type": {
10947
- "text": "string"
10948
- }
10996
+ "name": "disconnectCellView",
10997
+ "privacy": "private",
10998
+ "return": {
10999
+ "type": {
11000
+ "text": "void"
10949
11001
  }
10950
- ],
11002
+ },
10951
11003
  "inheritedFrom": {
10952
- "name": "<local>_BaseDatasource",
10953
- "module": "src/utils/base-datasource.ts"
11004
+ "name": "DataGridCell",
11005
+ "module": "src/data-grid/data-grid-cell.ts"
10954
11006
  }
10955
11007
  },
10956
11008
  {
10957
- "kind": "method",
10958
- "name": "removeFilter",
10959
- "privacy": "public",
10960
- "parameters": [
10961
- {
10962
- "name": "fieldName",
10963
- "type": {
10964
- "text": "string"
10965
- }
10966
- }
10967
- ],
11009
+ "kind": "field",
11010
+ "name": "updateCellStyle",
11011
+ "privacy": "private",
10968
11012
  "inheritedFrom": {
10969
- "name": "<local>_BaseDatasource",
10970
- "module": "src/utils/base-datasource.ts"
11013
+ "name": "DataGridCell",
11014
+ "module": "src/data-grid/data-grid-cell.ts"
10971
11015
  }
10972
11016
  },
10973
11017
  {
@@ -11082,138 +11126,86 @@
11082
11126
  }
11083
11127
  }
11084
11128
  ],
11085
- "superclass": {
11086
- "name": "BaseDatasource",
11087
- "module": "/src/utils"
11088
- },
11089
- "attributes": [
11090
- {
11091
- "type": {
11092
- "text": "boolean"
11093
- },
11094
- "default": "true",
11095
- "fieldName": "withGridInit",
11096
- "inheritedFrom": {
11097
- "name": "<local>_BaseDatasource",
11098
- "module": "src/utils/base-datasource.ts"
11099
- }
11100
- },
11101
- {
11102
- "name": "criteria",
11103
- "type": {
11104
- "text": "string"
11105
- },
11106
- "fieldName": "criteria",
11107
- "inheritedFrom": {
11108
- "name": "<local>_BaseDatasource",
11109
- "module": "src/utils/base-datasource.ts"
11110
- }
11111
- },
11112
- {
11113
- "name": "fields",
11114
- "type": {
11115
- "text": "string"
11116
- },
11117
- "fieldName": "fields",
11118
- "inheritedFrom": {
11119
- "name": "<local>_BaseDatasource",
11120
- "module": "src/utils/base-datasource.ts"
11121
- }
11122
- },
11123
- {
11124
- "name": "maxRows",
11125
- "type": {
11126
- "text": "number"
11127
- },
11128
- "fieldName": "maxRows",
11129
- "inheritedFrom": {
11130
- "name": "<local>_BaseDatasource",
11131
- "module": "src/utils/base-datasource.ts"
11132
- }
11133
- },
11134
- {
11135
- "name": "maxView",
11136
- "type": {
11137
- "text": "number"
11138
- },
11139
- "fieldName": "maxView",
11140
- "inheritedFrom": {
11141
- "name": "<local>_BaseDatasource",
11142
- "module": "src/utils/base-datasource.ts"
11143
- }
11144
- },
11145
- {
11146
- "name": "orderBy",
11147
- "type": {
11148
- "text": "string"
11149
- },
11150
- "fieldName": "orderBy",
11151
- "inheritedFrom": {
11152
- "name": "<local>_BaseDatasource",
11153
- "module": "src/utils/base-datasource.ts"
11154
- }
11155
- },
11156
- {
11157
- "name": "resourceName",
11158
- "type": {
11159
- "text": "string"
11160
- },
11161
- "fieldName": "resourceName",
11162
- "inheritedFrom": {
11163
- "name": "<local>_BaseDatasource",
11164
- "module": "src/utils/base-datasource.ts"
11165
- }
11166
- },
11167
- {
11168
- "name": "rowId",
11169
- "type": {
11170
- "text": "string"
11171
- },
11172
- "default": "'ROW_REF'",
11173
- "fieldName": "rowId",
11174
- "inheritedFrom": {
11175
- "name": "<local>_BaseDatasource",
11176
- "module": "src/utils/base-datasource.ts"
11177
- }
11178
- },
11129
+ "events": [
11179
11130
  {
11180
- "name": "with-timestamp-formatting",
11181
- "type": {
11182
- "text": "boolean"
11183
- },
11184
- "default": "true",
11185
- "description": "Enabled by default, will format UNIX timestamp fields to readable [DATE|DATETIME] values.",
11186
- "fieldName": "withTimestampFormatting",
11131
+ "description": "Fires a custom 'cell-focused' event when focus is on the cell or its contents",
11132
+ "name": "cell-focused",
11187
11133
  "inheritedFrom": {
11188
- "name": "<local>_BaseDatasource",
11189
- "module": "src/utils/base-datasource.ts"
11134
+ "name": "DataGridCell",
11135
+ "module": "src/data-grid/data-grid-cell.ts"
11190
11136
  }
11191
11137
  }
11192
11138
  ]
11139
+ },
11140
+ {
11141
+ "kind": "variable",
11142
+ "name": "foundationDataGridCellShadowOptions",
11143
+ "type": {
11144
+ "text": "ShadowRootInit"
11145
+ },
11146
+ "default": "undefined"
11147
+ },
11148
+ {
11149
+ "kind": "variable",
11150
+ "name": "defaultDataGridCellConfig",
11151
+ "type": {
11152
+ "text": "object"
11153
+ },
11154
+ "default": "{}"
11155
+ },
11156
+ {
11157
+ "kind": "variable",
11158
+ "name": "foundationDataGridCell",
11159
+ "description": "The Foundation Data Grid Cell Element.",
11160
+ "privacy": "public"
11193
11161
  }
11194
11162
  ],
11195
11163
  "exports": [
11196
11164
  {
11197
11165
  "kind": "js",
11198
- "name": "DataGridDatasource",
11166
+ "name": "foundationDataGridCellTemplate",
11199
11167
  "declaration": {
11200
- "name": "DataGridDatasource",
11201
- "module": "src/data-grid-datasource/data-grid-datasource.ts"
11168
+ "name": "dataGridCellTemplate",
11169
+ "package": "@microsoft/fast-foundation"
11202
11170
  }
11203
11171
  },
11204
11172
  {
11205
- "kind": "custom-element-definition",
11206
- "name": "data-grid-datasource",
11173
+ "kind": "js",
11174
+ "name": "DataGridCell",
11207
11175
  "declaration": {
11208
- "name": "DataGridDatasource",
11209
- "module": "src/data-grid-datasource/data-grid-datasource.ts"
11176
+ "name": "DataGridCell",
11177
+ "module": "src/data-grid-cell/data-grid.cell.ts"
11178
+ }
11179
+ },
11180
+ {
11181
+ "kind": "js",
11182
+ "name": "foundationDataGridCellShadowOptions",
11183
+ "declaration": {
11184
+ "name": "foundationDataGridCellShadowOptions",
11185
+ "module": "src/data-grid-cell/data-grid.cell.ts"
11186
+ }
11187
+ },
11188
+ {
11189
+ "kind": "js",
11190
+ "name": "defaultDataGridCellConfig",
11191
+ "declaration": {
11192
+ "name": "defaultDataGridCellConfig",
11193
+ "module": "src/data-grid-cell/data-grid.cell.ts"
11194
+ }
11195
+ },
11196
+ {
11197
+ "kind": "js",
11198
+ "name": "foundationDataGridCell",
11199
+ "declaration": {
11200
+ "name": "foundationDataGridCell",
11201
+ "module": "src/data-grid-cell/data-grid.cell.ts"
11210
11202
  }
11211
11203
  }
11212
11204
  ]
11213
11205
  },
11214
11206
  {
11215
11207
  "kind": "javascript-module",
11216
- "path": "src/data-grid-datasource/index.ts",
11208
+ "path": "src/data-grid-cell/index.ts",
11217
11209
  "declarations": [],
11218
11210
  "exports": [
11219
11211
  {
@@ -11221,7 +11213,15 @@
11221
11213
  "name": "*",
11222
11214
  "declaration": {
11223
11215
  "name": "*",
11224
- "package": "./data-grid-datasource"
11216
+ "package": "./data-grid.cell"
11217
+ }
11218
+ },
11219
+ {
11220
+ "kind": "js",
11221
+ "name": "*",
11222
+ "declaration": {
11223
+ "name": "*",
11224
+ "package": "./data-grid-cell.styles"
11225
11225
  }
11226
11226
  }
11227
11227
  ]