-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathControlManifest.Input.xml
More file actions
47 lines (33 loc) · 3.7 KB
/
ControlManifest.Input.xml
File metadata and controls
47 lines (33 loc) · 3.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?xml version="1.0" encoding="utf-8" ?>
<manifest>
<control namespace="sa" constructor="RangeBoundDatePicker" version="0.0.1" display-name-key="RangeBoundDatePicker" description-key="RangeBoundDatePicker description" control-type="virtual" >
<external-service-usage enabled="false">
</external-service-usage>
<!-- property node identifies a specific, configurable piece of data that the control expects from CDS -->
<property name="DateAndTime" display-name-key="DateAndTime" description-key="DateAndTime" of-type="DateAndTime.DateOnly" usage="bound" required="true" />
<property name="dateRangeSelector" display-name-key="Range Configuration" description-key="Range Configuration" of-type="Enum" usage="input" required="true">
<value name="Specific Duration" display-name-key="Specific Duration" description-key="Specific Duration">0</value>
<value name="Flexible Time Frame" display-name-key="Flexible Time Frame" description-key="Flexible Time Frame">1</value>
</property>
<property name="minDate" display-name-key="Minimum Date (YYYY-MM-DD)" description-key="Minimum Date" of-type="SingleLine.Text" usage="input" required="false" />
<property name="maxDate" display-name-key="Maximum Date (YYYY-MM-DD)" description-key="Maximum Date" of-type="SingleLine.Text" usage="input" required="false" />
<property name="pastTimeFrame" display-name-key="Past Duration (Year.Month.Day)" description-key="Specifies the past duration from today in the format Year.Month.Day. Adjusts dynamically based on the current date to determine how far back the date range should extend." of-type="SingleLine.Text" usage="input" required="false" />
<property name="futureTimeFrame" display-name-key="Future Duration (Year.Month.Day)" description-key="Specifies the future duration from today in the format Year.Month.Day. Adjusts dynamically based on the current date to determine how far into the future the date range should extend." of-type="SingleLine.Text" usage="input" required="false" />
<property name="disableDays" display-name-key="Disable Days" description-key="Choose which days to disable in the calendar" of-type="Enum" usage="input" required="true" default-value="-1" >
<value name="No Days" display-name-key="Specific Duration" description-key="Specific Duration">-1</value>
<value name="Saturdays" display-name-key="Flexible Time Frame" description-key="Flexible Time Frame">6</value>
<value name="Sundays" display-name-key="Flexible Time Frame" description-key="Flexible Time Frame">0</value>
<value name="Weekends" display-name-key="Weekends" description-key="Disable Weekends">7</value>
</property>
<property name="disabledDates" display-name-key="Disabled Dates (YYYY-MM-DD)" description-key="Comma-separated list of dates to disable, e.g., 2024-08-20,2024-12-25" of-type="SingleLine.Text" usage="input" required="false" />
<property name="allowTextInput" display-name-key="Allow Text Input" of-type="TwoOptions" usage="input" required="true" />
<property name="showMonthPickerAsOverlay" display-name-key="Show Month Picker As Overlay" description-key="Show month picker on top of date picker when visible." of-type="TwoOptions" usage="input" required="true" />
<property name="showWeekNumbers" display-name-key="Show Week Numbers" of-type="TwoOptions" usage="input" required="true" />
<property name="isRequired" display-name-key="Is Required" of-type="TwoOptions" usage="input" required="true" />
<resources>
<code path="index.ts" order="1"/>
<platform-library name="React" version="16.8.6" />
<platform-library name="Fluent" version="8.29.0" />
</resources>
</control>
</manifest>