4.0.5 • Published 19 days ago

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

Weekly downloads
-
License
MIT
Repository
github
Last release
19 days 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.5

19 days ago

4.0.4

19 days ago

4.0.3

29 days ago

4.0.1

2 months ago

4.0.2

2 months ago

4.0.0

2 months ago

3.0.3

3 months ago

3.0.2

6 months ago

3.0.1

6 months ago

3.0.0

6 months ago

2.12.9

10 months ago

2.12.7

10 months ago

2.12.8

10 months ago

2.12.6

11 months ago

2.12.12

6 months ago

2.12.11

8 months ago

2.12.10

10 months ago

2.11.0

1 year ago

2.11.1

1 year ago

2.11.8

1 year ago

2.11.9

1 year ago

2.11.6

1 year ago

2.11.7

1 year ago

2.11.4

1 year ago

2.11.5

1 year ago

2.11.2

1 year ago

2.11.3

1 year ago

2.10.1

1 year ago

2.12.0

1 year ago

2.12.5

1 year ago

2.12.3

1 year ago

2.12.4

1 year ago

2.12.1

1 year ago

2.12.2

1 year ago

2.0.3

1 year ago

2.2.0

1 year ago

2.4.0

1 year ago

2.6.0

1 year ago

2.8.0

1 year ago

2.3.0

1 year ago

2.5.0

1 year ago

2.10.0

1 year ago

2.7.0

1 year ago

2.9.0

1 year ago

2.1.0

1 year ago

2.0.2

1 year ago

2.0.1

1 year ago

2.0.0

2 years ago

1.6.3

2 years ago

1.6.2

2 years ago

1.6.1

2 years ago

1.6.0

2 years ago

1.5.0

2 years ago

1.4.0

2 years ago

1.3.0

2 years ago

1.2.2

2 years ago

1.2.1

2 years ago

1.2.0

2 years ago

1.1.2-refactor.1

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.0

2 years ago

1.0.0-init.3

2 years ago

1.0.0-init.2

2 years ago

1.0.0-init.1

2 years ago