@datarailsshared/datarailsshared 1.6.334 → 1.6.338
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/assets/styles/_styles.scss +2 -1
- package/datarailsshared-datarailsshared-1.6.338.tgz +0 -0
- package/esm2022/lib/dr-dialog/components/dialog-modal-wrapper/dialog-modal-wrapper.component.mjs +6 -6
- package/esm2022/lib/dr-grid/components/cells/tbl-header/tbl-header.component.mjs +3 -3
- package/esm2022/lib/dr-grid/components/dr-grid-columns-filter-popover/dr-grid-columns-filter-popover.component.mjs +4 -4
- package/esm2022/lib/dr-grid/components/dr-grid-toolbar/dr-grid-toolbar.component.mjs +3 -3
- package/esm2022/lib/dr-inputs/button/button.component.mjs +2 -2
- package/esm2022/lib/dr-inputs/button/dr-button-link.directive.mjs +34 -0
- package/esm2022/lib/dr-inputs/checkbox/checkbox.component.mjs +5 -4
- package/esm2022/lib/dr-inputs/date-pickers/date-time-picker/date-time-picker.component.mjs +5 -6
- package/esm2022/lib/dr-inputs/date-pickers/directives/dr-date-picker-format.directive.mjs +3 -2
- package/esm2022/lib/dr-inputs/date-pickers/dr-date-picker/dr-date-picker.component.mjs +20 -11
- package/esm2022/lib/dr-inputs/date-pickers/dr-date-picker-range/dr-date-picker-range.component.mjs +9 -8
- package/esm2022/lib/dr-inputs/date-pickers/dr-date-picker-with-timeframe/dr-date-picker-with-timeframe.component.mjs +13 -10
- package/esm2022/lib/dr-inputs/date-pickers/dr-date-picker_custom-header/dr-date-picker_custom-header.component.mjs +13 -10
- package/esm2022/lib/dr-inputs/date-pickers/dr-fiscal-month-calendar-picker/dr-fiscal-month-calendar-header.component.mjs +11 -8
- package/esm2022/lib/dr-inputs/date-pickers/dr-fiscal-month-calendar-picker/dr-fiscal-month-calendar-picker.component.mjs +20 -9
- package/esm2022/lib/dr-inputs/date-pickers/dr-show-timeframe.pipe.mjs +3 -2
- package/esm2022/lib/dr-inputs/date-pickers/time-picker/time-picker.component.mjs +6 -7
- package/esm2022/lib/dr-inputs/dr-input/dr-input.component.mjs +12 -9
- package/esm2022/lib/dr-inputs/dr-inputs.module.mjs +29 -73
- package/esm2022/lib/dr-inputs/dr-model-debounce-change.directive.mjs +3 -2
- package/esm2022/lib/dr-inputs/dr-select/dr-select.component.mjs +12 -9
- package/esm2022/lib/dr-inputs/dr-select-add-item/dr-select-add-item.component.mjs +8 -7
- package/esm2022/lib/dr-inputs/dr-toggle/dr-toggle.component.mjs +5 -4
- package/esm2022/lib/dr-inputs/dr-toggle-button/dr-toggle-button.component.mjs +6 -4
- package/esm2022/lib/dr-inputs/index.mjs +3 -0
- package/esm2022/lib/dr-inputs/public-api.mjs +24 -0
- package/esm2022/lib/dr-inputs/radio-button/radio-button.component.mjs +6 -6
- package/esm2022/lib/dr-inputs/radio-button/radio-group.component.mjs +4 -3
- package/esm2022/lib/filter-dropdown/filter-dropdown.component.mjs +4 -4
- package/esm2022/local-api.mjs +2 -25
- package/fesm2022/datarailsshared-datarailsshared.mjs +5598 -5604
- package/fesm2022/datarailsshared-datarailsshared.mjs.map +1 -1
- package/lib/dr-inputs/button/dr-button-link.directive.d.ts +9 -0
- package/lib/dr-inputs/checkbox/checkbox.component.d.ts +1 -1
- package/lib/dr-inputs/date-pickers/directives/dr-date-picker-format.directive.d.ts +1 -1
- package/lib/dr-inputs/date-pickers/dr-date-picker/dr-date-picker.component.d.ts +1 -1
- package/lib/dr-inputs/date-pickers/dr-date-picker-range/dr-date-picker-range.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 -1
- package/lib/dr-inputs/date-pickers/dr-date-picker_custom-header/dr-date-picker_custom-header.component.d.ts +1 -1
- package/lib/dr-inputs/date-pickers/dr-fiscal-month-calendar-picker/dr-fiscal-month-calendar-header.component.d.ts +1 -1
- package/lib/dr-inputs/date-pickers/dr-fiscal-month-calendar-picker/dr-fiscal-month-calendar-picker.component.d.ts +1 -1
- package/lib/dr-inputs/date-pickers/dr-show-timeframe.pipe.d.ts +1 -1
- package/lib/dr-inputs/dr-input/dr-input.component.d.ts +1 -1
- package/lib/dr-inputs/dr-inputs.module.d.ts +20 -30
- package/lib/dr-inputs/dr-model-debounce-change.directive.d.ts +1 -1
- package/lib/dr-inputs/dr-select/dr-select.component.d.ts +1 -1
- package/lib/dr-inputs/dr-select-add-item/dr-select-add-item.component.d.ts +1 -1
- package/lib/dr-inputs/dr-toggle/dr-toggle.component.d.ts +1 -1
- package/lib/dr-inputs/dr-toggle-button/dr-toggle-button.component.d.ts +1 -1
- package/lib/dr-inputs/index.d.ts +2 -0
- package/lib/dr-inputs/public-api.d.ts +23 -0
- package/lib/dr-inputs/radio-button/radio-button.component.d.ts +1 -1
- package/lib/dr-inputs/radio-button/radio-group.component.d.ts +1 -1
- package/local-api.d.ts +1 -24
- package/package.json +1 -1
- package/styles.css +393 -193
- package/datarailsshared-datarailsshared-1.6.334.tgz +0 -0
- package/esm2022/lib/dr-inputs/dr-link/dr-link.component.mjs +0 -43
- package/lib/dr-inputs/dr-link/dr-link.component.d.ts +0 -16
|
Binary file
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { Component, Input } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
const _c0 = ["*"];
|
|
4
|
-
export var LinkTheme;
|
|
5
|
-
(function (LinkTheme) {
|
|
6
|
-
LinkTheme["DEFAULT"] = "DEFAULT";
|
|
7
|
-
LinkTheme["DEFAULT_UNDERLINE"] = "DEFAULT_UNDERLINE";
|
|
8
|
-
LinkTheme["GRAY_UNDERLINE"] = "GRAY_UNDERLINE";
|
|
9
|
-
})(LinkTheme || (LinkTheme = {}));
|
|
10
|
-
export const DEFAULT_LINK_FONT_SIZE = '14px';
|
|
11
|
-
export const DEFAULT_LINK_FONT_WEIGHT = 400;
|
|
12
|
-
export class DrLinkComponent {
|
|
13
|
-
constructor() {
|
|
14
|
-
this.fontSize = DEFAULT_LINK_FONT_SIZE;
|
|
15
|
-
this.fontWeight = DEFAULT_LINK_FONT_WEIGHT;
|
|
16
|
-
this.theme = LinkTheme.DEFAULT;
|
|
17
|
-
}
|
|
18
|
-
/** @nocollapse */ static { this.ɵfac = function DrLinkComponent_Factory(t) { return new (t || DrLinkComponent)(); }; }
|
|
19
|
-
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrLinkComponent, selectors: [["dr-link"]], inputs: { link: "link", fontSize: "fontSize", fontWeight: "fontWeight", theme: "theme" }, ngContentSelectors: _c0, decls: 2, vars: 7, consts: [[1, "dr-link", 3, "href"]], template: function DrLinkComponent_Template(rf, ctx) { if (rf & 1) {
|
|
20
|
-
i0.ɵɵprojectionDef();
|
|
21
|
-
i0.ɵɵelementStart(0, "a", 0);
|
|
22
|
-
i0.ɵɵprojection(1);
|
|
23
|
-
i0.ɵɵelementEnd();
|
|
24
|
-
} if (rf & 2) {
|
|
25
|
-
i0.ɵɵclassMap(ctx.theme);
|
|
26
|
-
i0.ɵɵstyleProp("font-weight", ctx.fontWeight)("font-size", ctx.fontSize);
|
|
27
|
-
i0.ɵɵproperty("href", ctx.link, i0.ɵɵsanitizeUrl);
|
|
28
|
-
} }, styles: [".dr-link[_ngcontent-%COMP%]{display:inline-flex;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:Poppins,sans-serif;font-style:normal;font-size:14px;font-weight:400;line-height:24px;color:#4646ce}.dr-link.DEFAULT[_ngcontent-%COMP%]{text-decoration:none!important}.dr-link.DEFAULT_UNDERLINE[_ngcontent-%COMP%]{text-decoration:underline!important}.dr-link.GRAY_UNDERLINE[_ngcontent-%COMP%]{color:#6d6e6f;text-decoration:underline!important}"] }); }
|
|
29
|
-
}
|
|
30
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DrLinkComponent, [{
|
|
31
|
-
type: Component,
|
|
32
|
-
args: [{ selector: 'dr-link', template: "<a class=\"dr-link\" [class]=\"theme\" [href]=\"link\" [style.font-weight]=\"fontWeight\" [style.font-size]=\"fontSize\">\n <ng-content></ng-content>\n</a>\n", styles: [".dr-link{display:inline-flex;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:Poppins,sans-serif;font-style:normal;font-size:14px;font-weight:400;line-height:24px;color:#4646ce}.dr-link.DEFAULT{text-decoration:none!important}.dr-link.DEFAULT_UNDERLINE{text-decoration:underline!important}.dr-link.GRAY_UNDERLINE{color:#6d6e6f;text-decoration:underline!important}\n"] }]
|
|
33
|
-
}], null, { link: [{
|
|
34
|
-
type: Input,
|
|
35
|
-
args: [{ required: true }]
|
|
36
|
-
}], fontSize: [{
|
|
37
|
-
type: Input
|
|
38
|
-
}], fontWeight: [{
|
|
39
|
-
type: Input
|
|
40
|
-
}], theme: [{
|
|
41
|
-
type: Input
|
|
42
|
-
}] }); })();
|
|
43
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHItbGluay5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9kYXRhcmFpbHNzaGFyZWQvc3JjL2xpYi9kci1pbnB1dHMvZHItbGluay9kci1saW5rLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2RhdGFyYWlsc3NoYXJlZC9zcmMvbGliL2RyLWlucHV0cy9kci1saW5rL2RyLWxpbmsuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQUUsTUFBTSxlQUFlLENBQUM7OztBQUVqRCxNQUFNLENBQU4sSUFBWSxTQUlYO0FBSkQsV0FBWSxTQUFTO0lBQ2pCLGdDQUFtQixDQUFBO0lBQ25CLG9EQUF1QyxDQUFBO0lBQ3ZDLDh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HBvcnQgY29uc3QgREVGQVVMVF9MSU5LX0ZPTlRfV0VJR0hUID0gNDAwIGFzIGNvbnN0O1xuXG5AQ29tcG9uZW50KHtcbiAgICBzZWxlY3RvcjogJ2RyLWxpbmsnLFxuICAgIHRlbXBsYXRlVXJsOiAnLi9kci1saW5rLmNvbXBvbmVudC5odG1sJyxcbiAgICBzdHlsZVVybHM6IFsnLi9kci1saW5rLmNvbXBvbmVudC5zY3NzJ10sXG59KVxuZXhwb3J0IGNsYXNzIERyTGlua0NvbXBvbmVudCB7XG4gICAgQElucHV0KHsgcmVxdWlyZWQ6IHRydWUgfSkgbGluazogc3RyaW5nO1xuICAgIEBJbnB1dCgpIGZvbnRTaXplOiBzdHJpbmcgPSBERUZBVUxUX0xJTktfRk9OVF9TSVpFO1xuICAgIEBJbnB1dCgpIGZvbnRXZWlnaHQ6IG51bWJlciA9IERFRkFVTFRfTElOS19GT05UX1dFSUdIVDtcbiAgICBASW5wdXQoKSB0aGVtZTogTGlua1RoZW1lID0gTGlua1RoZW1lLkRFRkFVTFQ7XG59XG4iLCI8YSBjbGFzcz1cImRyLWxpbmtcIiBbY2xhc3NdPVwidGhlbWVcIiBbaHJlZl09XCJsaW5rXCIgW3N0eWxlLmZvbnQtd2VpZ2h0XT1cImZvbnRXZWlnaHRcIiBbc3R5bGUuZm9udC1zaXplXT1cImZvbnRTaXplXCI+XG4gICAgPG5nLWNvbnRlbnQ+PC9uZy1jb250ZW50PlxuPC9hPlxuIl19
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare enum LinkTheme {
|
|
3
|
-
DEFAULT = "DEFAULT",
|
|
4
|
-
DEFAULT_UNDERLINE = "DEFAULT_UNDERLINE",
|
|
5
|
-
GRAY_UNDERLINE = "GRAY_UNDERLINE"
|
|
6
|
-
}
|
|
7
|
-
export declare const DEFAULT_LINK_FONT_SIZE: "14px";
|
|
8
|
-
export declare const DEFAULT_LINK_FONT_WEIGHT: 400;
|
|
9
|
-
export declare class DrLinkComponent {
|
|
10
|
-
link: string;
|
|
11
|
-
fontSize: string;
|
|
12
|
-
fontWeight: number;
|
|
13
|
-
theme: LinkTheme;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DrLinkComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DrLinkComponent, "dr-link", never, { "link": { "alias": "link"; "required": true; }; "fontSize": { "alias": "fontSize"; "required": false; }; "fontWeight": { "alias": "fontWeight"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
16
|
-
}
|