pgo-ui 1.0.14 → 1.0.15
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/PGO UI README.md +6 -8
- package/dist/index.es.js +10058 -9721
- package/dist/index.umd.js +60 -51
- package/dist/pgo-ui.css +1 -1
- package/package.json +1 -1
- package/src/App.vue +1 -0
- package/src/components/pgo/Button.vue +13 -1
- package/src/components/pgo/HeroIcon.vue +11 -0
- package/src/components/pgo/Search.vue +200 -301
- package/src/components/pgo/SearchBox.vue +359 -0
- package/src/components/pgo/_Search.vue +411 -0
- package/src/components/pgo/base/Base copy.vue +471 -0
- package/src/components/pgo/base/Base.vue +38 -37
- package/src/components/pgo/buttons/Chip.vue +17 -16
- package/src/components/pgo/forms/DynamicForm copy 2.vue +560 -0
- package/src/components/pgo/forms/DynamicForm copy.vue +870 -0
- package/src/components/pgo/forms/DynamicForm.vue +526 -113
- package/src/components/pgo/forms/Form copy.vue +197 -0
- package/src/components/pgo/forms/Form.vue +47 -15
- package/src/components/pgo/index.ts +2 -0
- package/src/components/pgo/inputs/DatePicker.vue +3 -3
- package/src/components/pgo/inputs/InputSearch.vue +3 -3
- package/src/components/pgo/inputs/NumberField.vue +3 -3
- package/src/components/pgo/inputs/Select.vue +6 -3
- package/src/components/pgo/inputs/TextField.vue +3 -3
- package/src/components/pgo/inputs/Textarea.vue +3 -3
- package/src/pgo-components/lib/componentConfig.js +28 -9
- package/src/pgo-components/pages/ListView.vue +12 -4
- package/src/pgo-components/tokens/index.js +1 -0
- package/src/test.json +466 -0
- package/src/components/pgo/Search copy.vue +0 -310
package/PGO UI README.md
CHANGED
|
@@ -16,19 +16,17 @@ npm install pgo-ui
|
|
|
16
16
|
```js
|
|
17
17
|
import { createApp } from 'vue'
|
|
18
18
|
import App from './App.vue'
|
|
19
|
+
import router from './router'
|
|
20
|
+
import PgoUiux from'/src/index.js'
|
|
19
21
|
|
|
20
|
-
|
|
21
|
-
import 'pgo-ui/style.css' //Add this
|
|
22
|
-
import PgoUiux from 'pgo-ui' //Add this Line
|
|
23
|
-
import { createApi } from 'pgo-ui' //Add this Line
|
|
22
|
+
const baseUrl = import.meta.env.VITE_API_BASE_URL
|
|
24
23
|
|
|
25
24
|
const app = createApp(App)
|
|
26
|
-
app.use(router)
|
|
27
|
-
app.use(PgoUiux) //Add this
|
|
28
25
|
|
|
26
|
+
app.use(router)
|
|
27
|
+
app.provide('baseUrl', baseUrl);
|
|
29
28
|
|
|
30
|
-
|
|
31
|
-
app.provide('api', api); //Add this
|
|
29
|
+
app.use(PgoUiux)
|
|
32
30
|
|
|
33
31
|
app.mount('#app')
|
|
34
32
|
```
|