@qualcomm-ui/angular 1.0.2 → 1.1.0
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/esm2022/kbd/index.js +2 -0
- package/esm2022/kbd/index.js.map +1 -0
- package/esm2022/kbd/kbd.directive.js +21 -0
- package/esm2022/kbd/kbd.directive.js.map +1 -0
- package/esm2022/kbd/qualcomm-ui-angular-kbd.js +5 -0
- package/esm2022/kbd/qualcomm-ui-angular-kbd.js.map +1 -0
- package/kbd/index.d.ts +2 -0
- package/kbd/index.d.ts.map +1 -0
- package/kbd/kbd.directive.d.ts +12 -0
- package/kbd/kbd.directive.d.ts.map +1 -0
- package/kbd/qualcomm-ui-angular-kbd.d.ts +6 -0
- package/kbd/qualcomm-ui-angular-kbd.d.ts.map +1 -0
- package/package.json +8 -4
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/kbd/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA","sourcesContent":["export * from \"./kbd.directive\"\n"]}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
2
|
+
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
3
|
+
import { Directive } from "@angular/core";
|
|
4
|
+
import { normalizeProps, useTrackBindings, } from "@qualcomm-ui/angular-core/machine";
|
|
5
|
+
import { getQdsKbdBindings } from "@qualcomm-ui/qds-core/kbd";
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export class KbdDirective {
|
|
8
|
+
trackBindings = useTrackBindings(() => getQdsKbdBindings(normalizeProps));
|
|
9
|
+
ngOnInit() {
|
|
10
|
+
this.trackBindings();
|
|
11
|
+
}
|
|
12
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: KbdDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
13
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.10", type: KbdDirective, isStandalone: true, selector: "[q-kbd]", ngImport: i0 });
|
|
14
|
+
}
|
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: KbdDirective, decorators: [{
|
|
16
|
+
type: Directive,
|
|
17
|
+
args: [{
|
|
18
|
+
selector: "[q-kbd]",
|
|
19
|
+
}]
|
|
20
|
+
}] });
|
|
21
|
+
//# sourceMappingURL=kbd.directive.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kbd.directive.js","sourceRoot":"","sources":["../../../src/kbd/kbd.directive.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,8CAA8C;AAE9C,OAAO,EAAC,SAAS,EAAc,MAAM,eAAe,CAAA;AAEpD,OAAO,EACL,cAAc,EACd,gBAAgB,GACjB,MAAM,mCAAmC,CAAA;AAC1C,OAAO,EAAC,iBAAiB,EAAC,MAAM,2BAA2B,CAAA;;AAK3D,MAAM,OAAO,YAAY;IACJ,aAAa,GAAG,gBAAgB,CAAC,GAAG,EAAE,CACvD,iBAAiB,CAAC,cAAc,CAAC,CAClC,CAAA;IAED,QAAQ;QACN,IAAI,CAAC,aAAa,EAAE,CAAA;IACtB,CAAC;wGAPU,YAAY;4FAAZ,YAAY;;4FAAZ,YAAY;kBAHxB,SAAS;mBAAC;oBACT,QAAQ,EAAE,SAAS;iBACpB","sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Directive, type OnInit} from \"@angular/core\"\n\nimport {\n normalizeProps,\n useTrackBindings,\n} from \"@qualcomm-ui/angular-core/machine\"\nimport {getQdsKbdBindings} from \"@qualcomm-ui/qds-core/kbd\"\n\n@Directive({\n selector: \"[q-kbd]\",\n})\nexport class KbdDirective implements OnInit {\n protected readonly trackBindings = useTrackBindings(() =>\n getQdsKbdBindings(normalizeProps),\n )\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"qualcomm-ui-angular-kbd.js","sourceRoot":"","sources":["../../../src/kbd/qualcomm-ui-angular-kbd.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,SAAS,CAAC","sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"]}
|
package/kbd/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/kbd/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type OnInit } from "@angular/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class KbdDirective implements OnInit {
|
|
4
|
+
protected readonly trackBindings: ((opts?: import("@qualcomm-ui/angular-core/machine").TrackBindingsConfig) => void) & {
|
|
5
|
+
extendWith: (computedProps: () => import("@qualcomm-ui/angular-core/machine").Dict) => void;
|
|
6
|
+
setDisabled: (disabled: boolean) => void;
|
|
7
|
+
};
|
|
8
|
+
ngOnInit(): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KbdDirective, never>;
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KbdDirective, "[q-kbd]", never, {}, {}, never, never, true, never>;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=kbd.directive.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kbd.directive.d.ts","sourceRoot":"","sources":["../../../src/kbd/kbd.directive.ts"],"names":[],"mappings":"AAGA,OAAO,EAAY,KAAK,MAAM,EAAC,MAAM,eAAe,CAAA;;AAQpD,qBAGa,YAAa,YAAW,MAAM;IACzC,SAAS,CAAC,QAAQ,CAAC,aAAa;;;MAE/B;IAED,QAAQ;yCALG,YAAY;2CAAZ,YAAY;CAQxB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"qualcomm-ui-angular-kbd.d.ts","sourceRoot":"","sources":["../../../src/kbd/qualcomm-ui-angular-kbd.ts"],"names":[],"mappings":"AAAA;;GAEG;;AAEH,cAAc,SAAS,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qualcomm-ui/angular",
|
|
3
3
|
"description": "QUI Angular Components",
|
|
4
|
-
"version": "1.0
|
|
4
|
+
"version": "1.1.0",
|
|
5
5
|
"author": "Ryan Bower",
|
|
6
6
|
"license": "BSD-3-Clause-Clear",
|
|
7
7
|
"repository": "https://github.com/qualcomm/qualcomm-ui",
|
|
@@ -89,6 +89,10 @@
|
|
|
89
89
|
"types": "./input/qualcomm-ui-angular-input.d.ts",
|
|
90
90
|
"default": "./esm2022/input/qualcomm-ui-angular-input.js"
|
|
91
91
|
},
|
|
92
|
+
"./kbd": {
|
|
93
|
+
"types": "./kbd/qualcomm-ui-angular-kbd.d.ts",
|
|
94
|
+
"default": "./esm2022/kbd/qualcomm-ui-angular-kbd.js"
|
|
95
|
+
},
|
|
92
96
|
"./link": {
|
|
93
97
|
"types": "./link/qualcomm-ui-angular-link.d.ts",
|
|
94
98
|
"default": "./esm2022/link/qualcomm-ui-angular-link.js"
|
|
@@ -186,9 +190,9 @@
|
|
|
186
190
|
"@angular/platform-browser": ">=20.1.0 <21",
|
|
187
191
|
"@angular/platform-browser-dynamic": ">=20.1.0 <21",
|
|
188
192
|
"@qualcomm-ui/angular-core": "^1.0.2",
|
|
189
|
-
"@qualcomm-ui/core": "^1.0.
|
|
190
|
-
"@qualcomm-ui/qds-core": "^1.0
|
|
191
|
-
"@qualcomm-ui/utils": "^1",
|
|
193
|
+
"@qualcomm-ui/core": "^1.0.5",
|
|
194
|
+
"@qualcomm-ui/qds-core": "^1.1.0",
|
|
195
|
+
"@qualcomm-ui/utils": "^1.0.3",
|
|
192
196
|
"@tanstack/virtual-core": ">=3.13.12",
|
|
193
197
|
"lucide-angular": ">=0.487.0 <1",
|
|
194
198
|
"typescript": ">=5.2.0 <6"
|