quasar-ui-sellmate-ui-kit 1.0.0 → 1.0.4
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/README.md +142 -142
- package/dist/index.common.js +6 -0
- package/dist/index.css +1 -1
- package/dist/index.esm.js +6 -0
- package/dist/index.min.css +1 -1
- package/dist/index.rtl.css +1 -1
- package/dist/index.rtl.min.css +1 -1
- package/dist/index.umd.js +1458 -0
- package/dist/index.umd.min.js +6 -0
- package/package-lock.json +29044 -29044
- package/package.json +72 -71
- package/src/components/Component.js +13 -13
- package/src/components/Component.sass +2 -2
- package/src/components/SBanner.vue +21 -51
- package/src/components/SBreadcrumbs.vue +18 -0
- package/src/components/SButton.vue +77 -75
- package/src/components/SButtonGroup.vue +36 -36
- package/src/components/SButtonToggle.vue +57 -54
- package/src/components/SCaution.vue +56 -46
- package/src/components/SCheckbox.vue +3 -3
- package/src/components/SChip.vue +24 -24
- package/src/components/SConfirm.vue +120 -87
- package/src/components/SDatePicker.vue +70 -70
- package/src/components/SFilePicker.vue +30 -30
- package/src/components/SHelp.vue +66 -60
- package/src/components/SInput.vue +67 -65
- package/src/components/SInputNumber.vue +83 -80
- package/src/components/SList.vue +17 -0
- package/src/components/SPagination.vue +9 -9
- package/src/components/SRadio.vue +3 -3
- package/src/components/SSelect.vue +54 -63
- package/src/components/SStepper.vue +76 -0
- package/src/components/STab.vue +26 -3
- package/src/components/STable.vue +74 -62
- package/src/components/STabs.vue +28 -0
- package/src/components/SToggle.vue +66 -66
- package/src/components/STooltip.vue +17 -63
- package/src/components/STransfer.vue +118 -220
- package/src/directives/Directive.js +8 -8
- package/src/index.common.js +1 -1
- package/src/index.esm.js +4 -4
- package/src/index.sass +3 -3
- package/src/index.umd.js +3 -3
- package/src/vue-plugin.js +67 -59
package/README.md
CHANGED
|
@@ -1,142 +1,142 @@
|
|
|
1
|
-
# Component SellmateUI and Directive v-sellmate
|
|
2
|
-
|
|
3
|
-
[](https://www.npmjs.com/package/quasar-ui-sellmate-ui-kit)
|
|
4
|
-
[](https://www.npmjs.com/package/quasar-ui-sellmate-ui-kit)
|
|
5
|
-
|
|
6
|
-
**Compatible with Quasar UI v2 and Vue 3**.
|
|
7
|
-
|
|
8
|
-
# Component SellmateUI
|
|
9
|
-
> Short description of the component
|
|
10
|
-
|
|
11
|
-
# Directive v-sellmate
|
|
12
|
-
> Short description of the directive
|
|
13
|
-
|
|
14
|
-
# Usage
|
|
15
|
-
|
|
16
|
-
## Quasar CLI project
|
|
17
|
-
|
|
18
|
-
Install the [App Extension](../app-extension).
|
|
19
|
-
|
|
20
|
-
**OR**:
|
|
21
|
-
|
|
22
|
-
Create and register a boot file:
|
|
23
|
-
|
|
24
|
-
```js
|
|
25
|
-
import Vue from 'vue'
|
|
26
|
-
import Plugin from 'quasar-ui-sellmate-ui-kit'
|
|
27
|
-
import 'quasar-ui-sellmate-ui-kit/dist/index.css'
|
|
28
|
-
|
|
29
|
-
Vue.use(Plugin)
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
**OR**:
|
|
33
|
-
|
|
34
|
-
```html
|
|
35
|
-
<style src="quasar-ui-sellmate-ui-kit/dist/index.css"></style>
|
|
36
|
-
|
|
37
|
-
<script>
|
|
38
|
-
import { Component as SellmateUI, Directive } from 'quasar-ui-sellmate-ui-kit'
|
|
39
|
-
|
|
40
|
-
export default {
|
|
41
|
-
components: {
|
|
42
|
-
SellmateUI
|
|
43
|
-
},
|
|
44
|
-
directives: {
|
|
45
|
-
Directive
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
</script>
|
|
49
|
-
```
|
|
50
|
-
|
|
51
|
-
## Vue CLI project
|
|
52
|
-
|
|
53
|
-
```js
|
|
54
|
-
import Vue from 'vue'
|
|
55
|
-
import Plugin from 'quasar-ui-sellmate-ui-kit'
|
|
56
|
-
import 'quasar-ui-sellmate-ui-kit/dist/index.css'
|
|
57
|
-
|
|
58
|
-
Vue.use(Plugin)
|
|
59
|
-
```
|
|
60
|
-
|
|
61
|
-
**OR**:
|
|
62
|
-
|
|
63
|
-
```html
|
|
64
|
-
<style src="quasar-ui-sellmate-ui-kit/dist/index.css"></style>
|
|
65
|
-
|
|
66
|
-
<script>
|
|
67
|
-
import { Component as SellmateUI, Directive } from 'quasar-ui-sellmate-ui-kit'
|
|
68
|
-
|
|
69
|
-
export default {
|
|
70
|
-
components: {
|
|
71
|
-
SellmateUI
|
|
72
|
-
},
|
|
73
|
-
directives: {
|
|
74
|
-
Directive
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
</script>
|
|
78
|
-
```
|
|
79
|
-
|
|
80
|
-
## UMD variant
|
|
81
|
-
|
|
82
|
-
Exports `window.sellmateUI`.
|
|
83
|
-
|
|
84
|
-
Add the following tag(s) after the Quasar ones:
|
|
85
|
-
|
|
86
|
-
```html
|
|
87
|
-
<head>
|
|
88
|
-
<!-- AFTER the Quasar stylesheet tags: -->
|
|
89
|
-
<link href="https://cdn.jsdelivr.net/npm/quasar-ui-sellmate-ui-kit/dist/index.min.css" rel="stylesheet" type="text/css">
|
|
90
|
-
</head>
|
|
91
|
-
<body>
|
|
92
|
-
<!-- at end of body, AFTER Quasar script(s): -->
|
|
93
|
-
<script src="https://cdn.jsdelivr.net/npm/quasar-ui-sellmate-ui-kit/dist/index.umd.min.js"></script>
|
|
94
|
-
</body>
|
|
95
|
-
```
|
|
96
|
-
If you need the RTL variant of the CSS, then go for the following (instead of the above stylesheet link):
|
|
97
|
-
```html
|
|
98
|
-
<link href="https://cdn.jsdelivr.net/npm/quasar-ui-sellmate-ui-kit/dist/index.rtl.min.css" rel="stylesheet" type="text/css">
|
|
99
|
-
```
|
|
100
|
-
|
|
101
|
-
# Setup
|
|
102
|
-
```bash
|
|
103
|
-
$ yarn
|
|
104
|
-
```
|
|
105
|
-
|
|
106
|
-
# Developing
|
|
107
|
-
```bash
|
|
108
|
-
# start dev in SPA mode
|
|
109
|
-
$ yarn dev
|
|
110
|
-
|
|
111
|
-
# start dev in UMD mode
|
|
112
|
-
$ yarn dev:umd
|
|
113
|
-
|
|
114
|
-
# start dev in SSR mode
|
|
115
|
-
$ yarn dev:ssr
|
|
116
|
-
|
|
117
|
-
# start dev in Cordova iOS mode
|
|
118
|
-
$ yarn dev:ios
|
|
119
|
-
|
|
120
|
-
# start dev in Cordova Android mode
|
|
121
|
-
$ yarn dev:android
|
|
122
|
-
|
|
123
|
-
# start dev in Electron mode
|
|
124
|
-
$ yarn dev:electron
|
|
125
|
-
```
|
|
126
|
-
|
|
127
|
-
# Building package
|
|
128
|
-
```bash
|
|
129
|
-
$ yarn build
|
|
130
|
-
```
|
|
131
|
-
|
|
132
|
-
# Adding Testing Components
|
|
133
|
-
in the `ui/dev/src/pages` you can add Vue files to test your component/directive. When using `yarn dev` to build the UI, any pages in that location will automatically be picked up by dynamic routing and added to the test page.
|
|
134
|
-
|
|
135
|
-
# Adding Assets
|
|
136
|
-
If you have a component that has assets, like language or icon-sets, you will need to provide these for UMD. In the `ui/build/script.javascript.js` file, you will find a couple of commented out commands that call `addAssets`. Uncomment what you need and add your assets to have them be built and put into the `ui/dist` folder.
|
|
137
|
-
|
|
138
|
-
# Donate
|
|
139
|
-
If you appreciate the work that went into this, please consider [donating to Quasar](https://donate.quasar.dev).
|
|
140
|
-
|
|
141
|
-
# License
|
|
142
|
-
MIT (c) Sellmate Dev Team <dev@sellmate.co.kr>
|
|
1
|
+
# Component SellmateUI and Directive v-sellmate
|
|
2
|
+
|
|
3
|
+
[](https://www.npmjs.com/package/quasar-ui-sellmate-ui-kit)
|
|
4
|
+
[](https://www.npmjs.com/package/quasar-ui-sellmate-ui-kit)
|
|
5
|
+
|
|
6
|
+
**Compatible with Quasar UI v2 and Vue 3**.
|
|
7
|
+
|
|
8
|
+
# Component SellmateUI
|
|
9
|
+
> Short description of the component
|
|
10
|
+
|
|
11
|
+
# Directive v-sellmate
|
|
12
|
+
> Short description of the directive
|
|
13
|
+
|
|
14
|
+
# Usage
|
|
15
|
+
|
|
16
|
+
## Quasar CLI project
|
|
17
|
+
|
|
18
|
+
Install the [App Extension](../app-extension).
|
|
19
|
+
|
|
20
|
+
**OR**:
|
|
21
|
+
|
|
22
|
+
Create and register a boot file:
|
|
23
|
+
|
|
24
|
+
```js
|
|
25
|
+
import Vue from 'vue'
|
|
26
|
+
import Plugin from 'quasar-ui-sellmate-ui-kit'
|
|
27
|
+
import 'quasar-ui-sellmate-ui-kit/dist/index.css'
|
|
28
|
+
|
|
29
|
+
Vue.use(Plugin)
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
**OR**:
|
|
33
|
+
|
|
34
|
+
```html
|
|
35
|
+
<style src="quasar-ui-sellmate-ui-kit/dist/index.css"></style>
|
|
36
|
+
|
|
37
|
+
<script>
|
|
38
|
+
import { Component as SellmateUI, Directive } from 'quasar-ui-sellmate-ui-kit'
|
|
39
|
+
|
|
40
|
+
export default {
|
|
41
|
+
components: {
|
|
42
|
+
SellmateUI
|
|
43
|
+
},
|
|
44
|
+
directives: {
|
|
45
|
+
Directive
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
</script>
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
## Vue CLI project
|
|
52
|
+
|
|
53
|
+
```js
|
|
54
|
+
import Vue from 'vue'
|
|
55
|
+
import Plugin from 'quasar-ui-sellmate-ui-kit'
|
|
56
|
+
import 'quasar-ui-sellmate-ui-kit/dist/index.css'
|
|
57
|
+
|
|
58
|
+
Vue.use(Plugin)
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
**OR**:
|
|
62
|
+
|
|
63
|
+
```html
|
|
64
|
+
<style src="quasar-ui-sellmate-ui-kit/dist/index.css"></style>
|
|
65
|
+
|
|
66
|
+
<script>
|
|
67
|
+
import { Component as SellmateUI, Directive } from 'quasar-ui-sellmate-ui-kit'
|
|
68
|
+
|
|
69
|
+
export default {
|
|
70
|
+
components: {
|
|
71
|
+
SellmateUI
|
|
72
|
+
},
|
|
73
|
+
directives: {
|
|
74
|
+
Directive
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
</script>
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
## UMD variant
|
|
81
|
+
|
|
82
|
+
Exports `window.sellmateUI`.
|
|
83
|
+
|
|
84
|
+
Add the following tag(s) after the Quasar ones:
|
|
85
|
+
|
|
86
|
+
```html
|
|
87
|
+
<head>
|
|
88
|
+
<!-- AFTER the Quasar stylesheet tags: -->
|
|
89
|
+
<link href="https://cdn.jsdelivr.net/npm/quasar-ui-sellmate-ui-kit/dist/index.min.css" rel="stylesheet" type="text/css">
|
|
90
|
+
</head>
|
|
91
|
+
<body>
|
|
92
|
+
<!-- at end of body, AFTER Quasar script(s): -->
|
|
93
|
+
<script src="https://cdn.jsdelivr.net/npm/quasar-ui-sellmate-ui-kit/dist/index.umd.min.js"></script>
|
|
94
|
+
</body>
|
|
95
|
+
```
|
|
96
|
+
If you need the RTL variant of the CSS, then go for the following (instead of the above stylesheet link):
|
|
97
|
+
```html
|
|
98
|
+
<link href="https://cdn.jsdelivr.net/npm/quasar-ui-sellmate-ui-kit/dist/index.rtl.min.css" rel="stylesheet" type="text/css">
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
# Setup
|
|
102
|
+
```bash
|
|
103
|
+
$ yarn
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
# Developing
|
|
107
|
+
```bash
|
|
108
|
+
# start dev in SPA mode
|
|
109
|
+
$ yarn dev
|
|
110
|
+
|
|
111
|
+
# start dev in UMD mode
|
|
112
|
+
$ yarn dev:umd
|
|
113
|
+
|
|
114
|
+
# start dev in SSR mode
|
|
115
|
+
$ yarn dev:ssr
|
|
116
|
+
|
|
117
|
+
# start dev in Cordova iOS mode
|
|
118
|
+
$ yarn dev:ios
|
|
119
|
+
|
|
120
|
+
# start dev in Cordova Android mode
|
|
121
|
+
$ yarn dev:android
|
|
122
|
+
|
|
123
|
+
# start dev in Electron mode
|
|
124
|
+
$ yarn dev:electron
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
# Building package
|
|
128
|
+
```bash
|
|
129
|
+
$ yarn build
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
# Adding Testing Components
|
|
133
|
+
in the `ui/dev/src/pages` you can add Vue files to test your component/directive. When using `yarn dev` to build the UI, any pages in that location will automatically be picked up by dynamic routing and added to the test page.
|
|
134
|
+
|
|
135
|
+
# Adding Assets
|
|
136
|
+
If you have a component that has assets, like language or icon-sets, you will need to provide these for UMD. In the `ui/build/script.javascript.js` file, you will find a couple of commented out commands that call `addAssets`. Uncomment what you need and add your assets to have them be built and put into the `ui/dist` folder.
|
|
137
|
+
|
|
138
|
+
# Donate
|
|
139
|
+
If you appreciate the work that went into this, please consider [donating to Quasar](https://donate.quasar.dev).
|
|
140
|
+
|
|
141
|
+
# License
|
|
142
|
+
MIT (c) Sellmate Dev Team <dev@sellmate.co.kr>
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* quasar-ui-sellmate-ui-kit v1.0.3
|
|
3
|
+
* (c) 2021 Sellmate Dev Team <dev@sellmate.co.kr>
|
|
4
|
+
* Released under the MIT License.
|
|
5
|
+
*/
|
|
6
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var vue=require("vue"),quasar=require("quasar"),Component={name:"SellmateUI",setup:function(){return function(){return vue.h(quasar.QBadge,{class:"SellmateUI",label:"SellmateUI"})}}},Directive={name:"sellmate",mounted:function(e){console.log(e)}},script$o={props:{buttonLabel:{type:String,default:""}}};function render$o(e,t,n,o,r,i){var u=vue.resolveComponent("q-banner");return vue.openBlock(),vue.createBlock(u,{"inline-actions":""},{default:vue.withCtx(function(){return[vue.renderSlot(e.$slots,"default")]}),action:vue.withCtx(function(){return[vue.renderSlot(e.$slots,"button")]}),_:3})}script$o.render=render$o;var script$n={props:{labels:Array}};function render$n(e,t,n,o,r,i){var u=vue.resolveComponent("q-breadcrumbs-el"),l=vue.resolveComponent("q-breadcrumbs");return vue.openBlock(),vue.createBlock(l,{gutter:"sm"},{default:vue.withCtx(function(){return[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(n.labels,function(e,t){return vue.openBlock(),vue.createBlock(u,{key:t},{default:vue.withCtx(function(){return[vue.createTextVNode(vue.toDisplayString(e),1)]}),_:2},1024)}),128))]}),_:1})}script$n.render=render$n;var script$m={data:function(){return{innerValue:null}},props:{size:{type:String,default:"sm"},label:{type:String,default:""},icon:{type:String,default:""}},methods:{isClicked:function(){this.$emit("update:modelValue",this.innerValue)}}};function render$m(e,t,n,o,r,i){var u=vue.resolveComponent("q-icon"),l=vue.resolveComponent("q-btn");return vue.openBlock(),vue.createBlock(l,{"no-caps":"","no-wrap":"",dense:"",unelevated:"",ripple:!1,color:"indigo-6",class:vue.normalizeClass({"button-small":"sm"===n.size,"button-medium":"md"===n.size,label:n.label,icon:n.icon}),modelValue:r.innerValue,"onUpdate:modelValue":t[0]||(t[0]=function(e){return r.innerValue=e}),onClick:i.isClicked},{default:vue.withCtx(function(){return[""!==n.icon?vue.renderSlot(e.$slots,"default",{key:0},function(){return[vue.createVNode(u,{name:n.icon},null,8,["name"])]}):vue.createCommentVNode("",!0),""!==n.label?vue.renderSlot(e.$slots,"default",{key:1},function(){return[vue.createTextVNode(vue.toDisplayString(n.label),1)]}):vue.createCommentVNode("",!0)]}),_:3},8,["class","modelValue","onClick"])}function styleInject(e,t){var n,o=(t=void 0===t?{}:t).insertAt;e&&"undefined"!=typeof document&&(n=document.head||document.getElementsByTagName("head")[0],(t=document.createElement("style")).type="text/css","top"===o&&n.firstChild?n.insertBefore(t,n.firstChild):n.appendChild(t),t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e)))}var css_248z$e=".button-small {\n width: 69px;\n height: 32px !important;\n}\n.button-small.label.icon {\n width: 91px;\n}\n.button-small.icon {\n width: 32px;\n}\n.button-medium {\n width: 120px;\n height: 42px !important;\n font-size: 18px;\n}\n.button-medium.label.icon {\n width: 135px;\n}\n.button-medium.icon {\n width: 42px;\n}";styleInject(css_248z$e),script$m.render=render$m;var _hoisted_1$a={class:"btn-group"},_hoisted_2$7=vue.createElementVNode("button",null,"Small",-1),_hoisted_3$4=vue.createElementVNode("button",null,"Medium",-1),_hoisted_4$3=vue.createElementVNode("button",null,"Large",-1),_hoisted_5$3=[_hoisted_2$7,_hoisted_3$4,_hoisted_4$3];function render$l(e,t){return vue.openBlock(),vue.createElementBlock("div",_hoisted_1$a,_hoisted_5$3)}var css_248z$d=".btn-group {\n border-start-end-radius: 4px;\n}\n.btn-group button {\n border: 1px solid #001B39;\n background-color: white;\n color: #001B39;\n padding: 8px 24px;\n cursor: pointer;\n}\n.btn-group button:not(:last-child) {\n border-right: none;\n}\n.btn-group button:first-child {\n border-top-left-radius: 4px;\n border-bottom-left-radius: 4px;\n}\n.btn-group button:last-child {\n border-top-right-radius: 4px;\n border-bottom-right-radius: 4px;\n}\n.btn-group button:hover {\n background-color: #001B39;\n color: white;\n}";styleInject(css_248z$d);var script$l={};script$l.render=render$l;var script$k={data:function(){return{innerValue:vue.ref("item01")}},methods:{handleUpdate:function(){this.$emit("update:modelValue",this.innerValue)}}};function render$k(e,t,n,o,r,i){var u=vue.resolveComponent("q-btn-toggle");return vue.openBlock(),vue.createElementBlock("div",null,[vue.createVNode(u,{class:"s-btn-toggle","no-caps":"",unelevated:"",color:"white","text-color":"grey-3","toggle-color":"positive",padding:"8px 24px",modelValue:r.innerValue,"onUpdate:modelValue":[t[0]||(t[0]=function(e){return r.innerValue=e}),i.handleUpdate],options:[{label:"item01",value:"item01"},{label:"item02",value:"item02"},{label:"item03",value:"item03"},{label:"item04",value:"item04"}]},null,8,["modelValue","onUpdate:modelValue"])])}var css_248z$c=".s-btn-toggle .q-btn {\n color: #737373;\n border: 1px solid #CCCCCC;\n height: 38px;\n}\n.s-btn-toggle .q-btn__content {\n line-height: 20px;\n}\n.s-btn-toggle .q-btn:nth-child(2n) {\n border-left: transparent;\n border-right: transparent;\n}\n.s-btn-toggle .q-btn:first-child {\n border-left: 1px solid #CCCCCC;\n}\n.s-btn-toggle .q-btn:last-child {\n border-right: 1px solid #CCCCCC;\n}";styleInject(css_248z$c),script$k.render=render$k;var script$j={props:{title:String}};vue.pushScopeId("data-v-4ad42cf7");var _hoisted_1$9={class:"s-caution-title"};function render$j(e,t,n,o,r,i){var u=vue.resolveComponent("q-card-section"),l=vue.resolveComponent("q-card");return vue.openBlock(),vue.createBlock(l,{class:"s-caution",flat:""},{default:vue.withCtx(function(){return[vue.createElementVNode("span",_hoisted_1$9,vue.toDisplayString(n.title),1),vue.createVNode(u,{class:"s-caution-contents"},{default:vue.withCtx(function(){return[vue.renderSlot(e.$slots,"default")]}),_:3}),vue.createVNode(u,{class:"s-caution-icon"})]}),_:3})}vue.popScopeId();var css_248z$b='.s-caution[data-v-4ad42cf7] {\n max-height: 336px;\n max-width: 1672px;\n min-width: 1000px;\n margin: 0 124px;\n padding: 10px 0;\n background-color: rgba(252, 230, 230, 0.55);\n color: #F42F2F;\n font-size: 20px;\n font-weight: 700;\n border-left: 8px solid #F42F2F;\n border-radius: 4px 0px 0px 4px;\n}\n.s-caution .s-caution-title[data-v-4ad42cf7] {\n text-indent: 60px;\n display: block;\n}\n.s-caution .s-caution-contents[data-v-4ad42cf7] {\n max-width: 1423px;\n min-width: 803px;\n height: 250px;\n margin-left: 52px;\n color: black;\n font-weight: 400;\n font-size: 14px;\n}\n.s-caution .s-caution-icon[data-v-4ad42cf7] {\n width: 216px;\n height: 190px;\n position: absolute;\n padding: 0;\n right: 0;\n bottom: 10px;\n background: no-repeat url("../../dev/src/assets/caution_outline.svg") 28px -28px/cover;\n}';function render$i(e,t){var n=vue.resolveComponent("q-checkbox");return vue.openBlock(),vue.createBlock(n,{dense:"",color:"positive"})}styleInject(css_248z$b),script$j.render=render$j,script$j.__scopeId="data-v-4ad42cf7";var script$i={};function render$h(e,t){var n=vue.resolveComponent("q-chip");return vue.openBlock(),vue.createBlock(n,{class:"chip",square:"",removable:"","icon-remove":"close"},{default:vue.withCtx(function(){return[vue.renderSlot(e.$slots,"default")]}),_:3})}script$i.render=render$i;var css_248z$a=".chip {\n background-color: #F6F6F6;\n border: 1px solid #CCCCCC;\n border-radius: 4px;\n padding: 5px 12px;\n}\n.q-chip__icon--remove {\n margin-right: -4px;\n padding-left: 4px;\n}";styleInject(css_248z$a);var script$h={};script$h.render=render$h;var script$g={props:{withHeaderIcon:{type:Boolean,default:!1},title:{type:String,default:""},content:{type:String,default:""},type:{type:String,default:"info"},buttonLabel:{type:String,default:""},twoButtons:{type:Boolean,default:!1},secondButtonLabel:{type:String,default:""}}},_hoisted_1$8={class:"row items-center no-wrap"},_hoisted_2$6={class:"close-button"},_hoisted_3$3={key:0,class:"modal-icon q-mt-md"},_hoisted_4$2={class:"modal-title q-mt-sm"},_hoisted_5$2={class:"modal-content q-mt-md"},_hoisted_6$1={class:"modal-button q-mt-md"};function render$g(e,t,n,o,r,i){var u=vue.resolveComponent("q-btn"),l=vue.resolveComponent("q-card-section"),a=vue.resolveComponent("q-img"),s=vue.resolveComponent("q-card"),c=vue.resolveComponent("q-dialog"),d=vue.resolveDirective("close-popup");return vue.openBlock(),vue.createBlock(c,null,{default:vue.withCtx(function(){return[vue.createVNode(s,null,{default:vue.withCtx(function(){return[vue.createVNode(l,null,{default:vue.withCtx(function(){return[vue.createElementVNode("div",_hoisted_1$8,[vue.createElementVNode("div",_hoisted_2$6,[vue.withDirectives(vue.createVNode(u,{icon:"close",flat:"",round:"",dense:""},null,512),[[d]])])])]}),_:1}),vue.createVNode(l,null,{default:vue.withCtx(function(){return[n.withHeaderIcon?(vue.openBlock(),vue.createElementBlock("div",_hoisted_3$3,["info"===n.type?(vue.openBlock(),vue.createBlock(a,{key:0,src:"~assets/icon_info_outline.svg",width:"28px",height:"28px"})):(vue.openBlock(),vue.createBlock(a,{key:1,src:"~assets/icon_warning_outline.svg",width:"28px",height:"28px"}))])):vue.createCommentVNode("",!0),vue.createElementVNode("div",_hoisted_4$2,vue.toDisplayString(n.title),1),vue.createElementVNode("div",_hoisted_5$2,[vue.renderSlot(e.$slots,"content")]),vue.createElementVNode("div",_hoisted_6$1,[vue.createVNode(u,{class:"modal-button first",outline:"",color:"info"===n.type?"secondary":"negative","no-caps":"","no-wrap":"",dense:"",unelevated:"",style:{padding:"5px 12px"},ripple:!1},{default:vue.withCtx(function(){return[vue.createTextVNode(vue.toDisplayString(n.buttonLabel),1)]}),_:1},8,["color"]),n.twoButtons?(vue.openBlock(),vue.createBlock(u,{key:0,class:"modal-button second",color:"info"===n.type?"secondary":"negative","no-caps":"","no-wrap":"",dense:"",unelevated:"",style:{padding:"5px 12px"},ripple:!1},{default:vue.withCtx(function(){return[vue.createTextVNode(vue.toDisplayString(n.secondButtonLabel),1)]}),_:1},8,["color"])):vue.createCommentVNode("",!0)])]}),_:3})]}),_:3})]}),_:3})}var css_248z$9=".close-button {\n position: absolute;\n top: 12px;\n right: 12px;\n}\n.modal-icon {\n text-align: center;\n margin-top: -20px;\n}\n.modal-title {\n font-size: 20px;\n font-weight: bold;\n text-align: center;\n}\n.modal-content {\n text-align: center;\n margin: 24px;\n}\n.modal-button {\n text-align: center;\n margin-bottom: 10px;\n padding: 8px 24px !important;\n line-height: 20px;\n}\n.modal-button .first {\n margin-right: 8px;\n}\n.modal-button .first, .modal-button .second {\n height: 42px;\n font-size: 18px;\n font-weight: bold;\n}";styleInject(css_248z$9),script$g.render=render$g;var script$f={data:function(){return{innerValue:null}},props:{short:{type:String,dafault:""},long:{type:String,dafault:""}},methods:{handleUpdate:function(){this.$emit("update:modelValue",this.innerValue),this.$refs.qDateProxy.hide()}}};function render$f(e,t,n,o,r,i){var u=vue.resolveComponent("q-date"),l=vue.resolveComponent("q-popup-proxy"),a=vue.resolveComponent("q-icon"),s=vue.resolveComponent("q-input");return vue.openBlock(),vue.createBlock(s,{outlined:"",dense:"",mask:"date",rules:["date"],placeholder:"yyyy/mm/dd",class:vue.normalizeClass({short:e.style="short",long:e.style="long"})},{prepend:vue.withCtx(function(){return[vue.createVNode(a,{name:"event",class:"cursor-pointer"},{default:vue.withCtx(function(){return[vue.createVNode(l,{ref:"qDateProxy","transition-show":"scale","transition-hide":"scale"},{default:vue.withCtx(function(){return[vue.createVNode(u,{color:"positive",modelValue:r.innerValue,"onUpdate:modelValue":[t[0]||(t[0]=function(e){return r.innerValue=e}),i.handleUpdate],minimal:"","no-unset":""},null,8,["modelValue","onUpdate:modelValue"])]}),_:1},512)]}),_:1})]}),_:1},8,["class"])}var css_248z$8=".short {\n width: 146px;\n}\n.short .q-field__prepend {\n margin-right: 6px;\n}\n.long {\n width: 200px;\n}\n.long .q-field__prepend {\n margin-right: 24px;\n}";function render$e(e,t){var n=vue.resolveComponent("q-img"),o=vue.resolveComponent("q-file");return vue.openBlock(),vue.createBlock(o,{outlined:"",dense:"","use-chips":"","bottom-slots":""},{prepend:vue.withCtx(function(){return[vue.createVNode(n,{src:"~assets/icon_attach_file.svg",width:"28px",height:"28px"})]}),_:1})}styleInject(css_248z$8),script$f.render=render$f;var css_248z$7=".q-file .items-center, .q-file .flex-center {\n top: -4px;\n left: -4px;\n}\n.q-field--outlined .q-field__control {\n padding: 0 8px;\n}\n.q-chip--dense {\n border-radius: 4px;\n background-color: #E1E1E1;\n padding: 0 0.4em;\n height: 1.5em;\n}";styleInject(css_248z$7);var script$e={};script$e.render=render$e;var script$d={props:{title:String},setup:function(){return{isOpen:vue.ref(!1)}}};vue.pushScopeId("data-v-6753c973");var _hoisted_1$7={class:"q-pa-none rounded-borders-help"},_hoisted_2$5=vue.createTextVNode("Help");function render$d(e,t,n,o,r,i){var u=vue.resolveComponent("q-item-section"),l=vue.resolveComponent("q-card-section"),a=vue.resolveComponent("q-card"),s=vue.resolveComponent("q-expansion-item");return vue.openBlock(),vue.createElementBlock("div",_hoisted_1$7,[vue.createVNode(s,{"expand-icon-toggle":"","expand-separator":"","switch-toggle-side":"",modelValue:o.isOpen,"onUpdate:modelValue":t[0]||(t[0]=function(e){return o.isOpen=e})},{header:vue.withCtx(function(){return[vue.createVNode(u,{avatar:"",class:"help-header"},{default:vue.withCtx(function(){return[_hoisted_2$5]}),_:1}),vue.withDirectives(vue.createVNode(u,{class:"help-contents-title"},{default:vue.withCtx(function(){return[vue.createTextVNode(vue.toDisplayString(n.title),1)]}),_:1},512),[[vue.vShow,o.isOpen]])]}),default:vue.withCtx(function(){return[vue.createVNode(a,null,{default:vue.withCtx(function(){return[vue.createVNode(l,{class:"help-contents-container"},{default:vue.withCtx(function(){return[vue.renderSlot(e.$slots,"default")]}),_:3})]}),_:3})]}),_:3},8,["modelValue"])])}vue.popScopeId();var css_248z$6='.rounded-borders-help[data-v-6753c973] {\n border-style: solid;\n border-width: 2px;\n border-color: #00CD52;\n border-radius: 4px;\n}\n.rounded-borders-help .q-item[data-v-6753c973] {\n height: 32px;\n padding: 0px 16px;\n text-align: left;\n}\n.help-header[data-v-6753c973] {\n color: #00CD52;\n font-weight: bold;\n width: 78px;\n}\n.help-contents-title[data-v-6753c973] {\n font-weight: bold;\n}\n.help-contents-container[data-v-6753c973] {\n margin: -20px 0px -4px 110px;\n background: no-repeat url("../../dev/src/assets/help_outline.svg") right bottom;\n}\n.q-card__section--vert[data-v-6753c973] {\n padding: 0px 10px;\n}';styleInject(css_248z$6),script$d.render=render$d,script$d.__scopeId="data-v-6753c973";var script$c={props:{label:String,insideLabel:Boolean,password:Boolean,type:String},setup:function(e){var t=vue.ref(!1),n=vue.computed(function(){return e.password?t.value?"text":"password":e.type});return{isVisible:t,inputType:n}}},_hoisted_1$6={class:"input-label"},_hoisted_2$4={class:"input-addon"};function render$c(e,t,n,o,r,i){var u=vue.resolveComponent("q-icon"),l=vue.resolveComponent("q-input");return vue.openBlock(),vue.createBlock(l,{class:"s-input",outlined:"",placeholder:"Type Something",dense:"",type:o.inputType},vue.createSlots({_:2},[void 0===n.label||n.insideLabel?void 0:{name:"before",fn:vue.withCtx(function(){return[vue.createElementVNode("div",_hoisted_1$6,vue.toDisplayString(n.label),1)]})},void 0!==n.label&&n.insideLabel?{name:"prepend",fn:vue.withCtx(function(){return[vue.createElementVNode("div",_hoisted_2$4,vue.toDisplayString(n.label),1)]})}:void 0,n.password?{name:"append",fn:vue.withCtx(function(){return[vue.createVNode(u,{size:"16px",name:o.isVisible?"visibility":"visibility_off",onClick:t[0]||(t[0]=function(e){return o.isVisible=!o.isVisible})},null,8,["name"])]})}:void 0]),1032,["type"])}var css_248z$5=".s-input .q-field__prepend {\n border-right: 1px solid #CCCCCC;\n padding-right: 8px;\n margin-right: 10px;\n}\n.s-input .q-icon {\n padding-right: 4px;\n}\n.s-input .input-label {\n font-size: 14px;\n padding-right: 4px;\n}\n.s-input .input-addon {\n font-size: 14px;\n}";styleInject(css_248z$5),script$c.render=render$c;var script$b={methods:{plusNumber:function(){this.$emit("update:modelValue",this.$attrs.modelValue+1)},minusNumber:function(){this.$emit("update:modelValue",this.$attrs.modelValue-1)}}};function render$b(e,t,n,o,r,i){var u=vue.resolveComponent("q-btn"),l=vue.resolveComponent("q-input");return vue.openBlock(),vue.createBlock(l,{class:"s-input-number",type:"number",outlined:"",dense:"",placeholder:"0"},{append:vue.withCtx(function(){return[vue.createVNode(u,{class:"s-input-number-icon-up",size:"sm",dense:"",unelevated:"",ripple:!1,icon:"expand_less",onClick:i.plusNumber},null,8,["onClick"]),vue.createVNode(u,{class:"s-input-number-icon-down",size:"sm",dense:"",unelevated:"",ripple:!1,icon:"expand_more",onClick:i.minusNumber},null,8,["onClick"])]}),_:1})}var css_248z$4=".q-btn {\n height: 5px;\n}\n.s-input-number-icon-up {\n border-left: 1px solid #CCCCCC;\n border-radius: 0px !important;\n position: absolute;\n margin: auto;\n padding-left: 2px;\n top: 0px;\n right: 2px;\n}\n.s-input-number-icon-down {\n border-left: 1px solid #CCCCCC;\n border-radius: 0px !important;\n margin: auto;\n padding-left: 2px;\n bottom: -6px;\n right: -6px;\n}\n.s-input-number .q-focusable:focus .q-focus-helper,\n.s-input-number .q-hoverable:hover .q-focus-helper {\n background: inherit !important;\n opacity: 0;\n}\n\n/* Chrome, Safari, Edge, Opera */\ninput::-webkit-outer-spin-button,\ninput::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n}\n\n/* Firefox */\ninput[type=number] {\n -moz-appearance: textfield;\n}";styleInject(css_248z$4),script$b.render=render$b;var script$a={props:{content:Number}};function render$a(e,t,n,o,r,i){var u=vue.resolveComponent("q-item-label"),l=vue.resolveComponent("q-item-section"),a=vue.resolveComponent("q-item"),s=vue.resolveComponent("q-list");return vue.openBlock(),vue.createBlock(s,{bordered:"",separator:""},{default:vue.withCtx(function(){return[vue.createVNode(a,null,{default:vue.withCtx(function(){return[vue.createVNode(l,null,{default:vue.withCtx(function(){return[vue.createVNode(u,null,{default:vue.withCtx(function(){return[vue.createTextVNode(vue.toDisplayString(n.content),1)]}),_:1})]}),_:1})]}),_:1})]}),_:1})}function render$9(e,t){var n=vue.resolveComponent("q-pagination");return vue.openBlock(),vue.createBlock(n,{unelevated:"","direction-links":"",round:"","active-color":"blue-1","active-text-color":"white"})}script$a.render=render$a;var script$9={};function render$8(e,t){var n=vue.resolveComponent("q-radio");return vue.openBlock(),vue.createBlock(n,{dense:"",color:"positive"})}script$9.render=render$9;var script$8={};script$8.render=render$8;var script$7={props:{group:Boolean,checkbox:Boolean}},_hoisted_1$5=vue.createTextVNode(" No results ");function render$7(e,t,n,o,r,i){var u=vue.resolveComponent("q-item-label"),l=vue.resolveComponent("q-item-section"),a=vue.resolveComponent("q-item"),s=vue.resolveComponent("q-select");return vue.openBlock(),vue.createBlock(s,{outlined:"",dense:"","options-dense":"","dropdown-icon":"expand_more"},vue.createSlots({"no-option":vue.withCtx(function(){return[vue.createVNode(a,null,{default:vue.withCtx(function(){return[vue.createVNode(l,{class:"text-grey"},{default:vue.withCtx(function(){return[_hoisted_1$5]}),_:1})]}),_:1})]}),_:2},[n.group?{name:"option",fn:vue.withCtx(function(e){return[e.opt.group?(vue.openBlock(),vue.createBlock(a,vue.normalizeProps(vue.mergeProps({key:0},e.itemProps)),{default:vue.withCtx(function(){return[vue.createVNode(l,null,{default:vue.withCtx(function(){return[vue.createVNode(u,{overline:""},{default:vue.withCtx(function(){return[vue.createTextVNode(vue.toDisplayString(e.opt.group),1)]}),_:2},1024)]}),_:2},1024)]}),_:2},1040)):vue.createCommentVNode("",!0),e.opt.group?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createBlock(a,vue.normalizeProps(vue.mergeProps({key:1},e.itemProps)),{default:vue.withCtx(function(){return[vue.createVNode(l,null,{default:vue.withCtx(function(){return[vue.createVNode(u,{innerHTML:e.opt.label},null,8,["innerHTML"])]}),_:2},1024)]}),_:2},1040))]})}:void 0]),1024)}script$7.render=render$7;var script$6={setup:function(){return{step:vue.ref(1)}}},_hoisted_1$4={class:"q-pa-md"},_hoisted_2$3=vue.createTextVNode(" For each ad campaign that you create, you can control how much you're willing to spend on clicks and conversions, which networks and geographical locations you want your ads to show on, and more. "),_hoisted_3$2=vue.createTextVNode(" An ad group contains one or more ads which target a shared set of keywords. "),_hoisted_4$1=vue.createTextVNode(" This step won't show up because it is disabled. "),_hoisted_5$1=vue.createTextVNode(" Try out different ad text to see what brings in the most customers, and learn how to enhance your ads using features like ad extensions. If you run into any problems with your ads, find out how to tell if they're running and how to resolve approval issues. ");function render$6(e,t,n,o,r,i){var u=vue.resolveComponent("q-btn"),l=vue.resolveComponent("q-stepper-navigation"),a=vue.resolveComponent("q-step"),s=vue.resolveComponent("q-stepper");return vue.openBlock(),vue.createElementBlock("div",_hoisted_1$4,[vue.createVNode(s,{modelValue:o.step,"onUpdate:modelValue":t[4]||(t[4]=function(e){return o.step=e}),vertical:"",color:"primary",animated:""},{default:vue.withCtx(function(){return[vue.createVNode(a,{name:1,title:"Select campaign settings",icon:"settings",done:1<o.step},{default:vue.withCtx(function(){return[_hoisted_2$3,vue.createVNode(l,null,{default:vue.withCtx(function(){return[vue.createVNode(u,{onClick:t[0]||(t[0]=function(e){return o.step=2}),color:"primary",label:"Continue"})]}),_:1})]}),_:1},8,["done"]),vue.createVNode(a,{name:2,title:"Create an ad group",caption:"Optional",icon:"create_new_folder",done:2<o.step},{default:vue.withCtx(function(){return[_hoisted_3$2,vue.createVNode(l,null,{default:vue.withCtx(function(){return[vue.createVNode(u,{onClick:t[1]||(t[1]=function(e){return o.step=4}),color:"primary",label:"Continue"}),vue.createVNode(u,{flat:"",onClick:t[2]||(t[2]=function(e){return o.step=1}),color:"primary",label:"Back",class:"q-ml-sm"})]}),_:1})]}),_:1},8,["done"]),vue.createVNode(a,{name:3,title:"Ad template",icon:"assignment",disable:""},{default:vue.withCtx(function(){return[_hoisted_4$1]}),_:1}),vue.createVNode(a,{name:4,title:"Create an ad",icon:"add_comment"},{default:vue.withCtx(function(){return[_hoisted_5$1,vue.createVNode(l,null,{default:vue.withCtx(function(){return[vue.createVNode(u,{color:"primary",label:"Finish"}),vue.createVNode(u,{flat:"",onClick:t[3]||(t[3]=function(e){return o.step=2}),color:"primary",label:"Back",class:"q-ml-sm"})]}),_:1})]}),_:1})]}),_:1},8,["modelValue"])])}script$6.render=render$6;var script$5={props:{label:{type:String,default:""}}},_hoisted_1$3=vue.createElementVNode("div",{class:"space"},null,-1);function render$5(e,t,n,o,r,i){var u=vue.resolveComponent("q-tab");return vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[vue.createVNode(u,null,{default:vue.withCtx(function(){return[vue.createTextVNode(vue.toDisplayString(n.label),1)]}),_:1}),_hoisted_1$3],64)}var css_248z$3=".space {\n width: 4px;\n height: 48px;\n border-bottom: 1px solid #CCCCCC;\n}";styleInject(css_248z$3),script$5.render=render$5;var script$4={data:function(){return{innerValue:null}},methods:{clickTab:function(){this.$emit("update:modelValue",this.innerValue)}}};function render$4(e,t,n,o,r,i){var u=vue.resolveComponent("q-tabs");return vue.openBlock(),vue.createBlock(u,{align:"left",class:"tabs text-grey","active-color":"positive","indicator-color":"transparent","no-caps":"",modelValue:r.innerValue,"onUpdate:modelValue":[t[0]||(t[0]=function(e){return r.innerValue=e}),i.clickTab]},{default:vue.withCtx(function(){return[vue.renderSlot(e.$slots,"default")]}),_:3},8,["modelValue","onUpdate:modelValue"])}script$4.render=render$4;var script$3={setup:function(){return{separator:vue.ref("cell")}}};vue.pushScopeId("data-v-1e033f2b");var _hoisted_1$2=["props"],_hoisted_2$2=["props"],_hoisted_3$1=["props"],_hoisted_4=["props"],_hoisted_5={key:0,style:{color:"red"}},_hoisted_6=["props"],_hoisted_7=["props"],_hoisted_8={key:0,style:{color:"red"}},_hoisted_9=["props"];function render$3(t,e,n,o,r,i){var u=vue.resolveComponent("q-table");return vue.openBlock(),vue.createBlock(u,{separator:o.separator,flat:"",bordered:"","hide-bottom":""},{header:vue.withCtx(function(t){return[vue.createElementVNode("tr",{props:t},[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(t.cols,function(e){return vue.openBlock(),vue.createElementBlock("th",{key:e.name,props:t},vue.toDisplayString(e.label),9,_hoisted_2$2)}),128))],8,_hoisted_1$2)]}),body:vue.withCtx(function(e){return[vue.createElementVNode("tr",{props:e},[vue.createElementVNode("td",{key:"label",props:e},[vue.createTextVNode(vue.toDisplayString(e.row.label)+" ",1),e.row.required?(vue.openBlock(),vue.createElementBlock("span",_hoisted_5,"*")):vue.createCommentVNode("",!0),vue.renderSlot(t.$slots,e.row.value+"-label")],8,_hoisted_4),vue.createElementVNode("td",{key:"value",props:e},[vue.renderSlot(t.$slots,e.row.value)],8,_hoisted_6)],8,_hoisted_3$1)]}),"body-cell-name":vue.withCtx(function(e){return[vue.createElementVNode("td",{key:"label",props:e},[vue.createTextVNode(vue.toDisplayString(e.row.label)+" ",1),e.row.required?(vue.openBlock(),vue.createElementBlock("span",_hoisted_8,"*")):vue.createCommentVNode("",!0),vue.renderSlot(t.$slots,e.row.value+"-label")],8,_hoisted_7),vue.createElementVNode("td",{key:"value",props:e},[vue.renderSlot(t.$slots,e.row.value)],8,_hoisted_9)]}),_:3},8,["separator"])}vue.popScopeId();var css_248z$2=".q-table thead th[data-v-1e033f2b]:first-child {\n background: #F6F6F6;\n}\n.q-table th[data-v-1e033f2b] {\n font-size: 14px;\n font-weight: bold;\n}\n.q-table tbody td[data-v-1e033f2b] {\n font-size: 14px;\n}\n.q-table tbody td[data-v-1e033f2b]:before {\n background: transparent !important;\n}\n.q-table tbody td[data-v-1e033f2b]:first-child {\n background: #F6F6F6;\n font-weight: bold;\n}";styleInject(css_248z$2),script$3.render=render$3,script$3.__scopeId="data-v-1e033f2b";var script$2={methods:{isChecked:function(){this.$emit("update:modelValue",this.modelValue=!this.modelValue)}}},_hoisted_1$1={class:"container"},_hoisted_2$1={class:"switch",for:"checkbox"},_hoisted_3=vue.createElementVNode("input",{type:"checkbox",id:"checkbox"},null,-1);function render$2(e,t,n,o,r,i){return vue.openBlock(),vue.createElementBlock("div",_hoisted_1$1,[vue.createElementVNode("label",_hoisted_2$1,[_hoisted_3,vue.createElementVNode("div",{class:"slider round",onClick:t[0]||(t[0]=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return i.isChecked&&i.isChecked.apply(i,e)})})])])}var css_248z$1='.container {\n margin: 0 auto;\n}\n.switch {\n display: inline-block;\n width: 42px;\n height: 24px;\n position: relative;\n}\n.switch input {\n display: none;\n}\n.slider {\n background-color: #CCCCCC;\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n cursor: pointer;\n transition: 0.4s;\n}\n.slider:before {\n background-color: white;\n content: "";\n width: 20px;\n height: 20px;\n bottom: 2px;\n left: 2px;\n position: absolute;\n transition: 0.4s;\n}\ninput:checked + .slider {\n background-color: #0075FF;\n}\ninput:checked + .slider:before {\n transform: translateX(18px);\n}\n.slider.round {\n border-radius: 34px;\n}\n.slider.round:before {\n border-radius: 50%;\n}';styleInject(css_248z$1),script$2.render=render$2;var script$1={props:{content:String}};function render$1(e,t,n,o,r,i){var u=vue.resolveComponent("q-tooltip");return vue.openBlock(),vue.createBlock(u,{class:"bg-indigo-4 text-body2",anchor:"bottom middle",self:"top middle"},{default:vue.withCtx(function(){return[vue.renderSlot(e.$slots,"default")]}),_:3})}script$1.render=render$1;var script={props:{title:String,contents:Array},setup:function(){return{check1:vue.ref(!1),check2:vue.ref(!1),check3:vue.ref(!1),check4:vue.ref(!1),check5:vue.ref(!1)}},methods:{textAlign:function(){this.$emit("textAlign",this.contents)},checkList1:function(){console.log(this.check1)},moveToRightAll:function(){console.log("right all")},moveToRight:function(){console.log(this.content1,this.content2)},moveToLeft:function(){console.log("left")},moveToLeftAll:function(){console.log("left all")}}};vue.pushScopeId("data-v-3ff7c90c");var _hoisted_1={class:"s-transfer"},_hoisted_2={class:"transfer-button"};function render(e,t,n,o,r,i){var u=vue.resolveComponent("q-toolbar-title"),l=vue.resolveComponent("q-img"),a=vue.resolveComponent("q-toolbar"),s=vue.resolveComponent("s-checkbox"),c=vue.resolveComponent("q-item-section"),d=vue.resolveComponent("q-item-label"),p=vue.resolveComponent("q-item"),v=vue.resolveComponent("q-list"),m=vue.resolveComponent("s-button");return vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[vue.createElementVNode("div",_hoisted_1,[vue.createVNode(a,{class:"bg-primary text-white"},{default:vue.withCtx(function(){return[vue.createVNode(u,null,{default:vue.withCtx(function(){return[vue.createTextVNode(vue.toDisplayString(n.title),1)]}),_:1}),vue.createVNode(l,{src:"~assets/icon_align_korean.svg",width:"24px",height:"24px",onClick:i.textAlign},null,8,["onClick"])]}),_:1}),vue.createVNode(v,{bordered:"",separator:""},{default:vue.withCtx(function(){return[vue.createVNode(p,null,{default:vue.withCtx(function(){return[vue.createVNode(c,{side:""},{default:vue.withCtx(function(){return[vue.createVNode(s,{modelValue:o.check1,"onUpdate:modelValue":t[0]||(t[0]=function(e){return o.check1=e}),onClick:i.checkList1},null,8,["modelValue","onClick"])]}),_:1}),vue.createVNode(c,null,{default:vue.withCtx(function(){return[vue.createVNode(d,null,{default:vue.withCtx(function(){return[vue.createTextVNode(vue.toDisplayString(e.content),1)]}),_:1})]}),_:1})]}),_:1})]}),_:1})]),vue.createElementVNode("div",_hoisted_2,[vue.createElementVNode("div",null,[vue.createVNode(m,{outline:"",icon:"ti-angle-double-right",onClick:i.moveToRightAll},null,8,["onClick"])]),vue.createElementVNode("div",null,[vue.createVNode(m,{outline:"",icon:"ti-angle-right",onClick:i.moveToRight},null,8,["onClick"])]),vue.createElementVNode("div",null,[vue.createVNode(m,{outline:"",icon:"ti-angle-left",onClick:i.moveToLeft},null,8,["onClick"])]),vue.createElementVNode("div",null,[vue.createVNode(m,{outline:"",icon:"ti-angle-double-left",onClick:i.moveToLeftAll},null,8,["onClick"])])])],64)}vue.popScopeId();var css_248z=".s-transfer[data-v-3ff7c90c] {\n width: 220px;\n height: 460px;\n border: 1px solid #EEEEEE;\n border-radius: 2px;\n}\n.q-toolbar[data-v-3ff7c90c] {\n min-height: 46px;\n border-radius: 2px 2px 0px 0px;\n}\n.q-toolbar .q-toolbar__title[data-v-3ff7c90c] {\n font-size: 14px;\n font-weight: bold;\n}\n.q-toolbar .q-img[data-v-3ff7c90c] {\n cursor: pointer;\n}\n.transfer-button[data-v-3ff7c90c] {\n text-align: center;\n margin: auto 20px;\n}\n.transfer-button div[data-v-3ff7c90c] {\n margin-bottom: 4px;\n}";styleInject(css_248z),script.render=render,script.__scopeId="data-v-3ff7c90c";var version="1.0.3";function install(e){e.component("s-banner",script$o),e.component("s-breadcrumbs",script$n),e.component("s-button",script$m),e.component("s-button-group",script$l),e.component("s-button-toggle",script$k),e.component("s-caution",script$j),e.component("s-checkbox",script$i),e.component("s-chip",script$h),e.component("s-confirm",script$g),e.component("s-date-picker",script$f),e.component("s-file-picker",script$e),e.component("s-help",script$d),e.component("s-input",script$c),e.component("s-input-number",script$b),e.component("s-list",script$a),e.component("s-pagination",script$9),e.component("s-radio",script$8),e.component("s-select",script$7),e.component("s-stepper",script$6),e.component("s-tab",script$5),e.component("s-tabs",script$4),e.component("s-table",script$3),e.component("s-toggle",script$2),e.component("s-tooltip",script$1),e.component("s-transfer",script)}exports.Component=Component,exports.Directive=Directive,exports.install=install,exports.version=version;
|
package/dist/index.css
CHANGED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* quasar-ui-sellmate-ui-kit v1.0.3
|
|
3
|
+
* (c) 2021 Sellmate Dev Team <dev@sellmate.co.kr>
|
|
4
|
+
* Released under the MIT License.
|
|
5
|
+
*/
|
|
6
|
+
import{h,resolveComponent,openBlock,createBlock,withCtx,renderSlot,createElementBlock,Fragment,renderList,createTextVNode,toDisplayString,normalizeClass,createVNode,createCommentVNode,createElementVNode,ref,pushScopeId,popScopeId,resolveDirective,withDirectives,vShow,computed,createSlots,normalizeProps,mergeProps}from"vue";import{QBadge}from"quasar";var Component={name:"SellmateUI",setup:function(){return function(){return h(QBadge,{class:"SellmateUI",label:"SellmateUI"})}}},Directive={name:"sellmate",mounted:function(e){console.log(e)}},script$o={props:{buttonLabel:{type:String,default:""}}};function render$o(e,t,n,o,r,i){var l=resolveComponent("q-banner");return openBlock(),createBlock(l,{"inline-actions":""},{default:withCtx(function(){return[renderSlot(e.$slots,"default")]}),action:withCtx(function(){return[renderSlot(e.$slots,"button")]}),_:3})}script$o.render=render$o;var script$n={props:{labels:Array}};function render$n(e,t,n,o,r,i){var l=resolveComponent("q-breadcrumbs-el"),a=resolveComponent("q-breadcrumbs");return openBlock(),createBlock(a,{gutter:"sm"},{default:withCtx(function(){return[(openBlock(!0),createElementBlock(Fragment,null,renderList(n.labels,function(e,t){return openBlock(),createBlock(l,{key:t},{default:withCtx(function(){return[createTextVNode(toDisplayString(e),1)]}),_:2},1024)}),128))]}),_:1})}script$n.render=render$n;var script$m={data:function(){return{innerValue:null}},props:{size:{type:String,default:"sm"},label:{type:String,default:""},icon:{type:String,default:""}},methods:{isClicked:function(){this.$emit("update:modelValue",this.innerValue)}}};function render$m(e,t,n,o,r,i){var l=resolveComponent("q-icon"),a=resolveComponent("q-btn");return openBlock(),createBlock(a,{"no-caps":"","no-wrap":"",dense:"",unelevated:"",ripple:!1,color:"indigo-6",class:normalizeClass({"button-small":"sm"===n.size,"button-medium":"md"===n.size,label:n.label,icon:n.icon}),modelValue:r.innerValue,"onUpdate:modelValue":t[0]||(t[0]=function(e){return r.innerValue=e}),onClick:i.isClicked},{default:withCtx(function(){return[""!==n.icon?renderSlot(e.$slots,"default",{key:0},function(){return[createVNode(l,{name:n.icon},null,8,["name"])]}):createCommentVNode("",!0),""!==n.label?renderSlot(e.$slots,"default",{key:1},function(){return[createTextVNode(toDisplayString(n.label),1)]}):createCommentVNode("",!0)]}),_:3},8,["class","modelValue","onClick"])}function styleInject(e,t){var n,o=(t=void 0===t?{}:t).insertAt;e&&"undefined"!=typeof document&&(n=document.head||document.getElementsByTagName("head")[0],(t=document.createElement("style")).type="text/css","top"===o&&n.firstChild?n.insertBefore(t,n.firstChild):n.appendChild(t),t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e)))}var css_248z$e=".button-small {\n width: 69px;\n height: 32px !important;\n}\n.button-small.label.icon {\n width: 91px;\n}\n.button-small.icon {\n width: 32px;\n}\n.button-medium {\n width: 120px;\n height: 42px !important;\n font-size: 18px;\n}\n.button-medium.label.icon {\n width: 135px;\n}\n.button-medium.icon {\n width: 42px;\n}";styleInject(css_248z$e),script$m.render=render$m;var _hoisted_1$a={class:"btn-group"},_hoisted_2$7=createElementVNode("button",null,"Small",-1),_hoisted_3$4=createElementVNode("button",null,"Medium",-1),_hoisted_4$3=createElementVNode("button",null,"Large",-1),_hoisted_5$3=[_hoisted_2$7,_hoisted_3$4,_hoisted_4$3];function render$l(e,t){return openBlock(),createElementBlock("div",_hoisted_1$a,_hoisted_5$3)}var css_248z$d=".btn-group {\n border-start-end-radius: 4px;\n}\n.btn-group button {\n border: 1px solid #001B39;\n background-color: white;\n color: #001B39;\n padding: 8px 24px;\n cursor: pointer;\n}\n.btn-group button:not(:last-child) {\n border-right: none;\n}\n.btn-group button:first-child {\n border-top-left-radius: 4px;\n border-bottom-left-radius: 4px;\n}\n.btn-group button:last-child {\n border-top-right-radius: 4px;\n border-bottom-right-radius: 4px;\n}\n.btn-group button:hover {\n background-color: #001B39;\n color: white;\n}";styleInject(css_248z$d);var script$l={};script$l.render=render$l;var script$k={data:function(){return{innerValue:ref("item01")}},methods:{handleUpdate:function(){this.$emit("update:modelValue",this.innerValue)}}};function render$k(e,t,n,o,r,i){var l=resolveComponent("q-btn-toggle");return openBlock(),createElementBlock("div",null,[createVNode(l,{class:"s-btn-toggle","no-caps":"",unelevated:"",color:"white","text-color":"grey-3","toggle-color":"positive",padding:"8px 24px",modelValue:r.innerValue,"onUpdate:modelValue":[t[0]||(t[0]=function(e){return r.innerValue=e}),i.handleUpdate],options:[{label:"item01",value:"item01"},{label:"item02",value:"item02"},{label:"item03",value:"item03"},{label:"item04",value:"item04"}]},null,8,["modelValue","onUpdate:modelValue"])])}var css_248z$c=".s-btn-toggle .q-btn {\n color: #737373;\n border: 1px solid #CCCCCC;\n height: 38px;\n}\n.s-btn-toggle .q-btn__content {\n line-height: 20px;\n}\n.s-btn-toggle .q-btn:nth-child(2n) {\n border-left: transparent;\n border-right: transparent;\n}\n.s-btn-toggle .q-btn:first-child {\n border-left: 1px solid #CCCCCC;\n}\n.s-btn-toggle .q-btn:last-child {\n border-right: 1px solid #CCCCCC;\n}";styleInject(css_248z$c),script$k.render=render$k;var script$j={props:{title:String}};pushScopeId("data-v-4ad42cf7");var _hoisted_1$9={class:"s-caution-title"};function render$j(e,t,n,o,r,i){var l=resolveComponent("q-card-section"),a=resolveComponent("q-card");return openBlock(),createBlock(a,{class:"s-caution",flat:""},{default:withCtx(function(){return[createElementVNode("span",_hoisted_1$9,toDisplayString(n.title),1),createVNode(l,{class:"s-caution-contents"},{default:withCtx(function(){return[renderSlot(e.$slots,"default")]}),_:3}),createVNode(l,{class:"s-caution-icon"})]}),_:3})}popScopeId();var css_248z$b='.s-caution[data-v-4ad42cf7] {\n max-height: 336px;\n max-width: 1672px;\n min-width: 1000px;\n margin: 0 124px;\n padding: 10px 0;\n background-color: rgba(252, 230, 230, 0.55);\n color: #F42F2F;\n font-size: 20px;\n font-weight: 700;\n border-left: 8px solid #F42F2F;\n border-radius: 4px 0px 0px 4px;\n}\n.s-caution .s-caution-title[data-v-4ad42cf7] {\n text-indent: 60px;\n display: block;\n}\n.s-caution .s-caution-contents[data-v-4ad42cf7] {\n max-width: 1423px;\n min-width: 803px;\n height: 250px;\n margin-left: 52px;\n color: black;\n font-weight: 400;\n font-size: 14px;\n}\n.s-caution .s-caution-icon[data-v-4ad42cf7] {\n width: 216px;\n height: 190px;\n position: absolute;\n padding: 0;\n right: 0;\n bottom: 10px;\n background: no-repeat url("../../dev/src/assets/caution_outline.svg") 28px -28px/cover;\n}';function render$i(e,t){var n=resolveComponent("q-checkbox");return openBlock(),createBlock(n,{dense:"",color:"positive"})}styleInject(css_248z$b),script$j.render=render$j,script$j.__scopeId="data-v-4ad42cf7";var script$i={};function render$h(e,t){var n=resolveComponent("q-chip");return openBlock(),createBlock(n,{class:"chip",square:"",removable:"","icon-remove":"close"},{default:withCtx(function(){return[renderSlot(e.$slots,"default")]}),_:3})}script$i.render=render$i;var css_248z$a=".chip {\n background-color: #F6F6F6;\n border: 1px solid #CCCCCC;\n border-radius: 4px;\n padding: 5px 12px;\n}\n.q-chip__icon--remove {\n margin-right: -4px;\n padding-left: 4px;\n}";styleInject(css_248z$a);var script$h={};script$h.render=render$h;var script$g={props:{withHeaderIcon:{type:Boolean,default:!1},title:{type:String,default:""},content:{type:String,default:""},type:{type:String,default:"info"},buttonLabel:{type:String,default:""},twoButtons:{type:Boolean,default:!1},secondButtonLabel:{type:String,default:""}}},_hoisted_1$8={class:"row items-center no-wrap"},_hoisted_2$6={class:"close-button"},_hoisted_3$3={key:0,class:"modal-icon q-mt-md"},_hoisted_4$2={class:"modal-title q-mt-sm"},_hoisted_5$2={class:"modal-content q-mt-md"},_hoisted_6$1={class:"modal-button q-mt-md"};function render$g(e,t,n,o,r,i){var l=resolveComponent("q-btn"),a=resolveComponent("q-card-section"),c=resolveComponent("q-img"),s=resolveComponent("q-card"),d=resolveComponent("q-dialog"),p=resolveDirective("close-popup");return openBlock(),createBlock(d,null,{default:withCtx(function(){return[createVNode(s,null,{default:withCtx(function(){return[createVNode(a,null,{default:withCtx(function(){return[createElementVNode("div",_hoisted_1$8,[createElementVNode("div",_hoisted_2$6,[withDirectives(createVNode(l,{icon:"close",flat:"",round:"",dense:""},null,512),[[p]])])])]}),_:1}),createVNode(a,null,{default:withCtx(function(){return[n.withHeaderIcon?(openBlock(),createElementBlock("div",_hoisted_3$3,["info"===n.type?(openBlock(),createBlock(c,{key:0,src:"~assets/icon_info_outline.svg",width:"28px",height:"28px"})):(openBlock(),createBlock(c,{key:1,src:"~assets/icon_warning_outline.svg",width:"28px",height:"28px"}))])):createCommentVNode("",!0),createElementVNode("div",_hoisted_4$2,toDisplayString(n.title),1),createElementVNode("div",_hoisted_5$2,[renderSlot(e.$slots,"content")]),createElementVNode("div",_hoisted_6$1,[createVNode(l,{class:"modal-button first",outline:"",color:"info"===n.type?"secondary":"negative","no-caps":"","no-wrap":"",dense:"",unelevated:"",style:{padding:"5px 12px"},ripple:!1},{default:withCtx(function(){return[createTextVNode(toDisplayString(n.buttonLabel),1)]}),_:1},8,["color"]),n.twoButtons?(openBlock(),createBlock(l,{key:0,class:"modal-button second",color:"info"===n.type?"secondary":"negative","no-caps":"","no-wrap":"",dense:"",unelevated:"",style:{padding:"5px 12px"},ripple:!1},{default:withCtx(function(){return[createTextVNode(toDisplayString(n.secondButtonLabel),1)]}),_:1},8,["color"])):createCommentVNode("",!0)])]}),_:3})]}),_:3})]}),_:3})}var css_248z$9=".close-button {\n position: absolute;\n top: 12px;\n right: 12px;\n}\n.modal-icon {\n text-align: center;\n margin-top: -20px;\n}\n.modal-title {\n font-size: 20px;\n font-weight: bold;\n text-align: center;\n}\n.modal-content {\n text-align: center;\n margin: 24px;\n}\n.modal-button {\n text-align: center;\n margin-bottom: 10px;\n padding: 8px 24px !important;\n line-height: 20px;\n}\n.modal-button .first {\n margin-right: 8px;\n}\n.modal-button .first, .modal-button .second {\n height: 42px;\n font-size: 18px;\n font-weight: bold;\n}";styleInject(css_248z$9),script$g.render=render$g;var script$f={data:function(){return{innerValue:null}},props:{short:{type:String,dafault:""},long:{type:String,dafault:""}},methods:{handleUpdate:function(){this.$emit("update:modelValue",this.innerValue),this.$refs.qDateProxy.hide()}}};function render$f(e,t,n,o,r,i){var l=resolveComponent("q-date"),a=resolveComponent("q-popup-proxy"),c=resolveComponent("q-icon"),s=resolveComponent("q-input");return openBlock(),createBlock(s,{outlined:"",dense:"",mask:"date",rules:["date"],placeholder:"yyyy/mm/dd",class:normalizeClass({short:e.style="short",long:e.style="long"})},{prepend:withCtx(function(){return[createVNode(c,{name:"event",class:"cursor-pointer"},{default:withCtx(function(){return[createVNode(a,{ref:"qDateProxy","transition-show":"scale","transition-hide":"scale"},{default:withCtx(function(){return[createVNode(l,{color:"positive",modelValue:r.innerValue,"onUpdate:modelValue":[t[0]||(t[0]=function(e){return r.innerValue=e}),i.handleUpdate],minimal:"","no-unset":""},null,8,["modelValue","onUpdate:modelValue"])]}),_:1},512)]}),_:1})]}),_:1},8,["class"])}var css_248z$8=".short {\n width: 146px;\n}\n.short .q-field__prepend {\n margin-right: 6px;\n}\n.long {\n width: 200px;\n}\n.long .q-field__prepend {\n margin-right: 24px;\n}";function render$e(e,t){var n=resolveComponent("q-img"),o=resolveComponent("q-file");return openBlock(),createBlock(o,{outlined:"",dense:"","use-chips":"","bottom-slots":""},{prepend:withCtx(function(){return[createVNode(n,{src:"~assets/icon_attach_file.svg",width:"28px",height:"28px"})]}),_:1})}styleInject(css_248z$8),script$f.render=render$f;var css_248z$7=".q-file .items-center, .q-file .flex-center {\n top: -4px;\n left: -4px;\n}\n.q-field--outlined .q-field__control {\n padding: 0 8px;\n}\n.q-chip--dense {\n border-radius: 4px;\n background-color: #E1E1E1;\n padding: 0 0.4em;\n height: 1.5em;\n}";styleInject(css_248z$7);var script$e={};script$e.render=render$e;var script$d={props:{title:String},setup:function(){return{isOpen:ref(!1)}}};pushScopeId("data-v-6753c973");var _hoisted_1$7={class:"q-pa-none rounded-borders-help"},_hoisted_2$5=createTextVNode("Help");function render$d(e,t,n,o,r,i){var l=resolveComponent("q-item-section"),a=resolveComponent("q-card-section"),c=resolveComponent("q-card"),s=resolveComponent("q-expansion-item");return openBlock(),createElementBlock("div",_hoisted_1$7,[createVNode(s,{"expand-icon-toggle":"","expand-separator":"","switch-toggle-side":"",modelValue:o.isOpen,"onUpdate:modelValue":t[0]||(t[0]=function(e){return o.isOpen=e})},{header:withCtx(function(){return[createVNode(l,{avatar:"",class:"help-header"},{default:withCtx(function(){return[_hoisted_2$5]}),_:1}),withDirectives(createVNode(l,{class:"help-contents-title"},{default:withCtx(function(){return[createTextVNode(toDisplayString(n.title),1)]}),_:1},512),[[vShow,o.isOpen]])]}),default:withCtx(function(){return[createVNode(c,null,{default:withCtx(function(){return[createVNode(a,{class:"help-contents-container"},{default:withCtx(function(){return[renderSlot(e.$slots,"default")]}),_:3})]}),_:3})]}),_:3},8,["modelValue"])])}popScopeId();var css_248z$6='.rounded-borders-help[data-v-6753c973] {\n border-style: solid;\n border-width: 2px;\n border-color: #00CD52;\n border-radius: 4px;\n}\n.rounded-borders-help .q-item[data-v-6753c973] {\n height: 32px;\n padding: 0px 16px;\n text-align: left;\n}\n.help-header[data-v-6753c973] {\n color: #00CD52;\n font-weight: bold;\n width: 78px;\n}\n.help-contents-title[data-v-6753c973] {\n font-weight: bold;\n}\n.help-contents-container[data-v-6753c973] {\n margin: -20px 0px -4px 110px;\n background: no-repeat url("../../dev/src/assets/help_outline.svg") right bottom;\n}\n.q-card__section--vert[data-v-6753c973] {\n padding: 0px 10px;\n}';styleInject(css_248z$6),script$d.render=render$d,script$d.__scopeId="data-v-6753c973";var script$c={props:{label:String,insideLabel:Boolean,password:Boolean,type:String},setup:function(e){var t=ref(!1),n=computed(function(){return e.password?t.value?"text":"password":e.type});return{isVisible:t,inputType:n}}},_hoisted_1$6={class:"input-label"},_hoisted_2$4={class:"input-addon"};function render$c(e,t,n,o,r,i){var l=resolveComponent("q-icon"),a=resolveComponent("q-input");return openBlock(),createBlock(a,{class:"s-input",outlined:"",placeholder:"Type Something",dense:"",type:o.inputType},createSlots({_:2},[void 0===n.label||n.insideLabel?void 0:{name:"before",fn:withCtx(function(){return[createElementVNode("div",_hoisted_1$6,toDisplayString(n.label),1)]})},void 0!==n.label&&n.insideLabel?{name:"prepend",fn:withCtx(function(){return[createElementVNode("div",_hoisted_2$4,toDisplayString(n.label),1)]})}:void 0,n.password?{name:"append",fn:withCtx(function(){return[createVNode(l,{size:"16px",name:o.isVisible?"visibility":"visibility_off",onClick:t[0]||(t[0]=function(e){return o.isVisible=!o.isVisible})},null,8,["name"])]})}:void 0]),1032,["type"])}var css_248z$5=".s-input .q-field__prepend {\n border-right: 1px solid #CCCCCC;\n padding-right: 8px;\n margin-right: 10px;\n}\n.s-input .q-icon {\n padding-right: 4px;\n}\n.s-input .input-label {\n font-size: 14px;\n padding-right: 4px;\n}\n.s-input .input-addon {\n font-size: 14px;\n}";styleInject(css_248z$5),script$c.render=render$c;var script$b={methods:{plusNumber:function(){this.$emit("update:modelValue",this.$attrs.modelValue+1)},minusNumber:function(){this.$emit("update:modelValue",this.$attrs.modelValue-1)}}};function render$b(e,t,n,o,r,i){var l=resolveComponent("q-btn"),a=resolveComponent("q-input");return openBlock(),createBlock(a,{class:"s-input-number",type:"number",outlined:"",dense:"",placeholder:"0"},{append:withCtx(function(){return[createVNode(l,{class:"s-input-number-icon-up",size:"sm",dense:"",unelevated:"",ripple:!1,icon:"expand_less",onClick:i.plusNumber},null,8,["onClick"]),createVNode(l,{class:"s-input-number-icon-down",size:"sm",dense:"",unelevated:"",ripple:!1,icon:"expand_more",onClick:i.minusNumber},null,8,["onClick"])]}),_:1})}var css_248z$4=".q-btn {\n height: 5px;\n}\n.s-input-number-icon-up {\n border-left: 1px solid #CCCCCC;\n border-radius: 0px !important;\n position: absolute;\n margin: auto;\n padding-left: 2px;\n top: 0px;\n right: 2px;\n}\n.s-input-number-icon-down {\n border-left: 1px solid #CCCCCC;\n border-radius: 0px !important;\n margin: auto;\n padding-left: 2px;\n bottom: -6px;\n right: -6px;\n}\n.s-input-number .q-focusable:focus .q-focus-helper,\n.s-input-number .q-hoverable:hover .q-focus-helper {\n background: inherit !important;\n opacity: 0;\n}\n\n/* Chrome, Safari, Edge, Opera */\ninput::-webkit-outer-spin-button,\ninput::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n}\n\n/* Firefox */\ninput[type=number] {\n -moz-appearance: textfield;\n}";styleInject(css_248z$4),script$b.render=render$b;var script$a={props:{content:Number}};function render$a(e,t,n,o,r,i){var l=resolveComponent("q-item-label"),a=resolveComponent("q-item-section"),c=resolveComponent("q-item"),s=resolveComponent("q-list");return openBlock(),createBlock(s,{bordered:"",separator:""},{default:withCtx(function(){return[createVNode(c,null,{default:withCtx(function(){return[createVNode(a,null,{default:withCtx(function(){return[createVNode(l,null,{default:withCtx(function(){return[createTextVNode(toDisplayString(n.content),1)]}),_:1})]}),_:1})]}),_:1})]}),_:1})}function render$9(e,t){var n=resolveComponent("q-pagination");return openBlock(),createBlock(n,{unelevated:"","direction-links":"",round:"","active-color":"blue-1","active-text-color":"white"})}script$a.render=render$a;var script$9={};function render$8(e,t){var n=resolveComponent("q-radio");return openBlock(),createBlock(n,{dense:"",color:"positive"})}script$9.render=render$9;var script$8={};script$8.render=render$8;var script$7={props:{group:Boolean,checkbox:Boolean}},_hoisted_1$5=createTextVNode(" No results ");function render$7(e,t,n,o,r,i){var l=resolveComponent("q-item-label"),a=resolveComponent("q-item-section"),c=resolveComponent("q-item"),s=resolveComponent("q-select");return openBlock(),createBlock(s,{outlined:"",dense:"","options-dense":"","dropdown-icon":"expand_more"},createSlots({"no-option":withCtx(function(){return[createVNode(c,null,{default:withCtx(function(){return[createVNode(a,{class:"text-grey"},{default:withCtx(function(){return[_hoisted_1$5]}),_:1})]}),_:1})]}),_:2},[n.group?{name:"option",fn:withCtx(function(e){return[e.opt.group?(openBlock(),createBlock(c,normalizeProps(mergeProps({key:0},e.itemProps)),{default:withCtx(function(){return[createVNode(a,null,{default:withCtx(function(){return[createVNode(l,{overline:""},{default:withCtx(function(){return[createTextVNode(toDisplayString(e.opt.group),1)]}),_:2},1024)]}),_:2},1024)]}),_:2},1040)):createCommentVNode("",!0),e.opt.group?createCommentVNode("",!0):(openBlock(),createBlock(c,normalizeProps(mergeProps({key:1},e.itemProps)),{default:withCtx(function(){return[createVNode(a,null,{default:withCtx(function(){return[createVNode(l,{innerHTML:e.opt.label},null,8,["innerHTML"])]}),_:2},1024)]}),_:2},1040))]})}:void 0]),1024)}script$7.render=render$7;var script$6={setup:function(){return{step:ref(1)}}},_hoisted_1$4={class:"q-pa-md"},_hoisted_2$3=createTextVNode(" For each ad campaign that you create, you can control how much you're willing to spend on clicks and conversions, which networks and geographical locations you want your ads to show on, and more. "),_hoisted_3$2=createTextVNode(" An ad group contains one or more ads which target a shared set of keywords. "),_hoisted_4$1=createTextVNode(" This step won't show up because it is disabled. "),_hoisted_5$1=createTextVNode(" Try out different ad text to see what brings in the most customers, and learn how to enhance your ads using features like ad extensions. If you run into any problems with your ads, find out how to tell if they're running and how to resolve approval issues. ");function render$6(e,t,n,o,r,i){var l=resolveComponent("q-btn"),a=resolveComponent("q-stepper-navigation"),c=resolveComponent("q-step"),s=resolveComponent("q-stepper");return openBlock(),createElementBlock("div",_hoisted_1$4,[createVNode(s,{modelValue:o.step,"onUpdate:modelValue":t[4]||(t[4]=function(e){return o.step=e}),vertical:"",color:"primary",animated:""},{default:withCtx(function(){return[createVNode(c,{name:1,title:"Select campaign settings",icon:"settings",done:1<o.step},{default:withCtx(function(){return[_hoisted_2$3,createVNode(a,null,{default:withCtx(function(){return[createVNode(l,{onClick:t[0]||(t[0]=function(e){return o.step=2}),color:"primary",label:"Continue"})]}),_:1})]}),_:1},8,["done"]),createVNode(c,{name:2,title:"Create an ad group",caption:"Optional",icon:"create_new_folder",done:2<o.step},{default:withCtx(function(){return[_hoisted_3$2,createVNode(a,null,{default:withCtx(function(){return[createVNode(l,{onClick:t[1]||(t[1]=function(e){return o.step=4}),color:"primary",label:"Continue"}),createVNode(l,{flat:"",onClick:t[2]||(t[2]=function(e){return o.step=1}),color:"primary",label:"Back",class:"q-ml-sm"})]}),_:1})]}),_:1},8,["done"]),createVNode(c,{name:3,title:"Ad template",icon:"assignment",disable:""},{default:withCtx(function(){return[_hoisted_4$1]}),_:1}),createVNode(c,{name:4,title:"Create an ad",icon:"add_comment"},{default:withCtx(function(){return[_hoisted_5$1,createVNode(a,null,{default:withCtx(function(){return[createVNode(l,{color:"primary",label:"Finish"}),createVNode(l,{flat:"",onClick:t[3]||(t[3]=function(e){return o.step=2}),color:"primary",label:"Back",class:"q-ml-sm"})]}),_:1})]}),_:1})]}),_:1},8,["modelValue"])])}script$6.render=render$6;var script$5={props:{label:{type:String,default:""}}},_hoisted_1$3=createElementVNode("div",{class:"space"},null,-1);function render$5(e,t,n,o,r,i){var l=resolveComponent("q-tab");return openBlock(),createElementBlock(Fragment,null,[createVNode(l,null,{default:withCtx(function(){return[createTextVNode(toDisplayString(n.label),1)]}),_:1}),_hoisted_1$3],64)}var css_248z$3=".space {\n width: 4px;\n height: 48px;\n border-bottom: 1px solid #CCCCCC;\n}";styleInject(css_248z$3),script$5.render=render$5;var script$4={data:function(){return{innerValue:null}},methods:{clickTab:function(){this.$emit("update:modelValue",this.innerValue)}}};function render$4(e,t,n,o,r,i){var l=resolveComponent("q-tabs");return openBlock(),createBlock(l,{align:"left",class:"tabs text-grey","active-color":"positive","indicator-color":"transparent","no-caps":"",modelValue:r.innerValue,"onUpdate:modelValue":[t[0]||(t[0]=function(e){return r.innerValue=e}),i.clickTab]},{default:withCtx(function(){return[renderSlot(e.$slots,"default")]}),_:3},8,["modelValue","onUpdate:modelValue"])}script$4.render=render$4;var script$3={setup:function(){return{separator:ref("cell")}}};pushScopeId("data-v-1e033f2b");var _hoisted_1$2=["props"],_hoisted_2$2=["props"],_hoisted_3$1=["props"],_hoisted_4=["props"],_hoisted_5={key:0,style:{color:"red"}},_hoisted_6=["props"],_hoisted_7=["props"],_hoisted_8={key:0,style:{color:"red"}},_hoisted_9=["props"];function render$3(t,e,n,o,r,i){var l=resolveComponent("q-table");return openBlock(),createBlock(l,{separator:o.separator,flat:"",bordered:"","hide-bottom":""},{header:withCtx(function(t){return[createElementVNode("tr",{props:t},[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.cols,function(e){return openBlock(),createElementBlock("th",{key:e.name,props:t},toDisplayString(e.label),9,_hoisted_2$2)}),128))],8,_hoisted_1$2)]}),body:withCtx(function(e){return[createElementVNode("tr",{props:e},[createElementVNode("td",{key:"label",props:e},[createTextVNode(toDisplayString(e.row.label)+" ",1),e.row.required?(openBlock(),createElementBlock("span",_hoisted_5,"*")):createCommentVNode("",!0),renderSlot(t.$slots,e.row.value+"-label")],8,_hoisted_4),createElementVNode("td",{key:"value",props:e},[renderSlot(t.$slots,e.row.value)],8,_hoisted_6)],8,_hoisted_3$1)]}),"body-cell-name":withCtx(function(e){return[createElementVNode("td",{key:"label",props:e},[createTextVNode(toDisplayString(e.row.label)+" ",1),e.row.required?(openBlock(),createElementBlock("span",_hoisted_8,"*")):createCommentVNode("",!0),renderSlot(t.$slots,e.row.value+"-label")],8,_hoisted_7),createElementVNode("td",{key:"value",props:e},[renderSlot(t.$slots,e.row.value)],8,_hoisted_9)]}),_:3},8,["separator"])}popScopeId();var css_248z$2=".q-table thead th[data-v-1e033f2b]:first-child {\n background: #F6F6F6;\n}\n.q-table th[data-v-1e033f2b] {\n font-size: 14px;\n font-weight: bold;\n}\n.q-table tbody td[data-v-1e033f2b] {\n font-size: 14px;\n}\n.q-table tbody td[data-v-1e033f2b]:before {\n background: transparent !important;\n}\n.q-table tbody td[data-v-1e033f2b]:first-child {\n background: #F6F6F6;\n font-weight: bold;\n}";styleInject(css_248z$2),script$3.render=render$3,script$3.__scopeId="data-v-1e033f2b";var script$2={methods:{isChecked:function(){this.$emit("update:modelValue",this.modelValue=!this.modelValue)}}},_hoisted_1$1={class:"container"},_hoisted_2$1={class:"switch",for:"checkbox"},_hoisted_3=createElementVNode("input",{type:"checkbox",id:"checkbox"},null,-1);function render$2(e,t,n,o,r,i){return openBlock(),createElementBlock("div",_hoisted_1$1,[createElementVNode("label",_hoisted_2$1,[_hoisted_3,createElementVNode("div",{class:"slider round",onClick:t[0]||(t[0]=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return i.isChecked&&i.isChecked.apply(i,e)})})])])}var css_248z$1='.container {\n margin: 0 auto;\n}\n.switch {\n display: inline-block;\n width: 42px;\n height: 24px;\n position: relative;\n}\n.switch input {\n display: none;\n}\n.slider {\n background-color: #CCCCCC;\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n cursor: pointer;\n transition: 0.4s;\n}\n.slider:before {\n background-color: white;\n content: "";\n width: 20px;\n height: 20px;\n bottom: 2px;\n left: 2px;\n position: absolute;\n transition: 0.4s;\n}\ninput:checked + .slider {\n background-color: #0075FF;\n}\ninput:checked + .slider:before {\n transform: translateX(18px);\n}\n.slider.round {\n border-radius: 34px;\n}\n.slider.round:before {\n border-radius: 50%;\n}';styleInject(css_248z$1),script$2.render=render$2;var script$1={props:{content:String}};function render$1(e,t,n,o,r,i){var l=resolveComponent("q-tooltip");return openBlock(),createBlock(l,{class:"bg-indigo-4 text-body2",anchor:"bottom middle",self:"top middle"},{default:withCtx(function(){return[renderSlot(e.$slots,"default")]}),_:3})}script$1.render=render$1;var script={props:{title:String,contents:Array},setup:function(){return{check1:ref(!1),check2:ref(!1),check3:ref(!1),check4:ref(!1),check5:ref(!1)}},methods:{textAlign:function(){this.$emit("textAlign",this.contents)},checkList1:function(){console.log(this.check1)},moveToRightAll:function(){console.log("right all")},moveToRight:function(){console.log(this.content1,this.content2)},moveToLeft:function(){console.log("left")},moveToLeftAll:function(){console.log("left all")}}};pushScopeId("data-v-3ff7c90c");var _hoisted_1={class:"s-transfer"},_hoisted_2={class:"transfer-button"};function render(e,t,n,o,r,i){var l=resolveComponent("q-toolbar-title"),a=resolveComponent("q-img"),c=resolveComponent("q-toolbar"),s=resolveComponent("s-checkbox"),d=resolveComponent("q-item-section"),p=resolveComponent("q-item-label"),u=resolveComponent("q-item"),m=resolveComponent("q-list"),h=resolveComponent("s-button");return openBlock(),createElementBlock(Fragment,null,[createElementVNode("div",_hoisted_1,[createVNode(c,{class:"bg-primary text-white"},{default:withCtx(function(){return[createVNode(l,null,{default:withCtx(function(){return[createTextVNode(toDisplayString(n.title),1)]}),_:1}),createVNode(a,{src:"~assets/icon_align_korean.svg",width:"24px",height:"24px",onClick:i.textAlign},null,8,["onClick"])]}),_:1}),createVNode(m,{bordered:"",separator:""},{default:withCtx(function(){return[createVNode(u,null,{default:withCtx(function(){return[createVNode(d,{side:""},{default:withCtx(function(){return[createVNode(s,{modelValue:o.check1,"onUpdate:modelValue":t[0]||(t[0]=function(e){return o.check1=e}),onClick:i.checkList1},null,8,["modelValue","onClick"])]}),_:1}),createVNode(d,null,{default:withCtx(function(){return[createVNode(p,null,{default:withCtx(function(){return[createTextVNode(toDisplayString(e.content),1)]}),_:1})]}),_:1})]}),_:1})]}),_:1})]),createElementVNode("div",_hoisted_2,[createElementVNode("div",null,[createVNode(h,{outline:"",icon:"ti-angle-double-right",onClick:i.moveToRightAll},null,8,["onClick"])]),createElementVNode("div",null,[createVNode(h,{outline:"",icon:"ti-angle-right",onClick:i.moveToRight},null,8,["onClick"])]),createElementVNode("div",null,[createVNode(h,{outline:"",icon:"ti-angle-left",onClick:i.moveToLeft},null,8,["onClick"])]),createElementVNode("div",null,[createVNode(h,{outline:"",icon:"ti-angle-double-left",onClick:i.moveToLeftAll},null,8,["onClick"])])])],64)}popScopeId();var css_248z=".s-transfer[data-v-3ff7c90c] {\n width: 220px;\n height: 460px;\n border: 1px solid #EEEEEE;\n border-radius: 2px;\n}\n.q-toolbar[data-v-3ff7c90c] {\n min-height: 46px;\n border-radius: 2px 2px 0px 0px;\n}\n.q-toolbar .q-toolbar__title[data-v-3ff7c90c] {\n font-size: 14px;\n font-weight: bold;\n}\n.q-toolbar .q-img[data-v-3ff7c90c] {\n cursor: pointer;\n}\n.transfer-button[data-v-3ff7c90c] {\n text-align: center;\n margin: auto 20px;\n}\n.transfer-button div[data-v-3ff7c90c] {\n margin-bottom: 4px;\n}";styleInject(css_248z),script.render=render,script.__scopeId="data-v-3ff7c90c";var version="1.0.3";function install(e){e.component("s-banner",script$o),e.component("s-breadcrumbs",script$n),e.component("s-button",script$m),e.component("s-button-group",script$l),e.component("s-button-toggle",script$k),e.component("s-caution",script$j),e.component("s-checkbox",script$i),e.component("s-chip",script$h),e.component("s-confirm",script$g),e.component("s-date-picker",script$f),e.component("s-file-picker",script$e),e.component("s-help",script$d),e.component("s-input",script$c),e.component("s-input-number",script$b),e.component("s-list",script$a),e.component("s-pagination",script$9),e.component("s-radio",script$8),e.component("s-select",script$7),e.component("s-stepper",script$6),e.component("s-tab",script$5),e.component("s-tabs",script$4),e.component("s-table",script$3),e.component("s-toggle",script$2),e.component("s-tooltip",script$1),e.component("s-transfer",script)}var VuePlugin=Object.freeze({__proto__:null,version:version,Component:Component,Directive:Directive,install:install});export{Component,Directive,VuePlugin as default,install,version};
|
package/dist/index.min.css
CHANGED
package/dist/index.rtl.css
CHANGED
package/dist/index.rtl.min.css
CHANGED