@sprucelabs/calendar-utils 40.0.9 → 40.0.10

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 (38) hide show
  1. package/build/.spruce/errors/calendarUtils/invalidTimezoneName.schema.js +3 -3
  2. package/build/.spruce/errors/errors.types.d.ts +2 -2
  3. package/build/.spruce/errors/options.types.d.ts +2 -2
  4. package/build/.spruce/schemas/calendarUtils/v2021_05_19/calendarEvent.schema.js +59 -121
  5. package/build/.spruce/schemas/calendarUtils/v2021_05_19/calendarEventLineIcon.schema.js +5 -175
  6. package/build/.spruce/schemas/calendarUtils/v2021_05_19/calendarEventTarget.schema.js +11 -11
  7. package/build/.spruce/schemas/calendarUtils/v2021_05_19/eventExclusionDate.schema.js +7 -7
  8. package/build/.spruce/schemas/calendarUtils/v2021_05_19/eventTimeBlock.schema.js +13 -13
  9. package/build/.spruce/schemas/fields/fields.types.d.ts +1 -1
  10. package/build/.spruce/schemas/schemas.types.d.ts +648 -840
  11. package/build/.spruce/schemas/schemas.types.js +4 -0
  12. package/build/errors/SpruceError.js +1 -1
  13. package/build/esm/.spruce/errors/errors.types.d.ts +2 -2
  14. package/build/esm/.spruce/errors/options.types.d.ts +2 -2
  15. package/build/esm/.spruce/schemas/calendarUtils/v2021_05_19/calendarEvent.schema.js +59 -121
  16. package/build/esm/.spruce/schemas/calendarUtils/v2021_05_19/calendarEventLineIcon.schema.js +5 -175
  17. package/build/esm/.spruce/schemas/calendarUtils/v2021_05_19/calendarEventTarget.schema.js +11 -11
  18. package/build/esm/.spruce/schemas/calendarUtils/v2021_05_19/eventExclusionDate.schema.js +7 -7
  19. package/build/esm/.spruce/schemas/calendarUtils/v2021_05_19/eventTimeBlock.schema.js +13 -13
  20. package/build/esm/.spruce/schemas/schemas.types.d.ts +648 -840
  21. package/build/esm/.spruce/schemas/schemas.types.js +4 -0
  22. package/build/locales/DateUtilDecorator.js +1 -2
  23. package/build/locales/Locale.js +4 -6
  24. package/build/locales/TimezoneChoiceSorter.js +0 -1
  25. package/build/parsing/AbstractParser.js +0 -2
  26. package/build/parsing/DateParser.js +1 -3
  27. package/build/parsing/ParserFactory.js +7 -9
  28. package/build/parsing/strategies/DowParser.js +2 -1
  29. package/build/parsing/strategies/TimeParser.js +4 -3
  30. package/build/parsing/strategies/WeekParser.js +2 -1
  31. package/build/utilities/PeopleSorter.js +8 -6
  32. package/build/utilities/RepeatingRuleTextGenerator.js +16 -17
  33. package/build/utilities/calendar.utility.js +5 -4
  34. package/build/utilities/date.utility.js +2 -1
  35. package/build/utilities/duration.utility.js +1 -1
  36. package/build/utilities/sortTimezoneChoices.js +2 -1
  37. package/package.json +13 -15
  38. package/tsconfig.json +1 -1
@@ -1,3 +1,7 @@
1
1
  "use strict";
2
+ /* eslint-disable @typescript-eslint/no-namespace */
3
+ /* eslint-disable no-redeclare */
4
+ /* eslint-disable @typescript-eslint/no-unused-vars */
5
+ /* eslint-disable import/order */
2
6
  Object.defineProperty(exports, "__esModule", { value: true });
3
7
  require("@sprucelabs/spruce-event-utils");
@@ -9,7 +9,7 @@ class SpruceError extends error_1.default {
9
9
  friendlyMessage() {
10
10
  const { options } = this;
11
11
  let message;
12
- switch (options?.code) {
12
+ switch (options === null || options === void 0 ? void 0 : options.code) {
13
13
  case 'INVALID_TIMEZONE_NAME':
14
14
  message = `Invalid timezone: ${options.name}!`;
15
15
  break;
@@ -2,7 +2,7 @@ import { default as SchemaEntity } from '@sprucelabs/schema';
2
2
  import * as SpruceSchema from '@sprucelabs/schema';
3
3
  export declare namespace SpruceErrors.CalendarUtils {
4
4
  interface InvalidTimezoneName {
5
- name: string;
5
+ 'name': string;
6
6
  }
7
7
  interface InvalidTimezoneNameSchema extends SpruceSchema.Schema {
8
8
  id: 'invalidTimezoneName';
@@ -11,7 +11,7 @@ export declare namespace SpruceErrors.CalendarUtils {
11
11
  moduleToImportFromWhenRemote: '@sprucelabs/calendar-utils';
12
12
  fields: {
13
13
  /** . */
14
- name: {
14
+ 'name': {
15
15
  type: 'text';
16
16
  isRequired: true;
17
17
  options: undefined;
@@ -1,5 +1,5 @@
1
- import { ErrorOptions as ISpruceErrorOptions } from '@sprucelabs/error';
2
- import { SpruceErrors } from './errors.types';
1
+ import { SpruceErrors } from "./errors.types";
2
+ import { ErrorOptions as ISpruceErrorOptions } from "@sprucelabs/error";
3
3
  export interface InvalidTimezoneNameErrorOptions extends SpruceErrors.CalendarUtils.InvalidTimezoneName, ISpruceErrorOptions {
4
4
  code: 'INVALID_TIMEZONE_NAME';
5
5
  }
@@ -1,8 +1,8 @@
1
1
  import { SchemaRegistry } from '@sprucelabs/schema';
2
+ import eventSourceSchema_v2021_09_13 from './../../spruceEventUtils/v2021_09_13/eventSource.schema.js';
2
3
  import calendarEventTargetSchema_v2021_05_19 from './calendarEventTarget.schema.js';
3
- import eventExclusionDateSchema_v2021_05_19 from './eventExclusionDate.schema.js';
4
4
  import eventTimeBlockSchema_v2021_05_19 from './eventTimeBlock.schema.js';
5
- import eventSourceSchema_v2021_09_13 from './../../spruceEventUtils/v2021_09_13/eventSource.schema.js';
5
+ import eventExclusionDateSchema_v2021_05_19 from './eventExclusionDate.schema.js';
6
6
  const calendarEventSchema = {
7
7
  id: 'calendarEvent',
8
8
  version: 'v2021_05_19',
@@ -11,206 +11,144 @@ const calendarEventSchema = {
11
11
  moduleToImportFromWhenRemote: '@sprucelabs/calendar-utils',
12
12
  fields: {
13
13
  /** . */
14
- id: {
14
+ 'id': {
15
15
  type: 'id',
16
16
  isRequired: true,
17
- options: undefined,
17
+ options: undefined
18
18
  },
19
19
  /** . */
20
- source: {
20
+ 'source': {
21
21
  type: 'schema',
22
22
  isRequired: true,
23
- options: { schema: eventSourceSchema_v2021_09_13 },
23
+ options: { schema: eventSourceSchema_v2021_09_13, }
24
24
  },
25
25
  /** . */
26
- target: {
26
+ 'target': {
27
27
  type: 'schema',
28
28
  isRequired: true,
29
- options: { schema: calendarEventTargetSchema_v2021_05_19 },
29
+ options: { schema: calendarEventTargetSchema_v2021_05_19, }
30
30
  },
31
31
  /** . */
32
- calendarId: {
32
+ 'calendarId': {
33
33
  type: 'id',
34
34
  isRequired: true,
35
- options: undefined,
35
+ options: undefined
36
36
  },
37
37
  /** . */
38
- eventTypeSlug: {
38
+ 'eventTypeSlug': {
39
39
  type: 'text',
40
- options: undefined,
40
+ options: undefined
41
41
  },
42
42
  /** . */
43
- startDateTimeMs: {
43
+ 'startDateTimeMs': {
44
44
  type: 'dateTime',
45
45
  isRequired: true,
46
- options: undefined,
46
+ options: undefined
47
47
  },
48
48
  /** . */
49
- isBusy: {
49
+ 'isBusy': {
50
50
  type: 'boolean',
51
- options: undefined,
51
+ options: undefined
52
52
  },
53
53
  /** . */
54
- isResizeable: {
54
+ 'isResizeable': {
55
55
  type: 'boolean',
56
- options: undefined,
56
+ options: undefined
57
57
  },
58
58
  /** . */
59
- style: {
59
+ 'style': {
60
60
  type: 'select',
61
- options: {
62
- choices: [
63
- { value: 'draft', label: 'Draft' },
64
- { value: 'tentative', label: 'Tentative' },
65
- { value: 'upcoming', label: 'Upcoming' },
66
- { value: 'unavailable', label: 'Unavailable' },
67
- { value: 'blocked', label: 'Blocked' },
68
- { value: 'active', label: 'Active' },
69
- { value: 'past', label: 'Past' },
70
- { value: 'warn', label: 'Warning' },
71
- { value: 'critical', label: 'Critical' },
72
- ],
73
- },
74
- },
75
- /** . */
76
- groupId: {
61
+ options: { choices: [{ "value": "draft", "label": "Draft" }, { "value": "tentative", "label": "Tentative" }, { "value": "upcoming", "label": "Upcoming" }, { "value": "unavailable", "label": "Unavailable" }, { "value": "blocked", "label": "Blocked" }, { "value": "active", "label": "Active" }, { "value": "past", "label": "Past" }, { "value": "warn", "label": "Warning" }, { "value": "critical", "label": "Critical" }], }
62
+ },
63
+ /** . */
64
+ 'groupId': {
77
65
  type: 'id',
78
- options: undefined,
66
+ options: undefined
79
67
  },
80
68
  /** . */
81
- timeBlocks: {
69
+ 'timeBlocks': {
82
70
  type: 'schema',
83
71
  isRequired: true,
84
72
  isArray: true,
85
73
  minArrayLength: 1,
86
- options: { schema: eventTimeBlockSchema_v2021_05_19 },
74
+ options: { schema: eventTimeBlockSchema_v2021_05_19, }
87
75
  },
88
76
  /** . */
89
- repeats: {
77
+ 'repeats': {
90
78
  type: 'select',
91
- options: {
92
- choices: [
93
- { value: 'weekly', label: 'Weekly' },
94
- { value: 'monthly', label: 'Monthly' },
95
- { value: 'daily', label: 'Daily' },
96
- ],
97
- },
79
+ options: { choices: [{ "value": "weekly", "label": "Weekly" }, { "value": "monthly", "label": "Monthly" }, { "value": "daily", "label": "Daily" }], }
98
80
  },
99
81
  /** . */
100
- daysOfWeek: {
82
+ 'daysOfWeek': {
101
83
  type: 'select',
102
84
  isArray: true,
103
- options: {
104
- choices: [
105
- { value: 'sun', label: 'Sunday' },
106
- { value: 'mon', label: 'Monday' },
107
- { value: 'tue', label: 'Tuesday' },
108
- { value: 'wed', label: 'Wednesday' },
109
- { value: 'thur', label: 'Thursday' },
110
- { value: 'fri', label: 'Friday' },
111
- { value: 'sat', label: 'Saturday' },
112
- ],
113
- },
114
- },
115
- /** . */
116
- daysOfMonth: {
85
+ options: { choices: [{ "value": "sun", "label": "Sunday" }, { "value": "mon", "label": "Monday" }, { "value": "tue", "label": "Tuesday" }, { "value": "wed", "label": "Wednesday" }, { "value": "thur", "label": "Thursday" }, { "value": "fri", "label": "Friday" }, { "value": "sat", "label": "Saturday" }], }
86
+ },
87
+ /** . */
88
+ 'daysOfMonth': {
117
89
  type: 'select',
118
90
  isArray: true,
119
- options: {
120
- choices: [
121
- { value: '1', label: '1' },
122
- { value: '2', label: '2' },
123
- { value: '3', label: '3' },
124
- { value: '4', label: '4' },
125
- { value: '5', label: '5' },
126
- { value: '6', label: '6' },
127
- { value: '7', label: '7' },
128
- { value: '8', label: '8' },
129
- { value: '9', label: '9' },
130
- { value: '10', label: '10' },
131
- { value: '11', label: '11' },
132
- { value: '12', label: '12' },
133
- { value: '13', label: '13' },
134
- { value: '14', label: '14' },
135
- { value: '15', label: '15' },
136
- { value: '16', label: '16' },
137
- { value: '17', label: '17' },
138
- { value: '18', label: '18' },
139
- { value: '19', label: '19' },
140
- { value: '20', label: '20' },
141
- { value: '21', label: '21' },
142
- { value: '22', label: '22' },
143
- { value: '23', label: '23' },
144
- { value: '24', label: '24' },
145
- { value: '25', label: '25' },
146
- { value: '26', label: '26' },
147
- { value: '27', label: '27' },
148
- { value: '28', label: '28' },
149
- { value: '29', label: '29' },
150
- { value: '30', label: '30' },
151
- { value: '31', label: '31' },
152
- ],
153
- },
154
- },
155
- /** . */
156
- repeatsUntil: {
91
+ options: { choices: [{ "value": "1", "label": "1" }, { "value": "2", "label": "2" }, { "value": "3", "label": "3" }, { "value": "4", "label": "4" }, { "value": "5", "label": "5" }, { "value": "6", "label": "6" }, { "value": "7", "label": "7" }, { "value": "8", "label": "8" }, { "value": "9", "label": "9" }, { "value": "10", "label": "10" }, { "value": "11", "label": "11" }, { "value": "12", "label": "12" }, { "value": "13", "label": "13" }, { "value": "14", "label": "14" }, { "value": "15", "label": "15" }, { "value": "16", "label": "16" }, { "value": "17", "label": "17" }, { "value": "18", "label": "18" }, { "value": "19", "label": "19" }, { "value": "20", "label": "20" }, { "value": "21", "label": "21" }, { "value": "22", "label": "22" }, { "value": "23", "label": "23" }, { "value": "24", "label": "24" }, { "value": "25", "label": "25" }, { "value": "26", "label": "26" }, { "value": "27", "label": "27" }, { "value": "28", "label": "28" }, { "value": "29", "label": "29" }, { "value": "30", "label": "30" }, { "value": "31", "label": "31" }], }
92
+ },
93
+ /** . */
94
+ 'repeatsUntil': {
157
95
  type: 'dateTime',
158
- options: undefined,
96
+ options: undefined
159
97
  },
160
98
  /** . */
161
- occurrences: {
99
+ 'occurrences': {
162
100
  type: 'number',
163
- options: undefined,
101
+ options: undefined
164
102
  },
165
103
  /** . */
166
- interval: {
104
+ 'interval': {
167
105
  type: 'number',
168
- options: undefined,
106
+ options: undefined
169
107
  },
170
108
  /** . */
171
- nthOccurrences: {
109
+ 'nthOccurrences': {
172
110
  type: 'number',
173
111
  isArray: true,
174
- options: undefined,
112
+ options: undefined
175
113
  },
176
114
  /** . */
177
- activeUntilDate: {
115
+ 'activeUntilDate': {
178
116
  type: 'dateTime',
179
- options: undefined,
117
+ options: undefined
180
118
  },
181
119
  /** . */
182
- exclusionDates: {
120
+ 'exclusionDates': {
183
121
  type: 'schema',
184
122
  isArray: true,
185
- options: { schema: eventExclusionDateSchema_v2021_05_19 },
123
+ options: { schema: eventExclusionDateSchema_v2021_05_19, }
186
124
  },
187
125
  /** . */
188
- dateDeleted: {
126
+ 'dateDeleted': {
189
127
  type: 'dateTime',
190
- options: undefined,
128
+ options: undefined
191
129
  },
192
130
  /** . */
193
- dateCreated: {
131
+ 'dateCreated': {
194
132
  type: 'dateTime',
195
133
  isRequired: true,
196
- options: undefined,
134
+ options: undefined
197
135
  },
198
136
  /** . */
199
- nthInRepeating: {
137
+ 'nthInRepeating': {
200
138
  type: 'number',
201
- options: undefined,
139
+ options: undefined
202
140
  },
203
141
  /** . */
204
- totalInRepeating: {
142
+ 'totalInRepeating': {
205
143
  type: 'number',
206
- options: undefined,
144
+ options: undefined
207
145
  },
208
146
  /** . */
209
- meta: {
147
+ 'meta': {
210
148
  type: 'raw',
211
- options: { valueType: `Record<string, any>` },
149
+ options: { valueType: `Record<string, any>`, }
212
150
  },
213
- },
151
+ }
214
152
  };
215
153
  SchemaRegistry.getInstance().trackSchema(calendarEventSchema);
216
154
  export default calendarEventSchema;
@@ -7,187 +7,17 @@ const calendarEventLineIconSchema = {
7
7
  moduleToImportFromWhenRemote: '@sprucelabs/calendar-utils',
8
8
  fields: {
9
9
  /** . */
10
- icon: {
10
+ 'icon': {
11
11
  type: 'select',
12
12
  isRequired: true,
13
- options: {
14
- choices: [
15
- { value: 'sprucebot', label: 'sprucebot' },
16
- { value: 'add-circle', label: 'add-circle' },
17
- { value: 'chevron-left', label: 'chevron-left' },
18
- { value: 'document-text', label: 'document-text' },
19
- { value: 'link-angle', label: 'link-angle' },
20
- { value: 'play-circle', label: 'play-circle' },
21
- { value: 'star', label: 'star' },
22
- { value: 'add-square', label: 'add-square' },
23
- { value: 'chevron-right', label: 'chevron-right' },
24
- { value: 'download-cloud', label: 'download-cloud' },
25
- { value: 'link-flat', label: 'link-flat' },
26
- { value: 'present', label: 'present' },
27
- { value: 'sun', label: 'sun' },
28
- { value: 'add', label: 'add' },
29
- { value: 'chevron-up', label: 'chevron-up' },
30
- { value: 'download', label: 'download' },
31
- { value: 'loader', label: 'loader' },
32
- { value: 'refresh-circle', label: 'refresh-circle' },
33
- { value: 'tag', label: 'tag' },
34
- { value: 'alarm', label: 'alarm' },
35
- { value: 'clipboard', label: 'clipboard' },
36
- { value: 'edit-box', label: 'edit-box' },
37
- { value: 'location-pin', label: 'location-pin' },
38
- { value: 'refresh', label: 'refresh' },
39
- { value: 'time', label: 'time' },
40
- { value: 'arrow-back', label: 'arrow-back' },
41
- { value: 'clock', label: 'clock' },
42
- { value: 'edit-line', label: 'edit-line' },
43
- { value: 'lock', label: 'lock' },
44
- { value: 'repeat', label: 'repeat' },
45
- { value: 'tool', label: 'tool' },
46
- {
47
- value: 'arrow-down-circle',
48
- label: 'arrow-down-circle',
49
- },
50
- { value: 'close-circle', label: 'close-circle' },
51
- { value: 'email', label: 'email' },
52
- { value: 'map', label: 'map' },
53
- { value: 'restricted', label: 'restricted' },
54
- { value: 'trending-down', label: 'trending-down' },
55
- { value: 'arrow-down', label: 'arrow-down' },
56
- { value: 'close-square', label: 'close-square' },
57
- { value: 'emoji-happy', label: 'emoji-happy' },
58
- { value: 'message-circle', label: 'message-circle' },
59
- { value: 'rotate', label: 'rotate' },
60
- { value: 'trending-up', label: 'trending-up' },
61
- { value: 'arrow-next', label: 'arrow-next' },
62
- { value: 'close', label: 'close' },
63
- { value: 'emoji-sad', label: 'emoji-sad' },
64
- { value: 'message-square', label: 'message-square' },
65
- { value: 'search-no', label: 'search-no' },
66
- { value: 'triangle', label: 'triangle' },
67
- { value: 'arrow-up-circle', label: 'arrow-up-circle' },
68
- { value: 'code', label: 'code' },
69
- { value: 'external-link', label: 'external-link' },
70
- { value: 'mic-off', label: 'mic-off' },
71
- { value: 'search', label: 'search' },
72
- { value: 'unlock', label: 'unlock' },
73
- { value: 'arrow-up', label: 'arrow-up' },
74
- { value: 'coffee', label: 'coffee' },
75
- { value: 'fav-heart', label: 'fav-heart' },
76
- { value: 'mic-on', label: 'mic-on' },
77
- {
78
- value: 'selector-checked',
79
- label: 'selector-checked',
80
- },
81
- { value: 'upload-cloud', label: 'upload-cloud' },
82
- { value: 'attachment', label: 'attachment' },
83
- { value: 'command', label: 'command' },
84
- { value: 'flag', label: 'flag' },
85
- { value: 'minus-circle', label: 'minus-circle' },
86
- {
87
- value: 'selector-circle-filled',
88
- label: 'selector-circle-filled',
89
- },
90
- { value: 'upload', label: 'upload' },
91
- { value: 'award-badge', label: 'award-badge' },
92
- {
93
- value: 'corner-down-left',
94
- label: 'corner-down-left',
95
- },
96
- { value: 'flip-01', label: 'flip-01' },
97
- { value: 'minus-square', label: 'minus-square' },
98
- { value: 'selector-circle', label: 'selector-circle' },
99
- { value: 'user-add', label: 'user-add' },
100
- { value: 'binoculars', label: 'binoculars' },
101
- {
102
- value: 'corner-down-right',
103
- label: 'corner-down-right',
104
- },
105
- { value: 'flip-02', label: 'flip-02' },
106
- { value: 'money-sign', label: 'money-sign' },
107
- { value: 'send', label: 'send' },
108
- { value: 'user-delete', label: 'user-delete' },
109
- { value: 'bolt', label: 'bolt' },
110
- {
111
- value: 'corner-left-down',
112
- label: 'corner-left-down',
113
- },
114
- { value: 'folder', label: 'folder' },
115
- { value: 'more-horizontal', label: 'more-horizontal' },
116
- { value: 'settings-filled', label: 'settings-filled' },
117
- { value: 'user', label: 'user' },
118
- { value: 'book-open', label: 'book-open' },
119
- { value: 'corner-left-up', label: 'corner-left-up' },
120
- { value: 'globe', label: 'globe' },
121
- { value: 'more-vertical', label: 'more-vertical' },
122
- { value: 'settings', label: 'settings' },
123
- { value: 'users', label: 'users' },
124
- { value: 'book', label: 'book' },
125
- {
126
- value: 'corner-right-down',
127
- label: 'corner-right-down',
128
- },
129
- { value: 'hash-tag', label: 'hash-tag' },
130
- {
131
- value: 'notification-off',
132
- label: 'notification-off',
133
- },
134
- { value: 'share', label: 'share' },
135
- { value: 'video-off', label: 'video-off' },
136
- { value: 'bookmark', label: 'bookmark' },
137
- { value: 'corner-right-up', label: 'corner-right-up' },
138
- { value: 'headphones', label: 'headphones' },
139
- { value: 'notification-on', label: 'notification-on' },
140
- { value: 'shopping-bag', label: 'shopping-bag' },
141
- { value: 'video', label: 'video' },
142
- { value: 'calendar-add', label: 'calendar-add' },
143
- { value: 'corner-up-left', label: 'corner-up-left' },
144
- { value: 'help-buoy', label: 'help-buoy' },
145
- { value: 'object', label: 'object' },
146
- { value: 'shopping-cart', label: 'shopping-cart' },
147
- { value: 'warning', label: 'warning' },
148
- { value: 'calendar', label: 'calendar' },
149
- { value: 'corner-up-right', label: 'corner-up-right' },
150
- { value: 'help-circle', label: 'help-circle' },
151
- { value: 'pause-circle', label: 'pause-circle' },
152
- {
153
- value: 'sort-filter-down',
154
- label: 'sort-filter-down',
155
- },
156
- { value: 'wifi', label: 'wifi' },
157
- { value: 'camera', label: 'camera' },
158
- { value: 'crop', label: 'crop' },
159
- { value: 'home', label: 'home' },
160
- {
161
- value: 'phone-unavailable',
162
- label: 'phone-unavailable',
163
- },
164
- { value: 'sort-filter-up', label: 'sort-filter-up' },
165
- { value: 'zoom-in', label: 'zoom-in' },
166
- { value: 'cellphone', label: 'cellphone' },
167
- { value: 'delete', label: 'delete' },
168
- { value: 'info', label: 'info' },
169
- { value: 'phone', label: 'phone' },
170
- { value: 'sound-off', label: 'sound-off' },
171
- { value: 'zoom-out', label: 'zoom-out' },
172
- { value: 'checkmark', label: 'checkmark' },
173
- { value: 'document-blank', label: 'document-blank' },
174
- { value: 'jump', label: 'jump' },
175
- { value: 'photo', label: 'photo' },
176
- { value: 'sound-on', label: 'sound-on' },
177
- { value: 'chevron-down', label: 'chevron-down' },
178
- { value: 'document-new', label: 'document-new' },
179
- { value: 'layers', label: 'layers' },
180
- { value: 'picked', label: 'picked' },
181
- { value: 'star-filled', label: 'star-filled' },
182
- ],
183
- },
13
+ options: { choices: [{ "value": "sprucebot", "label": "sprucebot" }, { "value": "add-circle", "label": "add-circle" }, { "value": "chevron-left", "label": "chevron-left" }, { "value": "document-text", "label": "document-text" }, { "value": "link-angle", "label": "link-angle" }, { "value": "play-circle", "label": "play-circle" }, { "value": "star", "label": "star" }, { "value": "add-square", "label": "add-square" }, { "value": "chevron-right", "label": "chevron-right" }, { "value": "download-cloud", "label": "download-cloud" }, { "value": "link-flat", "label": "link-flat" }, { "value": "present", "label": "present" }, { "value": "sun", "label": "sun" }, { "value": "add", "label": "add" }, { "value": "chevron-up", "label": "chevron-up" }, { "value": "download", "label": "download" }, { "value": "loader", "label": "loader" }, { "value": "refresh-circle", "label": "refresh-circle" }, { "value": "tag", "label": "tag" }, { "value": "alarm", "label": "alarm" }, { "value": "clipboard", "label": "clipboard" }, { "value": "edit-box", "label": "edit-box" }, { "value": "location-pin", "label": "location-pin" }, { "value": "refresh", "label": "refresh" }, { "value": "time", "label": "time" }, { "value": "arrow-back", "label": "arrow-back" }, { "value": "clock", "label": "clock" }, { "value": "edit-line", "label": "edit-line" }, { "value": "lock", "label": "lock" }, { "value": "repeat", "label": "repeat" }, { "value": "tool", "label": "tool" }, { "value": "arrow-down-circle", "label": "arrow-down-circle" }, { "value": "close-circle", "label": "close-circle" }, { "value": "email", "label": "email" }, { "value": "map", "label": "map" }, { "value": "restricted", "label": "restricted" }, { "value": "trending-down", "label": "trending-down" }, { "value": "arrow-down", "label": "arrow-down" }, { "value": "close-square", "label": "close-square" }, { "value": "emoji-happy", "label": "emoji-happy" }, { "value": "message-circle", "label": "message-circle" }, { "value": "rotate", "label": "rotate" }, { "value": "trending-up", "label": "trending-up" }, { "value": "arrow-next", "label": "arrow-next" }, { "value": "close", "label": "close" }, { "value": "emoji-sad", "label": "emoji-sad" }, { "value": "message-square", "label": "message-square" }, { "value": "search-no", "label": "search-no" }, { "value": "triangle", "label": "triangle" }, { "value": "arrow-up-circle", "label": "arrow-up-circle" }, { "value": "code", "label": "code" }, { "value": "external-link", "label": "external-link" }, { "value": "mic-off", "label": "mic-off" }, { "value": "search", "label": "search" }, { "value": "unlock", "label": "unlock" }, { "value": "arrow-up", "label": "arrow-up" }, { "value": "coffee", "label": "coffee" }, { "value": "fav-heart", "label": "fav-heart" }, { "value": "mic-on", "label": "mic-on" }, { "value": "selector-checked", "label": "selector-checked" }, { "value": "upload-cloud", "label": "upload-cloud" }, { "value": "attachment", "label": "attachment" }, { "value": "command", "label": "command" }, { "value": "flag", "label": "flag" }, { "value": "minus-circle", "label": "minus-circle" }, { "value": "selector-circle-filled", "label": "selector-circle-filled" }, { "value": "upload", "label": "upload" }, { "value": "award-badge", "label": "award-badge" }, { "value": "corner-down-left", "label": "corner-down-left" }, { "value": "flip-01", "label": "flip-01" }, { "value": "minus-square", "label": "minus-square" }, { "value": "selector-circle", "label": "selector-circle" }, { "value": "user-add", "label": "user-add" }, { "value": "binoculars", "label": "binoculars" }, { "value": "corner-down-right", "label": "corner-down-right" }, { "value": "flip-02", "label": "flip-02" }, { "value": "money-sign", "label": "money-sign" }, { "value": "send", "label": "send" }, { "value": "user-delete", "label": "user-delete" }, { "value": "bolt", "label": "bolt" }, { "value": "corner-left-down", "label": "corner-left-down" }, { "value": "folder", "label": "folder" }, { "value": "more-horizontal", "label": "more-horizontal" }, { "value": "settings-filled", "label": "settings-filled" }, { "value": "user", "label": "user" }, { "value": "book-open", "label": "book-open" }, { "value": "corner-left-up", "label": "corner-left-up" }, { "value": "globe", "label": "globe" }, { "value": "more-vertical", "label": "more-vertical" }, { "value": "settings", "label": "settings" }, { "value": "users", "label": "users" }, { "value": "book", "label": "book" }, { "value": "corner-right-down", "label": "corner-right-down" }, { "value": "hash-tag", "label": "hash-tag" }, { "value": "notification-off", "label": "notification-off" }, { "value": "share", "label": "share" }, { "value": "video-off", "label": "video-off" }, { "value": "bookmark", "label": "bookmark" }, { "value": "corner-right-up", "label": "corner-right-up" }, { "value": "headphones", "label": "headphones" }, { "value": "notification-on", "label": "notification-on" }, { "value": "shopping-bag", "label": "shopping-bag" }, { "value": "video", "label": "video" }, { "value": "calendar-add", "label": "calendar-add" }, { "value": "corner-up-left", "label": "corner-up-left" }, { "value": "help-buoy", "label": "help-buoy" }, { "value": "object", "label": "object" }, { "value": "shopping-cart", "label": "shopping-cart" }, { "value": "warning", "label": "warning" }, { "value": "calendar", "label": "calendar" }, { "value": "corner-up-right", "label": "corner-up-right" }, { "value": "help-circle", "label": "help-circle" }, { "value": "pause-circle", "label": "pause-circle" }, { "value": "sort-filter-down", "label": "sort-filter-down" }, { "value": "wifi", "label": "wifi" }, { "value": "camera", "label": "camera" }, { "value": "crop", "label": "crop" }, { "value": "home", "label": "home" }, { "value": "phone-unavailable", "label": "phone-unavailable" }, { "value": "sort-filter-up", "label": "sort-filter-up" }, { "value": "zoom-in", "label": "zoom-in" }, { "value": "cellphone", "label": "cellphone" }, { "value": "delete", "label": "delete" }, { "value": "info", "label": "info" }, { "value": "phone", "label": "phone" }, { "value": "sound-off", "label": "sound-off" }, { "value": "zoom-out", "label": "zoom-out" }, { "value": "checkmark", "label": "checkmark" }, { "value": "document-blank", "label": "document-blank" }, { "value": "jump", "label": "jump" }, { "value": "photo", "label": "photo" }, { "value": "sound-on", "label": "sound-on" }, { "value": "chevron-down", "label": "chevron-down" }, { "value": "document-new", "label": "document-new" }, { "value": "layers", "label": "layers" }, { "value": "picked", "label": "picked" }, { "value": "star-filled", "label": "star-filled" }], }
184
14
  },
185
15
  /** . */
186
- hint: {
16
+ 'hint': {
187
17
  type: 'text',
188
- options: undefined,
18
+ options: undefined
189
19
  },
190
- },
20
+ }
191
21
  };
192
22
  SchemaRegistry.getInstance().trackSchema(calendarEventLineIconSchema);
193
23
  export default calendarEventLineIconSchema;
@@ -7,32 +7,32 @@ const calendarEventTargetSchema = {
7
7
  moduleToImportFromWhenRemote: '@sprucelabs/calendar-utils',
8
8
  fields: {
9
9
  /** . */
10
- locationId: {
10
+ 'locationId': {
11
11
  type: 'id',
12
- options: undefined,
12
+ options: undefined
13
13
  },
14
14
  /** . */
15
- personId: {
15
+ 'personId': {
16
16
  type: 'id',
17
17
  isRequired: true,
18
- options: undefined,
18
+ options: undefined
19
19
  },
20
20
  /** . */
21
- organizationId: {
21
+ 'organizationId': {
22
22
  type: 'id',
23
- options: undefined,
23
+ options: undefined
24
24
  },
25
25
  /** . */
26
- skillId: {
26
+ 'skillId': {
27
27
  type: 'id',
28
- options: undefined,
28
+ options: undefined
29
29
  },
30
30
  /** . */
31
- roleId: {
31
+ 'roleId': {
32
32
  type: 'id',
33
- options: undefined,
33
+ options: undefined
34
34
  },
35
- },
35
+ }
36
36
  };
37
37
  SchemaRegistry.getInstance().trackSchema(calendarEventTargetSchema);
38
38
  export default calendarEventTargetSchema;
@@ -7,24 +7,24 @@ const eventExclusionDateSchema = {
7
7
  moduleToImportFromWhenRemote: '@sprucelabs/calendar-utils',
8
8
  fields: {
9
9
  /** . */
10
- year: {
10
+ 'year': {
11
11
  type: 'number',
12
12
  isRequired: true,
13
- options: undefined,
13
+ options: undefined
14
14
  },
15
15
  /** . */
16
- month: {
16
+ 'month': {
17
17
  type: 'number',
18
18
  isRequired: true,
19
- options: undefined,
19
+ options: undefined
20
20
  },
21
21
  /** . */
22
- day: {
22
+ 'day': {
23
23
  type: 'number',
24
24
  isRequired: true,
25
- options: undefined,
25
+ options: undefined
26
26
  },
27
- },
27
+ }
28
28
  };
29
29
  SchemaRegistry.getInstance().trackSchema(eventExclusionDateSchema);
30
30
  export default eventExclusionDateSchema;