@elliemae/ds-date-time-recurrence-picker 3.1.0-next.2 → 3.1.0-next.5
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.
|
@@ -36,7 +36,7 @@ __export(DSDateTimeRecurrenceSelector_exports, {
|
|
|
36
36
|
module.exports = __toCommonJS(DSDateTimeRecurrenceSelector_exports);
|
|
37
37
|
var React = __toESM(require("react"));
|
|
38
38
|
var import_react = __toESM(require("react"));
|
|
39
|
-
var
|
|
39
|
+
var import_ds_utilities = require("@elliemae/ds-utilities");
|
|
40
40
|
var import_DateTimeRecurenceSelectorImpl = __toESM(require("./components/DateTimeRecurenceSelectorImpl"));
|
|
41
41
|
var import_dropdownPreselectedOptions = require("./options/dropdownPreselectedOptions");
|
|
42
42
|
var import_dropdownRepeatOptions = require("./options/dropdownRepeatOptions");
|
|
@@ -135,91 +135,91 @@ const DSDateTimeRecurrenceSelector = ({
|
|
|
135
135
|
value
|
|
136
136
|
});
|
|
137
137
|
const dateTimeRecurrenceSelectorProps = {
|
|
138
|
-
containerProps:
|
|
139
|
-
className:
|
|
140
|
-
preselectedOptions:
|
|
141
|
-
label:
|
|
142
|
-
value:
|
|
138
|
+
containerProps: import_ds_utilities.PropTypes.shape({}).description("Set of Properties attached to the main container"),
|
|
139
|
+
className: import_ds_utilities.PropTypes.string.description("html class attribute"),
|
|
140
|
+
preselectedOptions: import_ds_utilities.PropTypes.arrayOf(import_ds_utilities.PropTypes.shape({
|
|
141
|
+
label: import_ds_utilities.PropTypes.string,
|
|
142
|
+
value: import_ds_utilities.PropTypes.string
|
|
143
143
|
})).description("pre selected options"),
|
|
144
|
-
repeatOptions:
|
|
145
|
-
label:
|
|
146
|
-
value:
|
|
144
|
+
repeatOptions: import_ds_utilities.PropTypes.arrayOf(import_ds_utilities.PropTypes.shape({
|
|
145
|
+
label: import_ds_utilities.PropTypes.string,
|
|
146
|
+
value: import_ds_utilities.PropTypes.string
|
|
147
147
|
})).description("repeat options"),
|
|
148
|
-
endTypesOptions:
|
|
149
|
-
label:
|
|
150
|
-
value:
|
|
148
|
+
endTypesOptions: import_ds_utilities.PropTypes.arrayOf(import_ds_utilities.PropTypes.shape({
|
|
149
|
+
label: import_ds_utilities.PropTypes.string,
|
|
150
|
+
value: import_ds_utilities.PropTypes.oneOf([
|
|
151
151
|
import_endTypesOptions.endTypesOptions.NEVER,
|
|
152
152
|
import_endTypesOptions.endTypesOptions.ON,
|
|
153
153
|
import_endTypesOptions.endTypesOptions.AFTER
|
|
154
154
|
])
|
|
155
155
|
})).description("end types options"),
|
|
156
|
-
endTimesOptions:
|
|
157
|
-
label:
|
|
158
|
-
value:
|
|
156
|
+
endTimesOptions: import_ds_utilities.PropTypes.arrayOf(import_ds_utilities.PropTypes.shape({
|
|
157
|
+
label: import_ds_utilities.PropTypes.string,
|
|
158
|
+
value: import_ds_utilities.PropTypes.string
|
|
159
159
|
})).description("end time options"),
|
|
160
|
-
dayOfWeekOptions:
|
|
161
|
-
label:
|
|
162
|
-
value:
|
|
160
|
+
dayOfWeekOptions: import_ds_utilities.PropTypes.arrayOf(import_ds_utilities.PropTypes.shape({
|
|
161
|
+
label: import_ds_utilities.PropTypes.string,
|
|
162
|
+
value: import_ds_utilities.PropTypes.string
|
|
163
163
|
})).defaultValue("day of week options"),
|
|
164
|
-
dayOfWeekOptionsEnable:
|
|
165
|
-
dayOfMonthOptions:
|
|
166
|
-
label:
|
|
167
|
-
value:
|
|
164
|
+
dayOfWeekOptionsEnable: import_ds_utilities.PropTypes.bool.description("whether to enable day of week options or not").defaultValue(true),
|
|
165
|
+
dayOfMonthOptions: import_ds_utilities.PropTypes.arrayOf(import_ds_utilities.PropTypes.shape({
|
|
166
|
+
label: import_ds_utilities.PropTypes.string,
|
|
167
|
+
value: import_ds_utilities.PropTypes.string
|
|
168
168
|
})).description("day of month options"),
|
|
169
|
-
dayOfMonthOptionsEnable:
|
|
170
|
-
dayOfYearOptions:
|
|
171
|
-
label:
|
|
172
|
-
value:
|
|
169
|
+
dayOfMonthOptionsEnable: import_ds_utilities.PropTypes.bool.description("whether to enable day of month options or not").defaultValue(true),
|
|
170
|
+
dayOfYearOptions: import_ds_utilities.PropTypes.arrayOf(import_ds_utilities.PropTypes.shape({
|
|
171
|
+
label: import_ds_utilities.PropTypes.string,
|
|
172
|
+
value: import_ds_utilities.PropTypes.string
|
|
173
173
|
})).description("day of year options"),
|
|
174
|
-
dayOfYearOptionsEnable:
|
|
175
|
-
displayMonthCustomOption:
|
|
176
|
-
displayYearCustomOption:
|
|
177
|
-
dayOfMonthAsCurrentDateOptions:
|
|
174
|
+
dayOfYearOptionsEnable: import_ds_utilities.PropTypes.bool.description("whether to enable day of month options or not").defaultValue(true),
|
|
175
|
+
displayMonthCustomOption: import_ds_utilities.PropTypes.bool.description("whether to display month custom options or not").defaultValue(false),
|
|
176
|
+
displayYearCustomOption: import_ds_utilities.PropTypes.bool.description("whether to display year custom options or not").defaultValue(false),
|
|
177
|
+
dayOfMonthAsCurrentDateOptions: import_ds_utilities.PropTypes.oneOf([
|
|
178
178
|
"numberOfMonth",
|
|
179
179
|
"dayOfTheWeekOfMonth"
|
|
180
180
|
]).description("day of month as current date options").defaultValue(["numberOfMonth", "dayOfTheWeekOfMonth"]),
|
|
181
|
-
dayOfYearAsCurrentDateOptions:
|
|
181
|
+
dayOfYearAsCurrentDateOptions: import_ds_utilities.PropTypes.oneOf([
|
|
182
182
|
"numberOfYear",
|
|
183
183
|
"dayOfTheMonthOfYear"
|
|
184
184
|
]).description("day of year as current date options").defaultValue(["numberOfYear", "dayOfTheMonthOfYear"]),
|
|
185
|
-
onChange:
|
|
186
|
-
placeholder:
|
|
187
|
-
modalSize:
|
|
188
|
-
modalTitle:
|
|
189
|
-
confirmLabel:
|
|
190
|
-
rejectLabel:
|
|
191
|
-
modalType:
|
|
192
|
-
onConfirmField:
|
|
193
|
-
onRejectField:
|
|
194
|
-
openModal:
|
|
195
|
-
appElement:
|
|
196
|
-
value:
|
|
197
|
-
customRange:
|
|
198
|
-
customOptionRender:
|
|
199
|
-
displayCurrentMonthYear:
|
|
200
|
-
timeZoneOptions:
|
|
201
|
-
label:
|
|
202
|
-
value:
|
|
185
|
+
onChange: import_ds_utilities.PropTypes.func.description("function called on change"),
|
|
186
|
+
placeholder: import_ds_utilities.PropTypes.string.description("placeholder value").defaultValue("Select Range"),
|
|
187
|
+
modalSize: import_ds_utilities.PropTypes.oneOf(["medium", "small", "large"]).description("Size of the modal").defaultValue("medium"),
|
|
188
|
+
modalTitle: import_ds_utilities.PropTypes.string.description("title of the modal").defaultValue("Report Scheduling"),
|
|
189
|
+
confirmLabel: import_ds_utilities.PropTypes.string.description("label of confirm button").defaultValue("Apply"),
|
|
190
|
+
rejectLabel: import_ds_utilities.PropTypes.string.description("Label of reject button").defaultValue("Cancel"),
|
|
191
|
+
modalType: import_ds_utilities.PropTypes.oneOf(["confirm", "alert"]).description("type of modal").defaultValue("confirm"),
|
|
192
|
+
onConfirmField: import_ds_utilities.PropTypes.func.description("function called on confirm"),
|
|
193
|
+
onRejectField: import_ds_utilities.PropTypes.func.description("function called on reject"),
|
|
194
|
+
openModal: import_ds_utilities.PropTypes.bool.description("modal open or closed"),
|
|
195
|
+
appElement: import_ds_utilities.PropTypes.string.description("app element"),
|
|
196
|
+
value: import_ds_utilities.PropTypes.oneOfType([import_ds_utilities.PropTypes.string, import_ds_utilities.PropTypes.number]).description("value"),
|
|
197
|
+
customRange: import_ds_utilities.PropTypes.object.description("custom range"),
|
|
198
|
+
customOptionRender: import_ds_utilities.PropTypes.element.description("custom renderer of options").defaultValue(import_CustomOptionRender.default),
|
|
199
|
+
displayCurrentMonthYear: import_ds_utilities.PropTypes.bool.description("display current month year or not").defaultValue(true),
|
|
200
|
+
timeZoneOptions: import_ds_utilities.PropTypes.arrayOf(import_ds_utilities.PropTypes.shape({
|
|
201
|
+
label: import_ds_utilities.PropTypes.string,
|
|
202
|
+
value: import_ds_utilities.PropTypes.string
|
|
203
203
|
})).description("time zone dropdown options"),
|
|
204
|
-
useTimezoneSelector:
|
|
205
|
-
allowMultipleDaysOfWeek:
|
|
206
|
-
advanceOption:
|
|
207
|
-
label:
|
|
208
|
-
value:
|
|
204
|
+
useTimezoneSelector: import_ds_utilities.PropTypes.bool.description("use time zone selector or not").defaultValue(false),
|
|
205
|
+
allowMultipleDaysOfWeek: import_ds_utilities.PropTypes.bool.description("allow multiple days of week or not").defaultValue(false),
|
|
206
|
+
advanceOption: import_ds_utilities.PropTypes.shape({
|
|
207
|
+
label: import_ds_utilities.PropTypes.string,
|
|
208
|
+
value: import_ds_utilities.PropTypes.string,
|
|
209
209
|
isAdvance: true
|
|
210
210
|
}).description("advanced options"),
|
|
211
|
-
isValidRecurrence:
|
|
212
|
-
validationMessage:
|
|
213
|
-
|
|
214
|
-
|
|
211
|
+
isValidRecurrence: import_ds_utilities.PropTypes.func.description("is valid recurrence range or nor"),
|
|
212
|
+
validationMessage: import_ds_utilities.PropTypes.oneOfType([
|
|
213
|
+
import_ds_utilities.PropTypes.element,
|
|
214
|
+
import_ds_utilities.PropTypes.string
|
|
215
215
|
]).description("validation messagge"),
|
|
216
|
-
endDayBlocked:
|
|
217
|
-
startDayBlocked:
|
|
218
|
-
repeatFrecuencyCustomProps:
|
|
216
|
+
endDayBlocked: import_ds_utilities.PropTypes.func.description("block end date"),
|
|
217
|
+
startDayBlocked: import_ds_utilities.PropTypes.func.description("block start date"),
|
|
218
|
+
repeatFrecuencyCustomProps: import_ds_utilities.PropTypes.shape({}).description("repeat frecuency custom props")
|
|
219
219
|
};
|
|
220
220
|
DSDateTimeRecurrenceSelector.propTypes = dateTimeRecurrenceSelectorProps;
|
|
221
221
|
DSDateTimeRecurrenceSelector.displayName = "DSDateTimeRecurrenceSelector";
|
|
222
|
-
const DateTimeRecurenceSelectorWithSchema = (0,
|
|
222
|
+
const DateTimeRecurenceSelectorWithSchema = (0, import_ds_utilities.describe)(DSDateTimeRecurrenceSelector);
|
|
223
223
|
DateTimeRecurenceSelectorWithSchema.propTypes = dateTimeRecurrenceSelectorProps;
|
|
224
224
|
var DSDateTimeRecurrenceSelector_default = DSDateTimeRecurrenceSelector;
|
|
225
225
|
//# sourceMappingURL=DSDateTimeRecurrenceSelector.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/DSDateTimeRecurrenceSelector.tsx", "../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
-
"sourcesContent": ["/* eslint-disable max-lines */\nimport React from 'react';\nimport { PropTypes, describe } from 'react-desc';\nimport DateTimeRecurrenceSelectorImpl from './components/DateTimeRecurenceSelectorImpl';\nimport { dropdownPreselectedOptions } from './options/dropdownPreselectedOptions';\nimport {\n DropdownRepeatOptionsTypes,\n dropdownRepeatOptions,\n} from './options/dropdownRepeatOptions';\nimport { dropdownDayOfWeekOptions } from './options/dropdownDayOfWeekOptions';\nimport { dropdownDayOfMonthOptions } from './options/dropdownDayOfMonthOptions';\nimport { dropdownDayOfYearOptions } from './options/dropdownDayOfYearOptions';\nimport {\n endTypesOptions as _endTypesOptions,\n endTimesOptions as _endTimesOptions,\n} from './options/endTypesOptions';\nimport CustomOptionRender from './components/CustomOptionRender/CustomOptionRender';\nimport {\n DropdownTimeZoneTypes,\n dropdownTimeZoneOptions,\n} from './options/dropdownTimeZoneOptions';\n\nconst DSDateTimeRecurrenceSelector = ({\n containerProps = {},\n className = '',\n preselectedOptions = dropdownPreselectedOptions,\n repeatOptions = dropdownRepeatOptions,\n endTypesOptions = _endTypesOptions,\n endTimesOptions = _endTimesOptions,\n dayOfWeekOptions = dropdownDayOfWeekOptions,\n dayOfWeekOptionsEnable = true,\n dayOfMonthOptions = dropdownDayOfMonthOptions,\n dayOfMonthOptionsEnable = true,\n dayOfYearOptions = dropdownDayOfYearOptions,\n dayOfYearOptionsEnable = true,\n displayMonthCustomOption = false,\n displayYearCustomOption = false,\n dayOfMonthAsCurrentDateOptions = ['numberOfMonth', 'dayOfTheWeekOfMonth'],\n dayOfYearAsCurrentDateOptions = ['numberOfYear', 'dayOfTheMonthOfYear'],\n onChange = () => null,\n placeholder = 'Select Range',\n modalSize = 'medium',\n modalTitle = 'Report Scheduling',\n confirmLabel = 'Apply',\n rejectLabel = 'Cancel',\n modalType = 'confirm',\n onConfirmField = () => null,\n onRejectField = () => null,\n openModal = false,\n appElement = '#root',\n value = null,\n customRange = null,\n customOptionRender = CustomOptionRender,\n displayCurrentMonthYear = true,\n timeZoneOptions = dropdownTimeZoneOptions,\n useTimezoneSelector = false,\n allowMultipleDaysOfWeek = false,\n advanceOption = {\n label: 'Custom',\n value: 'custom-range',\n isAdvance: true,\n },\n isValidRecurrence = () => true,\n validationMessage = '',\n endDayBlocked = () => false,\n startDayBlocked = () => false,\n repeatFrecuencyCustomProps = {},\n}) => (\n <DateTimeRecurrenceSelectorImpl\n advanceOption={advanceOption}\n allowMultipleDaysOfWeek={allowMultipleDaysOfWeek}\n appElement={appElement}\n className={className}\n confirmLabel={confirmLabel}\n containerProps={containerProps}\n customOptionRender={customOptionRender}\n customRange={customRange}\n dayOfMonthAsCurrentDateOptions={dayOfMonthAsCurrentDateOptions}\n dayOfMonthOptionsEnable={dayOfMonthOptionsEnable}\n dayOfWeekOptionsEnable={dayOfWeekOptionsEnable}\n dayOfYearAsCurrentDateOptions={dayOfYearAsCurrentDateOptions}\n dayOfYearOptionsEnable={dayOfYearOptionsEnable}\n displayCurrentMonthYear={displayCurrentMonthYear}\n displayMonthCustomOption={displayMonthCustomOption}\n displayYearCustomOption={displayYearCustomOption}\n dropdownDayOfMonthOptions={dayOfMonthOptions}\n dropdownDayOfWeekOptions={dayOfWeekOptions}\n dropdownDayOfYearOptions={dayOfYearOptions}\n dropdownPreselectedOptions={preselectedOptions}\n dropdownRepeatOptions={repeatOptions}\n endDayBlocked={endDayBlocked}\n endTimesOptions={endTimesOptions}\n endTypesOptions={endTypesOptions}\n isValidRecurrence={isValidRecurrence}\n modalSize={modalSize}\n modalTitle={modalTitle}\n modalType={modalType}\n onChange={onChange}\n onConfirmField={onConfirmField}\n onRejectField={onRejectField}\n openModal={openModal}\n placeholder={placeholder}\n rejectLabel={rejectLabel}\n repeatFrecuencyCustomProps={repeatFrecuencyCustomProps}\n startDayBlocked={startDayBlocked}\n timeZoneOptions={timeZoneOptions}\n useTimezoneSelector={useTimezoneSelector}\n validationMessage={validationMessage}\n value={value}\n />\n);\n\nexport * from './options/endTypesOptions';\n\nexport {\n DSDateTimeRecurrenceSelector,\n DropdownRepeatOptionsTypes,\n dropdownRepeatOptions,\n dropdownPreselectedOptions,\n dropdownDayOfWeekOptions,\n dropdownDayOfMonthOptions,\n dropdownDayOfYearOptions,\n DropdownTimeZoneTypes,\n dropdownTimeZoneOptions,\n};\n\nconst dateTimeRecurrenceSelectorProps = {\n containerProps: PropTypes.shape({}).description(\n 'Set of Properties attached to the main container',\n ),\n className: PropTypes.string.description('html class attribute'),\n preselectedOptions: PropTypes.arrayOf(\n PropTypes.shape({\n label: PropTypes.string,\n value: PropTypes.string,\n }),\n ).description('pre selected options'),\n repeatOptions: PropTypes.arrayOf(\n PropTypes.shape({\n label: PropTypes.string,\n value: PropTypes.string,\n }),\n ).description('repeat options'),\n endTypesOptions: PropTypes.arrayOf(\n PropTypes.shape({\n label: PropTypes.string,\n value: PropTypes.oneOf([\n _endTypesOptions.NEVER,\n _endTypesOptions.ON,\n _endTypesOptions.AFTER,\n ]),\n }),\n ).description('end types options'),\n endTimesOptions: PropTypes.arrayOf(\n PropTypes.shape({\n label: PropTypes.string,\n value: PropTypes.string,\n }),\n ).description('end time options'),\n dayOfWeekOptions: PropTypes.arrayOf(\n PropTypes.shape({\n label: PropTypes.string,\n value: PropTypes.string,\n }),\n ).defaultValue('day of week options'),\n dayOfWeekOptionsEnable: PropTypes.bool\n .description('whether to enable day of week options or not')\n .defaultValue(true),\n dayOfMonthOptions: PropTypes.arrayOf(\n PropTypes.shape({\n label: PropTypes.string,\n value: PropTypes.string,\n }),\n ).description('day of month options'),\n dayOfMonthOptionsEnable: PropTypes.bool\n .description('whether to enable day of month options or not')\n .defaultValue(true),\n dayOfYearOptions: PropTypes.arrayOf(\n PropTypes.shape({\n label: PropTypes.string,\n value: PropTypes.string,\n }),\n ).description('day of year options'),\n dayOfYearOptionsEnable: PropTypes.bool\n .description('whether to enable day of month options or not')\n .defaultValue(true),\n displayMonthCustomOption: PropTypes.bool\n .description('whether to display month custom options or not')\n .defaultValue(false),\n displayYearCustomOption: PropTypes.bool\n .description('whether to display year custom options or not')\n .defaultValue(false),\n dayOfMonthAsCurrentDateOptions: PropTypes.oneOf([\n 'numberOfMonth',\n 'dayOfTheWeekOfMonth',\n ])\n .description('day of month as current date options')\n .defaultValue(['numberOfMonth', 'dayOfTheWeekOfMonth']),\n dayOfYearAsCurrentDateOptions: PropTypes.oneOf([\n 'numberOfYear',\n 'dayOfTheMonthOfYear',\n ])\n .description('day of year as current date options')\n .defaultValue(['numberOfYear', 'dayOfTheMonthOfYear']),\n onChange: PropTypes.func.description('function called on change'),\n placeholder: PropTypes.string\n .description('placeholder value')\n .defaultValue('Select Range'),\n modalSize: PropTypes.oneOf(['medium', 'small', 'large'])\n .description('Size of the modal')\n .defaultValue('medium'),\n modalTitle: PropTypes.string\n .description('title of the modal')\n .defaultValue('Report Scheduling'),\n confirmLabel: PropTypes.string\n .description('label of confirm button')\n .defaultValue('Apply'),\n rejectLabel: PropTypes.string\n .description('Label of reject button')\n .defaultValue('Cancel'),\n modalType: PropTypes.oneOf(['confirm', 'alert'])\n .description('type of modal')\n .defaultValue('confirm'),\n onConfirmField: PropTypes.func.description('function called on confirm'),\n onRejectField: PropTypes.func.description('function called on reject'),\n openModal: PropTypes.bool.description('modal open or closed'),\n appElement: PropTypes.string.description('app element'),\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).description(\n 'value',\n ),\n customRange: PropTypes.object.description('custom range'),\n customOptionRender: PropTypes.element\n .description('custom renderer of options')\n .defaultValue(CustomOptionRender),\n displayCurrentMonthYear: PropTypes.bool\n .description('display current month year or not')\n .defaultValue(true),\n timeZoneOptions: PropTypes.arrayOf(\n PropTypes.shape({\n label: PropTypes.string,\n value: PropTypes.string,\n }),\n ).description('time zone dropdown options'),\n useTimezoneSelector: PropTypes.bool\n .description('use time zone selector or not')\n .defaultValue(false),\n allowMultipleDaysOfWeek: PropTypes.bool\n .description('allow multiple days of week or not')\n .defaultValue(false),\n advanceOption: PropTypes.shape({\n label: PropTypes.string,\n value: PropTypes.string,\n isAdvance: true, // true is required\n }).description('advanced options'),\n isValidRecurrence: PropTypes.func.description(\n 'is valid recurrence range or nor',\n ),\n validationMessage: PropTypes.oneOfType([\n PropTypes.element,\n PropTypes.string,\n ]).description('validation messagge'),\n endDayBlocked: PropTypes.func.description('block end date'),\n startDayBlocked: PropTypes.func.description('block start date'),\n repeatFrecuencyCustomProps: PropTypes.shape({}).description(\n 'repeat frecuency custom props',\n ),\n};\n\nDSDateTimeRecurrenceSelector.propTypes = dateTimeRecurrenceSelectorProps;\nDSDateTimeRecurrenceSelector.displayName = 'DSDateTimeRecurrenceSelector';\nconst DateTimeRecurenceSelectorWithSchema = describe(\n DSDateTimeRecurrenceSelector,\n);\nDateTimeRecurenceSelectorWithSchema.propTypes = dateTimeRecurrenceSelectorProps;\n\nexport { DateTimeRecurenceSelectorWithSchema };\nexport default DSDateTimeRecurrenceSelector;\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADCvB,mBAAkB;AAClB,
|
|
4
|
+
"sourcesContent": ["/* eslint-disable max-lines */\nimport React from 'react';\nimport { PropTypes, describe } from '@elliemae/ds-utilities';\nimport DateTimeRecurrenceSelectorImpl from './components/DateTimeRecurenceSelectorImpl';\nimport { dropdownPreselectedOptions } from './options/dropdownPreselectedOptions';\nimport {\n DropdownRepeatOptionsTypes,\n dropdownRepeatOptions,\n} from './options/dropdownRepeatOptions';\nimport { dropdownDayOfWeekOptions } from './options/dropdownDayOfWeekOptions';\nimport { dropdownDayOfMonthOptions } from './options/dropdownDayOfMonthOptions';\nimport { dropdownDayOfYearOptions } from './options/dropdownDayOfYearOptions';\nimport {\n endTypesOptions as _endTypesOptions,\n endTimesOptions as _endTimesOptions,\n} from './options/endTypesOptions';\nimport CustomOptionRender from './components/CustomOptionRender/CustomOptionRender';\nimport {\n DropdownTimeZoneTypes,\n dropdownTimeZoneOptions,\n} from './options/dropdownTimeZoneOptions';\n\nconst DSDateTimeRecurrenceSelector = ({\n containerProps = {},\n className = '',\n preselectedOptions = dropdownPreselectedOptions,\n repeatOptions = dropdownRepeatOptions,\n endTypesOptions = _endTypesOptions,\n endTimesOptions = _endTimesOptions,\n dayOfWeekOptions = dropdownDayOfWeekOptions,\n dayOfWeekOptionsEnable = true,\n dayOfMonthOptions = dropdownDayOfMonthOptions,\n dayOfMonthOptionsEnable = true,\n dayOfYearOptions = dropdownDayOfYearOptions,\n dayOfYearOptionsEnable = true,\n displayMonthCustomOption = false,\n displayYearCustomOption = false,\n dayOfMonthAsCurrentDateOptions = ['numberOfMonth', 'dayOfTheWeekOfMonth'],\n dayOfYearAsCurrentDateOptions = ['numberOfYear', 'dayOfTheMonthOfYear'],\n onChange = () => null,\n placeholder = 'Select Range',\n modalSize = 'medium',\n modalTitle = 'Report Scheduling',\n confirmLabel = 'Apply',\n rejectLabel = 'Cancel',\n modalType = 'confirm',\n onConfirmField = () => null,\n onRejectField = () => null,\n openModal = false,\n appElement = '#root',\n value = null,\n customRange = null,\n customOptionRender = CustomOptionRender,\n displayCurrentMonthYear = true,\n timeZoneOptions = dropdownTimeZoneOptions,\n useTimezoneSelector = false,\n allowMultipleDaysOfWeek = false,\n advanceOption = {\n label: 'Custom',\n value: 'custom-range',\n isAdvance: true,\n },\n isValidRecurrence = () => true,\n validationMessage = '',\n endDayBlocked = () => false,\n startDayBlocked = () => false,\n repeatFrecuencyCustomProps = {},\n}) => (\n <DateTimeRecurrenceSelectorImpl\n advanceOption={advanceOption}\n allowMultipleDaysOfWeek={allowMultipleDaysOfWeek}\n appElement={appElement}\n className={className}\n confirmLabel={confirmLabel}\n containerProps={containerProps}\n customOptionRender={customOptionRender}\n customRange={customRange}\n dayOfMonthAsCurrentDateOptions={dayOfMonthAsCurrentDateOptions}\n dayOfMonthOptionsEnable={dayOfMonthOptionsEnable}\n dayOfWeekOptionsEnable={dayOfWeekOptionsEnable}\n dayOfYearAsCurrentDateOptions={dayOfYearAsCurrentDateOptions}\n dayOfYearOptionsEnable={dayOfYearOptionsEnable}\n displayCurrentMonthYear={displayCurrentMonthYear}\n displayMonthCustomOption={displayMonthCustomOption}\n displayYearCustomOption={displayYearCustomOption}\n dropdownDayOfMonthOptions={dayOfMonthOptions}\n dropdownDayOfWeekOptions={dayOfWeekOptions}\n dropdownDayOfYearOptions={dayOfYearOptions}\n dropdownPreselectedOptions={preselectedOptions}\n dropdownRepeatOptions={repeatOptions}\n endDayBlocked={endDayBlocked}\n endTimesOptions={endTimesOptions}\n endTypesOptions={endTypesOptions}\n isValidRecurrence={isValidRecurrence}\n modalSize={modalSize}\n modalTitle={modalTitle}\n modalType={modalType}\n onChange={onChange}\n onConfirmField={onConfirmField}\n onRejectField={onRejectField}\n openModal={openModal}\n placeholder={placeholder}\n rejectLabel={rejectLabel}\n repeatFrecuencyCustomProps={repeatFrecuencyCustomProps}\n startDayBlocked={startDayBlocked}\n timeZoneOptions={timeZoneOptions}\n useTimezoneSelector={useTimezoneSelector}\n validationMessage={validationMessage}\n value={value}\n />\n);\n\nexport * from './options/endTypesOptions';\n\nexport {\n DSDateTimeRecurrenceSelector,\n DropdownRepeatOptionsTypes,\n dropdownRepeatOptions,\n dropdownPreselectedOptions,\n dropdownDayOfWeekOptions,\n dropdownDayOfMonthOptions,\n dropdownDayOfYearOptions,\n DropdownTimeZoneTypes,\n dropdownTimeZoneOptions,\n};\n\nconst dateTimeRecurrenceSelectorProps = {\n containerProps: PropTypes.shape({}).description(\n 'Set of Properties attached to the main container',\n ),\n className: PropTypes.string.description('html class attribute'),\n preselectedOptions: PropTypes.arrayOf(\n PropTypes.shape({\n label: PropTypes.string,\n value: PropTypes.string,\n }),\n ).description('pre selected options'),\n repeatOptions: PropTypes.arrayOf(\n PropTypes.shape({\n label: PropTypes.string,\n value: PropTypes.string,\n }),\n ).description('repeat options'),\n endTypesOptions: PropTypes.arrayOf(\n PropTypes.shape({\n label: PropTypes.string,\n value: PropTypes.oneOf([\n _endTypesOptions.NEVER,\n _endTypesOptions.ON,\n _endTypesOptions.AFTER,\n ]),\n }),\n ).description('end types options'),\n endTimesOptions: PropTypes.arrayOf(\n PropTypes.shape({\n label: PropTypes.string,\n value: PropTypes.string,\n }),\n ).description('end time options'),\n dayOfWeekOptions: PropTypes.arrayOf(\n PropTypes.shape({\n label: PropTypes.string,\n value: PropTypes.string,\n }),\n ).defaultValue('day of week options'),\n dayOfWeekOptionsEnable: PropTypes.bool\n .description('whether to enable day of week options or not')\n .defaultValue(true),\n dayOfMonthOptions: PropTypes.arrayOf(\n PropTypes.shape({\n label: PropTypes.string,\n value: PropTypes.string,\n }),\n ).description('day of month options'),\n dayOfMonthOptionsEnable: PropTypes.bool\n .description('whether to enable day of month options or not')\n .defaultValue(true),\n dayOfYearOptions: PropTypes.arrayOf(\n PropTypes.shape({\n label: PropTypes.string,\n value: PropTypes.string,\n }),\n ).description('day of year options'),\n dayOfYearOptionsEnable: PropTypes.bool\n .description('whether to enable day of month options or not')\n .defaultValue(true),\n displayMonthCustomOption: PropTypes.bool\n .description('whether to display month custom options or not')\n .defaultValue(false),\n displayYearCustomOption: PropTypes.bool\n .description('whether to display year custom options or not')\n .defaultValue(false),\n dayOfMonthAsCurrentDateOptions: PropTypes.oneOf([\n 'numberOfMonth',\n 'dayOfTheWeekOfMonth',\n ])\n .description('day of month as current date options')\n .defaultValue(['numberOfMonth', 'dayOfTheWeekOfMonth']),\n dayOfYearAsCurrentDateOptions: PropTypes.oneOf([\n 'numberOfYear',\n 'dayOfTheMonthOfYear',\n ])\n .description('day of year as current date options')\n .defaultValue(['numberOfYear', 'dayOfTheMonthOfYear']),\n onChange: PropTypes.func.description('function called on change'),\n placeholder: PropTypes.string\n .description('placeholder value')\n .defaultValue('Select Range'),\n modalSize: PropTypes.oneOf(['medium', 'small', 'large'])\n .description('Size of the modal')\n .defaultValue('medium'),\n modalTitle: PropTypes.string\n .description('title of the modal')\n .defaultValue('Report Scheduling'),\n confirmLabel: PropTypes.string\n .description('label of confirm button')\n .defaultValue('Apply'),\n rejectLabel: PropTypes.string\n .description('Label of reject button')\n .defaultValue('Cancel'),\n modalType: PropTypes.oneOf(['confirm', 'alert'])\n .description('type of modal')\n .defaultValue('confirm'),\n onConfirmField: PropTypes.func.description('function called on confirm'),\n onRejectField: PropTypes.func.description('function called on reject'),\n openModal: PropTypes.bool.description('modal open or closed'),\n appElement: PropTypes.string.description('app element'),\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).description(\n 'value',\n ),\n customRange: PropTypes.object.description('custom range'),\n customOptionRender: PropTypes.element\n .description('custom renderer of options')\n .defaultValue(CustomOptionRender),\n displayCurrentMonthYear: PropTypes.bool\n .description('display current month year or not')\n .defaultValue(true),\n timeZoneOptions: PropTypes.arrayOf(\n PropTypes.shape({\n label: PropTypes.string,\n value: PropTypes.string,\n }),\n ).description('time zone dropdown options'),\n useTimezoneSelector: PropTypes.bool\n .description('use time zone selector or not')\n .defaultValue(false),\n allowMultipleDaysOfWeek: PropTypes.bool\n .description('allow multiple days of week or not')\n .defaultValue(false),\n advanceOption: PropTypes.shape({\n label: PropTypes.string,\n value: PropTypes.string,\n isAdvance: true, // true is required\n }).description('advanced options'),\n isValidRecurrence: PropTypes.func.description(\n 'is valid recurrence range or nor',\n ),\n validationMessage: PropTypes.oneOfType([\n PropTypes.element,\n PropTypes.string,\n ]).description('validation messagge'),\n endDayBlocked: PropTypes.func.description('block end date'),\n startDayBlocked: PropTypes.func.description('block start date'),\n repeatFrecuencyCustomProps: PropTypes.shape({}).description(\n 'repeat frecuency custom props',\n ),\n};\n\nDSDateTimeRecurrenceSelector.propTypes = dateTimeRecurrenceSelectorProps;\nDSDateTimeRecurrenceSelector.displayName = 'DSDateTimeRecurrenceSelector';\nconst DateTimeRecurenceSelectorWithSchema = describe(\n DSDateTimeRecurrenceSelector,\n);\nDateTimeRecurenceSelectorWithSchema.propTypes = dateTimeRecurrenceSelectorProps;\n\nexport { DateTimeRecurenceSelectorWithSchema };\nexport default DSDateTimeRecurrenceSelector;\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADCvB,mBAAkB;AAClB,0BAAoC;AACpC,2CAA2C;AAC3C,wCAA2C;AAC3C,mCAGO;AACP,sCAAyC;AACzC,uCAA0C;AAC1C,sCAAyC;AACzC,6BAGO;AACP,gCAA+B;AAC/B,qCAGO;AA4FP,iDAAc,sCAhHd;AAsBA,MAAM,+BAA+B,CAAC;AAAA,EACpC,iBAAiB,CAAC;AAAA,EAClB,YAAY;AAAA,EACZ,qBAAqB;AAAA,EACrB,gBAAgB;AAAA,EAChB,kBAAkB;AAAA,EAClB,kBAAkB;AAAA,EAClB,mBAAmB;AAAA,EACnB,yBAAyB;AAAA,EACzB,oBAAoB;AAAA,EACpB,0BAA0B;AAAA,EAC1B,mBAAmB;AAAA,EACnB,yBAAyB;AAAA,EACzB,2BAA2B;AAAA,EAC3B,0BAA0B;AAAA,EAC1B,iCAAiC,CAAC,iBAAiB,qBAAqB;AAAA,EACxE,gCAAgC,CAAC,gBAAgB,qBAAqB;AAAA,EACtE,WAAW,MAAM;AAAA,EACjB,cAAc;AAAA,EACd,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4B,EACxC,aAAa,iCAAkB;AAAA,EAClC,yBAAyB,8BAAU,KAChC,YAAY,mCAAmC,EAC/C,aAAa,IAAI;AAAA,EACpB,iBAAiB,8BAAU,QACzB,8BAAU,MAAM;AAAA,IACd,OAAO,8BAAU;AAAA,IACjB,OAAO,8BAAU;AAAA,EACnB,CAAC,CACH,EAAE,YAAY,4BAA4B;AAAA,EAC1C,qBAAqB,8BAAU,KAC5B,YAAY,+BAA+B,EAC3C,aAAa,KAAK;AAAA,EACrB,yBAAyB,8BAAU,KAChC,YAAY,oCAAoC,EAChD,aAAa,KAAK;AAAA,EACrB,eAAe,8BAAU,MAAM;AAAA,IAC7B,OAAO,8BAAU;AAAA,IACjB,OAAO,8BAAU;AAAA,IACjB,WAAW;AAAA,EACb,CAAC,EAAE,YAAY,kBAAkB;AAAA,EACjC,mBAAmB,8BAAU,KAAK,YAChC,kCACF;AAAA,EACA,mBAAmB,8BAAU,UAAU;AAAA,IACrC,8BAAU;AAAA,IACV,8BAAU;AAAA,EACZ,CAAC,EAAE,YAAY,qBAAqB;AAAA,EACpC,eAAe,8BAAU,KAAK,YAAY,gBAAgB;AAAA,EAC1D,iBAAiB,8BAAU,KAAK,YAAY,kBAAkB;AAAA,EAC9D,4BAA4B,8BAAU,MAAM,CAAC,CAAC,EAAE,YAC9C,+BACF;AACF;AAEA,6BAA6B,YAAY;AACzC,6BAA6B,cAAc;AAC3C,MAAM,sCAAsC,kCAC1C,4BACF;AACA,oCAAoC,YAAY;AAGhD,IAAO,uCAAQ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import React2 from "react";
|
|
3
|
-
import { PropTypes, describe } from "
|
|
3
|
+
import { PropTypes, describe } from "@elliemae/ds-utilities";
|
|
4
4
|
import DateTimeRecurrenceSelectorImpl from "./components/DateTimeRecurenceSelectorImpl";
|
|
5
5
|
import { dropdownPreselectedOptions } from "./options/dropdownPreselectedOptions";
|
|
6
6
|
import {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../scripts/build/transpile/react-shim.js", "../../src/DSDateTimeRecurrenceSelector.tsx"],
|
|
4
|
-
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "/* eslint-disable max-lines */\nimport React from 'react';\nimport { PropTypes, describe } from 'react-desc';\nimport DateTimeRecurrenceSelectorImpl from './components/DateTimeRecurenceSelectorImpl';\nimport { dropdownPreselectedOptions } from './options/dropdownPreselectedOptions';\nimport {\n DropdownRepeatOptionsTypes,\n dropdownRepeatOptions,\n} from './options/dropdownRepeatOptions';\nimport { dropdownDayOfWeekOptions } from './options/dropdownDayOfWeekOptions';\nimport { dropdownDayOfMonthOptions } from './options/dropdownDayOfMonthOptions';\nimport { dropdownDayOfYearOptions } from './options/dropdownDayOfYearOptions';\nimport {\n endTypesOptions as _endTypesOptions,\n endTimesOptions as _endTimesOptions,\n} from './options/endTypesOptions';\nimport CustomOptionRender from './components/CustomOptionRender/CustomOptionRender';\nimport {\n DropdownTimeZoneTypes,\n dropdownTimeZoneOptions,\n} from './options/dropdownTimeZoneOptions';\n\nconst DSDateTimeRecurrenceSelector = ({\n containerProps = {},\n className = '',\n preselectedOptions = dropdownPreselectedOptions,\n repeatOptions = dropdownRepeatOptions,\n endTypesOptions = _endTypesOptions,\n endTimesOptions = _endTimesOptions,\n dayOfWeekOptions = dropdownDayOfWeekOptions,\n dayOfWeekOptionsEnable = true,\n dayOfMonthOptions = dropdownDayOfMonthOptions,\n dayOfMonthOptionsEnable = true,\n dayOfYearOptions = dropdownDayOfYearOptions,\n dayOfYearOptionsEnable = true,\n displayMonthCustomOption = false,\n displayYearCustomOption = false,\n dayOfMonthAsCurrentDateOptions = ['numberOfMonth', 'dayOfTheWeekOfMonth'],\n dayOfYearAsCurrentDateOptions = ['numberOfYear', 'dayOfTheMonthOfYear'],\n onChange = () => null,\n placeholder = 'Select Range',\n modalSize = 'medium',\n modalTitle = 'Report Scheduling',\n confirmLabel = 'Apply',\n rejectLabel = 'Cancel',\n modalType = 'confirm',\n onConfirmField = () => null,\n onRejectField = () => null,\n openModal = false,\n appElement = '#root',\n value = null,\n customRange = null,\n customOptionRender = CustomOptionRender,\n displayCurrentMonthYear = true,\n timeZoneOptions = dropdownTimeZoneOptions,\n useTimezoneSelector = false,\n allowMultipleDaysOfWeek = false,\n advanceOption = {\n label: 'Custom',\n value: 'custom-range',\n isAdvance: true,\n },\n isValidRecurrence = () => true,\n validationMessage = '',\n endDayBlocked = () => false,\n startDayBlocked = () => false,\n repeatFrecuencyCustomProps = {},\n}) => (\n <DateTimeRecurrenceSelectorImpl\n advanceOption={advanceOption}\n allowMultipleDaysOfWeek={allowMultipleDaysOfWeek}\n appElement={appElement}\n className={className}\n confirmLabel={confirmLabel}\n containerProps={containerProps}\n customOptionRender={customOptionRender}\n customRange={customRange}\n dayOfMonthAsCurrentDateOptions={dayOfMonthAsCurrentDateOptions}\n dayOfMonthOptionsEnable={dayOfMonthOptionsEnable}\n dayOfWeekOptionsEnable={dayOfWeekOptionsEnable}\n dayOfYearAsCurrentDateOptions={dayOfYearAsCurrentDateOptions}\n dayOfYearOptionsEnable={dayOfYearOptionsEnable}\n displayCurrentMonthYear={displayCurrentMonthYear}\n displayMonthCustomOption={displayMonthCustomOption}\n displayYearCustomOption={displayYearCustomOption}\n dropdownDayOfMonthOptions={dayOfMonthOptions}\n dropdownDayOfWeekOptions={dayOfWeekOptions}\n dropdownDayOfYearOptions={dayOfYearOptions}\n dropdownPreselectedOptions={preselectedOptions}\n dropdownRepeatOptions={repeatOptions}\n endDayBlocked={endDayBlocked}\n endTimesOptions={endTimesOptions}\n endTypesOptions={endTypesOptions}\n isValidRecurrence={isValidRecurrence}\n modalSize={modalSize}\n modalTitle={modalTitle}\n modalType={modalType}\n onChange={onChange}\n onConfirmField={onConfirmField}\n onRejectField={onRejectField}\n openModal={openModal}\n placeholder={placeholder}\n rejectLabel={rejectLabel}\n repeatFrecuencyCustomProps={repeatFrecuencyCustomProps}\n startDayBlocked={startDayBlocked}\n timeZoneOptions={timeZoneOptions}\n useTimezoneSelector={useTimezoneSelector}\n validationMessage={validationMessage}\n value={value}\n />\n);\n\nexport * from './options/endTypesOptions';\n\nexport {\n DSDateTimeRecurrenceSelector,\n DropdownRepeatOptionsTypes,\n dropdownRepeatOptions,\n dropdownPreselectedOptions,\n dropdownDayOfWeekOptions,\n dropdownDayOfMonthOptions,\n dropdownDayOfYearOptions,\n DropdownTimeZoneTypes,\n dropdownTimeZoneOptions,\n};\n\nconst dateTimeRecurrenceSelectorProps = {\n containerProps: PropTypes.shape({}).description(\n 'Set of Properties attached to the main container',\n ),\n className: PropTypes.string.description('html class attribute'),\n preselectedOptions: PropTypes.arrayOf(\n PropTypes.shape({\n label: PropTypes.string,\n value: PropTypes.string,\n }),\n ).description('pre selected options'),\n repeatOptions: PropTypes.arrayOf(\n PropTypes.shape({\n label: PropTypes.string,\n value: PropTypes.string,\n }),\n ).description('repeat options'),\n endTypesOptions: PropTypes.arrayOf(\n PropTypes.shape({\n label: PropTypes.string,\n value: PropTypes.oneOf([\n _endTypesOptions.NEVER,\n _endTypesOptions.ON,\n _endTypesOptions.AFTER,\n ]),\n }),\n ).description('end types options'),\n endTimesOptions: PropTypes.arrayOf(\n PropTypes.shape({\n label: PropTypes.string,\n value: PropTypes.string,\n }),\n ).description('end time options'),\n dayOfWeekOptions: PropTypes.arrayOf(\n PropTypes.shape({\n label: PropTypes.string,\n value: PropTypes.string,\n }),\n ).defaultValue('day of week options'),\n dayOfWeekOptionsEnable: PropTypes.bool\n .description('whether to enable day of week options or not')\n .defaultValue(true),\n dayOfMonthOptions: PropTypes.arrayOf(\n PropTypes.shape({\n label: PropTypes.string,\n value: PropTypes.string,\n }),\n ).description('day of month options'),\n dayOfMonthOptionsEnable: PropTypes.bool\n .description('whether to enable day of month options or not')\n .defaultValue(true),\n dayOfYearOptions: PropTypes.arrayOf(\n PropTypes.shape({\n label: PropTypes.string,\n value: PropTypes.string,\n }),\n ).description('day of year options'),\n dayOfYearOptionsEnable: PropTypes.bool\n .description('whether to enable day of month options or not')\n .defaultValue(true),\n displayMonthCustomOption: PropTypes.bool\n .description('whether to display month custom options or not')\n .defaultValue(false),\n displayYearCustomOption: PropTypes.bool\n .description('whether to display year custom options or not')\n .defaultValue(false),\n dayOfMonthAsCurrentDateOptions: PropTypes.oneOf([\n 'numberOfMonth',\n 'dayOfTheWeekOfMonth',\n ])\n .description('day of month as current date options')\n .defaultValue(['numberOfMonth', 'dayOfTheWeekOfMonth']),\n dayOfYearAsCurrentDateOptions: PropTypes.oneOf([\n 'numberOfYear',\n 'dayOfTheMonthOfYear',\n ])\n .description('day of year as current date options')\n .defaultValue(['numberOfYear', 'dayOfTheMonthOfYear']),\n onChange: PropTypes.func.description('function called on change'),\n placeholder: PropTypes.string\n .description('placeholder value')\n .defaultValue('Select Range'),\n modalSize: PropTypes.oneOf(['medium', 'small', 'large'])\n .description('Size of the modal')\n .defaultValue('medium'),\n modalTitle: PropTypes.string\n .description('title of the modal')\n .defaultValue('Report Scheduling'),\n confirmLabel: PropTypes.string\n .description('label of confirm button')\n .defaultValue('Apply'),\n rejectLabel: PropTypes.string\n .description('Label of reject button')\n .defaultValue('Cancel'),\n modalType: PropTypes.oneOf(['confirm', 'alert'])\n .description('type of modal')\n .defaultValue('confirm'),\n onConfirmField: PropTypes.func.description('function called on confirm'),\n onRejectField: PropTypes.func.description('function called on reject'),\n openModal: PropTypes.bool.description('modal open or closed'),\n appElement: PropTypes.string.description('app element'),\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).description(\n 'value',\n ),\n customRange: PropTypes.object.description('custom range'),\n customOptionRender: PropTypes.element\n .description('custom renderer of options')\n .defaultValue(CustomOptionRender),\n displayCurrentMonthYear: PropTypes.bool\n .description('display current month year or not')\n .defaultValue(true),\n timeZoneOptions: PropTypes.arrayOf(\n PropTypes.shape({\n label: PropTypes.string,\n value: PropTypes.string,\n }),\n ).description('time zone dropdown options'),\n useTimezoneSelector: PropTypes.bool\n .description('use time zone selector or not')\n .defaultValue(false),\n allowMultipleDaysOfWeek: PropTypes.bool\n .description('allow multiple days of week or not')\n .defaultValue(false),\n advanceOption: PropTypes.shape({\n label: PropTypes.string,\n value: PropTypes.string,\n isAdvance: true, // true is required\n }).description('advanced options'),\n isValidRecurrence: PropTypes.func.description(\n 'is valid recurrence range or nor',\n ),\n validationMessage: PropTypes.oneOfType([\n PropTypes.element,\n PropTypes.string,\n ]).description('validation messagge'),\n endDayBlocked: PropTypes.func.description('block end date'),\n startDayBlocked: PropTypes.func.description('block start date'),\n repeatFrecuencyCustomProps: PropTypes.shape({}).description(\n 'repeat frecuency custom props',\n ),\n};\n\nDSDateTimeRecurrenceSelector.propTypes = dateTimeRecurrenceSelectorProps;\nDSDateTimeRecurrenceSelector.displayName = 'DSDateTimeRecurrenceSelector';\nconst DateTimeRecurenceSelectorWithSchema = describe(\n DSDateTimeRecurrenceSelector,\n);\nDateTimeRecurenceSelectorWithSchema.propTypes = dateTimeRecurrenceSelectorProps;\n\nexport { DateTimeRecurenceSelectorWithSchema };\nexport default DSDateTimeRecurrenceSelector;\n"],
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "/* eslint-disable max-lines */\nimport React from 'react';\nimport { PropTypes, describe } from '@elliemae/ds-utilities';\nimport DateTimeRecurrenceSelectorImpl from './components/DateTimeRecurenceSelectorImpl';\nimport { dropdownPreselectedOptions } from './options/dropdownPreselectedOptions';\nimport {\n DropdownRepeatOptionsTypes,\n dropdownRepeatOptions,\n} from './options/dropdownRepeatOptions';\nimport { dropdownDayOfWeekOptions } from './options/dropdownDayOfWeekOptions';\nimport { dropdownDayOfMonthOptions } from './options/dropdownDayOfMonthOptions';\nimport { dropdownDayOfYearOptions } from './options/dropdownDayOfYearOptions';\nimport {\n endTypesOptions as _endTypesOptions,\n endTimesOptions as _endTimesOptions,\n} from './options/endTypesOptions';\nimport CustomOptionRender from './components/CustomOptionRender/CustomOptionRender';\nimport {\n DropdownTimeZoneTypes,\n dropdownTimeZoneOptions,\n} from './options/dropdownTimeZoneOptions';\n\nconst DSDateTimeRecurrenceSelector = ({\n containerProps = {},\n className = '',\n preselectedOptions = dropdownPreselectedOptions,\n repeatOptions = dropdownRepeatOptions,\n endTypesOptions = _endTypesOptions,\n endTimesOptions = _endTimesOptions,\n dayOfWeekOptions = dropdownDayOfWeekOptions,\n dayOfWeekOptionsEnable = true,\n dayOfMonthOptions = dropdownDayOfMonthOptions,\n dayOfMonthOptionsEnable = true,\n dayOfYearOptions = dropdownDayOfYearOptions,\n dayOfYearOptionsEnable = true,\n displayMonthCustomOption = false,\n displayYearCustomOption = false,\n dayOfMonthAsCurrentDateOptions = ['numberOfMonth', 'dayOfTheWeekOfMonth'],\n dayOfYearAsCurrentDateOptions = ['numberOfYear', 'dayOfTheMonthOfYear'],\n onChange = () => null,\n placeholder = 'Select Range',\n modalSize = 'medium',\n modalTitle = 'Report Scheduling',\n confirmLabel = 'Apply',\n rejectLabel = 'Cancel',\n modalType = 'confirm',\n onConfirmField = () => null,\n onRejectField = () => null,\n openModal = false,\n appElement = '#root',\n value = null,\n customRange = null,\n customOptionRender = CustomOptionRender,\n displayCurrentMonthYear = true,\n timeZoneOptions = dropdownTimeZoneOptions,\n useTimezoneSelector = false,\n allowMultipleDaysOfWeek = false,\n advanceOption = {\n label: 'Custom',\n value: 'custom-range',\n isAdvance: true,\n },\n isValidRecurrence = () => true,\n validationMessage = '',\n endDayBlocked = () => false,\n startDayBlocked = () => false,\n repeatFrecuencyCustomProps = {},\n}) => (\n <DateTimeRecurrenceSelectorImpl\n advanceOption={advanceOption}\n allowMultipleDaysOfWeek={allowMultipleDaysOfWeek}\n appElement={appElement}\n className={className}\n confirmLabel={confirmLabel}\n containerProps={containerProps}\n customOptionRender={customOptionRender}\n customRange={customRange}\n dayOfMonthAsCurrentDateOptions={dayOfMonthAsCurrentDateOptions}\n dayOfMonthOptionsEnable={dayOfMonthOptionsEnable}\n dayOfWeekOptionsEnable={dayOfWeekOptionsEnable}\n dayOfYearAsCurrentDateOptions={dayOfYearAsCurrentDateOptions}\n dayOfYearOptionsEnable={dayOfYearOptionsEnable}\n displayCurrentMonthYear={displayCurrentMonthYear}\n displayMonthCustomOption={displayMonthCustomOption}\n displayYearCustomOption={displayYearCustomOption}\n dropdownDayOfMonthOptions={dayOfMonthOptions}\n dropdownDayOfWeekOptions={dayOfWeekOptions}\n dropdownDayOfYearOptions={dayOfYearOptions}\n dropdownPreselectedOptions={preselectedOptions}\n dropdownRepeatOptions={repeatOptions}\n endDayBlocked={endDayBlocked}\n endTimesOptions={endTimesOptions}\n endTypesOptions={endTypesOptions}\n isValidRecurrence={isValidRecurrence}\n modalSize={modalSize}\n modalTitle={modalTitle}\n modalType={modalType}\n onChange={onChange}\n onConfirmField={onConfirmField}\n onRejectField={onRejectField}\n openModal={openModal}\n placeholder={placeholder}\n rejectLabel={rejectLabel}\n repeatFrecuencyCustomProps={repeatFrecuencyCustomProps}\n startDayBlocked={startDayBlocked}\n timeZoneOptions={timeZoneOptions}\n useTimezoneSelector={useTimezoneSelector}\n validationMessage={validationMessage}\n value={value}\n />\n);\n\nexport * from './options/endTypesOptions';\n\nexport {\n DSDateTimeRecurrenceSelector,\n DropdownRepeatOptionsTypes,\n dropdownRepeatOptions,\n dropdownPreselectedOptions,\n dropdownDayOfWeekOptions,\n dropdownDayOfMonthOptions,\n dropdownDayOfYearOptions,\n DropdownTimeZoneTypes,\n dropdownTimeZoneOptions,\n};\n\nconst dateTimeRecurrenceSelectorProps = {\n containerProps: PropTypes.shape({}).description(\n 'Set of Properties attached to the main container',\n ),\n className: PropTypes.string.description('html class attribute'),\n preselectedOptions: PropTypes.arrayOf(\n PropTypes.shape({\n label: PropTypes.string,\n value: PropTypes.string,\n }),\n ).description('pre selected options'),\n repeatOptions: PropTypes.arrayOf(\n PropTypes.shape({\n label: PropTypes.string,\n value: PropTypes.string,\n }),\n ).description('repeat options'),\n endTypesOptions: PropTypes.arrayOf(\n PropTypes.shape({\n label: PropTypes.string,\n value: PropTypes.oneOf([\n _endTypesOptions.NEVER,\n _endTypesOptions.ON,\n _endTypesOptions.AFTER,\n ]),\n }),\n ).description('end types options'),\n endTimesOptions: PropTypes.arrayOf(\n PropTypes.shape({\n label: PropTypes.string,\n value: PropTypes.string,\n }),\n ).description('end time options'),\n dayOfWeekOptions: PropTypes.arrayOf(\n PropTypes.shape({\n label: PropTypes.string,\n value: PropTypes.string,\n }),\n ).defaultValue('day of week options'),\n dayOfWeekOptionsEnable: PropTypes.bool\n .description('whether to enable day of week options or not')\n .defaultValue(true),\n dayOfMonthOptions: PropTypes.arrayOf(\n PropTypes.shape({\n label: PropTypes.string,\n value: PropTypes.string,\n }),\n ).description('day of month options'),\n dayOfMonthOptionsEnable: PropTypes.bool\n .description('whether to enable day of month options or not')\n .defaultValue(true),\n dayOfYearOptions: PropTypes.arrayOf(\n PropTypes.shape({\n label: PropTypes.string,\n value: PropTypes.string,\n }),\n ).description('day of year options'),\n dayOfYearOptionsEnable: PropTypes.bool\n .description('whether to enable day of month options or not')\n .defaultValue(true),\n displayMonthCustomOption: PropTypes.bool\n .description('whether to display month custom options or not')\n .defaultValue(false),\n displayYearCustomOption: PropTypes.bool\n .description('whether to display year custom options or not')\n .defaultValue(false),\n dayOfMonthAsCurrentDateOptions: PropTypes.oneOf([\n 'numberOfMonth',\n 'dayOfTheWeekOfMonth',\n ])\n .description('day of month as current date options')\n .defaultValue(['numberOfMonth', 'dayOfTheWeekOfMonth']),\n dayOfYearAsCurrentDateOptions: PropTypes.oneOf([\n 'numberOfYear',\n 'dayOfTheMonthOfYear',\n ])\n .description('day of year as current date options')\n .defaultValue(['numberOfYear', 'dayOfTheMonthOfYear']),\n onChange: PropTypes.func.description('function called on change'),\n placeholder: PropTypes.string\n .description('placeholder value')\n .defaultValue('Select Range'),\n modalSize: PropTypes.oneOf(['medium', 'small', 'large'])\n .description('Size of the modal')\n .defaultValue('medium'),\n modalTitle: PropTypes.string\n .description('title of the modal')\n .defaultValue('Report Scheduling'),\n confirmLabel: PropTypes.string\n .description('label of confirm button')\n .defaultValue('Apply'),\n rejectLabel: PropTypes.string\n .description('Label of reject button')\n .defaultValue('Cancel'),\n modalType: PropTypes.oneOf(['confirm', 'alert'])\n .description('type of modal')\n .defaultValue('confirm'),\n onConfirmField: PropTypes.func.description('function called on confirm'),\n onRejectField: PropTypes.func.description('function called on reject'),\n openModal: PropTypes.bool.description('modal open or closed'),\n appElement: PropTypes.string.description('app element'),\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).description(\n 'value',\n ),\n customRange: PropTypes.object.description('custom range'),\n customOptionRender: PropTypes.element\n .description('custom renderer of options')\n .defaultValue(CustomOptionRender),\n displayCurrentMonthYear: PropTypes.bool\n .description('display current month year or not')\n .defaultValue(true),\n timeZoneOptions: PropTypes.arrayOf(\n PropTypes.shape({\n label: PropTypes.string,\n value: PropTypes.string,\n }),\n ).description('time zone dropdown options'),\n useTimezoneSelector: PropTypes.bool\n .description('use time zone selector or not')\n .defaultValue(false),\n allowMultipleDaysOfWeek: PropTypes.bool\n .description('allow multiple days of week or not')\n .defaultValue(false),\n advanceOption: PropTypes.shape({\n label: PropTypes.string,\n value: PropTypes.string,\n isAdvance: true, // true is required\n }).description('advanced options'),\n isValidRecurrence: PropTypes.func.description(\n 'is valid recurrence range or nor',\n ),\n validationMessage: PropTypes.oneOfType([\n PropTypes.element,\n PropTypes.string,\n ]).description('validation messagge'),\n endDayBlocked: PropTypes.func.description('block end date'),\n startDayBlocked: PropTypes.func.description('block start date'),\n repeatFrecuencyCustomProps: PropTypes.shape({}).description(\n 'repeat frecuency custom props',\n ),\n};\n\nDSDateTimeRecurrenceSelector.propTypes = dateTimeRecurrenceSelectorProps;\nDSDateTimeRecurrenceSelector.displayName = 'DSDateTimeRecurrenceSelector';\nconst DateTimeRecurenceSelectorWithSchema = describe(\n DSDateTimeRecurrenceSelector,\n);\nDateTimeRecurenceSelectorWithSchema.propTypes = dateTimeRecurrenceSelectorProps;\n\nexport { DateTimeRecurenceSelectorWithSchema };\nexport default DSDateTimeRecurrenceSelector;\n"],
|
|
5
5
|
"mappings": "AAAA;ACCA;AACA;AACA;AACA;AACA;AAAA;AAAA;AAAA;AAIA;AACA;AACA;AACA;AAAA;AAAA;AAAA;AAIA;AACA;AAAA;AAAA;AAAA;AAKA,MAAM,+BAA+B,CAAC;AAAA,EACpC,iBAAiB,CAAC;AAAA,EAClB,YAAY;AAAA,EACZ,qBAAqB;AAAA,EACrB,gBAAgB;AAAA,EAChB,kBAAkB;AAAA,EAClB,kBAAkB;AAAA,EAClB,mBAAmB;AAAA,EACnB,yBAAyB;AAAA,EACzB,oBAAoB;AAAA,EACpB,0BAA0B;AAAA,EAC1B,mBAAmB;AAAA,EACnB,yBAAyB;AAAA,EACzB,2BAA2B;AAAA,EAC3B,0BAA0B;AAAA,EAC1B,iCAAiC,CAAC,iBAAiB,qBAAqB;AAAA,EACxE,gCAAgC,CAAC,gBAAgB,qBAAqB;AAAA,EACtE,WAAW,MAAM;AAAA,EACjB,cAAc;AAAA,EACd,YAAY;AAAA,EACZ,aAAa;AAAA,EACb,eAAe;AAAA,EACf,cAAc;AAAA,EACd,YAAY;AAAA,EACZ,iBAAiB,MAAM;AAAA,EACvB,gBAAgB,MAAM;AAAA,EACtB,YAAY;AAAA,EACZ,aAAa;AAAA,EACb,QAAQ;AAAA,EACR,cAAc;AAAA,EACd,qBAAqB;AAAA,EACrB,0BAA0B;AAAA,EAC1B,kBAAkB;AAAA,EAClB,sBAAsB;AAAA,EACtB,0BAA0B;AAAA,EAC1B,gBAAgB;AAAA,IACd,OAAO;AAAA,IACP,OAAO;AAAA,IACP,WAAW;AAAA,EACb;AAAA,EACA,oBAAoB,MAAM;AAAA,EAC1B,oBAAoB;AAAA,EACpB,gBAAgB,MAAM;AAAA,EACtB,kBAAkB,MAAM;AAAA,EACxB,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B,UAAU,UAAU;AAAA,IACrC,UAAU;AAAA,IACV,UAAU;AAAA,EACZ,CAAC,EAAE,YAAY,qBAAqB;AAAA,EACpC,eAAe,UAAU,KAAK,YAAY,gBAAgB;AAAA,EAC1D,iBAAiB,UAAU,KAAK,YAAY,kBAAkB;AAAA,EAC9D,4BAA4B,UAAU,MAAM,CAAC,CAAC,EAAE,YAC9C,+BACF;AACF;AAEA,6BAA6B,YAAY;AACzC,6BAA6B,cAAc;AAC3C,MAAM,sCAAsC,SAC1C,4BACF;AACA,oCAAoC,YAAY;AAGhD,IAAO,uCAAQ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-date-time-recurrence-picker",
|
|
3
|
-
"version": "3.1.0-next.
|
|
3
|
+
"version": "3.1.0-next.5",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Date Time Recurrence Picker",
|
|
6
6
|
"files": [
|
|
@@ -146,22 +146,15 @@
|
|
|
146
146
|
"reportFile": "tests.xml",
|
|
147
147
|
"indent": 4
|
|
148
148
|
},
|
|
149
|
-
"scripts": {
|
|
150
|
-
"dev": "cross-env NODE_ENV=development node ../../scripts/build/build.mjs --watch",
|
|
151
|
-
"test": "node ../../scripts/testing/test.mjs",
|
|
152
|
-
"lint": "node ../../scripts/lint.mjs",
|
|
153
|
-
"dts": "node ../../scripts/dts.mjs",
|
|
154
|
-
"build": "cross-env NODE_ENV=production node ../../scripts/build/build.mjs"
|
|
155
|
-
},
|
|
156
149
|
"dependencies": {
|
|
157
|
-
"@elliemae/ds-classnames": "3.1.0-next.
|
|
158
|
-
"@elliemae/ds-date-picker": "3.1.0-next.
|
|
159
|
-
"@elliemae/ds-form": "3.1.0-next.
|
|
160
|
-
"@elliemae/ds-modal": "3.1.0-next.
|
|
161
|
-
"@elliemae/ds-time-picker": "3.1.0-next.
|
|
150
|
+
"@elliemae/ds-classnames": "3.1.0-next.5",
|
|
151
|
+
"@elliemae/ds-date-picker": "3.1.0-next.5",
|
|
152
|
+
"@elliemae/ds-form": "3.1.0-next.5",
|
|
153
|
+
"@elliemae/ds-modal": "3.1.0-next.5",
|
|
154
|
+
"@elliemae/ds-time-picker": "3.1.0-next.5",
|
|
155
|
+
"@elliemae/ds-utilities": "3.1.0-next.5",
|
|
162
156
|
"moment": "~2.29.1",
|
|
163
157
|
"react-dates": "~21.8.0",
|
|
164
|
-
"react-desc": "~4.1.3",
|
|
165
158
|
"react-select": "4.3.1"
|
|
166
159
|
},
|
|
167
160
|
"devDependencies": {
|
|
@@ -176,5 +169,13 @@
|
|
|
176
169
|
"publishConfig": {
|
|
177
170
|
"access": "public",
|
|
178
171
|
"typeSafety": false
|
|
172
|
+
},
|
|
173
|
+
"scripts": {
|
|
174
|
+
"dev": "cross-env NODE_ENV=development node ../../scripts/build/build.mjs --watch",
|
|
175
|
+
"test": "node ../../scripts/testing/test.mjs",
|
|
176
|
+
"lint": "node ../../scripts/lint.mjs",
|
|
177
|
+
"dts": "node ../../scripts/dts.mjs",
|
|
178
|
+
"build": "cross-env NODE_ENV=production node ../../scripts/build/build.mjs",
|
|
179
|
+
"checkDeps": "npx -yes ../ds-codemods check-missing-packages --projectFolderPath=\"./\" --ignorePackagesGlobPattern=\"\" --ignoreFilesGlobPattern=\"**/test-ables/*,**/tests/*\""
|
|
179
180
|
}
|
|
180
|
-
}
|
|
181
|
+
}
|