stentor-models 1.59.101 → 1.59.102
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/lib/Form/FormField.d.ts +25 -0
- package/package.json +2 -2
package/lib/Form/FormField.d.ts
CHANGED
|
@@ -124,11 +124,36 @@ export interface FormCardInput extends FormInput {
|
|
|
124
124
|
color?: string;
|
|
125
125
|
align?: string;
|
|
126
126
|
}
|
|
127
|
+
export interface BusyDayDescription {
|
|
128
|
+
/**
|
|
129
|
+
* Blocks all weekends
|
|
130
|
+
*/
|
|
131
|
+
readonly blockWeekends?: boolean;
|
|
132
|
+
/**
|
|
133
|
+
* Blocks the current day.
|
|
134
|
+
*
|
|
135
|
+
* If it is a weekend and weekends are not blocked, it will be blocked.
|
|
136
|
+
* If it is a weekend and weekends are blocked, the it will be disregarded.
|
|
137
|
+
*/
|
|
138
|
+
readonly blockCurrentDay?: boolean;
|
|
139
|
+
/**
|
|
140
|
+
* Blocks the next number of business days.
|
|
141
|
+
*
|
|
142
|
+
* One business day will bock the next business day.
|
|
143
|
+
*/
|
|
144
|
+
readonly blockNextBusinessDays?: number;
|
|
145
|
+
}
|
|
127
146
|
/**
|
|
128
147
|
* Single date
|
|
129
148
|
*/
|
|
130
149
|
export interface FormDateInput extends FormInput {
|
|
131
150
|
preselecteDate?: Date;
|
|
151
|
+
/**
|
|
152
|
+
* Default busy days that will show as unavailable.
|
|
153
|
+
*
|
|
154
|
+
* These are only used when busy days are not provided by the FSM
|
|
155
|
+
*/
|
|
156
|
+
defaultBusyDays?: BusyDayDescription;
|
|
132
157
|
}
|
|
133
158
|
/**
|
|
134
159
|
* Date range
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
|
-
"version": "1.59.
|
|
7
|
+
"version": "1.59.102",
|
|
8
8
|
"description": "Models for 📣 stentor",
|
|
9
9
|
"types": "lib/index",
|
|
10
10
|
"typings": "lib/index",
|
|
@@ -33,5 +33,5 @@
|
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@xapp/patterns": "2.0.2"
|
|
35
35
|
},
|
|
36
|
-
"gitHead": "
|
|
36
|
+
"gitHead": "73b6228be17984e2d447c3cb64ffd323f7914523"
|
|
37
37
|
}
|