@dereekb/dbx-form 13.11.2 → 13.11.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.
|
@@ -2172,6 +2172,7 @@ const SELF_DEPENDENCY_TOKEN = '$self'; // TODO: Import from ng-forge?
|
|
|
2172
2172
|
* })
|
|
2173
2173
|
* });
|
|
2174
2174
|
* ```
|
|
2175
|
+
* @__NO_SIDE_EFFECTS__
|
|
2175
2176
|
*/
|
|
2176
2177
|
function dbxForgeFieldFunction(config) {
|
|
2177
2178
|
const { type, buildFieldDef, buildProps } = config;
|
|
@@ -4322,6 +4323,7 @@ var DbxDateTimeValueMode;
|
|
|
4322
4323
|
* const parser = dbxDateTimeInputValueParseFactory(DbxDateTimeValueMode.DATE_STRING, timezoneInstance);
|
|
4323
4324
|
* const date = parser('2024-01-15T10:00:00Z');
|
|
4324
4325
|
* ```
|
|
4326
|
+
* @__NO_SIDE_EFFECTS__
|
|
4325
4327
|
*/
|
|
4326
4328
|
function dbxDateTimeInputValueParseFactory(mode, timezoneInstance) {
|
|
4327
4329
|
let factory;
|
|
@@ -4399,6 +4401,7 @@ function dbxDateTimeInputValueParseFactory(mode, timezoneInstance) {
|
|
|
4399
4401
|
* const formatter = dbxDateTimeOutputValueFactory(DbxDateTimeValueMode.DAY_STRING, null);
|
|
4400
4402
|
* const dayString = formatter(new Date()); // e.g., '2024-01-15'
|
|
4401
4403
|
* ```
|
|
4404
|
+
* @__NO_SIDE_EFFECTS__
|
|
4402
4405
|
*/
|
|
4403
4406
|
function dbxDateTimeOutputValueFactory(mode, timezoneInstance) {
|
|
4404
4407
|
let factory;
|
|
@@ -5171,6 +5174,7 @@ function dateTimeFieldCalc() {
|
|
|
5171
5174
|
*
|
|
5172
5175
|
* @param input - The datetime calculation input containing date, time, and mode information
|
|
5173
5176
|
* @returns The combined Date value, or undefined if the input is cleared or incomplete
|
|
5177
|
+
* @__NO_SIDE_EFFECTS__
|
|
5174
5178
|
*/
|
|
5175
5179
|
function buildCombinedDateTime(input) {
|
|
5176
5180
|
const { dateValue, timeString, isFullDay, fullDayInUTC, isTimeOnly, timeMode, timeDate, isCleared } = input;
|
|
@@ -11265,6 +11269,7 @@ function dbxForgeUsernameLoginField(username) {
|
|
|
11265
11269
|
* When the search string is empty, the system timezone is returned first, followed by all timezones.
|
|
11266
11270
|
*
|
|
11267
11271
|
* @returns A {@link SearchableValueFieldStringSearchFn} for searching timezone values.
|
|
11272
|
+
* @__NO_SIDE_EFFECTS__
|
|
11268
11273
|
*/
|
|
11269
11274
|
function timezoneStringSearchFunction() {
|
|
11270
11275
|
const timezoneInfos = allTimezoneInfos();
|
|
@@ -14283,6 +14288,7 @@ function formlyValueSelectionField(config) {
|
|
|
14283
14288
|
*
|
|
14284
14289
|
* @param label - Optional label for the clear option
|
|
14285
14290
|
* @returns A function that transforms selection options by prepending a clear option
|
|
14291
|
+
* @__NO_SIDE_EFFECTS__
|
|
14286
14292
|
*/
|
|
14287
14293
|
function formlyAddValueSelectionOptionFunction(label) {
|
|
14288
14294
|
return (options) => {
|