@elliemae/ds-date-time-recurrence-picker 2.3.1 → 3.0.0-alpha.3
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.
- package/dist/cjs/DSDateTimeRecurrenceSelector.js +230 -0
- package/dist/cjs/DSDateTimeRecurrenceSelector.js.map +7 -0
- package/dist/cjs/components/AlertModal/DateTimeRangeModal.js +88 -0
- package/dist/cjs/components/AlertModal/DateTimeRangeModal.js.map +7 -0
- package/dist/cjs/components/CustomOptionRender/CustomOptionRender.js +86 -0
- package/dist/cjs/components/CustomOptionRender/CustomOptionRender.js.map +7 -0
- package/dist/cjs/components/DateTimeRangeModal/DateTimeRangeModal.js +134 -0
- package/dist/cjs/components/DateTimeRangeModal/DateTimeRangeModal.js.map +7 -0
- package/dist/cjs/components/DateTimeRangeModalImpl/DateTimeRangeModalImpl.js +283 -0
- package/dist/cjs/components/DateTimeRangeModalImpl/DateTimeRangeModalImpl.js.map +7 -0
- package/dist/cjs/components/DateTimeRecurenceSelectorImpl.js +261 -0
- package/dist/cjs/components/DateTimeRecurenceSelectorImpl.js.map +7 -0
- package/dist/cjs/components/DayOfMonthPicker/DayOfMonthPicker.js +87 -0
- package/dist/cjs/components/DayOfMonthPicker/DayOfMonthPicker.js.map +7 -0
- package/dist/cjs/components/DayOfYearPicker/DayOfYearPicker.js +83 -0
- package/dist/cjs/components/DayOfYearPicker/DayOfYearPicker.js.map +7 -0
- package/dist/cjs/components/DaysOfWeekPicker/DaysOfWeekPicker.js +78 -0
- package/dist/cjs/components/DaysOfWeekPicker/DaysOfWeekPicker.js.map +7 -0
- package/dist/cjs/components/EndDate/EndDate.js +69 -0
- package/dist/cjs/components/EndDate/EndDate.js.map +7 -0
- package/dist/cjs/components/FieldWrapper/FieldWrapper.js +43 -0
- package/dist/cjs/components/FieldWrapper/FieldWrapper.js.map +7 -0
- package/dist/cjs/components/Forms/FormField.js +36 -0
- package/dist/cjs/components/Forms/FormField.js.map +7 -0
- package/dist/cjs/components/Forms/FormFieldGroup.js +36 -0
- package/dist/cjs/components/Forms/FormFieldGroup.js.map +7 -0
- package/dist/cjs/components/Forms/FormGroup.js +36 -0
- package/dist/cjs/components/Forms/FormGroup.js.map +7 -0
- package/dist/cjs/components/Forms/FormLabel.js +36 -0
- package/dist/cjs/components/Forms/FormLabel.js.map +7 -0
- package/dist/cjs/components/LabelWrapper/LabelWrapper.js +43 -0
- package/dist/cjs/components/LabelWrapper/LabelWrapper.js.map +7 -0
- package/dist/cjs/components/RepeatPickerInput/RepeatPickerInput.js +99 -0
- package/dist/cjs/components/RepeatPickerInput/RepeatPickerInput.js.map +7 -0
- package/dist/cjs/components/StartDateTime/StartDateTime.js +60 -0
- package/dist/cjs/components/StartDateTime/StartDateTime.js.map +7 -0
- package/dist/cjs/components/TimeZonePicker/TimeZonePicker.js +62 -0
- package/dist/cjs/components/TimeZonePicker/TimeZonePicker.js.map +7 -0
- package/dist/cjs/components/ValidationMessage/ValidationMessage.js +41 -0
- package/dist/cjs/components/ValidationMessage/ValidationMessage.js.map +7 -0
- package/dist/cjs/components/helpers/nthday.js +62 -0
- package/dist/cjs/components/helpers/nthday.js.map +7 -0
- package/dist/cjs/index.js +36 -0
- package/dist/cjs/index.js.map +7 -0
- package/dist/cjs/options/dropdownDayOfMonthOptions.js +44 -0
- package/dist/cjs/options/dropdownDayOfMonthOptions.js.map +7 -0
- package/dist/cjs/options/dropdownDayOfWeekOptions.js +64 -0
- package/dist/cjs/options/dropdownDayOfWeekOptions.js.map +7 -0
- package/dist/cjs/options/dropdownDayOfYearOptions.js +44 -0
- package/dist/cjs/options/dropdownDayOfYearOptions.js.map +7 -0
- package/dist/cjs/options/dropdownPreselectedOptions.js +59 -0
- package/dist/cjs/options/dropdownPreselectedOptions.js.map +7 -0
- package/dist/cjs/options/dropdownRepeatOptions.js +59 -0
- package/dist/cjs/options/dropdownRepeatOptions.js.map +7 -0
- package/dist/cjs/options/dropdownTimeZoneOptions.js +69 -0
- package/dist/cjs/options/dropdownTimeZoneOptions.js.map +7 -0
- package/dist/cjs/options/endTypesOptions.js +77 -0
- package/dist/cjs/options/endTypesOptions.js.map +7 -0
- package/dist/esm/DSDateTimeRecurrenceSelector.js +210 -0
- package/dist/esm/DSDateTimeRecurrenceSelector.js.map +7 -0
- package/dist/esm/components/AlertModal/DateTimeRangeModal.js +59 -0
- package/dist/esm/components/AlertModal/DateTimeRangeModal.js.map +7 -0
- package/dist/esm/components/CustomOptionRender/CustomOptionRender.js +57 -0
- package/dist/esm/components/CustomOptionRender/CustomOptionRender.js.map +7 -0
- package/dist/esm/components/DateTimeRangeModal/DateTimeRangeModal.js +105 -0
- package/dist/esm/components/DateTimeRangeModal/DateTimeRangeModal.js.map +7 -0
- package/dist/esm/components/DateTimeRangeModalImpl/DateTimeRangeModalImpl.js +256 -0
- package/dist/esm/components/DateTimeRangeModalImpl/DateTimeRangeModalImpl.js.map +7 -0
- package/dist/esm/components/DateTimeRecurenceSelectorImpl.js +234 -0
- package/dist/esm/components/DateTimeRecurenceSelectorImpl.js.map +7 -0
- package/dist/esm/components/DayOfMonthPicker/DayOfMonthPicker.js +58 -0
- package/dist/esm/components/DayOfMonthPicker/DayOfMonthPicker.js.map +7 -0
- package/dist/esm/components/DayOfYearPicker/DayOfYearPicker.js +54 -0
- package/dist/esm/components/DayOfYearPicker/DayOfYearPicker.js.map +7 -0
- package/dist/esm/components/DaysOfWeekPicker/DaysOfWeekPicker.js +49 -0
- package/dist/esm/components/DaysOfWeekPicker/DaysOfWeekPicker.js.map +7 -0
- package/dist/esm/components/EndDate/EndDate.js +40 -0
- package/dist/esm/components/EndDate/EndDate.js.map +7 -0
- package/dist/esm/components/FieldWrapper/FieldWrapper.js +14 -0
- package/dist/esm/components/FieldWrapper/FieldWrapper.js.map +7 -0
- package/dist/esm/components/Forms/FormField.js +7 -0
- package/dist/esm/components/Forms/FormField.js.map +7 -0
- package/dist/esm/components/Forms/FormFieldGroup.js +7 -0
- package/dist/esm/components/Forms/FormFieldGroup.js.map +7 -0
- package/dist/esm/components/Forms/FormGroup.js +7 -0
- package/dist/esm/components/Forms/FormGroup.js.map +7 -0
- package/dist/esm/components/Forms/FormLabel.js +7 -0
- package/dist/esm/components/Forms/FormLabel.js.map +7 -0
- package/dist/esm/components/LabelWrapper/LabelWrapper.js +14 -0
- package/dist/esm/components/LabelWrapper/LabelWrapper.js.map +7 -0
- package/dist/esm/components/RepeatPickerInput/RepeatPickerInput.js +72 -0
- package/dist/esm/components/RepeatPickerInput/RepeatPickerInput.js.map +7 -0
- package/dist/esm/components/StartDateTime/StartDateTime.js +31 -0
- package/dist/esm/components/StartDateTime/StartDateTime.js.map +7 -0
- package/dist/esm/components/TimeZonePicker/TimeZonePicker.js +33 -0
- package/dist/esm/components/TimeZonePicker/TimeZonePicker.js.map +7 -0
- package/dist/esm/components/ValidationMessage/ValidationMessage.js +12 -0
- package/dist/esm/components/ValidationMessage/ValidationMessage.js.map +7 -0
- package/dist/esm/components/helpers/nthday.js +33 -0
- package/dist/esm/components/helpers/nthday.js.map +7 -0
- package/dist/esm/index.js +7 -0
- package/dist/esm/index.js.map +7 -0
- package/dist/esm/options/dropdownDayOfMonthOptions.js +15 -0
- package/dist/esm/options/dropdownDayOfMonthOptions.js.map +7 -0
- package/dist/esm/options/dropdownDayOfWeekOptions.js +35 -0
- package/dist/esm/options/dropdownDayOfWeekOptions.js.map +7 -0
- package/dist/esm/options/dropdownDayOfYearOptions.js +15 -0
- package/dist/esm/options/dropdownDayOfYearOptions.js.map +7 -0
- package/dist/esm/options/dropdownPreselectedOptions.js +30 -0
- package/dist/esm/options/dropdownPreselectedOptions.js.map +7 -0
- package/dist/esm/options/dropdownRepeatOptions.js +30 -0
- package/dist/esm/options/dropdownRepeatOptions.js.map +7 -0
- package/dist/esm/options/dropdownTimeZoneOptions.js +40 -0
- package/dist/esm/options/dropdownTimeZoneOptions.js.map +7 -0
- package/dist/esm/options/endTypesOptions.js +48 -0
- package/dist/esm/options/endTypesOptions.js.map +7 -0
- package/package.json +86 -77
- package/cjs/DSDateTimeRecurrenceSelector.js +0 -199
- package/cjs/__test__/DSDateTimeRecurrenceSelector.test.js +0 -30
- package/cjs/components/AlertModal/DateTimeRangeModal.js +0 -67
- package/cjs/components/CustomOptionRender/CustomOptionRender.js +0 -93
- package/cjs/components/DateTimeRangeModal/DateTimeRangeModal.js +0 -122
- package/cjs/components/DateTimeRangeModalImpl/DateTimeRangeModalImpl.js +0 -315
- package/cjs/components/DateTimeRecurenceSelectorImpl.js +0 -284
- package/cjs/components/DayOfMonthPicker/DayOfMonthPicker.js +0 -74
- package/cjs/components/DayOfYearPicker/DayOfYearPicker.js +0 -68
- package/cjs/components/DaysOfWeekPicker/DaysOfWeekPicker.js +0 -68
- package/cjs/components/EndDate/EndDate.js +0 -50
- package/cjs/components/FieldWrapper/FieldWrapper.js +0 -24
- package/cjs/components/Forms/FormField.js +0 -7
- package/cjs/components/Forms/FormFieldGroup.js +0 -7
- package/cjs/components/Forms/FormGroup.js +0 -11
- package/cjs/components/Forms/FormLabel.js +0 -7
- package/cjs/components/LabelWrapper/LabelWrapper.js +0 -24
- package/cjs/components/RepeatPickerInput/RepeatPickerInput.js +0 -69
- package/cjs/components/StartDateTime/StartDateTime.js +0 -42
- package/cjs/components/TimeZonePicker/TimeZonePicker.js +0 -44
- package/cjs/components/ValidationMessage/ValidationMessage.js +0 -24
- package/cjs/components/helpers/nthday.js +0 -13
- package/cjs/index.js +0 -29
- package/cjs/options/dropdownDayOfMonthOptions.js +0 -13
- package/cjs/options/dropdownDayOfWeekOptions.js +0 -28
- package/cjs/options/dropdownDayOfYearOptions.js +0 -13
- package/cjs/options/dropdownPreselectedOptions.js +0 -26
- package/cjs/options/dropdownRepeatOptions.js +0 -26
- package/cjs/options/dropdownTimeZoneOptions.js +0 -34
- package/cjs/options/endTypesOptions.js +0 -39
- package/esm/DSDateTimeRecurrenceSelector.js +0 -185
- package/esm/__test__/DSDateTimeRecurrenceSelector.test.js +0 -24
- package/esm/components/AlertModal/DateTimeRangeModal.js +0 -60
- package/esm/components/CustomOptionRender/CustomOptionRender.js +0 -87
- package/esm/components/DateTimeRangeModal/DateTimeRangeModal.js +0 -114
- package/esm/components/DateTimeRangeModalImpl/DateTimeRangeModalImpl.js +0 -306
- package/esm/components/DateTimeRecurenceSelectorImpl.js +0 -277
- package/esm/components/DayOfMonthPicker/DayOfMonthPicker.js +0 -68
- package/esm/components/DayOfYearPicker/DayOfYearPicker.js +0 -62
- package/esm/components/DaysOfWeekPicker/DaysOfWeekPicker.js +0 -62
- package/esm/components/EndDate/EndDate.js +0 -43
- package/esm/components/FieldWrapper/FieldWrapper.js +0 -18
- package/esm/components/Forms/FormField.js +0 -5
- package/esm/components/Forms/FormFieldGroup.js +0 -5
- package/esm/components/Forms/FormGroup.js +0 -9
- package/esm/components/Forms/FormLabel.js +0 -5
- package/esm/components/LabelWrapper/LabelWrapper.js +0 -18
- package/esm/components/RepeatPickerInput/RepeatPickerInput.js +0 -61
- package/esm/components/StartDateTime/StartDateTime.js +0 -34
- package/esm/components/TimeZonePicker/TimeZonePicker.js +0 -38
- package/esm/components/ValidationMessage/ValidationMessage.js +0 -18
- package/esm/components/helpers/nthday.js +0 -6
- package/esm/index.js +0 -8
- package/esm/options/dropdownDayOfMonthOptions.js +0 -9
- package/esm/options/dropdownDayOfWeekOptions.js +0 -24
- package/esm/options/dropdownDayOfYearOptions.js +0 -9
- package/esm/options/dropdownPreselectedOptions.js +0 -21
- package/esm/options/dropdownRepeatOptions.js +0 -21
- package/esm/options/dropdownTimeZoneOptions.js +0 -29
- package/esm/options/endTypesOptions.js +0 -33
- package/types/DSDateTimeRecurrenceSelector.d.ts +0 -293
- package/types/__test__/DSDateTimeRecurrenceSelector.test.d.ts +0 -1
- package/types/components/AlertModal/DateTimeRangeModal.d.ts +0 -27
- package/types/components/CustomOptionRender/CustomOptionRender.d.ts +0 -53
- package/types/components/DateTimeRangeModal/DateTimeRangeModal.d.ts +0 -9
- package/types/components/DateTimeRangeModalImpl/DateTimeRangeModalImpl.d.ts +0 -18
- package/types/components/DateTimeRecurenceSelectorImpl.d.ts +0 -20
- package/types/components/DayOfMonthPicker/DayOfMonthPicker.d.ts +0 -15
- package/types/components/DayOfYearPicker/DayOfYearPicker.d.ts +0 -15
- package/types/components/DaysOfWeekPicker/DaysOfWeekPicker.d.ts +0 -12
- package/types/components/EndDate/EndDate.d.ts +0 -13
- package/types/components/FieldWrapper/FieldWrapper.d.ts +0 -5
- package/types/components/Forms/FormField.d.ts +0 -3
- package/types/components/Forms/FormFieldGroup.d.ts +0 -3
- package/types/components/Forms/FormGroup.d.ts +0 -6
- package/types/components/Forms/FormLabel.d.ts +0 -3
- package/types/components/LabelWrapper/LabelWrapper.d.ts +0 -5
- package/types/components/RepeatPickerInput/RepeatPickerInput.d.ts +0 -11
- package/types/components/StartDateTime/StartDateTime.d.ts +0 -9
- package/types/components/TimeZonePicker/TimeZonePicker.d.ts +0 -11
- package/types/components/ValidationMessage/ValidationMessage.d.ts +0 -5
- package/types/components/helpers/nthday.d.ts +0 -4
- package/types/index.d.ts +0 -2
- package/types/options/dropdownDayOfMonthOptions.d.ts +0 -4
- package/types/options/dropdownDayOfWeekOptions.d.ts +0 -4
- package/types/options/dropdownDayOfYearOptions.d.ts +0 -4
- package/types/options/dropdownPreselectedOptions.d.ts +0 -10
- package/types/options/dropdownRepeatOptions.d.ts +0 -10
- package/types/options/dropdownTimeZoneOptions.d.ts +0 -12
- package/types/options/endTypesOptions.d.ts +0 -13
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../../../scripts/build/transpile/react-shim.js", "../../../../src/components/LabelWrapper/LabelWrapper.tsx"],
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React from 'react';\nimport { convertPropToCssClassName } from '@elliemae/ds-classnames';\n\nconst { cssClassName } = convertPropToCssClassName('label-wrapper');\n\nfunction LabelWrapper({ children }) {\n return <div className={`${cssClassName}`}>{children}</div>;\n}\n\nexport default LabelWrapper;\n"],
|
|
5
|
+
"mappings": "AAAA;ACAA;AACA;AAEA,MAAM,EAAE,iBAAiB,0BAA0B;AAEnD,sBAAsB,EAAE,YAAY;AAClC,SAAO,qCAAC,OAAD;AAAA,IAAK,WAAW,GAAG;AAAA,KAAiB;AAAA;AAG7C,IAAO,uBAAQ;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
3
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
4
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6
|
+
var __spreadValues = (a, b) => {
|
|
7
|
+
for (var prop in b || (b = {}))
|
|
8
|
+
if (__hasOwnProp.call(b, prop))
|
|
9
|
+
__defNormalProp(a, prop, b[prop]);
|
|
10
|
+
if (__getOwnPropSymbols)
|
|
11
|
+
for (var prop of __getOwnPropSymbols(b)) {
|
|
12
|
+
if (__propIsEnum.call(b, prop))
|
|
13
|
+
__defNormalProp(a, prop, b[prop]);
|
|
14
|
+
}
|
|
15
|
+
return a;
|
|
16
|
+
};
|
|
17
|
+
var __objRest = (source, exclude) => {
|
|
18
|
+
var target = {};
|
|
19
|
+
for (var prop in source)
|
|
20
|
+
if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
21
|
+
target[prop] = source[prop];
|
|
22
|
+
if (source != null && __getOwnPropSymbols)
|
|
23
|
+
for (var prop of __getOwnPropSymbols(source)) {
|
|
24
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
|
|
25
|
+
target[prop] = source[prop];
|
|
26
|
+
}
|
|
27
|
+
return target;
|
|
28
|
+
};
|
|
29
|
+
import * as React from "react";
|
|
30
|
+
import React2, { useState } from "react";
|
|
31
|
+
import { convertPropToCssClassName } from "@elliemae/ds-classnames";
|
|
32
|
+
import { DSTextBox, DSComboBox } from "@elliemae/ds-form";
|
|
33
|
+
import FormGroup from "../Forms/FormGroup";
|
|
34
|
+
import FormLabel from "../Forms/FormLabel";
|
|
35
|
+
import FormFieldGroup from "../Forms/FormFieldGroup";
|
|
36
|
+
import FormField from "../Forms/FormField";
|
|
37
|
+
const { cssClassName } = convertPropToCssClassName("repeat-picker-input-range-selector");
|
|
38
|
+
const RepeatPickerInput = ({
|
|
39
|
+
onQtyChange = () => null,
|
|
40
|
+
onTypeChange = () => null,
|
|
41
|
+
qtyValue = 1,
|
|
42
|
+
repeatOptions = [],
|
|
43
|
+
repeatOptionsValue = null,
|
|
44
|
+
repeatInputLabel = "Repeats every",
|
|
45
|
+
repeatFrecuencyCustomProps = {}
|
|
46
|
+
}) => {
|
|
47
|
+
const [last, setLast] = useState("");
|
|
48
|
+
const _a = repeatFrecuencyCustomProps, { onChange: _onChange, onKeyDown: _onKeyDown, value: _value } = _a, rest = __objRest(_a, ["onChange", "onKeyDown", "value"]);
|
|
49
|
+
return /* @__PURE__ */ React2.createElement(FormGroup, {
|
|
50
|
+
className: cssClassName
|
|
51
|
+
}, /* @__PURE__ */ React2.createElement(FormLabel, null, repeatInputLabel), /* @__PURE__ */ React2.createElement(FormFieldGroup, null, /* @__PURE__ */ React2.createElement(FormField, null, /* @__PURE__ */ React2.createElement(DSTextBox, __spreadValues({
|
|
52
|
+
onChange: (e) => {
|
|
53
|
+
if (last !== 69)
|
|
54
|
+
onQtyChange(e.target.value);
|
|
55
|
+
},
|
|
56
|
+
onKeyDown: (e) => {
|
|
57
|
+
setLast(e.keyCode);
|
|
58
|
+
return e.keyCode !== 69;
|
|
59
|
+
},
|
|
60
|
+
type: "number",
|
|
61
|
+
value: qtyValue
|
|
62
|
+
}, rest || {}))), /* @__PURE__ */ React2.createElement(FormField, null, /* @__PURE__ */ React2.createElement(DSComboBox, {
|
|
63
|
+
onChange: onTypeChange,
|
|
64
|
+
options: repeatOptions,
|
|
65
|
+
value: repeatOptionsValue
|
|
66
|
+
}))));
|
|
67
|
+
};
|
|
68
|
+
var RepeatPickerInput_default = RepeatPickerInput;
|
|
69
|
+
export {
|
|
70
|
+
RepeatPickerInput_default as default
|
|
71
|
+
};
|
|
72
|
+
//# sourceMappingURL=RepeatPickerInput.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../../../scripts/build/transpile/react-shim.js", "../../../../src/components/RepeatPickerInput/RepeatPickerInput.tsx"],
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React, { useState } from 'react';\nimport { convertPropToCssClassName } from '@elliemae/ds-classnames';\nimport { DSTextBox, DSComboBox } from '@elliemae/ds-form';\nimport FormGroup from '../Forms/FormGroup';\nimport FormLabel from '../Forms/FormLabel';\nimport FormFieldGroup from '../Forms/FormFieldGroup';\nimport FormField from '../Forms/FormField';\n\nconst { cssClassName } = convertPropToCssClassName('repeat-picker-input-range-selector');\n\nconst RepeatPickerInput = ({\n onQtyChange = () => null,\n onTypeChange = () => null,\n qtyValue = 1,\n repeatOptions = [],\n repeatOptionsValue = null,\n repeatInputLabel = 'Repeats every',\n repeatFrecuencyCustomProps = {},\n}) => {\n const [last, setLast] = useState('');\n const { onChange: _onChange, onKeyDown: _onKeyDown, value: _value, ...rest } = repeatFrecuencyCustomProps;\n return (\n <FormGroup className={cssClassName}>\n <FormLabel>{repeatInputLabel}</FormLabel>\n <FormFieldGroup>\n <FormField>\n <DSTextBox\n onChange={(e) => {\n if (last !== 69) onQtyChange(e.target.value);\n }}\n onKeyDown={(e) => {\n setLast(e.keyCode);\n return e.keyCode !== 69;\n }}\n type=\"number\"\n value={qtyValue}\n {...(rest || {})}\n />\n </FormField>\n <FormField>\n <DSComboBox onChange={onTypeChange} options={repeatOptions} value={repeatOptionsValue} />\n </FormField>\n </FormFieldGroup>\n </FormGroup>\n );\n};\n\nexport default RepeatPickerInput;\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;ACAA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA,MAAM,EAAE,iBAAiB,0BAA0B;AAEnD,MAAM,oBAAoB,CAAC;AAAA,EACzB,cAAc,MAAM;AAAA,EACpB,eAAe,MAAM;AAAA,EACrB,WAAW;AAAA,EACX,gBAAgB;AAAA,EAChB,qBAAqB;AAAA,EACrB,mBAAmB;AAAA,EACnB,6BAA6B;AAAA,MACzB;AACJ,QAAM,CAAC,MAAM,WAAW,SAAS;AACjC,QAA+E,iCAAvE,YAAU,WAAW,WAAW,YAAY,OAAO,WAAoB,IAAT,iBAAS,IAAT,CAA9D,YAAqB,aAAuB;AACpD,SACE,qCAAC,WAAD;AAAA,IAAW,WAAW;AAAA,KACpB,qCAAC,WAAD,MAAY,mBACZ,qCAAC,gBAAD,MACE,qCAAC,WAAD,MACE,qCAAC,WAAD;AAAA,IACE,UAAU,CAAC,MAAM;AACf,UAAI,SAAS;AAAI,oBAAY,EAAE,OAAO;AAAA;AAAA,IAExC,WAAW,CAAC,MAAM;AAChB,cAAQ,EAAE;AACV,aAAO,EAAE,YAAY;AAAA;AAAA,IAEvB,MAAK;AAAA,IACL,OAAO;AAAA,KACF,QAAQ,OAGjB,qCAAC,WAAD,MACE,qCAAC,YAAD;AAAA,IAAY,UAAU;AAAA,IAAc,SAAS;AAAA,IAAe,OAAO;AAAA;AAAA;AAO7E,IAAO,4BAAQ;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import React2 from "react";
|
|
3
|
+
import DSDatePicker from "@elliemae/ds-date-picker";
|
|
4
|
+
import DSTimePicker from "@elliemae/ds-time-picker";
|
|
5
|
+
import FormLabel from "../Forms/FormLabel";
|
|
6
|
+
import FormFieldGroup from "../Forms/FormFieldGroup";
|
|
7
|
+
import FormGroup from "../Forms/FormGroup";
|
|
8
|
+
import FormField from "../Forms/FormField";
|
|
9
|
+
const StartDateTime = ({
|
|
10
|
+
onStartDateChange = () => null,
|
|
11
|
+
onStartTimeChange = () => null,
|
|
12
|
+
startDateValue = null,
|
|
13
|
+
startTimeValue = null,
|
|
14
|
+
startDayBlocked
|
|
15
|
+
}) => /* @__PURE__ */ React2.createElement(FormGroup, null, /* @__PURE__ */ React2.createElement(FormLabel, null, "Starts"), /* @__PURE__ */ React2.createElement(FormFieldGroup, null, /* @__PURE__ */ React2.createElement(FormField, null, /* @__PURE__ */ React2.createElement(DSDatePicker, {
|
|
16
|
+
appendToBody: true,
|
|
17
|
+
date: startDateValue,
|
|
18
|
+
isDayBlocked: startDayBlocked,
|
|
19
|
+
keepOpenOnDateSelect: false,
|
|
20
|
+
onDateChange: onStartDateChange,
|
|
21
|
+
zIndex: 10
|
|
22
|
+
})), /* @__PURE__ */ React2.createElement(FormField, null, /* @__PURE__ */ React2.createElement(DSTimePicker, {
|
|
23
|
+
onChange: onStartTimeChange,
|
|
24
|
+
value: startTimeValue,
|
|
25
|
+
zIndex: 10
|
|
26
|
+
}))));
|
|
27
|
+
var StartDateTime_default = StartDateTime;
|
|
28
|
+
export {
|
|
29
|
+
StartDateTime_default as default
|
|
30
|
+
};
|
|
31
|
+
//# sourceMappingURL=StartDateTime.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../../../scripts/build/transpile/react-shim.js", "../../../../src/components/StartDateTime/StartDateTime.tsx"],
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React from 'react';\nimport DSDatePicker from '@elliemae/ds-date-picker';\nimport DSTimePicker from '@elliemae/ds-time-picker';\nimport FormLabel from '../Forms/FormLabel';\nimport FormFieldGroup from '../Forms/FormFieldGroup';\nimport FormGroup from '../Forms/FormGroup';\nimport FormField from '../Forms/FormField';\n\nconst StartDateTime = ({\n onStartDateChange = () => null,\n onStartTimeChange = () => null,\n startDateValue = null,\n startTimeValue = null,\n startDayBlocked,\n}) => (\n <FormGroup>\n <FormLabel>Starts</FormLabel>\n <FormFieldGroup>\n <FormField>\n <DSDatePicker\n appendToBody\n date={startDateValue}\n isDayBlocked={startDayBlocked}\n keepOpenOnDateSelect={false}\n onDateChange={onStartDateChange}\n zIndex={10}\n />\n </FormField>\n <FormField>\n <DSTimePicker onChange={onStartTimeChange} value={startTimeValue} zIndex={10} />\n </FormField>\n </FormFieldGroup>\n </FormGroup>\n);\n\nexport default StartDateTime;\n"],
|
|
5
|
+
"mappings": "AAAA;ACAA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA,MAAM,gBAAgB,CAAC;AAAA,EACrB,oBAAoB,MAAM;AAAA,EAC1B,oBAAoB,MAAM;AAAA,EAC1B,iBAAiB;AAAA,EACjB,iBAAiB;AAAA,EACjB;AAAA,MAEA,qCAAC,WAAD,MACE,qCAAC,WAAD,MAAW,WACX,qCAAC,gBAAD,MACE,qCAAC,WAAD,MACE,qCAAC,cAAD;AAAA,EACE,cAAY;AAAA,EACZ,MAAM;AAAA,EACN,cAAc;AAAA,EACd,sBAAsB;AAAA,EACtB,cAAc;AAAA,EACd,QAAQ;AAAA,KAGZ,qCAAC,WAAD,MACE,qCAAC,cAAD;AAAA,EAAc,UAAU;AAAA,EAAmB,OAAO;AAAA,EAAgB,QAAQ;AAAA;AAMlF,IAAO,wBAAQ;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import React2 from "react";
|
|
3
|
+
import { convertPropToCssClassName } from "@elliemae/ds-classnames";
|
|
4
|
+
import { DSComboBox } from "@elliemae/ds-form";
|
|
5
|
+
import { dropdownTimeZoneOptions } from "../../options/dropdownTimeZoneOptions";
|
|
6
|
+
import FieldWrapper from "../FieldWrapper/FieldWrapper";
|
|
7
|
+
import LabelWrapper from "../LabelWrapper/LabelWrapper";
|
|
8
|
+
const { cssClassName, classNameElement } = convertPropToCssClassName("timezone-picker-input-range-selector");
|
|
9
|
+
const TimeZonePicker = ({
|
|
10
|
+
onTimezoneChange = () => null,
|
|
11
|
+
timezoneValue = dropdownTimeZoneOptions[0].value,
|
|
12
|
+
timezoneOptions = dropdownTimeZoneOptions,
|
|
13
|
+
inputLabel = "Time Zone"
|
|
14
|
+
}) => /* @__PURE__ */ React2.createElement("div", {
|
|
15
|
+
className: `${cssClassName}`
|
|
16
|
+
}, /* @__PURE__ */ React2.createElement("div", {
|
|
17
|
+
className: "grid-x"
|
|
18
|
+
}, /* @__PURE__ */ React2.createElement("div", {
|
|
19
|
+
className: "cell medium-4 large-3"
|
|
20
|
+
}, /* @__PURE__ */ React2.createElement(LabelWrapper, null, /* @__PURE__ */ React2.createElement("div", {
|
|
21
|
+
className: `${classNameElement("label")}`
|
|
22
|
+
}, inputLabel))), /* @__PURE__ */ React2.createElement("div", {
|
|
23
|
+
className: "cell medium-8 large-9"
|
|
24
|
+
}, /* @__PURE__ */ React2.createElement(FieldWrapper, null, /* @__PURE__ */ React2.createElement(DSComboBox, {
|
|
25
|
+
onChange: onTimezoneChange,
|
|
26
|
+
options: timezoneOptions,
|
|
27
|
+
value: timezoneValue
|
|
28
|
+
})))));
|
|
29
|
+
var TimeZonePicker_default = TimeZonePicker;
|
|
30
|
+
export {
|
|
31
|
+
TimeZonePicker_default as default
|
|
32
|
+
};
|
|
33
|
+
//# sourceMappingURL=TimeZonePicker.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../../../scripts/build/transpile/react-shim.js", "../../../../src/components/TimeZonePicker/TimeZonePicker.tsx"],
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React from 'react';\nimport { convertPropToCssClassName } from '@elliemae/ds-classnames';\n\nimport { DSComboBox } from '@elliemae/ds-form';\nimport { dropdownTimeZoneOptions } from '../../options/dropdownTimeZoneOptions';\nimport FieldWrapper from '../FieldWrapper/FieldWrapper';\nimport LabelWrapper from '../LabelWrapper/LabelWrapper';\n\nconst { cssClassName, classNameElement } = convertPropToCssClassName('timezone-picker-input-range-selector');\n\nconst TimeZonePicker = ({\n onTimezoneChange = () => null,\n timezoneValue = dropdownTimeZoneOptions[0].value,\n timezoneOptions = dropdownTimeZoneOptions,\n inputLabel = 'Time Zone',\n}) => (\n <div className={`${cssClassName}`}>\n <div className=\"grid-x\">\n <div className=\"cell medium-4 large-3\">\n <LabelWrapper>\n <div className={`${classNameElement('label')}`}>{inputLabel}</div>\n </LabelWrapper>\n </div>\n <div className=\"cell medium-8 large-9\">\n <FieldWrapper>\n <DSComboBox onChange={onTimezoneChange} options={timezoneOptions} value={timezoneValue} />\n </FieldWrapper>\n </div>\n </div>\n </div>\n);\n\nexport default TimeZonePicker;\n"],
|
|
5
|
+
"mappings": "AAAA;ACAA;AACA;AAEA;AACA;AACA;AACA;AAEA,MAAM,EAAE,cAAc,qBAAqB,0BAA0B;AAErE,MAAM,iBAAiB,CAAC;AAAA,EACtB,mBAAmB,MAAM;AAAA,EACzB,gBAAgB,wBAAwB,GAAG;AAAA,EAC3C,kBAAkB;AAAA,EAClB,aAAa;AAAA,MAEb,qCAAC,OAAD;AAAA,EAAK,WAAW,GAAG;AAAA,GACjB,qCAAC,OAAD;AAAA,EAAK,WAAU;AAAA,GACb,qCAAC,OAAD;AAAA,EAAK,WAAU;AAAA,GACb,qCAAC,cAAD,MACE,qCAAC,OAAD;AAAA,EAAK,WAAW,GAAG,iBAAiB;AAAA,GAAa,eAGrD,qCAAC,OAAD;AAAA,EAAK,WAAU;AAAA,GACb,qCAAC,cAAD,MACE,qCAAC,YAAD;AAAA,EAAY,UAAU;AAAA,EAAkB,SAAS;AAAA,EAAiB,OAAO;AAAA;AAOnF,IAAO,yBAAQ;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import React2 from "react";
|
|
3
|
+
import { convertPropToCssClassName } from "@elliemae/ds-classnames";
|
|
4
|
+
const { cssClassName } = convertPropToCssClassName("recurrence-selector-validation-message");
|
|
5
|
+
const ValidationMessage = ({ validationMessage = "" }) => /* @__PURE__ */ React2.createElement("div", {
|
|
6
|
+
className: cssClassName
|
|
7
|
+
}, validationMessage);
|
|
8
|
+
var ValidationMessage_default = ValidationMessage;
|
|
9
|
+
export {
|
|
10
|
+
ValidationMessage_default as default
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=ValidationMessage.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../../../scripts/build/transpile/react-shim.js", "../../../../src/components/ValidationMessage/ValidationMessage.tsx"],
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React from 'react';\nimport { convertPropToCssClassName } from '@elliemae/ds-classnames';\n\nconst { cssClassName } = convertPropToCssClassName(\n 'recurrence-selector-validation-message',\n);\n\nconst ValidationMessage = ({ validationMessage = '' }) => (\n <div className={cssClassName}>{validationMessage}</div>\n);\n\nexport default ValidationMessage;\n"],
|
|
5
|
+
"mappings": "AAAA;ACAA;AACA;AAEA,MAAM,EAAE,iBAAiB,0BACvB;AAGF,MAAM,oBAAoB,CAAC,EAAE,oBAAoB,SAC/C,qCAAC,OAAD;AAAA,EAAK,WAAW;AAAA,GAAe;AAGjC,IAAO,4BAAQ;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
const nth = ["First", "Second", "Third", "Fourth", "Fifth"];
|
|
3
|
+
const dayNames = [
|
|
4
|
+
"Sunday",
|
|
5
|
+
"Monday",
|
|
6
|
+
"Tuesday",
|
|
7
|
+
"Wednesday",
|
|
8
|
+
"Thursday",
|
|
9
|
+
"Friday",
|
|
10
|
+
"Saturday"
|
|
11
|
+
];
|
|
12
|
+
const monthNames = [
|
|
13
|
+
"January",
|
|
14
|
+
"February",
|
|
15
|
+
"March",
|
|
16
|
+
"April",
|
|
17
|
+
"May",
|
|
18
|
+
"June",
|
|
19
|
+
"July",
|
|
20
|
+
"August",
|
|
21
|
+
"September",
|
|
22
|
+
"October",
|
|
23
|
+
"November",
|
|
24
|
+
"December"
|
|
25
|
+
];
|
|
26
|
+
const nthDay = (date) => nth[Math.floor(date.getDate() / 7)];
|
|
27
|
+
export {
|
|
28
|
+
dayNames,
|
|
29
|
+
monthNames,
|
|
30
|
+
nth,
|
|
31
|
+
nthDay
|
|
32
|
+
};
|
|
33
|
+
//# sourceMappingURL=nthday.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../../../scripts/build/transpile/react-shim.js", "../../../../src/components/helpers/nthday.tsx"],
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "export const nth = ['First', 'Second', 'Third', 'Fourth', 'Fifth'];\nexport const dayNames = [\n 'Sunday',\n 'Monday',\n 'Tuesday',\n 'Wednesday',\n 'Thursday',\n 'Friday',\n 'Saturday',\n];\nexport const monthNames = [\n 'January',\n 'February',\n 'March',\n 'April',\n 'May',\n 'June',\n 'July',\n 'August',\n 'September',\n 'October',\n 'November',\n 'December',\n];\n\nexport const nthDay = date => nth[Math.floor(date.getDate() / 7)];\n"],
|
|
5
|
+
"mappings": "AAAA;ACAO,MAAM,MAAM,CAAC,SAAS,UAAU,SAAS,UAAU;AACnD,MAAM,WAAW;AAAA,EACtB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA;AAEK,MAAM,aAAa;AAAA,EACxB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA;AAGK,MAAM,SAAS,UAAQ,IAAI,KAAK,MAAM,KAAK,YAAY;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../scripts/build/transpile/react-shim.js", "../../src/index.tsx"],
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "export { default } from './DSDateTimeRecurrenceSelector';\nexport * from './DSDateTimeRecurrenceSelector';\n"],
|
|
5
|
+
"mappings": "AAAA;ACAA;AACA;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
const dropdownDayOfMonthOptions = [
|
|
3
|
+
{
|
|
4
|
+
label: "on 22nd of the month",
|
|
5
|
+
value: "on 22nd of the month"
|
|
6
|
+
},
|
|
7
|
+
{
|
|
8
|
+
label: "on 3rd Thurday of the month",
|
|
9
|
+
value: "on 3rd Thurday of the month"
|
|
10
|
+
}
|
|
11
|
+
];
|
|
12
|
+
export {
|
|
13
|
+
dropdownDayOfMonthOptions
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=dropdownDayOfMonthOptions.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../../src/options/dropdownDayOfMonthOptions.tsx"],
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "export const dropdownDayOfMonthOptions = [\n {\n label: 'on 22nd of the month',\n value: 'on 22nd of the month',\n },\n {\n label: 'on 3rd Thurday of the month',\n value: 'on 3rd Thurday of the month',\n },\n];\n"],
|
|
5
|
+
"mappings": "AAAA;ACAO,MAAM,4BAA4B;AAAA,EACvC;AAAA,IACE,OAAO;AAAA,IACP,OAAO;AAAA;AAAA,EAET;AAAA,IACE,OAAO;AAAA,IACP,OAAO;AAAA;AAAA;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
const dropdownDayOfWeekOptions = [
|
|
3
|
+
{
|
|
4
|
+
label: "M",
|
|
5
|
+
value: "monday"
|
|
6
|
+
},
|
|
7
|
+
{
|
|
8
|
+
label: "Tu",
|
|
9
|
+
value: "tuesday"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
label: "W",
|
|
13
|
+
value: "wednesday"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
label: "Th",
|
|
17
|
+
value: "thursday"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
label: "F",
|
|
21
|
+
value: "friday"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
label: "S",
|
|
25
|
+
value: "saturday"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
label: "Su",
|
|
29
|
+
value: "sunday"
|
|
30
|
+
}
|
|
31
|
+
];
|
|
32
|
+
export {
|
|
33
|
+
dropdownDayOfWeekOptions
|
|
34
|
+
};
|
|
35
|
+
//# sourceMappingURL=dropdownDayOfWeekOptions.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../../src/options/dropdownDayOfWeekOptions.tsx"],
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "export const dropdownDayOfWeekOptions = [\n {\n label: 'M',\n value: 'monday',\n },\n {\n label: 'Tu',\n value: 'tuesday',\n },\n {\n label: 'W',\n value: 'wednesday',\n },\n {\n label: 'Th',\n value: 'thursday',\n },\n {\n label: 'F',\n value: 'friday',\n },\n {\n label: 'S',\n value: 'saturday',\n },\n {\n label: 'Su',\n value: 'sunday',\n },\n];\n"],
|
|
5
|
+
"mappings": "AAAA;ACAO,MAAM,2BAA2B;AAAA,EACtC;AAAA,IACE,OAAO;AAAA,IACP,OAAO;AAAA;AAAA,EAET;AAAA,IACE,OAAO;AAAA,IACP,OAAO;AAAA;AAAA,EAET;AAAA,IACE,OAAO;AAAA,IACP,OAAO;AAAA;AAAA,EAET;AAAA,IACE,OAAO;AAAA,IACP,OAAO;AAAA;AAAA,EAET;AAAA,IACE,OAAO;AAAA,IACP,OAAO;AAAA;AAAA,EAET;AAAA,IACE,OAAO;AAAA,IACP,OAAO;AAAA;AAAA,EAET;AAAA,IACE,OAAO;AAAA,IACP,OAAO;AAAA;AAAA;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
const dropdownDayOfYearOptions = [
|
|
3
|
+
{
|
|
4
|
+
label: "on 25th of October",
|
|
5
|
+
value: "on 25th of October"
|
|
6
|
+
},
|
|
7
|
+
{
|
|
8
|
+
label: "on 3rd Thurday of October",
|
|
9
|
+
value: "on 3rd Thurday of October"
|
|
10
|
+
}
|
|
11
|
+
];
|
|
12
|
+
export {
|
|
13
|
+
dropdownDayOfYearOptions
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=dropdownDayOfYearOptions.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../../src/options/dropdownDayOfYearOptions.tsx"],
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "export const dropdownDayOfYearOptions = [\n {\n label: 'on 25th of October',\n value: 'on 25th of October',\n },\n {\n label: 'on 3rd Thurday of October',\n value: 'on 3rd Thurday of October',\n },\n];\n"],
|
|
5
|
+
"mappings": "AAAA;ACAO,MAAM,2BAA2B;AAAA,EACtC;AAAA,IACE,OAAO;AAAA,IACP,OAAO;AAAA;AAAA,EAET;AAAA,IACE,OAAO;AAAA,IACP,OAAO;AAAA;AAAA;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
const DropdownOptionsTypes = {
|
|
3
|
+
NOT_REPEAT: "0",
|
|
4
|
+
DAILY: "1",
|
|
5
|
+
WEEKLY_THURSDAY: "3",
|
|
6
|
+
MONTHLY_22: "4"
|
|
7
|
+
};
|
|
8
|
+
const dropdownPreselectedOptions = [
|
|
9
|
+
{
|
|
10
|
+
label: "Does not repeat",
|
|
11
|
+
value: DropdownOptionsTypes.NOT_REPEAT
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
label: "Daily",
|
|
15
|
+
value: DropdownOptionsTypes.DAILY
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
label: "Weekly on Thursday",
|
|
19
|
+
value: DropdownOptionsTypes.WEEKLY_THURSDAY
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
label: "Monthly on 22nd",
|
|
23
|
+
value: DropdownOptionsTypes.MONTHLY_22
|
|
24
|
+
}
|
|
25
|
+
];
|
|
26
|
+
export {
|
|
27
|
+
DropdownOptionsTypes,
|
|
28
|
+
dropdownPreselectedOptions
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=dropdownPreselectedOptions.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../../src/options/dropdownPreselectedOptions.tsx"],
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "export const DropdownOptionsTypes = {\n NOT_REPEAT: '0',\n DAILY: '1',\n WEEKLY_THURSDAY: '3',\n MONTHLY_22: '4',\n};\nexport const dropdownPreselectedOptions = [\n {\n label: 'Does not repeat',\n value: DropdownOptionsTypes.NOT_REPEAT,\n },\n {\n label: 'Daily',\n value: DropdownOptionsTypes.DAILY,\n },\n {\n label: 'Weekly on Thursday',\n value: DropdownOptionsTypes.WEEKLY_THURSDAY,\n },\n {\n label: 'Monthly on 22nd',\n value: DropdownOptionsTypes.MONTHLY_22,\n },\n];\n"],
|
|
5
|
+
"mappings": "AAAA;ACAO,MAAM,uBAAuB;AAAA,EAClC,YAAY;AAAA,EACZ,OAAO;AAAA,EACP,iBAAiB;AAAA,EACjB,YAAY;AAAA;AAEP,MAAM,6BAA6B;AAAA,EACxC;AAAA,IACE,OAAO;AAAA,IACP,OAAO,qBAAqB;AAAA;AAAA,EAE9B;AAAA,IACE,OAAO;AAAA,IACP,OAAO,qBAAqB;AAAA;AAAA,EAE9B;AAAA,IACE,OAAO;AAAA,IACP,OAAO,qBAAqB;AAAA;AAAA,EAE9B;AAAA,IACE,OAAO;AAAA,IACP,OAAO,qBAAqB;AAAA;AAAA;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
const DropdownRepeatOptionsTypes = {
|
|
3
|
+
DAY: "day",
|
|
4
|
+
WEEK: "week",
|
|
5
|
+
MONTH: "month",
|
|
6
|
+
YEAR: "year"
|
|
7
|
+
};
|
|
8
|
+
const dropdownRepeatOptions = [
|
|
9
|
+
{
|
|
10
|
+
label: "Day",
|
|
11
|
+
value: DropdownRepeatOptionsTypes.DAY
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
label: "Week",
|
|
15
|
+
value: DropdownRepeatOptionsTypes.WEEK
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
label: "Month",
|
|
19
|
+
value: DropdownRepeatOptionsTypes.MONTH
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
label: "Year",
|
|
23
|
+
value: DropdownRepeatOptionsTypes.YEAR
|
|
24
|
+
}
|
|
25
|
+
];
|
|
26
|
+
export {
|
|
27
|
+
DropdownRepeatOptionsTypes,
|
|
28
|
+
dropdownRepeatOptions
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=dropdownRepeatOptions.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../../src/options/dropdownRepeatOptions.tsx"],
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "export const DropdownRepeatOptionsTypes = {\n DAY: 'day',\n WEEK: 'week',\n MONTH: 'month',\n YEAR: 'year',\n};\nexport const dropdownRepeatOptions = [\n {\n label: 'Day',\n value: DropdownRepeatOptionsTypes.DAY,\n },\n {\n label: 'Week',\n value: DropdownRepeatOptionsTypes.WEEK,\n },\n {\n label: 'Month',\n value: DropdownRepeatOptionsTypes.MONTH,\n },\n {\n label: 'Year',\n value: DropdownRepeatOptionsTypes.YEAR,\n },\n];\n"],
|
|
5
|
+
"mappings": "AAAA;ACAO,MAAM,6BAA6B;AAAA,EACxC,KAAK;AAAA,EACL,MAAM;AAAA,EACN,OAAO;AAAA,EACP,MAAM;AAAA;AAED,MAAM,wBAAwB;AAAA,EACnC;AAAA,IACE,OAAO;AAAA,IACP,OAAO,2BAA2B;AAAA;AAAA,EAEpC;AAAA,IACE,OAAO;AAAA,IACP,OAAO,2BAA2B;AAAA;AAAA,EAEpC;AAAA,IACE,OAAO;AAAA,IACP,OAAO,2BAA2B;AAAA;AAAA,EAEpC;AAAA,IACE,OAAO;AAAA,IACP,OAAO,2BAA2B;AAAA;AAAA;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
const DropdownTimeZoneTypes = {
|
|
3
|
+
HST: "HST",
|
|
4
|
+
AKST: "AKST",
|
|
5
|
+
PST: "PST",
|
|
6
|
+
MST: "MST",
|
|
7
|
+
CST: "CST",
|
|
8
|
+
EST: "EST"
|
|
9
|
+
};
|
|
10
|
+
const dropdownTimeZoneOptions = [
|
|
11
|
+
{
|
|
12
|
+
label: "Eastern",
|
|
13
|
+
value: DropdownTimeZoneTypes.EST
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
label: "Central",
|
|
17
|
+
value: DropdownTimeZoneTypes.CST
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
label: "Mountain",
|
|
21
|
+
value: DropdownTimeZoneTypes.MST
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
label: "Pacific",
|
|
25
|
+
value: DropdownTimeZoneTypes.PST
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
label: "Alaska",
|
|
29
|
+
value: DropdownTimeZoneTypes.AKST
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
label: "Hawaii\u2013Aleutian",
|
|
33
|
+
value: DropdownTimeZoneTypes.HST
|
|
34
|
+
}
|
|
35
|
+
];
|
|
36
|
+
export {
|
|
37
|
+
DropdownTimeZoneTypes,
|
|
38
|
+
dropdownTimeZoneOptions
|
|
39
|
+
};
|
|
40
|
+
//# sourceMappingURL=dropdownTimeZoneOptions.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../../src/options/dropdownTimeZoneOptions.tsx"],
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "export const DropdownTimeZoneTypes = {\n HST: 'HST',\n AKST: 'AKST',\n PST: 'PST',\n MST: 'MST',\n CST: 'CST',\n EST: 'EST',\n};\nexport const dropdownTimeZoneOptions = [\n {\n label: 'Eastern',\n value: DropdownTimeZoneTypes.EST,\n },\n {\n label: 'Central',\n value: DropdownTimeZoneTypes.CST,\n },\n {\n label: 'Mountain',\n value: DropdownTimeZoneTypes.MST,\n },\n {\n label: 'Pacific',\n value: DropdownTimeZoneTypes.PST,\n },\n {\n label: 'Alaska',\n value: DropdownTimeZoneTypes.AKST,\n },\n {\n label: 'Hawaii\u2013Aleutian',\n value: DropdownTimeZoneTypes.HST,\n },\n];\n"],
|
|
5
|
+
"mappings": "AAAA;ACAO,MAAM,wBAAwB;AAAA,EACnC,KAAK;AAAA,EACL,MAAM;AAAA,EACN,KAAK;AAAA,EACL,KAAK;AAAA,EACL,KAAK;AAAA,EACL,KAAK;AAAA;AAEA,MAAM,0BAA0B;AAAA,EACrC;AAAA,IACE,OAAO;AAAA,IACP,OAAO,sBAAsB;AAAA;AAAA,EAE/B;AAAA,IACE,OAAO;AAAA,IACP,OAAO,sBAAsB;AAAA;AAAA,EAE/B;AAAA,IACE,OAAO;AAAA,IACP,OAAO,sBAAsB;AAAA;AAAA,EAE/B;AAAA,IACE,OAAO;AAAA,IACP,OAAO,sBAAsB;AAAA;AAAA,EAE/B;AAAA,IACE,OAAO;AAAA,IACP,OAAO,sBAAsB;AAAA;AAAA,EAE/B;AAAA,IACE,OAAO;AAAA,IACP,OAAO,sBAAsB;AAAA;AAAA;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
const endTypes = {
|
|
3
|
+
NEVER: "never",
|
|
4
|
+
ON: "on",
|
|
5
|
+
AFTER: "after"
|
|
6
|
+
};
|
|
7
|
+
const endTypesOptions = [
|
|
8
|
+
{
|
|
9
|
+
label: "Never",
|
|
10
|
+
value: endTypes.NEVER
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
label: "On",
|
|
14
|
+
value: endTypes.ON
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
label: "After",
|
|
18
|
+
value: endTypes.AFTER
|
|
19
|
+
}
|
|
20
|
+
];
|
|
21
|
+
const endTimesOptions = [
|
|
22
|
+
{
|
|
23
|
+
label: "1 Time",
|
|
24
|
+
value: 1
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
label: "2 Times",
|
|
28
|
+
value: 2
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
label: "3 Times",
|
|
32
|
+
value: 3
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
label: "6 Times",
|
|
36
|
+
value: 6
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
label: "12 Times",
|
|
40
|
+
value: 12
|
|
41
|
+
}
|
|
42
|
+
];
|
|
43
|
+
export {
|
|
44
|
+
endTimesOptions,
|
|
45
|
+
endTypes,
|
|
46
|
+
endTypesOptions
|
|
47
|
+
};
|
|
48
|
+
//# sourceMappingURL=endTypesOptions.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../../src/options/endTypesOptions.tsx"],
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "export const endTypes = {\n NEVER: 'never',\n ON: 'on',\n AFTER: 'after',\n};\n\nexport const endTypesOptions = [\n {\n label: 'Never',\n value: endTypes.NEVER,\n },\n {\n label: 'On',\n value: endTypes.ON,\n },\n {\n label: 'After',\n value: endTypes.AFTER,\n },\n];\n\nexport const endTimesOptions = [\n {\n label: '1 Time',\n value: 1,\n },\n {\n label: '2 Times',\n value: 2,\n },\n {\n label: '3 Times',\n value: 3,\n },\n {\n label: '6 Times',\n value: 6,\n },\n {\n label: '12 Times',\n value: 12,\n },\n];\n"],
|
|
5
|
+
"mappings": "AAAA;ACAO,MAAM,WAAW;AAAA,EACtB,OAAO;AAAA,EACP,IAAI;AAAA,EACJ,OAAO;AAAA;AAGF,MAAM,kBAAkB;AAAA,EAC7B;AAAA,IACE,OAAO;AAAA,IACP,OAAO,SAAS;AAAA;AAAA,EAElB;AAAA,IACE,OAAO;AAAA,IACP,OAAO,SAAS;AAAA;AAAA,EAElB;AAAA,IACE,OAAO;AAAA,IACP,OAAO,SAAS;AAAA;AAAA;AAIb,MAAM,kBAAkB;AAAA,EAC7B;AAAA,IACE,OAAO;AAAA,IACP,OAAO;AAAA;AAAA,EAET;AAAA,IACE,OAAO;AAAA,IACP,OAAO;AAAA;AAAA,EAET;AAAA,IACE,OAAO;AAAA,IACP,OAAO;AAAA;AAAA,EAET;AAAA,IACE,OAAO;AAAA,IACP,OAAO;AAAA;AAAA,EAET;AAAA,IACE,OAAO;AAAA,IACP,OAAO;AAAA;AAAA;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|