renusify 2.0.1 → 2.0.2
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/components/bar/scss/bottomNav.scss +1 -1
- package/components/bar/scss/toolbar.scss +1 -1
- package/components/bar/toolbar/menuChilds.vue +3 -3
- package/components/bar/toolbar/menuLaptop.vue +16 -16
- package/components/bar/toolbar/menuMob.vue +11 -11
- package/components/bar/toolbar/mixin.js +0 -2
- package/components/bar/toolbar/mobile.vue +2 -2
- package/components/breadcrumb/index.vue +5 -6
- package/components/breadcrumb/style.scss +4 -0
- package/components/button/style.scss +2 -3
- package/components/calendar/index.vue +3 -3
- package/components/calendar/month.vue +1 -1
- package/components/calendar/year.vue +1 -1
- package/components/card/index.vue +15 -15
- package/components/card/style.scss +15 -18
- package/components/chart/worldMap.vue +3 -1
- package/components/chat/chatMsg.vue +1 -1
- package/components/codeEditor/index.vue +2 -2
- package/components/confirm/index.vue +0 -2
- package/components/cropper/index.vue +1 -1
- package/components/form/camInput.vue +2 -2
- package/components/form/checkbox.vue +1 -1
- package/components/form/colorPicker/index.vue +1 -1
- package/components/form/datePicker/index.vue +4 -4
- package/components/form/datePicker/month.vue +1 -1
- package/components/form/datePicker/year.vue +1 -1
- package/components/form/fileUploader/single.vue +0 -2
- package/components/form/input.vue +1 -1
- package/components/form/inputTel/index.vue +2 -2
- package/components/form/json/JsonView.vue +1 -1
- package/components/form/radioInput.vue +2 -2
- package/components/form/rating.vue +1 -1
- package/components/form/switch.vue +3 -3
- package/components/form/text-editor/index.vue +555 -549
- package/components/form/text-editor/style.scss +11 -1
- package/components/form/timepicker/index.vue +4 -4
- package/components/form/timepicker/range.vue +4 -4
- package/components/form/timepicker/timepicker.vue +3 -3
- package/components/formCreator/index.vue +2 -2
- package/components/infinite/index.vue +5 -5
- package/components/map/index.vue +0 -1
- package/components/map/route.vue +3 -1
- package/components/menu/index.vue +1 -1
- package/components/modal/style.scss +2 -0
- package/components/notify/index.vue +3 -2
- package/components/searchBox/index.vue +1 -5
- package/components/slider/index.vue +2 -2
- package/components/table/crud/header.vue +15 -15
- package/components/table/crud/index.vue +8 -5
- package/components/table/index.vue +0 -2
- package/components/tabs/index.vue +1 -1
- package/package.json +1 -1
- package/tools/helper.js +4 -3
|
@@ -1,10 +1,20 @@
|
|
|
1
1
|
@import '../../../style/include';
|
|
2
2
|
|
|
3
3
|
.#{$prefix}text-editor {
|
|
4
|
+
background-color: var(--color-sheet-container);
|
|
5
|
+
margin-top: 20px;
|
|
4
6
|
|
|
7
|
+
&:not(.input-tile) {
|
|
8
|
+
border-radius: map-get($borders, 'xl');
|
|
5
9
|
|
|
6
|
-
|
|
10
|
+
.editor-content {
|
|
11
|
+
border-radius: map-get($borders, 'lg');
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.editor-content, .input-control {
|
|
7
16
|
border: 1px solid var(--color-sheet-low);
|
|
17
|
+
background-color: var(--color-sheet-container-low);
|
|
8
18
|
}
|
|
9
19
|
|
|
10
20
|
@include typography($headings, 'body-2');
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
:closebtn="false"
|
|
23
23
|
:no-overlay="noOverlay"
|
|
24
24
|
>
|
|
25
|
-
<
|
|
25
|
+
<div class="pt-3 pb-1">
|
|
26
26
|
<timepicker
|
|
27
27
|
class="mb-2 mx-3"
|
|
28
28
|
:disableTime="disableTime"
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
<r-btn
|
|
35
35
|
class="color-success-text"
|
|
36
36
|
outlined
|
|
37
|
-
@click="show_modal = false,emit()"
|
|
37
|
+
@click.prevent="show_modal = false,emit()"
|
|
38
38
|
>
|
|
39
39
|
{{ $t('accept', 'renusify') }}
|
|
40
40
|
</r-btn
|
|
@@ -42,13 +42,13 @@
|
|
|
42
42
|
<r-btn
|
|
43
43
|
class="color-warning-text"
|
|
44
44
|
outlined
|
|
45
|
-
@click="(show_modal = false), (lazyValue = null),emit()"
|
|
45
|
+
@click.prevent="(show_modal = false), (lazyValue = null),emit()"
|
|
46
46
|
>
|
|
47
47
|
{{ $t('cancel', 'renusify') }}
|
|
48
48
|
</r-btn
|
|
49
49
|
>
|
|
50
50
|
</div>
|
|
51
|
-
</
|
|
51
|
+
</div>
|
|
52
52
|
</r-modal>
|
|
53
53
|
</div>
|
|
54
54
|
</template>
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
:closebtn="false"
|
|
22
22
|
:no-overlay="noOverlay"
|
|
23
23
|
>
|
|
24
|
-
<
|
|
24
|
+
<div class="pt-3">
|
|
25
25
|
<div class="px-2 title">
|
|
26
26
|
<span>{{ $t('from', 'renusify') }}: </span>
|
|
27
27
|
<span v-if="lazyValue[0]">{{ lazyValue[0] }} - </span>
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
<r-btn
|
|
47
47
|
class="color-success-text ml-7 mr-9 mb-3 mt-3"
|
|
48
48
|
outlined
|
|
49
|
-
@click="accept"
|
|
49
|
+
@click.prevent="accept"
|
|
50
50
|
>
|
|
51
51
|
{{ $t('accept', 'renusify') }}
|
|
52
52
|
</r-btn
|
|
@@ -54,12 +54,12 @@
|
|
|
54
54
|
<r-btn
|
|
55
55
|
class="color-warning-text mr-7 ml-4 mb-3 mt-3"
|
|
56
56
|
outlined
|
|
57
|
-
@click="(show_modal = false), (lazyValue = []),emit()"
|
|
57
|
+
@click.prevent="(show_modal = false), (lazyValue = []),emit()"
|
|
58
58
|
>
|
|
59
59
|
{{ $t('cancel', 'renusify') }}
|
|
60
60
|
</r-btn
|
|
61
61
|
>
|
|
62
|
-
</
|
|
62
|
+
</div>
|
|
63
63
|
</r-modal>
|
|
64
64
|
</div>
|
|
65
65
|
</template>
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
ref="number"
|
|
11
11
|
:class="['number' + i,{'number-disabled':disableTime(parseInt(i),show,hour,min,sec)}]"
|
|
12
12
|
class="number"
|
|
13
|
-
@click="set(i)"
|
|
13
|
+
@click.prevent="set(i)"
|
|
14
14
|
>
|
|
15
15
|
{{ num }}
|
|
16
16
|
</div>
|
|
@@ -20,14 +20,14 @@
|
|
|
20
20
|
<div
|
|
21
21
|
:class="{ 'meridiem-active': meridiem === 'AM' }"
|
|
22
22
|
class="time-meridiem overflow-hidden"
|
|
23
|
-
@click="(meridiem = 'AM'),emit()"
|
|
23
|
+
@click.prevent="(meridiem = 'AM'),emit()"
|
|
24
24
|
>
|
|
25
25
|
{{ $t('timepicker_am', 'renusify') }}
|
|
26
26
|
</div>
|
|
27
27
|
<div
|
|
28
28
|
:class="{ 'meridiem-active': meridiem === 'PM' }"
|
|
29
29
|
class="time-meridiem overflow-hidden"
|
|
30
|
-
@click="(meridiem = 'PM'),emit()"
|
|
30
|
+
@click.prevent="(meridiem = 'PM'),emit()"
|
|
31
31
|
>
|
|
32
32
|
{{ $t('timepicker_pm', 'renusify') }}
|
|
33
33
|
</div>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<
|
|
2
|
+
<div v-if="!autoSend" :class="$r.prefix+'form-creator'" class="overflow-auto">
|
|
3
3
|
<r-container>
|
|
4
4
|
<h1 v-if="title" class="title-1">{{ title }}</h1>
|
|
5
5
|
<r-form ref="form" v-model="valid" @submit.prevent="save">
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
</div>
|
|
34
34
|
</r-form>
|
|
35
35
|
</r-container>
|
|
36
|
-
</
|
|
36
|
+
</div>
|
|
37
37
|
</template>
|
|
38
38
|
|
|
39
39
|
<script>
|
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
<r-col class="col-auto">
|
|
6
6
|
<h3 class="title-1 px-2">{{ title }}</h3>
|
|
7
7
|
</r-col>
|
|
8
|
-
<r-col class="col-auto">
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
8
|
+
<r-col class="col-auto px-1">
|
|
9
|
+
<r-switch-input
|
|
10
|
+
label="live"
|
|
11
|
+
v-model="live"
|
|
12
|
+
></r-switch-input>
|
|
13
13
|
</r-col>
|
|
14
14
|
</r-row>
|
|
15
15
|
</r-container>
|
package/components/map/index.vue
CHANGED
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
<r-search-box
|
|
10
10
|
:label="$t('search','renusify')"
|
|
11
11
|
:notFoundMsg="$t('map_not_found','renusify')"
|
|
12
|
-
inputControlClass="sheet"
|
|
13
12
|
no-overlay
|
|
14
13
|
query="q"
|
|
15
14
|
url="https://nominatim.openstreetmap.org/search.php?polygon_geojson=0&accept-language=fa&countrycodes=IR&format=jsonv2"
|
package/components/map/route.vue
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<r-container :class="`${$r.prefix}map-route
|
|
2
|
+
<r-container :class="`${$r.prefix}map-route pa-0`">
|
|
3
3
|
<r-row class="no-gutters">
|
|
4
4
|
<r-col class="col-12 sm-9">
|
|
5
5
|
<r-map :dark-mode="darkMode" :height="height" :model-value="center" :zoom="15" search-box
|
|
@@ -569,6 +569,8 @@ export default {
|
|
|
569
569
|
|
|
570
570
|
.#{$prefix}map-route {
|
|
571
571
|
display: flex;
|
|
572
|
+
background-color: var(--color-sheet-container);
|
|
573
|
+
color: var(--color-on-sheet);
|
|
572
574
|
|
|
573
575
|
.route-point {
|
|
574
576
|
border: 1px solid #cdcaca;
|
|
@@ -8,8 +8,9 @@
|
|
|
8
8
|
'flex-column-reverse':!top,
|
|
9
9
|
'flex-column':top,
|
|
10
10
|
}" :style="{ 'min-width': width }">
|
|
11
|
-
<r-btn v-if="list.length>0"
|
|
12
|
-
|
|
11
|
+
<r-btn v-if="list.length>0" class="color-error" rounded
|
|
12
|
+
@click.prevent="handleClose(list[list.length-1].on_close_all)">
|
|
13
|
+
{{ $t('clear', 'renusify') }}
|
|
13
14
|
</r-btn>
|
|
14
15
|
<notification v-for="item in list" :key="item.id"
|
|
15
16
|
:pos="left?'left':'right'"
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
<div v-if="open" class="search-shadow"></div>
|
|
69
69
|
</transition>
|
|
70
70
|
</template>
|
|
71
|
-
<r-btn v-else class="mt-5" icon @click="show = !show">
|
|
71
|
+
<r-btn v-else class="mt-5" icon @click.prevent="show = !show">
|
|
72
72
|
<r-icon v-html="$r.icons.search"></r-icon>
|
|
73
73
|
</r-btn>
|
|
74
74
|
</div>
|
|
@@ -194,10 +194,6 @@ export default {
|
|
|
194
194
|
color: var(--color-on-sheet);
|
|
195
195
|
position: relative;
|
|
196
196
|
border-radius: map-get($borders, "md");
|
|
197
|
-
|
|
198
|
-
.sheet {
|
|
199
|
-
transition: 0.5s all ease;
|
|
200
|
-
}
|
|
201
197
|
}
|
|
202
198
|
|
|
203
199
|
|
|
@@ -10,10 +10,10 @@
|
|
|
10
10
|
'right':$r.rtl?next:prev
|
|
11
11
|
}">
|
|
12
12
|
|
|
13
|
-
<r-btn v-if="arrow"
|
|
13
|
+
<r-btn v-if="arrow" class="btn-left-arrow" icon @click.prevent="prev">
|
|
14
14
|
<r-icon v-html="$r.icons.chevron_left"></r-icon>
|
|
15
15
|
</r-btn>
|
|
16
|
-
<r-btn v-if="arrow"
|
|
16
|
+
<r-btn v-if="arrow" class="btn-right-arrow" icon @click.prevent="next">
|
|
17
17
|
<r-icon v-html="$r.icons.chevron_right"></r-icon>
|
|
18
18
|
</r-btn>
|
|
19
19
|
<transition :appear="appear" :mode="mode" :name="direction">
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
2
|
+
<div>
|
|
3
|
+
<r-container class="container-fluid">
|
|
4
|
+
<r-row class="h-start h-space-between">
|
|
5
|
+
<r-col class="col-auto">
|
|
6
|
+
<r-btn @click.prevent="newItem"
|
|
7
|
+
v-if="!disableAdd"
|
|
8
|
+
class="color-success-text"
|
|
9
|
+
outlined
|
|
10
|
+
rounded>{{ $t('new', 'renusify') }}
|
|
11
|
+
</r-btn>
|
|
12
|
+
</r-col>
|
|
13
13
|
<r-col class="col-auto">
|
|
14
14
|
<template v-if="mcud">
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
15
|
+
<r-btn class="color-error mx-1" icon @click.prevent="showConfirm=true">
|
|
16
|
+
<r-icon v-html="$r.icons.delete"></r-icon>
|
|
17
|
+
</r-btn>
|
|
18
18
|
<r-btn icon class="color-success mx-1" @click.prevent="$emit('copy',true)">
|
|
19
19
|
<r-icon v-html="$r.icons.copy"></r-icon>
|
|
20
20
|
</r-btn>
|
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
</r-col>
|
|
122
122
|
<r-col class="col-6 md-8">
|
|
123
123
|
<r-select-input v-model="item.advance.search" :label="item.text" :items="item.option.items"
|
|
124
|
-
|
|
124
|
+
justValue multiple tags></r-select-input>
|
|
125
125
|
</r-col>
|
|
126
126
|
<r-col class="col-1">
|
|
127
127
|
<r-btn class="color-error" icon @click.prevent="del(i)">
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<
|
|
2
|
+
<div :class="`${$r.prefix}table-manage`">
|
|
3
3
|
<r-modal bottom full-width v-model="showForm">
|
|
4
4
|
<slot name="form" :autoSend="autoSend"
|
|
5
5
|
:method="method"
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
</slot>
|
|
20
20
|
</r-modal>
|
|
21
21
|
<r-modal v-model="showCopy" bottom full-width>
|
|
22
|
-
<
|
|
22
|
+
<div class="pa-3">
|
|
23
23
|
<div :key="key" class="mb-5"
|
|
24
24
|
v-for="(item,key) in table.option">
|
|
25
25
|
<template v-if="item['formInput']!==false">
|
|
@@ -42,9 +42,12 @@
|
|
|
42
42
|
<r-number-input v-if="copyItem['t']==='copy'" :label="$t('count_copy','renusify')"
|
|
43
43
|
v-model="copyItem['c']"></r-number-input>
|
|
44
44
|
</span>
|
|
45
|
-
<r-btn class="color-success"
|
|
45
|
+
<r-btn :loading="loading" class="color-success" @click.prevent="copyAll()">{{
|
|
46
|
+
$t('send', 'renusify')
|
|
47
|
+
}}
|
|
48
|
+
</r-btn>
|
|
46
49
|
</div>
|
|
47
|
-
</
|
|
50
|
+
</div>
|
|
48
51
|
</r-modal>
|
|
49
52
|
<manage-header v-model="search" @update:modelValue="searching()"
|
|
50
53
|
:header-table="table.headers"
|
|
@@ -154,7 +157,7 @@
|
|
|
154
157
|
v-on:accept="accept"
|
|
155
158
|
v-on:cancel="showConfirm = false"
|
|
156
159
|
/>
|
|
157
|
-
</
|
|
160
|
+
</div>
|
|
158
161
|
</template>
|
|
159
162
|
|
|
160
163
|
<script>
|
|
@@ -71,7 +71,6 @@
|
|
|
71
71
|
</div>
|
|
72
72
|
</div>
|
|
73
73
|
<r-modal v-if="editable" v-model="showModal">
|
|
74
|
-
<r-card>
|
|
75
74
|
<r-container
|
|
76
75
|
v-sortable="{
|
|
77
76
|
items: cols,
|
|
@@ -100,7 +99,6 @@
|
|
|
100
99
|
</r-col>
|
|
101
100
|
</r-row>
|
|
102
101
|
</r-container>
|
|
103
|
-
</r-card>
|
|
104
102
|
</r-modal>
|
|
105
103
|
</template>
|
|
106
104
|
|
package/package.json
CHANGED
package/tools/helper.js
CHANGED
|
@@ -296,7 +296,7 @@ export function randomString(len, an) {
|
|
|
296
296
|
min = an === "a" ? 10 : 0,
|
|
297
297
|
max = an === "n" ? 10 : 62;
|
|
298
298
|
for (; i++ < len;) {
|
|
299
|
-
|
|
299
|
+
let r = Math.random() * (max - min) + min << 0;
|
|
300
300
|
str += String.fromCharCode(r += r > 9 ? r < 36 ? 55 : 61 : 48);
|
|
301
301
|
}
|
|
302
302
|
return str;
|
|
@@ -390,11 +390,12 @@ export function changeColor(vars) {
|
|
|
390
390
|
}
|
|
391
391
|
let style = document.createElement('style');
|
|
392
392
|
style.setAttribute("c", "color");
|
|
393
|
+
style.setAttribute("type", "text/css");
|
|
393
394
|
head.appendChild(style);
|
|
394
395
|
let css = ':root{';
|
|
395
396
|
for (let k in vars) {
|
|
396
|
-
css += k + ':' + vars[k] + ';'
|
|
397
|
+
css += '--color-' + k + ':' + vars[k] + ';'
|
|
397
398
|
}
|
|
398
399
|
css += '}'
|
|
399
400
|
style.appendChild(document.createTextNode(css));
|
|
400
|
-
}
|
|
401
|
+
}
|