@enso-ui/services 5.1.0 → 5.2.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/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -1,28 +1,3 @@
|
|
|
1
|
-
#
|
|
1
|
+
# services
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-

|
|
5
|
-

|
|
6
|
-

|
|
7
|
-

|
|
8
|
-
|
|
9
|
-
## Usage
|
|
10
|
-
The component cannot be used outside of the Enso ecosystem.
|
|
11
|
-
|
|
12
|
-
### Demo
|
|
13
|
-
|
|
14
|
-
For live examples and demos, you may visit [laravel-enso.com](https://www.laravel-enso.com)
|
|
15
|
-
|
|
16
|
-
### Installation, Configuration & Usage
|
|
17
|
-
|
|
18
|
-
Be sure to check out the full documentation for this package available at [docs.laravel-enso.com](https://docs.laravel-enso.com/frontend/services.html)
|
|
19
|
-
|
|
20
|
-
## Contributions
|
|
21
|
-
|
|
22
|
-
are welcome. Pull requests are great, but issues are good too.
|
|
23
|
-
|
|
24
|
-
Thank you to all the people who already contributed to Enso!
|
|
25
|
-
|
|
26
|
-
## License
|
|
27
|
-
|
|
28
|
-
[ISC](https://opensource.org/licenses/ISC)
|
|
3
|
+
See LICENSE.
|
package/package.json
CHANGED
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@enso-ui/services",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.2.0",
|
|
4
4
|
"description": "Basic services package",
|
|
5
5
|
"main": "src/bulma/pages/administration/services/Index.vue",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"test": "echo \"Error: no test specified\" && exit 1"
|
|
8
|
-
},
|
|
9
6
|
"repository": {
|
|
10
7
|
"type": "git",
|
|
11
8
|
"url": "git+https://github.com/enso-ui/services.git"
|
|
@@ -15,28 +12,18 @@
|
|
|
15
12
|
"vue"
|
|
16
13
|
],
|
|
17
14
|
"author": "Adrian Ocneanu <aocneanu@gmail.com>",
|
|
18
|
-
"license": "
|
|
15
|
+
"license": "MIT",
|
|
19
16
|
"bugs": {
|
|
20
17
|
"url": "https://github.com/enso-ui/services/issues"
|
|
21
18
|
},
|
|
22
19
|
"homepage": "https://github.com/enso-ui/services#readme",
|
|
23
20
|
"dependencies": {
|
|
24
|
-
"@enso-ui/
|
|
25
|
-
"@enso-ui/
|
|
26
|
-
"@enso-ui/
|
|
27
|
-
"@
|
|
28
|
-
"@fortawesome/
|
|
21
|
+
"@enso-ui/filters": "^3.2.0",
|
|
22
|
+
"@enso-ui/forms": "^4.0.0",
|
|
23
|
+
"@enso-ui/tables": "^4.0.0",
|
|
24
|
+
"@enso-ui/ui": "^7.0.0",
|
|
25
|
+
"@fortawesome/fontawesome-svg-core": "^7.2.0",
|
|
26
|
+
"@fortawesome/free-solid-svg-icons": "^7.2.0",
|
|
29
27
|
"vue": "^3.0"
|
|
30
|
-
},
|
|
31
|
-
"devDependencies": {
|
|
32
|
-
"@vue/cli-plugin-babel": "5.0.0-beta.6",
|
|
33
|
-
"@vue/cli-plugin-eslint": "5.0.0-beta.6",
|
|
34
|
-
"@vue/eslint-config-airbnb": "^5.0.0",
|
|
35
|
-
"autoprefixer": "^9.6.1",
|
|
36
|
-
"babel-eslint": "^10.0.1",
|
|
37
|
-
"cross-env": "^6.0.0",
|
|
38
|
-
"eslint": "^7.0.0",
|
|
39
|
-
"eslint-import-resolver-alias": "^1.1.2",
|
|
40
|
-
"eslint-plugin-vue": "^8.0.3"
|
|
41
28
|
}
|
|
42
29
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="columns is-centered">
|
|
3
3
|
<div class="column is-three-quarters-desktop is-full-touch">
|
|
4
|
-
<enso-form class="box form-box
|
|
4
|
+
<enso-form class="box form-box"
|
|
5
5
|
@ready="form = $event.form">
|
|
6
6
|
<template #suppliers>
|
|
7
7
|
<div class="wrapper is-block">
|
|
@@ -1,15 +1,40 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<
|
|
3
|
-
|
|
2
|
+
<div class="wrapper">
|
|
3
|
+
<div class="columns is-centered is-multiline">
|
|
4
|
+
<div class="column is-narrow">
|
|
5
|
+
<boolean-filter class="box"
|
|
6
|
+
:name="i18n('Active')"
|
|
7
|
+
v-model="filters.services.is_active"/>
|
|
8
|
+
</div>
|
|
9
|
+
<div class="column is-narrow">
|
|
10
|
+
<boolean-filter class="box"
|
|
11
|
+
:name="i18n('Additional')"
|
|
12
|
+
v-model="filters.services.is_additional"/>
|
|
13
|
+
</div>
|
|
14
|
+
<div class="column is-narrow">
|
|
15
|
+
<boolean-filter class="box"
|
|
16
|
+
:name="i18n('Contractor Exclusive')"
|
|
17
|
+
v-model="filters.services.is_contractor_exclusive"/>
|
|
18
|
+
</div>
|
|
19
|
+
</div>
|
|
20
|
+
<enso-table class="box p-0"
|
|
21
|
+
v-model:filters="filters"
|
|
22
|
+
:filter-version="1.1"
|
|
23
|
+
id="services"/>
|
|
24
|
+
</div>
|
|
4
25
|
</template>
|
|
5
26
|
|
|
6
|
-
<script>
|
|
7
|
-
|
|
27
|
+
<script setup>
|
|
28
|
+
import { ref, inject } from 'vue';
|
|
29
|
+
import { BooleanFilter } from '@enso-ui/filters/bulma';
|
|
8
30
|
import { EnsoTable } from '@enso-ui/tables/bulma';
|
|
9
31
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
32
|
+
const i18n = inject('i18n');
|
|
33
|
+
const filters = ref({
|
|
34
|
+
services: {
|
|
35
|
+
is_active: null,
|
|
36
|
+
is_additional: null,
|
|
37
|
+
is_contractor_exclusive: null,
|
|
38
|
+
},
|
|
39
|
+
});
|
|
15
40
|
</script>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import routeImporter from '@enso-ui/ui/src/modules/importers/routeImporter';
|
|
2
2
|
|
|
3
|
-
const routes = routeImporter(
|
|
3
|
+
const routes = routeImporter.fromGlob(import.meta.glob('./services/*.js', { eager: true }));
|
|
4
4
|
const RouterView = () => import('@enso-ui/ui/src/bulma/pages/Router.vue');
|
|
5
5
|
|
|
6
6
|
export default {
|