@mixd-id/web-scaffold 0.1.240411101 → 0.1.240411103
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/package.json +1 -1
- package/src/components/Ahref.vue +1 -1
- package/src/components/Alert.vue +1 -1
- package/src/components/ArrayList.vue +2 -2
- package/src/components/Article.vue +2 -2
- package/src/components/Button.vue +1 -1
- package/src/components/Cart.vue +2 -2
- package/src/components/CartIcon.vue +1 -1
- package/src/components/Checkout.vue +1 -1
- package/src/components/CheckoutDelivery.vue +1 -1
- package/src/components/CodeEditor.vue +1 -1
- package/src/components/ColorPicker.vue +3 -3
- package/src/components/ColorPicker2.vue +3 -3
- package/src/components/ColorPicker3.vue +1 -1
- package/src/components/Confirm.vue +1 -1
- package/src/components/ContextMenu.vue +1 -1
- package/src/components/Dashboard.vue +1 -1
- package/src/components/Dashboard2.vue +1 -1
- package/src/components/DashboardComponentSelector.vue +1 -1
- package/src/components/Datepicker.vue +2 -2
- package/src/components/DayTimeRange.vue +2 -2
- package/src/components/Flex.vue +4 -6
- package/src/components/GHeatMaps.vue +3 -3
- package/src/components/HTMLEditor.vue +4 -8
- package/src/components/Image.vue +1 -1
- package/src/components/ImportModal.vue +1 -1
- package/src/components/List.vue +125 -312
- package/src/components/ListView.vue +6 -5
- package/src/components/ListViewSettings.vue +2 -2
- package/src/components/LogViewerItem.vue +1 -1
- package/src/components/MarkdownEdit.vue +29 -7
- package/src/components/MarkdownPreview.vue +2 -2
- package/src/components/MultiDropdown.vue +1 -1
- package/src/components/MultilineText.vue +1 -1
- package/src/components/PageBuilder.vue +3 -3
- package/src/components/Radio.vue +1 -1
- package/src/components/SearchModal.vue +1 -1
- package/src/components/Slider.vue +1 -1
- package/src/components/SvgEditor.vue +2 -2
- package/src/components/Table.vue +2 -2
- package/src/components/TableView.vue +3 -2
- package/src/components/TableViewHead.vue +2 -2
- package/src/components/Textarea.vue +13 -11
- package/src/components/Timepicker.vue +2 -2
- package/src/components/Toast.vue +1 -1
- package/src/components/TreeMenu.vue +2 -2
- package/src/components/VirtualGrid.vue +4 -4
- package/src/components/VirtualTable.vue +95 -180
- package/src/index.js +0 -6
- package/src/themes/default/index.js +0 -24
- package/src/utils/preset-selector.mjs +27 -183
- package/src/utils/wss.js +5 -26
- package/src/widgets/AhrefSetting.vue +1 -1
- package/src/widgets/ArticleSetting.vue +1 -1
- package/src/widgets/BackgroundColorSetting.vue +1 -1
- package/src/widgets/BotEditor/BotEditorActions.vue +2 -2
- package/src/widgets/BotEditor.vue +4 -4
- package/src/widgets/ButtonSetting.vue +1 -1
- package/src/widgets/CarouselSetting.vue +1 -1
- package/src/widgets/CartSetting.vue +1 -1
- package/src/widgets/CheckoutSetting.vue +1 -1
- package/src/widgets/CollapsiblePanelSetting.vue +1 -1
- package/src/widgets/ColumnSelector.vue +1 -1
- package/src/widgets/ComponentSetting.vue +1 -1
- package/src/widgets/ComponentSetting2.vue +1 -1
- package/src/widgets/ComponentSetting3.vue +1 -1
- package/src/widgets/ContactForm.vue +1 -1
- package/src/widgets/ContactFormSetting.vue +7 -7
- package/src/widgets/Dashboard/BarChart.vue +6 -5
- package/src/widgets/Dashboard/BarChartSetting.vue +1 -1
- package/src/widgets/Dashboard/DataTableSetting.vue +3 -3
- package/src/widgets/Dashboard/DatasourceSelector.vue +1 -1
- package/src/widgets/Dashboard/DoughnutSetting.vue +1 -1
- package/src/widgets/Dashboard/Metric.vue +1 -1
- package/src/widgets/Dashboard/PieSetting.vue +1 -1
- package/src/widgets/Dashboard/PolarAreaSetting.vue +1 -1
- package/src/widgets/Dashboard/ViewSelector.vue +1 -1
- package/src/widgets/Dashboard0.vue +10 -10
- package/src/widgets/FAQSetting.vue +3 -3
- package/src/widgets/FeatureListSetting.vue +3 -3
- package/src/widgets/FlexSetting.vue +1 -1
- package/src/widgets/GridSetting.vue +1 -1
- package/src/widgets/Header2Setting.vue +1 -1
- package/src/widgets/HeaderSetting.vue +1 -1
- package/src/widgets/IconListSetting.vue +2 -2
- package/src/widgets/ImageSetting.vue +1 -1
- package/src/widgets/LinkSetting.vue +1 -1
- package/src/widgets/LinkSettingModal.vue +1 -1
- package/src/widgets/LogViewer.vue +1 -1
- package/src/widgets/MarginSetting.vue +2 -2
- package/src/widgets/MenuEditor.vue +1 -1
- package/src/widgets/MenuItem1Setting.vue +1 -1
- package/src/widgets/ModalSetting.vue +1 -1
- package/src/widgets/MultiValueSetting.vue +2 -2
- package/src/widgets/MultiValueSetting2.vue +2 -2
- package/src/widgets/OGSettingModal.vue +1 -1
- package/src/widgets/PaddingSetting.vue +2 -2
- package/src/widgets/ParagraphSetting.vue +1 -1
- package/src/widgets/PresetBarPivot.vue +8 -8
- package/src/widgets/PresetSelector.vue +12 -12
- package/src/widgets/SearchModalSetting.vue +1 -1
- package/src/widgets/ShareSetting.vue +3 -3
- package/src/widgets/StyleSetting.vue +1 -1
- package/src/widgets/TestimonialSetting.vue +3 -3
- package/src/widgets/TextBlockSetting.vue +1 -1
- package/src/widgets/UserActionBuilder/UserActionOutput.vue +1 -1
- package/src/widgets/UserActionBuilder/UserActionOutputReply.vue +1 -1
- package/src/widgets/UserActionBuilder/UserActionProps.vue +3 -3
- package/src/widgets/UserActionBuilder.vue +4 -4
- package/src/widgets/WebPageBuilder.vue +17 -17
- package/src/widgets/WebPageBuilder2.vue +7 -7
- package/src/widgets/WebPageBuilder4/MultiValueSetting.vue +2 -2
- package/src/widgets/WebPageBuilder4.vue +5 -5
- package/src/widgets/YoutubeVideoSetting.vue +1 -1
package/package.json
CHANGED
package/src/components/Ahref.vue
CHANGED
package/src/components/Alert.vue
CHANGED
|
@@ -205,7 +205,7 @@ export default{
|
|
|
205
205
|
|
|
206
206
|
.alert>*{
|
|
207
207
|
@apply max-h-[60vh] overflow-y-auto bg-base-400 dark:bg-base-300 rounded-xl;
|
|
208
|
-
@apply border-[1px] border-
|
|
208
|
+
@apply border-[1px] border-text-50;
|
|
209
209
|
@apply min-w-[280px] max-w-[80vw] md:max-w-[480px];
|
|
210
210
|
}
|
|
211
211
|
|
|
@@ -37,12 +37,12 @@ export default{
|
|
|
37
37
|
|
|
38
38
|
.comp{
|
|
39
39
|
@apply min-w-[200px] p-1;
|
|
40
|
-
@apply border-[1px] border-
|
|
40
|
+
@apply border-[1px] border-text-200 bg-base-300 hover:border-text-300 rounded-lg;
|
|
41
41
|
@apply flex flex-row items-start flex-nowrap;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
.item{
|
|
45
|
-
@apply border-[1px] border-
|
|
45
|
+
@apply border-[1px] border-text-200 hover:border-text-300 rounded-lg p-1 px-2;
|
|
46
46
|
@apply flex flex-row items-center gap-2;
|
|
47
47
|
}
|
|
48
48
|
|
|
@@ -376,11 +376,11 @@ export default{
|
|
|
376
376
|
.article font[size='7']{ @apply text-4xl; }
|
|
377
377
|
|
|
378
378
|
.article table{
|
|
379
|
-
@apply border-[1px] border-
|
|
379
|
+
@apply border-[1px] border-text-200 border-collapse w-full;
|
|
380
380
|
table-layout: fixed;
|
|
381
381
|
}
|
|
382
382
|
.article table th, .article table td{
|
|
383
|
-
@apply border-[1px] border-
|
|
383
|
+
@apply border-[1px] border-text-200 p-3 text-left;
|
|
384
384
|
@apply break-words;
|
|
385
385
|
}
|
|
386
386
|
|
|
@@ -137,7 +137,7 @@ export default{
|
|
|
137
137
|
<style module>
|
|
138
138
|
|
|
139
139
|
.button{
|
|
140
|
-
@apply p-2
|
|
140
|
+
@apply p-2 rounded-lg relative inline-flex flex-row items-center justify-center;
|
|
141
141
|
@apply whitespace-nowrap text-ellipsis overflow-hidden min-h-7;
|
|
142
142
|
@apply border-[1px];
|
|
143
143
|
@apply active:top-[1px] active:left-[1px] disabled:top-0 disabled:left-0;
|
package/src/components/Cart.vue
CHANGED
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
<h3>Cart</h3>
|
|
20
20
|
</div>
|
|
21
21
|
|
|
22
|
-
<div class="divide-y divide-
|
|
22
|
+
<div class="divide-y divide-text-50 px-3 bg-base-300 min-h-[80vh]">
|
|
23
23
|
<div v-for="item in cart.items" class="flex flex-row gap-2 p-2">
|
|
24
24
|
<Checkbox v-model="item.checked" />
|
|
25
25
|
<Image :src="item.imageUrl" class="w-[56px] aspect-square rounded-lg" />
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
</div>
|
|
57
57
|
</div>
|
|
58
58
|
|
|
59
|
-
<div class="p-5 py-3 bg-base-300 flex flex-row sticky bottom-0 border-t-[1px] border-
|
|
59
|
+
<div class="p-5 py-3 bg-base-300 flex flex-row sticky bottom-0 border-t-[1px] border-text-50">
|
|
60
60
|
<div v-if="cart?.total > 0" class="flex flex-col flex-1 leading-3">
|
|
61
61
|
<small>Total</small>
|
|
62
62
|
<h5>Rp. {{ cart.total.toLocaleString() }}</h5>
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
<ContextMenu ref="contextMenu"
|
|
24
24
|
position="bottom-right"
|
|
25
25
|
class="border-transparent">
|
|
26
|
-
<div class="flex flex-col min-w-[300px] divide-y divide-
|
|
26
|
+
<div class="flex flex-col min-w-[300px] divide-y divide-text-50">
|
|
27
27
|
|
|
28
28
|
<div class="" @click.stop>
|
|
29
29
|
<div class="p-5 py-3 flex flex-row items-center">
|
|
@@ -173,7 +173,7 @@
|
|
|
173
173
|
|
|
174
174
|
</div>
|
|
175
175
|
|
|
176
|
-
<div class="flex md:hidden p-5 py-3 bg-base-300 flex-row sticky bottom-0 border-t-[1px] border-
|
|
176
|
+
<div class="flex md:hidden p-5 py-3 bg-base-300 flex-row sticky bottom-0 border-t-[1px] border-text-50">
|
|
177
177
|
<div v-if="order?.total > 0" class="flex flex-col flex-1 leading-3">
|
|
178
178
|
<small>Total</small>
|
|
179
179
|
<h5>Rp. {{ order.total.toLocaleString() }}</h5>
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<h3>Select Delivery</h3>
|
|
6
6
|
</div>
|
|
7
7
|
|
|
8
|
-
<div v-if="!newItem" class="flex flex-col divide-y divide-
|
|
8
|
+
<div v-if="!newItem" class="flex flex-col divide-y divide-text-50">
|
|
9
9
|
<div v-for="item in items"
|
|
10
10
|
class="p-5 py-3 flex flex-col cursor-pointer"
|
|
11
11
|
@click="apply(item)">
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
</div>
|
|
21
21
|
<div class="grid grid-cols-2 gap-4">
|
|
22
22
|
<button type="button" @click="select('')"
|
|
23
|
-
class="w-full p-1 border-
|
|
23
|
+
class="w-full p-1 border-text-100 border-[1px] rounded-lg">None</button>
|
|
24
24
|
<button type="button" v-if="mode !== 'class' && Boolean(customColor)"
|
|
25
|
-
class="w-full p-1 border-
|
|
25
|
+
class="w-full p-1 border-text-100 border-[1px] rounded-lg"
|
|
26
26
|
@click="$refs.inputColor.click()">Custom</button>
|
|
27
27
|
</div>
|
|
28
28
|
</div>
|
|
@@ -150,7 +150,7 @@ export default{
|
|
|
150
150
|
}
|
|
151
151
|
|
|
152
152
|
.circle{
|
|
153
|
-
@apply w-[24px] h-[24px] rounded-full cursor-pointer border-[2px] border-
|
|
153
|
+
@apply w-[24px] h-[24px] rounded-full cursor-pointer border-[2px] border-text-200;
|
|
154
154
|
}
|
|
155
155
|
|
|
156
156
|
.inputColor{
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
</div>
|
|
25
25
|
<div class="grid grid-cols-2 gap-4">
|
|
26
26
|
<button type="button" @click="select('')"
|
|
27
|
-
class="w-full p-1 border-
|
|
27
|
+
class="w-full p-1 border-text-100 border-[1px] rounded-lg">None</button>
|
|
28
28
|
<button type="button" v-if="mode !== 'class' && Boolean(customColor)"
|
|
29
|
-
class="w-full p-1 border-
|
|
29
|
+
class="w-full p-1 border-text-100 border-[1px] rounded-lg"
|
|
30
30
|
@click="$refs.inputColor.click()">Custom</button>
|
|
31
31
|
</div>
|
|
32
32
|
</div>
|
|
@@ -173,7 +173,7 @@ export default{
|
|
|
173
173
|
}
|
|
174
174
|
|
|
175
175
|
.circle{
|
|
176
|
-
@apply w-[24px] h-[24px] rounded-full cursor-pointer border-[2px] border-
|
|
176
|
+
@apply w-[24px] h-[24px] rounded-full cursor-pointer border-[2px] border-text-200;
|
|
177
177
|
}
|
|
178
178
|
|
|
179
179
|
.inputColor{
|
|
@@ -123,7 +123,7 @@ export default{
|
|
|
123
123
|
|
|
124
124
|
.confirm>*{
|
|
125
125
|
@apply max-h-[60vh] overflow-y-auto bg-base-400 dark:bg-base-300 rounded-xl;
|
|
126
|
-
@apply border-[1px] border-
|
|
126
|
+
@apply border-[1px] border-text-50;
|
|
127
127
|
@apply min-w-[280px] max-w-[80vw] md:max-w-[480px];
|
|
128
128
|
}
|
|
129
129
|
|
|
@@ -242,7 +242,7 @@ export default {
|
|
|
242
242
|
|
|
243
243
|
.contextMenu{
|
|
244
244
|
@apply fixed bg-base-400 dark:bg-base-300 min-w-[150px] overflow-y-auto rounded-lg;
|
|
245
|
-
@apply whitespace-nowrap shadow-2xl border-[1px] border-
|
|
245
|
+
@apply whitespace-nowrap shadow-2xl border-[1px] border-text-50 mt-[1px];
|
|
246
246
|
z-index: 180;
|
|
247
247
|
}
|
|
248
248
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div :class="$style.comp">
|
|
3
3
|
|
|
4
|
-
<div v-if="config.params.openSidebar" :style="leftStyle" class="relative flex flex-col bg-base-300 border-l-[1px] border-
|
|
4
|
+
<div v-if="config.params.openSidebar" :style="leftStyle" class="relative flex flex-col bg-base-300 border-l-[1px] border-text-50">
|
|
5
5
|
<DashboardConfigs :config="config" class="flex-1" />
|
|
6
6
|
|
|
7
7
|
<div :class="$style.resize1" @mousedown="(e) => $util.dragResize(e, resize1)"></div>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
|
|
3
|
-
<div v-if="mode === ''" :class="compClass" class="divide-x divide-
|
|
3
|
+
<div v-if="mode === ''" :class="compClass" class="divide-x divide-text-50">
|
|
4
4
|
<div class="w-[80px] flex flex-row items-center relative">
|
|
5
5
|
<select v-model="DD" class="text-left w-full flex-1 px-3">
|
|
6
6
|
<option disabled selected>Tanggal</option>
|
|
@@ -322,7 +322,7 @@ export default{
|
|
|
322
322
|
|
|
323
323
|
.datepicker {
|
|
324
324
|
@apply flex overflow-hidden cursor-pointer relative;
|
|
325
|
-
@apply border-[1px] border-
|
|
325
|
+
@apply border-[1px] border-text-200 bg-base-300 rounded-lg;
|
|
326
326
|
@apply cursor-pointer;
|
|
327
327
|
}
|
|
328
328
|
.datepicker:not(.readonly){
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
<option value="-">Holiday</option>
|
|
18
18
|
</select>
|
|
19
19
|
</div>
|
|
20
|
-
<div class="flex-1 flex flex-col gap-1 pl-2 border-l-[1px] border-
|
|
20
|
+
<div class="flex-1 flex flex-col gap-1 pl-2 border-l-[1px] border-text-100 divide-y divide-text-100">
|
|
21
21
|
<div v-for="(range, i) in val.value" class="flex flex-row">
|
|
22
22
|
<div class="flex-1 flex flex-row">
|
|
23
23
|
<input type="time" v-model="val.value[i][0]" @blur="updateModelValue()">
|
|
@@ -111,7 +111,7 @@ export default{
|
|
|
111
111
|
<style module>
|
|
112
112
|
|
|
113
113
|
.comp{
|
|
114
|
-
@apply border-[1px] border-
|
|
114
|
+
@apply border-[1px] border-text-200 bg-base-500 rounded-lg;
|
|
115
115
|
@apply inline-flex flex-col divide-y divide-text-100;
|
|
116
116
|
}
|
|
117
117
|
|
package/src/components/Flex.vue
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div :class="$style.Flex" :style="computedStyle">
|
|
3
3
|
|
|
4
|
-
<
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
:="item" />
|
|
9
|
-
</slot>
|
|
4
|
+
<component v-for="item in items"
|
|
5
|
+
:is="item.type"
|
|
6
|
+
:key="item.key"
|
|
7
|
+
:="item" />
|
|
10
8
|
|
|
11
9
|
</div>
|
|
12
10
|
</template>
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
<div class="flex flex-row">
|
|
16
16
|
|
|
17
|
-
<div class="flex-1 flex items-center justify-center divide-x divide-
|
|
17
|
+
<div class="flex-1 flex items-center justify-center divide-x divide-text-50 border-l-[1px] border-r-[1px] border-text-50">
|
|
18
18
|
<button type="button" class="p-1 px-3 hover:bg-primary text-text-400" @click="zoomOut">
|
|
19
19
|
<svg width="16" height="16" class="fill-text-500 hover:fill-text" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--! Font Awesome Pro 6.0.0-alpha3 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) --><path d="M400 288h-352c-17.69 0-32-14.32-32-32.01s14.31-31.99 32-31.99h352c17.69 0 32 14.3 32 31.99S417.7 288 400 288z"/></svg>
|
|
20
20
|
</button>
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
|
|
45
45
|
<script>
|
|
46
46
|
|
|
47
|
-
import {Loader} from '@googlemaps/js-api-loader';
|
|
47
|
+
import { Loader } from '@googlemaps/js-api-loader';
|
|
48
48
|
import {readyStateMixin} from "../mixin/ready-state";
|
|
49
49
|
|
|
50
50
|
let loader = null
|
|
@@ -311,7 +311,7 @@ export default{
|
|
|
311
311
|
<style module>
|
|
312
312
|
|
|
313
313
|
.comp{
|
|
314
|
-
@apply flex flex-col h-[40vh] border-[1px] border-
|
|
314
|
+
@apply flex flex-col h-[40vh] border-[1px] border-text-50 bg-base-500 rounded-xl overflow-hidden;
|
|
315
315
|
}
|
|
316
316
|
|
|
317
317
|
</style>
|
|
@@ -554,15 +554,11 @@ export default{
|
|
|
554
554
|
<style module>
|
|
555
555
|
|
|
556
556
|
.comp{
|
|
557
|
-
@apply flex-1 flex flex-col border-[1px] border-
|
|
558
|
-
}
|
|
559
|
-
|
|
560
|
-
.comp article:before{
|
|
561
|
-
content: " "
|
|
557
|
+
@apply flex-1 flex flex-col border-[1px] border-text-200 rounded-lg overflow-hidden;
|
|
562
558
|
}
|
|
563
559
|
|
|
564
560
|
.comp article {
|
|
565
|
-
@apply w-full outline-none p-3 leading-6 bg-base-300;
|
|
561
|
+
@apply min-h-[var(--h-cp)] w-full outline-none p-3 leading-6 bg-base-300;
|
|
566
562
|
@apply flex-1 overflow-auto;
|
|
567
563
|
}
|
|
568
564
|
|
|
@@ -579,10 +575,10 @@ export default{
|
|
|
579
575
|
}
|
|
580
576
|
|
|
581
577
|
.comp table{
|
|
582
|
-
@apply border-[1px] border-
|
|
578
|
+
@apply border-[1px] border-text-200 border-collapse;
|
|
583
579
|
}
|
|
584
580
|
.comp table th, .comp table td{
|
|
585
|
-
@apply border-[1px] border-
|
|
581
|
+
@apply border-[1px] border-text-200 p-3 text-left;
|
|
586
582
|
}
|
|
587
583
|
|
|
588
584
|
</style>
|
package/src/components/Image.vue
CHANGED
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
</template>
|
|
29
29
|
|
|
30
30
|
<div class="flex-1 p-5 flex flex-col items-center justify-center" v-if="step === 1">
|
|
31
|
-
<button type="button" @click="$refs.uploader.click()" class="rounded-3xl w-[160px] bg-base-300 px-6 aspect-square flex items-center justify-center text-center border-dashed border-[3px] border-
|
|
31
|
+
<button type="button" @click="$refs.uploader.click()" class="rounded-3xl w-[160px] bg-base-300 px-6 aspect-square flex items-center justify-center text-center border-dashed border-[3px] border-text-100">
|
|
32
32
|
<div class="text-xl" v-if="!isLoading">
|
|
33
33
|
Click to <br />
|
|
34
34
|
<span class="text-primary text-lg">Upload</span>
|