@datarailsshared/datarailsshared 1.4.48-bratans → 1.4.50-dragons
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/bundles/datarailsshared-datarailsshared.umd.js +56 -100
- package/bundles/datarailsshared-datarailsshared.umd.js.map +1 -1
- package/datarailsshared-datarailsshared-1.4.50-dragons.tgz +0 -0
- package/datarailsshared-datarailsshared.d.ts +0 -1
- package/datarailsshared-datarailsshared.metadata.json +1 -1
- package/esm2015/datarailsshared-datarailsshared.js +1 -2
- package/esm2015/lib/dr-inputs/button/button.component.js +2 -2
- package/esm2015/lib/dr-inputs/date-pickers/dr-date-picker-with-timeframe/dr-date-picker-with-timeframe.component.js +9 -19
- package/esm2015/lib/dr-inputs/date-pickers/dr-date-picker_custom-header/dr-date-picker_custom-header.component.js +8 -23
- package/esm2015/lib/dr-inputs/date-pickers/services/dr-date-picker.service.js +4 -32
- package/esm2015/lib/dr-inputs/dr-inputs.module.js +2 -4
- package/esm2015/lib/dr-tabs/dr-tabs.component.js +5 -3
- package/esm2015/lib/models/datePicker.js +1 -3
- package/esm2015/lib/utils/dr-shared-utils.js +27 -0
- package/esm2015/public-api.js +2 -1
- package/fesm2015/datarailsshared-datarailsshared.js +48 -88
- package/fesm2015/datarailsshared-datarailsshared.js.map +1 -1
- package/lib/dr-inputs/button/button.component.d.ts +1 -1
- package/lib/dr-inputs/date-pickers/dr-date-picker-with-timeframe/dr-date-picker-with-timeframe.component.d.ts +1 -3
- package/lib/dr-inputs/date-pickers/dr-date-picker_custom-header/dr-date-picker_custom-header.component.d.ts +1 -2
- package/lib/dr-inputs/date-pickers/services/dr-date-picker.service.d.ts +0 -2
- package/lib/dr-tabs/dr-tabs.component.d.ts +1 -0
- package/lib/models/datePicker.d.ts +1 -4
- package/lib/utils/dr-shared-utils.d.ts +8 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
- package/datarailsshared-datarailsshared-1.4.48-bratans.tgz +0 -0
- package/esm2015/lib/dr-inputs/date-pickers/dr-show-timeframe.pipe.js +0 -12
- package/lib/dr-inputs/date-pickers/dr-show-timeframe.pipe.d.ts +0 -6
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { TimeframeOption } from '../models/datePicker';
|
|
2
|
+
export class DrSharedUtils {
|
|
3
|
+
/**
|
|
4
|
+
* Get timeframe (day, year, month, quarter) based on passed format
|
|
5
|
+
* @param format - date format string. Examples: MM/DD/YYYY, Q/YYYY
|
|
6
|
+
*/
|
|
7
|
+
static getTimeframeByDateFormat(format) {
|
|
8
|
+
const defaultFrame = TimeframeOption.DAY;
|
|
9
|
+
if (!format) {
|
|
10
|
+
return defaultFrame;
|
|
11
|
+
}
|
|
12
|
+
const lowerCaseFormat = format.toLowerCase();
|
|
13
|
+
switch (true) {
|
|
14
|
+
case lowerCaseFormat.includes('q'):
|
|
15
|
+
return TimeframeOption.QUARTER;
|
|
16
|
+
case lowerCaseFormat.includes('d'):
|
|
17
|
+
return TimeframeOption.DAY;
|
|
18
|
+
case lowerCaseFormat.includes('m'):
|
|
19
|
+
return TimeframeOption.MONTH;
|
|
20
|
+
case lowerCaseFormat.includes('y'):
|
|
21
|
+
return TimeframeOption.YEAR;
|
|
22
|
+
default:
|
|
23
|
+
return defaultFrame;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHItc2hhcmVkLXV0aWxzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZGF0YXJhaWxzc2hhcmVkL3NyYy9saWIvdXRpbHMvZHItc2hhcmVkLXV0aWxzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSxzQkFBc0IsQ0FBQztBQUV2RCxNQUFNLE9BQU8sYUF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gUS9ZWVlZXG4gICAqL1xuICBwdWJsaWMgc3RhdGljIGdldFRpbWVmcmFtZUJ5RGF0ZUZvcm1hdChmb3JtYXQ6IHN0cmluZyk6IFRpbWVmcmFtZU9wdGlvbiB7XG4gICAgY29uc3QgZGVmYXVsdEZyYW1lID0gVGltZWZyYW1lT3B0aW9uLkRBWTtcblxuICAgIGlmICghZm9ybWF0KSB7XG4gICAgICByZXR1cm4gZGVmYXVsdEZyYW1lO1xuICAgIH1cblxuICAgIGNvbnN0IGxvd2VyQ2FzZUZvcm1hdCA9IGZvcm1hdC50b0xvd2VyQ2FzZSgpO1xuICAgIHN3aXRjaCAodHJ1ZSkge1xuICAgICAgY2FzZSBsb3dlckNhc2VGb3JtYXQuaW5jbHVkZXMoJ3EnKTpcbiAgICAgICAgcmV0dXJuIFRpbWVmcmFtZU9wdGlvbi5RVUFSVEVSO1xuICAgICAgY2FzZSBsb3dlckNhc2VGb3JtYXQuaW5jbHVkZXMoJ2QnKTpcbiAgICAgICAgcmV0dXJuIFRpbWVmcmFtZU9wdGlvbi5EQVk7XG4gICAgICBjYXNlIGxvd2VyQ2FzZUZvcm1hdC5pbmNsdWRlcygnbScpOlxuICAgICAgICByZXR1cm4gVGltZWZyYW1lT3B0aW9uLk1PTlRIO1xuICAgICAgY2FzZSBsb3dlckNhc2VGb3JtYXQuaW5jbHVkZXMoJ3knKTpcbiAgICAgICAgcmV0dXJuIFRpbWVmcmFtZU9wdGlvbi5ZRUFSO1xuICAgICAgZGVmYXVsdDpcbiAgICAgICAgcmV0dXJuIGRlZmF1bHRGcmFtZTtcbiAgICB9XG4gIH1cbn1cbiJdfQ==
|
package/esm2015/public-api.js
CHANGED
|
@@ -55,4 +55,5 @@ export { DrPopoverModule } from './lib/dr-popover/dr-popover.module';
|
|
|
55
55
|
export { DrDropdownModule } from './lib/dr-dropdown/dr-dropdown.module';
|
|
56
56
|
export { DrTabsModule } from './lib/dr-tabs/dr-tabs.module';
|
|
57
57
|
export { DrAccordionModule } from './lib/dr-accordion/accordion.module';
|
|
58
|
-
|
|
58
|
+
export { DrSharedUtils } from './lib/utils/dr-shared-utils';
|
|
59
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL2RhdGFyYWlsc3NoYXJlZC9zcmMvcHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxnQkFBZ0I7QUFDaEIsY0FBYyxvQ0FBb0MsQ0FBQztBQUNuRCxjQUFjLHFEQUFxRCxDQUFDO0FBQ3BFLGNBQWMsK0NBQStDLENBQUM7QUFDOUQsY0FBYyxtREFBbUQsQ0FBQztBQUNsRSxjQUFjLDZDQUE2QyxDQUFDO0FBQzVELGNBQWMsNkNBQTZDLENBQUM7QUFDNUQsY0FBYyxnQ0FBZ0MsQ0FBQztBQUMvQyxjQUFjLG9DQUFvQyxDQUFDO0FBQ25ELGNBQWMsMkNBQTJDLENBQUM7QUFDMUQsY0FBYyxvQ0FBb0MsQ0FBQztBQUNuRCxjQUFjLHFEQUFxRCxDQUFDO0FBQ3BFLGNBQWMsb0RBQW9ELENBQUM7QUFDbkUsY0FBYyw2Q0FBNkMsQ0FBQztBQUM1RCxjQUFjLDZDQUE2QyxDQUFDO0FBQzVELGNBQWMsK0NBQStDLENBQUM7QUFDOUQsY0FBYyxxQ0FBcUMsQ0FBQztBQUNwRCxjQUFjLGdDQUFnQyxDQUFDO0FBQy9DLGNBQWMsdUNBQXVDLENBQUM7QUFDdEQsY0FBYyx1Q0FBdUMsQ0FBQztBQUN0RCxjQUFjLCtDQUErQyxDQUFDO0FBQzlELGNBQWMsNkRBQTZELENBQUM7QUFDNUUsY0FBYyx1Q0FBdUMsQ0FBQztBQUN0RCxjQUFjLHVDQUF1QyxDQUFDO0FBQ3RELGNBQWMseUNBQXlDLENBQUM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YXJlZC11dGlscyc7XG4iXX0=
|
|
@@ -1893,7 +1893,7 @@ DrButtonComponent.decorators = [
|
|
|
1893
1893
|
{ type: Component, args: [{
|
|
1894
1894
|
selector: 'dr-button',
|
|
1895
1895
|
template: "<button (click)=\"onClick($event)\" [disabled]=\"_disabled\" [attr.is-loading]=\"_isLoading\" [attr.bold]=\"isBold\"\n [attr.icon]=\"!!icon\" [attr.iconAfterLabel]=\"!!iconAfterLabel\" [attr.theme]=\"theme\">\n <ng-container *ngIf=\"!_isLoading\">\n <i *ngIf=\"icon\" class=\"dr\" [class]=\"icon\" [style.color]=\"iconColor || 'inherit'\"></i>\n <ng-content></ng-content>\n <i *ngIf=\"theme === 'dropdown'\" class=\"dr-icon-arrow-down\"></i>\n <i *ngIf=\"iconAfterLabel\" class=\"dr dr-last\" [class]=\"iconAfterLabel\" [style.color]=\"iconColor || 'inherit'\"></i>\n </ng-container>\n <i *ngIf=\"_isLoading\" class=\"dr dr-spinner dr-icon-load\"></i>\n</button>\n",
|
|
1896
|
-
styles: [":host{display:inline-block}:host.disabled,:host.loading{pointer-events:none}:host button[theme]{cursor:pointer;border-radius:16px;padding:5px 16px;font-family:\"Poppins\";font-style:normal;font-weight:400;font-size:14px;line-height:22px;color:#4e566c;border:1px solid #7F7FDD;display:flex;justify-content:space-between;align-items:center;height:32px}:host button[theme] .dr{padding:0;margin-left:5.35px;margin-right:8.64px}:host button[theme] .dr-spinner{animation-name:rotate;animation-iteration-count:infinite;animation-duration:1s}@keyframes rotate{0%{transform:rotate()}to{transform:rotate(360deg)}}:host button[theme][theme~=split-secondary-first],:host button[theme][theme~=split-secondary-last],:host button[theme][theme~=secondary]{padding:5px 16px;background:#FFFFFF;border-radius:16px;min-width:90px}:host button[theme][theme~=split-secondary-first]:hover:not([disabled]),:host button[theme][theme~=split-secondary-last]:hover:not([disabled]),:host button[theme][theme~=secondary]:hover:not([disabled]){color:#4e566c;transition:.2ms ease-in all;background:#F2F2FB;box-shadow:0 4px 14px #0000001a;border:1px solid #4646CE}:host button[theme][theme~=split-secondary-first]:active,:host button[theme][theme~=split-secondary-last]:active,:host button[theme][theme~=secondary]:active{box-shadow:none;background:#F2F2FB}:host button[theme][theme~=split-secondary-first][disabled],:host button[theme][theme~=split-secondary-last][disabled],:host button[theme][theme~=secondary][disabled]{background:#F0F1F4;color:#727583;border:none;cursor:default;pointer-events:none}:host button[theme][theme~=split-secondary-first][is-loading=true],:host button[theme][theme~=split-secondary-last][is-loading=true],:host button[theme][theme~=secondary][is-loading=true]{justify-content:center;padding:5px 16px;pointer-events:none}:host button[theme][theme~=split-primary-first],:host button[theme][theme~=split-primary-last],:host button[theme][theme~=primary]{background:#4646CE;color:#fff;border:none;min-width:90px}:host button[theme][theme~=split-primary-first]:hover:not([disabled]),:host button[theme][theme~=split-primary-last]:hover:not([disabled]),:host button[theme][theme~=primary]:hover:not([disabled]){transition:.2ms ease-in all;background:linear-gradient(96.89deg,#25258C 0%,#4646CE 100%);box-shadow:0 4px 14px #0000001a;border:none}:host button[theme][theme~=split-primary-first]:active,:host button[theme][theme~=split-primary-last]:active,:host button[theme][theme~=primary]:active{background:#25258C}:host button[theme][theme~=split-primary-first][disabled],:host button[theme][theme~=split-primary-last][disabled],:host button[theme][theme~=primary][disabled]{background:#F0F1F4;color:#727583;border:none;cursor:default;pointer-events:none}:host button[theme][theme~=split-primary-first][is-loading=true],:host button[theme][theme~=split-primary-last][is-loading=true],:host button[theme][theme~=primary][is-loading=true]{justify-content:center;padding:5px 16px;pointer-events:none}:host button[theme][theme~=split-primary-first] .dr,:host button[theme][theme~=split-primary-last] .dr,:host button[theme][theme~=primary] .dr{margin:0}:host button[theme][theme~=split-secondary-first],:host button[theme][theme~=split-secondary-first]:hover,:host button[theme][theme~=split-primary-first],:host button[theme][theme~=split-primary-first]:hover{min-width:unset;border-bottom-right-radius:0;border-top-right-radius:0;padding-left:10px;padding-right:8px}:host button[theme][theme~=split-secondary-first][icon=true],:host button[theme][theme~=split-secondary-first]:hover[icon=true],:host button[theme][theme~=split-primary-first][icon=true],:host button[theme][theme~=split-primary-first]:hover[icon=true]{padding-left:6px;padding-right:2px}:host button[theme][theme~=split-primary-first],:host button[theme][theme~=split-primary-first]:hover{border-right:1px solid #fff!important}:host button[theme][theme~=split-secondary-first],:host button[theme][theme~=split-secondary-first]:hover{border-right:none!important}:host button[theme][theme~=split-secondary-last],:host button[theme][theme~=split-secondary-last]:hover,:host button[theme][theme~=split-primary-last],:host button[theme][theme~=split-primary-last]:hover{min-width:unset;border-bottom-left-radius:0;border-top-left-radius:0;padding-left:8px;padding-right:10px}:host button[theme][theme~=split-secondary-last][icon=true],:host button[theme][theme~=split-secondary-last]:hover[icon=true],:host button[theme][theme~=split-primary-last][icon=true],:host button[theme][theme~=split-primary-last]:hover[icon=true]{padding-left:2px;padding-right:6px}:host button[theme][theme~=split-secondary-last] .dr,:host button[theme][theme~=split-secondary-last]:hover .dr,:host button[theme][theme~=split-primary-last] .dr,:host button[theme][theme~=split-primary-last]:hover .dr{margin:0}:host button[theme][theme~=split-primary-last],:host button[theme][theme~=split-primary-last]:hover{border-left:none}:host button[theme][theme~=split-secondary-last],:host button[theme][theme~=split-secondary-last]:hover{margin-left:-1px}:host button[theme][theme~=danger]{background:#BF1D30;color:#fff;border:none;min-width:90px}:host button[theme][theme~=danger]:hover:not([disabled]){transition:.2ms ease-in all;background:linear-gradient(96.89deg,#740e1a 0%,#BF1D30 100%);box-shadow:0 4px 14px #0000001a;border-radius:16px;border:none}:host button[theme][theme~=danger]:active{background:#740e1a}:host button[theme][theme~=danger][disabled]{background:#F0F1F4;color:#727583;border:none;cursor:default;pointer-events:none}:host button[theme][theme~=danger][is-loading=true]{justify-content:center;padding:5px 16px;pointer-events:none}:host button[theme][theme~=ghost]{background:none;border:none;color:#151b3f;padding:4px 8px}:host button[theme][theme~=ghost] .dr{margin-left:4.5px;margin-right:12.5px}:host button[theme][theme~=ghost]:hover:not([disabled]){color:#4646ce;background:#F2F2FB;border-radius:4px}:host button[theme][theme~=ghost][disabled]{color:#727583;cursor:default;pointer-events:none}:host button[theme][theme~=text-link]{background:none;border:none;color:#0b5af9}:host button[theme][theme~=text-link][disabled]{color:#727583;pointer-events:none}:host button[theme][theme~=primary-icon]{padding:8px;width:28px;height:28px;justify-content:center;color:#fff;background:#4646CE;border:none}:host button[theme][theme~=primary-icon]:hover,:host button[theme][theme~=primary-icon]:active{background:linear-gradient(96.89deg,#131318 0%,#4646CE 100%)}:host button[theme][theme~=primary-icon][disabled]{color:#bcbcbc;background:#E5E6EA;cursor:default;pointer-events:none}:host button[theme][theme~=primary-icon] .dr{margin:0}:host button[theme][theme~=secondary-icon]{background:white;padding:8px;width:28px;height:28px;justify-content:center;color:#4e566c;border:1px solid #7F7FDD}:host button[theme][theme~=secondary-icon]:hover,:host button[theme][theme~=secondary-icon]:active{color:#4646ce;background:#F2F2FB}:host button[theme][theme~=secondary-icon][disabled]{color:#bcbcbc;background:#E5E6EA;border:none;cursor:default;pointer-events:none}:host button[theme][theme~=secondary-icon] .dr{margin:0}:host button[theme][theme~=simple-text]{color:#0c142b;border:none;background:none}:host button[theme][theme~=simple-text] .dr{margin:0 8px 0 0}:host button[theme][theme~=icon]{background:none;padding:8px;width:28px;height:28px;justify-content:center;color:#4e566c;border:none}:host button[theme][theme~=icon]:hover,:host button[theme][theme~=icon]:active{background:#F0F3FC;color:#4646ce}:host button[theme][theme~=icon][disabled]{color:#bcbcbc;border:none;cursor:default;pointer-events:none}:host button[theme][theme~=icon][disabled]:hover,:host button[theme][theme~=icon][disabled]:active{background:none}:host button[theme][theme~=icon] .dr{margin:0}:host button[theme][theme~=dropdown]{
|
|
1896
|
+
styles: [":host{display:inline-block}:host.disabled,:host.loading{pointer-events:none}:host button[theme]{cursor:pointer;border-radius:16px;padding:5px 16px;font-family:\"Poppins\";font-style:normal;font-weight:400;font-size:14px;line-height:22px;color:#4e566c;border:1px solid #7F7FDD;display:flex;justify-content:space-between;align-items:center;height:32px}:host button[theme] .dr{padding:0;margin-left:5.35px;margin-right:8.64px}:host button[theme] .dr-spinner{animation-name:rotate;animation-iteration-count:infinite;animation-duration:1s}@keyframes rotate{0%{transform:rotate()}to{transform:rotate(360deg)}}:host button[theme][theme~=split-secondary-first],:host button[theme][theme~=split-secondary-last],:host button[theme][theme~=secondary]{padding:5px 16px;background:#FFFFFF;border-radius:16px;min-width:90px}:host button[theme][theme~=split-secondary-first]:hover:not([disabled]),:host button[theme][theme~=split-secondary-last]:hover:not([disabled]),:host button[theme][theme~=secondary]:hover:not([disabled]){color:#4e566c;transition:.2ms ease-in all;background:#F2F2FB;box-shadow:0 4px 14px #0000001a;border:1px solid #4646CE}:host button[theme][theme~=split-secondary-first]:active,:host button[theme][theme~=split-secondary-last]:active,:host button[theme][theme~=secondary]:active{box-shadow:none;background:#F2F2FB}:host button[theme][theme~=split-secondary-first][disabled],:host button[theme][theme~=split-secondary-last][disabled],:host button[theme][theme~=secondary][disabled]{background:#F0F1F4;color:#727583;border:none;cursor:default;pointer-events:none}:host button[theme][theme~=split-secondary-first][is-loading=true],:host button[theme][theme~=split-secondary-last][is-loading=true],:host button[theme][theme~=secondary][is-loading=true]{justify-content:center;padding:5px 16px;pointer-events:none}:host button[theme][theme~=split-primary-first],:host button[theme][theme~=split-primary-last],:host button[theme][theme~=primary]{background:#4646CE;color:#fff;border:none;min-width:90px}:host button[theme][theme~=split-primary-first]:hover:not([disabled]),:host button[theme][theme~=split-primary-last]:hover:not([disabled]),:host button[theme][theme~=primary]:hover:not([disabled]){transition:.2ms ease-in all;background:linear-gradient(96.89deg,#25258C 0%,#4646CE 100%);box-shadow:0 4px 14px #0000001a;border:none}:host button[theme][theme~=split-primary-first]:active,:host button[theme][theme~=split-primary-last]:active,:host button[theme][theme~=primary]:active{background:#25258C}:host button[theme][theme~=split-primary-first][disabled],:host button[theme][theme~=split-primary-last][disabled],:host button[theme][theme~=primary][disabled]{background:#F0F1F4;color:#727583;border:none;cursor:default;pointer-events:none}:host button[theme][theme~=split-primary-first][is-loading=true],:host button[theme][theme~=split-primary-last][is-loading=true],:host button[theme][theme~=primary][is-loading=true]{justify-content:center;padding:5px 16px;pointer-events:none}:host button[theme][theme~=split-primary-first] .dr,:host button[theme][theme~=split-primary-last] .dr,:host button[theme][theme~=primary] .dr{margin:0}:host button[theme][theme~=split-secondary-first],:host button[theme][theme~=split-secondary-first]:hover,:host button[theme][theme~=split-primary-first],:host button[theme][theme~=split-primary-first]:hover{min-width:unset;border-bottom-right-radius:0;border-top-right-radius:0;padding-left:10px;padding-right:8px}:host button[theme][theme~=split-secondary-first][icon=true],:host button[theme][theme~=split-secondary-first]:hover[icon=true],:host button[theme][theme~=split-primary-first][icon=true],:host button[theme][theme~=split-primary-first]:hover[icon=true]{padding-left:6px;padding-right:2px}:host button[theme][theme~=split-primary-first],:host button[theme][theme~=split-primary-first]:hover{border-right:1px solid #fff!important}:host button[theme][theme~=split-secondary-first],:host button[theme][theme~=split-secondary-first]:hover{border-right:none!important}:host button[theme][theme~=split-secondary-last],:host button[theme][theme~=split-secondary-last]:hover,:host button[theme][theme~=split-primary-last],:host button[theme][theme~=split-primary-last]:hover{min-width:unset;border-bottom-left-radius:0;border-top-left-radius:0;padding-left:8px;padding-right:10px}:host button[theme][theme~=split-secondary-last][icon=true],:host button[theme][theme~=split-secondary-last]:hover[icon=true],:host button[theme][theme~=split-primary-last][icon=true],:host button[theme][theme~=split-primary-last]:hover[icon=true]{padding-left:2px;padding-right:6px}:host button[theme][theme~=split-secondary-last] .dr,:host button[theme][theme~=split-secondary-last]:hover .dr,:host button[theme][theme~=split-primary-last] .dr,:host button[theme][theme~=split-primary-last]:hover .dr{margin:0}:host button[theme][theme~=split-primary-last],:host button[theme][theme~=split-primary-last]:hover{border-left:none}:host button[theme][theme~=split-secondary-last],:host button[theme][theme~=split-secondary-last]:hover{margin-left:-1px}:host button[theme][theme~=danger]{background:#BF1D30;color:#fff;border:none;min-width:90px}:host button[theme][theme~=danger]:hover:not([disabled]){transition:.2ms ease-in all;background:linear-gradient(96.89deg,#740e1a 0%,#BF1D30 100%);box-shadow:0 4px 14px #0000001a;border-radius:16px;border:none}:host button[theme][theme~=danger]:active{background:#740e1a}:host button[theme][theme~=danger][disabled]{background:#F0F1F4;color:#727583;border:none;cursor:default;pointer-events:none}:host button[theme][theme~=danger][is-loading=true]{justify-content:center;padding:5px 16px;pointer-events:none}:host button[theme][theme~=ghost]{background:none;border:none;color:#151b3f;padding:4px 8px}:host button[theme][theme~=ghost] .dr{margin-left:4.5px;margin-right:12.5px}:host button[theme][theme~=ghost]:hover:not([disabled]){color:#4646ce;background:#F2F2FB;border-radius:4px}:host button[theme][theme~=ghost][disabled]{color:#727583;cursor:default;pointer-events:none}:host button[theme][theme~=text-link]{background:none;border:none;color:#0b5af9}:host button[theme][theme~=text-link][disabled]{color:#727583;pointer-events:none}:host button[theme][theme~=primary-icon]{padding:8px;width:28px;height:28px;justify-content:center;color:#fff;background:#4646CE;border:none}:host button[theme][theme~=primary-icon]:hover,:host button[theme][theme~=primary-icon]:active{background:linear-gradient(96.89deg,#131318 0%,#4646CE 100%)}:host button[theme][theme~=primary-icon][disabled]{color:#bcbcbc;background:#E5E6EA;cursor:default;pointer-events:none}:host button[theme][theme~=primary-icon] .dr{margin:0}:host button[theme][theme~=secondary-icon]{background:white;padding:8px;width:28px;height:28px;justify-content:center;color:#4e566c;border:1px solid #7F7FDD}:host button[theme][theme~=secondary-icon]:hover,:host button[theme][theme~=secondary-icon]:active{color:#4646ce;background:#F2F2FB}:host button[theme][theme~=secondary-icon][disabled]{color:#bcbcbc;background:#E5E6EA;border:none;cursor:default;pointer-events:none}:host button[theme][theme~=secondary-icon] .dr{margin:0}:host button[theme][theme~=simple-text]{color:#0c142b;border:none;background:none}:host button[theme][theme~=simple-text] .dr{margin:0 8px 0 0}:host button[theme][theme~=icon]{background:none;padding:8px;width:28px;height:28px;justify-content:center;color:#4e566c;border:none}:host button[theme][theme~=icon]:hover,:host button[theme][theme~=icon]:active{background:#F0F3FC;color:#4646ce}:host button[theme][theme~=icon][disabled]{color:#bcbcbc;border:none;cursor:default;pointer-events:none}:host button[theme][theme~=icon][disabled]:hover,:host button[theme][theme~=icon][disabled]:active{background:none}:host button[theme][theme~=icon] .dr{margin:0}:host button[theme][theme~=dropdown],:host button[theme][theme~=primary-square]{background:#FFFFFF;border-radius:6px;border:1px solid #C3C4CE;box-shadow:none;min-width:unset}:host button[theme][theme~=dropdown]:hover,:host button[theme][theme~=primary-square]:hover{border-color:#85889c}:host button[theme][theme~=dropdown]:active,:host button[theme][theme~=primary-square]:active{border-color:#4646ce}:host button[theme][theme~=dropdown] i:first-child,:host button[theme][theme~=primary-square] i:first-child{margin-right:3px}:host button[theme][theme~=dropdown] i:last-child,:host button[theme][theme~=primary-square] i:last-child{margin-left:3px}:host button[theme][theme~=dropdown]{padding:0 8px}:host button[theme][theme~=primary-square]{padding:0;-webkit-user-select:none;user-select:none}:host button[theme][theme~=primary-square]:hover{background-color:#f9f7ff;border:1px solid #7E828E}:host button[theme][theme~=primary-square]:active{background-color:#f2f2fb;border:1px solid #4646CE}:host button[theme][theme~=primary-square][disabled]{opacity:.6;pointer-events:none}:host button[theme][theme~=link-btn]{padding:5px 8px;border:none;background:none;border-radius:5px;color:#0c142b}:host button[theme][theme~=link-btn] .dr{margin:0 4px 0 0}:host button[theme][theme~=link-btn] .dr-last{margin-right:0;margin-left:4px}:host button[theme][theme~=link-btn]:hover{background:#F2F2FB;color:#4646ce}:host button[theme][theme~=link-btn]:active{background:#F2F2FB;color:#25258c}:host button[theme][theme~=link-btn]:disabled{background:none;color:#727583}:host button[theme][theme~=link-btn]:disabled .dr{color:#bcbcbc}:host button[theme][bold=true]{font-weight:600}:host button[theme][icon=true]:not([theme~=\"primary-square\"]){padding-left:8px}:host button[theme][icon=false]{justify-content:center}:host.dr-button-selected button[theme][theme~=primary-square]{background-color:#f2f2fb;border:1px solid #4646CE}\n"]
|
|
1897
1897
|
},] }
|
|
1898
1898
|
];
|
|
1899
1899
|
DrButtonComponent.ctorParameters = () => [];
|
|
@@ -2560,6 +2560,7 @@ DrTabComponent.propDecorators = {
|
|
|
2560
2560
|
class DrTabsComponent {
|
|
2561
2561
|
constructor() {
|
|
2562
2562
|
this.selectedTab = 0;
|
|
2563
|
+
this.noBodyPadding = false;
|
|
2563
2564
|
this.selectedTabChange = new EventEmitter();
|
|
2564
2565
|
}
|
|
2565
2566
|
selectedIndexChange($event) {
|
|
@@ -2570,8 +2571,8 @@ class DrTabsComponent {
|
|
|
2570
2571
|
DrTabsComponent.decorators = [
|
|
2571
2572
|
{ type: Component, args: [{
|
|
2572
2573
|
selector: 'dr-tabs',
|
|
2573
|
-
template: "<mat-tab-group disableRipple [selectedIndex]=\"selectedTab\"\n (selectedIndexChange)=\"selectedIndexChange($event)\"\n [class.with-radio]=\"withRadio\"\n [class.vertical]=\"vertical\"\n [animationDuration]=\" vertical ? '0ms' : '500ms'\">\n <mat-tab *ngFor=\"let tab of tabsContentList; let index = index\" label=\"{{tab.label}}\" [disabled]=\"tab.disabled\" >\n <ng-container *ngIf=\"withRadio\">\n <ng-template mat-tab-label>\n <dr-radio-button [value]=\"index\"\n [(ngModel)]=\"selectedTab\">\n </dr-radio-button>\n {{tab.label}}\n </ng-template>\n </ng-container>\n\n <ng-container *ngTemplateOutlet=\"tab.contentTemplate\" ></ng-container>\n </mat-tab>\n</mat-tab-group>\n",
|
|
2574
|
-
styles: [":host{width:100%}:host ::ng-deep .mat-tab-group,:host ::ng-deep .mat-tab-body-wrapper{height:100%}:host ::ng-deep .mat-tab-nav-bar,:host ::ng-deep .mat-tab-header{border-bottom:1px solid #D5DAE5}:host ::ng-deep .mat-tab-labels{padding:0 17px}:host ::ng-deep .mat-tab-label{padding:0 8px;min-width:0;height:38px;opacity:1}:host ::ng-deep .mat-tab-label:not(:last-child){margin-right:21px}:host ::ng-deep .mat-tab-label-active .mat-tab-label-content{color:#579bf2;font-weight:700}:host ::ng-deep .mat-tab-label-content{font-weight:400;font-size:14px;line-height:22px;color:#51566f;font-family:\"Poppins\",sans-serif}:host ::ng-deep .mat-ink-bar{height:3px;border-radius:5px;background-color:#579bf2!important}:host ::ng-deep .with-radio .mat-tab-labels{padding:0;margin-bottom:8px}:host ::ng-deep .with-radio .mat-tab-label{padding:8px 16px;min-width:0;flex-grow:1;justify-content:start;height:38px;opacity:1}:host ::ng-deep .with-radio .mat-tab-label:not(:last-child){margin-right:8px}:host ::ng-deep .with-radio .mat-tab-label-active{background:#F6F7F8;border-radius:3px}:host ::ng-deep .with-radio .mat-tab-label-active .mat-tab-label-content{color:#0c142b;font-weight:600}:host ::ng-deep .with-radio .mat-ink-bar{display:none!important}:host ::ng-deep .vertical.mat-tab-group{flex-direction:row}:host ::ng-deep .vertical .mat-tab-header{border-bottom:none}:host ::ng-deep .vertical .mat-tab-
|
|
2574
|
+
template: "<mat-tab-group disableRipple [selectedIndex]=\"selectedTab\"\n (selectedIndexChange)=\"selectedIndexChange($event)\"\n [class.with-radio]=\"withRadio\"\n [class.vertical]=\"vertical\"\n [class.no-body-padding]=\"noBodyPadding\"\n [animationDuration]=\" vertical ? '0ms' : '500ms'\">\n <mat-tab *ngFor=\"let tab of tabsContentList; let index = index\" label=\"{{tab.label}}\" [disabled]=\"tab.disabled\" >\n <ng-container *ngIf=\"withRadio\">\n <ng-template mat-tab-label>\n <dr-radio-button [value]=\"index\"\n [(ngModel)]=\"selectedTab\">\n </dr-radio-button>\n {{tab.label}}\n </ng-template>\n </ng-container>\n\n <ng-container *ngTemplateOutlet=\"tab.contentTemplate\" ></ng-container>\n </mat-tab>\n</mat-tab-group>\n",
|
|
2575
|
+
styles: [":host{width:100%}:host ::ng-deep .mat-tab-group,:host ::ng-deep .mat-tab-body-wrapper{height:100%}:host ::ng-deep .mat-tab-group{font-family:\"Poppins\",sans-serif}:host ::ng-deep .mat-tab-nav-bar,:host ::ng-deep .mat-tab-header{border-bottom:1px solid #D5DAE5}:host ::ng-deep .mat-tab-labels{padding:0 17px}:host ::ng-deep .mat-tab-label{padding:0 8px;min-width:0;height:38px;opacity:1}:host ::ng-deep .mat-tab-label:not(:last-child){margin-right:21px}:host ::ng-deep .mat-tab-label-active .mat-tab-label-content{color:#579bf2;font-weight:700}:host ::ng-deep .mat-tab-label-content{font-weight:400;font-size:14px;line-height:22px;color:#51566f;font-family:\"Poppins\",sans-serif}:host ::ng-deep .mat-ink-bar{height:3px;border-radius:5px;background-color:#579bf2!important}:host ::ng-deep .with-radio .mat-tab-labels{padding:0;margin-bottom:8px}:host ::ng-deep .with-radio .mat-tab-label{padding:8px 16px;min-width:0;flex-grow:1;justify-content:start;height:38px;opacity:1}:host ::ng-deep .with-radio .mat-tab-label:not(:last-child){margin-right:8px}:host ::ng-deep .with-radio .mat-tab-label-active{background:#F6F7F8;border-radius:3px}:host ::ng-deep .with-radio .mat-tab-label-active .mat-tab-label-content{color:#0c142b;font-weight:600}:host ::ng-deep .with-radio .mat-ink-bar{display:none!important}:host ::ng-deep .vertical.mat-tab-group{flex-direction:row}:host ::ng-deep .vertical .mat-tab-header{border-bottom:none}:host ::ng-deep .vertical .mat-tab-label-container{border-right:1px solid #D5DAE5}:host ::ng-deep .vertical .mat-tab-label-container .mat-tab-labels{flex-direction:column;padding:0}:host ::ng-deep .vertical .mat-ink-bar{display:none!important}:host ::ng-deep .vertical .mat-tab-label{border-bottom:1px solid #D5DAE5;margin:0!important;justify-content:flex-start;padding:1rem 2rem;height:40px}:host ::ng-deep .vertical .mat-tab-label:before{content:\"\";width:2px;height:100%;display:flex;position:absolute;top:0;left:0}:host ::ng-deep .vertical .mat-tab-label-active{background-color:#f3f7ff}:host ::ng-deep .vertical .mat-tab-label-active:before{background-color:#151a41}:host ::ng-deep .vertical .mat-tab-label-active .mat-tab-label-content{font-weight:normal;color:#151a41}:host ::ng-deep .vertical .mat-tab-body-wrapper{width:100%;padding:16px}:host ::ng-deep mat-tab-group.no-body-padding .mat-tab-body-wrapper{padding:0}\n"]
|
|
2575
2576
|
},] }
|
|
2576
2577
|
];
|
|
2577
2578
|
DrTabsComponent.ctorParameters = () => [];
|
|
@@ -2579,6 +2580,7 @@ DrTabsComponent.propDecorators = {
|
|
|
2579
2580
|
selectedTab: [{ type: Input }],
|
|
2580
2581
|
withRadio: [{ type: Input }],
|
|
2581
2582
|
vertical: [{ type: Input }],
|
|
2583
|
+
noBodyPadding: [{ type: Input }],
|
|
2582
2584
|
selectedTabChange: [{ type: Output }],
|
|
2583
2585
|
tabsContentList: [{ type: ContentChildren, args: [DrTabComponent,] }]
|
|
2584
2586
|
};
|
|
@@ -2904,7 +2906,6 @@ var DateFromats;
|
|
|
2904
2906
|
DateFromats["YEAR_FORMAT"] = "yyyy";
|
|
2905
2907
|
DateFromats["MONTH_YEAR_FORMAT"] = "MM/yyyy";
|
|
2906
2908
|
DateFromats["QUARTER_FORMAT"] = "Q/yyyy";
|
|
2907
|
-
DateFromats["WEEK_FORMAT"] = "W/yyyy";
|
|
2908
2909
|
})(DateFromats || (DateFromats = {}));
|
|
2909
2910
|
class CustomDateFormat {
|
|
2910
2911
|
constructor() {
|
|
@@ -2952,7 +2953,6 @@ var TimeframeOption;
|
|
|
2952
2953
|
TimeframeOption["DAY"] = "day";
|
|
2953
2954
|
TimeframeOption["MONTH"] = "month";
|
|
2954
2955
|
TimeframeOption["QUARTER"] = "quarter";
|
|
2955
|
-
TimeframeOption["WEEK"] = "week";
|
|
2956
2956
|
TimeframeOption["YEAR"] = "year";
|
|
2957
2957
|
})(TimeframeOption || (TimeframeOption = {}));
|
|
2958
2958
|
var CalendarView;
|
|
@@ -3034,34 +3034,12 @@ DrTagModule.decorators = [
|
|
|
3034
3034
|
},] }
|
|
3035
3035
|
];
|
|
3036
3036
|
|
|
3037
|
-
class
|
|
3038
|
-
|
|
3039
|
-
|
|
3040
|
-
|
|
3041
|
-
|
|
3042
|
-
|
|
3043
|
-
this.availableTimeframes = [
|
|
3044
|
-
TimeframeOption.DAY,
|
|
3045
|
-
TimeframeOption.WEEK,
|
|
3046
|
-
TimeframeOption.MONTH,
|
|
3047
|
-
TimeframeOption.QUARTER,
|
|
3048
|
-
TimeframeOption.YEAR
|
|
3049
|
-
];
|
|
3050
|
-
this.formatConfig = {
|
|
3051
|
-
day: DateFromats.MAT_DEFAULT_DATE_FORMAT,
|
|
3052
|
-
month: DateFromats.MONTH_YEAR_FORMAT,
|
|
3053
|
-
year: DateFromats.YEAR_FORMAT,
|
|
3054
|
-
quarter: DateFromats.QUARTER_FORMAT,
|
|
3055
|
-
week: DateFromats.WEEK_FORMAT
|
|
3056
|
-
};
|
|
3057
|
-
}
|
|
3058
|
-
getQuarterDisplay(value) {
|
|
3059
|
-
return 'Q' + value.format(this.formatConfig.quarter);
|
|
3060
|
-
}
|
|
3061
|
-
getWeekDisplay(value) {
|
|
3062
|
-
return 'W' + value.format(this.formatConfig.week);
|
|
3063
|
-
}
|
|
3064
|
-
getTimeframe(format) {
|
|
3037
|
+
class DrSharedUtils {
|
|
3038
|
+
/**
|
|
3039
|
+
* Get timeframe (day, year, month, quarter) based on passed format
|
|
3040
|
+
* @param format - date format string. Examples: MM/DD/YYYY, Q/YYYY
|
|
3041
|
+
*/
|
|
3042
|
+
static getTimeframeByDateFormat(format) {
|
|
3065
3043
|
const defaultFrame = TimeframeOption.DAY;
|
|
3066
3044
|
if (!format) {
|
|
3067
3045
|
return defaultFrame;
|
|
@@ -3074,14 +3052,33 @@ class DrDatePickerService {
|
|
|
3074
3052
|
return TimeframeOption.DAY;
|
|
3075
3053
|
case lowerCaseFormat.includes('m'):
|
|
3076
3054
|
return TimeframeOption.MONTH;
|
|
3077
|
-
case lowerCaseFormat.includes('w'):
|
|
3078
|
-
return TimeframeOption.WEEK;
|
|
3079
3055
|
case lowerCaseFormat.includes('y'):
|
|
3080
3056
|
return TimeframeOption.YEAR;
|
|
3081
3057
|
default:
|
|
3082
3058
|
return defaultFrame;
|
|
3083
3059
|
}
|
|
3084
3060
|
}
|
|
3061
|
+
}
|
|
3062
|
+
|
|
3063
|
+
class DrDatePickerService {
|
|
3064
|
+
constructor() {
|
|
3065
|
+
this.isTimeframeSelectionEnabled = false;
|
|
3066
|
+
this.timeframe = TimeframeOption.DAY;
|
|
3067
|
+
this.format$ = new BehaviorSubject(DateFromats.MAT_DEFAULT_DATE_FORMAT);
|
|
3068
|
+
this.updatedQuarter$ = new Subject();
|
|
3069
|
+
this.formatConfig = {
|
|
3070
|
+
day: DateFromats.MAT_DEFAULT_DATE_FORMAT,
|
|
3071
|
+
month: DateFromats.MONTH_YEAR_FORMAT,
|
|
3072
|
+
year: DateFromats.YEAR_FORMAT,
|
|
3073
|
+
quarter: DateFromats.QUARTER_FORMAT,
|
|
3074
|
+
};
|
|
3075
|
+
}
|
|
3076
|
+
getQuarterDisplay(value) {
|
|
3077
|
+
return 'Q' + value.quarter() + this.format$.getValue().charAt(1) + value.year();
|
|
3078
|
+
}
|
|
3079
|
+
getTimeframe(format) {
|
|
3080
|
+
return DrSharedUtils.getTimeframeByDateFormat(format);
|
|
3081
|
+
}
|
|
3085
3082
|
getConfiguredFormat(timeframe) {
|
|
3086
3083
|
return this.formatConfig[timeframe];
|
|
3087
3084
|
}
|
|
@@ -3110,37 +3107,25 @@ class DrDatePickerCustomHeaderComponent {
|
|
|
3110
3107
|
this.quarters = [1, 2, 3, 4];
|
|
3111
3108
|
this.selectedQuarter = 1;
|
|
3112
3109
|
this.timeframeOptions = [{
|
|
3113
|
-
timeframe: TimeframeOption.DAY,
|
|
3114
|
-
value: CalendarView.FOR_DAYS,
|
|
3115
3110
|
title: 'Day',
|
|
3116
|
-
format: this.datePickerService.formatConfig.day,
|
|
3117
|
-
periodLabel: () => this._dateAdapter
|
|
3118
|
-
.format(this._calendar.activeDate, this._dateFormats.display.monthYearLabel)
|
|
3119
|
-
.toLocaleUpperCase()
|
|
3120
|
-
}, {
|
|
3121
|
-
timeframe: TimeframeOption.WEEK,
|
|
3122
3111
|
value: CalendarView.FOR_DAYS,
|
|
3123
|
-
|
|
3124
|
-
format: this.datePickerService.formatConfig.week,
|
|
3112
|
+
format: this.datePickerService.formatConfig.day,
|
|
3125
3113
|
periodLabel: () => this._dateAdapter
|
|
3126
3114
|
.format(this._calendar.activeDate, this._dateFormats.display.monthYearLabel)
|
|
3127
3115
|
.toLocaleUpperCase()
|
|
3128
3116
|
}, {
|
|
3129
|
-
timeframe: TimeframeOption.MONTH,
|
|
3130
|
-
value: CalendarView.FOR_MONTHS,
|
|
3131
3117
|
title: 'Month',
|
|
3118
|
+
value: CalendarView.FOR_MONTHS,
|
|
3132
3119
|
format: this.datePickerService.formatConfig.month,
|
|
3133
3120
|
periodLabel: () => String(moment$1(this._calendar.activeDate).year())
|
|
3134
3121
|
}, {
|
|
3135
|
-
timeframe: TimeframeOption.QUARTER,
|
|
3136
|
-
value: CalendarView.FOR_QUARTERS,
|
|
3137
3122
|
title: 'Quarter',
|
|
3123
|
+
value: CalendarView.FOR_QUARTERS,
|
|
3138
3124
|
format: this.datePickerService.formatConfig.quarter,
|
|
3139
3125
|
periodLabel: () => String(moment$1(this._calendar.activeDate).year())
|
|
3140
3126
|
}, {
|
|
3141
|
-
timeframe: TimeframeOption.YEAR,
|
|
3142
|
-
value: CalendarView.FOR_YEARS,
|
|
3143
3127
|
title: 'Year',
|
|
3128
|
+
value: CalendarView.FOR_YEARS,
|
|
3144
3129
|
format: this.datePickerService.formatConfig.year,
|
|
3145
3130
|
periodLabel: () => {
|
|
3146
3131
|
const currentYear = moment$1(this._calendar.activeDate).year();
|
|
@@ -3166,9 +3151,6 @@ class DrDatePickerCustomHeaderComponent {
|
|
|
3166
3151
|
this.selectedTimeframe = this.timeframeOptions.filter(option => option.format == value)[0].value;
|
|
3167
3152
|
_calendar.currentView = this.selectedTimeframe;
|
|
3168
3153
|
this.setPeriodLabels();
|
|
3169
|
-
if (this.selectedTimeframe === CalendarView.FOR_QUARTERS) {
|
|
3170
|
-
this.selectedQuarter = moment$1(this._calendar.activeDate).quarter();
|
|
3171
|
-
}
|
|
3172
3154
|
});
|
|
3173
3155
|
_calendar.viewChanged.pipe(takeUntil(this._destroyed)).subscribe(() => this.setPeriodLabels());
|
|
3174
3156
|
}
|
|
@@ -3179,7 +3161,7 @@ class DrDatePickerCustomHeaderComponent {
|
|
|
3179
3161
|
setPeriodLabels() {
|
|
3180
3162
|
const currentTimeframeOption = this.timeframeOptions.filter(option => option.value === this._calendar.currentView)[0];
|
|
3181
3163
|
const fullPeriodLabel = currentTimeframeOption.periodLabel();
|
|
3182
|
-
if (this._calendar.currentView ===
|
|
3164
|
+
if (this._calendar.currentView === 'month') {
|
|
3183
3165
|
this.periodMonthLabel = fullPeriodLabel.slice(0, 3);
|
|
3184
3166
|
this.periodYearLabel = fullPeriodLabel.slice(4);
|
|
3185
3167
|
}
|
|
@@ -3223,7 +3205,7 @@ class DrDatePickerCustomHeaderComponent {
|
|
|
3223
3205
|
DrDatePickerCustomHeaderComponent.decorators = [
|
|
3224
3206
|
{ type: Component, args: [{
|
|
3225
3207
|
selector: 'dr-date-picker_custom-header.component',
|
|
3226
|
-
template: "<div *ngIf=\"datePickerService.isTimeframeSelectionEnabled\" class=\"dr-datepicker__timeframe-select__wrapper\">\n <dr-select\n class=\"dr-datepicker__timeframe-select\"\n [(ngModel)]=\"selectedTimeframe\"\n [items]=\"timeframeOptions
|
|
3208
|
+
template: "<div *ngIf=\"datePickerService.isTimeframeSelectionEnabled\" class=\"dr-datepicker__timeframe-select__wrapper\">\n <dr-select\n class=\"dr-datepicker__timeframe-select\"\n [(ngModel)]=\"selectedTimeframe\"\n [items]=\"timeframeOptions\"\n bindLabel=\"title\"\n bindValue=\"value\"\n (ngModelChange)=\"setTimeframe()\">\n </dr-select>\n</div>\n\n<div class=\"dr-date-paging\">\n <div class=\"dr-date-paging flip-page-button\"\n (click)=\"pagingClicked(false)\">\n <i class=\"dr-icon-arrow-left presentation_buttons-navigate_input\"></i>\n </div>\n <span class=\"example-header-label\">\n <span (click)=\"switchViewOnClickOnPeriodLabel(calendarView.FOR_MONTHS)\">{{periodMonthLabel + ' '}}</span>\n <span (click)=\"switchViewOnClickOnPeriodLabel(calendarView.FOR_YEARS)\">{{periodYearLabel}}</span>\n </span>\n <div class=\"dr-date-paging flip-page-button\"\n (click)=\"pagingClicked(true)\">\n <i class=\"dr-icon-arrow-right presentation_buttons-navigate_input\"></i>\n </div>\n</div>\n<div #quarterlyDatePicker class=\"dr-quarterly-datepicker\" *ngIf=\"currentViewIsQuarter\">\n <div *ngFor=\"let quarter of quarters\"\n class=\"quarter-selector\" (click)=\"onSelectQuarter(quarter)\"\n [class]=\"quarter == selectedQuarter ? 'selected' : ''\"\n >Q{{quarter}}</div>\n</div>\n\n",
|
|
3227
3209
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3228
3210
|
styles: [":host{height:54px;align-items:center;font-family:\"Poppins\";font-style:normal;font-weight:600;font-size:14px;line-height:22px}.dr-datepicker__timeframe-select__wrapper{background-color:#f9faff;padding:16px 32px;border-radius:18px 18px 0 0}.dr-date-paging{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:16px 8px;grid-gap:4px;gap:4px}.dr-date-paging.flip-page-button{width:20px;height:20px;padding:0;color:#4e566c}.dr-date-paging.flip-page-button:hover{border-radius:50%;background:#F2F2FB;color:#4646ce}.example-header-label{cursor:pointer}.dr-quarterly-datepicker{display:flex;justify-content:space-between;padding:10px}.dr-quarterly-datepicker .quarter-selector{display:block;width:74px;height:40px;text-align:center;border-radius:40px;font-weight:400;padding-top:9px}.dr-quarterly-datepicker .quarter-selector:hover{background:#F2F2FB;color:#4646ce;font-weight:600;cursor:pointer}.dr-quarterly-datepicker .quarter-selector.selected{background-color:#4646ce;color:#f3f7ff;font-weight:600}\n"]
|
|
3229
3211
|
},] }
|
|
@@ -3393,14 +3375,12 @@ class DrDatePickerWithTimeframeComponent extends DrDatePickerComponent {
|
|
|
3393
3375
|
[TimeframeOption.YEAR]: (forward) => this.pagingDateChange('addCalendarYears', 1, forward),
|
|
3394
3376
|
[TimeframeOption.QUARTER]: (forward) => this.pagingDateChange('addCalendarMonths', 3, forward),
|
|
3395
3377
|
[TimeframeOption.MONTH]: (forward) => this.pagingDateChange('addCalendarMonths', 1, forward),
|
|
3396
|
-
[TimeframeOption.DAY]: (forward) => this.pagingDateChange('addCalendarDays', 1, forward)
|
|
3397
|
-
[TimeframeOption.WEEK]: (forward) => this.pagingDateChange('addCalendarDays', 7, forward)
|
|
3378
|
+
[TimeframeOption.DAY]: (forward) => this.pagingDateChange('addCalendarDays', 1, forward)
|
|
3398
3379
|
};
|
|
3399
3380
|
datePickerService.isTimeframeSelectionEnabled = true;
|
|
3400
3381
|
datePickerService.format$
|
|
3401
3382
|
.pipe(takeUntil(this.destroyed$))
|
|
3402
3383
|
.subscribe((value) => {
|
|
3403
|
-
datePickerService.format$.getValue();
|
|
3404
3384
|
this.onChangeFormat.emit(datePickerService.normalizeValue(value));
|
|
3405
3385
|
});
|
|
3406
3386
|
}
|
|
@@ -3414,26 +3394,19 @@ class DrDatePickerWithTimeframeComponent extends DrDatePickerComponent {
|
|
|
3414
3394
|
this.cdr.markForCheck();
|
|
3415
3395
|
}
|
|
3416
3396
|
}
|
|
3417
|
-
set availableTimeframes(value) {
|
|
3418
|
-
if (value && value.length) {
|
|
3419
|
-
this.datePickerService.availableTimeframes = value;
|
|
3420
|
-
}
|
|
3421
|
-
}
|
|
3422
3397
|
get displayedFormattedValue() {
|
|
3398
|
+
var _a;
|
|
3423
3399
|
if (!this.value) {
|
|
3424
3400
|
return this.placeholder;
|
|
3425
3401
|
}
|
|
3426
|
-
|
|
3427
|
-
|
|
3428
|
-
|
|
3429
|
-
return this.datePickerService.getQuarterDisplay(this.value);
|
|
3430
|
-
case formatCached === null || formatCached === void 0 ? void 0 : formatCached.includes('W'):
|
|
3431
|
-
return this.datePickerService.getWeekDisplay(this.value);
|
|
3432
|
-
default:
|
|
3433
|
-
return this.value.format(formatCached);
|
|
3434
|
-
}
|
|
3402
|
+
return ((_a = this.datePickerService.format$.getValue()) === null || _a === void 0 ? void 0 : _a.includes('Q'))
|
|
3403
|
+
? this.datePickerService.getQuarterDisplay(this.value)
|
|
3404
|
+
: this.value.format(this.datePickerService.format$.getValue());
|
|
3435
3405
|
}
|
|
3436
3406
|
ngOnInit() {
|
|
3407
|
+
if (this.dateFormatConfig) {
|
|
3408
|
+
this.datePickerService.formatConfig = Object.assign(Object.assign({}, this.datePickerService.formatConfig), this.dateFormatConfig);
|
|
3409
|
+
}
|
|
3437
3410
|
this.datePickerService.isTimeframeSelectionEnabled = this.canSelectTimeframe;
|
|
3438
3411
|
this.cdr.markForCheck();
|
|
3439
3412
|
}
|
|
@@ -3468,7 +3441,6 @@ DrDatePickerWithTimeframeComponent.propDecorators = {
|
|
|
3468
3441
|
isDashboardDatepicker: [{ type: Input }],
|
|
3469
3442
|
dateFormatConfig: [{ type: Input }],
|
|
3470
3443
|
canSelectTimeframe: [{ type: Input }],
|
|
3471
|
-
availableTimeframes: [{ type: Input }],
|
|
3472
3444
|
onChangeFormat: [{ type: Output }]
|
|
3473
3445
|
};
|
|
3474
3446
|
|
|
@@ -3514,17 +3486,6 @@ DrDatePickerFormatDirective.propDecorators = {
|
|
|
3514
3486
|
datePickerFormat: [{ type: Input, args: ['drDatePickerFormat',] }]
|
|
3515
3487
|
};
|
|
3516
3488
|
|
|
3517
|
-
class DrShowTimeframePipe {
|
|
3518
|
-
transform(arr, showOptions) {
|
|
3519
|
-
return arr.filter(item => showOptions.includes(item.timeframe));
|
|
3520
|
-
}
|
|
3521
|
-
}
|
|
3522
|
-
DrShowTimeframePipe.decorators = [
|
|
3523
|
-
{ type: Pipe, args: [{
|
|
3524
|
-
name: 'drShowTimeframePipe'
|
|
3525
|
-
},] }
|
|
3526
|
-
];
|
|
3527
|
-
|
|
3528
3489
|
// !!! Please do not use such approach in other places
|
|
3529
3490
|
// Hard fix for 'none' calendar view selection
|
|
3530
3491
|
MatCalendar.prototype.focusActiveCell = function () {
|
|
@@ -3544,8 +3505,7 @@ const components$1 = [
|
|
|
3544
3505
|
DrDatePickerWithTimeframeComponent,
|
|
3545
3506
|
DrDatePickerFormatDirective,
|
|
3546
3507
|
DrDatePickerCustomHeaderComponent,
|
|
3547
|
-
DrModelDebounceChangeDirective
|
|
3548
|
-
DrShowTimeframePipe
|
|
3508
|
+
DrModelDebounceChangeDirective
|
|
3549
3509
|
];
|
|
3550
3510
|
class DrInputsModule {
|
|
3551
3511
|
}
|
|
@@ -3707,5 +3667,5 @@ DrAccordionModule.decorators = [
|
|
|
3707
3667
|
* Generated bundle index. Do not edit.
|
|
3708
3668
|
*/
|
|
3709
3669
|
|
|
3710
|
-
export { AnyTagComponent, CalendarView, CheckboxComponent, CustomDateFormat, DateFromats, DatePickerPeriodPosition, DateTagComponent, DateTagModule, DayTagComponent, DrAccordionComponent, DrAccordionItemBodyComponent, DrAccordionItemComponent, DrAccordionItemHeaderComponent, DrAccordionModule, DrAvatarComponent, DrAvatarModule, DrAvatarPipe, DrButtonComponent, DrDropdownComponent, DrDropdownDirective, DrDropdownItemShowPipe, DrDropdownModule, DrDropdownPositionDirective, DrDropdownService, DrInputComponent, DrInputsModule, DrModelDebounceChangeDirective, DrPopoverAlignmentDimension, DrPopoverComponent, DrPopoverDirective, DrPopoverModule, DrPopoverRef, DrPopoverService, DrSelectComponent, DrSpinnerComponent, DrSpinnerDirective, DrSpinnerModule, DrTabComponent, DrTabsComponent, DrTabsModule, DrTagComponent, DrTagModule, DrToggleButtonComponent, DrToggleComponent, DrTooltipDirective, DrTooltipModule, ForecastTagComponent, ListTagComponent, ListTagModule, MonthTagComponent, QuarterTagComponent, RadioButtonComponent, RadioGroupComponent, SpinnerSize, SpinnerType, TimeframeOption, TooltipComponent, WeekTagComponent, YearTagComponent, components$2 as ɵa, POPUP_ANIMATION as ɵb, DrDatePickerComponent as ɵc, DrDatePickerService as ɵd, DrDatePickerWithTimeframeComponent as ɵe, DrDatePickerFormatDirective as ɵf, DrDatePickerCustomHeaderComponent as ɵg
|
|
3670
|
+
export { AnyTagComponent, CalendarView, CheckboxComponent, CustomDateFormat, DateFromats, DatePickerPeriodPosition, DateTagComponent, DateTagModule, DayTagComponent, DrAccordionComponent, DrAccordionItemBodyComponent, DrAccordionItemComponent, DrAccordionItemHeaderComponent, DrAccordionModule, DrAvatarComponent, DrAvatarModule, DrAvatarPipe, DrButtonComponent, DrDropdownComponent, DrDropdownDirective, DrDropdownItemShowPipe, DrDropdownModule, DrDropdownPositionDirective, DrDropdownService, DrInputComponent, DrInputsModule, DrModelDebounceChangeDirective, DrPopoverAlignmentDimension, DrPopoverComponent, DrPopoverDirective, DrPopoverModule, DrPopoverRef, DrPopoverService, DrSelectComponent, DrSharedUtils, DrSpinnerComponent, DrSpinnerDirective, DrSpinnerModule, DrTabComponent, DrTabsComponent, DrTabsModule, DrTagComponent, DrTagModule, DrToggleButtonComponent, DrToggleComponent, DrTooltipDirective, DrTooltipModule, ForecastTagComponent, ListTagComponent, ListTagModule, MonthTagComponent, QuarterTagComponent, RadioButtonComponent, RadioGroupComponent, SpinnerSize, SpinnerType, TimeframeOption, TooltipComponent, WeekTagComponent, YearTagComponent, components$2 as ɵa, POPUP_ANIMATION as ɵb, DrDatePickerComponent as ɵc, DrDatePickerService as ɵd, DrDatePickerWithTimeframeComponent as ɵe, DrDatePickerFormatDirective as ɵf, DrDatePickerCustomHeaderComponent as ɵg };
|
|
3711
3671
|
//# sourceMappingURL=datarailsshared-datarailsshared.js.map
|