zova-module-a-behaviors 5.1.2 → 5.1.7
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/dist/.metadata/index.d.ts +59 -0
- package/dist/.metadata/index.d.ts.map +1 -0
- package/dist/.metadata/this.d.ts +3 -0
- package/dist/.metadata/this.d.ts.map +1 -0
- package/dist/bean/behavior.focus.d.ts +16 -0
- package/dist/bean/behavior.focus.d.ts.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -0
- package/package.json +5 -8
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/** behavior: begin */
|
|
2
|
+
export * from '../bean/behavior.focus.js';
|
|
3
|
+
import { IBehaviorOptionsFocus } from '../bean/behavior.focus.js';
|
|
4
|
+
import 'zova-module-a-behavior';
|
|
5
|
+
declare module 'zova-module-a-behavior' {
|
|
6
|
+
interface IBehaviorRecord {
|
|
7
|
+
'a-behaviors:focus': IBehaviorOptionsFocus;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
declare module 'zova-module-a-behaviors' {
|
|
11
|
+
interface BehaviorFocus {
|
|
12
|
+
}
|
|
13
|
+
interface BehaviorFocus {
|
|
14
|
+
get $beanFullName(): 'a-behaviors.behavior.focus';
|
|
15
|
+
get $onionName(): 'a-behaviors:focus';
|
|
16
|
+
get $onionOptions(): IBehaviorOptionsFocus;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
/** behavior: end */
|
|
20
|
+
/** behavior: begin */
|
|
21
|
+
import { BehaviorFocus } from '../bean/behavior.focus.js';
|
|
22
|
+
import 'zova';
|
|
23
|
+
declare module 'zova' {
|
|
24
|
+
interface IBeanRecordLocal {
|
|
25
|
+
'a-behaviors.behavior.focus': BehaviorFocus;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
/** behavior: end */
|
|
29
|
+
/** behaviors: begin */
|
|
30
|
+
import 'vue';
|
|
31
|
+
import 'vue/jsx-runtime';
|
|
32
|
+
declare module 'vue' {
|
|
33
|
+
interface InputHTMLAttributes {
|
|
34
|
+
'bs-behaviors-focus'?: IBehaviorOptionsFocus | '' | boolean;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
declare module 'vue/jsx-runtime' {
|
|
38
|
+
namespace JSX {
|
|
39
|
+
interface IntrinsicAttributes {
|
|
40
|
+
'bs-behaviors-focus'?: IBehaviorOptionsFocus | '' | boolean;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
/** behaviors: end */
|
|
45
|
+
/** scope: begin */
|
|
46
|
+
import { BeanScopeBase, type BeanScopeUtil } from 'zova';
|
|
47
|
+
export declare class ScopeModuleABehaviors extends BeanScopeBase {
|
|
48
|
+
}
|
|
49
|
+
export interface ScopeModuleABehaviors {
|
|
50
|
+
util: BeanScopeUtil;
|
|
51
|
+
}
|
|
52
|
+
import 'zova';
|
|
53
|
+
declare module 'zova' {
|
|
54
|
+
interface IBeanScopeRecord {
|
|
55
|
+
'a-behaviors': ScopeModuleABehaviors;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
/** scope: end */
|
|
59
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/.metadata/index.ts"],"names":[],"mappings":"AACA,sBAAsB;AACtB,cAAc,2BAA2B,CAAC;AAC1C,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAClE,OAAO,wBAAwB,CAAC;AAChC,OAAO,QAAQ,wBAAwB,CAAC;IAEpC,UAAiB,eAAe;QAC9B,mBAAmB,EAAE,qBAAqB,CAAC;KAC5C;CAGJ;AACD,OAAO,QAAQ,yBAAyB,CAAC;IAEjC,UAAiB,aAAa;KAG7B;IAED,UAAiB,aAAa;QAC5B,IAAI,aAAa,IAAI,4BAA4B,CAAC;QAClD,IAAI,UAAU,IAAI,mBAAmB,C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|
+
import type { IDecoratorBehaviorOptions, NextBehavior } from 'zova-module-a-behavior';
|
|
3
|
+
import { BeanBehaviorBase } from 'zova-module-a-behavior';
|
|
4
|
+
export interface IBehaviorPropsInputFocus {
|
|
5
|
+
ref?: any;
|
|
6
|
+
}
|
|
7
|
+
export interface IBehaviorPropsOutputFocus extends IBehaviorPropsInputFocus {
|
|
8
|
+
}
|
|
9
|
+
export interface IBehaviorOptionsFocus extends IDecoratorBehaviorOptions {
|
|
10
|
+
always?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export declare class BehaviorFocus extends BeanBehaviorBase<IBehaviorOptionsFocus, IBehaviorPropsInputFocus, IBehaviorPropsOutputFocus> {
|
|
13
|
+
inputRef?: HTMLElement;
|
|
14
|
+
protected render(props: IBehaviorPropsInputFocus, next: NextBehavior<IBehaviorPropsOutputFocus>): VNode;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=behavior.focus.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"behavior.focus.d.ts","sourceRoot":"","sources":["../../src/bean/behavior.focus.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,KAAK,EAAE,yBAAyB,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAEtF,OAAO,EAAE,gBAAgB,EAAY,MAAM,wBAAwB,CAAC;AAEpE,MAAM,WAAW,wBAAwB;IACvC,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AAED,MAAM,WAAW,yBAA0B,SAAQ,wBAAwB;CAAG;AAE9E,MAAM,WAAW,qBAAsB,SAAQ,yBAAyB;IACtE,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,qBACa,aAAc,SAAQ,gBAAgB,CAAC,qBAAqB,EAAE,wBAAwB,EAAE,yBAAyB,CAAC;IAC7H,QAAQ,CAAC,EAAE,WAAW,CAAC;IAEvB,SAAS,CAAC,MAAM,CAAC,KAAK,EAAE,wBAAwB,EAAE,IAAI,EAAE,YAAY,CAAC,yBAAyB,CAAC,GAAG,KAAK;CAcxG"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zova-module-a-behaviors",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.7",
|
|
4
|
+
"gitHead": "761a9baced655ccf3197e756c1d046ed651fafd5",
|
|
4
5
|
"description": "",
|
|
5
6
|
"keywords": [
|
|
6
7
|
"Zova Module"
|
|
@@ -17,21 +18,17 @@
|
|
|
17
18
|
"type": "module",
|
|
18
19
|
"exports": {
|
|
19
20
|
".": {
|
|
20
|
-
"types":
|
|
21
|
-
"./src/index.ts",
|
|
22
|
-
"./dist/index.d.ts"
|
|
23
|
-
],
|
|
21
|
+
"types": "./dist/index.d.ts",
|
|
24
22
|
"default": "./dist/index.js"
|
|
25
23
|
},
|
|
26
24
|
"./*": "./*"
|
|
27
25
|
},
|
|
28
26
|
"scripts": {
|
|
29
27
|
"clean": "rimraf dist tsconfig.build.tsbuildinfo",
|
|
30
|
-
"tsc:publish": "npm run clean && zova :bin:buildModule --sourcemap",
|
|
28
|
+
"tsc:publish": "npm run clean && zova :bin:buildModule --sourcemap && tsc -p tsconfig.build.json",
|
|
31
29
|
"prepublishOnly": "npm run tsc:publish",
|
|
32
30
|
"prepack": "clean-package",
|
|
33
31
|
"postpack": "clean-package restore && npm run clean"
|
|
34
32
|
},
|
|
35
|
-
"title": "a-behaviors"
|
|
36
|
-
"gitHead": "5517baba5865ac348af5be8e3a0f7506b0a67f9c"
|
|
33
|
+
"title": "a-behaviors"
|
|
37
34
|
}
|