zova-module-a-behaviors 5.1.18 → 5.1.22
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/index.js.map +1 -1
- package/package.json +3 -3
- package/src/.metadata/index.ts +9 -9
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../src/bean/behavior.focus.ts","../src/.metadata/index.ts"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../src/bean/behavior.focus.ts","../src/.metadata/index.ts"],"sourcesContent":["var _dec, _dec2, _class;\nimport { \"BeanInfo\" as __z_BeanInfo } from \"zova\";\nimport { BeanBehaviorBase, Behavior } from 'zova-module-a-behavior';\nexport let BehaviorFocus = (_dec = Behavior(), _dec2 = __z_BeanInfo({\n module: \"a-behaviors\"\n}), _dec(_class = _dec2(_class = class BehaviorFocus extends BeanBehaviorBase {\n constructor(...args) {\n super(...args);\n this.inputRef = void 0;\n }\n render(props, next) {\n const refOuter = props?.ref;\n props = {\n ...props,\n ref: ref => {\n if (this.$options.always || !this.inputRef) {\n ref.focus?.();\n }\n this.inputRef = ref;\n refOuter?.(ref);\n }\n };\n return next(props);\n }\n}) || _class) || _class);","var _dec, _dec2, _class;\nimport { \"BeanInfo\" as __z_BeanInfo } from \"zova\";\n// eslint-disable\n/** behavior: begin */\nexport * from '../bean/behavior.focus.js';\nimport 'zova-module-a-behavior';\n/** behavior: end */\n/** behavior: begin */\nimport { BehaviorFocus } from '../bean/behavior.focus.js';\nimport 'zova';\n/** behavior: end */\n/** behaviors: begin */\nimport 'vue';\nimport 'vue/jsx-runtime';\n/** behaviors: end */\n/** scope: begin */\nimport { BeanScopeBase } from 'zova';\nimport { Scope } from 'zova-module-a-bean';\nexport let ScopeModuleABehaviors = (_dec = Scope(), _dec2 = __z_BeanInfo({\n module: \"a-behaviors\"\n}), _dec(_class = _dec2(_class = class ScopeModuleABehaviors extends BeanScopeBase {}) || _class) || _class);\nimport 'zova';\n\n/** scope: end */"],"mappings":";;;;;;AAAA,IAAI,QAAM,SAAO;AAGjB,IAAW,iBAAiB,SAAO,SAAS,GAAG,UAAQ,SAAa,EAClE,QAAQ,cACV,CAAC,GAAG,OAAK,WAAS,QAAM,WAAS,MAAM,sBAAsB,iBAAiB;CAC5E,YAAY,GAAG,MAAM;EACnB,MAAM,GAAG,IAAI;EACb,KAAK,WAAW,KAAK;CACvB;CACA,OAAO,OAAO,MAAM;EAClB,MAAM,WAAW,OAAO;EACxB,QAAQ;GACN,GAAG;GACH,MAAK,QAAO;IACV,IAAI,KAAK,SAAS,UAAU,CAAC,KAAK,UAChC,IAAI,QAAQ;IAEd,KAAK,WAAW;IAChB,WAAW,GAAG;GAChB;EACF;EACA,OAAO,KAAK,KAAK;CACnB;AACF,CAAC,KAAK,QAAM,KAAK;;;;;ACxBjB,IAAI,MAAM,OAAO;AAkBjB,IAAW,yBAAyB,OAAO,MAAM,GAAG,QAAQ,SAAa,EACvE,QAAQ,cACV,CAAC,GAAG,KAAK,SAAS,MAAM,SAAS,MAAM,8BAA8B,cAAc,CAAC,CAAC,KAAK,MAAM,KAAK"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zova-module-a-behaviors",
|
|
3
|
-
"version": "5.1.
|
|
4
|
-
"gitHead": "
|
|
3
|
+
"version": "5.1.22",
|
|
4
|
+
"gitHead": "eb85d771ef75776a439e56df3af8be6a3a36c1c2",
|
|
5
5
|
"description": "",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"Zova Module"
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"tsc:publish": "npm run clean && node ../../../../../packages-cli/cli/src/bin/zova.ts :bin:buildModule --sourcemap && tsc -p tsconfig.build.json",
|
|
28
28
|
"prepublishOnly": "npm run tsc:publish",
|
|
29
29
|
"prepack": "clean-package",
|
|
30
|
-
"postpack": "clean-package restore
|
|
30
|
+
"postpack": "clean-package restore"
|
|
31
31
|
},
|
|
32
32
|
"title": "a-behaviors"
|
|
33
33
|
}
|
package/src/.metadata/index.ts
CHANGED
|
@@ -4,15 +4,15 @@ export * from '../bean/behavior.focus.js';
|
|
|
4
4
|
import { IBehaviorOptionsFocus } from '../bean/behavior.focus.js';
|
|
5
5
|
import 'zova-module-a-behavior';
|
|
6
6
|
declare module 'zova-module-a-behavior' {
|
|
7
|
-
|
|
7
|
+
|
|
8
8
|
export interface IBehaviorRecord {
|
|
9
9
|
'a-behaviors:focus': IBehaviorOptionsFocus;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
|
|
13
13
|
}
|
|
14
14
|
declare module 'zova-module-a-behaviors' {
|
|
15
|
-
|
|
15
|
+
|
|
16
16
|
export interface BehaviorFocus {
|
|
17
17
|
/** @internal */
|
|
18
18
|
get scope(): ScopeModuleABehaviors;
|
|
@@ -22,7 +22,7 @@ declare module 'zova-module-a-behaviors' {
|
|
|
22
22
|
get $beanFullName(): 'a-behaviors.behavior.focus';
|
|
23
23
|
get $onionName(): 'a-behaviors:focus';
|
|
24
24
|
get $onionOptions(): IBehaviorOptionsFocus;
|
|
25
|
-
}
|
|
25
|
+
}
|
|
26
26
|
}
|
|
27
27
|
/** behavior: end */
|
|
28
28
|
/** behavior: begin */
|
|
@@ -69,12 +69,12 @@ declare module 'zova' {
|
|
|
69
69
|
export interface IBeanScopeRecord {
|
|
70
70
|
'a-behaviors': ScopeModuleABehaviors;
|
|
71
71
|
}
|
|
72
|
-
|
|
73
|
-
|
|
74
72
|
|
|
75
|
-
|
|
76
73
|
|
|
77
|
-
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
|
|
78
78
|
}
|
|
79
|
-
|
|
79
|
+
|
|
80
80
|
/** scope: end */
|