@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{
|
|
@@ -86,6 +86,10 @@ export declare const originalBooking: {
|
|
|
86
86
|
subscribe: (this: void, run: import("svelte/store").Subscriber<number>, invalidate?: import("svelte/store").Invalidator<number>) => import("svelte/store").Unsubscriber;
|
|
87
87
|
set(addTime: number): void;
|
|
88
88
|
};
|
|
89
|
+
ymd: {
|
|
90
|
+
subscribe: (this: void, run: import("svelte/store").Subscriber<string>, invalidate?: import("svelte/store").Invalidator<string>) => import("svelte/store").Unsubscriber;
|
|
91
|
+
set(ymd: string): void;
|
|
92
|
+
};
|
|
89
93
|
};
|
|
90
94
|
export declare const copiedBooking: {
|
|
91
95
|
subscribe: (this: void, run: import("svelte/store").Subscriber<import("../api/booking/dto").BookingViewDTO>, invalidate?: import("svelte/store").Invalidator<import("../api/booking/dto").BookingViewDTO>) => import("svelte/store").Unsubscriber;
|
|
@@ -172,4 +176,8 @@ export declare const copiedBooking: {
|
|
|
172
176
|
subscribe: (this: void, run: import("svelte/store").Subscriber<number>, invalidate?: import("svelte/store").Invalidator<number>) => import("svelte/store").Unsubscriber;
|
|
173
177
|
set(addTime: number): void;
|
|
174
178
|
};
|
|
179
|
+
ymd: {
|
|
180
|
+
subscribe: (this: void, run: import("svelte/store").Subscriber<string>, invalidate?: import("svelte/store").Invalidator<string>) => import("svelte/store").Unsubscriber;
|
|
181
|
+
set(ymd: string): void;
|
|
182
|
+
};
|
|
175
183
|
};
|
|
@@ -107,6 +107,20 @@ function createBookingStore(bookingDTO) {
|
|
|
107
107
|
/**
|
|
108
108
|
* 이하 subscribe & set => 보려는 값과 변경하는 방식이 복잡한 경우
|
|
109
109
|
*/
|
|
110
|
+
const ymd = {
|
|
111
|
+
subscribe: derived(stdt, $stdt => dayjs($stdt).format('YYYY-MM-DD')).subscribe,
|
|
112
|
+
set(ymd) {
|
|
113
|
+
withPreserveAndPreview(() => {
|
|
114
|
+
booking.update($booking => {
|
|
115
|
+
const currentDate = dayjs($booking.ymd);
|
|
116
|
+
const changeDate = dayjs(ymd);
|
|
117
|
+
changeDate.hour(currentDate.hour()).minute(currentDate.minute()).second(currentDate.second());
|
|
118
|
+
$booking.ymd = changeDate.format('YYYY-MM-DD HH:mm:ss');
|
|
119
|
+
return $booking;
|
|
120
|
+
});
|
|
121
|
+
});
|
|
122
|
+
}
|
|
123
|
+
};
|
|
110
124
|
// 시간 값 & 변경
|
|
111
125
|
const hour = {
|
|
112
126
|
subscribe: derived(stdt, $stdt => dayjs($stdt).hour()).subscribe,
|
|
@@ -313,7 +327,8 @@ function createBookingStore(bookingDTO) {
|
|
|
313
327
|
pax,
|
|
314
328
|
isBabySeatService,
|
|
315
329
|
isPicketService,
|
|
316
|
-
addTime
|
|
330
|
+
addTime,
|
|
331
|
+
ymd
|
|
317
332
|
};
|
|
318
333
|
}
|
|
319
334
|
export const originalBooking = createBookingStore(null);
|
package/.svelte-kit/ambient.d.ts
CHANGED
|
@@ -82,7 +82,6 @@ declare module '$env/static/private' {
|
|
|
82
82
|
export const npm_config_argv: string;
|
|
83
83
|
export const npm_package_devDependencies__types_qs: string;
|
|
84
84
|
export const _: string;
|
|
85
|
-
export const LaunchInstanceID: string;
|
|
86
85
|
export const npm_package_dependencies_svelte_i18n: string;
|
|
87
86
|
export const npm_package_dependencies_svelte_french_toast: string;
|
|
88
87
|
export const npm_config_engine_strict: string;
|
|
@@ -159,7 +158,6 @@ declare module '$env/static/private' {
|
|
|
159
158
|
export const npm_package_files_0: string;
|
|
160
159
|
export const npm_config_init_version: string;
|
|
161
160
|
export const npm_config_ignore_optional: string;
|
|
162
|
-
export const SECURITYSESSIONID: string;
|
|
163
161
|
export const npm_package_dependencies_svelte_portal: string;
|
|
164
162
|
export const npm_package_scripts_check: string;
|
|
165
163
|
export const COLORTERM: string;
|
|
@@ -253,7 +251,6 @@ declare module '$env/dynamic/private' {
|
|
|
253
251
|
npm_config_argv: string;
|
|
254
252
|
npm_package_devDependencies__types_qs: string;
|
|
255
253
|
_: string;
|
|
256
|
-
LaunchInstanceID: string;
|
|
257
254
|
npm_package_dependencies_svelte_i18n: string;
|
|
258
255
|
npm_package_dependencies_svelte_french_toast: string;
|
|
259
256
|
npm_config_engine_strict: string;
|
|
@@ -330,7 +327,6 @@ declare module '$env/dynamic/private' {
|
|
|
330
327
|
npm_package_files_0: string;
|
|
331
328
|
npm_config_init_version: string;
|
|
332
329
|
npm_config_ignore_optional: string;
|
|
333
|
-
SECURITYSESSIONID: string;
|
|
334
330
|
npm_package_dependencies_svelte_portal: string;
|
|
335
331
|
npm_package_scripts_check: string;
|
|
336
332
|
COLORTERM: string;
|
|
@@ -21,7 +21,7 @@ export const options = {
|
|
|
21
21
|
app: ({ head, body, assets, nonce, env }) => "<!DOCTYPE html>\n<html lang=\"en\">\n\t<head>\n\t\t<meta charset=\"utf-8\" />\n\t\t<link rel=\"icon\" href=\"" + assets + "/favicon.png\" />\n\t\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />\n\t\t<meta name=\"referrer\" content=\"no-referrer\" />\n\t\t" + head + "\n\t</head>\n\t<body data-sveltekit-preload-data=\"hover\">\n\t\t<div>" + body + "</div>\n\t</body>\n</html>\n",
|
|
22
22
|
error: ({ status, message }) => "<!doctype html>\n<html lang=\"en\">\n\t<head>\n\t\t<meta charset=\"utf-8\" />\n\t\t<title>" + message + "</title>\n\n\t\t<style>\n\t\t\tbody {\n\t\t\t\t--bg: white;\n\t\t\t\t--fg: #222;\n\t\t\t\t--divider: #ccc;\n\t\t\t\tbackground: var(--bg);\n\t\t\t\tcolor: var(--fg);\n\t\t\t\tfont-family:\n\t\t\t\t\tsystem-ui,\n\t\t\t\t\t-apple-system,\n\t\t\t\t\tBlinkMacSystemFont,\n\t\t\t\t\t'Segoe UI',\n\t\t\t\t\tRoboto,\n\t\t\t\t\tOxygen,\n\t\t\t\t\tUbuntu,\n\t\t\t\t\tCantarell,\n\t\t\t\t\t'Open Sans',\n\t\t\t\t\t'Helvetica Neue',\n\t\t\t\t\tsans-serif;\n\t\t\t\tdisplay: flex;\n\t\t\t\talign-items: center;\n\t\t\t\tjustify-content: center;\n\t\t\t\theight: 100vh;\n\t\t\t\tmargin: 0;\n\t\t\t}\n\n\t\t\t.error {\n\t\t\t\tdisplay: flex;\n\t\t\t\talign-items: center;\n\t\t\t\tmax-width: 32rem;\n\t\t\t\tmargin: 0 1rem;\n\t\t\t}\n\n\t\t\t.status {\n\t\t\t\tfont-weight: 200;\n\t\t\t\tfont-size: 3rem;\n\t\t\t\tline-height: 1;\n\t\t\t\tposition: relative;\n\t\t\t\ttop: -0.05rem;\n\t\t\t}\n\n\t\t\t.message {\n\t\t\t\tborder-left: 1px solid var(--divider);\n\t\t\t\tpadding: 0 0 0 1rem;\n\t\t\t\tmargin: 0 0 0 1rem;\n\t\t\t\tmin-height: 2.5rem;\n\t\t\t\tdisplay: flex;\n\t\t\t\talign-items: center;\n\t\t\t}\n\n\t\t\t.message h1 {\n\t\t\t\tfont-weight: 400;\n\t\t\t\tfont-size: 1em;\n\t\t\t\tmargin: 0;\n\t\t\t}\n\n\t\t\t@media (prefers-color-scheme: dark) {\n\t\t\t\tbody {\n\t\t\t\t\t--bg: #222;\n\t\t\t\t\t--fg: #ddd;\n\t\t\t\t\t--divider: #666;\n\t\t\t\t}\n\t\t\t}\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<div class=\"error\">\n\t\t\t<span class=\"status\">" + status + "</span>\n\t\t\t<div class=\"message\">\n\t\t\t\t<h1>" + message + "</h1>\n\t\t\t</div>\n\t\t</div>\n\t</body>\n</html>\n"
|
|
23
23
|
},
|
|
24
|
-
version_hash: "
|
|
24
|
+
version_hash: "3ouolu"
|
|
25
25
|
};
|
|
26
26
|
|
|
27
27
|
export async function get_hooks() {
|
|
@@ -60,6 +60,13 @@
|
|
|
60
60
|
"REQUEST": "STANDBY",
|
|
61
61
|
"RESERV": "CONFIRMED"
|
|
62
62
|
},
|
|
63
|
+
"calender": {
|
|
64
|
+
"complete": "Complete",
|
|
65
|
+
"next": "Next",
|
|
66
|
+
"please-select-month": "Please select a month",
|
|
67
|
+
"please-select-year": "Please select a year",
|
|
68
|
+
"selection-completed": "Selection completed"
|
|
69
|
+
},
|
|
63
70
|
"error": {
|
|
64
71
|
"pleaseEnterGuestName": "Please enter guest name",
|
|
65
72
|
"pleaseEnterTelNumber": "Please enter tel number."
|
|
@@ -47,6 +47,13 @@
|
|
|
47
47
|
"useTime": "이용시간",
|
|
48
48
|
"waypointZone": "경유지 존"
|
|
49
49
|
},
|
|
50
|
+
"calender": {
|
|
51
|
+
"complete": "완료",
|
|
52
|
+
"next": "다음",
|
|
53
|
+
"please-select-month": "월을 선택해주세요.",
|
|
54
|
+
"please-select-year": "년도를 선택해주세요.",
|
|
55
|
+
"selection-completed": "선택 완료"
|
|
56
|
+
},
|
|
50
57
|
"error": {
|
|
51
58
|
"pleaseEnterGuestName": "이름을 입력하세요.",
|
|
52
59
|
"pleaseEnterTelNumber": "전화번호를 입력해주세요."
|
|
@@ -47,6 +47,13 @@
|
|
|
47
47
|
"useTime": "Thời gian sử dụng",
|
|
48
48
|
"waypointZone": "Khu vực điểm dừng"
|
|
49
49
|
},
|
|
50
|
+
"calender": {
|
|
51
|
+
"complete": "Hoàn tất",
|
|
52
|
+
"next": "Tiếp theo",
|
|
53
|
+
"please-select-month": "Vui lòng chọn tháng.",
|
|
54
|
+
"please-select-year": "Vui lòng chọn năm.",
|
|
55
|
+
"selection-completed": "Hoàn tất lựa chọn"
|
|
56
|
+
},
|
|
50
57
|
"error": {
|
|
51
58
|
"pleaseEnterGuestName": "Vui lòng nhập tên khách",
|
|
52
59
|
"pleaseEnterTelNumber": "Vui lòng nhập số điện thoại."
|
|
@@ -47,6 +47,13 @@
|
|
|
47
47
|
"useTime": "使用时间",
|
|
48
48
|
"waypointZone": "停靠点区域"
|
|
49
49
|
},
|
|
50
|
+
"calender": {
|
|
51
|
+
"complete": "完成",
|
|
52
|
+
"next": "下一步",
|
|
53
|
+
"please-select-month": "请选择月份。",
|
|
54
|
+
"please-select-year": "请选择年份。",
|
|
55
|
+
"selection-completed": "选择完成"
|
|
56
|
+
},
|
|
50
57
|
"error": {
|
|
51
58
|
"pleaseEnterGuestName": "请输入客人姓名",
|
|
52
59
|
"pleaseEnterTelNumber": "请输入电话号码。"
|
|
@@ -47,6 +47,13 @@
|
|
|
47
47
|
"useTime": "使用時間",
|
|
48
48
|
"waypointZone": "停靠點區域"
|
|
49
49
|
},
|
|
50
|
+
"calender": {
|
|
51
|
+
"complete": "完成",
|
|
52
|
+
"next": "下一步",
|
|
53
|
+
"please-select-month": "請選擇月份。",
|
|
54
|
+
"please-select-year": "請選擇年份。",
|
|
55
|
+
"selection-completed": "選擇完成"
|
|
56
|
+
},
|
|
50
57
|
"error": {
|
|
51
58
|
"pleaseEnterGuestName": "請輸入客人姓名",
|
|
52
59
|
"pleaseEnterTelNumber": "請輸入電話號碼。"
|
|
@@ -15,9 +15,12 @@ import FlightSearch from "./components/flight-search/FlightSearch.svelte";
|
|
|
15
15
|
import PhoneNumberInput from "./PhoneNumberInput.svelte";
|
|
16
16
|
import FileUploader from "./FileUploader.svelte";
|
|
17
17
|
import CarSearch from "./CarSearch.svelte";
|
|
18
|
+
import Calender from "./Calender.svelte";
|
|
18
19
|
const { stdt, fullName, pax, extraServices, files, plans, isFlightService } = originalBooking;
|
|
19
20
|
const {
|
|
20
21
|
withPreserveAndPreview,
|
|
22
|
+
stdt: copiedStdt,
|
|
23
|
+
ymd,
|
|
21
24
|
hour,
|
|
22
25
|
minute,
|
|
23
26
|
firstName,
|
|
@@ -36,6 +39,7 @@ const {
|
|
|
36
39
|
} = copiedBooking;
|
|
37
40
|
let translation$;
|
|
38
41
|
let flightSearch$;
|
|
42
|
+
let calender$;
|
|
39
43
|
async function copyContents() {
|
|
40
44
|
const texts = [];
|
|
41
45
|
texts.push(`FMS CODE : ${$originalBooking.code}`);
|
|
@@ -145,6 +149,10 @@ function getTerminalName(flight) {
|
|
|
145
149
|
return null;
|
|
146
150
|
}
|
|
147
151
|
}
|
|
152
|
+
function openCalender() {
|
|
153
|
+
calender$.open($stdt).then((date) => $ymd = date).catch(() => {
|
|
154
|
+
});
|
|
155
|
+
}
|
|
148
156
|
</script>
|
|
149
157
|
|
|
150
158
|
<Translation bind:this={translation$} />
|
|
@@ -168,8 +176,19 @@ function getTerminalName(flight) {
|
|
|
168
176
|
<tr>
|
|
169
177
|
<th>{$t('booking.travelDate')}</th>
|
|
170
178
|
<td>
|
|
171
|
-
|
|
172
|
-
|
|
179
|
+
{#if !$isEdit}
|
|
180
|
+
<p class="value-txt">{dayjs($stdt).format('ll (dd)')}</p>
|
|
181
|
+
{:else}
|
|
182
|
+
<div class="indie_po_re">
|
|
183
|
+
<input
|
|
184
|
+
value={dayjs($copiedStdt).format('ll (dd)')}
|
|
185
|
+
type="text"
|
|
186
|
+
class="indie_text_nor xs3 white w100"
|
|
187
|
+
readonly
|
|
188
|
+
on:click={() => openCalender()} />
|
|
189
|
+
<Calender bind:this={calender$} />
|
|
190
|
+
</div>
|
|
191
|
+
{/if}
|
|
173
192
|
</td>
|
|
174
193
|
</tr>
|
|
175
194
|
<tr>
|