@sd-angular/core 19.0.0-beta.100 → 19.0.0-beta.102
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/images/coming-soon.svg +23 -0
- package/assets/images/data-empty.svg +21 -0
- package/assets/images/expired.svg +22 -0
- package/assets/images/file-error.svg +28 -0
- package/assets/images/filter-empty.svg +20 -0
- package/assets/images/filter-required.svg +21 -0
- package/assets/images/forbidden.svg +15 -0
- package/assets/images/image-error.svg +27 -0
- package/assets/images/maintenance.svg +23 -0
- package/assets/images/not-found.svg +20 -0
- package/assets/images/offline.svg +20 -0
- package/assets/images/submitted.svg +18 -0
- package/assets/images/success.svg +18 -0
- package/assets/images/unauthorized.svg +22 -0
- package/assets/images/unknown-error.svg +18 -0
- package/assets/scss/core/image.scss +35 -0
- package/assets/scss/sd-core.scss +1 -0
- package/components/index.d.ts +1 -0
- package/components/operator/index.d.ts +1 -0
- package/components/operator/src/operator.component.d.ts +34 -0
- package/components/query-bar/index.d.ts +2 -0
- package/components/query-bar/src/actions-bar.component.d.ts +31 -0
- package/components/query-bar/src/build-chip.component.d.ts +67 -0
- package/components/query-bar/src/chip-popover.component.d.ts +73 -0
- package/components/query-bar/src/field-picker.component.d.ts +37 -0
- package/components/query-bar/src/inline-chip.component.d.ts +82 -0
- package/components/query-bar/src/inline-value-chip.component.d.ts +71 -0
- package/components/query-bar/src/popover-chip.component.d.ts +35 -0
- package/components/query-bar/src/query-bar.component.d.ts +137 -0
- package/components/query-bar/src/query-bar.model.d.ts +136 -0
- package/components/query-bar/src/saved-filters-menu.component.d.ts +39 -0
- package/components/table/src/components/column-title/column-title.component.d.ts +1 -1
- package/components/table/src/components/desktop-cell/desktop-cell.component.d.ts +3 -3
- package/components/table/src/components/filter/column-filter/column-filter.component.d.ts +3 -7
- package/components/table/src/directives/sd-table-cell-def.directive.d.ts +12 -4
- package/components/table/src/directives/sd-table-column-filter-def.directive.d.ts +12 -4
- package/components/table/src/directives/sd-table-expand-def.directive.d.ts +10 -4
- package/components/table/src/directives/sd-table-filter-def.directive.d.ts +3 -3
- package/components/table/src/directives/sd-table-footer-def.directive.d.ts +12 -4
- package/components/table/src/directives/sd-table-title-def.directive.d.ts +10 -4
- package/components/table/src/table.component.d.ts +7 -7
- package/components/view/src/view.component.d.ts +2 -1
- package/directives/src/sd-desktop.directive.d.ts +2 -4
- package/directives/src/sd-mobile.directive.d.ts +2 -4
- package/fesm2022/sd-angular-core-components-anchor.mjs +73 -47
- package/fesm2022/sd-angular-core-components-anchor.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-badge.mjs +2 -2
- package/fesm2022/sd-angular-core-components-badge.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-form-generic.mjs +16 -16
- package/fesm2022/sd-angular-core-components-form-generic.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-operator.mjs +75 -0
- package/fesm2022/sd-angular-core-components-operator.mjs.map +1 -0
- package/fesm2022/sd-angular-core-components-query-bar.mjs +1425 -0
- package/fesm2022/sd-angular-core-components-query-bar.mjs.map +1 -0
- package/fesm2022/sd-angular-core-components-quick-action.mjs +2 -2
- package/fesm2022/sd-angular-core-components-quick-action.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-table.mjs +60 -27
- package/fesm2022/sd-angular-core-components-table.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-upload-file.mjs +4 -4
- package/fesm2022/sd-angular-core-components-upload-file.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-view.mjs +5 -2
- package/fesm2022/sd-angular-core-components-view.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components.mjs +1 -0
- package/fesm2022/sd-angular-core-components.mjs.map +1 -1
- package/fesm2022/sd-angular-core-directives.mjs +15 -17
- package/fesm2022/sd-angular-core-directives.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-autocomplete.mjs +5 -8
- package/fesm2022/sd-angular-core-forms-autocomplete.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-checkbox.mjs +83 -87
- package/fesm2022/sd-angular-core-forms-checkbox.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-chip-calendar.mjs +76 -57
- package/fesm2022/sd-angular-core-forms-chip-calendar.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-chip.mjs +73 -48
- package/fesm2022/sd-angular-core-forms-chip.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-date-range.mjs +41 -4
- package/fesm2022/sd-angular-core-forms-date-range.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-date.mjs +14 -9
- package/fesm2022/sd-angular-core-forms-date.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-datetime.mjs +8 -9
- package/fesm2022/sd-angular-core-forms-datetime.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-directives.mjs +18 -24
- package/fesm2022/sd-angular-core-forms-directives.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-input-number.mjs +5 -8
- package/fesm2022/sd-angular-core-forms-input-number.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-input.mjs +5 -9
- package/fesm2022/sd-angular-core-forms-input.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-models.mjs +13 -1
- package/fesm2022/sd-angular-core-forms-models.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-radio.mjs +116 -176
- package/fesm2022/sd-angular-core-forms-radio.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-select.mjs +23 -10
- package/fesm2022/sd-angular-core-forms-select.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-switch.mjs +80 -99
- package/fesm2022/sd-angular-core-forms-switch.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-textarea.mjs +5 -8
- package/fesm2022/sd-angular-core-forms-textarea.mjs.map +1 -1
- package/fesm2022/sd-angular-core-i18n.mjs +35 -0
- package/fesm2022/sd-angular-core-i18n.mjs.map +1 -1
- package/fesm2022/sd-angular-core-modules-layout.mjs +10 -10
- package/fesm2022/sd-angular-core-modules-layout.mjs.map +1 -1
- package/fesm2022/sd-angular-core-modules-permission.mjs.map +1 -1
- package/fesm2022/sd-angular-core-services-confirm.mjs +1 -1
- package/fesm2022/sd-angular-core-services-confirm.mjs.map +1 -1
- package/forms/autocomplete/src/autocomplete.component.d.ts +3 -4
- package/forms/checkbox/src/checkbox.component.d.ts +17 -20
- package/forms/chip/src/chip.component.d.ts +17 -17
- package/forms/chip-calendar/src/chip-calendar.component.d.ts +19 -19
- package/forms/date/src/date.component.d.ts +7 -4
- package/forms/date-range/src/date-range.component.d.ts +16 -2
- package/forms/datetime/src/datetime.component.d.ts +5 -4
- package/forms/directives/src/item-def.directive.d.ts +10 -5
- package/forms/directives/src/label-def.directive.d.ts +3 -2
- package/forms/directives/src/suffix-def.directive.d.ts +3 -2
- package/forms/directives/src/view-def.directive.d.ts +9 -9
- package/forms/input/src/input.component.d.ts +3 -5
- package/forms/input-number/src/input-number.component.d.ts +2 -3
- package/forms/models/src/sd-custom-validator.model.d.ts +13 -1
- package/forms/radio/src/radio.component.d.ts +32 -37
- package/forms/select/src/select.component.d.ts +8 -5
- package/forms/switch/src/switch.component.d.ts +17 -22
- package/forms/textarea/src/textarea.component.d.ts +2 -3
- package/i18n/src/en.d.ts +5 -0
- package/package.json +65 -57
- package/sd-angular-core-19.0.0-beta.102.tgz +0 -0
- package/sd-angular-core-19.0.0-beta.100.tgz +0 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="192" height="192" viewBox="0 0 192 192" fill="none">
|
|
2
|
+
<circle cx="96" cy="98" r="64" fill="#F4F4F5"></circle>
|
|
3
|
+
<ellipse cx="96" cy="160" rx="50" ry="4.5" fill="#1C1B1F" fill-opacity="0.05"></ellipse>
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
<rect x="44" y="62" width="104" height="84" rx="6" fill="#FFFFFF" stroke="#52525B" stroke-width="2"></rect>
|
|
7
|
+
|
|
8
|
+
<path d="M44 78 v-10 a6 6 0 0 1 6 -6 h92 a6 6 0 0 1 6 6 v10 Z" fill="#E4E4E7" stroke="#52525B" stroke-width="2" stroke-linejoin="round"></path>
|
|
9
|
+
|
|
10
|
+
<rect x="62" y="50" width="6" height="20" rx="2" fill="#52525B"></rect>
|
|
11
|
+
<rect x="124" y="50" width="6" height="20" rx="2" fill="#52525B"></rect>
|
|
12
|
+
|
|
13
|
+
<circle cx="60" cy="92" r="1.6" fill="#D4D4D8"></circle><circle cx="78" cy="92" r="1.6" fill="#D4D4D8"></circle><circle cx="96" cy="92" r="1.6" fill="#D4D4D8"></circle><circle cx="114" cy="92" r="1.6" fill="#D4D4D8"></circle><circle cx="132" cy="92" r="1.6" fill="#D4D4D8"></circle><circle cx="60" cy="104" r="1.6" fill="#D4D4D8"></circle><circle cx="78" cy="104" r="1.6" fill="#D4D4D8"></circle><circle cx="96" cy="104" r="1.6" fill="#D4D4D8"></circle><circle cx="114" cy="104" r="1.6" fill="#D4D4D8"></circle><circle cx="132" cy="104" r="1.6" fill="#D4D4D8"></circle><circle cx="60" cy="116" r="1.6" fill="#D4D4D8"></circle><circle cx="78" cy="116" r="1.6" fill="#D4D4D8"></circle><circle cx="96" cy="116" r="1.6" fill="#D4D4D8"></circle><circle cx="114" cy="116" r="1.6" fill="#D4D4D8"></circle><circle cx="132" cy="116" r="1.6" fill="#D4D4D8"></circle><circle cx="60" cy="128" r="1.6" fill="#D4D4D8"></circle><circle cx="78" cy="128" r="1.6" fill="#D4D4D8"></circle><circle cx="96" cy="128" r="1.6" fill="#D4D4D8"></circle><circle cx="114" cy="128" r="1.6" fill="#D4D4D8"></circle><circle cx="132" cy="128" r="1.6" fill="#D4D4D8"></circle>
|
|
14
|
+
|
|
15
|
+
<g transform="translate(114 122)">
|
|
16
|
+
<path d="M0 -10 L3 -3 L10 -2 L5 3 L6 10 L0 7 L-6 10 L-5 3 L-10 -2 L-3 -3 Z" fill="#52525B" stroke="#52525B" stroke-width="1.5" stroke-linejoin="round"></path>
|
|
17
|
+
</g>
|
|
18
|
+
|
|
19
|
+
<path d="M36 50 l0 -8 M32 46 l8 0" stroke="#71717A" stroke-width="2" stroke-linecap="round"></path>
|
|
20
|
+
<circle cx="156" cy="44" r="3" fill="#D4D4D8"></circle>
|
|
21
|
+
<path d="M160 102 l0 -5 M157.5 99.5 l5 0" stroke="#71717A" stroke-width="1.8" stroke-linecap="round"></path>
|
|
22
|
+
|
|
23
|
+
</svg>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="192" height="192" viewBox="0 0 192 192" fill="none">
|
|
2
|
+
|
|
3
|
+
<circle cx="96" cy="98" r="64" fill="#F4F4F5"></circle>
|
|
4
|
+
|
|
5
|
+
<ellipse cx="96" cy="160" rx="50" ry="4.5" fill="#1C1B1F" fill-opacity="0.05"></ellipse>
|
|
6
|
+
|
|
7
|
+
<g>
|
|
8
|
+
<rect x="66" y="44" width="60" height="36" rx="5" fill="#FFFFFF" stroke="#52525B" stroke-width="2"></rect>
|
|
9
|
+
<line x1="74" y1="56" x2="118" y2="56" stroke="#A1A1AA" stroke-width="1.5" stroke-dasharray="3 3" stroke-linecap="round"></line>
|
|
10
|
+
<line x1="74" y1="64" x2="108" y2="64" stroke="#A1A1AA" stroke-width="1.5" stroke-dasharray="3 3" stroke-linecap="round"></line>
|
|
11
|
+
<line x1="74" y1="72" x2="100" y2="72" stroke="#A1A1AA" stroke-width="1.5" stroke-dasharray="3 3" stroke-linecap="round"></line>
|
|
12
|
+
</g>
|
|
13
|
+
<path d="M36 100 L156 100 L148 142 a4 4 0 0 1 -4 3.6 H48 a4 4 0 0 1 -4 -3.6 Z" fill="#E4E4E7" stroke="#52525B" stroke-width="2" stroke-linejoin="round"></path>
|
|
14
|
+
<rect x="32" y="94" width="128" height="10" rx="3" fill="#FFFFFF" stroke="#52525B" stroke-width="2"></rect>
|
|
15
|
+
<path d="M52 104 L140 104 L136 126 H56 Z" fill="#F4F4F5" stroke="#71717A" stroke-width="1.2" stroke-opacity="0.45"></path>
|
|
16
|
+
<circle cx="46" cy="58" r="2.5" fill="#71717A"></circle>
|
|
17
|
+
<circle cx="150" cy="50" r="3.5" fill="#D4D4D8"></circle>
|
|
18
|
+
<path d="M163 84 l0 -6 M160 81 l6 0" stroke="#71717A" stroke-width="2" stroke-linecap="round"></path>
|
|
19
|
+
<circle cx="30" cy="82" r="2" fill="#D4D4D8"></circle>
|
|
20
|
+
|
|
21
|
+
</svg>
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="192" height="192" viewBox="0 0 192 192" fill="none">
|
|
2
|
+
<circle cx="96" cy="98" r="64" fill="#F4F4F5"></circle>
|
|
3
|
+
<ellipse cx="96" cy="160" rx="50" ry="4.5" fill="#1C1B1F" fill-opacity="0.05"></ellipse>
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
<rect x="58" y="46" width="76" height="6" rx="2" fill="#52525B"></rect>
|
|
7
|
+
<rect x="58" y="140" width="76" height="6" rx="2" fill="#52525B"></rect>
|
|
8
|
+
|
|
9
|
+
<path d="M62 52 L130 52 L102 94 L130 140 L62 140 L90 94 Z" fill="#FFFFFF" stroke="#52525B" stroke-width="2" stroke-linejoin="round"></path>
|
|
10
|
+
|
|
11
|
+
<path d="M68 56 L124 56 L100 92 L92 92 Z" fill="#F4F4F5" stroke="#A1A1AA" stroke-width="1.2" stroke-dasharray="3 3" stroke-linejoin="round"></path>
|
|
12
|
+
|
|
13
|
+
<path d="M68 136 L124 136 L100 100 L92 100 Z" fill="#E4E4E7" stroke="#52525B" stroke-width="1.5" stroke-linejoin="round"></path>
|
|
14
|
+
|
|
15
|
+
<circle cx="96" cy="100" r="2" fill="#52525B"></circle>
|
|
16
|
+
|
|
17
|
+
<circle cx="40" cy="58" r="2.5" fill="#71717A"></circle>
|
|
18
|
+
<circle cx="156" cy="64" r="2.8" fill="#D4D4D8"></circle>
|
|
19
|
+
<path d="M36 124 l0 -5 M33.5 121.5 l5 0" stroke="#71717A" stroke-width="1.8" stroke-linecap="round"></path>
|
|
20
|
+
<path d="M158 120 l0 -6 M155 117 l6 0" stroke="#71717A" stroke-width="2" stroke-linecap="round"></path>
|
|
21
|
+
|
|
22
|
+
</svg>
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="192" height="192" viewBox="0 0 192 192" fill="none">
|
|
2
|
+
<circle cx="96" cy="98" r="64" fill="#F4F4F5"></circle>
|
|
3
|
+
<ellipse cx="96" cy="160" rx="50" ry="4.5" fill="#1C1B1F" fill-opacity="0.05"></ellipse>
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
<g transform="translate(64 44)">
|
|
7
|
+
<path d="M0 0 H44 L62 18 V96 a4 4 0 0 1 -4 4 H0 a4 4 0 0 1 -4 -4 V4 a4 4 0 0 1 4 -4 Z" fill="#FFFFFF" stroke="#A1A1AA" stroke-width="1.5" stroke-linejoin="round"></path>
|
|
8
|
+
<path d="M44 0 V14 a4 4 0 0 0 4 4 H62" fill="#F4F4F5" stroke="#A1A1AA" stroke-width="1.5" stroke-linejoin="round"></path>
|
|
9
|
+
</g>
|
|
10
|
+
|
|
11
|
+
<g transform="translate(48 56)">
|
|
12
|
+
<path d="M0 0 H48 L68 20 V108 a4 4 0 0 1 -4 4 H0 a4 4 0 0 1 -4 -4 V4 a4 4 0 0 1 4 -4 Z" fill="#FFFFFF" stroke="#52525B" stroke-width="2" stroke-linejoin="round"></path>
|
|
13
|
+
|
|
14
|
+
<path d="M48 0 V16 a4 4 0 0 0 4 4 H68 Z" fill="#E4E4E7" stroke="#52525B" stroke-width="2" stroke-linejoin="round"></path>
|
|
15
|
+
|
|
16
|
+
<line x1="10" y1="36" x2="50" y2="36" stroke="#D4D4D8" stroke-width="2.5" stroke-linecap="round"></line>
|
|
17
|
+
<line x1="10" y1="48" x2="58" y2="48" stroke="#D4D4D8" stroke-width="2.5" stroke-linecap="round"></line>
|
|
18
|
+
<line x1="10" y1="60" x2="44" y2="60" stroke="#D4D4D8" stroke-width="2.5" stroke-linecap="round"></line>
|
|
19
|
+
|
|
20
|
+
<path d="M16 78 L52 108 M52 78 L16 108" stroke="#52525B" stroke-width="5" stroke-linecap="round"></path>
|
|
21
|
+
</g>
|
|
22
|
+
|
|
23
|
+
<circle cx="32" cy="58" r="2.5" fill="#71717A"></circle>
|
|
24
|
+
<path d="M158 60 l0 -6 M155 57 l6 0" stroke="#71717A" stroke-width="2" stroke-linecap="round"></path>
|
|
25
|
+
<circle cx="38" cy="128" r="2.2" fill="#D4D4D8"></circle>
|
|
26
|
+
<circle cx="160" cy="124" r="2.5" fill="#D4D4D8"></circle>
|
|
27
|
+
|
|
28
|
+
</svg>
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="192" height="192" viewBox="0 0 192 192" fill="none">
|
|
2
|
+
|
|
3
|
+
<circle cx="96" cy="98" r="64" fill="#F4F4F5"></circle>
|
|
4
|
+
|
|
5
|
+
<ellipse cx="96" cy="160" rx="50" ry="4.5" fill="#1C1B1F" fill-opacity="0.05"></ellipse>
|
|
6
|
+
|
|
7
|
+
<circle cx="76" cy="38" r="3" fill="#71717A"></circle>
|
|
8
|
+
<circle cx="92" cy="32" r="2.4" fill="#D4D4D8"></circle>
|
|
9
|
+
<circle cx="108" cy="40" r="3" fill="#52525B"></circle>
|
|
10
|
+
<circle cx="120" cy="34" r="2" fill="#D4D4D8"></circle>
|
|
11
|
+
<path d="M50 54 L142 54 L110 96 V118 a4 4 0 0 1 -2 3.4 l-16 8 a4 4 0 0 1 -6 -3.4 V96 Z" fill="#E4E4E7" stroke="#52525B" stroke-width="2" stroke-linejoin="round"></path>
|
|
12
|
+
<ellipse cx="96" cy="54" rx="46" ry="6" fill="#FFFFFF" stroke="#52525B" stroke-width="2"></ellipse>
|
|
13
|
+
<ellipse cx="96" cy="54" rx="40" ry="3.5" fill="#F4F4F5"></ellipse>
|
|
14
|
+
<ellipse cx="96" cy="148" rx="34" ry="6" fill="#FFFFFF" stroke="#52525B" stroke-width="2"></ellipse>
|
|
15
|
+
<path d="M62 148 a34 6 0 0 0 68 0" fill="#F4F4F5" stroke="#52525B" stroke-width="2"></path>
|
|
16
|
+
<line x1="84" y1="151" x2="108" y2="151" stroke="#71717A" stroke-width="2" stroke-linecap="round"></line>
|
|
17
|
+
<circle cx="36" cy="70" r="2.2" fill="#D4D4D8"></circle>
|
|
18
|
+
<path d="M160 92 l0 -5 M157.5 89.5 l5 0" stroke="#71717A" stroke-width="1.8" stroke-linecap="round"></path>
|
|
19
|
+
|
|
20
|
+
</svg>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="192" height="192" viewBox="0 0 192 192" fill="none">
|
|
2
|
+
|
|
3
|
+
<circle cx="96" cy="98" r="64" fill="#F4F4F5"></circle>
|
|
4
|
+
|
|
5
|
+
<ellipse cx="96" cy="160" rx="50" ry="4.5" fill="#1C1B1F" fill-opacity="0.05"></ellipse>
|
|
6
|
+
|
|
7
|
+
<circle cx="96" cy="90" r="58" stroke="#71717A" stroke-width="1.5" stroke-dasharray="3 4" fill="none" stroke-opacity="0.45"></circle>
|
|
8
|
+
<path d="M50 52 L142 52 L110 94 V118 a4 4 0 0 1 -2 3.4 l-16 8 a4 4 0 0 1 -6 -3.4 V94 Z" fill="#E4E4E7" stroke="#52525B" stroke-width="2" stroke-linejoin="round"></path>
|
|
9
|
+
<ellipse cx="96" cy="52" rx="46" ry="6" fill="#FFFFFF" stroke="#52525B" stroke-width="2"></ellipse>
|
|
10
|
+
<ellipse cx="96" cy="52" rx="40" ry="3.5" fill="#D4D4D8"></ellipse>
|
|
11
|
+
<line x1="68" y1="74" x2="124" y2="74" stroke="#52525B" stroke-width="1.5" stroke-linecap="round" stroke-opacity="0.4"></line>
|
|
12
|
+
<line x1="76" y1="84" x2="116" y2="84" stroke="#52525B" stroke-width="1.5" stroke-linecap="round" stroke-opacity="0.4"></line>
|
|
13
|
+
<g transform="translate(122 100)">
|
|
14
|
+
<path d="M0 0 L0 18 L4 14 L8 22 L11 20 L7 12 L13 12 Z" fill="#52525B" stroke="#FFFFFF" stroke-width="1.5" stroke-linejoin="round"></path>
|
|
15
|
+
</g>
|
|
16
|
+
<path d="M48 40 l0 -8 M44 36 l8 0" stroke="#71717A" stroke-width="2" stroke-linecap="round"></path>
|
|
17
|
+
<path d="M148 38 l0 -6 M145 35 l6 0" stroke="#71717A" stroke-width="2" stroke-linecap="round"></path>
|
|
18
|
+
<circle cx="40" cy="100" r="2.5" fill="#D4D4D8"></circle>
|
|
19
|
+
<circle cx="156" cy="76" r="3" fill="#71717A"></circle>
|
|
20
|
+
|
|
21
|
+
</svg>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="192" height="192" viewBox="0 0 192 192" fill="none">
|
|
2
|
+
|
|
3
|
+
<circle cx="96" cy="98" r="64" fill="#F4F4F5"></circle>
|
|
4
|
+
|
|
5
|
+
<ellipse cx="96" cy="160" rx="50" ry="4.5" fill="#1C1B1F" fill-opacity="0.05"></ellipse>
|
|
6
|
+
|
|
7
|
+
<path d="M96 38 L138 54 V96 c0 26 -20 44 -42 50 c-22 -6 -42 -24 -42 -50 V54 Z" fill="#E4E4E7" stroke="#52525B" stroke-width="2" stroke-linejoin="round"></path>
|
|
8
|
+
<path d="M96 50 L128 62 V92 c0 18 -14 32 -32 38 c-18 -6 -32 -20 -32 -38 V62 Z" fill="#FFFFFF" fill-opacity="0.55" stroke="#71717A" stroke-width="1.2" stroke-linejoin="round" stroke-opacity="0.5"></path>
|
|
9
|
+
<path d="M82 76 L110 104 M110 76 L82 104" stroke="#52525B" stroke-width="5" stroke-linecap="round"></path>
|
|
10
|
+
<circle cx="40" cy="60" r="2.5" fill="#71717A"></circle>
|
|
11
|
+
<circle cx="156" cy="50" r="3" fill="#D4D4D8"></circle>
|
|
12
|
+
<path d="M158 116 l0 -6 M155 113 l6 0" stroke="#71717A" stroke-width="2" stroke-linecap="round"></path>
|
|
13
|
+
<circle cx="36" cy="124" r="2.2" fill="#D4D4D8"></circle>
|
|
14
|
+
|
|
15
|
+
</svg>
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="192" height="192" viewBox="0 0 192 192" fill="none">
|
|
2
|
+
<circle cx="96" cy="98" r="64" fill="#F4F4F5"></circle>
|
|
3
|
+
<ellipse cx="96" cy="160" rx="50" ry="4.5" fill="#1C1B1F" fill-opacity="0.05"></ellipse>
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
<rect x="40" y="50" width="112" height="92" rx="8" fill="#FFFFFF" stroke="#52525B" stroke-width="2"></rect>
|
|
7
|
+
|
|
8
|
+
<rect x="46" y="56" width="100" height="80" rx="5" fill="#F4F4F5" stroke="#52525B" stroke-width="1.2" stroke-opacity="0.35"></rect>
|
|
9
|
+
|
|
10
|
+
<circle cx="120" cy="78" r="6" fill="#D4D4D8" stroke="#52525B" stroke-width="2"></circle>
|
|
11
|
+
|
|
12
|
+
<path d="M46 124 L80 86 L106 116 L118 104 L146 124 L146 136 H46 Z" fill="#E4E4E7" stroke="#52525B" stroke-width="2" stroke-linejoin="round"></path>
|
|
13
|
+
|
|
14
|
+
<path d="M46 136 L70 110 L90 126 L114 108 L146 136 Z" fill="#D4D4D8" stroke="#52525B" stroke-width="2" stroke-linejoin="round"></path>
|
|
15
|
+
|
|
16
|
+
<path d="M58 70 L76 88 L66 100 L86 116 L78 128" stroke="#52525B" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round" fill="none" stroke-dasharray="6 5"></path>
|
|
17
|
+
|
|
18
|
+
<g transform="translate(146 134)">
|
|
19
|
+
<circle r="14" fill="#FFFFFF" stroke="#52525B" stroke-width="2"></circle>
|
|
20
|
+
<path d="M-5 -5 L5 5 M5 -5 L-5 5" stroke="#52525B" stroke-width="2.6" stroke-linecap="round"></path>
|
|
21
|
+
</g>
|
|
22
|
+
|
|
23
|
+
<circle cx="34" cy="50" r="2.5" fill="#71717A"></circle>
|
|
24
|
+
<path d="M158 50 l0 -6 M155 47 l6 0" stroke="#71717A" stroke-width="2" stroke-linecap="round"></path>
|
|
25
|
+
<circle cx="32" cy="120" r="2.2" fill="#D4D4D8"></circle>
|
|
26
|
+
|
|
27
|
+
</svg>
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="192" height="192" viewBox="0 0 192 192" fill="none">
|
|
2
|
+
<circle cx="96" cy="98" r="64" fill="#F4F4F5"></circle>
|
|
3
|
+
<ellipse cx="96" cy="160" rx="50" ry="4.5" fill="#1C1B1F" fill-opacity="0.05"></ellipse>
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
<g transform="translate(96 96)">
|
|
7
|
+
<g fill="#E4E4E7" stroke="#52525B" stroke-width="2" stroke-linejoin="round">
|
|
8
|
+
<rect x="34" y="-6" width="12" height="12" rx="2" transform="rotate(0 40 0)"></rect><rect x="22.284271247461902" y="22.2842712474619" width="12" height="12" rx="2" transform="rotate(45 28.284271247461902 28.2842712474619)"></rect><rect x="-5.999999999999997" y="34" width="12" height="12" rx="2" transform="rotate(90 2.4492935982947065e-15 40)"></rect><rect x="-34.2842712474619" y="22.284271247461902" width="12" height="12" rx="2" transform="rotate(135 -28.2842712474619 28.284271247461902)"></rect><rect x="-46" y="-5.999999999999995" width="12" height="12" rx="2" transform="rotate(180 -40 4.898587196589413e-15)"></rect><rect x="-34.28427124746191" y="-34.2842712474619" width="12" height="12" rx="2" transform="rotate(225 -28.28427124746191 -28.2842712474619)"></rect><rect x="-6.000000000000007" y="-46" width="12" height="12" rx="2" transform="rotate(270 -7.347880794884118e-15 -40)"></rect><rect x="22.284271247461895" y="-34.28427124746191" width="12" height="12" rx="2" transform="rotate(315 28.284271247461895 -28.28427124746191)"></rect>
|
|
9
|
+
</g>
|
|
10
|
+
<circle r="34" fill="#E4E4E7" stroke="#52525B" stroke-width="2"></circle>
|
|
11
|
+
<circle r="14" fill="#FFFFFF" stroke="#52525B" stroke-width="2"></circle>
|
|
12
|
+
<circle r="6" fill="#52525B"></circle>
|
|
13
|
+
</g>
|
|
14
|
+
|
|
15
|
+
<g transform="translate(132 60) rotate(40)">
|
|
16
|
+
<path d="M0 -8 a10 10 0 1 0 8 17 L34 35 a4 4 0 0 0 6 0 l4 -4 a4 4 0 0 0 0 -6 L18 18 a10 10 0 0 0 -8 -18 a10 10 0 0 0 -10 0 Z" fill="#FFFFFF" stroke="#52525B" stroke-width="2" stroke-linejoin="round"></path>
|
|
17
|
+
</g>
|
|
18
|
+
|
|
19
|
+
<circle cx="40" cy="56" r="2.5" fill="#71717A"></circle>
|
|
20
|
+
<path d="M40 132 l0 -6 M37 129 l6 0" stroke="#71717A" stroke-width="2" stroke-linecap="round"></path>
|
|
21
|
+
<circle cx="158" cy="124" r="2.5" fill="#D4D4D8"></circle>
|
|
22
|
+
|
|
23
|
+
</svg>
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="192" height="192" viewBox="0 0 192 192" fill="none">
|
|
2
|
+
|
|
3
|
+
<circle cx="96" cy="98" r="64" fill="#F4F4F5"></circle>
|
|
4
|
+
|
|
5
|
+
<ellipse cx="96" cy="160" rx="50" ry="4.5" fill="#1C1B1F" fill-opacity="0.05"></ellipse>
|
|
6
|
+
|
|
7
|
+
<rect x="46" y="58" width="80" height="80" rx="8" fill="#FFFFFF" stroke="#52525B" stroke-width="2"></rect>
|
|
8
|
+
<path d="M114 58 L126 70 H114 Z" fill="#E4E4E7" stroke="#52525B" stroke-width="2" stroke-linejoin="round"></path>
|
|
9
|
+
<path d="M76 86 a10 10 0 1 1 16 8 c-2 1.5 -6 4 -6 10" fill="none" stroke="#52525B" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"></path>
|
|
10
|
+
<circle cx="86" cy="118" r="3.2" fill="#52525B"></circle>
|
|
11
|
+
<g>
|
|
12
|
+
<circle cx="132" cy="112" r="22" fill="#E4E4E7" fill-opacity="0.65" stroke="#52525B" stroke-width="2.5"></circle>
|
|
13
|
+
<circle cx="132" cy="112" r="14" fill="none" stroke="#52525B" stroke-width="1.2" stroke-opacity="0.4"></circle>
|
|
14
|
+
<line x1="148" y1="128" x2="162" y2="144" stroke="#52525B" stroke-width="5" stroke-linecap="round"></line>
|
|
15
|
+
</g>
|
|
16
|
+
<circle cx="38" cy="50" r="2.5" fill="#71717A"></circle>
|
|
17
|
+
<circle cx="148" cy="44" r="3" fill="#D4D4D8"></circle>
|
|
18
|
+
<path d="M34 110 l0 -5 M31.5 107.5 l5 0" stroke="#71717A" stroke-width="1.8" stroke-linecap="round"></path>
|
|
19
|
+
|
|
20
|
+
</svg>
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="192" height="192" viewBox="0 0 192 192" fill="none">
|
|
2
|
+
<circle cx="96" cy="98" r="64" fill="#F4F4F5"></circle>
|
|
3
|
+
<ellipse cx="96" cy="160" rx="50" ry="4.5" fill="#1C1B1F" fill-opacity="0.05"></ellipse>
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
<path d="M62 110 a18 18 0 0 1 6 -35 a24 24 0 0 1 46 4 a16 16 0 0 1 12 31 Z" fill="#E4E4E7" stroke="#52525B" stroke-width="2" stroke-linejoin="round"></path>
|
|
7
|
+
|
|
8
|
+
<path d="M72 102 a12 12 0 0 1 4 -22 a16 16 0 0 1 28 2" fill="none" stroke="#71717A" stroke-width="1.2" stroke-opacity="0.4" stroke-linecap="round"></path>
|
|
9
|
+
|
|
10
|
+
<line x1="56" y1="56" x2="138" y2="132" stroke="#FFFFFF" stroke-width="8" stroke-linecap="round"></line>
|
|
11
|
+
<line x1="56" y1="56" x2="138" y2="132" stroke="#52525B" stroke-width="4" stroke-linecap="round"></line>
|
|
12
|
+
|
|
13
|
+
<path d="M40 138 q4 -6 10 -6" stroke="#71717A" stroke-width="2" fill="none" stroke-linecap="round"></path>
|
|
14
|
+
<path d="M148 142 q4 -8 12 -8" stroke="#71717A" stroke-width="2" fill="none" stroke-linecap="round"></path>
|
|
15
|
+
|
|
16
|
+
<circle cx="40" cy="60" r="2.5" fill="#71717A"></circle>
|
|
17
|
+
<circle cx="158" cy="48" r="3" fill="#D4D4D8"></circle>
|
|
18
|
+
<path d="M158 100 l0 -6 M155 97 l6 0" stroke="#71717A" stroke-width="2" stroke-linecap="round"></path>
|
|
19
|
+
|
|
20
|
+
</svg>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="192" height="192" viewBox="0 0 192 192" fill="none">
|
|
2
|
+
<circle cx="96" cy="98" r="64" fill="#F4F4F5"></circle>
|
|
3
|
+
<ellipse cx="96" cy="160" rx="50" ry="4.5" fill="#1C1B1F" fill-opacity="0.05"></ellipse>
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
<path d="M40 138 Q80 110 120 80" stroke="#A1A1AA" stroke-width="2" stroke-dasharray="4 4" stroke-linecap="round" fill="none"></path>
|
|
7
|
+
|
|
8
|
+
<path d="M44 102 L150 50 L130 138 L100 110 L44 102 Z" fill="#E4E4E7" stroke="#52525B" stroke-width="2" stroke-linejoin="round"></path>
|
|
9
|
+
|
|
10
|
+
<path d="M44 102 L100 110 L150 50" fill="none" stroke="#52525B" stroke-width="2" stroke-linejoin="round"></path>
|
|
11
|
+
|
|
12
|
+
<path d="M100 110 L130 138 L116 96 Z" fill="#D4D4D8" stroke="#52525B" stroke-width="1.5" stroke-linejoin="round"></path>
|
|
13
|
+
|
|
14
|
+
<circle cx="46" cy="50" r="2.5" fill="#71717A"></circle>
|
|
15
|
+
<path d="M152 100 l0 -6 M149 97 l6 0" stroke="#71717A" stroke-width="2" stroke-linecap="round"></path>
|
|
16
|
+
<circle cx="156" cy="138" r="2.5" fill="#D4D4D8"></circle>
|
|
17
|
+
|
|
18
|
+
</svg>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="192" height="192" viewBox="0 0 192 192" fill="none">
|
|
2
|
+
<circle cx="96" cy="98" r="64" fill="#F4F4F5"></circle>
|
|
3
|
+
<ellipse cx="96" cy="160" rx="50" ry="4.5" fill="#1C1B1F" fill-opacity="0.05"></ellipse>
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
<circle cx="96" cy="96" r="44" fill="#E4E4E7" stroke="#52525B" stroke-width="2"></circle>
|
|
7
|
+
<circle cx="96" cy="96" r="32" fill="#FFFFFF" stroke="#52525B" stroke-width="1.5" stroke-opacity="0.45"></circle>
|
|
8
|
+
|
|
9
|
+
<path d="M80 96 L92 108 L114 84" fill="none" stroke="#52525B" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"></path>
|
|
10
|
+
|
|
11
|
+
<circle cx="44" cy="50" r="3" fill="#71717A"></circle>
|
|
12
|
+
<rect x="148" y="44" width="6" height="6" rx="1.5" transform="rotate(20 151 47)" fill="#D4D4D8"></rect>
|
|
13
|
+
<circle cx="36" cy="118" r="2.5" fill="#D4D4D8"></circle>
|
|
14
|
+
<rect x="158" y="116" width="5" height="5" rx="1" transform="rotate(35 161 119)" fill="#71717A"></rect>
|
|
15
|
+
<path d="M50 84 l0 -6 M47 81 l6 0" stroke="#71717A" stroke-width="2" stroke-linecap="round"></path>
|
|
16
|
+
<path d="M150 90 l0 -5 M147.5 87.5 l5 0" stroke="#71717A" stroke-width="1.8" stroke-linecap="round"></path>
|
|
17
|
+
|
|
18
|
+
</svg>
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="192" height="192" viewBox="0 0 192 192" fill="none">
|
|
2
|
+
|
|
3
|
+
<circle cx="96" cy="98" r="64" fill="#F4F4F5"></circle>
|
|
4
|
+
|
|
5
|
+
<ellipse cx="96" cy="160" rx="50" ry="4.5" fill="#1C1B1F" fill-opacity="0.05"></ellipse>
|
|
6
|
+
|
|
7
|
+
<path d="M70 84 V64 a26 26 0 0 1 52 0 V84" fill="none" stroke="#52525B" stroke-width="6" stroke-linecap="round"></path>
|
|
8
|
+
<rect x="52" y="82" width="64" height="58" rx="8" fill="#E4E4E7" stroke="#52525B" stroke-width="2"></rect>
|
|
9
|
+
<circle cx="84" cy="106" r="6" fill="#52525B"></circle>
|
|
10
|
+
<path d="M84 108 L82 122 H86 Z" fill="#52525B"></path>
|
|
11
|
+
<g transform="translate(124 102) rotate(28)">
|
|
12
|
+
<circle cx="0" cy="0" r="10" fill="#FFFFFF" stroke="#52525B" stroke-width="2"></circle>
|
|
13
|
+
<circle cx="0" cy="0" r="4" fill="#E4E4E7" stroke="#52525B" stroke-width="1.5"></circle>
|
|
14
|
+
<rect x="8" y="-3" width="28" height="6" rx="1" fill="#FFFFFF" stroke="#52525B" stroke-width="2"></rect>
|
|
15
|
+
<rect x="26" y="3" width="4" height="6" fill="#52525B"></rect>
|
|
16
|
+
<rect x="32" y="3" width="4" height="6" fill="#52525B"></rect>
|
|
17
|
+
</g>
|
|
18
|
+
<circle cx="44" cy="50" r="2.5" fill="#71717A"></circle>
|
|
19
|
+
<circle cx="38" cy="118" r="2.2" fill="#D4D4D8"></circle>
|
|
20
|
+
<path d="M156 56 l0 -6 M153 53 l6 0" stroke="#71717A" stroke-width="2" stroke-linecap="round"></path>
|
|
21
|
+
|
|
22
|
+
</svg>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="192" height="192" viewBox="0 0 192 192" fill="none">
|
|
2
|
+
|
|
3
|
+
<circle cx="96" cy="98" r="64" fill="#F4F4F5"></circle>
|
|
4
|
+
|
|
5
|
+
<ellipse cx="96" cy="160" rx="50" ry="4.5" fill="#1C1B1F" fill-opacity="0.05"></ellipse>
|
|
6
|
+
|
|
7
|
+
<path d="M96 44 L150 134 a6 6 0 0 1 -5 9 H51 a6 6 0 0 1 -5 -9 Z" fill="#E4E4E7" stroke="#52525B" stroke-width="2" stroke-linejoin="round"></path>
|
|
8
|
+
<path d="M96 60 L138 130 H54 Z" fill="#FFFFFF" fill-opacity="0.55"></path>
|
|
9
|
+
<path d="M96 80 L96 112" stroke="#52525B" stroke-width="6" stroke-linecap="round"></path>
|
|
10
|
+
<circle cx="96" cy="124" r="4" fill="#52525B"></circle>
|
|
11
|
+
<path d="M30 76 l8 4 l-4 8" stroke="#71717A" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none"></path>
|
|
12
|
+
<path d="M162 90 l-8 4 l4 8" stroke="#71717A" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none"></path>
|
|
13
|
+
<path d="M52 46 l0 -8 M48 42 l8 0" stroke="#71717A" stroke-width="2" stroke-linecap="round"></path>
|
|
14
|
+
<circle cx="146" cy="46" r="2.8" fill="#71717A"></circle>
|
|
15
|
+
<circle cx="40" cy="128" r="2.2" fill="#D4D4D8"></circle>
|
|
16
|
+
<circle cx="158" cy="130" r="2.5" fill="#71717A"></circle>
|
|
17
|
+
|
|
18
|
+
</svg>
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
// Centralized state-image classes.
|
|
2
|
+
// why: previously each component referenced its own assets/*.svg via `content: url(...)`,
|
|
3
|
+
// duplicating files across modules. Single source of truth here so a designer can swap
|
|
4
|
+
// an asset in `assets/images/` without grepping the codebase.
|
|
5
|
+
//
|
|
6
|
+
// Usage:
|
|
7
|
+
// <img class="sd-image-not-found" alt="not-found" />
|
|
8
|
+
// or inside ::before / ::after via @extend:
|
|
9
|
+
// &::before { @extend .sd-image-data-empty; }
|
|
10
|
+
|
|
11
|
+
$sd-image-path: '../../images' !default;
|
|
12
|
+
|
|
13
|
+
$sd-images: (
|
|
14
|
+
'coming-soon',
|
|
15
|
+
'data-empty',
|
|
16
|
+
'expired',
|
|
17
|
+
'file-error',
|
|
18
|
+
'filter-empty',
|
|
19
|
+
'filter-required',
|
|
20
|
+
'forbidden',
|
|
21
|
+
'image-error',
|
|
22
|
+
'maintenance',
|
|
23
|
+
'not-found',
|
|
24
|
+
'offline',
|
|
25
|
+
'submitted',
|
|
26
|
+
'success',
|
|
27
|
+
'unauthorized',
|
|
28
|
+
'unknown-error'
|
|
29
|
+
);
|
|
30
|
+
|
|
31
|
+
@each $name in $sd-images {
|
|
32
|
+
.sd-image-#{$name} {
|
|
33
|
+
content: url('#{$sd-image-path}/#{$name}.svg');
|
|
34
|
+
}
|
|
35
|
+
}
|
package/assets/scss/sd-core.scss
CHANGED
package/components/index.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ export * from '@sd-angular/core/components/side-drawer';
|
|
|
6
6
|
export * from '@sd-angular/core/components/modal';
|
|
7
7
|
export * from '@sd-angular/core/components/table';
|
|
8
8
|
export * from '@sd-angular/core/components/quick-action';
|
|
9
|
+
export * from '@sd-angular/core/components/query-bar';
|
|
9
10
|
export * from '@sd-angular/core/components/upload-file';
|
|
10
11
|
export * from '@sd-angular/core/components/section';
|
|
11
12
|
export * from '@sd-angular/core/components/anchor';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './src/operator.component';
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { SafeHtml } from '@angular/platform-browser';
|
|
2
|
+
import { Operator } from '@sdcorejs/utils/models';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
interface OperatorItem {
|
|
5
|
+
value: Operator;
|
|
6
|
+
icon: SafeHtml;
|
|
7
|
+
display: string;
|
|
8
|
+
}
|
|
9
|
+
export declare class SdOperator {
|
|
10
|
+
#private;
|
|
11
|
+
static readonly FALLBACK_ICON = "<path d=\"M4 5h16l-6.5 7.5V19l-3 2v-8.5z\"/>";
|
|
12
|
+
/** Operator hiện tại — binding hai chiều [(model)]. */
|
|
13
|
+
model: import("@angular/core").ModelSignal<Operator | undefined>;
|
|
14
|
+
/** Danh sách operator cho phép, giữ nguyên thứ tự truyền vào. */
|
|
15
|
+
operators: import("@angular/core").InputSignal<Operator[]>;
|
|
16
|
+
/** Vô hiệu hóa trigger (không mở được menu). */
|
|
17
|
+
disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
18
|
+
/** data-autoId cho e2e selector. */
|
|
19
|
+
autoId: import("@angular/core").InputSignal<string | undefined>;
|
|
20
|
+
/** Allowed operators map sang { value, icon, display } theo thứ tự input. */
|
|
21
|
+
readonly items: import("@angular/core").Signal<OperatorItem[]>;
|
|
22
|
+
/** Icon SVG ở trigger — fallback phễu khi model chưa set / không tìm thấy. */
|
|
23
|
+
readonly currentIcon: import("@angular/core").Signal<SafeHtml>;
|
|
24
|
+
/** Tooltip = i18n label của operator hiện tại ('' khi chưa chọn). */
|
|
25
|
+
readonly currentLabel: import("@angular/core").Signal<string>;
|
|
26
|
+
private readonly trigger;
|
|
27
|
+
/** Open the operator menu programmatically (used by the query-bar build flow). */
|
|
28
|
+
open(): void;
|
|
29
|
+
/** Chọn operator từ menu. */
|
|
30
|
+
select(value: Operator): void;
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SdOperator, never>;
|
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SdOperator, "sd-operator", never, { "model": { "alias": "model"; "required": false; "isSignal": true; }; "operators": { "alias": "operators"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "autoId": { "alias": "autoId"; "required": false; "isSignal": true; }; }, { "model": "modelChange"; }, never, never, true, never>;
|
|
33
|
+
}
|
|
34
|
+
export {};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { SdQuery, SdQueryLogic, SdSavedFilter } from './query-bar.model';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* Right-pinned toolbar for `sd-query-bar`: AND/OR connector toggle, saved-filters
|
|
5
|
+
* dropdown, clear-all, a save-filter shortcut, and the deferred Search trigger.
|
|
6
|
+
* Owns no business logic — just routes user intent back via outputs
|
|
7
|
+
* (`(logic)` model, `(clear)`, `(search)`, `(applyFilter)`).
|
|
8
|
+
*
|
|
9
|
+
* The "save filter" button forwards to `SdQuerySavedFiltersMenu.promptSave()` so
|
|
10
|
+
* the user can save the current query without first opening the saved-filters
|
|
11
|
+
* dropdown — keeps the save action adjacent to the Search trigger.
|
|
12
|
+
*/
|
|
13
|
+
export declare class SdQueryActionsBar {
|
|
14
|
+
readonly showLogicToggle: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
15
|
+
readonly logic: import("@angular/core").ModelSignal<SdQueryLogic>;
|
|
16
|
+
readonly filtersCount: import("@angular/core").InputSignal<number>;
|
|
17
|
+
readonly showSavedFilters: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
18
|
+
readonly savedFiltersKey: import("@angular/core").InputSignal<string | undefined>;
|
|
19
|
+
readonly query: import("@angular/core").InputSignal<SdQuery<any>>;
|
|
20
|
+
readonly applyFilter: import("@angular/core").OutputEmitterRef<SdSavedFilter<any>>;
|
|
21
|
+
readonly showClearAll: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
22
|
+
readonly clear: import("@angular/core").OutputEmitterRef<void>;
|
|
23
|
+
readonly canSearch: import("@angular/core").InputSignal<boolean>;
|
|
24
|
+
readonly search: import("@angular/core").OutputEmitterRef<void>;
|
|
25
|
+
private readonly savedFiltersMenu;
|
|
26
|
+
setLogic(value: SdQueryLogic): void;
|
|
27
|
+
/** Trigger save-current-query via the saved-filters child (no-op when menu absent / no key). */
|
|
28
|
+
promptSave(): void;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SdQueryActionsBar, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SdQueryActionsBar, "sd-query-actions-bar", never, { "showLogicToggle": { "alias": "showLogicToggle"; "required": false; "isSignal": true; }; "logic": { "alias": "logic"; "required": false; "isSignal": true; }; "filtersCount": { "alias": "filtersCount"; "required": false; "isSignal": true; }; "showSavedFilters": { "alias": "showSavedFilters"; "required": false; "isSignal": true; }; "savedFiltersKey": { "alias": "savedFiltersKey"; "required": false; "isSignal": true; }; "query": { "alias": "query"; "required": false; "isSignal": true; }; "showClearAll": { "alias": "showClearAll"; "required": false; "isSignal": true; }; "canSearch": { "alias": "canSearch"; "required": false; "isSignal": true; }; }, { "logic": "logicChange"; "applyFilter": "applyFilter"; "clear": "clear"; "search": "search"; }, never, never, true, never>;
|
|
31
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { Operator } from '@sd-angular/core/utilities/models';
|
|
2
|
+
import { BuildingChip } from './query-bar.model';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
type Density = 'compact' | 'comfortable';
|
|
5
|
+
/**
|
|
6
|
+
* Visual block for the in-progress build chip (inline mode token builder).
|
|
7
|
+
*
|
|
8
|
+
* why: tách khỏi `<sd-query-bar>` để parent chỉ giữ state (`building()` signal +
|
|
9
|
+
* step transitions) — tất cả render logic của 2 step (operator picker / value
|
|
10
|
+
* picker) cộng với 7 nhánh field type sống tại đây.
|
|
11
|
+
*
|
|
12
|
+
* The chip has two visually distinct branches:
|
|
13
|
+
* - **Seamless** (`string` / `number`) — the entire pill IS an `<sd-query-inline-value-chip>`
|
|
14
|
+
* (its own border, autofocused input). The host's `.c-token-building` shell is skipped.
|
|
15
|
+
* - **Token** (`values` / `lazy-values` / `date` / `datetime` / `boolean` / other) —
|
|
16
|
+
* `.c-token.c-token-building` dashed pill with field label + operator (menu in
|
|
17
|
+
* operator step, disabled badge in value step) + the per-type picker + × cancel.
|
|
18
|
+
*/
|
|
19
|
+
export declare class SdQueryBuildChip {
|
|
20
|
+
/** Current build state — drives every visual branch. */
|
|
21
|
+
readonly building: import("@angular/core").InputSignal<BuildingChip<any>>;
|
|
22
|
+
/** Density preset — forwarded to the seamless chip + sizes the .c-token row. */
|
|
23
|
+
readonly density: import("@angular/core").InputSignal<Density>;
|
|
24
|
+
/** Operator set offered in the operator-step menu (parent's `allowedOperatorsFor(field)`). */
|
|
25
|
+
readonly allowedOperators: import("@angular/core").InputSignal<Operator[]>;
|
|
26
|
+
/** Whether the active operator is a multi-select (`IN`/`NOT_IN`) — drives sd-select [multiple]. */
|
|
27
|
+
readonly multiple: import("@angular/core").InputSignal<boolean>;
|
|
28
|
+
/** Show the operator label on the seamless chip's pill (forwarded to inline-value-chip). */
|
|
29
|
+
readonly showOperator: import("@angular/core").InputSignal<boolean>;
|
|
30
|
+
/**
|
|
31
|
+
* Prefix for `data-autoid` on the inner picker / seamless input.
|
|
32
|
+
* why: parent originally hard-coded `'qb-build-value'` everywhere; default preserves that
|
|
33
|
+
* for backward compatibility with existing e2e selectors.
|
|
34
|
+
*/
|
|
35
|
+
readonly autoId: import("@angular/core").InputSignal<string>;
|
|
36
|
+
/** Operator chosen from the operator-step menu — parent advances to value step. */
|
|
37
|
+
readonly pickOperator: import("@angular/core").OutputEmitterRef<Operator>;
|
|
38
|
+
/**
|
|
39
|
+
* Value committed from a non-seamless picker (sd-select / sd-date / sd-date-range /
|
|
40
|
+
* sd-datetime) or a boolean toggle. Parent pushes the completed chip and clears building.
|
|
41
|
+
*/
|
|
42
|
+
readonly commitValue: import("@angular/core").OutputEmitterRef<unknown>;
|
|
43
|
+
/** × button — abandon the build (parent clears `building` signal). */
|
|
44
|
+
readonly cancel: import("@angular/core").OutputEmitterRef<void>;
|
|
45
|
+
/**
|
|
46
|
+
* Commit from the seamless (string / number) branch. Parent decides empty → cancel
|
|
47
|
+
* vs push complete (see `onBuildSeamlessCommit`); this just forwards the raw value.
|
|
48
|
+
*/
|
|
49
|
+
readonly seamlessCommit: import("@angular/core").OutputEmitterRef<unknown>;
|
|
50
|
+
/** Fallback editor (boolean ng-template / other) — staged draft on every change. */
|
|
51
|
+
readonly draftChange: import("@angular/core").OutputEmitterRef<unknown>;
|
|
52
|
+
/** Fallback editor — Enter / click commits the staged draft. */
|
|
53
|
+
readonly draftCommit: import("@angular/core").OutputEmitterRef<void>;
|
|
54
|
+
/** Operator-step menu — auto-opened by parent right after `building` enters operator step. */
|
|
55
|
+
private readonly opMenu;
|
|
56
|
+
/** Value-step picker (the active bare control) — auto-opened by parent at value step. */
|
|
57
|
+
private readonly picker;
|
|
58
|
+
/** Open the operator menu — parent calls after rendering the operator step. */
|
|
59
|
+
openOperator(): void;
|
|
60
|
+
/** Open the value-step picker's native panel — parent calls after rendering the value step. */
|
|
61
|
+
openPicker(): void;
|
|
62
|
+
/** True when the seamless branch (string/number value step) should be rendered. */
|
|
63
|
+
readonly isSeamless: import("@angular/core").Signal<boolean>;
|
|
64
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SdQueryBuildChip, never>;
|
|
65
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SdQueryBuildChip, "sd-query-build-chip", never, { "building": { "alias": "building"; "required": true; "isSignal": true; }; "density": { "alias": "density"; "required": false; "isSignal": true; }; "allowedOperators": { "alias": "allowedOperators"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "showOperator": { "alias": "showOperator"; "required": false; "isSignal": true; }; "autoId": { "alias": "autoId"; "required": false; "isSignal": true; }; }, { "pickOperator": "pickOperator"; "commitValue": "commitValue"; "cancel": "cancel"; "seamlessCommit": "seamlessCommit"; "draftChange": "draftChange"; "draftCommit": "draftCommit"; }, never, never, true, never>;
|
|
66
|
+
}
|
|
67
|
+
export {};
|