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