@fewangsit/wangsvue-presets 1.0.85-alpha.4 → 1.0.85-alpha.5
Sign up to get free protection for your applications and to get access to all the features.
- package/fixedasset/buttondownload/index.d.ts +2 -1
- package/fixedasset/buttondownload/index.js +6 -2
- package/fixedasset/buttonfilter/index.d.ts +13 -4
- package/fixedasset/buttonfilter/index.js +20 -7
- package/fixedasset/buttonsearch/index.js +1 -1
- package/fixedasset/datatable/index.js +1 -0
- package/fixedasset/filtercontainer/index.d.ts +7 -0
- package/fixedasset/filtercontainer/index.js +10 -0
- package/fixedasset/index.d.ts +2 -0
- package/fixedasset/index.js +2 -0
- package/fixedasset/index.system.js +2 -2
- package/fixedasset/style.css +26 -0
- package/package.json +1 -1
- package/wangsvue/buttondownload/index.d.ts +1 -0
- package/wangsvue/buttondownload/index.js +1 -0
- package/wangsvue/buttonfilter/index.d.ts +3 -2
- package/wangsvue/buttonfilter/index.js +5 -4
- package/wangsvue/datatable/index.js +1 -0
- package/wangsvue/filtercontainer/index.d.ts +7 -0
- package/wangsvue/filtercontainer/index.js +10 -0
- package/wangsvue/index.d.ts +2 -0
- package/wangsvue/index.js +2 -0
- package/wangsvue/index.system.js +2 -2
- package/wangsvue/style.css +26 -0
@@ -1,12 +1,13 @@
|
|
1
1
|
declare namespace _default {
|
2
2
|
let root: {
|
3
|
-
class: string;
|
3
|
+
class: string[];
|
4
4
|
'data-wv-name': string;
|
5
5
|
'data-wv-section': string;
|
6
6
|
};
|
7
7
|
let icon: {
|
8
8
|
class: string;
|
9
9
|
'data-wv-section': string;
|
10
|
+
severity: string;
|
10
11
|
};
|
11
12
|
}
|
12
13
|
export default _default;
|
@@ -2,12 +2,16 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.default = {
|
4
4
|
root: {
|
5
|
-
'class':
|
5
|
+
'class': [
|
6
|
+
'rounded ring-1 ring-success-500 p-[5px] ring-inset',
|
7
|
+
'focus-within:ring-2 focus-within:ring-primary-500 focus-within:outline-none',
|
8
|
+
],
|
6
9
|
'data-wv-name': 'buttondownload',
|
7
10
|
'data-wv-section': 'root',
|
8
11
|
},
|
9
12
|
icon: {
|
10
|
-
'class': 'text-
|
13
|
+
'class': 'text-base',
|
11
14
|
'data-wv-section': 'icon',
|
15
|
+
'severity': 'success',
|
12
16
|
},
|
13
17
|
};
|
@@ -1,11 +1,20 @@
|
|
1
1
|
declare namespace _default {
|
2
|
-
|
3
|
-
|
2
|
+
function root({ context }: {
|
3
|
+
context: any;
|
4
|
+
}): {
|
5
|
+
class: (string | {
|
6
|
+
'bg-general-500': any;
|
7
|
+
})[];
|
4
8
|
'data-wv-name': string;
|
5
9
|
'data-wv-section': string;
|
6
10
|
};
|
7
|
-
|
8
|
-
|
11
|
+
function icon({ context }: {
|
12
|
+
context: any;
|
13
|
+
}): {
|
14
|
+
class: (string | {
|
15
|
+
'text-general-400': boolean;
|
16
|
+
'text-white': any;
|
17
|
+
})[];
|
9
18
|
'data-wv-section': string;
|
10
19
|
};
|
11
20
|
}
|
@@ -1,13 +1,26 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.default = {
|
4
|
-
root: {
|
5
|
-
|
6
|
-
|
7
|
-
|
4
|
+
root: function (_a) {
|
5
|
+
var context = _a.context;
|
6
|
+
return ({
|
7
|
+
'class': [
|
8
|
+
'rounded ring-1 ring-general-500 p-[5px] ring-inset',
|
9
|
+
'focus-within:ring-2 focus-within:outline-none',
|
10
|
+
{ 'bg-general-500': context.active },
|
11
|
+
],
|
12
|
+
'data-wv-name': 'buttonfilter',
|
13
|
+
'data-wv-section': 'root',
|
14
|
+
});
|
8
15
|
},
|
9
|
-
icon: {
|
10
|
-
|
11
|
-
|
16
|
+
icon: function (_a) {
|
17
|
+
var context = _a.context;
|
18
|
+
return ({
|
19
|
+
'class': [
|
20
|
+
'text-base',
|
21
|
+
{ 'text-general-400': !context.active, 'text-white': context.active },
|
22
|
+
],
|
23
|
+
'data-wv-section': 'icon',
|
24
|
+
});
|
12
25
|
},
|
13
26
|
};
|
@@ -7,7 +7,7 @@ exports.default = {
|
|
7
7
|
return ({
|
8
8
|
'class': [
|
9
9
|
{ 'w-max': !context.showSearchInput },
|
10
|
-
'ring-1 ring-general-500 rounded p-[5px]',
|
10
|
+
'ring-1 ring-general-500 rounded p-[5px] ring-inset',
|
11
11
|
'focus-within:ring-2 focus-within:ring-primary-500 focus-within:outline-none',
|
12
12
|
],
|
13
13
|
'data-wv-section': 'buttontrigger',
|
@@ -149,6 +149,7 @@ exports.default = {
|
|
149
149
|
'class': [
|
150
150
|
'text-xs px-2 py-0.5',
|
151
151
|
'border-0 !border-b !border-solid border-general-100',
|
152
|
+
'justify-items-start',
|
152
153
|
'[&:has([data-wv-section=rowcheckbox])]:text-center',
|
153
154
|
'[&:has([data-wv-section=rowcheckbox])]:text-center',
|
154
155
|
],
|
package/fixedasset/index.d.ts
CHANGED
@@ -3,6 +3,7 @@ declare namespace fixedasset {
|
|
3
3
|
export { global };
|
4
4
|
export { directives };
|
5
5
|
export { form };
|
6
|
+
export { filtercontainer };
|
6
7
|
export { autocomplete };
|
7
8
|
export { dropdown };
|
8
9
|
export { inputnumber };
|
@@ -100,6 +101,7 @@ declare namespace directives {
|
|
100
101
|
export { tooltip };
|
101
102
|
}
|
102
103
|
import form from './form/index';
|
104
|
+
import filtercontainer from './filtercontainer';
|
103
105
|
import autocomplete from './autocomplete/index.js';
|
104
106
|
import dropdown from './dropdown/index.js';
|
105
107
|
import inputnumber from './inputnumber/index.js';
|
package/fixedasset/index.js
CHANGED
@@ -94,6 +94,7 @@ var inputcurrency_1 = require("./inputcurrency");
|
|
94
94
|
var fileupload_1 = require("./fileupload");
|
95
95
|
var fieldwrapper_1 = require("./fieldwrapper");
|
96
96
|
var workcalendar_1 = require("./workcalendar");
|
97
|
+
var filtercontainer_1 = require("./filtercontainer");
|
97
98
|
var directives = {
|
98
99
|
badge: index_js_6.default,
|
99
100
|
ripple: index_js_62.default,
|
@@ -104,6 +105,7 @@ var fixedasset = {
|
|
104
105
|
directives: directives,
|
105
106
|
// Forms
|
106
107
|
form: index_1.default,
|
108
|
+
filtercontainer: filtercontainer_1.default,
|
107
109
|
autocomplete: index_js_2.default,
|
108
110
|
dropdown: index_js_31.default,
|
109
111
|
inputnumber: index_js_39.default,
|