@brickclay-org/ui 0.1.27 → 0.1.28
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/README.md +1911 -1911
- package/fesm2022/brickclay-org-ui.mjs +72 -11
- package/fesm2022/brickclay-org-ui.mjs.map +1 -1
- package/index.d.ts +5 -1
- package/package.json +1 -1
- package/src/assets/icons/custom-calender.svg +12 -12
- package/src/assets/icons/select-column.svg +4 -4
package/index.d.ts
CHANGED
|
@@ -1896,6 +1896,8 @@ declare class BkHierarchicalSelect implements ControlValueAccessor {
|
|
|
1896
1896
|
colorKey: i0.InputSignal<string>;
|
|
1897
1897
|
/** Whether to show clear button when a value is selected. */
|
|
1898
1898
|
clearable: i0.InputSignal<boolean>;
|
|
1899
|
+
/** Optional anchor key to scope dropdown to one subtree (e.g. module/category key). */
|
|
1900
|
+
restrictKey: i0.InputSignal<any>;
|
|
1899
1901
|
hasError: i0.InputSignal<boolean>;
|
|
1900
1902
|
/** Emit full selected node. */
|
|
1901
1903
|
selectionChange: i0.OutputEmitterRef<HierarchicalNode | null>;
|
|
@@ -1906,6 +1908,7 @@ declare class BkHierarchicalSelect implements ControlValueAccessor {
|
|
|
1906
1908
|
searchInput: ElementRef<HTMLInputElement>;
|
|
1907
1909
|
controlWrapper: ElementRef<HTMLDivElement>;
|
|
1908
1910
|
private el;
|
|
1911
|
+
constructor();
|
|
1909
1912
|
isOpen: i0.WritableSignal<boolean>;
|
|
1910
1913
|
dropdownStyle: i0.WritableSignal<{
|
|
1911
1914
|
top?: string;
|
|
@@ -1949,6 +1952,7 @@ declare class BkHierarchicalSelect implements ControlValueAccessor {
|
|
|
1949
1952
|
openFromLabel(event: MouseEvent): void;
|
|
1950
1953
|
onClickOutside(e: Event): void;
|
|
1951
1954
|
private _value;
|
|
1955
|
+
private valueSignal;
|
|
1952
1956
|
onChange: (value: any) => void;
|
|
1953
1957
|
onTouched: () => void;
|
|
1954
1958
|
writeValue(value: any): void;
|
|
@@ -1958,7 +1962,7 @@ declare class BkHierarchicalSelect implements ControlValueAccessor {
|
|
|
1958
1962
|
private findNodeByValue;
|
|
1959
1963
|
handleClear(event: Event): void;
|
|
1960
1964
|
static ɵfac: i0.ɵɵFactoryDeclaration<BkHierarchicalSelect, never>;
|
|
1961
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BkHierarchicalSelect, "bk-hierarchical-select", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "labelKey": { "alias": "labelKey"; "required": false; "isSignal": true; }; "valueKey": { "alias": "valueKey"; "required": false; "isSignal": true; }; "childrenKey": { "alias": "childrenKey"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "iconSrc": { "alias": "iconSrc"; "required": false; "isSignal": true; }; "iconAlt": { "alias": "iconAlt"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "allowParentSelection": { "alias": "allowParentSelection"; "required": false; "isSignal": true; }; "backToMainText": { "alias": "backToMainText"; "required": false; "isSignal": true; }; "searchPlaceholder": { "alias": "searchPlaceholder"; "required": false; "isSignal": true; }; "searchable": { "alias": "searchable"; "required": false; "isSignal": true; }; "appendToBody": { "alias": "appendToBody"; "required": false; "isSignal": true; }; "dropdownPosition": { "alias": "dropdownPosition"; "required": false; "isSignal": true; }; "colorKey": { "alias": "colorKey"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "hasError": { "alias": "hasError"; "required": false; "isSignal": true; }; }, { "selectionChange": "selectionChange"; "valueChange": "valueChange"; "clear": "clear"; }, never, never, true, never>;
|
|
1965
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BkHierarchicalSelect, "bk-hierarchical-select", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "labelKey": { "alias": "labelKey"; "required": false; "isSignal": true; }; "valueKey": { "alias": "valueKey"; "required": false; "isSignal": true; }; "childrenKey": { "alias": "childrenKey"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "iconSrc": { "alias": "iconSrc"; "required": false; "isSignal": true; }; "iconAlt": { "alias": "iconAlt"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "allowParentSelection": { "alias": "allowParentSelection"; "required": false; "isSignal": true; }; "backToMainText": { "alias": "backToMainText"; "required": false; "isSignal": true; }; "searchPlaceholder": { "alias": "searchPlaceholder"; "required": false; "isSignal": true; }; "searchable": { "alias": "searchable"; "required": false; "isSignal": true; }; "appendToBody": { "alias": "appendToBody"; "required": false; "isSignal": true; }; "dropdownPosition": { "alias": "dropdownPosition"; "required": false; "isSignal": true; }; "colorKey": { "alias": "colorKey"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "restrictKey": { "alias": "restrictKey"; "required": false; "isSignal": true; }; "hasError": { "alias": "hasError"; "required": false; "isSignal": true; }; }, { "selectionChange": "selectionChange"; "valueChange": "valueChange"; "clear": "clear"; }, never, never, true, never>;
|
|
1962
1966
|
}
|
|
1963
1967
|
|
|
1964
1968
|
type ToastSeverity = 'success' | 'error' | 'warn' | 'info' | 'default';
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M6 1.5V3.75" stroke="black" stroke-width="1.25" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3
|
-
<path d="M12 1.5V3.75" stroke="black" stroke-width="1.25" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
|
4
|
-
<path d="M2.625 6.81836H15.375" stroke="black" stroke-width="1.3" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
|
5
|
-
<path d="M15.75 6.375V12.75C15.75 15 14.625 16.5 12 16.5H6C3.375 16.5 2.25 15 2.25 12.75V6.375C2.25 4.125 3.375 2.625 6 2.625H12C14.625 2.625 15.75 4.125 15.75 6.375Z" stroke="black" stroke-width="1.3" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
|
6
|
-
<path d="M11.7693 10.2754H11.7761" stroke="black" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/>
|
|
7
|
-
<path d="M11.7693 12.5254H11.7761" stroke="black" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/>
|
|
8
|
-
<path d="M8.99588 10.2754H9.00262" stroke="black" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/>
|
|
9
|
-
<path d="M8.99588 12.5254H9.00262" stroke="black" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/>
|
|
10
|
-
<path d="M6.22244 10.2754H6.22918" stroke="black" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/>
|
|
11
|
-
<path d="M6.22244 12.5254H6.22918" stroke="black" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/>
|
|
12
|
-
</svg>
|
|
1
|
+
<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M6 1.5V3.75" stroke="black" stroke-width="1.25" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3
|
+
<path d="M12 1.5V3.75" stroke="black" stroke-width="1.25" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
|
4
|
+
<path d="M2.625 6.81836H15.375" stroke="black" stroke-width="1.3" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
|
5
|
+
<path d="M15.75 6.375V12.75C15.75 15 14.625 16.5 12 16.5H6C3.375 16.5 2.25 15 2.25 12.75V6.375C2.25 4.125 3.375 2.625 6 2.625H12C14.625 2.625 15.75 4.125 15.75 6.375Z" stroke="black" stroke-width="1.3" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
|
6
|
+
<path d="M11.7693 10.2754H11.7761" stroke="black" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/>
|
|
7
|
+
<path d="M11.7693 12.5254H11.7761" stroke="black" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/>
|
|
8
|
+
<path d="M8.99588 10.2754H9.00262" stroke="black" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/>
|
|
9
|
+
<path d="M8.99588 12.5254H9.00262" stroke="black" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/>
|
|
10
|
+
<path d="M6.22244 10.2754H6.22918" stroke="black" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/>
|
|
11
|
+
<path d="M6.22244 12.5254H6.22918" stroke="black" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/>
|
|
12
|
+
</svg>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M7.875 14.925V3.075C7.875 1.95 7.395 1.5 6.2025 1.5H3.1725C1.98 1.5 1.5 1.95 1.5 3.075V14.925C1.5 16.05 1.98 16.5 3.1725 16.5H6.2025C7.395 16.5 7.875 16.05 7.875 14.925Z" stroke="black" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3
|
-
<path d="M16.5 14.925V3.075C16.5 1.95 16.02 1.5 14.8275 1.5H11.7975C10.605 1.5 10.125 1.95 10.125 3.075V14.925C10.125 16.05 10.605 16.5 11.7975 16.5H14.8275C16.02 16.5 16.5 16.05 16.5 14.925Z" stroke="black" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"/>
|
|
4
|
-
</svg>
|
|
1
|
+
<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M7.875 14.925V3.075C7.875 1.95 7.395 1.5 6.2025 1.5H3.1725C1.98 1.5 1.5 1.95 1.5 3.075V14.925C1.5 16.05 1.98 16.5 3.1725 16.5H6.2025C7.395 16.5 7.875 16.05 7.875 14.925Z" stroke="black" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3
|
+
<path d="M16.5 14.925V3.075C16.5 1.95 16.02 1.5 14.8275 1.5H11.7975C10.605 1.5 10.125 1.95 10.125 3.075V14.925C10.125 16.05 10.605 16.5 11.7975 16.5H14.8275C16.02 16.5 16.5 16.05 16.5 14.925Z" stroke="black" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"/>
|
|
4
|
+
</svg>
|