@questwork/vue-q-widget-vue3 3.1.18 → 3.1.20

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.
@@ -1,5 +1,42 @@
1
+ Name: bwip-js
2
+ Version: 4.7.0
3
+ License: MIT
4
+ Private: false
5
+ Description: JavaScript barcode generator supporting over 100 types and standards.
6
+ Repository: https://github.com/metafloor/bwip-js.git
7
+ Homepage: https://github.com/metafloor/bwip-js
8
+ Author: Mark Warren <mwarren@metafloor.com>
9
+ License Copyright:
10
+ ===
11
+
12
+ bwip-js : Barcode Writer in Pure JavaScript
13
+
14
+ Copyright (c) 2011-2025 Mark Warren
15
+
16
+ The MIT License
17
+
18
+ Permission is hereby granted, free of charge, to any person obtaining a copy
19
+ of this software and associated documentation files (the "Software"), to deal
20
+ in the Software without restriction, including without limitation the rights
21
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
22
+ copies of the Software, and to permit persons to whom the Software is
23
+ furnished to do so, subject to the following conditions:
24
+
25
+ The above copyright notice and this permission notice shall be included in
26
+ all copies or substantial portions of the Software.
27
+
28
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
29
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
30
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
31
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
32
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
33
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
34
+ THE SOFTWARE.
35
+
36
+ ---
37
+
1
38
  Name: @questwork/q-utilities
2
- Version: 0.1.21
39
+ Version: 0.1.22
3
40
  License: MIT
4
41
  Private: false
5
42
  Description: Questwork QUtilities
@@ -10,6 +10,7 @@ import { ElementQList } from './qList'
10
10
  import { ElementQPaginator } from './qPaginator'
11
11
  import { ElementQScheduler } from './qScheduler'
12
12
  import { ElementQTab } from './qTab'
13
+ import { ElementQWidget } from './qWidget'
13
14
 
14
15
  export default {
15
16
  ElementQButton,
@@ -24,6 +25,7 @@ export default {
24
25
  ElementQPaginator,
25
26
  ElementQScheduler,
26
27
  ElementQTab,
28
+ ElementQWidget
27
29
  }
28
30
 
29
31
  export {
@@ -39,4 +41,5 @@ export {
39
41
  ElementQPaginator,
40
42
  ElementQScheduler,
41
43
  ElementQTab,
44
+ ElementQWidget
42
45
  }
@@ -0,0 +1,26 @@
1
+ import { Element } from '../element'
2
+
3
+ class ElementQWidget extends Element {
4
+ constructor(opt = {}) {
5
+ super(opt)
6
+ this.defaultStateName = {
7
+ }
8
+ }
9
+
10
+ getConfig() {
11
+ const config = {
12
+ ...(this.state || {}),
13
+ ...(this.config || {}),
14
+ ...(this.state[this.name] || {})
15
+ }
16
+ return config
17
+ }
18
+ }
19
+
20
+ export default {
21
+ ElementQWidget
22
+ }
23
+
24
+ export {
25
+ ElementQWidget
26
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@questwork/vue-q-widget-vue3",
3
- "version": "3.1.18",
3
+ "version": "3.1.20",
4
4
  "description": "Questwork vue component Sample",
5
5
  "exports": {
6
6
  ".": {
@@ -9,6 +9,12 @@
9
9
  },
10
10
  "./style.css": "./dist/q-widget.min.css"
11
11
  },
12
+ "scripts": {
13
+ "build": "vite build",
14
+ "build:copy": "vite build && cp -r dist/*.js '../congress.system/public/libs/vue.v3/' && cp -r dist/*.js '../wordpress.plugins/wp-q-components/assets/js/vue.v3/' && cp -r dist/*.css '../congress.system/public/userfile/shared/css/vue.v3/' && cp -r dist/*.css '../wordpress.plugins/wp-q-components/assets/css/vue.v3/'",
15
+ "build:storybook": "storybook build -c .storybook -o storybook",
16
+ "storybook": "storybook dev -p 6061"
17
+ },
12
18
  "author": {
13
19
  "name": "Questwork Consulting Limited",
14
20
  "email": "info@questwork.com",
@@ -60,11 +66,5 @@
60
66
  },
61
67
  "engines": {
62
68
  "node": ">=10.0.0"
63
- },
64
- "scripts": {
65
- "build": "vite build",
66
- "build:copy": "vite build && cp -r dist/*.js '../congress.system/public/libs/vue.v3/' && cp -r dist/*.js '../wordpress.plugins/wp-q-components/assets/js/vue.v3/' && cp -r dist/*.css '../congress.system/public/userfile/shared/css/vue.v3/' && cp -r dist/*.css '../wordpress.plugins/wp-q-components/assets/css/vue.v3/'",
67
- "build:storybook": "storybook build -c .storybook -o storybook",
68
- "storybook": "storybook dev -p 6061"
69
69
  }
70
- }
70
+ }