@movvjs/svelte-schedule-view 0.3.0 → 0.4.1-beta-1
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/.svelte-kit/__package__/i18n/locales/en.json +7 -0
- package/.svelte-kit/__package__/i18n/locales/ko.json +7 -0
- package/.svelte-kit/__package__/i18n/locales/vi.json +7 -0
- package/.svelte-kit/__package__/i18n/locales/zh-cn.json +7 -0
- package/.svelte-kit/__package__/i18n/locales/zh-tw.json +7 -0
- package/.svelte-kit/__package__/schedule-view/BookingInfo.svelte +21 -2
- package/.svelte-kit/__package__/schedule-view/Calender.svelte +246 -0
- package/.svelte-kit/__package__/schedule-view/Calender.svelte.d.ts +22 -0
- package/.svelte-kit/__package__/schedule-view/Layout.svelte +7 -4
- package/.svelte-kit/__package__/schedule-view/Layout.svelte.d.ts +3 -1
- package/.svelte-kit/__package__/schedule-view/Schedule.svelte +2 -1
- package/.svelte-kit/__package__/schedule-view/Schedule.svelte.d.ts +1 -0
- package/.svelte-kit/__package__/schedule-view/actions/clickOutside.d.ts +3 -0
- package/.svelte-kit/__package__/schedule-view/actions/clickOutside.js +15 -0
- package/.svelte-kit/__package__/schedule-view/assets/scss/indie_booking.scss +411 -0
- package/.svelte-kit/__package__/schedule-view/stores/booking.d.ts +8 -0
- package/.svelte-kit/__package__/schedule-view/stores/booking.js +16 -1
- package/.svelte-kit/ambient.d.ts +0 -4
- package/.svelte-kit/generated/server/internal.js +1 -1
- package/dist/i18n/locales/en.json +7 -0
- package/dist/i18n/locales/ko.json +7 -0
- package/dist/i18n/locales/vi.json +7 -0
- package/dist/i18n/locales/zh-cn.json +7 -0
- package/dist/i18n/locales/zh-tw.json +7 -0
- package/dist/schedule-view/BookingInfo.svelte +21 -2
- package/dist/schedule-view/Calender.svelte +246 -0
- package/dist/schedule-view/Calender.svelte.d.ts +22 -0
- package/dist/schedule-view/Layout.svelte +7 -4
- package/dist/schedule-view/Layout.svelte.d.ts +3 -1
- package/dist/schedule-view/Schedule.svelte +2 -1
- package/dist/schedule-view/Schedule.svelte.d.ts +1 -0
- package/dist/schedule-view/actions/clickOutside.d.ts +3 -0
- package/dist/schedule-view/actions/clickOutside.js +15 -0
- package/dist/schedule-view/assets/scss/indie_booking.scss +411 -0
- package/dist/schedule-view/stores/booking.d.ts +8 -0
- package/dist/schedule-view/stores/booking.js +16 -1
- package/package.json +1 -1
- package/src/additional-svelte-typing.d.ts +10 -0
- package/src/lib/i18n/locales/en.json +7 -0
- package/src/lib/i18n/locales/ko.json +7 -0
- package/src/lib/i18n/locales/vi.json +7 -0
- package/src/lib/i18n/locales/zh-cn.json +7 -0
- package/src/lib/i18n/locales/zh-tw.json +7 -0
- package/src/lib/schedule-view/BookingInfo.svelte +24 -2
- package/src/lib/schedule-view/Calender.svelte +283 -0
- package/src/lib/schedule-view/Layout.svelte +8 -4
- package/src/lib/schedule-view/Schedule.svelte +2 -2
- package/src/lib/schedule-view/actions/clickOutside.ts +17 -0
- package/src/lib/schedule-view/assets/scss/indie_booking.scss +411 -0
- package/src/lib/schedule-view/stores/booking.ts +17 -1
- package/src/routes/development/+page.svelte +2 -2
- package/sync-assets.sh +1 -1
|
@@ -54,6 +54,9 @@
|
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
|
|
57
|
+
.indie_po_re{
|
|
58
|
+
position: relative;
|
|
59
|
+
}
|
|
57
60
|
|
|
58
61
|
|
|
59
62
|
// ****************************************************************************
|
|
@@ -74,6 +77,14 @@
|
|
|
74
77
|
display: flex;
|
|
75
78
|
}
|
|
76
79
|
|
|
80
|
+
> .indie_calendar-comp-box{
|
|
81
|
+
display: block;
|
|
82
|
+
position: relative;
|
|
83
|
+
left: auto;
|
|
84
|
+
top: auto;
|
|
85
|
+
margin: auto;
|
|
86
|
+
}
|
|
87
|
+
|
|
77
88
|
.pop_base{
|
|
78
89
|
background-color: white;
|
|
79
90
|
border-radius: 20px;
|
|
@@ -4614,6 +4625,406 @@
|
|
|
4614
4625
|
|
|
4615
4626
|
|
|
4616
4627
|
|
|
4628
|
+
|
|
4629
|
+
|
|
4630
|
+
// 캘린더 팝업
|
|
4631
|
+
.indie_calendar-comp-box{
|
|
4632
|
+
display: none;
|
|
4633
|
+
position: absolute;
|
|
4634
|
+
left: 0;
|
|
4635
|
+
top: 100%;
|
|
4636
|
+
z-index: 1600;
|
|
4637
|
+
background-color: white;
|
|
4638
|
+
width: 340px;
|
|
4639
|
+
border-radius: 20px;
|
|
4640
|
+
box-shadow: 0 3px 6px rgba(0, 0, 0, .16);
|
|
4641
|
+
overflow: hidden;
|
|
4642
|
+
|
|
4643
|
+
&.poN{
|
|
4644
|
+
position: relative;
|
|
4645
|
+
left: auto;
|
|
4646
|
+
top: auto;
|
|
4647
|
+
}
|
|
4648
|
+
|
|
4649
|
+
|
|
4650
|
+
&.on{
|
|
4651
|
+
display: block;
|
|
4652
|
+
}
|
|
4653
|
+
|
|
4654
|
+
.calendar_multi_wrap{
|
|
4655
|
+
max-height: 540px;
|
|
4656
|
+
overflow-y: auto;
|
|
4657
|
+
margin-top: 10px;
|
|
4658
|
+
}
|
|
4659
|
+
|
|
4660
|
+
> .btn_close{
|
|
4661
|
+
position: absolute;
|
|
4662
|
+
right: 22px;
|
|
4663
|
+
top: 20px;
|
|
4664
|
+
}
|
|
4665
|
+
|
|
4666
|
+
.btn_close{
|
|
4667
|
+
width: 15px;
|
|
4668
|
+
height: 15px;
|
|
4669
|
+
text-indent: -9999px;
|
|
4670
|
+
overflow: hidden;
|
|
4671
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath id='ic_close_24px' d='M19,6.41,17.59,5,12,10.59,6.41,5,5,6.41,10.59,12,5,17.59,6.41,19,12,13.41,17.59,19,19,17.59,13.41,12Z' transform='translate(-5 -5)'/%3E%3C/svg%3E");
|
|
4672
|
+
background-repeat: no-repeat;
|
|
4673
|
+
background-position: center center;
|
|
4674
|
+
background-size: 13px;
|
|
4675
|
+
}
|
|
4676
|
+
|
|
4677
|
+
.title{
|
|
4678
|
+
display: flex;
|
|
4679
|
+
justify-content: space-between;
|
|
4680
|
+
align-items: center;
|
|
4681
|
+
padding: 25px 25px 15px 32px;
|
|
4682
|
+
.days{
|
|
4683
|
+
font-size: 19px;
|
|
4684
|
+
font-weight: 600;
|
|
4685
|
+
}
|
|
4686
|
+
|
|
4687
|
+
.btns{
|
|
4688
|
+
display: flex;
|
|
4689
|
+
align-items: center;
|
|
4690
|
+
// gap: 2px;
|
|
4691
|
+
}
|
|
4692
|
+
}
|
|
4693
|
+
|
|
4694
|
+
.calender_box{
|
|
4695
|
+
padding: 0 25px 20px;
|
|
4696
|
+
text-align: center;
|
|
4697
|
+
.tbl_in_calendar{
|
|
4698
|
+
display: inline-block;
|
|
4699
|
+
}
|
|
4700
|
+
}
|
|
4701
|
+
|
|
4702
|
+
.btn_cal{
|
|
4703
|
+
width: 35px;
|
|
4704
|
+
height: 35px;
|
|
4705
|
+
overflow: hidden;
|
|
4706
|
+
text-indent: -9999px;
|
|
4707
|
+
background-repeat: no-repeat;
|
|
4708
|
+
background-position: center center;
|
|
4709
|
+
transition: background-color .25s;
|
|
4710
|
+
&.prev{
|
|
4711
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7.41' height='12' viewBox='0 0 7.41 12'%3E%3Cpath id='ic_keyboard_arrow_right_24px' d='M16,16.34l-4.58-4.59L16,7.16,14.59,5.75l-6,6,6,6Z' transform='translate(-8.59 -5.75)'/%3E%3C/svg%3E%0A");
|
|
4712
|
+
}
|
|
4713
|
+
&.next{
|
|
4714
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7.41' height='12' viewBox='0 0 7.41 12'%3E%3Cpath id='ic_keyboard_arrow_right_24px' d='M8.59,16.34l4.58-4.59L8.59,7.16,10,5.75l6,6-6,6Z' transform='translate(-8.59 -5.75)'/%3E%3C/svg%3E%0A");
|
|
4715
|
+
}
|
|
4716
|
+
&:hover{
|
|
4717
|
+
background-color: color-mix(in srgb, white,#000 5%);
|
|
4718
|
+
}
|
|
4719
|
+
}
|
|
4720
|
+
|
|
4721
|
+
.btn_calendar{
|
|
4722
|
+
display: inline-block;
|
|
4723
|
+
vertical-align: middle;
|
|
4724
|
+
width: 35px;
|
|
4725
|
+
height: 35px;
|
|
4726
|
+
text-indent: -9999px;
|
|
4727
|
+
overflow: hidden;
|
|
4728
|
+
margin: 2px;
|
|
4729
|
+
background-repeat: no-repeat;
|
|
4730
|
+
background-position: center center;
|
|
4731
|
+
background-image: url("data:image/svg+xml,%3Csvg id='달력아이콘' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='20.372' height='19.029' viewBox='0 0 20.372 19.029'%3E%3Cdefs%3E%3CclipPath id='clip-path'%3E%3Crect id='사각형_2884' data-name='사각형 2884' width='20.371' height='19.029' fill='none'/%3E%3C/clipPath%3E%3C/defs%3E%3Crect id='사각형_2879' data-name='사각형 2879' width='19.274' height='16.224' transform='translate(0.549 2.257)' fill='%23fff'/%3E%3Cg id='그룹_3685' data-name='그룹 3685'%3E%3Cg id='그룹_3684' data-name='그룹 3684' clip-path='url(%23clip-path)'%3E%3Cpath id='패스_4334' data-name='패스 4334' d='M19.822,21.989H.549A.549.549,0,0,1,0,21.44V5.216a.549.549,0,0,1,.549-.549H19.822a.549.549,0,0,1,.549.549V21.44a.549.549,0,0,1-.549.549M1.1,20.891H19.274V5.765H1.1Z' transform='translate(0 -2.959)' fill='%23444'/%3E%3Cline id='선_323' data-name='선 323' x1='19.029' transform='translate(0.705 6.858)' fill='%23fff'/%3E%3Cpath id='패스_4335' data-name='패스 4335' d='M20,18.338H.975a.549.549,0,1,1,0-1.1H20a.549.549,0,1,1,0,1.1' transform='translate(-0.27 -10.931)' fill='%23444'/%3E%3Crect id='사각형_2880' data-name='사각형 2880' width='1.464' height='2.866' transform='translate(2.501 0.549)' fill='%23fff'/%3E%3Cpath id='패스_4336' data-name='패스 4336' d='M7.346,3.965H5.882a.549.549,0,0,1-.549-.549V.549A.549.549,0,0,1,5.882,0H7.346a.549.549,0,0,1,.549.549V3.416a.549.549,0,0,1-.549.549m-.915-1.1H6.8V1.1H6.431Z' transform='translate(-3.381)' fill='%23444'/%3E%3Crect id='사각형_2881' data-name='사각형 2881' width='1.464' height='2.866' transform='translate(7.136 0.549)' fill='%23fff'/%3E%3Cpath id='패스_4337' data-name='패스 4337' d='M20.013,3.965H18.549A.549.549,0,0,1,18,3.416V.549A.549.549,0,0,1,18.549,0h1.464a.549.549,0,0,1,.549.549V3.416a.549.549,0,0,1-.549.549m-.915-1.1h.366V1.1H19.1Z' transform='translate(-11.413)' fill='%23444'/%3E%3Crect id='사각형_2882' data-name='사각형 2882' width='1.464' height='2.866' transform='translate(11.772 0.549)' fill='%23fff'/%3E%3Cpath id='패스_4338' data-name='패스 4338' d='M32.68,3.965H31.216a.549.549,0,0,1-.549-.549V.549A.549.549,0,0,1,31.216,0H32.68a.549.549,0,0,1,.549.549V3.416a.549.549,0,0,1-.549.549m-.915-1.1h.366V1.1h-.366Z' transform='translate(-19.444)' fill='%23444'/%3E%3Crect id='사각형_2883' data-name='사각형 2883' width='1.464' height='2.866' transform='translate(16.407 0.549)' fill='%23fff'/%3E%3Cpath id='패스_4339' data-name='패스 4339' d='M45.346,3.965H43.882a.549.549,0,0,1-.549-.549V.549A.549.549,0,0,1,43.882,0h1.464a.549.549,0,0,1,.549.549V3.416a.549.549,0,0,1-.549.549m-.915-1.1H44.8V1.1h-.366Z' transform='translate(-27.475)' fill='%23444'/%3E%3Cpath id='패스_4340' data-name='패스 4340' d='M26.781,25.64h-.274a.549.549,0,0,1,0-1.1h.274a.549.549,0,0,1,0,1.1' transform='translate(-16.459 -15.561)' fill='%23444'/%3E%3Cpath id='패스_4341' data-name='패스 4341' d='M35.573,25.64H35.3a.549.549,0,0,1,0-1.1h.274a.549.549,0,0,1,0,1.1' transform='translate(-22.033 -15.561)' fill='%23444'/%3E%3Cpath id='패스_4342' data-name='패스 4342' d='M44.365,25.64h-.274a.549.549,0,1,1,0-1.1h.274a.549.549,0,1,1,0,1.1' transform='translate(-27.608 -15.561)' fill='%23444'/%3E%3Cpath id='패스_4343' data-name='패스 4343' d='M9.2,31.182H8.924a.549.549,0,1,1,0-1.1H9.2a.549.549,0,0,1,0,1.1' transform='translate(-5.31 -19.075)' fill='%23444'/%3E%3Cpath id='패스_4344' data-name='패스 4344' d='M17.99,31.182h-.274a.549.549,0,1,1,0-1.1h.274a.549.549,0,1,1,0,1.1' transform='translate(-10.885 -19.075)' fill='%23444'/%3E%3Cpath id='패스_4345' data-name='패스 4345' d='M26.781,31.182h-.274a.549.549,0,0,1,0-1.1h.274a.549.549,0,0,1,0,1.1' transform='translate(-16.459 -19.075)' fill='%23444'/%3E%3Cpath id='패스_4346' data-name='패스 4346' d='M35.573,31.182H35.3a.549.549,0,0,1,0-1.1h.274a.549.549,0,0,1,0,1.1' transform='translate(-22.033 -19.075)' fill='%23444'/%3E%3Cpath id='패스_4347' data-name='패스 4347' d='M44.365,31.182h-.274a.549.549,0,1,1,0-1.1h.274a.549.549,0,1,1,0,1.1' transform='translate(-27.608 -19.075)' fill='%23444'/%3E%3Cpath id='패스_4348' data-name='패스 4348' d='M9.2,36.723H8.924a.549.549,0,1,1,0-1.1H9.2a.549.549,0,1,1,0,1.1' transform='translate(-5.31 -22.588)' fill='%23444'/%3E%3Cpath id='패스_4349' data-name='패스 4349' d='M17.99,36.723h-.274a.549.549,0,1,1,0-1.1h.274a.549.549,0,1,1,0,1.1' transform='translate(-10.885 -22.588)' fill='%23444'/%3E%3Cpath id='패스_4350' data-name='패스 4350' d='M26.781,36.723h-.274a.549.549,0,1,1,0-1.1h.274a.549.549,0,1,1,0,1.1' transform='translate(-16.459 -22.588)' fill='%23444'/%3E%3Cpath id='패스_4351' data-name='패스 4351' d='M35.573,36.723H35.3a.549.549,0,1,1,0-1.1h.274a.549.549,0,1,1,0,1.1' transform='translate(-22.033 -22.588)' fill='%23444'/%3E%3Cpath id='패스_4352' data-name='패스 4352' d='M44.365,36.723h-.274a.549.549,0,1,1,0-1.1h.274a.549.549,0,1,1,0,1.1' transform='translate(-27.608 -22.588)' fill='%23444'/%3E%3Cpath id='패스_4353' data-name='패스 4353' d='M9.2,42.265H8.924a.549.549,0,0,1,0-1.1H9.2a.549.549,0,0,1,0,1.1' transform='translate(-5.31 -26.102)' fill='%23444'/%3E%3Cpath id='패스_4354' data-name='패스 4354' d='M17.99,42.265h-.274a.549.549,0,0,1,0-1.1h.274a.549.549,0,1,1,0,1.1' transform='translate(-10.885 -26.102)' fill='%23444'/%3E%3Cpath id='패스_4355' data-name='패스 4355' d='M26.781,42.265h-.274a.549.549,0,0,1,0-1.1h.274a.549.549,0,0,1,0,1.1' transform='translate(-16.459 -26.102)' fill='%23444'/%3E%3Cpath id='패스_4356' data-name='패스 4356' d='M35.573,42.265H35.3a.549.549,0,0,1,0-1.1h.274a.549.549,0,0,1,0,1.1' transform='translate(-22.033 -26.102)' fill='%23444'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E%0A");
|
|
4732
|
+
transition: background-color 0.25s;
|
|
4733
|
+
&:hover{
|
|
4734
|
+
background-color: color-mix(in srgb, white,#000 5%);
|
|
4735
|
+
}
|
|
4736
|
+
}
|
|
4737
|
+
|
|
4738
|
+
.btn_sec{
|
|
4739
|
+
width: 100%;
|
|
4740
|
+
border-radius: 0 0 20px 20px;
|
|
4741
|
+
margin-top: 10px;
|
|
4742
|
+
}
|
|
4743
|
+
|
|
4744
|
+
.time_box{
|
|
4745
|
+
margin: 5px 25px 20px;
|
|
4746
|
+
border-top: 1px solid #E0E1EC;
|
|
4747
|
+
padding: 25px 10px;
|
|
4748
|
+
.sbj{
|
|
4749
|
+
font-size: 13px;
|
|
4750
|
+
font-weight: 300;
|
|
4751
|
+
color: #111;
|
|
4752
|
+
margin-bottom: 20px;
|
|
4753
|
+
}
|
|
4754
|
+
}
|
|
4755
|
+
|
|
4756
|
+
.scroll-select-box{
|
|
4757
|
+
position: absolute;
|
|
4758
|
+
bottom: 0;
|
|
4759
|
+
left: 0;
|
|
4760
|
+
z-index: 10;
|
|
4761
|
+
width: 100%;
|
|
4762
|
+
max-height: 72%;
|
|
4763
|
+
background-color: white;
|
|
4764
|
+
display: flex;
|
|
4765
|
+
flex-direction: column;
|
|
4766
|
+
transform: translateY(150%);
|
|
4767
|
+
transition: transform .5s .2s;
|
|
4768
|
+
|
|
4769
|
+
.title{
|
|
4770
|
+
flex-shrink: 0;
|
|
4771
|
+
background-color: white;
|
|
4772
|
+
border-radius: 20px 20px 0 0;
|
|
4773
|
+
display: flex;
|
|
4774
|
+
justify-content: space-between;
|
|
4775
|
+
align-items: center;
|
|
4776
|
+
padding: 18px 20px 18px 30px;
|
|
4777
|
+
border-bottom: 1px solid #E0E1EC;
|
|
4778
|
+
p{
|
|
4779
|
+
font-size: 16px;
|
|
4780
|
+
font-weight: 300;
|
|
4781
|
+
color: #111;
|
|
4782
|
+
}
|
|
4783
|
+
.btn_close{
|
|
4784
|
+
flex-shrink: 0;
|
|
4785
|
+
display: inline-block;
|
|
4786
|
+
vertical-align: middle;
|
|
4787
|
+
position: inherit;
|
|
4788
|
+
width: 20px;
|
|
4789
|
+
height: 20px;
|
|
4790
|
+
text-indent: -9999px;
|
|
4791
|
+
overflow: hidden;
|
|
4792
|
+
margin: 2px;
|
|
4793
|
+
background-repeat: no-repeat;
|
|
4794
|
+
background-position: center center;
|
|
4795
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath id='ic_close_24px' d='M19,6.41,17.59,5,12,10.59,6.41,5,5,6.41,10.59,12,5,17.59,6.41,19,12,13.41,17.59,19,19,17.59,13.41,12Z' transform='translate(-5 -5)'/%3E%3C/svg%3E%0A");
|
|
4796
|
+
}
|
|
4797
|
+
}
|
|
4798
|
+
.select_b{
|
|
4799
|
+
background-color: white;
|
|
4800
|
+
flex-grow: 1;
|
|
4801
|
+
overflow-y: auto;
|
|
4802
|
+
min-height: 150px;
|
|
4803
|
+
.list{
|
|
4804
|
+
> li {
|
|
4805
|
+
text-align: center;
|
|
4806
|
+
border-bottom: 1px solid #E0E1EC;
|
|
4807
|
+
> a{
|
|
4808
|
+
display: block;
|
|
4809
|
+
padding: 7px 10px;
|
|
4810
|
+
font-size: 25px;
|
|
4811
|
+
font-weight: 600;
|
|
4812
|
+
color: #111;
|
|
4813
|
+
transition: background-color .25s;
|
|
4814
|
+
&:hover{
|
|
4815
|
+
background-color: #E8F3FF;
|
|
4816
|
+
}
|
|
4817
|
+
}
|
|
4818
|
+
&.on{
|
|
4819
|
+
> a{
|
|
4820
|
+
background-color: #E8F3FF;
|
|
4821
|
+
}
|
|
4822
|
+
}
|
|
4823
|
+
}
|
|
4824
|
+
}
|
|
4825
|
+
}
|
|
4826
|
+
.btns{
|
|
4827
|
+
background-color: white;
|
|
4828
|
+
flex-shrink: 0;
|
|
4829
|
+
button{
|
|
4830
|
+
margin: 0;
|
|
4831
|
+
}
|
|
4832
|
+
}
|
|
4833
|
+
&::before{
|
|
4834
|
+
content: "";
|
|
4835
|
+
position: absolute;
|
|
4836
|
+
border-radius: 20px 20px 0 0;
|
|
4837
|
+
left: 0;
|
|
4838
|
+
bottom: 0;
|
|
4839
|
+
z-index: -1;
|
|
4840
|
+
width: 100%;
|
|
4841
|
+
height: 150%;
|
|
4842
|
+
background-color: rgba(0, 0, 0, .35);
|
|
4843
|
+
opacity: 0;
|
|
4844
|
+
transition: all .2s 0s;
|
|
4845
|
+
}
|
|
4846
|
+
|
|
4847
|
+
// 애니메이션
|
|
4848
|
+
&.on{
|
|
4849
|
+
transform: translateY(0);
|
|
4850
|
+
transition-delay: 0;
|
|
4851
|
+
transition-duration: .35s;
|
|
4852
|
+
&::before{
|
|
4853
|
+
opacity: 1;
|
|
4854
|
+
transition-delay: .5s;
|
|
4855
|
+
}
|
|
4856
|
+
}
|
|
4857
|
+
}
|
|
4858
|
+
}
|
|
4859
|
+
|
|
4860
|
+
|
|
4861
|
+
.indie_tbl_in_calendar{
|
|
4862
|
+
border-collapse: separate;
|
|
4863
|
+
text-align: center;
|
|
4864
|
+
table-layout: fixed;
|
|
4865
|
+
border-spacing: 0 5px;
|
|
4866
|
+
min-width: 0;
|
|
4867
|
+
width: 100%;
|
|
4868
|
+
th{
|
|
4869
|
+
padding: 7px 5px !important;
|
|
4870
|
+
font-size: 12px;
|
|
4871
|
+
color: #6e7586;
|
|
4872
|
+
font-weight: 500;
|
|
4873
|
+
letter-spacing: 0;
|
|
4874
|
+
border: none !important;
|
|
4875
|
+
}
|
|
4876
|
+
td{
|
|
4877
|
+
padding: 0 !important;
|
|
4878
|
+
border-spacing: 5px;
|
|
4879
|
+
a{
|
|
4880
|
+
display: flex;
|
|
4881
|
+
justify-content: center;
|
|
4882
|
+
align-items: center;
|
|
4883
|
+
width: 28px;
|
|
4884
|
+
height: 28px;
|
|
4885
|
+
padding: 5px;
|
|
4886
|
+
border-radius: 50%;
|
|
4887
|
+
font-size: 12px;
|
|
4888
|
+
font-weight: 500;
|
|
4889
|
+
color: #111;
|
|
4890
|
+
position: relative;
|
|
4891
|
+
transition: background-color .5s;
|
|
4892
|
+
}
|
|
4893
|
+
&:hover{
|
|
4894
|
+
a{
|
|
4895
|
+
background-color: #ECF2FE;
|
|
4896
|
+
}
|
|
4897
|
+
}
|
|
4898
|
+
&.past{
|
|
4899
|
+
a{
|
|
4900
|
+
color: rgba(0, 0, 0, .26);
|
|
4901
|
+
}
|
|
4902
|
+
}
|
|
4903
|
+
&.today{
|
|
4904
|
+
a{
|
|
4905
|
+
color: #383E96;
|
|
4906
|
+
font-weight: 600;
|
|
4907
|
+
&::before{
|
|
4908
|
+
content: '';
|
|
4909
|
+
position: absolute;
|
|
4910
|
+
left: calc(50% - 3px);
|
|
4911
|
+
bottom: 0;
|
|
4912
|
+
width: 6px;
|
|
4913
|
+
height: 6px;
|
|
4914
|
+
border-radius: 50%;
|
|
4915
|
+
background-color: #383E96;
|
|
4916
|
+
}
|
|
4917
|
+
}
|
|
4918
|
+
}
|
|
4919
|
+
&.range{
|
|
4920
|
+
background-color: #ECF2FE;
|
|
4921
|
+
a{
|
|
4922
|
+
border-radius: 0;
|
|
4923
|
+
color: #3F55C4;
|
|
4924
|
+
}
|
|
4925
|
+
}
|
|
4926
|
+
&.select{
|
|
4927
|
+
a{
|
|
4928
|
+
background-color: #383E96;
|
|
4929
|
+
color: white;
|
|
4930
|
+
border-radius: 50%;
|
|
4931
|
+
}
|
|
4932
|
+
}
|
|
4933
|
+
}
|
|
4934
|
+
|
|
4935
|
+
tr{
|
|
4936
|
+
td:first-of-type{
|
|
4937
|
+
&.range{
|
|
4938
|
+
border-radius: 25px 0 0 25px;
|
|
4939
|
+
}
|
|
4940
|
+
.select{
|
|
4941
|
+
border-radius: 50%;
|
|
4942
|
+
}
|
|
4943
|
+
}
|
|
4944
|
+
td:last-of-type{
|
|
4945
|
+
&.range{
|
|
4946
|
+
border-radius: 0 25px 25px 0;
|
|
4947
|
+
}
|
|
4948
|
+
.select{
|
|
4949
|
+
border-radius: 50%;
|
|
4950
|
+
}
|
|
4951
|
+
}
|
|
4952
|
+
td.range{
|
|
4953
|
+
&.first{
|
|
4954
|
+
border-radius: 25px 0 0 25px;
|
|
4955
|
+
}
|
|
4956
|
+
&.last{
|
|
4957
|
+
border-radius: 0 25px 25px 0;
|
|
4958
|
+
}
|
|
4959
|
+
}
|
|
4960
|
+
}
|
|
4961
|
+
}
|
|
4962
|
+
|
|
4963
|
+
|
|
4964
|
+
|
|
4965
|
+
//line 셀렉트
|
|
4966
|
+
.indie_select_line_form{
|
|
4967
|
+
display: inline-flex;
|
|
4968
|
+
gap: 20px;
|
|
4969
|
+
max-width: 100%;
|
|
4970
|
+
min-width: 90%;
|
|
4971
|
+
> span{
|
|
4972
|
+
flex: 1;
|
|
4973
|
+
position: relative;
|
|
4974
|
+
display: block;
|
|
4975
|
+
&::before{
|
|
4976
|
+
content: " / ";
|
|
4977
|
+
position: absolute;
|
|
4978
|
+
left: -10px;
|
|
4979
|
+
top: 50%;
|
|
4980
|
+
transform: translateY(-50%);
|
|
4981
|
+
z-index: 10;
|
|
4982
|
+
font-weight: 500;
|
|
4983
|
+
color: #383E96;
|
|
4984
|
+
font-size: 16px;
|
|
4985
|
+
}
|
|
4986
|
+
&:first-of-type::before{
|
|
4987
|
+
content: "";
|
|
4988
|
+
}
|
|
4989
|
+
&:only-of-type::before{
|
|
4990
|
+
content: "";
|
|
4991
|
+
}
|
|
4992
|
+
}
|
|
4993
|
+
select{
|
|
4994
|
+
width: 100%;
|
|
4995
|
+
height: 42px;
|
|
4996
|
+
border-bottom: 1px solid #383E96;
|
|
4997
|
+
background: none;
|
|
4998
|
+
padding: 0 10px;
|
|
4999
|
+
font-weight: 600;
|
|
5000
|
+
color: #383E96;
|
|
5001
|
+
font-size: 13px;
|
|
5002
|
+
text-align: center;
|
|
5003
|
+
position: relative;
|
|
5004
|
+
&::after{
|
|
5005
|
+
content: "..";
|
|
5006
|
+
}
|
|
5007
|
+
}
|
|
5008
|
+
|
|
5009
|
+
&.black{
|
|
5010
|
+
> span{
|
|
5011
|
+
&::before{
|
|
5012
|
+
color: #111;
|
|
5013
|
+
font-weight: 300;
|
|
5014
|
+
}
|
|
5015
|
+
}
|
|
5016
|
+
select{
|
|
5017
|
+
font-size: 18px;
|
|
5018
|
+
color: #111;
|
|
5019
|
+
border-bottom-color: #111;
|
|
5020
|
+
}
|
|
5021
|
+
}
|
|
5022
|
+
}
|
|
5023
|
+
|
|
5024
|
+
|
|
5025
|
+
|
|
5026
|
+
|
|
5027
|
+
|
|
4617
5028
|
|
|
4618
5029
|
//마진 값
|
|
4619
5030
|
.mg{
|
|
@@ -136,6 +136,21 @@ function createBookingStore(bookingDTO: Awaited<ReturnType<typeof BookingAPI.get
|
|
|
136
136
|
* 이하 subscribe & set => 보려는 값과 변경하는 방식이 복잡한 경우
|
|
137
137
|
*/
|
|
138
138
|
|
|
139
|
+
const ymd = {
|
|
140
|
+
subscribe: derived(stdt, $stdt => dayjs($stdt).format('YYYY-MM-DD')).subscribe,
|
|
141
|
+
set(ymd: string) {
|
|
142
|
+
withPreserveAndPreview(() => {
|
|
143
|
+
booking.update($booking => {
|
|
144
|
+
const currentDate = dayjs($booking.ymd)
|
|
145
|
+
const changeDate = dayjs(ymd)
|
|
146
|
+
changeDate.hour(currentDate.hour()).minute(currentDate.minute()).second(currentDate.second())
|
|
147
|
+
$booking.ymd = changeDate.format('YYYY-MM-DD HH:mm:ss')
|
|
148
|
+
return $booking
|
|
149
|
+
})
|
|
150
|
+
})
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
|
|
139
154
|
// 시간 값 & 변경
|
|
140
155
|
const hour = {
|
|
141
156
|
subscribe: derived(stdt, $stdt => dayjs($stdt).hour()).subscribe,
|
|
@@ -349,7 +364,8 @@ function createBookingStore(bookingDTO: Awaited<ReturnType<typeof BookingAPI.get
|
|
|
349
364
|
pax,
|
|
350
365
|
isBabySeatService,
|
|
351
366
|
isPicketService,
|
|
352
|
-
addTime
|
|
367
|
+
addTime,
|
|
368
|
+
ymd
|
|
353
369
|
}
|
|
354
370
|
}
|
|
355
371
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import { Schedule, type InitOption } from '$lib'
|
|
3
3
|
import { API_URL } from '$lib/axios/constant'
|
|
4
|
-
import
|
|
4
|
+
import Calender from '$scheduleView/Calender.svelte'
|
|
5
5
|
import Axios from 'axios'
|
|
6
6
|
import QS from 'qs'
|
|
7
7
|
import toast, { Toaster } from 'svelte-french-toast'
|
|
8
8
|
|
|
9
9
|
let schedule$: Schedule
|
|
10
10
|
|
|
11
|
-
let code = '
|
|
11
|
+
let code = '24295-PU7MM9'
|
|
12
12
|
|
|
13
13
|
let options: InitOption = {
|
|
14
14
|
isDev: true,
|