4.0.17 • Published 8 months ago

@dreamworld/dw-date-range-select v4.0.17

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

<dw-date-range-select> Published on npm

Date range input control is used to input a custom duration.

Behaviour

  • It extends dw-select, so It overrides all the beahviors of dw-select input control.

value providers

Usage

// TODO

valueProviders

NameReturnsDescription
all()undefinedTo get all time duration
thisMonth()(Object): {start, end}An object whose start & end is the current month’s first & last date.
lastMonth()(Object): {start, end}An object whose start & end is the last month’s first & last date.

valueProvidersFactory

NameArgumentsReturnsDescription
lastNMonths(n)(Number): number of last months(Function): which acts as a valueProviderFactory Function which returns last N months start and end date
thisQuarter(fyStartsFrom)(String): finacial year start from date. in the format dd/mm.(Function): which acts as a valueProviderFactory Function which returns this quater start and end date
lastQuarter(fyStartsFrom)(String): finacial year start from date. in the format dd/mm.(Function): which acts as a valueProviderFactory Function which returns last quater start and end date
thisFinancialYear(startsFrom)(String): finacial year start from date. in the format dd/mm.(Function): which acts as a valueProviderFactory Function which returns current finacial year start and end date
lastFinancialYear(startsFrom)(String): finacial year start from date. in the format dd/mm.(Function): which acts as a valueProviderFactory Function which returns last finacial year start and end date

API

Properties

Inherited from dw-select

NameType
outlinedfalse
namestring
valueobject\|object[]
originalValueobject
labelstring
placeholderstring
helperstring
readOnlyboolean
requiredboolean
errorMessagestring
requiredMessagestring
validityValidityState (readonly)
disabledboolean
itemsDateRangeItem[]
dialogWidthnumber

DateRangeItem

KeyTypeDescription
labelstringText to be shown in the list item and for the selected value.
valueProviderfunctionReturns: object which contains start and end date
4.0.17

8 months ago

4.0.16

9 months ago

4.0.15

9 months ago

4.0.14

9 months ago

4.0.7

1 year ago

4.0.6

1 year ago

4.0.9

1 year ago

4.0.8

1 year ago

4.0.10

10 months ago

4.0.12

10 months ago

4.0.11

10 months ago

4.0.13

10 months ago

4.0.5

1 year ago

4.0.4

1 year ago

4.0.3

1 year ago

4.0.1

1 year ago

4.0.2

1 year ago

4.0.0

1 year ago

3.0.3

1 year ago

3.0.2

2 years ago

3.0.1

2 years ago

3.0.0

2 years ago

2.12.9

2 years ago

2.12.7

2 years ago

2.12.8

2 years ago

2.12.6

2 years ago

2.12.12

2 years ago

2.12.11

2 years ago

2.12.10

2 years ago

2.11.0

2 years ago

2.11.1

2 years ago

2.11.8

2 years ago

2.11.9

2 years ago

2.11.6

2 years ago

2.11.7

2 years ago

2.11.4

2 years ago

2.11.5

2 years ago

2.11.2

2 years ago

2.11.3

2 years ago

2.10.1

2 years ago

2.12.0

2 years ago

2.12.5

2 years ago

2.12.3

2 years ago

2.12.4

2 years ago

2.12.1

2 years ago

2.12.2

2 years ago

2.0.3

3 years ago

2.2.0

3 years ago

2.4.0

3 years ago

2.6.0

2 years ago

2.8.0

2 years ago

2.3.0

3 years ago

2.5.0

3 years ago

2.10.0

2 years ago

2.7.0

2 years ago

2.9.0

2 years ago

2.1.0

3 years ago

2.0.2

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.6.3

3 years ago

1.6.2

3 years ago

1.6.1

3 years ago

1.6.0

3 years ago

1.5.0

3 years ago

1.4.0

3 years ago

1.3.0

3 years ago

1.2.2

3 years ago

1.2.1

3 years ago

1.2.0

3 years ago

1.1.2-refactor.1

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.0

3 years ago

1.0.0-init.3

3 years ago

1.0.0-init.2

3 years ago

1.0.0-init.1

3 years ago