
Security News
Package Maintainers Call for Improvements to GitHub’s New npm Security Plan
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
@dreamworld/dw-date-range-select
Advanced tools
Lit Web Component for Material Design Date Range Select
<dw-date-range-select>
Date range input control is used to input a custom duration.
dw-select
, so It overrides all the beahviors of dw-select
input control.// TODO
Name | Returns | Description |
---|---|---|
all() | undefined | To 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. |
Name | Arguments | Returns | Description |
---|---|---|---|
lastNMonths(n) | (Number): number of last months | (Function): which acts as a valueProvider | Factory 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 valueProvider | Factory 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 valueProvider | Factory 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 valueProvider | Factory 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 valueProvider | Factory Function which returns last finacial year start and end date |
Inherited from dw-select
Name | Type |
---|---|
outlined | false |
name | string |
value | object|object[] |
originalValue | object |
label | string |
placeholder | string |
helper | string |
readOnly | boolean |
required | boolean |
errorMessage | string |
requiredMessage | string |
validity | ValidityState (readonly) |
disabled | boolean |
items | DateRangeItem[] |
dialogWidth | number |
Key | Type | Description |
---|---|---|
label | string | Text to be shown in the list item and for the selected value. |
valueProvider | function | Returns: object which contains start and end date |
FAQs
Lit Web Component for Material Design Date Range Select
We found that @dreamworld/dw-date-range-select demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.