@datarailsshared/datarailsshared 1.6.283 → 1.6.287
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/mixins.scss +10 -0
- package/assets/styles/vars.scss +2 -0
- package/datarailsshared-datarailsshared-1.6.287.tgz +0 -0
- package/esm2022/lib/dr-avatar/dr-avatar.component.mjs +2 -2
- package/esm2022/lib/dr-chat/dr-chat-message/chat-message.component.mjs +3 -3
- package/esm2022/lib/dr-inputs/dr-input/dr-input.component.mjs +22 -9
- package/esm2022/lib/dr-spinner/dr-spinner.component.mjs +2 -2
- package/esm2022/lib/pipes/img/img.pipe.mjs +5 -5
- package/fesm2022/datarailsshared-datarailsshared.mjs +32 -19
- package/fesm2022/datarailsshared-datarailsshared.mjs.map +1 -1
- package/lib/dr-inputs/dr-input/dr-input.component.d.ts +4 -2
- package/lib/pipes/img/img.pipe.d.ts +2 -1
- package/package.json +1 -1
- package/assets/styles/img/default-avatar.svg +0 -8
- package/assets/styles/img/default-chat-avatar.svg +0 -13
- package/assets/styles/img/genius-ai.svg +0 -66
- package/assets/styles/img/new-spinner.gif +0 -0
- package/datarailsshared-datarailsshared-1.6.283.tgz +0 -0
|
@@ -15,6 +15,7 @@ export declare class DrInputComponent implements AfterViewInit, ControlValueAcce
|
|
|
15
15
|
id?: string;
|
|
16
16
|
hostId: any;
|
|
17
17
|
set disabled(value: any);
|
|
18
|
+
set readonly(value: any);
|
|
18
19
|
set buttonOptions(value: ButtonOptions);
|
|
19
20
|
set type(val: string);
|
|
20
21
|
get type(): string;
|
|
@@ -22,7 +23,6 @@ export declare class DrInputComponent implements AfterViewInit, ControlValueAcce
|
|
|
22
23
|
get placeholder(): string;
|
|
23
24
|
set clearable(val: any);
|
|
24
25
|
name: string;
|
|
25
|
-
readonly: boolean;
|
|
26
26
|
min: number | string;
|
|
27
27
|
max: number | string;
|
|
28
28
|
maxlength: number;
|
|
@@ -42,6 +42,7 @@ export declare class DrInputComponent implements AfterViewInit, ControlValueAcce
|
|
|
42
42
|
get elementClass(): string;
|
|
43
43
|
innerValue: any;
|
|
44
44
|
_disabled: boolean | null;
|
|
45
|
+
_readonly: boolean | null;
|
|
45
46
|
_elementClass: string[];
|
|
46
47
|
_buttonOptions: ButtonOptions;
|
|
47
48
|
listenFunc: (...params: any[]) => any;
|
|
@@ -67,12 +68,13 @@ export declare class DrInputComponent implements AfterViewInit, ControlValueAcce
|
|
|
67
68
|
writeValue(value: number | string): void;
|
|
68
69
|
updateChanges(): void;
|
|
69
70
|
setDisabledState(isDisabled: boolean): void;
|
|
71
|
+
setReadonlyState(isReadonly: boolean): void;
|
|
70
72
|
onSearchClicked(): void;
|
|
71
73
|
onButtonClicked($event: any): void;
|
|
72
74
|
ngOnDestroy(): void;
|
|
73
75
|
onClear($event: any): void;
|
|
74
76
|
focus(): void;
|
|
75
77
|
static ɵfac: i0.ɵɵFactoryDeclaration<DrInputComponent, never>;
|
|
76
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DrInputComponent, "dr-input", never, { "id": { "alias": "id"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "
|
|
78
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DrInputComponent, "dr-input", never, { "id": { "alias": "id"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "buttonOptions": { "alias": "buttonOptions"; "required": false; }; "type": { "alias": "type"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "name": { "alias": "name"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "maxlength": { "alias": "maxlength"; "required": false; }; "minlength": { "alias": "minlength"; "required": false; }; "pattern": { "alias": "pattern"; "required": false; }; "step": { "alias": "step"; "required": false; }; "searchMini": { "alias": "searchMini"; "required": false; }; "mask": { "alias": "mask"; "required": false; }; "suffix": { "alias": "suffix"; "required": false; }; "prefix": { "alias": "prefix"; "required": false; }; }, { "blur": "blur"; "focused": "focus"; "modelDebounceChange": "modelDebounceChange"; "searchHandler": "searchHandler"; "clearHandler": "clearHandler"; "buttonHandler": "buttonHandler"; }, ["prefixIcon", "suffixIcon"], ["[prefixIcon]", "[suffixIcon]"], false, never>;
|
|
77
79
|
}
|
|
78
80
|
export {};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { PipeTransform } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
+
export declare const ASSETS_URL = "https://shared-assets.datarails.com/dr-assets/";
|
|
3
4
|
export declare class ImgPipe implements PipeTransform {
|
|
4
|
-
transform(value: string
|
|
5
|
+
transform(value: string): string;
|
|
5
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<ImgPipe, never>;
|
|
6
7
|
static ɵpipe: i0.ɵɵPipeDeclaration<ImgPipe, "img", true>;
|
|
7
8
|
}
|
package/package.json
CHANGED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<rect width="24" height="24" rx="12" fill="#E5E6EA"/>
|
|
3
|
-
<path fill-rule="evenodd" clip-rule="evenodd"
|
|
4
|
-
d="M15 9.75C15 11.4069 13.6569 12.75 12 12.75C10.3431 12.75 9 11.4069 9 9.75C9 8.09315 10.3431 6.75 12 6.75C13.6569 6.75 15 8.09315 15 9.75ZM13.875 9.75C13.875 10.7855 13.0355 11.625 12 11.625C10.9645 11.625 10.125 10.7855 10.125 9.75C10.125 8.71447 10.9645 7.875 12 7.875C13.0355 7.875 13.875 8.71447 13.875 9.75Z"
|
|
5
|
-
fill="#51566F"/>
|
|
6
|
-
<path d="M15.9968 16.7631C15.5425 15.3973 14.0368 14.25 12 14.25C9.9632 14.25 8.45748 15.3973 8.00319 16.7631C7.91242 17.0359 7.67416 17.25 7.38657 17.25C7.04536 17.25 6.77507 16.9539 6.86275 16.6241C7.39546 14.6206 9.49327 13.125 12 13.125C14.5067 13.125 16.6045 14.6206 17.1373 16.6241C17.2249 16.9539 16.9546 17.25 16.6134 17.25C16.3259 17.25 16.0876 17.0359 15.9968 16.7631Z"
|
|
7
|
-
fill="#51566F"/>
|
|
8
|
-
</svg>
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<g clip-path="url(#clip0_60_3314)">
|
|
3
|
-
<circle cx="16" cy="16" r="16" fill="#151B3F"/>
|
|
4
|
-
<path d="M23.9836 6C23.8033 6 23.6271 6.05345 23.4773 6.15358C23.3274 6.25372 23.2106 6.39605 23.1416 6.56257C23.0727 6.72909 23.0546 6.91233 23.0898 7.0891C23.1249 7.26588 23.2117 7.42826 23.3392 7.55571C23.4666 7.68316 23.629 7.76995 23.8058 7.80512C23.9826 7.84028 24.1658 7.82223 24.3323 7.75326C24.4988 7.68428 24.6412 7.56748 24.7413 7.41761C24.8414 7.26775 24.8949 7.09156 24.8949 6.91131C24.8949 6.79164 24.8713 6.67314 24.8255 6.56257C24.7797 6.452 24.7126 6.35154 24.628 6.26692C24.5433 6.18229 24.4429 6.11517 24.3323 6.06937C24.2218 6.02357 24.1032 6 23.9836 6Z" fill="#F93576"/>
|
|
5
|
-
<path d="M14.4784 12.2578C13.4049 12.5041 12.4218 13.0459 11.6402 13.8219C10.8585 14.5979 10.3096 15.5771 10.0556 16.6488L10.0186 16.8072H11.5809L11.6098 16.7177C11.8243 16.0309 12.2036 15.407 12.7146 14.9004C13.2255 14.3937 13.8526 14.0197 14.5412 13.8109L14.6317 13.7832V12.2218L14.4784 12.2578Z" fill="#FFA310"/>
|
|
6
|
-
<path d="M20.26 14.0557L19.8897 13.7091C19.1313 12.9969 18.1992 12.4965 17.1866 12.2578L17.0303 12.2208V13.7832L17.1208 13.8109C17.743 14.0025 18.3152 14.329 18.7966 14.7671C19.2781 15.2053 19.6569 15.7444 19.906 16.3458C20.1551 16.9473 20.2683 17.5963 20.2376 18.2466C20.2069 18.8969 20.0331 19.5323 19.7284 20.1077C19.4238 20.683 18.9959 21.184 18.4754 21.5749C17.9548 21.9658 17.3544 22.2369 16.7169 22.369C16.0794 22.501 15.4207 22.4908 14.7877 22.3389C14.1547 22.187 13.563 21.8972 13.0549 21.4903C12.356 20.9222 11.8443 20.157 11.586 19.2943L11.5593 19.2027H10L10.035 19.358C10.3187 20.5951 10.9875 21.7104 11.945 22.5435C13.0538 23.5056 14.48 24.0223 15.9477 23.9936C17.4155 23.9649 18.8204 23.3929 19.8907 22.3882L20.26 22.0426V23.8282H21.7771V9.13403H20.26V14.0557Z" fill="#FBFCF5"/>
|
|
7
|
-
</g>
|
|
8
|
-
<defs>
|
|
9
|
-
<clipPath id="clip0_60_3314">
|
|
10
|
-
<rect width="32" height="32" fill="white"/>
|
|
11
|
-
</clipPath>
|
|
12
|
-
</defs>
|
|
13
|
-
</svg>
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 74 65">
|
|
3
|
-
<defs>
|
|
4
|
-
<style>
|
|
5
|
-
.cls-1, .cls-2, .cls-3 {
|
|
6
|
-
fill: none;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.cls-4 {
|
|
10
|
-
fill: url(#linear-gradient);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.cls-5 {
|
|
14
|
-
fill: #4eb7df;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.cls-2 {
|
|
18
|
-
stroke: #a6a8aa;
|
|
19
|
-
stroke-miterlimit: 10;
|
|
20
|
-
stroke-width: .37px;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.cls-6 {
|
|
24
|
-
fill: url(#linear-gradient-3);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.cls-7 {
|
|
28
|
-
fill: url(#linear-gradient-2);
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.cls-3 {
|
|
32
|
-
clip-path: url(#clippath);
|
|
33
|
-
}
|
|
34
|
-
</style>
|
|
35
|
-
<clipPath id="clippath">
|
|
36
|
-
<rect class="cls-1" width="74" height="65"/>
|
|
37
|
-
</clipPath>
|
|
38
|
-
<linearGradient id="linear-gradient" x1="24.26" y1="-3.79" x2="95.63" y2="88.82" gradientTransform="translate(0 65.89) scale(1 -1)" gradientUnits="userSpaceOnUse">
|
|
39
|
-
<stop offset="0" stop-color="#7676ff"/>
|
|
40
|
-
<stop offset=".18" stop-color="#5959ff"/>
|
|
41
|
-
<stop offset=".35" stop-color="#5757e0"/>
|
|
42
|
-
<stop offset=".61" stop-color="#4646ce"/>
|
|
43
|
-
<stop offset=".84" stop-color="#4b4be4"/>
|
|
44
|
-
<stop offset="1" stop-color="#4444eb"/>
|
|
45
|
-
</linearGradient>
|
|
46
|
-
<linearGradient id="linear-gradient-2" x1="12.05" y1="77.06" x2="10.77" y2="13.85" gradientTransform="translate(0 65.89) scale(1 -1)" gradientUnits="userSpaceOnUse">
|
|
47
|
-
<stop offset=".45" stop-color="#2f92b8"/>
|
|
48
|
-
<stop offset=".84" stop-color="#4eb7df"/>
|
|
49
|
-
<stop offset="1" stop-color="#4eb7df"/>
|
|
50
|
-
</linearGradient>
|
|
51
|
-
<linearGradient id="linear-gradient-3" x1="62.26" y1="-2.54" x2="61.76" y2="85.91" gradientTransform="translate(0 65.89) scale(1 -1)" gradientUnits="userSpaceOnUse">
|
|
52
|
-
<stop offset="0" stop-color="#36369b"/>
|
|
53
|
-
<stop offset=".52" stop-color="#4848d0"/>
|
|
54
|
-
</linearGradient>
|
|
55
|
-
</defs>
|
|
56
|
-
<g class="cls-3">
|
|
57
|
-
<g>
|
|
58
|
-
<path class="cls-4" d="m73.32,24.79v15.73c0,13.12-9.87,23.79-22,23.79h-21.32c-3.46-.06-6.25-3.11-6.25-6.87s2.79-6.81,6.25-6.87h21.32c5.13,0,9.29-4.51,9.29-10.05v-15.73c0-5.54-4.17-10.05-9.29-10.05h-7.46c3.51,0,6.35-3.08,6.35-6.88s-2.79-6.8-6.25-6.87h7.35c12.12,0,22,10.67,22,23.79h0Z"/>
|
|
59
|
-
<path class="cls-5" d="m50.26,7.82c0,3.8-2.9,6.93-6.41,6.93h-21.86c-5.13,0-9.29,4.51-9.29,10.05v15.73c0,5.54,4.17,10.05,9.29,10.05h8.01c-3.46.06-6.25,3.11-6.25,6.87s2.79,6.81,6.25,6.87h-8.01c-12.12,0-22-10.67-22-23.79v-15.73C0,11.68,9.87,1,21.99,1h21.97c3.46.06,6.3,3.06,6.3,6.82Z"/>
|
|
60
|
-
<path class="cls-2" d="m66.45,1h-.22.22,0Z"/>
|
|
61
|
-
<path class="cls-2" d="m36.05,50.58h-.22.22,0Z"/>
|
|
62
|
-
<path class="cls-7" d="m0,33.78v-2.76C0,12.9,13.62,14.48,13.62,14.48h8.38c-5.5.46-9.5,4.71-9.5,9.96l.02,15.8c0,5.54,4.44,10.59,9.48,10.59l-8-.5S0,51.88,0,33.77h0Z"/>
|
|
63
|
-
<path class="cls-6" d="m73,31.51v2.76c0,18.12-13.62,16.53-13.62,16.53h-7.99c5.61-.85,9.09-4.76,9.09-10.02l.02-16.33c0-5.54-4.46-10-9.5-10h8s13.99-1.05,13.99,17.07h0Z"/>
|
|
64
|
-
</g>
|
|
65
|
-
</g>
|
|
66
|
-
</svg>
|
|
Binary file
|
|
Binary file
|