@hubspot/ui-extensions 0.11.0 → 0.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/dist/__synced__/remoteComponents.synced.d.ts +85 -354
  2. package/dist/__synced__/remoteComponents.synced.js +88 -83
  3. package/dist/__synced__/types/components/index.synced.d.ts +38 -38
  4. package/dist/__synced__/types/index.synced.d.ts +7 -7
  5. package/dist/__synced__/types/index.synced.js +1 -9
  6. package/dist/__synced__/types/shared.synced.d.ts +2 -3
  7. package/dist/__synced__/utils/remote-component-registry.synced.d.ts +80 -0
  8. package/dist/__synced__/utils/remote-component-registry.synced.js +64 -0
  9. package/dist/experimental/testing/internal/constants.d.ts +2 -0
  10. package/dist/experimental/testing/internal/constants.js +1 -0
  11. package/dist/experimental/testing/internal/debug.d.ts +8 -0
  12. package/dist/experimental/testing/internal/debug.js +10 -0
  13. package/dist/experimental/testing/internal/element.d.ts +11 -0
  14. package/dist/experimental/testing/internal/element.js +67 -0
  15. package/dist/experimental/testing/internal/errors.d.ts +44 -0
  16. package/dist/experimental/testing/internal/errors.js +52 -0
  17. package/dist/experimental/testing/internal/fragment.d.ts +8 -0
  18. package/dist/experimental/testing/internal/fragment.js +44 -0
  19. package/dist/experimental/testing/internal/print.d.ts +6 -0
  20. package/dist/experimental/testing/internal/print.js +114 -0
  21. package/dist/experimental/testing/internal/query.d.ts +57 -0
  22. package/dist/experimental/testing/internal/query.js +231 -0
  23. package/dist/experimental/testing/internal/root.d.ts +8 -0
  24. package/dist/experimental/testing/internal/root.js +44 -0
  25. package/dist/experimental/testing/internal/text.d.ts +9 -0
  26. package/dist/experimental/testing/internal/text.js +16 -0
  27. package/dist/experimental/testing/types.d.ts +1 -1
  28. package/dist/hubspot.d.ts +1 -1
  29. package/dist/index.d.ts +2 -2
  30. package/dist/index.js +2 -2
  31. package/dist/pages/home/index.d.ts +1 -1
  32. package/dist/pages/home/index.js +1 -1
  33. package/package.json +10 -5
  34. package/dist/coreComponents.d.ts +0 -848
  35. package/dist/coreComponents.js +0 -582
  36. package/dist/experimental/types.d.ts +0 -240
  37. package/dist/experimental/types.js +0 -5
  38. package/dist/types.d.ts +0 -3214
  39. package/dist/types.js +0 -244
package/dist/types.js DELETED
@@ -1,244 +0,0 @@
1
- export class ExtensionEvent {
2
- type;
3
- bubbles;
4
- timeStamp;
5
- id;
6
- constructor(event) {
7
- this.bubbles = event.bubbles;
8
- this.type = event.type;
9
- this.timeStamp = event.timeStamp;
10
- this.id = crypto.randomUUID();
11
- }
12
- }
13
- export class FormSubmitExtensionEvent extends ExtensionEvent {
14
- targetValue;
15
- constructor(value, event) {
16
- super(event);
17
- this.targetValue = value;
18
- }
19
- }
20
- export const iconNames = {
21
- success: 'success',
22
- remove: 'remove',
23
- add: 'add',
24
- attach: 'attach',
25
- date: 'date',
26
- copy: 'duplicate',
27
- delete: 'delete',
28
- edit: 'edit',
29
- email: 'email',
30
- exclamation: 'exclamation',
31
- question: 'question',
32
- home: 'home',
33
- location: 'location',
34
- upCarat: 'upCarat',
35
- downCarat: 'downCarat',
36
- warning: 'warning',
37
- shoppingCart: 'cart',
38
- clock: 'time',
39
- comment: 'comments',
40
- contact: 'contacts',
41
- star: 'favorite',
42
- file: 'file',
43
- reports: 'reports',
44
- video: 'video',
45
- robot: 'simpleBot',
46
- refresh: 'refresh',
47
- faceHappy: 'emoji',
48
- faceNeutral: 'emojiLineNeutral',
49
- faceSad: 'emojiLineSad',
50
- upload: 'upload',
51
- download: 'download',
52
- left: 'left',
53
- right: 'right',
54
- dataSync: 'dataSync',
55
- imageGallery: 'imageGallery',
56
- search: 'search',
57
- save: 'saveEditableView',
58
- notification: 'notification',
59
- bulb: 'bulb',
60
- settings: 'settings',
61
- filter: 'filter',
62
- gauge: 'gauge',
63
- enroll: 'enroll',
64
- generateChart: 'generateChart',
65
- gift: 'gift',
66
- flame: 'highlyEngagedLead',
67
- inbox: 'inbox',
68
- image: 'insertImage',
69
- quote: 'insertQuote',
70
- insertVideo: 'insertVideo',
71
- invoice: 'invoice',
72
- key: 'key',
73
- book: 'knowledgeBase',
74
- globe: 'language',
75
- lesson: 'lesson',
76
- link: 'link',
77
- listView: 'listView',
78
- locked: 'locked',
79
- mention: 'mention',
80
- messages: 'messages',
81
- mobile: 'mobile',
82
- notificationOff: 'notificationOff',
83
- hash: 'numericDataType',
84
- objectAssociations: 'objectAssociations',
85
- objectAssociationsManyToMany: 'objectAssociationsManyToMany',
86
- objectAssociationsManyToOne: 'objectAssociationsManyToOne',
87
- office365: 'office365',
88
- order: 'order',
89
- paymentSubscriptions: 'paymentSubscriptions',
90
- product: 'product',
91
- powerPointFile: 'powerPointFile',
92
- presentation: 'presentation',
93
- publish: 'publish',
94
- questionAnswer: 'questionAnswer',
95
- quickbooks: 'quickbooks',
96
- readMore: 'readMore',
97
- realEstateListing: 'realEstateListing',
98
- readOnlyView: 'readOnlyView',
99
- recentlySelected: 'recentlySelected',
100
- record: 'record',
101
- redo: 'redo',
102
- undo: 'undo',
103
- registration: 'registration',
104
- replace: 'replace',
105
- rotate: 'rotate',
106
- salesQuote: 'salesQuote',
107
- salesTemplates: 'salesTemplates',
108
- sequences: 'sequences',
109
- spellCheck: 'spellCheck',
110
- strike: 'strike',
111
- tablet: 'tablet',
112
- tag: 'tag',
113
- tasks: 'tasks',
114
- test: 'test',
115
- ticket: 'ticket',
116
- thumbsUp: 'thumbsUp',
117
- thumbsDown: 'thumbsDown',
118
- translate: 'translate',
119
- trophy: 'trophy',
120
- videoFile: 'videoFile',
121
- videoPlayerSubtitles: 'videoPlayerSubtitles',
122
- view: 'view',
123
- viewDetails: 'viewDetails',
124
- website: 'website',
125
- workflows: 'workflows',
126
- zoomIn: 'zoomIn',
127
- zoomOut: 'zoomOut',
128
- goal: 'goal',
129
- campaigns: 'campaigns',
130
- cap: 'cap',
131
- block: 'block',
132
- bank: 'bank',
133
- approvals: 'approvals',
134
- appointment: 'appointment',
135
- facebook: 'socialBlockFacebook',
136
- googlePlus: 'socialBlockGoogleplus',
137
- instagram: 'socialBlockInstagram',
138
- linkedin: 'socialBlockLinkedin',
139
- pinterest: 'socialBlockPinterest',
140
- rss: 'socialBlockRss',
141
- twitter: 'socialBlockTwitter',
142
- x: 'socialBlockX',
143
- xing: 'socialBlockXing',
144
- youtube: 'socialBlockYoutube',
145
- youtubePlay: 'socialBlockYoutubeplay',
146
- sortAlpAsc: 'sortAlpAsc',
147
- sortAlpDesc: 'sortAlpDesc',
148
- sortAmtAsc: 'sortAmtAsc',
149
- sortAmtDesc: 'sortAmtDesc',
150
- sortNumAsc: 'sortNumAsc',
151
- sortNumDesc: 'sortNumDesc',
152
- sortTableAsc: 'sortTableAsc',
153
- sortTableDesc: 'sortTableDesc',
154
- text: 'text',
155
- textColor: 'textColor',
156
- textDataType: 'textDataType',
157
- textSnippet: 'textSnippet',
158
- calling: 'calling',
159
- callingHangup: 'callingHangup',
160
- callingMade: 'callingMade',
161
- callingMissed: 'callingMissed',
162
- callingVoicemail: 'callingVoicemail',
163
- faceHappyFilled: 'emojiFillHappy',
164
- faceNeutralFilled: 'emojiFillNeutral',
165
- faceSadFilled: 'emojiFillSad',
166
- };
167
- /** @deprecated use ExtensionEvent/FormSubmitExtensionEvent instead */
168
- export class RemoteEvent {
169
- type;
170
- bubbles;
171
- timeStamp;
172
- targetValue;
173
- constructor(value, event) {
174
- this.bubbles = event.bubbles;
175
- this.type = event.type;
176
- this.timeStamp = event.timeStamp;
177
- this.targetValue = value;
178
- }
179
- }
180
- export const chartFieldTypes = {
181
- datetime: 'datetime',
182
- linear: 'linear',
183
- category: 'category',
184
- };
185
- export const illustrationNames = {
186
- // Standard 1:1 mappings
187
- lock: 'lock',
188
- unlock: 'unlock',
189
- electronicSignature: 'electronic-signature',
190
- electronicSignatureEmptyState: 'electronic-signature-empty-state',
191
- callingSetUp: 'calling-set-up',
192
- companies: 'companies',
193
- contacts: 'contacts',
194
- multipleObjects: 'multiple-objects',
195
- object: 'object',
196
- task: 'task',
197
- deals: 'deals',
198
- registration: 'registration',
199
- developerSecurityUpdate: 'developer-security-update',
200
- social: 'social',
201
- leads: 'leads',
202
- target: 'target',
203
- emailConfirmation: 'email-confirmation',
204
- successfullyConnectedEmail: 'successfully-connected-email',
205
- contentStrategy: 'content-strategy',
206
- addOnReporting: 'add-on-reporting',
207
- productsShoppingCart: 'products-shopping-cart',
208
- store: 'store',
209
- storeDisabled: 'store-disabled',
210
- customerSupport: 'customer-support',
211
- customerExperience: 'customer-experience',
212
- api: 'api',
213
- integrations: 'integrations',
214
- sandboxAddOn: 'sandbox-add-on',
215
- customObjects: 'custom-objects',
216
- paymentsButton: 'payments-button',
217
- automatedTesting: 'automated-testing',
218
- emptyStateCharts: 'empty-state-charts',
219
- // Special mappings that are not 1:1
220
- meetings: 'meetings-small',
221
- tickets: 'ticket-small',
222
- errorGeneral: 'errors/general',
223
- errorHourglass: 'errors/hourglass',
224
- middlePaneCards: 'settings-middle-pane-cards',
225
- propertiesSidebar: 'settings-properties-sidebar',
226
- sidebar: 'settings-sidebar',
227
- };
228
- export const EXTENSION_POINT_LOCATIONS = [
229
- 'crm.preview',
230
- 'crm.record.sidebar',
231
- 'crm.record.tab',
232
- 'helpdesk.sidebar',
233
- 'uie.playground.middle',
234
- 'settings',
235
- 'home',
236
- ];
237
- /**
238
- * @category Serverless
239
- */
240
- export var ServerlessExecutionStatus;
241
- (function (ServerlessExecutionStatus) {
242
- ServerlessExecutionStatus["Success"] = "SUCCESS";
243
- ServerlessExecutionStatus["Error"] = "ERROR";
244
- })(ServerlessExecutionStatus || (ServerlessExecutionStatus = {}));