@airtable/blocks 1.11.1 → 1.14.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 (59) hide show
  1. package/README.md +2 -2
  2. package/dist/cjs/global_config.js +3 -3
  3. package/dist/cjs/injected/airtable_interface.js +1 -1
  4. package/dist/cjs/models/base.js +10 -10
  5. package/dist/cjs/models/cursor.js +4 -6
  6. package/dist/cjs/models/field.js +34 -14
  7. package/dist/cjs/models/record_query_result.js +1 -1
  8. package/dist/cjs/models/record_store.js +68 -16
  9. package/dist/cjs/models/session.js +3 -3
  10. package/dist/cjs/models/table.js +25 -25
  11. package/dist/cjs/models/view.js +23 -1
  12. package/dist/cjs/sdk.js +8 -1
  13. package/dist/cjs/settings_button.js +1 -1
  14. package/dist/cjs/ui/block_wrapper.js +2 -5
  15. package/dist/cjs/ui/expand_record_picker_async.js +1 -1
  16. package/dist/cjs/ui/global_config_synced_component_helpers.js +6 -0
  17. package/dist/cjs/ui/icon_config.js +10 -4
  18. package/dist/cjs/ui/initialize_block.js +3 -3
  19. package/dist/cjs/ui/use_global_config.js +1 -1
  20. package/dist/cjs/ui/use_loadable.js +3 -3
  21. package/dist/cjs/ui/use_record_action_data.js +11 -11
  22. package/dist/cjs/ui/use_settings_button.js +1 -1
  23. package/dist/cjs/ui/viewport_constraint.js +1 -1
  24. package/dist/cjs/viewport.js +9 -9
  25. package/dist/types/src/global_config.d.ts +3 -3
  26. package/dist/types/src/models/base.d.ts +9 -9
  27. package/dist/types/src/models/cursor.d.ts +4 -6
  28. package/dist/types/src/models/cursor.d.ts.map +1 -1
  29. package/dist/types/src/models/field.d.ts +12 -3
  30. package/dist/types/src/models/field.d.ts.map +1 -1
  31. package/dist/types/src/models/record_query_result.d.ts +2 -2
  32. package/dist/types/src/models/session.d.ts +3 -3
  33. package/dist/types/src/models/table.d.ts +25 -25
  34. package/dist/types/src/models/view.d.ts +11 -0
  35. package/dist/types/src/models/view.d.ts.map +1 -1
  36. package/dist/types/src/sdk.d.ts +3 -1
  37. package/dist/types/src/sdk.d.ts.map +1 -1
  38. package/dist/types/src/settings_button.d.ts +1 -1
  39. package/dist/types/src/types/field.d.ts +11 -5
  40. package/dist/types/src/types/field.d.ts.map +1 -1
  41. package/dist/types/src/types/view.d.ts +1 -0
  42. package/dist/types/src/types/view.d.ts.map +1 -1
  43. package/dist/types/src/ui/block_wrapper.d.ts.map +1 -1
  44. package/dist/types/src/ui/expand_record_picker_async.d.ts +1 -1
  45. package/dist/types/src/ui/global_config_synced_component_helpers.d.ts.map +1 -1
  46. package/dist/types/src/ui/icon_config.d.ts +9 -3
  47. package/dist/types/src/ui/icon_config.d.ts.map +1 -1
  48. package/dist/types/src/ui/initialize_block.d.ts +1 -1
  49. package/dist/types/src/ui/use_global_config.d.ts +1 -1
  50. package/dist/types/src/ui/use_loadable.d.ts +2 -2
  51. package/dist/types/src/ui/use_record_action_data.d.ts +11 -11
  52. package/dist/types/src/ui/use_settings_button.d.ts +1 -1
  53. package/dist/types/src/ui/viewport_constraint.d.ts +3 -3
  54. package/dist/types/src/ui/viewport_constraint.d.ts.map +1 -1
  55. package/dist/types/src/viewport.d.ts +9 -9
  56. package/dist/types/test/airtable_interface_mocks/fixture_data.d.ts +6 -1
  57. package/dist/types/test/airtable_interface_mocks/fixture_data.d.ts.map +1 -1
  58. package/package.json +1 -1
  59. package/CHANGELOG.md +0 -495
@@ -60,7 +60,8 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
60
60
  // This doesn't follow our enum naming conventions because we want the keys
61
61
  // to mirror the method/getter names on the model class.
62
62
  var WatchableViewKeys = Object.freeze({
63
- name: 'name'
63
+ name: 'name',
64
+ isLockedView: 'isLockedView'
64
65
  });
65
66
  /**
66
67
  * A key in {@link View} that can be watched.
@@ -371,6 +372,12 @@ function (_AbstractModel) {
371
372
  didViewSchemaChange = true;
372
373
  }
373
374
 
375
+ if (dirtyPaths.isLocked) {
376
+ this._onChange(WatchableViewKeys.isLockedView);
377
+
378
+ didViewSchemaChange = true;
379
+ }
380
+
374
381
  return didViewSchemaChange;
375
382
  }
376
383
  }, {
@@ -428,6 +435,21 @@ function (_AbstractModel) {
428
435
  get: function get() {
429
436
  return this._data.type;
430
437
  }
438
+ /**
439
+ * If the view is locked. Can be watched.
440
+ *
441
+ * @example
442
+ * ```js
443
+ * console.log(myView.isLockedView);
444
+ * // => false
445
+ * ```
446
+ */
447
+
448
+ }, {
449
+ key: "isLockedView",
450
+ get: function get() {
451
+ return this._data.isLockedView;
452
+ }
431
453
  /**
432
454
  * The URL for the view. You can visit this URL in the browser to be taken to the view in the Airtable UI.
433
455
  *
package/dist/cjs/sdk.js CHANGED
@@ -320,6 +320,13 @@ function () {
320
320
  }
321
321
  }, null, this);
322
322
  }
323
+ /** @hidden */
324
+
325
+ }, {
326
+ key: "getBlockRunContext",
327
+ value: function getBlockRunContext() {
328
+ return this.__airtableInterface.sdkInitData.runContext;
329
+ }
323
330
  }, {
324
331
  key: "__appInterface",
325
332
  get: function get() {
@@ -330,4 +337,4 @@ function () {
330
337
  }();
331
338
 
332
339
  exports.default = BlockSdk;
333
- (0, _defineProperty2.default)(BlockSdk, "VERSION", "1.11.1");
340
+ (0, _defineProperty2.default)(BlockSdk, "VERSION", "1.14.0");
@@ -39,7 +39,7 @@ var WatchableSettingsButtonKeys = Object.freeze({
39
39
  */
40
40
 
41
41
  /**
42
- * Interface to the settings button that lives outside the app's viewport.
42
+ * Interface to the settings button that lives outside the extension's viewport.
43
43
  *
44
44
  * The {@link useSettingsButton} hook is the recommended way to use the settings button, but you can
45
45
  * also use it with {@link useWatchable} if you want more granular control (for example, to only
@@ -129,10 +129,7 @@ function (_React$Component) {
129
129
  }, {
130
130
  key: "render",
131
131
  value: function render() {
132
- var _this$props$sdk = this.props.sdk,
133
- viewport = _this$props$sdk.viewport,
134
- session = _this$props$sdk.session;
135
- var blockNoun = session.__isFeatureEnabled('blocks.appsRename') ? 'app' : 'block';
132
+ var viewport = this.props.sdk.viewport;
136
133
  var globalAlertInfo = _ui.globalAlert.__alertInfo;
137
134
 
138
135
  if (globalAlertInfo) {
@@ -166,7 +163,7 @@ function (_React$Component) {
166
163
  }
167
164
  }, React.createElement("span", {
168
165
  className: (0, _baymax_utils.baymax)('center line-height-4 quiet strong')
169
- }, React.createElement("span", null, "Please make this ", blockNoun, " bigger or "), React.createElement("span", {
166
+ }, React.createElement("span", null, "Please make this extension bigger or "), React.createElement("span", {
170
167
  className: (0, _baymax_utils.baymax)('pointer understroke link-unquiet'),
171
168
  onClick: () => viewport.enterFullscreenIfPossible()
172
169
  }, "fullscreen"))));
@@ -25,7 +25,7 @@ var _error_utils = require("../error_utils");
25
25
 
26
26
  /**
27
27
  * Expands a list of records in the Airtable UI, and prompts the user to pick
28
- * one. The selected record is returned to the app, and the modal is
28
+ * one. The selected record is returned to the extension, and the modal is
29
29
  * automatically closed.
30
30
  *
31
31
  * If the user dismisses the modal, or another one is opened before this one
@@ -9,6 +9,8 @@ exports.default = void 0;
9
9
 
10
10
  var _propTypes = _interopRequireDefault(require("prop-types"));
11
11
 
12
+ var _airtable_interface = require("../types/airtable_interface");
13
+
12
14
  var _use_watchable = _interopRequireDefault(require("./use_watchable"));
13
15
 
14
16
  var _sdk_context = require("./sdk_context");
@@ -21,8 +23,12 @@ var globalConfigSyncedComponentHelpers = {
21
23
  var sdk = (0, _sdk_context.useSdk)();
22
24
  var globalConfig = sdk.globalConfig,
23
25
  session = sdk.session;
26
+ var runContext = sdk.getBlockRunContext();
24
27
  (0, _use_watchable.default)(globalConfig, [globalConfig.__getTopLevelKey(globalConfigKey)]);
25
28
  (0, _use_watchable.default)(session, ['permissionLevel']);
29
+ var viewIfInViewContext = runContext.type === _airtable_interface.BlockRunContextType.VIEW ? sdk.base.getTableById(runContext.tableId).getViewById(runContext.viewId) : null; // We can't conditionally watch, but if it's not a viewContext the model will be null.
30
+
31
+ (0, _use_watchable.default)(viewIfInViewContext, ['isLockedView']);
26
32
  }
27
33
 
28
34
  };
@@ -39,7 +39,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
39
39
  // In the UI kit we need more specific types to allow proper autocomplete and prop types.
40
40
  // To achieve this we run the original `iconConfig` object from Hyperbase through an utility.
41
41
  // You can find the utility here: https://codesandbox.io/s/winter-sound-f4p2l?fontsize=14
42
- var iconNamesArray = ['android', 'apple', 'apps', 'ascending', 'attachment', 'automations', 'autonumber', 'barcode', 'bell', 'blocks', 'bold', 'bolt', 'boltList', 'book', 'calendar', 'calendarDay', 'caret', 'chart', 'chat', 'check', 'checkbox', 'checkboxChecked', 'checkboxUnchecked', 'checklist', 'chevronDown', 'chevronLeft', 'chevronRight', 'chevronUp', 'clipboard', 'code', 'cog', 'collapse', 'collapseSidebar', 'contacts', 'count', 'count1', 'cube', 'cursor', 'day', 'dayAuto', 'dedent', 'descending', 'dollar', 'down', 'download', 'dragHandle', 'drive', 'duplicate', 'edit', 'envelope', 'envelope1', 'expand', 'expand1', 'expandSidebar', 'feed', 'file', 'filter', 'flag', 'form', 'formula', 'fullscreen', 'gallery', 'gantt', 'gift', 'grid', 'grid1', 'group', 'heart', 'help', 'hide', 'hide1', 'history', 'home', 'hyperlink', 'hyperlinkCancel', 'indent', 'info', 'italic', 'kanban', 'laptop', 'left', 'lightbulb', 'link', 'link1', 'lock', 'logout', 'lookup', 'mapPin', 'markdown', 'megaphone', 'menu', 'minus', 'mobile', 'multicollaborator', 'multiselect', 'number', 'ol', 'overflow', 'paint', 'paragraph', 'paragraph1', 'pause', 'percent', 'personal', 'personalAuto', 'phone', 'pivot', 'play', 'plus', 'plusFilled', 'premium', 'print', 'public', 'publish', 'quote', 'quote1', 'radio', 'radioSelected', 'redo', 'redo1', 'richText', 'right', 'rollup', 'rollup1', 'rowHeightSmall', 'rowHeightMedium', 'rowHeightLarge', 'rowHeightExtraLarge', 'search', 'select', 'selectCaret', 'settings', 'shapes', 'share', 'share1', 'shareWithBolt', 'show', 'show1', 'slack', 'smiley', 'sort', 'stack', 'star', 'strikethrough', 'switcher', 'tabs', 'team', 'teamLocked', 'text', 'thumbsUp', 'time', 'timeline', 'toggle', 'trash', 'twitter', 'ul', 'underline', 'undo', 'up', 'upload', 'video', 'view', 'warning', 'windows', 'x'];
42
+ var iconNamesArray = ['android', 'apple', 'apps', 'ascending', 'attachment', 'automations', 'autonumber', 'barcode', 'bell', 'blocks', 'bold', 'bolt', 'boltList', 'book', 'calendar', 'calendarDay', 'caret', 'chart', 'chat', 'check', 'checkbox', 'checkboxChecked', 'checkboxUnchecked', 'checklist', 'chevronDown', 'chevronLeft', 'chevronRight', 'chevronUp', 'clipboard', 'code', 'cog', 'collapse', 'collapseSidebar', 'contacts', 'count', 'count1', 'cube', 'cursor', 'day', 'dayAuto', 'dedent', 'descending', 'dollar', 'down', 'download', 'dragHandle', 'drive', 'duplicate', 'edit', 'envelope', 'envelope1', 'expand', 'expand1', 'expandSidebar', 'feed', 'file', 'filter', 'flag', 'form', 'formula', 'fullscreen', 'gallery', 'gantt', 'gift', 'grid', 'grid1', 'group', 'heart', 'help', 'hide', 'hide1', 'history', 'home', 'hyperlink', 'hyperlinkCancel', 'indent', 'info', 'italic', 'kanban', 'laptop', 'left', 'lightbulb', 'link', 'link1', 'lock', 'logout', 'lookup', 'mapPin', 'markdown', 'megaphone', 'menu', 'minus', 'mobile', 'multicollaborator', 'multiselect', 'number', 'ol', 'overflow', 'overlay', 'paint', 'paragraph', 'paragraph1', 'pause', 'percent', 'personal', 'personalAuto', 'personalCloseup', 'phone', 'pivot', 'play', 'plus', 'plusFilled', 'premium', 'print', 'public', 'publish', 'quote', 'quote1', 'radio', 'radioSelected', 'redo', 'redo1', 'richText', 'right', 'rollup', 'rollup1', 'rowHeightSmall', 'rowHeightMedium', 'rowHeightLarge', 'rowHeightExtraLarge', 'search', 'select', 'selectCaret', 'settings', 'shapes', 'share', 'share1', 'shareWithBolt', 'show', 'show1', 'slack', 'smiley', 'sort', 'stack', 'star', 'strikethrough', 'switcher', 'tabs', 'team', 'teamLocked', 'text', 'thumbsUp', 'time', 'timeline', 'toggle', 'trash', 'twitter', 'ul', 'underline', 'undo', 'up', 'upload', 'video', 'view', 'warning', 'windows', 'x', 'xCheckbox'];
43
43
  exports.iconNamesArray = iconNamesArray;
44
44
  var iconNames = (0, _private_utils.createEnum)(...iconNamesArray);
45
45
  exports.iconNames = iconNames;
@@ -53,7 +53,7 @@ var deprecatedIconNameToReplacementName = new Map([['blocks', 'apps']]);
53
53
  exports.deprecatedIconNameToReplacementName = deprecatedIconNameToReplacementName;
54
54
  var iconNamePropType = (0, _private_utils.createPropTypeFromEnum)(iconNames);
55
55
  exports.iconNamePropType = iconNamePropType;
56
- var microIconNamesArray = ['androidMicro', 'appleMicro', 'appsMicro', 'ascendingMicro', 'attachmentMicro', 'automationsMicro', 'autonumberMicro', 'barcodeMicro', 'bellMicro', 'blocksMicro', 'boldMicro', 'boltMicro', 'boltListMicro', 'bookMicro', 'calendarMicro', 'calendarDayMicro', 'caretMicro', 'chartMicro', 'chatMicro', 'checkMicro', 'checkboxCheckedMicro', 'checkboxMicro', 'checkboxUncheckedMicro', 'checklistMicro', 'chevronDownMicro', 'chevronLeftMicro', 'chevronRightMicro', 'chevronUpMicro', 'clipboardMicro', 'codeMicro', 'cogMicro', 'collapseMicro', 'collapseSidebarMicro', 'contactsMicro', 'countMicro', 'count1Micro', 'cubeMicro', 'cursorMicro', 'dayMicro', 'dayAutoMicro', 'dedentMicro', 'descendingMicro', 'dollarMicro', 'downMicro', 'downloadMicro', 'dragHandleMicro', 'driveMicro', 'duplicateMicro', 'editMicro', 'envelopeMicro', 'envelope1Micro', 'expandMicro', 'expand1Micro', 'expandSidebarMicro', 'feedMicro', 'fileMicro', 'filterMicro', 'flagMicro', 'formMicro', 'formulaMicro', 'fullscreenMicro', 'galleryMicro', 'ganttMicro', 'giftMicro', 'gridMicro', 'grid1Micro', 'groupMicro', 'heartMicro', 'helpMicro', 'hideMicro', 'hide1Micro', 'historyMicro', 'homeMicro', 'hyperlinkMicro', 'hyperlinkCancelMicro', 'indentMicro', 'infoMicro', 'italicMicro', 'kanbanMicro', 'laptopMicro', 'leftMicro', 'lightbulbMicro', 'link1Micro', 'linkMicro', 'lockMicro', 'logoutMicro', 'lookupMicro', 'mapPinMicro', 'markdownMicro', 'megaphoneMicro', 'menuMicro', 'minusMicro', 'mobileMicro', 'multicollaboratorMicro', 'multiselectMicro', 'numberMicro', 'olMicro', 'overflowMicro', 'paintMicro', 'paragraphMicro', 'paragraph1Micro', 'pauseMicro', 'percentMicro', 'personalMicro', 'personalAutoMicro', 'phoneMicro', 'pivotMicro', 'playMicro', 'plusFilledMicro', 'plusMicro', 'premiumMicro', 'printMicro', 'publicMicro', 'publishMicro', 'quoteMicro', 'quote1Micro', 'radioMicro', 'radioSelectedMicro', 'redoMicro', 'redo1Micro', 'richTextMicro', 'rightMicro', 'rollupMicro', 'rollup1Micro', 'rowHeightSmallMicro', 'rowHeightMediumMicro', 'rowHeightLargeMicro', 'rowHeightExtraLargeMicro', 'searchMicro', 'selectMicro', 'selectCaretMicro', 'settingsMicro', 'shapesMicro', 'share1Micro', 'shareMicro', 'showMicro', 'show1Micro', 'slackMicro', 'smileyMicro', 'sortMicro', 'stackMicro', 'starMicro', 'strikethroughMicro', 'switcherMicro', 'tabsMicro', 'teamMicro', 'teamLockedMicro', 'textMicro', 'thumbsUpMicro', 'timeMicro', 'timelineMicro', 'toggleMicro', 'trashMicro', 'twitterMicro', 'ulMicro', 'underlineMicro', 'undoMicro', 'upMicro', 'uploadMicro', 'videoMicro', 'viewMicro', 'warningMicro', 'windowsMicro', 'xMicro'];
56
+ var microIconNamesArray = ['androidMicro', 'appleMicro', 'appsMicro', 'ascendingMicro', 'attachmentMicro', 'automationsMicro', 'autonumberMicro', 'barcodeMicro', 'bellMicro', 'blocksMicro', 'boldMicro', 'boltMicro', 'boltListMicro', 'bookMicro', 'calendarMicro', 'calendarDayMicro', 'caretMicro', 'chartMicro', 'chatMicro', 'checkMicro', 'checkboxCheckedMicro', 'checkboxMicro', 'checkboxUncheckedMicro', 'checklistMicro', 'chevronDownMicro', 'chevronLeftMicro', 'chevronRightMicro', 'chevronUpMicro', 'clipboardMicro', 'codeMicro', 'cogMicro', 'collapseMicro', 'collapseSidebarMicro', 'contactsMicro', 'countMicro', 'count1Micro', 'cubeMicro', 'cursorMicro', 'dayMicro', 'dayAutoMicro', 'dedentMicro', 'descendingMicro', 'dollarMicro', 'downMicro', 'downloadMicro', 'dragHandleMicro', 'driveMicro', 'duplicateMicro', 'editMicro', 'envelopeMicro', 'envelope1Micro', 'expandMicro', 'expand1Micro', 'expandSidebarMicro', 'feedMicro', 'fileMicro', 'filterMicro', 'flagMicro', 'formMicro', 'formulaMicro', 'fullscreenMicro', 'galleryMicro', 'ganttMicro', 'giftMicro', 'gridMicro', 'grid1Micro', 'groupMicro', 'heartMicro', 'helpMicro', 'hideMicro', 'hide1Micro', 'historyMicro', 'homeMicro', 'hyperlinkMicro', 'hyperlinkCancelMicro', 'indentMicro', 'infoMicro', 'italicMicro', 'kanbanMicro', 'laptopMicro', 'leftMicro', 'lightbulbMicro', 'link1Micro', 'linkMicro', 'lockMicro', 'logoutMicro', 'lookupMicro', 'mapPinMicro', 'markdownMicro', 'megaphoneMicro', 'menuMicro', 'minusMicro', 'mobileMicro', 'multicollaboratorMicro', 'multiselectMicro', 'numberMicro', 'olMicro', 'overflowMicro', 'overlayMicro', 'paintMicro', 'paragraphMicro', 'paragraph1Micro', 'pauseMicro', 'percentMicro', 'personalMicro', 'personalAutoMicro', 'personalCloseupMicro', 'phoneMicro', 'pivotMicro', 'playMicro', 'plusFilledMicro', 'plusMicro', 'premiumMicro', 'printMicro', 'publicMicro', 'publishMicro', 'quoteMicro', 'quote1Micro', 'radioMicro', 'radioSelectedMicro', 'redoMicro', 'redo1Micro', 'richTextMicro', 'rightMicro', 'rollupMicro', 'rollup1Micro', 'rowHeightSmallMicro', 'rowHeightMediumMicro', 'rowHeightLargeMicro', 'rowHeightExtraLargeMicro', 'searchMicro', 'selectMicro', 'selectCaretMicro', 'settingsMicro', 'shapesMicro', 'share1Micro', 'shareMicro', 'showMicro', 'show1Micro', 'slackMicro', 'smileyMicro', 'sortMicro', 'stackMicro', 'starMicro', 'strikethroughMicro', 'switcherMicro', 'tabsMicro', 'teamMicro', 'teamLockedMicro', 'textMicro', 'thumbsUpMicro', 'timeMicro', 'timelineMicro', 'toggleMicro', 'trashMicro', 'twitterMicro', 'ulMicro', 'underlineMicro', 'undoMicro', 'upMicro', 'uploadMicro', 'videoMicro', 'viewMicro', 'warningMicro', 'windowsMicro', 'xMicro', 'xCheckboxMicro'];
57
57
  var microIconNames = (0, _private_utils.createEnum)(...microIconNamesArray);
58
58
  /** @hidden */
59
59
 
@@ -159,6 +159,7 @@ var iconPaths = Object.freeze({
159
159
  [iconNames.number]: 'M4,10 L4,6.06298828 L2.01023277,6.06298828 C1.44124014,6.06298828 0.979980469,5.60514432 0.979980469,5.03149414 C0.979980469,4.46181566 1.446147,4 2.01023277,4 L4,4 L4,2.04301188 C4,1.50175979 4.43942184,1.06298828 4.98999023,1.06298828 C5.53674674,1.06298828 5.97998047,1.51091265 5.97998047,2.04301188 L5.97998047,4 L10.0200195,4 L10.0200195,2.04301188 C10.0200195,1.50175979 10.4594414,1.06298828 11.0100098,1.06298828 C11.5567663,1.06298828 12,1.51091265 12,2.04301188 L12,4 L13.9605924,4 C14.5295851,4 14.9908447,4.45784396 14.9908447,5.03149414 C14.9908447,5.60117262 14.5246782,6.06298828 13.9605924,6.06298828 L12,6.06298828 L12,10 L13.9605924,10 C14.5295851,10 14.9908447,10.457844 14.9908447,11.0314941 C14.9908447,11.6011726 14.5246782,12.0629883 13.9605924,12.0629883 L12,12.0629883 L12,14.0199764 C12,14.5612285 11.5605782,15 11.0100098,15 C10.4632533,15 10.0200195,14.5520756 10.0200195,14.0199764 L10.0200195,12.0629883 L5.97998047,12.0629883 L5.97998047,14.0199764 C5.97998047,14.5612285 5.54055863,15 4.98999023,15 C4.44323373,15 4,14.5520756 4,14.0199764 L4,12.0629883 L2.01023277,12.0629883 C1.44124014,12.0629883 0.979980469,11.6051443 0.979980469,11.0314941 C0.979980469,10.4618157 1.446147,10 2.01023277,10 L4,10 Z M5.97998047,10 L10.0200195,10 L10.0200195,6.06298828 L5.97998047,6.06298828 L5.97998047,10 Z',
160
160
  [iconNames.ol]: 'M5.59790039,3 C5.59790039,2.44771525 6.04963376,2 6.59472604,2 L13.0031744,2 C13.553706,2 14,2.44386482 14,3 C14,3.55228475 13.5482666,4 13.0031744,4 L6.59472604,4 C6.04419443,4 5.59790039,3.55613518 5.59790039,3 Z M5.59790039,8 C5.59790039,7.44771525 6.04963376,7 6.59472604,7 L13.0031744,7 C13.553706,7 14,7.44386482 14,8 C14,8.55228475 13.5482666,9 13.0031744,9 L6.59472604,9 C6.04419443,9 5.59790039,8.55613518 5.59790039,8 Z M5.59790039,13 C5.59790039,12.4477153 6.04963376,12 6.59472604,12 L13.0031744,12 C13.553706,12 14,12.4438648 14,13 C14,13.5522847 13.5482666,14 13.0031744,14 L6.59472604,14 C6.04419443,14 5.59790039,13.5561352 5.59790039,13 Z M3.47645621,7.50400204 C3.53705703,7.43789206 3.63071283,7.26159878 3.63071283,7.14590631 C3.63071283,6.92553971 3.48196538,6.74373727 3.23405295,6.74373727 C2.9585947,6.74373727 2.78230143,6.90350305 2.78230143,7.14590631 L2.78230143,7.23956212 C2.78230143,7.30016293 2.73271894,7.34974542 2.67211813,7.34974542 L2.14874745,7.34974542 C2.08814664,7.34974542 2.03856415,7.30016293 2.03856415,7.23956212 L2.03856415,7.15141548 C2.03856415,6.50684318 2.56744399,6 3.21201629,6 C3.86209776,6 4.3744501,6.50684318 4.3744501,7.15141548 C4.3744501,7.45441955 4.23672098,7.7464053 4.03288187,7.96677189 L2.99715886,9.06309572 C2.96410387,9.09615071 2.9585947,9.17327902 3.05225051,9.17327902 L4.26977597,9.17327902 C4.33037678,9.17327902 4.37995927,9.22286151 4.37995927,9.28346232 L4.37995927,9.80683299 C4.37995927,9.86743381 4.33037678,9.91701629 4.26977597,9.91701629 L2.1101833,9.91701629 C2.04958248,9.91701629 2,9.86743381 2,9.80683299 L2,9.15675153 C2,9.07411405 2.02754582,9.04105906 2.04958248,9.0190224 L3.47645621,7.50400204 Z M3.22717304,14.2381791 C3.51332998,14.2381791 3.70593561,14.0675855 3.70593561,13.7814286 C3.70593561,13.4952716 3.51332998,13.3246781 3.22717304,13.3246781 L3.16113682,13.3246781 C3.10060362,13.3246781 3.05107646,13.2751509 3.05107646,13.2146177 L3.05107646,12.697334 C3.05107646,12.6368008 3.10060362,12.5872736 3.16113682,12.5872736 L3.22717304,12.5872736 C3.48031187,12.5872736 3.65640845,12.4221831 3.65640845,12.1690443 C3.65640845,11.9214085 3.48031187,11.7618209 3.22717304,11.7618209 C2.97953722,11.7618209 2.79793763,11.9214085 2.79793763,12.1690443 L2.79793763,12.2515895 C2.79793763,12.3121227 2.74841046,12.3616499 2.68787726,12.3616499 L2.15958753,12.3616499 C2.09905433,12.3616499 2.04952716,12.3121227 2.04952716,12.2515895 L2.04952716,12.1690443 C2.04952716,11.5251911 2.58331992,11.0134105 3.22717304,11.0134105 C3.87652918,11.0134105 4.3993159,11.5251911 4.3993159,12.1690443 C4.3993159,12.4441952 4.27274648,12.70834 4.10765594,12.8899396 C4.07463783,12.9229577 4.07463783,12.9614789 4.10765594,12.988994 C4.32227364,13.1650905 4.45434608,13.4787626 4.45434608,13.7814286 C4.45434608,14.4582998 3.90404427,14.9865895 3.22717304,14.9865895 C2.55030181,14.9865895 2,14.4582998 2,13.7814286 L2,13.7263984 C2,13.6658652 2.04952716,13.616338 2.11006036,13.616338 L2.6383501,13.616338 C2.6988833,13.616338 2.74841046,13.6658652 2.74841046,13.7263984 L2.74841046,13.7814286 C2.74841046,14.0675855 2.93551308,14.2381791 3.22717304,14.2381791 Z M2.95787879,4.12853535 L2.95787879,2.17424242 C2.95787879,2.10267677 2.88631313,2.09717172 2.85328283,2.13020202 L2.18717172,2.75227273 C2.12111111,2.81833333 2,2.77429293 2,2.66419192 L2,2.13570707 C2,2.04762626 2.0110101,1.97606061 2.08808081,1.89348485 L2.72666667,1.20535354 C2.77621212,1.15030303 2.86429293,1.07323232 3.00191919,1.07323232 L3.6129798,1.07323232 C3.67353535,1.07323232 3.72308081,1.12277778 3.72308081,1.18333333 L3.72308081,4.12853535 C3.72308081,4.16156566 3.74510101,4.18358586 3.77813131,4.18358586 L4.38919192,4.18358586 C4.44974747,4.18358586 4.49929293,4.23313131 4.49929293,4.29368687 L4.49929293,4.81666667 C4.49929293,4.87722222 4.44974747,4.92676768 4.38919192,4.92676768 L2.13212121,4.92676768 C2.07156566,4.92676768 2.0220202,4.87722222 2.0220202,4.81666667 L2.0220202,4.29368687 C2.0220202,4.23313131 2.07156566,4.18358586 2.13212121,4.18358586 L2.90282828,4.18358586 C2.93585859,4.18358586 2.95787879,4.16156566 2.95787879,4.12853535 Z',
161
161
  [iconNames.overflow]: 'M3,6 C4.105,6 5,6.895 5,8 C5,9.105 4.105,10 3,10 C1.895,10 1,9.105 1,8 C1,6.895 1.895,6 3,6 Z M8,6 C9.105,6 10,6.895 10,8 C10,9.105 9.105,10 8,10 C6.895,10 6,9.105 6,8 C6,6.895 6.895,6 8,6 Z M13,6 C14.105,6 15,6.895 15,8 C15,9.105 14.105,10 13,10 C11.895,10 11,9.105 11,8 C11,6.895 11.895,6 13,6 Z',
162
+ [iconNames.overlay]: 'M8 8C8.733 8 9.333 8.6 9.333 9.333 9.333 9.333 9.333 13.333 9.333 13.333 9.333 14.067 8.733 14.667 8 14.667 8 14.667 2.667 14.667 2.667 14.667 1.933 14.667 1.333 14.067 1.333 13.333 1.333 13.333 1.333 9.333 1.333 9.333 1.333 8.6 1.933 8 2.667 8 2.667 8 8 8 8 8ZM5.333 4C5.333 4 5.333 5.333 5.333 5.333 5.333 6.067 4.733 6.667 4 6.667 3.267 6.667 2.667 6.067 2.667 5.333 2.667 5.333 2.667 3.333 2.667 3.333 2.667 2.227 3.56 1.333 4.667 1.333 4.667 1.333 12.667 1.333 12.667 1.333 13.773 1.333 14.667 2.227 14.667 3.333 14.667 3.333 14.667 11.333 14.667 11.333 14.667 12.44 13.773 13.333 12.667 13.333 12.667 13.333 12 13.333 12 13.333 11.267 13.333 10.667 12.733 10.667 12 10.667 11.267 11.267 10.667 12 10.667 12 10.667 12 4 12 4 12 4 5.333 4 5.333 4Z',
162
163
  [iconNames.paint]: 'M5.071 3H3.5a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h3.086a1 1 0 0 1 .707.293l.228.228a1 1 0 0 1 .257.186l5.657 5.657a1 1 0 0 1 0 1.414l-5.657 5.657a1 1 0 0 1-1.414 0L.707 8.778a1 1 0 0 1 0-1.414L5.071 3zm2.707.778a1 1 0 0 0-1.414 0L3.071 7.071 11 7 7.778 3.778zm5.972 10.186c-.69 0-1.25-.56-1.25-1.25 0-.417.342-1.322 1.026-2.714a.25.25 0 0 1 .448 0C14.658 11.392 15 12.297 15 12.714c0 .69-.56 1.25-1.25 1.25z',
163
164
  [iconNames.paragraph]: 'M.063 8.502l2.816-7.04c.1-.249.41-.462.689-.462h.267c.282 0 .586.207.689.463l2.815 7.039c.1.25-.04.462-.319.462h-.84a.36.36 0 0 1-.327-.234l-.398-1.195a.731.731 0 0 0-.659-.482h-2.19c-.268 0-.57.216-.658.482L1.549 8.73a.364.364 0 0 1-.327.234h-.84c-.282 0-.42-.207-.319-.462zm2.552-3.193c-.104.26.03.47.303.47h1.566c.272 0 .408-.21.304-.47l-.719-1.795c-.203-.509-.535-.505-.737 0L2.615 5.31zM8 8c0-.552.453-1 .997-1h6.006c.55 0 .997.444.997 1 0 .552-.453 1-.997 1H8.997A.996.996 0 0 1 8 8zm0-3c0-.552.444-1 1-1h3c.552 0 1 .444 1 1 0 .552-.444 1-1 1H9c-.552 0-1-.444-1-1zm-8 6c0-.552.449-1 1.007-1h12.986c.556 0 1.007.444 1.007 1 0 .552-.449 1-1.007 1H1.007A1.001 1.001 0 0 1 0 11zm0 3a1 1 0 0 1 .999-1H12a1 1 0 1 1 0 2H1A.997.997 0 0 1 0 14z',
164
165
  [iconNames.paragraph1]: 'M7 13.5C7 13.7761 7.22386 14 7.5 14H8.5C8.77614 14 9 13.7761 9 13.5V2.5C9 2.22386 8.77614 2 8.5 2H6C3.79086 2 2 3.79086 2 6C2 8.20914 3.79086 10 6 10H7V13.5Z M10 13.5C10 13.7761 10.2239 14 10.5 14H11.5C11.7761 14 12 13.7761 12 13.5V2.5C12 2.22386 11.7761 2 11.5 2H10.5C10.2239 2 10 2.22386 10 2.5V13.5Z',
@@ -166,6 +167,7 @@ var iconPaths = Object.freeze({
166
167
  [iconNames.percent]: 'M3,14.25 C2.68,14.25 2.36,14.128 2.116,13.884 C1.628,13.396 1.628,12.604 2.116,12.116 L12.116,2.116 C12.604,1.628 13.396,1.628 13.884,2.116 C14.372,2.604 14.372,3.396 13.884,3.884 L3.884,13.884 C3.64,14.128 3.32,14.25 3,14.25 Z M15,12.2 C15,13.746 13.746,15 12.2,15 C10.654,15 9.4,13.746 9.4,12.2 C9.4,10.654 10.654,9.4 12.2,9.4 C13.746,9.4 15,10.654 15,12.2 Z M6.6,3.8 C6.6,5.346 5.346,6.6 3.8,6.6 C2.254,6.6 1,5.346 1,3.8 C1,2.254 2.254,1 3.8,1 C5.346,1 6.6,2.254 6.6,3.8 Z',
167
168
  [iconNames.personal]: 'M8.07,6.78333333 C6.55735344,6.78333333 5.33111111,5.55709101 5.33111111,4.04444444 C5.33111111,2.53179788 6.55735344,1.30555556 8.07,1.30555556 C9.58264656,1.30555556 10.8088889,2.53179788 10.8088889,4.04444444 C10.8088889,5.55709101 9.58264656,6.78333333 8.07,6.78333333 Z M8.07,7.87888889 C10.9914815,7.87888889 13.5,9.5 13.5,12.8088889 C13.5,13.844724 11.9044444,15.5 8.07,15.5 C4.23555556,15.5 2.5,13.9641649 2.5,12.8088889 C2.5,9.5 5.14851852,7.87888889 8.07,7.87888889 Z',
168
169
  [iconNames.personalAuto]: 'M4.83111 3.74989C4.83111 5.26254 6.05735 6.48878 7.57 6.48878C9.08265 6.48878 10.3089 5.26254 10.3089 3.74989C10.3089 2.23724 9.08265 1.011 7.57 1.011C6.05735 1.011 4.83111 2.23724 4.83111 3.74989ZM11.5587 8.96358C10.5541 8.04076 9.12018 7.58434 7.57 7.58434C4.64852 7.58434 2 9.20545 2 12.5143C2 13.6696 3.73556 15.2054 7.57 15.2054C8.18699 15.2054 8.74602 15.1626 9.24976 15.0864C9.14489 14.6492 9.08934 14.1928 9.08934 13.7235C9.08934 11.7565 10.0649 10.0174 11.5587 8.96358Z M13.9095 11.2398V9.63783C13.9095 9.08783 13.6465 9.01083 13.3285 9.45683L11.1015 12.5748C10.9425 12.7948 11.0425 12.9748 11.3225 12.9748H12.1645C12.2305 12.974 12.296 12.9863 12.3573 13.0108C12.4186 13.0354 12.4744 13.0718 12.5216 13.118C12.5688 13.1641 12.6064 13.2191 12.6323 13.2799C12.6582 13.3406 12.6719 13.4058 12.6725 13.4718V15.0738C12.6725 15.6238 12.9365 15.7008 13.2545 15.2548L15.4805 12.1368C15.6385 11.9158 15.5385 11.7368 15.2585 11.7368H14.4165C14.1365 11.7368 13.9095 11.5138 13.9095 11.2398Z',
170
+ [iconNames.personalCloseup]: 'M13.393 12.366C11.821 14.316 9.414 15.563 6.714 15.563 4.032 15.563 1.638 14.331.066 12.402 1.511 10.385 4.079 9.39 6.814 9.39 9.533 9.39 12.002 10.373 13.393 12.366ZM2.902 3.913C2.902 6.074 4.654 7.825 6.814 7.825 8.975 7.825 10.727 6.074 10.727 3.913 10.727 1.752 8.975 0 6.814 0 4.654 0 2.902 1.752 2.902 3.913Z',
169
171
  [iconNames.phone]: 'M6.2223,2.8573 C6.4953,3.1303 6.4953,3.5723 6.2223,3.8453 L5.2333,4.8333 C4.9603,5.1063 5.0863,5.4653 5.2333,5.8213 C5.5833,6.6653 6.3453,7.5103 7.4163,8.5813 C8.6103,9.7763 9.3313,10.3323 10.1753,10.7653 C10.5193,10.9413 10.8913,11.0383 11.1633,10.7653 L12.1523,9.7783 C12.4253,9.5053 12.8673,9.5053 13.1403,9.7783 L15.1173,11.7563 C15.3903,12.0293 15.3903,12.4713 15.1173,12.7443 L13.0653,14.7953 C12.8233,15.0373 12.4423,15.0683 12.1643,14.8693 C12.1643,14.8693 8.1363,13.6693 5.2333,10.7653 C2.2063,7.7373 1.1303,3.8303 1.1303,3.8303 C0.9313,3.5523 0.9633,3.1713 1.2043,2.9303 L3.2573,0.8793 C3.5303,0.6063 3.9723,0.6063 4.2453,0.8793 L6.2223,2.8573 Z',
170
172
  [iconNames.pivot]: 'M12.733 8.025h.774c.55 0 .743-.361.426-.812l-1.32-1.876c-.314-.448-.824-.45-1.141 0L10.15 7.213c-.316.449-.117.812.425.812h.654c-.15 1.886-1.158 2.772-3.23 2.777V10c0-.552-.361-.742-.812-.42l-1.876 1.34c-.449.32-.45.838 0 1.16l1.876 1.34c.449.32.812.136.812-.42v-.702c2.896-.024 4.552-1.493 4.733-4.273zM2 4h1a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1zm3-3h9a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1z',
171
173
  [iconNames.play]: 'M4.31593098,2.71778053 C3.58916237,2.32136129 3,2.67955446 3,3.49554521 L3,12.5044548 C3,13.3304216 3.59140778,13.6774139 4.31593098,13.2822195 L12.684069,8.71778053 C13.4108376,8.32136129 13.4085922,7.67741394 12.684069,7.28221947 L4.31593098,2.71778053 Z',
@@ -225,7 +227,8 @@ var iconPaths = Object.freeze({
225
227
  [iconNames.view]: 'M0 1.994C0 .893.895 0 1.994 0h12.012C15.107 0 16 .895 16 1.994v12.012A1.995 1.995 0 0 1 14.006 16H1.994A1.995 1.995 0 0 1 0 14.006V1.994zm2.073 6.933A.25.25 0 0 0 2 9.104V12.5A1.5 1.5 0 0 0 3.5 14h9a1.5 1.5 0 0 0 1.5-1.5V8.125a.25.25 0 0 0-.1-.2L10 5 6 8 4 7 2.073 8.927zM3.5 5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3z',
226
228
  [iconNames.warning]: 'M9.10048253,7.92285185 C9.10048253,8.55841334 8.60526539,9.07841821 8,9.07841821 C7.39473461,9.07841821 6.89951747,8.55841334 6.89951747,7.92285185 L6.89951747,4.45615277 C6.89951747,3.82059127 7.39473461,3.30058641 8,3.30058641 C8.60526539,3.30058641 9.10048253,3.82059127 9.10048253,4.45615277 L9.10048253,7.92285185 L9.10048253,7.92285185 L9.10048253,7.92285185 L9.10048253,7.92285185 L9.10048253,7.92285185 Z M8,12.5451173 C7.39473461,12.5451173 6.89951747,12.0251124 6.89951747,11.3895509 C6.89951747,10.7539894 7.39473461,10.2339846 8,10.2339846 C8.60526539,10.2339846 9.10048253,10.7539894 9.10048253,11.3895509 C9.10048253,12.0251124 8.60526539,12.5451173 8,12.5451173 L8,12.5451173 L8,12.5451173 L8,12.5451173 L8,12.5451173 L8,12.5451173 Z M15.8508424,13.1229005 L8.95301787,0.578072071 C8.5293321,-0.19269069 7.4706679,-0.19269069 7.04698213,0.578072071 L0.149157622,13.1229005 C-0.274528153,13.8936632 0.254803945,14.85625 1.10217549,14.85625 L14.8978245,14.85625 C15.7451961,14.85625 16.2745282,13.8936632 15.8508424,13.1229005 L15.8508424,13.1229005 L15.8508424,13.1229005 L15.8508424,13.1229005 L15.8508424,13.1229005 L15.8508424,13.1229005 Z',
227
229
  [iconNames.windows]: 'M2,3.7109589 L6.90721649,3.03972603 L6.90721649,7.76575342 L2,7.76575342 M7.49828179,2.94657534 L14,2 L14,7.7260274 L7.49828179,7.7260274 M2,8.26575342 L6.90721649,8.26575342 L6.90721649,13.0054795 L2,12.3205479 M7.49828179,8.32876712 L14,8.32876712 L14,14 L7.49828179,13.0821918',
228
- [iconNames.x]: 'M12.9541732,4.96004034 C13.1437497,4.77046381 13.1435266,4.45113844 12.9464351,4.25404691 L12.2459531,3.55356494 C12.0404329,3.34804477 11.7327775,3.35300891 11.5399597,3.54582678 L8,7.08578644 L4.46004034,3.54582678 C4.27046381,3.35625025 3.95113844,3.3564734 3.75404691,3.55356494 L3.05356494,4.25404691 C2.84804477,4.45956708 2.85300891,4.76722247 3.04582678,4.96004034 L6.58578644,8.5 L3.04582678,12.0399597 C2.85625025,12.2295362 2.8564734,12.5488616 3.05356494,12.7459531 L3.75404691,13.4464351 C3.95956708,13.6519552 4.26722247,13.6469911 4.46004034,13.4541732 L8,9.91421356 L11.5399597,13.4541732 C11.7295362,13.6437497 12.0488616,13.6435266 12.2459531,13.4464351 L12.9464351,12.7459531 C13.1519552,12.5404329 13.1469911,12.2327775 12.9541732,12.0399597 L9.41421356,8.5 L12.9541732,4.96004034 Z'
230
+ [iconNames.x]: 'M12.9541732,4.96004034 C13.1437497,4.77046381 13.1435266,4.45113844 12.9464351,4.25404691 L12.2459531,3.55356494 C12.0404329,3.34804477 11.7327775,3.35300891 11.5399597,3.54582678 L8,7.08578644 L4.46004034,3.54582678 C4.27046381,3.35625025 3.95113844,3.3564734 3.75404691,3.55356494 L3.05356494,4.25404691 C2.84804477,4.45956708 2.85300891,4.76722247 3.04582678,4.96004034 L6.58578644,8.5 L3.04582678,12.0399597 C2.85625025,12.2295362 2.8564734,12.5488616 3.05356494,12.7459531 L3.75404691,13.4464351 C3.95956708,13.6519552 4.26722247,13.6469911 4.46004034,13.4541732 L8,9.91421356 L11.5399597,13.4541732 C11.7295362,13.6437497 12.0488616,13.6435266 12.2459531,13.4464351 L12.9464351,12.7459531 C13.1519552,12.5404329 13.1469911,12.2327775 12.9541732,12.0399597 L9.41421356,8.5 L12.9541732,4.96004034 Z',
231
+ [iconNames.xCheckbox]: 'M2.82927 3.27123C2.43874 3.66175 2.43874 4.29492 2.82927 4.68544L6.14385 8.00002L2.82928 11.3146C2.43876 11.7051 2.43876 12.3383 2.82928 12.7288L3.27123 13.1707C3.66175 13.5613 4.29492 13.5613 4.68544 13.1707L8 9.85617L11.3145 13.1707C11.7051 13.5612 12.3382 13.5612 12.7288 13.1707L13.1707 12.7288C13.5612 12.3383 13.5612 11.7051 13.1707 11.3146L9.85616 8.00002L13.1707 4.68545C13.5612 4.29493 13.5612 3.66176 13.1707 3.27124L12.7288 2.8293C12.3383 2.43877 11.7051 2.43877 11.3146 2.8293L8 6.14386L4.68542 2.82928C4.2949 2.43876 3.66173 2.43876 3.27121 2.82928L2.82927 3.27123Z'
229
232
  });
230
233
  var microIconPaths = Object.freeze({
231
234
  [microIconNames.androidMicro]: 'M7,9.77240785 L5,9.77240785 L5,10.9906311 C5,11.5480902 4.55613518,12 4,12 C3.44771525,12 3,11.5566468 3,10.9906311 L3,9.0093689 C3,8.96924473 3.00229952,8.92966739 3.00677491,8.89076601 C3.00230056,8.85185992 3,8.81221644 3,8.77195477 L3,4.99999999 L9.02068424,4.99999999 L9.02068418,8.77195477 C9.02068418,8.84217205 9.01337589,8.91069979 8.99950513,8.97683339 C8.99983423,8.98763162 9,8.99847755 9,9.0093689 L9,10.9906311 C9,11.5480902 8.55613518,12 8,12 C7.44771525,12 7,11.5566468 7,10.9906311 L7,9.77240785 Z M9,4 C9,4 3,4 3,4 C3,2.5 4,1 6,1 C8,1 9,2.5 9,4 Z M-4.4408921e-16,7.9094998 C-4.4408921e-16,7.36115073 -4.4408921e-16,6.47209603 -4.4408921e-16,5.91340669 L-4.4408921e-16,6.00321929 C-4.4408921e-16,5.44915657 0.443864822,5 1,5 C1.55228475,5 2,5.44335318 2,6.0093689 L2,7.9906311 C2,8.54809015 1.55613518,9 1,9 C0.44771525,9 -4.4408921e-16,8.55816995 -4.4408921e-16,8.00712617 L-4.4408921e-16,7.9094998 Z M10,7.9094998 C10,7.36115073 10,6.47209603 10,5.91340669 L10,6.00321929 C10,5.44915657 10.4438648,5 11,5 C11.5522847,5 12,5.44335318 12,6.0093689 L12,7.9906311 C12,8.54809015 11.5561352,9 11,9 C10.4477153,9 10,8.55816995 10,8.00712617 L10,7.9094998 Z',
@@ -326,6 +329,7 @@ var microIconPaths = Object.freeze({
326
329
  [microIconNames.numberMicro]: 'M3.02001953,7 L3.02001953,5 L1.99539757,5 C1.44565467,5 1,4.55613518 1,4 C1,3.44771525 1.4556644,3 1.99539757,3 L3.02001953,3 L3.02001953,1.63502908 C3.02001953,1.08650905 3.46388435,0.641845703 4.02001953,0.641845703 C4.57230428,0.641845703 5.02001953,1.08692265 5.02001953,1.63502908 L5.02001953,3 L7.02001953,3 L7.02001953,1.63502908 C7.02001953,1.08650905 7.46388435,0.641845703 8.02001953,0.641845703 C8.57230428,0.641845703 9.02001953,1.08692265 9.02001953,1.63502908 L9.02001953,3 L10.0046024,3 C10.5543453,3 11,3.44386482 11,4 C11,4.55228475 10.5443356,5 10.0046024,5 L9.02001953,5 L9.02001953,7 L10.0046024,7 C10.5543453,7 11,7.44386482 11,8 C11,8.55228475 10.5443356,9 10.0046024,9 L9.02001953,9 L9.02001953,10.0068166 C9.02001953,10.5553367 8.57615471,11 8.02001953,11 C7.46773478,11 7.02001953,10.5549231 7.02001953,10.0068166 L7.02001953,9 L5.02001953,9 L5.02001953,10.0068166 C5.02001953,10.5553367 4.57615471,11 4.02001953,11 C3.46773478,11 3.02001953,10.5549231 3.02001953,10.0068166 L3.02001953,9 L1.99539757,9 C1.44565467,9 1,8.55613518 1,8 C1,7.44771525 1.4556644,7 1.99539757,7 L3.02001953,7 Z M5.02001953,7 L7.02001953,7 L7.02001953,5 L5.02001953,5 L5.02001953,7 Z',
327
330
  [microIconNames.olMicro]: 'M5,2 C5,1.44771525 5.45277405,1 5.9928529,1 L8.9133971,1 C9.46173462,1 9.90625,1.44386482 9.90625,2 C9.90625,2.55228475 9.45347595,3 8.9133971,3 L5.9928529,3 C5.44451538,3 5,2.55613518 5,2 Z M5,6 C5,5.44771525 5.45277405,5 5.9928529,5 L8.9133971,5 C9.46173462,5 9.90625,5.44386482 9.90625,6 C9.90625,6.55228475 9.45347595,7 8.9133971,7 L5.9928529,7 C5.44451538,7 5,6.55613518 5,6 Z M5,10 C5,9.44771525 5.45277405,9 5.9928529,9 L8.9133971,9 C9.46173462,9 9.90625,9.44386482 9.90625,10 C9.90625,10.5522847 9.45347595,11 8.9133971,11 L5.9928529,11 C5.44451538,11 5,10.5561352 5,10 Z M3.072,5.092 C3.116,5.044 3.184,4.916 3.184,4.832 C3.184,4.672 3.076,4.54 2.896,4.54 C2.696,4.54 2.568,4.656 2.568,4.832 L2.568,4.9 C2.568,4.944 2.532,4.98 2.488,4.98 L2.108,4.98 C2.064,4.98 2.028,4.944 2.028,4.9 L2.028,4.836 C2.028,4.368 2.412,4 2.88,4 C3.352,4 3.724,4.368 3.724,4.836 C3.724,5.056 3.624,5.268 3.476,5.428 L2.724,6.224 C2.7,6.248 2.696,6.304 2.764,6.304 L3.648,6.304 C3.692,6.304 3.728,6.34 3.728,6.384 L3.728,6.764 C3.728,6.808 3.692,6.844 3.648,6.844 L2.08,6.844 C2.036,6.844 2,6.808 2,6.764 L2,6.292 C2,6.232 2.02,6.208 2.036,6.192 L3.072,5.092 Z M3.24,10.012 C3.24,9.804 3.1,9.68 2.892,9.68 L2.844,9.68 C2.8,9.68 2.764,9.644 2.764,9.6 L2.764,9.224 C2.764,9.18 2.8,9.144 2.844,9.144 L2.892,9.144 C3.076,9.144 3.204,9.024 3.204,8.84 C3.204,8.66 3.076,8.544 2.892,8.544 C2.712,8.544 2.58,8.66 2.58,8.84 L2.58,8.9 C2.58,8.944 2.544,8.98 2.5,8.98 L2.116,8.98 C2.072,8.98 2.036,8.944 2.036,8.9 L2.036,8.84 C2.036,8.372 2.424,8 2.892,8 C3.364,8 3.744,8.372 3.744,8.84 C3.744,9.04 3.652,9.232 3.532,9.364 C3.508,9.388 3.508,9.416 3.532,9.436 C3.688,9.564 3.784,9.792 3.784,10.012 C3.784,10.504 3.384,10.888 2.892,10.888 C2.4,10.888 2,10.504 2,10.012 L2,9.972 C2,9.928 2.036,9.892 2.08,9.892 L2.464,9.892 C2.508,9.892 2.544,9.928 2.544,9.972 L2.544,10.012 C2.544,10.22 2.68,10.344 2.892,10.344 C3.1,10.344 3.24,10.22 3.24,10.012 Z M2.696,2.22 L2.696,0.8 C2.696,0.748 2.644,0.744 2.62,0.768 L2.136,1.22 C2.088,1.268 2,1.236 2,1.156 L2,0.772 C2,0.708 2.008,0.656 2.064,0.596 L2.528,0.096 C2.564,0.056 2.628,0 2.728,0 L3.172,0 C3.216,0 3.252,0.036 3.252,0.08 L3.252,2.22 C3.252,2.244 3.268,2.26 3.292,2.26 L3.736,2.26 C3.78,2.26 3.816,2.296 3.816,2.34 L3.816,2.72 C3.816,2.764 3.78,2.8 3.736,2.8 L2.096,2.8 C2.052,2.8 2.016,2.764 2.016,2.72 L2.016,2.34 C2.016,2.296 2.052,2.26 2.096,2.26 L2.656,2.26 C2.68,2.26 2.696,2.244 2.696,2.22 Z',
328
331
  [microIconNames.overflowMicro]: 'M10.5,8 C9.67157288,8 9,7.32842712 9,6.5 C9,5.67157288 9.67157288,5 10.5,5 C11.3284271,5 12,5.67157288 12,6.5 C12,7.32842712 11.3284271,8 10.5,8 Z M6,8 C5.17157288,8 4.5,7.32842712 4.5,6.5 C4.5,5.67157288 5.17157288,5 6,5 C6.82842712,5 7.5,5.67157288 7.5,6.5 C7.5,7.32842712 6.82842712,8 6,8 Z M1.5,8 C0.671572875,8 0,7.32842712 0,6.5 C0,5.67157288 0.671572875,5 1.5,5 C2.32842712,5 3,5.67157288 3,6.5 C3,7.32842712 2.32842712,8 1.5,8 Z',
332
+ [microIconNames.overlayMicro]: 'M 6.00,6.00 C 6.55,6.00 7.00,6.45 7.00,7.00 7.00,7.00 7.00,10.00 7.00,10.00 7.00,10.55 6.55,11.00 6.00,11.00 6.00,11.00 2.00,11.00 2.00,11.00 1.45,11.00 1.00,10.55 1.00,10.00 1.00,10.00 1.00,7.00 1.00,7.00 1.00,6.45 1.45,6.00 2.00,6.00 2.00,6.00 6.00,6.00 6.00,6.00 Z M 4.00,3.00 C 4.00,3.00 4.00,4.00 4.00,4.00 4.00,4.55 3.55,5.00 3.00,5.00 2.45,5.00 2.00,4.55 2.00,4.00 2.00,4.00 2.00,2.50 2.00,2.50 2.00,1.67 2.67,1.00 3.50,1.00 3.50,1.00 9.50,1.00 9.50,1.00 10.33,1.00 11.00,1.67 11.00,2.50 11.00,2.50 11.00,8.50 11.00,8.50 11.00,9.33 10.33,10.00 9.50,10.00 9.50,10.00 9.00,10.00 9.00,10.00 8.45,10.00 8.00,9.55 8.00,9.00 8.00,8.45 8.45,8.00 9.00,8.00 9.00,8.00 9.00,3.00 9.00,3.00 9.00,3.00 4.00,3.00 4.00,3.00 Z',
329
333
  [microIconNames.paintMicro]: 'M5.475.475l4.828 4.828a.5.5 0 0 1 0 .707l-4.621 4.622a.5.5 0 0 1-.707 0L.357 6.014a.5.5 0 0 1 .003-.71L3.728 2H2.5a.5.5 0 0 1-.5-.5V.828a.5.5 0 0 1 .5-.5h2.621a.5.5 0 0 1 .354.147zm.197 2.197a.5.5 0 0 0-.697-.01L2.5 5H8L5.672 2.672zm4.828 7.5a1 1 0 0 1-1-1c0-.325.258-1.018.775-2.08a.25.25 0 0 1 .45 0c.517 1.062.775 1.755.775 2.08a1 1 0 0 1-1 1z',
330
334
  [microIconNames.paragraphMicro]: 'M.09 5.53L2.115.47a.79.79 0 0 1 .69-.47H2.76c.28 0 .587.21.69.47l2.024 5.06c.108.27-.036.47-.314.47h-.443a.37.37 0 0 1-.334-.238l-.244-.73c-.086-.26-.385-.472-.666-.472H2.091a.737.737 0 0 0-.666.472l-.243.73A.382.382 0 0 1 .848 6H.404c-.27 0-.417-.21-.313-.47zm1.917-2.393c-.102.256.036.463.32.463h.91c.28 0 .423-.205.32-.463l-.445-1.111c-.182-.456-.48-.451-.66 0l-.445 1.111zM0 8c0-.552.456-1 1.002-1h9.996a.999.999 0 1 1 0 2H1.002A.999.999 0 0 1 0 8zm7-3a1 1 0 0 1 1.01-1h1.98a1 1 0 1 1 0 2H8.01C7.451 6 7 5.556 7 5zm-7 6c0-.552.453-1 .997-1h6.006c.55 0 .997.444.997 1 0 .552-.453 1-.997 1H.997A.996.996 0 0 1 0 11z',
331
335
  [microIconNames.paragraph1Micro]: 'M5.25 10.125C5.25 10.3321 5.41789 10.5 5.625 10.5H6.375C6.58211 10.5 6.75 10.3321 6.75 10.125V1.875C6.75 1.66789 6.58211 1.5 6.375 1.5H4.5C2.84315 1.5 1.5 2.84315 1.5 4.5C1.5 6.15685 2.84315 7.5 4.5 7.5H5.25V10.125Z M7.5 10.125C7.5 10.3321 7.66789 10.5 7.875 10.5H8.625C8.83211 10.5 9 10.3321 9 10.125V1.875C9 1.66789 8.83211 1.5 8.625 1.5H7.875C7.66789 1.5 7.5 1.66789 7.5 1.875V10.125Z',
@@ -333,6 +337,7 @@ var microIconPaths = Object.freeze({
333
337
  [microIconNames.percentMicro]: 'M2.999,11 C2.791,11 2.58,10.935 2.4,10.8 C1.958,10.469 1.869,9.842 2.2,9.4 L8.2,1.4 C8.532,0.958 9.158,0.869 9.6,1.2 C10.042,1.531 10.131,2.158 9.8,2.6 L3.8,10.6 C3.603,10.862 3.303,11 2.999,11 Z M11,9 C11,10.105 10.105,11 9,11 C7.895,11 7,10.105 7,9 C7,7.895 7.895,7 9,7 C10.105,7 11,7.895 11,9 Z M5,3 C5,4.105 4.105,5 3,5 C1.895,5 1,4.105 1,3 C1,1.895 1.895,1 3,1 C4.105,1 5,1.895 5,3 Z',
334
338
  [microIconNames.personalMicro]: 'M6,4.85491071 C4.73763486,4.85491071 3.71428571,3.83156157 3.71428571,2.56919643 C3.71428571,1.30683129 4.73763486,0.283482143 6,0.283482143 C7.26236514,0.283482143 8.28571429,1.30683129 8.28571429,2.56919643 C8.28571429,3.83156157 7.26236514,4.85491071 6,4.85491071 Z M6,5.99776786 C9.04761905,5.99776786 10,7.99776786 10,10.140625 C10,12.2834821 2,12.2834821 2,10.140625 C2,7.99776786 2.95238095,5.99776786 6,5.99776786 Z',
335
339
  [microIconNames.personalAutoMicro]: 'M3.71429 2.55357C3.71429 3.81594 4.73763 4.83929 6 4.83929C7.26237 4.83929 8.28571 3.81594 8.28571 2.55357C8.28571 1.29121 7.26237 0.267857 6 0.267857C4.73763 0.267857 3.71429 1.29121 3.71429 2.55357ZM7.91159 6.3285C7.39357 6.10728 6.76234 5.98214 6 5.98214C2.95238 5.98214 2 7.98214 2 10.125C2 11.2609 4.24812 11.7947 6.36087 11.7263C6.25939 11.2964 6.2053 10.8448 6.2053 10.3789C6.2053 8.74557 6.87016 7.28715 7.91159 6.3285Z M10.0788 6.95645V8.08945C10.0788 8.37245 10.3028 8.59745 10.5788 8.59745H11.1608C11.4408 8.59745 11.5308 8.78145 11.3688 9.00745L9.60885 11.4715C9.28585 11.9245 9.02285 11.8455 9.02285 11.2945V10.1615C9.02351 10.0952 9.01108 10.0295 8.98629 9.96812C8.96149 9.90671 8.92482 9.8508 8.87836 9.8036C8.8319 9.7564 8.77658 9.71884 8.71558 9.69308C8.65457 9.66731 8.58907 9.65384 8.52285 9.65345H7.94085C7.66085 9.65345 7.57085 9.46945 7.73285 9.24345L9.49285 6.77845C9.81585 6.32645 10.0788 6.40545 10.0788 6.95645Z',
340
+ [microIconNames.personalCloseupMicro]: 'M10.044 9.274C8.866 10.737 7.06 11.673 5.036 11.673 3.024 11.673 1.228 10.749.049 9.302 1.133 7.789 3.059 7.043 5.111 7.043 7.15 7.043 9.002 7.78 10.044 9.274ZM2.176 2.935C2.176 4.555 3.49 5.869 5.111 5.869 6.732 5.869 8.045 4.555 8.045 2.935 8.045 1.314 6.732 0 5.111 0 3.49 0 2.176 1.314 2.176 2.935Z',
336
341
  [microIconNames.phoneMicro]: 'M4.7359,2.2742 C4.9309,2.4692 4.9309,2.7862 4.7359,2.9812 L4.0289,3.6882 C3.8339,3.8832 3.9229,4.1402 4.0289,4.3952 C4.2799,4.9992 4.8249,5.6032 5.5909,6.3702 C6.4449,7.2242 6.9609,7.6222 7.5649,7.9322 C7.8099,8.0582 8.0769,8.1272 8.2719,7.9322 L8.9789,7.2262 C9.1739,7.0302 9.4909,7.0302 9.6859,7.2262 L11.0999,8.6412 C11.2959,8.8362 11.2959,9.1532 11.0999,9.3482 L9.6319,10.8152 C9.4589,10.9882 9.1869,11.0112 8.9879,10.8682 C8.9879,10.8682 6.077,10.078 4,8 C1.834,5.833 1.0929,2.9702 1.0929,2.9702 C0.9509,2.7712 0.9739,2.4992 1.1469,2.3262 L2.6149,0.8592 C2.8099,0.6642 3.1269,0.6642 3.3219,0.8592 L4.7359,2.2742 Z',
337
342
  [microIconNames.pivotMicro]: 'M9.5 6.092h.49c.558 0 .732-.36.399-.792L9.61 4.292c-.338-.438-.89-.432-1.222 0L7.61 5.3c-.338.438-.168.792.398.792h.49C8.472 7.71 7.732 8.462 6.126 8.5v-.49c0-.557-.365-.737-.802-.41l-1.022.762c-.443.33-.448.874-.014 1.21l1.05.817c.435.338.788.169.788-.397v-.492c2.165-.044 3.341-1.232 3.373-3.407zM2 3a1 1 0 0 1 1 1v6a1 1 0 0 1-2 0V4a1 1 0 0 1 1-1zm2-2h6a1 1 0 0 1 0 2H4a1 1 0 1 1 0-2z',
338
343
  [microIconNames.playMicro]: 'M3.87240137,2.49851507 C3.3905874,2.2231928 3,2.45303631 3,2.99703014 L3,9.00296986 C3,9.5536144 3.39640677,9.77348185 3.87240137,9.50148493 L9.12759863,6.49851507 C9.6094126,6.2231928 9.60359323,5.77348185 9.12759863,5.50148493 L3.87240137,2.49851507 Z',
@@ -391,7 +396,8 @@ var microIconPaths = Object.freeze({
391
396
  [microIconNames.viewMicro]: 'M0 2.009A2.01 2.01 0 0 1 2.009 0H9.99A2.01 2.01 0 0 1 12 2.009V9.99A2.01 2.01 0 0 1 9.991 12H2.01A2.01 2.01 0 0 1 0 9.991V2.01zm2.073 4.918A.25.25 0 0 0 2 7.104V8.5A1.5 1.5 0 0 0 3.5 10H9a1.5 1.5 0 0 0 1.5-1.5V6.982a.25.25 0 0 0-.077-.18L7.5 4l-3 2.875L3 6l-.927.927zM3 4a1 1 0 1 0 0-2 1 1 0 0 0 0 2z',
392
397
  [microIconNames.warningMicro]: 'M0.460887779,10.1167095 L5.07609578,1.27167242 C5.58808735,0.290441573 6.41433749,0.293204761 6.92479743,1.27167242 L11.5391933,10.1167095 C11.7934846,10.604144 11.5511774,11 10.9975267,11 L1.00247329,11 C0.455760956,11 0.206346487,10.6045374 0.460887779,10.1167095 Z M5,4.0093689 L5,5.9906311 C5,6.55664682 5.44771525,7 6,7 C6.55613518,7 7,6.54809015 7,5.9906311 L7,4.0093689 C7,3.44335318 6.55228475,3 6,3 C5.44386482,3 5,3.45190985 5,4.0093689 Z M6,10 C6.55228475,10 7,9.55228475 7,9 C7,8.44771525 6.55228475,8 6,8 C5.44771525,8 5,8.44771525 5,9 C5,9.55228475 5.44771525,10 6,10 Z',
393
398
  [microIconNames.windowsMicro]: 'M2,3.14063927 L5.27147766,2.69315068 L5.27147766,5.84383562 L2,5.84383562 M5.66552119,2.63105023 L10,2 L10,5.8173516 L5.66552119,5.8173516 M2,6.17716895 L5.27147766,6.17716895 L5.27147766,9.3369863 L2,8.8803653 M5.66552119,6.21917808 L10,6.21917808 L10,10 L5.66552119,9.38812785',
394
- [microIconNames.xMicro]: 'M7.41421356,6 L9.88226406,3.5319495 C10.0816659,3.33254771 10.0828664,3.01179862 9.88577489,2.81470708 L9.18529292,2.11422511 C8.97977275,1.90870494 8.66708101,1.91870543 8.4680505,2.11773594 L6,4.58578644 L3.5319495,2.11773594 C3.33254771,1.91833414 3.01179862,1.91713357 2.81470708,2.11422511 L2.11422511,2.81470708 C1.90870494,3.02022725 1.91870543,3.33291899 2.11773594,3.5319495 L4.58578644,6 L2.11773594,8.4680505 C1.91833414,8.66745229 1.91713357,8.98820138 2.11422511,9.18529292 L2.81470708,9.88577489 C3.02022725,10.0912951 3.33291899,10.0812946 3.5319495,9.88226406 L6,7.41421356 L8.4680505,9.88226406 C8.66745229,10.0816659 8.98820138,10.0828664 9.18529292,9.88577489 L9.88577489,9.18529292 C10.0912951,8.97977275 10.0812946,8.66708101 9.88226406,8.4680505 L7.41421356,6 L7.41421356,6 Z'
399
+ [microIconNames.xMicro]: 'M7.41421356,6 L9.88226406,3.5319495 C10.0816659,3.33254771 10.0828664,3.01179862 9.88577489,2.81470708 L9.18529292,2.11422511 C8.97977275,1.90870494 8.66708101,1.91870543 8.4680505,2.11773594 L6,4.58578644 L3.5319495,2.11773594 C3.33254771,1.91833414 3.01179862,1.91713357 2.81470708,2.11422511 L2.11422511,2.81470708 C1.90870494,3.02022725 1.91870543,3.33291899 2.11773594,3.5319495 L4.58578644,6 L2.11773594,8.4680505 C1.91833414,8.66745229 1.91713357,8.98820138 2.11422511,9.18529292 L2.81470708,9.88577489 C3.02022725,10.0912951 3.33291899,10.0812946 3.5319495,9.88226406 L6,7.41421356 L8.4680505,9.88226406 C8.66745229,10.0816659 8.98820138,10.0828664 9.18529292,9.88577489 L9.88577489,9.18529292 C10.0912951,8.97977275 10.0812946,8.66708101 9.88226406,8.4680505 L7.41421356,6 L7.41421356,6 Z',
400
+ [microIconNames.xCheckboxMicro]: 'M2.36723 2.56169C2.05481 2.87411 2.05481 3.38065 2.36723 3.69306L4.67417 6L2.36723 8.30694C2.05481 8.61936 2.05481 9.12589 2.36723 9.43831L2.56169 9.63276C2.8741 9.94518 3.38064 9.94518 3.69306 9.63276L5.99999 7.32583L8.30693 9.63276C8.61935 9.94518 9.12588 9.94518 9.4383 9.63276L9.63275 9.43831C9.94517 9.12589 9.94517 8.61936 9.63275 8.30694L7.32582 6L9.63275 3.69306C9.94517 3.38064 9.94517 2.87411 9.63275 2.56169L9.4383 2.36724C9.12588 2.05482 8.61935 2.05482 8.30693 2.36724L5.99999 4.67417L3.69306 2.36724C3.38064 2.05482 2.87411 2.05482 2.56169 2.36724L2.36723 2.56169Z'
395
401
  });
396
402
  /** @hidden */
397
403
 
@@ -30,7 +30,7 @@ var hasBeenInitialized = false;
30
30
  /** */
31
31
 
32
32
  /**
33
- * `initializeBlock` takes the top-level React component in your tree and renders it. It is conceptually similar to `ReactDOM.render`, but takes care of some Apps-specific things.
33
+ * `initializeBlock` takes the top-level React component in your tree and renders it. It is conceptually similar to `ReactDOM.render`, but takes care of some Extensions-specific things.
34
34
  *
35
35
  * @param getEntryElement A function that returns your React Node.
36
36
  *
@@ -78,7 +78,7 @@ function initializeBlock(getEntryElement) {
78
78
  case _airtable_interface2.BlockRunContextType.DASHBOARD_APP:
79
79
  {
80
80
  if (entryPoints.dashboard === undefined) {
81
- throw (0, _error_utils.spawnError)('If running an app within the dashboard, it must have a dashboard initialization function');
81
+ throw (0, _error_utils.spawnError)('If running an extension within the dashboard, it must have a dashboard initialization function');
82
82
  }
83
83
 
84
84
  if (typeof entryPoints.dashboard !== 'function') {
@@ -92,7 +92,7 @@ function initializeBlock(getEntryElement) {
92
92
  case _airtable_interface2.BlockRunContextType.VIEW:
93
93
  {
94
94
  if (entryPoints.view === undefined) {
95
- throw (0, _error_utils.spawnError)('If running an app within a view, it must have a view initialization function');
95
+ throw (0, _error_utils.spawnError)('If running an extension within a view, it must have a view initialization function');
96
96
  }
97
97
 
98
98
  if (typeof entryPoints.view !== 'function') {
@@ -16,7 +16,7 @@ var _sdk_context = require("./sdk_context");
16
16
  /** */
17
17
 
18
18
  /**
19
- * Returns the app's {@link GlobalConfig} and updates whenever any key in {@link GlobalConfig}
19
+ * Returns the extension's {@link GlobalConfig} and updates whenever any key in {@link GlobalConfig}
20
20
  * changes.
21
21
  *
22
22
  * @example
@@ -42,7 +42,7 @@ var SUSPENSE_CLEAN_UP_MS = 60000;
42
42
  */
43
43
 
44
44
  /**
45
- * When you're writing an app, not all of the data in your base is available to work with straight
45
+ * When you're writing an extension, not all of the data in your base is available to work with straight
46
46
  * away. We need to load it from Airtable first. This hook is a low-level tool for managing that.
47
47
  * You might not need to use it directly though - if you're working with a {@link RecordQueryResult}, try
48
48
  * {@link useRecords}, {@link useRecordIds}, or {@link useRecordById} first.
@@ -51,7 +51,7 @@ var SUSPENSE_CLEAN_UP_MS = 60000;
51
51
  * loaded when your component mounts, and unloaded when your component unmounts. By default, you
52
52
  * don't need to worry about waiting for the data to load - the hook uses React Suspense to make
53
53
  * sure the rest of your component doesn't run until the data is loaded. Whilst the data is
54
- * loading, the entire app will show a loading indicator. If you want to change where that
54
+ * loading, the entire extension will show a loading indicator. If you want to change where that
55
55
  * indicator shows or how it looks, use [`<React.Suspense />`](https://reactjs.org/docs/react-api.html#reactsuspense|)
56
56
  * around the component that uses the hook.
57
57
  *
@@ -164,7 +164,7 @@ function useLoadable(models) {
164
164
  // lifecycle and use that to unload it. Instead, we load it and keep it loaded for a long
165
165
  // enough time that it can resolve and then be rendered successfully. After the timeout has
166
166
  // passed, we unload it, allowing the data to be released as long as it's not used anywhere
167
- // else in the app.
167
+ // else in the extension.
168
168
  setTimeout(() => {
169
169
  var _iteratorNormalCompletion2 = true;
170
170
  var _didIteratorError2 = false;
@@ -20,29 +20,29 @@ var _sdk_context = require("./sdk_context");
20
20
  /** */
21
21
 
22
22
  /**
23
- * A hook to watch "open app" / "perform record action" events (from button field). Returns
23
+ * A hook to watch "open extension" / "perform record action" events (from button field). Returns
24
24
  * the data corresponding to the latest action, or `null` if no actions have occurred yet. If there
25
- * was a pending event for the app (for example, because a button that opens this app was
26
- * clicked while the apps dashboard was closed) it will be returned as the initial value.
25
+ * was a pending event for the extension (for example, because a button that opens this extension was
26
+ * clicked while the extensions dashboard was closed) it will be returned as the initial value.
27
27
  *
28
- * Like {@link useLoadable}, this hook puts the app in suspense while subscribing to events and
28
+ * Like {@link useLoadable}, this hook puts the extension in suspense while subscribing to events and
29
29
  * fetching the initial data.
30
30
  *
31
31
  * Also see {@link registerRecordActionDataCallback}, which subscribes to the same events in an
32
32
  * asynchronous (callback based) way. An advantage of using this hook over the callback is that you
33
- * immediately can handle any pending events when your app opens - with a callback, your app
33
+ * immediately can handle any pending events when your extension opens - with a callback, your extension
34
34
  * will finish it's initial render before handling the event.
35
35
  *
36
- * Like {@link registerRecordActionDataCallback}, your app won't receive events until this hook is
36
+ * Like {@link registerRecordActionDataCallback}, your extension won't receive events until this hook is
37
37
  * used for the first time. Because of that, we recommend only using this hook once, in the top
38
- * level component of your app. Similarly, using both `registerRecordActionDataCallback` and
38
+ * level component of your extension. Similarly, using both `registerRecordActionDataCallback` and
39
39
  * `useRecordActionData` is not supported.
40
40
  *
41
- * You can test your app in development by sending "perform record action" events to your app
42
- * in the "Advanced" panel of the app developer tools.
41
+ * You can test your extension in development by sending "perform record action" events to your extension
42
+ * in the "Advanced" panel of the extension developer tools.
43
43
  *
44
- * After releasing your app, you can use it with a button field by choosing the "Open custom
45
- * app" action and selecting your app.
44
+ * After releasing your extension, you can use it with a button field by choosing the "Open custom
45
+ * extension" action and selecting your extension.
46
46
  *
47
47
  * @example
48
48
  * ```js
@@ -18,7 +18,7 @@ var _sdk_context = require("./sdk_context");
18
18
  /** */
19
19
 
20
20
  /**
21
- * A hook for using the settings button that lives outside the app's viewport. It will show
21
+ * A hook for using the settings button that lives outside the extension's viewport. It will show
22
22
  * the settings button (hidden by default) and call the provided callback whenever the settings
23
23
  * button is clicked. It will also re-render your component when the settings button is clicked.
24
24
  *
@@ -44,7 +44,7 @@ var _with_hooks = _interopRequireDefault(require("./with_hooks"));
44
44
  var didSizeChange = (prev, next) => (prev && prev.width) !== (next && next.width) || (prev && prev.height) !== (next && next.height);
45
45
  /**
46
46
  * When mounted, this wrapper component applies size constraints to the {@link Viewport}.
47
- * Like {@link addMinSize}, this will fullscreen the app if necessary and possible when
47
+ * Like {@link addMinSize}, this will fullscreen the extension if necessary and possible when
48
48
  * `minSize` is updated.
49
49
  *
50
50
  * @example
@@ -139,7 +139,7 @@ function (_Watchable) {
139
139
  /**
140
140
  * Request to enter fullscreen mode.
141
141
  *
142
- * May fail if another app is fullscreen or this app doesn't have
142
+ * May fail if another extension is fullscreen or this extension doesn't have
143
143
  * permission to fullscreen itself. Watch `isFullscreen` to know if the
144
144
  * request succeeded.
145
145
  */
@@ -158,7 +158,7 @@ function (_Watchable) {
158
158
  this._airtableInterface.exitFullscreen();
159
159
  }
160
160
  /**
161
- * The maximum dimensions of the app when it is in
161
+ * The maximum dimensions of the extension when it is in
162
162
  * fullscreen mode. Returns the smallest set of dimensions added with
163
163
  * {@link addMaxFullscreenSize}.
164
164
  *
@@ -203,8 +203,8 @@ function (_Watchable) {
203
203
  };
204
204
  }
205
205
  /**
206
- * The minimum dimensions of the app - if the viewport gets smaller than this
207
- * size, an overlay will be shown asking the user to resize the app to be bigger.
206
+ * The minimum dimensions of the extension - if the viewport gets smaller than this
207
+ * size, an overlay will be shown asking the user to resize the extension to be bigger.
208
208
  *
209
209
  * The largest set of dimensions added with addMinSize. If `width` or `height` is null, it means
210
210
  * there is no minSize constraint on that dimension.
@@ -217,8 +217,8 @@ function (_Watchable) {
217
217
  * Add a minimum frame size constraint. Use `.minSize`` to get the aggregate
218
218
  * of all added constraints.
219
219
  *
220
- * Upon adding a constraint, if the app is focused and the frame is smaller than the
221
- * minimum size, the app will enter fullscreen mode.
220
+ * Upon adding a constraint, if the extension is focused and the frame is smaller than the
221
+ * minimum size, the extension will enter fullscreen mode.
222
222
  *
223
223
  * Returns a function that can be called to remove the size constraint that was added.
224
224
  *
@@ -261,7 +261,7 @@ function (_Watchable) {
261
261
  };
262
262
  }
263
263
  /**
264
- * `true` if the app frame is smaller than `minSize`, `false` otherwise.
264
+ * `true` if the extension frame is smaller than `minSize`, `false` otherwise.
265
265
  */
266
266
 
267
267
  }, {
@@ -428,7 +428,7 @@ function (_Watchable) {
428
428
  return isWidthTooSmall || isHeightTooSmall;
429
429
  }
430
430
  /**
431
- * `true` if the app is fullscreen, `false` otherwise.
431
+ * `true` if the extension is fullscreen, `false` otherwise.
432
432
  */
433
433
 
434
434
  }, {
@@ -437,7 +437,7 @@ function (_Watchable) {
437
437
  return this._isFullscreen;
438
438
  }
439
439
  /**
440
- * The current size of the app frame.
440
+ * The current size of the extension frame.
441
441
  *
442
442
  * Can be watched.
443
443
  */
@@ -7,7 +7,7 @@ import { PermissionCheckResult } from './types/mutations';
7
7
  */
8
8
  declare type WatchableGlobalConfigKey = string;
9
9
  /**
10
- * A key-value store for persisting configuration options for an app installation.
10
+ * A key-value store for persisting configuration options for an extension installation.
11
11
  *
12
12
  * The contents will be synced in real-time to all logged-in users of the installation.
13
13
  * Contents will not be updated in real-time when the installation is running in
@@ -122,7 +122,7 @@ declare class GlobalConfig extends Watchable<WatchableGlobalConfigKey> {
122
122
  * if (globalConfig.hasPermissionToSetPaths('favoriteColor', color)) {
123
123
  * globalConfig.setAsync('favoriteColor', color);
124
124
  * }
125
- * // The update is now applied within your app (eg will be
125
+ * // The update is now applied within your extension (eg will be
126
126
  * // reflected in globalConfig) but are still being saved to
127
127
  * // Airtable servers (e.g. may not be updated for other users yet)
128
128
  * }
@@ -216,7 +216,7 @@ declare class GlobalConfig extends Watchable<WatchableGlobalConfigKey> {
216
216
  * if (globalConfig.hasPermissionToSetPaths(updates)) {
217
217
  * globalConfig.setPathsAsync(updates);
218
218
  * }
219
- * // The updates are now applied within your app (eg will be reflected in
219
+ * // The updates are now applied within your extension (eg will be reflected in
220
220
  * // globalConfig) but are still being saved to Airtable servers (e.g. they
221
221
  * // may not be updated for other users yet)
222
222
  * }
@@ -109,8 +109,8 @@ declare class Base extends AbstractModel<BaseData, WatchableBaseKey> {
109
109
  * The user matching the given ID, name, or email address. Returns null if that user does not
110
110
  * exist or does not have access to this base.
111
111
  *
112
- * This method is convenient when building an app for a specific base, but for more generic
113
- * apps the best practice is to use the {@link getCollaboratorByIdIfExists} method instead.
112
+ * This method is convenient when building an extension for a specific base, but for more generic
113
+ * extensions the best practice is to use the {@link getCollaboratorByIdIfExists} method instead.
114
114
  *
115
115
  * @param collaboratorIdOrNameOrEmail The ID of the user.
116
116
  */
@@ -120,8 +120,8 @@ declare class Base extends AbstractModel<BaseData, WatchableBaseKey> {
120
120
  * or does not have access to this base. Use {@link getCollaboratorIfExists} instead if you are
121
121
  * unsure whether a collaborator with the given ID exists and has access to this base.
122
122
  *
123
- * This method is convenient when building an app for a specific base, but for more generic
124
- * apps the best practice is to use the {@link getCollaboratorById} method instead.
123
+ * This method is convenient when building an extension for a specific base, but for more generic
124
+ * extensions the best practice is to use the {@link getCollaboratorById} method instead.
125
125
  *
126
126
  * @param collaboratorIdOrNameOrEmail The ID of the user.
127
127
  */
@@ -158,8 +158,8 @@ declare class Base extends AbstractModel<BaseData, WatchableBaseKey> {
158
158
  * The table matching the given ID or name. Returns `null` if no matching table exists within
159
159
  * this base.
160
160
  *
161
- * This method is convenient when building an app for a specific base, but for more generic
162
- * apps the best practice is to use the {@link getTableByIdIfExists} or
161
+ * This method is convenient when building an extension for a specific base, but for more generic
162
+ * extensions the best practice is to use the {@link getTableByIdIfExists} or
163
163
  * {@link getTableByNameIfExists} methods instead.
164
164
  *
165
165
  * @param tableIdOrName The ID or name of the table you're looking for.
@@ -170,8 +170,8 @@ declare class Base extends AbstractModel<BaseData, WatchableBaseKey> {
170
170
  * Use {@link getTableIfExists} instead if you are unsure whether a table exists with the given
171
171
  * name/ID.
172
172
  *
173
- * This method is convenient when building an app for a specific base, but for more generic
174
- * apps the best practice is to use the {@link getTableById} or {@link getTableByName} methods
173
+ * This method is convenient when building an extension for a specific base, but for more generic
174
+ * extensions the best practice is to use the {@link getTableById} or {@link getTableByName} methods
175
175
  * instead.
176
176
  *
177
177
  * @param tableIdOrName The ID or name of the table you're looking for.
@@ -252,7 +252,7 @@ declare class Base extends AbstractModel<BaseData, WatchableBaseKey> {
252
252
  *
253
253
  * This action is asynchronous. Unlike new records, new tables are **not** created
254
254
  * optimistically locally. You must `await` the returned promise before using the new
255
- * table in your app.
255
+ * table in your extension.
256
256
  *
257
257
  * @param name name for the table. must be case-insensitive unique
258
258
  * @param fields array of fields to create in the table: see below for an example. `name` and
@@ -127,17 +127,15 @@ declare class Cursor extends AbstractModelWithAsyncData<CursorData, WatchableCur
127
127
  */
128
128
  get activeViewId(): ViewId | null;
129
129
  /**
130
- * Sets the specified table to active in the Airtable UI. If the apps pane is fullscreen, the
131
- * table will still be set as active, but the apps pane will continue to be displayed
132
- * fullscreen.
130
+ * Sets the specified table to active in the Airtable UI. If the extension installation or extensions pane
131
+ * is fullscreen, fullscreen mode will be exited.
133
132
  *
134
133
  * @param tableOrTableId The target table or table ID to set as active in the Airtable main page.
135
134
  */
136
135
  setActiveTable(tableOrTableId: Table | TableId): void;
137
136
  /**
138
- * Sets the specified view (and corresponding table) to active in the Airtable UI. If the apps
139
- * pane is fullscreen, the view will still be set as active, but the apps pane will continue
140
- * to be displayed fullscreen.
137
+ * Sets the specified view (and corresponding table) to active in the Airtable UI. If the extension
138
+ * installation or extensions pane is fullscreen, fullscreen mode will be exited.
141
139
  *
142
140
  * @param tableOrTableId The table or table ID that the target view belongs to.
143
141
  * @param viewOrViewId The target view or view ID to set as active in the Airtable main page.
@@ -1 +1 @@
1
- {"version":3,"file":"cursor.d.ts","sourceRoot":"","sources":["../../../../src/models/cursor.ts"],"names":[],"mappings":"AAGA,OAAO,EAAC,QAAQ,EAAC,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAC,OAAO,EAAC,MAAM,gBAAgB,CAAC;AACvC,OAAO,EAAC,MAAM,EAAC,MAAM,eAAe,CAAC;AACrC,OAAO,EAAC,OAAO,EAAC,MAAM,gBAAgB,CAAC;AACvC,OAAO,EAAuB,YAAY,EAAE,SAAS,EAAC,MAAM,kBAAkB,CAAC;AAE/E,OAAO,0BAA0B,MAAM,kCAAkC,CAAC;AAC1E,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,QAAA,MAAM,mBAAmB;;;;;;EAMvB,CAAC;AAEH;;;;;;;GAOG;AACH,aAAK,kBAAkB,GAAG,YAAY,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEnE,cAAc;AACd,UAAU,UAAU;IAChB,mBAAmB,EAAE,SAAS,CAAC,QAAQ,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;IACzD,kBAAkB,EAAE,SAAS,CAAC,OAAO,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;IACvD,aAAa,EAAE,OAAO,GAAG,IAAI,CAAC;IAC9B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;CAC/B;AAGD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH,cAAM,MAAO,SAAQ,0BAA0B,CAAC,UAAU,EAAE,kBAAkB,CAAC;IAiE3E;;;;;;;OAOG;IACH,IAAI,iBAAiB,IAAI,KAAK,CAAC,QAAQ,CAAC,CAKvC;IACD;;;;;;;OAOG;IACH,IAAI,gBAAgB,IAAI,KAAK,CAAC,QAAQ,CAAC,CAKtC;IACD;;;;;;;OAOG;IACH,gBAAgB,CAAC,gBAAgB,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO;IAW5D;;;;;;;;OAQG;IACH,IAAI,aAAa,IAAI,OAAO,GAAG,IAAI,CAElC;IACD;;;;;;;;;OASG;IACH,IAAI,YAAY,IAAI,MAAM,GAAG,IAAI,CAEhC;IACD;;;;;;OAMG;IACH,cAAc,CAAC,cAAc,EAAE,KAAK,GAAG,OAAO,GAAG,IAAI;IAIrD;;;;;;;OAOG;IACH,aAAa,CAAC,cAAc,EAAE,KAAK,GAAG,OAAO,EAAE,YAAY,EAAE,IAAI,GAAG,MAAM,GAAG,IAAI;CA+EpF;AAED,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"cursor.d.ts","sourceRoot":"","sources":["../../../../src/models/cursor.ts"],"names":[],"mappings":"AAGA,OAAO,EAAC,QAAQ,EAAC,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAC,OAAO,EAAC,MAAM,gBAAgB,CAAC;AACvC,OAAO,EAAC,MAAM,EAAC,MAAM,eAAe,CAAC;AACrC,OAAO,EAAC,OAAO,EAAC,MAAM,gBAAgB,CAAC;AACvC,OAAO,EAAuB,YAAY,EAAE,SAAS,EAAC,MAAM,kBAAkB,CAAC;AAE/E,OAAO,0BAA0B,MAAM,kCAAkC,CAAC;AAC1E,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,QAAA,MAAM,mBAAmB;;;;;;EAMvB,CAAC;AAEH;;;;;;;GAOG;AACH,aAAK,kBAAkB,GAAG,YAAY,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEnE,cAAc;AACd,UAAU,UAAU;IAChB,mBAAmB,EAAE,SAAS,CAAC,QAAQ,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;IACzD,kBAAkB,EAAE,SAAS,CAAC,OAAO,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;IACvD,aAAa,EAAE,OAAO,GAAG,IAAI,CAAC;IAC9B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;CAC/B;AAGD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH,cAAM,MAAO,SAAQ,0BAA0B,CAAC,UAAU,EAAE,kBAAkB,CAAC;IAiE3E;;;;;;;OAOG;IACH,IAAI,iBAAiB,IAAI,KAAK,CAAC,QAAQ,CAAC,CAKvC;IACD;;;;;;;OAOG;IACH,IAAI,gBAAgB,IAAI,KAAK,CAAC,QAAQ,CAAC,CAKtC;IACD;;;;;;;OAOG;IACH,gBAAgB,CAAC,gBAAgB,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO;IAW5D;;;;;;;;OAQG;IACH,IAAI,aAAa,IAAI,OAAO,GAAG,IAAI,CAElC;IACD;;;;;;;;;OASG;IACH,IAAI,YAAY,IAAI,MAAM,GAAG,IAAI,CAEhC;IACD;;;;;OAKG;IACH,cAAc,CAAC,cAAc,EAAE,KAAK,GAAG,OAAO,GAAG,IAAI;IAIrD;;;;;;OAMG;IACH,aAAa,CAAC,cAAc,EAAE,KAAK,GAAG,OAAO,EAAE,YAAY,EAAE,IAAI,GAAG,MAAM,GAAG,IAAI;CA+EpF;AAED,eAAe,MAAM,CAAC"}