@fewangsit/wangsvue-presets 1.0.85-alpha.0 → 1.0.85-alpha.1
Sign up to get free protection for your applications and to get access to all the features.
- package/fixedasset/fieldwrapper/index.d.ts +26 -0
- package/fixedasset/fieldwrapper/index.js +32 -0
- package/fixedasset/index.d.ts +2 -0
- package/fixedasset/index.js +2 -0
- package/fixedasset/index.system.js +1 -1
- package/fixedasset/inputgroup/index.js +3 -4
- package/fixedasset/inputtext/index.js +4 -4
- package/fixedasset/style.css +49 -0
- package/package.json +1 -1
- package/wangsvue/fieldwrapper/index.d.ts +22 -0
- package/wangsvue/fieldwrapper/index.js +26 -0
- package/wangsvue/index.d.ts +2 -0
- package/wangsvue/index.js +112 -110
- package/wangsvue/index.system.js +2 -2
- package/wangsvue/style.css +49 -0
@@ -0,0 +1,26 @@
|
|
1
|
+
declare namespace _default {
|
2
|
+
let root: {
|
3
|
+
class: string[];
|
4
|
+
'data-wv-name': string;
|
5
|
+
'data-wv-section': string;
|
6
|
+
};
|
7
|
+
function label({ props }: {
|
8
|
+
props: any;
|
9
|
+
}): {
|
10
|
+
class: any[][];
|
11
|
+
'data-wv-section': string;
|
12
|
+
};
|
13
|
+
namespace info {
|
14
|
+
let _class: string;
|
15
|
+
export { _class as class };
|
16
|
+
}
|
17
|
+
namespace optionaltext {
|
18
|
+
let _class_1: string;
|
19
|
+
export { _class_1 as class };
|
20
|
+
}
|
21
|
+
namespace arterisksign {
|
22
|
+
let _class_2: string;
|
23
|
+
export { _class_2 as class };
|
24
|
+
}
|
25
|
+
}
|
26
|
+
export default _default;
|
@@ -0,0 +1,32 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.default = {
|
4
|
+
root: {
|
5
|
+
'class': [
|
6
|
+
'flex flex-col items-start justify-start relative gap-1 w-full shrink-0 overflow-hidden',
|
7
|
+
],
|
8
|
+
'data-wv-name': 'fieldwrapper',
|
9
|
+
'data-wv-section': 'root',
|
10
|
+
},
|
11
|
+
label: function (_a) {
|
12
|
+
var props = _a.props;
|
13
|
+
return ({
|
14
|
+
'class': [
|
15
|
+
[
|
16
|
+
'text-general-900 text-xs flex gap-[2px] font-medium tracking-[0.02em]',
|
17
|
+
props.labelClass,
|
18
|
+
],
|
19
|
+
],
|
20
|
+
'data-wv-section': 'fieldlabel',
|
21
|
+
});
|
22
|
+
},
|
23
|
+
info: {
|
24
|
+
class: 'w-2.5 h-2.5 text-primary-500',
|
25
|
+
},
|
26
|
+
optionaltext: {
|
27
|
+
class: 'text-grayscale-700 text-[10px] font-normal leading-4',
|
28
|
+
},
|
29
|
+
arterisksign: {
|
30
|
+
class: 'text-danger-500',
|
31
|
+
},
|
32
|
+
};
|
package/fixedasset/index.d.ts
CHANGED
@@ -34,6 +34,7 @@ declare namespace fixedasset {
|
|
34
34
|
export { password };
|
35
35
|
export { validatormessage };
|
36
36
|
export { fileupload };
|
37
|
+
export { fieldwrapper };
|
37
38
|
export { button };
|
38
39
|
export { buttondownload };
|
39
40
|
export { buttonbulkaction };
|
@@ -129,6 +130,7 @@ import textarea from './textarea/index.js';
|
|
129
130
|
import password from './password/index.js';
|
130
131
|
import validatormessage from './validatormessage/index.js';
|
131
132
|
import fileupload from './fileupload';
|
133
|
+
import fieldwrapper from './fieldwrapper';
|
132
134
|
import button from './button/index.js';
|
133
135
|
import buttondownload from './buttondownload/index.js';
|
134
136
|
import buttonbulkaction from './buttonbulkaction/index';
|
package/fixedasset/index.js
CHANGED
@@ -91,6 +91,7 @@ var index_js_85 = require("./badgegroup/index.js");
|
|
91
91
|
var index_js_86 = require("./breadcrumb/index.js");
|
92
92
|
var inputcurrency_1 = require("./inputcurrency");
|
93
93
|
var fileupload_1 = require("./fileupload");
|
94
|
+
var fieldwrapper_1 = require("./fieldwrapper");
|
94
95
|
var workcalendar_1 = require("./workcalendar");
|
95
96
|
var directives = {
|
96
97
|
badge: index_js_6.default,
|
@@ -133,6 +134,7 @@ var fixedasset = {
|
|
133
134
|
password: index_js_56.default,
|
134
135
|
validatormessage: index_js_84.default,
|
135
136
|
fileupload: fileupload_1.default,
|
137
|
+
fieldwrapper: fieldwrapper_1.default,
|
136
138
|
// Buttons
|
137
139
|
button: index_js_7.default,
|
138
140
|
buttondownload: index_js_8.default,
|