From f7847d1167991514f89f9ffcc219749a38282b7e Mon Sep 17 00:00:00 2001 From: caichunsheng Date: Fri, 16 Sep 2022 10:03:39 +0800 Subject: [PATCH 001/471] =?UTF-8?q?=E5=8D=9A=E7=89=A9=E9=A6=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/index.js | 9 ++++++++- pages/index/index.wxml | 14 ++++++++++++-- pages/list/comments/index.js | 29 ++++++++++++++++++++++++----- pages/list/comments/index.wxml | 3 ++- pages/list/comments/index.wxss | 11 ++++++++++- 5 files changed, 56 insertions(+), 10 deletions(-) diff --git a/pages/index/index.js b/pages/index/index.js index 99a187c..6a0d026 100644 --- a/pages/index/index.js +++ b/pages/index/index.js @@ -461,7 +461,6 @@ Page({ bannerClick: function (e) { if (this.data.isTest) return; let item = e.currentTarget.dataset.item; - console.log(item) this.pagePoint({ event: "banner_click", type: 'banner' @@ -543,6 +542,14 @@ Page({ return; }, + //博物馆跳转 直接跳君到苏州H5 + goH5:function(e){ + console.log(e.currentTarget.dataset.path); + app.globalData.weburl ='https://m.cloud.sz-trip.com/' + e.currentTarget.dataset.path; + wx.navigateTo({ + url: "/pages/pbService/web/index" + }) + }, bannerClick2: function (e) { let item = e.currentTarget.dataset.item; if (item.action == 'href') { diff --git a/pages/index/index.wxml b/pages/index/index.wxml index 963ea03..ed4f960 100644 --- a/pages/index/index.wxml +++ b/pages/index/index.wxml @@ -159,15 +159,25 @@ 非遗传承 - 文物查询 + --> + + + 文化场馆查询 - 博物馆查询 + --> + + + 数字博物馆 diff --git a/pages/list/comments/index.js b/pages/list/comments/index.js index 9a8cced..830b9a7 100644 --- a/pages/list/comments/index.js +++ b/pages/list/comments/index.js @@ -23,7 +23,6 @@ Page({ }) } else if(options.sceneid){ - console.log(options.index); this.setData({ sceneid:options.sceneid, index:options.index, @@ -42,8 +41,7 @@ Page({ if(this.data.sceneid){ service = "scene/get_comment" } - commonApi._post(service,data).then(res=>{ - console.log(res) + commonApi.user_post(service,data).then(res=>{ // this.setData({ // total:res.data.total, // list:list.concat(res.data.list) @@ -72,16 +70,37 @@ Page({ }) }, imgsc:function(e){ - console.log(e); var src = e.currentTarget.dataset.img;//获取data-src var imgList = e.currentTarget.dataset.list;//获取data-list - console.log(src) //图片预览 wx.previewImage({ current: src, // 当前显示图片的http链接 urls: imgList // 需要预览的图片http链接列表 }) }, + zan:function(e){ + let item = e.currentTarget.dataset.item;//获取data-src + let index = e.currentTarget.dataset.index;//获取data-src + let arr = this.data.list + + let url = "scene/comment_star"; //点 + if (item.is_star == 1) { + url = "scene/comment_cancel_star"; //取消 + } + commonApi.user_post(url,{comment_id: item.id}).then(res=>{ + if (res) { + if (item.is_star == 1) { + arr[index].is_star = 0 + }else{ + arr[index].is_star = 1 + } + this.setData({ + list:arr + }) + } + }) + + }, /** * 生命周期函数--监听页面初次渲染完成 */ diff --git a/pages/list/comments/index.wxml b/pages/list/comments/index.wxml index 2df031d..198a412 100644 --- a/pages/list/comments/index.wxml +++ b/pages/list/comments/index.wxml @@ -1,7 +1,7 @@ 全部评论 - + @@ -19,6 +19,7 @@ + diff --git a/pages/list/comments/index.wxss b/pages/list/comments/index.wxss index 5300d8a..547f352 100644 --- a/pages/list/comments/index.wxss +++ b/pages/list/comments/index.wxss @@ -9,9 +9,10 @@ } .comment-item { margin: 0 25rpx; - padding: 30rpx 0; + padding: 30rpx 0 40rpx 0; margin-top: 10rpx; border-bottom: 1rpx solid #d9d9d9; + } .comment-top { display: flex; @@ -71,4 +72,12 @@ color: #666; margin-left:20rpx ; font-size: 24rpx; +} +.iconfont.icon-zan{ + float: right; + font-size: 46rpx; + color: #999999; +} +.icon-zan.active { + color: red; } \ No newline at end of file From 27663c1a7fa6ebc14f0dbb531c682371bfca9212 Mon Sep 17 00:00:00 2001 From: chenkainan Date: Fri, 16 Sep 2022 12:00:11 +0800 Subject: [PATCH 002/471] =?UTF-8?q?=E7=89=88=E6=9C=AC=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 8cf9030..f259ff8 100644 --- a/app.js +++ b/app.js @@ -22,7 +22,7 @@ App({ unique_key: "wechatxcx" }).then(res => { let data = JSON.parse(res.data); - data.isTest = data.isTest36?true:false; + data.isTest = data.isTest38?true:false; this.globalData.configJson = data }) From 6f2595556c583c6edc0ef0c4a2b45cba23c7feff Mon Sep 17 00:00:00 2001 From: caichunsheng Date: Sat, 17 Sep 2022 16:35:50 +0800 Subject: [PATCH 003/471] =?UTF-8?q?=E5=9C=A8=E7=BA=BF=E5=AE=A2=E6=9C=8D?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=EF=BC=8C=E5=9B=A2=E4=BD=93=E9=A2=84=E7=BA=A6?= =?UTF-8?q?=E9=9A=90=E8=97=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/index.wxml | 4 ++-- pages/user/user.js | 16 ++++++++++++++++ pages/user/user.wxml | 7 +++++-- 3 files changed, 23 insertions(+), 4 deletions(-) diff --git a/pages/index/index.wxml b/pages/index/index.wxml index ed4f960..ca7f05b 100644 --- a/pages/index/index.wxml +++ b/pages/index/index.wxml @@ -189,11 +189,11 @@ 文旅单位 - 团体预约 - + --> diff --git a/pages/user/user.js b/pages/user/user.js index f61e938..e29318d 100644 --- a/pages/user/user.js +++ b/pages/user/user.js @@ -77,6 +77,22 @@ Page({ pagePoint: function(e){ util.pagePoint(e) }, + phoneCall:function(){ + wx.showModal({ + cancelColor: 'cancelColor', + title:'呼叫人工客服', + content:'0512-66555111', + success:function(res){ + if (res.cancel) { + return + }else{ + wx.makePhoneCall({ + phoneNumber:'0512-66555111', + }) + } + } + }) + }, /** * 生命周期函数--监听页面隐藏 diff --git a/pages/user/user.wxml b/pages/user/user.wxml index 3e3cabb..942e837 100644 --- a/pages/user/user.wxml +++ b/pages/user/user.wxml @@ -55,9 +55,12 @@ - + + + 呼叫人工客服 + 我的卡券 From d1f36bac6a903828e9d3101d59ed92f0554c78ed Mon Sep 17 00:00:00 2001 From: chenkainan Date: Mon, 19 Sep 2022 17:13:48 +0800 Subject: [PATCH 004/471] =?UTF-8?q?=E7=89=88=E6=9C=AC=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index f259ff8..cb6df27 100644 --- a/app.js +++ b/app.js @@ -22,7 +22,7 @@ App({ unique_key: "wechatxcx" }).then(res => { let data = JSON.parse(res.data); - data.isTest = data.isTest38?true:false; + data.isTest = data.isTest39?true:false; this.globalData.configJson = data }) From 7ff2e64d28edaa1bd34bf6031b87de02b100f142 Mon Sep 17 00:00:00 2001 From: caichunsheng Date: Tue, 20 Sep 2022 11:07:55 +0800 Subject: [PATCH 005/471] =?UTF-8?q?=E4=BA=BA=E5=B7=A5=E5=AE=A2=E6=9C=8D?= =?UTF-8?q?=E4=BF=AE=E5=A4=8Dios=E4=B8=8D=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/user/user.js | 1 - 1 file changed, 1 deletion(-) diff --git a/pages/user/user.js b/pages/user/user.js index e29318d..bd63679 100644 --- a/pages/user/user.js +++ b/pages/user/user.js @@ -79,7 +79,6 @@ Page({ }, phoneCall:function(){ wx.showModal({ - cancelColor: 'cancelColor', title:'呼叫人工客服', content:'0512-66555111', success:function(res){ From 8914bd9ba18eab48987bafa6eb614319930b210b Mon Sep 17 00:00:00 2001 From: caichunsheng Date: Tue, 27 Sep 2022 10:52:45 +0800 Subject: [PATCH 006/471] =?UTF-8?q?=E5=B9=BF=E5=91=8A,=E5=AE=A2=E6=9C=8D?= =?UTF-8?q?=E5=B7=A5=E4=BD=9C=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/index.js | 22 +++++++++++++++------- pages/user/user.js | 2 +- 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/pages/index/index.js b/pages/index/index.js index 6a0d026..0f20cc1 100644 --- a/pages/index/index.js +++ b/pages/index/index.js @@ -327,9 +327,17 @@ Page({ gotoPath: function (e) { console.log(e) if (e.currentTarget.dataset.event) { - this.pagePoint({ - event: e.currentTarget.dataset.event - }, 1) + if (e.currentTarget.dataset.event=='gongyeyuanqu_click') { + wx.navigateToMiniProgram({ + appId: 'wxd323e63a10aa6865', + path: 'pages/home/index' + }) + return + }else{ + this.pagePoint({ + event: e.currentTarget.dataset.event + }, 1) + } } if (e.currentTarget.dataset.title == '书香借阅') { wx.navigateToMiniProgram({ @@ -479,7 +487,7 @@ Page({ } break; case 3: - if ((item.tdata.indexOf('http://') != -1 || item.tdata.indexOf('https://') != -1) && item.tdata.indexOf('m.cloud.sz-trip.com') == -1) { + if ((item.tdata.url.indexOf('http://') != -1 || item.tdata.url.indexOf('https://') != -1) && item.tdata.url.indexOf('m.cloud.sz-trip.com') == -1) { // 外部h5 console.log(item.tdata) app.globalData.weburl = item.tdata; @@ -487,7 +495,7 @@ Page({ url: "/pages/pbService/web/index" }) } else { - let page = item.tdata.split("/"); + let page = item.tdata.url.split("/"); page = page[page.length - 1].split("?") console.log(page[0]) let url = this.data.urltopage[page[0]]; @@ -644,7 +652,7 @@ Page({ } break; case 3: - if ((item.tdata.indexOf('http://') != -1 || item.tdata.indexOf('https://') != -1) && item.tdata.indexOf('m.cloud.sz-trip.com') == -1) { + if ((item.tdata.url.indexOf('http://') != -1 || item.tdata.url.indexOf('https://') != -1) && item.tdata.url.indexOf('m.cloud.sz-trip.com') == -1) { // 外部h5 console.log(item.tdata) app.globalData.weburl = item.tdata; @@ -652,7 +660,7 @@ Page({ url: "/pages/pbService/web/index" }) } else { - let page = item.tdata.split("/"); + let page = item.tdata.url.split("/"); page = page[page.length - 1].split("?") console.log(page[0]) let url = this.data.urltopage[page[0]]; diff --git a/pages/user/user.js b/pages/user/user.js index bd63679..ed85eca 100644 --- a/pages/user/user.js +++ b/pages/user/user.js @@ -80,7 +80,7 @@ Page({ phoneCall:function(){ wx.showModal({ title:'呼叫人工客服', - content:'0512-66555111', + content:'0512-66555111\n客服服务时间:08:30-17:30', success:function(res){ if (res.cancel) { return From 456f0e8461421ec99a9dd62497e00984dbc05f01 Mon Sep 17 00:00:00 2001 From: caichunsheng Date: Tue, 27 Sep 2022 18:22:54 +0800 Subject: [PATCH 007/471] =?UTF-8?q?=E5=B9=BF=E5=91=8A,=E5=A4=9A=E4=BA=A7?= =?UTF-8?q?=E5=93=81=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/component/TitleHeader.js | 12 ++++--- pages/index/index.js | 10 +++--- pages/info/sceneProductInfo/index.js | 47 ++++++++++++++------------ pages/info/sceneProductInfo/index.wxml | 33 +++++++++++++++++- 4 files changed, 69 insertions(+), 33 deletions(-) diff --git a/pages/component/TitleHeader.js b/pages/component/TitleHeader.js index 06a72a9..1bb59d9 100644 --- a/pages/component/TitleHeader.js +++ b/pages/component/TitleHeader.js @@ -75,15 +75,17 @@ Component({ }) } else if (pages[pages.length-1].route.indexOf('orderList') != -1){ + console.log(11111); wx.navigateTo({ url: '/pages/user/cartlist/list' }) } - else if (pages[pages.length-1].route.indexOf('scene') != -1){ - wx.reLaunch({ - url: "/pages/user/cartlist/list" - }) - } + // else if (pages[pages.length-1].route.indexOf('scene') != -1){ + // console.log(22222); + // wx.reLaunch({ + // url: "/pages/user/cartlist/list" + // }) + // } else if (pages.length>1){ wx.navigateBack({ delta: 1 diff --git a/pages/index/index.js b/pages/index/index.js index 0f20cc1..92c95fa 100644 --- a/pages/index/index.js +++ b/pages/index/index.js @@ -371,7 +371,7 @@ Page({ event: e.currentTarget.dataset.event }, 1) } - let url = e.currentTarget.dataset.url; + let url = e.currentTarget.dataset.tdata.url; app.globalData.weburl = url; wx.navigateTo({ url: "/pages/pbService/web/index" @@ -490,7 +490,7 @@ Page({ if ((item.tdata.url.indexOf('http://') != -1 || item.tdata.url.indexOf('https://') != -1) && item.tdata.url.indexOf('m.cloud.sz-trip.com') == -1) { // 外部h5 console.log(item.tdata) - app.globalData.weburl = item.tdata; + app.globalData.weburl = item.tdata.url; wx.navigateTo({ url: "/pages/pbService/web/index" }) @@ -510,7 +510,7 @@ Page({ url: url, }) } else { - app.globalData.weburl = item.tdata; + app.globalData.weburl = item.tdata.url; wx.navigateTo({ url: "/pages/pbService/web/index" }) @@ -655,7 +655,7 @@ Page({ if ((item.tdata.url.indexOf('http://') != -1 || item.tdata.url.indexOf('https://') != -1) && item.tdata.url.indexOf('m.cloud.sz-trip.com') == -1) { // 外部h5 console.log(item.tdata) - app.globalData.weburl = item.tdata; + app.globalData.weburl = item.tdata.url; wx.navigateTo({ url: "/pages/pbService/web/index" }) @@ -675,7 +675,7 @@ Page({ url: url, }) } else { - app.globalData.weburl = item.tdata; + app.globalData.weburl = item.tdata.url; wx.navigateTo({ url: "/pages/pbService/web/index" }) diff --git a/pages/info/sceneProductInfo/index.js b/pages/info/sceneProductInfo/index.js index 41e4c81..0b8bfa8 100644 --- a/pages/info/sceneProductInfo/index.js +++ b/pages/info/sceneProductInfo/index.js @@ -25,13 +25,14 @@ Page({ showAllowance: false, allowance_data:null, //购物车数量 - producNum: 1, - skuIndex: 0, - aniSkuIndex: -1, - cartCount: 0, - cartImgInfo: null, - cartTop: 0, - top: 0 + producNum: 1, + skuIndex: 0, + aniSkuIndex: -1, + cartCount: 0, + cartImgInfo: null, + cartTop: 0, + top: 0, + skuList:[],//立即预定的列表 }, /** @@ -96,7 +97,16 @@ Page({ this.setData({ info: res.data }) + var arr = [] console.log(this.data.info); + res.data.product.forEach(item => { + item.sku.forEach(itemB=>{ + arr.push(itemB) + }) + }); + this.setData({ + skuList:arr + }) util.pagePoint({ event: 'scene_view', param: { type: res.data.type, id: res.data.id } }, 1) this.BroswerRecord() }) @@ -118,7 +128,6 @@ Page({ this.setData({ ask: res.data.rows }) - console.log(res) }) // 获取评价列表 commonApi._post("scene/get_comment", { @@ -171,7 +180,6 @@ Page({ }, like: function () { let id = this.data.id, isLike = Number(this.data.isLike); - console.log(isLike) commonApi.user_post(isLike != 1 ? "scene/scene_collection" : "scene/scene_cancel_collection", { scene_id: id }).then(res => { @@ -237,14 +245,12 @@ Page({ // }) // }, selectSku: function (e) { - console.log(e) let index = e.currentTarget.dataset.index; this.setData({ skuIndex: index }) }, order: function (e) { - console.log(e,e.currentTarget.dataset.product.sku[this.data.skuIndex]) // console.log(this.data.info,this.data.skuFlag) app.globalData.postProduct = [] app.globalData.list = [] @@ -261,16 +267,20 @@ Page({ wx.setStorageSync('order_from', 'scene_order_submit') app.globalData.couponInfo = null; app.globalData.retailId = this.data.retailId; - // let sku = e.currentTarget.dataset.sku,product = e.currentTarget.dataset.product; - let sku = {sku:e.currentTarget.dataset.product.sku[this.data.skuIndex]},product = {product: e.currentTarget.dataset.product} - app.globalData.product = {...sku,...product} + // let sku = e.currentTarget.dataset.sku,product = e.currentTarget.dataset.product; + // let sku = {sku:e.currentTarget.dataset.product.sku[this.data.skuIndex]},product = {product: e.currentTarget.dataset.product} + let sku = {sku:this.data.skuList[this.data.skuIndex]},product = {product: e.currentTarget.dataset.product} + app.globalData.product = {...sku,...product} + console.log(this.data.skuIndex); + console.log(app.globalData.product); // app.globalData.product = e.currentTarget.dataset; wx.navigateTo({ url: '/pages/order/scene/index', }) }else { + console.log('111'); commonApi.user_post("cart/add_sku", { - sku_id: this.data.info.product[0].sku[this.data.skuIndex].id, + sku_id: this.data.skuList[this.data.skuIndex].id, num: this.data.producNum }).then(res => { if (res.code == 1) { @@ -280,7 +290,6 @@ Page({ }) }) // 加动效 - console.log(this.data.skuIndex) this.setData({ skuFlag: null, aniSkuIndex: this.data.skuIndex, @@ -573,7 +582,6 @@ Page({ }, //加入购物车 showCart: function () { - console.log(this.data) if (this.data.info.product[0].sku.length == 0) { wx.showToast({ title: '该产品未设置规格,不能加购', @@ -586,7 +594,6 @@ Page({ }) let that = this wx.createSelectorQuery().select('#skuImg').boundingClientRect(function (res) { - console.log(res) that.setData({ cartImgInfo: 'top:' + res.top + 'px;left:' + res.left + 'px;' }) @@ -646,7 +653,6 @@ Page({ */ onShow: function () { commonApi.user_post('cart/get_list', {}).then(res => { - console.log(res,res.data) this.setData({ cartCount: res.data.length }) @@ -661,15 +667,12 @@ Page({ commonApi.user_post("product/getProductAllowancePrice", { product_code: this.data.product[0].product.product_code }).then(resTwo => { - console.log(resTwo) if (resTwo && resTwo.code == 1) { this.setData({ allowance_data: resTwo.data }) let spread_price = Number(this.data.allowance_data.discount_limit_price - this.data.allowance_data.user_used_price) let sInfo = this.data.product[0].sku - console.log(9999, this.data.allowance_data.discount_rate / 100 * sInfo.price) - console.log(9999, spread_price) if (spread_price > 0) { if (spread_price < this.data.allowance_data.discount_rate / 100 * sInfo.price) { this.setData({ diff --git a/pages/info/sceneProductInfo/index.wxml b/pages/info/sceneProductInfo/index.wxml index 4ff2b60..c592eca 100644 --- a/pages/info/sceneProductInfo/index.wxml +++ b/pages/info/sceneProductInfo/index.wxml @@ -79,7 +79,7 @@ {{cartCount}} - + + + + + + + + + {{skuList[skuIndex].price/100}} + + 补贴价:¥{{ (1 - allowance_data.discount_rate / 100) * info.sku[skuIndex].price / 100 }} + + 已选择:{{skuList[skuIndex].sku_name}} + + + + {{item.sku_name}} + + + 数量 + + {{producNum}} + + + + + {{skuFlag=='cart'?'确认':'立即购买'}} + + 该商品已下架 + + 行程规划 - 再次购买 + 再次购买 取消预订 取消预订 diff --git a/pages/user/order/sceneOrderInfo/index.js b/pages/user/order/sceneOrderInfo/index.js index 8c64c1e..043e2c6 100644 --- a/pages/user/order/sceneOrderInfo/index.js +++ b/pages/user/order/sceneOrderInfo/index.js @@ -21,7 +21,13 @@ Page({ codeImgs:[], minute:0, second:0, - cardTypes:{} + cardTypes:{}, + cxr1:false, + cxr1Text:'更多', + sysm:false, + sysmText:'更多', + sysm2:false, + sysm2Text:'更多', }, /** @@ -183,7 +189,46 @@ Page({ return; }) }, + goDetail(e){ + console.log(e.currentTarget.dataset); + let item = e.currentTarget.dataset.set + if (item.product_model=='ticket') { + wx.navigateTo({ + url:"/pages/info/sceneProductInfo/index?id="+item.scene_id + }) + }else if (item.product_model=='post') { + wx.navigateTo({ + url:"/pages/info/postProductInfo/index?id="+item.product_id + }) + } + }, + showMsg(e){ + console.log(e.currentTarget.dataset); + let msg = e.currentTarget.dataset.msg + switch (msg) { + case 'cxr1': + this.setData({ + cxr1:!this.data.cxr1, + cxr1Text:this.data.cxr1?'更多':'收起', + }) + break; + case 'sysm1': + this.setData({ + sysm:!this.data.sysm, + sysmText:this.data.sysm?'更多':'收起', + }) + break; + case 'sysm2': + this.setData({ + sysm2:!this.data.sysm2, + sysm2Text:this.data.sysm2?'更多':'收起', + }) + break; + default: + break; + } + }, /** * 生命周期函数--监听页面初次渲染完成 */ @@ -213,7 +258,7 @@ Page({ this.setData({ isRefund:state.indexOf("REFUND")!=-1, info:res.data, - product_model:res.data.order_product_list[0].product_model + product_model:"ticket"||res.data.order_product_list[0].product_model }) this.getCodeImg() // 获取行程规划 diff --git a/pages/user/order/sceneOrderInfo/index.wxml b/pages/user/order/sceneOrderInfo/index.wxml index dbaaa16..3ba25d5 100644 --- a/pages/user/order/sceneOrderInfo/index.wxml +++ b/pages/user/order/sceneOrderInfo/index.wxml @@ -24,6 +24,8 @@ 您的订单已取消,您可以通过苏州文旅总入口再次预订 预定已成功,祝您出游愉快 订单号:{{info.order_id}} + 下单时间:{{info.create_time}} + ¥{{info.paid_money/100}} @@ -33,7 +35,7 @@ 剩余时间:00:{{minute}}:{{second}} 再次购买 - 行程规划 + 行程规划 退款详情 取消预订 取消预订 @@ -42,46 +44,73 @@ - + - {{item.product_title}} - 出行日期:{{item.use_date}} - - - - - {{item.sku_name}} - x{{item.product_num}} - - - - 出行人 - - - - 姓名: {{item.name}} - - - - {{cardTypes[item.idcard_type]}}:{{item.id_number}} - - - - 手机号: {{item.tel}} - + + {{item.product_title}} + + + + {{item.sku_name}} + x{{item.product_num}} + + + {{ item.state_text }} + + + 出行日期: + {{item.use_date}} {{ item.start_time }}-{{ item.end_time }} + + + + 出行人信息 + {{cxr1Text}} + + + + + 姓名: {{item.name}} + + + + {{cardTypes[item.idcard_type]}}:{{item.id_number}} + + + + 手机号: {{item.tel}} + + + + + + + 使用说明 + {{sysmText}} + + + + + + 使用说明 + {{sysm2Text}} + + + + 行程规划 + - + - + + --> 联系客服 diff --git a/pages/user/order/sceneOrderInfo/index.wxss b/pages/user/order/sceneOrderInfo/index.wxss index 91d860c..6ba4e9b 100644 --- a/pages/user/order/sceneOrderInfo/index.wxss +++ b/pages/user/order/sceneOrderInfo/index.wxss @@ -58,8 +58,9 @@ page { justify-content: space-between; align-items: center; min-height: 45rpx; - color: #333; - font-size: 26rpx; + color: #000; + font-size: 30rpx; + padding-bottom:30rpx ; } .all-total-item { font-weight: bold; @@ -101,6 +102,20 @@ page { font-size: 30rpx; font-weight: bold; margin-bottom: 10rpx; + display: flex; + text-align: center; + justify-content: space-between; +} +.box-title.tflex{ + display: flex; + align-items: center; + justify-content: space-between; +} +.title-content{ + overflow-x: hidden; + overflow-y: inherit; + text-overflow: ellipsis; + white-space: nowrap; } .scene-box { display: flex; @@ -286,4 +301,16 @@ page { font-size: 24rpx; color: #999; margin-top: 30rpx; +} +.row{ + display: flex; + align-items: center; + justify-content:space-between; + padding-bottom: 30rpx; +} +.showmsg{ + display: none; +} +.btn{ + float: right; } \ No newline at end of file From 4da5d03fa9dd601707bdb50aa44b9f0e81661612 Mon Sep 17 00:00:00 2001 From: chenkainan Date: Mon, 10 Oct 2022 09:15:51 +0800 Subject: [PATCH 010/471] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 2 +- pages/index/index.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app.js b/app.js index cb6df27..1fdd3c6 100644 --- a/app.js +++ b/app.js @@ -22,7 +22,7 @@ App({ unique_key: "wechatxcx" }).then(res => { let data = JSON.parse(res.data); - data.isTest = data.isTest39?true:false; + data.isTest = data.isTest40?true:false; this.globalData.configJson = data }) diff --git a/pages/index/index.js b/pages/index/index.js index 92c95fa..0e9d25a 100644 --- a/pages/index/index.js +++ b/pages/index/index.js @@ -366,12 +366,13 @@ Page({ } }, gotoUrl: function (e) { + console.log(e) if (e.currentTarget.dataset.event) { this.pagePoint({ event: e.currentTarget.dataset.event }, 1) } - let url = e.currentTarget.dataset.tdata.url; + let url = e.currentTarget.dataset.url; app.globalData.weburl = url; wx.navigateTo({ url: "/pages/pbService/web/index" From 07441189df44bc3a4b23c59f1b17e6d02cbdb868 Mon Sep 17 00:00:00 2001 From: chenkainan Date: Mon, 10 Oct 2022 09:20:38 +0800 Subject: [PATCH 011/471] =?UTF-8?q?=E7=89=88=E6=9C=AC=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 1fdd3c6..5acc553 100644 --- a/app.js +++ b/app.js @@ -22,7 +22,7 @@ App({ unique_key: "wechatxcx" }).then(res => { let data = JSON.parse(res.data); - data.isTest = data.isTest40?true:false; + data.isTest = data.isTest41?true:false; this.globalData.configJson = data }) From e9048a7c2584b82c471e5fd0800d35fa13b71298 Mon Sep 17 00:00:00 2001 From: caichunsheng Date: Mon, 10 Oct 2022 13:23:07 +0800 Subject: [PATCH 012/471] =?UTF-8?q?=E8=AE=A2=E5=8D=95=E8=AF=A6=E6=83=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/user/order/sceneOrderInfo/index.wxml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/user/order/sceneOrderInfo/index.wxml b/pages/user/order/sceneOrderInfo/index.wxml index 3ba25d5..89a50c3 100644 --- a/pages/user/order/sceneOrderInfo/index.wxml +++ b/pages/user/order/sceneOrderInfo/index.wxml @@ -46,7 +46,7 @@ - + {{item.product_title}} @@ -88,7 +88,7 @@ 使用说明 {{sysmText}} - + From 8dfdbc8543f778a1c56eba71816da87f557cbdfa Mon Sep 17 00:00:00 2001 From: chenkainan Date: Tue, 11 Oct 2022 10:15:57 +0800 Subject: [PATCH 013/471] =?UTF-8?q?=E6=96=87=E6=A1=A3=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/info/sceneProductInfo/index.wxml | 6 +++--- pages/list/theatre/index.wxml | 3 ++- pages/order/components/date/index.wxml | 2 +- pages/order/show/index.wxml | 2 +- utils/filter.wxs | 6 +++++- 5 files changed, 12 insertions(+), 7 deletions(-) diff --git a/pages/info/sceneProductInfo/index.wxml b/pages/info/sceneProductInfo/index.wxml index 71178ad..ae91060 100644 --- a/pages/info/sceneProductInfo/index.wxml +++ b/pages/info/sceneProductInfo/index.wxml @@ -1,6 +1,6 @@ - + @@ -51,7 +51,7 @@ 预订须知>> - {{sku.price?sku.price/100:0}} + {{sku.price?tool.toFix(sku.price):0}} @@ -117,7 +117,7 @@ - {{skuList[skuIndex].price/100}} + {{tool.toFix(skuList[skuIndex].price)}} 补贴价:¥{{ (1 - allowance_data.discount_rate / 100) * info.sku[skuIndex].price / 100 }} diff --git a/pages/list/theatre/index.wxml b/pages/list/theatre/index.wxml index 61ded54..ae70777 100644 --- a/pages/list/theatre/index.wxml +++ b/pages/list/theatre/index.wxml @@ -1,4 +1,5 @@ + 综合排序 @@ -14,7 +15,7 @@ {{item.subtitle?item.subtitle:""}} {{item}} - {{item.price?item.price/100:0}} + {{item.price?tool.toFix(item.price):0}} diff --git a/pages/order/components/date/index.wxml b/pages/order/components/date/index.wxml index 85a2a7a..b390736 100644 --- a/pages/order/components/date/index.wxml +++ b/pages/order/components/date/index.wxml @@ -18,7 +18,7 @@ - {{item.start_time}}-{{item.end_time}} 有票 无票不开放({{'余票'+item.stock_number}}) + {{item.start_time}}-{{item.end_time}} 有票 售罄不开放({{'余票'+item.stock_number}}) - + + + @@ -61,10 +63,11 @@ {{item.title}} {{item.address}} {{item.price/100}} - 免费 + + 0.00 + + + + 暂无内容 - - - - 暂无内容 \ No newline at end of file diff --git a/pages/list/six/index.wxss b/pages/list/six/index.wxss index 4bcfd63..01e1376 100644 --- a/pages/list/six/index.wxss +++ b/pages/list/six/index.wxss @@ -44,6 +44,7 @@ margin: 25rpx; justify-content: space-between; flex-wrap: wrap; + position: relative; } .item { width: 312rpx; @@ -127,4 +128,25 @@ } .new-icon image.yellow-shadow { box-shadow: 3rpx 6rpx 18rpx 5rpx rgba(194, 123, 20, 0.24); +} +.common-empty1 { + display: flex; + align-items: center; + justify-content: center; + flex-direction: column; + font-size: 28rpx; + color: #999; + text-align: center; + position: absolute; + left: 0; + top: 0; + right: 0; + bottom: 0; + z-index: 0; + height:328rpx; + margin-bottom:40rpx ; +} +.common-empty1 image { + width: 328rpx; + margin-bottom: 20rpx; } \ No newline at end of file diff --git a/pages/list/strategy/index.js b/pages/list/strategy/index.js index f23c328..723c474 100644 --- a/pages/list/strategy/index.js +++ b/pages/list/strategy/index.js @@ -11,7 +11,7 @@ Page({ page_no:1, total:1, keywords:"", - type:1, + type:0, showKeyword:"" }, diff --git a/pages/list/strategy/index.wxml b/pages/list/strategy/index.wxml index 68112d7..1ca2425 100644 --- a/pages/list/strategy/index.wxml +++ b/pages/list/strategy/index.wxml @@ -7,18 +7,19 @@ - - - - - 官方手册 - + 达人攻略 + + + + + 官方手册 + diff --git a/pages/map/index.json b/pages/map/index.json index 9f79876..074fb77 100644 --- a/pages/map/index.json +++ b/pages/map/index.json @@ -1,5 +1,7 @@ { "usingComponents": { - "search":"/pages/component/SearchHeader" + "search":"/pages/component/SearchHeader", + "title":"/pages/component/TitleHeader" + } } \ No newline at end of file diff --git a/pages/map/index.wxml b/pages/map/index.wxml index d74c8cb..fb97d33 100644 --- a/pages/map/index.wxml +++ b/pages/map/index.wxml @@ -1,5 +1,6 @@ + diff --git a/pages/user/likes/index.js b/pages/user/likes/index.js index 3e901c1..1a48a93 100644 --- a/pages/user/likes/index.js +++ b/pages/user/likes/index.js @@ -6,7 +6,7 @@ Page({ * 页面的初始数据 */ data: { - type:1, + type:2, list:[], total:1 }, diff --git a/pages/user/likes/index.wxml b/pages/user/likes/index.wxml index 0706c65..8a55177 100644 --- a/pages/user/likes/index.wxml +++ b/pages/user/likes/index.wxml @@ -1,8 +1,8 @@ - 产品 景点 + 产品 diff --git a/pages/user/order/team/list.wxml b/pages/user/order/team/list.wxml index 99f3ece..7a3f7ce 100644 --- a/pages/user/order/team/list.wxml +++ b/pages/user/order/team/list.wxml @@ -1,5 +1,5 @@ - + diff --git a/pages/user/personalInfo/index.js b/pages/user/personalInfo/index.js index cd10b9d..09989c5 100644 --- a/pages/user/personalInfo/index.js +++ b/pages/user/personalInfo/index.js @@ -15,7 +15,7 @@ Page({ title: "为提供相应的产品和服务,并保障系统的安全稳定运行,我们可能会收集你的以下个人信息", childList: [], flag: true, - nowTitle: "" + nowTitle: "个人信息收集清单" }, /** diff --git a/pages/user/user.wxml b/pages/user/user.wxml index 942e837..6fb1606 100644 --- a/pages/user/user.wxml +++ b/pages/user/user.wxml @@ -50,7 +50,7 @@ - 团体订单 + 团体预约订单 + {{title}} - - {{info}} - + + {{info}} + \ No newline at end of file From 7d6a6d0fda5d64a4d406f433c63ce0f1f745ed6d Mon Sep 17 00:00:00 2001 From: chenkainan Date: Tue, 11 Oct 2022 14:57:23 +0800 Subject: [PATCH 015/471] =?UTF-8?q?=E6=96=87=E6=A1=A3=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/index.wxml | 4 ++-- pages/info/postProductInfo/index.wxml | 2 +- pages/info/roadInfo/index.wxml | 2 +- pages/list/food/index.js | 27 +++++++++++++++++++++++---- pages/list/food/index.wxml | 2 +- pages/list/food/index.wxss | 7 ++++--- pages/list/hotel/index.wxml | 2 +- pages/list/scene/index.js | 2 +- pages/list/techan/index.wxml | 6 +++--- pages/pbService/feiyi/index.wxml | 2 +- 10 files changed, 38 insertions(+), 18 deletions(-) diff --git a/pages/index/index.wxml b/pages/index/index.wxml index ca7f05b..178a657 100644 --- a/pages/index/index.wxml +++ b/pages/index/index.wxml @@ -155,9 +155,9 @@ - + - 非遗传承 + 非遗鉴赏 diff --git a/pages/list/food/index.wxss b/pages/list/food/index.wxss index b49988e..554f85d 100644 --- a/pages/list/food/index.wxss +++ b/pages/list/food/index.wxss @@ -57,7 +57,7 @@ page { } .infos .title { line-height: 47rpx; - height: 94rpx; + /* height: 94rpx; */ font-size: 35rpx; color: #202020; font-weight: 500; @@ -76,7 +76,7 @@ page { .bottom-infos { display: flex; align-items: center; - justify-content: space-between; + /* justify-content: space-between; */ } .bottom-infos .tag { position: relative; @@ -85,6 +85,7 @@ page { font-weight: 500; line-height: 39rpx; height: 39rpx; + margin-right: 10rpx; } .bottom-infos .tag::after { content: "1"; @@ -120,7 +121,7 @@ page { font-size: 40rpx; position: absolute; right: 0; - bottom: 5rpx; + bottom: 30rpx; z-index: 1; } .order-btn { diff --git a/pages/list/hotel/index.wxml b/pages/list/hotel/index.wxml index 48cf1ef..855294c 100644 --- a/pages/list/hotel/index.wxml +++ b/pages/list/hotel/index.wxml @@ -12,7 +12,7 @@ - 距离排序 + 距离最近 diff --git a/pages/list/scene/index.js b/pages/list/scene/index.js index a7c5971..7b1dbeb 100644 --- a/pages/list/scene/index.js +++ b/pages/list/scene/index.js @@ -67,7 +67,7 @@ Page({ area_id:this.data.area_id }).then(res=>{ res.data.list.map(item=>{ - item.tags = item.tags?item.tags.split(","):[]; + item.tags = item.display_tags?item.display_tags.split(","):[]; item.tags = item.tags.splice(0,2); if(item.distance && item.distance>=1000){ item.distance = item.distance/1000 + "km" diff --git a/pages/list/techan/index.wxml b/pages/list/techan/index.wxml index 875b22e..7a992ad 100644 --- a/pages/list/techan/index.wxml +++ b/pages/list/techan/index.wxml @@ -1,6 +1,6 @@ - + @@ -19,13 +19,13 @@ {{item.address}} - {{item.start_price/100}} + {{tool.toFix(item.start_price)}} {{item.title}} - {{item.price/100}}{{item.market_price/100}} + {{tool.toFix(item.price)}}{{item.market_price/100}} diff --git a/pages/pbService/feiyi/index.wxml b/pages/pbService/feiyi/index.wxml index 8a49db4..a0b2b03 100644 --- a/pages/pbService/feiyi/index.wxml +++ b/pages/pbService/feiyi/index.wxml @@ -1,5 +1,5 @@ - + {{types[typeIndex].class_name}} From e1b367cc05bef6a71395966376de26136f8e12d3 Mon Sep 17 00:00:00 2001 From: chenkainan Date: Wed, 12 Oct 2022 14:07:28 +0800 Subject: [PATCH 016/471] =?UTF-8?q?=E5=A4=AA=E4=BB=93=E3=80=81=E5=B7=A5?= =?UTF-8?q?=E4=B8=9A=E5=9B=AD=E5=8C=BA=E8=B7=B3=E8=BD=AC=E5=85=B6=E4=BB=96?= =?UTF-8?q?=E5=B0=8F=E7=A8=8B=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 2 +- pages/index/index.js | 26 +++++++++++++------------- pages/list/six/index.js | 13 +++++++++++++ pages/list/six/index.wxml | 2 +- 4 files changed, 28 insertions(+), 15 deletions(-) diff --git a/app.js b/app.js index cd1024b..eced86f 100644 --- a/app.js +++ b/app.js @@ -22,7 +22,7 @@ App({ unique_key: "wechatxcx" }).then(res => { let data = JSON.parse(res.data); - data.isTest = data.isTest41?true:false; + data.isTest = data.isTest42?true:false; this.globalData.configJson = data }) diff --git a/pages/index/index.js b/pages/index/index.js index 0e9d25a..c823537 100644 --- a/pages/index/index.js +++ b/pages/index/index.js @@ -326,19 +326,19 @@ Page({ }, gotoPath: function (e) { console.log(e) - if (e.currentTarget.dataset.event) { - if (e.currentTarget.dataset.event=='gongyeyuanqu_click') { - wx.navigateToMiniProgram({ - appId: 'wxd323e63a10aa6865', - path: 'pages/home/index' - }) - return - }else{ - this.pagePoint({ - event: e.currentTarget.dataset.event - }, 1) - } - } + // if (e.currentTarget.dataset.event) { + // if (e.currentTarget.dataset.event=='gongyeyuanqu_click') { + // wx.navigateToMiniProgram({ + // appId: 'wxd323e63a10aa6865', + // path: 'pages/home/index' + // }) + // return + // }else{ + // this.pagePoint({ + // event: e.currentTarget.dataset.event + // }, 1) + // } + // } if (e.currentTarget.dataset.title == '书香借阅') { wx.navigateToMiniProgram({ appId: 'wx165d4f1727f6bdb0', diff --git a/pages/list/six/index.js b/pages/list/six/index.js index 1966539..a3b816e 100644 --- a/pages/list/six/index.js +++ b/pages/list/six/index.js @@ -35,6 +35,19 @@ Page({ this.getTypes() }) }, + gotoPath:function(e){ + if(e.currentTarget.dataset.event.area_key == 'taicang'){ + wx.navigateToMiniProgram({ + appId: 'wx8853b0d93cbca75e', + path: 'pages/home/home' + }) + }else if(e.currentTarget.dataset.event.area_key == 'gongyeyuanqu'){ + wx.navigateToMiniProgram({ + appId: 'wxd323e63a10aa6865', + path: 'pages/home/index' + }) + } + }, getTypes:function(){ // 获取苏城六纪下面的分类 commonApi._post("act/get_type_by_area",{ diff --git a/pages/list/six/index.wxml b/pages/list/six/index.wxml index e19a8a8..075a0fc 100644 --- a/pages/list/six/index.wxml +++ b/pages/list/six/index.wxml @@ -3,7 +3,7 @@ - + From 8d742a2a3488fdf5b187cc9ab58fb9ccc9ba15cd Mon Sep 17 00:00:00 2001 From: chenkainan Date: Wed, 12 Oct 2022 17:09:10 +0800 Subject: [PATCH 017/471] =?UTF-8?q?=E6=99=AF=E7=82=B9=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E5=BA=93=E5=AD=98=E6=A0=A1=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/info/sceneProductInfo/index.js | 127 ++++++++++++++------------- 1 file changed, 68 insertions(+), 59 deletions(-) diff --git a/pages/info/sceneProductInfo/index.js b/pages/info/sceneProductInfo/index.js index fc6256e..f7d0c0f 100644 --- a/pages/info/sceneProductInfo/index.js +++ b/pages/info/sceneProductInfo/index.js @@ -251,65 +251,74 @@ Page({ }) }, order: function (e) { - // console.log(this.data.info,this.data.skuFlag) - app.globalData.postProduct = [] - app.globalData.list = [] - if (this.data.skuFlag == 'order'){ - if (e.currentTarget.dataset.disable == 1) return; - util.pagePoint({ - event: 'scene_order', - param: { - type: this.data.info.type, - id: this.data.info.id - } - }, 1) - wx.setStorageSync('login_from', 'scene_order_login') - wx.setStorageSync('order_from', 'scene_order_submit') - app.globalData.couponInfo = null; - app.globalData.retailId = this.data.retailId; - // let sku = e.currentTarget.dataset.sku,product = e.currentTarget.dataset.product; - // let sku = {sku:e.currentTarget.dataset.product.sku[this.data.skuIndex]},product = {product: e.currentTarget.dataset.product} - let sku = {sku:this.data.skuList[this.data.skuIndex]},product = {product:this.data.info.product[this.data.skuList[this.data.skuIndex].proIndex]} - app.globalData.product = {...sku,...product} - wx.navigateTo({ - url: '/pages/order/scene/index', - }) - }else { - commonApi.user_post("cart/add_sku", { - sku_id: this.data.skuList[this.data.skuIndex].id, - num: this.data.producNum - }).then(res => { - if (res.code == 1) { - commonApi.user_post('cart/get_list', {}).then(res => { - this.setData({ - cartCount: res.data.length - }) - }) - // 加动效 - this.setData({ - skuFlag: null, - aniSkuIndex: this.data.skuIndex, - cartImgInfo: null - }) - setTimeout(() => { - this.setData({ - aniSkuIndex: -1 - }) - wx.showModal({ - title: "提示", - content: "去购物车结算?", - success: function (res) { - if (res.confirm) { - wx.navigateTo({ - url: '/pages/user/cartlist/list', - }) - } - } - }) - }, 650) - } - }) - } + commonApi.user_post("/product/checkStock",{ + sku_id: this.data.skuList[this.data.skuIndex].id, + }).then(res => { + console.log(res) + if(res && res.code != 1){ + return; + }else{ + // console.log(this.data.info,this.data.skuFlag) + app.globalData.postProduct = [] + app.globalData.list = [] + if (this.data.skuFlag == 'order'){ + if (e.currentTarget.dataset.disable == 1) return; + util.pagePoint({ + event: 'scene_order', + param: { + type: this.data.info.type, + id: this.data.info.id + } + }, 1) + wx.setStorageSync('login_from', 'scene_order_login') + wx.setStorageSync('order_from', 'scene_order_submit') + app.globalData.couponInfo = null; + app.globalData.retailId = this.data.retailId; + // let sku = e.currentTarget.dataset.sku,product = e.currentTarget.dataset.product; + // let sku = {sku:e.currentTarget.dataset.product.sku[this.data.skuIndex]},product = {product: e.currentTarget.dataset.product} + let sku = {sku:this.data.skuList[this.data.skuIndex]},product = {product:this.data.info.product[this.data.skuList[this.data.skuIndex].proIndex]} + app.globalData.product = {...sku,...product} + wx.navigateTo({ + url: '/pages/order/scene/index', + }) + }else { + commonApi.user_post("cart/add_sku", { + sku_id: this.data.skuList[this.data.skuIndex].id, + num: this.data.producNum + }).then(res => { + if (res.code == 1) { + commonApi.user_post('cart/get_list', {}).then(res => { + this.setData({ + cartCount: res.data.length + }) + }) + // 加动效 + this.setData({ + skuFlag: null, + aniSkuIndex: this.data.skuIndex, + cartImgInfo: null + }) + setTimeout(() => { + this.setData({ + aniSkuIndex: -1 + }) + wx.showModal({ + title: "提示", + content: "去购物车结算?", + success: function (res) { + if (res.confirm) { + wx.navigateTo({ + url: '/pages/user/cartlist/list', + }) + } + } + }) + }, 650) + } + }) + } + } + }) }, pagePoint: function (e) { util.pagePoint({ From e0142ba7c6867df4792750b26a9a3a0f55c99401 Mon Sep 17 00:00:00 2001 From: caichunsheng Date: Mon, 17 Oct 2022 15:54:04 +0800 Subject: [PATCH 018/471] =?UTF-8?q?=E5=BA=93=E5=AD=98=E5=88=A4=E6=96=AD=20?= =?UTF-8?q?=20=E9=A6=96=E9=A1=B5=E5=B9=BF=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/index.js | 5 +- pages/index/index.wxml | 2 +- pages/index/index.wxss | 4 +- pages/info/postProductInfo/index.js | 200 ++++++++++--------- pages/info/sceneProductInfo/index.js | 284 ++++++++++++++------------- 5 files changed, 260 insertions(+), 235 deletions(-) diff --git a/pages/index/index.js b/pages/index/index.js index c823537..0fcd33d 100644 --- a/pages/index/index.js +++ b/pages/index/index.js @@ -46,7 +46,7 @@ Page({ wx.hideTabBar() //这里隐藏了底部导航栏 commonApi._post("adv/getAdv", { position: 2, - type_id: 5 + type_id: 3 }).then(res => { if (res.data.length > 0) { this.setData({ @@ -191,7 +191,7 @@ Page({ //弹窗广告 commonApi._post("adv/getAdv", { position: 3, - type_id: 5 + type_id: 3 }).then(res => { if (res.data.length > 0) { this.setData({ @@ -631,7 +631,6 @@ Page({ }) }, bannerJumpNew(item) { - let that = this item = item.currentTarget.dataset.item if (item.tdata == '') return diff --git a/pages/index/index.wxml b/pages/index/index.wxml index 178a657..5be2ee0 100644 --- a/pages/index/index.wxml +++ b/pages/index/index.wxml @@ -433,7 +433,7 @@ - + diff --git a/pages/index/index.wxss b/pages/index/index.wxss index a70741b..959a2ef 100644 --- a/pages/index/index.wxss +++ b/pages/index/index.wxss @@ -684,11 +684,11 @@ } .alertavd{ width: 500rpx; - height: 500rpx; + height: 700rpx; position: fixed; top: 50%; left: 50%; - transform: translate(-250rpx,-150rpx); + transform: translate(-250rpx,-300rpx); z-index: 999; } diff --git a/pages/info/postProductInfo/index.js b/pages/info/postProductInfo/index.js index b2dfec6..ec827b6 100644 --- a/pages/info/postProductInfo/index.js +++ b/pages/info/postProductInfo/index.js @@ -37,7 +37,8 @@ Page({ * 生命周期函数--监听页面加载 */ onLoad: function (options) { - let rect = wx.getMenuButtonBoundingClientRect(), that = this; + let rect = wx.getMenuButtonBoundingClientRect(), + that = this; let height = (rect.top - device.statusBarHeight) * 2 + rect.height + device.statusBarHeight; this.setData({ top: height, @@ -45,7 +46,7 @@ Page({ }) // 获取购物车按钮的位置 wx.createSelectorQuery().select('#cart').boundingClientRect(function (res) { - console.log(res) + console.log(res) that.setData({ cartTop: res.top }) @@ -87,7 +88,7 @@ Page({ }).then(res => { res.data.list.map(item => { item.rate = Number(item.rate) - item.create_time = item.create_time.substring(0,10) + item.create_time = item.create_time.substring(0, 10) }) this.setData({ @@ -95,15 +96,15 @@ Page({ commentTotal: res.data.total }) let arr = this.data.comment - arr.map((item)=>{ + arr.map((item) => { if (item.img_list) { item.img_list = item.img_list.split(',') - }else{ - item.img_list=[] + } else { + item.img_list = [] } }) this.setData({ - comment:arr + comment: arr }) }) @@ -123,16 +124,15 @@ Page({ source_id: this.data.info.id, url: "/pages/info/postProductInfo/index?id=" + this.data.info.id, uuid: app.globalData.uuid - }).then(res => { - }) - } - else { + }).then(res => {}) + } else { this.BroswerRecord(); } }, 500) }, like: function () { - let id = this.data.id, isLike = this.data.isLike; + let id = this.data.id, + isLike = this.data.isLike; commonApi.user_post("product/" + (isLike == 1 ? "product_cancel_collection" : "product_collection"), { product_id: id }).then(res => { @@ -144,10 +144,11 @@ Page({ }) }, changeMenu: function (e) { - let index = e.currentTarget.dataset.index, that = this; - const query = wx.createSelectorQuery(); //创建节点查询器 - query.select("#box" + index).boundingClientRect() //选择toViewid获取位置信息 - query.selectViewport().scrollOffset() //获取页面查询位置的 + let index = e.currentTarget.dataset.index, + that = this; + const query = wx.createSelectorQuery(); //创建节点查询器 + query.select("#box" + index).boundingClientRect() //选择toViewid获取位置信息 + query.selectViewport().scrollOffset() //获取页面查询位置的 query.exec(function (res) { let scrollTop = res[0].top + res[1].scrollTop - 110 * ratio - that.data.top; wx.pageScrollTo({ @@ -160,7 +161,8 @@ Page({ }) }, onPageScroll: function (e) { - let that = this, height = this.data.top; + let that = this, + height = this.data.top; let topHeight = height; wx.createSelectorQuery().select('#menus').boundingClientRect(function (rect) { if (rect.top <= topHeight) { @@ -168,30 +170,27 @@ Page({ that.setData({ fixed: true }) - } - else { + } else { that.setData({ fixed: false }) } // 滚动时判断滚动到哪个部分了 - const query = wx.createSelectorQuery(); //创建节点查询器 - query.select("#box1").boundingClientRect() //选择toViewid获取位置信息 - query.select("#box2").boundingClientRect() //选择toViewid获取位置信息 - query.select("#box3").boundingClientRect() //选择toViewid获取位置信息 + const query = wx.createSelectorQuery(); //创建节点查询器 + query.select("#box1").boundingClientRect() //选择toViewid获取位置信息 + query.select("#box2").boundingClientRect() //选择toViewid获取位置信息 + query.select("#box3").boundingClientRect() //选择toViewid获取位置信息 let minHeight = that.data.fixed ? (110 * ratio + height) : topHeight; query.exec(function (res) { if (res[2].top < minHeight) { that.setData({ type: 3 }) - } - else if (res[1].top < minHeight) { + } else if (res[1].top < minHeight) { that.setData({ type: 2 }) - } - else { + } else { that.setData({ type: 1 }) @@ -256,67 +255,75 @@ Page({ }) }, order: function () { - app.globalData.postProduct = null - app.globalData.list = [] - if (this.data.skuFlag == 'order') { - util.pagePoint({ - event: 'product_order', - param: { - id: this.data.info.id, - type: this.data.info.type - } - }, 1) - wx.setStorageSync('login_from', 'product_order_login') - wx.setStorageSync('order_from', 'product_order_submit') - app.globalData.couponInfo = null; - // 购买 - let product = [{ - product: this.data.info, - sku: this.data.info.sku[this.data.skuIndex], - productNum: this.data.producNum - }]; - app.globalData.postProduct = product; - app.globalData.retailId = this.data.retailId; - wx.navigateTo({ - url: '/pages/order/postOrder/index', - }) - } - else { - commonApi.user_post("cart/add_sku", { - sku_id: this.data.info.sku[this.data.skuIndex].id, - num: this.data.producNum - }).then(res => { - if (res.code == 1) { - commonApi.user_post('cart/get_list', {}).then(res => { - this.setData({ - cartCount: res.data.length - }) + app.globalData.postProduct = null + app.globalData.list = [] + // commonApi.user_post("/product/checkStock", { + // sku_id: this.data.info.sku[this.data.skuIndex].id, + // }).then(res => { + // if (res && res.code != 1) { + // return; + // } else { + if (this.data.skuFlag == 'order') { + util.pagePoint({ + event: 'product_order', + param: { + id: this.data.info.id, + type: this.data.info.type + } + }, 1) + wx.setStorageSync('login_from', 'product_order_login') + wx.setStorageSync('order_from', 'product_order_submit') + app.globalData.couponInfo = null; + // 购买 + let product = [{ + product: this.data.info, + sku: this.data.info.sku[this.data.skuIndex], + productNum: this.data.producNum + }]; + app.globalData.postProduct = product; + app.globalData.retailId = this.data.retailId; + wx.navigateTo({ + url: '/pages/order/postOrder/index', }) - // 加动效 - this.setData({ - skuFlag: null, - aniSkuIndex: this.data.skuIndex, - cartImgInfo: null + } else { + commonApi.user_post("cart/add_sku", { + sku_id: this.data.info.sku[this.data.skuIndex].id, + num: this.data.producNum + }).then(res => { + if (res.code == 1) { + commonApi.user_post('cart/get_list', {}).then(res => { + this.setData({ + cartCount: res.data.length + }) + }) + // 加动效 + this.setData({ + skuFlag: null, + aniSkuIndex: this.data.skuIndex, + cartImgInfo: null + }) + setTimeout(() => { + this.setData({ + aniSkuIndex: -1 + }) + wx.showModal({ + title: "提示", + content: "去购物车结算?", + success: function (res) { + if (res.confirm) { + wx.navigateTo({ + url: '/pages/user/cartlist/list', + }) + } + } + }) + }, 650) + } }) - setTimeout(() => { - this.setData({ - aniSkuIndex: -1 - }) - wx.showModal({ - title: "提示", - content: "去购物车结算?", - success: function (res) { - if (res.confirm) { - wx.navigateTo({ - url: '/pages/user/cartlist/list', - }) - } - } - }) - }, 650) } - }) - } + // } + // }) + }, // 分享 share: function () { @@ -344,7 +351,8 @@ Page({ }, // 保存 save() { - let url = this.data.shareImg, that = this; + let url = this.data.shareImg, + that = this; wx.authorize({ /* 这个就是保存相册的 */ scope: 'scope.writePhotosAlbum', @@ -397,7 +405,8 @@ Page({ }, // 绘制海报 drawImg: function () { - var that = this, userinfo = wx.getStorageSync('jstrip_userInfo'); + var that = this, + userinfo = wx.getStorageSync('jstrip_userInfo'); if (!userinfo) { // 去登录 return false; @@ -436,7 +445,7 @@ Page({ ctx.save(); ctx.beginPath(); //开始绘制 that.handleBorderRect(ctx, 0, 0, 551 * ratio, 407 * ratio, 25 * ratio, '#ccc') - ctx.clip();//画好了圆 剪切 原始画布中剪切任意形状和尺寸。一旦剪切了某个区域,则所有之后的绘图都会被限制在被剪切的区域内 这也是我们要save上下文的原因 + ctx.clip(); //画好了圆 剪切 原始画布中剪切任意形状和尺寸。一旦剪切了某个区域,则所有之后的绘图都会被限制在被剪切的区域内 这也是我们要save上下文的原因 ctx.drawImage(imgs[0].path, 0, 0, 551 * ratio, 407 * ratio); ctx.restore(); ctx.save(); @@ -547,12 +556,13 @@ Page({ }, // 绘制两行文字 drawText: function (ctx, str, x, y, canvasWidth, ratio) { - let row = [], temp = "", chr = str.split(""); + let row = [], + temp = "", + chr = str.split(""); for (var a = 0; a < chr.length; a++) { if (ctx.measureText(temp).width < canvasWidth) { temp += chr[a]; - } - else { + } else { a--; //这里添加了a-- 是为了防止字符丢失,效果图中有对比 row.push(temp); temp = ""; @@ -569,13 +579,12 @@ Page({ for (var a = 0; a < rowPart.length; a++) { if (ctx.measureText(test).width < canvasWidth - 30 * ratio) { test += rowPart[a]; - } - else { + } else { break; } } empty.push(test); - var group = empty[0] + "..."//这里只显示两行,超出的用...表示 + var group = empty[0] + "..." //这里只显示两行,超出的用...表示 rowCut.splice(1, 1, group); row = rowCut; } @@ -611,8 +620,7 @@ Page({ cartCount: res.data.length }) }) - } - else { + } else { setTimeout(() => { this.onShow() }, 200) diff --git a/pages/info/sceneProductInfo/index.js b/pages/info/sceneProductInfo/index.js index f7d0c0f..bfb2b67 100644 --- a/pages/info/sceneProductInfo/index.js +++ b/pages/info/sceneProductInfo/index.js @@ -6,7 +6,6 @@ import util from "../../../utils/util" import QRCode from '../../../utils/weapp-qrcode.js' let app = getApp() Page({ - /** * 页面的初始数据 */ @@ -23,8 +22,8 @@ Page({ shareImg: null, showShareFlag: false, showAllowance: false, - allowance_data:null, - //购物车数量 + allowance_data: null, + //购物车数量 producNum: 1, skuIndex: 0, aniSkuIndex: -1, @@ -32,7 +31,7 @@ Page({ cartImgInfo: null, cartTop: 0, top: 0, - skuList:[],//立即预定的列表 + skuList: [], //立即预定的列表 }, /** @@ -98,16 +97,22 @@ Page({ info: res.data }) var arr = [] - res.data.product.forEach((item,index) => { - item.sku.forEach(itemB=>{ - itemB.proIndex = index - arr.push(itemB) - }) + res.data.product.forEach((item, index) => { + item.sku.forEach(itemB => { + itemB.proIndex = index + arr.push(itemB) + }) }); this.setData({ - skuList:arr + skuList: arr }) - util.pagePoint({ event: 'scene_view', param: { type: res.data.type, id: res.data.id } }, 1) + util.pagePoint({ + event: 'scene_view', + param: { + type: res.data.type, + id: res.data.id + } + }, 1) this.BroswerRecord() }) // 获取收藏的状态 @@ -141,17 +146,17 @@ Page({ commentTotal: res.data.total }) let arr = this.data.comment - arr.map((item)=>{ + arr.map((item) => { if (item.img_list) { - let arr = item.img_list.split(',') + let arr = item.img_list.split(',') item.img_list = arr - - }else{ - item.img_list=[] + + } else { + item.img_list = [] } }) this.setData({ - comment:arr + comment: arr }) }) }, @@ -170,16 +175,15 @@ Page({ source_id: this.data.info.id, url: "/pages/info/sceneProductInfo/index?id=" + this.data.info.id, uuid: app.globalData.uuid - }).then(res => { - }) - } - else { + }).then(res => {}) + } else { this.BroswerRecord(); } }, 500) }, like: function () { - let id = this.data.id, isLike = Number(this.data.isLike); + let id = this.data.id, + isLike = Number(this.data.isLike); commonApi.user_post(isLike != 1 ? "scene/scene_collection" : "scene/scene_cancel_collection", { scene_id: id }).then(res => { @@ -225,24 +229,24 @@ Page({ }) }, // order: function(e){ - // console.log(e) - // if (e.currentTarget.dataset.disable == 1) return; - // util.pagePoint({ - // event: 'scene_order', - // param: { - // type: this.data.info.type, - // id: this.data.info.id - // } - // }, 1) - // wx.setStorageSync('login_from', 'scene_order_login') - // wx.setStorageSync('order_from', 'scene_order_submit') - // app.globalData.couponInfo = null; - // app.globalData.retailId = this.data.retailId; - // // let sku = e.currentTarget.dataset.sku,product = e.currentTarget.dataset.product; - // app.globalData.product = e.currentTarget.dataset; - // wx.navigateTo({ - // url: '/pages/order/scene/index', - // }) + // console.log(e) + // if (e.currentTarget.dataset.disable == 1) return; + // util.pagePoint({ + // event: 'scene_order', + // param: { + // type: this.data.info.type, + // id: this.data.info.id + // } + // }, 1) + // wx.setStorageSync('login_from', 'scene_order_login') + // wx.setStorageSync('order_from', 'scene_order_submit') + // app.globalData.couponInfo = null; + // app.globalData.retailId = this.data.retailId; + // // let sku = e.currentTarget.dataset.sku,product = e.currentTarget.dataset.product; + // app.globalData.product = e.currentTarget.dataset; + // wx.navigateTo({ + // url: '/pages/order/scene/index', + // }) // }, selectSku: function (e) { let index = e.currentTarget.dataset.index; @@ -251,74 +255,85 @@ Page({ }) }, order: function (e) { - commonApi.user_post("/product/checkStock",{ - sku_id: this.data.skuList[this.data.skuIndex].id, - }).then(res => { - console.log(res) - if(res && res.code != 1){ - return; - }else{ - // console.log(this.data.info,this.data.skuFlag) - app.globalData.postProduct = [] - app.globalData.list = [] - if (this.data.skuFlag == 'order'){ - if (e.currentTarget.dataset.disable == 1) return; - util.pagePoint({ - event: 'scene_order', - param: { - type: this.data.info.type, - id: this.data.info.id - } - }, 1) - wx.setStorageSync('login_from', 'scene_order_login') - wx.setStorageSync('order_from', 'scene_order_submit') - app.globalData.couponInfo = null; - app.globalData.retailId = this.data.retailId; - // let sku = e.currentTarget.dataset.sku,product = e.currentTarget.dataset.product; - // let sku = {sku:e.currentTarget.dataset.product.sku[this.data.skuIndex]},product = {product: e.currentTarget.dataset.product} - let sku = {sku:this.data.skuList[this.data.skuIndex]},product = {product:this.data.info.product[this.data.skuList[this.data.skuIndex].proIndex]} - app.globalData.product = {...sku,...product} - wx.navigateTo({ - url: '/pages/order/scene/index', - }) - }else { - commonApi.user_post("cart/add_sku", { - sku_id: this.data.skuList[this.data.skuIndex].id, - num: this.data.producNum - }).then(res => { - if (res.code == 1) { - commonApi.user_post('cart/get_list', {}).then(res => { - this.setData({ - cartCount: res.data.length - }) - }) - // 加动效 - this.setData({ - skuFlag: null, - aniSkuIndex: this.data.skuIndex, - cartImgInfo: null - }) - setTimeout(() => { - this.setData({ - aniSkuIndex: -1 - }) - wx.showModal({ - title: "提示", - content: "去购物车结算?", - success: function (res) { - if (res.confirm) { - wx.navigateTo({ - url: '/pages/user/cartlist/list', - }) - } - } - }) - }, 650) - } - }) - } - } - }) + // commonApi.user_post("/product/checkStock", { + // sku_id: this.data.skuList[this.data.skuIndex].id, + // }).then(res => { + // if (res && res.code != 1) { + // wx.showModal({ + // title: "温馨提示", + // content: '商品已经被抢光啦~要不要瞧瞧别的~', + // showCancel: false + // }) + // return; + // } else { + app.globalData.postProduct = [] + app.globalData.list = [] + if (this.data.skuFlag == 'order') { + if (e.currentTarget.dataset.disable == 1) return; + util.pagePoint({ + event: 'scene_order', + param: { + type: this.data.info.type, + id: this.data.info.id + } + }, 1) + wx.setStorageSync('login_from', 'scene_order_login') + wx.setStorageSync('order_from', 'scene_order_submit') + app.globalData.couponInfo = null; + app.globalData.retailId = this.data.retailId; + // let sku = e.currentTarget.dataset.sku,product = e.currentTarget.dataset.product; + // let sku = {sku:e.currentTarget.dataset.product.sku[this.data.skuIndex]},product = {product: e.currentTarget.dataset.product} + let sku = { + sku: this.data.skuList[this.data.skuIndex] + }, + product = { + product: this.data.info.product[this.data.skuList[this.data.skuIndex].proIndex] + } + app.globalData.product = { + ...sku, + ...product + } + wx.navigateTo({ + url: '/pages/order/scene/index', + }) + } else { + commonApi.user_post("cart/add_sku", { + sku_id: this.data.skuList[this.data.skuIndex].id, + num: this.data.producNum + }).then(res => { + if (res.code == 1) { + commonApi.user_post('cart/get_list', {}).then(res => { + this.setData({ + cartCount: res.data.length + }) + }) + // 加动效 + this.setData({ + skuFlag: null, + aniSkuIndex: this.data.skuIndex, + cartImgInfo: null + }) + setTimeout(() => { + this.setData({ + aniSkuIndex: -1 + }) + wx.showModal({ + title: "提示", + content: "去购物车结算?", + success: function (res) { + if (res.confirm) { + wx.navigateTo({ + url: '/pages/user/cartlist/list', + }) + } + } + }) + }, 650) + } + }) + } + // } + // }) }, pagePoint: function (e) { util.pagePoint({ @@ -333,9 +348,7 @@ Page({ share: function () { if (!wx.getStorageSync("jstrip_token")) { wx.setStorageSync('login_from', 'scene_share_login') - commonApi.user_post("user/getMyInfo", {}).then(res => { - }).catch(err => { - }) + commonApi.user_post("user/getMyInfo", {}).then(res => {}).catch(err => {}) return; } if (!this.data.shareImg) { @@ -351,7 +364,8 @@ Page({ }, // 保存 save() { - let url = this.data.shareImg, that = this; + let url = this.data.shareImg, + that = this; wx.authorize({ /* 这个就是保存相册的 */ scope: 'scope.writePhotosAlbum', @@ -366,7 +380,13 @@ Page({ that.setData({ showShareFlag: !that.data.showShareFlag }) - util.pagePoint({ event: 'scene_share_save', param: { type: that.data.info.type, id: that.data.info.id } }, 1) + util.pagePoint({ + event: 'scene_share_save', + param: { + type: that.data.info.type, + id: that.data.info.id + } + }, 1) }, fail(res) { wx.showToast({ @@ -396,7 +416,8 @@ Page({ }, // 绘制海报 drawImg: function () { - var that = this, userinfo = wx.getStorageSync('jstrip_userInfo'); + var that = this, + userinfo = wx.getStorageSync('jstrip_userInfo'); if (!userinfo) { // 去登录 return false; @@ -434,7 +455,7 @@ Page({ ctx.save(); ctx.beginPath(); //开始绘制 that.handleBorderRect(ctx, 0, 0, 551 * ratio, 407 * ratio, 25 * ratio, '#ccc') - ctx.clip();//画好了圆 剪切 原始画布中剪切任意形状和尺寸。一旦剪切了某个区域,则所有之后的绘图都会被限制在被剪切的区域内 这也是我们要save上下文的原因 + ctx.clip(); //画好了圆 剪切 原始画布中剪切任意形状和尺寸。一旦剪切了某个区域,则所有之后的绘图都会被限制在被剪切的区域内 这也是我们要save上下文的原因 ctx.drawImage(imgs[0].path, 0, 0, 551 * ratio, 407 * ratio); ctx.restore(); ctx.save(); @@ -548,12 +569,13 @@ Page({ }, // 绘制两行文字 drawText: function (ctx, str, x, y, canvasWidth, ratio) { - let row = [], temp = "", chr = str.split(""); + let row = [], + temp = "", + chr = str.split(""); for (var a = 0; a < chr.length; a++) { if (ctx.measureText(temp).width < canvasWidth) { temp += chr[a]; - } - else { + } else { a--; //这里添加了a-- 是为了防止字符丢失,效果图中有对比 row.push(temp); temp = ""; @@ -570,13 +592,12 @@ Page({ for (var a = 0; a < rowPart.length; a++) { if (ctx.measureText(test).width < canvasWidth - 30 * ratio) { test += rowPart[a]; - } - else { + } else { break; } } empty.push(test); - var group = empty[0] + "..."//这里只显示两行,超出的用...表示 + var group = empty[0] + "..." //这里只显示两行,超出的用...表示 rowCut.splice(1, 1, group); row = rowCut; } @@ -602,7 +623,7 @@ Page({ cartImgInfo: 'top:' + res.top + 'px;left:' + res.left + 'px;' }) }).exec() - + }, hideSku: function () { this.setData({ @@ -644,8 +665,7 @@ Page({ this.setData({ isTest: app.globalData.configJson.isTest }) - } - else { + } else { setTimeout(() => { this.onReady() }, 300) @@ -656,11 +676,11 @@ Page({ * 生命周期函数--监听页面显示 */ onShow: function () { - commonApi.user_post('cart/get_list', {}).then(res => { - this.setData({ - cartCount: res.data.length - }) - }) + commonApi.user_post('cart/get_list', {}).then(res => { + this.setData({ + cartCount: res.data.length + }) + }) if (!wx.getStorageSync('jstrip_token')) { return; } @@ -696,8 +716,7 @@ Page({ } }) } - } - else { + } else { setTimeout(() => { this.onShow() }, 200) @@ -736,6 +755,5 @@ Page({ /** * 用户点击右上角分享 */ - onShareAppMessage: function () { - } + onShareAppMessage: function () {} }) \ No newline at end of file From c569d881ff3911c9cd20dc6f4c3de60899cc1df8 Mon Sep 17 00:00:00 2001 From: caichunsheng Date: Fri, 21 Oct 2022 15:23:44 +0800 Subject: [PATCH 019/471] =?UTF-8?q?=E6=97=A0=E5=BA=93=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/info/postProductInfo/index.js | 126 ++++++++++++------------ pages/info/sceneProductInfo/index.js | 38 +++++--- pages/info/sceneProductInfo/index.wxml | 4 +- pages/info/sceneProductInfo/index.wxss | 6 ++ pages/order/postOrder/index.js | 8 +- pages/order/scene/index.js | 1 + pages/user/cartlist/list.wxml | 2 +- pages/user/coupon/index.js | 12 ++- pages/user/coupon/index.wxml | 6 +- pages/user/coupon/index.wxss | 5 +- pages/user/user.js | 127 ++++++++++++++++++++++++- pages/user/user.wxml | 16 +++- pages/user/user.wxss | 59 +++++++++++- 13 files changed, 317 insertions(+), 93 deletions(-) diff --git a/pages/info/postProductInfo/index.js b/pages/info/postProductInfo/index.js index ec827b6..c38f82f 100644 --- a/pages/info/postProductInfo/index.js +++ b/pages/info/postProductInfo/index.js @@ -257,72 +257,72 @@ Page({ order: function () { app.globalData.postProduct = null app.globalData.list = [] - // commonApi.user_post("/product/checkStock", { - // sku_id: this.data.info.sku[this.data.skuIndex].id, - // }).then(res => { - // if (res && res.code != 1) { - // return; - // } else { - if (this.data.skuFlag == 'order') { - util.pagePoint({ - event: 'product_order', - param: { - id: this.data.info.id, - type: this.data.info.type - } - }, 1) - wx.setStorageSync('login_from', 'product_order_login') - wx.setStorageSync('order_from', 'product_order_submit') - app.globalData.couponInfo = null; - // 购买 - let product = [{ - product: this.data.info, - sku: this.data.info.sku[this.data.skuIndex], - productNum: this.data.producNum - }]; - app.globalData.postProduct = product; - app.globalData.retailId = this.data.retailId; - wx.navigateTo({ - url: '/pages/order/postOrder/index', + commonApi.user_post("/product/checkStock", { + sku_id: this.data.info.sku[this.data.skuIndex].id, + }).then(res => { + if (res && res.code != 1) { + return; + } else { + if (this.data.skuFlag == 'order') { + util.pagePoint({ + event: 'product_order', + param: { + id: this.data.info.id, + type: this.data.info.type + } + }, 1) + wx.setStorageSync('login_from', 'product_order_login') + wx.setStorageSync('order_from', 'product_order_submit') + app.globalData.couponInfo = null; + // 购买 + let product = [{ + product: this.data.info, + sku: this.data.info.sku[this.data.skuIndex], + productNum: this.data.producNum + }]; + app.globalData.postProduct = product; + app.globalData.retailId = this.data.retailId; + wx.navigateTo({ + url: '/pages/order/postOrder/index', + }) + } else { + commonApi.user_post("cart/add_sku", { + sku_id: this.data.info.sku[this.data.skuIndex].id, + num: this.data.producNum + }).then(res => { + if (res.code == 1) { + commonApi.user_post('cart/get_list', {}).then(res => { + this.setData({ + cartCount: res.data.length + }) }) - } else { - commonApi.user_post("cart/add_sku", { - sku_id: this.data.info.sku[this.data.skuIndex].id, - num: this.data.producNum - }).then(res => { - if (res.code == 1) { - commonApi.user_post('cart/get_list', {}).then(res => { - this.setData({ - cartCount: res.data.length - }) - }) - // 加动效 - this.setData({ - skuFlag: null, - aniSkuIndex: this.data.skuIndex, - cartImgInfo: null - }) - setTimeout(() => { - this.setData({ - aniSkuIndex: -1 - }) - wx.showModal({ - title: "提示", - content: "去购物车结算?", - success: function (res) { - if (res.confirm) { - wx.navigateTo({ - url: '/pages/user/cartlist/list', - }) - } - } - }) - }, 650) - } + // 加动效 + this.setData({ + skuFlag: null, + aniSkuIndex: this.data.skuIndex, + cartImgInfo: null }) + setTimeout(() => { + this.setData({ + aniSkuIndex: -1 + }) + wx.showModal({ + title: "提示", + content: "去购物车结算?", + success: function (res) { + if (res.confirm) { + wx.navigateTo({ + url: '/pages/user/cartlist/list', + }) + } + } + }) + }, 650) } - // } - // }) + }) + } + } + }) }, // 分享 diff --git a/pages/info/sceneProductInfo/index.js b/pages/info/sceneProductInfo/index.js index bfb2b67..4337e9f 100644 --- a/pages/info/sceneProductInfo/index.js +++ b/pages/info/sceneProductInfo/index.js @@ -249,27 +249,37 @@ Page({ // }) // }, selectSku: function (e) { + console.log(e.currentTarget.dataset.item); + if (e.currentTarget.dataset.item.stock == 0) { + wx.showToast({ + title: "该商品暂无库存", + icon: 'none' + }) + return + + } let index = e.currentTarget.dataset.index; this.setData({ skuIndex: index }) }, order: function (e) { - // commonApi.user_post("/product/checkStock", { - // sku_id: this.data.skuList[this.data.skuIndex].id, - // }).then(res => { - // if (res && res.code != 1) { - // wx.showModal({ - // title: "温馨提示", - // content: '商品已经被抢光啦~要不要瞧瞧别的~', - // showCancel: false - // }) - // return; - // } else { + commonApi.user_post("/product/checkStock", { + sku_id: this.data.skuList[this.data.skuIndex].id, + }).then(res => { + if (res && res.code != 1) { + wx.showModal({ + title: "温馨提示", + content: '商品已经被抢光啦~要不要瞧瞧别的~', + showCancel: false + }) + return; + } else { + app.globalData.postProduct = [] app.globalData.list = [] if (this.data.skuFlag == 'order') { - if (e.currentTarget.dataset.disable == 1) return; + if (e.currentTarget.dataset.disable === 1) return; util.pagePoint({ event: 'scene_order', param: { @@ -332,8 +342,8 @@ Page({ } }) } - // } - // }) + } + }) }, pagePoint: function (e) { util.pagePoint({ diff --git a/pages/info/sceneProductInfo/index.wxml b/pages/info/sceneProductInfo/index.wxml index ae91060..d8d9145 100644 --- a/pages/info/sceneProductInfo/index.wxml +++ b/pages/info/sceneProductInfo/index.wxml @@ -125,7 +125,7 @@ - {{item.sku_name}} + {{item.sku_name}} 数量 @@ -135,7 +135,7 @@ - {{skuFlag=='cart'?'确认':'立即购买'}} + {{skuFlag=='cart'?'确认':'立即购买'}} 该商品已下架 diff --git a/pages/info/sceneProductInfo/index.wxss b/pages/info/sceneProductInfo/index.wxss index e90e3f3..982711e 100644 --- a/pages/info/sceneProductInfo/index.wxss +++ b/pages/info/sceneProductInfo/index.wxss @@ -717,6 +717,12 @@ page { color: #999; } +.sku-name-item.disable { + border-color: transparent; + color: #fff; + background: #d7d7d7; +} + .number-box view.number { width: 94rpx; margin: 0 15rpx; diff --git a/pages/order/postOrder/index.js b/pages/order/postOrder/index.js index 6dcbca9..16edcbe 100644 --- a/pages/order/postOrder/index.js +++ b/pages/order/postOrder/index.js @@ -28,6 +28,7 @@ Page({ * 生命周期函数--监听页面加载 */ onLoad: function (options) { + this.setData({ from: options.from, kjId: app.globalData.kjId, @@ -186,8 +187,11 @@ Page({ }else{ app.globalData.productPrice = (this.data.showPrice + this.data.postFee - (this.data.coupon?this.data.coupon.activity.money:0))/100; app.globalData.createDate = data - console.log(app.globalData.createDate) - wx.navigateTo({ + console.log(app.globalData.product) + if (!app.globalData.product) { + app.globalData.product = app.globalData.list[0] + } + wx.redirectTo({ url: '/pages/order/scene/index?flag='+this.data.flag, }) } diff --git a/pages/order/scene/index.js b/pages/order/scene/index.js index 8bd3e44..c00611d 100644 --- a/pages/order/scene/index.js +++ b/pages/order/scene/index.js @@ -361,6 +361,7 @@ Page({ * 生命周期函数--监听页面显示 */ onShow: function () { + if(app.globalData.list && app.globalData.list.length != 0){ app.globalData.product = app.globalData.list[app.globalData.index] } diff --git a/pages/user/cartlist/list.wxml b/pages/user/cartlist/list.wxml index 2123667..073eed0 100644 --- a/pages/user/cartlist/list.wxml +++ b/pages/user/cartlist/list.wxml @@ -33,6 +33,6 @@ 合计: ¥{{allPrice/100}} - 不含运费 + 去下单 diff --git a/pages/user/coupon/index.js b/pages/user/coupon/index.js index c9d6425..0e83f5e 100644 --- a/pages/user/coupon/index.js +++ b/pages/user/coupon/index.js @@ -8,7 +8,8 @@ Page({ data: { list:[], moreFlag:true, - index:0 + index:0, + showR:false }, /** @@ -43,6 +44,15 @@ Page({ }) this.getList() }, + showRule(e){ + + wx.showModal({ + cancelColor: 'cancelColor', + showCancel:false, + title:"使用规则", + content:e.currentTarget.dataset.item.activity.use_rule_text + }) + }, /** * 生命周期函数--监听页面初次渲染完成 diff --git a/pages/user/coupon/index.wxml b/pages/user/coupon/index.wxml index 9cd1416..c5db573 100644 --- a/pages/user/coupon/index.wxml +++ b/pages/user/coupon/index.wxml @@ -11,10 +11,12 @@ {{item.activity.name}} {{item.activity.money/100}} - 使用条件:全场可用 + 使用条件:满{{item.activity.mini_money/100}}元 有效期:{{item.activity.end_time}} 优惠码:{{item.key}} - 使用规则 + + 使用规则 + - + {{item.nickname}} - + @@ -78,9 +74,9 @@ - - 共{{item.img_list.length}}张 - 查看全部 + + 共{{item.img_list.length}}张 + 查看全部 @@ -88,6 +84,26 @@ 查看全部点评 + + + + + + + + + + + + + {{item.title}} + + {{item.price/100}} + + + + + @@ -107,8 +123,7 @@ - + {{cartCount}} @@ -127,8 +142,7 @@ - {{item.sku_name}} + {{item.sku_name}} 数量 @@ -162,8 +176,7 @@ - + diff --git a/pages/info/postProductInfo/index.wxss b/pages/info/postProductInfo/index.wxss index ec28d92..5896343 100644 --- a/pages/info/postProductInfo/index.wxss +++ b/pages/info/postProductInfo/index.wxss @@ -842,4 +842,62 @@ page { color: #666; font-size: 24rpx; margin-top: 8rpx; +} +.proad{ + margin: 20rpx; +} +.proad-title{ + display: flex; + align-items: center; + justify-content: center; + margin-bottom: 16rpx; +} +.proad-title image{ + width: 292rpx; + height: 34rpx; +} +.pro-list{ + display: flex; + justify-content: space-between; + align-items: center; + flex-wrap: wrap; +} +.proitem{ + width: 226rpx; + height: 234rpx; + background: #FFFFFF; + border-radius: 10rpx; + margin-top: 20rpx; +} +.item-hd image{ + width: 226rpx; + height: 130rpx; + border-radius: 10rpx 10rpx 0px 0px; +} +.item-bm{ + padding: 8rpx 12rpx; +} +.protitle{ + font-size: 28rpx; + font-family: PingFang SC; + font-weight: 400; + color: #000000; +} +.pro-price{ + color: #D62828; + font-weight: 500; + font-size: 30rpx; +} +.pro-price:before { + display: inline-block; + content:"¥"; + color: #D62828; + font-size: 20rpx; +} + +.pro-price:after { + display: inline-block; + content:'起'; + color: #999999; + font-size: 10px; } \ No newline at end of file diff --git a/pages/info/sceneProductInfo/index.js b/pages/info/sceneProductInfo/index.js index 4337e9f..9ff83c7 100644 --- a/pages/info/sceneProductInfo/index.js +++ b/pages/info/sceneProductInfo/index.js @@ -250,7 +250,7 @@ Page({ // }, selectSku: function (e) { console.log(e.currentTarget.dataset.item); - if (e.currentTarget.dataset.item.stock == 0) { + if (e.currentTarget.dataset.item.stock == 0 && e.currentTarget.dataset.item.is_third_stock!=1) { wx.showToast({ title: "该商品暂无库存", icon: 'none' diff --git a/pages/user/order/postOrderInfo/index.js b/pages/user/order/postOrderInfo/index.js index 3f28c4e..8982e37 100644 --- a/pages/user/order/postOrderInfo/index.js +++ b/pages/user/order/postOrderInfo/index.js @@ -20,7 +20,9 @@ Page({ minute:"", second:"", id:null, - pay_methods:app.globalData.pay_methods + pay_methods:app.globalData.pay_methods, + tjList:[], + showLoading:true }, /** @@ -30,7 +32,23 @@ Page({ this.setData({ id:options.id }) - + commonApi._post("product/get_product_by_type", { + offset: 0, + limit: 6, + rand: true, + type:"venue,post,line,ticket" + }).then(res => { + this.setData({ + showLoading:false + }) + try { + this.setData({ + tjList: res.data.list + }) + } catch (error) { + console.log(error); + } + }) }, close:function(){ let _this = this,info = _this.data.info; @@ -189,6 +207,25 @@ Page({ this.daojishi(time); },1000) }, + + gotoDetail: function (e) { + let item = e.currentTarget.dataset.item; + util.pagePoint({ + event: 'recommend_click', + param: { + id: item.id, + type: item.type + } + }, 1) + if (item.type == 'travels') { + // 游记做特殊处理 其他都按照原来的来 + wx.navigateTo({ + url: '/pages/info/strategyInfo/index?id=' + item.s_id, + }) + } else { + util.gotoDetail(item); + } + }, /** * 生命周期函数--监听页面显示 */ @@ -234,7 +271,6 @@ Page({ * 生命周期函数--监听页面卸载 */ onUnload: function () { - }, /** diff --git a/pages/user/order/postOrderInfo/index.wxml b/pages/user/order/postOrderInfo/index.wxml index 329d809..b60f190 100644 --- a/pages/user/order/postOrderInfo/index.wxml +++ b/pages/user/order/postOrderInfo/index.wxml @@ -12,6 +12,23 @@ {{info.order_product_list[0].consignee_info.name}}{{info.order_product_list[0].consignee_info.tel}} {{info.order_product_list[0].consignee_info.address}} + + 商品推荐 + 加载中... + + + + + + + {{item.title}} + + {{item.price/100}} + + + + + diff --git a/pages/user/order/postOrderInfo/index.wxss b/pages/user/order/postOrderInfo/index.wxss index 4e93140..eeab2be 100644 --- a/pages/user/order/postOrderInfo/index.wxss +++ b/pages/user/order/postOrderInfo/index.wxss @@ -291,4 +291,57 @@ page { font-size: 24rpx; color: #999; margin-top: 30rpx; +} +.tj-title{ +font-size: 30rpx; +font-family: PingFang SC; +font-weight: 500; +color: #333333; +} +.tj-list{ + display: flex; + align-items: center; + overflow-x: scroll; + overflow-y: hidden; +} + +.proitem{ + width: 226rpx; + height: 234rpx; + background: #F5F5F5; + border-radius: 10rpx; + margin-top: 20rpx; + margin-right: 20rpx; +} +.item-hd image{ + width: 226rpx; + height: 130rpx; + border-radius: 10rpx 10rpx 0px 0px; +} +.item-bm{ + padding: 8rpx 12rpx; +} +.protitle{ + font-size: 28rpx; + font-family: PingFang SC; + font-weight: 400; + color: #000000; +} +.pro-price{ + color: #D62828; + font-weight: 500; + font-size: 30rpx; +} +.pro-price:before { + display: inline-block; + content:"¥"; + color: #D62828; + font-size: 20rpx; +} + +.pro-price:after { + display: inline-block; + content:'起'; + color: #999999; + font-size: 10px; } \ No newline at end of file From 5311e594aabe6b5c5f66d2dd2235e1eef12b52af Mon Sep 17 00:00:00 2001 From: caichunsheng Date: Mon, 7 Nov 2022 09:55:49 +0800 Subject: [PATCH 022/471] =?UTF-8?q?=E5=95=86=E5=93=81=E6=8E=A8=E8=8D=90,?= =?UTF-8?q?=20=E6=97=A0=E5=BA=93=E5=AD=98=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/component/proRec/proRec.js | 78 ++++++ pages/component/proRec/proRec.json | 4 + pages/component/proRec/proRec.wxml | 17 ++ pages/component/proRec/proRec.wxss | 53 ++++ pages/info/sceneProductInfo/index.js | 3 +- pages/info/sceneProductInfo/index.wxml | 8 +- pages/user/cartlist/list.js | 287 ++++++++++++-------- pages/user/cartlist/list.wxml | 12 +- pages/user/cartlist/list.wxss | 17 ++ pages/user/order/hotelOrderInfo/index.json | 4 +- pages/user/order/hotelOrderInfo/index.wxml | 1 + pages/user/order/hotelOrderInfo/index.wxss | 3 +- pages/user/order/lineOrderInfo/index.json | 3 +- pages/user/order/lineOrderInfo/index.wxml | 3 + pages/user/order/museumOrderInfo/index.json | 4 +- pages/user/order/museumOrderInfo/index.wxml | 2 + pages/user/order/postOrderInfo/index.json | 3 +- pages/user/order/postOrderInfo/index.wxml | 18 +- pages/user/order/sceneOrderInfo/index.json | 4 +- pages/user/order/sceneOrderInfo/index.wxml | 4 +- 20 files changed, 382 insertions(+), 146 deletions(-) create mode 100644 pages/component/proRec/proRec.js create mode 100644 pages/component/proRec/proRec.json create mode 100644 pages/component/proRec/proRec.wxml create mode 100644 pages/component/proRec/proRec.wxss diff --git a/pages/component/proRec/proRec.js b/pages/component/proRec/proRec.js new file mode 100644 index 0000000..1a34128 --- /dev/null +++ b/pages/component/proRec/proRec.js @@ -0,0 +1,78 @@ +// pages/component/TitleHeader.js +import commonApi from "../../../utils/https/common.js" +import util from '../../../utils/util' +var app = getApp() +Component({ + options: { + styleIsolation: 'apply-shared', + addGlobalClass: true + }, + + /** + * 组件的属性列表 + */ + properties: { + title: { + type: String, + value: "" + }, + transparent: { + type: String, + value: "0" + }, + clickid: { + type: String, + value: "" + } + }, + lifetimes: { + created() { + commonApi._post("product/get_product_by_type", { + offset: 0, + limit: 6, + rand: true, + type: "venue,post,line,ticket" + }).then(res => { + this.setData({ + showLoading: false + }) + try { + this.setData({ + tjList: res.data.list + }) + } catch (error) { + console.log(error); + } + }) + } + }, + /** + * 组件的初始数据 + */ + data: { + tjList: [], + }, + /** + * 组件的方法列表 + */ + methods: { + gotoDetail: function (e) { + let item = e.currentTarget.dataset.item; + util.pagePoint({ + event: 'recommend_click', + param: { + id: item.id, + type: item.type + } + }, 1) + if (item.type == 'travels') { + // 游记做特殊处理 其他都按照原来的来 + wx.navigateTo({ + url: '/pages/info/strategyInfo/index?id=' + item.s_id, + }) + } else { + util.gotoDetail(item); + } + }, + } +}) \ No newline at end of file diff --git a/pages/component/proRec/proRec.json b/pages/component/proRec/proRec.json new file mode 100644 index 0000000..e8cfaaf --- /dev/null +++ b/pages/component/proRec/proRec.json @@ -0,0 +1,4 @@ +{ + "component": true, + "usingComponents": {} +} \ No newline at end of file diff --git a/pages/component/proRec/proRec.wxml b/pages/component/proRec/proRec.wxml new file mode 100644 index 0000000..cd6fe91 --- /dev/null +++ b/pages/component/proRec/proRec.wxml @@ -0,0 +1,17 @@ + + 商品推荐 + 加载中... + + + + + + + {{item.title}} + + {{item.price/100}} + + + + + \ No newline at end of file diff --git a/pages/component/proRec/proRec.wxss b/pages/component/proRec/proRec.wxss new file mode 100644 index 0000000..a1a7b78 --- /dev/null +++ b/pages/component/proRec/proRec.wxss @@ -0,0 +1,53 @@ +.tj-title{ + font-size: 30rpx; + font-family: PingFang SC; + font-weight: 500; + color: #333333; + } + .tj-list{ + display: flex; + align-items: center; + overflow-x: scroll; + overflow-y: hidden; + } + + .proitem{ + width: 226rpx; + height: 234rpx; + background: #F5F5F5; + border-radius: 10rpx; + margin-top: 20rpx; + margin-right: 20rpx; + } + .item-hd image{ + width: 226rpx; + height: 130rpx; + border-radius: 10rpx 10rpx 0px 0px; + } + .item-bm{ + padding: 8rpx 12rpx; + } + .protitle{ + font-size: 28rpx; + font-family: PingFang SC; + font-weight: 400; + color: #000000; + } + .pro-price{ + color: #D62828; + font-weight: 500; + font-size: 30rpx; + } + .pro-price:before { + display: inline-block; + content:"¥"; + color: #D62828; + font-size: 20rpx; + } + + .pro-price:after { + display: inline-block; + content:'起'; + color: #999999; + font-size: 10px; + } \ No newline at end of file diff --git a/pages/info/sceneProductInfo/index.js b/pages/info/sceneProductInfo/index.js index 9ff83c7..4303194 100644 --- a/pages/info/sceneProductInfo/index.js +++ b/pages/info/sceneProductInfo/index.js @@ -25,7 +25,7 @@ Page({ allowance_data: null, //购物车数量 producNum: 1, - skuIndex: 0, + skuIndex:null, aniSkuIndex: -1, cartCount: 0, cartImgInfo: null, @@ -256,7 +256,6 @@ Page({ icon: 'none' }) return - } let index = e.currentTarget.dataset.index; this.setData({ diff --git a/pages/info/sceneProductInfo/index.wxml b/pages/info/sceneProductInfo/index.wxml index d8d9145..56416ff 100644 --- a/pages/info/sceneProductInfo/index.wxml +++ b/pages/info/sceneProductInfo/index.wxml @@ -115,17 +115,17 @@ - + - {{tool.toFix(skuList[skuIndex].price)}} + {{ isNaN(tool.toFix(skuList[skuIndex].price))?tool.toFix(skuList[skuIndex].price):tool.toFix(skuList[0].price) }} 补贴价:¥{{ (1 - allowance_data.discount_rate / 100) * info.sku[skuIndex].price / 100 }} - 已选择:{{skuList[skuIndex].sku_name}} + 已选择:{{skuList[skuIndex].sku_name || skuList[0].sku_name}} - {{item.sku_name}} + {{item.sku_name}} 数量 diff --git a/pages/user/cartlist/list.js b/pages/user/cartlist/list.js index d6a16bb..66b35b2 100644 --- a/pages/user/cartlist/list.js +++ b/pages/user/cartlist/list.js @@ -1,5 +1,6 @@ // pages/user/cartlist/list.js -const device = wx.getSystemInfoSync(),rect = wx.getMenuButtonBoundingClientRect(); // 获取设备信息 +const device = wx.getSystemInfoSync(), + rect = wx.getMenuButtonBoundingClientRect(); // 获取设备信息 const ratio = 750 / device.windowWidth; console.log(rect) const width = device.windowWidth // 示例为一个与屏幕等宽的正方形裁剪框 @@ -13,12 +14,13 @@ Page({ * 页面的初始数据 */ data: { - menuWidth:width - rect.right + rect.width + 6, - list:[], - allChecked:false, - allPrice:0, - productType:'', - flag:false,//判断订单是否同时有商品和票 + menuWidth: width - rect.right + rect.width + 6, + list: [], + allChecked: false, + allPrice: 0, + productType: '', + manageFlag: false, + flag: false, //判断订单是否同时有商品和票 }, /** @@ -27,145 +29,164 @@ Page({ onLoad: function (options) { this.getList(); }, - gotoDetail:function(e){ - console.log(e) + manage: function () { + let list = this.data.list; + list.map(item => { + item.checked = 0; + }) + this.setData({ + manageFlag: !this.data.manageFlag, + allChecked: 0, + list: list, + allPrice: 0 + }) + }, + gotoDetail: function (e) { + console.log(e) let item = e.currentTarget.dataset.item.product; - util.gotoDetail(item,1); + util.gotoDetail(item, 1); }, - getList:function(){ - commonApi.user_post("cart/get_list",{ - // type: '1' - }).then(res=>{ + getList: function () { + commonApi.user_post("cart/get_list", { + // type: '1' + }).then(res => { this.setData({ - list:res.data + list: res.data }) }) }, - minus:function(e){ - let index = e.currentTarget.dataset.index,list = this.data.list; + minus: function (e) { + let index = e.currentTarget.dataset.index, + list = this.data.list; let num = list[index].num; - if(num<=1) return; + if (num <= 1) return; num = num - 1; list[index].num = num; this.setData({ - list:list + list: list }) this.changeNumber(list[index]) this.updatePrice() }, - add:function(e){ - let index = e.currentTarget.dataset.index,list = this.data.list; - let num = list[index].num+1; + add: function (e) { + let index = e.currentTarget.dataset.index, + list = this.data.list; + let num = list[index].num + 1; list[index].num = num; this.setData({ - list:list + list: list }) this.changeNumber(list[index]) this.updatePrice() }, - select:function(e){ - let index = e.currentTarget.dataset.index,list = this.data.list; - if(list[index].product.flag!=1 || list[index].sku.flag!='on'){ + select: function (e) { + let index = e.currentTarget.dataset.index, + list = this.data.list; + if (list[index].product.flag != 1 || list[index].sku.flag != 'on') { wx.showToast({ title: '产品已下架', - icon:'none' + icon: 'none' }) return; } - list[index].checked = list[index].checked?false:true; + list[index].checked = list[index].checked ? false : true; this.setData({ - list:list + list: list }) this.updatePrice() }, - selectAll:function(){ - let list = this.data.list,allChecked = this.data.allChecked?false:true; - list.map(item=>{ - if(item.sku.flag=='on' && item.product.flag==1){ + selectAll: function () { + let list = this.data.list, + allChecked = this.data.allChecked ? false : true; + list.map(item => { + if (item.sku.flag == 'on' && item.product.flag == 1) { item.checked = allChecked; } }) this.setData({ - allChecked:allChecked, - list:list + allChecked: allChecked, + list: list }) this.updatePrice() }, - changeNumber(item){ - commonApi.user_post("cart/update_sku",{ - sku_id:item.sku.id, - num:item.num - }).then(res=>{ - }) + changeNumber(item) { + commonApi.user_post("cart/update_sku", { + sku_id: item.sku.id, + num: item.num + }).then(res => {}) }, - updatePrice:function(){ - let list = this.data.list,price=0; - list.map(item=>{ - if(item.checked){ + updatePrice: function () { + let list = this.data.list, + price = 0; + list.map(item => { + if (item.checked) { price = price + item.sku.price * item.num; } }) this.setData({ - allPrice:price + allPrice: price }) }, - order:function(){ + order: function () { app.globalData.couponInfo = null; util.pagePoint({ - event:'cart_order' - },1) - let list = this.data.list,price=0,product=[],product1=[] - list.map(item=>{ - if(item.checked){ + event: 'cart_order' + }, 1) + let list = this.data.list, + price = 0, + product = [], + product1 = [] + list.map(item => { + if (item.checked) { // item.product.type="post"; - if(item.product.type == 'post'){ - product.push({ - product:item.product, - sku:item.sku, - productNum:item.num - }) - }else{ - product1.push(item) - app.globalData.list = product1 - } - if(item.product.type.includes('post')){ - this.data.productType = 'post' - } + if (item.product.type == 'post') { + product.push({ + product: item.product, + sku: item.sku, + productNum: item.num + }) + } else { + product1.push(item) + app.globalData.list = product1 + } + if (item.product.type.includes('post')) { + this.data.productType = 'post' + } } }) - if(product.length==0 && product1.length==0) { + if (product.length == 0 && product1.length == 0) { wx.showToast({ title: '请先选择产品', icon: 'none' }) return; } - if (product.length>0 && product1.length>0) { + if (product.length > 0 && product1.length > 0) { this.setData({ flag: 'mix' }) } app.globalData.postProduct = product; - if(app.globalData.list){ - app.globalData.product = app.globalData.list[app.globalData.index] - } - if(this.data.productType == 'post'){ + if (app.globalData.list) { + app.globalData.product = app.globalData.list[app.globalData.index] + } + if (this.data.productType == 'post') { console.log(this.data.flag); - wx.navigateTo({ - url: '/pages/order/postOrder/index?from=cart&flag='+this.data.flag, - }) - }else{ - wx.navigateTo({ - url: '/pages/order/scene/index', - }) - } + wx.navigateTo({ + url: '/pages/order/postOrder/index?from=cart&flag=' + this.data.flag, + }) + } else { + wx.navigateTo({ + url: '/pages/order/scene/index', + }) + } }, - touchStart(e){//移动前点击的位置 + touchStart(e) { //移动前点击的位置 console.log(e) // 在开始触摸时将所有startTouchMove设置为flase,对当前的为true - this.data.list.forEach(cart =>{ - if(cart.isTouchMove)//当istouchMove为true - cart.isTouchMove = false;//其它的对象都为false + this.data.list.forEach(cart => { + if (cart.isTouchMove) //当istouchMove为true + cart.isTouchMove = false; //其它的对象都为false }) this.setData({ startX: e.changedTouches[0].clientX, @@ -173,61 +194,101 @@ Page({ list: this.data.list }) }, - touchmove(e){//移动的位置,用于计算用户滑动的弧度向左还是向右,移动了多少,可以确定删除功能的显示和隐藏 + touchmove(e) { //移动的位置,用于计算用户滑动的弧度向左还是向右,移动了多少,可以确定删除功能的显示和隐藏 let index = e.currentTarget.dataset.index; // 获取开始的x,y坐标 let startX = this.data.startX, - startY = this.data.startY; + startY = this.data.startY; // 获取移动的x,x坐标 let touchMoveX = e.changedTouches[0].clientX, - touchMoveY = e.changedTouches[0].clientY; + touchMoveY = e.changedTouches[0].clientY; // 调用计算角度的方法,获取角度 - var angel = this.angel({ X: startX, Y: startY }, { X: touchMoveX, Y: touchMoveY }) + var angel = this.angel({ + X: startX, + Y: startY + }, { + X: touchMoveX, + Y: touchMoveY + }) // 遍历cartArray - this.data.list.forEach((cart, i ) =>{ + this.data.list.forEach((cart, i) => { cart.isTouchMove = false; // 滑动角度大于30,直接return 视为非滑动意思 - if(Math.abs(angel) > 30) return; + if (Math.abs(angel) > 30) return; // 匹配当前所点击的list和滑动的list - if(i == index){ + if (i == index) { // 匹配上后判断滑动方向 - if (touchMoveX > startX){//左滑动隐藏删除 + if (touchMoveX > startX) { //左滑动隐藏删除 cart.isTouchMove = false; - }else{ + } else { cart.isTouchMove = true; } } }) // 更新数据 this.setData({ - list:this.data.list + list: this.data.list }) }, - angel(start,end){//计算滑动的角度 + angel(start, end) { //计算滑动的角度 // console.log(start,end) // 移动坐标减去对应的开始坐标 var _X = end.X - start.X, _Y = end.Y - start.Y; - // 返回角度 Math.atan() 返回数字的正切值 - return 360 * Math.atan(_Y / _X) / (2 * Math.PI) + // 返回角度 Math.atan() 返回数字的正切值 + return 360 * Math.atan(_Y / _X) / (2 * Math.PI) }, - del:function(e){ - let index = e.currentTarget.dataset.index,list = this.data.list; - commonApi.user_post("cart/del_sku",{ - sku_id:list[index].sku_id - }).then(res=>{ - if(res.code==1){ + del: function (e) { + let index = e.currentTarget.dataset.index, + list = this.data.list; + commonApi.user_post("cart/del_sku", { + sku_id: list[index].sku_id + }).then(res => { + if (res.code == 1) { wx.showToast({ title: '删除成功', - icon:"success" + icon: "success" }) - list.splice(index,1); + list.splice(index, 1); this.setData({ - list:list + list: list }) } }) }, + delM() { + let that = this + let arr = this.data.list + let suid = [] + arr.forEach(item => { + if (item.checked) { + suid.push(item.sku_id) + } + }); + let skuids = suid.join(',') + wx.showModal({ + title: '提示', + content: '确定要删除选定的产品?', + success: function (res) { + if (res.confirm) { + commonApi.user_post("cart/del_sku", { + sku_id:skuids + }).then(res => { + if (res.code == 1) { + wx.showToast({ + title: '删除成功', + icon: "success" + }) + that.getList(); + } + }) + + } else { + console.log('取消') + } + } + }) + }, /** * 生命周期函数--监听页面初次渲染完成 */ @@ -240,14 +301,14 @@ Page({ */ onShow: function () { util.pagePoint({ - event:'cart_view' - },1) - app.globalData.list = null - app.globalData.createDate = null - app.globalData.index = 0 - app.globalData.productPrice = 0 - app.globalData.ticketPrice = 0 - this.data.productType = '' + event: 'cart_view' + }, 1) + app.globalData.list = null + app.globalData.createDate = null + app.globalData.index = 0 + app.globalData.productPrice = 0 + app.globalData.ticketPrice = 0 + this.data.productType = '' }, /** diff --git a/pages/user/cartlist/list.wxml b/pages/user/cartlist/list.wxml index 073eed0..970316e 100644 --- a/pages/user/cartlist/list.wxml +++ b/pages/user/cartlist/list.wxml @@ -1,11 +1,11 @@ - <!-- <view class="edit-btn" style="right:{{menuWidth}}px">管理</view> --> + <view class="edit-btn" style="right:{{menuWidth}}px" wx:if="{{list.length>0}}" bindtap="manage">{{manageFlag?'关闭':'管理'}}</view> - + {{item.product.title}} @@ -28,7 +28,7 @@ 暂无内容 - + 合计: ¥{{allPrice/100}} @@ -36,3 +36,9 @@ 去下单 + + + + 全选 + 删除 + \ No newline at end of file diff --git a/pages/user/cartlist/list.wxss b/pages/user/cartlist/list.wxss index 6904e2d..4f59ab3 100644 --- a/pages/user/cartlist/list.wxss +++ b/pages/user/cartlist/list.wxss @@ -157,4 +157,21 @@ page { } .icon-gou { color: #D62828; +} +.fixed-btn { + width: 202rpx; + line-height: 84rpx; + background: #FB6E4D; + border-radius: 42rpx; + font-size: 36rpx; + font-weight: 500; + color: #fff; + text-align: center; +} +.del-btn { + box-sizing: border-box; + border: 1rpx solid #FB6E4D; + color: #FB6E4D; + background: white; + margin-right:40rpx ; } \ No newline at end of file diff --git a/pages/user/order/hotelOrderInfo/index.json b/pages/user/order/hotelOrderInfo/index.json index 35cf02f..cef374c 100644 --- a/pages/user/order/hotelOrderInfo/index.json +++ b/pages/user/order/hotelOrderInfo/index.json @@ -1,5 +1,7 @@ { "usingComponents": { - "title":"/pages/component/TitleHeader" + "title":"/pages/component/TitleHeader", + "sptj":"/pages/component/proRec/proRec" + } } \ No newline at end of file diff --git a/pages/user/order/hotelOrderInfo/index.wxml b/pages/user/order/hotelOrderInfo/index.wxml index 5d14b9a..11bbfd8 100644 --- a/pages/user/order/hotelOrderInfo/index.wxml +++ b/pages/user/order/hotelOrderInfo/index.wxml @@ -40,6 +40,7 @@ 立即支付 + diff --git a/pages/user/order/hotelOrderInfo/index.wxss b/pages/user/order/hotelOrderInfo/index.wxss index c20a26f..dc9d442 100644 --- a/pages/user/order/hotelOrderInfo/index.wxss +++ b/pages/user/order/hotelOrderInfo/index.wxss @@ -281,4 +281,5 @@ page { font-size: 24rpx; color: #999; margin-top: 30rpx; -} \ No newline at end of file +} + diff --git a/pages/user/order/lineOrderInfo/index.json b/pages/user/order/lineOrderInfo/index.json index 35cf02f..3418379 100644 --- a/pages/user/order/lineOrderInfo/index.json +++ b/pages/user/order/lineOrderInfo/index.json @@ -1,5 +1,6 @@ { "usingComponents": { - "title":"/pages/component/TitleHeader" + "title":"/pages/component/TitleHeader", + "sptj":"/pages/component/proRec/proRec" } } \ No newline at end of file diff --git a/pages/user/order/lineOrderInfo/index.wxml b/pages/user/order/lineOrderInfo/index.wxml index 728b55d..47f7682 100644 --- a/pages/user/order/lineOrderInfo/index.wxml +++ b/pages/user/order/lineOrderInfo/index.wxml @@ -44,6 +44,9 @@ + + + diff --git a/pages/user/order/museumOrderInfo/index.json b/pages/user/order/museumOrderInfo/index.json index 35cf02f..cef374c 100644 --- a/pages/user/order/museumOrderInfo/index.json +++ b/pages/user/order/museumOrderInfo/index.json @@ -1,5 +1,7 @@ { "usingComponents": { - "title":"/pages/component/TitleHeader" + "title":"/pages/component/TitleHeader", + "sptj":"/pages/component/proRec/proRec" + } } \ No newline at end of file diff --git a/pages/user/order/museumOrderInfo/index.wxml b/pages/user/order/museumOrderInfo/index.wxml index 18db481..df360d4 100644 --- a/pages/user/order/museumOrderInfo/index.wxml +++ b/pages/user/order/museumOrderInfo/index.wxml @@ -55,6 +55,8 @@ + + {{info.order_product_list[0].scene_detail.title}} diff --git a/pages/user/order/postOrderInfo/index.json b/pages/user/order/postOrderInfo/index.json index 35cf02f..3418379 100644 --- a/pages/user/order/postOrderInfo/index.json +++ b/pages/user/order/postOrderInfo/index.json @@ -1,5 +1,6 @@ { "usingComponents": { - "title":"/pages/component/TitleHeader" + "title":"/pages/component/TitleHeader", + "sptj":"/pages/component/proRec/proRec" } } \ No newline at end of file diff --git a/pages/user/order/postOrderInfo/index.wxml b/pages/user/order/postOrderInfo/index.wxml index b60f190..e7a33ed 100644 --- a/pages/user/order/postOrderInfo/index.wxml +++ b/pages/user/order/postOrderInfo/index.wxml @@ -12,23 +12,7 @@ {{info.order_product_list[0].consignee_info.name}}{{info.order_product_list[0].consignee_info.tel}} {{info.order_product_list[0].consignee_info.address}} - - 商品推荐 - 加载中... - - - - - - - {{item.title}} - - {{item.price/100}} - - - - - + diff --git a/pages/user/order/sceneOrderInfo/index.json b/pages/user/order/sceneOrderInfo/index.json index 35cf02f..cef374c 100644 --- a/pages/user/order/sceneOrderInfo/index.json +++ b/pages/user/order/sceneOrderInfo/index.json @@ -1,5 +1,7 @@ { "usingComponents": { - "title":"/pages/component/TitleHeader" + "title":"/pages/component/TitleHeader", + "sptj":"/pages/component/proRec/proRec" + } } \ No newline at end of file diff --git a/pages/user/order/sceneOrderInfo/index.wxml b/pages/user/order/sceneOrderInfo/index.wxml index 89a50c3..e304840 100644 --- a/pages/user/order/sceneOrderInfo/index.wxml +++ b/pages/user/order/sceneOrderInfo/index.wxml @@ -16,6 +16,9 @@ {{info.order_product_list[0].qrcode[codeIndex].stateText}} {{codeIndex+1}}/{{codeImgs.length}} + + + @@ -100,7 +103,6 @@ 行程规划 - From 97950a73cd19c517e7e2d0ad3df0034d84c2fad9 Mon Sep 17 00:00:00 2001 From: chenkainan Date: Tue, 3 Jan 2023 11:09:44 +0800 Subject: [PATCH 031/471] =?UTF-8?q?=E8=BF=91=E6=9C=9F=E9=97=AE=E9=A2=98?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 2 +- pages/index/index.wxml | 13 +++++++++---- pages/info/postProductInfo/index.wxss | 2 +- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/app.js b/app.js index a80c018..7acd514 100644 --- a/app.js +++ b/app.js @@ -22,7 +22,7 @@ App({ unique_key: "wechatxcx" }).then(res => { let data = JSON.parse(res.data); - data.isTest = data.isTest49?true:false; + data.isTest = data.isTest50?true:false; this.globalData.configJson = data }) diff --git a/pages/index/index.wxml b/pages/index/index.wxml index 5be2ee0..cfbcb92 100644 --- a/pages/index/index.wxml +++ b/pages/index/index.wxml @@ -155,8 +155,8 @@ - - + + 非遗鉴赏 {{item.title}} diff --git a/pages/info/postProductInfo/index.wxss b/pages/info/postProductInfo/index.wxss index 5896343..23dd449 100644 --- a/pages/info/postProductInfo/index.wxss +++ b/pages/info/postProductInfo/index.wxss @@ -20,7 +20,7 @@ page { background: white; position: relative; z-index: 1; - margin-top: -60rpx; + margin-top: -20rpx; padding: 20rpx 40rpx; } From 9be8235642aea1a60b7d0f605961cae9cc386401 Mon Sep 17 00:00:00 2001 From: chenkainan Date: Tue, 3 Jan 2023 20:58:25 +0800 Subject: [PATCH 032/471] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/index.wxml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pages/index/index.wxml b/pages/index/index.wxml index cfbcb92..9a6d415 100644 --- a/pages/index/index.wxml +++ b/pages/index/index.wxml @@ -199,12 +199,12 @@ 投资导引图 - 廉洁地图 - + --> @@ -235,10 +235,10 @@ 文化配送 - - 公共文化数字共享平台 + 公共文化资源库 From ad616b543e5ba2e959d62771b3ee1165051fbad1 Mon Sep 17 00:00:00 2001 From: nige Date: Sun, 29 Jan 2023 10:41:06 +0800 Subject: [PATCH 033/471] =?UTF-8?q?=E9=A6=96=E9=A1=B5ui=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E6=9B=B4=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 279 ++++++++++++++++++++++++++++++--------------------------- 1 file changed, 146 insertions(+), 133 deletions(-) diff --git a/app.js b/app.js index 7acd514..b38ef2f 100644 --- a/app.js +++ b/app.js @@ -2,17 +2,16 @@ import commonApi from "./utils/https/common" App({ onLaunch: function (options) { - if(options.query.authCode){ + if (options.query.authCode) { wx.setStorageSync('authCode', options.query.authCode) - } - else { + } else { wx.removeStorageSync('authCode') } this.updateApp() let rect = wx.getSystemInfoSync(); - this.globalData.safeBottom = rect.safeArea?(rect.safeArea.bottom - rect.safeArea.height):0 + this.globalData.safeBottom = rect.safeArea ? (rect.safeArea.bottom - rect.safeArea.height) : 0 // 获取uuid - commonApi._post("browse/get_uuid",{}).then(res=>{ + commonApi._post("browse/get_uuid", {}).then(res => { // console.log('uuid',res); this.globalData.uuid = res.data.uuid; wx.setStorageSync('uuid', res.data.uuid) @@ -22,10 +21,21 @@ App({ unique_key: "wechatxcx" }).then(res => { let data = JSON.parse(res.data); - data.isTest = data.isTest50?true:false; + data.isTest = data.isTest51 ? true : false; this.globalData.configJson = data + }).then(() => { + // 获取ui配置文件 + commonApi._post("adv/get_home_ui", {}).then(res => { + let obj = {} + res.data.content.forEach(item => { + obj[item.id] = item.image + }); + this.globalData.configJson.indexSeason = obj + }) }) - + + + // 获取用户信息 // wx.getSetting({ @@ -50,40 +60,43 @@ App({ this.getShareCategoryId() }, // 更新提示 - updateApp:function(){ + updateApp: function () { const updateManager = wx.getUpdateManager() updateManager.onCheckForUpdate(function (res) { // 请求完新版本信息的回调 if (res.hasUpdate) { wx.showLoading({ - title:'更新下载中...', + title: '更新下载中...', }) } }) updateManager.onUpdateReady(function () { wx.hideLoading(); wx.showModal({ - title:'更新提示', - content:'新版本已经准备好,是否重启应用?', - success:function (res) { + title: '更新提示', + content: '新版本已经准备好,是否重启应用?', + success: function (res) { if (res.confirm) { // 新的版本已经下载好,调用 applyUpdate 应用新版本并重启 updateManager.applyUpdate() } } }) - + }) updateManager.onUpdateFailed(function () { // 新的版本下载失败 wx.hideLoading(); - wx.showToast({ title:'下载失败...', icon:"none" }); + wx.showToast({ + title: '下载失败...', + icon: "none" + }); }) }, - getShareCategoryId:function(){ - commonApi._post("share/getShareList",{}).then(res=>{ + getShareCategoryId: function () { + commonApi._post("share/getShareList", {}).then(res => { let CategoryIds = {} - res.data.map(item=>{ + res.data.map(item => { CategoryIds[item.mini] = item.id; }) this.globalData.CategoryIds = CategoryIds; @@ -91,154 +104,154 @@ App({ }) }, //app.js -convertHtmlToText: function(inputText) { - var returnText = "" + inputText; - returnText = returnText.replace(/<\/div>/ig, '\r\n'); - returnText = returnText.replace(/<\/li>/ig, '\r\n'); - returnText = returnText.replace(/
  • /ig, ' * '); - returnText = returnText.replace(/<\/ul>/ig, '\r\n'); - //-- remove BR tags and replace them with line break - returnText = returnText.replace(//g, "\r\n"); + convertHtmlToText: function (inputText) { + var returnText = "" + inputText; + returnText = returnText.replace(/<\/div>/ig, '\r\n'); + returnText = returnText.replace(/<\/li>/ig, '\r\n'); + returnText = returnText.replace(/
  • /ig, ' * '); + returnText = returnText.replace(/<\/ul>/ig, '\r\n'); + //-- remove BR tags and replace them with line break + returnText = returnText.replace(//g, "\r\n"); - //-- remove P and A tags but preserve what's inside of them - returnText = returnText.replace(//g, "\r\n"); - returnText = returnText.replace(/(.*?)<\/a>/g, " $2 ($1)"); + //-- remove P and A tags but preserve what's inside of them + returnText = returnText.replace(//g, "\r\n"); + returnText = returnText.replace(/(.*?)<\/a>/g, " $2 ($1)"); - //-- remove all inside SCRIPT and STYLE tags - returnText = returnText.replace(/[\w\W]{1,}(.*?)[\w\W]{1,}<\/script>/g, ""); - returnText = returnText.replace(/[\w\W]{1,}(.*?)[\w\W]{1,}<\/style>/g, ""); - //-- remove all else - returnText = returnText.replace(/<(?:.|\s)*?>/g, ""); + //-- remove all inside SCRIPT and STYLE tags + returnText = returnText.replace(/[\w\W]{1,}(.*?)[\w\W]{1,}<\/script>/g, ""); + returnText = returnText.replace(/[\w\W]{1,}(.*?)[\w\W]{1,}<\/style>/g, ""); + //-- remove all else + returnText = returnText.replace(/<(?:.|\s)*?>/g, ""); - //-- get rid of more than 2 multiple line breaks: - returnText = returnText.replace(/(?:(?:\r\n|\r|\n)\s*){2,}/g, "\r\n\r\n"); + //-- get rid of more than 2 multiple line breaks: + returnText = returnText.replace(/(?:(?:\r\n|\r|\n)\s*){2,}/g, "\r\n\r\n"); - //-- get rid of more than 2 spaces: - returnText = returnText.replace(/ +(?= )/g, ''); + //-- get rid of more than 2 spaces: + returnText = returnText.replace(/ +(?= )/g, ''); - //-- get rid of html-encoded characters: - returnText = returnText.replace(/ /g, " "); - returnText = returnText.replace(/&/g, "&"); - returnText = returnText.replace(/"/g, '\''); - returnText = returnText.replace(/</g, '<'); - returnText = returnText.replace(/>/g, '>'); - // returnText = returnText.replace(/img/g, 'image'); + //-- get rid of html-encoded characters: + returnText = returnText.replace(/ /g, " "); + returnText = returnText.replace(/&/g, "&"); + returnText = returnText.replace(/"/g, '\''); + returnText = returnText.replace(/</g, '<'); + returnText = returnText.replace(/>/g, '>'); + // returnText = returnText.replace(/img/g, 'image'); - return returnText; -}, + return returnText; + }, //重写分享方法 overShare: function () { //监听路由切换 //间接实现全局设置分享内容 let that = this; wx.onAppRoute(function (res) { - //获取加载的页面 - let pages = getCurrentPages(), - //获取当前页面的对象 - view = pages[pages.length - 1]; - if(view && view.options && view.options.category_id){ - that.globalData.category_id = view.options.category_id; - commonApi._post("share/share",{ - id:view.options.category_id, - url:view.route - }).then(res=>{ - console.log(res) - }) - } - let category_id = that.globalData.CategoryIds[view.route] || null; - if(view.route.indexOf('bike/index')!=-1 && !category_id){ - category_id = that.globalData.CategoryIds[view.route+'?type='+view.options.type] + //获取加载的页面 + let pages = getCurrentPages(), + //获取当前页面的对象 + view = pages[pages.length - 1]; + if (view && view.options && view.options.category_id) { + that.globalData.category_id = view.options.category_id; + commonApi._post("share/share", { + id: view.options.category_id, + url: view.route + }).then(res => { + console.log(res) + }) + } + let category_id = that.globalData.CategoryIds[view.route] || null; + if (view.route.indexOf('bike/index') != -1 && !category_id) { + category_id = that.globalData.CategoryIds[view.route + '?type=' + view.options.type] + } + if (category_id) { + view.options = view.options ? view.options : {}; + let str = []; + for (let i in view.options) { + str.push(i + '=' + view.options[i]) } - if (category_id) { - view.options = view.options?view.options:{}; - let str=[]; - for(let i in view.options){ - str.push(i+'='+view.options[i]) - } - str = str.join("&"); - view.onShareAppMessage = function () { - //你的分享配置 - return { - path: view.route+'?'+str+'&category_id='+category_id - }; - } + str = str.join("&"); + view.onShareAppMessage = function () { + //你的分享配置 + return { + path: view.route + '?' + str + '&category_id=' + category_id + }; } + } }) -}, + }, globalData: { - CategoryIds:{},//分享出去的页面id - category_id:"",//分享进来的参数 - from:"",// 是否是从其他小程序跳转过来的 如果是从其他小程序跳转的话 会记录 - uuid:null,// 设备唯一uuid + CategoryIds: {}, //分享出去的页面id + category_id: "", //分享进来的参数 + from: "", // 是否是从其他小程序跳转过来的 如果是从其他小程序跳转的话 会记录 + uuid: null, // 设备唯一uuid // 苏州市政府的经纬度 - latitude:"31.297401",//纬度 - longitude:"120.585639",//经度 + latitude: "31.297401", //纬度 + longitude: "120.585639", //经度 userInfo: null, - couponInfo:null, - mapKey:"DEUBZ-GG7RR-UZDWR-WXZD3-TARU5-4TB42", - safeBottom:0, - product:null, - postProduct:[], - ticketProduct:[], - index: 0, - createDate: null, - list: null, - productPrice: 0, - ticketPrice: 0, - productState:{ - "WAIT_PAYMENT":"待付款", - "WAIT_CONFIRM":"待确认", - "WAIT_POST":"待发货", - "WAIT_USE":"待出行", - 'WAIT_DELIVERY':'待收货', - 'WAIT_COMMENT':'待评价', - "NEED_REFUND":"退款退货", + couponInfo: null, + mapKey: "DEUBZ-GG7RR-UZDWR-WXZD3-TARU5-4TB42", + safeBottom: 0, + product: null, + postProduct: [], + ticketProduct: [], + index: 0, + createDate: null, + list: null, + productPrice: 0, + ticketPrice: 0, + productState: { + "WAIT_PAYMENT": "待付款", + "WAIT_CONFIRM": "待确认", + "WAIT_POST": "待发货", + "WAIT_USE": "待出行", + 'WAIT_DELIVERY': '待收货', + 'WAIT_COMMENT': '待评价', + "NEED_REFUND": "退款退货", "CLOSED": "已取消", "PAID": "已支付", - "WAIT_REFUND":"待退款", - "REFUND":"已退款", - "COMPLETED":"已完成", - "EXPIRED":"已过期/已失效", - "REFUNDING":"退款中" , - "TICKET_ERROR":"出票失败", - "REFUND_FAIL":"退订失败" + "WAIT_REFUND": "待退款", + "REFUND": "已退款", + "COMPLETED": "已完成", + "EXPIRED": "已过期/已失效", + "REFUNDING": "退款中", + "TICKET_ERROR": "出票失败", + "REFUND_FAIL": "退订失败" }, - orderState:{ - "UNPAID":"待付款", + orderState: { + "UNPAID": "待付款", // "WAIT_PAYMENT":"待付款", // "WAIT_CONFIRM":"待确认", // "WAIT_POST":"待发货", // "WAIT_USE":"待出行", // 'WAIT_DELIVERY':'待收货', - 'WAIT_COMMENT':'待评价', + 'WAIT_COMMENT': '待评价', // "NEED_REFUND":"退款退货", "CLOSED": "已取消", "PAID": "已支付", - "WAIT_REFUND":"待退款", - "REFUND":"已退款", - "COMPLETED":"已完成", + "WAIT_REFUND": "待退款", + "REFUND": "已退款", + "COMPLETED": "已完成", // "EXPIRED":"已过期/已失效", - "REFUNDING":"退款中" , - 'REFUND_REFUSE':'退款拒绝', - 'REFUND_ERROR':'退款异常', - 'OFFLINE_REFUND':'线下退款完成', - 'OFFLINE_WAIT':'线下退款处理中' + "REFUNDING": "退款中", + 'REFUND_REFUSE': '退款拒绝', + 'REFUND_ERROR': '退款异常', + 'OFFLINE_REFUND': '线下退款完成', + 'OFFLINE_WAIT': '线下退款处理中' }, - codeState:['未使用','已使用','已失效','已取消'], - weburl:"", - pay_methods:{ - NONE:"无需支付", - WEIXIN:"微信支付", - JIANSHEYINHANG:"建行支付", - ZHIFUBAO:"支付宝支付" + codeState: ['未使用', '已使用', '已失效', '已取消'], + weburl: "", + pay_methods: { + NONE: "无需支付", + WEIXIN: "微信支付", + JIANSHEYINHANG: "建行支付", + ZHIFUBAO: "支付宝支付" }, - kjId:null, - gp_id:null, - team_id:null, - retailId:"", - configJson:null, - prizeId:null, - loginPageEvent:{ + kjId: null, + gp_id: null, + team_id: null, + retailId: "", + configJson: null, + prizeId: null, + loginPageEvent: { "pages/list/message/index": 'message_login_' } } From 189bf0bd44340a207c6606733f9e72df890a0c5c Mon Sep 17 00:00:00 2001 From: nige Date: Mon, 30 Jan 2023 14:04:29 +0800 Subject: [PATCH 034/471] =?UTF-8?q?=E7=94=B5=E5=BD=B1=E9=9A=90=E8=97=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 4 ++-- pages/list/activitynew/index.wxml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app.js b/app.js index b38ef2f..62c9fb0 100644 --- a/app.js +++ b/app.js @@ -21,7 +21,7 @@ App({ unique_key: "wechatxcx" }).then(res => { let data = JSON.parse(res.data); - data.isTest = data.isTest51 ? true : false; + data.isTest = data.isTest52 ? true : false; this.globalData.configJson = data }).then(() => { // 获取ui配置文件 @@ -30,7 +30,7 @@ App({ res.data.content.forEach(item => { obj[item.id] = item.image }); - this.globalData.configJson.indexSeason = obj + this.globalData.configJson.indexSeason = obj }) }) diff --git a/pages/list/activitynew/index.wxml b/pages/list/activitynew/index.wxml index e74532c..1de916c 100644 --- a/pages/list/activitynew/index.wxml +++ b/pages/list/activitynew/index.wxml @@ -31,10 +31,10 @@ 讲座 --> - + 其他 From 1f3c7be72049ef1cda34588d3bdc3a939cd08bad Mon Sep 17 00:00:00 2001 From: nige Date: Tue, 31 Jan 2023 17:42:30 +0800 Subject: [PATCH 035/471] =?UTF-8?q?=E6=96=87=E6=A1=A3=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/component/TitleHeader.js | 10 +++--- pages/index/index.wxml | 46 ++++++++++++++------------- pages/index/index.wxss | 2 ++ pages/list/activitynew/index.js | 1 + pages/list/museum/index.wxml | 4 +-- pages/list/scene/index.js | 3 +- pages/list/six/index.wxml | 4 +-- pages/list/six/index.wxss | 3 +- pages/list/strategy/index.js | 8 +++-- pages/pbService/appreciate/index.js | 1 + pages/pbService/appreciate/index.wxml | 4 +-- pages/user/service/index.js | 2 +- 12 files changed, 50 insertions(+), 38 deletions(-) diff --git a/pages/component/TitleHeader.js b/pages/component/TitleHeader.js index 1bb59d9..3791421 100644 --- a/pages/component/TitleHeader.js +++ b/pages/component/TitleHeader.js @@ -69,11 +69,11 @@ Component({ }) } } - else if (pages[pages.length-1].route.indexOf('cartlist') != -1){ - wx.switchTab({ - url: '/pages/user/user' - }) - } + // else if (pages[pages.length-1].route.indexOf('cartlist') != -1){ + // wx.switchTab({ + // url: '/pages/user/user' + // }) + // } else if (pages[pages.length-1].route.indexOf('orderList') != -1){ console.log(11111); wx.navigateTo({ diff --git a/pages/index/index.wxml b/pages/index/index.wxml index 9a6d415..5bf0986 100644 --- a/pages/index/index.wxml +++ b/pages/index/index.wxml @@ -179,11 +179,21 @@ 数字博物馆 - + + 云上文博会 + + + + 投资导引图 + + @@ -194,21 +204,22 @@ 团体预约 --> - - - 投资导引图 - + - - - 云上文博会 + + 书香借阅 + + + + 文化配送 @@ -225,16 +236,7 @@ 视觉中心 - - - 书香借阅 - - - - 文化配送 - + @@ -360,9 +362,9 @@ {{item.title}} - + {{item.ext.price/100}} diff --git a/pages/index/index.wxss b/pages/index/index.wxss index 959a2ef..80f2505 100644 --- a/pages/index/index.wxss +++ b/pages/index/index.wxss @@ -376,6 +376,8 @@ .hot-price { color: #D62828; font-size: 24rpx; + margin-top:28rpx; + } .hot-price text:nth-child(2){ font-size: 33rpx; diff --git a/pages/list/activitynew/index.js b/pages/list/activitynew/index.js index f3ae26e..a094d64 100644 --- a/pages/list/activitynew/index.js +++ b/pages/list/activitynew/index.js @@ -108,6 +108,7 @@ Page({ pageNo:1, total:1, moreFlag:true, + selectDay:null }) this.getList() }, diff --git a/pages/list/museum/index.wxml b/pages/list/museum/index.wxml index 0157b4b..7d1b16a 100644 --- a/pages/list/museum/index.wxml +++ b/pages/list/museum/index.wxml @@ -26,13 +26,13 @@ - + diff --git a/pages/list/scene/index.js b/pages/list/scene/index.js index 7b1dbeb..eb9e183 100644 --- a/pages/list/scene/index.js +++ b/pages/list/scene/index.js @@ -70,7 +70,8 @@ Page({ item.tags = item.display_tags?item.display_tags.split(","):[]; item.tags = item.tags.splice(0,2); if(item.distance && item.distance>=1000){ - item.distance = item.distance/1000 + "km" + item.distance = item.distance/1000 + item.distance = item.distance.toFixed(1) + "km" } else if(item.distance){ item.distance = item.distance + "m" diff --git a/pages/list/six/index.wxml b/pages/list/six/index.wxml index 075a0fc..e3e1e40 100644 --- a/pages/list/six/index.wxml +++ b/pages/list/six/index.wxml @@ -32,10 +32,10 @@ 酒店住宿 - + 公共服务 diff --git a/pages/list/six/index.wxss b/pages/list/six/index.wxss index 01e1376..a8ad548 100644 --- a/pages/list/six/index.wxss +++ b/pages/list/six/index.wxss @@ -95,7 +95,7 @@ } .new-icons { display: flex; - justify-content: space-between; + /* justify-content: space-between; */ text-align: center; margin: 0 25rpx; font-size: 27rpx; @@ -113,6 +113,7 @@ .new-icon { width: 131rpx; margin-bottom: 20rpx; + margin-right: 15rpx; } .new-icon image.green-shadow { box-shadow: 3rpx 6rpx 18rpx 5rpx rgba(41, 176, 100, 0.24); diff --git a/pages/list/strategy/index.js b/pages/list/strategy/index.js index 723c474..a69bf5b 100644 --- a/pages/list/strategy/index.js +++ b/pages/list/strategy/index.js @@ -19,7 +19,6 @@ Page({ * 生命周期函数--监听页面加载 */ onLoad: function (options) { - this.getList() }, changeType:function(e){ let type = e.currentTarget.dataset.type; @@ -116,7 +115,12 @@ Page({ * 生命周期函数--监听页面显示 */ onShow: function () { - + this.setData({ + list:[], + page_no:1, + total:1, + }) + this.getList() }, /** diff --git a/pages/pbService/appreciate/index.js b/pages/pbService/appreciate/index.js index 7857825..5703e2d 100644 --- a/pages/pbService/appreciate/index.js +++ b/pages/pbService/appreciate/index.js @@ -103,6 +103,7 @@ Page({ }, gotoDetail:function(e){ let info = e.currentTarget.dataset.info; + console.log(this.data.type); if(this.data.type==2) { if(this.data.isIos==false){ this.setData({ diff --git a/pages/pbService/appreciate/index.wxml b/pages/pbService/appreciate/index.wxml index 1850f03..7cecc02 100644 --- a/pages/pbService/appreciate/index.wxml +++ b/pages/pbService/appreciate/index.wxml @@ -19,7 +19,7 @@ {{item.CatalogName || item.Tag}} - + \ No newline at end of file diff --git a/pages/user/service/index.js b/pages/user/service/index.js index 214336e..4b01b44 100644 --- a/pages/user/service/index.js +++ b/pages/user/service/index.js @@ -53,7 +53,7 @@ Page({ commonApi._post("ics/getQuestionByTypeId",{ type_id:this.data.typeId, page_no:1, - page_num:10 + page_num:5 }).then(res=>{ this.setData({ list:res.data.rows, From 563c29d97ee6cc4cc752f3579879e645cef57400 Mon Sep 17 00:00:00 2001 From: nige Date: Tue, 31 Jan 2023 17:44:56 +0800 Subject: [PATCH 036/471] =?UTF-8?q?=E7=89=88=E6=9C=AC=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 62c9fb0..4d36d15 100644 --- a/app.js +++ b/app.js @@ -21,7 +21,7 @@ App({ unique_key: "wechatxcx" }).then(res => { let data = JSON.parse(res.data); - data.isTest = data.isTest52 ? true : false; + data.isTest = data.isTest53? true : false; this.globalData.configJson = data }).then(() => { // 获取ui配置文件 From f0478926f9d3a090d45ea5864ebd41b667c02292 Mon Sep 17 00:00:00 2001 From: nige Date: Wed, 1 Feb 2023 10:18:18 +0800 Subject: [PATCH 037/471] =?UTF-8?q?=E8=B4=AD=E7=89=A9=E8=BD=A6=E4=B8=8B?= =?UTF-8?q?=E6=9E=B6=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/user/cartlist/list.js | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/pages/user/cartlist/list.js b/pages/user/cartlist/list.js index ddd0c1c..5ee79aa 100644 --- a/pages/user/cartlist/list.js +++ b/pages/user/cartlist/list.js @@ -83,11 +83,13 @@ Page({ let index = e.currentTarget.dataset.index, list = this.data.list; if (list[index].product.flag != 1 || list[index].sku.flag != 'on') { - wx.showToast({ - title: '产品已下架', - icon: 'none' - }) - return; + if (!this.data.manageFlag) { + wx.showToast({ + title: '产品已下架', + icon: 'none' + }) + return; + } } list[index].checked = list[index].checked ? false : true; this.setData({ From 5c189125604d7e58f562eb1e685621805003fb16 Mon Sep 17 00:00:00 2001 From: nige Date: Fri, 3 Feb 2023 17:12:52 +0800 Subject: [PATCH 038/471] =?UTF-8?q?=E6=B4=BB=E5=8A=A8=E6=97=A5=E5=8E=86?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E7=BB=8F=E7=BA=AC=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/list/activitynew/index.js | 406 +++++++++++++++++--------------- pages/list/scene/index.js | 1 - 2 files changed, 211 insertions(+), 196 deletions(-) diff --git a/pages/list/activitynew/index.js b/pages/list/activitynew/index.js index a094d64..0ba8d01 100644 --- a/pages/list/activitynew/index.js +++ b/pages/list/activitynew/index.js @@ -8,25 +8,25 @@ Page({ * 页面的初始数据 */ data: { - isYL:false, - selectDay:new Date().getTime(), - days: ['日','一','二','三','四','五','六'], - types:[null,'show','exhibition','scene','movie','lecture','other'], - weeks:[], - pageNo:1, - sort:"", - list:[], - date:null, - total:1, - areas:['姑苏','吴江','苏州'], - area:0, - type:2, - movieType:1, - moreFlag:true, - lat:"", - lon:"", - keywords:"", - realKeywords:"" + isYL: false, + selectDay: new Date().getTime(), + days: ['日', '一', '二', '三', '四', '五', '六'], + types: [null, 'show', 'exhibition', 'scene', 'movie', 'lecture', 'other'], + weeks: [], + pageNo: 1, + sort: "", + list: [], + date: null, + total: 1, + areas: ['姑苏', '吴江', '苏州'], + area: 0, + type: 2, + movieType: 1, + moreFlag: true, + lat: "", + lon: "", + keywords: "", + realKeywords: "" }, /** @@ -34,317 +34,333 @@ Page({ */ onLoad: function (options) { let d = new Date(); - let month = d.getMonth() + 1,day = d.getDate(); - month = month>10?month:("0"+month); - day = day>10?day:("0"+day); + let month = d.getMonth() + 1, + day = d.getDate(); + month = month > 10 ? month : ("0" + month); + day = day > 10 ? day : ("0" + day); this.setData({ - selectDay:d.getTime(), - date:d.getFullYear()+"-"+month+"-"+day + selectDay: d.getTime(), + date: d.getFullYear() + "-" + month + "-" + day }) this.getWeekDay(); - commonApi._post("pbservice/Other/getSuzhouAreas").then(res=>{ + commonApi._post("pbservice/Other/getSuzhouAreas").then(res => { res.data.unshift({ - area_code:"", - area_name:"苏州市" + area_code: "", + area_name: "苏州市" }) - if(options.area_code){ - let index = res.data.findIndex(item=>item.area_code==options.area_code); + if (options.area_code) { + let index = res.data.findIndex(item => item.area_code == options.area_code); this.setData({ - area:index + area: index }) } this.setData({ - areas:res.data + areas: res.data + }) + let that = this + wx.getLocation({ + type: 'gcj02', + success: function (res) { + that.setData({ + lat: res.latitude, + lon: res.longitude + }) + that.getList() + }, + fail: function () { + that.getList() + } }) - this.getList() }) }, - changeType:function(e){ + changeType: function (e) { this.setData({ - type:e.currentTarget.dataset.type, - list:[], - total:1, - pageNo:1, - moreFlag:true, - keywords:"", - realKeywords:"" + type: e.currentTarget.dataset.type, + list: [], + total: 1, + pageNo: 1, + moreFlag: true, + keywords: "", + realKeywords: "" }) this.getList(); }, - changeArea:function(e){ + changeArea: function (e) { this.setData({ - area:e.detail.value, - list:[], - total:1, - pageNo:1, - moreFlag:true + area: e.detail.value, + list: [], + total: 1, + pageNo: 1, + moreFlag: true }) this.getList() }, // 获取当前选择日期的一周日期范围 - getWeekDay:function(){ - var myDate = this.data.selectDay, daySecond = 24 * 60 * 60 * 1000,reslist=[]; - for (let i = myDate - daySecond * 3; i <= myDate + daySecond * 3; i = i + daySecond){ - let day = new Date(i),putDate = day.getDate(); - putDate = putDate>=10?putDate:'0'+putDate + getWeekDay: function () { + var myDate = this.data.selectDay, + daySecond = 24 * 60 * 60 * 1000, + reslist = []; + for (let i = myDate - daySecond * 3; i <= myDate + daySecond * 3; i = i + daySecond) { + let day = new Date(i), + putDate = day.getDate(); + putDate = putDate >= 10 ? putDate : '0' + putDate let item = { - times:i, - day:this.data.days[day.getDay()], - date:putDate, - isSelect:i==myDate - }; + times: i, + day: this.data.days[day.getDay()], + date: putDate, + isSelect: i == myDate + }; reslist.push(item); } this.setData({ weeks: reslist }) }, - yulan:function(e){ + yulan: function (e) { let flag = e.currentTarget.dataset.flag; - if(flag==0 && this.data.isYL || flag==1 && this.data.isYL==false) return; + if (flag == 0 && this.data.isYL || flag == 1 && this.data.isYL == false) return; this.setData({ - isYL:flag==0, - list:[], - pageNo:1, - total:1, - moreFlag:true, - selectDay:null + isYL: flag == 0, + list: [], + pageNo: 1, + total: 1, + moreFlag: true, + selectDay: null }) this.getList() }, - getYL:function(){ + getYL: function () { let list = this.data.list; - commonApi._post("pbservice/Actcalendar/getActPrevList",{ - page_no:this.data.pageNo, - category:this.data.types[this.data.type], - keywords:this.data.realKeywords, - area_key:this.data.areas[this.data.area].area_code, - page_num:10 - }).then(res=>{ + commonApi._post("pbservice/Actcalendar/getActPrevList", { + page_no: this.data.pageNo, + category: this.data.types[this.data.type], + keywords: this.data.realKeywords, + area_key: this.data.areas[this.data.area].area_code, + lon:this.data.lon, + lat:this.data.lat, + page_num: 10 + }).then(res => { this.setData({ - total:res.data.total, - list:list.concat(res.data.rows), - pageNo:this.data.pageNo+1 + total: res.data.total, + list: list.concat(res.data.rows), + pageNo: this.data.pageNo + 1 }) }) }, // picker修改日期 - bindDateChange:function(e){ + bindDateChange: function (e) { this.setData({ selectDay: new Date(e.detail.value).getTime(), - list:[], - pageNo:1, - total:1, - date:e.detail.value, - moreFlag:true, - isYL:false + list: [], + pageNo: 1, + total: 1, + date: e.detail.value, + moreFlag: true, + isYL: false }) this.getWeekDay(); this.getList(); }, // 点击修改日期 - changeDate:function(e){ - let times = e.currentTarget.dataset.times,d = new Date(times); - let month = d.getMonth()+1,day = d.getDate(); - month = month>10?month:('0'+month); - day = day>10?day:('0'+day); + changeDate: function (e) { + let times = e.currentTarget.dataset.times, + d = new Date(times); + let month = d.getMonth() + 1, + day = d.getDate(); + month = month > 10 ? month : ('0' + month); + day = day > 10 ? day : ('0' + day); this.setData({ selectDay: times, - date:d.getFullYear()+"-"+month+"-"+day, - list:[], - pageNo:1, - total:1, - moreFlag:true, - isYL:false + date: d.getFullYear() + "-" + month + "-" + day, + list: [], + pageNo: 1, + total: 1, + moreFlag: true, + isYL: false }) this.getList(); }, - getList:function(){ + getList: function () { let list = this.data.list; - if(this.data.isYL){ + if (this.data.isYL) { this.getYL(); return; } - if(this.data.type==4){ + if (this.data.type == 4) { this.getMovie(); return; } - if(list.length>=this.data.total) return; - commonApi._post('pbservice/Actcalendar/getActList',{ - page_no:this.data.pageNo, - date:this.data.date, - category:this.data.types[this.data.type], - keywords:this.data.realKeywords, - area_key:this.data.areas[this.data.area].area_code, - page_num:10 - }).then(res=>{ + if (list.length >= this.data.total) return; + commonApi._post('pbservice/Actcalendar/getActList', { + page_no: this.data.pageNo, + date: this.data.date, + category: this.data.types[this.data.type], + keywords: this.data.realKeywords, + area_key: this.data.areas[this.data.area].area_code, + lat: this.data.lat, + lon: this.data.lon, + page_num: 10 + }).then(res => { let now = new Date().getTime(); - res.data.rows.map(item=>{ - if(item.end_date){ + res.data.rows.map(item => { + if (item.end_date) { let end_date = item.end_date; - if(end_date.indexOf(":")==-1){ - end_date = end_date+" 23:59:59"; + if (end_date.indexOf(":") == -1) { + end_date = end_date + " 23:59:59"; } - end_date = new Date(end_date.replace(/-/g,'/')).getTime(); - if(end_date{ + success: (res) => { this.setData({ - lat:res.latitude, - lon:res.longitude + lat: res.latitude, + lon: res.longitude }) - data.lat =res.latitude; - data.lon =res.longitude; - commonApi._post('Cinema/'+service[this.data.movieType],data).then(res=>{ - res.data.map(item=>{ - if(item.distance || item.distance==0){ - if(item.distance>=1000){ - item.distance = (item.distance/1000).toFixed(2)+'km'; - } - else { - item.distance = (item.distance).toFixed(2)+'m'; + data.lat = res.latitude; + data.lon = res.longitude; + commonApi._post('Cinema/' + service[this.data.movieType], data).then(res => { + res.data.map(item => { + if (item.distance || item.distance == 0) { + if (item.distance >= 1000) { + item.distance = (item.distance / 1000).toFixed(2) + 'km'; + } else { + item.distance = (item.distance).toFixed(2) + 'm'; } } }) this.setData({ - list:this.data.list.concat(res.data), - pageNo:this.data.pageNo+1, - moreFlag:res.data.length<10?false:true + list: this.data.list.concat(res.data), + pageNo: this.data.pageNo + 1, + moreFlag: res.data.length < 10 ? false : true }) }) }, - fail:()=>{ + fail: () => { wx.showToast({ title: '请打开位置授权', - icon:'none' + icon: 'none' }) - commonApi._post('Cinema/'+service[this.data.movieType],data).then(res=>{ + commonApi._post('Cinema/' + service[this.data.movieType], data).then(res => { this.setData({ - list:this.data.list.concat(res.data), - pageNo:this.data.pageNo+1, - moreFlag:res.data.length<10?false:true + list: this.data.list.concat(res.data), + pageNo: this.data.pageNo + 1, + moreFlag: res.data.length < 10 ? false : true }) }) } }) - } - else { - commonApi._post('Cinema/'+service[this.data.movieType],data).then(res=>{ - res.data.map(item=>{ - if(item.distance || item.distance==0){ - if(item.distance>=1000){ - item.distance = (item.distance/1000).toFixed(2)+'km'; - } - else { - item.distance = (item.distance).toFixed(2)+'m'; + } else { + commonApi._post('Cinema/' + service[this.data.movieType], data).then(res => { + res.data.map(item => { + if (item.distance || item.distance == 0) { + if (item.distance >= 1000) { + item.distance = (item.distance / 1000).toFixed(2) + 'km'; + } else { + item.distance = (item.distance).toFixed(2) + 'm'; } } }) this.setData({ - list:this.data.list.concat(res.data), - pageNo:this.data.pageNo+1, - moreFlag:res.data.length<10?false:true + list: this.data.list.concat(res.data), + pageNo: this.data.pageNo + 1, + moreFlag: res.data.length < 10 ? false : true }) }) } }, - setSort:function(e){ + setSort: function (e) { let sort = e.currentTarget.dataset.sort; - if(this.data.sort==sort) sort=""; + if (this.data.sort == sort) sort = ""; this.setData({ - sort:sort, - list:[], - total:1, - pageNo:1, - moreFlag:true + sort: sort, + list: [], + total: 1, + pageNo: 1, + moreFlag: true }) this.getList(); }, - changeMovieType:function(e){ + changeMovieType: function (e) { let type = e.currentTarget.dataset.type; this.setData({ - movieType:type, - list:[], - pageNo:1, - total:1, - moreFlag:true + movieType: type, + list: [], + pageNo: 1, + total: 1, + moreFlag: true }) this.getList() }, - gotoDetail:function(e){ + gotoDetail: function (e) { let item = e.currentTarget.dataset.item; - if(this.data.type==4 && this.data.movieType!=2){ + if (this.data.type == 4 && this.data.movieType != 2) { wx.navigateTo({ - url: '/pages/list/movieticket/list/info/index?id='+item.third_id + url: '/pages/list/movieticket/list/info/index?id=' + item.third_id }) - } - else if(this.data.type==4){ + } else if (this.data.type == 4) { wx.navigateTo({ - url: '/pages/list/movieticket/list/cinema/index?id='+item.third_id + url: '/pages/list/movieticket/list/cinema/index?id=' + item.third_id }) - } - else { + } else { wx.navigateTo({ - url: '/pages/info/activityInfo/index?id='+item.id, + url: '/pages/info/activityInfo/index?id=' + item.id, }) } }, - changeKeywords:function(e){ + changeKeywords: function (e) { this.setData({ - keywords:e.detail.value + keywords: e.detail.value }) }, - search:function(){ + search: function () { this.setData({ - realKeywords:this.data.keywords, - list:[], - pageNo:1, - total:1, - moreFlag:true + realKeywords: this.data.keywords, + list: [], + pageNo: 1, + total: 1, + moreFlag: true }) this.getList(); }, /** * 生命周期函数--监听页面初次渲染完成 */ - onReady: function () { - }, + onReady: function () {}, /** * 生命周期函数--监听页面显示 diff --git a/pages/list/scene/index.js b/pages/list/scene/index.js index eb9e183..3c2655c 100644 --- a/pages/list/scene/index.js +++ b/pages/list/scene/index.js @@ -39,7 +39,6 @@ Page({ that.getList() } }) - }, search:function(e){ this.setData(e.detail); From c627426aa0175a43cb28cacb69c5221ad68ba9ff Mon Sep 17 00:00:00 2001 From: nige Date: Mon, 6 Feb 2023 09:42:42 +0800 Subject: [PATCH 039/471] =?UTF-8?q?=E6=B4=BB=E5=8A=A8=E6=97=A5=E5=8E=86?= =?UTF-8?q?=E5=9C=B0=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/info/activityInfo/index.js | 9 +++++++++ pages/info/activityInfo/index.wxml | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/pages/info/activityInfo/index.js b/pages/info/activityInfo/index.js index e9e56b2..a2082a2 100644 --- a/pages/info/activityInfo/index.js +++ b/pages/info/activityInfo/index.js @@ -34,6 +34,15 @@ Page({ showShareFlag: !this.data.showShareFlag }) }, + gotolocation: function () { + let info = this.data.info; + if (this.data.info.lat&&this.data.info.lon) { + wx.openLocation({ + latitude: Number(info.lat), + longitude: Number(info.lon) + }) + } + }, pagePoint(e,type) { util.pagePoint(e,type) }, diff --git a/pages/info/activityInfo/index.wxml b/pages/info/activityInfo/index.wxml index 7cfa8fd..08f705a 100644 --- a/pages/info/activityInfo/index.wxml +++ b/pages/info/activityInfo/index.wxml @@ -18,7 +18,7 @@ 活动时间:{{info.begin_date}} ~ {{info.end_date}} - + 活动地点:{{info.detail_address}} From 7d4fb24cba5108bcb9669597c2a99b3702b20128 Mon Sep 17 00:00:00 2001 From: nige Date: Thu, 9 Feb 2023 17:19:02 +0800 Subject: [PATCH 040/471] =?UTF-8?q?=E6=96=87=E6=A1=A3=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 2 +- pages/component/TitleHeader.js | 10 +++- pages/info/postProductInfo/index.js | 18 +++--- pages/list/activitynew/index.js | 16 +++-- pages/list/activitynew/index.wxml | 17 +++++- pages/list/activitynew/index.wxss | 23 +++++--- pages/map/index.wxml | 4 +- pages/order/components/address/index.js | 20 ++++++- pages/order/postOrder/index.js | 65 ++++++++++----------- pages/user/address/add/index.wxml | 2 +- pages/user/order/museumOrderInfo/index.wxml | 7 ++- 11 files changed, 118 insertions(+), 66 deletions(-) diff --git a/app.js b/app.js index 4d36d15..981ebb5 100644 --- a/app.js +++ b/app.js @@ -21,7 +21,7 @@ App({ unique_key: "wechatxcx" }).then(res => { let data = JSON.parse(res.data); - data.isTest = data.isTest53? true : false; + data.isTest = data.isTest54? true : false; this.globalData.configJson = data }).then(() => { // 获取ui配置文件 diff --git a/pages/component/TitleHeader.js b/pages/component/TitleHeader.js index 3791421..7c384b3 100644 --- a/pages/component/TitleHeader.js +++ b/pages/component/TitleHeader.js @@ -73,7 +73,15 @@ Component({ // wx.switchTab({ // url: '/pages/user/user' // }) - // } + // } + else if (pages[pages.length-1].route.indexOf('pages/order/pay/index') != -1){ + console.log(pages[pages.length-1]); + wx.redirectTo({ + url:'/pages/user/order/list' + }) + } + + else if (pages[pages.length-1].route.indexOf('orderList') != -1){ console.log(11111); wx.navigateTo({ diff --git a/pages/info/postProductInfo/index.js b/pages/info/postProductInfo/index.js index 5135dbe..ba80c6e 100644 --- a/pages/info/postProductInfo/index.js +++ b/pages/info/postProductInfo/index.js @@ -72,15 +72,15 @@ Page({ }) // 获取补贴 - commonApi.user_post("product/getProductAllowancePrice", { - product_code: res.data.product_code - }).then(resTwo => { - if (resTwo && resTwo.code == 1) { - this.setData({ - allowance_data: resTwo.data - }) - } - }) + // commonApi.user_post("product/getProductAllowancePrice", { + // product_code: res.data.product_code + // }).then(resTwo => { + // if (resTwo && resTwo.code == 1) { + // this.setData({ + // allowance_data: resTwo.data + // }) + // } + // }) this.BroswerRecord() }) // 获取评价列表 diff --git a/pages/list/activitynew/index.js b/pages/list/activitynew/index.js index 0ba8d01..acb4921 100644 --- a/pages/list/activitynew/index.js +++ b/pages/list/activitynew/index.js @@ -10,7 +10,7 @@ Page({ data: { isYL: false, selectDay: new Date().getTime(), - days: ['日', '一', '二', '三', '四', '五', '六'], + days: [ '日','一', '二', '三', '四', '五', '六'], types: [null, 'show', 'exhibition', 'scene', 'movie', 'lecture', 'other'], weeks: [], pageNo: 1, @@ -20,7 +20,7 @@ Page({ total: 1, areas: ['姑苏', '吴江', '苏州'], area: 0, - type: 2, + type: 9, movieType: 1, moreFlag: true, lat: "", @@ -80,9 +80,10 @@ Page({ total: 1, pageNo: 1, moreFlag: true, - keywords: "", - realKeywords: "" + // keywords: "", + // realKeywords: "" }) + console.log(this.data.type); this.getList(); }, changeArea: function (e) { @@ -110,6 +111,7 @@ Page({ date: putDate, isSelect: i == myDate }; + reslist.push(item); } this.setData({ @@ -353,7 +355,11 @@ Page({ list: [], pageNo: 1, total: 1, - moreFlag: true + moreFlag: true, + date:null, + isYL: true, + selectDay: null + }) this.getList(); }, diff --git a/pages/list/activitynew/index.wxml b/pages/list/activitynew/index.wxml index 1de916c..9d75834 100644 --- a/pages/list/activitynew/index.wxml +++ b/pages/list/activitynew/index.wxml @@ -15,6 +15,10 @@ + + + 全部 + 展览 @@ -42,14 +46,21 @@ diff --git a/pages/list/activitynew/index.wxss b/pages/list/activitynew/index.wxss index aa2624a..c53c97a 100644 --- a/pages/list/activitynew/index.wxss +++ b/pages/list/activitynew/index.wxss @@ -65,18 +65,18 @@ border-radius: 3rpx; .yulan { flex-shrink: 0; width: 60rpx; - padding-right: 20rpx; - line-height: 80rpx; text-align: right; background: #fff; border-radius: 0px 30rpx 30rpx 0px; - color: #0B898E; + color: #333333; white-space: nowrap; font-size: 26rpx; + display: flex; + flex-direction: column; + } .yulan.active { - background:#0B898E; - color:#fff; + color: #0B898E; } .date-item { font-size: 26rpx; @@ -85,10 +85,17 @@ border-radius: 3rpx; display: flex; flex-direction: column; justify-content: center; + width: 79rpx; +height:100%; + + + } .date-item.active { font-weight:500; color: #0B898E; + +background: rgba(11, 137, 142, .1); } .calendar-img { width: 70rpx; @@ -101,12 +108,12 @@ border-radius: 3rpx; border-radius: 30rpx 0px 0px 30rpx; } .calendar-img image { - width: 56rpx; - height: 60rpx; + width: 50rpx; + height: 50rpx; display: block; } .calendar-img.active { - background-color: #0B898E; + } .top-fixed-activity { background: #f7f7f7; diff --git a/pages/map/index.wxml b/pages/map/index.wxml index fb97d33..639b2c4 100644 --- a/pages/map/index.wxml +++ b/pages/map/index.wxml @@ -31,10 +31,10 @@ 文保单位 - + 运河十景 diff --git a/pages/order/components/address/index.js b/pages/order/components/address/index.js index 28fcdb0..8be68f1 100644 --- a/pages/order/components/address/index.js +++ b/pages/order/components/address/index.js @@ -85,7 +85,7 @@ Component({ else { commonApi.user_post("token/check").then(res=>{ if(res.code==1){ - this.getLinkmanList() + this.getDefault() } }) } @@ -227,6 +227,24 @@ Component({ showMask:false }) this.triggerEvent("setAddress",item) + }, + getDefault:function(e){ + commonApi.user_post("token/check").then(res=>{ + if(res.code==1){ + userApi.user_post("user/getDefaultContact",{ + contactType:"CONSIGNEE" + }).then(res=>{ + console.log(res) + this.setData({ + selectLinkman:res.data + }) + if(res.data){ + this.triggerEvent("setAddress",res.data) + } + this.getLinkmanList() + }) + } + }) } } }) diff --git a/pages/order/postOrder/index.js b/pages/order/postOrder/index.js index 16edcbe..5248ae4 100644 --- a/pages/order/postOrder/index.js +++ b/pages/order/postOrder/index.js @@ -28,7 +28,6 @@ Page({ * 生命周期函数--监听页面加载 */ onLoad: function (options) { - this.setData({ from: options.from, kjId: app.globalData.kjId, @@ -269,38 +268,38 @@ Page({ coupon: app.globalData.couponInfo }) // 获取补贴 - if (this.data.product.length == 1) { - commonApi.user_post("product/getProductAllowancePrice", { - product_code: this.data.product[0].product.product_code - }).then(resTwo => { - console.log(resTwo) - if (resTwo && resTwo.code == 1) { - this.setData({ - allowance_data: resTwo.data - }) - let spread_price = Number(this.data.allowance_data.discount_limit_price - this.data.allowance_data.user_used_price) - let sInfo = this.data.product[0].sku - console.log(9999, this.data.allowance_data.discount_rate / 100 * sInfo.price) - console.log(9999, spread_price) - if (spread_price > 0) { - if (spread_price < this.data.allowance_data.discount_rate / 100 * sInfo.price) { - this.setData({ - allowance_price: spread_price - }) - } else { - this.setData({ - allowance_price: this.data.allowance_data.discount_rate / 100 * sInfo.price - }) - } - this.changePrice() - } else { - this.setData({ - allowance_price: 0 - }) - } - } - }) - } + // if (this.data.product.length == 1) { + // commonApi.user_post("product/getProductAllowancePrice", { + // product_code: this.data.product[0].product.product_code + // }).then(resTwo => { + // console.log(resTwo) + // if (resTwo && resTwo.code == 1) { + // this.setData({ + // allowance_data: resTwo.data + // }) + // let spread_price = Number(this.data.allowance_data.discount_limit_price - this.data.allowance_data.user_used_price) + // let sInfo = this.data.product[0].sku + // console.log(9999, this.data.allowance_data.discount_rate / 100 * sInfo.price) + // console.log(9999, spread_price) + // if (spread_price > 0) { + // if (spread_price < this.data.allowance_data.discount_rate / 100 * sInfo.price) { + // this.setData({ + // allowance_price: spread_price + // }) + // } else { + // this.setData({ + // allowance_price: this.data.allowance_data.discount_rate / 100 * sInfo.price + // }) + // } + // this.changePrice() + // } else { + // this.setData({ + // allowance_price: 0 + // }) + // } + // } + // }) + // } }, /** diff --git a/pages/user/address/add/index.wxml b/pages/user/address/add/index.wxml index 42336f3..48a27e6 100644 --- a/pages/user/address/add/index.wxml +++ b/pages/user/address/add/index.wxml @@ -24,7 +24,7 @@ 设为默认 - + 保存 diff --git a/pages/user/order/museumOrderInfo/index.wxml b/pages/user/order/museumOrderInfo/index.wxml index df360d4..04d9025 100644 --- a/pages/user/order/museumOrderInfo/index.wxml +++ b/pages/user/order/museumOrderInfo/index.wxml @@ -32,11 +32,11 @@ 商品总价 ¥{{info.total_money/100}} - + 运费 ¥{{info.total_post_fee/100}} - + 优惠券抵扣 -¥{{info.preference_money/100}} @@ -78,6 +78,9 @@ {{item.title}}:{{item.id_number}} + + 手机号:{{item.tel}} + From 047d41adbe62db367ea78da5be2b8de7baa93c61 Mon Sep 17 00:00:00 2001 From: nige Date: Tue, 14 Feb 2023 16:29:23 +0800 Subject: [PATCH 041/471] =?UTF-8?q?=E6=96=87=E6=A1=A3=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 2 +- pages/component/TitleHeader.js | 7 ++- pages/order/scene/index.js | 58 ++++++++++++------------- pages/pbService/wwcx/index.wxml | 4 +- pages/search/list/index.wxml | 4 +- pages/user/address/add/index.js | 8 ++-- pages/user/order/list.js | 8 ++-- pages/user/order/postOrderInfo/index.js | 3 ++ 8 files changed, 51 insertions(+), 43 deletions(-) diff --git a/app.js b/app.js index 981ebb5..fab4ac5 100644 --- a/app.js +++ b/app.js @@ -21,7 +21,7 @@ App({ unique_key: "wechatxcx" }).then(res => { let data = JSON.parse(res.data); - data.isTest = data.isTest54? true : false; + data.isTest = data.isTest55? true : false; this.globalData.configJson = data }).then(() => { // 获取ui配置文件 diff --git a/pages/component/TitleHeader.js b/pages/component/TitleHeader.js index 7c384b3..6aaafbf 100644 --- a/pages/component/TitleHeader.js +++ b/pages/component/TitleHeader.js @@ -75,15 +75,18 @@ Component({ // }) // } else if (pages[pages.length-1].route.indexOf('pages/order/pay/index') != -1){ - console.log(pages[pages.length-1]); wx.redirectTo({ url:'/pages/user/order/list' }) } + else if (pages[pages.length-1].route.indexOf('pages/user/order/list') != -1){ + wx.switchTab({ + url: '/pages/user/user' + }) + } else if (pages[pages.length-1].route.indexOf('orderList') != -1){ - console.log(11111); wx.navigateTo({ url: '/pages/user/cartlist/list' }) diff --git a/pages/order/scene/index.js b/pages/order/scene/index.js index c00611d..6ba8417 100644 --- a/pages/order/scene/index.js +++ b/pages/order/scene/index.js @@ -378,35 +378,35 @@ Page({ coupon: app.globalData.couponInfo }) // 获取补贴 - if (this.data.product) { - commonApi.user_post("product/getProductAllowancePrice", { - product_code: this.data.product.product.product_code - }).then(resTwo => { - if (resTwo && resTwo.code == 1) { - this.setData({ - allowance_data: resTwo.data - }) - let spread_price = Number(this.data.allowance_data.discount_limit_price - this.data.allowance_data.user_used_price) - let sInfo = this.data.product.sku - if (spread_price > 0) { - if (spread_price < this.data.allowance_data.discount_rate / 100 * sInfo.price) { - this.setData({ - allowance_price: spread_price - }) - } else { - this.setData({ - allowance_price: this.data.allowance_data.discount_rate / 100 * sInfo.price - }) - } - this.changePrice() - } else { - this.setData({ - allowance_price: 0 - }) - } - } - }) - } + // if (this.data.product) { + // commonApi.user_post("product/getProductAllowancePrice", { + // product_code: this.data.product.product.product_code + // }).then(resTwo => { + // if (resTwo && resTwo.code == 1) { + // this.setData({ + // allowance_data: resTwo.data + // }) + // let spread_price = Number(this.data.allowance_data.discount_limit_price - this.data.allowance_data.user_used_price) + // let sInfo = this.data.product.sku + // if (spread_price > 0) { + // if (spread_price < this.data.allowance_data.discount_rate / 100 * sInfo.price) { + // this.setData({ + // allowance_price: spread_price + // }) + // } else { + // this.setData({ + // allowance_price: this.data.allowance_data.discount_rate / 100 * sInfo.price + // }) + // } + // this.changePrice() + // } else { + // this.setData({ + // allowance_price: 0 + // }) + // } + // } + // }) + // } }, /** diff --git a/pages/pbService/wwcx/index.wxml b/pages/pbService/wwcx/index.wxml index 7193b9e..2eb35d0 100644 --- a/pages/pbService/wwcx/index.wxml +++ b/pages/pbService/wwcx/index.wxml @@ -35,8 +35,8 @@ {{item.name}} - 藏于{{item.collection_name}} - 入藏时间{{item.age}} + 藏于{{item.collection_name}} + 入藏时间{{item.age}} 等级{{item.level_name}} 区域{{item.area?areaName[item.area]:'苏州'}} 历史年代{{item.age}} diff --git a/pages/search/list/index.wxml b/pages/search/list/index.wxml index e70d080..6e2a3f6 100644 --- a/pages/search/list/index.wxml +++ b/pages/search/list/index.wxml @@ -102,8 +102,8 @@ {{item.title}} - 电话:{{item.ext.tel}} - 地址:{{item.ext.address}} + 电话:{{item.ext.tel||item.ext.scene_tel}} + 地址:{{item.ext.address||item.ext.supplier_address}} diff --git a/pages/user/address/add/index.js b/pages/user/address/add/index.js index 7186676..647d084 100644 --- a/pages/user/address/add/index.js +++ b/pages/user/address/add/index.js @@ -9,7 +9,7 @@ Page({ * 页面的初始数据 */ data: { - isDefault:true, + is_default:true, region: [], customItem: '', formData:{ @@ -38,7 +38,7 @@ Page({ if(this.data.id){ // 获取当前收货地址详情 user.user_post("user/getContactInfoById",{id:this.data.id}).then(res=>{ - res.data.isDefault = res.data.isDefault=='1'; + res.data.is_default = res.data.is_default=='1'; res.data.mobile = res.data.tel; res.data.username = res.data.name; res.data.address = res.data.detail_addr; @@ -117,7 +117,7 @@ Page({ // 设为默认 setDefault:function(e){ var formData = this.data.formData; - formData.isDefault = e.detail.value; + formData.is_default = e.detail.value; this.setData({ formData: formData }) @@ -268,7 +268,7 @@ Page({ data.province_id = areaList.filter(item => item.name == province)[0].id; data.city_id = areaList.filter(item => item.name == city && item.pid == data.province_id)[0].id; data.district_id = areaList.filter(item => item.name == area && item.pid == data.city_id)[0].id; - data.is_default = data.isDefault?'1':'0'; + data.is_default = data.is_default?'1':'0'; data.detail_addr = data.address let service ="addNewConsignee"; if(this.data.id){ diff --git a/pages/user/order/list.js b/pages/user/order/list.js index cf87a6d..de965af 100644 --- a/pages/user/order/list.js +++ b/pages/user/order/list.js @@ -133,12 +133,11 @@ Page({ }) }) + }, gotoDetail:function(e){ let item = e.currentTarget.dataset.item; - item = this.getChild(item) - util.gotoOrder(item) }, @@ -247,7 +246,10 @@ Page({ * 生命周期函数--监听页面显示 */ onShow: function () { - + this.setData({ + list:[] + }) + this.getList() }, /** diff --git a/pages/user/order/postOrderInfo/index.js b/pages/user/order/postOrderInfo/index.js index 8982e37..ae80367 100644 --- a/pages/user/order/postOrderInfo/index.js +++ b/pages/user/order/postOrderInfo/index.js @@ -66,8 +66,11 @@ Page({ icon:'success' }) info.state = "CLOSED"; + info.state_text = "已关闭"; + info.order_product_list.map(item=>{ item.state='CLOSED' + item.state_text='已关闭' }) _this.setData({ info:info From f31c23fede02128682a4ff9cbecefc4c556d06ec Mon Sep 17 00:00:00 2001 From: nige Date: Wed, 15 Feb 2023 16:52:58 +0800 Subject: [PATCH 042/471] =?UTF-8?q?=E6=96=87=E6=A1=A3=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 2 +- pages/info/sceneProductInfo/index.js | 77 +++++++++++++++++++++++----- pages/user/user.wxml | 4 +- pages/user/videoCoupon/index.js | 4 +- project.private.config.json | 3 +- 5 files changed, 72 insertions(+), 18 deletions(-) diff --git a/app.js b/app.js index fab4ac5..7fe404f 100644 --- a/app.js +++ b/app.js @@ -21,7 +21,7 @@ App({ unique_key: "wechatxcx" }).then(res => { let data = JSON.parse(res.data); - data.isTest = data.isTest55? true : false; + data.isTest = data.isTest56? true : false; this.globalData.configJson = data }).then(() => { // 获取ui配置文件 diff --git a/pages/info/sceneProductInfo/index.js b/pages/info/sceneProductInfo/index.js index aad07af..5f9657f 100644 --- a/pages/info/sceneProductInfo/index.js +++ b/pages/info/sceneProductInfo/index.js @@ -25,19 +25,55 @@ Page({ allowance_data: null, //购物车数量 producNum: 1, - skuIndex:null, + skuIndex: null, aniSkuIndex: -1, cartCount: 0, cartImgInfo: null, cartTop: 0, top: 0, skuList: [], //立即预定的列表 + sku_ids: [ + 353954, + 353950, + 353949, + 353951, + 353947, + 353953, + 353685, + 353684, + 353952, + 353686, + 353948, + 354730, + 354409, + 354359, + 345343, + 354756, + 354385, + 354360, + 354361, + 354362, + 355466, + 355465, + 356230, + 356223, + 356207, + 346648, + 357518, + 356233, + 354381, + 354384, + 356324, + 354737, + 355467, + ] }, /** * 生命周期函数--监听页面加载 */ onLoad: function (options) { + console.log(options); if (!options.id) { util.back() return; @@ -74,8 +110,8 @@ Page({ // 如果带有指定skuid的话 那么取指定的sku展示 if (options.skuid) { let pItem = null; - for (let i = 0; i < res.data.product.length; i++) {//3 - for (let j = 0; j < res.data.product[i].sku.length; j++) {//4 + for (let i = 0; i < res.data.product.length; i++) { //3 + for (let j = 0; j < res.data.product[i].sku.length; j++) { //4 if (res.data.product[i].sku[j].id == options.skuid) { res.data.product[i].sku = [res.data.product[i].sku[j]]; pItem = res.data.product[i]; @@ -86,6 +122,21 @@ Page({ if (pItem) { res.data.product = [pItem]; } + + } else if (options.zhuanti_type == "yihuFree") { + + let skuArr = this.data.sku_ids + let newArr = [] + for (let i = 0; i < res.data.product.length; i++) { //3 + for (let j = 0; j < res.data.product[i].sku.length; j++) { //4 + for (let k = 0; k < skuArr.length; k++) { + if (res.data.product[i].sku[j].id == skuArr[k]) { + newArr.push(res.data.product[i].sku[j]) + } + } + } + res.data.product[i].sku = newArr; + } } // res.data.listimg = res.data.listimg?res.data.listimg.split(","):[]; res.data.product.map(product => { @@ -250,7 +301,7 @@ Page({ // }, selectSku: function (e) { console.log(e.currentTarget.dataset.item); - if (e.currentTarget.dataset.item.stock == 0 && e.currentTarget.dataset.item.is_third_stock!=1) { + if (e.currentTarget.dataset.item.stock == 0 && e.currentTarget.dataset.item.is_third_stock != 1) { wx.showToast({ title: "该商品暂无库存", icon: 'none' @@ -301,10 +352,10 @@ Page({ ...sku, ...product } - - wx.navigateTo({ - url: '/pages/order/scene/index', - }) + + wx.navigateTo({ + url: '/pages/order/scene/index', + }) } else { commonApi.user_post("cart/add_sku", { sku_id: this.data.skuList[this.data.skuIndex].id, @@ -313,7 +364,7 @@ Page({ if (res.code == 1) { commonApi.user_post('cart/get_list', {}).then(res => { this.setData({ - cartCount: res.data.length//5 + cartCount: res.data.length //5 }) }) // 加动效 @@ -661,7 +712,7 @@ Page({ }) return; } - if (this.data.info.product[0].type=='line') { + if (this.data.info.product[0].type == 'line') { wx.navigateTo({ url: '/pages/order/road/index?id=' + this.data.info.product[0].id }) @@ -691,9 +742,10 @@ Page({ * 生命周期函数--监听页面显示 */ onShow: function () { + console.log(11111); commonApi.user_post('cart/get_list', {}).then(res => { this.setData({ - cartCount: res.data.length//1 + cartCount: res.data.length //1 }) }) if (!wx.getStorageSync('jstrip_token')) { @@ -734,8 +786,9 @@ Page({ //// 获取补贴结束 } else { + console.log(2222); setTimeout(() => { - this.onShow() + // this.onShow() }, 200) } diff --git a/pages/user/user.wxml b/pages/user/user.wxml index 9cc4f84..d39a015 100644 --- a/pages/user/user.wxml +++ b/pages/user/user.wxml @@ -66,9 +66,9 @@ 团体预约订单 - + diff --git a/pages/user/videoCoupon/index.js b/pages/user/videoCoupon/index.js index 2f98442..1eb9f1b 100644 --- a/pages/user/videoCoupon/index.js +++ b/pages/user/videoCoupon/index.js @@ -21,8 +21,8 @@ Page({ }, getList(){ if(this.data.list.length>=this.data.total) return; - commonApi.user_post("actonline/video_act/prizeLog",{ - id:5, + commonApi.user_post("sweepstakes/sweepstakes_act/prizeLog",{ + sweepstakes_id:6, page:this.data.page, limit:20 }).then(res=>{ diff --git a/project.private.config.json b/project.private.config.json index d03db11..eedf488 100644 --- a/project.private.config.json +++ b/project.private.config.json @@ -65,5 +65,6 @@ } }, "projectname": "%E8%8B%8F%E5%B7%9E%E6%96%87%E6%97%85", - "description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html" + "description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html", + "libVersion": "2.30.0" } \ No newline at end of file From 62e377e9580743f0b193f805ea7818faf8d94684 Mon Sep 17 00:00:00 2001 From: nige Date: Thu, 16 Feb 2023 17:27:29 +0800 Subject: [PATCH 043/471] =?UTF-8?q?=E6=96=87=E6=A1=A3=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 2 +- pages/list/food/index.wxss | 2 +- pages/list/six/index.js | 10 ++++++++++ pages/list/six/index.wxml | 8 ++++++-- pages/search/list/index.wxml | 2 +- 5 files changed, 19 insertions(+), 5 deletions(-) diff --git a/app.js b/app.js index 7fe404f..3214fff 100644 --- a/app.js +++ b/app.js @@ -21,7 +21,7 @@ App({ unique_key: "wechatxcx" }).then(res => { let data = JSON.parse(res.data); - data.isTest = data.isTest56? true : false; + data.isTest = data.isTest57? true : false; this.globalData.configJson = data }).then(() => { // 获取ui配置文件 diff --git a/pages/list/food/index.wxss b/pages/list/food/index.wxss index 554f85d..94c5cf7 100644 --- a/pages/list/food/index.wxss +++ b/pages/list/food/index.wxss @@ -41,7 +41,7 @@ page { } .item .main-img { width: 599rpx; - height: 828rpx; + height: 1111rpx; border-radius: 53rpx; display: block; } diff --git a/pages/list/six/index.js b/pages/list/six/index.js index a3b816e..22781a5 100644 --- a/pages/list/six/index.js +++ b/pages/list/six/index.js @@ -1,4 +1,6 @@ // pages/list/six/index.js +let app = getApp() + import commonApi from "../../../utils/https/common" import util from "../../../utils/util" Page({ @@ -48,6 +50,14 @@ Page({ }) } }, + goH5(e){ + let url = e.currentTarget.dataset.url; + app.globalData.weburl = url; + console.log(app.globalData.weburl); + wx.navigateTo({ + url: "/pages/pbService/web/index" + }) + }, getTypes:function(){ // 获取苏城六纪下面的分类 commonApi._post("act/get_type_by_area",{ diff --git a/pages/list/six/index.wxml b/pages/list/six/index.wxml index e3e1e40..8beacd3 100644 --- a/pages/list/six/index.wxml +++ b/pages/list/six/index.wxml @@ -51,10 +51,14 @@ 公共自行车 - + + + + 文物查询 + 周边推荐 diff --git a/pages/search/list/index.wxml b/pages/search/list/index.wxml index 6e2a3f6..dbcbb41 100644 --- a/pages/search/list/index.wxml +++ b/pages/search/list/index.wxml @@ -36,7 +36,7 @@ {{item}} - {{item.ext.address}} + {{item.ext.address}} 距您直线距离{{item.ext.distance}}km From e57295fbd9814e4d9f924c2ec65df755a46c05a9 Mon Sep 17 00:00:00 2001 From: nige Date: Mon, 27 Feb 2023 08:41:28 +0800 Subject: [PATCH 044/471] =?UTF-8?q?=E6=96=87=E6=A1=A3=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/index.wxml | 8 ++++---- pages/info/postProductInfo/index.js | 7 ++++++- pages/info/postProductInfo/index.wxml | 14 +++++++++++--- pages/info/postProductInfo/index.wxss | 23 +++++++++++++++++++++++ pages/list/store/index.js | 2 ++ pages/old/linkman/add/index.wxss | 6 +++--- pages/order/hotel/index.wxml | 2 +- pages/order/hotel/index.wxss | 2 +- pages/order/scene/index.js | 14 +++++++------- pages/search/list/index.wxml | 4 ++-- pages/user/address/add/index.wxml | 4 ++++ utils/util.js | 17 ++++++++++++++--- 12 files changed, 78 insertions(+), 25 deletions(-) diff --git a/pages/index/index.wxml b/pages/index/index.wxml index 5bf0986..193659b 100644 --- a/pages/index/index.wxml +++ b/pages/index/index.wxml @@ -179,16 +179,16 @@ 数字博物馆 - 云上文博会 - - --> + diff --git a/pages/order/hotel/index.wxss b/pages/order/hotel/index.wxss index 765c9a1..7be5117 100644 --- a/pages/order/hotel/index.wxss +++ b/pages/order/hotel/index.wxss @@ -164,7 +164,7 @@ page { z-index: 98; } .price-all { - line-height: 100rpx; + /* line-height: 100rpx; */ flex: 1; } .price-all text { diff --git a/pages/order/scene/index.js b/pages/order/scene/index.js index 6ba8417..a17e7c5 100644 --- a/pages/order/scene/index.js +++ b/pages/order/scene/index.js @@ -191,13 +191,13 @@ Page({ order: function () { let linkmanList = this.data.linkmanList, productNum = this.data.productNum, date = this.data.date, time = this.data.time, remark = this.data.remark, product = this.data.product; let linkmanIds = []; - if (linkmanList.length < productNum && app.globalData.product.isGroup != 1) { - wx.showToast({ - title: '请选择' + productNum + "个出行人", - icon: "none" - }) - return; - } + // if (linkmanList.length < productNum && app.globalData.product.isGroup != 1) { + // wx.showToast({ + // title: '请选择' + productNum + "个出行人", + // icon: "none" + // }) + // return; + // } if (!date) { wx.showToast({ title: '请选择使用日期', diff --git a/pages/search/list/index.wxml b/pages/search/list/index.wxml index dbcbb41..5c718ec 100644 --- a/pages/search/list/index.wxml +++ b/pages/search/list/index.wxml @@ -28,7 +28,7 @@ - + @@ -40,7 +40,7 @@ 距您直线距离{{item.ext.distance}}km - {{item.ext.price/100}} + {{item.ext.price/100}} diff --git a/pages/user/address/add/index.wxml b/pages/user/address/add/index.wxml index 48a27e6..ad93f4e 100644 --- a/pages/user/address/add/index.wxml +++ b/pages/user/address/add/index.wxml @@ -16,7 +16,11 @@ {{multiArray[0][multiIndex[0]]}}{{multiArray[1][multiIndex[1]]}}{{multiArray[2][multiIndex[2]]}} + + + > + 详细地址 diff --git a/utils/util.js b/utils/util.js index 3fb54d1..cf8390c 100644 --- a/utils/util.js +++ b/utils/util.js @@ -200,9 +200,20 @@ const gotoDetail = (item,isPagePoint) =>{ pagePointData.id = item.id pagePoint(pagePointData,1) } - wx.navigateTo({ - url: '/pages/info/postProductInfo/index?id='+item.id - }) + try { + if (item.iShop) { + wx.navigateTo({ + url: '/pages/info/postProductInfo/index?id='+item.id+'&iShop='+item.iShop+'&supplierId='+item.supplierId + }) + }else{ + wx.navigateTo({ + url: '/pages/info/postProductInfo/index?id='+item.id + }) + } + } catch (error) { + + } + break; case "line": // 产品 线路 From 6e449bf9181a39e5c2e4b886cdb63d7a415583e9 Mon Sep 17 00:00:00 2001 From: nige Date: Mon, 27 Feb 2023 08:43:12 +0800 Subject: [PATCH 045/471] =?UTF-8?q?=E7=89=88=E6=9C=AC=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 3214fff..1933352 100644 --- a/app.js +++ b/app.js @@ -21,7 +21,7 @@ App({ unique_key: "wechatxcx" }).then(res => { let data = JSON.parse(res.data); - data.isTest = data.isTest57? true : false; + data.isTest = data.isTest58? true : false; this.globalData.configJson = data }).then(() => { // 获取ui配置文件 From ae78fd5d857d593070017578089ed017708daf11 Mon Sep 17 00:00:00 2001 From: nige Date: Mon, 6 Mar 2023 17:33:01 +0800 Subject: [PATCH 046/471] =?UTF-8?q?=E5=BA=97=E9=93=BA,=E4=BB=B7=E6=A0=BC?= =?UTF-8?q?=E7=AD=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 2 +- pages/info/postProductInfo/index.js | 8 ++++---- pages/list/activitynew/index.wxml | 4 ++-- pages/list/techan/index.wxml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/app.js b/app.js index 1933352..14672bf 100644 --- a/app.js +++ b/app.js @@ -21,7 +21,7 @@ App({ unique_key: "wechatxcx" }).then(res => { let data = JSON.parse(res.data); - data.isTest = data.isTest58? true : false; + data.isTest = data.isTest59? true : false; this.globalData.configJson = data }).then(() => { // 获取ui配置文件 diff --git a/pages/info/postProductInfo/index.js b/pages/info/postProductInfo/index.js index 6fd1215..2f1ce66 100644 --- a/pages/info/postProductInfo/index.js +++ b/pages/info/postProductInfo/index.js @@ -46,9 +46,7 @@ Page({ let height = (rect.top - device.statusBarHeight) * 2 + rect.height + device.statusBarHeight; this.setData({ top: height, - id: options.id, - iShop:options.iShop||false, - supplierId:options.supplierId + id: options.id }) // 获取购物车按钮的位置 wx.createSelectorQuery().select('#cart').boundingClientRect(function (res) { @@ -73,7 +71,9 @@ Page({ } res.data.flag = res.data.sku.find(item => item.flag == 'on') ? res.data.flag : 0 this.setData({ - info: res.data + info: res.data, + supplierId:res.data.supplier_id, + iShop:res.data.supplier_id?true:false }) // 获取补贴 diff --git a/pages/list/activitynew/index.wxml b/pages/list/activitynew/index.wxml index 9d75834..7fc61dd 100644 --- a/pages/list/activitynew/index.wxml +++ b/pages/list/activitynew/index.wxml @@ -35,10 +35,10 @@ 讲座 --> - + 其他 diff --git a/pages/list/techan/index.wxml b/pages/list/techan/index.wxml index 7a992ad..9d8e3df 100644 --- a/pages/list/techan/index.wxml +++ b/pages/list/techan/index.wxml @@ -19,13 +19,13 @@ {{item.address}} - {{tool.toFix(item.start_price)}} + {{(item.start_price/100)}} {{item.title}} - {{tool.toFix(item.price)}}{{item.market_price/100}} + {{(item.price/100)}}{{item.market_price/100}} From a4b533f4d70088f365a55fe8600820c0e368ddcb Mon Sep 17 00:00:00 2001 From: nige Date: Tue, 7 Mar 2023 17:15:20 +0800 Subject: [PATCH 047/471] =?UTF-8?q?=E6=B4=BB=E5=8A=A8=E6=97=A5=E5=8E=86?= =?UTF-8?q?=E7=94=B5=E5=BD=B1=E8=B4=AD=E4=B9=B0=E9=9A=90=E8=97=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 2 +- pages/list/movieticket/list/info/index.js | 2 +- pages/list/movieticket/list/info/index.wxml | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app.js b/app.js index 14672bf..1188526 100644 --- a/app.js +++ b/app.js @@ -21,7 +21,7 @@ App({ unique_key: "wechatxcx" }).then(res => { let data = JSON.parse(res.data); - data.isTest = data.isTest59? true : false; + data.isTest = data.isTest60? true : false; this.globalData.configJson = data }).then(() => { // 获取ui配置文件 diff --git a/pages/list/movieticket/list/info/index.js b/pages/list/movieticket/list/info/index.js index 6246e89..829bd7f 100644 --- a/pages/list/movieticket/list/info/index.js +++ b/pages/list/movieticket/list/info/index.js @@ -18,7 +18,7 @@ Page({ commonApi._post("Cinema/getMovieDetail",{ show_id:options.id }).then(res=>{ - let showFlag = new Date(res.data.open_day.replace(/-/g,'/')).getTime()<=new Date().getTime(); + let showFlag = new Date(res.data.open_time.replace(/-/g,'/')).getTime()<=new Date().getTime(); res.data.listimg = res.data.listimg.split(",") || [] this.setData({ info:res.data, diff --git a/pages/list/movieticket/list/info/index.wxml b/pages/list/movieticket/list/info/index.wxml index 8960ea8..8076186 100644 --- a/pages/list/movieticket/list/info/index.wxml +++ b/pages/list/movieticket/list/info/index.wxml @@ -4,7 +4,7 @@ {{info.title}} - {{info.duration?(info.duration+'分钟/'):''}}{{info.type?(info.type+'/'):''}}{{info.country}} + {{info.duration?(info.duration+'分钟/'):''}}{{info.type?(info.type):''}}{{info.country?'/'+info.country:''}} {{info.open_day}}{{info.country?('在'+info.country):''}}上映 评分:{{info.remark}} @@ -25,5 +25,5 @@ - 立即购票 + \ No newline at end of file From 456ffc9c6ccf6e3c8bd8891066739c94daee3ba6 Mon Sep 17 00:00:00 2001 From: nige Date: Thu, 16 Mar 2023 17:06:48 +0800 Subject: [PATCH 048/471] =?UTF-8?q?=E5=8D=9A=E7=89=A9=E9=A6=86=20=E9=A6=96?= =?UTF-8?q?=E9=A1=B5=E7=9B=B4=E6=8E=A5=E8=B7=B3=E5=B0=8F=E7=A8=8B=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 2 +- pages/index/index.js | 18 ++++++++++++++++++ pages/index/index.wxml | 8 ++++---- pages/index/index.wxss | 2 +- pages/info/sceneProductInfo/index.wxml | 4 ++-- pages/list/activitynew/index.wxml | 2 +- pages/list/museum/index.wxml | 18 +++++------------- pages/list/museum/index.wxss | 26 +++++++++++++++++++++----- pages/list/six/index.js | 8 +++++++- pages/list/six/index.wxml | 4 ++-- pages/list/theatre/index.wxml | 2 +- 11 files changed, 63 insertions(+), 31 deletions(-) diff --git a/app.js b/app.js index 1188526..803dea3 100644 --- a/app.js +++ b/app.js @@ -21,7 +21,7 @@ App({ unique_key: "wechatxcx" }).then(res => { let data = JSON.parse(res.data); - data.isTest = data.isTest60? true : false; + data.isTest = data.isTest62? true : false; this.globalData.configJson = data }).then(() => { // 获取ui配置文件 diff --git a/pages/index/index.js b/pages/index/index.js index 0fcd33d..33e2454 100644 --- a/pages/index/index.js +++ b/pages/index/index.js @@ -351,6 +351,24 @@ Page({ path: 'pages/index/index' }) return; + }else if (e.currentTarget.dataset.event == 'kunshan_click') { + wx.navigateToMiniProgram({ + appId: 'wx8888a3fd0862b4c8', + path: 'pages/index/index' + }) + return; + }else if (e.currentTarget.dataset.event == 'taicang_click') { + wx.navigateToMiniProgram({ + appId: 'wx8853b0d93cbca75e', + path: 'pages/home/home' + }) + return; + }else if (e.currentTarget.dataset.event == 'gongyeyuanqu_click') { + wx.navigateToMiniProgram({ + appId: 'wxd323e63a10aa6865', + path: 'pages/home/index' + }) + return; } wx.navigateTo({ url: e.currentTarget.dataset.path, diff --git a/pages/index/index.wxml b/pages/index/index.wxml index 193659b..5bf0986 100644 --- a/pages/index/index.wxml +++ b/pages/index/index.wxml @@ -179,16 +179,16 @@ 数字博物馆 - - + @@ -117,7 +117,7 @@ - {{skuIndex||skuIndex==0?tool.toFix(skuList[skuIndex].price):tool.toFix(skuList[0].price)}} + {{skuIndex||skuIndex==0?skuList[skuIndex].price/100:skuList[0].price/100}} 补贴价:¥{{ (1 - allowance_data.discount_rate / 100) * info.sku[skuIndex].price / 100 }} diff --git a/pages/list/activitynew/index.wxml b/pages/list/activitynew/index.wxml index 7fc61dd..68718d7 100644 --- a/pages/list/activitynew/index.wxml +++ b/pages/list/activitynew/index.wxml @@ -86,7 +86,7 @@ - 已结束 + 已结束 {{item.from_platform}} diff --git a/pages/list/museum/index.wxml b/pages/list/museum/index.wxml index 7d1b16a..22a5544 100644 --- a/pages/list/museum/index.wxml +++ b/pages/list/museum/index.wxml @@ -3,7 +3,7 @@ - + {{item.garden_flag_text}} @@ -12,27 +12,19 @@ 电话:{{item.tel}} 点击预约 - + {{item.title}} - + 博物馆本馆 - + 预约 博物馆西馆 - 不含探索体验馆 - + 预约 - diff --git a/pages/list/museum/index.wxss b/pages/list/museum/index.wxss index a3564c8..88ee367 100644 --- a/pages/list/museum/index.wxss +++ b/pages/list/museum/index.wxss @@ -28,6 +28,10 @@ page { font-size: 19rpx; color: #666; align-items: center; + +} +.border{ + } .item:nth-child(2n) .info { border-radius: 17rpx 0 0 17rpx; @@ -56,14 +60,25 @@ page { width: 240rpx; height: 67rpx; background: #FFFFFF; - box-shadow: 0px 0px 6rpx 0px rgba(108, 74, 33, 0.35); + /* box-shadow: 0px 0px 6rpx 0px rgba(108, 74, 33, 0.35); */ border-radius: 33rpx; justify-content: center; font-size: 28rpx; color: #333333; font-weight: bold; - margin: 0 auto; - margin-bottom: 13rpx; + margin: 18rpx auto; + +} +.btn-yy{ + +background: #CA2A28; +border-radius: 36rpx; +font-size: 27rpx; +font-family: PingFangSC; +font-weight: 500; +color: #FFFFFF; +padding: 6rpx 18rpx; +margin-left:16rpx ; } .info .com-flex .iconfont { width: 27rpx; @@ -76,13 +91,14 @@ page { margin-left: 10rpx; } .info .tip-box { - height: 180rpx; - background: #FBECDC; + /* height: 180rpx; */ + /* background: #FBECDC; */ width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; + border-top:1rpx solid rgba(216, 216, 216, 1) ; } .info .tip-box .com-flex { height: 71rpx; diff --git a/pages/list/six/index.js b/pages/list/six/index.js index 22781a5..b2c94be 100644 --- a/pages/list/six/index.js +++ b/pages/list/six/index.js @@ -38,6 +38,7 @@ Page({ }) }, gotoPath:function(e){ + console.log(e); if(e.currentTarget.dataset.event.area_key == 'taicang'){ wx.navigateToMiniProgram({ appId: 'wx8853b0d93cbca75e', @@ -48,7 +49,12 @@ Page({ appId: 'wxd323e63a10aa6865', path: 'pages/home/index' }) - } + }else if (e.currentTarget.dataset.event.area_key == 'kunshan') { + wx.navigateToMiniProgram({ + appId: 'wx8888a3fd0862b4c8', + path: 'pages/index/index' + }) + } }, goH5(e){ let url = e.currentTarget.dataset.url; diff --git a/pages/list/six/index.wxml b/pages/list/six/index.wxml index 8beacd3..c571922 100644 --- a/pages/list/six/index.wxml +++ b/pages/list/six/index.wxml @@ -55,10 +55,10 @@ 文物查询 --> - + 周边推荐 diff --git a/pages/list/theatre/index.wxml b/pages/list/theatre/index.wxml index ae70777..849b02e 100644 --- a/pages/list/theatre/index.wxml +++ b/pages/list/theatre/index.wxml @@ -15,7 +15,7 @@ {{item.subtitle?item.subtitle:""}} {{item}} - {{item.price?tool.toFix(item.price):0}} + {{item.price?item.price/100:0}} From 3e6dbab085b2f07aa8cad0a85669256b07e7caaa Mon Sep 17 00:00:00 2001 From: nige Date: Tue, 21 Mar 2023 09:17:31 +0800 Subject: [PATCH 049/471] =?UTF-8?q?=E6=96=87=E6=A1=A3=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 2 +- pages/pbService/activity/index.js | 4 ++-- pages/pbService/activity/index.wxml | 4 ++-- pages/pbService/activity/index.wxss | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app.js b/app.js index 803dea3..666f9e3 100644 --- a/app.js +++ b/app.js @@ -21,7 +21,7 @@ App({ unique_key: "wechatxcx" }).then(res => { let data = JSON.parse(res.data); - data.isTest = data.isTest62? true : false; + data.isTest = data.isTest63? true : false; this.globalData.configJson = data }).then(() => { // 获取ui配置文件 diff --git a/pages/pbService/activity/index.js b/pages/pbService/activity/index.js index 8cd4c6e..1bfa95e 100644 --- a/pages/pbService/activity/index.js +++ b/pages/pbService/activity/index.js @@ -10,7 +10,7 @@ Page({ list:[], page:1, total:1, - navList: [{title: '精彩2022', year: 2022}, {title: '回顾2021', year: 2021}], + // navList: [{title: '精彩2022', year: 2022}, {title: '回顾2021', year: 2021}], navIndex: 0 }, @@ -33,7 +33,7 @@ Page({ https._post("review/getList",{ limit:10, page:this.data.page, - year: this.data.navList[this.data.navIndex].year + year:'' }).then(res=>{ this.setData({ total:res.data.total, diff --git a/pages/pbService/activity/index.wxml b/pages/pbService/activity/index.wxml index 3df0999..d63a517 100644 --- a/pages/pbService/activity/index.wxml +++ b/pages/pbService/activity/index.wxml @@ -1,9 +1,9 @@ - + diff --git a/pages/pbService/activity/index.wxss b/pages/pbService/activity/index.wxss index 29de696..1c4fc25 100644 --- a/pages/pbService/activity/index.wxss +++ b/pages/pbService/activity/index.wxss @@ -4,7 +4,7 @@ width: 100%; } .list{ - margin-top: 90rpx; + margin-top: 10rpx; } .item { margin: 40rpx 27rpx; From e53d3bf4aa6b192e606b0dd1a16a00e35b76d29f Mon Sep 17 00:00:00 2001 From: nige Date: Tue, 21 Mar 2023 14:09:06 +0800 Subject: [PATCH 050/471] =?UTF-8?q?=E5=BE=80=E6=9C=9F=E5=9B=9E=E9=A1=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 2 +- pages/pbService/activity/index.js | 16 +++++++++++++--- pages/pbService/activity/index.wxml | 9 +++++++-- pages/pbService/activity/index.wxss | 22 +++++++++++++++++++++- 4 files changed, 42 insertions(+), 7 deletions(-) diff --git a/app.js b/app.js index 666f9e3..5b1572c 100644 --- a/app.js +++ b/app.js @@ -21,7 +21,7 @@ App({ unique_key: "wechatxcx" }).then(res => { let data = JSON.parse(res.data); - data.isTest = data.isTest63? true : false; + data.isTest = data.isTest64? true : false; this.globalData.configJson = data }).then(() => { // 获取ui配置文件 diff --git a/pages/pbService/activity/index.js b/pages/pbService/activity/index.js index 1bfa95e..f5ef5fb 100644 --- a/pages/pbService/activity/index.js +++ b/pages/pbService/activity/index.js @@ -10,8 +10,10 @@ Page({ list:[], page:1, total:1, - // navList: [{title: '精彩2022', year: 2022}, {title: '回顾2021', year: 2021}], - navIndex: 0 + navList: [{title: '精彩2023', year: 2023}, {title: '往期回顾', year: 2022}], + navIndex: 0, + sNavIndex:0, + sNavList:[{title: '回顾2022', year: 2022}, {title: '回顾2021', year: 2021}] }, /** @@ -28,12 +30,20 @@ Page({ }) this.getList() }, + changeSNav(e){ + this.setData({ + page:0, + list:[], + sNavIndex:e.currentTarget.dataset.index + }) + this.getList() + }, getList:function(){ if(this.data.list.length>=this.data.total) return; https._post("review/getList",{ limit:10, page:this.data.page, - year:'' + year:this.data.sNavIndex===0?this.data.navList[this.data.navIndex].year:this.data.sNavList[this.data.sNavIndex].year }).then(res=>{ this.setData({ total:res.data.total, diff --git a/pages/pbService/activity/index.wxml b/pages/pbService/activity/index.wxml index d63a517..13cb93c 100644 --- a/pages/pbService/activity/index.wxml +++ b/pages/pbService/activity/index.wxml @@ -1,9 +1,14 @@ - + + + + {{ item.title }} + + diff --git a/pages/pbService/activity/index.wxss b/pages/pbService/activity/index.wxss index 1c4fc25..55e544c 100644 --- a/pages/pbService/activity/index.wxss +++ b/pages/pbService/activity/index.wxss @@ -4,7 +4,7 @@ width: 100%; } .list{ - margin-top: 10rpx; + margin-top: 90rpx; } .item { margin: 40rpx 27rpx; @@ -69,3 +69,23 @@ page { margin-bottom: -20rpx; background-image: url("https://static.ticket.sz-trip.com/activity/WonderfulReview/select.png"); } +.s_menu{ + display: flex; + align-items: center; + justify-content: space-between; + padding: 0 122rpx; + margin-top: 45rpx; +} +.s_item{ + font-size: 32rpx; + font-family: PingFang SC; + font-weight: bold; + color: #695A56; + padding: 4rpx 20rpx; +} +.s_item.s_active{ + background: #6A5B58; + border: 1rpx solid #6A5B58; + border-radius: 7rpx; + color: #FFFFFF; +} From a45e39aafc6def3c8f2754c7a542ea58596317e0 Mon Sep 17 00:00:00 2001 From: nige Date: Wed, 29 Mar 2023 17:40:58 +0800 Subject: [PATCH 051/471] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E6=8E=A8=E8=8D=90,?= =?UTF-8?q?=E6=9C=9F=E7=A5=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 2 +- pages/index/index.js | 4 +++- pages/index/index.wxss | 4 ++-- pages/info/sceneProductInfo/index.js | 1 - pages/order/scene/index.js | 11 +++++++---- pages/order/scene/index.wxml | 2 +- pages/user/cartlist/list.js | 2 +- pages/user/order/sceneOrderInfo/index.wxml | 7 ++++++- 8 files changed, 21 insertions(+), 12 deletions(-) diff --git a/app.js b/app.js index 5b1572c..c37935d 100644 --- a/app.js +++ b/app.js @@ -21,7 +21,7 @@ App({ unique_key: "wechatxcx" }).then(res => { let data = JSON.parse(res.data); - data.isTest = data.isTest64? true : false; + data.isTest = data.isTest65? true : false; this.globalData.configJson = data }).then(() => { // 获取ui配置文件 diff --git a/pages/index/index.js b/pages/index/index.js index 33e2454..71f024e 100644 --- a/pages/index/index.js +++ b/pages/index/index.js @@ -458,7 +458,9 @@ Page({ }) }, onReachBottom: function () { - // this.getList() + if (this.data.list.length<30) { + this.getList() + } }, gotoDetail: function (e) { let item = e.currentTarget.dataset.item; diff --git a/pages/index/index.wxss b/pages/index/index.wxss index 1186938..649f537 100644 --- a/pages/index/index.wxss +++ b/pages/index/index.wxss @@ -473,11 +473,11 @@ } .more-btn-text { text-align: center; - color: #999; + color: #0b898e; font-size: 27rpx; width: 200rpx; line-height: 65rpx; - border: 1px solid #999999; + border: 1px solid #0b898e; border-radius: 33rpx; margin: 20rpx auto; } diff --git a/pages/info/sceneProductInfo/index.js b/pages/info/sceneProductInfo/index.js index 5f9657f..bb1a3df 100644 --- a/pages/info/sceneProductInfo/index.js +++ b/pages/info/sceneProductInfo/index.js @@ -352,7 +352,6 @@ Page({ ...sku, ...product } - wx.navigateTo({ url: '/pages/order/scene/index', }) diff --git a/pages/order/scene/index.js b/pages/order/scene/index.js index a17e7c5..3aa31dd 100644 --- a/pages/order/scene/index.js +++ b/pages/order/scene/index.js @@ -28,6 +28,7 @@ Page({ allowance_price: 0, pIndex: 0, flag:null, + ticket_type:1 }, /** @@ -39,7 +40,8 @@ Page({ kjId: app.globalData.kjId, gp_id: app.globalData.gp_id || app.globalData.team_id, prizeId: wx.getStorageSync('prizeId'), - flag:options.flag + flag:options.flag, + ticket_type:app.globalData.product.sku.ticket_type || 1 }) if (!app.globalData.product) { util.back(); @@ -198,7 +200,7 @@ Page({ // }) // return; // } - if (!date) { + if (!date && this.data.ticket_type == 1) { wx.showToast({ title: '请选择使用日期', icon: 'none' @@ -265,8 +267,9 @@ Page({ if(app.globalData.list){ app.globalData.list[app.globalData.index] = this.data.product } - app.globalData.ticketPrice += (this.data.singlePrice * this.data.productNum - (this.data.coupon?this.data.coupon.activity.money:0))/100; - if(app.globalData.list && app.globalData.list.length > app.globalData.index + 1){ + app.globalData.ticketPrice += (this.data.singlePrice * this.data.productNum - (this.data.coupon?this.data.coupon.activity.money:0))/100; + console.log(app.globalData); + if(app.globalData.list.list && app.globalData.list.length > app.globalData.index + 1){ if(app.globalData.createDate){ app.globalData.createDate.product_list.push(data.product_list[0]) }else{ diff --git a/pages/order/scene/index.wxml b/pages/order/scene/index.wxml index 79c3f8d..f4ee161 100644 --- a/pages/order/scene/index.wxml +++ b/pages/order/scene/index.wxml @@ -5,7 +5,7 @@ {{product.product.title + product.isGroup==1?'(团体预约)':product.sku.sku_name}} 免费 - diff --git a/pages/user/cartlist/list.js b/pages/user/cartlist/list.js index 5ee79aa..3065686 100644 --- a/pages/user/cartlist/list.js +++ b/pages/user/cartlist/list.js @@ -165,7 +165,7 @@ Page({ this.data.productType = 'post' } } - }) + }) if (product.length == 0 && product1.length == 0) { wx.showToast({ title: '请先选择产品', diff --git a/pages/user/order/sceneOrderInfo/index.wxml b/pages/user/order/sceneOrderInfo/index.wxml index e304840..2512257 100644 --- a/pages/user/order/sceneOrderInfo/index.wxml +++ b/pages/user/order/sceneOrderInfo/index.wxml @@ -61,10 +61,15 @@ {{ item.state_text }} - + 出行日期: {{item.use_date}} {{ item.start_time }}-{{ item.end_time }} + + + 使用日期: + {{ item.order_advance.start_time }}-{{ item.order_advance.end_time }} + 出行人信息 From b982c5752e8fc3b8824b09787182af421ee5a5f1 Mon Sep 17 00:00:00 2001 From: nige Date: Thu, 30 Mar 2023 15:05:15 +0800 Subject: [PATCH 052/471] =?UTF-8?q?=E5=8D=9A=E7=89=A9=E9=A6=86=E9=A2=84?= =?UTF-8?q?=E7=BA=A6bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 2 +- pages/order/scene/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app.js b/app.js index c37935d..4c767d4 100644 --- a/app.js +++ b/app.js @@ -21,7 +21,7 @@ App({ unique_key: "wechatxcx" }).then(res => { let data = JSON.parse(res.data); - data.isTest = data.isTest65? true : false; + data.isTest = data.isTest66? true : false; this.globalData.configJson = data }).then(() => { // 获取ui配置文件 diff --git a/pages/order/scene/index.js b/pages/order/scene/index.js index 3aa31dd..15a8be3 100644 --- a/pages/order/scene/index.js +++ b/pages/order/scene/index.js @@ -269,7 +269,7 @@ Page({ } app.globalData.ticketPrice += (this.data.singlePrice * this.data.productNum - (this.data.coupon?this.data.coupon.activity.money:0))/100; console.log(app.globalData); - if(app.globalData.list.list && app.globalData.list.length > app.globalData.index + 1){ + if(app.globalData.list && app.globalData.list.length > app.globalData.index + 1){ if(app.globalData.createDate){ app.globalData.createDate.product_list.push(data.product_list[0]) }else{ From a8d9ea4e35561e5d8b6f91c504a7c34fdc1dee75 Mon Sep 17 00:00:00 2001 From: nige Date: Fri, 31 Mar 2023 15:49:16 +0800 Subject: [PATCH 053/471] =?UTF-8?q?=E6=B4=BB=E5=8A=A8=E6=97=A5=E5=8E=86?= =?UTF-8?q?=E7=94=B5=E5=BD=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 2 +- pages/info/activityInfo/index.wxml | 2 +- pages/list/activitynew/index.wxml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app.js b/app.js index 4c767d4..96d82b9 100644 --- a/app.js +++ b/app.js @@ -21,7 +21,7 @@ App({ unique_key: "wechatxcx" }).then(res => { let data = JSON.parse(res.data); - data.isTest = data.isTest66? true : false; + data.isTest = data.isTest67? true : false; this.globalData.configJson = data }).then(() => { // 获取ui配置文件 diff --git a/pages/info/activityInfo/index.wxml b/pages/info/activityInfo/index.wxml index 08f705a..e5770bc 100644 --- a/pages/info/activityInfo/index.wxml +++ b/pages/info/activityInfo/index.wxml @@ -32,7 +32,7 @@ 活动详情 - * 本活动无需在线预约,可直接前往。 + diff --git a/pages/list/activitynew/index.wxml b/pages/list/activitynew/index.wxml index 68718d7..65c01e8 100644 --- a/pages/list/activitynew/index.wxml +++ b/pages/list/activitynew/index.wxml @@ -103,7 +103,7 @@ - + {{item.title}} {{item.address}} From 5764db5d847b561240337a436dd7fa3e329243d5 Mon Sep 17 00:00:00 2001 From: nige Date: Fri, 31 Mar 2023 18:52:17 +0800 Subject: [PATCH 054/471] =?UTF-8?q?=E9=A2=84=E7=BA=A6=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 2 +- pages/info/museumInfo/index.js | 1 + pages/info/sceneProductInfo/index.js | 1 + pages/order/scene/index.js | 12 ++++++++---- pages/order/scene/index.wxml | 4 ++-- 5 files changed, 13 insertions(+), 7 deletions(-) diff --git a/app.js b/app.js index 96d82b9..a60eb32 100644 --- a/app.js +++ b/app.js @@ -21,7 +21,7 @@ App({ unique_key: "wechatxcx" }).then(res => { let data = JSON.parse(res.data); - data.isTest = data.isTest67? true : false; + data.isTest = data.isTest68? true : false; this.globalData.configJson = data }).then(() => { // 获取ui配置文件 diff --git a/pages/info/museumInfo/index.js b/pages/info/museumInfo/index.js index 28f17ec..af26a02 100644 --- a/pages/info/museumInfo/index.js +++ b/pages/info/museumInfo/index.js @@ -451,6 +451,7 @@ Page({ isGroup: this.data.isGroup, isTeam: this.data.info.team_order && this.data.isGroup?1:0 } + app.globalData.index = 0 wx.navigateTo({ url: '/pages/order/scene/index?type=museum' }) diff --git a/pages/info/sceneProductInfo/index.js b/pages/info/sceneProductInfo/index.js index bb1a3df..0981ea2 100644 --- a/pages/info/sceneProductInfo/index.js +++ b/pages/info/sceneProductInfo/index.js @@ -352,6 +352,7 @@ Page({ ...sku, ...product } + app.globalData.index = 0 wx.navigateTo({ url: '/pages/order/scene/index', }) diff --git a/pages/order/scene/index.js b/pages/order/scene/index.js index 15a8be3..2e38932 100644 --- a/pages/order/scene/index.js +++ b/pages/order/scene/index.js @@ -8,7 +8,7 @@ Page({ * 页面的初始数据 */ data: { - product: app.globalData.product, + product:null, productNum: 1, linkmanList: [], date: "", @@ -35,12 +35,16 @@ Page({ * 生命周期函数--监听页面加载 */ onLoad: function (options) { + console.log(app.globalData.product); + console.log(this.data.date); this.setData({ + product: app.globalData.product, type: options.type, kjId: app.globalData.kjId, gp_id: app.globalData.gp_id || app.globalData.team_id, prizeId: wx.getStorageSync('prizeId'), flag:options.flag, + date:null, ticket_type:app.globalData.product.sku.ticket_type || 1 }) if (!app.globalData.product) { @@ -60,6 +64,7 @@ Page({ product: app.globalData.product, singlePrice: this.data.gp_id ? app.globalData.product.sku.event_price : app.globalData.product.sku.price }) + console.log(this.data.product); if (!this.data.kjId && !this.data.gp_id && this.data.product.isGroup != 1) { this.couponCom = this.selectAllComponents("#coupon")[0]; } @@ -269,7 +274,7 @@ Page({ } app.globalData.ticketPrice += (this.data.singlePrice * this.data.productNum - (this.data.coupon?this.data.coupon.activity.money:0))/100; console.log(app.globalData); - if(app.globalData.list && app.globalData.list.length > app.globalData.index + 1){ + if(app.globalData.list && app.globalData.list.length > app.globalData.index + 1 &&this.data.type!='museum'){ if(app.globalData.createDate){ app.globalData.createDate.product_list.push(data.product_list[0]) }else{ @@ -364,8 +369,7 @@ Page({ * 生命周期函数--监听页面显示 */ onShow: function () { - - if(app.globalData.list && app.globalData.list.length != 0){ + if(app.globalData.list && app.globalData.list.length != 0 && this.data.type!='museum'){ app.globalData.product = app.globalData.list[app.globalData.index] } if (!this.data.isLogin) { diff --git a/pages/order/scene/index.wxml b/pages/order/scene/index.wxml index f4ee161..69dd90f 100644 --- a/pages/order/scene/index.wxml +++ b/pages/order/scene/index.wxml @@ -1,11 +1,11 @@ - + {{product.product.title + product.isGroup==1?'(团体预约)':product.sku.sku_name}} 免费 - From 8a985c61e1c5b86a41b0db868034c46473cee683 Mon Sep 17 00:00:00 2001 From: nige Date: Wed, 12 Apr 2023 08:54:38 +0800 Subject: [PATCH 055/471] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 6 +- pages/index/index.js | 34 +++++--- pages/index/index.wxml | 4 +- pages/info/sceneProductInfo/index.js | 97 +++++++++++---------- pages/list/activitynew/index.wxml | 5 +- pages/list/activitynew/index.wxss | 9 ++ pages/list/movieticket/list/info/index.wxss | 1 + pages/list/museum/index.wxss | 1 + 8 files changed, 91 insertions(+), 66 deletions(-) diff --git a/app.js b/app.js index a60eb32..ab55933 100644 --- a/app.js +++ b/app.js @@ -21,7 +21,7 @@ App({ unique_key: "wechatxcx" }).then(res => { let data = JSON.parse(res.data); - data.isTest = data.isTest68? true : false; + data.isTest = data.isTest71? true : false; this.globalData.configJson = data }).then(() => { // 获取ui配置文件 @@ -31,6 +31,7 @@ App({ obj[item.id] = item.image }); this.globalData.configJson.indexSeason = obj + this.globalData.loadIndexSeason = true }) }) @@ -253,6 +254,7 @@ App({ prizeId: null, loginPageEvent: { "pages/list/message/index": 'message_login_' - } + }, + loadIndexSeason:false } }) \ No newline at end of file diff --git a/pages/index/index.js b/pages/index/index.js index 71f024e..f7d1ec7 100644 --- a/pages/index/index.js +++ b/pages/index/index.js @@ -206,6 +206,16 @@ Page({ }) }, + //获取季节配置 + getIndexSeason(){ + this.setData({ + indexHot: app.globalData.configJson.indexHot, + isTest: app.globalData.configJson.isTest, + otherPlat: app.globalData.configJson.otherPlats, + indexSeason: app.globalData.configJson.indexSeason + }) + this.getFourProduct() + }, //关闭弹窗广告 closeAdv: function () { this.setData({ @@ -735,20 +745,8 @@ Page({ return }, onReady: function () { - if (app.globalData.configJson) { - this.setData({ - indexHot: app.globalData.configJson.indexHot, - isTest: app.globalData.configJson.isTest, - otherPlat: app.globalData.configJson.otherPlats, - indexSeason: app.globalData.configJson.indexSeason - }) - console.log(app.globalData.configJson) - this.getFourProduct() - } else { - setTimeout(() => { - this.onReady() - }, 300) - } + + }, gotoOther: function (e) { let item = e.currentTarget.dataset.item; @@ -772,6 +770,14 @@ Page({ util.pagePoint(e, type) }, onShow: function () { + if (app.globalData.loadIndexSeason) { + this.getIndexSeason() + } else { + setTimeout(() => { + this.getIndexSeason() + }, 500) + } + this.pagePoint({ event: 'home_view' }, 1) diff --git a/pages/index/index.wxml b/pages/index/index.wxml index 5bf0986..307b4d7 100644 --- a/pages/index/index.wxml +++ b/pages/index/index.wxml @@ -216,11 +216,11 @@ 书香借阅 - 文化配送 - + --> diff --git a/pages/info/sceneProductInfo/index.js b/pages/info/sceneProductInfo/index.js index 0981ea2..ab71a71 100644 --- a/pages/info/sceneProductInfo/index.js +++ b/pages/info/sceneProductInfo/index.js @@ -32,41 +32,7 @@ Page({ cartTop: 0, top: 0, skuList: [], //立即预定的列表 - sku_ids: [ - 353954, - 353950, - 353949, - 353951, - 353947, - 353953, - 353685, - 353684, - 353952, - 353686, - 353948, - 354730, - 354409, - 354359, - 345343, - 354756, - 354385, - 354360, - 354361, - 354362, - 355466, - 355465, - 356230, - 356223, - 356207, - 346648, - 357518, - 356233, - 354381, - 354384, - 356324, - 354737, - 355467, - ] + sku_ids: [] }, /** @@ -89,6 +55,7 @@ Page({ commonApi._post("scene/detail", { id: options.id }).then(res => { + let flag = false if (!res.data) { wx.showToast({ title: '产品已下架', @@ -122,22 +89,58 @@ Page({ if (pItem) { res.data.product = [pItem]; } - - } else if (options.zhuanti_type == "yihuFree") { - - let skuArr = this.data.sku_ids - let newArr = [] - for (let i = 0; i < res.data.product.length; i++) { //3 - for (let j = 0; j < res.data.product[i].sku.length; j++) { //4 - for (let k = 0; k < skuArr.length; k++) { - if (res.data.product[i].sku[j].id == skuArr[k]) { - newArr.push(res.data.product[i].sku[j]) + } else if (options.zhuanti_type) { + flag = true + commonApi._post("theme/getYihuFreeList", { + zhuanti_type: options.zhuanti_type + }).then(res1 => { + let skuArr = res1.data.sku_ids + let newArr = [] + for (let i = 0; i < res.data.product.length; i++) { //3 + for (let j = 0; j < res.data.product[i].sku.length; j++) { //4 + for (let k = 0; k < skuArr.length; k++) { + if (res.data.product[i].sku[j].id == skuArr[k]) { + newArr.push(res.data.product[i].sku[j]) + } } } + res.data.product[i].sku = newArr; } - res.data.product[i].sku = newArr; - } + res.data.product.map(product => { + product.sku.map(sku => { + sku.display_tags = (sku.display_tags ? sku.display_tags.split(",") : []).splice(0, 2); + }) + }) + this.setData({ + info: res.data + }) + var arr = [] + res.data.product.forEach((item, index) => { + item.sku.forEach(itemB => { + itemB.proIndex = index + arr.push(itemB) + }) + }); + this.setData({ + skuList: arr + }) + util.pagePoint({ + event: 'scene_view', + param: { + type: res.data.type, + id: res.data.id + } + }, 1) + this.BroswerRecord() + }) + } + console.log(res.data.product); + if (flag) { + return + } + + // res.data.listimg = res.data.listimg?res.data.listimg.split(","):[]; res.data.product.map(product => { product.sku.map(sku => { diff --git a/pages/list/activitynew/index.wxml b/pages/list/activitynew/index.wxml index 65c01e8..9cb8dee 100644 --- a/pages/list/activitynew/index.wxml +++ b/pages/list/activitynew/index.wxml @@ -95,11 +95,14 @@ - + {{item.title}} 导演:{{item.director}} 主演:{{item.leading_role}} + + 查看 + diff --git a/pages/list/activitynew/index.wxss b/pages/list/activitynew/index.wxss index c53c97a..50ae31f 100644 --- a/pages/list/activitynew/index.wxss +++ b/pages/list/activitynew/index.wxss @@ -290,4 +290,13 @@ background: rgba(11, 137, 142, .1); .new-top-search-box { display: flex; justify-content: space-between; +} +.btn{ +flex-shrink: 0; + color: #fff; + background: #f55; + font-size: 26rpx; + padding: 6rpx 20rpx; + border-radius: 40rpx; + margin-left: 10rpx; } \ No newline at end of file diff --git a/pages/list/movieticket/list/info/index.wxss b/pages/list/movieticket/list/info/index.wxss index 8bb62ff..a35a1b3 100644 --- a/pages/list/movieticket/list/info/index.wxss +++ b/pages/list/movieticket/list/info/index.wxss @@ -34,6 +34,7 @@ box-shadow: 0px 0px 20rpx 0px rgba(0, 0, 0, 0.06); border-radius: 27rpx 27rpx 0px 0px; padding: 0 40rpx; + padding-bottom: 60rpx; } .content .title { font-size: 33rpx; diff --git a/pages/list/museum/index.wxss b/pages/list/museum/index.wxss index 88ee367..41f26cf 100644 --- a/pages/list/museum/index.wxss +++ b/pages/list/museum/index.wxss @@ -55,6 +55,7 @@ page { } .info .address { margin-bottom: 15rpx; + max-width: 320rpx; } .info .com-flex { width: 240rpx; From 68dfb6019f4c69059366418733d6e97d693450bf Mon Sep 17 00:00:00 2001 From: nige Date: Sat, 15 Apr 2023 15:49:04 +0800 Subject: [PATCH 056/471] =?UTF-8?q?=E5=9B=A2=E9=98=9F=E9=A2=84=E7=BA=A6?= =?UTF-8?q?=E8=AF=A6=E6=83=85=E9=A1=B5id=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 2 +- pages/info/groupOrderInfo/index.js | 57 ++++++++++++++++++++---------- 2 files changed, 40 insertions(+), 19 deletions(-) diff --git a/app.js b/app.js index ab55933..c95d57e 100644 --- a/app.js +++ b/app.js @@ -21,7 +21,7 @@ App({ unique_key: "wechatxcx" }).then(res => { let data = JSON.parse(res.data); - data.isTest = data.isTest71? true : false; + data.isTest = data.isTest72? true : false; this.globalData.configJson = data }).then(() => { // 获取ui配置文件 diff --git a/pages/info/groupOrderInfo/index.js b/pages/info/groupOrderInfo/index.js index f85a2fe..412a43e 100644 --- a/pages/info/groupOrderInfo/index.js +++ b/pages/info/groupOrderInfo/index.js @@ -14,7 +14,8 @@ Page({ restTime:null, countdown:0, codeImg:null, - showShareMask:false + showShareMask:false, + from:null }, /** @@ -22,25 +23,26 @@ Page({ */ onLoad: function (options) { this.setData({ - id:options.id + id:options.id, + from:options.from }) // 获取二维码 - commonApi.user_post("team_order/get_qrcode",{ - url:'https://m.cloud.sz-trip.com/TeamForm?team_id='+this.data.id - }).then(res=>{ - this.setData({ - codeImg:res.data - }) - }) - if(options.from=='order'){ - wx.showModal({ - title:"提示", - content:"团体预约发起后请前往个人中心团体预约订单中查看订单详情和组团详情。", - success:function(){ + // commonApi.user_post("team_order/get_qrcode",{ + // url:'https://m.cloud.sz-trip.com/TeamForm?team_id='+this.data.id + // }).then(res=>{ + // this.setData({ + // codeImg:res.data + // }) + // }) + // if(options.from=='order'){ + // wx.showModal({ + // title:"提示", + // content:"团体预约发起后请前往个人中心团体预约订单中查看订单详情和组团详情。", + // success:function(){ - } - }) - } + // } + // }) + // } }, showShare(){ this.setData({ @@ -107,7 +109,24 @@ Page({ } }) }, - + getQrcode(id){ + commonApi.user_post("team_order/get_qrcode",{ + url:'https://m.cloud.sz-trip.com/TeamForm?team_id='+id + }).then(res=>{ + this.setData({ + codeImg:res.data + }) + }) + if(this.data.from=='order'){ + wx.showModal({ + title:"提示", + content:"团体预约发起后请前往个人中心团体预约订单中查看订单详情和组团详情。", + success:function(){ + + } + }) + } + }, /** * 生命周期函数--监听页面初次渲染完成 */ @@ -123,6 +142,7 @@ Page({ order_id:this.data.id }).then(res=>{ if(res.code==1){ + this.getQrcode(res.data.list.id) res.data.list.order_info = res.data.list.order_info?JSON.parse(res.data.list.order_info):null; res.data.list.members.reverse() this.setData({ @@ -141,6 +161,7 @@ Page({ } }) + }, setTime(){ if(this.data.countdown && this.data.countdown>0){ From 940c39d6a424fd4b265d2df04a8a7439a19ffb52 Mon Sep 17 00:00:00 2001 From: nige Date: Fri, 21 Apr 2023 17:34:14 +0800 Subject: [PATCH 057/471] =?UTF-8?q?=E7=94=B5=E5=BD=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 2 +- app.json | 1 + pages/list/activitynew/index.js | 1 + pages/list/activitynew/index.wxml | 19 ++--- pages/list/movieticket/list/cinema/index.js | 49 +++++++++++- pages/list/movieticket/list/cinema/index.wxml | 6 +- pages/list/movieticket/list/seats/index.js | 28 ++++--- pages/list/movieticket/list/web/index.js | 79 +++++++++++++++++++ pages/list/movieticket/list/web/index.json | 3 + pages/list/movieticket/list/web/index.wxml | 4 + pages/list/movieticket/list/web/index.wxss | 1 + pages/list/techan/index.wxml | 2 +- pages/order/coupon/index.js | 2 +- pages/order/hotel/index.wxml | 2 +- pages/order/movie/index.js | 45 ++++++----- pages/order/orderList/index.js | 3 + pages/order/pay/index.js | 50 ++++++++++-- pages/order/pay/index.wxml | 20 ++++- pages/order/scene/index.js | 2 +- pages/pbService/web/index.js | 1 - 20 files changed, 259 insertions(+), 61 deletions(-) create mode 100644 pages/list/movieticket/list/web/index.js create mode 100644 pages/list/movieticket/list/web/index.json create mode 100644 pages/list/movieticket/list/web/index.wxml create mode 100644 pages/list/movieticket/list/web/index.wxss diff --git a/app.js b/app.js index c95d57e..81893c1 100644 --- a/app.js +++ b/app.js @@ -21,7 +21,7 @@ App({ unique_key: "wechatxcx" }).then(res => { let data = JSON.parse(res.data); - data.isTest = data.isTest72? true : false; + data.isTest = data.isTest73? true : false; this.globalData.configJson = data }).then(() => { // 获取ui配置文件 diff --git a/app.json b/app.json index 23d26ac..7de07ea 100644 --- a/app.json +++ b/app.json @@ -104,6 +104,7 @@ "pages/list/movieticket/list/seats/index", "pages/list/movieticket/list/cinema/index", "pages/list/movieticket/list/ticket/index", + "pages/list/movieticket/list/web/index", "pages/list/movieticket/list/info/index", "pages/list/theatre/index", "pages/list/card/index", diff --git a/pages/list/activitynew/index.js b/pages/list/activitynew/index.js index acb4921..604547e 100644 --- a/pages/list/activitynew/index.js +++ b/pages/list/activitynew/index.js @@ -335,6 +335,7 @@ Page({ url: '/pages/list/movieticket/list/info/index?id=' + item.third_id }) } else if (this.data.type == 4) { + return wx.navigateTo({ url: '/pages/list/movieticket/list/cinema/index?id=' + item.third_id }) diff --git a/pages/list/activitynew/index.wxml b/pages/list/activitynew/index.wxml index 9cb8dee..6cc988f 100644 --- a/pages/list/activitynew/index.wxml +++ b/pages/list/activitynew/index.wxml @@ -19,10 +19,6 @@ 全部 - - - 展览 - 景区 @@ -31,14 +27,19 @@ 演出 - 电影 + + + 展览 + + + 其他 @@ -106,7 +107,7 @@ - + {{item.title}} {{item.address}} diff --git a/pages/list/movieticket/list/cinema/index.js b/pages/list/movieticket/list/cinema/index.js index 072bcb5..c84d836 100644 --- a/pages/list/movieticket/list/cinema/index.js +++ b/pages/list/movieticket/list/cinema/index.js @@ -1,4 +1,5 @@ // pages/list/movieticket/list/cinema/index.js +let app = getApp() import commonApi from "../../../../../utils/https/common" import util from "../../../../../utils/util" Page({ @@ -13,7 +14,8 @@ Page({ dates:[], dateIndex:0, list:[], - name:"" + name:"", + invoiceId:null, }, /** @@ -97,6 +99,49 @@ Page({ console.log(res) }) }, + selectMovieSeat(e){ + let info = e.currentTarget.dataset.info + const areaInfo = JSON.parse(info.schedule_area).map(item => ({...item, price:item.areaPrice,areaId:item.seatAreaId})); + let planData = { + areaInfo, + fee:info.service_fee, + movieName: this.data.movie[this.data.currentNum].title, + planId : info.schedule_id, + planTime : info.show_time, + type:'WECHATXCX', + remake : '' + } + let show_id = info.show_id + let cinema_id = info.cinema_id + // let schedule_id = info.schedule_id + + commonApi._post('Cinema/getProductAndSku',{ + show_id, + cinema_id, + }).then(res=>{ + this.setData({ + productInfo:res.data + }) + app.globalData.product ={ + product:this.data.productInfo, + info:{ + hallName:this.data.name, + show_date:info.show_date, + start_end_time:info.show_time, + movieName:this.data.movie[this.data.currentNum].title, + show_version:info.show_version, + selectSeatInfo:null, + schedule_id:info.schedule_id + } + } + wx.navigateTo({ + url:"/pages/list/movieticket/list/web/index?planData="+ JSON.stringify(planData), + }) + }) + // wx.navigateTo({ + // url: '/pages/list/movieticket/list/seats/index?show_id='+show_id+'&cinema_id='+cinema_id+'&schedule_id='+schedule_id+'&planData='+JSON.stringify(planData), + // }) + }, onChange:function(e){ console.log(e) this.setData({ @@ -140,7 +185,7 @@ Page({ * 生命周期函数--监听页面显示 */ onShow: function () { - + console.log(123123123213); }, /** diff --git a/pages/list/movieticket/list/cinema/index.wxml b/pages/list/movieticket/list/cinema/index.wxml index 8c03f56..a1a90d9 100644 --- a/pages/list/movieticket/list/cinema/index.wxml +++ b/pages/list/movieticket/list/cinema/index.wxml @@ -16,7 +16,7 @@ {{item.name}} - +
    {{item.show_time}} {{item.close_time}}散场 @@ -25,11 +25,11 @@ {{item.show_version}} {{item.hall_name}} - {{item.price/100}} + {{item.price}} 购票 - +
    暂无内容 diff --git a/pages/list/movieticket/list/seats/index.js b/pages/list/movieticket/list/seats/index.js index a44f10f..6e885ba 100644 --- a/pages/list/movieticket/list/seats/index.js +++ b/pages/list/movieticket/list/seats/index.js @@ -137,6 +137,7 @@ Page({ * 生命周期函数--监听页面加载 */ onLoad: function (options) { + console.log(options); this.setData({ options:options }) @@ -147,13 +148,16 @@ Page({ this.setData({ productInfo:res.data }) + wx.navigateTo({ + url:"/pages/list/movieticket/list/web/index?planData="+options.planData, + }) }) - let that = this; - let sys = wx.getSystemInfoSync() - that.setData({ - seatArea: sys.screenHeight - sys.statusBarHeight - (500 * sys.screenWidth / 750), - rpxToPx: sys.screenWidth / 750 - }); + // let that = this; + // let sys = wx.getSystemInfoSync() + // that.setData({ + // seatArea: sys.screenHeight - sys.statusBarHeight - (500 * sys.screenWidth / 750), + // rpxToPx: sys.screenWidth / 750 + // }); }, /** @@ -167,12 +171,12 @@ Page({ * 生命周期函数--监听页面显示 */ onShow: function () { - commonApi.user_post("Cinema/getLockSeatInfo",{ - schedule_id:this.data.options.schedule_id - }).then(res=>{ - console.log(res) - this.getInfo(); - }) + // commonApi.user_post("Cinema/getLockSeatInfo",{ + // schedule_id:this.data.options.schedule_id + // }).then(res=>{ + // console.log(res) + // this.getInfo(); + // }) //---这此替换成自己的接口请求成功后--end-- diff --git a/pages/list/movieticket/list/web/index.js b/pages/list/movieticket/list/web/index.js new file mode 100644 index 0000000..0dcf23c --- /dev/null +++ b/pages/list/movieticket/list/web/index.js @@ -0,0 +1,79 @@ +// pages/pbService/web/index.js +let app = getApp() +Page({ + + /** + * 页面的初始数据 + */ + data: { + webUrl:"" + }, + + /** + * 生命周期函数--监听页面加载 + */ + onLoad: function (options) { + this.setData({ + webUrl:'https://online.suiyuaninfo.com/?planData='+options.planData + }) + console.log(this.data.webUrl); + }, + /** + * 生命周期函数--监听页面初次渲染完成 + */ + onReady: function () { + + }, + handleGetMessage: function(e) { + console.log(e.target.data) + console.log(app.globalData.product); + return + app.globalData.product ={ + product:this.data.productInfo, + info:{ + hallName:this.data.hallName, + show_date:this.data.show_date, + start_end_time:this.data.start_end_time, + cinema_title:this.data.cinema_title, + movieName:this.data.movieName, + show_version:this.data.show_version, + selectSeatInfo:selectSeatInfo, + schedule_id:this.data.schedule_id + } + } + }, + /** + * 生命周期函数--监听页面显示 + */ + onShow: function () { + + }, + + /** + * 生命周期函数--监听页面隐藏 + */ + onHide: function () { + + }, + + /** + * 生命周期函数--监听页面卸载 + */ + onUnload: function () { + + }, + + /** + * 页面相关事件处理函数--监听用户下拉动作 + */ + onPullDownRefresh: function () { + + }, + + /** + * 页面上拉触底事件的处理函数 + */ + onReachBottom: function () { + + } +}) \ No newline at end of file diff --git a/pages/list/movieticket/list/web/index.json b/pages/list/movieticket/list/web/index.json new file mode 100644 index 0000000..8835af0 --- /dev/null +++ b/pages/list/movieticket/list/web/index.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/pages/list/movieticket/list/web/index.wxml b/pages/list/movieticket/list/web/index.wxml new file mode 100644 index 0000000..5d9fd35 --- /dev/null +++ b/pages/list/movieticket/list/web/index.wxml @@ -0,0 +1,4 @@ + + + + diff --git a/pages/list/movieticket/list/web/index.wxss b/pages/list/movieticket/list/web/index.wxss new file mode 100644 index 0000000..3d9e18a --- /dev/null +++ b/pages/list/movieticket/list/web/index.wxss @@ -0,0 +1 @@ +/* pages/pbService/web/index.wxss */ \ No newline at end of file diff --git a/pages/list/techan/index.wxml b/pages/list/techan/index.wxml index 9d8e3df..5ba68e6 100644 --- a/pages/list/techan/index.wxml +++ b/pages/list/techan/index.wxml @@ -17,7 +17,7 @@ {{item}} - {{item.address}} + {{item.address}} {{(item.start_price/100)}}
    diff --git a/pages/order/coupon/index.js b/pages/order/coupon/index.js index ac70388..1b7c0c3 100644 --- a/pages/order/coupon/index.js +++ b/pages/order/coupon/index.js @@ -71,7 +71,7 @@ Page({ * 生命周期函数--监听页面显示 */ onShow: function () { - + app.globalData.couponInfo = null; }, /** diff --git a/pages/order/hotel/index.wxml b/pages/order/hotel/index.wxml index 694fdbd..f59a916 100644 --- a/pages/order/hotel/index.wxml +++ b/pages/order/hotel/index.wxml @@ -68,7 +68,7 @@
    - + diff --git a/pages/order/movie/index.js b/pages/order/movie/index.js index 21a32fc..f33494f 100644 --- a/pages/order/movie/index.js +++ b/pages/order/movie/index.js @@ -21,22 +21,19 @@ Page({ * 生命周期函数--监听页面加载 */ onLoad: function (options) { - let key = options.key; - if(!key){ - util.back() - return; - } + console.log(options.selectSeatInfo); this.setData({ prizeId:wx.getStorageSync('prizeId') }) let product = app.globalData.product,price=0; - product.info.selectSeatInfo.map(item=>{ - price = Number(item.price) + Number(price) + product.info.selectSeatInfo = JSON.parse(options.selectSeatInfo) + product.info.selectSeatInfo.seatPriceInfo.map(item=>{ + price =price + Number(item.split('-')[1]) }) + console.log(price); this.setData({ product:product, - key:key, - price:price + price:price*100 }) userApi.user_post("user/getMyInfo").then(res=>{ this.setData({ @@ -63,30 +60,30 @@ Page({ }) return; } - let product = this.data.product,seats_list=[],seats_ids=[]; - product.info.selectSeatInfo.map(item=>{ - seats_list.push(item.name); - seats_ids.push({ - ext_id:item.ext_id, - area:item.area || "", - flag:Number(item.flag) - }) - }) + let product = this.data.product + // product.info.selectSeatInfo.map(item=>{ + // seats_list.push(item.name); + // seats_ids.push({ + // ext_id:item.ext_id, + // area:item.area || "", + // flag:Number(item.flag) + // }) + // }) let product_list = [{ "type" : "movie",//电影,必填 "product_id": product.product.id, "sku_id": product.product.sku_info.id, - "product_num": product.info.selectSeatInfo.length,//也就是锁定的座位数,必填 + "product_num": product.info.selectSeatInfo.seatInfo.length,//也就是锁定的座位数,必填 "reserve_mobile": this.data.tel, "use_date": product.info.show_date,//使用日期,Y-m-d日期格式字符串,必填 "use_time": product.info.start_end_time,//场次时间,直接传字符串,必填 "show_version": product.info.show_version,//场次版本,必填 "scene_id": product.product.scene_id,//场景id,我方系统的场景id,必填 "schedules_name": product.info.hallName,//放映厅名称,必填 - "seats_list": seats_list.join(","),//座位中文名称,多个座位逗号分隔,必填 - "key": this.data.key,//锁座返回的key,必填 + "seats_list": product.info.selectSeatInfo.seatInfo.join(","),//座位中文名称,多个座位逗号分隔,必填 + // "key": this.data.key,//锁座返回的key,必填 "schedules_id": product.info.schedule_id,//淘票票场次id,必填 - "seats_ids": seats_ids + "seats_ids": product.info.selectSeatInfo.seatPriceInfo }]; let data = { product_list:product_list, @@ -110,6 +107,7 @@ Page({ data:JSON.stringify(data) }).then(res=>{ console.log(res) + }) }, @@ -120,13 +118,14 @@ Page({ this.setData({ coupon:app.globalData.couponInfo }) + console.log(this.coupon); }, /** * 生命周期函数--监听页面隐藏 */ onHide: function () { - + app.globalData.couponInfo = null }, /** diff --git a/pages/order/orderList/index.js b/pages/order/orderList/index.js index 16f787c..220d57c 100644 --- a/pages/order/orderList/index.js +++ b/pages/order/orderList/index.js @@ -21,6 +21,7 @@ Page({ select_allowance: false, allowance_data: null, allowance_price: 0, + flag:null }, /** @@ -32,7 +33,9 @@ Page({ ticketList: app.globalData.list, kjId: app.globalData.kjId, gp_id: app.globalData.gp_id || app.globalData.team_id, + flag:options.flag }) + console.log(this.data.flag); console.log(app.globalData); let price = 0, sku_id = [] ,postFee= 0; app.globalData.postProduct.map(item => { diff --git a/pages/order/pay/index.js b/pages/order/pay/index.js index c99612d..7481d63 100644 --- a/pages/order/pay/index.js +++ b/pages/order/pay/index.js @@ -13,8 +13,11 @@ Page({ second:"00", minute:"00", payIndex:-1, - numIndex: 0, - showNumMask: false + numIndex:0, + showNumMask: false, + activePay:false,//是否活动支付 + SUBWALLET:false, + wxPay:false }, /** @@ -85,9 +88,24 @@ Page({ else { util.back() } - this.setData({ - info:res.data - }) + if (Object.keys(res.data.coupon_activity).length != 0) { + this.setData({ + info:res.data, + activePay: Object.keys(res.data.coupon_activity).length === 0 ?false:true, + SUBWALLET:res.data.coupon_activity.pay_type.includes('SUBWALLET') || !res.data.coupon_activity.pay_type, + wxPay:res.data.coupon_activity.pay_type.includes('WEIXIN') || !res.data.coupon_activity.pay_type, + payIndex:Object.keys(res.data.coupon_activity).length === 0 ?-1:0, + }) + console.log(this.data.wxPay); + }else{ + this.setData({ + info:res.data, + }) + } + + + console.log(this.data.ERMB); + }) this.checkPay(); @@ -111,6 +129,28 @@ Page({ }) }, pay:function(){ + if (this.data.activePay) { + let flag = false + if (this.data.payList.length!=0 && !this.data.info.coupon_activity.pay_type.includes('SUBWALLET')) { + flag = true + } + if (this.data.activePay && flag && !this.data.wxPay) { + wx.showToast({ + title: '暂无支付方式请前往其它端付款', + icon:'none' + }) + return + } + console.log(this.data.payIndex); + if (this.data.payIndex===0) { + wx.showToast({ + title: '请选择支付方式', + icon:'none' + }) + return + } + } + let _this = this; if(this.data.payIndex==1) { this.setData({ diff --git a/pages/order/pay/index.wxml b/pages/order/pay/index.wxml index 44d2fb9..834cbb6 100644 --- a/pages/order/pay/index.wxml +++ b/pages/order/pay/index.wxml @@ -8,7 +8,25 @@ ¥{{info.paid_money/100}}
    - + + 支付方式: + + + 微信支付 + + + + + 数字人民币 + + + + + 君到苏州现已支持数字人民币支付,请至数字人民币app中绑定授权 + + + + 支付方式: diff --git a/pages/order/scene/index.js b/pages/order/scene/index.js index 2e38932..64ce73a 100644 --- a/pages/order/scene/index.js +++ b/pages/order/scene/index.js @@ -292,7 +292,7 @@ Page({ app.globalData.createDate.product_list.push(data.product_list[0]) } wx.redirectTo({ - url: '/pages/order/orderList/index' + url: '/pages/order/orderList/index?flag='+ this.data.flag }) }else{ commonApi.user_post(service, postData).then(res => { diff --git a/pages/pbService/web/index.js b/pages/pbService/web/index.js index 97bbea4..f5c5555 100644 --- a/pages/pbService/web/index.js +++ b/pages/pbService/web/index.js @@ -51,7 +51,6 @@ Page({ }) } }, - /** * 生命周期函数--监听页面初次渲染完成 */ From 95b033d0fcc322a45049e73f5bf64735c78a8e12 Mon Sep 17 00:00:00 2001 From: nige Date: Tue, 25 Apr 2023 09:28:20 +0800 Subject: [PATCH 058/471] =?UTF-8?q?=E4=BC=98=E6=83=A0=E6=9C=9F=E6=97=A5?= =?UTF-8?q?=E6=9C=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 2 +- pages/list/activitynew/index.js | 1 - pages/order/coupon/index.wxml | 2 +- pages/order/movie/index.js | 2 +- pages/user/coupon/index.wxml | 2 +- 5 files changed, 4 insertions(+), 5 deletions(-) diff --git a/app.js b/app.js index 81893c1..70097da 100644 --- a/app.js +++ b/app.js @@ -21,7 +21,7 @@ App({ unique_key: "wechatxcx" }).then(res => { let data = JSON.parse(res.data); - data.isTest = data.isTest73? true : false; + data.isTest = data.isTest74? true : false; this.globalData.configJson = data }).then(() => { // 获取ui配置文件 diff --git a/pages/list/activitynew/index.js b/pages/list/activitynew/index.js index 604547e..acb4921 100644 --- a/pages/list/activitynew/index.js +++ b/pages/list/activitynew/index.js @@ -335,7 +335,6 @@ Page({ url: '/pages/list/movieticket/list/info/index?id=' + item.third_id }) } else if (this.data.type == 4) { - return wx.navigateTo({ url: '/pages/list/movieticket/list/cinema/index?id=' + item.third_id }) diff --git a/pages/order/coupon/index.wxml b/pages/order/coupon/index.wxml index 704ff1e..6ee7140 100644 --- a/pages/order/coupon/index.wxml +++ b/pages/order/coupon/index.wxml @@ -5,7 +5,7 @@ {{item.activity.money/100}} 满{{item.activity.mini_money/100}}元可用 - {{item.activity.end_time}}到期 + {{item.end_time}}到期 diff --git a/pages/order/movie/index.js b/pages/order/movie/index.js index f33494f..efa2c54 100644 --- a/pages/order/movie/index.js +++ b/pages/order/movie/index.js @@ -28,7 +28,7 @@ Page({ let product = app.globalData.product,price=0; product.info.selectSeatInfo = JSON.parse(options.selectSeatInfo) product.info.selectSeatInfo.seatPriceInfo.map(item=>{ - price =price + Number(item.split('-')[1]) + price =price +Math.ceil(Number(item.split('-')[1])*1.006 * 100) / 100 }) console.log(price); this.setData({ diff --git a/pages/user/coupon/index.wxml b/pages/user/coupon/index.wxml index c5db573..8d46f82 100644 --- a/pages/user/coupon/index.wxml +++ b/pages/user/coupon/index.wxml @@ -12,7 +12,7 @@ {{item.activity.money/100}} 使用条件:满{{item.activity.mini_money/100}}元 - 有效期:{{item.activity.end_time}} + 有效期:{{item.end_time}} 优惠码:{{item.key}} 使用规则 From c1692094c19269d32c73d6443d79cfac3fcd1eb1 Mon Sep 17 00:00:00 2001 From: nige Date: Wed, 26 Apr 2023 18:19:01 +0800 Subject: [PATCH 059/471] =?UTF-8?q?=E8=B4=AD=E7=89=A9=E8=BD=A6=E4=BC=98?= =?UTF-8?q?=E6=83=A0=E5=88=B8=20=E5=BD=B1=E9=99=A2=E8=B4=AD=E7=A5=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 2 +- pages/list/activitynew/index.js | 2 +- pages/list/activitynew/index.wxml | 2 +- pages/list/movieticket/list/cinema/index.js | 16 +++---- pages/list/movieticket/list/cinema/index.wxml | 2 +- pages/list/movieticket/list/info/index.wxml | 2 +- pages/list/movieticket/list/ticket/index.js | 46 ++++++++++++++++++- pages/list/movieticket/list/ticket/index.wxml | 6 +-- pages/order/movie/index.js | 11 +++-- pages/order/movie/index.wxml | 7 +-- pages/order/movie/index.wxss | 1 - pages/order/orderList/index.wxml | 2 +- pages/order/scene/index.js | 12 +++-- pages/order/scene/index.wxml | 4 +- pages/user/cartlist/list.js | 17 +++++-- 15 files changed, 96 insertions(+), 36 deletions(-) diff --git a/app.js b/app.js index 70097da..cca10f2 100644 --- a/app.js +++ b/app.js @@ -21,7 +21,7 @@ App({ unique_key: "wechatxcx" }).then(res => { let data = JSON.parse(res.data); - data.isTest = data.isTest74? true : false; + data.isTest = data.isTest75? true : false; this.globalData.configJson = data }).then(() => { // 获取ui配置文件 diff --git a/pages/list/activitynew/index.js b/pages/list/activitynew/index.js index acb4921..2e38e77 100644 --- a/pages/list/activitynew/index.js +++ b/pages/list/activitynew/index.js @@ -14,7 +14,7 @@ Page({ types: [null, 'show', 'exhibition', 'scene', 'movie', 'lecture', 'other'], weeks: [], pageNo: 1, - sort: "", + sort: "distance", list: [], date: null, total: 1, diff --git a/pages/list/activitynew/index.wxml b/pages/list/activitynew/index.wxml index 6cc988f..887a8eb 100644 --- a/pages/list/activitynew/index.wxml +++ b/pages/list/activitynew/index.wxml @@ -102,7 +102,7 @@ 主演:{{item.leading_role}} - 查看 + {{movieType==1?'购买':'查看'}}
    diff --git a/pages/list/movieticket/list/cinema/index.js b/pages/list/movieticket/list/cinema/index.js index c84d836..e00b4b3 100644 --- a/pages/list/movieticket/list/cinema/index.js +++ b/pages/list/movieticket/list/cinema/index.js @@ -113,8 +113,8 @@ Page({ } let show_id = info.show_id let cinema_id = info.cinema_id - // let schedule_id = info.schedule_id - + // let schedule_id = info.schedule_id + console.log(info); commonApi._post('Cinema/getProductAndSku',{ show_id, cinema_id, @@ -125,22 +125,22 @@ Page({ app.globalData.product ={ product:this.data.productInfo, info:{ - hallName:this.data.name, + hallName:info.hall_name, + cinemaName:this.data.name, show_date:info.show_date, - start_end_time:info.show_time, + show_time:info.show_time, + close_time:info.close_time, movieName:this.data.movie[this.data.currentNum].title, show_version:info.show_version, selectSeatInfo:null, - schedule_id:info.schedule_id + schedule_id:info.schedule_id, + start_end_time:info.show_time } } wx.navigateTo({ url:"/pages/list/movieticket/list/web/index?planData="+ JSON.stringify(planData), }) }) - // wx.navigateTo({ - // url: '/pages/list/movieticket/list/seats/index?show_id='+show_id+'&cinema_id='+cinema_id+'&schedule_id='+schedule_id+'&planData='+JSON.stringify(planData), - // }) }, onChange:function(e){ console.log(e) diff --git a/pages/list/movieticket/list/cinema/index.wxml b/pages/list/movieticket/list/cinema/index.wxml index a1a90d9..30ab097 100644 --- a/pages/list/movieticket/list/cinema/index.wxml +++ b/pages/list/movieticket/list/cinema/index.wxml @@ -25,7 +25,7 @@ {{item.show_version}} {{item.hall_name}}
    - {{item.price}} + {{item.price}} 购票 diff --git a/pages/list/movieticket/list/info/index.wxml b/pages/list/movieticket/list/info/index.wxml index 8076186..4910bdb 100644 --- a/pages/list/movieticket/list/info/index.wxml +++ b/pages/list/movieticket/list/info/index.wxml @@ -25,5 +25,5 @@
    - + 立即购票 \ No newline at end of file diff --git a/pages/list/movieticket/list/ticket/index.js b/pages/list/movieticket/list/ticket/index.js index a368215..1767689 100644 --- a/pages/list/movieticket/list/ticket/index.js +++ b/pages/list/movieticket/list/ticket/index.js @@ -1,4 +1,5 @@ // pages/list/movieticket/list/ticket/index.js +let app = getApp() import commonApi from "../../../../../utils/https/common" import util from "../../../../../utils/util" Page({ @@ -159,7 +160,50 @@ Page({ console.log(res) }) }, - + selectMovieSeat(e){ + let info = e.currentTarget.dataset.info + let index = e.currentTarget.dataset.index + console.log(index); + console.log(info.schedules); + const areaInfo = JSON.parse(info.schedules[index].schedule_area).map(item => ({...item, price:item.areaPrice,areaId:item.seatAreaId})); + let planData = { + areaInfo, + fee:info.schedules[index].service_fee, + movieName: this.data.title, + planId : info.schedules[index].schedule_id, + planTime : info.schedules[index].show_time, + type:'WECHATXCX', + remake : '' + } + let show_id = info.schedules[index].show_id + let cinema_id = info.schedules[index].cinema_id + // let schedule_id = info.schedule_id + console.log(info); + commonApi._post('Cinema/getProductAndSku',{ + show_id, + cinema_id, + }).then(res=>{ + app.globalData.product ={ + product:res.data, + info:{ + hallName:info.schedules[index].hall_name, + cinemaName:info.title, + show_date:info.schedules[index].show_date, + show_time:info.schedules[index].show_time, + close_time:info.schedules[index].close_time, + movieName:this.data.title, + start_end_time:info.schedules[index].show_time, + show_version:info.schedules[index].show_version, + selectSeatInfo:null, + schedule_id:info.schedules[index].schedule_id + } + } + console.log(planData); + wx.navigateTo({ + url:"/pages/list/movieticket/list/web/index?planData="+ JSON.stringify(planData), + }) + }) + }, /** * 生命周期函数--监听页面初次渲染完成 */ diff --git a/pages/list/movieticket/list/ticket/index.wxml b/pages/list/movieticket/list/ticket/index.wxml index de209c1..d24b82e 100644 --- a/pages/list/movieticket/list/ticket/index.wxml +++ b/pages/list/movieticket/list/ticket/index.wxml @@ -32,11 +32,11 @@ {{item.distanceText}}
    - + {{schedule.show_time}} {{schedule.show_version}} - ¥{{schedule.price/100}} - + ¥{{schedule.price}} +
    diff --git a/pages/order/movie/index.js b/pages/order/movie/index.js index efa2c54..a3e29d8 100644 --- a/pages/order/movie/index.js +++ b/pages/order/movie/index.js @@ -14,14 +14,14 @@ Page({ product:null, price:0, coupon:null, - prizeId:null + prizeId:null, }, /** * 生命周期函数--监听页面加载 */ - onLoad: function (options) { - console.log(options.selectSeatInfo); + onLoad: function (options) { + console.log(options); this.setData({ prizeId:wx.getStorageSync('prizeId') }) @@ -29,7 +29,8 @@ Page({ product.info.selectSeatInfo = JSON.parse(options.selectSeatInfo) product.info.selectSeatInfo.seatPriceInfo.map(item=>{ price =price +Math.ceil(Number(item.split('-')[1])*1.006 * 100) / 100 - }) + }) + console.log(product); console.log(price); this.setData({ product:product, @@ -76,7 +77,7 @@ Page({ "product_num": product.info.selectSeatInfo.seatInfo.length,//也就是锁定的座位数,必填 "reserve_mobile": this.data.tel, "use_date": product.info.show_date,//使用日期,Y-m-d日期格式字符串,必填 - "use_time": product.info.start_end_time,//场次时间,直接传字符串,必填 + "use_time": product.info.show_time+'-'+product.info.close_time,//场次时间,直接传字符串,必填 "show_version": product.info.show_version,//场次版本,必填 "scene_id": product.product.scene_id,//场景id,我方系统的场景id,必填 "schedules_name": product.info.hallName,//放映厅名称,必填 diff --git a/pages/order/movie/index.wxml b/pages/order/movie/index.wxml index 7ad82ae..96ec340 100644 --- a/pages/order/movie/index.wxml +++ b/pages/order/movie/index.wxml @@ -5,9 +5,10 @@ {{product.info.movieName}} - {{product.info.show_date}} {{product.info.start_end_time}}{{product.info.show_version}} - {{product.info.cinema_title}} - {{product.info.hallName}} {{item.name}} + {{product.info.show_date}} {{product.info.show_time}}-{{product.info.close_time}} {{'('+product.info.show_version+')'}} + + {{product.info.cinemaName}} + {{product.info.hallName}} {{product.info.selectSeatInfo.seatInfo}} diff --git a/pages/order/movie/index.wxss b/pages/order/movie/index.wxss index 11ba0af..c2c042b 100644 --- a/pages/order/movie/index.wxss +++ b/pages/order/movie/index.wxss @@ -34,7 +34,6 @@ page { font-size: 35rpx; color: #000; font-weight: 500; - margin-bottom: 20rpx; } .tel-box { display: flex; diff --git a/pages/order/orderList/index.wxml b/pages/order/orderList/index.wxml index fe628a0..b9a3b52 100644 --- a/pages/order/orderList/index.wxml +++ b/pages/order/orderList/index.wxml @@ -52,7 +52,7 @@ 订单备注: - + diff --git a/pages/order/scene/index.js b/pages/order/scene/index.js index 64ce73a..84b6aea 100644 --- a/pages/order/scene/index.js +++ b/pages/order/scene/index.js @@ -28,15 +28,16 @@ Page({ allowance_price: 0, pIndex: 0, flag:null, - ticket_type:1 + ticket_type:1, + isCar:'single' }, /** * 生命周期函数--监听页面加载 */ onLoad: function (options) { - console.log(app.globalData.product); - console.log(this.data.date); + console.log(app.globalData.product); + console.log(options.isCar); this.setData({ product: app.globalData.product, type: options.type, @@ -45,8 +46,9 @@ Page({ prizeId: wx.getStorageSync('prizeId'), flag:options.flag, date:null, - ticket_type:app.globalData.product.sku.ticket_type || 1 - }) + ticket_type:app.globalData.product.sku.ticket_type || 1, + isCar:options.isCar + }) if (!app.globalData.product) { util.back(); return; diff --git a/pages/order/scene/index.wxml b/pages/order/scene/index.wxml index 69dd90f..a454ed2 100644 --- a/pages/order/scene/index.wxml +++ b/pages/order/scene/index.wxml @@ -34,8 +34,10 @@
    - + 订单备注 diff --git a/pages/user/cartlist/list.js b/pages/user/cartlist/list.js index 3065686..bd08800 100644 --- a/pages/user/cartlist/list.js +++ b/pages/user/cartlist/list.js @@ -20,7 +20,8 @@ Page({ allPrice: 0, productType: '', manageFlag: false, - flag: false, //判断订单是否同时有商品和票 + flag: false, //判断订单是否同时有商品和票 + isCar:'single',//判断是否购物车 }, /** @@ -177,7 +178,17 @@ Page({ this.setData({ flag: 'mix' }) - } + } + if ( product1.length > 1) { + this.setData({ + isCar:'multiple' + }) + }else{ + this.setData({ + isCar:'single' + }) + } + console.log(product1); app.globalData.postProduct = product; if (app.globalData.list) { app.globalData.product = app.globalData.list[app.globalData.index] @@ -189,7 +200,7 @@ Page({ }) } else { wx.navigateTo({ - url: '/pages/order/scene/index', + url: '/pages/order/scene/index?isCar=' + this.data.isCar, }) } }, From fc441c93702b40709ebb1a112866488286b461fe Mon Sep 17 00:00:00 2001 From: nige Date: Wed, 26 Apr 2023 18:26:13 +0800 Subject: [PATCH 060/471] =?UTF-8?q?=E8=B4=AD=E7=89=A9=E8=BD=A6=E4=BC=98?= =?UTF-8?q?=E6=83=A0=E5=88=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/order/postOrder/index.js | 6 ++++-- pages/order/scene/index.js | 2 +- pages/user/cartlist/list.js | 3 ++- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/pages/order/postOrder/index.js b/pages/order/postOrder/index.js index 5248ae4..be9edfe 100644 --- a/pages/order/postOrder/index.js +++ b/pages/order/postOrder/index.js @@ -22,6 +22,7 @@ Page({ allowance_price: 0, showAllowance: false, flag:null, + isCar:'single' }, /** @@ -33,7 +34,8 @@ Page({ kjId: app.globalData.kjId, gp_id: app.globalData.gp_id || app.globalData.team_id, prizeId: wx.getStorageSync('prizeId'), - flag:options.flag + flag:options.flag, + isCar:options.isCar }) let price = 0, sku_id = []; app.globalData.postProduct.map(item => { @@ -191,7 +193,7 @@ Page({ app.globalData.product = app.globalData.list[0] } wx.redirectTo({ - url: '/pages/order/scene/index?flag='+this.data.flag, + url: '/pages/order/scene/index?flag='+this.data.flag+'&isCar='+this.data.isCar, }) } }, diff --git a/pages/order/scene/index.js b/pages/order/scene/index.js index 84b6aea..0db83ec 100644 --- a/pages/order/scene/index.js +++ b/pages/order/scene/index.js @@ -285,7 +285,7 @@ Page({ app.globalData.index = app.globalData.index + 1 app.globalData.product = app.globalData.list[app.globalData.index] wx.redirectTo({ - url: '/pages/order/scene/index?flag='+ this.data.flag, + url: '/pages/order/scene/index?flag='+ this.data.flag+'&isCar='+this.data.isCar, }) return }else{ diff --git a/pages/user/cartlist/list.js b/pages/user/cartlist/list.js index bd08800..ad38fe5 100644 --- a/pages/user/cartlist/list.js +++ b/pages/user/cartlist/list.js @@ -176,7 +176,8 @@ Page({ } if (product.length > 0 && product1.length > 0) { this.setData({ - flag: 'mix' + flag: 'mix', + isCar:'multiple' }) } if ( product1.length > 1) { From 43af8cfd9dd3c38c57134a64027c4503ebb78eb9 Mon Sep 17 00:00:00 2001 From: nige Date: Wed, 26 Apr 2023 18:44:26 +0800 Subject: [PATCH 061/471] =?UTF-8?q?=E8=B4=AD=E7=89=A9=E8=BD=A6=E8=BF=94?= =?UTF-8?q?=E5=9B=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/component/TitleHeader.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/component/TitleHeader.js b/pages/component/TitleHeader.js index 6aaafbf..31dd347 100644 --- a/pages/component/TitleHeader.js +++ b/pages/component/TitleHeader.js @@ -83,6 +83,10 @@ Component({ wx.switchTab({ url: '/pages/user/user' }) + } else if (pages[pages.length-1].route.indexOf('pages/user/cartlist/list') != -1){ + wx.switchTab({ + url: '/pages/user/user' + }) } From 4dcd6ea75fe81c589a844881a43e309e42110fd8 Mon Sep 17 00:00:00 2001 From: chenkainan Date: Thu, 27 Apr 2023 12:13:44 +0800 Subject: [PATCH 062/471] =?UTF-8?q?=E6=99=AF=E7=82=B9=E4=B8=8B=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 2 +- pages/order/scene/index.js | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/app.js b/app.js index a60eb32..6adc98f 100644 --- a/app.js +++ b/app.js @@ -21,7 +21,7 @@ App({ unique_key: "wechatxcx" }).then(res => { let data = JSON.parse(res.data); - data.isTest = data.isTest68? true : false; + data.isTest = data.isTest76? true : false; this.globalData.configJson = data }).then(() => { // 获取ui配置文件 diff --git a/pages/order/scene/index.js b/pages/order/scene/index.js index 2e38932..f159d0f 100644 --- a/pages/order/scene/index.js +++ b/pages/order/scene/index.js @@ -196,6 +196,7 @@ Page({ }, order: function () { + console.log(this.data) let linkmanList = this.data.linkmanList, productNum = this.data.productNum, date = this.data.date, time = this.data.time, remark = this.data.remark, product = this.data.product; let linkmanIds = []; // if (linkmanList.length < productNum && app.globalData.product.isGroup != 1) { @@ -212,7 +213,7 @@ Page({ }) return } - if (!time && date.is_time_stock == true) { + if (!time && date && date.is_time_stock == true) { wx.showToast({ title: '请选择使用时间', icon: 'none' @@ -229,16 +230,17 @@ Page({ linkmanList.map(item => { linkmanIds.push(item.id) }) + console.log(date) let data = { coupon_id: this.data.coupon ? this.data.coupon.id : null, source: "WECHATXCX", product_list: [{ type: product.product.type, product_id: product.product.id, - sku_id: date.sku_id ? date.sku_id : product.sku.id, + sku_id: (date && date.sku_id) ? date.sku_id : product.sku.id, start_time: time.start_time, end_time: time.end_time, - use_date: date.date, + use_date: date ? date.date : '', visitors: linkmanIds.join(","), remark: remark, product_num: app.globalData.product.isGroup == 1 ? 1 : productNum From 001146847bf6136e3889839d0c84db675cf6cbd4 Mon Sep 17 00:00:00 2001 From: nige Date: Mon, 8 May 2023 08:41:33 +0800 Subject: [PATCH 063/471] =?UTF-8?q?=E6=96=87=E6=A1=A3=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 2 +- pages/index/index.wxml | 12 ++- pages/list/activitynew/index.wxml | 4 +- pages/list/activitynew/index.wxss | 3 +- pages/list/movieticket/index.js | 2 +- pages/list/movieticket/list/ticket/index.js | 2 +- pages/list/movieticket/list/ticket/index.wxml | 4 +- pages/list/scene/index.wxml | 2 +- pages/map/index.js | 2 +- pages/map/index.wxml | 47 ++++++---- pages/map/index.wxss | 21 ++++- pages/order/coupon/index.wxml | 2 +- pages/order/movie/index.js | 34 ++++--- pages/order/movie/index.wxml | 93 ++++++++++++++----- pages/order/movie/index.wxss | 63 +++++++++++++ pages/pbService/sceneComfort/index.js | 10 ++ pages/pbService/sceneComfort/index.wxml | 22 ++++- pages/pbService/sceneComfort/index.wxss | 60 ++++++++++++ pages/user/coupon/index.wxml | 43 ++++++--- pages/user/coupon/index.wxss | 38 ++++++-- pages/user/user.wxml | 2 +- 21 files changed, 375 insertions(+), 93 deletions(-) diff --git a/app.js b/app.js index d9c428b..101aeb0 100644 --- a/app.js +++ b/app.js @@ -21,7 +21,7 @@ App({ unique_key: "wechatxcx" }).then(res => { let data = JSON.parse(res.data); - data.isTest = data.isTest76? true : false; + data.isTest = data.isTest78? true : false; this.globalData.configJson = data }).then(() => { // 获取ui配置文件 diff --git a/pages/index/index.wxml b/pages/index/index.wxml index 307b4d7..73f6710 100644 --- a/pages/index/index.wxml +++ b/pages/index/index.wxml @@ -211,11 +211,12 @@ 廉洁地图 --> - - - 书香借阅 + + 苏影通 + diff --git a/pages/list/scene/index.wxml b/pages/list/scene/index.wxml index 6c6df21..cbb3e41 100644 --- a/pages/list/scene/index.wxml +++ b/pages/list/scene/index.wxml @@ -8,7 +8,7 @@ - NO.{{index+1}} + {{item.garden_flag_text}} {{item.title}} diff --git a/pages/map/index.js b/pages/map/index.js index 9d7016d..f2de0cf 100644 --- a/pages/map/index.js +++ b/pages/map/index.js @@ -450,7 +450,7 @@ Page({ mapItem.id = index; mapItem.info = item; if(item.type=='red_map'){ - mapItem.iconPath = "https://static.ticket.sz-trip.com/uploads/20211022/4bb3b753c625e89e1214105c03390e54.png"; + mapItem.iconPath = "https://static.ticket.sz-trip.com/uploads/20230506/054cea53a068545e9e27fa9cd3acbdec.png"; } else { mapItem.iconPath = "https://static.ticket.sz-trip.com/xcxImages/map/"+item.type+".png"; diff --git a/pages/map/index.wxml b/pages/map/index.wxml index 639b2c4..7451de1 100644 --- a/pages/map/index.wxml +++ b/pages/map/index.wxml @@ -12,40 +12,55 @@ - - 景点 + + + 景点 - - 场馆 + + + + 场馆 - - 特产 + + + + + 特产 - - 美食 + + + + 美食 - - 文保单位 + + + + 文保单位 - - 运河十景 + + + + 运河十景 - - 江南小书场 + + + + 江南小书场 - - 红色地图 + + + 红色地图 - - - - {{product.info.movieName}} - {{product.info.show_date}} {{product.info.show_time}}-{{product.info.close_time}} {{'('+product.info.show_version+')'}} - - {{product.info.cinemaName}} - {{product.info.hallName}} {{product.info.selectSeatInfo.seatInfo}} - - - - 手机号码: - - + + + + {{product.info.movieName}} + {{product.info.show_date}} {{product.info.show_time}}-{{product.info.close_time}} {{'('+product.info.show_version+')'}} + + {{product.info.cinemaName}} + {{product.info.hallName}} {{product.info.selectSeatInfo.seatInfo}} + + + + + 手机号码: + + + + + + + + + 不支持退票 + + + + + + 不支持改签 + + + + + + + + 费用明细 + + + ¥{{price/100}} + + + + + 票价 + + + ¥{{sPrice}} x {{num}} + + + + + 优惠券 + + + - ¥{{coupon?coupon.activity.money/100:0}} + + + + + + + 订单总额:¥{{((price - (coupon?coupon.activity.money:0))>0?(price - (coupon?coupon.activity.money:0)):0)/100}} + + + - - ¥0 - ¥{{((price - (coupon?coupon.activity.money:0))>0?(price - (coupon?coupon.activity.money:0)):0)/100}} - 总计优惠{{coupon?coupon.activity.money/100:0}}元 - - - 立即付款 + + ¥0 + ¥{{((price - (coupon?coupon.activity.money:0))>0?(price - (coupon?coupon.activity.money:0)):0)/100}} + 总计优惠{{coupon?coupon.activity.money/100:0}}元 + + 明细 + 立即付款 \ No newline at end of file diff --git a/pages/order/movie/index.wxss b/pages/order/movie/index.wxss index c2c042b..79403a9 100644 --- a/pages/order/movie/index.wxss +++ b/pages/order/movie/index.wxss @@ -104,4 +104,67 @@ page { background: #D62828; font-size: 36rpx; font-weight: 500; +} +.tips{ + display: flex; + margin-left: 25.3rpx; +} +.tips-box{ + display: flex; + align-items: center; + margin-right: 27rpx; + font-size: 27rpx; + font-family: PingFang SC; + font-weight: 500; + color: #111111; + +} +.tips-box image{ + width: 26.6rpx; + height: 26.6rpx; +} +.fix-info{ + width: 750rpx; + min-height: 305rpx; + background: #FFFFFF; + padding: 36rpx 46rpx 36rpx 46rpx; + box-sizing: border-box; + position: fixed; + bottom:113rpx; +} +.info-item{ + display: flex; + align-items: center; + justify-content: space-between; +} +.info-item:first-child{ + font-size: 31rpx; + font-family: PingFang SC; + font-weight: bold; + color: #000000; +} +.info-item:nth-child(2){ + margin-top: 40rpx; + font-size: 31rpx; + font-family: PingFang SC; + font-weight: 500; + color: #999999; + +} +.info-item:nth-child(3){ + margin-top: 31rpx; + font-size: 31rpx; + font-family: PingFang SC; + font-weight: 500; + color: #999999; +} +.info-item:nth-child(4){ + margin-top: 40rpx; + font-size: 31rpx; + font-family: PingFang SC; + font-weight: 500; + color: #999999; +} +.fix-info.hide{ + bottom:-300rpx; } \ No newline at end of file diff --git a/pages/pbService/sceneComfort/index.js b/pages/pbService/sceneComfort/index.js index b299a62..db8e5d5 100644 --- a/pages/pbService/sceneComfort/index.js +++ b/pages/pbService/sceneComfort/index.js @@ -121,6 +121,16 @@ Page({ list:this.data.list.concat(res.data.rows), total:res.data.total }) + console.log(this.data.list.length); + console.log(res.data.total); + + if (this.data.list.length {{sceneLevelObj[item.scene_level]}} - + + + + + + + 当前舒适度: + + {{itemY.desc}} + + + 瞬时承载量:{{item.ins_carry_capacity}}人 + + + 更新时间:{{item.status_time}} - 当前舒适度/瞬时承载量 + + \ No newline at end of file diff --git a/pages/pbService/sceneComfort/index.wxss b/pages/pbService/sceneComfort/index.wxss index 4ce2ac2..c801dbe 100644 --- a/pages/pbService/sceneComfort/index.wxss +++ b/pages/pbService/sceneComfort/index.wxss @@ -118,4 +118,64 @@ page { line-height: 38rpx; border: 1rpx solid; margin-right: 20rpx; +} +.two { + padding: 0 12rpx; + border-radius: 20rpx; + line-height: 38rpx; + border: 1rpx solid; + margin-left: 10rpx; + + +font-size: 24rpx; +font-family: PingFang SC; +font-weight: 500; +color: #83D851; +} +.info{ + width: 650rpx; + min-height: 134rpx; + border-radius: 10rpx; + padding: 28rpx 20rpx; + box-sizing: border-box; +} +.yongji{ + background: rgba(204, 25, 25, .08); +} +.jiaoyongji{ +background: rgba(252, 133, 58, .08); +} +.yiban{ + background: rgba(255, 198, 41, .08); +} +.info.jiaoshushi{ + background: rgba(66, 146, 201, .08); +} +.shushi{ + background: rgba(131, 216, 81, .08); +} +.top-info{ + display: flex; + align-items: center; + justify-content: space-between; +} +.comft{ + display: flex; + + +font-size: 26rpx; +font-family: PingFang SC; +font-weight: 500; +color: #333333; +align-items: center; +} +.num{ + border-left: 1rpx solid #D8D8D8; + padding-left: 50rpx; + + +font-size: 26rpx; +font-family: PingFang SC; +font-weight: 500; +color: #333333; } \ No newline at end of file diff --git a/pages/user/coupon/index.wxml b/pages/user/coupon/index.wxml index 8d46f82..1d26442 100644 --- a/pages/user/coupon/index.wxml +++ b/pages/user/coupon/index.wxml @@ -1,22 +1,35 @@ - 可使用 - 已使用 - 已失效 + 可使用 + 已使用 + 已失效 - - {{item.activity.name}} - {{item.activity.money/100}} - - 使用条件:满{{item.activity.mini_money/100}}元 - 有效期:{{item.end_time}} - 优惠码:{{item.key}} - - 使用规则 - + + {{item.activity.name}} + {{item.activity.money/100}} + + 使用条件:满{{item.activity.mini_money/100}}元 + 有效期:{{item.end_time}} 前使用 + 优惠码:{{item.key}} + + + + + --------------------------------------------- + + + + + + + 使用规则 + + {{item.note}} + + 更新时间:{{item.status_time}} diff --git a/pages/pbService/sceneComfort/index.wxss b/pages/pbService/sceneComfort/index.wxss index c801dbe..b699e0b 100644 --- a/pages/pbService/sceneComfort/index.wxss +++ b/pages/pbService/sceneComfort/index.wxss @@ -133,7 +133,7 @@ font-weight: 500; color: #83D851; } .info{ - width: 650rpx; + width: 630rpx; min-height: 134rpx; border-radius: 10rpx; padding: 28rpx 20rpx; diff --git a/pages/user/cartlist/list.js b/pages/user/cartlist/list.js index ad38fe5..c51d1b1 100644 --- a/pages/user/cartlist/list.js +++ b/pages/user/cartlist/list.js @@ -28,6 +28,7 @@ Page({ * 生命周期函数--监听页面加载 */ onLoad: function (options) { + wx.removeStorageSync('linkMan') this.getList(); }, manage: function () { diff --git a/pages/user/coupon/index.wxml b/pages/user/coupon/index.wxml index 1d26442..bf54959 100644 --- a/pages/user/coupon/index.wxml +++ b/pages/user/coupon/index.wxml @@ -18,7 +18,6 @@ - --------------------------------------------- diff --git a/pages/user/coupon/index.wxss b/pages/user/coupon/index.wxss index 236613c..c7faac0 100644 --- a/pages/user/coupon/index.wxss +++ b/pages/user/coupon/index.wxss @@ -103,11 +103,12 @@ page { .coupon-tip text { color: #999999; display: inline-block; - width: 160rpx; + width: 130rpx; } .coupon-rule { font-size: 26rpx; - + margin-top: 20rpx; + } .rule-text{ margin-top:10rpx; @@ -131,4 +132,8 @@ page { } .fixed-btn text { color: #0B898E; +} +.line{ + height: 25rpx; + border-bottom: dashed 1rpx #D8D8D8; } \ No newline at end of file diff --git a/pages/user/order/movieOrderInfo/index.wxml b/pages/user/order/movieOrderInfo/index.wxml index aa385b4..556623e 100644 --- a/pages/user/order/movieOrderInfo/index.wxml +++ b/pages/user/order/movieOrderInfo/index.wxml @@ -71,6 +71,9 @@ 座位:{{info.order_product_list[0].order_product_extend.seats_list}} + + {{info.order_product_list[0].order_product_extend.ticket_code}} 请凭取票凭证码至影院大厅内影院自有取票机或前台进行取票 + 出行人 diff --git a/pages/user/order/sceneOrderInfo/index.js b/pages/user/order/sceneOrderInfo/index.js index 043e2c6..3e293b9 100644 --- a/pages/user/order/sceneOrderInfo/index.js +++ b/pages/user/order/sceneOrderInfo/index.js @@ -49,33 +49,37 @@ Page({ }, getCodeImg:function(){ let that = this,sys =wx.getSystemInfoSync(),radio = sys.screenWidth / 750,qrcode=this.data.info.order_product_list[0].qrcode,codeImgs=[]; - qrcode.map((item,index)=>{ - if(item.use_url){ - codeImgs.push(item.use_url); - if(codeImgs.length==qrcode.length){ - that.setData({ - codeImgs:codeImgs - }) + + this.data.info.order_product_list.forEach(qrcode=>{ + qrcode.qrcode.map((item,index)=>{ + if(item.use_url){ + codeImgs.push(item.use_url); + if(codeImgs.length==qrcode.qrcode.length){ + that.setData({ + codeImgs:codeImgs + }) + } } - } - else { - new QRCode('damocode'+index,{ - text: item.use_code, - width: 300 * radio, - height: 300 * radio, - padding: 12, // 生成二维码四周自动留边宽度,不传入默认为0 - correctLevel: QRCode.CorrectLevel.L, // 二维码可辨识度 - callback: (res) => { - codeImgs.push(res.path); - if(codeImgs.length==qrcode.length){ - that.setData({ - codeImgs:codeImgs - }) + else { + new QRCode('damocode'+index,{ + text: item.use_code, + width: 300 * radio, + height: 300 * radio, + padding: 12, // 生成二维码四周自动留边宽度,不传入默认为0 + correctLevel: QRCode.CorrectLevel.L, // 二维码可辨识度 + callback: (res) => { + codeImgs.push(res.path); + if(codeImgs.length==qrcode.qrcode.length){ + that.setData({ + codeImgs:codeImgs + }) + } } - } - }) - } - }) + }) + } + }) + }) + }, prevCodeImg:function(){ let qrcode=this.data.info.order_product_list[0].qrcode,codeIndex = this.data.codeIndex; From 17f498baaf3bbf74a934fdba5f2fe3b338a5a5b8 Mon Sep 17 00:00:00 2001 From: nige Date: Thu, 18 May 2023 17:28:29 +0800 Subject: [PATCH 065/471] =?UTF-8?q?=E7=89=88=E6=9C=AC=E5=8F=B7=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 101aeb0..a70fde6 100644 --- a/app.js +++ b/app.js @@ -21,7 +21,7 @@ App({ unique_key: "wechatxcx" }).then(res => { let data = JSON.parse(res.data); - data.isTest = data.isTest78? true : false; + data.isTest = data.isTest79? true : false; this.globalData.configJson = data }).then(() => { // 获取ui配置文件 From d2737182e498448fe0ea7c8833a2187a88456396 Mon Sep 17 00:00:00 2001 From: nige Date: Mon, 22 May 2023 17:30:27 +0800 Subject: [PATCH 066/471] =?UTF-8?q?=E4=BA=8C=E7=BB=B4=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 2 +- pages/user/order/sceneOrderInfo/index.js | 52 +++++++++++++--------- pages/user/order/sceneOrderInfo/index.wxml | 15 +++++-- 3 files changed, 43 insertions(+), 26 deletions(-) diff --git a/app.js b/app.js index a70fde6..e1789b7 100644 --- a/app.js +++ b/app.js @@ -21,7 +21,7 @@ App({ unique_key: "wechatxcx" }).then(res => { let data = JSON.parse(res.data); - data.isTest = data.isTest79? true : false; + data.isTest = data.isTest80? true : false; this.globalData.configJson = data }).then(() => { // 获取ui配置文件 diff --git a/pages/user/order/sceneOrderInfo/index.js b/pages/user/order/sceneOrderInfo/index.js index 3e293b9..b06dc2b 100644 --- a/pages/user/order/sceneOrderInfo/index.js +++ b/pages/user/order/sceneOrderInfo/index.js @@ -27,7 +27,7 @@ Page({ sysm:false, sysmText:'更多', sysm2:false, - sysm2Text:'更多', + sysm2Text:'更多' }, /** @@ -48,38 +48,46 @@ Page({ }) }, getCodeImg:function(){ - let that = this,sys =wx.getSystemInfoSync(),radio = sys.screenWidth / 750,qrcode=this.data.info.order_product_list[0].qrcode,codeImgs=[]; + let that = this,sys =wx.getSystemInfoSync(),radio = sys.screenWidth / 750,qrcode=this.data.info.order_product_list[0].qrcode,codeImgs=[],codeId=0; + this.data.info.order_product_list.forEach(qrcode=>{ - qrcode.qrcode.map((item,index)=>{ - if(item.use_url){ - codeImgs.push(item.use_url); - if(codeImgs.length==qrcode.qrcode.length){ - that.setData({ - codeImgs:codeImgs - }) - } + qrcode.qrcode.map((item)=>{ + if(item.use_url&&item.use_code){ + codeImgs.push({img:item.use_url,code:item.use_code,text:item.use_code_display_text,state:item.stateText}); + // if(codeImgs.length==qrcode.qrcode.length){ + // that.setData({ + // codeImgs:codeImgs + // }) + // } + that.setData({ + codeImgs:codeImgs + }) } else { - new QRCode('damocode'+index,{ + console.log(1231231232131); + console.log(codeId); + new QRCode('damocode'+codeId,{ text: item.use_code, width: 300 * radio, height: 300 * radio, - padding: 12, // 生成二维码四周自动留边宽度,不传入默认为0 - correctLevel: QRCode.CorrectLevel.L, // 二维码可辨识度 + padding:10, // 生成二维码四周自动留边宽度,不传入默认为0 + correctLevel: QRCode.CorrectLevel.H, // 二维码可辨识度 callback: (res) => { - codeImgs.push(res.path); - if(codeImgs.length==qrcode.qrcode.length){ - that.setData({ - codeImgs:codeImgs - }) - } + codeImgs.push({img:res.path,code:item.use_code,text:item.use_code_display_text,state:item.stateText}); + that.setData({ + codeImgs:codeImgs + }) + + // if(codeImgs.length==qrcode.qrcode.length){ + + // } } }) + codeId = codeId + 1 } }) }) - }, prevCodeImg:function(){ let qrcode=this.data.info.order_product_list[0].qrcode,codeIndex = this.data.codeIndex; @@ -95,13 +103,15 @@ Page({ } }, nextCodeImg:function(){ - let qrcode=this.data.info.order_product_list[0].qrcode,codeIndex = this.data.codeIndex; + console.log(this.data.codeImgs); + let qrcode=this.data.codeImgs,codeIndex = this.data.codeIndex; codeIndex = codeIndex + 1; if(codeIndex==qrcode.length){ codeIndex = 0; } this.setData({ codeIndex:codeIndex + }) }, showFeeInfo:function(){ diff --git a/pages/user/order/sceneOrderInfo/index.wxml b/pages/user/order/sceneOrderInfo/index.wxml index 2512257..1e497f9 100644 --- a/pages/user/order/sceneOrderInfo/index.wxml +++ b/pages/user/order/sceneOrderInfo/index.wxml @@ -2,19 +2,26 @@ - + {{info.state_text}} - + {{info.order_product_list[0].qrcode[codeIndex].use_code_display_text}}:{{info.order_product_list[0].qrcode[codeIndex].use_code}} 核销码:{{info.order_product_list[0].qrcode[codeIndex].use_code}} {{info.order_product_list[0].qrcode[codeIndex].stateText}} {{codeIndex+1}}/{{codeImgs.length}} - + --> + + + + + + + {{codeImgs[codeIndex].text}}:{{codeImgs[codeIndex].code}} + {{codeImgs[codeIndex].state}} {{codeIndex+1}}/{{codeImgs.length}} From eca0d6eee11f3c7f99bdc8482b528b1ed2162085 Mon Sep 17 00:00:00 2001 From: nige Date: Wed, 24 May 2023 09:08:03 +0800 Subject: [PATCH 067/471] =?UTF-8?q?=E7=94=B5=E5=BD=B1=E7=A5=A8=E6=8F=90?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 2 +- pages/list/activitynew/index.wxml | 2 +- pages/list/activitynew/index.wxss | 5 +++-- pages/list/movieticket/index.wxml | 2 +- pages/order/movie/index.wxml | 4 ++-- pages/order/movie/index.wxss | 28 ++++++++++++++++++++-------- 6 files changed, 28 insertions(+), 15 deletions(-) diff --git a/app.js b/app.js index e1789b7..3199bb7 100644 --- a/app.js +++ b/app.js @@ -21,7 +21,7 @@ App({ unique_key: "wechatxcx" }).then(res => { let data = JSON.parse(res.data); - data.isTest = data.isTest80? true : false; + data.isTest = data.isTest81? true : false; this.globalData.configJson = data }).then(() => { // 获取ui配置文件 diff --git a/pages/list/activitynew/index.wxml b/pages/list/activitynew/index.wxml index 3470235..8deb5c0 100644 --- a/pages/list/activitynew/index.wxml +++ b/pages/list/activitynew/index.wxml @@ -71,7 +71,7 @@ 热映 影院 - 即将上映 + 离我最近 diff --git a/pages/list/activitynew/index.wxss b/pages/list/activitynew/index.wxss index 5765cfc..8f3167e 100644 --- a/pages/list/activitynew/index.wxss +++ b/pages/list/activitynew/index.wxss @@ -225,11 +225,12 @@ background: rgba(11, 137, 142, .1); .movie-types { display: flex; justify-content: space-between; - padding: 30rpx; + padding: 30rpx 14rpx; background: #0B898E; } .movie-type { - width: 180rpx; + width: 330rpx; + height: 60rpx; display: flex; align-items: center; diff --git a/pages/list/movieticket/index.wxml b/pages/list/movieticket/index.wxml index 276c8b7..0ae5aa5 100644 --- a/pages/list/movieticket/index.wxml +++ b/pages/list/movieticket/index.wxml @@ -2,7 +2,7 @@ 热映 影院 - 即将上映 + diff --git a/pages/order/movie/index.wxml b/pages/order/movie/index.wxml index a88c5b5..c39a4e0 100644 --- a/pages/order/movie/index.wxml +++ b/pages/order/movie/index.wxml @@ -20,13 +20,13 @@ - + 不支持退票 - + 不支持改签 diff --git a/pages/order/movie/index.wxss b/pages/order/movie/index.wxss index 79403a9..91509b5 100644 --- a/pages/order/movie/index.wxss +++ b/pages/order/movie/index.wxss @@ -4,9 +4,11 @@ page { } .info-box { background: white; - border-radius: 7rpx; + border-radius: 9rpx; margin: 25rpx; padding: 0 21rpx; + position: relative; + z-index:11; } .info-top { display: flex; @@ -107,21 +109,31 @@ page { } .tips{ display: flex; - margin-left: 25.3rpx; + margin-left:25rpx; + padding-left: 20rpx; + box-sizing: border-box; + width: 700rpx; + height: 80rpx; + background: #D62828; + border-radius:0 0 9rpx 9rpx ; + position: relative; + margin-top: -32rpx; } .tips-box{ display: flex; align-items: center; margin-right: 27rpx; - font-size: 27rpx; - font-family: PingFang SC; - font-weight: 500; - color: #111111; + font-size: 27rpx; + font-family: PingFang SC; + font-weight: bold; + color: #FFFFFF; + line-height: 57rpx; } .tips-box image{ - width: 26.6rpx; - height: 26.6rpx; + width: 26.7rpx; + height: 26.7rpx; + margin-right:10rpx ; } .fix-info{ width: 750rpx; From 4b9ef94616c68f095498a3e479a1069d065fd4b9 Mon Sep 17 00:00:00 2001 From: nige Date: Wed, 7 Jun 2023 09:06:50 +0800 Subject: [PATCH 068/471] =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/list/card/index.wxss | 2 ++ pages/list/movieticket/list/info/index.wxml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/pages/list/card/index.wxss b/pages/list/card/index.wxss index 4260079..3364af0 100644 --- a/pages/list/card/index.wxss +++ b/pages/list/card/index.wxss @@ -7,6 +7,8 @@ margin-top: 417rpx; position: relative; z-index: 2; + background: url(https://static.ticket.sz-trip.com/xcxImages/card/bg.png) repeat-y; + } .item { display: flex; diff --git a/pages/list/movieticket/list/info/index.wxml b/pages/list/movieticket/list/info/index.wxml index 4910bdb..651fcac 100644 --- a/pages/list/movieticket/list/info/index.wxml +++ b/pages/list/movieticket/list/info/index.wxml @@ -24,6 +24,6 @@ - + 立即购票 \ No newline at end of file From 7d5086374c2bf9b1e33ca2682713c055302f9fc7 Mon Sep 17 00:00:00 2001 From: nige Date: Tue, 13 Jun 2023 15:36:55 +0800 Subject: [PATCH 069/471] =?UTF-8?q?=E6=B4=BB=E5=8A=A8=E6=97=A5=E5=8E=86?= =?UTF-8?q?=E9=AB=98=E5=BA=A6=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/list/activitynew/index.wxss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/list/activitynew/index.wxss b/pages/list/activitynew/index.wxss index 8f3167e..32d235f 100644 --- a/pages/list/activitynew/index.wxss +++ b/pages/list/activitynew/index.wxss @@ -212,7 +212,7 @@ background: rgba(11, 137, 142, .1); font-size: 23rpx; color: #999; flex: 1; - height: 220rpx; + min-height: 220rpx; margin-right: 28rpx; } .activity-title { From b4edfb6d4e03b96a6ef5e31965a263c046db0f49 Mon Sep 17 00:00:00 2001 From: nige Date: Wed, 21 Jun 2023 17:02:35 +0800 Subject: [PATCH 070/471] =?UTF-8?q?=E5=BC=BA=E5=88=B6=E5=85=B3=E6=B3=A8,?= =?UTF-8?q?=E7=94=B5=E5=BD=B1=E4=B8=8B=E5=8D=95=E9=A1=B5=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/info/hotelProductInfo/index.js | 102 +- pages/info/hotelProductInfo/index.json | 4 +- pages/info/hotelProductInfo/index.wxml | 9 +- pages/info/museumInfo/index.js | 57 +- pages/info/museumInfo/index.json | 4 +- pages/info/museumInfo/index.wxml | 4 +- pages/info/postProductInfo/index.js | 1331 +++++++------- pages/info/postProductInfo/index.json | 4 +- pages/info/postProductInfo/index.wxml | 4 +- pages/info/roadInfo/index.js | 933 +++++----- pages/info/roadInfo/index.json | 4 +- pages/info/roadInfo/index.wxml | 4 +- pages/info/sceneProductInfo/index.js | 1580 +++++++++-------- pages/info/sceneProductInfo/index.json | 5 +- pages/info/sceneProductInfo/index.wxml | 4 +- pages/list/movieticket/list/ticket/index.js | 473 ++--- pages/list/movieticket/list/ticket/index.json | 3 +- pages/list/movieticket/list/ticket/index.wxml | 4 +- pages/order/components/wxqrCode/index.js | 42 + pages/order/components/wxqrCode/index.json | 4 + pages/order/components/wxqrCode/index.wxml | 13 + pages/order/components/wxqrCode/index.wxss | 70 + pages/order/movie/index.wxml | 9 +- pages/order/movie/index.wxss | 8 +- pages/user/cartlist/list.js | 688 +++---- pages/user/cartlist/list.json | 3 +- pages/user/cartlist/list.wxml | 4 +- 27 files changed, 2841 insertions(+), 2529 deletions(-) create mode 100644 pages/order/components/wxqrCode/index.js create mode 100644 pages/order/components/wxqrCode/index.json create mode 100644 pages/order/components/wxqrCode/index.wxml create mode 100644 pages/order/components/wxqrCode/index.wxss diff --git a/pages/info/hotelProductInfo/index.js b/pages/info/hotelProductInfo/index.js index b42b444..d5942c6 100644 --- a/pages/info/hotelProductInfo/index.js +++ b/pages/info/hotelProductInfo/index.js @@ -37,7 +37,9 @@ Page({ roomInfo: null, retailId: "", shareImg: null, - showShareFlag: false + showShareFlag: false, + showQrCode: false, + wxqrcode: null }, /** @@ -127,44 +129,72 @@ Page({ }) }, order: function (e) { - let item = e.currentTarget.dataset.item; - item.startDate = this.data.startDate; - item.endDate = this.data.endDate; - item.startDateText = this.data.startDateText; - item.endDateText = this.data.endDateText; - item.startDay = this.getDay(item.startDate); - item.endDay = this.getDay(item.endDate); - item.days = this.data.days; - app.globalData.product = item; - app.globalData.couponInfo = null; - wx.navigateTo({ - url: '/pages/order/hotel/index', + console.log(this.data.sceneInfo); + commonApi.user_post('wx/get_user_keep', { + jumpurl: '/pages/info/hotelProductInfo/index?id=' + this.data.id, + title: this.data.sceneInfo.title, + type: 'mini' + }).then(res => { + if (res.data.subscribe == 0) { + this.setData({ + wxqrcode: res.data.qrcode, + showQrCode: true + }) + } else { + let item = e.currentTarget.dataset.item; + item.startDate = this.data.startDate; + item.endDate = this.data.endDate; + item.startDateText = this.data.startDateText; + item.endDateText = this.data.endDateText; + item.startDay = this.getDay(item.startDate); + item.endDay = this.getDay(item.endDate); + item.days = this.data.days; + app.globalData.product = item; + app.globalData.couponInfo = null; + wx.navigateTo({ + url: '/pages/order/hotel/index', + }) + } }) }, orderMt: function (e) { - let item = e.currentTarget.dataset.item, product = e.currentTarget.dataset.product; - item.startDate = this.data.startDate; - item.endDate = this.data.endDate; - item.startDateText = this.data.startDateText; - item.endDateText = this.data.endDateText; - item.startDay = this.getDay(item.startDate); - item.endDay = this.getDay(item.endDate); - item.days = this.data.days; - item.id = item.sku_id; - // item.product_id = product.real_room_id; - item.sku_name = product.room_name; - item.sku_model = {}; - item.sku_model.area = product.useable_area + "m²"; - item.sku_model.bed_type = item.bed_type; - item.sku_model.breakfast = item.breakfast; - item.sku_model.max_room_num = item.max_room_num; - app.globalData.product = item; - app.globalData.retailId = this.data.retailId; - // return; - app.globalData.couponInfo = null; - wx.navigateTo({ - url: '/pages/order/hotel/index', - }) + commonApi.user_post('wx/get_user_keep', { + jumpurl: '/pages/info/hotelProductInfo/index?id=' + this.data.id, + title: this.data.sceneInfo.title, + type: 'mini' + }).then(res => { + if (res.data.subscribe == 0) { + this.setData({ + wxqrcode: res.data.qrcode, + showQrCode: true + }) + } else { + let item = e.currentTarget.dataset.item, product = e.currentTarget.dataset.product; + item.startDate = this.data.startDate; + item.endDate = this.data.endDate; + item.startDateText = this.data.startDateText; + item.endDateText = this.data.endDateText; + item.startDay = this.getDay(item.startDate); + item.endDay = this.getDay(item.endDate); + item.days = this.data.days; + item.id = item.sku_id; + // item.product_id = product.real_room_id; + item.sku_name = product.room_name; + item.sku_model = {}; + item.sku_model.area = product.useable_area + "m²"; + item.sku_model.bed_type = item.bed_type; + item.sku_model.breakfast = item.breakfast; + item.sku_model.max_room_num = item.max_room_num; + app.globalData.product = item; + app.globalData.retailId = this.data.retailId; + // return; + app.globalData.couponInfo = null; + wx.navigateTo({ + url: '/pages/order/hotel/index', + }) + }}) + + }, getDay: function (date) { let d = new Date(date.replace(/-/g, '/')).getDay(); diff --git a/pages/info/hotelProductInfo/index.json b/pages/info/hotelProductInfo/index.json index eb3533f..dba6e62 100644 --- a/pages/info/hotelProductInfo/index.json +++ b/pages/info/hotelProductInfo/index.json @@ -1,6 +1,8 @@ { "usingComponents": { "title":"/pages/component/TitleHeader", - "common-image":"/pages/component/commonImage/index" + "common-image":"/pages/component/commonImage/index", + "code":"../../order/components/wxqrCode/index" + } } \ No newline at end of file diff --git a/pages/info/hotelProductInfo/index.wxml b/pages/info/hotelProductInfo/index.wxml index 92fe16a..5c77760 100644 --- a/pages/info/hotelProductInfo/index.wxml +++ b/pages/info/hotelProductInfo/index.wxml @@ -53,8 +53,9 @@ {{item.room_name}} - {{item.useable_area?(item.useable_area+'m²'):''}} {{item.bedDesc}}{{item.bedType}}x{{item.bedCount}} {{item.window?item.window:''}} - {{item.low_price>0?item.low_price/100:'0'}} + + {{item.useable_area?(item.useable_area+'m²'):''}} {{item.window?item.window:''}} {{item.capacity?item.capacity+'人入住':''}} + {{item.low_price>0?item.low_price/100:'0'}} @@ -216,4 +217,6 @@ 保存到相册 - \ No newline at end of file + + + \ No newline at end of file diff --git a/pages/info/museumInfo/index.js b/pages/info/museumInfo/index.js index af26a02..a4f8e8a 100644 --- a/pages/info/museumInfo/index.js +++ b/pages/info/museumInfo/index.js @@ -26,7 +26,9 @@ Page({ retailId: "", isGroup: null, shareImg: null, - showShareFlag: false + showShareFlag: false, + showQrCode:false, + wxqrcode:null }, /** @@ -399,27 +401,38 @@ Page({ }) }, order: function () { - this.data.isGroup = null - if(this.data.product.product.flag!=1 || this.data.product.sku.flag=='off') return; - if(this.data.isGroup){ - // 如果是团队预约的话 是需要判断是否需要审核的 - commonApi.user_post("team_order/is_apply",{ - id:this.data.id - }).then(res=>{ - // 0 无需资质申请 1 需要资质申请跳转资质申请页面 - if(res && res.data==1){ - wx.navigateTo({ - url: '/pages/group/apply/index?id='+this.data.id, - }) - return; - } - this.realOrder() - }) - } - else { - this.realOrder() - } - + commonApi.user_post('wx/get_user_keep', { + jumpurl: '/pages/info/museumInfo/index?id='+this.data.id, + title:this.data.info.title, + type: 'mini' + }).then(res => { + if (res.data.subscribe == 0) { + this.setData({ + wxqrcode: res.data.qrcode, + showQrCode: true + }) + } else { + this.data.isGroup = null + if(this.data.product.product.flag!=1 || this.data.product.sku.flag=='off') return; + if(this.data.isGroup){ + // 如果是团队预约的话 是需要判断是否需要审核的 + commonApi.user_post("team_order/is_apply",{ + id:this.data.id + }).then(res=>{ + // 0 无需资质申请 1 需要资质申请跳转资质申请页面 + if(res && res.data==1){ + wx.navigateTo({ + url: '/pages/group/apply/index?id='+this.data.id, + }) + return; + } + this.realOrder() + }) + } + else { + this.realOrder() + } + }}) }, order1: function () { this.data.isGroup = 1 diff --git a/pages/info/museumInfo/index.json b/pages/info/museumInfo/index.json index 5e61cff..bfbc88d 100644 --- a/pages/info/museumInfo/index.json +++ b/pages/info/museumInfo/index.json @@ -1,6 +1,8 @@ { "usingComponents": { "title":"/pages/component/TitleHeader", - "date":"/pages/order/components/date/index" + "date":"/pages/order/components/date/index", + "code":"../../order/components/wxqrCode/index" + } } \ No newline at end of file diff --git a/pages/info/museumInfo/index.wxml b/pages/info/museumInfo/index.wxml index 529faa3..0094ca3 100644 --- a/pages/info/museumInfo/index.wxml +++ b/pages/info/museumInfo/index.wxml @@ -99,4 +99,6 @@ 保存到相册 -
    \ No newline at end of file +
    + + \ No newline at end of file diff --git a/pages/info/postProductInfo/index.js b/pages/info/postProductInfo/index.js index 8bc8423..738a610 100644 --- a/pages/info/postProductInfo/index.js +++ b/pages/info/postProductInfo/index.js @@ -7,703 +7,730 @@ import util from '../../../utils/util' let app = getApp() Page({ - /** - * 页面的初始数据 - */ - data: { - autoPlay: true, - fixed: false, - type: 1, - top: 0, - isLike: 0, - commentTotal: 0, - comment: [], - info: null, - skuFlag: null, - producNum: 1, - skuIndex: 0, - aniSkuIndex: -1, - retailId: "", - cartTop: 0, - cartImgInfo: null, - cartCount: 0, - shareImg: null, - showShareFlag: false, - allowance_data: null, - showAllowance: false, - tjList: [], //推荐商品列表 - iShop:false, - supplierId:null - }, + /** + * 页面的初始数据 + */ + data: { + autoPlay: true, + fixed: false, + type: 1, + top: 0, + isLike: 0, + commentTotal: 0, + comment: [], + info: null, + skuFlag: null, + producNum: 1, + skuIndex: 0, + aniSkuIndex: -1, + retailId: "", + cartTop: 0, + cartImgInfo: null, + cartCount: 0, + shareImg: null, + showShareFlag: false, + allowance_data: null, + showAllowance: false, + tjList: [], //推荐商品列表 + iShop: false, + supplierId: null, + showQrCode: false, + wxqrcode: null + }, - /** - * 生命周期函数--监听页面加载 - */ - onLoad: function (options) { - //删除临时存储的联系人 - wx.removeStorageSync('linkMan') - let rect = wx.getMenuButtonBoundingClientRect(), - that = this; - let height = (rect.top - device.statusBarHeight) * 2 + rect.height + device.statusBarHeight; - this.setData({ - top: height, - id: options.id - }) - // 获取购物车按钮的位置 - wx.createSelectorQuery().select('#cart').boundingClientRect(function (res) { - console.log(res) - that.setData({ - cartTop: res.top - }) - }).exec() + /** + * 生命周期函数--监听页面加载 + */ + onLoad: function (options) { + //删除临时存储的联系人 + wx.removeStorageSync('linkMan') + let rect = wx.getMenuButtonBoundingClientRect(), + that = this; + let height = (rect.top - device.statusBarHeight) * 2 + rect.height + device.statusBarHeight; + this.setData({ + top: height, + id: options.id + }) + // 获取购物车按钮的位置 + wx.createSelectorQuery().select('#cart').boundingClientRect(function (res) { + console.log(res) + that.setData({ + cartTop: res.top + }) + }).exec() - if (options.retailId) { - this.setData({ - retailId: options.retailId - }) - } - commonApi._post("product/get_product_detail", { - id: options.id - }).then(res => { - res.data.display_tags = (res.data.display_tags ? res.data.display_tags.split(",") : []).splice(0, 2); - if (options.skuid) { - let sku = res.data.sku.find(item => item.id == options.skuid); - res.data.sku = [sku]; - } - res.data.flag = res.data.sku.find(item => item.flag == 'on') ? res.data.flag : 0 - this.setData({ - info: res.data, - supplierId:res.data.supplier_id, - iShop:res.data.supplier_id?true:false - }) + if (options.retailId) { + this.setData({ + retailId: options.retailId + }) + } + commonApi._post("product/get_product_detail", { + id: options.id + }).then(res => { + res.data.display_tags = (res.data.display_tags ? res.data.display_tags.split(",") : []).splice(0, 2); + if (options.skuid) { + let sku = res.data.sku.find(item => item.id == options.skuid); + res.data.sku = [sku]; + } + res.data.flag = res.data.sku.find(item => item.flag == 'on') ? res.data.flag : 0 + this.setData({ + info: res.data, + supplierId: res.data.supplier_id, + iShop: res.data.supplier_id ? true : false + }) - // 获取补贴 - // commonApi.user_post("product/getProductAllowancePrice", { - // product_code: res.data.product_code - // }).then(resTwo => { - // if (resTwo && resTwo.code == 1) { - // this.setData({ - // allowance_data: resTwo.data - // }) - // } - // }) - this.BroswerRecord() - }) - // 获取评价列表 - commonApi._post("product/product_comment_list", { - product_id: options.id - }).then(res => { - res.data.list.map(item => { - item.rate = Number(item.rate) - item.create_time = item.create_time.substring(0, 10) + // 获取补贴 + // commonApi.user_post("product/getProductAllowancePrice", { + // product_code: res.data.product_code + // }).then(resTwo => { + // if (resTwo && resTwo.code == 1) { + // this.setData({ + // allowance_data: resTwo.data + // }) + // } + // }) + this.BroswerRecord() + }) + // 获取评价列表 + commonApi._post("product/product_comment_list", { + product_id: options.id + }).then(res => { + res.data.list.map(item => { + item.rate = Number(item.rate) + item.create_time = item.create_time.substring(0, 10) - }) - this.setData({ - comment: res.data.list.splice(0, 2), - commentTotal: res.data.total - }) - let arr = this.data.comment - arr.map((item) => { - if (item.img_list) { - item.img_list = item.img_list.split(',') - } else { - item.img_list = [] - } - }) - this.setData({ - comment: arr - }) - }) + }) + this.setData({ + comment: res.data.list.splice(0, 2), + commentTotal: res.data.total + }) + let arr = this.data.comment + arr.map((item) => { + if (item.img_list) { + item.img_list = item.img_list.split(',') + } else { + item.img_list = [] + } + }) + this.setData({ + comment: arr + }) + }) - commonApi._post("product/get_product_by_type", { - offset: 0, - limit: 6, - rand: true, - type: 'post' - }).then(res => { - try { - this.setData({ - tjList: res.data.list + commonApi._post("product/get_product_by_type", { + offset: 0, + limit: 6, + rand: true, + type: 'post' + }).then(res => { + try { + this.setData({ + tjList: res.data.list + }) + } catch (error) { + console.log(error); + } }) - } catch (error) { - console.log(error); - } - }) - }, - changeAllowance: function () { - this.setData({ - showAllowance: !this.data.showAllowance - }) - }, - BroswerRecord: function () { - setTimeout(() => { - if (app.globalData.uuid) { - commonApi._post('browse/browse_record', { - type: "goods", - title: this.data.info.title, - drive: "mini", - source_id: this.data.info.id, - url: "/pages/info/postProductInfo/index?id=" + this.data.info.id, - uuid: app.globalData.uuid - }).then(res => {}) - } else { - this.BroswerRecord(); - } - }, 500) - }, - like: function () { - let id = this.data.id, - isLike = this.data.isLike; - commonApi.user_post("product/" + (isLike == 1 ? "product_cancel_collection" : "product_collection"), { - product_id: id - }).then(res => { - if (res.code == 1) { + }, + changeAllowance: function () { this.setData({ - isLike: isLike == 1 ? 0 : 1 + showAllowance: !this.data.showAllowance }) - } - }) - }, - changeMenu: function (e) { - let index = e.currentTarget.dataset.index, - that = this; - const query = wx.createSelectorQuery(); //创建节点查询器 - query.select("#box" + index).boundingClientRect() //选择toViewid获取位置信息 - query.selectViewport().scrollOffset() //获取页面查询位置的 - query.exec(function (res) { - let scrollTop = res[0].top + res[1].scrollTop - 110 * ratio - that.data.top; - wx.pageScrollTo({ - scrollTop: scrollTop + 4, - duration: 0 - }) - that.setData({ - type: index - }) - }) - }, - onPageScroll: function (e) { - let that = this, - height = this.data.top; - let topHeight = height; - wx.createSelectorQuery().select('#menus').boundingClientRect(function (rect) { - if (rect.top <= topHeight) { - // 此时应该把menus固定在顶部 - that.setData({ - fixed: true + }, + BroswerRecord: function () { + setTimeout(() => { + if (app.globalData.uuid) { + commonApi._post('browse/browse_record', { + type: "goods", + title: this.data.info.title, + drive: "mini", + source_id: this.data.info.id, + url: "/pages/info/postProductInfo/index?id=" + this.data.info.id, + uuid: app.globalData.uuid + }).then(res => {}) + } else { + this.BroswerRecord(); + } + }, 500) + }, + like: function () { + let id = this.data.id, + isLike = this.data.isLike; + commonApi.user_post("product/" + (isLike == 1 ? "product_cancel_collection" : "product_collection"), { + product_id: id + }).then(res => { + if (res.code == 1) { + this.setData({ + isLike: isLike == 1 ? 0 : 1 + }) + } }) - } else { - that.setData({ - fixed: false + }, + changeMenu: function (e) { + let index = e.currentTarget.dataset.index, + that = this; + const query = wx.createSelectorQuery(); //创建节点查询器 + query.select("#box" + index).boundingClientRect() //选择toViewid获取位置信息 + query.selectViewport().scrollOffset() //获取页面查询位置的 + query.exec(function (res) { + let scrollTop = res[0].top + res[1].scrollTop - 110 * ratio - that.data.top; + wx.pageScrollTo({ + scrollTop: scrollTop + 4, + duration: 0 + }) + that.setData({ + type: index + }) }) - } - // 滚动时判断滚动到哪个部分了 - const query = wx.createSelectorQuery(); //创建节点查询器 - query.select("#box1").boundingClientRect() //选择toViewid获取位置信息 - query.select("#box2").boundingClientRect() //选择toViewid获取位置信息 - query.select("#box3").boundingClientRect() //选择toViewid获取位置信息 - let minHeight = that.data.fixed ? (110 * ratio + height) : topHeight; - query.exec(function (res) { - if (res[2].top < minHeight) { - that.setData({ - type: 3 - }) - } else if (res[1].top < minHeight) { - that.setData({ - type: 2 - }) - } else { - that.setData({ - type: 1 - }) - } - }) - }).exec() - - }, - showCart: function () { - if (this.data.info.sku.length == 0) { - wx.showToast({ - title: '该产品未设置规格,不能加购', - icon: 'none' - }) - return; - } - this.setData({ - skuFlag: "cart" - }) - let that = this - wx.createSelectorQuery().select('#skuImg').boundingClientRect(function (res) { - console.log(res) - that.setData({ - cartImgInfo: 'top:' + res.top + 'px;left:' + res.left + 'px;' - }) - }).exec() - - }, - hideSku: function () { - this.setData({ - skuFlag: null, - cartImgInfo: null - }) - }, - minus: function () { - if (this.data.producNum == 1) return; - this.setData({ - producNum: this.data.producNum - 1 - }) - }, - add: function () { - this.setData({ - producNum: this.data.producNum + 1 - }) - }, - selectSku: function (e) { - let index = e.currentTarget.dataset.index; - this.setData({ - skuIndex: index - }) - }, - showOrder: function () { - if (this.data.info.sku.length == 0) { - wx.showToast({ - title: '该产品未设置规格,不能购买', - icon: 'none' - }) - return; - } - this.setData({ - skuFlag: 'order' - }) - }, - order: function () { - app.globalData.postProduct = null - app.globalData.list = [] - commonApi.user_post("/product/checkStock", { - sku_id: this.data.info.sku[this.data.skuIndex].id, - }).then(res => { - if (res && res.code != 1) { - return; - } else { - if (this.data.skuFlag == 'order') { - util.pagePoint({ - event: 'product_order', - param: { - id: this.data.info.id, - type: this.data.info.type + }, + onPageScroll: function (e) { + let that = this, + height = this.data.top; + let topHeight = height; + wx.createSelectorQuery().select('#menus').boundingClientRect(function (rect) { + if (rect.top <= topHeight) { + // 此时应该把menus固定在顶部 + that.setData({ + fixed: true + }) + } else { + that.setData({ + fixed: false + }) } - }, 1) - wx.setStorageSync('login_from', 'product_order_login') - wx.setStorageSync('order_from', 'product_order_submit') - app.globalData.couponInfo = null; - // 购买 - let product = [{ - product: this.data.info, - sku: this.data.info.sku[this.data.skuIndex], - productNum: this.data.producNum - }]; - app.globalData.postProduct = product; - app.globalData.retailId = this.data.retailId; - wx.navigateTo({ - url: '/pages/order/postOrder/index', - }) - } else { - commonApi.user_post("cart/add_sku", { - sku_id: this.data.info.sku[this.data.skuIndex].id, - num: this.data.producNum - }).then(res => { - if (res.code == 1) { - commonApi.user_post('cart/get_list', {}).then(res => { + // 滚动时判断滚动到哪个部分了 + const query = wx.createSelectorQuery(); //创建节点查询器 + query.select("#box1").boundingClientRect() //选择toViewid获取位置信息 + query.select("#box2").boundingClientRect() //选择toViewid获取位置信息 + query.select("#box3").boundingClientRect() //选择toViewid获取位置信息 + let minHeight = that.data.fixed ? (110 * ratio + height) : topHeight; + query.exec(function (res) { + if (res[2].top < minHeight) { + that.setData({ + type: 3 + }) + } else if (res[1].top < minHeight) { + that.setData({ + type: 2 + }) + } else { + that.setData({ + type: 1 + }) + } + }) + }).exec() + + }, + showCart: function () { + commonApi.user_post('wx/get_user_keep', { + jumpurl: '/pages/info/postProductInfo/index?id=' + this.data.id, + title: this.data.info.title, + type: 'mini' + }).then(res => { + if (res.data.subscribe == 0) { this.setData({ - cartCount: res.data.length + wxqrcode: res.data.qrcode, + showQrCode: true }) - }) - // 加动效 - this.setData({ - skuFlag: null, - aniSkuIndex: this.data.skuIndex, - cartImgInfo: null - }) - setTimeout(() => { + } else { + if (this.data.info.sku.length == 0) { + wx.showToast({ + title: '该产品未设置规格,不能加购', + icon: 'none' + }) + return; + } this.setData({ - aniSkuIndex: -1 + skuFlag: "cart" }) - wx.showModal({ - title: "提示", - content: "去购物车结算?", - success: function (res) { - if (res.confirm) { - wx.navigateTo({ - url: '/pages/user/cartlist/list', - }) - } - } + let that = this + wx.createSelectorQuery().select('#skuImg').boundingClientRect(function (res) { + console.log(res) + that.setData({ + cartImgInfo: 'top:' + res.top + 'px;left:' + res.left + 'px;' + }) + }).exec() + } + }) + }, + hideSku: function () { + this.setData({ + skuFlag: null, + cartImgInfo: null + }) + }, + minus: function () { + if (this.data.producNum == 1) return; + this.setData({ + producNum: this.data.producNum - 1 + }) + }, + add: function () { + this.setData({ + producNum: this.data.producNum + 1 + }) + }, + selectSku: function (e) { + let index = e.currentTarget.dataset.index; + this.setData({ + skuIndex: index + }) + }, + showOrder: function () { + commonApi.user_post('wx/get_user_keep', { + jumpurl: '/pages/info/postProductInfo/index?id=' + this.data.id, + title: this.data.info.title, + type: 'mini' + }).then(res => { + if (res.data.subscribe == 0) { + this.setData({ + wxqrcode: res.data.qrcode, + showQrCode: true + }) + } else { + if (this.data.info.sku.length == 0) { + wx.showToast({ + title: '该产品未设置规格,不能购买', + icon: 'none' + }) + return; + } + this.setData({ + skuFlag: 'order' }) - }, 650) } - }) - } - } - }) - - }, - // 分享 - share: function () { - if (!wx.getStorageSync("jstrip_token")) { - util.pagePoint({ - event: 'product_share_login', - type: this.data.info.type, - id: this.data.info.id - }, 1) - commonApi.user_post("user/getMyInfo", {}).then(res => { + }) + }, + order: function () { + app.globalData.postProduct = null + app.globalData.list = [] + commonApi.user_post("/product/checkStock", { + sku_id: this.data.info.sku[this.data.skuIndex].id, + }).then(res => { + if (res && res.code != 1) { + return; + } else { + if (this.data.skuFlag == 'order') { + util.pagePoint({ + event: 'product_order', + param: { + id: this.data.info.id, + type: this.data.info.type + } + }, 1) + wx.setStorageSync('login_from', 'product_order_login') + wx.setStorageSync('order_from', 'product_order_submit') + app.globalData.couponInfo = null; + // 购买 + let product = [{ + product: this.data.info, + sku: this.data.info.sku[this.data.skuIndex], + productNum: this.data.producNum + }]; + app.globalData.postProduct = product; + app.globalData.retailId = this.data.retailId; + wx.navigateTo({ + url: '/pages/order/postOrder/index', + }) + } else { + commonApi.user_post("cart/add_sku", { + sku_id: this.data.info.sku[this.data.skuIndex].id, + num: this.data.producNum + }).then(res => { + if (res.code == 1) { + commonApi.user_post('cart/get_list', {}).then(res => { + this.setData({ + cartCount: res.data.length + }) + }) + // 加动效 + this.setData({ + skuFlag: null, + aniSkuIndex: this.data.skuIndex, + cartImgInfo: null + }) + setTimeout(() => { + this.setData({ + aniSkuIndex: -1 + }) + wx.showModal({ + title: "提示", + content: "去购物车结算?", + success: function (res) { + if (res.confirm) { + wx.navigateTo({ + url: '/pages/user/cartlist/list', + }) + } + } + }) + }, 650) + } + }) + } + } + }) - }) - return; - } - if (!this.data.shareImg) { - wx.showToast({ - title: '图片生成中,稍后再试', - icon: 'none' - }) - return; - } - this.setData({ - showShareFlag: !this.data.showShareFlag - }) - }, - // 保存 - save() { - let url = this.data.shareImg, - that = this; - wx.authorize({ - /* 这个就是保存相册的 */ - scope: 'scope.writePhotosAlbum', - success() { - wx.saveImageToPhotosAlbum({ - filePath: url, - success(res) { - wx.showToast({ - title: '保存成功', - icon: "success" - }) - that.setData({ - showShareFlag: !this.data.showShareFlag - }) + }, + // 分享 + share: function () { + if (!wx.getStorageSync("jstrip_token")) { util.pagePoint({ - event: 'product_share_save', - type: that.data.info.type, - id: that.data.info.id + event: 'product_share_login', + type: this.data.info.type, + id: this.data.info.id }, 1) - }, - fail(res) { + commonApi.user_post("user/getMyInfo", {}).then(res => { + + }) + return; + } + if (!this.data.shareImg) { wx.showToast({ - title: '保存失败', - icon: 'none' + title: '图片生成中,稍后再试', + icon: 'none' }) - } + return; + } + this.setData({ + showShareFlag: !this.data.showShareFlag }) - }, - complete(res) { - console.log(res); - /* 这里判断一下如果没有授权重新打开设置选项 */ - wx.getSetting({ - success(res) { - if (!res.authSetting['scope.writePhotosAlbum']) { - /* 打开设置的方法 */ - // opensit(); - wx.showToast({ - title: '请打开权限后再试', - icon: 'none' - }) + }, + // 保存 + save() { + let url = this.data.shareImg, + that = this; + wx.authorize({ + /* 这个就是保存相册的 */ + scope: 'scope.writePhotosAlbum', + success() { + wx.saveImageToPhotosAlbum({ + filePath: url, + success(res) { + wx.showToast({ + title: '保存成功', + icon: "success" + }) + that.setData({ + showShareFlag: !this.data.showShareFlag + }) + util.pagePoint({ + event: 'product_share_save', + type: that.data.info.type, + id: that.data.info.id + }, 1) + }, + fail(res) { + wx.showToast({ + title: '保存失败', + icon: 'none' + }) + } + }) + }, + complete(res) { + console.log(res); + /* 这里判断一下如果没有授权重新打开设置选项 */ + wx.getSetting({ + success(res) { + if (!res.authSetting['scope.writePhotosAlbum']) { + /* 打开设置的方法 */ + // opensit(); + wx.showToast({ + title: '请打开权限后再试', + icon: 'none' + }) + } + } + }); } - } }); - } - }); - - }, - pagePoint: function (e) { - util.pagePoint(e) - }, - // 绘制海报 - drawImg: function () { - var that = this, - userinfo = wx.getStorageSync('jstrip_userInfo'); - if (!userinfo) { - // 去登录 - return false; - } - const ctx = wx.createCanvasContext('imageCanvas'); - // const device = wx.getSystemInfoSync(); - // const ratio = device.screenWidth / 750; - // 先获取到图片信息 - let promise2 = new Promise(function (resolve, reject) { - wx.getImageInfo({ - src: that.data.info.headimg, - success: function (res) { - resolve(res); - }, - fail: function (res) { - reject(res); - } - }) - }) - let promise3 = new Promise(function (resolve, reject) { - let userid = wx.getStorageSync('jstrip_userid') - new QRCode('myQrcode', { - text: 'https://m.cloud.sz-trip.com/MailMerchandiseDetail?id=' + that.data.info.id + '&sharedUserId=' + userid + '&channel=-1', - width: 500, - height: 500, - padding: 12, // 生成二维码四周自动留边宽度,不传入默认为0 - correctLevel: QRCode.CorrectLevel.H, // 二维码可辨识度 - callback: (res) => { - resolve(res); + }, + pagePoint: function (e) { + util.pagePoint(e) + }, + // 绘制海报 + drawImg: function () { + var that = this, + userinfo = wx.getStorageSync('jstrip_userInfo'); + if (!userinfo) { + // 去登录 + return false; } - }) - }) - //成功得到图片信息后,开始绘图 - Promise.all([promise2, promise3]).then(imgs => { - ctx.save(); - ctx.beginPath(); //开始绘制 - that.handleBorderRect(ctx, 0, 0, 551 * ratio, 407 * ratio, 25 * ratio, '#ccc') - ctx.clip(); //画好了圆 剪切 原始画布中剪切任意形状和尺寸。一旦剪切了某个区域,则所有之后的绘图都会被限制在被剪切的区域内 这也是我们要save上下文的原因 - ctx.drawImage(imgs[0].path, 0, 0, 551 * ratio, 407 * ratio); - ctx.restore(); - ctx.save(); - that.handleBorderRect2(ctx, 0, 407 * ratio, 551 * ratio, 236 * ratio, 25 * ratio, '#fff') - ctx.restore(); - // 绘制二维码 - ctx.drawImage(imgs[1].path, 373 * ratio, 495 * ratio, 137 * ratio, 137 * ratio); - // 开始文字绘制 - ctx.setFillStyle("#000"); - ctx.setFontSize(30 * ratio); //字大小 - ctx.setTextAlign('left'); //是否居中显示,参考点画布中线 - that.drawText(ctx, that.data.info.title, 25 * ratio, 450 * ratio, 480 * ratio, ratio); - // 售价 - ctx.setFillStyle("#D62828"); - ctx.setFontSize(40 * ratio); //字大小 - ctx.setTextAlign('left'); //是否居中显示,参考点画布中线 - let price = "¥" + (that.data.info.price / 100); - let width = ctx.measureText(price).width; - ctx.fillText(price, 25 * ratio, 620 * ratio); - // 副标题 - ctx.setFillStyle("#999999"); - ctx.setFontSize(28 * ratio); //字大小 - ctx.setTextAlign('left'); //是否居中显示,参考点画布中线 - let subtitle = that.data.info.subtitle; - if (that.data.info.subtitle.length > 10) { - subtitle = that.data.info.subtitle.substr(0, 10) + '...' - } - ctx.fillText(subtitle, 25 * ratio, 540 * ratio); - // ctx.draw(); - // 划线价 - ctx.setFillStyle("#999999"); - ctx.setFontSize(32 * ratio); //字大小 - ctx.setTextAlign('left'); //是否居中显示,参考点画布中线 - let market_price = "¥" + (that.data.info.market_price / 100) - ctx.fillText(market_price, 40 * ratio + width, 620 * ratio); - let market_price_width = ctx.measureText(market_price).width; - // 划线 - ctx.beginPath() - ctx.setLineWidth(1) - ctx.moveTo(40 * ratio + width, 608 * ratio) - ctx.lineTo(45 * ratio + width + market_price_width, 608 * ratio) - ctx.stroke(); - // 长按识别二维码 - // ctx.setFillStyle("#666"); - // ctx.setFontSize(22 * ratio); //字大小 - // ctx.setTextAlign('left'); //是否居中显示,参考点画布中线 - // ctx.fillText("长按识别二维码", 404*ratio, 710*ratio); - // 长按图片转发或保存 - // ctx.setFillStyle("#000"); - // ctx.setFontSize(24 * ratio); //字大小 - // ctx.setTextAlign('left'); //是否居中显示,参考点画布中线 - // ctx.fillText("长按图片保存到本地",(592*ratio - ctx.measureText("长按图片保存到本地").width)/2, 740*ratio); - ctx.draw(); - // 转为图片 - setTimeout(() => { - wx.canvasToTempFilePath({ - x: 0, - y: 0, - canvasId: 'imageCanvas', - success: function (res) { - that.setData({ - shareImg: res.tempFilePath + const ctx = wx.createCanvasContext('imageCanvas'); + // const device = wx.getSystemInfoSync(); + // const ratio = device.screenWidth / 750; + + // 先获取到图片信息 + let promise2 = new Promise(function (resolve, reject) { + wx.getImageInfo({ + src: that.data.info.headimg, + success: function (res) { + resolve(res); + }, + fail: function (res) { + reject(res); + } }) - }, - fail(err) { - console.log('agdgjgdajhg', err) - } }) - }, 500) - return false; - }).catch(err => { - console.log("this err", err) - }) - }, - // 圆角矩形 - handleBorderRect(ctx, x, y, w, h, r, color) { - ctx.beginPath(); - ctx.moveTo(x + w, y + h); - ctx.lineTo(x, y + h) - // 左上角 - ctx.arc(x + r, y + r, r, Math.PI, 1.5 * Math.PI); - ctx.moveTo(x + r, y); - ctx.lineTo(x + w - r, y); - ctx.lineTo(x + w, y + r); - // 右上角 - ctx.arc(x + w - r, y + r, r, 1.5 * Math.PI, 2 * Math.PI); - ctx.lineTo(x + w, y + h); - ctx.lineTo(x + w - r, y + h); - ctx.fillStyle = color; - ctx.fill(); - ctx.closePath(); - }, - handleBorderRect2(ctx, x, y, w, h, r, color) { - ctx.beginPath(); - ctx.moveTo(x, y); - ctx.lineTo(x + w, y) - // 右下角 - ctx.arc(x + w - r, y + h - r, r, 0, 0.5 * Math.PI); - ctx.lineTo(x + r, y + h); - ctx.lineTo(x, y + h - r); - // 左下角 - ctx.arc(x + r, y + h - r, r, 0.5 * Math.PI, Math.PI); - ctx.lineTo(x, y); - ctx.lineTo(x, y); - ctx.fillStyle = color; - ctx.fill(); - ctx.closePath(); - }, - // 绘制两行文字 - drawText: function (ctx, str, x, y, canvasWidth, ratio) { - let row = [], - temp = "", - chr = str.split(""); - for (var a = 0; a < chr.length; a++) { - if (ctx.measureText(temp).width < canvasWidth) { - temp += chr[a]; - } else { - a--; //这里添加了a-- 是为了防止字符丢失,效果图中有对比 + let promise3 = new Promise(function (resolve, reject) { + let userid = wx.getStorageSync('jstrip_userid') + new QRCode('myQrcode', { + text: 'https://m.cloud.sz-trip.com/MailMerchandiseDetail?id=' + that.data.info.id + '&sharedUserId=' + userid + '&channel=-1', + width: 500, + height: 500, + padding: 12, // 生成二维码四周自动留边宽度,不传入默认为0 + correctLevel: QRCode.CorrectLevel.H, // 二维码可辨识度 + callback: (res) => { + resolve(res); + } + }) + }) + //成功得到图片信息后,开始绘图 + Promise.all([promise2, promise3]).then(imgs => { + ctx.save(); + ctx.beginPath(); //开始绘制 + that.handleBorderRect(ctx, 0, 0, 551 * ratio, 407 * ratio, 25 * ratio, '#ccc') + ctx.clip(); //画好了圆 剪切 原始画布中剪切任意形状和尺寸。一旦剪切了某个区域,则所有之后的绘图都会被限制在被剪切的区域内 这也是我们要save上下文的原因 + ctx.drawImage(imgs[0].path, 0, 0, 551 * ratio, 407 * ratio); + ctx.restore(); + ctx.save(); + that.handleBorderRect2(ctx, 0, 407 * ratio, 551 * ratio, 236 * ratio, 25 * ratio, '#fff') + ctx.restore(); + // 绘制二维码 + ctx.drawImage(imgs[1].path, 373 * ratio, 495 * ratio, 137 * ratio, 137 * ratio); + // 开始文字绘制 + ctx.setFillStyle("#000"); + ctx.setFontSize(30 * ratio); //字大小 + ctx.setTextAlign('left'); //是否居中显示,参考点画布中线 + that.drawText(ctx, that.data.info.title, 25 * ratio, 450 * ratio, 480 * ratio, ratio); + // 售价 + ctx.setFillStyle("#D62828"); + ctx.setFontSize(40 * ratio); //字大小 + ctx.setTextAlign('left'); //是否居中显示,参考点画布中线 + let price = "¥" + (that.data.info.price / 100); + let width = ctx.measureText(price).width; + ctx.fillText(price, 25 * ratio, 620 * ratio); + // 副标题 + ctx.setFillStyle("#999999"); + ctx.setFontSize(28 * ratio); //字大小 + ctx.setTextAlign('left'); //是否居中显示,参考点画布中线 + let subtitle = that.data.info.subtitle; + if (that.data.info.subtitle.length > 10) { + subtitle = that.data.info.subtitle.substr(0, 10) + '...' + } + ctx.fillText(subtitle, 25 * ratio, 540 * ratio); + // ctx.draw(); + // 划线价 + ctx.setFillStyle("#999999"); + ctx.setFontSize(32 * ratio); //字大小 + ctx.setTextAlign('left'); //是否居中显示,参考点画布中线 + let market_price = "¥" + (that.data.info.market_price / 100) + ctx.fillText(market_price, 40 * ratio + width, 620 * ratio); + let market_price_width = ctx.measureText(market_price).width; + // 划线 + ctx.beginPath() + ctx.setLineWidth(1) + ctx.moveTo(40 * ratio + width, 608 * ratio) + ctx.lineTo(45 * ratio + width + market_price_width, 608 * ratio) + ctx.stroke(); + // 长按识别二维码 + // ctx.setFillStyle("#666"); + // ctx.setFontSize(22 * ratio); //字大小 + // ctx.setTextAlign('left'); //是否居中显示,参考点画布中线 + // ctx.fillText("长按识别二维码", 404*ratio, 710*ratio); + // 长按图片转发或保存 + // ctx.setFillStyle("#000"); + // ctx.setFontSize(24 * ratio); //字大小 + // ctx.setTextAlign('left'); //是否居中显示,参考点画布中线 + // ctx.fillText("长按图片保存到本地",(592*ratio - ctx.measureText("长按图片保存到本地").width)/2, 740*ratio); + ctx.draw(); + // 转为图片 + setTimeout(() => { + wx.canvasToTempFilePath({ + x: 0, + y: 0, + canvasId: 'imageCanvas', + success: function (res) { + that.setData({ + shareImg: res.tempFilePath + }) + }, + fail(err) { + console.log('agdgjgdajhg', err) + } + }) + }, 500) + return false; + }).catch(err => { + console.log("this err", err) + }) + }, + // 圆角矩形 + handleBorderRect(ctx, x, y, w, h, r, color) { + ctx.beginPath(); + ctx.moveTo(x + w, y + h); + ctx.lineTo(x, y + h) + // 左上角 + ctx.arc(x + r, y + r, r, Math.PI, 1.5 * Math.PI); + ctx.moveTo(x + r, y); + ctx.lineTo(x + w - r, y); + ctx.lineTo(x + w, y + r); + // 右上角 + ctx.arc(x + w - r, y + r, r, 1.5 * Math.PI, 2 * Math.PI); + ctx.lineTo(x + w, y + h); + ctx.lineTo(x + w - r, y + h); + ctx.fillStyle = color; + ctx.fill(); + ctx.closePath(); + }, + handleBorderRect2(ctx, x, y, w, h, r, color) { + ctx.beginPath(); + ctx.moveTo(x, y); + ctx.lineTo(x + w, y) + // 右下角 + ctx.arc(x + w - r, y + h - r, r, 0, 0.5 * Math.PI); + ctx.lineTo(x + r, y + h); + ctx.lineTo(x, y + h - r); + // 左下角 + ctx.arc(x + r, y + h - r, r, 0.5 * Math.PI, Math.PI); + ctx.lineTo(x, y); + ctx.lineTo(x, y); + ctx.fillStyle = color; + ctx.fill(); + ctx.closePath(); + }, + // 绘制两行文字 + drawText: function (ctx, str, x, y, canvasWidth, ratio) { + let row = [], + temp = "", + chr = str.split(""); + for (var a = 0; a < chr.length; a++) { + if (ctx.measureText(temp).width < canvasWidth) { + temp += chr[a]; + } else { + a--; //这里添加了a-- 是为了防止字符丢失,效果图中有对比 + row.push(temp); + temp = ""; + } + } row.push(temp); - temp = ""; - } - } - row.push(temp); - //如果数组长度大于2 则截取前两个 - if (row.length > 2) { - var rowCut = row.slice(0, 2); - var rowPart = rowCut[1]; - var test = ""; - var empty = []; - for (var a = 0; a < rowPart.length; a++) { - if (ctx.measureText(test).width < canvasWidth - 30 * ratio) { - test += rowPart[a]; + //如果数组长度大于2 则截取前两个 + if (row.length > 2) { + var rowCut = row.slice(0, 2); + var rowPart = rowCut[1]; + var test = ""; + var empty = []; + for (var a = 0; a < rowPart.length; a++) { + if (ctx.measureText(test).width < canvasWidth - 30 * ratio) { + test += rowPart[a]; + } else { + break; + } + } + empty.push(test); + var group = empty[0] + "..." //这里只显示两行,超出的用...表示 + rowCut.splice(1, 1, group); + row = rowCut; + } + for (var b = 0; b < row.length; b++) { + ctx.fillText(row[b], x, y + b * 40 * ratio, canvasWidth); + } + }, + gotoDetail: function (e) { + let item = e.currentTarget.dataset.item; + util.pagePoint({ + event: 'recommend_click', + param: { + id: item.id, + type: item.type + } + }, 1) + if (item.type == 'travels') { + // 游记做特殊处理 其他都按照原来的来 + wx.navigateTo({ + url: '/pages/info/strategyInfo/index?id=' + item.s_id, + }) } else { - break; + util.gotoDetail(item); } - } - empty.push(test); - var group = empty[0] + "..." //这里只显示两行,超出的用...表示 - rowCut.splice(1, 1, group); - row = rowCut; - } - for (var b = 0; b < row.length; b++) { - ctx.fillText(row[b], x, y + b * 40 * ratio, canvasWidth); - } - }, - gotoDetail: function (e) { - let item = e.currentTarget.dataset.item; - util.pagePoint({ - event: 'recommend_click', - param: { - id: item.id, - type: item.type - } - }, 1) - if (item.type == 'travels') { - // 游记做特殊处理 其他都按照原来的来 - wx.navigateTo({ - url: '/pages/info/strategyInfo/index?id=' + item.s_id, - }) - } else { - util.gotoDetail(item); - } - }, - /** - * 生命周期函数--监听页面初次渲染完成 - */ - onReady: function () { + }, + /** + * 生命周期函数--监听页面初次渲染完成 + */ + onReady: function () { - }, + }, - /** - * 生命周期函数--监听页面显示 - */ - onShow: function () { - if (!wx.getStorageSync('jstrip_token')) { - return; - } - if (this.data.info && this.data.info.id) { - commonApi.user_post("product/is_product_collection", { - product_id: this.data.info.id - }).then(res => { - this.setData({ - isLike: res.data - }) - this.drawImg() - }) - commonApi.user_post('cart/get_list', {}).then(res => { + /** + * 生命周期函数--监听页面显示 + */ + onShow: function () { + if (!wx.getStorageSync('jstrip_token')) { + return; + } + if (this.data.info && this.data.info.id) { + commonApi.user_post("product/is_product_collection", { + product_id: this.data.info.id + }).then(res => { + this.setData({ + isLike: res.data + }) + this.drawImg() + }) + commonApi.user_post('cart/get_list', {}).then(res => { + this.setData({ + cartCount: res.data.length + }) + }) + } else { + setTimeout(() => { + this.onShow() + }, 200) + } + }, + playVideo() { + // 播放视频需要把autoplay暂停 this.setData({ - cartCount: res.data.length + autoPlay: false }) - }) - } else { - setTimeout(() => { - this.onShow() - }, 200) - } - }, - playVideo() { - // 播放视频需要把autoplay暂停 - this.setData({ - autoPlay: false - }) - }, + }, - /** - * 生命周期函数--监听页面隐藏 - */ - onHide: function () { + /** + * 生命周期函数--监听页面隐藏 + */ + onHide: function () { - }, + }, - /** - * 生命周期函数--监听页面卸载 - */ - onUnload: function () { + /** + * 生命周期函数--监听页面卸载 + */ + onUnload: function () { - }, + }, - /** - * 页面相关事件处理函数--监听用户下拉动作 - */ - onPullDownRefresh: function () { + /** + * 页面相关事件处理函数--监听用户下拉动作 + */ + onPullDownRefresh: function () { - }, + }, - /** - * 页面上拉触底事件的处理函数 - */ - onReachBottom: function () { + /** + * 页面上拉触底事件的处理函数 + */ + onReachBottom: function () { - }, + }, - /** - * 用户点击右上角分享 - */ - onShareAppMessage: function () { + /** + * 用户点击右上角分享 + */ + onShareAppMessage: function () { - } + } }) \ No newline at end of file diff --git a/pages/info/postProductInfo/index.json b/pages/info/postProductInfo/index.json index 35cf02f..ab4ec76 100644 --- a/pages/info/postProductInfo/index.json +++ b/pages/info/postProductInfo/index.json @@ -1,5 +1,7 @@ { "usingComponents": { - "title":"/pages/component/TitleHeader" + "title":"/pages/component/TitleHeader", + "code":"../../order/components/wxqrCode/index" + } } \ No newline at end of file diff --git a/pages/info/postProductInfo/index.wxml b/pages/info/postProductInfo/index.wxml index 5ef87e9..2c9a219 100644 --- a/pages/info/postProductInfo/index.wxml +++ b/pages/info/postProductInfo/index.wxml @@ -203,4 +203,6 @@ {{allowance_data.title}}
    -
    \ No newline at end of file +
    + + \ No newline at end of file diff --git a/pages/info/roadInfo/index.js b/pages/info/roadInfo/index.js index e65f076..18ed345 100644 --- a/pages/info/roadInfo/index.js +++ b/pages/info/roadInfo/index.js @@ -7,500 +7,515 @@ import util from '../../../utils/util' let app = getApp() Page({ - /** - * 页面的初始数据 - */ - data: { - fixed: false, - type: 1, - top: 0, - info: null, - comment: [], - commentTotal: 0, - retailId: "", - retailSkuId: "", - shareImg: null, - showShareFlag: false - }, + /** + * 页面的初始数据 + */ + data: { + fixed: false, + type: 1, + top: 0, + info: null, + comment: [], + commentTotal: 0, + retailId: "", + retailSkuId: "", + shareImg: null, + showShareFlag: false, + showQrCode: false, + wxqrcode: null + }, - /** - * 生命周期函数--监听页面加载 - */ - onLoad: function (options) { - let rect = wx.getMenuButtonBoundingClientRect(); - let height = (rect.top - device.statusBarHeight) * 2 + rect.height + device.statusBarHeight; - this.setData({ - top: height, - id: options.id - }) - if (options.retailId) { - this.setData({ - retailId: options.retailId - }) - } - let api = commonApi._post; - if (wx.getStorageSync("jstrip_token")) { - api = commonApi.user_post; - } - api("product/get_product_detail", { - id: options.id - }).then(res => { - res.data.display_tags = (res.data.display_tags ? res.data.display_tags.split(",") : []).splice(0, 2); - - if (options.skuid) { - let sku = res.data.sku.find(item => item.id == options.skuid); - res.data.sku = [sku]; + /** + * 生命周期函数--监听页面加载 + */ + onLoad: function (options) { + let rect = wx.getMenuButtonBoundingClientRect(); + let height = (rect.top - device.statusBarHeight) * 2 + rect.height + device.statusBarHeight; this.setData({ - retailSkuId: options.skuid - }) - } - res.data.flag = res.data.sku.find(item=>item.flag=='on')?res.data.flag:0 - - this.setData({ - info: res.data - }) - this.BroswerRecord() - }) - commonApi._post("product/product_comment_list", { - product_id: options.id, - offset: 0, - limit: 3 - }).then(res => { - res.data.list.map(item => { - item.rate = Number(item.rate) - }) - this.setData({ - commentTotal: res.data.total, - comment: res.data.list - }) - }) - }, - BroswerRecord: function () { - setTimeout(() => { - if (app.globalData.uuid) { - commonApi._post('browse/browse_record', { - type: "goods", - title: this.data.info.title, - drive: "mini", - source_id: this.data.info.id, - url: "/pages/info/cardInfo/index?id=" + this.data.info.id, - uuid: app.globalData.uuid - }).then(res => { + top: height, + id: options.id }) - } - else { - this.BroswerRecord(); - } - }, 500) - }, - changeMenu: function (e) { - let index = e.currentTarget.dataset.index, that = this; - const query = wx.createSelectorQuery(); //创建节点查询器 - query.select("#box" + index).boundingClientRect() //选择toViewid获取位置信息 - query.selectViewport().scrollOffset() //获取页面查询位置的 - query.exec(function (res) { - let scrollTop = res[0].top + res[1].scrollTop - 110 * ratio - that.data.top; - wx.pageScrollTo({ - scrollTop: scrollTop + 4, - duration: 0 - }) - that.setData({ - type: index - }) - }) - }, - onPageScroll: function (e) { - let that = this, height = this.data.top; - let topHeight = height; - wx.createSelectorQuery().select('#menus').boundingClientRect(function (rect) { - console.log(rect.top, topHeight) - if (rect.top <= topHeight) { - // 此时应该把menus固定在顶部 - that.setData({ - fixed: true - }) - } - else { - that.setData({ - fixed: false - }) - } - // 滚动时判断滚动到哪个部分了 - const query = wx.createSelectorQuery(); //创建节点查询器 - query.select("#box1").boundingClientRect() //选择toViewid获取位置信息 - query.select("#box2").boundingClientRect() //选择toViewid获取位置信息 - query.select("#box3").boundingClientRect() //选择toViewid获取位置信息 - query.select("#box4").boundingClientRect() //选择toViewid获取位置信息 - let minHeight = that.data.fixed ? (110 * ratio + height) : topHeight; - query.exec(function (res) { - if (res[3].top < minHeight) { - that.setData({ - type: 4 - }) - } - else if (res[2].top < minHeight) { - that.setData({ - type: 3 - }) - } - else if (res[1].top < minHeight) { - that.setData({ - type: 2 - }) + if (options.retailId) { + this.setData({ + retailId: options.retailId + }) } - else { - that.setData({ - type: 1 - }) + let api = commonApi._post; + if (wx.getStorageSync("jstrip_token")) { + api = commonApi.user_post; } - }) - }).exec() + api("product/get_product_detail", { + id: options.id + }).then(res => { + res.data.display_tags = (res.data.display_tags ? res.data.display_tags.split(",") : []).splice(0, 2); - }, - order: function () { - app.globalData.couponInfo = null; - app.globalData.product = { - product: this.data.info - } - app.globalData.retailId = this.data.retailId; - util.pagePoint({ - event:'product_order', - param:{ - id:this.data.info.id, - type:this.data.info.type - } - },1) - wx.setStorageSync('login_from', 'product_order_login') - wx.setStorageSync('order_from', 'product_order_submit') - wx.navigateTo({ - url: '/pages/order/road/index?id=' + this.data.info.id + (this.data.retailSkuId ? ('&skuid=' + this.data.retailSkuId) : '') - }) - }, - pagePoint:function(e){ - util.pagePoint(e) - }, - // 分享 - share: function () { - if (!wx.getStorageSync("jstrip_token")) { - util.pagePoint({ - event:'product_share_login', - param:{ - id:that.data.info.id, - type:that.data.info.type - } - },1) - commonApi.user_post("user/getMyInfo", {}).then(res => { + if (options.skuid) { + let sku = res.data.sku.find(item => item.id == options.skuid); + res.data.sku = [sku]; + this.setData({ + retailSkuId: options.skuid + }) + } + res.data.flag = res.data.sku.find(item => item.flag == 'on') ? res.data.flag : 0 - }) - return; - } - if (!this.data.shareImg) { - wx.showToast({ - title: '图片生成中,稍后再试', - icon: 'none' - }) - return; - } - this.setData({ - showShareFlag: !this.data.showShareFlag - }) - }, - // 保存 - save() { - let url = this.data.shareImg, that = this; - wx.authorize({ - /* 这个就是保存相册的 */ - scope: 'scope.writePhotosAlbum', - success() { - wx.saveImageToPhotosAlbum({ - filePath: url, - success(res) { - wx.showToast({ - title: '保存成功', - icon: "success" + this.setData({ + info: res.data + }) + this.BroswerRecord() + }) + commonApi._post("product/product_comment_list", { + product_id: options.id, + offset: 0, + limit: 3 + }).then(res => { + res.data.list.map(item => { + item.rate = Number(item.rate) + }) + this.setData({ + commentTotal: res.data.total, + comment: res.data.list + }) + }) + }, + BroswerRecord: function () { + setTimeout(() => { + if (app.globalData.uuid) { + commonApi._post('browse/browse_record', { + type: "goods", + title: this.data.info.title, + drive: "mini", + source_id: this.data.info.id, + url: "/pages/info/cardInfo/index?id=" + this.data.info.id, + uuid: app.globalData.uuid + }).then(res => {}) + } else { + this.BroswerRecord(); + } + }, 500) + }, + changeMenu: function (e) { + let index = e.currentTarget.dataset.index, + that = this; + const query = wx.createSelectorQuery(); //创建节点查询器 + query.select("#box" + index).boundingClientRect() //选择toViewid获取位置信息 + query.selectViewport().scrollOffset() //获取页面查询位置的 + query.exec(function (res) { + let scrollTop = res[0].top + res[1].scrollTop - 110 * ratio - that.data.top; + wx.pageScrollTo({ + scrollTop: scrollTop + 4, + duration: 0 }) that.setData({ - showShareFlag: !that.data.showShareFlag + type: index }) + }) + }, + onPageScroll: function (e) { + let that = this, + height = this.data.top; + let topHeight = height; + wx.createSelectorQuery().select('#menus').boundingClientRect(function (rect) { + console.log(rect.top, topHeight) + if (rect.top <= topHeight) { + // 此时应该把menus固定在顶部 + that.setData({ + fixed: true + }) + } else { + that.setData({ + fixed: false + }) + } + // 滚动时判断滚动到哪个部分了 + const query = wx.createSelectorQuery(); //创建节点查询器 + query.select("#box1").boundingClientRect() //选择toViewid获取位置信息 + query.select("#box2").boundingClientRect() //选择toViewid获取位置信息 + query.select("#box3").boundingClientRect() //选择toViewid获取位置信息 + query.select("#box4").boundingClientRect() //选择toViewid获取位置信息 + let minHeight = that.data.fixed ? (110 * ratio + height) : topHeight; + query.exec(function (res) { + if (res[3].top < minHeight) { + that.setData({ + type: 4 + }) + } else if (res[2].top < minHeight) { + that.setData({ + type: 3 + }) + } else if (res[1].top < minHeight) { + that.setData({ + type: 2 + }) + } else { + that.setData({ + type: 1 + }) + } + }) + }).exec() + + }, + order: function () { + commonApi.user_post('wx/get_user_keep', { + jumpurl: '/pages/info/roadInfo/index?id=' + this.data.id, + title: this.data.info.title, + type: 'mini' + }).then(res => { + if (res.data.subscribe == 0) { + this.setData({ + wxqrcode: res.data.qrcode, + showQrCode: true + }) + } else { + app.globalData.couponInfo = null; + app.globalData.product = { + product: this.data.info + } + app.globalData.retailId = this.data.retailId; + util.pagePoint({ + event: 'product_order', + param: { + id: this.data.info.id, + type: this.data.info.type + } + }, 1) + wx.setStorageSync('login_from', 'product_order_login') + wx.setStorageSync('order_from', 'product_order_submit') + wx.navigateTo({ + url: '/pages/order/road/index?id=' + this.data.info.id + (this.data.retailSkuId ? ('&skuid=' + this.data.retailSkuId) : '') + }) + } + }) + + + + }, + pagePoint: function (e) { + util.pagePoint(e) + }, + // 分享 + share: function () { + if (!wx.getStorageSync("jstrip_token")) { util.pagePoint({ - event:'product_share_save', - param:{ - id:that.data.info.id, - type:that.data.info.type - } - },1) - }, - fail(res) { + event: 'product_share_login', + param: { + id: that.data.info.id, + type: that.data.info.type + } + }, 1) + commonApi.user_post("user/getMyInfo", {}).then(res => { + + }) + return; + } + if (!this.data.shareImg) { wx.showToast({ - title: '保存失败', - icon: 'none' + title: '图片生成中,稍后再试', + icon: 'none' }) - } + return; + } + this.setData({ + showShareFlag: !this.data.showShareFlag }) - }, - complete(res) { - console.log(res); - /* 这里判断一下如果没有授权重新打开设置选项 */ - wx.getSetting({ - success(res) { - if (!res.authSetting['scope.writePhotosAlbum']) { - /* 打开设置的方法 */ - // opensit(); - wx.showToast({ - title: '请打开权限后再试', - icon: 'none' - }) + }, + // 保存 + save() { + let url = this.data.shareImg, + that = this; + wx.authorize({ + /* 这个就是保存相册的 */ + scope: 'scope.writePhotosAlbum', + success() { + wx.saveImageToPhotosAlbum({ + filePath: url, + success(res) { + wx.showToast({ + title: '保存成功', + icon: "success" + }) + that.setData({ + showShareFlag: !that.data.showShareFlag + }) + util.pagePoint({ + event: 'product_share_save', + param: { + id: that.data.info.id, + type: that.data.info.type + } + }, 1) + }, + fail(res) { + wx.showToast({ + title: '保存失败', + icon: 'none' + }) + } + }) + }, + complete(res) { + console.log(res); + /* 这里判断一下如果没有授权重新打开设置选项 */ + wx.getSetting({ + success(res) { + if (!res.authSetting['scope.writePhotosAlbum']) { + /* 打开设置的方法 */ + // opensit(); + wx.showToast({ + title: '请打开权限后再试', + icon: 'none' + }) + } + } + }); } - } }); - } - }); - }, - // 绘制海报 - drawImg: function () { - var that = this, userinfo = wx.getStorageSync('jstrip_userInfo'); - if (!userinfo) { - // 去登录 - return false; - } - const ctx = wx.createCanvasContext('imageCanvas'); - // const device = wx.getSystemInfoSync(); - // const ratio = device.screenWidth / 750; - // 先获取到图片信息 - let promise2 = new Promise(function (resolve, reject) { - wx.getImageInfo({ - src: that.data.info.headimg, - success: function (res) { - resolve(res); - }, - fail: function (res) { - reject(res); - } - }) - }) - let promise3 = new Promise(function (resolve, reject) { - let userid = wx.getStorageSync('jstrip_userid') - new QRCode('myQrcode', { - text: 'https://m.cloud.sz-trip.com/LineDetail?id=' + that.data.info.id + '&sharedUserId=' + userid + '&channel=-1', - width: 500, - height: 500, - padding: 12, // 生成二维码四周自动留边宽度,不传入默认为0 - correctLevel: QRCode.CorrectLevel.H, // 二维码可辨识度 - callback: (res) => { - resolve(res); + }, + // 绘制海报 + drawImg: function () { + var that = this, + userinfo = wx.getStorageSync('jstrip_userInfo'); + if (!userinfo) { + // 去登录 + return false; } - }) - }) - //成功得到图片信息后,开始绘图 - Promise.all([promise2, promise3]).then(imgs => { - ctx.save(); - ctx.beginPath(); //开始绘制 - that.handleBorderRect(ctx, 0, 0, 551 * ratio, 407 * ratio, 25 * ratio, '#ccc') - ctx.clip();//画好了圆 剪切 原始画布中剪切任意形状和尺寸。一旦剪切了某个区域,则所有之后的绘图都会被限制在被剪切的区域内 这也是我们要save上下文的原因 - ctx.drawImage(imgs[0].path, 0, 0, 551 * ratio, 407 * ratio); - ctx.restore(); - ctx.save(); - that.handleBorderRect2(ctx, 0, 407 * ratio, 551 * ratio, 236 * ratio, 25 * ratio, '#fff') - ctx.restore(); - // 绘制二维码 - ctx.drawImage(imgs[1].path, 373 * ratio, 495 * ratio, 137 * ratio, 137 * ratio); - // 开始文字绘制 - ctx.setFillStyle("#000"); - ctx.setFontSize(30 * ratio); //字大小 - ctx.setTextAlign('left'); //是否居中显示,参考点画布中线 - that.drawText(ctx, that.data.info.title, 25 * ratio, 450 * ratio, 480 * ratio, ratio); - // 售价 - ctx.setFillStyle("#D62828"); - ctx.setFontSize(40 * ratio); //字大小 - ctx.setTextAlign('left'); //是否居中显示,参考点画布中线 - let price = that.data.info.price ? ("¥" + (that.data.info.price / 100)) : '免费'; - let width = ctx.measureText(price).width; - ctx.fillText(price, 25 * ratio, 620 * ratio); - // 副标题 - ctx.setFillStyle("#999999"); - ctx.setFontSize(28 * ratio); //字大小 - ctx.setTextAlign('left'); //是否居中显示,参考点画布中线 - let subtitle = that.data.info.display_tags[0]; - if (subtitle.length > 10) { - subtitle = subtitle.substr(0, 10) + '...' - } - ctx.fillText(subtitle, 25 * ratio, 540 * ratio); - // ctx.draw(); - // 划线价 - // ctx.setFillStyle("#999999"); - // ctx.setFontSize(32 * ratio); //字大小 - // ctx.setTextAlign('left'); //是否居中显示,参考点画布中线 - // let market_price = "¥" + (Number(that.data.info.market_price) / 100) - // ctx.fillText(market_price, 40 * ratio + width, 620 * ratio); - // let market_price_width = ctx.measureText(market_price).width; - // 划线 - // ctx.beginPath() - // ctx.setLineWidth(1) - // ctx.moveTo(40 * ratio + width, 608 * ratio) - // ctx.lineTo(45 * ratio + width + market_price_width, 608 * ratio) - // ctx.stroke(); - // 长按识别二维码 - // ctx.setFillStyle("#666"); - // ctx.setFontSize(22 * ratio); //字大小 - // ctx.setTextAlign('left'); //是否居中显示,参考点画布中线 - // ctx.fillText("长按识别二维码", 404*ratio, 710*ratio); - // 长按图片转发或保存 - // ctx.setFillStyle("#000"); - // ctx.setFontSize(24 * ratio); //字大小 - // ctx.setTextAlign('left'); //是否居中显示,参考点画布中线 - // ctx.fillText("长按图片保存到本地",(592*ratio - ctx.measureText("长按图片保存到本地").width)/2, 740*ratio); - ctx.draw(); - // 转为图片 - setTimeout(() => { - wx.canvasToTempFilePath({ - x: 0, - y: 0, - canvasId: 'imageCanvas', - success: function (res) { - that.setData({ - shareImg: res.tempFilePath + const ctx = wx.createCanvasContext('imageCanvas'); + // const device = wx.getSystemInfoSync(); + // const ratio = device.screenWidth / 750; + // 先获取到图片信息 + let promise2 = new Promise(function (resolve, reject) { + wx.getImageInfo({ + src: that.data.info.headimg, + success: function (res) { + resolve(res); + }, + fail: function (res) { + reject(res); + } + }) + }) + let promise3 = new Promise(function (resolve, reject) { + let userid = wx.getStorageSync('jstrip_userid') + new QRCode('myQrcode', { + text: 'https://m.cloud.sz-trip.com/LineDetail?id=' + that.data.info.id + '&sharedUserId=' + userid + '&channel=-1', + width: 500, + height: 500, + padding: 12, // 生成二维码四周自动留边宽度,不传入默认为0 + correctLevel: QRCode.CorrectLevel.H, // 二维码可辨识度 + callback: (res) => { + resolve(res); + } }) - }, - fail(err) { - console.log('agdgjgdajhg', err) - } }) - }, 500) - return false; - }).catch(err => { - console.log("this err", err) - }) - }, - // 圆角矩形 - handleBorderRect(ctx, x, y, w, h, r, color) { - ctx.beginPath(); - ctx.moveTo(x + w, y + h); - ctx.lineTo(x, y + h) - // 左上角 - ctx.arc(x + r, y + r, r, Math.PI, 1.5 * Math.PI); - ctx.moveTo(x + r, y); - ctx.lineTo(x + w - r, y); - ctx.lineTo(x + w, y + r); - // 右上角 - ctx.arc(x + w - r, y + r, r, 1.5 * Math.PI, 2 * Math.PI); - ctx.lineTo(x + w, y + h); - ctx.lineTo(x + w - r, y + h); - ctx.fillStyle = color; - ctx.fill(); - ctx.closePath(); - }, - handleBorderRect2(ctx, x, y, w, h, r, color) { - ctx.beginPath(); - ctx.moveTo(x, y); - ctx.lineTo(x + w, y) - // 右下角 - ctx.arc(x + w - r, y + h - r, r, 0, 0.5 * Math.PI); - ctx.lineTo(x + r, y + h); - ctx.lineTo(x, y + h - r); - // 左下角 - ctx.arc(x + r, y + h - r, r, 0.5 * Math.PI, Math.PI); - ctx.lineTo(x, y); - ctx.lineTo(x, y); - ctx.fillStyle = color; - ctx.fill(); - ctx.closePath(); - }, - // 绘制两行文字 - drawText: function (ctx, str, x, y, canvasWidth, ratio) { - let row = [], temp = "", chr = str.split(""); - for (var a = 0; a < chr.length; a++) { - if (ctx.measureText(temp).width < canvasWidth) { - temp += chr[a]; - } - else { - a--; //这里添加了a-- 是为了防止字符丢失,效果图中有对比 + //成功得到图片信息后,开始绘图 + Promise.all([promise2, promise3]).then(imgs => { + ctx.save(); + ctx.beginPath(); //开始绘制 + that.handleBorderRect(ctx, 0, 0, 551 * ratio, 407 * ratio, 25 * ratio, '#ccc') + ctx.clip(); //画好了圆 剪切 原始画布中剪切任意形状和尺寸。一旦剪切了某个区域,则所有之后的绘图都会被限制在被剪切的区域内 这也是我们要save上下文的原因 + ctx.drawImage(imgs[0].path, 0, 0, 551 * ratio, 407 * ratio); + ctx.restore(); + ctx.save(); + that.handleBorderRect2(ctx, 0, 407 * ratio, 551 * ratio, 236 * ratio, 25 * ratio, '#fff') + ctx.restore(); + // 绘制二维码 + ctx.drawImage(imgs[1].path, 373 * ratio, 495 * ratio, 137 * ratio, 137 * ratio); + // 开始文字绘制 + ctx.setFillStyle("#000"); + ctx.setFontSize(30 * ratio); //字大小 + ctx.setTextAlign('left'); //是否居中显示,参考点画布中线 + that.drawText(ctx, that.data.info.title, 25 * ratio, 450 * ratio, 480 * ratio, ratio); + // 售价 + ctx.setFillStyle("#D62828"); + ctx.setFontSize(40 * ratio); //字大小 + ctx.setTextAlign('left'); //是否居中显示,参考点画布中线 + let price = that.data.info.price ? ("¥" + (that.data.info.price / 100)) : '免费'; + let width = ctx.measureText(price).width; + ctx.fillText(price, 25 * ratio, 620 * ratio); + // 副标题 + ctx.setFillStyle("#999999"); + ctx.setFontSize(28 * ratio); //字大小 + ctx.setTextAlign('left'); //是否居中显示,参考点画布中线 + let subtitle = that.data.info.display_tags[0]; + if (subtitle.length > 10) { + subtitle = subtitle.substr(0, 10) + '...' + } + ctx.fillText(subtitle, 25 * ratio, 540 * ratio); + // ctx.draw(); + // 划线价 + // ctx.setFillStyle("#999999"); + // ctx.setFontSize(32 * ratio); //字大小 + // ctx.setTextAlign('left'); //是否居中显示,参考点画布中线 + // let market_price = "¥" + (Number(that.data.info.market_price) / 100) + // ctx.fillText(market_price, 40 * ratio + width, 620 * ratio); + // let market_price_width = ctx.measureText(market_price).width; + // 划线 + // ctx.beginPath() + // ctx.setLineWidth(1) + // ctx.moveTo(40 * ratio + width, 608 * ratio) + // ctx.lineTo(45 * ratio + width + market_price_width, 608 * ratio) + // ctx.stroke(); + // 长按识别二维码 + // ctx.setFillStyle("#666"); + // ctx.setFontSize(22 * ratio); //字大小 + // ctx.setTextAlign('left'); //是否居中显示,参考点画布中线 + // ctx.fillText("长按识别二维码", 404*ratio, 710*ratio); + // 长按图片转发或保存 + // ctx.setFillStyle("#000"); + // ctx.setFontSize(24 * ratio); //字大小 + // ctx.setTextAlign('left'); //是否居中显示,参考点画布中线 + // ctx.fillText("长按图片保存到本地",(592*ratio - ctx.measureText("长按图片保存到本地").width)/2, 740*ratio); + ctx.draw(); + // 转为图片 + setTimeout(() => { + wx.canvasToTempFilePath({ + x: 0, + y: 0, + canvasId: 'imageCanvas', + success: function (res) { + that.setData({ + shareImg: res.tempFilePath + }) + }, + fail(err) { + console.log('agdgjgdajhg', err) + } + }) + }, 500) + return false; + }).catch(err => { + console.log("this err", err) + }) + }, + // 圆角矩形 + handleBorderRect(ctx, x, y, w, h, r, color) { + ctx.beginPath(); + ctx.moveTo(x + w, y + h); + ctx.lineTo(x, y + h) + // 左上角 + ctx.arc(x + r, y + r, r, Math.PI, 1.5 * Math.PI); + ctx.moveTo(x + r, y); + ctx.lineTo(x + w - r, y); + ctx.lineTo(x + w, y + r); + // 右上角 + ctx.arc(x + w - r, y + r, r, 1.5 * Math.PI, 2 * Math.PI); + ctx.lineTo(x + w, y + h); + ctx.lineTo(x + w - r, y + h); + ctx.fillStyle = color; + ctx.fill(); + ctx.closePath(); + }, + handleBorderRect2(ctx, x, y, w, h, r, color) { + ctx.beginPath(); + ctx.moveTo(x, y); + ctx.lineTo(x + w, y) + // 右下角 + ctx.arc(x + w - r, y + h - r, r, 0, 0.5 * Math.PI); + ctx.lineTo(x + r, y + h); + ctx.lineTo(x, y + h - r); + // 左下角 + ctx.arc(x + r, y + h - r, r, 0.5 * Math.PI, Math.PI); + ctx.lineTo(x, y); + ctx.lineTo(x, y); + ctx.fillStyle = color; + ctx.fill(); + ctx.closePath(); + }, + // 绘制两行文字 + drawText: function (ctx, str, x, y, canvasWidth, ratio) { + let row = [], + temp = "", + chr = str.split(""); + for (var a = 0; a < chr.length; a++) { + if (ctx.measureText(temp).width < canvasWidth) { + temp += chr[a]; + } else { + a--; //这里添加了a-- 是为了防止字符丢失,效果图中有对比 + row.push(temp); + temp = ""; + } + } row.push(temp); - temp = ""; - } - } - row.push(temp); - //如果数组长度大于2 则截取前两个 - if (row.length > 2) { - var rowCut = row.slice(0, 2); - var rowPart = rowCut[1]; - var test = ""; - var empty = []; - for (var a = 0; a < rowPart.length; a++) { - if (ctx.measureText(test).width < canvasWidth - 30 * ratio) { - test += rowPart[a]; + //如果数组长度大于2 则截取前两个 + if (row.length > 2) { + var rowCut = row.slice(0, 2); + var rowPart = rowCut[1]; + var test = ""; + var empty = []; + for (var a = 0; a < rowPart.length; a++) { + if (ctx.measureText(test).width < canvasWidth - 30 * ratio) { + test += rowPart[a]; + } else { + break; + } + } + empty.push(test); + var group = empty[0] + "..." //这里只显示两行,超出的用...表示 + rowCut.splice(1, 1, group); + row = rowCut; } - else { - break; + for (var b = 0; b < row.length; b++) { + ctx.fillText(row[b], x, y + b * 40 * ratio, canvasWidth); } - } - empty.push(test); - var group = empty[0] + "..."//这里只显示两行,超出的用...表示 - rowCut.splice(1, 1, group); - row = rowCut; - } - for (var b = 0; b < row.length; b++) { - ctx.fillText(row[b], x, y + b * 40 * ratio, canvasWidth); - } - }, + }, - /** - * 生命周期函数--监听页面初次渲染完成 - */ - onReady: function () { + /** + * 生命周期函数--监听页面初次渲染完成 + */ + onReady: function () { - }, + }, - /** - * 生命周期函数--监听页面显示 - */ - onShow: function () { - if (!wx.getStorageSync('jstrip_token')) { - return; - } - if (this.data.info && this.data.info.id) { - this.drawImg() - } - else { - setTimeout(() => { - this.onShow() - }, 200) - } - }, + /** + * 生命周期函数--监听页面显示 + */ + onShow: function () { + if (!wx.getStorageSync('jstrip_token')) { + return; + } + if (this.data.info && this.data.info.id) { + this.drawImg() + } else { + setTimeout(() => { + this.onShow() + }, 200) + } + }, - /** - * 生命周期函数--监听页面隐藏 - */ - onHide: function () { + /** + * 生命周期函数--监听页面隐藏 + */ + onHide: function () { - }, + }, - /** - * 生命周期函数--监听页面卸载 - */ - onUnload: function () { + /** + * 生命周期函数--监听页面卸载 + */ + onUnload: function () { - }, + }, - /** - * 页面相关事件处理函数--监听用户下拉动作 - */ - onPullDownRefresh: function () { + /** + * 页面相关事件处理函数--监听用户下拉动作 + */ + onPullDownRefresh: function () { - }, + }, - /** - * 页面上拉触底事件的处理函数 - */ - onReachBottom: function () { + /** + * 页面上拉触底事件的处理函数 + */ + onReachBottom: function () { - }, + }, - /** - * 用户点击右上角分享 - */ - onShareAppMessage: function () { + /** + * 用户点击右上角分享 + */ + onShareAppMessage: function () { - } + } }) \ No newline at end of file diff --git a/pages/info/roadInfo/index.json b/pages/info/roadInfo/index.json index 35cf02f..ab4ec76 100644 --- a/pages/info/roadInfo/index.json +++ b/pages/info/roadInfo/index.json @@ -1,5 +1,7 @@ { "usingComponents": { - "title":"/pages/component/TitleHeader" + "title":"/pages/component/TitleHeader", + "code":"../../order/components/wxqrCode/index" + } } \ No newline at end of file diff --git a/pages/info/roadInfo/index.wxml b/pages/info/roadInfo/index.wxml index d4b563e..cb33ef6 100644 --- a/pages/info/roadInfo/index.wxml +++ b/pages/info/roadInfo/index.wxml @@ -118,4 +118,6 @@ 保存到相册 - \ No newline at end of file + + + \ No newline at end of file diff --git a/pages/info/sceneProductInfo/index.js b/pages/info/sceneProductInfo/index.js index ab71a71..15387b9 100644 --- a/pages/info/sceneProductInfo/index.js +++ b/pages/info/sceneProductInfo/index.js @@ -6,827 +6,861 @@ import util from "../../../utils/util" import QRCode from '../../../utils/weapp-qrcode.js' let app = getApp() Page({ - /** - * 页面的初始数据 - */ - data: { - info: null, - bookingInfo: null, - bookingInfoTitle: "", - safeBottom: app.globalData.safeBottom, - isLike: 0, - comment: [], - commentTotal: 0, - isTest: true, - retailId: "", - shareImg: null, - showShareFlag: false, - showAllowance: false, - allowance_data: null, - //购物车数量 - producNum: 1, - skuIndex: null, - aniSkuIndex: -1, - cartCount: 0, - cartImgInfo: null, - cartTop: 0, - top: 0, - skuList: [], //立即预定的列表 - sku_ids: [] - }, + /** + * 页面的初始数据 + */ + data: { + info: null, + bookingInfo: null, + bookingInfoTitle: "", + safeBottom: app.globalData.safeBottom, + isLike: 0, + comment: [], + commentTotal: 0, + isTest: true, + retailId: "", + shareImg: null, + showShareFlag: false, + showAllowance: false, + allowance_data: null, + //购物车数量 + producNum: 1, + skuIndex: null, + aniSkuIndex: -1, + cartCount: 0, + cartImgInfo: null, + cartTop: 0, + top: 0, + skuList: [], //立即预定的列表 + sku_ids: [], + showQrCode: false, + wxqrcode: null - /** - * 生命周期函数--监听页面加载 - */ - onLoad: function (options) { - console.log(options); - if (!options.id) { - util.back() - return; - } - if (options.retailId) { - this.setData({ - retailId: options.retailId - }) - } - this.setData({ - id: options.id - }) - commonApi._post("scene/detail", { - id: options.id - }).then(res => { - let flag = false - if (!res.data) { - wx.showToast({ - title: '产品已下架', - icon: 'none' - }) - setTimeout(() => { - util.back(); - }, 1000) - return; - } - res.data.display_tags = (res.data.display_tags ? res.data.display_tags.split(",") : []).splice(0, 2); - // 如果是带有指定good_id的 那么取指定的 - if (options.gid) { - let pItem = res.data.product.find(item => item.id == options.gid); - if (pItem) { - res.data.product = [pItem]; - } - } - // 如果带有指定skuid的话 那么取指定的sku展示 - if (options.skuid) { - let pItem = null; - for (let i = 0; i < res.data.product.length; i++) { //3 - for (let j = 0; j < res.data.product[i].sku.length; j++) { //4 - if (res.data.product[i].sku[j].id == options.skuid) { - res.data.product[i].sku = [res.data.product[i].sku[j]]; - pItem = res.data.product[i]; - break; - } - } + }, + + /** + * 生命周期函数--监听页面加载 + */ + onLoad: function (options) { + console.log(options); + if (!options.id) { + util.back() + return; } - if (pItem) { - res.data.product = [pItem]; + if (options.retailId) { + this.setData({ + retailId: options.retailId + }) } - } else if (options.zhuanti_type) { - flag = true - commonApi._post("theme/getYihuFreeList", { - zhuanti_type: options.zhuanti_type - }).then(res1 => { - let skuArr = res1.data.sku_ids - let newArr = [] - for (let i = 0; i < res.data.product.length; i++) { //3 - for (let j = 0; j < res.data.product[i].sku.length; j++) { //4 - for (let k = 0; k < skuArr.length; k++) { - if (res.data.product[i].sku[j].id == skuArr[k]) { - newArr.push(res.data.product[i].sku[j]) - } - } + this.setData({ + id: options.id + }) + commonApi._post("scene/detail", { + id: options.id + }).then(res => { + let flag = false + if (!res.data) { + wx.showToast({ + title: '产品已下架', + icon: 'none' + }) + setTimeout(() => { + util.back(); + }, 1000) + return; } - res.data.product[i].sku = newArr; - } - res.data.product.map(product => { - product.sku.map(sku => { - sku.display_tags = (sku.display_tags ? sku.display_tags.split(",") : []).splice(0, 2); - }) - }) - this.setData({ - info: res.data - }) - var arr = [] - res.data.product.forEach((item, index) => { - item.sku.forEach(itemB => { - itemB.proIndex = index - arr.push(itemB) - }) - }); - this.setData({ - skuList: arr - }) - util.pagePoint({ - event: 'scene_view', - param: { - type: res.data.type, - id: res.data.id + res.data.display_tags = (res.data.display_tags ? res.data.display_tags.split(",") : []).splice(0, 2); + // 如果是带有指定good_id的 那么取指定的 + if (options.gid) { + let pItem = res.data.product.find(item => item.id == options.gid); + if (pItem) { + res.data.product = [pItem]; + } } - }, 1) - this.BroswerRecord() - }) + // 如果带有指定skuid的话 那么取指定的sku展示 + if (options.skuid) { + let pItem = null; + for (let i = 0; i < res.data.product.length; i++) { //3 + for (let j = 0; j < res.data.product[i].sku.length; j++) { //4 + if (res.data.product[i].sku[j].id == options.skuid) { + res.data.product[i].sku = [res.data.product[i].sku[j]]; + pItem = res.data.product[i]; + break; + } + } + } + if (pItem) { + res.data.product = [pItem]; + } + } else if (options.zhuanti_type) { + flag = true + commonApi._post("theme/getYihuFreeList", { + zhuanti_type: options.zhuanti_type + }).then(res1 => { + let skuArr = res1.data.sku_ids + let newArr = [] + for (let i = 0; i < res.data.product.length; i++) { //3 + for (let j = 0; j < res.data.product[i].sku.length; j++) { //4 + for (let k = 0; k < skuArr.length; k++) { + if (res.data.product[i].sku[j].id == skuArr[k]) { + newArr.push(res.data.product[i].sku[j]) + } + } + } + res.data.product[i].sku = newArr; + } + res.data.product.map(product => { + product.sku.map(sku => { + sku.display_tags = (sku.display_tags ? sku.display_tags.split(",") : []).splice(0, 2); + }) + }) + this.setData({ + info: res.data + }) + var arr = [] + res.data.product.forEach((item, index) => { + item.sku.forEach(itemB => { + itemB.proIndex = index + arr.push(itemB) + }) + }); + this.setData({ + skuList: arr + }) + util.pagePoint({ + event: 'scene_view', + param: { + type: res.data.type, + id: res.data.id + } + }, 1) + this.BroswerRecord() + }) - } - console.log(res.data.product); - if (flag) { - return - } + } + console.log(res.data.product); + if (flag) { + return + } - // res.data.listimg = res.data.listimg?res.data.listimg.split(","):[]; - res.data.product.map(product => { - product.sku.map(sku => { - sku.display_tags = (sku.display_tags ? sku.display_tags.split(",") : []).splice(0, 2); - }) - }) - this.setData({ - info: res.data - }) - var arr = [] - res.data.product.forEach((item, index) => { - item.sku.forEach(itemB => { - itemB.proIndex = index - arr.push(itemB) + // res.data.listimg = res.data.listimg?res.data.listimg.split(","):[]; + res.data.product.map(product => { + product.sku.map(sku => { + sku.display_tags = (sku.display_tags ? sku.display_tags.split(",") : []).splice(0, 2); + }) + }) + this.setData({ + info: res.data + }) + var arr = [] + res.data.product.forEach((item, index) => { + item.sku.forEach(itemB => { + itemB.proIndex = index + arr.push(itemB) + }) + }); + this.setData({ + skuList: arr + }) + util.pagePoint({ + event: 'scene_view', + param: { + type: res.data.type, + id: res.data.id + } + }, 1) + this.BroswerRecord() }) - }); - this.setData({ - skuList: arr - }) - util.pagePoint({ - event: 'scene_view', - param: { - type: res.data.type, - id: res.data.id + // 获取收藏的状态 + if (wx.getStorageSync("jstrip_token")) { + commonApi.user_post("scene/is_scene_collection", { + scene_id: options.id + }).then(res => { + this.setData({ + isLike: res.data + }) + }) } - }, 1) - this.BroswerRecord() - }) - // 获取收藏的状态 - if (wx.getStorageSync("jstrip_token")) { - commonApi.user_post("scene/is_scene_collection", { - scene_id: options.id - }).then(res => { - this.setData({ - isLike: res.data + commonApi._post("ask/getQuestionList", { + scene_id: options.id, + page_no: 1, + page_num: 3 + }).then(res => { + this.setData({ + ask: res.data.rows + }) }) - }) - } - commonApi._post("ask/getQuestionList", { - scene_id: options.id, - page_no: 1, - page_num: 3 - }).then(res => { - this.setData({ - ask: res.data.rows - }) - }) - // 获取评价列表 - commonApi._post("scene/get_comment", { - scene_id: options.id - }).then(res => { - res.data.list.map(item => { - item.rate = Number(item.rate) - }) - this.setData({ - comment: res.data.list.splice(0, 2), - commentTotal: res.data.total - }) - let arr = this.data.comment - arr.map((item) => { - if (item.img_list) { - let arr = item.img_list.split(',') - item.img_list = arr + // 获取评价列表 + commonApi._post("scene/get_comment", { + scene_id: options.id + }).then(res => { + res.data.list.map(item => { + item.rate = Number(item.rate) + }) + this.setData({ + comment: res.data.list.splice(0, 2), + commentTotal: res.data.total + }) + let arr = this.data.comment + arr.map((item) => { + if (item.img_list) { + let arr = item.img_list.split(',') + item.img_list = arr - } else { - item.img_list = [] - } - }) - this.setData({ - comment: arr - }) - }) - }, - changeAllowance: function () { - this.setData({ - showAllowance: !this.data.showAllowance - }) - }, - BroswerRecord: function () { - setTimeout(() => { - if (app.globalData.uuid) { - commonApi._post('browse/browse_record', { - type: "scene", - title: this.data.info.title, - drive: "mini", - source_id: this.data.info.id, - url: "/pages/info/sceneProductInfo/index?id=" + this.data.info.id, - uuid: app.globalData.uuid - }).then(res => {}) - } else { - this.BroswerRecord(); - } - }, 500) - }, - like: function () { - let id = this.data.id, - isLike = Number(this.data.isLike); - commonApi.user_post(isLike != 1 ? "scene/scene_collection" : "scene/scene_cancel_collection", { - scene_id: id - }).then(res => { - if (res.code == 1) { - wx.showToast({ - title: '操作成功', + } else { + item.img_list = [] + } + }) + this.setData({ + comment: arr + }) }) + }, + changeAllowance: function () { this.setData({ - isLike: isLike == 1 ? 0 : 1 + showAllowance: !this.data.showAllowance }) - } - }) - }, - gotolocation: function () { - let info = this.data.info; - wx.openLocation({ - latitude: Number(info.lat), - longitude: Number(info.lon) - }) - }, - audioGuide: function () { - wx.navigateToMiniProgram({ - appId: 'wx74f380bc721a0379', - path: '/pages/listen/listen?title=君到苏州' - }) - }, - showBookingInfo: function (e) { - this.setData({ - bookingInfo: e.currentTarget.dataset.item.sku_model, - bookingInfoTitle: e.currentTarget.dataset.item.sku_name - }) - util.pagePoint({ - event: "scene_notice", - param: { - type: this.data.info.type, - id: this.data.info.id - } - }, 1) - }, - closeMask: function () { - this.setData({ - bookingInfo: null - }) - }, - // order: function(e){ - // console.log(e) - // if (e.currentTarget.dataset.disable == 1) return; - // util.pagePoint({ - // event: 'scene_order', - // param: { - // type: this.data.info.type, - // id: this.data.info.id - // } - // }, 1) - // wx.setStorageSync('login_from', 'scene_order_login') - // wx.setStorageSync('order_from', 'scene_order_submit') - // app.globalData.couponInfo = null; - // app.globalData.retailId = this.data.retailId; - // // let sku = e.currentTarget.dataset.sku,product = e.currentTarget.dataset.product; - // app.globalData.product = e.currentTarget.dataset; - // wx.navigateTo({ - // url: '/pages/order/scene/index', - // }) - // }, - selectSku: function (e) { - console.log(e.currentTarget.dataset.item); - if (e.currentTarget.dataset.item.stock == 0 && e.currentTarget.dataset.item.is_third_stock != 1) { - wx.showToast({ - title: "该商品暂无库存", - icon: 'none' - }) - return - } - let index = e.currentTarget.dataset.index; - this.setData({ - skuIndex: index - }) - }, - order: function (e) { - commonApi.user_post("/product/checkStock", { - sku_id: this.data.skuList[this.data.skuIndex].id, - }).then(res => { - if (res && res.code != 1) { - wx.showModal({ - title: "温馨提示", - content: '商品已经被抢光啦~要不要瞧瞧别的~', - showCancel: false - }) - return; - } else { - app.globalData.postProduct = [] - app.globalData.list = [] - if (this.data.skuFlag == 'order') { - if (e.currentTarget.dataset.disable === 1) return; - util.pagePoint({ - event: 'scene_order', - param: { - type: this.data.info.type, - id: this.data.info.id - } - }, 1) - wx.setStorageSync('login_from', 'scene_order_login') - wx.setStorageSync('order_from', 'scene_order_submit') - app.globalData.couponInfo = null; - app.globalData.retailId = this.data.retailId; - // let sku = e.currentTarget.dataset.sku,product = e.currentTarget.dataset.product; - // let sku = {sku:e.currentTarget.dataset.product.sku[this.data.skuIndex]},product = {product: e.currentTarget.dataset.product} - let sku = { - sku: this.data.skuList[this.data.skuIndex] - }, - product = { - product: this.data.info.product[this.data.skuList[this.data.skuIndex].proIndex] + }, + BroswerRecord: function () { + setTimeout(() => { + if (app.globalData.uuid) { + commonApi._post('browse/browse_record', { + type: "scene", + title: this.data.info.title, + drive: "mini", + source_id: this.data.info.id, + url: "/pages/info/sceneProductInfo/index?id=" + this.data.info.id, + uuid: app.globalData.uuid + }).then(res => {}) + } else { + this.BroswerRecord(); } - app.globalData.product = { - ...sku, - ...product - } - app.globalData.index = 0 - wx.navigateTo({ - url: '/pages/order/scene/index', - }) - } else { - commonApi.user_post("cart/add_sku", { - sku_id: this.data.skuList[this.data.skuIndex].id, - num: this.data.producNum - }).then(res => { + }, 500) + }, + like: function () { + let id = this.data.id, + isLike = Number(this.data.isLike); + commonApi.user_post(isLike != 1 ? "scene/scene_collection" : "scene/scene_cancel_collection", { + scene_id: id + }).then(res => { if (res.code == 1) { - commonApi.user_post('cart/get_list', {}).then(res => { - this.setData({ - cartCount: res.data.length //5 + wx.showToast({ + title: '操作成功', }) - }) - // 加动效 - this.setData({ - skuFlag: null, - aniSkuIndex: this.data.skuIndex, - cartImgInfo: null - }) - setTimeout(() => { this.setData({ - aniSkuIndex: -1 + isLike: isLike == 1 ? 0 : 1 }) + } + }) + }, + gotolocation: function () { + let info = this.data.info; + wx.openLocation({ + latitude: Number(info.lat), + longitude: Number(info.lon) + }) + }, + audioGuide: function () { + wx.navigateToMiniProgram({ + appId: 'wx74f380bc721a0379', + path: '/pages/listen/listen?title=君到苏州' + }) + }, + showBookingInfo: function (e) { + this.setData({ + bookingInfo: e.currentTarget.dataset.item.sku_model, + bookingInfoTitle: e.currentTarget.dataset.item.sku_name + }) + util.pagePoint({ + event: "scene_notice", + param: { + type: this.data.info.type, + id: this.data.info.id + } + }, 1) + }, + closeMask: function () { + this.setData({ + bookingInfo: null + }) + }, + // order: function(e){ + // console.log(e) + // if (e.currentTarget.dataset.disable == 1) return; + // util.pagePoint({ + // event: 'scene_order', + // param: { + // type: this.data.info.type, + // id: this.data.info.id + // } + // }, 1) + // wx.setStorageSync('login_from', 'scene_order_login') + // wx.setStorageSync('order_from', 'scene_order_submit') + // app.globalData.couponInfo = null; + // app.globalData.retailId = this.data.retailId; + // // let sku = e.currentTarget.dataset.sku,product = e.currentTarget.dataset.product; + // app.globalData.product = e.currentTarget.dataset; + // wx.navigateTo({ + // url: '/pages/order/scene/index', + // }) + // }, + selectSku: function (e) { + console.log(e.currentTarget.dataset.item); + if (e.currentTarget.dataset.item.stock == 0 && e.currentTarget.dataset.item.is_third_stock != 1) { + wx.showToast({ + title: "该商品暂无库存", + icon: 'none' + }) + return + } + let index = e.currentTarget.dataset.index; + this.setData({ + skuIndex: index + }) + }, + order: function (e) { + commonApi.user_post("/product/checkStock", { + sku_id: this.data.skuList[this.data.skuIndex].id, + }).then(res => { + if (res && res.code != 1) { wx.showModal({ - title: "提示", - content: "去购物车结算?", - success: function (res) { - if (res.confirm) { - wx.navigateTo({ - url: '/pages/user/cartlist/list', - }) - } - } + title: "温馨提示", + content: '商品已经被抢光啦~要不要瞧瞧别的~', + showCancel: false }) - }, 650) + return; + } else { + app.globalData.postProduct = [] + app.globalData.list = [] + if (this.data.skuFlag == 'order') { + if (e.currentTarget.dataset.disable === 1) return; + util.pagePoint({ + event: 'scene_order', + param: { + type: this.data.info.type, + id: this.data.info.id + } + }, 1) + wx.setStorageSync('login_from', 'scene_order_login') + wx.setStorageSync('order_from', 'scene_order_submit') + app.globalData.couponInfo = null; + app.globalData.retailId = this.data.retailId; + // let sku = e.currentTarget.dataset.sku,product = e.currentTarget.dataset.product; + // let sku = {sku:e.currentTarget.dataset.product.sku[this.data.skuIndex]},product = {product: e.currentTarget.dataset.product} + let sku = { + sku: this.data.skuList[this.data.skuIndex] + }, + product = { + product: this.data.info.product[this.data.skuList[this.data.skuIndex].proIndex] + } + app.globalData.product = { + ...sku, + ...product + } + app.globalData.index = 0 + wx.navigateTo({ + url: '/pages/order/scene/index', + }) + } else { + commonApi.user_post("cart/add_sku", { + sku_id: this.data.skuList[this.data.skuIndex].id, + num: this.data.producNum + }).then(res => { + if (res.code == 1) { + commonApi.user_post('cart/get_list', {}).then(res => { + this.setData({ + cartCount: res.data.length //5 + }) + }) + // 加动效 + this.setData({ + skuFlag: null, + aniSkuIndex: this.data.skuIndex, + cartImgInfo: null + }) + setTimeout(() => { + this.setData({ + aniSkuIndex: -1 + }) + wx.showModal({ + title: "提示", + content: "去购物车结算?", + success: function (res) { + if (res.confirm) { + wx.navigateTo({ + url: '/pages/user/cartlist/list', + }) + } + } + }) + }, 650) + } + }) + } + } + }) + }, + pagePoint: function (e) { + util.pagePoint({ + event: e.currentTarget.dataset.event, + param: { + type: this.data.info.type, + id: this.data.info.id } - }) + }, 1) + }, + // 分享 + share: function () { + if (!wx.getStorageSync("jstrip_token")) { + wx.setStorageSync('login_from', 'scene_share_login') + commonApi.user_post("user/getMyInfo", {}).then(res => {}).catch(err => {}) + return; } - } - }) - }, - pagePoint: function (e) { - util.pagePoint({ - event: e.currentTarget.dataset.event, - param: { - type: this.data.info.type, - id: this.data.info.id - } - }, 1) - }, - // 分享 - share: function () { - if (!wx.getStorageSync("jstrip_token")) { - wx.setStorageSync('login_from', 'scene_share_login') - commonApi.user_post("user/getMyInfo", {}).then(res => {}).catch(err => {}) - return; - } - if (!this.data.shareImg) { - wx.showToast({ - title: '图片生成中,稍后再试', - icon: 'none' - }) - return; - } - this.setData({ - showShareFlag: !this.data.showShareFlag - }) - }, - // 保存 - save() { - let url = this.data.shareImg, - that = this; - wx.authorize({ - /* 这个就是保存相册的 */ - scope: 'scope.writePhotosAlbum', - success() { - wx.saveImageToPhotosAlbum({ - filePath: url, - success(res) { - wx.showToast({ - title: '保存成功', - icon: "success" - }) - that.setData({ - showShareFlag: !that.data.showShareFlag - }) - util.pagePoint({ - event: 'scene_share_save', - param: { - type: that.data.info.type, - id: that.data.info.id - } - }, 1) - }, - fail(res) { + if (!this.data.shareImg) { wx.showToast({ - title: '保存失败', - icon: 'none' + title: '图片生成中,稍后再试', + icon: 'none' }) - } + return; + } + this.setData({ + showShareFlag: !this.data.showShareFlag }) - }, - complete(res) { - /* 这里判断一下如果没有授权重新打开设置选项 */ - wx.getSetting({ - success(res) { - if (!res.authSetting['scope.writePhotosAlbum']) { - /* 打开设置的方法 */ - // opensit(); - wx.showToast({ - title: '请打开权限后再试', - icon: 'none' - }) + }, + // 保存 + save() { + let url = this.data.shareImg, + that = this; + wx.authorize({ + /* 这个就是保存相册的 */ + scope: 'scope.writePhotosAlbum', + success() { + wx.saveImageToPhotosAlbum({ + filePath: url, + success(res) { + wx.showToast({ + title: '保存成功', + icon: "success" + }) + that.setData({ + showShareFlag: !that.data.showShareFlag + }) + util.pagePoint({ + event: 'scene_share_save', + param: { + type: that.data.info.type, + id: that.data.info.id + } + }, 1) + }, + fail(res) { + wx.showToast({ + title: '保存失败', + icon: 'none' + }) + } + }) + }, + complete(res) { + /* 这里判断一下如果没有授权重新打开设置选项 */ + wx.getSetting({ + success(res) { + if (!res.authSetting['scope.writePhotosAlbum']) { + /* 打开设置的方法 */ + // opensit(); + wx.showToast({ + title: '请打开权限后再试', + icon: 'none' + }) + } + } + }); } - } }); - } - }); - }, - // 绘制海报 - drawImg: function () { - var that = this, - userinfo = wx.getStorageSync('jstrip_userInfo'); - if (!userinfo) { - // 去登录 - return false; - } - const ctx = wx.createCanvasContext('imageCanvas'); - // const device = wx.getSystemInfoSync(); - // const ratio = device.screenWidth / 750; - // 先获取到图片信息 - let promise2 = new Promise(function (resolve, reject) { - wx.getImageInfo({ - src: that.data.info.headimg, - success: function (res) { - resolve(res); - }, - fail: function (res) { - reject(res); + }, + // 绘制海报 + drawImg: function () { + var that = this, + userinfo = wx.getStorageSync('jstrip_userInfo'); + if (!userinfo) { + // 去登录 + return false; } - }) - }) - let promise3 = new Promise(function (resolve, reject) { - let userid = wx.getStorageSync('jstrip_userid') - new QRCode('myQrcode', { - text: 'https://m.cloud.sz-trip.com/ScenicDetail?id=' + that.data.info.id + '&sharedUserId=' + userid + '&channel=-1', - width: 500, - height: 500, - padding: 12, // 生成二维码四周自动留边宽度,不传入默认为0 - correctLevel: QRCode.CorrectLevel.H, // 二维码可辨识度 - callback: (res) => { - resolve(res); - } - }) - }) - //成功得到图片信息后,开始绘图 - Promise.all([promise2, promise3]).then(imgs => { - ctx.save(); - ctx.beginPath(); //开始绘制 - that.handleBorderRect(ctx, 0, 0, 551 * ratio, 407 * ratio, 25 * ratio, '#ccc') - ctx.clip(); //画好了圆 剪切 原始画布中剪切任意形状和尺寸。一旦剪切了某个区域,则所有之后的绘图都会被限制在被剪切的区域内 这也是我们要save上下文的原因 - ctx.drawImage(imgs[0].path, 0, 0, 551 * ratio, 407 * ratio); - ctx.restore(); - ctx.save(); - that.handleBorderRect2(ctx, 0, 407 * ratio, 551 * ratio, 236 * ratio, 25 * ratio, '#fff') - ctx.restore(); - // 绘制二维码 - ctx.drawImage(imgs[1].path, 373 * ratio, 495 * ratio, 137 * ratio, 137 * ratio); - // 开始文字绘制 - ctx.setFillStyle("#000"); - ctx.setFontSize(30 * ratio); //字大小 - ctx.setTextAlign('left'); //是否居中显示,参考点画布中线 - that.drawText(ctx, that.data.info.title, 25 * ratio, 450 * ratio, 480 * ratio, ratio); - // 售价 - ctx.setFillStyle("#D62828"); - ctx.setFontSize(40 * ratio); //字大小 - ctx.setTextAlign('left'); //是否居中显示,参考点画布中线 - let price = "¥" + (that.data.info.price / 100); - let width = ctx.measureText(price).width; - ctx.fillText(price, 25 * ratio, 620 * ratio); - // 副标题 - ctx.setFillStyle("#999999"); - ctx.setFontSize(28 * ratio); //字大小 - ctx.setTextAlign('left'); //是否居中显示,参考点画布中线 - let subtitle = that.data.info.sub_title - if (subtitle && subtitle.length > 10) { - subtitle = subtitle.substr(0, 10) + '...' - } - if (subtitle) { - ctx.fillText(subtitle, 25 * ratio, 540 * ratio); - } - - // ctx.draw(); - // 划线价 - // ctx.setFillStyle("#999999"); - // ctx.setFontSize(32 * ratio); //字大小 - // ctx.setTextAlign('left'); //是否居中显示,参考点画布中线 - // let market_price = "¥"+(Number(that.data.info.market_price)/100) - // ctx.fillText(market_price, 40*ratio + width, 620*ratio); - // let market_price_width = ctx.measureText(market_price).width; - // 划线 - // ctx.beginPath() - // ctx.setLineWidth(1) - // ctx.moveTo(40*ratio + width, 608*ratio) - // ctx.lineTo(45*ratio + width, 608*ratio) - // ctx.stroke(); - // 长按识别二维码 - // ctx.setFillStyle("#666"); - // ctx.setFontSize(22 * ratio); //字大小 - // ctx.setTextAlign('left'); //是否居中显示,参考点画布中线 - // ctx.fillText("长按识别二维码", 404*ratio, 710*ratio); - // 长按图片转发或保存 - // ctx.setFillStyle("#000"); - // ctx.setFontSize(24 * ratio); //字大小 - // ctx.setTextAlign('left'); //是否居中显示,参考点画布中线 - // ctx.fillText("长按图片保存到本地",(592*ratio - ctx.measureText("长按图片保存到本地").width)/2, 740*ratio); - ctx.draw(); - // 转为图片 - setTimeout(() => { - wx.canvasToTempFilePath({ - x: 0, - y: 0, - canvasId: 'imageCanvas', - success: function (res) { - that.setData({ - shareImg: res.tempFilePath + const ctx = wx.createCanvasContext('imageCanvas'); + // const device = wx.getSystemInfoSync(); + // const ratio = device.screenWidth / 750; + // 先获取到图片信息 + let promise2 = new Promise(function (resolve, reject) { + wx.getImageInfo({ + src: that.data.info.headimg, + success: function (res) { + resolve(res); + }, + fail: function (res) { + reject(res); + } }) - }, - fail(err) { - console.log('agdgjgdajhg', err) - } }) - }, 500) - return false; - }).catch(err => { - console.log("this err", err) - }) - }, - // 圆角矩形 - handleBorderRect(ctx, x, y, w, h, r, color) { - ctx.beginPath(); - ctx.moveTo(x + w, y + h); - ctx.lineTo(x, y + h) - // 左上角 - ctx.arc(x + r, y + r, r, Math.PI, 1.5 * Math.PI); - ctx.moveTo(x + r, y); - ctx.lineTo(x + w - r, y); - ctx.lineTo(x + w, y + r); - // 右上角 - ctx.arc(x + w - r, y + r, r, 1.5 * Math.PI, 2 * Math.PI); - ctx.lineTo(x + w, y + h); - ctx.lineTo(x + w - r, y + h); - ctx.fillStyle = color; - ctx.fill(); - ctx.closePath(); - }, - handleBorderRect2(ctx, x, y, w, h, r, color) { - ctx.beginPath(); - ctx.moveTo(x, y); - ctx.lineTo(x + w, y) - // 右下角 - ctx.arc(x + w - r, y + h - r, r, 0, 0.5 * Math.PI); - ctx.lineTo(x + r, y + h); - ctx.lineTo(x, y + h - r); - // 左下角 - ctx.arc(x + r, y + h - r, r, 0.5 * Math.PI, Math.PI); - ctx.lineTo(x, y); - ctx.lineTo(x, y); - ctx.fillStyle = color; - ctx.fill(); - ctx.closePath(); - }, - // 绘制两行文字 - drawText: function (ctx, str, x, y, canvasWidth, ratio) { - let row = [], - temp = "", - chr = str.split(""); - for (var a = 0; a < chr.length; a++) { - if (ctx.measureText(temp).width < canvasWidth) { - temp += chr[a]; - } else { - a--; //这里添加了a-- 是为了防止字符丢失,效果图中有对比 + let promise3 = new Promise(function (resolve, reject) { + let userid = wx.getStorageSync('jstrip_userid') + new QRCode('myQrcode', { + text: 'https://m.cloud.sz-trip.com/ScenicDetail?id=' + that.data.info.id + '&sharedUserId=' + userid + '&channel=-1', + width: 500, + height: 500, + padding: 12, // 生成二维码四周自动留边宽度,不传入默认为0 + correctLevel: QRCode.CorrectLevel.H, // 二维码可辨识度 + callback: (res) => { + resolve(res); + } + }) + }) + //成功得到图片信息后,开始绘图 + Promise.all([promise2, promise3]).then(imgs => { + ctx.save(); + ctx.beginPath(); //开始绘制 + that.handleBorderRect(ctx, 0, 0, 551 * ratio, 407 * ratio, 25 * ratio, '#ccc') + ctx.clip(); //画好了圆 剪切 原始画布中剪切任意形状和尺寸。一旦剪切了某个区域,则所有之后的绘图都会被限制在被剪切的区域内 这也是我们要save上下文的原因 + ctx.drawImage(imgs[0].path, 0, 0, 551 * ratio, 407 * ratio); + ctx.restore(); + ctx.save(); + that.handleBorderRect2(ctx, 0, 407 * ratio, 551 * ratio, 236 * ratio, 25 * ratio, '#fff') + ctx.restore(); + // 绘制二维码 + ctx.drawImage(imgs[1].path, 373 * ratio, 495 * ratio, 137 * ratio, 137 * ratio); + // 开始文字绘制 + ctx.setFillStyle("#000"); + ctx.setFontSize(30 * ratio); //字大小 + ctx.setTextAlign('left'); //是否居中显示,参考点画布中线 + that.drawText(ctx, that.data.info.title, 25 * ratio, 450 * ratio, 480 * ratio, ratio); + // 售价 + ctx.setFillStyle("#D62828"); + ctx.setFontSize(40 * ratio); //字大小 + ctx.setTextAlign('left'); //是否居中显示,参考点画布中线 + let price = "¥" + (that.data.info.price / 100); + let width = ctx.measureText(price).width; + ctx.fillText(price, 25 * ratio, 620 * ratio); + // 副标题 + ctx.setFillStyle("#999999"); + ctx.setFontSize(28 * ratio); //字大小 + ctx.setTextAlign('left'); //是否居中显示,参考点画布中线 + let subtitle = that.data.info.sub_title + if (subtitle && subtitle.length > 10) { + subtitle = subtitle.substr(0, 10) + '...' + } + if (subtitle) { + ctx.fillText(subtitle, 25 * ratio, 540 * ratio); + } + + // ctx.draw(); + // 划线价 + // ctx.setFillStyle("#999999"); + // ctx.setFontSize(32 * ratio); //字大小 + // ctx.setTextAlign('left'); //是否居中显示,参考点画布中线 + // let market_price = "¥"+(Number(that.data.info.market_price)/100) + // ctx.fillText(market_price, 40*ratio + width, 620*ratio); + // let market_price_width = ctx.measureText(market_price).width; + // 划线 + // ctx.beginPath() + // ctx.setLineWidth(1) + // ctx.moveTo(40*ratio + width, 608*ratio) + // ctx.lineTo(45*ratio + width, 608*ratio) + // ctx.stroke(); + // 长按识别二维码 + // ctx.setFillStyle("#666"); + // ctx.setFontSize(22 * ratio); //字大小 + // ctx.setTextAlign('left'); //是否居中显示,参考点画布中线 + // ctx.fillText("长按识别二维码", 404*ratio, 710*ratio); + // 长按图片转发或保存 + // ctx.setFillStyle("#000"); + // ctx.setFontSize(24 * ratio); //字大小 + // ctx.setTextAlign('left'); //是否居中显示,参考点画布中线 + // ctx.fillText("长按图片保存到本地",(592*ratio - ctx.measureText("长按图片保存到本地").width)/2, 740*ratio); + ctx.draw(); + // 转为图片 + setTimeout(() => { + wx.canvasToTempFilePath({ + x: 0, + y: 0, + canvasId: 'imageCanvas', + success: function (res) { + that.setData({ + shareImg: res.tempFilePath + }) + }, + fail(err) { + console.log('agdgjgdajhg', err) + } + }) + }, 500) + return false; + }).catch(err => { + console.log("this err", err) + }) + }, + // 圆角矩形 + handleBorderRect(ctx, x, y, w, h, r, color) { + ctx.beginPath(); + ctx.moveTo(x + w, y + h); + ctx.lineTo(x, y + h) + // 左上角 + ctx.arc(x + r, y + r, r, Math.PI, 1.5 * Math.PI); + ctx.moveTo(x + r, y); + ctx.lineTo(x + w - r, y); + ctx.lineTo(x + w, y + r); + // 右上角 + ctx.arc(x + w - r, y + r, r, 1.5 * Math.PI, 2 * Math.PI); + ctx.lineTo(x + w, y + h); + ctx.lineTo(x + w - r, y + h); + ctx.fillStyle = color; + ctx.fill(); + ctx.closePath(); + }, + handleBorderRect2(ctx, x, y, w, h, r, color) { + ctx.beginPath(); + ctx.moveTo(x, y); + ctx.lineTo(x + w, y) + // 右下角 + ctx.arc(x + w - r, y + h - r, r, 0, 0.5 * Math.PI); + ctx.lineTo(x + r, y + h); + ctx.lineTo(x, y + h - r); + // 左下角 + ctx.arc(x + r, y + h - r, r, 0.5 * Math.PI, Math.PI); + ctx.lineTo(x, y); + ctx.lineTo(x, y); + ctx.fillStyle = color; + ctx.fill(); + ctx.closePath(); + }, + // 绘制两行文字 + drawText: function (ctx, str, x, y, canvasWidth, ratio) { + let row = [], + temp = "", + chr = str.split(""); + for (var a = 0; a < chr.length; a++) { + if (ctx.measureText(temp).width < canvasWidth) { + temp += chr[a]; + } else { + a--; //这里添加了a-- 是为了防止字符丢失,效果图中有对比 + row.push(temp); + temp = ""; + } + } row.push(temp); - temp = ""; - } - } - row.push(temp); - //如果数组长度大于2 则截取前两个 - if (row.length > 2) { - var rowCut = row.slice(0, 2); - var rowPart = rowCut[1]; - var test = ""; - var empty = []; - for (var a = 0; a < rowPart.length; a++) { - if (ctx.measureText(test).width < canvasWidth - 30 * ratio) { - test += rowPart[a]; - } else { - break; + //如果数组长度大于2 则截取前两个 + if (row.length > 2) { + var rowCut = row.slice(0, 2); + var rowPart = rowCut[1]; + var test = ""; + var empty = []; + for (var a = 0; a < rowPart.length; a++) { + if (ctx.measureText(test).width < canvasWidth - 30 * ratio) { + test += rowPart[a]; + } else { + break; + } + } + empty.push(test); + var group = empty[0] + "..." //这里只显示两行,超出的用...表示 + rowCut.splice(1, 1, group); + row = rowCut; } - } - empty.push(test); - var group = empty[0] + "..." //这里只显示两行,超出的用...表示 - rowCut.splice(1, 1, group); - row = rowCut; - } - for (var b = 0; b < row.length; b++) { - ctx.fillText(row[b], x, y + b * 40 * ratio, canvasWidth); - } - }, - //加入购物车 - showCart: function () { - if (this.data.info.product[0].sku.length == 0) { - wx.showToast({ - title: '该产品未设置规格,不能加购', - icon: 'none' - }) - return; - } - this.setData({ - skuFlag: "cart" - }) - let that = this - wx.createSelectorQuery().select('#skuImg').boundingClientRect(function (res) { - that.setData({ - cartImgInfo: 'top:' + res.top + 'px;left:' + res.left + 'px;' - }) - }).exec() + for (var b = 0; b < row.length; b++) { + ctx.fillText(row[b], x, y + b * 40 * ratio, canvasWidth); + } + }, + //加入购物车 + showCart: function () { + commonApi.user_post('wx/get_user_keep', { + jumpurl: '/pages/info/sceneProductInfo/index?id=' + this.data.id, + title: this.data.info.title, + type: 'mini' + }).then(res => { + if (res.data.subscribe == 0) { + this.setData({ + wxqrcode: res.data.qrcode, + showQrCode: true + }) + } else { + if (this.data.info.product[0].sku.length == 0) { + wx.showToast({ + title: '该产品未设置规格,不能加购', + icon: 'none' + }) + return; + } + this.setData({ + skuFlag: "cart" + }) + let that = this + wx.createSelectorQuery().select('#skuImg').boundingClientRect(function (res) { + that.setData({ + cartImgInfo: 'top:' + res.top + 'px;left:' + res.left + 'px;' + }) + }).exec() + } + }) + + + + + }, + hideSku: function () { + this.setData({ + skuFlag: null, + cartImgInfo: null + }) + }, + //加减数量 + minus: function () { + if (this.data.producNum == 1) return; + this.setData({ + producNum: this.data.producNum - 1 + }) + }, + add: function () { + this.setData({ + producNum: this.data.producNum + 1 + }) + }, + //立即预定 + showOrder: function () { + console.log(this.data.id); + commonApi.user_post('wx/get_user_keep', { + jumpurl: '/pages/info/sceneProductInfo/index?id=' + this.data.id, + title: this.data.info.title, + type: 'mini' + }).then(res => { + if (res.data.subscribe == 0) { + this.setData({ + wxqrcode: res.data.qrcode, + showQrCode: true + }) + } else { + if (this.data.info.product[0].sku.length == 0) { + wx.showToast({ + title: '该产品未设置规格,不能购买', + icon: 'none' + }) + return; + } + if (this.data.info.product[0].type == 'line') { + wx.navigateTo({ + url: '/pages/order/road/index?id=' + this.data.info.product[0].id + }) + return + } + this.setData({ + skuFlag: 'order' + }) + } + }) - }, - hideSku: function () { - this.setData({ - skuFlag: null, - cartImgInfo: null - }) - }, - //加减数量 - minus: function () { - if (this.data.producNum == 1) return; - this.setData({ - producNum: this.data.producNum - 1 - }) - }, - add: function () { - this.setData({ - producNum: this.data.producNum + 1 - }) - }, - //立即预定 - showOrder: function () { - if (this.data.info.product[0].sku.length == 0) { - wx.showToast({ - title: '该产品未设置规格,不能购买', - icon: 'none' - }) - return; - } - if (this.data.info.product[0].type == 'line') { - wx.navigateTo({ - url: '/pages/order/road/index?id=' + this.data.info.product[0].id - }) - return - } - this.setData({ - skuFlag: 'order' - }) - }, + }, - /** - * 生命周期函数--监听页面初次渲染完成 - */ - onReady: function () { - if (app.globalData.configJson) { - this.setData({ - isTest: app.globalData.configJson.isTest - }) - } else { - setTimeout(() => { - this.onReady() - }, 300) - } - }, + /** + * 生命周期函数--监听页面初次渲染完成 + */ + onReady: function () { + if (app.globalData.configJson) { + this.setData({ + isTest: app.globalData.configJson.isTest + }) + } else { + setTimeout(() => { + this.onReady() + }, 300) + } + }, - /** - * 生命周期函数--监听页面显示 - */ - onShow: function () { - console.log(11111); - commonApi.user_post('cart/get_list', {}).then(res => { - this.setData({ - cartCount: res.data.length //1 - }) - }) - if (!wx.getStorageSync('jstrip_token')) { - return; - } - if (this.data.info && this.data.info.id) { - this.drawImg() - //// 获取补贴 - // if (this.data.product.length == 1) { - // commonApi.user_post("product/getProductAllowancePrice", { - // product_code: this.data.product[0].product.product_code - // }).then(resTwo => { - // if (resTwo && resTwo.code == 1) { - // this.setData({ - // allowance_data: resTwo.data - // }) - // let spread_price = Number(this.data.allowance_data.discount_limit_price - this.data.allowance_data.user_used_price) - // let sInfo = this.data.product[0].sku - // if (spread_price > 0) { - // if (spread_price < this.data.allowance_data.discount_rate / 100 * sInfo.price) { - // this.setData({ - // allowance_price: spread_price - // }) - // } else { - // this.setData({ - // allowance_price: this.data.allowance_data.discount_rate / 100 * sInfo.price - // }) - // } - // this.changePrice() - // } else { - // this.setData({ - // allowance_price: 0 - // }) - // } - // } - // }) - // } - //// 获取补贴结束 + /** + * 生命周期函数--监听页面显示 + */ + onShow: function () { + console.log(11111); + commonApi.user_post('cart/get_list', {}).then(res => { + this.setData({ + cartCount: res.data.length //1 + }) + }) + if (!wx.getStorageSync('jstrip_token')) { + return; + } + if (this.data.info && this.data.info.id) { + this.drawImg() + //// 获取补贴 + // if (this.data.product.length == 1) { + // commonApi.user_post("product/getProductAllowancePrice", { + // product_code: this.data.product[0].product.product_code + // }).then(resTwo => { + // if (resTwo && resTwo.code == 1) { + // this.setData({ + // allowance_data: resTwo.data + // }) + // let spread_price = Number(this.data.allowance_data.discount_limit_price - this.data.allowance_data.user_used_price) + // let sInfo = this.data.product[0].sku + // if (spread_price > 0) { + // if (spread_price < this.data.allowance_data.discount_rate / 100 * sInfo.price) { + // this.setData({ + // allowance_price: spread_price + // }) + // } else { + // this.setData({ + // allowance_price: this.data.allowance_data.discount_rate / 100 * sInfo.price + // }) + // } + // this.changePrice() + // } else { + // this.setData({ + // allowance_price: 0 + // }) + // } + // } + // }) + // } + //// 获取补贴结束 - } else { - console.log(2222); - setTimeout(() => { - // this.onShow() - }, 200) - } + } else { + console.log(2222); + setTimeout(() => { + // this.onShow() + }, 200) + } - }, + }, - /** - * 生命周期函数--监听页面隐藏 - */ - onHide: function () { + /** + * 生命周期函数--监听页面隐藏 + */ + onHide: function () { - }, + }, - /** - * 生命周期函数--监听页面卸载 - */ - onUnload: function () { + /** + * 生命周期函数--监听页面卸载 + */ + onUnload: function () { - }, + }, - /** - * 页面相关事件处理函数--监听用户下拉动作 - */ - onPullDownRefresh: function () { + /** + * 页面相关事件处理函数--监听用户下拉动作 + */ + onPullDownRefresh: function () { - }, + }, - /** - * 页面上拉触底事件的处理函数 - */ - onReachBottom: function () { + /** + * 页面上拉触底事件的处理函数 + */ + onReachBottom: function () { - }, + }, - /** - * 用户点击右上角分享 - */ - onShareAppMessage: function () {} + /** + * 用户点击右上角分享 + */ + onShareAppMessage: function () {} }) \ No newline at end of file diff --git a/pages/info/sceneProductInfo/index.json b/pages/info/sceneProductInfo/index.json index b5d8d8b..58e1fcb 100644 --- a/pages/info/sceneProductInfo/index.json +++ b/pages/info/sceneProductInfo/index.json @@ -1,6 +1,9 @@ { "usingComponents": { "title":"/pages/component/TitleHeader", - "notice":"/pages/component/notice/notice" + "notice":"/pages/component/notice/notice", + "code":"../../order/components/wxqrCode/index" + + } } \ No newline at end of file diff --git a/pages/info/sceneProductInfo/index.wxml b/pages/info/sceneProductInfo/index.wxml index 923f0f1..04562e2 100644 --- a/pages/info/sceneProductInfo/index.wxml +++ b/pages/info/sceneProductInfo/index.wxml @@ -251,4 +251,6 @@ {{info.allowance.title}} - \ No newline at end of file + + + \ No newline at end of file diff --git a/pages/list/movieticket/list/ticket/index.js b/pages/list/movieticket/list/ticket/index.js index 79931ff..8dacd88 100644 --- a/pages/list/movieticket/list/ticket/index.js +++ b/pages/list/movieticket/list/ticket/index.js @@ -4,252 +4,269 @@ import commonApi from "../../../../../utils/https/common" import util from "../../../../../utils/util" Page({ - /** - * 页面的初始数据 - */ - data: { - id:null, - dates:[], - days:['周日','周一','周二','周三','周四','周五','周六'], - dateIndex:0, - areas:[], - areaIndex:0, - lat:"", - lon:"", - sort:'distance', - list:[], - title:"", - page:1, - isMore:true - }, + /** + * 页面的初始数据 + */ + data: { + id: null, + dates: [], + days: ['周日', '周一', '周二', '周三', '周四', '周五', '周六'], + dateIndex: 0, + areas: [], + areaIndex: 0, + lat: "", + lon: "", + sort: 'distance', + list: [], + title: "", + page: 1, + isMore: true, + showQrCode: false, + wxqrcode: null + }, - /** - * 生命周期函数--监听页面加载 - */ - pagePoint(e) { - util.pagePoint(e) - }, - onLoad: function (options) { - this.setData({ - id:options.id, - title:options.title - }) - commonApi._post("act/get_suzhou_areas").then(res=>{ - res.data.unshift({ - area_id:"", - area_title:"苏州" - }) - this.setData({ - areas:res.data - }) - }) - this.initDate(); - wx.getLocation({ - type: 'gcj02', - success:(res)=>{ + /** + * 生命周期函数--监听页面加载 + */ + pagePoint(e) { + util.pagePoint(e) + }, + onLoad: function (options) { this.setData({ - lat:res.latitude, - lon:res.longitude + id: options.id, + title: options.title + }) + commonApi._post("act/get_suzhou_areas").then(res => { + res.data.unshift({ + area_id: "", + area_title: "苏州" + }) + this.setData({ + areas: res.data + }) + }) + this.initDate(); + wx.getLocation({ + type: 'gcj02', + success: (res) => { + this.setData({ + lat: res.latitude, + lon: res.longitude + }) + this.getList() + }, + fail: () => { + this.getList() + } + }) + }, + changeSort: function (e) { + let sort = e.currentTarget.dataset.sort; + this.setData({ + sort: this.data.sort == sort ? null : sort, + list: [], + page: 1, + isMore: true + }) + if (this.data.sort == 'distance' && !this.data.lon) { + wx.getLocation({ + type: 'gcj02', + success: (res) => { + this.setData({ + lat: res.latitude, + lon: res.longitude + }) + this.getList() + }, + fail: () => { + this.getList() + } + }) + } else { + this.getList() + } + + }, + changeDateIndex: function (e) { + this.setData({ + dateIndex: e.currentTarget.dataset.index, + list: [], + page: 1, + isMore: true }) this.getList() - }, - fail:()=>{ + }, + changeArea: function (e) { + this.setData({ + areaIndex: e.detail.value, + list: [], + page: 1, + isMore: true + }) this.getList() - } - }) - }, - changeSort:function(e){ - let sort = e.currentTarget.dataset.sort; - this.setData({ - sort:this.data.sort==sort?null:sort, - list:[], - page:1, - isMore:true - }) - if(this.data.sort=='distance' && !this.data.lon){ - wx.getLocation({ - type: 'gcj02', - success:(res)=>{ - this.setData({ - lat:res.latitude, - lon:res.longitude - }) - this.getList() - }, - fail:()=>{ - this.getList() + }, + initDate: function () { + let today = new Date(util.formatDate(new Date()).replace(/-/g, '/')).getTime(), + single = 24 * 60 * 60 * 1000, + dates = []; + for (let i = 0; i < 7; i++) { + let item = new Date(today + i * single); + let name = this.data.days[item.getDay()] + if (i == 0) { + name = "今天" + } else if (i == 1) { + name = "明天" + } + dates.push({ + date: util.formatDate(item), + dateShort: util.formatDate(item).substr(5, 5), + name: name + }) } - }) - } - else { - this.getList() - } - - }, - changeDateIndex:function(e){ - this.setData({ - dateIndex:e.currentTarget.dataset.index, - list:[], - page:1, - isMore:true - }) - this.getList() - }, - changeArea:function(e){ - this.setData({ - areaIndex:e.detail.value, - list:[], - page:1, - isMore:true - }) - this.getList() - }, - initDate:function(){ - let today = new Date(util.formatDate(new Date()).replace(/-/g,'/')).getTime(),single = 24 * 60 * 60 *1000,dates=[]; - for(let i=0;i<7;i++){ - let item = new Date(today+i * single); - let name = this.data.days[item.getDay()] - if(i==0){ - name="今天" - } - else if(i==1){ - name="明天" - } - dates.push({ - date:util.formatDate(item), - dateShort:util.formatDate(item).substr(5,5), - name:name - }) - } - this.setData({ - dates:dates - }) - console.log(dates) - }, - getList:function(){ - if(!this.data.isMore) return - commonApi._post("Cinema/getCinemaListByShowId",{ - third_id:this.data.id, - show_date:this.data.dates[this.data.dateIndex].date, - city_code:this.data.areas[this.data.areaIndex]?this.data.areas[this.data.areaIndex].area_id:"", - lon:this.data.lon, - lat:this.data.lat, - is_price_sort:this.data.sort=='price'?true:false, - is_distance_sort:this.data.sort=='distance', - page:this.data.page, - pageSize:10 - }).then(res=>{ - res.data.map(item=>{ - if(item.distance>1000){ - item.distanceText = (item.distance/1000).toFixed(2) + 'km'; - } - else if(item.distance>0){ - item.distanceText = (item.distance).toFixed(2) + 'm'; - } - }) - let list = this.data.list; - this.setData({ - list:list.concat(res.data), - page:this.data.page+1 - }) - if(res.data.length<10){ this.setData({ - isMore:false + dates: dates }) - } - console.log(res) - }) - }, - selectMovieSeat(e){ - let info = e.currentTarget.dataset.info - let index = e.currentTarget.dataset.index - console.log(index); - console.log(info.schedules); - const areaInfo = JSON.parse(info.schedules[index].schedule_area).map(item => ({...item, price:item.areaPrice,areaId:item.seatAreaId})); - let planData = { - areaInfo, - fee:info.schedules[index].service_fee, - movieName: this.data.title, - planId : info.schedules[index].schedule_id, - planTime : info.schedules[index].show_time, - type:'WECHATXCX', - remake : '' - } - let show_id = info.schedules[index].show_id - let cinema_id = info.schedules[index].cinema_id - // let schedule_id = info.schedule_id - console.log(info); - commonApi._post('Cinema/getProductAndSku',{ - show_id, - cinema_id, - }).then(res=>{ - app.globalData.product ={ - product:res.data, - info:{ - hallName:info.schedules[index].hall_name, - cinemaName:info.title, - show_date:info.schedules[index].show_date, - show_time:info.schedules[index].show_time, - close_time:info.schedules[index].close_time, - movieName:this.data.title, - start_end_time:info.schedules[index].show_time, - show_version:info.schedules[index].show_version, - selectSeatInfo:null, - schedule_id:info.schedules[index].schedule_id - } - } - console.log(planData); - wx.navigateTo({ - url:"/pages/list/movieticket/list/web/index?planData="+ JSON.stringify(planData), - }) - }) - }, - /** - * 生命周期函数--监听页面初次渲染完成 - */ - onReady: function () { + console.log(dates) + }, + getList: function () { + if (!this.data.isMore) return + commonApi._post("Cinema/getCinemaListByShowId", { + third_id: this.data.id, + show_date: this.data.dates[this.data.dateIndex].date, + city_code: this.data.areas[this.data.areaIndex] ? this.data.areas[this.data.areaIndex].area_id : "", + lon: this.data.lon, + lat: this.data.lat, + is_price_sort: this.data.sort == 'price' ? true : false, + is_distance_sort: this.data.sort == 'distance', + page: this.data.page, + pageSize: 10 + }).then(res => { + res.data.map(item => { + if (item.distance > 1000) { + item.distanceText = (item.distance / 1000).toFixed(2) + 'km'; + } else if (item.distance > 0) { + item.distanceText = (item.distance).toFixed(2) + 'm'; + } + }) + let list = this.data.list; + this.setData({ + list: list.concat(res.data), + page: this.data.page + 1 + }) + if (res.data.length < 10) { + this.setData({ + isMore: false + }) + } + console.log(res) + }) + }, + selectMovieSeat(e) { + commonApi.user_post('wx/get_user_keep', { + jumpurl: '/pages/list/movieticket/list/ticket/index?id=' + this.data.id, + title: this.data.title, + type: 'mini' + }).then(res => { + if (res.data.subscribe == 0) { + this.setData({ + wxqrcode: res.data.qrcode, + showQrCode: true + }) + } else { + let info = e.currentTarget.dataset.info + let index = e.currentTarget.dataset.index + console.log(index); + console.log(info.schedules); + const areaInfo = JSON.parse(info.schedules[index].schedule_area).map(item => ({ + ...item, + price: item.areaPrice, + areaId: item.seatAreaId + })); + let planData = { + areaInfo, + fee: info.schedules[index].service_fee, + movieName: this.data.title, + planId: info.schedules[index].schedule_id, + planTime: info.schedules[index].show_time, + type: 'WECHATXCX', + remake: '' + } + let show_id = info.schedules[index].show_id + let cinema_id = info.schedules[index].cinema_id + // let schedule_id = info.schedule_id + console.log(info); + commonApi._post('Cinema/getProductAndSku', { + show_id, + cinema_id, + }).then(res => { + app.globalData.product = { + product: res.data, + info: { + hallName: info.schedules[index].hall_name, + cinemaName: info.title, + show_date: info.schedules[index].show_date, + show_time: info.schedules[index].show_time, + close_time: info.schedules[index].close_time, + movieName: this.data.title, + start_end_time: info.schedules[index].show_time, + show_version: info.schedules[index].show_version, + selectSeatInfo: null, + schedule_id: info.schedules[index].schedule_id + } + } + console.log(planData); + wx.navigateTo({ + url: "/pages/list/movieticket/list/web/index?planData=" + JSON.stringify(planData), + }) + }) + }}) + }, + /** + * 生命周期函数--监听页面初次渲染完成 + */ + onReady: function () { - }, + }, - /** - * 生命周期函数--监听页面显示 - */ - onShow: function () { + /** + * 生命周期函数--监听页面显示 + */ + onShow: function () { - }, + }, - /** - * 生命周期函数--监听页面隐藏 - */ - onHide: function () { + /** + * 生命周期函数--监听页面隐藏 + */ + onHide: function () { - }, + }, - /** - * 生命周期函数--监听页面卸载 - */ - onUnload: function () { + /** + * 生命周期函数--监听页面卸载 + */ + onUnload: function () { - }, + }, - /** - * 页面相关事件处理函数--监听用户下拉动作 - */ - onPullDownRefresh: function () { + /** + * 页面相关事件处理函数--监听用户下拉动作 + */ + onPullDownRefresh: function () { - }, + }, - /** - * 页面上拉触底事件的处理函数 - */ - onReachBottom: function () { - this.getList() - }, + /** + * 页面上拉触底事件的处理函数 + */ + onReachBottom: function () { + this.getList() + }, - /** - * 用户点击右上角分享 - */ - onShareAppMessage: function () { + /** + * 用户点击右上角分享 + */ + onShareAppMessage: function () { - } + } }) \ No newline at end of file diff --git a/pages/list/movieticket/list/ticket/index.json b/pages/list/movieticket/list/ticket/index.json index 35cf02f..321981d 100644 --- a/pages/list/movieticket/list/ticket/index.json +++ b/pages/list/movieticket/list/ticket/index.json @@ -1,5 +1,6 @@ { "usingComponents": { - "title":"/pages/component/TitleHeader" + "title":"/pages/component/TitleHeader", + "code":"../../../../order/components/wxqrCode/index" } } \ No newline at end of file diff --git a/pages/list/movieticket/list/ticket/index.wxml b/pages/list/movieticket/list/ticket/index.wxml index 3e24bca..622fdb0 100644 --- a/pages/list/movieticket/list/ticket/index.wxml +++ b/pages/list/movieticket/list/ticket/index.wxml @@ -43,4 +43,6 @@ 暂无内容 - \ No newline at end of file + + + \ No newline at end of file diff --git a/pages/order/components/wxqrCode/index.js b/pages/order/components/wxqrCode/index.js new file mode 100644 index 0000000..7cfee1b --- /dev/null +++ b/pages/order/components/wxqrCode/index.js @@ -0,0 +1,42 @@ +// pages/order/components/coupon/index.js +let app = getApp() +Component({ + /** + * 组件的属性列表 + */ + properties: { + showModel:{ + type:Boolean, + value:false + }, + qrcode:{ + type:String, + value:null + } + + }, + + /** + * 组件的初始数据 + */ + data: { + + }, + pageLifetimes: { + show: function() { + console.log(123123); + } + }, + + /** + * 组件的方法列表 + */ + methods: { + submit: function() { + this.setData({ + showModel:false + }) + } + + } +}) diff --git a/pages/order/components/wxqrCode/index.json b/pages/order/components/wxqrCode/index.json new file mode 100644 index 0000000..e8cfaaf --- /dev/null +++ b/pages/order/components/wxqrCode/index.json @@ -0,0 +1,4 @@ +{ + "component": true, + "usingComponents": {} +} \ No newline at end of file diff --git a/pages/order/components/wxqrCode/index.wxml b/pages/order/components/wxqrCode/index.wxml new file mode 100644 index 0000000..36bf915 --- /dev/null +++ b/pages/order/components/wxqrCode/index.wxml @@ -0,0 +1,13 @@ + + + + + + + 扫码关注【君到苏州】 微信公众号 + + + 查看更多旅游资讯 + + + \ No newline at end of file diff --git a/pages/order/components/wxqrCode/index.wxss b/pages/order/components/wxqrCode/index.wxss new file mode 100644 index 0000000..3135ada --- /dev/null +++ b/pages/order/components/wxqrCode/index.wxss @@ -0,0 +1,70 @@ +.mask{ + width: 100%; + height: 100%; + position: fixed; + top: 0; + left: 0; + background: #000; + z-index: 9000; + opacity: 0.7; +} + +.modalDlg{ + width: 500rpx; + height: 660rpx; + background-image:url('https://static.ticket.sz-trip.com/uploads/20230619/12a423ee9510a8e5c9c92696e52fcc3c.png') ; + background-size: 100% 100%; + position: fixed; + top: 50%; + left: 0; + z-index: 9999; + margin: -370rpx 125rpx; + background-color: #fff; + border-radius: 36rpx; + display: flex; + flex-direction: column; + align-items: center; +} +.img-box{ + width: 300rpx; + height: 300rpx; + background: #FFFFFF; + display: flex; + align-items: center; + justify-content: center; + margin-top: 79rpx; + + +} +.img-box image{ + width: 310rpx; + height: 310rpx; + border-radius: 10rpx; +} +.text-box{ + width: 300rpx; + font-size: 30rpx; + font-family: PingFang SC; + font-weight: bold; + color: #FFFFFF; + text-align: center; + margin-top: 40rpx; +} +.text-box text{ + color: rgba(255, 255, 85, 1); +} +.more{ + margin-top: 80rpx; +font-size: 30rpx; +font-family: PingFang SC; +font-weight: bold; +color: #0B898E; +} +.close{ + position: absolute; + bottom: -120rpx; + left: 50%; + height: 80rpx; + width: 80rpx; + transform: translate(-40rpx,0); +} diff --git a/pages/order/movie/index.wxml b/pages/order/movie/index.wxml index c39a4e0..a749339 100644 --- a/pages/order/movie/index.wxml +++ b/pages/order/movie/index.wxml @@ -11,11 +11,6 @@ {{product.info.hallName}} {{product.info.selectSeatInfo.seatInfo}} - - - 手机号码: - - @@ -32,6 +27,10 @@ + + 手机号码: + + diff --git a/pages/order/movie/index.wxss b/pages/order/movie/index.wxss index 91509b5..8b58f41 100644 --- a/pages/order/movie/index.wxss +++ b/pages/order/movie/index.wxss @@ -14,7 +14,7 @@ page { display: flex; padding-top: 30rpx; padding-bottom: 41rpx; - border-bottom: 1rpx solid #ccc; + /* border-bottom: 1rpx solid #ccc; */ font-size: 27rpx; color: #999; justify-content: space-between; @@ -42,7 +42,11 @@ page { align-items: center; height: 126rpx; font-size: 31rpx; - justify-content: space-between; + justify-content: space-between; + margin: 30rpx 25rpx; + background: white; + border-radius: 9rpx; + padding: 0 20rpx; } .tel-box>text { color: #000; diff --git a/pages/user/cartlist/list.js b/pages/user/cartlist/list.js index c51d1b1..4c7bbc2 100644 --- a/pages/user/cartlist/list.js +++ b/pages/user/cartlist/list.js @@ -1,6 +1,6 @@ // pages/user/cartlist/list.js const device = wx.getSystemInfoSync(), - rect = wx.getMenuButtonBoundingClientRect(); // 获取设备信息 + rect = wx.getMenuButtonBoundingClientRect(); // 获取设备信息 const ratio = 750 / device.windowWidth; console.log(rect) const width = device.windowWidth // 示例为一个与屏幕等宽的正方形裁剪框 @@ -10,357 +10,373 @@ import util from '../../../utils/util' let app = getApp() Page({ - /** - * 页面的初始数据 - */ - data: { - menuWidth: width - rect.right + rect.width + 6, - list: [], - allChecked: false, - allPrice: 0, - productType: '', - manageFlag: false, - flag: false, //判断订单是否同时有商品和票 - isCar:'single',//判断是否购物车 - }, + /** + * 页面的初始数据 + */ + data: { + menuWidth: width - rect.right + rect.width + 6, + list: [], + allChecked: false, + allPrice: 0, + productType: '', + manageFlag: false, + flag: false, //判断订单是否同时有商品和票 + isCar: 'single', //判断是否购物车 + showQrCode: false, + wxqrcode: null + }, - /** - * 生命周期函数--监听页面加载 - */ - onLoad: function (options) { - wx.removeStorageSync('linkMan') - this.getList(); - }, - manage: function () { - let list = this.data.list; - list.map(item => { - item.checked = 0; - }) - this.setData({ - manageFlag: !this.data.manageFlag, - allChecked: 0, - list: list, - allPrice: 0 - }) - }, - gotoDetail: function (e) { - console.log(e) - let item = e.currentTarget.dataset.item.product; - util.gotoDetail(item, 1); - }, - getList: function () { - commonApi.user_post("cart/get_list", { - // type: '1' - }).then(res => { - this.setData({ - list: res.data - }) - }) - }, - minus: function (e) { - let index = e.currentTarget.dataset.index, - list = this.data.list; - let num = list[index].num; - if (num <= 1) return; - num = num - 1; - list[index].num = num; - this.setData({ - list: list - }) - this.changeNumber(list[index]) - this.updatePrice() - }, - add: function (e) { - let index = e.currentTarget.dataset.index, - list = this.data.list; - let num = list[index].num + 1; - list[index].num = num; - this.setData({ - list: list - }) - this.changeNumber(list[index]) - this.updatePrice() - }, - select: function (e) { - let index = e.currentTarget.dataset.index, - list = this.data.list; - if (list[index].product.flag != 1 || list[index].sku.flag != 'on') { - if (!this.data.manageFlag) { - wx.showToast({ - title: '产品已下架', - icon: 'none' + /** + * 生命周期函数--监听页面加载 + */ + onLoad: function (options) { + wx.removeStorageSync('linkMan') + this.getList(); + }, + manage: function () { + let list = this.data.list; + list.map(item => { + item.checked = 0; }) - return; - } - } - list[index].checked = list[index].checked ? false : true; - this.setData({ - list: list - }) - let flag = true - list.forEach(item => { - if (!item.checked) { - flag = false - return - } - }); - this.setData({ - allChecked:flag - }) - this.updatePrice() - }, - selectAll: function () { - let list = this.data.list, - allChecked = this.data.allChecked ? false : true; - list.map(item => { - if (item.sku.flag == 'on' && item.product.flag == 1) { - item.checked = allChecked; - } - }) - this.setData({ - allChecked: allChecked, - list: list - }) - this.updatePrice() - }, - changeNumber(item) { - commonApi.user_post("cart/update_sku", { - sku_id: item.sku.id, - num: item.num - }).then(res => {}) - }, - updatePrice: function () { - let list = this.data.list, - price = 0; - list.map(item => { - if (item.checked) { - price = price + item.sku.price * item.num; - } - }) - this.setData({ - allPrice: price - }) - }, - order: function () { - app.globalData.couponInfo = null; - util.pagePoint({ - event: 'cart_order' - }, 1) - let list = this.data.list, - price = 0, - product = [], - product1 = [] - list.map(item => { - if (item.checked) { - // item.product.type="post"; - if (item.product.type == 'post') { - product.push({ - product: item.product, - sku: item.sku, - productNum: item.num - }) - } else { - product1.push(item) - app.globalData.list = product1 - } - if (item.product.type.includes('post')) { - this.data.productType = 'post' - } - } - }) - if (product.length == 0 && product1.length == 0) { - wx.showToast({ - title: '请先选择产品', - icon: 'none' - }) - return; - } - if (product.length > 0 && product1.length > 0) { - this.setData({ - flag: 'mix', - isCar:'multiple' - }) - } - if ( product1.length > 1) { - this.setData({ - isCar:'multiple' - }) - }else{ - this.setData({ - isCar:'single' - }) - } - console.log(product1); - app.globalData.postProduct = product; - if (app.globalData.list) { - app.globalData.product = app.globalData.list[app.globalData.index] - } - if (this.data.productType == 'post') { - console.log(this.data.flag); - wx.navigateTo({ - url: '/pages/order/postOrder/index?from=cart&flag=' + this.data.flag, - }) - } else { - wx.navigateTo({ - url: '/pages/order/scene/index?isCar=' + this.data.isCar, - }) - } - }, - touchStart(e) { //移动前点击的位置 - console.log(e) - // 在开始触摸时将所有startTouchMove设置为flase,对当前的为true - this.data.list.forEach(cart => { - if (cart.isTouchMove) //当istouchMove为true - cart.isTouchMove = false; //其它的对象都为false - }) - this.setData({ - startX: e.changedTouches[0].clientX, - startY: e.changedTouches[0].clientY, - list: this.data.list - }) - }, - touchmove(e) { //移动的位置,用于计算用户滑动的弧度向左还是向右,移动了多少,可以确定删除功能的显示和隐藏 - let index = e.currentTarget.dataset.index; - // 获取开始的x,y坐标 - let startX = this.data.startX, - startY = this.data.startY; - // 获取移动的x,x坐标 - let touchMoveX = e.changedTouches[0].clientX, - touchMoveY = e.changedTouches[0].clientY; - // 调用计算角度的方法,获取角度 - var angel = this.angel({ - X: startX, - Y: startY - }, { - X: touchMoveX, - Y: touchMoveY - }) - // 遍历cartArray - this.data.list.forEach((cart, i) => { - cart.isTouchMove = false; - // 滑动角度大于30,直接return 视为非滑动意思 - if (Math.abs(angel) > 30) return; - // 匹配当前所点击的list和滑动的list - if (i == index) { - // 匹配上后判断滑动方向 - if (touchMoveX > startX) { //左滑动隐藏删除 - cart.isTouchMove = false; - } else { - cart.isTouchMove = true; + this.setData({ + manageFlag: !this.data.manageFlag, + allChecked: 0, + list: list, + allPrice: 0 + }) + }, + gotoDetail: function (e) { + console.log(e) + let item = e.currentTarget.dataset.item.product; + util.gotoDetail(item, 1); + }, + getList: function () { + commonApi.user_post("cart/get_list", { + // type: '1' + }).then(res => { + this.setData({ + list: res.data + }) + }) + }, + minus: function (e) { + let index = e.currentTarget.dataset.index, + list = this.data.list; + let num = list[index].num; + if (num <= 1) return; + num = num - 1; + list[index].num = num; + this.setData({ + list: list + }) + this.changeNumber(list[index]) + this.updatePrice() + }, + add: function (e) { + let index = e.currentTarget.dataset.index, + list = this.data.list; + let num = list[index].num + 1; + list[index].num = num; + this.setData({ + list: list + }) + this.changeNumber(list[index]) + this.updatePrice() + }, + select: function (e) { + let index = e.currentTarget.dataset.index, + list = this.data.list; + if (list[index].product.flag != 1 || list[index].sku.flag != 'on') { + if (!this.data.manageFlag) { + wx.showToast({ + title: '产品已下架', + icon: 'none' + }) + return; + } } - } - }) - // 更新数据 - this.setData({ - list: this.data.list - }) - }, - angel(start, end) { //计算滑动的角度 - // console.log(start,end) - // 移动坐标减去对应的开始坐标 - var _X = end.X - start.X, - _Y = end.Y - start.Y; - // 返回角度 Math.atan() 返回数字的正切值 - return 360 * Math.atan(_Y / _X) / (2 * Math.PI) - }, - del: function (e) { - let index = e.currentTarget.dataset.index, - list = this.data.list; - commonApi.user_post("cart/del_sku", { - sku_id: list[index].sku_id - }).then(res => { - if (res.code == 1) { - wx.showToast({ - title: '删除成功', - icon: "success" + list[index].checked = list[index].checked ? false : true; + this.setData({ + list: list + }) + let flag = true + list.forEach(item => { + if (!item.checked) { + flag = false + return + } + }); + this.setData({ + allChecked: flag + }) + this.updatePrice() + }, + selectAll: function () { + let list = this.data.list, + allChecked = this.data.allChecked ? false : true; + list.map(item => { + if (item.sku.flag == 'on' && item.product.flag == 1) { + item.checked = allChecked; + } + }) + this.setData({ + allChecked: allChecked, + list: list + }) + this.updatePrice() + }, + changeNumber(item) { + commonApi.user_post("cart/update_sku", { + sku_id: item.sku.id, + num: item.num + }).then(res => { }) + }, + updatePrice: function () { + let list = this.data.list, + price = 0; + list.map(item => { + if (item.checked) { + price = price + item.sku.price * item.num; + } }) - list.splice(index, 1); this.setData({ - list: list + allPrice: price }) - } - }) - }, - delM() { - let that = this - let arr = this.data.list - let suid = [] - arr.forEach(item => { - if (item.checked) { - suid.push(item.sku_id) - } - }); - let skuids = suid.join(',') - wx.showModal({ - title: '提示', - content: '确定要删除选定的产品?', - success: function (res) { - if (res.confirm) { - commonApi.user_post("cart/del_sku", { - sku_id:skuids - }).then(res => { + }, + order: function () { + commonApi.user_post('wx/get_user_keep', { + jumpurl: '/pages/user/cartlist/list', + title: '购物车', + type: 'mini' + }).then(res => { + if (res.data.subscribe == 0) { + this.setData({ + wxqrcode: res.data.qrcode, + showQrCode: true + }) + } else { + app.globalData.couponInfo = null; + util.pagePoint({ + event: 'cart_order' + }, 1) + let list = this.data.list, + price = 0, + product = [], + product1 = [] + list.map(item => { + if (item.checked) { + // item.product.type="post"; + if (item.product.type == 'post') { + product.push({ + product: item.product, + sku: item.sku, + productNum: item.num + }) + } else { + product1.push(item) + app.globalData.list = product1 + } + if (item.product.type.includes('post')) { + this.data.productType = 'post' + } + } + }) + if (product.length == 0 && product1.length == 0) { + wx.showToast({ + title: '请先选择产品', + icon: 'none' + }) + return; + } + if (product.length > 0 && product1.length > 0) { + this.setData({ + flag: 'mix', + isCar: 'multiple' + }) + } + if (product1.length > 1) { + this.setData({ + isCar: 'multiple' + }) + } else { + this.setData({ + isCar: 'single' + }) + } + console.log(product1); + app.globalData.postProduct = product; + if (app.globalData.list) { + app.globalData.product = app.globalData.list[app.globalData.index] + } + if (this.data.productType == 'post') { + console.log(this.data.flag); + wx.navigateTo({ + url: '/pages/order/postOrder/index?from=cart&flag=' + this.data.flag, + }) + } else { + wx.navigateTo({ + url: '/pages/order/scene/index?isCar=' + this.data.isCar, + }) + } + } + }) + + }, + touchStart(e) { //移动前点击的位置 + console.log(e) + // 在开始触摸时将所有startTouchMove设置为flase,对当前的为true + this.data.list.forEach(cart => { + if (cart.isTouchMove) //当istouchMove为true + cart.isTouchMove = false; //其它的对象都为false + }) + this.setData({ + startX: e.changedTouches[0].clientX, + startY: e.changedTouches[0].clientY, + list: this.data.list + }) + }, + touchmove(e) { //移动的位置,用于计算用户滑动的弧度向左还是向右,移动了多少,可以确定删除功能的显示和隐藏 + let index = e.currentTarget.dataset.index; + // 获取开始的x,y坐标 + let startX = this.data.startX, + startY = this.data.startY; + // 获取移动的x,x坐标 + let touchMoveX = e.changedTouches[0].clientX, + touchMoveY = e.changedTouches[0].clientY; + // 调用计算角度的方法,获取角度 + var angel = this.angel({ + X: startX, + Y: startY + }, { + X: touchMoveX, + Y: touchMoveY + }) + // 遍历cartArray + this.data.list.forEach((cart, i) => { + cart.isTouchMove = false; + // 滑动角度大于30,直接return 视为非滑动意思 + if (Math.abs(angel) > 30) return; + // 匹配当前所点击的list和滑动的list + if (i == index) { + // 匹配上后判断滑动方向 + if (touchMoveX > startX) { //左滑动隐藏删除 + cart.isTouchMove = false; + } else { + cart.isTouchMove = true; + } + } + }) + // 更新数据 + this.setData({ + list: this.data.list + }) + }, + angel(start, end) { //计算滑动的角度 + // console.log(start,end) + // 移动坐标减去对应的开始坐标 + var _X = end.X - start.X, + _Y = end.Y - start.Y; + // 返回角度 Math.atan() 返回数字的正切值 + return 360 * Math.atan(_Y / _X) / (2 * Math.PI) + }, + del: function (e) { + let index = e.currentTarget.dataset.index, + list = this.data.list; + commonApi.user_post("cart/del_sku", { + sku_id: list[index].sku_id + }).then(res => { if (res.code == 1) { - wx.showToast({ - title: '删除成功', - icon: "success" - }) - that.getList(); + wx.showToast({ + title: '删除成功', + icon: "success" + }) + list.splice(index, 1); + this.setData({ + list: list + }) } - }) - - } else { - console.log('取消') - } - } - }) - }, - /** - * 生命周期函数--监听页面初次渲染完成 - */ - onReady: function () { + }) + }, + delM() { + let that = this + let arr = this.data.list + let suid = [] + arr.forEach(item => { + if (item.checked) { + suid.push(item.sku_id) + } + }); + let skuids = suid.join(',') + wx.showModal({ + title: '提示', + content: '确定要删除选定的产品?', + success: function (res) { + if (res.confirm) { + commonApi.user_post("cart/del_sku", { + sku_id: skuids + }).then(res => { + if (res.code == 1) { + wx.showToast({ + title: '删除成功', + icon: "success" + }) + that.getList(); + } + }) - }, + } else { + console.log('取消') + } + } + }) + }, + /** + * 生命周期函数--监听页面初次渲染完成 + */ + onReady: function () { - /** - * 生命周期函数--监听页面显示 - */ - onShow: function () { - util.pagePoint({ - event: 'cart_view' - }, 1) - app.globalData.list = null - app.globalData.createDate = null - app.globalData.index = 0 - app.globalData.productPrice = 0 - app.globalData.ticketPrice = 0 - this.data.productType = '' - }, + }, - /** - * 生命周期函数--监听页面隐藏 - */ - onHide: function () { + /** + * 生命周期函数--监听页面显示 + */ + onShow: function () { + util.pagePoint({ + event: 'cart_view' + }, 1) + app.globalData.list = null + app.globalData.createDate = null + app.globalData.index = 0 + app.globalData.productPrice = 0 + app.globalData.ticketPrice = 0 + this.data.productType = '' + }, - }, + /** + * 生命周期函数--监听页面隐藏 + */ + onHide: function () { - /** - * 生命周期函数--监听页面卸载 - */ - onUnload: function () { + }, - }, + /** + * 生命周期函数--监听页面卸载 + */ + onUnload: function () { - /** - * 页面相关事件处理函数--监听用户下拉动作 - */ - onPullDownRefresh: function () { + }, - }, + /** + * 页面相关事件处理函数--监听用户下拉动作 + */ + onPullDownRefresh: function () { - /** - * 页面上拉触底事件的处理函数 - */ - onReachBottom: function () { + }, - } + /** + * 页面上拉触底事件的处理函数 + */ + onReachBottom: function () { + + } }) \ No newline at end of file diff --git a/pages/user/cartlist/list.json b/pages/user/cartlist/list.json index 18a9446..58d0c51 100644 --- a/pages/user/cartlist/list.json +++ b/pages/user/cartlist/list.json @@ -1,5 +1,6 @@ { "usingComponents": { - "title": "/pages/component/TitleHeader" + "title": "/pages/component/TitleHeader", + "code":"../../order/components/wxqrCode/index" } } \ No newline at end of file diff --git a/pages/user/cartlist/list.wxml b/pages/user/cartlist/list.wxml index 970316e..c8478c6 100644 --- a/pages/user/cartlist/list.wxml +++ b/pages/user/cartlist/list.wxml @@ -41,4 +41,6 @@ 全选 删除 - \ No newline at end of file + + + \ No newline at end of file From 56819d449f2581c13e0f105fc98c655b0f1b98d1 Mon Sep 17 00:00:00 2001 From: chenkainan Date: Fri, 23 Jun 2023 13:32:57 +0800 Subject: [PATCH 071/471] =?UTF-8?q?=E4=B9=A6=E5=88=B8=E6=94=AF=E4=BB=98?= =?UTF-8?q?=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 2 +- pages/order/pay/index.js | 9 ++++++++- pages/order/pay/index.wxml | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/app.js b/app.js index 3199bb7..73e4dbc 100644 --- a/app.js +++ b/app.js @@ -21,7 +21,7 @@ App({ unique_key: "wechatxcx" }).then(res => { let data = JSON.parse(res.data); - data.isTest = data.isTest81? true : false; + data.isTest = data.isTest82? true : false; this.globalData.configJson = data }).then(() => { // 获取ui配置文件 diff --git a/pages/order/pay/index.js b/pages/order/pay/index.js index 7481d63..53f5e68 100644 --- a/pages/order/pay/index.js +++ b/pages/order/pay/index.js @@ -17,7 +17,8 @@ Page({ showNumMask: false, activePay:false,//是否活动支付 SUBWALLET:false, - wxPay:false + wxPay:false, + isBook:false }, /** @@ -81,6 +82,12 @@ Page({ commonApi.user_post("order/query",{ order_id:this.data.id }).then(res=>{ + // 书券产品 + if(res.data.order_product_list[0].product_id == 75012 || res.data.order_product_list[0].product_id == 75013){ + this.setData({ + isBook:true + }) + } if(res.data.create_time && res.data.auto_close_time && res.data.state=='UNPAID'){ let time = (new Date(res.data.create_time.replace(/-/g,'/')).getTime() + Number(res.data.auto_close_time) * 1000); this.daojishi(time); diff --git a/pages/order/pay/index.wxml b/pages/order/pay/index.wxml index 834cbb6..80c6d17 100644 --- a/pages/order/pay/index.wxml +++ b/pages/order/pay/index.wxml @@ -28,7 +28,7 @@ 支付方式: - + 微信支付 From 97c6001038d46ad2d0a5d9fb13b0be9392447505 Mon Sep 17 00:00:00 2001 From: nige Date: Sat, 1 Jul 2023 16:21:32 +0800 Subject: [PATCH 072/471] =?UTF-8?q?=E4=BC=98=E6=83=A0=E5=88=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/order/components/coupon/index.js | 48 +++++++++++++++++++++++--- pages/order/coupon/index.js | 33 ++++++++++++++++-- pages/order/movie/index.js | 21 +++++++---- pages/order/movie/index.wxml | 2 +- pages/order/postOrder/index.js | 14 +++++--- pages/order/postOrder/index.wxml | 2 +- pages/order/roadOrder/index.js | 11 +++--- pages/order/roadOrder/index.wxml | 2 +- pages/order/scene/index.js | 30 +++++++++------- pages/order/scene/index.wxml | 2 +- 10 files changed, 125 insertions(+), 40 deletions(-) diff --git a/pages/order/components/coupon/index.js b/pages/order/components/coupon/index.js index 14cf5dc..0fbb534 100644 --- a/pages/order/components/coupon/index.js +++ b/pages/order/components/coupon/index.js @@ -1,4 +1,5 @@ // pages/order/components/coupon/index.js +import commonApi from "../../../../utils/https/common" let app = getApp() Component({ /** @@ -23,20 +24,57 @@ Component({ }, pageLifetimes: { show: function() { - this.setData({ - coupon:app.globalData.couponInfo - }) + this.getMaxCoupon() } }, - + lifetimes:{ + attached(){ + }, + }, /** * 组件的方法列表 */ methods: { setNullCoupon:function(){ + app.globalData.couponInfo = null this.setData({ coupon:null }) - } + }, + getMaxCoupon(){ + // console.log(app.globalData.couponInfo); + console.log(this.data.coupon); + if (app.globalData.couponInfo===false) { + this.setData({ + coupon:null + }) + this.triggerEvent('getNewCoupon',null); + }else{ + commonApi.user_post('coupon/use_max_coupon_list',{ + money:this.data.money, + sku_ids:this.data.sku + }).then(res=>{ + if (app.globalData.couponInfo&&app.globalData.couponInfo.hasOwnProperty('SubCoupon')) { + this.setData({ + coupon:app.globalData.couponInfo + }) + this.triggerEvent('getNewCoupon',app.globalData.couponInfo); + console.log("我用的原来的数据"); + }else{ + console.log("我用的新的数据"); + if ( Object.keys(res.data).length!=0) { + app.globalData.couponInfo = res.data + this.setData({ + coupon:res.data + }) + console.log(this.data.coupon); + this.triggerEvent('getNewCoupon',res.data); + } + } + }) + } + } + }, + }) diff --git a/pages/order/coupon/index.js b/pages/order/coupon/index.js index 1b7c0c3..5a3d7b1 100644 --- a/pages/order/coupon/index.js +++ b/pages/order/coupon/index.js @@ -15,6 +15,7 @@ Page({ /** * 生命周期函数--监听页面加载 */ + onLoad: function (options) { this.getList(options) }, @@ -30,6 +31,27 @@ Page({ this.setData({ list:res.data }) + this.getMaxC(options) + }) + }, + //获取最高优惠 + getMaxC(options){ + commonApi.user_post('coupon/use_max_coupon_list',{ + money:options.money, + sku_ids:options.sku + }).then(res=>{ + console.log(app.globalData.couponInfo); + + app.globalData.couponInfo?app.globalData.couponInfo:app.globalData.couponInfo= res.data; + let listT = this.data.list + listT.forEach(item => { + if (item.id == app.globalData.couponInfo.id) { + item.selected = true + } + }); + this.setData({ + list:listT + }) }) }, selectIt:function(e){ @@ -53,10 +75,15 @@ Page({ list.map(item=>{ if(item.selected){ coupon = item; + item.SubCoupon = true } }) - console.log(coupon) - app.globalData.couponInfo = coupon; + if (coupon===null) { + app.globalData.couponInfo = false + }else{ + app.globalData.couponInfo = coupon; + } + util.back() }, @@ -71,7 +98,7 @@ Page({ * 生命周期函数--监听页面显示 */ onShow: function () { - app.globalData.couponInfo = null; + }, /** diff --git a/pages/order/movie/index.js b/pages/order/movie/index.js index 7a449ef..d722ee3 100644 --- a/pages/order/movie/index.js +++ b/pages/order/movie/index.js @@ -13,7 +13,7 @@ Page({ tel:'', product:null, price:0, - coupon:null, + coupon:app.globalData.couponInfo, prizeId:null, num:0, sPrice:0, @@ -24,7 +24,10 @@ Page({ * 生命周期函数--监听页面加载 */ onLoad: function (options) { - console.log(options); + app.globalData.couponInfo = null + this.setData({ + coupon:app.globalData.couponInfo + }) this.setData({ prizeId:wx.getStorageSync('prizeId') }) @@ -123,22 +126,26 @@ Page({ this.setData({ hideMx:!this.data.hideMx }) - }, + }, + //获取最高优惠券 + getNewCoupon(e){ + this.setData({ + coupon:e.detail + }) + }, /** * 生命周期函数--监听页面显示 */ onShow: function () { - this.setData({ - coupon:app.globalData.couponInfo, - }) + }, /** * 生命周期函数--监听页面隐藏 */ onHide: function () { - app.globalData.couponInfo = null + }, /** diff --git a/pages/order/movie/index.wxml b/pages/order/movie/index.wxml index a749339..0172212 100644 --- a/pages/order/movie/index.wxml +++ b/pages/order/movie/index.wxml @@ -31,7 +31,7 @@ 手机号码: - + diff --git a/pages/order/postOrder/index.js b/pages/order/postOrder/index.js index f847587..265207d 100644 --- a/pages/order/postOrder/index.js +++ b/pages/order/postOrder/index.js @@ -12,7 +12,7 @@ Page({ from: null, address: null, postFee: 0, - coupon: null, + coupon:app.globalData.couponInfo, sku_id: '', kjId: null, gp_id: null, @@ -255,6 +255,12 @@ Page({ }) this.changePrice() }, + //获取最高优惠券 + getNewCoupon(e){ + this.setData({ + coupon:e.detail + }) + }, /** * 生命周期函数--监听页面初次渲染完成 @@ -267,9 +273,9 @@ Page({ * 生命周期函数--监听页面显示 */ onShow: function () { - this.setData({ - coupon: app.globalData.couponInfo - }) + // this.setData({ + // coupon: app.globalData.couponInfo + // }) // 获取补贴 // if (this.data.product.length == 1) { // commonApi.user_post("product/getProductAllowancePrice", { diff --git a/pages/order/postOrder/index.wxml b/pages/order/postOrder/index.wxml index 6c3ab93..8753b18 100644 --- a/pages/order/postOrder/index.wxml +++ b/pages/order/postOrder/index.wxml @@ -47,7 +47,7 @@ - + 合计: - + + 云上文博会 @@ -259,17 +264,17 @@ + src="https://static.ticket.sz-trip.com/jundaosuzhou/images/jdsz/douinsuzhou.png" mode="aspectFill"> + src="https://static.ticket.sz-trip.com/jundaosuzhou/images/jdsz/suzhoumeishi.png" mode="aspectFill"> + src="https://static.ticket.sz-trip.com/jundaosuzhou/images/jdsz/yuyindaohang.png" mode="aspectFill"> - + src="https://static.ticket.sz-trip.com/jundaosuzhou/images/jdsz/youjigonlue.png" mode="aspectFill"> + diff --git a/pages/index/index.wxss b/pages/index/index.wxss index 649f537..5858b74 100644 --- a/pages/index/index.wxss +++ b/pages/index/index.wxss @@ -281,7 +281,7 @@ margin: 60rpx 0; } .pic-list image { - width: 122rpx; + width: 155.33rpx; height: 200rpx; display: block; } diff --git a/pages/info/groupOrderInfo/index.js b/pages/info/groupOrderInfo/index.js index 412a43e..65f25de 100644 --- a/pages/info/groupOrderInfo/index.js +++ b/pages/info/groupOrderInfo/index.js @@ -127,6 +127,11 @@ Page({ }) } }, + goOrder(){ + wx.navigateTo({ + url: '/pages/user/order/museumOrderInfo/index?id='+ this.data.id, + }) + }, /** * 生命周期函数--监听页面初次渲染完成 */ diff --git a/pages/info/groupOrderInfo/index.wxml b/pages/info/groupOrderInfo/index.wxml index abab27b..d76bc7e 100644 --- a/pages/info/groupOrderInfo/index.wxml +++ b/pages/info/groupOrderInfo/index.wxml @@ -58,4 +58,13 @@ 截屏分享给团员 + + + + 查看 + + + 订单 + + \ No newline at end of file diff --git a/pages/info/groupOrderInfo/index.wxss b/pages/info/groupOrderInfo/index.wxss index e8cb5af..13d8fb0 100644 --- a/pages/info/groupOrderInfo/index.wxss +++ b/pages/info/groupOrderInfo/index.wxss @@ -169,4 +169,25 @@ page { position: absolute; right: 20rpx; top: 20rpx; +} +.order-btn{ + width: 110rpx; +height: 110rpx; +background: #FFFFFF; +box-shadow: 0rpx 0rpx 11rpx 0rpx rgba(17,17,17,0.2); +border-radius: 55rpx; +display: flex; +flex-direction: column; +align-items: center; +justify-content: center; +position: fixed; +bottom: 120rpx; +right: 20rpx; +box-sizing: border-box; +font-size: 28rpx; +font-family: PingFang SC; +font-weight: bold; +color: #0B898E; + + } \ No newline at end of file diff --git a/pages/info/sceneProductInfo/index.js b/pages/info/sceneProductInfo/index.js index e08b365..2abd7b0 100644 --- a/pages/info/sceneProductInfo/index.js +++ b/pages/info/sceneProductInfo/index.js @@ -24,7 +24,7 @@ Page({ showAllowance: false, allowance_data: null, //购物车数量 - producNum: 1, + productNum: 1, skuIndex: 0, aniSkuIndex: -1, cartCount: 0, @@ -316,8 +316,10 @@ Page({ } let index = e.currentTarget.dataset.index; this.setData({ - skuIndex: index + skuIndex: index, + productNum:1 }) + }, order: function (e) { commonApi.user_post("/product/checkStock", { @@ -354,6 +356,7 @@ Page({ product = { product: this.data.info.product[this.data.skuList[this.data.skuIndex].proIndex] } + product.productNum = this.data.productNum app.globalData.product = { ...sku, ...product @@ -365,7 +368,7 @@ Page({ } else { commonApi.user_post("cart/add_sku", { sku_id: this.data.skuList[this.data.skuIndex].id, - num: this.data.producNum + num: this.data.productNum }).then(res => { if (res.code == 1) { commonApi.user_post('cart/get_list', {}).then(res => { @@ -702,10 +705,6 @@ Page({ }).exec() } }) - - - - }, hideSku: function () { this.setData({ @@ -715,15 +714,22 @@ Page({ }, //加减数量 minus: function () { - if (this.data.producNum == 1) return; + if (this.data.productNum == 1) return; this.setData({ - producNum: this.data.producNum - 1 + productNum: this.data.productNum - 1 }) }, add: function () { + if (this.data.productNum == this.data.skuList[this.data.skuIndex].sku_model.traveller_limit_num){ + wx.showToast({ + title: '本产品单笔限购'+this.data.skuList[this.data.skuIndex].sku_model.traveller_limit_num, + icon:'none' + }); + }else{ this.setData({ - producNum: this.data.producNum + 1 + productNum: this.data.productNum + 1 }) + } }, //立即预定 showOrder: function () { diff --git a/pages/info/sceneProductInfo/index.wxml b/pages/info/sceneProductInfo/index.wxml index 04562e2..11a7cae 100644 --- a/pages/info/sceneProductInfo/index.wxml +++ b/pages/info/sceneProductInfo/index.wxml @@ -130,7 +130,7 @@ 数量 - {{producNum}} + {{productNum}} diff --git a/pages/list/movieticket/index.js b/pages/list/movieticket/index.js index 1f147c2..021a01c 100644 --- a/pages/list/movieticket/index.js +++ b/pages/list/movieticket/index.js @@ -21,7 +21,7 @@ Page({ * 生命周期函数--监听页面加载 */ onLoad: function (options) { - commonApi._post("act/get_suzhou_areas").then(res=>{ + commonApi._post("act/get_suzhou_areas_syt").then(res=>{ res.data.unshift({ area_id:"", area_title:"苏州" diff --git a/pages/list/movieticket/list/ticket/index.js b/pages/list/movieticket/list/ticket/index.js index 8dacd88..7fdd246 100644 --- a/pages/list/movieticket/list/ticket/index.js +++ b/pages/list/movieticket/list/ticket/index.js @@ -36,7 +36,7 @@ Page({ id: options.id, title: options.title }) - commonApi._post("act/get_suzhou_areas").then(res => { + commonApi._post("act/get_suzhou_areas_syt").then(res => { res.data.unshift({ area_id: "", area_title: "苏州" diff --git a/pages/order/road/index.wxml b/pages/order/road/index.wxml index 11185fd..9d857f5 100644 --- a/pages/order/road/index.wxml +++ b/pages/order/road/index.wxml @@ -24,7 +24,7 @@ {{(index+1)>=10?(index+1):("0"+(index+1))}} - ¥{{prices[month[monthIndex]+'-'+(index+1)].product_price/100}} + ¥{{prices[month[monthIndex]+'-'+(index+1)].m_price/100}} 售罄 diff --git a/pages/order/scene/index.js b/pages/order/scene/index.js index ebf2e9c..009d5cf 100644 --- a/pages/order/scene/index.js +++ b/pages/order/scene/index.js @@ -46,7 +46,8 @@ Page({ date:null, ticket_type:app.globalData.product.sku.ticket_type || 1, isCar:options.isCar - }) + }) + console.log(app.globalData); if (!app.globalData.product) { util.back(); return; diff --git a/pages/user/order/list.js b/pages/user/order/list.js index de965af..584fcc5 100644 --- a/pages/user/order/list.js +++ b/pages/user/order/list.js @@ -95,10 +95,14 @@ Page({ let orderNum = 0; item.order_product_list.map(order=>{ orderNum = orderNum + order.product_num; + /// // 景点线路场馆酒店四类产品的订单 如果是已支付未出票的显示出票中 if(order.state=='PAID' && (order.product_model=='venue' || order.product_model=='ticket' || order.product_model=='hotel' || order.product_model=='line')){ item.orderStateText="出票中" } + if(order.state=='WAIT_USE' && (order.product_model=='venue' || order.product_model=='ticket' || order.product_model=='hotel' || order.product_model=='line')){ + item.orderStateText="已出票" + } }) if(item.order_product_list.length==1 && item.order_product_list[0].scene_id && item.state!='UNPAID' && item.state!='CLOSED' && item.state.indexOf("REFUND")==-1 && this.data.lon && this.data.lat){ let ajax = commonApi.user_post("order/tripplan",{ From 2d74e1b57017448f756e6912768ac0797a7a443b Mon Sep 17 00:00:00 2001 From: nige Date: Sun, 16 Jul 2023 13:16:09 +0800 Subject: [PATCH 075/471] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/user/order/sceneOrderInfo/index.js | 20 +++++++++----------- pages/user/order/sceneOrderInfo/index.wxml | 2 +- 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/pages/user/order/sceneOrderInfo/index.js b/pages/user/order/sceneOrderInfo/index.js index b06dc2b..69f972d 100644 --- a/pages/user/order/sceneOrderInfo/index.js +++ b/pages/user/order/sceneOrderInfo/index.js @@ -27,7 +27,8 @@ Page({ sysm:false, sysmText:'更多', sysm2:false, - sysm2Text:'更多' + sysm2Text:'更多', + imgLen:[] }, /** @@ -48,11 +49,13 @@ Page({ }) }, getCodeImg:function(){ - let that = this,sys =wx.getSystemInfoSync(),radio = sys.screenWidth / 750,qrcode=this.data.info.order_product_list[0].qrcode,codeImgs=[],codeId=0; - - + let that = this,sys =wx.getSystemInfoSync(),radio = sys.screenWidth / 750,qrcode=this.data.info.order_product_list[0].qrcode,codeImgs=[],codeId=0,arr = []; this.data.info.order_product_list.forEach(qrcode=>{ - qrcode.qrcode.map((item)=>{ + qrcode.qrcode.map((item,index)=>{ + arr.push(index) + this.setData({ + imgLen:arr + }) if(item.use_url&&item.use_code){ codeImgs.push({img:item.use_url,code:item.use_code,text:item.use_code_display_text,state:item.stateText}); // if(codeImgs.length==qrcode.qrcode.length){ @@ -65,8 +68,6 @@ Page({ }) } else { - console.log(1231231232131); - console.log(codeId); new QRCode('damocode'+codeId,{ text: item.use_code, width: 300 * radio, @@ -74,14 +75,11 @@ Page({ padding:10, // 生成二维码四周自动留边宽度,不传入默认为0 correctLevel: QRCode.CorrectLevel.H, // 二维码可辨识度 callback: (res) => { + console.log(res); codeImgs.push({img:res.path,code:item.use_code,text:item.use_code_display_text,state:item.stateText}); that.setData({ codeImgs:codeImgs }) - - // if(codeImgs.length==qrcode.qrcode.length){ - - // } } }) codeId = codeId + 1 diff --git a/pages/user/order/sceneOrderInfo/index.wxml b/pages/user/order/sceneOrderInfo/index.wxml index 1e497f9..3e1836f 100644 --- a/pages/user/order/sceneOrderInfo/index.wxml +++ b/pages/user/order/sceneOrderInfo/index.wxml @@ -2,7 +2,7 @@ - + {{info.state_text}} - - {{info.list.state_text}} - {{info.list.team_name}} + + {{info.list.team_name}} + + 成功预约人数 + {{info.list.members_count}} + 场馆名称:{{info.list.scene.title}} 预约时间:{{info.list.order_info.product_list[0].start_time}} ~ {{info.list.order_info.product_list[0].end_time}} - + 预约人数:{{info.list.member_num}} 填写信息人数:{{info.list.members_count}} - - 提交订单 - 组团中({{restTime}}) - - - {{info.list.state_text}} - 成功预约人数 - {{info.list.members_count}} + + 提交订单 + {{info.list.state_text}} {{(restTime)}} - 倒计时结束后订单将自动提交至后台,订单提交后团员信息将无法修改 + 倒计时结束后订单将自动提交至后台,订单提交后团员信息将无法修改 已填写信息团员 预约成功团员 diff --git a/pages/info/groupOrderInfo/index.wxss b/pages/info/groupOrderInfo/index.wxss index 13d8fb0..d93f1d9 100644 --- a/pages/info/groupOrderInfo/index.wxss +++ b/pages/info/groupOrderInfo/index.wxss @@ -15,8 +15,6 @@ page { .code { color: #0B898E; font-size: 40rpx; - font-weight: bold; - line-height: 100rpx; } .top-tips { display: flex; @@ -128,14 +126,14 @@ page { .count-down { position: absolute; left: 50%; - line-height: 40rpx; + line-height: 50rpx; background: #0B898E; border-radius: 0px 0px 20rpx 20rpx; text-align: center; color: #fff; - font-size: 26rpx; - width: 300rpx; - margin-left: -150rpx; + font-size: 32rpx; + width: 320rpx; + margin-left: -160rpx; top: 0; } .top-new-tips { diff --git a/pages/order/card/index.js b/pages/order/card/index.js index d46a8ce..daa974d 100644 --- a/pages/order/card/index.js +++ b/pages/order/card/index.js @@ -90,7 +90,7 @@ Page({ add:function(){ if(this.data.product.sku.sku_model.traveller_limit_num!=0 && this.data.productNum==this.data.product.sku.sku_model.traveller_limit_num){ wx.showToast({ - title: '出行人限购'+this.data.product.sku.sku_model.traveller_limit_num+"份", + title: '本产品单笔限购'+this.data.product.sku.sku_model.traveller_limit_num+"份", icon:'none' }) return; diff --git a/pages/order/components/contact/index.js b/pages/order/components/contact/index.js index 57ad8ab..980d2a3 100644 --- a/pages/order/components/contact/index.js +++ b/pages/order/components/contact/index.js @@ -253,7 +253,7 @@ Component({ } else if(item.selected!=1 && traveller_limit_num!=0 && num>=traveller_limit_num && traveller_limit_num!=-1){ wx.showToast({ - title: '出行人限购'+traveller_limit_num+"份", + title: '本产品单笔限购'+traveller_limit_num+"份", icon:'none' }) return; diff --git a/pages/order/components/date/index.wxml b/pages/order/components/date/index.wxml index b390736..aa27875 100644 --- a/pages/order/components/date/index.wxml +++ b/pages/order/components/date/index.wxml @@ -4,7 +4,7 @@ {{item.date}} - 不开放 + 不可定 {{item.price==0 || kjIdCom?'免费':('¥'+item.price/100)}} {{item.tipText?item.tipText:'售罄'}} @@ -18,7 +18,7 @@ - {{item.start_time}}-{{item.end_time}} 有票 售罄不开放({{'余票'+item.stock_number}}) + {{item.start_time}}-{{item.end_time}} 有票 售罄不可定({{'余票'+item.stock_number}}) + ¥{{dates[item.date].price==0 || isKj?'免费':(dates[item.date].price/100)}} + {{dates[item.date].tipText?dates[item.date].tipText:'售罄'}} diff --git a/pages/order/components/date/index.wxml b/pages/order/components/date/index.wxml index aa27875..13a90d3 100644 --- a/pages/order/components/date/index.wxml +++ b/pages/order/components/date/index.wxml @@ -1,10 +1,11 @@ + 使用日期 - - {{item.date}} - 不可定 + + {{tool.showAllSeldDate(item.date,index)}} + 不可定 {{item.price==0 || kjIdCom?'免费':('¥'+item.price/100)}} {{item.tipText?item.tipText:'售罄'}} @@ -18,7 +19,7 @@ - {{item.start_time}}-{{item.end_time}} 有票 售罄不可定({{'余票'+item.stock_number}}) + {{item.start_time}}-{{item.end_time}} 有票 售罄 不可定({{'余票'+item.stock_number}}) - - - - {{product.info.movieName}} - {{product.info.show_date}} {{product.info.show_time}}-{{product.info.close_time}} {{'('+product.info.show_version+')'}} - - {{product.info.cinemaName}} - {{product.info.hallName}} {{product.info.selectSeatInfo.seatInfo}} - - + + + + {{product.info.movieName}} + {{product.info.show_date}} {{product.info.show_time}}-{{product.info.close_time}} {{'('+product.info.show_version+')'}} + + {{product.info.cinemaName}} + {{product.info.hallName}} {{product.info.selectSeatInfo.seatInfo}} + + - - - - 不支持退票 - - - - - - 不支持改签 - - + + + + 不支持退票 + + + + + + 不支持改签 + + - 手机号码: - - - - - + 手机号码: + + + - - - 费用明细 - - - ¥{{price/100}} - - - - - 票价 - - - ¥{{sPrice}} x {{num}} - - - - - 优惠券 - - - - ¥{{coupon?coupon.activity.money/100:0}} - - - - - - - 订单总额:¥{{((price - (coupon?coupon.activity.money:0))>0?(price - (coupon?coupon.activity.money:0)):0)/100}} - - + + + 费用明细 + + + ¥{{price/100}} + + + + + 票价 + + + ¥{{sPrice}} x {{num}} + + + + + 优惠券 + + + - ¥{{coupon?coupon.activity.money/100:0}} + + + + + + + 订单总额:¥{{((price - (coupon?coupon.activity.money:0))>0?(price - (coupon?coupon.activity.money:0)):0)/100}} + + - - ¥0 - ¥{{((price - (coupon?coupon.activity.money:0))>0?(price - (coupon?coupon.activity.money:0)):0)/100}} - 总计优惠{{coupon?coupon.activity.money/100:0}}元 - - 明细 - 立即付款 + + ¥0 + ¥{{((price - (coupon?coupon.activity.money:0))>0?(price - (coupon?coupon.activity.money:0)):0)/100}} + 总计优惠{{coupon?coupon.activity.money/100:0}}元 + + 明细 + 立即付款 + + + + + + 退改须知 + + + 该产品一经购买,不支持退票/改签, 您的订单页面会显示【不支持退票】【不支持改签】提示,此时 平台无法为您处理退。 请您提前规划好出行时间,按时观影。 + + + + + 我已认可此规则 + + + + 继续购票 + + + 暂不购票 + + \ No newline at end of file diff --git a/pages/order/movie/index.wxss b/pages/order/movie/index.wxss index 8b58f41..044ca49 100644 --- a/pages/order/movie/index.wxss +++ b/pages/order/movie/index.wxss @@ -183,4 +183,103 @@ page { } .fix-info.hide{ bottom:-300rpx; -} \ No newline at end of file +} + +.mask { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + background-color: rgba(0, 0, 0, 0.5); + z-index: 999; + } + .model{ + width: 600rpx; + min-height: 667rpx; + background: #FFFFFF; + border-radius: 20rpx; + position: absolute; + box-sizing: border-box; + + } + .model-title{ + text-align: center; + font-size: 34rpx; + font-family: PingFang SC; + font-weight: bold; + color: #333333; + margin-top: 40rpx; + box-sizing: border-box; + + } + .model-content{ + margin-top:44rpx; + font-size: 32rpx; + font-family: PingFang SC; + font-weight: 500; + color: rgba(102, 102, 102, 1); + padding: 0 45rpx; + line-height: 51rpx; + } + .btn-send{ + + width: 440rpx; + height: 87rpx; + + color: #FFFFFF; +background: #CCCCCC; + border-radius: 43rpx; + margin: 0 auto; + margin-top: 40rpx; + font-size: 32rpx; + font-family: PingFang SC; + font-weight: bold; + line-height: 87rpx; + text-align: center; + + } + .model-content text{ + color: #D62828; + font-weight: bold; + } + .select-btn{ + display: flex; + align-items: center; + justify-content: center; + margin-top:90rpx; + } + .select-btn image{ + width: 33.33rpx; + height: 33.33rpx; + } + .select-text{ + margin-left: 19rpx; + font-size: 28rpx; + font-family: PingFang SC; + font-weight: 500; + color: #666666; + + } + .btn-close{ + position: absolute; + bottom: -70rpx; + text-align: center; + width: 100%; + font-size: 32rpx; + font-family: PingFang SC; + font-weight: bold; + color: #FFFFFF; + } + .close-img{ + width: 33.33rpx; + height: 33.33rpx; + position: absolute; + right: 32rpx; + top: 30rpx; + } + .btn-send.send{ + background: #D62828; + color: #FFFFFF; + + } \ No newline at end of file diff --git a/pages/order/orderList/index.wxss b/pages/order/orderList/index.wxss index 5685983..17386b9 100644 --- a/pages/order/orderList/index.wxss +++ b/pages/order/orderList/index.wxss @@ -61,5 +61,4 @@ page{ align-items: center; background-color: #fff; margin: 30rpx 25rpx; - } \ No newline at end of file diff --git a/pages/user/cartlist/list.js b/pages/user/cartlist/list.js index 4c7bbc2..5c4dfc4 100644 --- a/pages/user/cartlist/list.js +++ b/pages/user/cartlist/list.js @@ -23,7 +23,8 @@ Page({ flag: false, //判断订单是否同时有商品和票 isCar: 'single', //判断是否购物车 showQrCode: false, - wxqrcode: null + wxqrcode: null, + showModel:false }, /** @@ -222,6 +223,27 @@ Page({ }) }, + checkOrder(){ + console.log(this.data.list); + let list = this.data.list,product = [] + list.map(item => { + if (item.checked) { + product.push(item) + } + }) + if (product.length>1) { + this.setData({ + showModel:true + }) + }else{ + this.order() + } + }, + closeModel(){ + this.setData({ + showModel:false + }) + }, touchStart(e) { //移动前点击的位置 console.log(e) // 在开始触摸时将所有startTouchMove设置为flase,对当前的为true diff --git a/pages/user/cartlist/list.wxml b/pages/user/cartlist/list.wxml index c8478c6..0db4975 100644 --- a/pages/user/cartlist/list.wxml +++ b/pages/user/cartlist/list.wxml @@ -34,7 +34,7 @@ ¥{{allPrice/100}} - 去下单 + 去下单 @@ -43,4 +43,23 @@ 删除 - \ No newline at end of file + + + + + 购买须知 + + + 多产品订单一经购买 + 不支持部分退改 + + + + 取消 + + + 确定 + + + + diff --git a/pages/user/cartlist/list.wxss b/pages/user/cartlist/list.wxss index 4f59ab3..c5c40fd 100644 --- a/pages/user/cartlist/list.wxss +++ b/pages/user/cartlist/list.wxss @@ -174,4 +174,69 @@ page { color: #FB6E4D; background: white; margin-right:40rpx ; -} \ No newline at end of file +} + .mask { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + background-color: rgba(0, 0, 0, 0.5); + z-index: 999; + } + .model{ + width: 561rpx; + min-height: 449rpx; + background: #FFFFFF; + border-radius: 13rpx; + position: absolute; + box-sizing: border-box; + + } + .model-title{ + text-align: center; + font-size: 34rpx; + font-family: PingFang SC; + font-weight: bold; + color: #333333; + margin-top: 32rpx; + box-sizing: border-box; + + } + .model-content{ + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + flex-wrap: wrap; + margin-top: 100rpx; + font-size: 34rpx; + font-family: PingFang SC; + font-weight: 500; + color: #333333; + } + .btn-list{ + height: 106rpx; + width: 100%; + position: absolute; + bottom: 0; + border-top: 1rpx solid rgba(216, 216, 216, .99); + padding: 10rpx; + box-sizing: border-box; + display: flex; + justify-content: space-between; + align-items: center; + + } + .model-btn{ + width: 50%; + text-align: center; + height: 86rpx; + line-height: 86rpx; + + font-size: 34rpx; + font-family: PingFang SC; + font-weight: 500; + color: #333333; + } + diff --git a/utils/filter.wxs b/utils/filter.wxs index abc5cd1..8fe5028 100644 --- a/utils/filter.wxs +++ b/utils/filter.wxs @@ -25,11 +25,26 @@ var gotoUrl = function(item){ str += "/index?id="+item.id; return str; } + // 价格日历显示返回 +var showAllSeldDate = function (date, index) { + // return date.substring(5, 10) + switch (index) { + case 0: + return '今天' + date.substring(5, 10) + case 1: + return '明天' + date.substring(5, 10) + case 2: + return '后天' + date.substring(5, 10) + default: + return date.substring(5, 10) + } + } var toFix = function(value) { return (value / 100).toFixed(2); }; module.exports = { formateRichText:formateRichText, gotoUrl:gotoUrl, - toFix:toFix + toFix:toFix, + showAllSeldDate:showAllSeldDate }; \ No newline at end of file From fe3d8f20a793db9b784321203a96d2af2a7e2fec Mon Sep 17 00:00:00 2001 From: nige Date: Fri, 28 Jul 2023 17:49:46 +0800 Subject: [PATCH 080/471] =?UTF-8?q?=E4=BC=98=E6=83=A0=E5=88=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/info/postProductInfo/index.js | 3 +- pages/list/museum/index.js | 9 ++++ pages/order/card/index.js | 8 ++- pages/order/card/index.wxml | 2 +- pages/order/postOrder/index.js | 2 - pages/order/scene/index.js | 3 +- pages/order/scene/index.wxml | 2 +- pages/user/user.js | 24 ++++----- pages/user/user.wxml | 19 ++++++- pages/user/user.wxss | 80 ++++++++++++++++++++++++++++- 10 files changed, 129 insertions(+), 23 deletions(-) diff --git a/pages/info/postProductInfo/index.js b/pages/info/postProductInfo/index.js index 738a610..cf996ad 100644 --- a/pages/info/postProductInfo/index.js +++ b/pages/info/postProductInfo/index.js @@ -303,7 +303,7 @@ Page({ }) }, order: function () { - app.globalData.postProduct = null + app.globalData.postProduct = [] app.globalData.list = [] commonApi.user_post("/product/checkStock", { sku_id: this.data.info.sku[this.data.skuIndex].id, @@ -669,6 +669,7 @@ Page({ * 生命周期函数--监听页面显示 */ onShow: function () { + app.globalData.postProduct = [] if (!wx.getStorageSync('jstrip_token')) { return; } diff --git a/pages/list/museum/index.js b/pages/list/museum/index.js index 4f0d59a..aa11408 100644 --- a/pages/list/museum/index.js +++ b/pages/list/museum/index.js @@ -20,6 +20,15 @@ Page({ }, gotoDetail:function(e){ let item = e.currentTarget.dataset.item; + console.log(item); + if (item.id==5461) { + wx.navigateToMiniProgram({ + appId: 'wxfef80ee1ab7e58a2', + path: 'pages/inners/main' + }) + return; + } + util.gotoDetail(item,1); }, gotoDetailOther: function(e) { diff --git a/pages/order/card/index.js b/pages/order/card/index.js index daa974d..dbe8f82 100644 --- a/pages/order/card/index.js +++ b/pages/order/card/index.js @@ -76,7 +76,7 @@ Page({ setLinkman:function(e){ let linkmanList = e.detail; this.setData({ - productNum:linkmanList.length==0?1:linkmanList.length, + // productNum:linkmanList.length==0?1:linkmanList.length, linkmanList:linkmanList }) }, @@ -196,6 +196,12 @@ Page({ console.log(res) }) }, + //获取最高优惠券 + getNewCoupon(e){ + this.setData({ + coupon:e.detail + }) + }, /** * 生命周期函数--监听页面初次渲染完成 diff --git a/pages/order/card/index.wxml b/pages/order/card/index.wxml index dc5a550..638aeb7 100644 --- a/pages/order/card/index.wxml +++ b/pages/order/card/index.wxml @@ -32,7 +32,7 @@ 邮寄 - + diff --git a/pages/order/postOrder/index.js b/pages/order/postOrder/index.js index 265207d..f48f637 100644 --- a/pages/order/postOrder/index.js +++ b/pages/order/postOrder/index.js @@ -315,8 +315,6 @@ Page({ * 生命周期函数--监听页面隐藏 */ onHide: function () { - console.log(12312312321); - }, /** diff --git a/pages/order/scene/index.js b/pages/order/scene/index.js index 6e3dbd9..bb104c2 100644 --- a/pages/order/scene/index.js +++ b/pages/order/scene/index.js @@ -36,6 +36,7 @@ Page({ * 生命周期函数--监听页面加载 */ onLoad: function (options) { + this.setData({ product: app.globalData.product, type: options.type, @@ -47,7 +48,7 @@ Page({ ticket_type:app.globalData.product.sku.ticket_type || 1, isCar:options.isCar }) - console.log(app.globalData); + if (!app.globalData.product) { util.back(); return; diff --git a/pages/order/scene/index.wxml b/pages/order/scene/index.wxml index 0dac30d..efebf2e 100644 --- a/pages/order/scene/index.wxml +++ b/pages/order/scene/index.wxml @@ -35,7 +35,7 @@ - diff --git a/pages/user/user.js b/pages/user/user.js index ab9607c..7fcff9d 100644 --- a/pages/user/user.js +++ b/pages/user/user.js @@ -16,7 +16,8 @@ Page({ orderList: [],//订单列表 timeList: [],//倒计时 timerOut: null,//定时器 - formatTime:[] + formatTime:[], + showModel:false }, /** @@ -60,6 +61,11 @@ Page({ } }) }, + closeModel(){ + this.setData({ + showModel:false + }) + }, /** * 生命周期函数--监听页面初次渲染完成 */ @@ -85,19 +91,9 @@ Page({ util.pagePoint(e) }, phoneCall:function(){ - wx.showModal({ - title:'呼叫人工客服', - content:'0512-66555111\n客服服务时间:08:30-17:30', - success:function(res){ - if (res.cancel) { - return - }else{ - wx.makePhoneCall({ - phoneNumber:'0512-66555111', - }) - } - } - }) + this.setData({ + showModel:true + }) }, getList:function(){ commonApi.user_post("order/list",{ diff --git a/pages/user/user.wxml b/pages/user/user.wxml index 3702040..27baf57 100644 --- a/pages/user/user.wxml +++ b/pages/user/user.wxml @@ -73,7 +73,7 @@ 在线客服 --> - 呼叫人工客服 + 人工客服 我的卡券 @@ -121,4 +121,21 @@ + + + + + 即将跳转人工客服 + 客服服务时间:08:30-17:30 + + + + + + + \ No newline at end of file diff --git a/pages/user/user.wxss b/pages/user/user.wxss index d503b9e..34d22ba 100644 --- a/pages/user/user.wxss +++ b/pages/user/user.wxss @@ -144,4 +144,82 @@ font-family: PingFang SC; font-weight: 400; color: #666666; margin-top: 10rpx; -} \ No newline at end of file +} +.mask { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + background-color: rgba(0, 0, 0, 0.5); + z-index: 999; + } + .model{ + width: 561rpx; + min-height: 449rpx; + background: #FFFFFF; + border-radius: 13rpx; + position: absolute; + box-sizing: border-box; + + } + .model-title{ + text-align: center; + font-size: 34rpx; + font-family: PingFang SC; + font-weight: bold; + color: #333333; + margin-top: 32rpx; + box-sizing: border-box; + + } + .model-content{ + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + flex-wrap: wrap; + margin-top: 100rpx; + font-size: 34rpx; + font-family: PingFang SC; + font-weight: 500; + color: #333333; + } + .btn-list{ + height: 106rpx; + width: 100%; + position: absolute; + bottom: 0; + border-top: 1rpx solid rgba(216, 216, 216, .99); + padding: 10rpx; + box-sizing: border-box; + display: flex; + justify-content: space-between; + align-items: center; + + } + .model-btn{ + width: 50%; + text-align: center; + height: 86rpx; + line-height: 86rpx; + + font-size: 34rpx; + font-family: PingFang SC; + font-weight: 500; + color: #333333; + } + + button{ + margin:0; + padding:0; + border-radius:0; + border:none; + background-color:transparent; + } + + button::after{ + border: none; + } + + \ No newline at end of file From 55e3ee61dd4fa15b8427aab44a2abfe1b2cb560d Mon Sep 17 00:00:00 2001 From: nige Date: Mon, 31 Jul 2023 09:28:37 +0800 Subject: [PATCH 081/471] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/order/scene/index.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pages/order/scene/index.js b/pages/order/scene/index.js index bb104c2..0472109 100644 --- a/pages/order/scene/index.js +++ b/pages/order/scene/index.js @@ -67,7 +67,7 @@ Page({ singlePrice: this.data.gp_id ? app.globalData.product.sku.event_price : app.globalData.product.sku.price }) console.log(this.data.product); - if (!this.data.kjId && !this.data.gp_id && this.data.product.isGroup != 1) { + if (!this.data.kjId && !this.data.gp_id && this.data.product.isGroup != 1 && this.data.type!='museum') { this.couponCom = this.selectAllComponents("#coupon")[0]; } }, @@ -137,8 +137,9 @@ Page({ icon: 'none' }) } - if (!this.data.kjId && !this.data.gp_id && this.data.product.isGroup != 1 && !this.data.flag) { + if (!this.data.kjId && !this.data.gp_id && this.data.product.isGroup != 1 && !this.data.flag && this.data.type!='museum') { this.couponCom.setNullCoupon() + } app.globalData.couponInfo = null; this.setData({ @@ -157,7 +158,7 @@ Page({ this.setData({ coupon: null }) - if (!this.data.kjId && !this.data.gp_id && this.data.product.isGroup != 1) { + if (!this.data.kjId && !this.data.gp_id && this.data.product.isGroup != 1 && this.data.type!='museum') { this.couponCom.setNullCoupon() } app.globalData.couponInfo = null; From 42a5925dddc37e08b0dd76b22cae918549871754 Mon Sep 17 00:00:00 2001 From: nige Date: Thu, 3 Aug 2023 17:40:48 +0800 Subject: [PATCH 082/471] =?UTF-8?q?=E5=8D=9A=E7=89=A9=E9=A6=86,=E7=94=B5?= =?UTF-8?q?=E5=BD=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 2 +- pages/list/activitynew/index.js | 29 ++++++++++++++++++++++++++++- pages/list/activitynew/index.wxml | 12 ++++++++++-- pages/list/activitynew/index.wxss | 29 +++++++++++++++++++++++------ pages/list/museum/index.js | 7 +++++++ 5 files changed, 69 insertions(+), 10 deletions(-) diff --git a/app.js b/app.js index 10916a2..a2fc7bd 100644 --- a/app.js +++ b/app.js @@ -21,7 +21,7 @@ App({ unique_key: "wechatxcx" }).then(res => { let data = JSON.parse(res.data); - data.isTest = data.isTest86? true : false; + data.isTest = data.isTest87? true : false; this.globalData.configJson = data }).then(() => { // 获取ui配置文件 diff --git a/pages/list/activitynew/index.js b/pages/list/activitynew/index.js index 2e38e77..5f4c314 100644 --- a/pages/list/activitynew/index.js +++ b/pages/list/activitynew/index.js @@ -26,13 +26,17 @@ Page({ lat: "", lon: "", keywords: "", - realKeywords: "" + realKeywords: "", + movieAreas:[], + movieArea:0 + }, /** * 生命周期函数--监听页面加载 */ onLoad: function (options) { + this.getMovieArea() let d = new Date(); let month = d.getMonth() + 1, day = d.getDate(); @@ -86,6 +90,18 @@ Page({ console.log(this.data.type); this.getList(); }, + getMovieArea(){ + commonApi._post("act/get_suzhou_areas_syt").then(res => { + res.data.unshift({ + area_id: "", + area_title: "苏州市" + }) + this.setData({ + movieAreas:res.data + }) + this.getList() + }) + }, changeArea: function (e) { this.setData({ area: e.detail.value, @@ -241,6 +257,7 @@ Page({ data.lon = this.data.lon; data.is_price_sort = this.data.sort == 'price'; data.is_distance_sort = this.data.sort == 'distance'; + data.city_code=this.data.movieAreas[this.data.movieArea].area_id||"" } // if(this.data.movieType==1){ // data.queryDate = this.data.date @@ -317,6 +334,16 @@ Page({ }) this.getList(); }, +setCity(e){ + this.setData({ + movieArea: e.detail.value, + list: [], + total: 1, + pageNo: 1, + moreFlag: true + }) + this.getList() +}, changeMovieType: function (e) { let type = e.currentTarget.dataset.type; this.setData({ diff --git a/pages/list/activitynew/index.wxml b/pages/list/activitynew/index.wxml index 8deb5c0..30c41da 100644 --- a/pages/list/activitynew/index.wxml +++ b/pages/list/activitynew/index.wxml @@ -74,8 +74,16 @@ - 离我最近 - 价格最低 + + + {{movieAreas[movieArea].area_title}} + + + + + + 离我最近 + 价格最低 diff --git a/pages/list/activitynew/index.wxss b/pages/list/activitynew/index.wxss index 32d235f..e2f4f27 100644 --- a/pages/list/activitynew/index.wxss +++ b/pages/list/activitynew/index.wxss @@ -147,6 +147,25 @@ background: rgba(11, 137, 142, .1); flex-shrink: 0; margin-left: 10rpx; } +.m-picker { + display: flex; + color: #0B898E; +} +.sjx{ + width: 0; + height: 0; + border-top: 9rpx solid #fff; + border-right: 9rpx solid transparent; + border-left: 9rpx solid transparent; + border-bottom: 9rpx solid transparent; + margin-top:16rpx; + margin-left: 8rpx; +} + +.m-sort{ + width: 130rpx; + text-align: center; +} .activity-search-bg { width: 422rpx; height: 56rpx; @@ -248,16 +267,14 @@ background: rgba(11, 137, 142, .1); } .sort-box { display: flex; - justify-content: flex-end; - padding: 30rpx; - padding-top: 0; + justify-content: space-between; + margin: 20rpx 0 50rpx 0; background: #0B898E; color: #D8D8D8; font-size: 26rpx; + padding: 0 60rpx 0 70rpx; } -.sort-box view:nth-child(1){ - margin-right: 50rpx; -} + .sort-box view.active { color: #fff; } diff --git a/pages/list/museum/index.js b/pages/list/museum/index.js index aa11408..0fa2339 100644 --- a/pages/list/museum/index.js +++ b/pages/list/museum/index.js @@ -32,6 +32,13 @@ Page({ util.gotoDetail(item,1); }, gotoDetailOther: function(e) { + if (e.currentTarget.dataset.id==44703) { + wx.navigateToMiniProgram({ + appId: 'wxfef80ee1ab7e58a2', + path: 'pages/inners/main' + }) + return; + } wx.navigateTo({ url: '/pages/info/museumInfo/index?id='+e.currentTarget.dataset.id }) From 2cc32266f2d75df80c3252366f3a86e5fad3db1d Mon Sep 17 00:00:00 2001 From: nige Date: Tue, 8 Aug 2023 17:28:46 +0800 Subject: [PATCH 083/471] =?UTF-8?q?=E5=85=AC=E5=85=B1=E6=9C=8D=E5=8A=A1?= =?UTF-8?q?=E8=A1=8C=E6=9D=8E=20=E7=89=B9=E4=BA=A7=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 2 +- pages/index/index.wxml | 9 +++++++-- pages/list/feiyi/index.wxss | 26 ++++++++++++-------------- pages/list/techan/index.wxss | 17 +++++++++++++---- pages/pbService/index.wxml | 5 +++++ 5 files changed, 38 insertions(+), 21 deletions(-) diff --git a/app.js b/app.js index a2fc7bd..18597dd 100644 --- a/app.js +++ b/app.js @@ -21,7 +21,7 @@ App({ unique_key: "wechatxcx" }).then(res => { let data = JSON.parse(res.data); - data.isTest = data.isTest87? true : false; + data.isTest = data.isTest88? true : false; this.globalData.configJson = data }).then(() => { // 获取ui配置文件 diff --git a/pages/index/index.wxml b/pages/index/index.wxml index ec59efe..8f80ede 100644 --- a/pages/index/index.wxml +++ b/pages/index/index.wxml @@ -288,6 +288,11 @@ 景区舒适度 + + + 行李寄存 + @@ -302,11 +307,11 @@ 安全服务 --> - 12348 - + --> diff --git a/pages/list/feiyi/index.wxss b/pages/list/feiyi/index.wxss index 76e134e..3fe4b0d 100644 --- a/pages/list/feiyi/index.wxss +++ b/pages/list/feiyi/index.wxss @@ -16,13 +16,16 @@ page { } .store-in-box { padding: 20rpx 30rpx; + padding-right: 0; background: #1d3256; border-left: 6rpx solid #c7a668; border-right: 6rpx solid #c7a668; } + .store-item-top { display: flex; align-items: center; + padding-right: 20rpx; } .main-store-img { width: 136rpx; @@ -75,27 +78,22 @@ page { .store-product-list { display: flex; margin-top: 30rpx; + overflow-x: scroll; +} +.store-product-list::-webkit-scrollbar { + display: none; } .product-item { margin-right: 20rpx; } -.store-product-list .product-item:nth-child(1) .product-img{ - border-top-left-radius: 16rpx; - border-bottom-left-radius: 16rpx; -} -.store-product-list .product-item:last-child .product-img{ - border-top-right-radius: 16rpx; - border-bottom-right-radius: 16rpx; -} -.store-product-list .product-item:nth-child(3n){ - margin-right: 0; -} + + .product-img { display: block; - width: 100%; - width: 194rpx; + + width: 220rpx; margin-bottom:20rpx; - height: 194rpx; + height: 220rpx; object-fit: cover; } .product-title { diff --git a/pages/list/techan/index.wxss b/pages/list/techan/index.wxss index 5e76619..da18a26 100644 --- a/pages/list/techan/index.wxss +++ b/pages/list/techan/index.wxss @@ -33,6 +33,9 @@ page { margin: 0 auto; margin-bottom: 15rpx; color: #704436; + /* padding: 0 10rpx; */ + box-sizing: border-box; + } .list { background: url(https://static.ticket.sz-trip.com/xcxImages/techan/bg1.png); @@ -88,10 +91,16 @@ page { } .product-list { display: flex; - margin: 0 30rpx; + margin: 0 20rpx 0 30rpx; + overflow-x:scroll ; + box-sizing: border-box; + padding-right:30rpx ; +} +.product-list::-webkit-scrollbar { + display: none; } .product-item { - width: 200rpx; + width: 212rpx; font-size: 28rpx; margin-right: 19rpx; } @@ -99,8 +108,8 @@ page { margin-right: 0; } .product-item image { - width: 200rpx; - height: 200rpx; + width: 212rpx; + height: 209rpx; } .market_price { color: #C6937F; diff --git a/pages/pbService/index.wxml b/pages/pbService/index.wxml index 1940aff..bc8607f 100644 --- a/pages/pbService/index.wxml +++ b/pages/pbService/index.wxml @@ -14,6 +14,11 @@ 安全服务 + + + 行李寄存 + From 689f5d83bf0d75641b9a34935baa3bbbf688f862 Mon Sep 17 00:00:00 2001 From: shaojing <2901156235@qq.com> Date: Wed, 9 Aug 2023 14:57:06 +0800 Subject: [PATCH 084/471] =?UTF-8?q?=E6=B4=BB=E5=8A=A8=E6=97=A5=E5=8E=86?= =?UTF-8?q?=E4=B8=AD=E5=A2=9E=E5=8A=A0=E6=96=87=E5=8C=96=E6=83=A0=E6=B0=91?= =?UTF-8?q?=E6=9D=BF=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/list/activitynew/index.js | 2 +- pages/list/activitynew/index.wxml | 4 ++++ project.config.json | 3 ++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/pages/list/activitynew/index.js b/pages/list/activitynew/index.js index 5f4c314..de9d388 100644 --- a/pages/list/activitynew/index.js +++ b/pages/list/activitynew/index.js @@ -11,7 +11,7 @@ Page({ isYL: false, selectDay: new Date().getTime(), days: [ '日','一', '二', '三', '四', '五', '六'], - types: [null, 'show', 'exhibition', 'scene', 'movie', 'lecture', 'other'], + types: [null, 'show', 'exhibition', 'scene', 'movie', 'lecture', 'other','huimin'], weeks: [], pageNo: 1, sort: "distance", diff --git a/pages/list/activitynew/index.wxml b/pages/list/activitynew/index.wxml index 30c41da..6c831a6 100644 --- a/pages/list/activitynew/index.wxml +++ b/pages/list/activitynew/index.wxml @@ -35,6 +35,10 @@ 电影 + + + 文化惠民 + - + From 0826ec798e97cb86807aabf1d8ddccc2fa38a0ea Mon Sep 17 00:00:00 2001 From: nige Date: Mon, 14 Aug 2023 15:33:40 +0800 Subject: [PATCH 086/471] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 18597dd..c0b4cf3 100644 --- a/app.js +++ b/app.js @@ -21,7 +21,7 @@ App({ unique_key: "wechatxcx" }).then(res => { let data = JSON.parse(res.data); - data.isTest = data.isTest88? true : false; + data.isTest = data.isTest89? true : false; this.globalData.configJson = data }).then(() => { // 获取ui配置文件 From 0d1106359316c683a9e5a49868e83a62bf76d65d Mon Sep 17 00:00:00 2001 From: nige Date: Thu, 17 Aug 2023 11:21:44 +0800 Subject: [PATCH 087/471] =?UTF-8?q?=E5=AE=A1=E6=A0=B8=E9=9A=90=E8=97=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/index.wxml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/index/index.wxml b/pages/index/index.wxml index 8f80ede..adf3c58 100644 --- a/pages/index/index.wxml +++ b/pages/index/index.wxml @@ -41,7 +41,7 @@ --> - + From 442e777bf1992e1ab97b34c14a99f6b22e688252 Mon Sep 17 00:00:00 2001 From: nige Date: Thu, 17 Aug 2023 14:33:41 +0800 Subject: [PATCH 088/471] =?UTF-8?q?=E7=89=88=E6=9C=AC=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 2 +- pages/list/techan/index.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/app.js b/app.js index c0b4cf3..4302a85 100644 --- a/app.js +++ b/app.js @@ -21,7 +21,7 @@ App({ unique_key: "wechatxcx" }).then(res => { let data = JSON.parse(res.data); - data.isTest = data.isTest89? true : false; + data.isTest = data.isTest90? true : false; this.globalData.configJson = data }).then(() => { // 获取ui配置文件 diff --git a/pages/list/techan/index.js b/pages/list/techan/index.js index 669d3b6..607990a 100644 --- a/pages/list/techan/index.js +++ b/pages/list/techan/index.js @@ -65,7 +65,6 @@ Page({ res.data.list.map(item=>{ item.display_tags = item.display_tags?item.display_tags.split(","):[]; item.display_tags = item.display_tags.splice(0,2); - item.product = item.product?item.product.splice(0,3):[] }) this.setData({ list:list.concat(res.data.list), From 82433c4f0bc8f27892a6a5f97b9ee9c22c5a4dd4 Mon Sep 17 00:00:00 2001 From: nige Date: Thu, 17 Aug 2023 15:29:41 +0800 Subject: [PATCH 089/471] =?UTF-8?q?=E7=89=88=E6=9C=AC=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/list/feiyi/index.js | 1 - 1 file changed, 1 deletion(-) diff --git a/pages/list/feiyi/index.js b/pages/list/feiyi/index.js index dc2e6c5..433554a 100644 --- a/pages/list/feiyi/index.js +++ b/pages/list/feiyi/index.js @@ -35,7 +35,6 @@ Page({ limit:10 }).then(res=>{ res.data.list.map(item=>{ - item.product = item.product?item.product.splice(0,3):[]; item.display_tags = (item.display_tags?item.display_tags.split(","):[]).splice(0,2) }) this.setData({ From b02c1b69f82814554bf5386f61ba3e8a752125b0 Mon Sep 17 00:00:00 2001 From: nige Date: Wed, 30 Aug 2023 08:35:18 +0800 Subject: [PATCH 090/471] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 2 +- pages/index/index.wxml | 7 ++++++- pages/list/techan/index.wxss | 2 +- pages/user/order/refundInfo/index.wxml | 4 ++-- 4 files changed, 10 insertions(+), 5 deletions(-) diff --git a/app.js b/app.js index 4302a85..3b9ca60 100644 --- a/app.js +++ b/app.js @@ -21,7 +21,7 @@ App({ unique_key: "wechatxcx" }).then(res => { let data = JSON.parse(res.data); - data.isTest = data.isTest90? true : false; + data.isTest = data.isTest92? true : false; this.globalData.configJson = data }).then(() => { // 获取ui配置文件 diff --git a/pages/index/index.wxml b/pages/index/index.wxml index adf3c58..b5e372f 100644 --- a/pages/index/index.wxml +++ b/pages/index/index.wxml @@ -283,10 +283,15 @@ - 景区舒适度 + --> + + + 景区舒适度 diff --git a/pages/list/techan/index.wxss b/pages/list/techan/index.wxss index da18a26..7377ecc 100644 --- a/pages/list/techan/index.wxss +++ b/pages/list/techan/index.wxss @@ -105,7 +105,7 @@ page { margin-right: 19rpx; } .product-item:nth-child(3){ - margin-right: 0; + /* margin-right: 0; */ } .product-item image { width: 212rpx; diff --git a/pages/user/order/refundInfo/index.wxml b/pages/user/order/refundInfo/index.wxml index b850981..bf74460 100644 --- a/pages/user/order/refundInfo/index.wxml +++ b/pages/user/order/refundInfo/index.wxml @@ -3,10 +3,10 @@ {{state[info.order.state]}} {{info.remark}} - + 支付渠道 {{info.pay_method}} From 67eb1823d15058cb643f0614fe68d938921623ad Mon Sep 17 00:00:00 2001 From: nige Date: Tue, 5 Sep 2023 16:28:21 +0800 Subject: [PATCH 091/471] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 2 +- pages/index/index.wxml | 19 +++++++++------ pages/list/feiyi/index.js | 11 +++++++++ pages/list/feiyi/index.wxml | 33 ++++++++++++++++----------- pages/list/feiyi/index.wxss | 28 +++++++++++++++++++++-- pages/list/techan/index.js | 9 ++++++-- pages/list/techan/index.wxml | 20 +++++++++++----- pages/list/techan/index.wxss | 26 ++++++++++++++++++++- pages/order/road/index.js | 4 +++- pages/pbService/appreciate/index.wxss | 4 ++++ pages/user/profile/index.wxml | 1 + project.private.config.json | 7 ++++++ 12 files changed, 131 insertions(+), 33 deletions(-) diff --git a/app.js b/app.js index 3b9ca60..2127815 100644 --- a/app.js +++ b/app.js @@ -21,7 +21,7 @@ App({ unique_key: "wechatxcx" }).then(res => { let data = JSON.parse(res.data); - data.isTest = data.isTest92? true : false; + data.isTest = data.isTest94? true : false; this.globalData.configJson = data }).then(() => { // 获取ui配置文件 diff --git a/pages/index/index.wxml b/pages/index/index.wxml index b5e372f..36d7b71 100644 --- a/pages/index/index.wxml +++ b/pages/index/index.wxml @@ -288,6 +288,10 @@ 景区舒适度 --> + + + 安全服务 + @@ -298,19 +302,20 @@ 行李寄存 - + + 实时路况 + + + - + - + - {{item.supplier_name}} - - {{item}} + {{item.shop_name}} + + + {{item}} + + {{item.start_price/100}} + + + + {{item.address}} + 进店看看 + - {{item.address}} - {{item.start_price/100}} - - - {{item.title}} + + + {{goods.title}} - {{item.price/100}} - ¥{{item.market_price/100}} + {{goods.price/100}} + ¥{{goods.market_price/100}} - + diff --git a/pages/list/feiyi/index.wxss b/pages/list/feiyi/index.wxss index 3fe4b0d..7930846 100644 --- a/pages/list/feiyi/index.wxss +++ b/pages/list/feiyi/index.wxss @@ -35,6 +35,7 @@ page { object-fit: cover; } .store-main-info { + height: 136rpx; flex:1; font-size: 34rpx; } @@ -68,12 +69,11 @@ page { .store-main-price { font-size: 44rpx; color: #f9e498; - margin-left: 20rpx; } .store-main-price:after { content: "起"; font-size: 24rpx; - margin-left: 20rpx; + margin-left:8rpx; } .store-product-list { display: flex; @@ -119,4 +119,28 @@ page { font-size: 24rpx; color: #ccc; text-decoration: line-through; +} + +.shopbtn{ +width: 120rpx; +height: 33rpx; +background: #C7A668; +border-radius: 16rpx; +font-size: 23rpx; +font-family: PingFang SC; +font-weight: bold; +color: #1D3256; +line-height: 33rpx; +text-align: center; +} +.mid-box{ + display: flex; + justify-content: space-between; + align-items: center; +} +.bottom-box{ + display: flex; + justify-content: space-between; + align-items: center; + } \ No newline at end of file diff --git a/pages/list/techan/index.js b/pages/list/techan/index.js index 607990a..aceba4c 100644 --- a/pages/list/techan/index.js +++ b/pages/list/techan/index.js @@ -27,7 +27,12 @@ Page({ }) this.getList(); }, - gotoDetail:function(e){ + goodsDetail(e){ + wx.navigateTo({ + url: '/pages/info/postProductInfo/index?id='+e.currentTarget.dataset.goods.id, + }) + }, + goShop(e){ let id = e.currentTarget.dataset.id; util.pagePoint({ event: 'legacy_shop', @@ -37,7 +42,7 @@ Page({ type:'supplier' },1) wx.navigateTo({ - url: '../store/index?type=specialty_detail&id='+id, + url: '/pages/list/store/index?id='+id, }) }, gotoProduct:function(e){ diff --git a/pages/list/techan/index.wxml b/pages/list/techan/index.wxml index 5ba68e6..f1338c0 100644 --- a/pages/list/techan/index.wxml +++ b/pages/list/techan/index.wxml @@ -9,20 +9,28 @@ - - + + {{item.shop_name}} - + + {{item}} - {{item.address}} - {{(item.start_price/100)}} + + + {{item.address}} + + 进店看看 + + + + - + {{item.title}} {{(item.price/100)}}{{item.market_price/100}} diff --git a/pages/list/techan/index.wxss b/pages/list/techan/index.wxss index 7377ecc..d9c7fc7 100644 --- a/pages/list/techan/index.wxss +++ b/pages/list/techan/index.wxss @@ -58,7 +58,7 @@ page { display: flex; flex-direction: column; height: 136rpx; - justify-content: space-around; + justify-content:space-between; flex: 1; width: 300rpx; } @@ -116,4 +116,28 @@ page { font-size: 24rpx; margin-left: 10rpx; text-decoration: line-through; +} +.mid-box{ + display: flex; + align-items: center; + justify-content: space-between; +} +.bottom-box{ + display: flex; + align-items: center; + justify-content: space-between; +} +.btn{ +width: 120rpx; +flex-shrink: 0; +height: 33rpx; +background: #C6937F; +border-radius: 16rpx; +line-height: 33rpx; +text-align: center; + +font-size: 23rpx; +font-family: PingFang SC; +font-weight: 500; +color: #FDF6E8; } \ No newline at end of file diff --git a/pages/order/road/index.js b/pages/order/road/index.js index 12379be..1446a15 100644 --- a/pages/order/road/index.js +++ b/pages/order/road/index.js @@ -40,7 +40,9 @@ Page({ res.data.sku = [sku]; } res.data.sku.map(item=>{ - nums.push(0) + console.log(item); + item.stock>0?nums.push(1):nums.push(0) + }) for(let i=0;i 注销账号 + 注销后账号无法恢复,请谨慎操作 diff --git a/project.private.config.json b/project.private.config.json index eedf488..8749612 100644 --- a/project.private.config.json +++ b/project.private.config.json @@ -60,6 +60,13 @@ "pathName": "pages/pbService/group/index", "query": "", "scene": null + }, + { + "name": "", + "pathName": "pages/supplier/index", + "query": "", + "launchMode": "default", + "scene": null } ] } From 334d9bf6a226c0c971ec7f0eb34b8f2738c84b77 Mon Sep 17 00:00:00 2001 From: shaojing <2901156235@qq.com> Date: Thu, 14 Sep 2023 13:55:01 +0800 Subject: [PATCH 092/471] =?UTF-8?q?=E5=B7=A1=E6=A3=80=E6=8A=A5=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/index.js | 6 ++++++ pages/index/index.wxml | 2 +- pages/order/hotel/index.wxml | 3 ++- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/pages/index/index.js b/pages/index/index.js index f7d1ec7..2ad8c63 100644 --- a/pages/index/index.js +++ b/pages/index/index.js @@ -361,6 +361,12 @@ Page({ path: 'pages/index/index' }) return; + }else if (e.currentTarget.dataset.event == 'wuzhong_click') { + wx.navigateToMiniProgram({ + appId: 'wxdd39069b9a91dbfe', + path: 'pages/index/index' + }) + return; }else if (e.currentTarget.dataset.event == 'kunshan_click') { wx.navigateToMiniProgram({ appId: 'wx8888a3fd0862b4c8', diff --git a/pages/index/index.wxml b/pages/index/index.wxml index 36d7b71..1384ddf 100644 --- a/pages/index/index.wxml +++ b/pages/index/index.wxml @@ -21,7 +21,7 @@ - + diff --git a/pages/order/hotel/index.wxml b/pages/order/hotel/index.wxml index f59a916..3619f74 100644 --- a/pages/order/hotel/index.wxml +++ b/pages/order/hotel/index.wxml @@ -68,7 +68,8 @@ - + + From 4af8e95dce893b966e88ccb255a07c2a2e490f6e Mon Sep 17 00:00:00 2001 From: shaojing <2901156235@qq.com> Date: Wed, 20 Sep 2023 10:45:14 +0800 Subject: [PATCH 093/471] =?UTF-8?q?=E5=85=AC=E5=85=B1=E6=9C=8D=E5=8A=A1?= =?UTF-8?q?=E9=9A=90=E8=97=8F=E5=81=9C=E8=BD=A6=E5=9C=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/pbService/index.wxml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/pbService/index.wxml b/pages/pbService/index.wxml index bc8607f..e50a660 100644 --- a/pages/pbService/index.wxml +++ b/pages/pbService/index.wxml @@ -59,11 +59,11 @@ 实时公交 --> - 停车场 - + --> From b39c0ee9d2720b39746154b9823a4ab19ae1bd2b Mon Sep 17 00:00:00 2001 From: shaojing <2901156235@qq.com> Date: Wed, 20 Sep 2023 16:38:47 +0800 Subject: [PATCH 094/471] =?UTF-8?q?=E5=AE=9E=E6=97=B6=E8=B7=AF=E5=86=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/pbService/index.wxml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/pbService/index.wxml b/pages/pbService/index.wxml index e50a660..721fdc0 100644 --- a/pages/pbService/index.wxml +++ b/pages/pbService/index.wxml @@ -78,6 +78,10 @@ P+R停车场 + + + 实时路况 + - + + 订单正在处理中 具体出票/发货状态 将会通过短信/订单状态进行通知 -查看订单 \ No newline at end of file +查看订单 + + + + + + + + + + + {{item.title}} + + {{item.price/100}} + + + + + \ No newline at end of file diff --git a/pages/order/payresult/index.wxss b/pages/order/payresult/index.wxss index 90fb22e..70fcc42 100644 --- a/pages/order/payresult/index.wxss +++ b/pages/order/payresult/index.wxss @@ -13,12 +13,15 @@ margin: 0 auto; font-size: 36rpx; font-weight: 500; - margin-top: 200rpx; + margin-top: 76.67rpx; + margin-bottom: 79.33rpx; + /* margin-top: 200rpx; */ } page { text-align: center; color: #999; font-size: 32rpx; + padding-bottom: 50rpx; } .order-tip { color: #009944; @@ -26,4 +29,89 @@ page { font-weight: 500; margin-top: 30rpx; margin-bottom: 50rpx; +} +.gou { + width: 180.13rpx; + height: 180.13rpx; + margin-top: 40rpx; +} +.proad{ + margin: 20rpx; +} +.proad-title{ + display: flex; + align-items: center; + justify-content: center; + margin-bottom: 14rpx; +} +.proad-title image{ + width: 292rpx; + height: 34rpx; +} +.pro-list{ + display: flex; + justify-content: space-between; + align-items: center; + flex-wrap: wrap; +} +.proitem{ + width: 335rpx; + background: #FFFFFF; + border-radius: 13rpx; + margin-top: 26.67rpx; + box-shadow: 0rpx 2rpx 11rpx 0rpx rgba(201,201,201,0.3); +} +.item-hd { + width: 335rpx; + height: 278rpx; +} +.item-hd image{ + width: 100%; + height: 100%; + border-radius: 13rpx 13rpx 0px 0px; +} +.item-bm{ + display: flex; + flex-direction: column; + justify-content: space-between; + height: 120rpx; + padding: 13rpx 14rpx; + text-align: left; +} +.protitle{ + font-size: 28rpx; + font-family: PingFang SC; + font-weight: bold; + color: #000000; +} +.pro-price{ + color: #D10000; + font-weight: bold; + font-size: 36rpx; +} +.pro-price:before { + display: inline-block; + content:"¥"; + color: #D62828; + font-size: 20rpx; +} + +.pro-price:after { + display: inline-block; + content:'起'; + color: #999999; + font-size: 10px; +} +.proitem image:nth-child(1) { + display: block; + width: 100%; + border-radius: 13rpx 13rpx 0 0; +} +.text-overflowRows { + overflow: hidden; + text-overflow: ellipsis; + -webkit-line-clamp: 2; + word-break: break-all; + display: -webkit-box; + -webkit-box-orient: vertical; } \ No newline at end of file diff --git a/project.private.config.json b/project.private.config.json index 8749612..71b8843 100644 --- a/project.private.config.json +++ b/project.private.config.json @@ -67,6 +67,20 @@ "query": "", "launchMode": "default", "scene": null + }, + { + "name": "", + "pathName": "pages/order/payresult/index", + "query": "", + "launchMode": "default", + "scene": null + }, + { + "name": "", + "pathName": "pages/order/comment/index", + "query": "id=82342309051435565877", + "launchMode": "default", + "scene": null } ] } From 4f099c68bd8bc140476be1664a85bdf7c0ad787d Mon Sep 17 00:00:00 2001 From: shaojing <2901156235@qq.com> Date: Fri, 20 Oct 2023 15:22:48 +0800 Subject: [PATCH 100/471] =?UTF-8?q?=E5=85=88=E5=88=A4=E6=96=AD=E5=87=BA?= =?UTF-8?q?=E8=A1=8C=E4=BA=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/order/orderList/index.js | 3 +- pages/order/orderList/index.wxml | 3 +- pages/order/scene/index.js | 173 ++++++++++++++++++++++++------- pages/order/scene/index.wxml | 2 +- 4 files changed, 142 insertions(+), 39 deletions(-) diff --git a/pages/order/orderList/index.js b/pages/order/orderList/index.js index 12bc3c1..ac9592b 100644 --- a/pages/order/orderList/index.js +++ b/pages/order/orderList/index.js @@ -37,6 +37,7 @@ Page({ flag:options.flag, // linkmanList: app.globalData.linkmanList }) + console.log('-------------',app.globalData.list); let price = 0, sku_id = [] ,postFee= 0; app.globalData.postProduct.map(item => { if (!app.globalData.kjId && !this.data.gp_id) { @@ -49,7 +50,7 @@ Page({ sku_id.push(item.sku.id) }) app.globalData.list.map(item => { - price = price + item.sku.price * item.num; + price = price + item.sku.price * item.linkmanList.length; sku_id.push(item.sku.id) }) this.setData({ diff --git a/pages/order/orderList/index.wxml b/pages/order/orderList/index.wxml index 56db585..9514af6 100644 --- a/pages/order/orderList/index.wxml +++ b/pages/order/orderList/index.wxml @@ -42,7 +42,8 @@ {{item.sku.sku_name}} - X{{item.num}} + + X{{item.linkmanList.length}} 出行人信息 diff --git a/pages/order/scene/index.js b/pages/order/scene/index.js index 7546be7..f75b2eb 100644 --- a/pages/order/scene/index.js +++ b/pages/order/scene/index.js @@ -72,11 +72,11 @@ Page({ this.couponCom = this.selectAllComponents("#coupon")[0]; } }, - next: function () { - this.setData({ - showMask:true - }) - }, + // next: function () { + // this.setData({ + // showMask:true + // }) + // }, cancel: function () { this.setData({ showMask:false @@ -209,42 +209,12 @@ Page({ }) }, - order: function () { - console.log(this.data) + order:function() { let linkmanList = this.data.linkmanList, productNum = this.data.productNum, date = this.data.date, time = this.data.time, remark = this.data.remark, product = this.data.product; let linkmanIds = []; - // if (linkmanList.length < productNum && app.globalData.product.isGroup != 1) { - // wx.showToast({ - // title: '请选择' + productNum + "个出行人", - // icon: "none" - // }) - // return; - // } - if (!date && this.data.ticket_type == 1) { - wx.showToast({ - title: '请选择使用日期', - icon: 'none' - }) - return - } - if (!time && date && date.is_time_stock == true) { - wx.showToast({ - title: '请选择使用时间', - icon: 'none' - }) - return - } - if (app.globalData.product.isGroup == 1 && !this.data.groupName) { - wx.showToast({ - title: '请输入团队主体名称', - icon: 'none' - }) - return; - } linkmanList.map(item => { linkmanIds.push(item.id) }) - console.log(date) let data = { coupon_id: this.data.coupon ? this.data.coupon.id : null, source: "WECHATXCX", @@ -337,6 +307,137 @@ Page({ } } }, + next: function () { + console.log(this.data) + let linkmanList = this.data.linkmanList, productNum = this.data.productNum, date = this.data.date, time = this.data.time, remark = this.data.remark, product = this.data.product; + let linkmanIds = []; + if (linkmanList.length < productNum && app.globalData.product.isGroup != 1) { + wx.showToast({ + title: '请添加出行人', + icon: "none" + }) + return; + } + if (!date && this.data.ticket_type == 1) { + wx.showToast({ + title: '请选择使用日期', + icon: 'none' + }) + return + } + if (!time && date && date.is_time_stock == true) { + wx.showToast({ + title: '请选择使用时间', + icon: 'none' + }) + return + } + if (app.globalData.product.isGroup == 1 && !this.data.groupName) { + wx.showToast({ + title: '请输入团队主体名称', + icon: 'none' + }) + return; + } + this.setData({ + showMask:true + }) + // linkmanList.map(item => { + // linkmanIds.push(item.id) + // }) + // console.log(date) + // let data = { + // coupon_id: this.data.coupon ? this.data.coupon.id : null, + // source: "WECHATXCX", + // product_list: [{ + // type: product.product.type, + // product_id: product.product.id, + // sku_id: (date && date.sku_id) ? date.sku_id : product.sku.id, + // start_time: time.start_time, + // end_time: time.end_time, + // use_date: date ? date.date : '', + // visitors: linkmanIds.join(","), + // remark: remark, + // product_num: app.globalData.product.isGroup == 1 ? 1 : productNum + // }], + // originate_order_id: this.data.kjId, + // gp_id: app.globalData.gp_id, + // team_id: app.globalData.team_id, + // linkmanList:this.data.linkmanList + // } + // if (app.globalData.from) { + // data.system_name = app.globalData.from; + // } + // if (app.globalData.retailId) { + // data.commission_code = app.globalData.retailId; + // app.globalData.retailId = null; + // } + // if (app.globalData.category_id) { + // data.category_id = app.globalData.category_id; + // } + // if (this.data.prizeId) { + // data.lottery_id = this.data.prizeId + // } + // let service = 'order/create', postData = { + // data: JSON.stringify(data) + // } + // if (app.globalData.product.isGroup == 1) { + // service = "team_order/appoint" + // postData.member_num = this.data.productNum + // postData.team_name = this.data.groupName + // postData.type = 1; + // } + // if(app.globalData.list){ + // app.globalData.list[app.globalData.index] = this.data.product + // app.globalData.list[app.globalData.index].linkmanList = this.data.linkmanList + // } + // // app.globalData.linkmanList = this.data.linkmanList + // app.globalData.ticketPrice += (this.data.singlePrice * this.data.productNum - (this.data.coupon?this.data.coupon.activity.money:0))/100; + // console.log(app.globalData); + // if(app.globalData.list && app.globalData.list.length > app.globalData.index + 1 &&this.data.type!='museum'){ + // if(app.globalData.createDate){ + // app.globalData.createDate.product_list.push(data.product_list[0]) + // }else{ + // app.globalData.createDate = data + // } + // app.globalData.index = app.globalData.index + 1 + // app.globalData.product = app.globalData.list[app.globalData.index] + // wx.redirectTo({ + // url: '/pages/order/scene/index?flag='+ this.data.flag+'&isCar='+this.data.isCar, + // }) + // return + // }else{ + // if(app.globalData.list && app.globalData.list.length > 1 || app.globalData.postProduct.length>0){ + // if(app.globalData.createDate){ + // app.globalData.createDate.product_list.push(data.product_list[0]) + // } + // wx.redirectTo({ + // url: '/pages/order/orderList/index?flag='+ this.data.flag + // }) + // }else{ + // commonApi.user_post(service, postData).then(res => { + // if (app.globalData.kjId) { + // this.setData({ + // kjId: null + // }); + // app.globalData.kjId = null; + // } + // if (app.globalData.gp_id) { + // this.setData({ + // gp_id: null + // }); + // app.globalData.gp_id = null; + // } + // if (res.code == 1 && app.globalData.product.isGroup == 1) { + // // 团购跳转到团购详情 + // wx.navigateTo({ + // url: '/pages/info/groupOrderInfo/index?id=' + res.data.order_id + '&from=order' + // }) + // } + // }) + // } + // } + }, // 活动预约 activityOrder: function () { if (this.data.linkmanList && this.data.linkmanList.length > 0) { diff --git a/pages/order/scene/index.wxml b/pages/order/scene/index.wxml index d1e0bbc..7266012 100644 --- a/pages/order/scene/index.wxml +++ b/pages/order/scene/index.wxml @@ -83,7 +83,7 @@ 取消 - 无问题,去支付 + 无问题,下一步 From 9b013dcc1c4e0fec9a95302b2384fe303fabc214 Mon Sep 17 00:00:00 2001 From: shaojing <2901156235@qq.com> Date: Fri, 20 Oct 2023 16:34:52 +0800 Subject: [PATCH 101/471] =?UTF-8?q?=E5=AE=BD=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/list/techan/index.wxml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/list/techan/index.wxml b/pages/list/techan/index.wxml index f1338c0..afaad8a 100644 --- a/pages/list/techan/index.wxml +++ b/pages/list/techan/index.wxml @@ -21,7 +21,7 @@ {{(item.start_price/100)}} - {{item.address}} + {{item.address}} 进店看看 From 8d16b596b5013f4df5ce2adc7a7a4bb57b9b7f92 Mon Sep 17 00:00:00 2001 From: shaojing <2901156235@qq.com> Date: Mon, 23 Oct 2023 14:18:08 +0800 Subject: [PATCH 102/471] =?UTF-8?q?=E8=B0=83=E6=95=B4=E9=97=B4=E8=B7=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/order/comment/index.wxss | 3 ++- pages/order/payresult/index.wxss | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/pages/order/comment/index.wxss b/pages/order/comment/index.wxss index 66bfbb7..98aa9b2 100644 --- a/pages/order/comment/index.wxss +++ b/pages/order/comment/index.wxss @@ -189,11 +189,12 @@ page{ display: flex; flex-direction: column; justify-content: space-between; - height: 120rpx; + /* height: 120rpx; */ padding: 13rpx 14rpx; text-align: left; } .protitle{ + height: 80rpx; font-size: 28rpx; font-family: PingFang SC; font-weight: bold; diff --git a/pages/order/payresult/index.wxss b/pages/order/payresult/index.wxss index 70fcc42..d9e54cb 100644 --- a/pages/order/payresult/index.wxss +++ b/pages/order/payresult/index.wxss @@ -74,11 +74,12 @@ page { display: flex; flex-direction: column; justify-content: space-between; - height: 120rpx; + /* height: 120rpx; */ padding: 13rpx 14rpx; text-align: left; } .protitle{ + height: 80rpx; font-size: 28rpx; font-family: PingFang SC; font-weight: bold; From c1b75f50eed26aa50ad30623c8753b23cdc215d0 Mon Sep 17 00:00:00 2001 From: shaojing <2901156235@qq.com> Date: Tue, 24 Oct 2023 19:01:43 +0800 Subject: [PATCH 103/471] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/order/scene/index.js | 1 + pages/order/scene/index.wxml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/pages/order/scene/index.js b/pages/order/scene/index.js index f75b2eb..c8e79f7 100644 --- a/pages/order/scene/index.js +++ b/pages/order/scene/index.js @@ -49,6 +49,7 @@ Page({ ticket_type:app.globalData.product.sku.ticket_type || 1, isCar:options.isCar }) + console.log('-------',app.globalData.product); if (!app.globalData.product) { util.back(); diff --git a/pages/order/scene/index.wxml b/pages/order/scene/index.wxml index 7266012..032d64a 100644 --- a/pages/order/scene/index.wxml +++ b/pages/order/scene/index.wxml @@ -62,7 +62,7 @@ - 拙政园-旺季成人票 + {{product.product.title}}-{{product.sku.sku_name}} 出行人信息 From 9904f1baf92c1cc033e1ad261b9a0a66cb81554f Mon Sep 17 00:00:00 2001 From: shaojing <2901156235@qq.com> Date: Wed, 1 Nov 2023 09:08:45 +0800 Subject: [PATCH 104/471] =?UTF-8?q?=E5=81=9C=E8=BD=A6=E5=9C=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/pbService/bike/index.js | 24 +++++++++++++++--------- pages/pbService/index.wxml | 8 ++++++-- 2 files changed, 21 insertions(+), 11 deletions(-) diff --git a/pages/pbService/bike/index.js b/pages/pbService/bike/index.js index 684c960..a8de7a4 100644 --- a/pages/pbService/bike/index.js +++ b/pages/pbService/bike/index.js @@ -19,7 +19,8 @@ Page({ list:[], types:["公共自行车","找厕所","停车场"],//都做一起了 根据type来分 默认就是自行车 type:0, - typeService:['pbservice/Ztfw/publicBycicle','pbservice/Ztfw/toilets','pbservice/Ztfw/park'] + // typeService:['pbservice/Ztfw/publicBycicle','pbservice/Ztfw/toilets','pbservice/Ztfw/park'] + typeService:['pbservice/Ztfw/publicBycicle','pbservice/Ztfw/toilets','pbservice/Ztfw/park_new'] }, /** @@ -66,15 +67,17 @@ Page({ lon:this.data.longitude }).then(res=>{ let list = this.data.list; - if(this.data.type==2){ - res.data = res.data.parklist; - } + // if(this.data.type==2){ + // res.data = res.data.parklist; + // } res.data.map((item,index)=>{ let mapItem = {}; if(this.data.type==0){ item.showContent = item.name + "(" + item.address + ")"; - mapItem.latitude = Number(item.gaodelat); - mapItem.longitude = Number(item.gaodelng); + mapItem.latitude = Number(item.lat); + mapItem.longitude = Number(item.lng); + // mapItem.latitude = Number(item.gaodelat); + // mapItem.longitude = Number(item.gaodelng); } else if(this.data.type==1){ item.showContent = item.poiname; @@ -82,9 +85,12 @@ Page({ mapItem.longitude = Number(item.longitude); } else if(this.data.type==2){ - item.showContent = item.parkName + "(" + item.address + ")"; - mapItem.latitude = Number(item.gaodelat); - mapItem.longitude = Number(item.gaodelon); + // item.showContent = item.parkName + "(" + item.address + ")"; + item.showContent = item.name; + mapItem.latitude = Number(item.lat); + mapItem.longitude = Number(item.lng); + // mapItem.latitude = Number(item.gaodelat); + // mapItem.longitude = Number(item.gaodelon); } mapItem.id = list.length+index; mapItem.info = item; diff --git a/pages/pbService/index.wxml b/pages/pbService/index.wxml index 721fdc0..3878ae2 100644 --- a/pages/pbService/index.wxml +++ b/pages/pbService/index.wxml @@ -47,6 +47,10 @@ 文化配送 --> + + + 附近图书馆 + 实时公交 --> - + From 3e93f5ad333de228d90e721cd02b7f78df94cd95 Mon Sep 17 00:00:00 2001 From: shaojing <2901156235@qq.com> Date: Wed, 1 Nov 2023 13:39:32 +0800 Subject: [PATCH 105/471] =?UTF-8?q?=E9=9A=90=E8=97=8F=E4=BD=93=E8=82=B2?= =?UTF-8?q?=E5=9C=BA=E9=A6=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/pbService/index.wxml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/pages/pbService/index.wxml b/pages/pbService/index.wxml index 3878ae2..d92ec0e 100644 --- a/pages/pbService/index.wxml +++ b/pages/pbService/index.wxml @@ -29,11 +29,11 @@ 景区舒适度 - 体育场馆 - + --> 垃圾分类 @@ -63,11 +63,15 @@ 实时公交 --> - + 停车场 + From b74912170239d26ae7e69109bfcf874840898710 Mon Sep 17 00:00:00 2001 From: chenkainan Date: Mon, 6 Nov 2023 11:04:27 +0800 Subject: [PATCH 106/471] =?UTF-8?q?=E9=82=AE=E5=AF=84=E7=B1=BB=E4=BA=A7?= =?UTF-8?q?=E5=93=81=E8=BF=90=E8=B4=B9=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 2 +- pages/order/postOrder/index.wxml | 4 ++-- project.config.json | 3 ++- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/app.js b/app.js index e345e37..dd03f9a 100644 --- a/app.js +++ b/app.js @@ -21,7 +21,7 @@ App({ unique_key: "wechatxcx" }).then(res => { let data = JSON.parse(res.data); - data.isTest = data.isTest96? true : false; + data.isTest = data.isTest97? true : false; this.globalData.configJson = data }).then(() => { // 获取ui配置文件 diff --git a/pages/order/postOrder/index.wxml b/pages/order/postOrder/index.wxml index 8753b18..7716a2e 100644 --- a/pages/order/postOrder/index.wxml +++ b/pages/order/postOrder/index.wxml @@ -25,8 +25,8 @@ {{item.productNum}} - - 运费 + + 运费 {{item.postFee?(item.postFee==0?'包邮':(item.postFee/100)):item.sku.sku_model.post_template_name}} diff --git a/project.config.json b/project.config.json index 165be03..97cb0a5 100644 --- a/project.config.json +++ b/project.config.json @@ -45,7 +45,8 @@ "disableUseStrict": false, "useCompilerPlugins": false, "minifyWXML": true, - "condition": false + "condition": false, + "ignoreUploadUnusedFiles": true }, "compileType": "miniprogram", "libVersion": "2.14.0", From 7a4792e761e22edd26a56a41694dbe5f55b966dd Mon Sep 17 00:00:00 2001 From: shaojing <2901156235@qq.com> Date: Fri, 17 Nov 2023 16:17:58 +0800 Subject: [PATCH 107/471] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8E=A8=E8=8D=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/component/proRec/proRec.js | 68 +++++++++++++++---- pages/index/index.js | 2 +- pages/info/postProductInfo/index.js | 3 +- pages/order/comment/index.js | 4 +- pages/order/pay/index.js | 15 +++- pages/order/payresult/index.js | 4 +- pages/user/order/activityOrderInfo/index.wxml | 2 +- pages/user/order/hotelOrderInfo/index.js | 10 ++- pages/user/order/hotelOrderInfo/index.wxml | 2 +- pages/user/order/lineOrderInfo/index.js | 10 ++- pages/user/order/lineOrderInfo/index.wxml | 4 +- pages/user/order/movieOrderInfo/index.js | 10 ++- pages/user/order/movieOrderInfo/index.wxml | 2 +- pages/user/order/museumOrderInfo/index.js | 10 ++- pages/user/order/museumOrderInfo/index.wxml | 4 +- pages/user/order/postOrderInfo/index.js | 10 ++- pages/user/order/postOrderInfo/index.wxml | 4 +- pages/user/order/sceneOrderInfo/index.js | 11 ++- pages/user/order/sceneOrderInfo/index.wxml | 4 +- project.private.config.json | 7 ++ 20 files changed, 141 insertions(+), 45 deletions(-) diff --git a/pages/component/proRec/proRec.js b/pages/component/proRec/proRec.js index 1a34128..0150cb1 100644 --- a/pages/component/proRec/proRec.js +++ b/pages/component/proRec/proRec.js @@ -23,15 +23,62 @@ Component({ clickid: { type: String, value: "" + }, + ids:{ + type: String, + value: "" + } + }, + observers:{ + 'ids': function(newVal,oldVal){ + console.log('newVal--------',newVal) + console.log('oldVal--------',oldVal) + if (newVal) { + this.getTj(newVal) + } } }, lifetimes: { created() { - commonApi._post("product/get_product_by_type", { + this.data.tjList=[] + // commonApi._post("product/get_product_by_type", { + // offset: 0, + // limit: 6, + // rand: true, + // type: "venue,post,line,ticket", + // product_ids:this.data.ids + // }).then(res => { + // this.setData({ + // showLoading: false + // }) + // try { + // this.setData({ + // tjList: res.data.list + // }) + // } catch (error) { + // console.log(error); + // } + // }) + } + }, + /** + * 组件的初始数据 + */ + data: { + tjList: [], + }, + /** + * 组件的方法列表 + */ + methods: { + getTj() { + this.data.tjList = [] + commonApi._post("search/product_recommend", { offset: 0, limit: 6, rand: true, - type: "venue,post,line,ticket" + type: "venue,post,line,ticket", + product_ids:this.data.ids }).then(res => { this.setData({ showLoading: false @@ -43,19 +90,9 @@ Component({ } catch (error) { console.log(error); } + console.log('tjList',this.data.tjList); }) - } - }, - /** - * 组件的初始数据 - */ - data: { - tjList: [], - }, - /** - * 组件的方法列表 - */ - methods: { + }, gotoDetail: function (e) { let item = e.currentTarget.dataset.item; util.pagePoint({ @@ -74,5 +111,6 @@ Component({ util.gotoDetail(item); } }, - } + }, + }) \ No newline at end of file diff --git a/pages/index/index.js b/pages/index/index.js index a6c88e5..0d6d7c9 100644 --- a/pages/index/index.js +++ b/pages/index/index.js @@ -122,7 +122,7 @@ Page({ this.getVideoPrize() }, goFeiyi: function () { - app.globalData.weburl = 'https://m.cloud.sz-trip.com/mlgCoupon' + app.globalData.weburl = 'https://m.cloud.sz-trip.com/mlgCoupons' wx.navigateTo({ url:"/pages/pbService/web/index" }) diff --git a/pages/info/postProductInfo/index.js b/pages/info/postProductInfo/index.js index 5da8ee5..45b358c 100644 --- a/pages/info/postProductInfo/index.js +++ b/pages/info/postProductInfo/index.js @@ -121,7 +121,8 @@ Page({ offset: 0, limit: 6, rand: true, - type: 'post' + type: 'post', + product_ids:options.id, }).then(res => { try { this.setData({ diff --git a/pages/order/comment/index.js b/pages/order/comment/index.js index dbf3c12..2508d57 100644 --- a/pages/order/comment/index.js +++ b/pages/order/comment/index.js @@ -45,11 +45,13 @@ Page({ info: res.data }) }) + console.log('options.proId',options.proId); commonApi._post("search/product_recommend", { offset: 0, limit: 6, rand: true, - type: 'post' + type: 'post', + product_ids:options.proId, }).then(res => { try { this.setData({ diff --git a/pages/order/pay/index.js b/pages/order/pay/index.js index 53f5e68..461a0ae 100644 --- a/pages/order/pay/index.js +++ b/pages/order/pay/index.js @@ -18,7 +18,8 @@ Page({ activePay:false,//是否活动支付 SUBWALLET:false, wxPay:false, - isBook:false + isBook:false, + ids:[], // 多产品id }, /** @@ -136,6 +137,14 @@ Page({ }) }, pay:function(){ + let arr = [] + this.data.info.order_product_list.forEach(item => { + arr.push(item.product_id) + }) + this.setData({ + ids:arr + }) + if (this.data.activePay) { let flag = false if (this.data.payList.length!=0 && !this.data.info.coupon_activity.pay_type.includes('SUBWALLET')) { @@ -185,7 +194,7 @@ Page({ }) setTimeout(()=>{ wx.redirectTo({ - url: '../payresult/index?tid='+_this.data.id + url: '../payresult/index?tid='+_this.data.id+'&ids='+_this.data.ids.join(',') }) },1000) }, @@ -218,7 +227,7 @@ Page({ }) setTimeout(()=>{ wx.redirectTo({ - url: '../payresult/index?tid='+this.data.id + url: '../payresult/index?tid='+this.data.id+'&ids='+_this.data.ids.join(',') }) },1000) } diff --git a/pages/order/payresult/index.js b/pages/order/payresult/index.js index cc73a61..79d9fee 100644 --- a/pages/order/payresult/index.js +++ b/pages/order/payresult/index.js @@ -20,6 +20,7 @@ Page({ tid:options.tid, type:options.type }) + console.log('options.ids',options.ids); commonApi.user_post("order/query",{ order_id:options.tid }).then(res=>{ @@ -32,7 +33,8 @@ Page({ offset: 0, limit: 6, rand: true, - type: 'post' + type: 'post', + product_ids:options.ids, }).then(res => { try { this.setData({ diff --git a/pages/user/order/activityOrderInfo/index.wxml b/pages/user/order/activityOrderInfo/index.wxml index fe34272..9c9fb0b 100644 --- a/pages/user/order/activityOrderInfo/index.wxml +++ b/pages/user/order/activityOrderInfo/index.wxml @@ -50,7 +50,7 @@ 再次购买 取消订单 取消订单 - 去评价 + 去评价 立即支付 diff --git a/pages/user/order/hotelOrderInfo/index.js b/pages/user/order/hotelOrderInfo/index.js index bb2da1a..aa83dc2 100644 --- a/pages/user/order/hotelOrderInfo/index.js +++ b/pages/user/order/hotelOrderInfo/index.js @@ -18,7 +18,8 @@ Page({ codeImgs:[], minute:"", second:"", - id:null + id:null, + ids:[] }, /** @@ -190,6 +191,10 @@ Page({ let time = (new Date(res.data.create_time.replace(/-/g,'/')).getTime() + Number(res.data.auto_close_time) * 1000); this.daojishi(time); } + let proId = [] + res.data.order_product_list.forEach(item => { + proId.push(item.product_id) + }) let state = ""; res.data.order_product_list.map(order=>{ order.qrcode.map(item=>{ @@ -207,7 +212,8 @@ Page({ this.setData({ isRefund:state.indexOf("REFUND")!=-1, info:res.data, - product_model:res.data.order_product_list[0].product_model + product_model:res.data.order_product_list[0].product_model, + ids: proId.join(",") }) this.getCodeImg() }) diff --git a/pages/user/order/hotelOrderInfo/index.wxml b/pages/user/order/hotelOrderInfo/index.wxml index 4dc4ec0..e54ef76 100644 --- a/pages/user/order/hotelOrderInfo/index.wxml +++ b/pages/user/order/hotelOrderInfo/index.wxml @@ -40,7 +40,7 @@ 立即支付 - + diff --git a/pages/user/order/lineOrderInfo/index.js b/pages/user/order/lineOrderInfo/index.js index d1a9ea0..646eb5a 100644 --- a/pages/user/order/lineOrderInfo/index.js +++ b/pages/user/order/lineOrderInfo/index.js @@ -19,7 +19,8 @@ Page({ minute:"", second:"", id:"", - cardTypes:{} + cardTypes:{}, + ids:[] }, /** @@ -201,6 +202,10 @@ Page({ let time = (new Date(res.data.create_time.replace(/-/g,'/')).getTime() + Number(res.data.auto_close_time) * 1000); this.daojishi(time); } + let proId = [] + res.data.order_product_list.forEach(item => { + proId.push(item.product_id) + }) let state = ""; res.data.order_product_list.map(order=>{ order.qrcode.map(item=>{ @@ -212,7 +217,8 @@ Page({ this.setData({ isRefund:state.indexOf("REFUND")!=-1, info:res.data, - product_model:res.data.order_product_list[0].product_model + product_model:res.data.order_product_list[0].product_model, + ids: proId.join(",") }) this.getCodeImg() }) diff --git a/pages/user/order/lineOrderInfo/index.wxml b/pages/user/order/lineOrderInfo/index.wxml index 47f7682..be5d0da 100644 --- a/pages/user/order/lineOrderInfo/index.wxml +++ b/pages/user/order/lineOrderInfo/index.wxml @@ -39,13 +39,13 @@ 再次购买 取消预订 取消订单 - 去评价 + 去评价 立即支付 - + diff --git a/pages/user/order/movieOrderInfo/index.js b/pages/user/order/movieOrderInfo/index.js index 5b87f67..165a42c 100644 --- a/pages/user/order/movieOrderInfo/index.js +++ b/pages/user/order/movieOrderInfo/index.js @@ -19,7 +19,8 @@ Page({ codeImgs:[], id:null, minute:"", - second:"" + second:"", + ids:[] }, /** @@ -175,6 +176,10 @@ Page({ let time = (new Date(res.data.create_time.replace(/-/g,'/')).getTime() + Number(res.data.auto_close_time) * 1000); this.daojishi(time); } + let proId = [] + res.data.order_product_list.forEach(item => { + proId.push(item.product_id) + }) let state = "" res.data.order_product_list.map(order=>{ order.qrcode.map(item=>{ @@ -186,7 +191,8 @@ Page({ this.setData({ isRefund:state.indexOf("REFUND")!=-1, info:res.data, - product_model:res.data.order_product_list[0].product_model + product_model:res.data.order_product_list[0].product_model, + ids: proId.join(",") }) this.getCodeImg() }) diff --git a/pages/user/order/movieOrderInfo/index.wxml b/pages/user/order/movieOrderInfo/index.wxml index 556623e..77c75b6 100644 --- a/pages/user/order/movieOrderInfo/index.wxml +++ b/pages/user/order/movieOrderInfo/index.wxml @@ -52,7 +52,7 @@ 退款详情 取消订单 取消订单 - 去评价 + 去评价 立即支付 diff --git a/pages/user/order/museumOrderInfo/index.js b/pages/user/order/museumOrderInfo/index.js index 3293767..582c3d3 100644 --- a/pages/user/order/museumOrderInfo/index.js +++ b/pages/user/order/museumOrderInfo/index.js @@ -19,7 +19,8 @@ Page({ codeImgs:[], id:null, minute:"", - second:"" + second:"", + ids:[] }, /** @@ -175,6 +176,10 @@ Page({ let time = (new Date(res.data.create_time.replace(/-/g,'/')).getTime() + Number(res.data.auto_close_time) * 1000); this.daojishi(time); } + let proId = [] + res.data.order_product_list.forEach(item => { + proId.push(item.product_id) + }) let state = ""; res.data.order_product_list.map(order=>{ order.qrcode.map(item=>{ @@ -201,7 +206,8 @@ Page({ this.setData({ isRefund:state.indexOf("REFUND")!=-1, info:res.data, - product_model:res.data.order_product_list[0].product_model + product_model:res.data.order_product_list[0].product_model, + ids: proId.join(",") }) this.getCodeImg() // 获取行程规划 diff --git a/pages/user/order/museumOrderInfo/index.wxml b/pages/user/order/museumOrderInfo/index.wxml index 04d9025..be35fec 100644 --- a/pages/user/order/museumOrderInfo/index.wxml +++ b/pages/user/order/museumOrderInfo/index.wxml @@ -50,13 +50,13 @@ 再次购买 取消订单 取消订单 - 去评价 + 去评价 立即支付 - + {{info.order_product_list[0].scene_detail.title}} diff --git a/pages/user/order/postOrderInfo/index.js b/pages/user/order/postOrderInfo/index.js index ae80367..5ad6b07 100644 --- a/pages/user/order/postOrderInfo/index.js +++ b/pages/user/order/postOrderInfo/index.js @@ -22,7 +22,8 @@ Page({ id:null, pay_methods:app.globalData.pay_methods, tjList:[], - showLoading:true + showLoading:true, + ids:[] }, /** @@ -240,6 +241,10 @@ Page({ let time = (new Date(res.data.create_time.replace(/-/g,'/')).getTime() + Number(res.data.auto_close_time) * 1000); this.daojishi(time); } + let proId = [] + res.data.order_product_list.forEach(item => { + proId.push(item.product_id) + }) let state = ""; res.data.stateNums = {} res.data.order_product_list.map(order=>{ @@ -256,7 +261,8 @@ Page({ this.setData({ isRefund:state.indexOf("REFUND")!=-1, info:res.data, - product_model:res.data.order_product_list[0].product_model + product_model:res.data.order_product_list[0].product_model, + ids: proId.join(",") }) this.getCodeImg() }) diff --git a/pages/user/order/postOrderInfo/index.wxml b/pages/user/order/postOrderInfo/index.wxml index e7a33ed..607af56 100644 --- a/pages/user/order/postOrderInfo/index.wxml +++ b/pages/user/order/postOrderInfo/index.wxml @@ -12,7 +12,7 @@ {{info.order_product_list[0].consignee_info.name}}{{info.order_product_list[0].consignee_info.tel}} {{info.order_product_list[0].consignee_info.address}} - + @@ -52,7 +52,7 @@ 确认收货 申请退款 取消订单 - 去评价 + 去评价 立即支付 查询快递 diff --git a/pages/user/order/sceneOrderInfo/index.js b/pages/user/order/sceneOrderInfo/index.js index 69f972d..a411574 100644 --- a/pages/user/order/sceneOrderInfo/index.js +++ b/pages/user/order/sceneOrderInfo/index.js @@ -28,7 +28,8 @@ Page({ sysmText:'更多', sysm2:false, sysm2Text:'更多', - imgLen:[] + imgLen:[], + ids:[] }, /** @@ -259,6 +260,10 @@ Page({ let time = (new Date(res.data.create_time.replace(/-/g,'/')).getTime() + Number(res.data.auto_close_time) * 1000); this.daojishi(time); } + let proId = [] + res.data.order_product_list.forEach(item => { + proId.push(item.product_id) + }) let state = "" res.data.order_product_list.map(order=>{ order.qrcode.map(item=>{ @@ -270,8 +275,10 @@ Page({ this.setData({ isRefund:state.indexOf("REFUND")!=-1, info:res.data, - product_model:"ticket"||res.data.order_product_list[0].product_model + product_model:"ticket"||res.data.order_product_list[0].product_model, + ids: proId.join(",") }) + console.log('ids',this.data.ids); this.getCodeImg() // 获取行程规划 let that = this; diff --git a/pages/user/order/sceneOrderInfo/index.wxml b/pages/user/order/sceneOrderInfo/index.wxml index 3e1836f..6de2321 100644 --- a/pages/user/order/sceneOrderInfo/index.wxml +++ b/pages/user/order/sceneOrderInfo/index.wxml @@ -24,7 +24,7 @@ {{codeImgs[codeIndex].state}} {{codeIndex+1}}/{{codeImgs.length}} - + @@ -49,7 +49,7 @@ 退款详情 取消预订 取消预订 - 去评价 + 去评价 立即支付 diff --git a/project.private.config.json b/project.private.config.json index 71b8843..acdc8dd 100644 --- a/project.private.config.json +++ b/project.private.config.json @@ -81,6 +81,13 @@ "query": "id=82342309051435565877", "launchMode": "default", "scene": null + }, + { + "name": "", + "pathName": "pages/user/order/activityOrderInfo/index", + "query": "", + "launchMode": "default", + "scene": null } ] } From 2b31bcda333e6bdbd424f47722c83d8296331b30 Mon Sep 17 00:00:00 2001 From: shaojing <2901156235@qq.com> Date: Tue, 5 Dec 2023 16:40:47 +0800 Subject: [PATCH 108/471] =?UTF-8?q?=E9=9D=9E=E9=81=97=E8=B7=B3=E5=9B=9E?= =?UTF-8?q?=E5=BA=97=E9=93=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/index.wxml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pages/index/index.wxml b/pages/index/index.wxml index f8c490f..cd8d20c 100644 --- a/pages/index/index.wxml +++ b/pages/index/index.wxml @@ -52,7 +52,10 @@ 场馆预约 - + + 非遗专卖 From aa98e11ced1ee696f0c7dfe6ca2dd597f4695722 Mon Sep 17 00:00:00 2001 From: chenkainan Date: Tue, 12 Dec 2023 16:23:54 +0800 Subject: [PATCH 109/471] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E9=A1=B6=E9=83=A8?= =?UTF-8?q?=E8=BD=AE=E6=92=AD=E5=88=86=E4=BA=ABH5=E5=A4=96=E9=93=BE?= =?UTF-8?q?=E4=B8=93=E9=A2=98=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/pbService/web/index.js | 28 +++++++++++++++++++++++++++- pages/pbService/web/index.wxml | 2 +- 2 files changed, 28 insertions(+), 2 deletions(-) diff --git a/pages/pbService/web/index.js b/pages/pbService/web/index.js index 4a33728..4ee0c8b 100644 --- a/pages/pbService/web/index.js +++ b/pages/pbService/web/index.js @@ -7,7 +7,9 @@ Page({ * 页面的初始数据 */ data: { - webUrl:"" + webUrl:"", + shareTitle: "", + shareUrl: "" }, /** @@ -51,6 +53,13 @@ Page({ }) } }, + handleMessage(data) { + console.log(data) + this.setData({ + shareTitle:data.shareTitle, + shareUrl:data.shareUrl + }) + }, /** * 生命周期函数--监听页面初次渲染完成 */ @@ -92,4 +101,21 @@ Page({ onReachBottom: function () { }, + + /** + * 用户点击右上角分享 + */ + onShareAppMessage: function () { + return { + title: this.data.shareTitle, + path: this.data.shareUrl, + } + }, + + onShareTimeline: function() { + return { + title: this.data.shareTitle, + path: this.data.shareUrl, + } + } }) \ No newline at end of file diff --git a/pages/pbService/web/index.wxml b/pages/pbService/web/index.wxml index 31b0cf7..f6c048b 100644 --- a/pages/pbService/web/index.wxml +++ b/pages/pbService/web/index.wxml @@ -1,4 +1,4 @@ - + From 820a8c5ce40cc05a4a6510c0859e13961995d981 Mon Sep 17 00:00:00 2001 From: shaojing <2901156235@qq.com> Date: Thu, 11 Jan 2024 15:39:21 +0800 Subject: [PATCH 110/471] =?UTF-8?q?=E5=85=83=E6=97=A6=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 2 +- app.json | 8 +- images/index-seld.png | Bin 0 -> 13015 bytes images/my-seld.png | Bin 0 -> 15868 bytes images/tuyou-seld.png | Bin 0 -> 23265 bytes pages/index/index.js | 60 +++++++ pages/index/index.wxml | 212 ++++++++++++++++++------ pages/index/index.wxss | 256 +++++++++++++++++++++++++++-- pages/info/activityInfo/index.wxml | 2 +- pages/info/hotelInfo/index.js | 12 +- pages/info/hotelInfo/index.wxml | 27 ++- pages/info/hotelInfo/index.wxss | 41 ++++- pages/order/orderList/index.wxml | 2 +- pages/order/scene/index.wxml | 2 +- 14 files changed, 547 insertions(+), 77 deletions(-) create mode 100644 images/index-seld.png create mode 100644 images/my-seld.png create mode 100644 images/tuyou-seld.png diff --git a/app.js b/app.js index dd03f9a..72de0a2 100644 --- a/app.js +++ b/app.js @@ -21,7 +21,7 @@ App({ unique_key: "wechatxcx" }).then(res => { let data = JSON.parse(res.data); - data.isTest = data.isTest97? true : false; + data.isTest = data.isTest98? true : false; this.globalData.configJson = data }).then(() => { // 获取ui配置文件 diff --git a/app.json b/app.json index a1a1761..7b89e99 100644 --- a/app.json +++ b/app.json @@ -213,26 +213,26 @@ "sitemapLocation": "sitemap.json", "tabBar": { "color": "#999", - "selectedColor": "#0B898E", + "selectedColor": "#D02E25", "borderStyle": "white", "list": [ { "pagePath": "pages/index/index", "iconPath": "/images/home.png", - "selectedIconPath": "/images/homeSel.png", + "selectedIconPath": "/images/index-seld.png", "text": "首页", "shareTimeline": true }, { "pagePath": "pages/map/index", "iconPath": "/images/map.png", - "selectedIconPath": "/images/mapSeld.png", + "selectedIconPath": "/images/tuyou-seld.png", "text": "图游" }, { "pagePath": "pages/user/user", "iconPath": "/images/user.png", - "selectedIconPath": "/images/userSel.png", + "selectedIconPath": "/images/my-seld.png", "text": "我的" } ] diff --git a/images/index-seld.png b/images/index-seld.png new file mode 100644 index 0000000000000000000000000000000000000000..c45cad0e3ba34b72ca7266b853381d98ce3650a2 GIT binary patch literal 13015 zcmbtbWmg!87d1Sja=!QBa5p7$@@58bs^ z)mgi&cURRur=nDpWYAHFQ2+oy|12x1_LkQD_aGs>y=z-{jNTHEtD1~BP%}w-005N0 zXGt*)FQXHG8z;QQw7t8v@eeFW17?jxv7$KQNVK8s*}OsZ=w9CXD;&O%fLXGC=4O@w zHy^Rr$nv719ymlSeSGLUUKIu;6(sMjeNXS~MQ+I)O+;a6si;DAV(at!Ot8fDHFt%6 zBx{DDvZ&ywsft>L{#;re_q|%JRmywHjYFzYl`rtV*s81d@L(R+@?EIGX$ViSqRNr& z$1RWmyHb}-W-M9ZacT49J$(bm`piIwI%#`F$$zBxMtzY=CYxd*yyVBOf-9Em&4jz8 ztSfK}f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o69b%rjnj&Ghx3hb@$L1#Z&@Q@; zRX0N0jdjp9_*bU5@*~+}vthHzKEC|bd&ZTx)UFNXudh7n@CeC{{561*QsIr);AV{3 zmmgS6u~1!!aQ|%1i(g9GUOzVSo;J#jfgYYLXb$jHow%_x9#s>n#Syyf_9I4a-wdsh&0U#escYiZE&id$I5 z_Tadls4b|>ke5U>p#OT#HEoQMGkliax2hzT@Kvovw2f(RGel>Ar^aE*05U`dzy`vY z(Ex^8L%T_H_Q*e%9!)VWHWG)dnv-4Ti2dxVwD*TDSp{PYs&@Eoj{_Sd1XYFH{4 z?S!Ym8N%L3}Q3tjAIF%UxZPF+$l$BMTzrXgP z)6Ui>unc)teMQi6L@__Ww_aHy^BXf3*D(h7q2)K!t5HhUkORZMjcWPIYM(#cz!}w1 z=SN7~S`S{ho@5$GxUj}OJ_guYch@)Mq>V}AN$4;pT0U)Ayv;(bmI30&>zag2n!Pc)P*yr-QSvV2# z3E1-lp1yWd z{U2<#0B#i%%NvH0yh2}red-&m{aU7p;s2*;y|0KQr<1PVeGv-YZmIyErIaLV#7%<# E53$pCiU0rr literal 0 HcmV?d00001 diff --git a/images/my-seld.png b/images/my-seld.png new file mode 100644 index 0000000000000000000000000000000000000000..3a88c5c25f3508f8ef32fe13559043dd63ca6435 GIT binary patch literal 15868 zcmb_@RaYEM+wQ>NP6!g*32wpNf;BLYFOq|s3bQ2+n{x~z<(>c?2~zY7WB<6hmoYxpt1xT#8u1F9y7j{pF2 zfUKmLy0_t3hmE(vq6baOLhHRyG;yEUCmK~)*?4lXPsCh5sJOKAX;u?yR$T{s2v&F&gK24TyA!PxO5YrReQ0zm>v zi?UT%8N)$(eILI&2Esw82nZH9*+*D%bVDd1T2cARY_zg`2sbHMG1m zwEEcxlcxKri&fJoT@!(mso!Acmf*%rX-XPEC;)0K*&)y&{G5YvVGU;AV2CiFW;W_V zw38D-M23%K17E}4q15)`b=}fjI-bAg|CQgj8E>#LV<=Ng9SE*2UZVkZ4N2hhI{yS+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?j+#yK?`H!lk#Xl!e zeq{DtE%QFgT-&3#uE6VyC$tdKPwSL^H&>BLLFf4@|`^L7ai`O=fZZ7xxoe$6b zzy6N&5Lz{1Y&~~8a_&WlZ?ZWcLrGfl!7wTh$ZMU+0YZem0%VI2NceH;1TLw$?Dl#G z?QNwB2yg}^y0QKqLv@q^KJdol;B2Sxa3kQfx2=_2ebJg1S|FJ)*OzkGO=QyJK8an} zpXLkTb;@)8vr3j5#USl-@Ch&w+>r|^JDrtuC|y;r|a0-rj+e Yk<4zBPhKA#+yH>Al#*nXxbe^b18%4h=>Px# literal 0 HcmV?d00001 diff --git a/images/tuyou-seld.png b/images/tuyou-seld.png new file mode 100644 index 0000000000000000000000000000000000000000..ff577b2355aae2eefc4d69b191ce08cd24f94129 GIT binary patch literal 23265 zcmbT8V{;`;7q0h?F|loDhZAR_i8--t+qRR5jfpd{jfrjBwzH%2ymjjQf%Bnz)%w!a zy{fCL>%On<$Y1gjNC@}{0000WtmzgYXf1_$$BU(<4+_g?@yD@lj|s;3A~0RU2f zl&G+Zhu%e(rHiV1CROWm+jAEU{J=L(Tmn?|U;q%C_$H$N9@kJ}1ucQq#6-nR#m&`R zRsEw(ufp23w8H9fOfMy)sov>tjGijbuu1r3F9kBnPT;?EVYmTW7y_G^4B>t6>)cK7 zmA3-Fi4Y_@TzEAOqRHm&hV#?M6xUTeE^nCG4ni(a@1HRVK6vJv0bK7-($)g=|DyWC z9TJk?e>v{|Uv8cn57BA_zY#KBp{pqq&Bx1mDXlHhMjEy9oqs>^w9@$=dBsINzmU6-6QRb0$*gusqqG*li+SP-jme zj_~xkQvW&+ia+pW?azK6J4-%bY2LvDELE-Hlzv#MUfcL6dr;H#Fac2|0WwQYvmTAQ z?VF!QQ0V{dAcg%aKs%7i&gn3aG{=fyDQqE~^xKf=UV5)}Q3RR`F0dv6ATe5=tyJEt z1WOI15`{t)fq;L5qZQ2^L5(6c0~Sd&dj5%xn@p64;Fh|h3{}?Sr+e84ez3A~%jfVX z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1{Mp+3^e(wNjqt}j-sRjm{MfcR@RfWAaxAzmLW7z)DS%`Ksw``J133~ z?dltvc#vRi$p>EiIGgts)F*=4+DC)Yk+xv6G!^74vCBnGZn6}+N|ZR~Ee&3xD_ZX3 z_Ti_T3c-|*a)FN~L!U2BCHYEId}U%H#>TVpzWr$m`(rZ=AGPo$3q0?zSo(tb+<_$k z&*$zgefGTXz!HGxeT$dAU_N(X3BdEYyGx%v?>n#r;CbKTr7xJz9r%CR%_T*MLOC!1 O0000 { + console.log('data',res.data); + this.setData({ + xpth: res.data, + djsTime: res.data.time + }) + let time = setInterval(()=>{ + this.setData({ + djsTime:this.data.djsTime-1 + }) + this.formatDate(this.data.djsTime) + },1000) + if(this.data.djsTime==0) { + clearInterval(time) + } + }) + }, + // 元旦新品特惠 倒计时 + formatDate: function (oTime) { + let h = parseInt(oTime/3600) + let m = parseInt((oTime%3600)/60) + let s = parseInt(oTime%60) + // h=h<10?"0"+h:h; + // m=m<10?"0"+m:m; + s=s<10?"0"+s:s; + this.setData({ + djs:{h:h,m:m,s:s} + }) + return }, goFeiyi: function () { app.globalData.weburl = 'https://m.cloud.sz-trip.com/mlgCoupons' @@ -405,6 +456,15 @@ Page({ }) } }, + // 元旦 新品特惠部分 + goBanner: function(e) { + console.log('新品特惠',e.currentTarget.dataset.url); + let url = e.currentTarget.dataset.url; + app.globalData.weburl = url; + wx.navigateTo({ + url: "/pages/pbService/web/index" + }) + }, gotoUrl: function (e) { console.log(e) if (e.currentTarget.dataset.event) { diff --git a/pages/index/index.wxml b/pages/index/index.wxml index cd8d20c..b727e0f 100644 --- a/pages/index/index.wxml +++ b/pages/index/index.wxml @@ -3,6 +3,7 @@ + @@ -44,12 +45,16 @@ - + + + 活动日历 - + + + 场馆预约 @@ -57,42 +62,58 @@ data-path="/pages/list/{{isTest?'scene':'feiyi'}}/index" class="top-icon-item"> --> - + + + 非遗专卖 - + + + 剧场演出 - + + + 文创特产 - + + + 景点门票 - + + + 酒店住宿 - + + + 夜游苏州 - + + + 一日游 - + + + 研学游 @@ -153,14 +174,55 @@ + + + + + + + + {{djs.h}}: + {{djs.m}}: + {{djs.s}} + + + + 更多 + + + + + + + + + + {{item.title}} + + {{item.price/100}} + 立即抢购 + + + + + + + + + + + - + + - - 非遗鉴赏 + + + - - 文化场馆查询 + + + - - 数字博物馆 + + + - - 云上文博会 + + + - - 投资导引图 + + + - - 文旅单位 + + + - - 苏影通 + + + - - 云上观展 + + + - - 精彩回顾 + + + - - 视觉中心 + + + - - 书香借阅 + + + - - 公共文化资源库 + + + - + + + + - + + + + + + @@ -285,29 +384,39 @@ class="iconfont icon-you"> - + + - - + + + + + 安全服务 - + data-url="https://m.cloud.sz-trip.com/ScenicComfort" class="pbservice-item ggfw"> + + + 景区舒适度 - + data-url="https://weixin.2500sz.net/zt/2023/07/luggage_storage/" class="pbservice-item ggfw"> + + + 行李寄存 - + data-url="https://jiaotonghao2.amap.com/?channel=amap&unitId=257&src=app_share#/" class="pbservice-item ggfw"> + + + 实时路况 + + + + diff --git a/pages/index/index.wxss b/pages/index/index.wxss index 5858b74..5a6535b 100644 --- a/pages/index/index.wxss +++ b/pages/index/index.wxss @@ -1,4 +1,8 @@ /**index.wxss**/ +/* 元旦修改 */ +page { + background: #FFF6E8; +} .swiper,.swiper image { width: 690rpx; display: block; @@ -275,7 +279,7 @@ font-size: 31rpx; font-weight: 500; } -.pic-list { +/* .pic-list { display: flex; justify-content: space-between; margin: 60rpx 0; @@ -284,23 +288,41 @@ width: 155.33rpx; height: 200rpx; display: block; +} */ +/* 元旦修改 以上两个样式为注释掉的 下面的.pic-list是新改的 */ +.pic-list { + width: 100%; + display: flex; + margin-right: 26rpx; + display: flex; + justify-content: space-between; + flex-wrap: wrap; } .title-more { font-size: 27rpx; - color: #0B898E; + /* color: #0B898E; */ + /* 元旦修改 */ + color: #D02E25; } .title-more .iconfont { font-size: 22rpx; } .pbservice { - width: calc(175rpx * 6); + /* width: calc(175rpx * 6); */ + /* 元旦修改 */ + width: calc(239.33rpx * 6); display: flex; margin-top: 20rpx; flex-wrap: wrap; - margin-bottom: 60rpx; + /* margin-bottom: 60rpx; */ + /* 元旦修改 注释margin-bottom */ } .pbservice-item { - width: 175rpx; + /* 元旦修改 截止到注释的width*/ + width: 220rpx; + margin-bottom: 33.33rpx; + margin-right: 19.33rpx; + /* width: 175rpx; */ text-align: center; font-size: 25rpx; color: #333; @@ -311,9 +333,11 @@ flex-direction: column; } .pbservice-item image { - width: 60rpx; + /* width: 60rpx; margin-bottom: 20rpx; - margin-top: 50rpx; + margin-top: 50rpx; */ + /* 元旦修改 以上都是之前的*/ + width: 220rpx; } .six-box { margin-top: 43rpx; @@ -482,17 +506,34 @@ margin: 20rpx auto; } .scroll-line { - height: 6rpx; + /* height: 6rpx; border-radius: 3rpx; background: #ccc; overflow: hidden; - margin: 30rpx auto; + margin: 30rpx auto; */ + /* 元旦修改 以上为注释部分 下面为新内容*/ + width: 73rpx !important; + height: 7rpx; + background: #FFDA9F; + border-radius: 3rpx; + margin: 33.33rpx auto; } .scroll-line-bg { - width: 300rpx; + /* width: 300rpx; height: 6rpx; border-radius: 3rpx; - background: #0B898E; + background: #0B898E; */ + /* 元旦修改 以上为注释部分 下面为新内容*/ + height: 7rpx; + background: #D02E25; + border-radius: 3rpx; +} +/* 元旦修改 新增样式 */ +.scroll-line-bg2 { + margin-left: 37.33rpx; + background: #D02E25; + height: 7rpx; + border-radius: 3rpx; } .nomore-tip-btn { position: absolute; @@ -724,4 +765,197 @@ text-align: center; line-height: 60rpx; z-index: 1002; +} + +/* 元旦修改新增样式 */ +.xpth { + /* width: 697rpx; */ + height: 462rpx; + background: linear-gradient(-90deg, #FF9B6A, #D02E25); + border-radius: 20rpx; + padding: 22.67rpx 18rpx 15.33rpx; + position: relative; +} +/* 元旦修改新增样式 */ +.time-box { + font-size: 25rpx; + font-family: DIN; + font-weight: 500; + color: #FDEBC6; + display: flex; + align-items: center; + height: 37px; + margin-left: -50rpx; +} +/* 元旦修改新增样式 */ +.xsth-time { + margin: 0 5rpx; + width: 50rpx; + height: 33rpx; + background: #FFF0D7; + border-radius: 5rpx; + font-size: 25rpx; + font-family: DIN; + font-weight: 500; + color: #E63100; + text-align: center; + line-height: 33rpx; +} +/* 元旦修改新增样式 */ +.xpth-left { + display: flex; + flex-direction: column; + justify-content: space-between; +} +/* 元旦修改新增样式 */ +.xsth-title { + display: flex; + justify-content: space-between; + width: 100%; +} +/* 元旦修改新增样式 */ +.xsth-more { + margin-top: 19.33rpx; + font-size: 27rpx; + font-family: HYZhongYuan; + font-weight: normal; + color: #FFE7C0; +} +/* 元旦修改新增样式 */ +.xsth-more image { + margin-left: 14.67rpx; + width: 12.67rpx; + height: 22.67rpx; + vertical-align: middle; +} +/* 元旦修改新增样式 */ +.yanhua { + height: 104rpx; + width: 104rpx; + position: absolute; + right: 120rpx; + z-index: 999; +} +/* 元旦修改新增样式 */ +.xpth-product { + position: absolute; + right: 18rpx; + bottom: 15.33rpx; + display: flex; + width: 670rpx; + justify-content: space-between; +} +/* 元旦修改新增样式 */ +.xpth-banner { + width: 248rpx; + height: 353rpx; + background: #FFFFFF; + border-radius: 20rpx; +} +/* 元旦修改新增样式 */ +.xpth-item { + width: 413rpx; + height: 170rpx; + background: #FFFFFF; + border-radius: 20rpx; + display: flex; +} +/* 元旦修改新增样式 */ +.xpth-item image { + width: 160rpx; + height: 160rpx; + background: #FFE7C0; + border-radius: 13rpx; + margin-right: 15.33rpx; + flex-shrink: 0; +} +/* 元旦修改新增样式 */ +.xpth-item-content { + width: 100%; + display: flex; + flex-direction: column; + justify-content: space-around; + +} +/* 元旦修改新增样式 */ +.xpth-item-title { + font-size: 27rpx; + font-family: PingFang SC; + font-weight: 500; + color: #333333; + margin-right: 18rpx; + height: 80rpx; +} +/* 元旦修改新增样式 */ +.xpth-item-bottom { + display: flex; + justify-content: space-between; + align-items: center; + padding-right: 13.33rpx; +} +/* 元旦修改新增样式 */ +.xpth-item-price { + font-size: 32rpx; + font-family: PingFang SC; + font-weight: 500; + color: #E63100; +} +/* 元旦修改新增样式 */ +.xpth-item-price::before { + content: "¥"; + font-size: 20rpx; +} +/* 元旦修改新增样式 */ +.xpth-item-buy { + width: 111rpx; + height: 36rpx; + background: linear-gradient(180deg, #FF9B6A, #E63100); + border-radius: 18rpx; + font-size: 21rpx; + font-family: PingFang SC; + font-weight: 500; + color: #FFE7C0; + text-align: center; + line-height: 36rpx; +} +/* 元旦修改新增样式 */ +.new-pic { + width: 335.33rpx !important; + height: 120.67rpx !important; + margin-bottom: 26.67rpx; +} + +.ggfw-list { + justify-content: space-around !important; +} +.ggfw { + width: auto; + margin-bottom: 54rpx; +} +.ggfw image{ + margin-bottom: 16.67rpx; + width: 93.33rpx !important; + height: 93.33rpx !important; +} + +.six-box-new { + width: 697rpx; + height: 285rpx; + background: linear-gradient(-90deg, #FF9B6A, #D02E25); + border-radius: 20rpx; + display: flex; + justify-content: space-between; + align-items: center; + padding-left: 13.33rpx; + overflow: scroll; + margin-bottom: 53.33rpx; +} + +.six-box-new image { + width: 192rpx; + height: 258rpx; + background: #FFE7C0; + border-radius: 20rpx; + flex-shrink: 0; + margin-right: 13.33rpx; } \ No newline at end of file diff --git a/pages/info/activityInfo/index.wxml b/pages/info/activityInfo/index.wxml index e5770bc..88057ff 100644 --- a/pages/info/activityInfo/index.wxml +++ b/pages/info/activityInfo/index.wxml @@ -40,7 +40,7 @@ {{info.scene_data.title}} - 查看 + 预订 {{info.scene_data.address}} diff --git a/pages/info/hotelInfo/index.js b/pages/info/hotelInfo/index.js index 877d9c3..e4e62bd 100644 --- a/pages/info/hotelInfo/index.js +++ b/pages/info/hotelInfo/index.js @@ -13,7 +13,8 @@ Page({ fixed:false, type:1, top:0, - info:null + info:null, + tel:null }, /** @@ -30,7 +31,8 @@ Page({ id:options.id }).then(res=>{ this.setData({ - info:res.data + info:res.data, + tel:(res.data.tel.indexOf('/') == -1)?res.data.tel:res.data.tel.split('/')[0] }) this.BroswerRecord() }) @@ -53,6 +55,12 @@ Page({ } },500) }, + call:function(e){ + let num = e.currentTarget.dataset.num; + wx.makePhoneCall({ + phoneNumber: num, + }) + }, changeMenu:function(e){ let index = e.currentTarget.dataset.index,that = this; const query=wx.createSelectorQuery(); //创建节点查询器 diff --git a/pages/info/hotelInfo/index.wxml b/pages/info/hotelInfo/index.wxml index 33838b7..5e752a9 100644 --- a/pages/info/hotelInfo/index.wxml +++ b/pages/info/hotelInfo/index.wxml @@ -4,18 +4,24 @@ 介绍 - 设施与服务 - 预定须知 + + 预订须知 + + {{info.title}} + - 介绍 + + + 酒店介绍 + - + - + - 预定须知 + + + 预订须知 + + + + + 拨打酒店电话:{{tel}} \ No newline at end of file diff --git a/pages/info/hotelInfo/index.wxss b/pages/info/hotelInfo/index.wxss index c1d14a2..69011dc 100644 --- a/pages/info/hotelInfo/index.wxss +++ b/pages/info/hotelInfo/index.wxss @@ -1,6 +1,7 @@ /* pages/info/hotelProductInfo/index.wxss */ page { - background: #f2f2f2; + /* background: #f2f2f2; */ + padding-bottom: 171rpx; } .swiper { width: 100%; @@ -300,6 +301,8 @@ page { .scroll-menu-item { position: relative; line-height: 84rpx; + width: 300rpx; + text-align: center; } .scroll-menu-item.active::after { content: "1"; @@ -359,3 +362,39 @@ page { border-radius: 39rpx; text-align: center; } + +.hotel-name { + width: 750rpx; + height: 121rpx; + background: rgba(11,137,142, .08); + padding-left: 26.67rpx; + font-size: 35rpx; + font-family: PingFang SC; + font-weight: bold; + color: #0B898E; + line-height: 121rpx; +} + +.icon-img { + width: 32rpx; + height: 32rpx; + margin-right: 8.67rpx; + vertical-align: middle; +} + +.call-phone { + width: 653rpx; + height: 80rpx; + background: #0B898E; + border-radius: 40rpx; + font-size: 32rpx; + font-family: PingFang SC; + font-weight: 500; + color: #FFFFFF; + text-align: center; + line-height: 80rpx; + margin: auto; + position: fixed; + left: 50rpx; + bottom: 50rpx; +} diff --git a/pages/order/orderList/index.wxml b/pages/order/orderList/index.wxml index 9514af6..1bffe7b 100644 --- a/pages/order/orderList/index.wxml +++ b/pages/order/orderList/index.wxml @@ -49,7 +49,7 @@ 出行人信息 姓名:{{items.name}} - 身份证:{{items.id_number}} + 证件号:{{items.id_number}} 手机号:{{items.tel}} diff --git a/pages/order/scene/index.wxml b/pages/order/scene/index.wxml index 032d64a..0094b6e 100644 --- a/pages/order/scene/index.wxml +++ b/pages/order/scene/index.wxml @@ -71,7 +71,7 @@ {{item.name}} - 身份证: + 证件号: {{item.id_number}} From af38b54673ab42f1e9bdfe2bb9180f04ae70fe65 Mon Sep 17 00:00:00 2001 From: shaojing <2901156235@qq.com> Date: Fri, 12 Jan 2024 09:54:17 +0800 Subject: [PATCH 111/471] =?UTF-8?q?=E5=90=8E=E5=8F=B0=E9=A6=96=E9=A1=B5ui?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E5=A2=9E=E5=8A=A0=E6=96=B0=E5=93=81=E7=89=B9?= =?UTF-8?q?=E6=83=A0=E6=9D=BF=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/index.wxml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/index/index.wxml b/pages/index/index.wxml index b727e0f..824434e 100644 --- a/pages/index/index.wxml +++ b/pages/index/index.wxml @@ -179,7 +179,7 @@ - + {{djs.h}}: {{djs.m}}: From 06468f03a09cd228a2e7109ae3e0b1bbbf72ea96 Mon Sep 17 00:00:00 2001 From: shaojing <2901156235@qq.com> Date: Mon, 15 Jan 2024 10:33:11 +0800 Subject: [PATCH 112/471] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=99=AF=E7=82=B9?= =?UTF-8?q?=E4=BB=B7=E6=A0=BC=E5=92=8C=E9=9A=90=E8=97=8F=E7=94=B5=E5=BD=B1?= =?UTF-8?q?=E6=9D=BF=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/index.wxml | 8 ++--- pages/list/activitynew/index.wxml | 4 +-- pages/order/components/date/index.js | 4 +++ pages/order/scene/index.js | 49 +++++++++++++++++++++++++--- pages/order/scene/index.wxml | 4 +-- 5 files changed, 57 insertions(+), 12 deletions(-) diff --git a/pages/index/index.wxml b/pages/index/index.wxml index 824434e..e323560 100644 --- a/pages/index/index.wxml +++ b/pages/index/index.wxml @@ -291,13 +291,13 @@ 廉洁地图 --> - + - - + 文化惠民 diff --git a/pages/order/components/date/index.js b/pages/order/components/date/index.js index 7f8b37f..919747e 100644 --- a/pages/order/components/date/index.js +++ b/pages/order/components/date/index.js @@ -168,6 +168,7 @@ Component({ showMoreDateFlag: false, moreFlag: flag }) + app.globalData.product.price = this.data.activeDate.price this.triggerEvent("onChangeDate", this.data.activeDate) this.getTimeStock() }, @@ -199,6 +200,9 @@ Component({ }) this.triggerEvent("onChangeTime", this.data.timelist[this.data.timeIndex]) }) + app.globalData.product.price = this.data.activeDate.price + console.log('price',this.data.activeDate.price); + console.log(app.globalData.product); }, selectTime: function (e) { if (this.data.timelist[e.currentTarget.dataset.index].stock_number >0) { diff --git a/pages/order/scene/index.js b/pages/order/scene/index.js index c8e79f7..18096dd 100644 --- a/pages/order/scene/index.js +++ b/pages/order/scene/index.js @@ -30,7 +30,8 @@ Page({ flag:null, ticket_type:1, isCar:'single', - showMask: false + showMask: false, + price:0, }, /** @@ -63,12 +64,13 @@ Page({ this.setData({ productNum: app.globalData.product.num < 1 ? 1 : app.globalData.product.num }) - } + } this.setData({ product: app.globalData.product, singlePrice: this.data.gp_id ? app.globalData.product.sku.event_price : app.globalData.product.sku.price }) - console.log(this.data.product); + this.showAllPrice() + // console.log('********',this.data.product); if (!this.data.kjId && !this.data.gp_id && this.data.product.isGroup != 1 && this.data.type!='museum') { this.couponCom = this.selectAllComponents("#coupon")[0]; } @@ -78,6 +80,37 @@ Page({ // showMask:true // }) // }, + showAllPrice:function () { + // console.log('detail',app.globalData.product); + // console.log('singlePrice',this.data.singlePrice); + // console.log('productNum',this.data.productNum); + if (app.globalData.product.price) { + this.setData({ + singlePrice:app.globalData.product.price + }) + let price = this.data.singlePrice * this.data.productNum - (this.data.coupon?this.data.coupon.activity.money:0) + if (price >0) { + this.setData({ + price:price/100 + }) + }else { + this.setData({ + price:0 + }) + } + // console.log(this.data.singlePrice); + } + let price = this.data.singlePrice * this.data.productNum - (this.data.coupon?this.data.coupon.activity.money:0) + if (price >0) { + this.setData({ + price:price/100 + }) + }else { + this.setData({ + price:0 + }) + } + }, cancel: function () { this.setData({ showMask:false @@ -133,6 +166,7 @@ Page({ }) this.data.product.num = this.data.productNum this.changePrice() + this.showAllPrice() }, minus: function () { if (this.data.productNum==undefined) { @@ -160,15 +194,19 @@ Page({ }) this.data.product.num = this.data.productNum this.changePrice() + this.showAllPrice() }, changeDate: function (e) { + // console.log('打印',e); + this.showAllPrice() if (e.detail.price != this.data.singlePrice && this.data.coupon) { wx.showToast({ title: '订单价格发生变化,请重新选择优惠券', icon: 'none' }) this.setData({ - coupon: null + coupon: null, + singlePrice:e.detail.price }) if (!this.data.kjId && !this.data.gp_id && this.data.product.isGroup != 1 && this.data.type!='museum') { this.couponCom.setNullCoupon() @@ -541,6 +579,9 @@ Page({ // } // }) // } + // console.log('-----',app.globalData.product.sku.price); + // app.globalData.product = delete(app.globalData.product.detail) + // this.showAllPrice() }, /** diff --git a/pages/order/scene/index.wxml b/pages/order/scene/index.wxml index 0094b6e..a6d3748 100644 --- a/pages/order/scene/index.wxml +++ b/pages/order/scene/index.wxml @@ -49,8 +49,8 @@ 合计:¥0 - 合计:¥{{((singlePrice * productNum - (coupon?coupon.activity.money:0))>0?(singlePrice * productNum - (coupon?coupon.activity.money:0)):0)/ 100}} + 合计: + ¥{{price}} 下一步 From 5992ee35e418030bc071846d110954bd9ab17f79 Mon Sep 17 00:00:00 2001 From: shaojing <2901156235@qq.com> Date: Mon, 15 Jan 2024 10:50:16 +0800 Subject: [PATCH 113/471] =?UTF-8?q?=E6=96=B0=E5=93=81=E7=89=B9=E6=83=A0?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/index.wxml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/index/index.wxml b/pages/index/index.wxml index e323560..6b3ba24 100644 --- a/pages/index/index.wxml +++ b/pages/index/index.wxml @@ -175,7 +175,7 @@ - + From 46305469d1b16937bb9d370f10cde40596c7a4bf Mon Sep 17 00:00:00 2001 From: shaojing <2901156235@qq.com> Date: Fri, 19 Jan 2024 14:58:27 +0800 Subject: [PATCH 114/471] =?UTF-8?q?=E5=85=AC=E5=85=B1=E6=9C=8D=E5=8A=A1-?= =?UTF-8?q?=E4=BA=A4=E9=80=9A=E5=87=BA=E8=A1=8C-=E6=8E=A5=E9=80=81?= =?UTF-8?q?=E6=9C=BA=E6=9B=B4=E6=8D=A2=E8=B7=B3=E8=BD=AC=E5=B0=8F=E7=A8=8B?= =?UTF-8?q?=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/pbService/index.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pages/pbService/index.js b/pages/pbService/index.js index 16a7315..4d995c5 100644 --- a/pages/pbService/index.js +++ b/pages/pbService/index.js @@ -56,9 +56,13 @@ Page({ util.pagePoint({ event: e.currentTarget.dataset.event }, 1) } wx.navigateToMiniProgram({ - appId: this.data.jsj, - page: "page/home/webview/webview?hideShare=0&src=https%3A%2F%2Fopen.weixin.qq.com%2Fconnect%2Foauth2%2Fauthorize%3Fappid%3Dwx3827070276e49e30%26redirect_uri%3Dhttps%3A%2F%2Fwx.17u.cn%2Fflight%2Fgetopenid.html%3Furl%3Dhttps%25253A%25252F%25252Fwx.17u.cn%25252Finternalcarrebornwechat%25252Fview%25252Fmain.html%252523%25252FspecialCarIndex%25252FinstantCar%25253Frefid%25253D1563845199%26showwxpaytitle%3D1%26response_type%3Dcode%26scope%3Dsnsapi_base%26state%3D123%26connect_redirect%3D1%23wechat_redirect" + appId: this.data.jsj, // 之前后台的appid wx336dcaf6a1ecf632 + page: "subpages/product/airport/index" }) + // wx.navigateToMiniProgram({ + // appId: this.data.jsj, + // page: "page/home/webview/webview?hideShare=0&src=https%3A%2F%2Fopen.weixin.qq.com%2Fconnect%2Foauth2%2Fauthorize%3Fappid%3Dwx3827070276e49e30%26redirect_uri%3Dhttps%3A%2F%2Fwx.17u.cn%2Fflight%2Fgetopenid.html%3Furl%3Dhttps%25253A%25252F%25252Fwx.17u.cn%25252Finternalcarrebornwechat%25252Fview%25252Fmain.html%252523%25252FspecialCarIndex%25252FinstantCar%25253Frefid%25253D1563845199%26showwxpaytitle%3D1%26response_type%3Dcode%26scope%3Dsnsapi_base%26state%3D123%26connect_redirect%3D1%23wechat_redirect" + // }) }, gotoUrl: function (e) { if (e.currentTarget.dataset.event) { From 3e0bf63a3d18a9203704ca3017e13e11defaddeb Mon Sep 17 00:00:00 2001 From: shaojing <2901156235@qq.com> Date: Thu, 25 Jan 2024 17:13:30 +0800 Subject: [PATCH 115/471] =?UTF-8?q?=E5=9B=BE=E6=B8=B8=E6=94=B9=E7=89=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.json | 4 +- pages/info/luggageInfo/index.js | 112 ++++++++++ pages/info/luggageInfo/index.json | 5 + pages/info/luggageInfo/index.wxml | 39 ++++ pages/info/luggageInfo/index.wxss | 93 +++++++++ pages/map/index.js | 329 +++++++++++++++++++++++++----- pages/map/index.wxml | 143 +++++++++++-- pages/map/index.wxss | 153 +++++++++++++- 8 files changed, 812 insertions(+), 66 deletions(-) create mode 100644 pages/info/luggageInfo/index.js create mode 100644 pages/info/luggageInfo/index.json create mode 100644 pages/info/luggageInfo/index.wxml create mode 100644 pages/info/luggageInfo/index.wxss diff --git a/app.json b/app.json index 7b89e99..33f20b5 100644 --- a/app.json +++ b/app.json @@ -182,8 +182,8 @@ "pages/user/address/add/index", "pages/user/linkman/index", "pages/user/userPrivacy/index", - "pages/user/personalInfo/index" - + "pages/user/personalInfo/index", + "pages/info/luggageInfo/index" ], "plugins": { diff --git a/pages/info/luggageInfo/index.js b/pages/info/luggageInfo/index.js new file mode 100644 index 0000000..9a49686 --- /dev/null +++ b/pages/info/luggageInfo/index.js @@ -0,0 +1,112 @@ +// pages/info/redmapInfo/index.js +// pages/info/culturalUnitInfo/index.js +import commonApi from "../../../utils/https/common" +let app = getApp(); +Page({ + + /** + * 页面的初始数据 + */ + data: { + info:null, + currentIndex:0, + top:0, + htmls:[] + }, + + /** + * 生命周期函数--监听页面加载 + */ + onLoad: function (options) { + this.setData({ + id:options.id + }) + commonApi._post("scene/detail",{ + id:options.id + }).then(res=>{ + this.setData({ + info:res.data + }) + this.BroswerRecord() + }) + }, + changeSlide(e){ + this.setData({ + currentIndex:e.detail.current + }) + }, + + /** + * 生命周期函数--监听页面初次渲染完成 + */ + onReady: function () { + + }, + BroswerRecord:function(){ + setTimeout(()=>{ + if(app.globalData.uuid){ + commonApi._post('browse/browse_record',{ + type:"scene", + title:this.data.info.title, + drive:"mini", + source_id:this.data.id, + url:"/pages/info/foodInfo/index?id="+this.data.id, + uuid:app.globalData.uuid + }).then(res=>{ + console.log(res) + }) + } + else { + this.BroswerRecord(); + } + },500) + }, + gotolocation: function () { + let info = this.data.info; + wx.openLocation({ + latitude: Number(info.lat), + longitude: Number(info.lon) + }) + }, + /** + * 生命周期函数--监听页面显示 + */ + onShow: function () { + + }, + + /** + * 生命周期函数--监听页面隐藏 + */ + onHide: function () { + + }, + + /** + * 生命周期函数--监听页面卸载 + */ + onUnload: function () { + + }, + + /** + * 页面相关事件处理函数--监听用户下拉动作 + */ + onPullDownRefresh: function () { + + }, + + /** + * 页面上拉触底事件的处理函数 + */ + onReachBottom: function () { + + }, + + /** + * 用户点击右上角分享 + */ + onShareAppMessage: function () { + + } +}) \ No newline at end of file diff --git a/pages/info/luggageInfo/index.json b/pages/info/luggageInfo/index.json new file mode 100644 index 0000000..35cf02f --- /dev/null +++ b/pages/info/luggageInfo/index.json @@ -0,0 +1,5 @@ +{ + "usingComponents": { + "title":"/pages/component/TitleHeader" + } +} \ No newline at end of file diff --git a/pages/info/luggageInfo/index.wxml b/pages/info/luggageInfo/index.wxml new file mode 100644 index 0000000..e86b2e2 --- /dev/null +++ b/pages/info/luggageInfo/index.wxml @@ -0,0 +1,39 @@ + + + + + + + {{info.title}} + + + + {{info.address}} + + 到这去 + + + + 电话:{{info.tel}} + + + + 寄存时间 + + + + + + + 收费情况 + + + + + 寄存须知 + + + + + + \ No newline at end of file diff --git a/pages/info/luggageInfo/index.wxss b/pages/info/luggageInfo/index.wxss new file mode 100644 index 0000000..74ee2f0 --- /dev/null +++ b/pages/info/luggageInfo/index.wxss @@ -0,0 +1,93 @@ +/* pages/pbService/museum/info/index.wxss */ +.box { + padding: 0 26.67rpx; +} + +.title { + font-size: 35rpx; + font-family: PingFang SC; + font-weight: bold; + color: #000000; + margin: 28rpx 0 58rpx; +} + +.address { + display: flex; + align-items: center; +} + +.address-icon { + width: 29.33rpx; + height: 29.33rpx; + flex-shrink: 0; + margin-right: 22rpx; +} + +.map-icon { + width: 24rpx; + height: 26.67rpx; + flex-shrink: 0; + margin: 0 12.67rpx 0 21.33rpx; +} + +.address-text { + font-size: 24rpx; + font-family: PingFang SC; + font-weight: 500; + color: #999999; + max-width: 450rpx; +} + +.go-there { + font-size: 24rpx; + font-family: PingFang SC; + font-weight: 500; + color: #0B898E; +} + +.call-icon { + width: 29.33rpx; + height: 29.33rpx; + margin-right: 24rpx; +} + +.call { + font-size: 24rpx; + font-family: PingFangSC; + font-weight: 400; + color: #999999; +} + +.line { + width: 697rpx; + height: 1rpx; + background: #D8D8D8; + margin-bottom: 43.33rpx; +} + +.h-title { + padding-left: 6.67rpx; + font-size: 32rpx; + font-family: PingFang SC; + font-weight: bold; + color: #333333; +} + +.btm-line { + width: 173rpx; + height: 19rpx; + background: #0B898E; + opacity: 0.2; + margin-top: -15rpx; +} + +.text { + margin: 41.33rpx 0 64.67rpx; +} + +.h-title2 { + font-size: 36rpx; + font-family: PingFang SC; + font-weight: bold; + color: #333333; +} \ No newline at end of file diff --git a/pages/map/index.js b/pages/map/index.js index f2de0cf..fc6d3f5 100644 --- a/pages/map/index.js +++ b/pages/map/index.js @@ -17,7 +17,8 @@ Page({ areaIndex:0, latitude:"", longitude:"", - type:0, + // type:0, + type:1, // 改为默认选中第一个类型:景点 keywords:"", list:[], showInfo:false, @@ -27,7 +28,14 @@ Page({ productList:[], productPage:1, productTotal:1, - timeList:{} + timeList:{}, + showMore:'close', + scrollLeft: 0, + }, + listenScroll(e) { + this.setData({ + scrollLeft: e.detail.scrollLeft + }) }, /** @@ -67,6 +75,17 @@ Page({ }) }, + changeClose() { + this.setData({ + showMore:'close' + }) + }, + changeShow() { + this.setData({ + showMore:'open' + }) + console.log(this.data.showMore); + }, getIsTest(){ if(app.globalData.configJson){ this.setData({ @@ -97,6 +116,12 @@ Page({ url: '/pages/info/redmapInfo/index?id='+this.data.info.info.id, }) } + else if(this.data.info.info.type=='luggage'){ + // 行李寄存 + wx.navigateTo({ + url: '/pages/info/luggageInfo/index?id='+this.data.info.info.id, + }) + } else if(this.data.info.info.type=='restaurant' || this.data.info.info.type=='tenscenic'){ wx.navigateTo({ url: '/pages/info/foodInfo/index?id='+this.data.info.info.id, @@ -112,9 +137,97 @@ Page({ } }, + goAddress(e) { + let item = e.currentTarget.dataset.item; + wx.showModal({ + title:'到这去', + content:item.info.showContent?item.info.showContent:item.info.title, + success:function(res){ + if(res.confirm){ + wx.openLocation({ + latitude: item.latitude, + longitude: item.longitude, + }) + } + } + }) + }, onTapMarker:function(e){ console.log(e) + console.log(this.data.list,this.data.list.length); let info = this.data.list[e.detail.markerId]; + let list = []; + this.data.list.map((item,itemIndex)=>{ + let mapItem = item; + if (itemIndex == e.detail.markerId) { + mapItem.width = 30; + mapItem.height=36; + if (mapItem.info.type == "scenic") { + mapItem.iconPath = "https://static.ticket.sz-trip.com/uploads/20240125/4b340f512e8e424cb70ef766ad35cddb.png"; + }else if (mapItem.info.type=='venue') { + mapItem.iconPath = "https://static.ticket.sz-trip.com/uploads/20240125/ff2d05414295b5e987c3fdc7373c5f38.png"; + }else if (mapItem.info.type=='room') { + mapItem.iconPath = "https://static.ticket.sz-trip.com/uploads/20240125/fc2e8f86ad4977f08e7fe6284f946cb9.png"; + }else if (mapItem.info.type=='publicBycicle') { + mapItem.iconPath = "https://static.ticket.sz-trip.com/uploads/20240125/1c35ea03927638d3d6fef7f15f92d67d.png"; + }else if (mapItem.info.type=='restaurant') { + mapItem.iconPath = "https://static.ticket.sz-trip.com/uploads/20240125/4239b516f5ba99bff0b892a25a96c762.png"; + }else if (mapItem.info.type=='relic') { + mapItem.iconPath = "https://static.ticket.sz-trip.com/uploads/20240125/ae03ad079e3e667e84b4e49e498c77a9.png"; + }else if (mapItem.info.type=='tenscenic') { + mapItem.iconPath = "https://static.ticket.sz-trip.com/uploads/20240125/15f025534e644799f8c7cae6efee732f.png"; + }else if (mapItem.info.type=='academes') { + mapItem.iconPath = "https://static.ticket.sz-trip.com/uploads/20240125/63e375cd4227fe6a58ef4eef85c38e4c.png"; + }else if (mapItem.info.type=='park') { + mapItem.iconPath = "https://static.ticket.sz-trip.com/uploads/20240125/82218d810a22ea254afdf2a089cfd0a7.png"; + }else if (mapItem.info.type=='luggage') { + mapItem.iconPath = "https://static.ticket.sz-trip.com/uploads/20240125/d73376830530e13963ccc3211480f975.png"; + }else if (mapItem.info.type=='tourist') { + mapItem.iconPath = "https://static.ticket.sz-trip.com/uploads/20240125/eeb6894d312a6fd0b771623a2db6120c.png"; + }else if (mapItem.info.type=='post') { + mapItem.iconPath = "https://static.ticket.sz-trip.com/uploads/20240125/2594df53aad900e56173eb024786379c.png"; + } else { + mapItem.iconPath = "https://static.ticket.sz-trip.com/uploads/20240125/27517eb0968079bbeadb3b6438d3fbf3.png"; + } + }else { + mapItem.width = 20; + mapItem.height=23; + if (mapItem.info.type == "scenic") { + mapItem.iconPath = "https://static.ticket.sz-trip.com/uploads/20240124/c59dc041fcfd8b7a62ad2ac2444adcda.png"; + }else if (mapItem.info.type=='venue') { + mapItem.iconPath = "https://static.ticket.sz-trip.com/uploads/20240124/04aedae4dc498d45267f3636d5524af6.png"; + }else if (mapItem.info.type=='room') { + mapItem.iconPath = "https://static.ticket.sz-trip.com/uploads/20240124/78ff8b94929d18dc6349a3482069b756.png"; + }else if (mapItem.info.type=='publicBycicle') { + mapItem.iconPath = "https://static.ticket.sz-trip.com/uploads/20240124/6ce2b9e6eda6f8a3fea5073d5d5ad19a.png"; + }else if (mapItem.info.type=='restaurant') { + mapItem.iconPath = "https://static.ticket.sz-trip.com/uploads/20240124/3f5bdfd0f0c81e2263bc3999291bec8f.png"; + }else if (mapItem.info.type=='relic') { + mapItem.iconPath = "https://static.ticket.sz-trip.com/uploads/20240124/dfb34899466e98e1f2e02a40175a7672.png"; + }else if (mapItem.info.type=='tenscenic') { + mapItem.iconPath = "https://static.ticket.sz-trip.com/uploads/20240124/f77236d6a84b8d28027417aa8ef60c96.png"; + }else if (mapItem.info.type=='academes') { + mapItem.iconPath = "https://static.ticket.sz-trip.com/uploads/20240124/44da805692924852614afb013479e917.png"; + }else if (mapItem.info.type=='park') { + mapItem.iconPath = "https://static.ticket.sz-trip.com/uploads/20240124/0b95fda240aa4f5eb89667188cfa1517.png"; + }else if (mapItem.info.type=='luggage') { + mapItem.iconPath = "https://static.ticket.sz-trip.com/uploads/20240124/6ba1e554b71f451a120217c029fe1877.png"; + }else if (mapItem.info.type=='tourist') { + mapItem.iconPath = "https://static.ticket.sz-trip.com/uploads/20240124/24fba3a917652e1bdfe31d5785dba09f.png"; + }else if (mapItem.info.type=='post') { + mapItem.iconPath = "https://static.ticket.sz-trip.com/uploads/20240124/754a384e8aacd4a1ea41007e79910c67.png"; + } else { + mapItem.iconPath = "https://static.ticket.sz-trip.com/uploads/20240124/2d61b60609564fc48e38768fbef87c0a.png"; + } + } + if(mapItem.latitude<40){ + list.push(mapItem) + } + }) + this.setData({ + list:list + }) + console.log('换完图标后的list',list); if(info.info.type=='tenscenic'){ // 运河十景需要先获取景点详情 commonApi._post("scene/detail",{ @@ -219,12 +332,19 @@ Page({ this.getProductList() }) return; + }else if (info.info.type=='publicBycicle' || info.info.type=='park') { + console.log(e) + let index = e.detail.markerId,list = this.data.list; + let item = list[index]; + } else { + } this.setData({ info:info, showInfo:true, showAllMask:false }) + console.log('打印',this.data.info); }, changeMenu:function(e){ let index = e.currentTarget.dataset.index; @@ -424,56 +544,173 @@ Page({ }, changeRegion:function(e){ console.log(e) + if(e.type!='end') return; + console.log(e.detail.centerLocation) + this.setData(e.detail.centerLocation) this.getList() }, getList:function(){ + // this.setData({ + // list:[] + // }) this.mapCtx = wx.createMapContext("map"); - let types = ['','scenic','venue','post','restaurant','relic','tenscenic','cinema','academes','red_map'],that = this; - this.mapCtx.getRegion({ - type: 'gcj02', - success: function(res) { - commonApi._post("act/map_travel",{ - type:types[that.data.type], - title:that.data.keywords, - m_lon:res.southwest.longitude-0.05, - l_lon:res.northeast.longitude+0.05, - m_lat:res.southwest.latitude-0.05, - l_lat:res.northeast.latitude+0.05 - }).then(res=>{ - let list = []; - res.data.map((item,index)=>{ - let mapItem = {}; - item.lat = item.tx_lat; - item.lon = item.tx_lon; - mapItem.latitude = Number(item.lat); - mapItem.longitude = Number(item.lon); - mapItem.id = index; - mapItem.info = item; - if(item.type=='red_map'){ - mapItem.iconPath = "https://static.ticket.sz-trip.com/uploads/20230506/054cea53a068545e9e27fa9cd3acbdec.png"; - } - else { - mapItem.iconPath = "https://static.ticket.sz-trip.com/xcxImages/map/"+item.type+".png"; - } - mapItem.width = 20; - mapItem.height=23; - if(mapItem.latitude<40){ - list.push(mapItem) - } - }) - that.setData({ - list:list - }) + // let types = ['','scenic','venue','post','restaurant','relic','tenscenic','cinema','academes','red_map'],that = this; + let types = ['','scenic','venue','room','publicBycicle','restaurant','relic','tenscenic','academes','park','luggage','tourist','post','red_map'],that = this; + if (types[that.data.type] == 'publicBycicle') { + commonApi.user_post("pbservice/Ztfw/publicBycicle",{ + point_type:"gaode", + lat:this.data.latitude, + lon:this.data.longitude + }).then(res=>{ + let list = []; + res.data.map((item,index)=>{ + let mapItem = {}; + item.showContent = item.name + "(" + item.address + ")"; + mapItem.latitude = Number(item.lat); + mapItem.longitude = Number(item.lng); + mapItem.id = index; + mapItem.info = item; + mapItem.info.type = 'publicBycicle'; + mapItem.width = 20; + mapItem.height=23; + mapItem.iconPath = "https://static.ticket.sz-trip.com/uploads/20240124/6ce2b9e6eda6f8a3fea5073d5d5ad19a.png"; + if(mapItem.latitude<40){ + list.push(mapItem) + } + }) + this.setData({ + list:list + }) + }) + } else if (types[that.data.type] == 'park') { + commonApi.user_post("pbservice/Ztfw/park_new",{ + point_type:"gaode", + lat:this.data.latitude, + lon:this.data.longitude + }).then(res=>{ + let list = []; + res.data.map((item,index)=>{ + let mapItem = {}; + item.showContent = item.name + "(" + item.address + ")"; + mapItem.latitude = Number(item.lat); + mapItem.longitude = Number(item.lng); + mapItem.id = index; + mapItem.info = item; + mapItem.info.type = 'park'; + mapItem.width = 20; + mapItem.height=23; + mapItem.iconPath = "https://static.ticket.sz-trip.com/uploads/20240124/0b95fda240aa4f5eb89667188cfa1517.png"; + if(mapItem.latitude<40){ + list.push(mapItem) + } + }) + this.setData({ + list:list }) - // that.mapCtx.getRegion({ - // success:function(r){ - // let location = r.longitude+","+r.latitude; + }) + } else { + this.mapCtx.getRegion({ + type: 'gcj02', + success: function(res) { + commonApi._post("act/map_travel",{ + type:types[that.data.type], + title:that.data.keywords, + m_lon:res.southwest.longitude-0.05, + l_lon:res.northeast.longitude+0.05, + m_lat:res.southwest.latitude-0.05, + l_lat:res.northeast.latitude+0.05 + }).then(res=>{ + let list = []; + res.data.map((item,index)=>{ + let mapItem = {}; + item.lat = item.tx_lat; + item.lon = item.tx_lon; + mapItem.latitude = Number(item.lat); + mapItem.longitude = Number(item.lon); + mapItem.id = index; + mapItem.info = item; + if(item.type=='scenic'){ + mapItem.iconPath = "https://static.ticket.sz-trip.com/uploads/20240124/c59dc041fcfd8b7a62ad2ac2444adcda.png"; + }else if (item.type=='venue') { + mapItem.iconPath = "https://static.ticket.sz-trip.com/uploads/20240124/04aedae4dc498d45267f3636d5524af6.png"; + }else if (item.type=='room') { + mapItem.iconPath = "https://static.ticket.sz-trip.com/uploads/20240124/78ff8b94929d18dc6349a3482069b756.png"; + }else if (item.type=='restaurant') { + mapItem.iconPath = "https://static.ticket.sz-trip.com/uploads/20240124/3f5bdfd0f0c81e2263bc3999291bec8f.png"; + }else if (item.type=='relic') { + mapItem.iconPath = "https://static.ticket.sz-trip.com/uploads/20240124/dfb34899466e98e1f2e02a40175a7672.png"; + }else if (item.type=='tenscenic') { + mapItem.iconPath = "https://static.ticket.sz-trip.com/uploads/20240124/f77236d6a84b8d28027417aa8ef60c96.png"; + }else if (item.type=='academes') { + mapItem.iconPath = "https://static.ticket.sz-trip.com/uploads/20240124/44da805692924852614afb013479e917.png"; + }else if (item.type=='luggage') { + mapItem.iconPath = "https://static.ticket.sz-trip.com/uploads/20240124/6ba1e554b71f451a120217c029fe1877.png"; + }else if (item.type=='tourist') { + mapItem.iconPath = "https://static.ticket.sz-trip.com/uploads/20240124/24fba3a917652e1bdfe31d5785dba09f.png"; + }else if (item.type=='post') { + mapItem.iconPath = "https://static.ticket.sz-trip.com/uploads/20240124/754a384e8aacd4a1ea41007e79910c67.png"; + } else { + mapItem.iconPath = "https://static.ticket.sz-trip.com/uploads/20240124/2d61b60609564fc48e38768fbef87c0a.png"; + } + mapItem.width = 20; + mapItem.height=23; + if(mapItem.latitude<40){ + list.push(mapItem) + } + }) + that.setData({ + list:list + }) + }) + } + }) + } + console.log('list',this.data.list); + // this.mapCtx.getRegion({ + // type: 'gcj02', + // success: function(res) { + // commonApi._post("act/map_travel",{ + // type:types[that.data.type], + // title:that.data.keywords, + // m_lon:res.southwest.longitude-0.05, + // l_lon:res.northeast.longitude+0.05, + // m_lat:res.southwest.latitude-0.05, + // l_lat:res.northeast.latitude+0.05 + // }).then(res=>{ + // let list = []; + // res.data.map((item,index)=>{ + // let mapItem = {}; + // item.lat = item.tx_lat; + // item.lon = item.tx_lon; + // mapItem.latitude = Number(item.lat); + // mapItem.longitude = Number(item.lon); + // mapItem.id = index; + // mapItem.info = item; + // if(item.type=='red_map'){ + // mapItem.iconPath = "https://static.ticket.sz-trip.com/uploads/20230506/054cea53a068545e9e27fa9cd3acbdec.png"; + // } + // else { + // mapItem.iconPath = "https://static.ticket.sz-trip.com/xcxImages/map/"+item.type+".png"; + // } + // mapItem.width = 20; + // mapItem.height=23; + // if(mapItem.latitude<40){ + // list.push(mapItem) + // } + // }) + // that.setData({ + // list:list + // }) + // }) + // // that.mapCtx.getRegion({ + // // success:function(r){ + // // let location = r.longitude+","+r.latitude; - // that.getParkList(res.northeast.longitude,res.northeast.latitude,res.southwest.longitude,res.southwest.latitude,location) - // } - // }) - } - }) + // // that.getParkList(res.northeast.longitude,res.northeast.latitude,res.southwest.longitude,res.southwest.latitude,location) + // // } + // // }) + // } + // }) }, search:function(e){ console.log(e) diff --git a/pages/map/index.wxml b/pages/map/index.wxml index 18b3a69..b1ffe8e 100644 --- a/pages/map/index.wxml +++ b/pages/map/index.wxml @@ -10,64 +10,181 @@ - + + + + + + 景点 + + + + 场馆 + + + + 酒店 + + + + 公共自行车 + + + + + + + + + + 景点 + + + + 场馆 + + + + 酒店 + + + + 公共自行车 + + + + 美食 + + + + 文保单位 + + + + 运河十景 + + + + 江南小书场 + + + + 停车场 + + + + 行李寄存 + + + + 游客中心 + + + + 特产 + + + + 红色地图 + + + + + + + + + 景点 - 场馆 - 特产 - 美食 - 文保单位 - + --> - - + 江南小书场 - 红色地图 - + --> + + + + + + {{info.info.name}} + 地址:{{info.info.address}} + 到这去 + + + + + + + {{info.info.name}} + 当前停车场总停车位:{{info.info.capacityNum}} + {{info.info.freeNum_text}} + 到这去 + + + + + + + {{info.info.title}} + 地址:{{info.info.address}} + 到这去 + + + + + + + {{info.info.title}} + 地址:{{info.info.address}} + + 寄存时间: + + + 查看详情 + - + diff --git a/pages/map/index.wxss b/pages/map/index.wxss index ed6e56b..1f803cf 100644 --- a/pages/map/index.wxss +++ b/pages/map/index.wxss @@ -9,7 +9,9 @@ } .picker { position: fixed; - left: 25rpx; + /* left: 25rpx; */ + left: 0; + top: 150rpx; display: flex; align-items: center; width: 202rpx; @@ -128,7 +130,7 @@ margin-right: 20rpx; } .map-item .info { - width: 260rpx; + width: 300rpx; display: flex; flex-direction: column; justify-content: space-between; @@ -148,15 +150,17 @@ width: 199rpx; line-height: 56rpx; color: #fff; - background: #D62828; + background: linear-gradient(180deg, #FDAB70, #FE7F19); font-size: 28rpx; text-align: center; border-radius: 28rpx; } .icon-ic_searchclosed { position: absolute; - right: -40rpx; - top: -40rpx; + right: 7rpx; + top: 7rpx; + /* right: -40rpx; + top: -40rpx; */ } .title-header .icon-fanhui1 { display: none; @@ -481,4 +485,143 @@ .right-menu-item image{ width:21.33rpx; height:25.33rpx; +} + +.menus { + position: fixed; + left: 26.67rpx; + bottom: 26.67rpx; + width: 697rpx; + height: 200rpx; + background: rgba(255,255,255,0.8); + box-shadow: 0rpx 1rpx 16rpx 0rpx rgba(153,153,153,0.35); + border-radius: 20rpx; +} + +.open { + width: 99rpx; + height: 3rpx; + background: #999; + border: 3rpx solid #999999; + margin: 0 auto; + margin-top: 13.3rpx; +} + +.menu-list { + margin-top: 37.33rpx; + display: flex; + justify-content: space-around; +} + +.menu-item{ + display: flex; + flex-direction: column; + align-items: center; +} +.menu-item-img.active{ + background: #0B898E; +} + +.menu-item-img { + width: 67rpx; + height: 67rpx; + /* border: 3rpx solid rgba(11,137,142, .6); */ + border-radius: 50%; + display: flex; + justify-content: center; + align-items: center; + margin-bottom: 20.67rpx; +} + +.menu-item-img image { + width: 35rpx; + height: 37rpx; +} + +.text { + font-size: 25rpx; + font-family: PingFang SC; + font-weight: 500; + color: #0B898E; +} + +.menus2 { + width: 697rpx; + height: 380rpx; + background: rgba(255,255,255,0.8); + box-shadow: 0rpx 1rpx 16rpx 0rpx rgba(153,153,153,0.35); + border-radius: 20rpx; + position: fixed; + left: 26.67rpx; + bottom: 26.67rpx; +} + +.shouqi { + width: 100rpx; + height: 14rpx; + display: block; + margin: 0 auto; + margin-top: 20rpx; + margin-bottom: 26rpx; +} + +.menus-list1 { + /* margin-top: 37.33rpx; */ + display: flex; + /* justify-content: space-around; */ + flex-wrap: wrap; + width: calc(170rpx * 8); + margin: 0 20rpx; +} + +.menus-item{ + display: flex; + flex-direction: column; + align-items: center; + width: 150rpx; + margin-bottom: 30.33rpx; + margin-right: 20rpx; +} +.menus-item-img.active{ + background: #0B898E; +} +.menus-item-img { + width: 67rpx; + height: 67rpx; + /* border: 3rpx solid rgba(11,137,142, .6); */ + border-radius: 50%; + display: flex; + justify-content: center; + align-items: center; + margin-bottom: 20.67rpx; +} + +.progress-line { + width: 40rpx; + height: 5rpx; + background: rgba(11,137,142, .3); + border-radius: 3rpx; + margin: 0 auto; + margin-top: 10rpx; +} + +.line-bg { + width: 20rpx; + height: 5rpx; + background: #0B898E; + border-radius: 3rpx; +} + +.line-bg2 { + margin-left: 20rpx; + background: #0B898E; + height: 5rpx; + border-radius: 3rpx; +} + +.textOver3 { + display: -webkit-box; + -webkit-box-orient: vertical; + -webkit-line-clamp: 3; + overflow: hidden; } \ No newline at end of file From 4bec9751f5ebd46ba1a4f16e31b84d55eac70a04 Mon Sep 17 00:00:00 2001 From: chenkainan Date: Mon, 29 Jan 2024 10:08:47 +0800 Subject: [PATCH 116/471] =?UTF-8?q?=E5=90=9B=E5=88=B0=E8=8B=8F=E5=B7=9E?= =?UTF-8?q?=E9=A6=96=E9=A1=B5=E8=BD=AE=E6=92=AD=E5=9B=BE=E5=88=86=E4=BA=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.miniapp.json | 5 +++ pages/index/index.js | 7 +++-- pages/pbService/web/index.js | 16 +++++----- project.miniapp.json | 61 ++++++++++++++++++++++++++++++++++++ 4 files changed, 79 insertions(+), 10 deletions(-) create mode 100644 app.miniapp.json create mode 100644 project.miniapp.json diff --git a/app.miniapp.json b/app.miniapp.json new file mode 100644 index 0000000..234a021 --- /dev/null +++ b/app.miniapp.json @@ -0,0 +1,5 @@ +{ + "adapteByMiniprogram": { + "userName": "gh_b55e177a4069" + } +} diff --git a/pages/index/index.js b/pages/index/index.js index e9b6c89..61a4420 100644 --- a/pages/index/index.js +++ b/pages/index/index.js @@ -592,10 +592,10 @@ Page({ case 3: if ((item.tdata.url.indexOf('http://') != -1 || item.tdata.url.indexOf('https://') != -1) && item.tdata.url.indexOf('m.cloud.sz-trip.com') == -1) { // 外部h5 - console.log(item.tdata) + console.log(111,item.tdata) app.globalData.weburl = item.tdata.url; wx.navigateTo({ - url: "/pages/pbService/web/index" + url: "/pages/pbService/web/index?weburl=" + encodeURIComponent(item.tdata.url) }) } else { let page = item.tdata.url.split("/"); @@ -614,8 +614,9 @@ Page({ }) } else { app.globalData.weburl = item.tdata.url; + console.log(2222,item.tdata.url,app.globalData.weburl) wx.navigateTo({ - url: "/pages/pbService/web/index" + url: "/pages/pbService/web/index?weburl=" + encodeURIComponent(item.tdata.url) }) } } diff --git a/pages/pbService/web/index.js b/pages/pbService/web/index.js index 4ee0c8b..a2bd632 100644 --- a/pages/pbService/web/index.js +++ b/pages/pbService/web/index.js @@ -16,9 +16,11 @@ Page({ * 生命周期函数--监听页面加载 */ onLoad: function (options) { - if(app.globalData.weburl.indexOf('m.cloud.sz-trip.com')!=-1){ + console.log('options',decodeURIComponent(options.weburl)) + options.weburl = decodeURIComponent(options.weburl) + if(options.weburl.indexOf('m.cloud.sz-trip.com')!=-1){ userApi.user_post("user/getMyInfo").then(res=>{ - let weburl = app.globalData.weburl + let weburl = options.weburl if(weburl.indexOf('?')!=-1){ weburl += '&token='+res.data.token; } @@ -31,10 +33,10 @@ Page({ }) }) } - else if(app.globalData.weburl.indexOf('m.jszhwlpt.com')!=-1 || app.globalData.weburl.indexOf('wechat.b2c.zj-trip.net')!=-1){ + else if(options.weburl.indexOf('m.jszhwlpt.com')!=-1 || options.weburl.indexOf('wechat.b2c.zj-trip.net')!=-1){ // 如果是去苏心游或者镇江的话 userApi.user_post("user/getJumpThirdAppCode",{}).then(res=>{ - let weburl = app.globalData.weburl + let weburl = options.weburl if(weburl.indexOf('?')!=-1){ weburl += '&original_sys_name=jdsz&auth_code='+res.data; } @@ -49,7 +51,7 @@ Page({ } else { this.setData({ - webUrl:app.globalData.weburl + webUrl:options.weburl }) } }, @@ -108,14 +110,14 @@ Page({ onShareAppMessage: function () { return { title: this.data.shareTitle, - path: this.data.shareUrl, + path: `/pages/pbService/web/index?weburl=${encodeURIComponent(this.data.webUrl)}`, } }, onShareTimeline: function() { return { title: this.data.shareTitle, - path: this.data.shareUrl, + path: `/pages/pbService/web/index?weburl=${encodeURIComponent(this.data.webUrl)}`, } } }) \ No newline at end of file diff --git a/project.miniapp.json b/project.miniapp.json new file mode 100644 index 0000000..cd49dc5 --- /dev/null +++ b/project.miniapp.json @@ -0,0 +1,61 @@ +{ + "miniVersion": "v2", + "name": "君到苏州", + "version": "0.0.1", + "mini-android": { + "sdkVersion": "1.0.21", + "toolkitVersion": "0.10.0", + "useExtendedSdk": { + "media": false, + "bluetooth": false, + "network": false, + "scanner": false, + "xweb": false + }, + "icons": { + "hdpi": "", + "xhdpi": "", + "xxhdpi": "", + "xxxhdpi": "" + }, + "splashscreen": { + "hdpi": "", + "xhdpi": "", + "xxhdpi": "" + }, + "enableVConsole": "open", + "privacy": { + "enable": true + } + }, + "mini-ios": { + "sdkVersion": "1.1.4", + "toolkitVersion": "0.0.9", + "useExtendedSdk": { + "WeAppOpenFuns": true, + "WeAppNetwork": false, + "WeAppBluetooth": false, + "WeAppMedia": false, + "WeAppLBS": false, + "WeAppOthers": false + }, + "enableVConsole": "open", + "icons": { + "mainIcon120": "", + "mainIcon180": "", + "spotlightIcon80": "", + "spotlightIcon120": "", + "settingsIcon58": "", + "settingsIcon87": "", + "notificationIcon40": "", + "notificationIcon60": "", + "appStore1024": "" + }, + "splashScreen": { + "customImage": "" + }, + "privacy": { + "enable": false + } + } +} \ No newline at end of file From febc3199f7d6ce42163ab146b5414525907b250c Mon Sep 17 00:00:00 2001 From: shaojing <2901156235@qq.com> Date: Tue, 30 Jan 2024 10:28:31 +0800 Subject: [PATCH 117/471] =?UTF-8?q?=E6=98=A5=E8=8A=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.json | 6 +- images/index-selds.png | Bin 0 -> 10836 bytes images/my-selds.png | Bin 0 -> 13156 bytes images/tuyou-selds.png | Bin 0 -> 19171 bytes pages/index/index.js | 28 +++--- pages/index/index.wxml | 157 ++++++++++++++++++------------ pages/index/index.wxss | 114 +++++++++++++++------- pages/info/luggageInfo/index.wxml | 2 +- pages/map/index.js | 4 +- pages/map/index.wxml | 6 +- pages/map/index.wxss | 10 +- 11 files changed, 210 insertions(+), 117 deletions(-) create mode 100644 images/index-selds.png create mode 100644 images/my-selds.png create mode 100644 images/tuyou-selds.png diff --git a/app.json b/app.json index 33f20b5..6682b26 100644 --- a/app.json +++ b/app.json @@ -219,20 +219,20 @@ { "pagePath": "pages/index/index", "iconPath": "/images/home.png", - "selectedIconPath": "/images/index-seld.png", + "selectedIconPath": "/images/index-selds.png", "text": "首页", "shareTimeline": true }, { "pagePath": "pages/map/index", "iconPath": "/images/map.png", - "selectedIconPath": "/images/tuyou-seld.png", + "selectedIconPath": "/images/tuyou-selds.png", "text": "图游" }, { "pagePath": "pages/user/user", "iconPath": "/images/user.png", - "selectedIconPath": "/images/my-seld.png", + "selectedIconPath": "/images/my-selds.png", "text": "我的" } ] diff --git a/images/index-selds.png b/images/index-selds.png new file mode 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7Py7{I5};V_Vl)+_!<+6Z$9 zv^@Pvx5B@??yrpCaQ0Yf5m0I?=W(9BhR=HHS$$4c~DCd zr7>W;CWXi2 z0~B~CtsQri^M?051tsp!`i4L2jy-P$_|ch}6_qS{)xNha#SDCC@->})@{Q_vL3`-r z#;hCVrAFsj=4`b*<$kCXZOuGlp=ZTlwztyp{AaWOMXg7P!B20k59JCMy31_0E_ysU zFWO_9cx3pE%;fqv;+xo_N5Uv-gkM8{!38Lm4H)_qHWaYk&E0e2@O^-!`N3?XOoroO zZEvr{7e2wk@0MU516ZM}pjNxlpoW{U^Lpg+DgTJ0xp5W&6+GAp7AIPtv-HJx0Ej?!;MEej{&Nj zRmF3>7uqqwF!HXR#B3<-j%rD&L$cTS!w&@(Z*~%wOrPqU=iq(DPvaHHZ*8Ig1sPT88Yz>Y{{;@o B(k=i1 literal 0 HcmV?d00001 diff --git a/images/my-selds.png b/images/my-selds.png new file mode 100644 index 0000000000000000000000000000000000000000..debb1e80b210ad988fb73aa01c8b2d3f868b3193 GIT binary patch literal 13156 zcmV-qGn>qbP)PyA07*naRCr$PeF=PAW!3)ky!XzMbT3`90R;-QXAW1i9p|nY6x$pVs+?grUX-d;}Cdo|a zYJP3Wz3+YRd7pdkdCz&yIYjX&N+6FVz&xINaq2}0pa|e12=ZD2MF8jZ@)ajv1aJ`p zc`bn=fb)9!ijyw_xQKzgmOv4}dA)qa$rk}!#6Vt4pa|f+UcTbwivZpP4BS#NzBFjP zVGiR%j4=bOwFAURKLeHuBxFDb!hk;{C1xQW!3ZF0X!#k8Sw$O@SdL&@(1z$re?;9~0PYH6ClFOeP%gx90NX&&*8om{#vd^z z78ZzuSPftW1xtl!0i=n-cL2O$z1Umga#cyxM6evuiD--#QMzdoC<1r`^121%1L3mx z9**($0c2kQy8-MkKnQ?pS^aU7KMs+IYBCwz6o@~v`2U9o1#{vj=HnZPkoXjWxd8u7 zYhN0*B>dW5ctw9-Jh~`>B7oBbbs1oGsN8L&W4$pJGRDA+79%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8$k6Or+o)=uO!;%3j55v>CE$IO4yn#k<_+e?H=Lt-P~Fm*O!NG zwvuI^RD&v5;vCT#1KS+NwY2LZ#Fb9 z=!!x-p@|EvubK<}pa?x-0OEVNf)*xectJ>sL!7AoX{~rh$$*en&{<;d4kSO0Ovrc#UZ;-0!09KpR9{_%7Fxm0M3C>i$ivw1pYscZNC|OqUW~&0000< KMNUMnLSTZ(4ORsJ literal 0 HcmV?d00001 diff --git a/images/tuyou-selds.png b/images/tuyou-selds.png new file mode 100644 index 0000000000000000000000000000000000000000..9158a5835d2bb9e933a3e5e4eaa91904316cbe75 GIT binary patch literal 19171 zcmV*aKvlnqP)PyA07*naRCr$OeFvOX)wTZj?Q?FMq1TyVP;4kLU?E10{i(5QqC!L%us##xOJ16Z z|1=Y0G`(tqB}x;6Etc4g#`x4EVu2ZoB7#mqKsqyX%h~Hc>)dpoV!4%*gJolcd_fP;m0PX?79!-HB0PoS;*E9JZ0QX>EkETEm zfcNO_>zRBHfO{~oM^m5&z;5~Z#dM4ik;2sR@(G=(ba4Xw) z17J!q-U*KQ*l`;BIB_p(Os|OJCE}*Y#*J%>xzWZ=F@UI8x<$g6wcF?#G)58)ln{+1 z{2xccW~(%qfOXt}wObm!fD^J_WRn+LG0>~WeD4Op?$M~~#L4#nxD{g0*=KBju_!mN z!@LBBz>z_O86=Q_5cUJn3qUahAqZR;gheDs&Oh=D!&RUHQ4c^DmR8tM)cS4s?IfQa;^NH0qhBI!~P1jIrR z1L=v_C}A2vY$dtbTDy^sY)H6)wU@1UYePpX6e4zhw6g3tndIb{pzy$5# zB*y@>e+OYwqsD-ZB6tt5O98$EVv*z6YPS&|uTMl8 z`xggesChNkRvNU0Zr$;jb_MY4;bV>z59b0n3E(~eB7o1K0;wMdfJtvw8UU$Hw<%03 zC=&qU=^qg^8DcevWmcq$mep~C1((-Veb^SF&L|tb4`7a=@MzMG1+gy#MF4|x?p4EQMkM*tWVF$PxrjqtgZ{yojFGB-YR0?L8XTuJ{lDUPI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!BvS!c-53; z|J-FRgth=D`vtI5A(OO*Bv(V}_Htt((-4c;K(N%p9uD$w0EYssaDl#lQo;;XU#9A>CHXm1&6n1vC$EH})}Z$Q zJOjuBZk*Mns|S5th|HV4T|EG9>!-gLJ~wyJ!DTVmDc94+qm(*YJDMCyi@^d6@Ez@m zJ`nU1qL&c_(}AaHt%Zsnv81@9Mx70$d<4-S*3+nwgzs8os;#?mL3`v#?g8*#2*mbU zlIqj%E2}7vSvinoIVokJ8A?HkicuhXLo}BMLKICbspdq93$V#IvkU5J_^yb3*P$#4 z^u?mqd>aa#dk=sMrPzO1e~pUSI$}hiVQbOsC(4P4K0000{{weather.max_temp}}° {{weather.weather}} + + @@ -46,14 +51,14 @@ - + 活动日历 - + 场馆预约 @@ -63,56 +68,56 @@ - + 非遗专卖 - + 剧场演出 - + 文创特产 - + 景点门票 - + 酒店住宿 - + 夜游苏州 - + 一日游 - + 研学游 @@ -175,20 +180,22 @@ - + - - {{djs.h}}: - {{djs.m}}: - {{djs.s}} - - - 更多 + + 倒计时 + {{djs.h}}: + {{djs.m}}: + {{djs.s}} + + @@ -197,32 +204,35 @@ - {{item.title}} + {{item.title}} + 唇齿留香 {{item.price/100}} - 立即抢购 + - + + + - - + - + - + - - + + + 非遗鉴赏 - + + 文化场馆查询 - + + 数字博物馆 - + + 云上文博会 - + + 投资导引图 - + + 文旅单位 - + - + + 苏影通 + - + - - + - + + 精彩回顾 - + + 视觉中心 - + + 书香借阅 公共文化资源库 --> - + + 公共文化资源库 @@ -350,19 +371,31 @@ + - + + + + + + + - + 更多 + - + - + - + 安全服务 + data-url="https://m.cloud.sz-trip.com/ScenicComfort" class="pbservice-item ggfw" style="margin-right: 32.33rpx;"> - + 景区舒适度 + data-url="https://weixin.2500sz.net/zt/2023/07/luggage_storage/" class="pbservice-item ggfw" style="margin-right: 32.33rpx;"> - + 行李寄存 + data-url="https://jiaotonghao2.amap.com/?channel=amap&unitId=257&src=app_share#/" class="pbservice-item ggfw" style="margin-right: 0;"> - + 实时路况 + @@ -32,7 +33,8 @@ - + + diff --git a/pages/map/index.wxss b/pages/map/index.wxss index 1f803cf..2ede90a 100644 --- a/pages/map/index.wxss +++ b/pages/map/index.wxss @@ -11,7 +11,7 @@ position: fixed; /* left: 25rpx; */ left: 0; - top: 150rpx; + top: 160rpx; display: flex; align-items: center; width: 202rpx; @@ -505,10 +505,11 @@ border: 3rpx solid #999999; margin: 0 auto; margin-top: 13.3rpx; + margin-bottom: 37.33rpx; } .menu-list { - margin-top: 37.33rpx; + /* margin-top: 37.33rpx; */ display: flex; justify-content: space-around; } @@ -624,4 +625,9 @@ -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; +} + +.img-icon { + width: 686.67rpx; + height: 40rpx; } \ No newline at end of file From 22fd7a703f63da058b3ad6daf7257f23f858e6f3 Mon Sep 17 00:00:00 2001 From: shaojing <2901156235@qq.com> Date: Wed, 31 Jan 2024 15:07:53 +0800 Subject: [PATCH 118/471] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/index.js | 9 ++- pages/index/index.wxml | 15 +++-- pages/index/index.wxss | 33 +++++++--- pages/list/movieticket/list/info/index.js | 17 ++++- pages/list/movieticket/list/info/index.wxml | 7 +- pages/order/components/coupon/index.js | 1 + pages/order/movie/index.js | 1 + pages/pbService/web/index.js | 71 +++++++++++---------- 8 files changed, 98 insertions(+), 56 deletions(-) diff --git a/pages/index/index.js b/pages/index/index.js index b2c83e6..faf5383 100644 --- a/pages/index/index.js +++ b/pages/index/index.js @@ -475,7 +475,8 @@ Page({ let url = e.currentTarget.dataset.url; app.globalData.weburl = url; wx.navigateTo({ - url: "/pages/pbService/web/index" + // url: '/pages/pbService/web/index?weburl='+encodeURIComponent('https://m.cloud.sz-trip.com/Cloudperform2022'), + url: '/pages/pbService/web/index?weburl='+encodeURIComponent(url), }) }, gotoMini: function (e) { @@ -657,9 +658,11 @@ Page({ //博物馆跳转 直接跳君到苏州H5 goH5:function(e){ console.log(e.currentTarget.dataset.path); - app.globalData.weburl ='https://m.cloud.sz-trip.com/' + e.currentTarget.dataset.path; + let weburl = 'https://m.cloud.sz-trip.com/' + e.currentTarget.dataset.path; + // app.globalData.weburl ='https://m.cloud.sz-trip.com/' + e.currentTarget.dataset.path; wx.navigateTo({ - url: "/pages/pbService/web/index" + // url: "/pages/pbService/web/index" + url: '/pages/pbService/web/index?weburl='+encodeURIComponent(weburl), }) }, bannerClick2: function (e) { diff --git a/pages/index/index.wxml b/pages/index/index.wxml index b3603c0..2be8bd7 100644 --- a/pages/index/index.wxml +++ b/pages/index/index.wxml @@ -171,7 +171,8 @@ bindchange="changeSmBannerIndex"> - + + @@ -186,7 +187,7 @@ - + 倒计时 {{djs.h}}: {{djs.m}}: @@ -311,7 +312,7 @@ - + 苏影通 @@ -320,14 +321,14 @@ 文化配送 --> - + - + - + + + 立即购票 + \ No newline at end of file diff --git a/pages/order/components/coupon/index.js b/pages/order/components/coupon/index.js index 0fbb534..9f79e8f 100644 --- a/pages/order/components/coupon/index.js +++ b/pages/order/components/coupon/index.js @@ -62,6 +62,7 @@ Component({ console.log("我用的原来的数据"); }else{ console.log("我用的新的数据"); + console.log('123123132',res.data); if ( Object.keys(res.data).length!=0) { app.globalData.couponInfo = res.data this.setData({ diff --git a/pages/order/movie/index.js b/pages/order/movie/index.js index dd5b2bd..8235937 100644 --- a/pages/order/movie/index.js +++ b/pages/order/movie/index.js @@ -26,6 +26,7 @@ Page({ * 生命周期函数--监听页面加载 */ onLoad: function (options) { + console.log(JSON.parse(options)); app.globalData.couponInfo = null this.setData({ coupon:app.globalData.couponInfo diff --git a/pages/pbService/web/index.js b/pages/pbService/web/index.js index a2bd632..33f5e7c 100644 --- a/pages/pbService/web/index.js +++ b/pages/pbService/web/index.js @@ -16,47 +16,48 @@ Page({ * 生命周期函数--监听页面加载 */ onLoad: function (options) { - console.log('options',decodeURIComponent(options.weburl)) + console.log('options',decodeURIComponent(options.weburl)) options.weburl = decodeURIComponent(options.weburl) - if(options.weburl.indexOf('m.cloud.sz-trip.com')!=-1){ - userApi.user_post("user/getMyInfo").then(res=>{ - let weburl = options.weburl - if(weburl.indexOf('?')!=-1){ - weburl += '&token='+res.data.token; - } - else { - weburl += '?token='+res.data.token - } - this.setData({ - info:res.data, - webUrl:weburl - }) - }) - } - else if(options.weburl.indexOf('m.jszhwlpt.com')!=-1 || options.weburl.indexOf('wechat.b2c.zj-trip.net')!=-1){ - // 如果是去苏心游或者镇江的话 - userApi.user_post("user/getJumpThirdAppCode",{}).then(res=>{ - let weburl = options.weburl - if(weburl.indexOf('?')!=-1){ - weburl += '&original_sys_name=jdsz&auth_code='+res.data; - } - else { - weburl += '?original_sys_name=jdsz&auth_code='+res.data - } - this.setData({ - info:res.data, - webUrl:weburl - }) - }) - } - else { + // if(options.weburl.indexOf('m.cloud.sz-trip.com')!=-1){ + // userApi.user_post("user/getMyInfo").then(res=>{ + // let weburl = options.weburl + // if(weburl.indexOf('?')!=-1){ + // weburl += '&token='+res.data.token; + // } + // else { + // weburl += '?token='+res.data.token + // } + // this.setData({ + // info:res.data, + // webUrl:weburl + // }) + // }) + // } + // else if(options.weburl.indexOf('m.jszhwlpt.com')!=-1 || options.weburl.indexOf('wechat.b2c.zj-trip.net')!=-1){ + // // 如果是去苏心游或者镇江的话 + // userApi.user_post("user/getJumpThirdAppCode",{}).then(res=>{ + // let weburl = options.weburl + // if(weburl.indexOf('?')!=-1){ + // weburl += '&original_sys_name=jdsz&auth_code='+res.data; + // } + // else { + // weburl += '?original_sys_name=jdsz&auth_code='+res.data + // } + // this.setData({ + // info:res.data, + // webUrl:weburl + // }) + // }) + // } + // else { this.setData({ webUrl:options.weburl }) - } + console.log('打印',this.data.webUrl); + // } }, handleMessage(data) { - console.log(data) + console.log(data) this.setData({ shareTitle:data.shareTitle, shareUrl:data.shareUrl From 8ae742c928f3fff34864c577b5bfc87cd7f447c3 Mon Sep 17 00:00:00 2001 From: chenkainan Date: Thu, 1 Feb 2024 15:50:27 +0800 Subject: [PATCH 119/471] =?UTF-8?q?=E8=8B=8F=E5=BD=B1=E9=80=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/list/activitynew/index.wxml | 4 ++-- pages/list/movieticket/list/info/index.js | 7 ------- pages/list/movieticket/list/info/index.wxml | 7 ++----- pages/list/movieticket/list/ticket/index.js | 21 ++++++++++++--------- pages/order/movie/index.js | 12 +++++------- pages/pbService/web/index.js | 12 +++++------- 6 files changed, 26 insertions(+), 37 deletions(-) diff --git a/pages/list/activitynew/index.wxml b/pages/list/activitynew/index.wxml index 41ce496..6c831a6 100644 --- a/pages/list/activitynew/index.wxml +++ b/pages/list/activitynew/index.wxml @@ -31,10 +31,10 @@ 展览 - + 文化惠民 diff --git a/pages/list/movieticket/list/info/index.js b/pages/list/movieticket/list/info/index.js index e49d467..9c359bd 100644 --- a/pages/list/movieticket/list/info/index.js +++ b/pages/list/movieticket/list/info/index.js @@ -36,13 +36,6 @@ Page({ console.log(showFlag) }) }, - gotoWeb:function(e){ - let item = e.currentTarget.dataset.item; - // app.globalData.weburl = 'https://m.cloud.sz-trip.com/MovieDetail?id='+item.third_id - wx.navigateTo({ - url: '/pages/pbService/web/index?weburl='+encodeURIComponent('https://test.m.cloud.sz-trip.com/MovieDetail?id='+item.third_id+'&token='+this.data.token), - }) - }, BroswerRecord:function(){ setTimeout(()=>{ if(app.globalData.uuid){ diff --git a/pages/list/movieticket/list/info/index.wxml b/pages/list/movieticket/list/info/index.wxml index dc708c0..651fcac 100644 --- a/pages/list/movieticket/list/info/index.wxml +++ b/pages/list/movieticket/list/info/index.wxml @@ -24,9 +24,6 @@ - - - 立即购票 - \ No newline at end of file + \ No newline at end of file diff --git a/pages/list/movieticket/list/ticket/index.js b/pages/list/movieticket/list/ticket/index.js index 7fdd246..e61f784 100644 --- a/pages/list/movieticket/list/ticket/index.js +++ b/pages/list/movieticket/list/ticket/index.js @@ -177,13 +177,13 @@ Page({ let index = e.currentTarget.dataset.index console.log(index); console.log(info.schedules); - const areaInfo = JSON.parse(info.schedules[index].schedule_area).map(item => ({ - ...item, - price: item.areaPrice, - areaId: item.seatAreaId - })); + // const areaInfo = JSON.parse(info.schedules[index].schedule_area).map(item => ({ + // ...item, + // price: item.areaPrice, + // areaId: item.seatAreaId + // })); let planData = { - areaInfo, + // areaInfo, fee: info.schedules[index].service_fee, movieName: this.data.title, planId: info.schedules[index].schedule_id, @@ -215,9 +215,12 @@ Page({ } } console.log(planData); - wx.navigateTo({ - url: "/pages/list/movieticket/list/web/index?planData=" + JSON.stringify(planData), - }) + // wx.navigateTo({ + // url: "/pages/list/movieticket/list/web/index?planData=" + JSON.stringify(planData), + // }) + wx.navigateTo({ + url: '/pages/pbService/web/index?weburl='+encodeURIComponent('https://film.jstqsdy.com/?appkey=TQS65aa175129fd2&jump=&type=WECHATXCX&featureAppNo=' + info.schedules[index].schedule_id), + }) }) }}) }, diff --git a/pages/order/movie/index.js b/pages/order/movie/index.js index 8235937..5162893 100644 --- a/pages/order/movie/index.js +++ b/pages/order/movie/index.js @@ -26,7 +26,6 @@ Page({ * 生命周期函数--监听页面加载 */ onLoad: function (options) { - console.log(JSON.parse(options)); app.globalData.couponInfo = null this.setData({ coupon:app.globalData.couponInfo @@ -36,12 +35,11 @@ Page({ }) let product = app.globalData.product,price=0,num=0,sPrice=0; product.info.selectSeatInfo = JSON.parse(options.selectSeatInfo) - product.info.selectSeatInfo.seatPriceInfo.map(item=>{ - price =price +Math.ceil(Number(item.split('-')[1])*1.006 * 100) / 100 + product.info.selectSeatInfo.price.map(item=>{ + price =price +Math.ceil(Number(item)*1.006 * 100) / 100 num = num + 1 - sPrice = Math.ceil(Number(item.split('-')[1])*1.006 * 100) / 100 + sPrice = Math.ceil(Number(item)*1.006 * 100) / 100 }) - console.log(price*100); this.setData({ product:product, @@ -49,7 +47,6 @@ Page({ num:num, sPrice:sPrice }) - console.log(this.data.price); userApi.user_post("user/getMyInfo").then(res=>{ this.setData({ tel:res.data.mobile @@ -105,7 +102,8 @@ Page({ "seats_list": product.info.selectSeatInfo.seatInfo.join(","),//座位中文名称,多个座位逗号分隔,必填 // "key": this.data.key,//锁座返回的key,必填 "schedules_id": product.info.schedule_id,//淘票票场次id,必填 - "seats_ids": product.info.selectSeatInfo.seatPriceInfo + "seats_ids": product.info.selectSeatInfo.seatPriceInfo, + "seatnames": product.info.selectSeatInfo.seatInfo.join("|") }]; let data = { product_list:product_list, diff --git a/pages/pbService/web/index.js b/pages/pbService/web/index.js index 33f5e7c..606ae97 100644 --- a/pages/pbService/web/index.js +++ b/pages/pbService/web/index.js @@ -16,7 +16,6 @@ Page({ * 生命周期函数--监听页面加载 */ onLoad: function (options) { - console.log('options',decodeURIComponent(options.weburl)) options.weburl = decodeURIComponent(options.weburl) // if(options.weburl.indexOf('m.cloud.sz-trip.com')!=-1){ // userApi.user_post("user/getMyInfo").then(res=>{ @@ -53,15 +52,14 @@ Page({ this.setData({ webUrl:options.weburl }) - console.log('打印',this.data.webUrl); // } }, handleMessage(data) { - console.log(data) - this.setData({ - shareTitle:data.shareTitle, - shareUrl:data.shareUrl - }) + // this.setData({ + // shareTitle:data.shareTitle, + // shareUrl:data.shareUrl + // }) + console.log('打印22222',data); }, /** * 生命周期函数--监听页面初次渲染完成 From ffc35a9cbebc362c16eeaa2b1ece53cf9d18e5ee Mon Sep 17 00:00:00 2001 From: shaojing <2901156235@qq.com> Date: Thu, 1 Feb 2024 15:53:49 +0800 Subject: [PATCH 120/471] =?UTF-8?q?=E6=96=B0=E5=93=81=E7=89=B9=E6=83=A0?= =?UTF-8?q?=E7=9B=B4=E8=A7=92=EF=BC=8C=E5=8D=81=E5=85=A8=E8=A1=97=E5=9B=BE?= =?UTF-8?q?=E7=89=87=E6=9B=B4=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/index.js | 10 +++++----- pages/index/index.wxml | 4 +++- pages/index/index.wxss | 17 ++++++++++++----- 3 files changed, 20 insertions(+), 11 deletions(-) diff --git a/pages/index/index.js b/pages/index/index.js index faf5383..e050dde 100644 --- a/pages/index/index.js +++ b/pages/index/index.js @@ -48,12 +48,12 @@ Page({ 'https://static.ticket.sz-trip.com/jundaosuzhou/images/springFestival2024/sqj-css.png', 'https://static.ticket.sz-trip.com/jundaosuzhou/images/springFestival2024/sqj-tcs.png', 'https://static.ticket.sz-trip.com/jundaosuzhou/images/springFestival2024/sqj-kss.png', - 'https://static.ticket.sz-trip.com/jundaosuzhou/images/springFestival2024/sqj-wjq.png', - 'https://static.ticket.sz-trip.com/jundaosuzhou/images/springFestival2024/sqj-wzq.png', - 'https://static.ticket.sz-trip.com/jundaosuzhou/images/springFestival2024/sqj-xcq.png', - 'https://static.ticket.sz-trip.com/jundaosuzhou/images/springFestival2024/sqj-gsq.png', + 'https://static.ticket.sz-trip.com/jundaosuzhou/images/springFestival2024/sqj-wjqs.png', + 'https://static.ticket.sz-trip.com/jundaosuzhou/images/springFestival2024/sqj-wzqs.png', + 'https://static.ticket.sz-trip.com/jundaosuzhou/images/springFestival2024/sqj-xcqs.png', + 'https://static.ticket.sz-trip.com/jundaosuzhou/images/springFestival2024/sqj-gsqs.png', 'https://static.ticket.sz-trip.com/jundaosuzhou/images/springFestival2024/sqj-gyyq.png', - 'https://static.ticket.sz-trip.com/jundaosuzhou/images/springFestival2024/sqj-gxq.png', + 'https://static.ticket.sz-trip.com/jundaosuzhou/images/springFestival2024/sqj-gxqs.png', ] }, onLoad: function (options) { diff --git a/pages/index/index.wxml b/pages/index/index.wxml index 2be8bd7..67fd0db 100644 --- a/pages/index/index.wxml +++ b/pages/index/index.wxml @@ -202,7 +202,8 @@ - + + {{item.title}} @@ -213,6 +214,7 @@ + diff --git a/pages/index/index.wxss b/pages/index/index.wxss index d5d9085..5a3fdbb 100644 --- a/pages/index/index.wxss +++ b/pages/index/index.wxss @@ -881,16 +881,22 @@ page { } /* 元旦修改新增样式 */ .xpth-banner { - width: 270rpx; - height: 333rpx; + /* width: 270rpx; */ + /* height: 333rpx; */ + height: 340rpx; /* background-image: url("https://static.ticket.sz-trip.com/jundaosuzhou/images/springFestival2024/xpth-hBg.png"); */ background-size: 100% 100%; border-radius: 20rpx; + padding: 4rpx; + background: #3F7572; + clip-path: polygon(5% 0, 95% 0, 100% 5%, 100% 95%, 95% 100%, 5% 100%, 0 95%, 0 5%); } .xpth-banner image { width: 270rpx; - height: 333rpx; - border-radius: 20rpx; + /* height: 333rpx; */ + height: 340rpx; + clip-path: polygon(5% 0, 95% 0, 100% 5%, 100% 95%, 95% 100%, 5% 100%, 0 95%, 0 5%); + /* border-radius: 20rpx; */ } /* 元旦修改新增样式 */ .xpth-item { @@ -901,7 +907,8 @@ page { background-size: 100% 100%; border-radius: 20rpx; display: flex; - margin-bottom: 10rpx; + /* margin-bottom: 10rpx; */ + clip-path: polygon(5% 0, 95% 0, 100% 10%, 100% 90%, 95% 100%, 5% 100%, 0 90%, 0 10%); /* padding: 5rpx; */ } /* 元旦修改新增样式 */ From 5eae0094f0947c7688fea7e63f047b3c6f150999 Mon Sep 17 00:00:00 2001 From: shaojing <2901156235@qq.com> Date: Thu, 1 Feb 2024 17:43:48 +0800 Subject: [PATCH 121/471] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/list/movieticket/list/cinema/index.js | 9 ++++++--- pages/order/movie/index.js | 16 +++++++++++++--- pages/order/movie/index.wxml | 9 +++++---- 3 files changed, 24 insertions(+), 10 deletions(-) diff --git a/pages/list/movieticket/list/cinema/index.js b/pages/list/movieticket/list/cinema/index.js index e00b4b3..9625128 100644 --- a/pages/list/movieticket/list/cinema/index.js +++ b/pages/list/movieticket/list/cinema/index.js @@ -101,9 +101,9 @@ Page({ }, selectMovieSeat(e){ let info = e.currentTarget.dataset.info - const areaInfo = JSON.parse(info.schedule_area).map(item => ({...item, price:item.areaPrice,areaId:item.seatAreaId})); + // const areaInfo = JSON.parse(info.schedule_area).map(item => ({...item, price:item.areaPrice,areaId:item.seatAreaId})); let planData = { - areaInfo, + // areaInfo, fee:info.service_fee, movieName: this.data.movie[this.data.currentNum].title, planId : info.schedule_id, @@ -137,8 +137,11 @@ Page({ start_end_time:info.show_time } } + // wx.navigateTo({ + // url:"/pages/list/movieticket/list/web/index?planData="+ JSON.stringify(planData), + // }) wx.navigateTo({ - url:"/pages/list/movieticket/list/web/index?planData="+ JSON.stringify(planData), + url: '/pages/pbService/web/index?weburl='+encodeURIComponent('https://film.jstqsdy.com/?appkey=TQS65aa175129fd2&jump=&type=WECHATXCX&featureAppNo=' + info.schedule_id), }) }) }, diff --git a/pages/order/movie/index.js b/pages/order/movie/index.js index 5162893..c4fb082 100644 --- a/pages/order/movie/index.js +++ b/pages/order/movie/index.js @@ -19,7 +19,8 @@ Page({ sPrice:0, hideMx:false, showModel:false, - agree:false + agree:false, + sPriceList:[] }, /** @@ -39,14 +40,23 @@ Page({ price =price +Math.ceil(Number(item)*1.006 * 100) / 100 num = num + 1 sPrice = Math.ceil(Number(item)*1.006 * 100) / 100 - }) + }) + console.log(product.info.selectSeatInfo.price); + let priceList = [] + product.info.selectSeatInfo.price.forEach(item => { + item = Math.ceil(Number(item)*1.006 * 100) / 100 + priceList.push(item) + }) + console.log('-----',priceList); this.setData({ + sPriceList:priceList, product:product, price:(price*100).toFixed(2), num:num, sPrice:sPrice - }) + }) + console.log('222',this.data.sPriceList); userApi.user_post("user/getMyInfo").then(res=>{ this.setData({ tel:res.data.mobile diff --git a/pages/order/movie/index.wxml b/pages/order/movie/index.wxml index 3565da2..e3f6796 100644 --- a/pages/order/movie/index.wxml +++ b/pages/order/movie/index.wxml @@ -33,7 +33,7 @@ - + 费用明细 @@ -41,15 +41,16 @@ ¥{{price/100}} - + 票价 - ¥{{sPrice}} x {{num}} + ¥{{item}} + - + 优惠券 From d813a03843ecc43c89f8a3b492864da89a569543 Mon Sep 17 00:00:00 2001 From: shaojing <2901156235@qq.com> Date: Thu, 1 Feb 2024 17:46:43 +0800 Subject: [PATCH 122/471] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 72de0a2..1502125 100644 --- a/app.js +++ b/app.js @@ -21,7 +21,7 @@ App({ unique_key: "wechatxcx" }).then(res => { let data = JSON.parse(res.data); - data.isTest = data.isTest98? true : false; + data.isTest = data.isTest99? true : false; this.globalData.configJson = data }).then(() => { // 获取ui配置文件 From 4a624635beb735f234444ee0d73456eed2a9e696 Mon Sep 17 00:00:00 2001 From: shaojing <2901156235@qq.com> Date: Fri, 2 Feb 2024 10:58:00 +0800 Subject: [PATCH 123/471] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=87=91=E5=88=9A?= =?UTF-8?q?=E5=8C=BA=E5=9B=BE=E7=89=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/index.wxml | 10 +++++----- pages/order/movie/index.js | 12 +++++++++++- pages/order/movie/index.wxml | 7 +++---- 3 files changed, 19 insertions(+), 10 deletions(-) diff --git a/pages/index/index.wxml b/pages/index/index.wxml index 67fd0db..ce22204 100644 --- a/pages/index/index.wxml +++ b/pages/index/index.wxml @@ -58,7 +58,7 @@ - + 场馆预约 @@ -68,14 +68,14 @@ - + 非遗专卖 - + 剧场演出 @@ -103,14 +103,14 @@ - + 夜游苏州 - + 一日游 diff --git a/pages/order/movie/index.js b/pages/order/movie/index.js index c4fb082..4f8b77c 100644 --- a/pages/order/movie/index.js +++ b/pages/order/movie/index.js @@ -41,7 +41,7 @@ Page({ num = num + 1 sPrice = Math.ceil(Number(item)*1.006 * 100) / 100 }) - console.log(product.info.selectSeatInfo.price); + console.log('price',product.info.selectSeatInfo.price); let priceList = [] product.info.selectSeatInfo.price.forEach(item => { item = Math.ceil(Number(item)*1.006 * 100) / 100 @@ -62,6 +62,16 @@ Page({ tel:res.data.mobile }) }) + console.log('***',product.info.selectSeatInfo); + commonApi.user_post("Cinema/getSeatPrice",{ + schedules_id:product.info.schedule_id, + seats_ids:product.info.selectSeatInfo.seatPriceInfo + }).then(res=>{ + console.log('res',res); + this.setData({ + price:res.data.money + }) + }) }, changeTel:function(e){ this.setData({ diff --git a/pages/order/movie/index.wxml b/pages/order/movie/index.wxml index e3f6796..4733428 100644 --- a/pages/order/movie/index.wxml +++ b/pages/order/movie/index.wxml @@ -32,7 +32,7 @@ - + @@ -65,14 +64,14 @@ 订单总额:¥{{((price - (coupon?coupon.activity.money:0))>0?(price - (coupon?coupon.activity.money:0)):0)/100}} - + --> ¥0 ¥{{((price - (coupon?coupon.activity.money:0))>0?(price - (coupon?coupon.activity.money:0)):0)/100}} 总计优惠{{coupon?coupon.activity.money/100:0}}元 - 明细 + 立即付款 From b7c8d75bbee20f3d857b7869c9e3202d5e13ee1c Mon Sep 17 00:00:00 2001 From: shaojing <2901156235@qq.com> Date: Fri, 1 Mar 2024 11:06:28 +0800 Subject: [PATCH 124/471] =?UTF-8?q?=E6=99=AF=E7=82=B9=E4=BB=B7=E6=A0=BC?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=EF=BC=8C=E9=A6=96=E9=A1=B5ui=E6=94=B9?= =?UTF-8?q?=E7=89=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.json | 2 +- images/index-selds.png | Bin 10836 -> 13086 bytes images/my-selds.png | Bin 13156 -> 13301 bytes images/tuyou-selds.png | Bin 19171 -> 19434 bytes pages/index/index.js | 20 +++--- pages/index/index.wxml | 92 +++++++++++++------------- pages/index/index.wxss | 59 +++++++++-------- pages/order/components/date/index.js | 7 +- pages/order/scene/index.js | 34 ++++++++-- pages/pbService/appreciate/index.wxml | 2 +- pages/pbService/appreciate/index.wxss | 2 +- 11 files changed, 122 insertions(+), 96 deletions(-) diff --git a/app.json b/app.json index 6682b26..75d9431 100644 --- a/app.json +++ b/app.json @@ -213,7 +213,7 @@ "sitemapLocation": "sitemap.json", "tabBar": { "color": "#999", - "selectedColor": "#D02E25", + "selectedColor": "#72674E", "borderStyle": "white", "list": [ { diff --git a/images/index-selds.png b/images/index-selds.png index 0781bc44a4007e13bb9b9df1209e8b794d8a15f5..496bc7e345d90815405bb42f3d1cfd647fee6909 100644 GIT binary patch literal 13086 zcmZvDWmFx%^Y`8h7k4l26nCdZi(7Fh#f!UB+}+)!1&VudxVRK8?(SOL`Sbm~d(L@Y z>}JlMWHOn}OeT|0!j%=JP>~3c002Ohk(N+-E35x|5a8b4RgK$vZw1InMM?~)93wse z0CGS^LR8IN@5I|8O?{_f_tD2Q*U2)#DCsj!7Q93s$RRJz!&#bPWn95cKdPvJcA3#Z z`tNvqqta{B?ak1l1 zr4fV%XM6v`i*C-duiGD&jy&gd&L{(@szu;`1A^!Cf%))wBEUKTOR@+C`3YWKK?2bM zVuL*KFXVuIXikU0ImizN#n~Jg7C4=l!bkZC*!%gT+4uuclJ5@zUGM-J+eAJy2GEo~ zm71G-W@1K$@YO&dR2EB-j}uu@Xye|sAszE5h4fMkD?IhvfbmM}8ey#DkKgIBC@fV* zZ)`^W#6`O%l+kskf5^94iJ*aw4U`|^M*MLZLk1}B5{w!NLwJ&!=U$Hf@U+~-+$kH?jM{5276RUv!fJ*Q@2?o6KxrX5MUWMN}!uw3vv?IzV)0^Mo ztp#NoG#Tf2>j?%BTLCyEq#_d+o>TJi?_1JQ6!yr2l_5b5cq&s;RH9;<#$ogA!0hL& zPkH4ZS@gXH%*OiNr=+lT-<3lx3=AHE5HTA&J?Skjf*diOzsw$CZn+pC+=Jo{snS) z&~qE8L{gGG4_<~}|3KI}|D*Nk2wEA$qYLtkhQm9_4vZlNxc;V+T4y=yg? z*Uvv7AV4|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git a/images/my-selds.png b/images/my-selds.png index debb1e80b210ad988fb73aa01c8b2d3f868b3193..5b4f4c9aa30264d985bd0a98ff76ca552f9ab67a 100644 GIT binary patch literal 13301 zcmVPyA07*naRCr$PT?t@R)z$vax$n&+0m33EAntXyYTcJwX|+|<1kgWPH^haoi4Znx zTWi|-yC5XNC`&{^v9&dB1eCf}ZLL;+ty^8{Qc)0bVJDE8dGDS-_svY03=60qqCS04C}uB)dVd3xKY~q%5Vp5gpeB zL>v)p0GR7E3oS~2$t8@26HIgF$v@V+=9I3mX_Kd zxGR6a79B5y6CiX1fI!!$H8nNn_qnT$6378KMo{JD<-FmGx4tJzAIc(!ipaqL_6K1<+p>BQ6AUOt z8&pd8&mKn2VH^2FoZzFNHrO_Q_Wt4UpG6BC$6f86$e@oj@BuUbo3(nkOTX`bQeIxJ z+qjRN_G38!11K#mwR z=@F1TV~6mcbynYo+^O8Mes;dU~b`ywPoGb{~P! zgV%$wLPVZdnig~&aMZtZr*UEscWMAn9bJ5&~yi>x&As>AaSxx)D}0T6-9n8Hx$6*3hCq6HU*9^b0!VyfpKkzx*c^Z-Go6vr_`N zynLXwae2Y+qO8k7D6wsIh*1+8j4^<87K!GXXv2ATkxV4P=R)!6%#hiZ@jOaL20 z&lr3JsHm;inpUC|gN@ zMCAFtwr7YLJ=L6!#%c>W2DkVGpk+i@sUcsJHm`l!0+ITN>!B+FdBo^0g1!Xw6Ug2G z?Q7ef)51IDx2Ipns1_~+UxDaN5k0fAX7N*@L8bMA!$w-nOlj0dh-VHfoJIYFt-02=D|nYMsrYC#wIj zbVFwca;E`s*_9=|Tne6Gv6QpoW4EV|npeCC8E098`7tgofd1BK(7wdvYe`)&C$42F1cT1E0G?pt$3?quJDS$ofrd?8_d99J&Uyrl z=VQ|+FXe~)d0h#r7b|_Z2+jt{S$?0ji{rT7X`JYa_>Y6ecMRahdi1O9%x<=<2k_)e zf7V616r2m_Va$AbODcmgn7r4x$Z96MDw_TQ$V--k*QVW5w=tC`)wpq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|EG9>!-gLJ~wyJ!DTVmDc94+qm(*YJDMCyi@^d6@Ez@m zJ`nU1qL&c_(}AaHt%Zsnv81@9Mx70$d<4-S*3+nwgzs8os;#?mL3`v#?g8*#2*mbU zlIqj%E2}7vSvinoIVokJ8A?HkicuhXLo}BMLKICbspdq93$V#IvkU5J_^yb3*P$#4 z^u?mqd>aa#dk=sMrPzO1e~pUSI$}hiVQbOsC(4P4K0000{{weather.max_temp}}° {{weather.weather}} + src="https://static.ticket.sz-trip.com/uploads/20240228/5c5a9073f90f695f56560e51c1d7b26a.png" mode="aspectFill"> - + 活动日历 - + 场馆预约 @@ -68,56 +68,56 @@ - + 非遗专卖 - + 剧场演出 - + 文创特产 - + 景点门票 - + 酒店住宿 - + 夜游苏州 - + 一日游 - + 研学游 @@ -171,8 +171,8 @@ bindchange="changeSmBannerIndex"> - - + + @@ -189,11 +189,11 @@ 倒计时 - {{djs.h}}: - {{djs.m}}: + {{djs.h}}: + {{djs.m}}: {{djs.s}} - + @@ -202,12 +202,12 @@ - + - {{item.title}} - 唇齿留香 + {{item.title}} + {{item.price/100}} @@ -225,7 +225,7 @@ - + @@ -234,7 +234,7 @@ - + 非遗鉴赏 - + 文化场馆查询 - + 数字博物馆 - + 云上文博会 投资导引图 --> - + 投资导引图 - + 文旅单位 - + 苏影通 @@ -328,7 +328,7 @@ - + 云上观展 精彩回顾 --> - + 精彩回顾 视觉中心 --> - + 视觉中心 书香借阅 --> - + 书香借阅 @@ -361,7 +361,7 @@ - + 公共文化资源库 @@ -374,20 +374,20 @@ - + + src="https://static.ticket.sz-trip.com/uploads/20240228/54a08fbb38bca354e0b4ba22799ccdb6.png" mode="aspectFill"> + src="https://static.ticket.sz-trip.com/uploads/20240228/920c31f6a34998d7d266caa2c944114e.png" mode="aspectFill"> + src="https://static.ticket.sz-trip.com/uploads/20240228/d3513a8d5ab72627d69076942c306989.png" mode="aspectFill"> + src="https://static.ticket.sz-trip.com/uploads/20240228/261182d448deb8502da596b679ea933d.png" mode="aspectFill"> @@ -418,7 +418,7 @@ 更多 - + @@ -432,28 +432,28 @@ - + 安全服务 - + 景区舒适度 - + 行李寄存 - + 实时路况 {{item.CatalogName}} diff --git a/pages/pbService/appreciate/index.wxss b/pages/pbService/appreciate/index.wxss index 9f1edb1..095da0f 100644 --- a/pages/pbService/appreciate/index.wxss +++ b/pages/pbService/appreciate/index.wxss @@ -30,7 +30,7 @@ page { color: #fff; } .appreciate-type:nth-child(1){ - margin-right: 80rpx; + /* margin-right: 80rpx; */ } .tags { display: flex; From 524e0c7ea42376ef25f3c512cb3bfbf0f368e27d Mon Sep 17 00:00:00 2001 From: shaojing <2901156235@qq.com> Date: Fri, 1 Mar 2024 15:15:57 +0800 Subject: [PATCH 125/471] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E5=8F=82=E6=95=B0=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 4 ++-- pages/index/index.wxss | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/app.js b/app.js index 1502125..072f326 100644 --- a/app.js +++ b/app.js @@ -21,11 +21,11 @@ App({ unique_key: "wechatxcx" }).then(res => { let data = JSON.parse(res.data); - data.isTest = data.isTest99? true : false; + data.isTest = data.isTest100? true : false; this.globalData.configJson = data }).then(() => { // 获取ui配置文件 - commonApi._post("adv/get_home_ui", {}).then(res => { + commonApi._post("adv/get_home_ui", {type_id: 3}).then(res => { let obj = {} res.data.content.forEach(item => { obj[item.id] = item.image diff --git a/pages/index/index.wxss b/pages/index/index.wxss index 92da428..06c0e4f 100644 --- a/pages/index/index.wxss +++ b/pages/index/index.wxss @@ -5,7 +5,8 @@ page { padding-bottom: 36.67rpx; /* background-image: url("https://static.ticket.sz-trip.com/jundaosuzhou/images/springFestival2024/indexBg.png"); */ background-size: 100% 100%; - /* background: #FFF6E8; */ + background: url("https://static.ticket.sz-trip.com/uploads/20240227/0c1fbee84d17f1089aabb3ee81ddbfec.png"); + background-repeat: round; } .swiper,.swiper image { width: 690rpx; From 9958e8a9ea914de1366f4d5b7d9059079cf7b5cb Mon Sep 17 00:00:00 2001 From: shaojing <2901156235@qq.com> Date: Fri, 1 Mar 2024 16:31:53 +0800 Subject: [PATCH 126/471] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/index.wxml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pages/index/index.wxml b/pages/index/index.wxml index c7c159d..c5ccbf0 100644 --- a/pages/index/index.wxml +++ b/pages/index/index.wxml @@ -20,7 +20,7 @@ --> - + 搜索想要的旅游产品或服务 @@ -181,7 +181,7 @@ - + @@ -376,7 +376,7 @@ - + @@ -484,7 +484,7 @@ --> - + From 3408522946da66ab7325ae975f938fb69d559321 Mon Sep 17 00:00:00 2001 From: shaojing <2901156235@qq.com> Date: Thu, 7 Mar 2024 14:28:48 +0800 Subject: [PATCH 127/471] =?UTF-8?q?=E5=8D=81=E5=85=A8=E8=A1=97=E7=AD=89?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/index.js | 8 ++++++- pages/index/index.wxml | 33 +++++++++++++-------------- pages/index/index.wxss | 2 +- pages/list/movieticket/index.js | 21 ++++++++++++++++- pages/list/movieticket/index.wxml | 7 ++++++ pages/list/movieticket/index.wxss | 38 +++++++++++++++++++++++++++++++ pages/list/six/index.wxml | 4 ++-- pages/order/scene/index.wxml | 2 +- 8 files changed, 92 insertions(+), 23 deletions(-) diff --git a/pages/index/index.js b/pages/index/index.js index 677da7b..c6f3103 100644 --- a/pages/index/index.js +++ b/pages/index/index.js @@ -436,6 +436,12 @@ Page({ path: 'pages/home/home' }) return; + }else if (e.currentTarget.dataset.event == 'changshu_click') { + wx.navigateToMiniProgram({ + appId: 'wx4df5fd9a6a5ea123', + path: 'pages/index' + }) + return; }else if (e.currentTarget.dataset.event == 'gongyeyuanqu_click') { wx.navigateToMiniProgram({ appId: 'wxd323e63a10aa6865', @@ -829,7 +835,7 @@ Page({ if (item.type == 'h5') { app.globalData.weburl = item.url wx.navigateTo({ - url: "/pages/pbService/web/index" + url: "/pages/pbService/web/index?weburl=" + encodeURIComponent(item.url) }) } else if (item.type == 'mini') { wx.navigateToMiniProgram({ diff --git a/pages/index/index.wxml b/pages/index/index.wxml index c5ccbf0..817be63 100644 --- a/pages/index/index.wxml +++ b/pages/index/index.wxml @@ -309,6 +309,22 @@ 廉洁地图 --> + + + + + 书香借阅 + + + + + + 公共文化资源库 + - - - 书香借阅 - - - - - - - 公共文化资源库 - diff --git a/pages/index/index.wxss b/pages/index/index.wxss index 06c0e4f..c058797 100644 --- a/pages/index/index.wxss +++ b/pages/index/index.wxss @@ -327,7 +327,7 @@ page { .pbservice { /* width: calc(175rpx * 6); */ /* 元旦修改 */ - width: calc(190rpx * 6); + width: calc(190rpx * 8); display: flex; margin-top: 20rpx; flex-wrap: wrap; diff --git a/pages/list/movieticket/index.js b/pages/list/movieticket/index.js index 021a01c..7bb8b85 100644 --- a/pages/list/movieticket/index.js +++ b/pages/list/movieticket/index.js @@ -14,7 +14,8 @@ Page({ lon:null, page:1, isMore:true, - list:[] + list:[], + keyword:"", }, /** @@ -93,6 +94,24 @@ Page({ // url: 'info/ticket/index?id='+item.third_id+"&title="+item.title // }) // }, + inputKeyword:function(e){ + this.setData({ + keyword:e.detail.value + }) + }, + search:function(){ + if(!this.data.keyword) { + wx.showToast({ + title: '请输入关键字', + icon:'none' + }) + return; + } + this.getList() + // wx.navigateTo({ + // url: 'list/index?keyword='+this.data.keyword, + // }) + }, gotoDetail1:function(e){ let item = e.currentTarget.dataset.item; wx.navigateTo({ diff --git a/pages/list/movieticket/index.wxml b/pages/list/movieticket/index.wxml index 0ae5aa5..5345a58 100644 --- a/pages/list/movieticket/index.wxml +++ b/pages/list/movieticket/index.wxml @@ -1,4 +1,11 @@ + 热映 影院 diff --git a/pages/list/movieticket/index.wxss b/pages/list/movieticket/index.wxss index ab30723..cd124ce 100644 --- a/pages/list/movieticket/index.wxss +++ b/pages/list/movieticket/index.wxss @@ -181,4 +181,42 @@ page { } .cinemalist .cinema:last-child { border-bottom: none; +} +.my-top-search { + /* position: fixed; */ + left: 0; + right: 0; + background: #f0f0f0; + padding: 16rpx 0; + z-index: 1; +} +.my-search-box { + height: 56rpx; + display: flex; + justify-content: space-between; + align-items: center; + padding-left: 20rpx; + background: #fff; + border-radius: 30rpx; + margin: 0 auto; + width: 560rpx; +} +.my-search-box .iconfont { + color: #999999; + flex-shrink: 0; +} +.my-search-box input { + display: block; + flex: 1; + margin: 0 20rpx; + font-size: 26rpx; +} +.my-search-btn { + flex-shrink: 0; + width: 110rpx; + text-align: center; + font-size: 26rpx; + color: #0B898E; + border-left: 1rpx solid #ccc; + line-height: 40rpx; } \ No newline at end of file diff --git a/pages/list/six/index.wxml b/pages/list/six/index.wxml index c571922..8968e3a 100644 --- a/pages/list/six/index.wxml +++ b/pages/list/six/index.wxml @@ -1,6 +1,6 @@ - + @@ -47,7 +47,7 @@ 停车场 - + 公共自行车 diff --git a/pages/order/scene/index.wxml b/pages/order/scene/index.wxml index a6d3748..fecee13 100644 --- a/pages/order/scene/index.wxml +++ b/pages/order/scene/index.wxml @@ -5,7 +5,7 @@ {{product.product.title + product.isGroup==1?'(团体预约)':product.sku.sku_name}} 免费 - From a9b021a39bf0876eecc57dfa4e60795026ce5e03 Mon Sep 17 00:00:00 2001 From: shaojing <2901156235@qq.com> Date: Thu, 7 Mar 2024 14:32:53 +0800 Subject: [PATCH 128/471] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 072f326..fe0fc13 100644 --- a/app.js +++ b/app.js @@ -21,7 +21,7 @@ App({ unique_key: "wechatxcx" }).then(res => { let data = JSON.parse(res.data); - data.isTest = data.isTest100? true : false; + data.isTest = data.isTest101? true : false; this.globalData.configJson = data }).then(() => { // 获取ui配置文件 From 00bcff5bf0793c568e14e7b16639e87891c1eccd Mon Sep 17 00:00:00 2001 From: shaojing <2901156235@qq.com> Date: Tue, 12 Mar 2024 14:57:51 +0800 Subject: [PATCH 129/471] =?UTF-8?q?=E8=8B=8F=E5=BD=B1=E9=80=9A=E6=90=9C?= =?UTF-8?q?=E7=B4=A2=EF=BC=8C=E6=9C=9F=E7=A5=A8=E5=88=A4=E6=96=AD=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 2 +- pages/list/activitynew/index.js | 8 +++++--- pages/list/activitynew/index.wxml | 6 +++--- pages/list/movieticket/index.js | 17 ++++++++++++----- pages/list/movieticket/index.wxml | 8 ++++---- pages/list/movieticket/index.wxss | 3 ++- pages/order/scene/index.wxml | 2 +- 7 files changed, 28 insertions(+), 18 deletions(-) diff --git a/app.js b/app.js index fe0fc13..f80aaa2 100644 --- a/app.js +++ b/app.js @@ -21,7 +21,7 @@ App({ unique_key: "wechatxcx" }).then(res => { let data = JSON.parse(res.data); - data.isTest = data.isTest101? true : false; + data.isTest = data.isTest102? true : false; this.globalData.configJson = data }).then(() => { // 获取ui配置文件 diff --git a/pages/list/activitynew/index.js b/pages/list/activitynew/index.js index e537870..0fe9198 100644 --- a/pages/list/activitynew/index.js +++ b/pages/list/activitynew/index.js @@ -254,7 +254,8 @@ Page({ }; let data = { page: this.data.pageNo, - pageSize: 10 + pageSize: 10, + title:this.data.realKeywords }; if (this.data.movieType == 2) { data.lat = this.data.lat; @@ -355,7 +356,8 @@ setCity(e){ list: [], pageNo: 1, total: 1, - moreFlag: true + moreFlag: true, + realKeywords:'' }) this.getList() }, @@ -388,7 +390,7 @@ setCity(e){ total: 1, moreFlag: true, date:null, - isYL: true, + isYL: this.data.type == 4 ? false: true, selectDay: null }) diff --git a/pages/list/activitynew/index.wxml b/pages/list/activitynew/index.wxml index 6c831a6..19edc3b 100644 --- a/pages/list/activitynew/index.wxml +++ b/pages/list/activitynew/index.wxml @@ -1,13 +1,13 @@ - +## [1.6.6](https://github.com/iamkun/dayjs/compare/v1.6.5...v1.6.6) (2018-06-06) + + +### Bug Fixes + +* format API update and locale file update ([5ca48f0](https://github.com/iamkun/dayjs/commit/5ca48f0)), closes [#228](https://github.com/iamkun/dayjs/issues/228) + + +## [1.6.5](https://github.com/iamkun/dayjs/compare/v1.6.4...v1.6.5) (2018-05-31) + + +### Bug Fixes + +* bugfix, utils update and locale file update ([ebcb6d5](https://github.com/iamkun/dayjs/commit/ebcb6d5)), closes [#214](https://github.com/iamkun/dayjs/issues/214) + + +## [1.6.4](https://github.com/iamkun/dayjs/compare/v1.6.3...v1.6.4) (2018-05-25) + + +### Bug Fixes + +* add RelativeTime plugin and locale file update ([c1fbbca](https://github.com/iamkun/dayjs/commit/c1fbbca)), closes [#198](https://github.com/iamkun/dayjs/issues/198) + + +## [1.6.3](https://github.com/iamkun/dayjs/compare/v1.6.2...v1.6.3) (2018-05-21) + + +### Bug Fixes + +* Changing locales locally is immutable from this release ([2cce729](https://github.com/iamkun/dayjs/commit/2cce729)), closes [#182](https://github.com/iamkun/dayjs/issues/182) +* instance locale change should be immutable ([84597c9](https://github.com/iamkun/dayjs/commit/84597c9)) +* Add more locales +* english ordinal fix + + +## [1.6.2](https://github.com/iamkun/dayjs/compare/v1.6.1...v1.6.2) (2018-05-18) + + +### Bug Fixes + +* change-log update && test new npm release ([aa49cba](https://github.com/iamkun/dayjs/commit/aa49cba)), closes [#163](https://github.com/iamkun/dayjs/issues/163) + + +## [1.6.1](https://github.com/iamkun/dayjs/compare/v1.6.0...v1.6.1) (2018-05-18) + + +### Bug Fixes + +* Add German, Brazilian Portuguese locales +* add() & parse() bug fix & add locale de, pt-br ([bf1331e](https://github.com/iamkun/dayjs/commit/bf1331e)) + + +# [1.6.0](https://github.com/iamkun/dayjs/compare/v1.5.24...v1.6.0) (2018-05-15) + + +### Features + +* Locale && Plugin ([2342c55](https://github.com/iamkun/dayjs/commit/2342c55)), closes [#141](https://github.com/iamkun/dayjs/issues/141) diff --git a/node_modules/dayjs/LICENSE b/node_modules/dayjs/LICENSE new file mode 100644 index 0000000..caf9315 --- /dev/null +++ b/node_modules/dayjs/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2018-present, iamkun + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/node_modules/dayjs/README.md b/node_modules/dayjs/README.md new file mode 100644 index 0000000..3e514dc --- /dev/null +++ b/node_modules/dayjs/README.md @@ -0,0 +1,149 @@ +English | [简体中文](./docs/zh-cn/README.zh-CN.md) | [日本語](./docs/ja/README-ja.md) | [Português Brasileiro](./docs/pt-br/README-pt-br.md) | [한국어](./docs/ko/README-ko.md) | [Español (España)](./docs/es-es/README-es-es.md) | [Русский](./docs/ru/README-ru.md) | [Türkçe](./docs/tr/README-tr.md) | [සිංහල](./docs/si/README-si.md) | [עברית](./docs/he/README-he.md) + +

    Day.js

    +

    Fast 2kB alternative to Moment.js with the same modern API

    +

    + Gzip Size + NPM Version + Build Status + Codecov + License +
    + + Sauce Test Status + +

    + +> Day.js is a minimalist JavaScript library that parses, validates, manipulates, and displays dates and times for modern browsers with a largely Moment.js-compatible API. If you use Moment.js, you already know how to use Day.js. + +```js +dayjs().startOf('month').add(1, 'day').set('year', 2018).format('YYYY-MM-DD HH:mm:ss'); +``` + +* 🕒 Familiar Moment.js API & patterns +* 💪 Immutable +* 🔥 Chainable +* 🌐 I18n support +* 📦 2kb mini library +* 👫 All browsers supported + +--- + +## Getting Started + +### Documentation + +You can find more details, API, and other docs on [day.js.org](https://day.js.org/) website. + +### Installation + +```console +npm install dayjs --save +``` + +📚[Installation Guide](https://day.js.org/docs/en/installation/installation) + +### API + +It's easy to use Day.js APIs to parse, validate, manipulate, and display dates and times. + +```javascript +dayjs('2018-08-08') // parse + +dayjs().format('{YYYY} MM-DDTHH:mm:ss SSS [Z] A') // display + +dayjs().set('month', 3).month() // get & set + +dayjs().add(1, 'year') // manipulate + +dayjs().isBefore(dayjs()) // query +``` + +📚[API Reference](https://day.js.org/docs/en/parse/parse) + +### I18n + +Day.js has great support for internationalization. + +But none of them will be included in your build unless you use it. + +```javascript +import 'dayjs/locale/es' // load on demand + +dayjs.locale('es') // use Spanish locale globally + +dayjs('2018-05-05').locale('zh-cn').format() // use Chinese Simplified locale in a specific instance +``` + +📚[Internationalization](https://day.js.org/docs/en/i18n/i18n) + +### Plugin + +A plugin is an independent module that can be added to Day.js to extend functionality or add new features. + +```javascript +import advancedFormat from 'dayjs/plugin/advancedFormat' // load on demand + +dayjs.extend(advancedFormat) // use plugin + +dayjs().format('Q Do k kk X x') // more available formats +``` + +📚[Plugin List](https://day.js.org/docs/en/plugin/plugin) + +## Sponsors + +Support this project by becoming a sponsor. Your logo will show up here with a link to your website. + +[[Become a sponsor via Github](https://github.com/sponsors/iamkun/)] [[Become a sponsor via OpenCollective](https://opencollective.com/dayjs#sponsor)] + + + + +         + + + +         + + + +         + + + +         + +         + +         + +         + + +## Contributors + +This project exists thanks to all the people who contribute. + +Please give us a 💖 star 💖 to support us. Thank you. + +And thank you to all our backers! 🙏 + + + + + +
    + + +## License + +Day.js is licensed under a [MIT License](./LICENSE). diff --git a/node_modules/dayjs/dayjs.min.js b/node_modules/dayjs/dayjs.min.js new file mode 100644 index 0000000..61916d8 --- /dev/null +++ b/node_modules/dayjs/dayjs.min.js @@ -0,0 +1 @@ +!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).dayjs=e()}(this,(function(){"use strict";var t=1e3,e=6e4,n=36e5,r="millisecond",i="second",s="minute",u="hour",a="day",o="week",c="month",f="quarter",h="year",d="date",l="Invalid Date",$=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,M={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],n=t%100;return"["+t+(e[(n-20)%10]||e[n]||e[0])+"]"}},m=function(t,e,n){var r=String(t);return!r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},v={s:m,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return(e<=0?"+":"-")+m(r,2,"0")+":"+m(i,2,"0")},m:function t(e,n){if(e.date()1)return t(u[0])}else{var a=e.name;D[a]=e,i=a}return!r&&i&&(g=i),i||!r&&g},O=function(t,e){if(S(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new _(n)},b=v;b.l=w,b.i=S,b.w=function(t,e){return O(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var _=function(){function M(t){this.$L=w(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[p]=!0}var m=M.prototype;return m.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(b.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match($);if(r){var i=r[2]-1||0,s=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)}}return new Date(e)}(t),this.init()},m.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},m.$utils=function(){return b},m.isValid=function(){return!(this.$d.toString()===l)},m.isSame=function(t,e){var n=O(t);return this.startOf(e)<=n&&n<=this.endOf(e)},m.isAfter=function(t,e){return O(t) + +export = dayjs; + +declare function dayjs (date?: dayjs.ConfigType): dayjs.Dayjs + +declare function dayjs (date?: dayjs.ConfigType, format?: dayjs.OptionType, strict?: boolean): dayjs.Dayjs + +declare function dayjs (date?: dayjs.ConfigType, format?: dayjs.OptionType, locale?: string, strict?: boolean): dayjs.Dayjs + +declare namespace dayjs { + interface ConfigTypeMap { + default: string | number | Date | Dayjs | null | undefined + } + + export type ConfigType = ConfigTypeMap[keyof ConfigTypeMap] + + export interface FormatObject { locale?: string, format?: string, utc?: boolean } + + export type OptionType = FormatObject | string | string[] + + export type UnitTypeShort = 'd' | 'D' | 'M' | 'y' | 'h' | 'm' | 's' | 'ms' + + export type UnitTypeLong = 'millisecond' | 'second' | 'minute' | 'hour' | 'day' | 'month' | 'year' | 'date' + + export type UnitTypeLongPlural = 'milliseconds' | 'seconds' | 'minutes' | 'hours' | 'days' | 'months' | 'years' | 'dates' + + export type UnitType = UnitTypeLong | UnitTypeLongPlural | UnitTypeShort; + + export type OpUnitType = UnitType | "week" | "weeks" | 'w'; + export type QUnitType = UnitType | "quarter" | "quarters" | 'Q'; + export type ManipulateType = Exclude; + class Dayjs { + constructor (config?: ConfigType) + /** + * All Day.js objects are immutable. Still, `dayjs#clone` can create a clone of the current object if you need one. + * ``` + * dayjs().clone()// => Dayjs + * dayjs(dayjs('2019-01-25')) // passing a Dayjs object to a constructor will also clone it + * ``` + * Docs: https://day.js.org/docs/en/parse/dayjs-clone + */ + clone(): Dayjs + /** + * This returns a `boolean` indicating whether the Day.js object contains a valid date or not. + * ``` + * dayjs().isValid()// => boolean + * ``` + * Docs: https://day.js.org/docs/en/parse/is-valid + */ + isValid(): boolean + /** + * Get the year. + * ``` + * dayjs().year()// => 2020 + * ``` + * Docs: https://day.js.org/docs/en/get-set/year + */ + year(): number + /** + * Set the year. + * ``` + * dayjs().year(2000)// => Dayjs + * ``` + * Docs: https://day.js.org/docs/en/get-set/year + */ + year(value: number): Dayjs + /** + * Get the month. + * + * Months are zero indexed, so January is month 0. + * ``` + * dayjs().month()// => 0-11 + * ``` + * Docs: https://day.js.org/docs/en/get-set/month + */ + month(): number + /** + * Set the month. + * + * Months are zero indexed, so January is month 0. + * + * Accepts numbers from 0 to 11. If the range is exceeded, it will bubble up to the next year. + * ``` + * dayjs().month(0)// => Dayjs + * ``` + * Docs: https://day.js.org/docs/en/get-set/month + */ + month(value: number): Dayjs + /** + * Get the date of the month. + * ``` + * dayjs().date()// => 1-31 + * ``` + * Docs: https://day.js.org/docs/en/get-set/date + */ + date(): number + /** + * Set the date of the month. + * + * Accepts numbers from 1 to 31. If the range is exceeded, it will bubble up to the next months. + * ``` + * dayjs().date(1)// => Dayjs + * ``` + * Docs: https://day.js.org/docs/en/get-set/date + */ + date(value: number): Dayjs + /** + * Get the day of the week. + * + * Returns numbers from 0 (Sunday) to 6 (Saturday). + * ``` + * dayjs().day()// 0-6 + * ``` + * Docs: https://day.js.org/docs/en/get-set/day + */ + day(): number + /** + * Set the day of the week. + * + * Accepts numbers from 0 (Sunday) to 6 (Saturday). If the range is exceeded, it will bubble up to next weeks. + * ``` + * dayjs().day(0)// => Dayjs + * ``` + * Docs: https://day.js.org/docs/en/get-set/day + */ + day(value: number): Dayjs + /** + * Get the hour. + * ``` + * dayjs().hour()// => 0-23 + * ``` + * Docs: https://day.js.org/docs/en/get-set/hour + */ + hour(): number + /** + * Set the hour. + * + * Accepts numbers from 0 to 23. If the range is exceeded, it will bubble up to the next day. + * ``` + * dayjs().hour(12)// => Dayjs + * ``` + * Docs: https://day.js.org/docs/en/get-set/hour + */ + hour(value: number): Dayjs + /** + * Get the minutes. + * ``` + * dayjs().minute()// => 0-59 + * ``` + * Docs: https://day.js.org/docs/en/get-set/minute + */ + minute(): number + /** + * Set the minutes. + * + * Accepts numbers from 0 to 59. If the range is exceeded, it will bubble up to the next hour. + * ``` + * dayjs().minute(59)// => Dayjs + * ``` + * Docs: https://day.js.org/docs/en/get-set/minute + */ + minute(value: number): Dayjs + /** + * Get the seconds. + * ``` + * dayjs().second()// => 0-59 + * ``` + * Docs: https://day.js.org/docs/en/get-set/second + */ + second(): number + /** + * Set the seconds. + * + * Accepts numbers from 0 to 59. If the range is exceeded, it will bubble up to the next minutes. + * ``` + * dayjs().second(1)// Dayjs + * ``` + */ + second(value: number): Dayjs + /** + * Get the milliseconds. + * ``` + * dayjs().millisecond()// => 0-999 + * ``` + * Docs: https://day.js.org/docs/en/get-set/millisecond + */ + millisecond(): number + /** + * Set the milliseconds. + * + * Accepts numbers from 0 to 999. If the range is exceeded, it will bubble up to the next seconds. + * ``` + * dayjs().millisecond(1)// => Dayjs + * ``` + * Docs: https://day.js.org/docs/en/get-set/millisecond + */ + millisecond(value: number): Dayjs + /** + * Generic setter, accepting unit as first argument, and value as second, returns a new instance with the applied changes. + * + * In general: + * ``` + * dayjs().set(unit, value) === dayjs()[unit](value) + * ``` + * Units are case insensitive, and support plural and short forms. + * ``` + * dayjs().set('date', 1) + * dayjs().set('month', 3) // April + * dayjs().set('second', 30) + * ``` + * Docs: https://day.js.org/docs/en/get-set/set + */ + set(unit: UnitType, value: number): Dayjs + /** + * String getter, returns the corresponding information getting from Day.js object. + * + * In general: + * ``` + * dayjs().get(unit) === dayjs()[unit]() + * ``` + * Units are case insensitive, and support plural and short forms. + * ``` + * dayjs().get('year') + * dayjs().get('month') // start 0 + * dayjs().get('date') + * ``` + * Docs: https://day.js.org/docs/en/get-set/get + */ + get(unit: UnitType): number + /** + * Returns a cloned Day.js object with a specified amount of time added. + * ``` + * dayjs().add(7, 'day')// => Dayjs + * ``` + * Units are case insensitive, and support plural and short forms. + * + * Docs: https://day.js.org/docs/en/manipulate/add + */ + add(value: number, unit?: ManipulateType): Dayjs + /** + * Returns a cloned Day.js object with a specified amount of time subtracted. + * ``` + * dayjs().subtract(7, 'year')// => Dayjs + * ``` + * Units are case insensitive, and support plural and short forms. + * + * Docs: https://day.js.org/docs/en/manipulate/subtract + */ + subtract(value: number, unit?: ManipulateType): Dayjs + /** + * Returns a cloned Day.js object and set it to the start of a unit of time. + * ``` + * dayjs().startOf('year')// => Dayjs + * ``` + * Units are case insensitive, and support plural and short forms. + * + * Docs: https://day.js.org/docs/en/manipulate/start-of + */ + startOf(unit: OpUnitType): Dayjs + /** + * Returns a cloned Day.js object and set it to the end of a unit of time. + * ``` + * dayjs().endOf('month')// => Dayjs + * ``` + * Units are case insensitive, and support plural and short forms. + * + * Docs: https://day.js.org/docs/en/manipulate/end-of + */ + endOf(unit: OpUnitType): Dayjs + /** + * Get the formatted date according to the string of tokens passed in. + * + * To escape characters, wrap them in square brackets (e.g. [MM]). + * ``` + * dayjs().format()// => current date in ISO8601, without fraction seconds e.g. '2020-04-02T08:02:17-05:00' + * dayjs('2019-01-25').format('[YYYYescape] YYYY-MM-DDTHH:mm:ssZ[Z]')// 'YYYYescape 2019-01-25T00:00:00-02:00Z' + * dayjs('2019-01-25').format('DD/MM/YYYY') // '25/01/2019' + * ``` + * Docs: https://day.js.org/docs/en/display/format + */ + format(template?: string): string + /** + * This indicates the difference between two date-time in the specified unit. + * + * To get the difference in milliseconds, use `dayjs#diff` + * ``` + * const date1 = dayjs('2019-01-25') + * const date2 = dayjs('2018-06-05') + * date1.diff(date2) // 20214000000 default milliseconds + * date1.diff() // milliseconds to current time + * ``` + * + * To get the difference in another unit of measurement, pass that measurement as the second argument. + * ``` + * const date1 = dayjs('2019-01-25') + * date1.diff('2018-06-05', 'month') // 7 + * ``` + * Units are case insensitive, and support plural and short forms. + * + * Docs: https://day.js.org/docs/en/display/difference + */ + diff(date?: ConfigType, unit?: QUnitType | OpUnitType, float?: boolean): number + /** + * This returns the number of **milliseconds** since the Unix Epoch of the Day.js object. + * ``` + * dayjs('2019-01-25').valueOf() // 1548381600000 + * +dayjs(1548381600000) // 1548381600000 + * ``` + * To get a Unix timestamp (the number of seconds since the epoch) from a Day.js object, you should use Unix Timestamp `dayjs#unix()`. + * + * Docs: https://day.js.org/docs/en/display/unix-timestamp-milliseconds + */ + valueOf(): number + /** + * This returns the Unix timestamp (the number of **seconds** since the Unix Epoch) of the Day.js object. + * ``` + * dayjs('2019-01-25').unix() // 1548381600 + * ``` + * This value is floored to the nearest second, and does not include a milliseconds component. + * + * Docs: https://day.js.org/docs/en/display/unix-timestamp + */ + unix(): number + /** + * Get the number of days in the current month. + * ``` + * dayjs('2019-01-25').daysInMonth() // 31 + * ``` + * Docs: https://day.js.org/docs/en/display/days-in-month + */ + daysInMonth(): number + /** + * To get a copy of the native `Date` object parsed from the Day.js object use `dayjs#toDate`. + * ``` + * dayjs('2019-01-25').toDate()// => Date + * ``` + */ + toDate(): Date + /** + * To serialize as an ISO 8601 string. + * ``` + * dayjs('2019-01-25').toJSON() // '2019-01-25T02:00:00.000Z' + * ``` + * Docs: https://day.js.org/docs/en/display/as-json + */ + toJSON(): string + /** + * To format as an ISO 8601 string. + * ``` + * dayjs('2019-01-25').toISOString() // '2019-01-25T02:00:00.000Z' + * ``` + * Docs: https://day.js.org/docs/en/display/as-iso-string + */ + toISOString(): string + /** + * Returns a string representation of the date. + * ``` + * dayjs('2019-01-25').toString() // 'Fri, 25 Jan 2019 02:00:00 GMT' + * ``` + * Docs: https://day.js.org/docs/en/display/as-string + */ + toString(): string + /** + * Get the UTC offset in minutes. + * ``` + * dayjs().utcOffset() + * ``` + * Docs: https://day.js.org/docs/en/manipulate/utc-offset + */ + utcOffset(): number + /** + * This indicates whether the Day.js object is before the other supplied date-time. + * ``` + * dayjs().isBefore(dayjs('2011-01-01')) // default milliseconds + * ``` + * If you want to limit the granularity to a unit other than milliseconds, pass it as the second parameter. + * ``` + * dayjs().isBefore('2011-01-01', 'year')// => boolean + * ``` + * Units are case insensitive, and support plural and short forms. + * + * Docs: https://day.js.org/docs/en/query/is-before + */ + isBefore(date?: ConfigType, unit?: OpUnitType): boolean + /** + * This indicates whether the Day.js object is the same as the other supplied date-time. + * ``` + * dayjs().isSame(dayjs('2011-01-01')) // default milliseconds + * ``` + * If you want to limit the granularity to a unit other than milliseconds, pass it as the second parameter. + * ``` + * dayjs().isSame('2011-01-01', 'year')// => boolean + * ``` + * Docs: https://day.js.org/docs/en/query/is-same + */ + isSame(date?: ConfigType, unit?: OpUnitType): boolean + /** + * This indicates whether the Day.js object is after the other supplied date-time. + * ``` + * dayjs().isAfter(dayjs('2011-01-01')) // default milliseconds + * ``` + * If you want to limit the granularity to a unit other than milliseconds, pass it as the second parameter. + * ``` + * dayjs().isAfter('2011-01-01', 'year')// => boolean + * ``` + * Units are case insensitive, and support plural and short forms. + * + * Docs: https://day.js.org/docs/en/query/is-after + */ + isAfter(date?: ConfigType, unit?: OpUnitType): boolean + + locale(): string + + locale(preset: string | ILocale, object?: Partial): Dayjs + } + + export type PluginFunc = (option: T, c: typeof Dayjs, d: typeof dayjs) => void + + export function extend(plugin: PluginFunc, option?: T): Dayjs + + export function locale(preset?: string | ILocale, object?: Partial, isLocal?: boolean): string + + export function isDayjs(d: any): d is Dayjs + + export function unix(t: number): Dayjs + + const Ls : { [key: string] : ILocale } +} diff --git a/node_modules/dayjs/esm/index.js b/node_modules/dayjs/esm/index.js new file mode 100644 index 0000000..a82986b --- /dev/null +++ b/node_modules/dayjs/esm/index.js @@ -0,0 +1,541 @@ +import * as C from './constant'; +import en from './locale/en'; +import U from './utils'; +var L = 'en'; // global locale + +var Ls = {}; // global loaded locale + +Ls[L] = en; +var IS_DAYJS = '$isDayjsObject'; // eslint-disable-next-line no-use-before-define + +var isDayjs = function isDayjs(d) { + return d instanceof Dayjs || !!(d && d[IS_DAYJS]); +}; + +var parseLocale = function parseLocale(preset, object, isLocal) { + var l; + if (!preset) return L; + + if (typeof preset === 'string') { + var presetLower = preset.toLowerCase(); + + if (Ls[presetLower]) { + l = presetLower; + } + + if (object) { + Ls[presetLower] = object; + l = presetLower; + } + + var presetSplit = preset.split('-'); + + if (!l && presetSplit.length > 1) { + return parseLocale(presetSplit[0]); + } + } else { + var name = preset.name; + Ls[name] = preset; + l = name; + } + + if (!isLocal && l) L = l; + return l || !isLocal && L; +}; + +var dayjs = function dayjs(date, c) { + if (isDayjs(date)) { + return date.clone(); + } // eslint-disable-next-line no-nested-ternary + + + var cfg = typeof c === 'object' ? c : {}; + cfg.date = date; + cfg.args = arguments; // eslint-disable-line prefer-rest-params + + return new Dayjs(cfg); // eslint-disable-line no-use-before-define +}; + +var wrapper = function wrapper(date, instance) { + return dayjs(date, { + locale: instance.$L, + utc: instance.$u, + x: instance.$x, + $offset: instance.$offset // todo: refactor; do not use this.$offset in you code + + }); +}; + +var Utils = U; // for plugin use + +Utils.l = parseLocale; +Utils.i = isDayjs; +Utils.w = wrapper; + +var parseDate = function parseDate(cfg) { + var date = cfg.date, + utc = cfg.utc; + if (date === null) return new Date(NaN); // null is invalid + + if (Utils.u(date)) return new Date(); // today + + if (date instanceof Date) return new Date(date); + + if (typeof date === 'string' && !/Z$/i.test(date)) { + var d = date.match(C.REGEX_PARSE); + + if (d) { + var m = d[2] - 1 || 0; + var ms = (d[7] || '0').substring(0, 3); + + if (utc) { + return new Date(Date.UTC(d[1], m, d[3] || 1, d[4] || 0, d[5] || 0, d[6] || 0, ms)); + } + + return new Date(d[1], m, d[3] || 1, d[4] || 0, d[5] || 0, d[6] || 0, ms); + } + } + + return new Date(date); // everything else +}; + +var Dayjs = /*#__PURE__*/function () { + function Dayjs(cfg) { + this.$L = parseLocale(cfg.locale, null, true); + this.parse(cfg); // for plugin + + this.$x = this.$x || cfg.x || {}; + this[IS_DAYJS] = true; + } + + var _proto = Dayjs.prototype; + + _proto.parse = function parse(cfg) { + this.$d = parseDate(cfg); + this.init(); + }; + + _proto.init = function init() { + var $d = this.$d; + this.$y = $d.getFullYear(); + this.$M = $d.getMonth(); + this.$D = $d.getDate(); + this.$W = $d.getDay(); + this.$H = $d.getHours(); + this.$m = $d.getMinutes(); + this.$s = $d.getSeconds(); + this.$ms = $d.getMilliseconds(); + } // eslint-disable-next-line class-methods-use-this + ; + + _proto.$utils = function $utils() { + return Utils; + }; + + _proto.isValid = function isValid() { + return !(this.$d.toString() === C.INVALID_DATE_STRING); + }; + + _proto.isSame = function isSame(that, units) { + var other = dayjs(that); + return this.startOf(units) <= other && other <= this.endOf(units); + }; + + _proto.isAfter = function isAfter(that, units) { + return dayjs(that) < this.startOf(units); + }; + + _proto.isBefore = function isBefore(that, units) { + return this.endOf(units) < dayjs(that); + }; + + _proto.$g = function $g(input, get, set) { + if (Utils.u(input)) return this[get]; + return this.set(set, input); + }; + + _proto.unix = function unix() { + return Math.floor(this.valueOf() / 1000); + }; + + _proto.valueOf = function valueOf() { + // timezone(hour) * 60 * 60 * 1000 => ms + return this.$d.getTime(); + }; + + _proto.startOf = function startOf(units, _startOf) { + var _this = this; + + // startOf -> endOf + var isStartOf = !Utils.u(_startOf) ? _startOf : true; + var unit = Utils.p(units); + + var instanceFactory = function instanceFactory(d, m) { + var ins = Utils.w(_this.$u ? Date.UTC(_this.$y, m, d) : new Date(_this.$y, m, d), _this); + return isStartOf ? ins : ins.endOf(C.D); + }; + + var instanceFactorySet = function instanceFactorySet(method, slice) { + var argumentStart = [0, 0, 0, 0]; + var argumentEnd = [23, 59, 59, 999]; + return Utils.w(_this.toDate()[method].apply( // eslint-disable-line prefer-spread + _this.toDate('s'), (isStartOf ? argumentStart : argumentEnd).slice(slice)), _this); + }; + + var $W = this.$W, + $M = this.$M, + $D = this.$D; + var utcPad = "set" + (this.$u ? 'UTC' : ''); + + switch (unit) { + case C.Y: + return isStartOf ? instanceFactory(1, 0) : instanceFactory(31, 11); + + case C.M: + return isStartOf ? instanceFactory(1, $M) : instanceFactory(0, $M + 1); + + case C.W: + { + var weekStart = this.$locale().weekStart || 0; + var gap = ($W < weekStart ? $W + 7 : $W) - weekStart; + return instanceFactory(isStartOf ? $D - gap : $D + (6 - gap), $M); + } + + case C.D: + case C.DATE: + return instanceFactorySet(utcPad + "Hours", 0); + + case C.H: + return instanceFactorySet(utcPad + "Minutes", 1); + + case C.MIN: + return instanceFactorySet(utcPad + "Seconds", 2); + + case C.S: + return instanceFactorySet(utcPad + "Milliseconds", 3); + + default: + return this.clone(); + } + }; + + _proto.endOf = function endOf(arg) { + return this.startOf(arg, false); + }; + + _proto.$set = function $set(units, _int) { + var _C$D$C$DATE$C$M$C$Y$C; + + // private set + var unit = Utils.p(units); + var utcPad = "set" + (this.$u ? 'UTC' : ''); + var name = (_C$D$C$DATE$C$M$C$Y$C = {}, _C$D$C$DATE$C$M$C$Y$C[C.D] = utcPad + "Date", _C$D$C$DATE$C$M$C$Y$C[C.DATE] = utcPad + "Date", _C$D$C$DATE$C$M$C$Y$C[C.M] = utcPad + "Month", _C$D$C$DATE$C$M$C$Y$C[C.Y] = utcPad + "FullYear", _C$D$C$DATE$C$M$C$Y$C[C.H] = utcPad + "Hours", _C$D$C$DATE$C$M$C$Y$C[C.MIN] = utcPad + "Minutes", _C$D$C$DATE$C$M$C$Y$C[C.S] = utcPad + "Seconds", _C$D$C$DATE$C$M$C$Y$C[C.MS] = utcPad + "Milliseconds", _C$D$C$DATE$C$M$C$Y$C)[unit]; + var arg = unit === C.D ? this.$D + (_int - this.$W) : _int; + + if (unit === C.M || unit === C.Y) { + // clone is for badMutable plugin + var date = this.clone().set(C.DATE, 1); + date.$d[name](arg); + date.init(); + this.$d = date.set(C.DATE, Math.min(this.$D, date.daysInMonth())).$d; + } else if (name) this.$d[name](arg); + + this.init(); + return this; + }; + + _proto.set = function set(string, _int2) { + return this.clone().$set(string, _int2); + }; + + _proto.get = function get(unit) { + return this[Utils.p(unit)](); + }; + + _proto.add = function add(number, units) { + var _this2 = this, + _C$MIN$C$H$C$S$unit; + + number = Number(number); // eslint-disable-line no-param-reassign + + var unit = Utils.p(units); + + var instanceFactorySet = function instanceFactorySet(n) { + var d = dayjs(_this2); + return Utils.w(d.date(d.date() + Math.round(n * number)), _this2); + }; + + if (unit === C.M) { + return this.set(C.M, this.$M + number); + } + + if (unit === C.Y) { + return this.set(C.Y, this.$y + number); + } + + if (unit === C.D) { + return instanceFactorySet(1); + } + + if (unit === C.W) { + return instanceFactorySet(7); + } + + var step = (_C$MIN$C$H$C$S$unit = {}, _C$MIN$C$H$C$S$unit[C.MIN] = C.MILLISECONDS_A_MINUTE, _C$MIN$C$H$C$S$unit[C.H] = C.MILLISECONDS_A_HOUR, _C$MIN$C$H$C$S$unit[C.S] = C.MILLISECONDS_A_SECOND, _C$MIN$C$H$C$S$unit)[unit] || 1; // ms + + var nextTimeStamp = this.$d.getTime() + number * step; + return Utils.w(nextTimeStamp, this); + }; + + _proto.subtract = function subtract(number, string) { + return this.add(number * -1, string); + }; + + _proto.format = function format(formatStr) { + var _this3 = this; + + var locale = this.$locale(); + if (!this.isValid()) return locale.invalidDate || C.INVALID_DATE_STRING; + var str = formatStr || C.FORMAT_DEFAULT; + var zoneStr = Utils.z(this); + var $H = this.$H, + $m = this.$m, + $M = this.$M; + var weekdays = locale.weekdays, + months = locale.months, + meridiem = locale.meridiem; + + var getShort = function getShort(arr, index, full, length) { + return arr && (arr[index] || arr(_this3, str)) || full[index].slice(0, length); + }; + + var get$H = function get$H(num) { + return Utils.s($H % 12 || 12, num, '0'); + }; + + var meridiemFunc = meridiem || function (hour, minute, isLowercase) { + var m = hour < 12 ? 'AM' : 'PM'; + return isLowercase ? m.toLowerCase() : m; + }; + + var matches = function matches(match) { + switch (match) { + case 'YY': + return String(_this3.$y).slice(-2); + + case 'YYYY': + return Utils.s(_this3.$y, 4, '0'); + + case 'M': + return $M + 1; + + case 'MM': + return Utils.s($M + 1, 2, '0'); + + case 'MMM': + return getShort(locale.monthsShort, $M, months, 3); + + case 'MMMM': + return getShort(months, $M); + + case 'D': + return _this3.$D; + + case 'DD': + return Utils.s(_this3.$D, 2, '0'); + + case 'd': + return String(_this3.$W); + + case 'dd': + return getShort(locale.weekdaysMin, _this3.$W, weekdays, 2); + + case 'ddd': + return getShort(locale.weekdaysShort, _this3.$W, weekdays, 3); + + case 'dddd': + return weekdays[_this3.$W]; + + case 'H': + return String($H); + + case 'HH': + return Utils.s($H, 2, '0'); + + case 'h': + return get$H(1); + + case 'hh': + return get$H(2); + + case 'a': + return meridiemFunc($H, $m, true); + + case 'A': + return meridiemFunc($H, $m, false); + + case 'm': + return String($m); + + case 'mm': + return Utils.s($m, 2, '0'); + + case 's': + return String(_this3.$s); + + case 'ss': + return Utils.s(_this3.$s, 2, '0'); + + case 'SSS': + return Utils.s(_this3.$ms, 3, '0'); + + case 'Z': + return zoneStr; + // 'ZZ' logic below + + default: + break; + } + + return null; + }; + + return str.replace(C.REGEX_FORMAT, function (match, $1) { + return $1 || matches(match) || zoneStr.replace(':', ''); + }); // 'ZZ' + }; + + _proto.utcOffset = function utcOffset() { + // Because a bug at FF24, we're rounding the timezone offset around 15 minutes + // https://github.com/moment/moment/pull/1871 + return -Math.round(this.$d.getTimezoneOffset() / 15) * 15; + }; + + _proto.diff = function diff(input, units, _float) { + var _this4 = this; + + var unit = Utils.p(units); + var that = dayjs(input); + var zoneDelta = (that.utcOffset() - this.utcOffset()) * C.MILLISECONDS_A_MINUTE; + var diff = this - that; + + var getMonth = function getMonth() { + return Utils.m(_this4, that); + }; + + var result; + + switch (unit) { + case C.Y: + result = getMonth() / 12; + break; + + case C.M: + result = getMonth(); + break; + + case C.Q: + result = getMonth() / 3; + break; + + case C.W: + result = (diff - zoneDelta) / C.MILLISECONDS_A_WEEK; + break; + + case C.D: + result = (diff - zoneDelta) / C.MILLISECONDS_A_DAY; + break; + + case C.H: + result = diff / C.MILLISECONDS_A_HOUR; + break; + + case C.MIN: + result = diff / C.MILLISECONDS_A_MINUTE; + break; + + case C.S: + result = diff / C.MILLISECONDS_A_SECOND; + break; + + default: + result = diff; // milliseconds + + break; + } + + return _float ? result : Utils.a(result); + }; + + _proto.daysInMonth = function daysInMonth() { + return this.endOf(C.M).$D; + }; + + _proto.$locale = function $locale() { + // get locale object + return Ls[this.$L]; + }; + + _proto.locale = function locale(preset, object) { + if (!preset) return this.$L; + var that = this.clone(); + var nextLocaleName = parseLocale(preset, object, true); + if (nextLocaleName) that.$L = nextLocaleName; + return that; + }; + + _proto.clone = function clone() { + return Utils.w(this.$d, this); + }; + + _proto.toDate = function toDate() { + return new Date(this.valueOf()); + }; + + _proto.toJSON = function toJSON() { + return this.isValid() ? this.toISOString() : null; + }; + + _proto.toISOString = function toISOString() { + // ie 8 return + // new Dayjs(this.valueOf() + this.$d.getTimezoneOffset() * 60000) + // .format('YYYY-MM-DDTHH:mm:ss.SSS[Z]') + return this.$d.toISOString(); + }; + + _proto.toString = function toString() { + return this.$d.toUTCString(); + }; + + return Dayjs; +}(); + +var proto = Dayjs.prototype; +dayjs.prototype = proto; +[['$ms', C.MS], ['$s', C.S], ['$m', C.MIN], ['$H', C.H], ['$W', C.D], ['$M', C.M], ['$y', C.Y], ['$D', C.DATE]].forEach(function (g) { + proto[g[1]] = function (input) { + return this.$g(input, g[0], g[1]); + }; +}); + +dayjs.extend = function (plugin, option) { + if (!plugin.$i) { + // install plugin only once + plugin(option, Dayjs, dayjs); + plugin.$i = true; + } + + return dayjs; +}; + +dayjs.locale = parseLocale; +dayjs.isDayjs = isDayjs; + +dayjs.unix = function (timestamp) { + return dayjs(timestamp * 1e3); +}; + +dayjs.en = Ls[L]; +dayjs.Ls = Ls; +dayjs.p = {}; +export default dayjs; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/af.js b/node_modules/dayjs/esm/locale/af.js new file mode 100644 index 0000000..ce0c285 --- /dev/null +++ b/node_modules/dayjs/esm/locale/af.js @@ -0,0 +1,39 @@ +// Afrikaans [af] +import dayjs from '../index'; +var locale = { + name: 'af', + weekdays: 'Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag'.split('_'), + months: 'Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember'.split('_'), + weekStart: 1, + weekdaysShort: 'Son_Maa_Din_Woe_Don_Vry_Sat'.split('_'), + monthsShort: 'Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des'.split('_'), + weekdaysMin: 'So_Ma_Di_Wo_Do_Vr_Sa'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm' + }, + relativeTime: { + future: 'oor %s', + past: '%s gelede', + s: "'n paar sekondes", + m: "'n minuut", + mm: '%d minute', + h: "'n uur", + hh: '%d ure', + d: "'n dag", + dd: '%d dae', + M: "'n maand", + MM: '%d maande', + y: "'n jaar", + yy: '%d jaar' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/am.js b/node_modules/dayjs/esm/locale/am.js new file mode 100644 index 0000000..cf25510 --- /dev/null +++ b/node_modules/dayjs/esm/locale/am.js @@ -0,0 +1,40 @@ +// Amharic [am] +import dayjs from '../index'; +var locale = { + name: 'am', + weekdays: 'እሑድ_ሰኞ_ማክሰኞ_ረቡዕ_ሐሙስ_አርብ_ቅዳሜ'.split('_'), + weekdaysShort: 'እሑድ_ሰኞ_ማክሰ_ረቡዕ_ሐሙስ_አርብ_ቅዳሜ'.split('_'), + weekdaysMin: 'እሑ_ሰኞ_ማክ_ረቡ_ሐሙ_አር_ቅዳ'.split('_'), + months: 'ጃንዋሪ_ፌብሯሪ_ማርች_ኤፕሪል_ሜይ_ጁን_ጁላይ_ኦገስት_ሴፕቴምበር_ኦክቶበር_ኖቬምበር_ዲሴምበር'.split('_'), + monthsShort: 'ጃንዋ_ፌብሯ_ማርች_ኤፕሪ_ሜይ_ጁን_ጁላይ_ኦገስ_ሴፕቴ_ኦክቶ_ኖቬም_ዲሴም'.split('_'), + weekStart: 1, + yearStart: 4, + relativeTime: { + future: 'በ%s', + past: '%s በፊት', + s: 'ጥቂት ሰከንዶች', + m: 'አንድ ደቂቃ', + mm: '%d ደቂቃዎች', + h: 'አንድ ሰዓት', + hh: '%d ሰዓታት', + d: 'አንድ ቀን', + dd: '%d ቀናት', + M: 'አንድ ወር', + MM: '%d ወራት', + y: 'አንድ ዓመት', + yy: '%d ዓመታት' + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'MMMM D ፣ YYYY', + LLL: 'MMMM D ፣ YYYY HH:mm', + LLLL: 'dddd ፣ MMMM D ፣ YYYY HH:mm' + }, + ordinal: function ordinal(n) { + return n + "\u129B"; + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/ar-dz.js b/node_modules/dayjs/esm/locale/ar-dz.js new file mode 100644 index 0000000..3ecc04f --- /dev/null +++ b/node_modules/dayjs/esm/locale/ar-dz.js @@ -0,0 +1,41 @@ +// Arabic (Algeria) [ar-dz] +import dayjs from '../index'; +var locale = { + name: 'ar-dz', + weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), + months: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'), + weekdaysShort: 'احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت'.split('_'), + monthsShort: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'), + weekdaysMin: 'أح_إث_ثلا_أر_خم_جم_سب'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm' + }, + meridiem: function meridiem(hour) { + return hour > 12 ? 'م' : 'ص'; + }, + relativeTime: { + future: 'في %s', + past: 'منذ %s', + s: 'ثوان', + m: 'دقيقة', + mm: '%d دقائق', + h: 'ساعة', + hh: '%d ساعات', + d: 'يوم', + dd: '%d أيام', + M: 'شهر', + MM: '%d أشهر', + y: 'سنة', + yy: '%d سنوات' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/ar-iq.js b/node_modules/dayjs/esm/locale/ar-iq.js new file mode 100644 index 0000000..dfe31bf --- /dev/null +++ b/node_modules/dayjs/esm/locale/ar-iq.js @@ -0,0 +1,42 @@ +// Arabic (Iraq) [ar-iq] +import dayjs from '../index'; +var locale = { + name: 'ar-iq', + weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), + months: 'كانون الثاني_شباط_آذار_نيسان_أيار_حزيران_تموز_آب_أيلول_تشرين الأول_ تشرين الثاني_كانون الأول'.split('_'), + weekStart: 1, + weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'), + monthsShort: 'كانون الثاني_شباط_آذار_نيسان_أيار_حزيران_تموز_آب_أيلول_تشرين الأول_ تشرين الثاني_كانون الأول'.split('_'), + weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm' + }, + meridiem: function meridiem(hour) { + return hour > 12 ? 'م' : 'ص'; + }, + relativeTime: { + future: 'في %s', + past: 'منذ %s', + s: 'ثوان', + m: 'دقيقة', + mm: '%d دقائق', + h: 'ساعة', + hh: '%d ساعات', + d: 'يوم', + dd: '%d أيام', + M: 'شهر', + MM: '%d أشهر', + y: 'سنة', + yy: '%d سنوات' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/ar-kw.js b/node_modules/dayjs/esm/locale/ar-kw.js new file mode 100644 index 0000000..73bf90a --- /dev/null +++ b/node_modules/dayjs/esm/locale/ar-kw.js @@ -0,0 +1,41 @@ +// Arabic (Kuwait) [ar-kw] +import dayjs from '../index'; +var locale = { + name: 'ar-kw', + weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), + months: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split('_'), + weekdaysShort: 'احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت'.split('_'), + monthsShort: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split('_'), + weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm' + }, + meridiem: function meridiem(hour) { + return hour > 12 ? 'م' : 'ص'; + }, + relativeTime: { + future: 'في %s', + past: 'منذ %s', + s: 'ثوان', + m: 'دقيقة', + mm: '%d دقائق', + h: 'ساعة', + hh: '%d ساعات', + d: 'يوم', + dd: '%d أيام', + M: 'شهر', + MM: '%d أشهر', + y: 'سنة', + yy: '%d سنوات' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/ar-ly.js b/node_modules/dayjs/esm/locale/ar-ly.js new file mode 100644 index 0000000..5caa869 --- /dev/null +++ b/node_modules/dayjs/esm/locale/ar-ly.js @@ -0,0 +1,27 @@ +// Arabic (Lybia) [ar-ly] +import dayjs from '../index'; +var locale = { + name: 'ar-ly', + weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), + months: 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'), + weekStart: 6, + weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'), + monthsShort: 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'), + weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + meridiem: function meridiem(hour) { + return hour > 12 ? 'م' : 'ص'; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'D/‏M/‏YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/ar-ma.js b/node_modules/dayjs/esm/locale/ar-ma.js new file mode 100644 index 0000000..ed6dfef --- /dev/null +++ b/node_modules/dayjs/esm/locale/ar-ma.js @@ -0,0 +1,42 @@ +// Arabic (Morocco) [ar-ma] +import dayjs from '../index'; +var locale = { + name: 'ar-ma', + weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), + months: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split('_'), + weekStart: 6, + weekdaysShort: 'احد_إثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت'.split('_'), + monthsShort: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split('_'), + weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm' + }, + meridiem: function meridiem(hour) { + return hour > 12 ? 'م' : 'ص'; + }, + relativeTime: { + future: 'في %s', + past: 'منذ %s', + s: 'ثوان', + m: 'دقيقة', + mm: '%d دقائق', + h: 'ساعة', + hh: '%d ساعات', + d: 'يوم', + dd: '%d أيام', + M: 'شهر', + MM: '%d أشهر', + y: 'سنة', + yy: '%d سنوات' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/ar-sa.js b/node_modules/dayjs/esm/locale/ar-sa.js new file mode 100644 index 0000000..8eb9687 --- /dev/null +++ b/node_modules/dayjs/esm/locale/ar-sa.js @@ -0,0 +1,41 @@ +// Arabic (Saudi Arabia) [ar-sa] +import dayjs from '../index'; +var locale = { + name: 'ar-sa', + weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), + months: 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'), + weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'), + monthsShort: 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'), + weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm' + }, + meridiem: function meridiem(hour) { + return hour > 12 ? 'م' : 'ص'; + }, + relativeTime: { + future: 'في %s', + past: 'منذ %s', + s: 'ثوان', + m: 'دقيقة', + mm: '%d دقائق', + h: 'ساعة', + hh: '%d ساعات', + d: 'يوم', + dd: '%d أيام', + M: 'شهر', + MM: '%d أشهر', + y: 'سنة', + yy: '%d سنوات' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/ar-tn.js b/node_modules/dayjs/esm/locale/ar-tn.js new file mode 100644 index 0000000..3c1f2b0 --- /dev/null +++ b/node_modules/dayjs/esm/locale/ar-tn.js @@ -0,0 +1,42 @@ +// Arabic (Tunisia) [ar-tn] +import dayjs from '../index'; +var locale = { + name: 'ar-tn', + weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), + months: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'), + weekStart: 1, + weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'), + monthsShort: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'), + weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm' + }, + meridiem: function meridiem(hour) { + return hour > 12 ? 'م' : 'ص'; + }, + relativeTime: { + future: 'في %s', + past: 'منذ %s', + s: 'ثوان', + m: 'دقيقة', + mm: '%d دقائق', + h: 'ساعة', + hh: '%d ساعات', + d: 'يوم', + dd: '%d أيام', + M: 'شهر', + MM: '%d أشهر', + y: 'سنة', + yy: '%d سنوات' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/ar.js b/node_modules/dayjs/esm/locale/ar.js new file mode 100644 index 0000000..78b99b8 --- /dev/null +++ b/node_modules/dayjs/esm/locale/ar.js @@ -0,0 +1,77 @@ +// Arabic [ar] +import dayjs from '../index'; +var months = 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'); +var symbolMap = { + 1: '١', + 2: '٢', + 3: '٣', + 4: '٤', + 5: '٥', + 6: '٦', + 7: '٧', + 8: '٨', + 9: '٩', + 0: '٠' +}; +var numberMap = { + '١': '1', + '٢': '2', + '٣': '3', + '٤': '4', + '٥': '5', + '٦': '6', + '٧': '7', + '٨': '8', + '٩': '9', + '٠': '0' +}; +var locale = { + name: 'ar', + weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), + weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'), + weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'), + months: months, + monthsShort: months, + weekStart: 6, + meridiem: function meridiem(hour) { + return hour > 12 ? 'م' : 'ص'; + }, + relativeTime: { + future: 'بعد %s', + past: 'منذ %s', + s: 'ثانية واحدة', + m: 'دقيقة واحدة', + mm: '%d دقائق', + h: 'ساعة واحدة', + hh: '%d ساعات', + d: 'يوم واحد', + dd: '%d أيام', + M: 'شهر واحد', + MM: '%d أشهر', + y: 'عام واحد', + yy: '%d أعوام' + }, + preparse: function preparse(string) { + return string.replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) { + return numberMap[match]; + }).replace(/،/g, ','); + }, + postformat: function postformat(string) { + return string.replace(/\d/g, function (match) { + return symbolMap[match]; + }).replace(/,/g, '،'); + }, + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'D/‏M/‏YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/az.js b/node_modules/dayjs/esm/locale/az.js new file mode 100644 index 0000000..3505c8a --- /dev/null +++ b/node_modules/dayjs/esm/locale/az.js @@ -0,0 +1,39 @@ +// Azerbaijani [az] +import dayjs from '../index'; +var locale = { + name: 'az', + weekdays: 'Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə'.split('_'), + weekdaysShort: 'Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən'.split('_'), + weekdaysMin: 'Bz_BE_ÇA_Çə_CA_Cü_Şə'.split('_'), + months: 'yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr'.split('_'), + monthsShort: 'yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek'.split('_'), + weekStart: 1, + formats: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY г.', + LLL: 'D MMMM YYYY г., H:mm', + LLLL: 'dddd, D MMMM YYYY г., H:mm' + }, + relativeTime: { + future: '%s sonra', + past: '%s əvvəl', + s: 'bir neçə saniyə', + m: 'bir dəqiqə', + mm: '%d dəqiqə', + h: 'bir saat', + hh: '%d saat', + d: 'bir gün', + dd: '%d gün', + M: 'bir ay', + MM: '%d ay', + y: 'bir il', + yy: '%d il' + }, + ordinal: function ordinal(n) { + return n; + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/be.js b/node_modules/dayjs/esm/locale/be.js new file mode 100644 index 0000000..5642e39 --- /dev/null +++ b/node_modules/dayjs/esm/locale/be.js @@ -0,0 +1,24 @@ +// Belarusian [be] +import dayjs from '../index'; +var locale = { + name: 'be', + weekdays: 'нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу'.split('_'), + months: 'студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня'.split('_'), + weekStart: 1, + weekdaysShort: 'нд_пн_ат_ср_чц_пт_сб'.split('_'), + monthsShort: 'студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж'.split('_'), + weekdaysMin: 'нд_пн_ат_ср_чц_пт_сб'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY г.', + LLL: 'D MMMM YYYY г., HH:mm', + LLLL: 'dddd, D MMMM YYYY г., HH:mm' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/bg.js b/node_modules/dayjs/esm/locale/bg.js new file mode 100644 index 0000000..e60a2a3 --- /dev/null +++ b/node_modules/dayjs/esm/locale/bg.js @@ -0,0 +1,55 @@ +// Bulgarian [bg] +import dayjs from '../index'; +var locale = { + name: 'bg', + weekdays: 'неделя_понеделник_вторник_сряда_четвъртък_петък_събота'.split('_'), + weekdaysShort: 'нед_пон_вто_сря_чет_пет_съб'.split('_'), + weekdaysMin: 'нд_пн_вт_ср_чт_пт_сб'.split('_'), + months: 'януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември'.split('_'), + monthsShort: 'янр_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек'.split('_'), + weekStart: 1, + ordinal: function ordinal(n) { + var last2Digits = n % 100; + + if (last2Digits > 10 && last2Digits < 20) { + return n + "-\u0442\u0438"; + } + + var lastDigit = n % 10; + + if (lastDigit === 1) { + return n + "-\u0432\u0438"; + } else if (lastDigit === 2) { + return n + "-\u0440\u0438"; + } else if (lastDigit === 7 || lastDigit === 8) { + return n + "-\u043C\u0438"; + } + + return n + "-\u0442\u0438"; + }, + formats: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'D.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY H:mm', + LLLL: 'dddd, D MMMM YYYY H:mm' + }, + relativeTime: { + future: 'след %s', + past: 'преди %s', + s: 'няколко секунди', + m: 'минута', + mm: '%d минути', + h: 'час', + hh: '%d часа', + d: 'ден', + dd: '%d дена', + M: 'месец', + MM: '%d месеца', + y: 'година', + yy: '%d години' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/bi.js b/node_modules/dayjs/esm/locale/bi.js new file mode 100644 index 0000000..6230f25 --- /dev/null +++ b/node_modules/dayjs/esm/locale/bi.js @@ -0,0 +1,39 @@ +// Bislama [bi] +import dayjs from '../index'; +var locale = { + name: 'bi', + weekdays: 'Sande_Mande_Tusde_Wenesde_Tosde_Fraede_Sarade'.split('_'), + months: 'Januari_Februari_Maj_Eprel_Mei_Jun_Julae_Okis_Septemba_Oktoba_Novemba_Disemba'.split('_'), + weekStart: 1, + weekdaysShort: 'San_Man_Tus_Wen_Tos_Frae_Sar'.split('_'), + monthsShort: 'Jan_Feb_Maj_Epr_Mai_Jun_Jul_Oki_Sep_Okt_Nov_Dis'.split('_'), + weekdaysMin: 'San_Ma_Tu_We_To_Fr_Sar'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'h:mm A', + LTS: 'h:mm:ss A', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY h:mm A', + LLLL: 'dddd, D MMMM YYYY h:mm A' + }, + relativeTime: { + future: 'lo %s', + past: '%s bifo', + s: 'sam seken', + m: 'wan minit', + mm: '%d minit', + h: 'wan haoa', + hh: '%d haoa', + d: 'wan dei', + dd: '%d dei', + M: 'wan manis', + MM: '%d manis', + y: 'wan yia', + yy: '%d yia' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/bm.js b/node_modules/dayjs/esm/locale/bm.js new file mode 100644 index 0000000..0d61093 --- /dev/null +++ b/node_modules/dayjs/esm/locale/bm.js @@ -0,0 +1,39 @@ +// Bambara [bm] +import dayjs from '../index'; +var locale = { + name: 'bm', + weekdays: 'Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri'.split('_'), + months: 'Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo'.split('_'), + weekStart: 1, + weekdaysShort: 'Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib'.split('_'), + monthsShort: 'Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des'.split('_'), + weekdaysMin: 'Ka_Nt_Ta_Ar_Al_Ju_Si'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'MMMM [tile] D [san] YYYY', + LLL: 'MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm', + LLLL: 'dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm' + }, + relativeTime: { + future: '%s kɔnɔ', + past: 'a bɛ %s bɔ', + s: 'sanga dama dama', + m: 'miniti kelen', + mm: 'miniti %d', + h: 'lɛrɛ kelen', + hh: 'lɛrɛ %d', + d: 'tile kelen', + dd: 'tile %d', + M: 'kalo kelen', + MM: 'kalo %d', + y: 'san kelen', + yy: 'san %d' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/bn-bd.js b/node_modules/dayjs/esm/locale/bn-bd.js new file mode 100644 index 0000000..f13b660 --- /dev/null +++ b/node_modules/dayjs/esm/locale/bn-bd.js @@ -0,0 +1,81 @@ +// Bengali (Bangladesh) [bn-bd] +import dayjs from '../index'; +var symbolMap = { + 1: '১', + 2: '২', + 3: '৩', + 4: '৪', + 5: '৫', + 6: '৬', + 7: '৭', + 8: '৮', + 9: '৯', + 0: '০' +}; +var numberMap = { + '১': '1', + '২': '2', + '৩': '3', + '৪': '4', + '৫': '5', + '৬': '6', + '৭': '7', + '৮': '8', + '৯': '9', + '০': '0' +}; +var locale = { + name: 'bn-bd', + weekdays: 'রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার'.split('_'), + months: 'জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর'.split('_'), + weekdaysShort: 'রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি'.split('_'), + monthsShort: 'জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে'.split('_'), + weekdaysMin: 'রবি_সোম_মঙ্গ_বুধ_বৃহঃ_শুক্র_শনি'.split('_'), + weekStart: 0, + preparse: function preparse(string) { + return string.replace(/[১২৩৪৫৬৭৮৯০]/g, function (match) { + return numberMap[match]; + }); + }, + postformat: function postformat(string) { + return string.replace(/\d/g, function (match) { + return symbolMap[match]; + }); + }, + ordinal: function ordinal(n) { + var s = ['ই', 'লা', 'রা', 'ঠা', 'শে']; + var v = n % 100; + return "[" + n + (s[(v - 20) % 10] || s[v] || s[0]) + "]"; + }, + formats: { + LT: 'A h:mm সময়', + LTS: 'A h:mm:ss সময়', + L: 'DD/MM/YYYY খ্রিস্টাব্দ', + LL: 'D MMMM YYYY খ্রিস্টাব্দ', + LLL: 'D MMMM YYYY খ্রিস্টাব্দ, A h:mm সময়', + LLLL: 'dddd, D MMMM YYYY খ্রিস্টাব্দ, A h:mm সময়' + }, + meridiem: function meridiem(hour) { + return ( + /* eslint-disable no-nested-ternary */ + hour < 4 ? 'রাত' : hour < 6 ? 'ভোর' : hour < 12 ? 'সকাল' : hour < 15 ? 'দুপুর' : hour < 18 ? 'বিকাল' : hour < 20 ? 'সন্ধ্যা' : 'রাত' + ); + }, + relativeTime: { + future: '%s পরে', + past: '%s আগে', + s: 'কয়েক সেকেন্ড', + m: 'এক মিনিট', + mm: '%d মিনিট', + h: 'এক ঘন্টা', + hh: '%d ঘন্টা', + d: 'এক দিন', + dd: '%d দিন', + M: 'এক মাস', + MM: '%d মাস', + y: 'এক বছর', + yy: '%d বছর' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/bn.js b/node_modules/dayjs/esm/locale/bn.js new file mode 100644 index 0000000..25fc170 --- /dev/null +++ b/node_modules/dayjs/esm/locale/bn.js @@ -0,0 +1,72 @@ +// Bengali [bn] +import dayjs from '../index'; +var symbolMap = { + 1: '১', + 2: '২', + 3: '৩', + 4: '৪', + 5: '৫', + 6: '৬', + 7: '৭', + 8: '৮', + 9: '৯', + 0: '০' +}; +var numberMap = { + '১': '1', + '২': '2', + '৩': '3', + '৪': '4', + '৫': '5', + '৬': '6', + '৭': '7', + '৮': '8', + '৯': '9', + '০': '0' +}; +var locale = { + name: 'bn', + weekdays: 'রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার'.split('_'), + months: 'জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর'.split('_'), + weekdaysShort: 'রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি'.split('_'), + monthsShort: 'জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে'.split('_'), + weekdaysMin: 'রবি_সোম_মঙ্গ_বুধ_বৃহঃ_শুক্র_শনি'.split('_'), + preparse: function preparse(string) { + return string.replace(/[১২৩৪৫৬৭৮৯০]/g, function (match) { + return numberMap[match]; + }); + }, + postformat: function postformat(string) { + return string.replace(/\d/g, function (match) { + return symbolMap[match]; + }); + }, + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'A h:mm সময়', + LTS: 'A h:mm:ss সময়', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, A h:mm সময়', + LLLL: 'dddd, D MMMM YYYY, A h:mm সময়' + }, + relativeTime: { + future: '%s পরে', + past: '%s আগে', + s: 'কয়েক সেকেন্ড', + m: 'এক মিনিট', + mm: '%d মিনিট', + h: 'এক ঘন্টা', + hh: '%d ঘন্টা', + d: 'এক দিন', + dd: '%d দিন', + M: 'এক মাস', + MM: '%d মাস', + y: 'এক বছর', + yy: '%d বছর' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/bo.js b/node_modules/dayjs/esm/locale/bo.js new file mode 100644 index 0000000..fce3344 --- /dev/null +++ b/node_modules/dayjs/esm/locale/bo.js @@ -0,0 +1,38 @@ +// Tibetan [bo] +import dayjs from '../index'; +var locale = { + name: 'bo', + weekdays: 'གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་'.split('_'), + weekdaysShort: 'ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་'.split('_'), + weekdaysMin: 'ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་'.split('_'), + months: 'ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ'.split('_'), + monthsShort: 'ཟླ་དང་པོ_ཟླ་གཉིས་པ_ཟླ་གསུམ་པ_ཟླ་བཞི་པ_ཟླ་ལྔ་པ_ཟླ་དྲུག་པ_ཟླ་བདུན་པ_ཟླ་བརྒྱད་པ_ཟླ་དགུ་པ_ཟླ་བཅུ་པ_ཟླ་བཅུ་གཅིག་པ_ཟླ་བཅུ་གཉིས་པ'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'A h:mm', + LTS: 'A h:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, A h:mm', + LLLL: 'dddd, D MMMM YYYY, A h:mm' + }, + relativeTime: { + future: '%s ལ་', + past: '%s སྔོན་ལ་', + s: 'ཏོག་ཙམ་', + m: 'སྐར་མ་གཅིག་', + mm: 'སྐར་མ་ %d', + h: 'ཆུ་ཚོད་གཅིག་', + hh: 'ཆུ་ཚོད་ %d', + d: 'ཉིན་གཅིག་', + dd: 'ཉིན་ %d', + M: 'ཟླ་བ་གཅིག་', + MM: 'ཟླ་བ་ %d', + y: 'ལོ་གཅིག་', + yy: 'ལོ་ %d' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/br.js b/node_modules/dayjs/esm/locale/br.js new file mode 100644 index 0000000..d18b4fe --- /dev/null +++ b/node_modules/dayjs/esm/locale/br.js @@ -0,0 +1,93 @@ +// Breton [br] +import dayjs from '../index'; + +function lastNumber(number) { + if (number > 9) { + return lastNumber(number % 10); + } + + return number; +} + +function softMutation(text) { + var mutationTable = { + m: 'v', + b: 'v', + d: 'z' + }; + return mutationTable[text.charAt(0)] + text.substring(1); +} + +function mutation(text, number) { + if (number === 2) { + return softMutation(text); + } + + return text; +} + +function relativeTimeWithMutation(number, withoutSuffix, key) { + var format = { + mm: 'munutenn', + MM: 'miz', + dd: 'devezh' + }; + return number + " " + mutation(format[key], number); +} + +function specialMutationForYears(number) { + /* istanbul ignore next line */ + switch (lastNumber(number)) { + case 1: + case 3: + case 4: + case 5: + case 9: + return number + " bloaz"; + + default: + return number + " vloaz"; + } +} + +var locale = { + name: 'br', + weekdays: 'Sul_Lun_Meurzh_Mercʼher_Yaou_Gwener_Sadorn'.split('_'), + months: 'Genver_Cʼhwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu'.split('_'), + weekStart: 1, + weekdaysShort: 'Sul_Lun_Meu_Mer_Yao_Gwe_Sad'.split('_'), + monthsShort: 'Gen_Cʼhwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker'.split('_'), + weekdaysMin: 'Su_Lu_Me_Mer_Ya_Gw_Sa'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'h[e]mm A', + LTS: 'h[e]mm:ss A', + L: 'DD/MM/YYYY', + LL: 'D [a viz] MMMM YYYY', + LLL: 'D [a viz] MMMM YYYY h[e]mm A', + LLLL: 'dddd, D [a viz] MMMM YYYY h[e]mm A' + }, + relativeTime: { + future: 'a-benn %s', + past: '%s ʼzo', + s: 'un nebeud segondennoù', + m: 'ur vunutenn', + mm: relativeTimeWithMutation, + h: 'un eur', + hh: '%d eur', + d: 'un devezh', + dd: relativeTimeWithMutation, + M: 'ur miz', + MM: relativeTimeWithMutation, + y: 'ur bloaz', + yy: specialMutationForYears + }, + meridiem: function meridiem(hour) { + return hour < 12 ? 'a.m.' : 'g.m.'; + } // a-raok merenn | goude merenn + +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/bs.js b/node_modules/dayjs/esm/locale/bs.js new file mode 100644 index 0000000..328a1fe --- /dev/null +++ b/node_modules/dayjs/esm/locale/bs.js @@ -0,0 +1,24 @@ +// Bosnian [bs] +import dayjs from '../index'; +var locale = { + name: 'bs', + weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split('_'), + months: 'januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar'.split('_'), + weekStart: 1, + weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'), + monthsShort: 'jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.'.split('_'), + weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY H:mm', + LLLL: 'dddd, D. MMMM YYYY H:mm' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/ca.js b/node_modules/dayjs/esm/locale/ca.js new file mode 100644 index 0000000..94fc0b9 --- /dev/null +++ b/node_modules/dayjs/esm/locale/ca.js @@ -0,0 +1,44 @@ +// Catalan [ca] +import dayjs from '../index'; +var locale = { + name: 'ca', + weekdays: 'Diumenge_Dilluns_Dimarts_Dimecres_Dijous_Divendres_Dissabte'.split('_'), + weekdaysShort: 'Dg._Dl._Dt._Dc._Dj._Dv._Ds.'.split('_'), + weekdaysMin: 'Dg_Dl_Dt_Dc_Dj_Dv_Ds'.split('_'), + months: 'Gener_Febrer_Març_Abril_Maig_Juny_Juliol_Agost_Setembre_Octubre_Novembre_Desembre'.split('_'), + monthsShort: 'Gen._Febr._Març_Abr._Maig_Juny_Jul._Ag._Set._Oct._Nov._Des.'.split('_'), + weekStart: 1, + formats: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM [de] YYYY', + LLL: 'D MMMM [de] YYYY [a les] H:mm', + LLLL: 'dddd D MMMM [de] YYYY [a les] H:mm', + ll: 'D MMM YYYY', + lll: 'D MMM YYYY, H:mm', + llll: 'ddd D MMM YYYY, H:mm' + }, + relativeTime: { + future: 'd\'aquí %s', + past: 'fa %s', + s: 'uns segons', + m: 'un minut', + mm: '%d minuts', + h: 'una hora', + hh: '%d hores', + d: 'un dia', + dd: '%d dies', + M: 'un mes', + MM: '%d mesos', + y: 'un any', + yy: '%d anys' + }, + ordinal: function ordinal(n) { + var ord; + if (n === 1 || n === 3) ord = 'r';else if (n === 2) ord = 'n';else if (n === 4) ord = 't';else ord = 'è'; + return "" + n + ord; + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/cs.js b/node_modules/dayjs/esm/locale/cs.js new file mode 100644 index 0000000..165b662 --- /dev/null +++ b/node_modules/dayjs/esm/locale/cs.js @@ -0,0 +1,120 @@ +// Czech [cs] +import dayjs from '../index'; + +function plural(n) { + return n > 1 && n < 5 && ~~(n / 10) !== 1; // eslint-disable-line +} +/* eslint-disable */ + + +function translate(number, withoutSuffix, key, isFuture) { + var result = number + " "; + + switch (key) { + case 's': + // a few seconds / in a few seconds / a few seconds ago + return withoutSuffix || isFuture ? 'pár sekund' : 'pár sekundami'; + + case 'm': + // a minute / in a minute / a minute ago + return withoutSuffix ? 'minuta' : isFuture ? 'minutu' : 'minutou'; + + case 'mm': + // 9 minutes / in 9 minutes / 9 minutes ago + if (withoutSuffix || isFuture) { + return result + (plural(number) ? 'minuty' : 'minut'); + } + + return result + "minutami"; + + case 'h': + // an hour / in an hour / an hour ago + return withoutSuffix ? 'hodina' : isFuture ? 'hodinu' : 'hodinou'; + + case 'hh': + // 9 hours / in 9 hours / 9 hours ago + if (withoutSuffix || isFuture) { + return result + (plural(number) ? 'hodiny' : 'hodin'); + } + + return result + "hodinami"; + + case 'd': + // a day / in a day / a day ago + return withoutSuffix || isFuture ? 'den' : 'dnem'; + + case 'dd': + // 9 days / in 9 days / 9 days ago + if (withoutSuffix || isFuture) { + return result + (plural(number) ? 'dny' : 'dní'); + } + + return result + "dny"; + + case 'M': + // a month / in a month / a month ago + return withoutSuffix || isFuture ? 'měsíc' : 'měsícem'; + + case 'MM': + // 9 months / in 9 months / 9 months ago + if (withoutSuffix || isFuture) { + return result + (plural(number) ? 'měsíce' : 'měsíců'); + } + + return result + "m\u011Bs\xEDci"; + + case 'y': + // a year / in a year / a year ago + return withoutSuffix || isFuture ? 'rok' : 'rokem'; + + case 'yy': + // 9 years / in 9 years / 9 years ago + if (withoutSuffix || isFuture) { + return result + (plural(number) ? 'roky' : 'let'); + } + + return result + "lety"; + } +} +/* eslint-enable */ + + +var locale = { + name: 'cs', + weekdays: 'neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota'.split('_'), + weekdaysShort: 'ne_po_út_st_čt_pá_so'.split('_'), + weekdaysMin: 'ne_po_út_st_čt_pá_so'.split('_'), + months: 'leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec'.split('_'), + monthsShort: 'led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro'.split('_'), + weekStart: 1, + yearStart: 4, + ordinal: function ordinal(n) { + return n + "."; + }, + formats: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY H:mm', + LLLL: 'dddd D. MMMM YYYY H:mm', + l: 'D. M. YYYY' + }, + relativeTime: { + future: 'za %s', + past: 'před %s', + s: translate, + m: translate, + mm: translate, + h: translate, + hh: translate, + d: translate, + dd: translate, + M: translate, + MM: translate, + y: translate, + yy: translate + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/cv.js b/node_modules/dayjs/esm/locale/cv.js new file mode 100644 index 0000000..7dc41f7 --- /dev/null +++ b/node_modules/dayjs/esm/locale/cv.js @@ -0,0 +1,24 @@ +// Chuvash [cv] +import dayjs from '../index'; +var locale = { + name: 'cv', + weekdays: 'вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун'.split('_'), + months: 'кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав'.split('_'), + weekStart: 1, + weekdaysShort: 'выр_тун_ытл_юн_кӗҫ_эрн_шӑм'.split('_'), + monthsShort: 'кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш'.split('_'), + weekdaysMin: 'вр_тн_ыт_юн_кҫ_эр_шм'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD-MM-YYYY', + LL: 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]', + LLL: 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm', + LLLL: 'dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/cy.js b/node_modules/dayjs/esm/locale/cy.js new file mode 100644 index 0000000..63e6c33 --- /dev/null +++ b/node_modules/dayjs/esm/locale/cy.js @@ -0,0 +1,39 @@ +// Welsh [cy] +import dayjs from '../index'; +var locale = { + name: 'cy', + weekdays: 'Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn'.split('_'), + months: 'Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr'.split('_'), + weekStart: 1, + weekdaysShort: 'Sul_Llun_Maw_Mer_Iau_Gwe_Sad'.split('_'), + monthsShort: 'Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag'.split('_'), + weekdaysMin: 'Su_Ll_Ma_Me_Ia_Gw_Sa'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm' + }, + relativeTime: { + future: 'mewn %s', + past: '%s yn ôl', + s: 'ychydig eiliadau', + m: 'munud', + mm: '%d munud', + h: 'awr', + hh: '%d awr', + d: 'diwrnod', + dd: '%d diwrnod', + M: 'mis', + MM: '%d mis', + y: 'blwyddyn', + yy: '%d flynedd' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/da.js b/node_modules/dayjs/esm/locale/da.js new file mode 100644 index 0000000..38fd134 --- /dev/null +++ b/node_modules/dayjs/esm/locale/da.js @@ -0,0 +1,39 @@ +// Danish [da] +import dayjs from '../index'; +var locale = { + name: 'da', + weekdays: 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'), + weekdaysShort: 'søn._man._tirs._ons._tors._fre._lør.'.split('_'), + weekdaysMin: 'sø._ma._ti._on._to._fr._lø.'.split('_'), + months: 'januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december'.split('_'), + monthsShort: 'jan._feb._mar._apr._maj_juni_juli_aug._sept._okt._nov._dec.'.split('_'), + weekStart: 1, + ordinal: function ordinal(n) { + return n + "."; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY HH:mm', + LLLL: 'dddd [d.] D. MMMM YYYY [kl.] HH:mm' + }, + relativeTime: { + future: 'om %s', + past: '%s siden', + s: 'få sekunder', + m: 'et minut', + mm: '%d minutter', + h: 'en time', + hh: '%d timer', + d: 'en dag', + dd: '%d dage', + M: 'en måned', + MM: '%d måneder', + y: 'et år', + yy: '%d år' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/de-at.js b/node_modules/dayjs/esm/locale/de-at.js new file mode 100644 index 0000000..e109d97 --- /dev/null +++ b/node_modules/dayjs/esm/locale/de-at.js @@ -0,0 +1,63 @@ +// German (Austria) [de-at] +import dayjs from '../index'; +var texts = { + s: 'ein paar Sekunden', + m: ['eine Minute', 'einer Minute'], + mm: '%d Minuten', + h: ['eine Stunde', 'einer Stunde'], + hh: '%d Stunden', + d: ['ein Tag', 'einem Tag'], + dd: ['%d Tage', '%d Tagen'], + M: ['ein Monat', 'einem Monat'], + MM: ['%d Monate', '%d Monaten'], + y: ['ein Jahr', 'einem Jahr'], + yy: ['%d Jahre', '%d Jahren'] +}; + +function relativeTimeFormatter(number, withoutSuffix, key) { + var l = texts[key]; + + if (Array.isArray(l)) { + l = l[withoutSuffix ? 0 : 1]; + } + + return l.replace('%d', number); +} + +var locale = { + name: 'de-at', + weekdays: 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split('_'), + weekdaysShort: 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'), + weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'), + months: 'Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'), + monthsShort: 'Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split('_'), + ordinal: function ordinal(n) { + return n + "."; + }, + weekStart: 1, + formats: { + LTS: 'HH:mm:ss', + LT: 'HH:mm', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY HH:mm', + LLLL: 'dddd, D. MMMM YYYY HH:mm' + }, + relativeTime: { + future: 'in %s', + past: 'vor %s', + s: relativeTimeFormatter, + m: relativeTimeFormatter, + mm: relativeTimeFormatter, + h: relativeTimeFormatter, + hh: relativeTimeFormatter, + d: relativeTimeFormatter, + dd: relativeTimeFormatter, + M: relativeTimeFormatter, + MM: relativeTimeFormatter, + y: relativeTimeFormatter, + yy: relativeTimeFormatter + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/de-ch.js b/node_modules/dayjs/esm/locale/de-ch.js new file mode 100644 index 0000000..1ffbbf7 --- /dev/null +++ b/node_modules/dayjs/esm/locale/de-ch.js @@ -0,0 +1,63 @@ +// German (Switzerland) [de-ch] +import dayjs from '../index'; +var texts = { + s: 'ein paar Sekunden', + m: ['eine Minute', 'einer Minute'], + mm: '%d Minuten', + h: ['eine Stunde', 'einer Stunde'], + hh: '%d Stunden', + d: ['ein Tag', 'einem Tag'], + dd: ['%d Tage', '%d Tagen'], + M: ['ein Monat', 'einem Monat'], + MM: ['%d Monate', '%d Monaten'], + y: ['ein Jahr', 'einem Jahr'], + yy: ['%d Jahre', '%d Jahren'] +}; + +function relativeTimeFormatter(number, withoutSuffix, key) { + var l = texts[key]; + + if (Array.isArray(l)) { + l = l[withoutSuffix ? 0 : 1]; + } + + return l.replace('%d', number); +} + +var locale = { + name: 'de-ch', + weekdays: 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split('_'), + weekdaysShort: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'), + weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'), + months: 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'), + monthsShort: 'Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split('_'), + ordinal: function ordinal(n) { + return n + "."; + }, + weekStart: 1, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY HH:mm', + LLLL: 'dddd, D. MMMM YYYY HH:mm' + }, + relativeTime: { + future: 'in %s', + past: 'vor %s', + s: relativeTimeFormatter, + m: relativeTimeFormatter, + mm: relativeTimeFormatter, + h: relativeTimeFormatter, + hh: relativeTimeFormatter, + d: relativeTimeFormatter, + dd: relativeTimeFormatter, + M: relativeTimeFormatter, + MM: relativeTimeFormatter, + y: relativeTimeFormatter, + yy: relativeTimeFormatter + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/de.js b/node_modules/dayjs/esm/locale/de.js new file mode 100644 index 0000000..8ccd483 --- /dev/null +++ b/node_modules/dayjs/esm/locale/de.js @@ -0,0 +1,64 @@ +// German [de] +import dayjs from '../index'; +var texts = { + s: 'ein paar Sekunden', + m: ['eine Minute', 'einer Minute'], + mm: '%d Minuten', + h: ['eine Stunde', 'einer Stunde'], + hh: '%d Stunden', + d: ['ein Tag', 'einem Tag'], + dd: ['%d Tage', '%d Tagen'], + M: ['ein Monat', 'einem Monat'], + MM: ['%d Monate', '%d Monaten'], + y: ['ein Jahr', 'einem Jahr'], + yy: ['%d Jahre', '%d Jahren'] +}; + +function relativeTimeFormatter(number, withoutSuffix, key) { + var l = texts[key]; + + if (Array.isArray(l)) { + l = l[withoutSuffix ? 0 : 1]; + } + + return l.replace('%d', number); +} + +var locale = { + name: 'de', + weekdays: 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split('_'), + weekdaysShort: 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'), + weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'), + months: 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'), + monthsShort: 'Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sept._Okt._Nov._Dez.'.split('_'), + ordinal: function ordinal(n) { + return n + "."; + }, + weekStart: 1, + yearStart: 4, + formats: { + LTS: 'HH:mm:ss', + LT: 'HH:mm', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY HH:mm', + LLLL: 'dddd, D. MMMM YYYY HH:mm' + }, + relativeTime: { + future: 'in %s', + past: 'vor %s', + s: relativeTimeFormatter, + m: relativeTimeFormatter, + mm: relativeTimeFormatter, + h: relativeTimeFormatter, + hh: relativeTimeFormatter, + d: relativeTimeFormatter, + dd: relativeTimeFormatter, + M: relativeTimeFormatter, + MM: relativeTimeFormatter, + y: relativeTimeFormatter, + yy: relativeTimeFormatter + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/dv.js b/node_modules/dayjs/esm/locale/dv.js new file mode 100644 index 0000000..8943fdd --- /dev/null +++ b/node_modules/dayjs/esm/locale/dv.js @@ -0,0 +1,39 @@ +// Maldivian [dv] +import dayjs from '../index'; +var locale = { + name: 'dv', + weekdays: 'އާދިއްތަ_ހޯމަ_އަންގާރަ_ބުދަ_ބުރާސްފަތި_ހުކުރު_ހޮނިހިރު'.split('_'), + months: 'ޖެނުއަރީ_ފެބްރުއަރީ_މާރިޗު_އޭޕްރީލު_މޭ_ޖޫން_ޖުލައި_އޯގަސްޓު_ސެޕްޓެމްބަރު_އޮކްޓޯބަރު_ނޮވެމްބަރު_ޑިސެމްބަރު'.split('_'), + weekStart: 7, + weekdaysShort: 'އާދިއްތަ_ހޯމަ_އަންގާރަ_ބުދަ_ބުރާސްފަތި_ހުކުރު_ހޮނިހިރު'.split('_'), + monthsShort: 'ޖެނުއަރީ_ފެބްރުއަރީ_މާރިޗު_އޭޕްރީލު_މޭ_ޖޫން_ޖުލައި_އޯގަސްޓު_ސެޕްޓެމްބަރު_އޮކްޓޯބަރު_ނޮވެމްބަރު_ޑިސެމްބަރު'.split('_'), + weekdaysMin: 'އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'D/M/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm' + }, + relativeTime: { + future: 'ތެރޭގައި %s', + past: 'ކުރިން %s', + s: 'ސިކުންތުކޮޅެއް', + m: 'މިނިޓެއް', + mm: 'މިނިޓު %d', + h: 'ގަޑިއިރެއް', + hh: 'ގަޑިއިރު %d', + d: 'ދުވަހެއް', + dd: 'ދުވަސް %d', + M: 'މަހެއް', + MM: 'މަސް %d', + y: 'އަހަރެއް', + yy: 'އަހަރު %d' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/el.js b/node_modules/dayjs/esm/locale/el.js new file mode 100644 index 0000000..2aa9917 --- /dev/null +++ b/node_modules/dayjs/esm/locale/el.js @@ -0,0 +1,39 @@ +// Greek [el] +import dayjs from '../index'; +var locale = { + name: 'el', + weekdays: 'Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο'.split('_'), + weekdaysShort: 'Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ'.split('_'), + weekdaysMin: 'Κυ_Δε_Τρ_Τε_Πε_Πα_Σα'.split('_'), + months: 'Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος'.split('_'), + monthsShort: 'Ιαν_Φεβ_Μαρ_Απρ_Μαι_Ιουν_Ιουλ_Αυγ_Σεπτ_Οκτ_Νοε_Δεκ'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + weekStart: 1, + relativeTime: { + future: 'σε %s', + past: 'πριν %s', + s: 'μερικά δευτερόλεπτα', + m: 'ένα λεπτό', + mm: '%d λεπτά', + h: 'μία ώρα', + hh: '%d ώρες', + d: 'μία μέρα', + dd: '%d μέρες', + M: 'ένα μήνα', + MM: '%d μήνες', + y: 'ένα χρόνο', + yy: '%d χρόνια' + }, + formats: { + LT: 'h:mm A', + LTS: 'h:mm:ss A', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY h:mm A', + LLLL: 'dddd, D MMMM YYYY h:mm A' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/en-au.js b/node_modules/dayjs/esm/locale/en-au.js new file mode 100644 index 0000000..f9dde03 --- /dev/null +++ b/node_modules/dayjs/esm/locale/en-au.js @@ -0,0 +1,39 @@ +// English (Australia) [en-au] +import dayjs from '../index'; +var locale = { + name: 'en-au', + weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'), + months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'), + weekStart: 1, + weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), + monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), + weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'h:mm A', + LTS: 'h:mm:ss A', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY h:mm A', + LLLL: 'dddd, D MMMM YYYY h:mm A' + }, + relativeTime: { + future: 'in %s', + past: '%s ago', + s: 'a few seconds', + m: 'a minute', + mm: '%d minutes', + h: 'an hour', + hh: '%d hours', + d: 'a day', + dd: '%d days', + M: 'a month', + MM: '%d months', + y: 'a year', + yy: '%d years' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/en-ca.js b/node_modules/dayjs/esm/locale/en-ca.js new file mode 100644 index 0000000..8e416c9 --- /dev/null +++ b/node_modules/dayjs/esm/locale/en-ca.js @@ -0,0 +1,38 @@ +// English (Canada) [en-ca] +import dayjs from '../index'; +var locale = { + name: 'en-ca', + weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'), + months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'), + weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), + monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), + weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'h:mm A', + LTS: 'h:mm:ss A', + L: 'YYYY-MM-DD', + LL: 'MMMM D, YYYY', + LLL: 'MMMM D, YYYY h:mm A', + LLLL: 'dddd, MMMM D, YYYY h:mm A' + }, + relativeTime: { + future: 'in %s', + past: '%s ago', + s: 'a few seconds', + m: 'a minute', + mm: '%d minutes', + h: 'an hour', + hh: '%d hours', + d: 'a day', + dd: '%d days', + M: 'a month', + MM: '%d months', + y: 'a year', + yy: '%d years' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/en-gb.js b/node_modules/dayjs/esm/locale/en-gb.js new file mode 100644 index 0000000..f979b44 --- /dev/null +++ b/node_modules/dayjs/esm/locale/en-gb.js @@ -0,0 +1,42 @@ +// English (United Kingdom) [en-gb] +import dayjs from '../index'; +var locale = { + name: 'en-gb', + weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'), + weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), + weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), + months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'), + monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), + weekStart: 1, + yearStart: 4, + relativeTime: { + future: 'in %s', + past: '%s ago', + s: 'a few seconds', + m: 'a minute', + mm: '%d minutes', + h: 'an hour', + hh: '%d hours', + d: 'a day', + dd: '%d days', + M: 'a month', + MM: '%d months', + y: 'a year', + yy: '%d years' + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm' + }, + ordinal: function ordinal(n) { + var s = ['th', 'st', 'nd', 'rd']; + var v = n % 100; + return "[" + n + (s[(v - 20) % 10] || s[v] || s[0]) + "]"; + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/en-ie.js b/node_modules/dayjs/esm/locale/en-ie.js new file mode 100644 index 0000000..8098d2f --- /dev/null +++ b/node_modules/dayjs/esm/locale/en-ie.js @@ -0,0 +1,39 @@ +// English (Ireland) [en-ie] +import dayjs from '../index'; +var locale = { + name: 'en-ie', + weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'), + months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'), + weekStart: 1, + weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), + monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), + weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm' + }, + relativeTime: { + future: 'in %s', + past: '%s ago', + s: 'a few seconds', + m: 'a minute', + mm: '%d minutes', + h: 'an hour', + hh: '%d hours', + d: 'a day', + dd: '%d days', + M: 'a month', + MM: '%d months', + y: 'a year', + yy: '%d years' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/en-il.js b/node_modules/dayjs/esm/locale/en-il.js new file mode 100644 index 0000000..56c241a --- /dev/null +++ b/node_modules/dayjs/esm/locale/en-il.js @@ -0,0 +1,38 @@ +// English (Israel) [en-il] +import dayjs from '../index'; +var locale = { + name: 'en-il', + weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'), + months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'), + weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), + monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), + weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm' + }, + relativeTime: { + future: 'in %s', + past: '%s ago', + s: 'a few seconds', + m: 'a minute', + mm: '%d minutes', + h: 'an hour', + hh: '%d hours', + d: 'a day', + dd: '%d days', + M: 'a month', + MM: '%d months', + y: 'a year', + yy: '%d years' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/en-in.js b/node_modules/dayjs/esm/locale/en-in.js new file mode 100644 index 0000000..7ccb206 --- /dev/null +++ b/node_modules/dayjs/esm/locale/en-in.js @@ -0,0 +1,42 @@ +// English (India) [en-in] +import dayjs from '../index'; +var locale = { + name: 'en-in', + weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'), + weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), + weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), + months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'), + monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), + weekStart: 1, + yearStart: 4, + relativeTime: { + future: 'in %s', + past: '%s ago', + s: 'a few seconds', + m: 'a minute', + mm: '%d minutes', + h: 'an hour', + hh: '%d hours', + d: 'a day', + dd: '%d days', + M: 'a month', + MM: '%d months', + y: 'a year', + yy: '%d years' + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm' + }, + ordinal: function ordinal(n) { + var s = ['th', 'st', 'nd', 'rd']; + var v = n % 100; + return "[" + n + (s[(v - 20) % 10] || s[v] || s[0]) + "]"; + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/en-nz.js b/node_modules/dayjs/esm/locale/en-nz.js new file mode 100644 index 0000000..08c562e --- /dev/null +++ b/node_modules/dayjs/esm/locale/en-nz.js @@ -0,0 +1,41 @@ +// English (New Zealand) [en-nz] +import dayjs from '../index'; +var locale = { + name: 'en-nz', + weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'), + months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'), + weekStart: 1, + weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), + monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), + weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), + ordinal: function ordinal(n) { + var s = ['th', 'st', 'nd', 'rd']; + var v = n % 100; + return "[" + n + (s[(v - 20) % 10] || s[v] || s[0]) + "]"; + }, + formats: { + LT: 'h:mm A', + LTS: 'h:mm:ss A', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY h:mm A', + LLLL: 'dddd, D MMMM YYYY h:mm A' + }, + relativeTime: { + future: 'in %s', + past: '%s ago', + s: 'a few seconds', + m: 'a minute', + mm: '%d minutes', + h: 'an hour', + hh: '%d hours', + d: 'a day', + dd: '%d days', + M: 'a month', + MM: '%d months', + y: 'a year', + yy: '%d years' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/en-sg.js b/node_modules/dayjs/esm/locale/en-sg.js new file mode 100644 index 0000000..3c5edce --- /dev/null +++ b/node_modules/dayjs/esm/locale/en-sg.js @@ -0,0 +1,39 @@ +// English (Singapore) [en-sg] +import dayjs from '../index'; +var locale = { + name: 'en-sg', + weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'), + months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'), + weekStart: 1, + weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), + monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), + weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm' + }, + relativeTime: { + future: 'in %s', + past: '%s ago', + s: 'a few seconds', + m: 'a minute', + mm: '%d minutes', + h: 'an hour', + hh: '%d hours', + d: 'a day', + dd: '%d days', + M: 'a month', + MM: '%d months', + y: 'a year', + yy: '%d years' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/en-tt.js b/node_modules/dayjs/esm/locale/en-tt.js new file mode 100644 index 0000000..ef47eeb --- /dev/null +++ b/node_modules/dayjs/esm/locale/en-tt.js @@ -0,0 +1,42 @@ +// English (Trinidad & Tobago) [en-tt] +import dayjs from '../index'; +var locale = { + name: 'en-tt', + weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'), + weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), + weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), + months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'), + monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), + weekStart: 1, + yearStart: 4, + relativeTime: { + future: 'in %s', + past: '%s ago', + s: 'a few seconds', + m: 'a minute', + mm: '%d minutes', + h: 'an hour', + hh: '%d hours', + d: 'a day', + dd: '%d days', + M: 'a month', + MM: '%d months', + y: 'a year', + yy: '%d years' + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm' + }, + ordinal: function ordinal(n) { + var s = ['th', 'st', 'nd', 'rd']; + var v = n % 100; + return "[" + n + (s[(v - 20) % 10] || s[v] || s[0]) + "]"; + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/en.js b/node_modules/dayjs/esm/locale/en.js new file mode 100644 index 0000000..8ba6107 --- /dev/null +++ b/node_modules/dayjs/esm/locale/en.js @@ -0,0 +1,12 @@ +// English [en] +// We don't need weekdaysShort, weekdaysMin, monthsShort in en.js locale +export default { + name: 'en', + weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'), + months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'), + ordinal: function ordinal(n) { + var s = ['th', 'st', 'nd', 'rd']; + var v = n % 100; + return "[" + n + (s[(v - 20) % 10] || s[v] || s[0]) + "]"; + } +}; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/eo.js b/node_modules/dayjs/esm/locale/eo.js new file mode 100644 index 0000000..e62599a --- /dev/null +++ b/node_modules/dayjs/esm/locale/eo.js @@ -0,0 +1,39 @@ +// Esperanto [eo] +import dayjs from '../index'; +var locale = { + name: 'eo', + weekdays: 'dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato'.split('_'), + months: 'januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro'.split('_'), + weekStart: 1, + weekdaysShort: 'dim_lun_mard_merk_ĵaŭ_ven_sab'.split('_'), + monthsShort: 'jan_feb_mar_apr_maj_jun_jul_aŭg_sep_okt_nov_dec'.split('_'), + weekdaysMin: 'di_lu_ma_me_ĵa_ve_sa'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY-MM-DD', + LL: 'D[-a de] MMMM, YYYY', + LLL: 'D[-a de] MMMM, YYYY HH:mm', + LLLL: 'dddd, [la] D[-a de] MMMM, YYYY HH:mm' + }, + relativeTime: { + future: 'post %s', + past: 'antaŭ %s', + s: 'sekundoj', + m: 'minuto', + mm: '%d minutoj', + h: 'horo', + hh: '%d horoj', + d: 'tago', + dd: '%d tagoj', + M: 'monato', + MM: '%d monatoj', + y: 'jaro', + yy: '%d jaroj' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/es-do.js b/node_modules/dayjs/esm/locale/es-do.js new file mode 100644 index 0000000..09410cf --- /dev/null +++ b/node_modules/dayjs/esm/locale/es-do.js @@ -0,0 +1,39 @@ +// Spanish (Dominican Republic) [es-do] +import dayjs from '../index'; +var locale = { + name: 'es-do', + weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'), + weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'), + weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'), + months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split('_'), + monthsShort: 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'), + weekStart: 1, + relativeTime: { + future: 'en %s', + past: 'hace %s', + s: 'unos segundos', + m: 'un minuto', + mm: '%d minutos', + h: 'una hora', + hh: '%d horas', + d: 'un día', + dd: '%d días', + M: 'un mes', + MM: '%d meses', + y: 'un año', + yy: '%d años' + }, + ordinal: function ordinal(n) { + return n + "\xBA"; + }, + formats: { + LT: 'h:mm A', + LTS: 'h:mm:ss A', + L: 'DD/MM/YYYY', + LL: 'D [de] MMMM [de] YYYY', + LLL: 'D [de] MMMM [de] YYYY h:mm A', + LLLL: 'dddd, D [de] MMMM [de] YYYY h:mm A' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/es-mx.js b/node_modules/dayjs/esm/locale/es-mx.js new file mode 100644 index 0000000..0207f83 --- /dev/null +++ b/node_modules/dayjs/esm/locale/es-mx.js @@ -0,0 +1,38 @@ +// Spanish (Mexico) [es-mx] +import dayjs from '../index'; +var locale = { + name: 'es-mx', + weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'), + weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'), + weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'), + months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split('_'), + monthsShort: 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'), + relativeTime: { + future: 'en %s', + past: 'hace %s', + s: 'unos segundos', + m: 'un minuto', + mm: '%d minutos', + h: 'una hora', + hh: '%d horas', + d: 'un día', + dd: '%d días', + M: 'un mes', + MM: '%d meses', + y: 'un año', + yy: '%d años' + }, + ordinal: function ordinal(n) { + return n + "\xBA"; + }, + formats: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D [de] MMMM [de] YYYY', + LLL: 'D [de] MMMM [de] YYYY H:mm', + LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/es-pr.js b/node_modules/dayjs/esm/locale/es-pr.js new file mode 100644 index 0000000..5edc359 --- /dev/null +++ b/node_modules/dayjs/esm/locale/es-pr.js @@ -0,0 +1,39 @@ +// Spanish (Puerto Rico) [es-PR] +import dayjs from '../index'; +var locale = { + name: 'es-pr', + monthsShort: 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'), + weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'), + weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'), + weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'), + months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split('_'), + weekStart: 1, + formats: { + LT: 'h:mm A', + LTS: 'h:mm:ss A', + L: 'MM/DD/YYYY', + LL: 'D [de] MMMM [de] YYYY', + LLL: 'D [de] MMMM [de] YYYY h:mm A', + LLLL: 'dddd, D [de] MMMM [de] YYYY h:mm A' + }, + relativeTime: { + future: 'en %s', + past: 'hace %s', + s: 'unos segundos', + m: 'un minuto', + mm: '%d minutos', + h: 'una hora', + hh: '%d horas', + d: 'un día', + dd: '%d días', + M: 'un mes', + MM: '%d meses', + y: 'un año', + yy: '%d años' + }, + ordinal: function ordinal(n) { + return n + "\xBA"; + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/es-us.js b/node_modules/dayjs/esm/locale/es-us.js new file mode 100644 index 0000000..f9b01a0 --- /dev/null +++ b/node_modules/dayjs/esm/locale/es-us.js @@ -0,0 +1,38 @@ +// Spanish (United States) [es-us] +import dayjs from '../index'; +var locale = { + name: 'es-us', + weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'), + weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'), + weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'), + months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split('_'), + monthsShort: 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'), + relativeTime: { + future: 'en %s', + past: 'hace %s', + s: 'unos segundos', + m: 'un minuto', + mm: '%d minutos', + h: 'una hora', + hh: '%d horas', + d: 'un día', + dd: '%d días', + M: 'un mes', + MM: '%d meses', + y: 'un año', + yy: '%d años' + }, + ordinal: function ordinal(n) { + return n + "\xBA"; + }, + formats: { + LT: 'h:mm A', + LTS: 'h:mm:ss A', + L: 'MM/DD/YYYY', + LL: 'D [de] MMMM [de] YYYY', + LLL: 'D [de] MMMM [de] YYYY h:mm A', + LLLL: 'dddd, D [de] MMMM [de] YYYY h:mm A' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/es.js b/node_modules/dayjs/esm/locale/es.js new file mode 100644 index 0000000..84bdfbe --- /dev/null +++ b/node_modules/dayjs/esm/locale/es.js @@ -0,0 +1,39 @@ +// Spanish [es] +import dayjs from '../index'; +var locale = { + name: 'es', + monthsShort: 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'), + weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'), + weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'), + weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'), + months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split('_'), + weekStart: 1, + formats: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D [de] MMMM [de] YYYY', + LLL: 'D [de] MMMM [de] YYYY H:mm', + LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm' + }, + relativeTime: { + future: 'en %s', + past: 'hace %s', + s: 'unos segundos', + m: 'un minuto', + mm: '%d minutos', + h: 'una hora', + hh: '%d horas', + d: 'un día', + dd: '%d días', + M: 'un mes', + MM: '%d meses', + y: 'un año', + yy: '%d años' + }, + ordinal: function ordinal(n) { + return n + "\xBA"; + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/et.js b/node_modules/dayjs/esm/locale/et.js new file mode 100644 index 0000000..7f7c5ff --- /dev/null +++ b/node_modules/dayjs/esm/locale/et.js @@ -0,0 +1,65 @@ +// Estonian [et] +import dayjs from '../index'; + +function relativeTimeWithTense(number, withoutSuffix, key, isFuture) { + var format = { + s: ['mõne sekundi', 'mõni sekund', 'paar sekundit'], + m: ['ühe minuti', 'üks minut'], + mm: ['%d minuti', '%d minutit'], + h: ['ühe tunni', 'tund aega', 'üks tund'], + hh: ['%d tunni', '%d tundi'], + d: ['ühe päeva', 'üks päev'], + M: ['kuu aja', 'kuu aega', 'üks kuu'], + MM: ['%d kuu', '%d kuud'], + y: ['ühe aasta', 'aasta', 'üks aasta'], + yy: ['%d aasta', '%d aastat'] + }; + + if (withoutSuffix) { + return (format[key][2] ? format[key][2] : format[key][1]).replace('%d', number); + } + + return (isFuture ? format[key][0] : format[key][1]).replace('%d', number); +} + +var locale = { + name: 'et', + // Estonian + weekdays: 'pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev'.split('_'), + // Note weekdays are not capitalized in Estonian + weekdaysShort: 'P_E_T_K_N_R_L'.split('_'), + // There is no short form of weekdays in Estonian except this 1 letter format so it is used for both 'weekdaysShort' and 'weekdaysMin' + weekdaysMin: 'P_E_T_K_N_R_L'.split('_'), + months: 'jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember'.split('_'), + // Note month names are not capitalized in Estonian + monthsShort: 'jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets'.split('_'), + ordinal: function ordinal(n) { + return n + "."; + }, + weekStart: 1, + relativeTime: { + future: '%s pärast', + past: '%s tagasi', + s: relativeTimeWithTense, + m: relativeTimeWithTense, + mm: relativeTimeWithTense, + h: relativeTimeWithTense, + hh: relativeTimeWithTense, + d: relativeTimeWithTense, + dd: '%d päeva', + M: relativeTimeWithTense, + MM: relativeTimeWithTense, + y: relativeTimeWithTense, + yy: relativeTimeWithTense + }, + formats: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY H:mm', + LLLL: 'dddd, D. MMMM YYYY H:mm' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/eu.js b/node_modules/dayjs/esm/locale/eu.js new file mode 100644 index 0000000..5cb73d0 --- /dev/null +++ b/node_modules/dayjs/esm/locale/eu.js @@ -0,0 +1,43 @@ +// Basque [eu] +import dayjs from '../index'; +var locale = { + name: 'eu', + weekdays: 'igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata'.split('_'), + months: 'urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua'.split('_'), + weekStart: 1, + weekdaysShort: 'ig._al._ar._az._og._ol._lr.'.split('_'), + monthsShort: 'urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.'.split('_'), + weekdaysMin: 'ig_al_ar_az_og_ol_lr'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY-MM-DD', + LL: 'YYYY[ko] MMMM[ren] D[a]', + LLL: 'YYYY[ko] MMMM[ren] D[a] HH:mm', + LLLL: 'dddd, YYYY[ko] MMMM[ren] D[a] HH:mm', + l: 'YYYY-M-D', + ll: 'YYYY[ko] MMM D[a]', + lll: 'YYYY[ko] MMM D[a] HH:mm', + llll: 'ddd, YYYY[ko] MMM D[a] HH:mm' + }, + relativeTime: { + future: '%s barru', + past: 'duela %s', + s: 'segundo batzuk', + m: 'minutu bat', + mm: '%d minutu', + h: 'ordu bat', + hh: '%d ordu', + d: 'egun bat', + dd: '%d egun', + M: 'hilabete bat', + MM: '%d hilabete', + y: 'urte bat', + yy: '%d urte' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/fa.js b/node_modules/dayjs/esm/locale/fa.js new file mode 100644 index 0000000..089459e --- /dev/null +++ b/node_modules/dayjs/esm/locale/fa.js @@ -0,0 +1,39 @@ +// Persian [fa] +import dayjs from '../index'; +var locale = { + name: 'fa', + weekdays: 'یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه'.split('_'), + weekdaysShort: "\u06CC\u06A9\u200C\u0634\u0646\u0628\u0647_\u062F\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200C\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067E\u0646\u062C\u200C\u0634\u0646\u0628\u0647_\u062C\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split('_'), + weekdaysMin: 'ی_د_س_چ_پ_ج_ش'.split('_'), + weekStart: 6, + months: 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split('_'), + monthsShort: 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm' + }, + relativeTime: { + future: 'در %s', + past: '%s پیش', + s: 'چند ثانیه', + m: 'یک دقیقه', + mm: '%d دقیقه', + h: 'یک ساعت', + hh: '%d ساعت', + d: 'یک روز', + dd: '%d روز', + M: 'یک ماه', + MM: '%d ماه', + y: 'یک سال', + yy: '%d سال' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/fi.js b/node_modules/dayjs/esm/locale/fi.js new file mode 100644 index 0000000..1ded894 --- /dev/null +++ b/node_modules/dayjs/esm/locale/fi.js @@ -0,0 +1,88 @@ +// Finnish [fi] +import dayjs from '../index'; + +function relativeTimeFormatter(number, withoutSuffix, key, isFuture) { + var past = { + s: 'muutama sekunti', + m: 'minuutti', + mm: '%d minuuttia', + h: 'tunti', + hh: '%d tuntia', + d: 'päivä', + dd: '%d päivää', + M: 'kuukausi', + MM: '%d kuukautta', + y: 'vuosi', + yy: '%d vuotta', + numbers: 'nolla_yksi_kaksi_kolme_neljä_viisi_kuusi_seitsemän_kahdeksan_yhdeksän'.split('_') + }; + var future = { + s: 'muutaman sekunnin', + m: 'minuutin', + mm: '%d minuutin', + h: 'tunnin', + hh: '%d tunnin', + d: 'päivän', + dd: '%d päivän', + M: 'kuukauden', + MM: '%d kuukauden', + y: 'vuoden', + yy: '%d vuoden', + numbers: 'nollan_yhden_kahden_kolmen_neljän_viiden_kuuden_seitsemän_kahdeksan_yhdeksän'.split('_') + }; + var words = isFuture && !withoutSuffix ? future : past; + var result = words[key]; + + if (number < 10) { + return result.replace('%d', words.numbers[number]); + } + + return result.replace('%d', number); +} + +var locale = { + name: 'fi', + // Finnish + weekdays: 'sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai'.split('_'), + // Note weekdays are not capitalized in Finnish + weekdaysShort: 'su_ma_ti_ke_to_pe_la'.split('_'), + // There is no short form of weekdays in Finnish except this 2 letter format so it is used for both 'weekdaysShort' and 'weekdaysMin' + weekdaysMin: 'su_ma_ti_ke_to_pe_la'.split('_'), + months: 'tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu'.split('_'), + // Note month names are not capitalized in Finnish + monthsShort: 'tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu'.split('_'), + ordinal: function ordinal(n) { + return n + "."; + }, + weekStart: 1, + yearStart: 4, + relativeTime: { + future: '%s päästä', + past: '%s sitten', + s: relativeTimeFormatter, + m: relativeTimeFormatter, + mm: relativeTimeFormatter, + h: relativeTimeFormatter, + hh: relativeTimeFormatter, + d: relativeTimeFormatter, + dd: relativeTimeFormatter, + M: relativeTimeFormatter, + MM: relativeTimeFormatter, + y: relativeTimeFormatter, + yy: relativeTimeFormatter + }, + formats: { + LT: 'HH.mm', + LTS: 'HH.mm.ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM[ta] YYYY', + LLL: 'D. MMMM[ta] YYYY, [klo] HH.mm', + LLLL: 'dddd, D. MMMM[ta] YYYY, [klo] HH.mm', + l: 'D.M.YYYY', + ll: 'D. MMM YYYY', + lll: 'D. MMM YYYY, [klo] HH.mm', + llll: 'ddd, D. MMM YYYY, [klo] HH.mm' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/fo.js b/node_modules/dayjs/esm/locale/fo.js new file mode 100644 index 0000000..07c3761 --- /dev/null +++ b/node_modules/dayjs/esm/locale/fo.js @@ -0,0 +1,39 @@ +// Faroese [fo] +import dayjs from '../index'; +var locale = { + name: 'fo', + weekdays: 'sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur'.split('_'), + months: 'januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember'.split('_'), + weekStart: 1, + weekdaysShort: 'sun_mán_týs_mik_hós_frí_ley'.split('_'), + monthsShort: 'jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'), + weekdaysMin: 'su_má_tý_mi_hó_fr_le'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D. MMMM, YYYY HH:mm' + }, + relativeTime: { + future: 'um %s', + past: '%s síðani', + s: 'fá sekund', + m: 'ein minuttur', + mm: '%d minuttir', + h: 'ein tími', + hh: '%d tímar', + d: 'ein dagur', + dd: '%d dagar', + M: 'ein mánaður', + MM: '%d mánaðir', + y: 'eitt ár', + yy: '%d ár' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/fr-ca.js b/node_modules/dayjs/esm/locale/fr-ca.js new file mode 100644 index 0000000..688d695 --- /dev/null +++ b/node_modules/dayjs/esm/locale/fr-ca.js @@ -0,0 +1,38 @@ +// French (Canada) [fr-ca] +import dayjs from '../index'; +var locale = { + name: 'fr-ca', + weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'), + months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split('_'), + weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'), + monthsShort: 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split('_'), + weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY-MM-DD', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm' + }, + relativeTime: { + future: 'dans %s', + past: 'il y a %s', + s: 'quelques secondes', + m: 'une minute', + mm: '%d minutes', + h: 'une heure', + hh: '%d heures', + d: 'un jour', + dd: '%d jours', + M: 'un mois', + MM: '%d mois', + y: 'un an', + yy: '%d ans' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/fr-ch.js b/node_modules/dayjs/esm/locale/fr-ch.js new file mode 100644 index 0000000..593dba8 --- /dev/null +++ b/node_modules/dayjs/esm/locale/fr-ch.js @@ -0,0 +1,39 @@ +// French (Switzerland) [fr-ch] +import dayjs from '../index'; +var locale = { + name: 'fr-ch', + weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'), + months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split('_'), + weekStart: 1, + weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'), + monthsShort: 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split('_'), + weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm' + }, + relativeTime: { + future: 'dans %s', + past: 'il y a %s', + s: 'quelques secondes', + m: 'une minute', + mm: '%d minutes', + h: 'une heure', + hh: '%d heures', + d: 'un jour', + dd: '%d jours', + M: 'un mois', + MM: '%d mois', + y: 'un an', + yy: '%d ans' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/fr.js b/node_modules/dayjs/esm/locale/fr.js new file mode 100644 index 0000000..b31c11d --- /dev/null +++ b/node_modules/dayjs/esm/locale/fr.js @@ -0,0 +1,41 @@ +// French [fr] +import dayjs from '../index'; +var locale = { + name: 'fr', + weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'), + weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'), + weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'), + months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split('_'), + monthsShort: 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split('_'), + weekStart: 1, + yearStart: 4, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm' + }, + relativeTime: { + future: 'dans %s', + past: 'il y a %s', + s: 'quelques secondes', + m: 'une minute', + mm: '%d minutes', + h: 'une heure', + hh: '%d heures', + d: 'un jour', + dd: '%d jours', + M: 'un mois', + MM: '%d mois', + y: 'un an', + yy: '%d ans' + }, + ordinal: function ordinal(n) { + var o = n === 1 ? 'er' : ''; + return "" + n + o; + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/fy.js b/node_modules/dayjs/esm/locale/fy.js new file mode 100644 index 0000000..4b9f9de --- /dev/null +++ b/node_modules/dayjs/esm/locale/fy.js @@ -0,0 +1,39 @@ +// Frisian [fy] +import dayjs from '../index'; +var locale = { + name: 'fy', + weekdays: 'snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon'.split('_'), + months: 'jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber'.split('_'), + monthsShort: 'jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.'.split('_'), + weekStart: 1, + weekdaysShort: 'si._mo._ti._wo._to._fr._so.'.split('_'), + weekdaysMin: 'Si_Mo_Ti_Wo_To_Fr_So'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD-MM-YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm' + }, + relativeTime: { + future: 'oer %s', + past: '%s lyn', + s: 'in pear sekonden', + m: 'ien minút', + mm: '%d minuten', + h: 'ien oere', + hh: '%d oeren', + d: 'ien dei', + dd: '%d dagen', + M: 'ien moanne', + MM: '%d moannen', + y: 'ien jier', + yy: '%d jierren' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/ga.js b/node_modules/dayjs/esm/locale/ga.js new file mode 100644 index 0000000..8cdfa9f --- /dev/null +++ b/node_modules/dayjs/esm/locale/ga.js @@ -0,0 +1,39 @@ +// Irish or Irish Gaelic [ga] +import dayjs from '../index'; +var locale = { + name: 'ga', + weekdays: 'Dé Domhnaigh_Dé Luain_Dé Máirt_Dé Céadaoin_Déardaoin_Dé hAoine_Dé Satharn'.split('_'), + months: 'Eanáir_Feabhra_Márta_Aibreán_Bealtaine_Méitheamh_Iúil_Lúnasa_Meán Fómhair_Deaireadh Fómhair_Samhain_Nollaig'.split('_'), + weekStart: 1, + weekdaysShort: 'Dom_Lua_Mái_Céa_Déa_hAo_Sat'.split('_'), + monthsShort: 'Eaná_Feab_Márt_Aibr_Beal_Méit_Iúil_Lúna_Meán_Deai_Samh_Noll'.split('_'), + weekdaysMin: 'Do_Lu_Má_Ce_Dé_hA_Sa'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm' + }, + relativeTime: { + future: 'i %s', + past: '%s ó shin', + s: 'cúpla soicind', + m: 'nóiméad', + mm: '%d nóiméad', + h: 'uair an chloig', + hh: '%d uair an chloig', + d: 'lá', + dd: '%d lá', + M: 'mí', + MM: '%d mí', + y: 'bliain', + yy: '%d bliain' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/gd.js b/node_modules/dayjs/esm/locale/gd.js new file mode 100644 index 0000000..fcf62cd --- /dev/null +++ b/node_modules/dayjs/esm/locale/gd.js @@ -0,0 +1,39 @@ +// Scottish Gaelic [gd] +import dayjs from '../index'; +var locale = { + name: 'gd', + weekdays: 'Didòmhnaich_Diluain_Dimàirt_Diciadain_Diardaoin_Dihaoine_Disathairne'.split('_'), + months: 'Am Faoilleach_An Gearran_Am Màrt_An Giblean_An Cèitean_An t-Ògmhios_An t-Iuchar_An Lùnastal_An t-Sultain_An Dàmhair_An t-Samhain_An Dùbhlachd'.split('_'), + weekStart: 1, + weekdaysShort: 'Did_Dil_Dim_Dic_Dia_Dih_Dis'.split('_'), + monthsShort: 'Faoi_Gear_Màrt_Gibl_Cèit_Ògmh_Iuch_Lùn_Sult_Dàmh_Samh_Dùbh'.split('_'), + weekdaysMin: 'Dò_Lu_Mà_Ci_Ar_Ha_Sa'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm' + }, + relativeTime: { + future: 'ann an %s', + past: 'bho chionn %s', + s: 'beagan diogan', + m: 'mionaid', + mm: '%d mionaidean', + h: 'uair', + hh: '%d uairean', + d: 'latha', + dd: '%d latha', + M: 'mìos', + MM: '%d mìosan', + y: 'bliadhna', + yy: '%d bliadhna' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/gl.js b/node_modules/dayjs/esm/locale/gl.js new file mode 100644 index 0000000..23d687f --- /dev/null +++ b/node_modules/dayjs/esm/locale/gl.js @@ -0,0 +1,39 @@ +// Galician [gl] +import dayjs from '../index'; +var locale = { + name: 'gl', + weekdays: 'domingo_luns_martes_mércores_xoves_venres_sábado'.split('_'), + months: 'xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro'.split('_'), + weekStart: 1, + weekdaysShort: 'dom._lun._mar._mér._xov._ven._sáb.'.split('_'), + monthsShort: 'xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.'.split('_'), + weekdaysMin: 'do_lu_ma_mé_xo_ve_sá'.split('_'), + ordinal: function ordinal(n) { + return n + "\xBA"; + }, + formats: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D [de] MMMM [de] YYYY', + LLL: 'D [de] MMMM [de] YYYY H:mm', + LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm' + }, + relativeTime: { + future: 'en %s', + past: 'fai %s', + s: 'uns segundos', + m: 'un minuto', + mm: '%d minutos', + h: 'unha hora', + hh: '%d horas', + d: 'un día', + dd: '%d días', + M: 'un mes', + MM: '%d meses', + y: 'un ano', + yy: '%d anos' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/gom-latn.js b/node_modules/dayjs/esm/locale/gom-latn.js new file mode 100644 index 0000000..d621f5b --- /dev/null +++ b/node_modules/dayjs/esm/locale/gom-latn.js @@ -0,0 +1,25 @@ +// Konkani Latin script [gom-latn] +import dayjs from '../index'; +var locale = { + name: 'gom-latn', + weekdays: "Aitar_Somar_Mongllar_Budvar_Brestar_Sukrar_Son'var".split('_'), + months: 'Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr'.split('_'), + weekStart: 1, + weekdaysShort: 'Ait._Som._Mon._Bud._Bre._Suk._Son.'.split('_'), + monthsShort: 'Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.'.split('_'), + weekdaysMin: 'Ai_Sm_Mo_Bu_Br_Su_Sn'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'A h:mm [vazta]', + LTS: 'A h:mm:ss [vazta]', + L: 'DD-MM-YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY A h:mm [vazta]', + LLLL: 'dddd, MMMM[achea] Do, YYYY, A h:mm [vazta]', + llll: 'ddd, D MMM YYYY, A h:mm [vazta]' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/gu.js b/node_modules/dayjs/esm/locale/gu.js new file mode 100644 index 0000000..e05f44b --- /dev/null +++ b/node_modules/dayjs/esm/locale/gu.js @@ -0,0 +1,38 @@ +// Gujarati [gu] +import dayjs from '../index'; +var locale = { + name: 'gu', + weekdays: 'રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર'.split('_'), + months: 'જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર'.split('_'), + weekdaysShort: 'રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ'.split('_'), + monthsShort: 'જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.'.split('_'), + weekdaysMin: 'ર_સો_મં_બુ_ગુ_શુ_શ'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'A h:mm વાગ્યે', + LTS: 'A h:mm:ss વાગ્યે', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, A h:mm વાગ્યે', + LLLL: 'dddd, D MMMM YYYY, A h:mm વાગ્યે' + }, + relativeTime: { + future: '%s મા', + past: '%s પેહલા', + s: 'અમુક પળો', + m: 'એક મિનિટ', + mm: '%d મિનિટ', + h: 'એક કલાક', + hh: '%d કલાક', + d: 'એક દિવસ', + dd: '%d દિવસ', + M: 'એક મહિનો', + MM: '%d મહિનો', + y: 'એક વર્ષ', + yy: '%d વર્ષ' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/he.js b/node_modules/dayjs/esm/locale/he.js new file mode 100644 index 0000000..a8868ff --- /dev/null +++ b/node_modules/dayjs/esm/locale/he.js @@ -0,0 +1,78 @@ +// Hebrew [he] +import dayjs from '../index'; +var texts = { + s: 'מספר שניות', + ss: '%d שניות', + m: 'דקה', + mm: '%d דקות', + h: 'שעה', + hh: '%d שעות', + hh2: 'שעתיים', + d: 'יום', + dd: '%d ימים', + dd2: 'יומיים', + M: 'חודש', + MM: '%d חודשים', + MM2: 'חודשיים', + y: 'שנה', + yy: '%d שנים', + yy2: 'שנתיים' +}; + +function relativeTimeFormatter(number, withoutSuffix, key) { + var text = texts[key + (number === 2 ? '2' : '')] || texts[key]; + return text.replace('%d', number); +} + +var locale = { + name: 'he', + weekdays: 'ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת'.split('_'), + weekdaysShort: 'א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳'.split('_'), + weekdaysMin: 'א׳_ב׳_ג׳_ד׳_ה׳_ו_ש׳'.split('_'), + months: 'ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר'.split('_'), + monthsShort: 'ינו_פבר_מרץ_אפר_מאי_יונ_יול_אוג_ספט_אוק_נוב_דצמ'.split('_'), + relativeTime: { + future: 'בעוד %s', + past: 'לפני %s', + s: relativeTimeFormatter, + m: relativeTimeFormatter, + mm: relativeTimeFormatter, + h: relativeTimeFormatter, + hh: relativeTimeFormatter, + d: relativeTimeFormatter, + dd: relativeTimeFormatter, + M: relativeTimeFormatter, + MM: relativeTimeFormatter, + y: relativeTimeFormatter, + yy: relativeTimeFormatter + }, + ordinal: function ordinal(n) { + return n; + }, + format: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D [ב]MMMM YYYY', + LLL: 'D [ב]MMMM YYYY HH:mm', + LLLL: 'dddd, D [ב]MMMM YYYY HH:mm', + l: 'D/M/YYYY', + ll: 'D MMM YYYY', + lll: 'D MMM YYYY HH:mm', + llll: 'ddd, D MMM YYYY HH:mm' + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D [ב]MMMM YYYY', + LLL: 'D [ב]MMMM YYYY HH:mm', + LLLL: 'dddd, D [ב]MMMM YYYY HH:mm', + l: 'D/M/YYYY', + ll: 'D MMM YYYY', + lll: 'D MMM YYYY HH:mm', + llll: 'ddd, D MMM YYYY HH:mm' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/hi.js b/node_modules/dayjs/esm/locale/hi.js new file mode 100644 index 0000000..e877ed6 --- /dev/null +++ b/node_modules/dayjs/esm/locale/hi.js @@ -0,0 +1,38 @@ +// Hindi [hi] +import dayjs from '../index'; +var locale = { + name: 'hi', + weekdays: 'रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार'.split('_'), + months: 'जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर'.split('_'), + weekdaysShort: 'रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि'.split('_'), + monthsShort: 'जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.'.split('_'), + weekdaysMin: 'र_सो_मं_बु_गु_शु_श'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'A h:mm बजे', + LTS: 'A h:mm:ss बजे', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, A h:mm बजे', + LLLL: 'dddd, D MMMM YYYY, A h:mm बजे' + }, + relativeTime: { + future: '%s में', + past: '%s पहले', + s: 'कुछ ही क्षण', + m: 'एक मिनट', + mm: '%d मिनट', + h: 'एक घंटा', + hh: '%d घंटे', + d: 'एक दिन', + dd: '%d दिन', + M: 'एक महीने', + MM: '%d महीने', + y: 'एक वर्ष', + yy: '%d वर्ष' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/hr.js b/node_modules/dayjs/esm/locale/hr.js new file mode 100644 index 0000000..a760fe3 --- /dev/null +++ b/node_modules/dayjs/esm/locale/hr.js @@ -0,0 +1,53 @@ +// Croatian [hr] +import dayjs from '../index'; +var monthFormat = 'siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca'.split('_'); +var monthStandalone = 'siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac'.split('_'); +var MONTHS_IN_FORMAT = /D[oD]?(\[[^[\]]*\]|\s)+MMMM?/; + +var months = function months(dayjsInstance, format) { + if (MONTHS_IN_FORMAT.test(format)) { + return monthFormat[dayjsInstance.month()]; + } + + return monthStandalone[dayjsInstance.month()]; +}; + +months.s = monthStandalone; +months.f = monthFormat; +var locale = { + name: 'hr', + weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split('_'), + weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'), + weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'), + months: months, + monthsShort: 'sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.'.split('_'), + weekStart: 1, + formats: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY H:mm', + LLLL: 'dddd, D. MMMM YYYY H:mm' + }, + relativeTime: { + future: 'za %s', + past: 'prije %s', + s: 'sekunda', + m: 'minuta', + mm: '%d minuta', + h: 'sat', + hh: '%d sati', + d: 'dan', + dd: '%d dana', + M: 'mjesec', + MM: '%d mjeseci', + y: 'godina', + yy: '%d godine' + }, + ordinal: function ordinal(n) { + return n + "."; + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/ht.js b/node_modules/dayjs/esm/locale/ht.js new file mode 100644 index 0000000..896739e --- /dev/null +++ b/node_modules/dayjs/esm/locale/ht.js @@ -0,0 +1,38 @@ +// Haitian Creole (Haiti) [ht] +import dayjs from '../index'; +var locale = { + name: 'ht', + weekdays: 'dimanch_lendi_madi_mèkredi_jedi_vandredi_samdi'.split('_'), + months: 'janvye_fevriye_mas_avril_me_jen_jiyè_out_septanm_oktòb_novanm_desanm'.split('_'), + weekdaysShort: 'dim._len._mad._mèk._jed._van._sam.'.split('_'), + monthsShort: 'jan._fev._mas_avr._me_jen_jiyè._out_sept._okt._nov._des.'.split('_'), + weekdaysMin: 'di_le_ma_mè_je_va_sa'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm' + }, + relativeTime: { + future: 'nan %s', + past: 'sa gen %s', + s: 'kèk segond', + m: 'yon minit', + mm: '%d minit', + h: 'inèdtan', + hh: '%d zè', + d: 'yon jou', + dd: '%d jou', + M: 'yon mwa', + MM: '%d mwa', + y: 'yon ane', + yy: '%d ane' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/hu.js b/node_modules/dayjs/esm/locale/hu.js new file mode 100644 index 0000000..18df6e4 --- /dev/null +++ b/node_modules/dayjs/esm/locale/hu.js @@ -0,0 +1,61 @@ +// Hungarian [hu] +import dayjs from '../index'; +var locale = { + name: 'hu', + weekdays: 'vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat'.split('_'), + weekdaysShort: 'vas_hét_kedd_sze_csüt_pén_szo'.split('_'), + weekdaysMin: 'v_h_k_sze_cs_p_szo'.split('_'), + months: 'január_február_március_április_május_június_július_augusztus_szeptember_október_november_december'.split('_'), + monthsShort: 'jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec'.split('_'), + ordinal: function ordinal(n) { + return n + "."; + }, + weekStart: 1, + relativeTime: { + future: '%s múlva', + past: '%s', + s: function s(_, _s, ___, isFuture) { + return "n\xE9h\xE1ny m\xE1sodperc" + (isFuture || _s ? '' : 'e'); + }, + m: function m(_, s, ___, isFuture) { + return "egy perc" + (isFuture || s ? '' : 'e'); + }, + mm: function mm(n, s, ___, isFuture) { + return n + " perc" + (isFuture || s ? '' : 'e'); + }, + h: function h(_, s, ___, isFuture) { + return "egy " + (isFuture || s ? 'óra' : 'órája'); + }, + hh: function hh(n, s, ___, isFuture) { + return n + " " + (isFuture || s ? 'óra' : 'órája'); + }, + d: function d(_, s, ___, isFuture) { + return "egy " + (isFuture || s ? 'nap' : 'napja'); + }, + dd: function dd(n, s, ___, isFuture) { + return n + " " + (isFuture || s ? 'nap' : 'napja'); + }, + M: function M(_, s, ___, isFuture) { + return "egy " + (isFuture || s ? 'hónap' : 'hónapja'); + }, + MM: function MM(n, s, ___, isFuture) { + return n + " " + (isFuture || s ? 'hónap' : 'hónapja'); + }, + y: function y(_, s, ___, isFuture) { + return "egy " + (isFuture || s ? 'év' : 'éve'); + }, + yy: function yy(n, s, ___, isFuture) { + return n + " " + (isFuture || s ? 'év' : 'éve'); + } + }, + formats: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'YYYY.MM.DD.', + LL: 'YYYY. MMMM D.', + LLL: 'YYYY. MMMM D. H:mm', + LLLL: 'YYYY. MMMM D., dddd H:mm' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/hy-am.js b/node_modules/dayjs/esm/locale/hy-am.js new file mode 100644 index 0000000..937f2be --- /dev/null +++ b/node_modules/dayjs/esm/locale/hy-am.js @@ -0,0 +1,39 @@ +// Armenian [hy-am] +import dayjs from '../index'; +var locale = { + name: 'hy-am', + weekdays: 'կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ'.split('_'), + months: 'հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի'.split('_'), + weekStart: 1, + weekdaysShort: 'կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ'.split('_'), + monthsShort: 'հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ'.split('_'), + weekdaysMin: 'կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY թ.', + LLL: 'D MMMM YYYY թ., HH:mm', + LLLL: 'dddd, D MMMM YYYY թ., HH:mm' + }, + relativeTime: { + future: '%s հետո', + past: '%s առաջ', + s: 'մի քանի վայրկյան', + m: 'րոպե', + mm: '%d րոպե', + h: 'ժամ', + hh: '%d ժամ', + d: 'օր', + dd: '%d օր', + M: 'ամիս', + MM: '%d ամիս', + y: 'տարի', + yy: '%d տարի' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/id.js b/node_modules/dayjs/esm/locale/id.js new file mode 100644 index 0000000..f743a12 --- /dev/null +++ b/node_modules/dayjs/esm/locale/id.js @@ -0,0 +1,39 @@ +// Indonesian [id] +import dayjs from '../index'; +var locale = { + name: 'id', + weekdays: 'Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu'.split('_'), + months: 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember'.split('_'), + weekdaysShort: 'Min_Sen_Sel_Rab_Kam_Jum_Sab'.split('_'), + monthsShort: 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des'.split('_'), + weekdaysMin: 'Mg_Sn_Sl_Rb_Km_Jm_Sb'.split('_'), + weekStart: 1, + formats: { + LT: 'HH.mm', + LTS: 'HH.mm.ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY [pukul] HH.mm', + LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm' + }, + relativeTime: { + future: 'dalam %s', + past: '%s yang lalu', + s: 'beberapa detik', + m: 'semenit', + mm: '%d menit', + h: 'sejam', + hh: '%d jam', + d: 'sehari', + dd: '%d hari', + M: 'sebulan', + MM: '%d bulan', + y: 'setahun', + yy: '%d tahun' + }, + ordinal: function ordinal(n) { + return n + "."; + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/index.d.ts b/node_modules/dayjs/esm/locale/index.d.ts new file mode 100644 index 0000000..beb0d36 --- /dev/null +++ b/node_modules/dayjs/esm/locale/index.d.ts @@ -0,0 +1,11 @@ +/// + +declare module 'dayjs/esm/locale/*' { + namespace locale { + interface Locale extends ILocale {} + } + + const locale: locale.Locale + + export = locale +} diff --git a/node_modules/dayjs/esm/locale/is.js b/node_modules/dayjs/esm/locale/is.js new file mode 100644 index 0000000..22d8121 --- /dev/null +++ b/node_modules/dayjs/esm/locale/is.js @@ -0,0 +1,68 @@ +// Icelandic [is] +import dayjs from '../index'; +var texts = { + s: ['nokkrar sekúndur', 'nokkrar sekúndur', 'nokkrum sekúndum'], + m: ['mínúta', 'mínútu', 'mínútu'], + mm: ['mínútur', 'mínútur', 'mínútum'], + h: ['klukkustund', 'klukkustund', 'klukkustund'], + hh: ['klukkustundir', 'klukkustundir', 'klukkustundum'], + d: ['dagur', 'dag', 'degi'], + dd: ['dagar', 'daga', 'dögum'], + M: ['mánuður', 'mánuð', 'mánuði'], + MM: ['mánuðir', 'mánuði', 'mánuðum'], + y: ['ár', 'ár', 'ári'], + yy: ['ár', 'ár', 'árum'] +}; + +function resolveTemplate(key, number, isFuture, withoutSuffix) { + var suffixIndex = isFuture ? 1 : 2; + var index = withoutSuffix ? 0 : suffixIndex; + var keyShouldBeSingular = key.length === 2 && number % 10 === 1; + var correctedKey = keyShouldBeSingular ? key[0] : key; + var unitText = texts[correctedKey]; + var text = unitText[index]; + return key.length === 1 ? text : "%d " + text; +} + +function relativeTimeFormatter(number, withoutSuffix, key, isFuture) { + var template = resolveTemplate(key, number, isFuture, withoutSuffix); + return template.replace('%d', number); +} + +var locale = { + name: 'is', + weekdays: 'sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur'.split('_'), + months: 'janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember'.split('_'), + weekStart: 1, + weekdaysShort: 'sun_mán_þri_mið_fim_fös_lau'.split('_'), + monthsShort: 'jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des'.split('_'), + weekdaysMin: 'Su_Má_Þr_Mi_Fi_Fö_La'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY [kl.] H:mm', + LLLL: 'dddd, D. MMMM YYYY [kl.] H:mm' + }, + relativeTime: { + future: 'eftir %s', + past: 'fyrir %s síðan', + s: relativeTimeFormatter, + m: relativeTimeFormatter, + mm: relativeTimeFormatter, + h: relativeTimeFormatter, + hh: relativeTimeFormatter, + d: relativeTimeFormatter, + dd: relativeTimeFormatter, + M: relativeTimeFormatter, + MM: relativeTimeFormatter, + y: relativeTimeFormatter, + yy: relativeTimeFormatter + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/it-ch.js b/node_modules/dayjs/esm/locale/it-ch.js new file mode 100644 index 0000000..cfbb94d --- /dev/null +++ b/node_modules/dayjs/esm/locale/it-ch.js @@ -0,0 +1,39 @@ +// Italian (Switzerland) [it-ch] +import dayjs from '../index'; +var locale = { + name: 'it-ch', + weekdays: 'domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato'.split('_'), + months: 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split('_'), + weekStart: 1, + weekdaysShort: 'dom_lun_mar_mer_gio_ven_sab'.split('_'), + monthsShort: 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split('_'), + weekdaysMin: 'do_lu_ma_me_gi_ve_sa'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm' + }, + relativeTime: { + future: 'tra %s', + past: '%s fa', + s: 'alcuni secondi', + m: 'un minuto', + mm: '%d minuti', + h: 'un\'ora', + hh: '%d ore', + d: 'un giorno', + dd: '%d giorni', + M: 'un mese', + MM: '%d mesi', + y: 'un anno', + yy: '%d anni' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/it.js b/node_modules/dayjs/esm/locale/it.js new file mode 100644 index 0000000..e8d2490 --- /dev/null +++ b/node_modules/dayjs/esm/locale/it.js @@ -0,0 +1,39 @@ +// Italian [it] +import dayjs from '../index'; +var locale = { + name: 'it', + weekdays: 'domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato'.split('_'), + weekdaysShort: 'dom_lun_mar_mer_gio_ven_sab'.split('_'), + weekdaysMin: 'do_lu_ma_me_gi_ve_sa'.split('_'), + months: 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split('_'), + weekStart: 1, + monthsShort: 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split('_'), + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm' + }, + relativeTime: { + future: 'tra %s', + past: '%s fa', + s: 'qualche secondo', + m: 'un minuto', + mm: '%d minuti', + h: 'un\' ora', + hh: '%d ore', + d: 'un giorno', + dd: '%d giorni', + M: 'un mese', + MM: '%d mesi', + y: 'un anno', + yy: '%d anni' + }, + ordinal: function ordinal(n) { + return n + "\xBA"; + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/ja.js b/node_modules/dayjs/esm/locale/ja.js new file mode 100644 index 0000000..6568e13 --- /dev/null +++ b/node_modules/dayjs/esm/locale/ja.js @@ -0,0 +1,45 @@ +// Japanese [ja] +import dayjs from '../index'; +var locale = { + name: 'ja', + weekdays: '日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日'.split('_'), + weekdaysShort: '日_月_火_水_木_金_土'.split('_'), + weekdaysMin: '日_月_火_水_木_金_土'.split('_'), + months: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'), + monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'), + ordinal: function ordinal(n) { + return n + "\u65E5"; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY/MM/DD', + LL: 'YYYY年M月D日', + LLL: 'YYYY年M月D日 HH:mm', + LLLL: 'YYYY年M月D日 dddd HH:mm', + l: 'YYYY/MM/DD', + ll: 'YYYY年M月D日', + lll: 'YYYY年M月D日 HH:mm', + llll: 'YYYY年M月D日(ddd) HH:mm' + }, + meridiem: function meridiem(hour) { + return hour < 12 ? '午前' : '午後'; + }, + relativeTime: { + future: '%s後', + past: '%s前', + s: '数秒', + m: '1分', + mm: '%d分', + h: '1時間', + hh: '%d時間', + d: '1日', + dd: '%d日', + M: '1ヶ月', + MM: '%dヶ月', + y: '1年', + yy: '%d年' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/jv.js b/node_modules/dayjs/esm/locale/jv.js new file mode 100644 index 0000000..81a3f66 --- /dev/null +++ b/node_modules/dayjs/esm/locale/jv.js @@ -0,0 +1,39 @@ +// Javanese [jv] +import dayjs from '../index'; +var locale = { + name: 'jv', + weekdays: 'Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu'.split('_'), + months: 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember'.split('_'), + weekStart: 1, + weekdaysShort: 'Min_Sen_Sel_Reb_Kem_Jem_Sep'.split('_'), + monthsShort: 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des'.split('_'), + weekdaysMin: 'Mg_Sn_Sl_Rb_Km_Jm_Sp'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH.mm', + LTS: 'HH.mm.ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY [pukul] HH.mm', + LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm' + }, + relativeTime: { + future: 'wonten ing %s', + past: '%s ingkang kepengker', + s: 'sawetawis detik', + m: 'setunggal menit', + mm: '%d menit', + h: 'setunggal jam', + hh: '%d jam', + d: 'sedinten', + dd: '%d dinten', + M: 'sewulan', + MM: '%d wulan', + y: 'setaun', + yy: '%d taun' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/ka.js b/node_modules/dayjs/esm/locale/ka.js new file mode 100644 index 0000000..381fffa --- /dev/null +++ b/node_modules/dayjs/esm/locale/ka.js @@ -0,0 +1,39 @@ +// Georgian [ka] +import dayjs from '../index'; +var locale = { + name: 'ka', + weekdays: 'კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი'.split('_'), + weekdaysShort: 'კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ'.split('_'), + weekdaysMin: 'კვ_ორ_სა_ოთ_ხუ_პა_შა'.split('_'), + months: 'იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი'.split('_'), + monthsShort: 'იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ'.split('_'), + weekStart: 1, + formats: { + LT: 'h:mm A', + LTS: 'h:mm:ss A', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY h:mm A', + LLLL: 'dddd, D MMMM YYYY h:mm A' + }, + relativeTime: { + future: '%s შემდეგ', + past: '%s წინ', + s: 'წამი', + m: 'წუთი', + mm: '%d წუთი', + h: 'საათი', + hh: '%d საათის', + d: 'დღეს', + dd: '%d დღის განმავლობაში', + M: 'თვის', + MM: '%d თვის', + y: 'წელი', + yy: '%d წლის' + }, + ordinal: function ordinal(n) { + return n; + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/kk.js b/node_modules/dayjs/esm/locale/kk.js new file mode 100644 index 0000000..f2ca045 --- /dev/null +++ b/node_modules/dayjs/esm/locale/kk.js @@ -0,0 +1,39 @@ +// Kazakh [kk] +import dayjs from '../index'; +var locale = { + name: 'kk', + weekdays: 'жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі'.split('_'), + weekdaysShort: 'жек_дүй_сей_сәр_бей_жұм_сен'.split('_'), + weekdaysMin: 'жк_дй_сй_ср_бй_жм_сн'.split('_'), + months: 'қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан'.split('_'), + monthsShort: 'қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел'.split('_'), + weekStart: 1, + relativeTime: { + future: '%s ішінде', + past: '%s бұрын', + s: 'бірнеше секунд', + m: 'бір минут', + mm: '%d минут', + h: 'бір сағат', + hh: '%d сағат', + d: 'бір күн', + dd: '%d күн', + M: 'бір ай', + MM: '%d ай', + y: 'бір жыл', + yy: '%d жыл' + }, + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/km.js b/node_modules/dayjs/esm/locale/km.js new file mode 100644 index 0000000..7fd185b --- /dev/null +++ b/node_modules/dayjs/esm/locale/km.js @@ -0,0 +1,39 @@ +// Cambodian [km] +import dayjs from '../index'; +var locale = { + name: 'km', + weekdays: 'អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍'.split('_'), + months: 'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split('_'), + weekStart: 1, + weekdaysShort: 'អា_ច_អ_ព_ព្រ_សុ_ស'.split('_'), + monthsShort: 'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split('_'), + weekdaysMin: 'អា_ច_អ_ព_ព្រ_សុ_ស'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm' + }, + relativeTime: { + future: '%sទៀត', + past: '%sមុន', + s: 'ប៉ុន្មានវិនាទី', + m: 'មួយនាទី', + mm: '%d នាទី', + h: 'មួយម៉ោង', + hh: '%d ម៉ោង', + d: 'មួយថ្ងៃ', + dd: '%d ថ្ងៃ', + M: 'មួយខែ', + MM: '%d ខែ', + y: 'មួយឆ្នាំ', + yy: '%d ឆ្នាំ' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/kn.js b/node_modules/dayjs/esm/locale/kn.js new file mode 100644 index 0000000..b9ca9b9 --- /dev/null +++ b/node_modules/dayjs/esm/locale/kn.js @@ -0,0 +1,38 @@ +// Kannada [kn] +import dayjs from '../index'; +var locale = { + name: 'kn', + weekdays: 'ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ'.split('_'), + months: 'ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್'.split('_'), + weekdaysShort: 'ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ'.split('_'), + monthsShort: 'ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ'.split('_'), + weekdaysMin: 'ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'A h:mm', + LTS: 'A h:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, A h:mm', + LLLL: 'dddd, D MMMM YYYY, A h:mm' + }, + relativeTime: { + future: '%s ನಂತರ', + past: '%s ಹಿಂದೆ', + s: 'ಕೆಲವು ಕ್ಷಣಗಳು', + m: 'ಒಂದು ನಿಮಿಷ', + mm: '%d ನಿಮಿಷ', + h: 'ಒಂದು ಗಂಟೆ', + hh: '%d ಗಂಟೆ', + d: 'ಒಂದು ದಿನ', + dd: '%d ದಿನ', + M: 'ಒಂದು ತಿಂಗಳು', + MM: '%d ತಿಂಗಳು', + y: 'ಒಂದು ವರ್ಷ', + yy: '%d ವರ್ಷ' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/ko.js b/node_modules/dayjs/esm/locale/ko.js new file mode 100644 index 0000000..cfad49d --- /dev/null +++ b/node_modules/dayjs/esm/locale/ko.js @@ -0,0 +1,45 @@ +// Korean [ko] +import dayjs from '../index'; +var locale = { + name: 'ko', + weekdays: '일요일_월요일_화요일_수요일_목요일_금요일_토요일'.split('_'), + weekdaysShort: '일_월_화_수_목_금_토'.split('_'), + weekdaysMin: '일_월_화_수_목_금_토'.split('_'), + months: '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split('_'), + monthsShort: '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split('_'), + ordinal: function ordinal(n) { + return n + "\uC77C"; + }, + formats: { + LT: 'A h:mm', + LTS: 'A h:mm:ss', + L: 'YYYY.MM.DD.', + LL: 'YYYY년 MMMM D일', + LLL: 'YYYY년 MMMM D일 A h:mm', + LLLL: 'YYYY년 MMMM D일 dddd A h:mm', + l: 'YYYY.MM.DD.', + ll: 'YYYY년 MMMM D일', + lll: 'YYYY년 MMMM D일 A h:mm', + llll: 'YYYY년 MMMM D일 dddd A h:mm' + }, + meridiem: function meridiem(hour) { + return hour < 12 ? '오전' : '오후'; + }, + relativeTime: { + future: '%s 후', + past: '%s 전', + s: '몇 초', + m: '1분', + mm: '%d분', + h: '한 시간', + hh: '%d시간', + d: '하루', + dd: '%d일', + M: '한 달', + MM: '%d달', + y: '일 년', + yy: '%d년' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/ku.js b/node_modules/dayjs/esm/locale/ku.js new file mode 100644 index 0000000..e56664e --- /dev/null +++ b/node_modules/dayjs/esm/locale/ku.js @@ -0,0 +1,77 @@ +// Kurdish [ku] +import dayjs from '../index'; +export var englishToArabicNumbersMap = { + 1: '١', + 2: '٢', + 3: '٣', + 4: '٤', + 5: '٥', + 6: '٦', + 7: '٧', + 8: '٨', + 9: '٩', + 0: '٠' +}; +var arabicToEnglishNumbersMap = { + '١': '1', + '٢': '2', + '٣': '3', + '٤': '4', + '٥': '5', + '٦': '6', + '٧': '7', + '٨': '8', + '٩': '9', + '٠': '0' +}; +var months = ['کانوونی دووەم', 'شوبات', 'ئادار', 'نیسان', 'ئایار', 'حوزەیران', 'تەممووز', 'ئاب', 'ئەیلوول', 'تشرینی یەکەم', 'تشرینی دووەم', 'کانوونی یەکەم']; +var locale = { + name: 'ku', + months: months, + monthsShort: months, + weekdays: 'یەکشەممە_دووشەممە_سێشەممە_چوارشەممە_پێنجشەممە_هەینی_شەممە'.split('_'), + weekdaysShort: 'یەکشەم_دووشەم_سێشەم_چوارشەم_پێنجشەم_هەینی_شەممە'.split('_'), + weekStart: 6, + weekdaysMin: 'ی_د_س_چ_پ_هـ_ش'.split('_'), + preparse: function preparse(string) { + return string.replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) { + return arabicToEnglishNumbersMap[match]; + }).replace(/،/g, ','); + }, + postformat: function postformat(string) { + return string.replace(/\d/g, function (match) { + return englishToArabicNumbersMap[match]; + }).replace(/,/g, '،'); + }, + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm' + }, + meridiem: function meridiem(hour) { + return hour < 12 ? 'پ.ن' : 'د.ن'; + }, + relativeTime: { + future: 'لە %s', + past: 'لەمەوپێش %s', + s: 'چەند چرکەیەک', + m: 'یەک خولەک', + mm: '%d خولەک', + h: 'یەک کاتژمێر', + hh: '%d کاتژمێر', + d: 'یەک ڕۆژ', + dd: '%d ڕۆژ', + M: 'یەک مانگ', + MM: '%d مانگ', + y: 'یەک ساڵ', + yy: '%d ساڵ' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/ky.js b/node_modules/dayjs/esm/locale/ky.js new file mode 100644 index 0000000..fd04477 --- /dev/null +++ b/node_modules/dayjs/esm/locale/ky.js @@ -0,0 +1,39 @@ +// Kyrgyz [ky] +import dayjs from '../index'; +var locale = { + name: 'ky', + weekdays: 'Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби'.split('_'), + months: 'январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь'.split('_'), + weekStart: 1, + weekdaysShort: 'Жек_Дүй_Шей_Шар_Бей_Жум_Ише'.split('_'), + monthsShort: 'янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек'.split('_'), + weekdaysMin: 'Жк_Дй_Шй_Шр_Бй_Жм_Иш'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm' + }, + relativeTime: { + future: '%s ичинде', + past: '%s мурун', + s: 'бирнече секунд', + m: 'бир мүнөт', + mm: '%d мүнөт', + h: 'бир саат', + hh: '%d саат', + d: 'бир күн', + dd: '%d күн', + M: 'бир ай', + MM: '%d ай', + y: 'бир жыл', + yy: '%d жыл' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/lb.js b/node_modules/dayjs/esm/locale/lb.js new file mode 100644 index 0000000..21ef4aa --- /dev/null +++ b/node_modules/dayjs/esm/locale/lb.js @@ -0,0 +1,24 @@ +// Luxembourgish [lb] +import dayjs from '../index'; +var locale = { + name: 'lb', + weekdays: 'Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg'.split('_'), + months: 'Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'), + weekStart: 1, + weekdaysShort: 'So._Mé._Dë._Më._Do._Fr._Sa.'.split('_'), + monthsShort: 'Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.'.split('_'), + weekdaysMin: 'So_Mé_Dë_Më_Do_Fr_Sa'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'H:mm [Auer]', + LTS: 'H:mm:ss [Auer]', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY H:mm [Auer]', + LLLL: 'dddd, D. MMMM YYYY H:mm [Auer]' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/lo.js b/node_modules/dayjs/esm/locale/lo.js new file mode 100644 index 0000000..7732ec4 --- /dev/null +++ b/node_modules/dayjs/esm/locale/lo.js @@ -0,0 +1,38 @@ +// Lao [lo] +import dayjs from '../index'; +var locale = { + name: 'lo', + weekdays: 'ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ'.split('_'), + months: 'ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ'.split('_'), + weekdaysShort: 'ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ'.split('_'), + monthsShort: 'ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ'.split('_'), + weekdaysMin: 'ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'ວັນdddd D MMMM YYYY HH:mm' + }, + relativeTime: { + future: 'ອີກ %s', + past: '%sຜ່ານມາ', + s: 'ບໍ່ເທົ່າໃດວິນາທີ', + m: '1 ນາທີ', + mm: '%d ນາທີ', + h: '1 ຊົ່ວໂມງ', + hh: '%d ຊົ່ວໂມງ', + d: '1 ມື້', + dd: '%d ມື້', + M: '1 ເດືອນ', + MM: '%d ເດືອນ', + y: '1 ປີ', + yy: '%d ປີ' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/lt.js b/node_modules/dayjs/esm/locale/lt.js new file mode 100644 index 0000000..cb46ca9 --- /dev/null +++ b/node_modules/dayjs/esm/locale/lt.js @@ -0,0 +1,70 @@ +// Lithuanian [lt] +import dayjs from '../index'; +var monthFormat = 'sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio'.split('_'); +var monthStandalone = 'sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis'.split('_'); // eslint-disable-next-line no-useless-escape + +var MONTHS_IN_FORMAT = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/; + +var months = function months(dayjsInstance, format) { + if (MONTHS_IN_FORMAT.test(format)) { + return monthFormat[dayjsInstance.month()]; + } + + return monthStandalone[dayjsInstance.month()]; +}; + +months.s = monthStandalone; +months.f = monthFormat; +var locale = { + name: 'lt', + weekdays: 'sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis'.split('_'), + weekdaysShort: 'sek_pir_ant_tre_ket_pen_šeš'.split('_'), + weekdaysMin: 's_p_a_t_k_pn_š'.split('_'), + months: months, + monthsShort: 'sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd'.split('_'), + ordinal: function ordinal(n) { + return n + "."; + }, + weekStart: 1, + relativeTime: { + future: 'už %s', + past: 'prieš %s', + s: 'kelias sekundes', + m: 'minutę', + mm: '%d minutes', + h: 'valandą', + hh: '%d valandas', + d: 'dieną', + dd: '%d dienas', + M: 'mėnesį', + MM: '%d mėnesius', + y: 'metus', + yy: '%d metus' + }, + format: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY-MM-DD', + LL: 'YYYY [m.] MMMM D [d.]', + LLL: 'YYYY [m.] MMMM D [d.], HH:mm [val.]', + LLLL: 'YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]', + l: 'YYYY-MM-DD', + ll: 'YYYY [m.] MMMM D [d.]', + lll: 'YYYY [m.] MMMM D [d.], HH:mm [val.]', + llll: 'YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]' + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY-MM-DD', + LL: 'YYYY [m.] MMMM D [d.]', + LLL: 'YYYY [m.] MMMM D [d.], HH:mm [val.]', + LLLL: 'YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]', + l: 'YYYY-MM-DD', + ll: 'YYYY [m.] MMMM D [d.]', + lll: 'YYYY [m.] MMMM D [d.], HH:mm [val.]', + llll: 'YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/lv.js b/node_modules/dayjs/esm/locale/lv.js new file mode 100644 index 0000000..4b18a61 --- /dev/null +++ b/node_modules/dayjs/esm/locale/lv.js @@ -0,0 +1,39 @@ +// Latvian [lv] +import dayjs from '../index'; +var locale = { + name: 'lv', + weekdays: 'svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena'.split('_'), + months: 'janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris'.split('_'), + weekStart: 1, + weekdaysShort: 'Sv_P_O_T_C_Pk_S'.split('_'), + monthsShort: 'jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec'.split('_'), + weekdaysMin: 'Sv_P_O_T_C_Pk_S'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY.', + LL: 'YYYY. [gada] D. MMMM', + LLL: 'YYYY. [gada] D. MMMM, HH:mm', + LLLL: 'YYYY. [gada] D. MMMM, dddd, HH:mm' + }, + relativeTime: { + future: 'pēc %s', + past: 'pirms %s', + s: 'dažām sekundēm', + m: 'minūtes', + mm: '%d minūtēm', + h: 'stundas', + hh: '%d stundām', + d: 'dienas', + dd: '%d dienām', + M: 'mēneša', + MM: '%d mēnešiem', + y: 'gada', + yy: '%d gadiem' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/me.js b/node_modules/dayjs/esm/locale/me.js new file mode 100644 index 0000000..465c0ff --- /dev/null +++ b/node_modules/dayjs/esm/locale/me.js @@ -0,0 +1,24 @@ +// Montenegrin [me] +import dayjs from '../index'; +var locale = { + name: 'me', + weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split('_'), + months: 'januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar'.split('_'), + weekStart: 1, + weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'), + monthsShort: 'jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.'.split('_'), + weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY H:mm', + LLLL: 'dddd, D. MMMM YYYY H:mm' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/mi.js b/node_modules/dayjs/esm/locale/mi.js new file mode 100644 index 0000000..3b56f0e --- /dev/null +++ b/node_modules/dayjs/esm/locale/mi.js @@ -0,0 +1,39 @@ +// Maori [mi] +import dayjs from '../index'; +var locale = { + name: 'mi', + weekdays: 'Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei'.split('_'), + months: 'Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea'.split('_'), + weekStart: 1, + weekdaysShort: 'Ta_Ma_Tū_We_Tāi_Pa_Hā'.split('_'), + monthsShort: 'Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki'.split('_'), + weekdaysMin: 'Ta_Ma_Tū_We_Tāi_Pa_Hā'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY [i] HH:mm', + LLLL: 'dddd, D MMMM YYYY [i] HH:mm' + }, + relativeTime: { + future: 'i roto i %s', + past: '%s i mua', + s: 'te hēkona ruarua', + m: 'he meneti', + mm: '%d meneti', + h: 'te haora', + hh: '%d haora', + d: 'he ra', + dd: '%d ra', + M: 'he marama', + MM: '%d marama', + y: 'he tau', + yy: '%d tau' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/mk.js b/node_modules/dayjs/esm/locale/mk.js new file mode 100644 index 0000000..8522c26 --- /dev/null +++ b/node_modules/dayjs/esm/locale/mk.js @@ -0,0 +1,39 @@ +// Macedonian [mk] +import dayjs from '../index'; +var locale = { + name: 'mk', + weekdays: 'недела_понеделник_вторник_среда_четврток_петок_сабота'.split('_'), + months: 'јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември'.split('_'), + weekStart: 1, + weekdaysShort: 'нед_пон_вто_сре_чет_пет_саб'.split('_'), + monthsShort: 'јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек'.split('_'), + weekdaysMin: 'нe_пo_вт_ср_че_пе_сa'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'D.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY H:mm', + LLLL: 'dddd, D MMMM YYYY H:mm' + }, + relativeTime: { + future: 'после %s', + past: 'пред %s', + s: 'неколку секунди', + m: 'минута', + mm: '%d минути', + h: 'час', + hh: '%d часа', + d: 'ден', + dd: '%d дена', + M: 'месец', + MM: '%d месеци', + y: 'година', + yy: '%d години' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/ml.js b/node_modules/dayjs/esm/locale/ml.js new file mode 100644 index 0000000..bfcc277 --- /dev/null +++ b/node_modules/dayjs/esm/locale/ml.js @@ -0,0 +1,38 @@ +// Malayalam [ml] +import dayjs from '../index'; +var locale = { + name: 'ml', + weekdays: 'ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച'.split('_'), + months: 'ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ'.split('_'), + weekdaysShort: 'ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി'.split('_'), + monthsShort: 'ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.'.split('_'), + weekdaysMin: 'ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'A h:mm -നു', + LTS: 'A h:mm:ss -നു', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, A h:mm -നു', + LLLL: 'dddd, D MMMM YYYY, A h:mm -നു' + }, + relativeTime: { + future: '%s കഴിഞ്ഞ്', + past: '%s മുൻപ്', + s: 'അൽപ നിമിഷങ്ങൾ', + m: 'ഒരു മിനിറ്റ്', + mm: '%d മിനിറ്റ്', + h: 'ഒരു മണിക്കൂർ', + hh: '%d മണിക്കൂർ', + d: 'ഒരു ദിവസം', + dd: '%d ദിവസം', + M: 'ഒരു മാസം', + MM: '%d മാസം', + y: 'ഒരു വർഷം', + yy: '%d വർഷം' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/mn.js b/node_modules/dayjs/esm/locale/mn.js new file mode 100644 index 0000000..d93cae2 --- /dev/null +++ b/node_modules/dayjs/esm/locale/mn.js @@ -0,0 +1,38 @@ +// Mongolian [mn] +import dayjs from '../index'; +var locale = { + name: 'mn', + weekdays: 'Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба'.split('_'), + months: 'Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар'.split('_'), + weekdaysShort: 'Ням_Дав_Мяг_Лха_Пүр_Баа_Бям'.split('_'), + monthsShort: '1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар'.split('_'), + weekdaysMin: 'Ня_Да_Мя_Лх_Пү_Ба_Бя'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY-MM-DD', + LL: 'YYYY оны MMMMын D', + LLL: 'YYYY оны MMMMын D HH:mm', + LLLL: 'dddd, YYYY оны MMMMын D HH:mm' + }, + relativeTime: { + future: '%s', + past: '%s', + s: 'саяхан', + m: 'м', + mm: '%dм', + h: '1ц', + hh: '%dц', + d: '1ө', + dd: '%dө', + M: '1с', + MM: '%dс', + y: '1ж', + yy: '%dж' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/mr.js b/node_modules/dayjs/esm/locale/mr.js new file mode 100644 index 0000000..9eac8a7 --- /dev/null +++ b/node_modules/dayjs/esm/locale/mr.js @@ -0,0 +1,23 @@ +// Marathi [mr] +import dayjs from '../index'; +var locale = { + name: 'mr', + weekdays: 'रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार'.split('_'), + months: 'जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर'.split('_'), + weekdaysShort: 'रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि'.split('_'), + monthsShort: 'जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.'.split('_'), + weekdaysMin: 'र_सो_मं_बु_गु_शु_श'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'A h:mm वाजता', + LTS: 'A h:mm:ss वाजता', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, A h:mm वाजता', + LLLL: 'dddd, D MMMM YYYY, A h:mm वाजता' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/ms-my.js b/node_modules/dayjs/esm/locale/ms-my.js new file mode 100644 index 0000000..5138219 --- /dev/null +++ b/node_modules/dayjs/esm/locale/ms-my.js @@ -0,0 +1,39 @@ +// Malay [ms-my] +import dayjs from '../index'; +var locale = { + name: 'ms-my', + weekdays: 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'), + months: 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split('_'), + weekStart: 1, + weekdaysShort: 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'), + monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split('_'), + weekdaysMin: 'Ah_Is_Sl_Rb_Km_Jm_Sb'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH.mm', + LTS: 'HH.mm.ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY [pukul] HH.mm', + LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm' + }, + relativeTime: { + future: 'dalam %s', + past: '%s yang lepas', + s: 'beberapa saat', + m: 'seminit', + mm: '%d minit', + h: 'sejam', + hh: '%d jam', + d: 'sehari', + dd: '%d hari', + M: 'sebulan', + MM: '%d bulan', + y: 'setahun', + yy: '%d tahun' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/ms.js b/node_modules/dayjs/esm/locale/ms.js new file mode 100644 index 0000000..86349f3 --- /dev/null +++ b/node_modules/dayjs/esm/locale/ms.js @@ -0,0 +1,39 @@ +// Malay [ms] +import dayjs from '../index'; +var locale = { + name: 'ms', + weekdays: 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'), + weekdaysShort: 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'), + weekdaysMin: 'Ah_Is_Sl_Rb_Km_Jm_Sb'.split('_'), + months: 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split('_'), + monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split('_'), + weekStart: 1, + formats: { + LT: 'HH.mm', + LTS: 'HH.mm.ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH.mm', + LLLL: 'dddd, D MMMM YYYY HH.mm' + }, + relativeTime: { + future: 'dalam %s', + past: '%s yang lepas', + s: 'beberapa saat', + m: 'seminit', + mm: '%d minit', + h: 'sejam', + hh: '%d jam', + d: 'sehari', + dd: '%d hari', + M: 'sebulan', + MM: '%d bulan', + y: 'setahun', + yy: '%d tahun' + }, + ordinal: function ordinal(n) { + return n + "."; + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/mt.js b/node_modules/dayjs/esm/locale/mt.js new file mode 100644 index 0000000..9c90953 --- /dev/null +++ b/node_modules/dayjs/esm/locale/mt.js @@ -0,0 +1,39 @@ +// Maltese (Malta) [mt] +import dayjs from '../index'; +var locale = { + name: 'mt', + weekdays: 'Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt'.split('_'), + months: 'Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru'.split('_'), + weekStart: 1, + weekdaysShort: 'Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib'.split('_'), + monthsShort: 'Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ'.split('_'), + weekdaysMin: 'Ħa_Tn_Tl_Er_Ħa_Ġi_Si'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm' + }, + relativeTime: { + future: 'f’ %s', + past: '%s ilu', + s: 'ftit sekondi', + m: 'minuta', + mm: '%d minuti', + h: 'siegħa', + hh: '%d siegħat', + d: 'ġurnata', + dd: '%d ġranet', + M: 'xahar', + MM: '%d xhur', + y: 'sena', + yy: '%d sni' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/my.js b/node_modules/dayjs/esm/locale/my.js new file mode 100644 index 0000000..73b2633 --- /dev/null +++ b/node_modules/dayjs/esm/locale/my.js @@ -0,0 +1,39 @@ +// Burmese [my] +import dayjs from '../index'; +var locale = { + name: 'my', + weekdays: 'တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ'.split('_'), + months: 'ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ'.split('_'), + weekStart: 1, + weekdaysShort: 'နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ'.split('_'), + monthsShort: 'ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ'.split('_'), + weekdaysMin: 'နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm' + }, + relativeTime: { + future: 'လာမည့် %s မှာ', + past: 'လွန်ခဲ့သော %s က', + s: 'စက္ကန်.အနည်းငယ်', + m: 'တစ်မိနစ်', + mm: '%d မိနစ်', + h: 'တစ်နာရီ', + hh: '%d နာရီ', + d: 'တစ်ရက်', + dd: '%d ရက်', + M: 'တစ်လ', + MM: '%d လ', + y: 'တစ်နှစ်', + yy: '%d နှစ်' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/nb.js b/node_modules/dayjs/esm/locale/nb.js new file mode 100644 index 0000000..1d7b1eb --- /dev/null +++ b/node_modules/dayjs/esm/locale/nb.js @@ -0,0 +1,40 @@ +// Norwegian Bokmål [nb] +import dayjs from '../index'; +var locale = { + name: 'nb', + weekdays: 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'), + weekdaysShort: 'sø._ma._ti._on._to._fr._lø.'.split('_'), + weekdaysMin: 'sø_ma_ti_on_to_fr_lø'.split('_'), + months: 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split('_'), + monthsShort: 'jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.'.split('_'), + ordinal: function ordinal(n) { + return n + "."; + }, + weekStart: 1, + yearStart: 4, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY [kl.] HH:mm', + LLLL: 'dddd D. MMMM YYYY [kl.] HH:mm' + }, + relativeTime: { + future: 'om %s', + past: '%s siden', + s: 'noen sekunder', + m: 'ett minutt', + mm: '%d minutter', + h: 'en time', + hh: '%d timer', + d: 'en dag', + dd: '%d dager', + M: 'en måned', + MM: '%d måneder', + y: 'ett år', + yy: '%d år' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/ne.js b/node_modules/dayjs/esm/locale/ne.js new file mode 100644 index 0000000..4f5a004 --- /dev/null +++ b/node_modules/dayjs/esm/locale/ne.js @@ -0,0 +1,40 @@ +// Nepalese [ne] +import dayjs from '../index'; +var locale = { + name: 'ne', + weekdays: 'आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार'.split('_'), + weekdaysShort: 'आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.'.split('_'), + weekdaysMin: 'आ._सो._मं._बु._बि._शु._श.'.split('_'), + months: 'जनवरी_फेब्रुवरी_मार्च_अप्रिल_मे_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर'.split('_'), + monthsShort: 'जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.'.split('_'), + relativeTime: { + future: '%s पछि', + past: '%s अघि', + s: 'सेकेन्ड', + m: 'एक मिनेट', + mm: '%d मिनेट', + h: 'घन्टा', + hh: '%d घन्टा', + d: 'एक दिन', + dd: '%d दिन', + M: 'एक महिना', + MM: '%d महिना', + y: 'एक वर्ष', + yy: '%d वर्ष' + }, + ordinal: function ordinal(n) { + return ("" + n).replace(/\d/g, function (i) { + return '०१२३४५६७८९'[i]; + }); + }, + formats: { + LT: 'Aको h:mm बजे', + LTS: 'Aको h:mm:ss बजे', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, Aको h:mm बजे', + LLLL: 'dddd, D MMMM YYYY, Aको h:mm बजे' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/nl-be.js b/node_modules/dayjs/esm/locale/nl-be.js new file mode 100644 index 0000000..51465b7 --- /dev/null +++ b/node_modules/dayjs/esm/locale/nl-be.js @@ -0,0 +1,39 @@ +// Dutch (Belgium) [nl-be] +import dayjs from '../index'; +var locale = { + name: 'nl-be', + weekdays: 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'), + months: 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split('_'), + monthsShort: 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split('_'), + weekStart: 1, + weekdaysShort: 'zo._ma._di._wo._do._vr._za.'.split('_'), + weekdaysMin: 'zo_ma_di_wo_do_vr_za'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm' + }, + relativeTime: { + future: 'over %s', + past: '%s geleden', + s: 'een paar seconden', + m: 'één minuut', + mm: '%d minuten', + h: 'één uur', + hh: '%d uur', + d: 'één dag', + dd: '%d dagen', + M: 'één maand', + MM: '%d maanden', + y: 'één jaar', + yy: '%d jaar' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/nl.js b/node_modules/dayjs/esm/locale/nl.js new file mode 100644 index 0000000..ee1ac74 --- /dev/null +++ b/node_modules/dayjs/esm/locale/nl.js @@ -0,0 +1,40 @@ +// Dutch [nl] +import dayjs from '../index'; +var locale = { + name: 'nl', + weekdays: 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'), + weekdaysShort: 'zo._ma._di._wo._do._vr._za.'.split('_'), + weekdaysMin: 'zo_ma_di_wo_do_vr_za'.split('_'), + months: 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split('_'), + monthsShort: 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_'), + ordinal: function ordinal(n) { + return "[" + n + (n === 1 || n === 8 || n >= 20 ? 'ste' : 'de') + "]"; + }, + weekStart: 1, + yearStart: 4, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD-MM-YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm' + }, + relativeTime: { + future: 'over %s', + past: '%s geleden', + s: 'een paar seconden', + m: 'een minuut', + mm: '%d minuten', + h: 'een uur', + hh: '%d uur', + d: 'een dag', + dd: '%d dagen', + M: 'een maand', + MM: '%d maanden', + y: 'een jaar', + yy: '%d jaar' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/nn.js b/node_modules/dayjs/esm/locale/nn.js new file mode 100644 index 0000000..43767a4 --- /dev/null +++ b/node_modules/dayjs/esm/locale/nn.js @@ -0,0 +1,39 @@ +// Nynorsk [nn] +import dayjs from '../index'; +var locale = { + name: 'nn', + weekdays: 'sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag'.split('_'), + weekdaysShort: 'sun_mån_tys_ons_tor_fre_lau'.split('_'), + weekdaysMin: 'su_må_ty_on_to_fr_la'.split('_'), + months: 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split('_'), + monthsShort: 'jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'), + ordinal: function ordinal(n) { + return n + "."; + }, + weekStart: 1, + relativeTime: { + future: 'om %s', + past: 'for %s sidan', + s: 'nokre sekund', + m: 'eitt minutt', + mm: '%d minutt', + h: 'ein time', + hh: '%d timar', + d: 'ein dag', + dd: '%d dagar', + M: 'ein månad', + MM: '%d månadar', + y: 'eitt år', + yy: '%d år' + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY [kl.] H:mm', + LLLL: 'dddd D. MMMM YYYY [kl.] HH:mm' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/oc-lnc.js b/node_modules/dayjs/esm/locale/oc-lnc.js new file mode 100644 index 0000000..91e2f0d --- /dev/null +++ b/node_modules/dayjs/esm/locale/oc-lnc.js @@ -0,0 +1,39 @@ +// Occitan, lengadocian dialecte [oc-lnc] +import dayjs from '../index'; +var locale = { + name: 'oc-lnc', + weekdays: 'dimenge_diluns_dimars_dimècres_dijòus_divendres_dissabte'.split('_'), + weekdaysShort: 'Dg_Dl_Dm_Dc_Dj_Dv_Ds'.split('_'), + weekdaysMin: 'dg_dl_dm_dc_dj_dv_ds'.split('_'), + months: 'genièr_febrièr_març_abrial_mai_junh_julhet_agost_setembre_octòbre_novembre_decembre'.split('_'), + monthsShort: 'gen_feb_març_abr_mai_junh_julh_ago_set_oct_nov_dec'.split('_'), + weekStart: 1, + formats: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM [de] YYYY', + LLL: 'D MMMM [de] YYYY [a] H:mm', + LLLL: 'dddd D MMMM [de] YYYY [a] H:mm' + }, + relativeTime: { + future: 'd\'aquí %s', + past: 'fa %s', + s: 'unas segondas', + m: 'una minuta', + mm: '%d minutas', + h: 'una ora', + hh: '%d oras', + d: 'un jorn', + dd: '%d jorns', + M: 'un mes', + MM: '%d meses', + y: 'un an', + yy: '%d ans' + }, + ordinal: function ordinal(n) { + return n + "\xBA"; + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/pa-in.js b/node_modules/dayjs/esm/locale/pa-in.js new file mode 100644 index 0000000..624a852 --- /dev/null +++ b/node_modules/dayjs/esm/locale/pa-in.js @@ -0,0 +1,38 @@ +// Punjabi (India) [pa-in] +import dayjs from '../index'; +var locale = { + name: 'pa-in', + weekdays: 'ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ'.split('_'), + months: 'ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ'.split('_'), + weekdaysShort: 'ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ'.split('_'), + monthsShort: 'ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ'.split('_'), + weekdaysMin: 'ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'A h:mm ਵਜੇ', + LTS: 'A h:mm:ss ਵਜੇ', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, A h:mm ਵਜੇ', + LLLL: 'dddd, D MMMM YYYY, A h:mm ਵਜੇ' + }, + relativeTime: { + future: '%s ਵਿੱਚ', + past: '%s ਪਿਛਲੇ', + s: 'ਕੁਝ ਸਕਿੰਟ', + m: 'ਇਕ ਮਿੰਟ', + mm: '%d ਮਿੰਟ', + h: 'ਇੱਕ ਘੰਟਾ', + hh: '%d ਘੰਟੇ', + d: 'ਇੱਕ ਦਿਨ', + dd: '%d ਦਿਨ', + M: 'ਇੱਕ ਮਹੀਨਾ', + MM: '%d ਮਹੀਨੇ', + y: 'ਇੱਕ ਸਾਲ', + yy: '%d ਸਾਲ' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/pl.js b/node_modules/dayjs/esm/locale/pl.js new file mode 100644 index 0000000..368b2a5 --- /dev/null +++ b/node_modules/dayjs/esm/locale/pl.js @@ -0,0 +1,87 @@ +// Polish [pl] +import dayjs from '../index'; + +function plural(n) { + return n % 10 < 5 && n % 10 > 1 && ~~(n / 10) % 10 !== 1; // eslint-disable-line +} +/* eslint-disable */ + + +function translate(number, withoutSuffix, key) { + var result = number + " "; + + switch (key) { + case 'm': + return withoutSuffix ? 'minuta' : 'minutę'; + + case 'mm': + return result + (plural(number) ? 'minuty' : 'minut'); + + case 'h': + return withoutSuffix ? 'godzina' : 'godzinę'; + + case 'hh': + return result + (plural(number) ? 'godziny' : 'godzin'); + + case 'MM': + return result + (plural(number) ? 'miesiące' : 'miesięcy'); + + case 'yy': + return result + (plural(number) ? 'lata' : 'lat'); + } +} +/* eslint-enable */ + + +var monthFormat = 'stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia'.split('_'); +var monthStandalone = 'styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień'.split('_'); +var MONTHS_IN_FORMAT = /D MMMM/; + +var months = function months(dayjsInstance, format) { + if (MONTHS_IN_FORMAT.test(format)) { + return monthFormat[dayjsInstance.month()]; + } + + return monthStandalone[dayjsInstance.month()]; +}; + +months.s = monthStandalone; +months.f = monthFormat; +var locale = { + name: 'pl', + weekdays: 'niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota'.split('_'), + weekdaysShort: 'ndz_pon_wt_śr_czw_pt_sob'.split('_'), + weekdaysMin: 'Nd_Pn_Wt_Śr_Cz_Pt_So'.split('_'), + months: months, + monthsShort: 'sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru'.split('_'), + ordinal: function ordinal(n) { + return n + "."; + }, + weekStart: 1, + yearStart: 4, + relativeTime: { + future: 'za %s', + past: '%s temu', + s: 'kilka sekund', + m: translate, + mm: translate, + h: translate, + hh: translate, + d: '1 dzień', + dd: '%d dni', + M: 'miesiąc', + MM: translate, + y: 'rok', + yy: translate + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/pt-br.js b/node_modules/dayjs/esm/locale/pt-br.js new file mode 100644 index 0000000..0635cd8 --- /dev/null +++ b/node_modules/dayjs/esm/locale/pt-br.js @@ -0,0 +1,38 @@ +// Portuguese (Brazil) [pt-br] +import dayjs from '../index'; +var locale = { + name: 'pt-br', + weekdays: 'domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado'.split('_'), + weekdaysShort: 'dom_seg_ter_qua_qui_sex_sáb'.split('_'), + weekdaysMin: 'Do_2ª_3ª_4ª_5ª_6ª_Sá'.split('_'), + months: 'janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro'.split('_'), + monthsShort: 'jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez'.split('_'), + ordinal: function ordinal(n) { + return n + "\xBA"; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D [de] MMMM [de] YYYY', + LLL: 'D [de] MMMM [de] YYYY [às] HH:mm', + LLLL: 'dddd, D [de] MMMM [de] YYYY [às] HH:mm' + }, + relativeTime: { + future: 'em %s', + past: 'há %s', + s: 'poucos segundos', + m: 'um minuto', + mm: '%d minutos', + h: 'uma hora', + hh: '%d horas', + d: 'um dia', + dd: '%d dias', + M: 'um mês', + MM: '%d meses', + y: 'um ano', + yy: '%d anos' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/pt.js b/node_modules/dayjs/esm/locale/pt.js new file mode 100644 index 0000000..cba2331 --- /dev/null +++ b/node_modules/dayjs/esm/locale/pt.js @@ -0,0 +1,40 @@ +// Portuguese [pt] +import dayjs from '../index'; +var locale = { + name: 'pt', + weekdays: 'domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado'.split('_'), + weekdaysShort: 'dom_seg_ter_qua_qui_sex_sab'.split('_'), + weekdaysMin: 'Do_2ª_3ª_4ª_5ª_6ª_Sa'.split('_'), + months: 'janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro'.split('_'), + monthsShort: 'jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez'.split('_'), + ordinal: function ordinal(n) { + return n + "\xBA"; + }, + weekStart: 1, + yearStart: 4, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D [de] MMMM [de] YYYY', + LLL: 'D [de] MMMM [de] YYYY [às] HH:mm', + LLLL: 'dddd, D [de] MMMM [de] YYYY [às] HH:mm' + }, + relativeTime: { + future: 'em %s', + past: 'há %s', + s: 'alguns segundos', + m: 'um minuto', + mm: '%d minutos', + h: 'uma hora', + hh: '%d horas', + d: 'um dia', + dd: '%d dias', + M: 'um mês', + MM: '%d meses', + y: 'um ano', + yy: '%d anos' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/rn.js b/node_modules/dayjs/esm/locale/rn.js new file mode 100644 index 0000000..21b3cdb --- /dev/null +++ b/node_modules/dayjs/esm/locale/rn.js @@ -0,0 +1,39 @@ +// Kirundi [rn] +import dayjs from '../index'; +var locale = { + name: 'rn', + weekdays: 'Ku wa Mungu_Ku wa Mbere_Ku wa Kabiri_Ku wa Gatatu_Ku wa Kane_Ku wa Gatanu_Ku wa Gatandatu'.split('_'), + weekdaysShort: 'Kngu_Kmbr_Kbri_Ktat_Kkan_Ktan_Kdat'.split('_'), + weekdaysMin: 'K7_K1_K2_K3_K4_K5_K6'.split('_'), + months: 'Nzero_Ruhuhuma_Ntwarante_Ndamukiza_Rusama_Ruhenshi_Mukakaro_Myandagaro_Nyakanga_Gitugutu_Munyonyo_Kigarama'.split('_'), + monthsShort: 'Nzer_Ruhuh_Ntwar_Ndam_Rus_Ruhen_Muk_Myand_Nyak_Git_Muny_Kig'.split('_'), + weekStart: 1, + ordinal: function ordinal(n) { + return n; + }, + relativeTime: { + future: 'mu %s', + past: '%s', + s: 'amasegonda', + m: 'Umunota', + mm: '%d iminota', + h: 'isaha', + hh: '%d amasaha', + d: 'Umunsi', + dd: '%d iminsi', + M: 'ukwezi', + MM: '%d amezi', + y: 'umwaka', + yy: '%d imyaka' + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/ro.js b/node_modules/dayjs/esm/locale/ro.js new file mode 100644 index 0000000..93ef6bf --- /dev/null +++ b/node_modules/dayjs/esm/locale/ro.js @@ -0,0 +1,39 @@ +// Romanian [ro] +import dayjs from '../index'; +var locale = { + name: 'ro', + weekdays: 'Duminică_Luni_Marți_Miercuri_Joi_Vineri_Sâmbătă'.split('_'), + weekdaysShort: 'Dum_Lun_Mar_Mie_Joi_Vin_Sâm'.split('_'), + weekdaysMin: 'Du_Lu_Ma_Mi_Jo_Vi_Sâ'.split('_'), + months: 'Ianuarie_Februarie_Martie_Aprilie_Mai_Iunie_Iulie_August_Septembrie_Octombrie_Noiembrie_Decembrie'.split('_'), + monthsShort: 'Ian._Febr._Mart._Apr._Mai_Iun._Iul._Aug._Sept._Oct._Nov._Dec.'.split('_'), + weekStart: 1, + formats: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY H:mm', + LLLL: 'dddd, D MMMM YYYY H:mm' + }, + relativeTime: { + future: 'peste %s', + past: 'acum %s', + s: 'câteva secunde', + m: 'un minut', + mm: '%d minute', + h: 'o oră', + hh: '%d ore', + d: 'o zi', + dd: '%d zile', + M: 'o lună', + MM: '%d luni', + y: 'un an', + yy: '%d ani' + }, + ordinal: function ordinal(n) { + return n; + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/ru.js b/node_modules/dayjs/esm/locale/ru.js new file mode 100644 index 0000000..fbb1b35 --- /dev/null +++ b/node_modules/dayjs/esm/locale/ru.js @@ -0,0 +1,99 @@ +// Russian [ru] +import dayjs from '../index'; +var monthFormat = 'января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря'.split('_'); +var monthStandalone = 'январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь'.split('_'); +var monthShortFormat = 'янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.'.split('_'); +var monthShortStandalone = 'янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.'.split('_'); +var MONTHS_IN_FORMAT = /D[oD]?(\[[^[\]]*\]|\s)+MMMM?/; + +function plural(word, num) { + var forms = word.split('_'); + return num % 10 === 1 && num % 100 !== 11 ? forms[0] : num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20) ? forms[1] : forms[2]; // eslint-disable-line +} + +function relativeTimeWithPlural(number, withoutSuffix, key) { + var format = { + mm: withoutSuffix ? 'минута_минуты_минут' : 'минуту_минуты_минут', + hh: 'час_часа_часов', + dd: 'день_дня_дней', + MM: 'месяц_месяца_месяцев', + yy: 'год_года_лет' + }; + + if (key === 'm') { + return withoutSuffix ? 'минута' : 'минуту'; + } + + return number + " " + plural(format[key], +number); +} + +var months = function months(dayjsInstance, format) { + if (MONTHS_IN_FORMAT.test(format)) { + return monthFormat[dayjsInstance.month()]; + } + + return monthStandalone[dayjsInstance.month()]; +}; + +months.s = monthStandalone; +months.f = monthFormat; + +var monthsShort = function monthsShort(dayjsInstance, format) { + if (MONTHS_IN_FORMAT.test(format)) { + return monthShortFormat[dayjsInstance.month()]; + } + + return monthShortStandalone[dayjsInstance.month()]; +}; + +monthsShort.s = monthShortStandalone; +monthsShort.f = monthShortFormat; +var locale = { + name: 'ru', + weekdays: 'воскресенье_понедельник_вторник_среда_четверг_пятница_суббота'.split('_'), + weekdaysShort: 'вск_пнд_втр_срд_чтв_птн_сбт'.split('_'), + weekdaysMin: 'вс_пн_вт_ср_чт_пт_сб'.split('_'), + months: months, + monthsShort: monthsShort, + weekStart: 1, + yearStart: 4, + formats: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY г.', + LLL: 'D MMMM YYYY г., H:mm', + LLLL: 'dddd, D MMMM YYYY г., H:mm' + }, + relativeTime: { + future: 'через %s', + past: '%s назад', + s: 'несколько секунд', + m: relativeTimeWithPlural, + mm: relativeTimeWithPlural, + h: 'час', + hh: relativeTimeWithPlural, + d: 'день', + dd: relativeTimeWithPlural, + M: 'месяц', + MM: relativeTimeWithPlural, + y: 'год', + yy: relativeTimeWithPlural + }, + ordinal: function ordinal(n) { + return n; + }, + meridiem: function meridiem(hour) { + if (hour < 4) { + return 'ночи'; + } else if (hour < 12) { + return 'утра'; + } else if (hour < 17) { + return 'дня'; + } + + return 'вечера'; + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/rw.js b/node_modules/dayjs/esm/locale/rw.js new file mode 100644 index 0000000..1e53ac7 --- /dev/null +++ b/node_modules/dayjs/esm/locale/rw.js @@ -0,0 +1,35 @@ +// Kinyarwanda (Rwanda) [rw] +import dayjs from '../index'; +var locale = { + name: 'rw', + weekdays: 'Ku Cyumweru_Kuwa Mbere_Kuwa Kabiri_Kuwa Gatatu_Kuwa Kane_Kuwa Gatanu_Kuwa Gatandatu'.split('_'), + months: 'Mutarama_Gashyantare_Werurwe_Mata_Gicurasi_Kamena_Nyakanga_Kanama_Nzeri_Ukwakira_Ugushyingo_Ukuboza'.split('_'), + relativeTime: { + future: 'mu %s', + past: '%s', + s: 'amasegonda', + m: 'Umunota', + mm: '%d iminota', + h: 'isaha', + hh: '%d amasaha', + d: 'Umunsi', + dd: '%d iminsi', + M: 'ukwezi', + MM: '%d amezi', + y: 'umwaka', + yy: '%d imyaka' + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm' + }, + ordinal: function ordinal(n) { + return n; + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/sd.js b/node_modules/dayjs/esm/locale/sd.js new file mode 100644 index 0000000..a429f8d --- /dev/null +++ b/node_modules/dayjs/esm/locale/sd.js @@ -0,0 +1,39 @@ +// Sindhi [sd] +import dayjs from '../index'; +var locale = { + name: 'sd', + weekdays: 'آچر_سومر_اڱارو_اربع_خميس_جمع_ڇنڇر'.split('_'), + months: 'جنوري_فيبروري_مارچ_اپريل_مئي_جون_جولاءِ_آگسٽ_سيپٽمبر_آڪٽوبر_نومبر_ڊسمبر'.split('_'), + weekStart: 1, + weekdaysShort: 'آچر_سومر_اڱارو_اربع_خميس_جمع_ڇنڇر'.split('_'), + monthsShort: 'جنوري_فيبروري_مارچ_اپريل_مئي_جون_جولاءِ_آگسٽ_سيپٽمبر_آڪٽوبر_نومبر_ڊسمبر'.split('_'), + weekdaysMin: 'آچر_سومر_اڱارو_اربع_خميس_جمع_ڇنڇر'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd، D MMMM YYYY HH:mm' + }, + relativeTime: { + future: '%s پوء', + past: '%s اڳ', + s: 'چند سيڪنڊ', + m: 'هڪ منٽ', + mm: '%d منٽ', + h: 'هڪ ڪلاڪ', + hh: '%d ڪلاڪ', + d: 'هڪ ڏينهن', + dd: '%d ڏينهن', + M: 'هڪ مهينو', + MM: '%d مهينا', + y: 'هڪ سال', + yy: '%d سال' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/se.js b/node_modules/dayjs/esm/locale/se.js new file mode 100644 index 0000000..691099c --- /dev/null +++ b/node_modules/dayjs/esm/locale/se.js @@ -0,0 +1,39 @@ +// Northern Sami [se] +import dayjs from '../index'; +var locale = { + name: 'se', + weekdays: 'sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat'.split('_'), + months: 'ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu'.split('_'), + weekStart: 1, + weekdaysShort: 'sotn_vuos_maŋ_gask_duor_bear_láv'.split('_'), + monthsShort: 'ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov'.split('_'), + weekdaysMin: 's_v_m_g_d_b_L'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'MMMM D. [b.] YYYY', + LLL: 'MMMM D. [b.] YYYY [ti.] HH:mm', + LLLL: 'dddd, MMMM D. [b.] YYYY [ti.] HH:mm' + }, + relativeTime: { + future: '%s geažes', + past: 'maŋit %s', + s: 'moadde sekunddat', + m: 'okta minuhta', + mm: '%d minuhtat', + h: 'okta diimmu', + hh: '%d diimmut', + d: 'okta beaivi', + dd: '%d beaivvit', + M: 'okta mánnu', + MM: '%d mánut', + y: 'okta jahki', + yy: '%d jagit' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/si.js b/node_modules/dayjs/esm/locale/si.js new file mode 100644 index 0000000..89b67bf --- /dev/null +++ b/node_modules/dayjs/esm/locale/si.js @@ -0,0 +1,38 @@ +// Sinhalese [si] +import dayjs from '../index'; +var locale = { + name: 'si', + weekdays: 'ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා'.split('_'), + months: 'දුරුතු_නවම්_මැදින්_බක්_වෙසක්_පොසොන්_ඇසළ_නිකිණි_බිනර_වප්_ඉල්_උඳුවප්'.split('_'), + weekdaysShort: 'ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන'.split('_'), + monthsShort: 'දුරු_නව_මැදි_බක්_වෙස_පොසො_ඇස_නිකි_බින_වප්_ඉල්_උඳු'.split('_'), + weekdaysMin: 'ඉ_ස_අ_බ_බ්‍ර_සි_සෙ'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'a h:mm', + LTS: 'a h:mm:ss', + L: 'YYYY/MM/DD', + LL: 'YYYY MMMM D', + LLL: 'YYYY MMMM D, a h:mm', + LLLL: 'YYYY MMMM D [වැනි] dddd, a h:mm:ss' + }, + relativeTime: { + future: '%sකින්', + past: '%sකට පෙර', + s: 'තත්පර කිහිපය', + m: 'විනාඩිය', + mm: 'විනාඩි %d', + h: 'පැය', + hh: 'පැය %d', + d: 'දිනය', + dd: 'දින %d', + M: 'මාසය', + MM: 'මාස %d', + y: 'වසර', + yy: 'වසර %d' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/sk.js b/node_modules/dayjs/esm/locale/sk.js new file mode 100644 index 0000000..222401f --- /dev/null +++ b/node_modules/dayjs/esm/locale/sk.js @@ -0,0 +1,121 @@ +// Slovak [sk] +import dayjs from '../index'; + +function plural(n) { + return n > 1 && n < 5 && ~~(n / 10) !== 1; // eslint-disable-line +} +/* eslint-disable */ + + +function translate(number, withoutSuffix, key, isFuture) { + var result = number + " "; + + switch (key) { + case 's': + // a few seconds / in a few seconds / a few seconds ago + return withoutSuffix || isFuture ? 'pár sekúnd' : 'pár sekundami'; + + case 'm': + // a minute / in a minute / a minute ago + return withoutSuffix ? 'minúta' : isFuture ? 'minútu' : 'minútou'; + + case 'mm': + // 9 minutes / in 9 minutes / 9 minutes ago + if (withoutSuffix || isFuture) { + return result + (plural(number) ? 'minúty' : 'minút'); + } + + return result + "min\xFAtami"; + + case 'h': + // an hour / in an hour / an hour ago + return withoutSuffix ? 'hodina' : isFuture ? 'hodinu' : 'hodinou'; + + case 'hh': + // 9 hours / in 9 hours / 9 hours ago + if (withoutSuffix || isFuture) { + return result + (plural(number) ? 'hodiny' : 'hodín'); + } + + return result + "hodinami"; + + case 'd': + // a day / in a day / a day ago + return withoutSuffix || isFuture ? 'deň' : 'dňom'; + + case 'dd': + // 9 days / in 9 days / 9 days ago + if (withoutSuffix || isFuture) { + return result + (plural(number) ? 'dni' : 'dní'); + } + + return result + "d\u0148ami"; + + case 'M': + // a month / in a month / a month ago + return withoutSuffix || isFuture ? 'mesiac' : 'mesiacom'; + + case 'MM': + // 9 months / in 9 months / 9 months ago + if (withoutSuffix || isFuture) { + return result + (plural(number) ? 'mesiace' : 'mesiacov'); + } + + return result + "mesiacmi"; + + case 'y': + // a year / in a year / a year ago + return withoutSuffix || isFuture ? 'rok' : 'rokom'; + + case 'yy': + // 9 years / in 9 years / 9 years ago + if (withoutSuffix || isFuture) { + return result + (plural(number) ? 'roky' : 'rokov'); + } + + return result + "rokmi"; + } +} +/* eslint-enable */ + + +var locale = { + name: 'sk', + weekdays: 'nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota'.split('_'), + weekdaysShort: 'ne_po_ut_st_št_pi_so'.split('_'), + weekdaysMin: 'ne_po_ut_st_št_pi_so'.split('_'), + months: 'január_február_marec_apríl_máj_jún_júl_august_september_október_november_december'.split('_'), + monthsShort: 'jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec'.split('_'), + weekStart: 1, + yearStart: 4, + ordinal: function ordinal(n) { + return n + "."; + }, + formats: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY H:mm', + LLLL: 'dddd D. MMMM YYYY H:mm', + l: 'D. M. YYYY' + }, + relativeTime: { + future: 'za %s', + // Should be `o %s` (change when moment/moment#5408 is fixed) + past: 'pred %s', + s: translate, + m: translate, + mm: translate, + h: translate, + hh: translate, + d: translate, + dd: translate, + M: translate, + MM: translate, + y: translate, + yy: translate + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/sl.js b/node_modules/dayjs/esm/locale/sl.js new file mode 100644 index 0000000..e3c5839 --- /dev/null +++ b/node_modules/dayjs/esm/locale/sl.js @@ -0,0 +1,141 @@ +// Slovenian [sl] +import dayjs from '../index'; + +function dual(n) { + return n % 100 == 2; // eslint-disable-line +} + +function threeFour(n) { + return n % 100 == 3 || n % 100 == 4; // eslint-disable-line +} +/* eslint-disable */ + + +function translate(number, withoutSuffix, key, isFuture) { + var result = number + " "; + + switch (key) { + case 's': + // a few seconds / in a few seconds / a few seconds ago + return withoutSuffix || isFuture ? 'nekaj sekund' : 'nekaj sekundami'; + + case 'm': + // a minute / in a minute / a minute ago + return withoutSuffix ? 'ena minuta' : 'eno minuto'; + + case 'mm': + // 9 minutes / in 9 minutes / 9 minutes ago + if (dual(number)) { + return result + (withoutSuffix || isFuture ? 'minuti' : 'minutama'); + } + + if (threeFour(number)) { + return result + (withoutSuffix || isFuture ? 'minute' : 'minutami'); + } + + return result + (withoutSuffix || isFuture ? 'minut' : 'minutami'); + + case 'h': + // an hour / in an hour / an hour ago + return withoutSuffix ? 'ena ura' : isFuture ? 'eno uro' : 'eno uro'; + + case 'hh': + // 9 hours / in 9 hours / 9 hours ago + if (dual(number)) { + return result + (withoutSuffix || isFuture ? 'uri' : 'urama'); + } + + if (threeFour(number)) { + return result + (withoutSuffix || isFuture ? 'ure' : 'urami'); + } + + return result + (withoutSuffix || isFuture ? 'ur' : 'urami'); + + case 'd': + // a day / in a day / a day ago + return withoutSuffix || isFuture ? 'en dan' : 'enim dnem'; + + case 'dd': + // 9 days / in 9 days / 9 days ago + if (dual(number)) { + return result + (withoutSuffix || isFuture ? 'dneva' : 'dnevoma'); + } + + return result + (withoutSuffix || isFuture ? 'dni' : 'dnevi'); + + case 'M': + // a month / in a month / a month ago + return withoutSuffix || isFuture ? 'en mesec' : 'enim mesecem'; + + case 'MM': + // 9 months / in 9 months / 9 months ago + if (dual(number)) { + // 2 minutes / in 2 minutes + return result + (withoutSuffix || isFuture ? 'meseca' : 'mesecema'); + } + + if (threeFour(number)) { + return result + (withoutSuffix || isFuture ? 'mesece' : 'meseci'); + } + + return result + (withoutSuffix || isFuture ? 'mesecev' : 'meseci'); + + case 'y': + // a year / in a year / a year ago + return withoutSuffix || isFuture ? 'eno leto' : 'enim letom'; + + case 'yy': + // 9 years / in 9 years / 9 years ago + if (dual(number)) { + // 2 minutes / in 2 minutes + return result + (withoutSuffix || isFuture ? 'leti' : 'letoma'); + } + + if (threeFour(number)) { + return result + (withoutSuffix || isFuture ? 'leta' : 'leti'); + } + + return result + (withoutSuffix || isFuture ? 'let' : 'leti'); + } +} +/* eslint-enable */ + + +var locale = { + name: 'sl', + weekdays: 'nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota'.split('_'), + months: 'januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december'.split('_'), + weekStart: 1, + weekdaysShort: 'ned._pon._tor._sre._čet._pet._sob.'.split('_'), + monthsShort: 'jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.'.split('_'), + weekdaysMin: 'ne_po_to_sr_če_pe_so'.split('_'), + ordinal: function ordinal(n) { + return n + "."; + }, + formats: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY H:mm', + LLLL: 'dddd, D. MMMM YYYY H:mm', + l: 'D. M. YYYY' + }, + relativeTime: { + future: 'čez %s', + past: 'pred %s', + s: translate, + m: translate, + mm: translate, + h: translate, + hh: translate, + d: translate, + dd: translate, + M: translate, + MM: translate, + y: translate, + yy: translate + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/sq.js b/node_modules/dayjs/esm/locale/sq.js new file mode 100644 index 0000000..625b701 --- /dev/null +++ b/node_modules/dayjs/esm/locale/sq.js @@ -0,0 +1,39 @@ +// Albanian [sq] +import dayjs from '../index'; +var locale = { + name: 'sq', + weekdays: 'E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë'.split('_'), + months: 'Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor'.split('_'), + weekStart: 1, + weekdaysShort: 'Die_Hën_Mar_Mër_Enj_Pre_Sht'.split('_'), + monthsShort: 'Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj'.split('_'), + weekdaysMin: 'D_H_Ma_Më_E_P_Sh'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm' + }, + relativeTime: { + future: 'në %s', + past: '%s më parë', + s: 'disa sekonda', + m: 'një minutë', + mm: '%d minuta', + h: 'një orë', + hh: '%d orë', + d: 'një ditë', + dd: '%d ditë', + M: 'një muaj', + MM: '%d muaj', + y: 'një vit', + yy: '%d vite' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/sr-cyrl.js b/node_modules/dayjs/esm/locale/sr-cyrl.js new file mode 100644 index 0000000..2e40d51 --- /dev/null +++ b/node_modules/dayjs/esm/locale/sr-cyrl.js @@ -0,0 +1,74 @@ +// Serbian Cyrillic [sr-cyrl] +import dayjs from '../index'; +var translator = { + words: { + m: ['један минут', 'једног минута'], + mm: ['%d минут', '%d минута', '%d минута'], + h: ['један сат', 'једног сата'], + hh: ['%d сат', '%d сата', '%d сати'], + d: ['један дан', 'једног дана'], + dd: ['%d дан', '%d дана', '%d дана'], + M: ['један месец', 'једног месеца'], + MM: ['%d месец', '%d месеца', '%d месеци'], + y: ['једну годину', 'једне године'], + yy: ['%d годину', '%d године', '%d година'] + }, + correctGrammarCase: function correctGrammarCase(number, wordKey) { + if (number % 10 >= 1 && number % 10 <= 4 && (number % 100 < 10 || number % 100 >= 20)) { + return number % 10 === 1 ? wordKey[0] : wordKey[1]; + } + + return wordKey[2]; + }, + relativeTimeFormatter: function relativeTimeFormatter(number, withoutSuffix, key, isFuture) { + var wordKey = translator.words[key]; + + if (key.length === 1) { + // Nominativ + if (key === 'y' && withoutSuffix) return 'једна година'; + return isFuture || withoutSuffix ? wordKey[0] : wordKey[1]; + } + + var word = translator.correctGrammarCase(number, wordKey); // Nominativ + + if (key === 'yy' && withoutSuffix && word === '%d годину') return number + " \u0433\u043E\u0434\u0438\u043D\u0430"; + return word.replace('%d', number); + } +}; +var locale = { + name: 'sr-cyrl', + weekdays: 'Недеља_Понедељак_Уторак_Среда_Четвртак_Петак_Субота'.split('_'), + weekdaysShort: 'Нед._Пон._Уто._Сре._Чет._Пет._Суб.'.split('_'), + weekdaysMin: 'не_по_ут_ср_че_пе_су'.split('_'), + months: 'Јануар_Фебруар_Март_Април_Мај_Јун_Јул_Август_Септембар_Октобар_Новембар_Децембар'.split('_'), + monthsShort: 'Јан._Феб._Мар._Апр._Мај_Јун_Јул_Авг._Сеп._Окт._Нов._Дец.'.split('_'), + weekStart: 1, + relativeTime: { + future: 'за %s', + past: 'пре %s', + s: 'неколико секунди', + m: translator.relativeTimeFormatter, + mm: translator.relativeTimeFormatter, + h: translator.relativeTimeFormatter, + hh: translator.relativeTimeFormatter, + d: translator.relativeTimeFormatter, + dd: translator.relativeTimeFormatter, + M: translator.relativeTimeFormatter, + MM: translator.relativeTimeFormatter, + y: translator.relativeTimeFormatter, + yy: translator.relativeTimeFormatter + }, + ordinal: function ordinal(n) { + return n + "."; + }, + formats: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'D. M. YYYY.', + LL: 'D. MMMM YYYY.', + LLL: 'D. MMMM YYYY. H:mm', + LLLL: 'dddd, D. MMMM YYYY. H:mm' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/sr.js b/node_modules/dayjs/esm/locale/sr.js new file mode 100644 index 0000000..f5174ce --- /dev/null +++ b/node_modules/dayjs/esm/locale/sr.js @@ -0,0 +1,74 @@ +// Serbian [sr] +import dayjs from '../index'; +var translator = { + words: { + m: ['jedan minut', 'jednog minuta'], + mm: ['%d minut', '%d minuta', '%d minuta'], + h: ['jedan sat', 'jednog sata'], + hh: ['%d sat', '%d sata', '%d sati'], + d: ['jedan dan', 'jednog dana'], + dd: ['%d dan', '%d dana', '%d dana'], + M: ['jedan mesec', 'jednog meseca'], + MM: ['%d mesec', '%d meseca', '%d meseci'], + y: ['jednu godinu', 'jedne godine'], + yy: ['%d godinu', '%d godine', '%d godina'] + }, + correctGrammarCase: function correctGrammarCase(number, wordKey) { + if (number % 10 >= 1 && number % 10 <= 4 && (number % 100 < 10 || number % 100 >= 20)) { + return number % 10 === 1 ? wordKey[0] : wordKey[1]; + } + + return wordKey[2]; + }, + relativeTimeFormatter: function relativeTimeFormatter(number, withoutSuffix, key, isFuture) { + var wordKey = translator.words[key]; + + if (key.length === 1) { + // Nominativ + if (key === 'y' && withoutSuffix) return 'jedna godina'; + return isFuture || withoutSuffix ? wordKey[0] : wordKey[1]; + } + + var word = translator.correctGrammarCase(number, wordKey); // Nominativ + + if (key === 'yy' && withoutSuffix && word === '%d godinu') return number + " godina"; + return word.replace('%d', number); + } +}; +var locale = { + name: 'sr', + weekdays: 'Nedelja_Ponedeljak_Utorak_Sreda_Četvrtak_Petak_Subota'.split('_'), + weekdaysShort: 'Ned._Pon._Uto._Sre._Čet._Pet._Sub.'.split('_'), + weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'), + months: 'Januar_Februar_Mart_April_Maj_Jun_Jul_Avgust_Septembar_Oktobar_Novembar_Decembar'.split('_'), + monthsShort: 'Jan._Feb._Mar._Apr._Maj_Jun_Jul_Avg._Sep._Okt._Nov._Dec.'.split('_'), + weekStart: 1, + relativeTime: { + future: 'za %s', + past: 'pre %s', + s: 'nekoliko sekundi', + m: translator.relativeTimeFormatter, + mm: translator.relativeTimeFormatter, + h: translator.relativeTimeFormatter, + hh: translator.relativeTimeFormatter, + d: translator.relativeTimeFormatter, + dd: translator.relativeTimeFormatter, + M: translator.relativeTimeFormatter, + MM: translator.relativeTimeFormatter, + y: translator.relativeTimeFormatter, + yy: translator.relativeTimeFormatter + }, + ordinal: function ordinal(n) { + return n + "."; + }, + formats: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'D. M. YYYY.', + LL: 'D. MMMM YYYY.', + LLL: 'D. MMMM YYYY. H:mm', + LLLL: 'dddd, D. MMMM YYYY. H:mm' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/ss.js b/node_modules/dayjs/esm/locale/ss.js new file mode 100644 index 0000000..4354a48 --- /dev/null +++ b/node_modules/dayjs/esm/locale/ss.js @@ -0,0 +1,39 @@ +// siSwati [ss] +import dayjs from '../index'; +var locale = { + name: 'ss', + weekdays: 'Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo'.split('_'), + months: "Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split('_'), + weekStart: 1, + weekdaysShort: 'Lis_Umb_Lsb_Les_Lsi_Lsh_Umg'.split('_'), + monthsShort: 'Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo'.split('_'), + weekdaysMin: 'Li_Us_Lb_Lt_Ls_Lh_Ug'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'h:mm A', + LTS: 'h:mm:ss A', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY h:mm A', + LLLL: 'dddd, D MMMM YYYY h:mm A' + }, + relativeTime: { + future: 'nga %s', + past: 'wenteka nga %s', + s: 'emizuzwana lomcane', + m: 'umzuzu', + mm: '%d emizuzu', + h: 'lihora', + hh: '%d emahora', + d: 'lilanga', + dd: '%d emalanga', + M: 'inyanga', + MM: '%d tinyanga', + y: 'umnyaka', + yy: '%d iminyaka' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/sv-fi.js b/node_modules/dayjs/esm/locale/sv-fi.js new file mode 100644 index 0000000..a18977f --- /dev/null +++ b/node_modules/dayjs/esm/locale/sv-fi.js @@ -0,0 +1,46 @@ +// Finland Swedish [sv-fi] +import dayjs from '../index'; +var locale = { + name: 'sv-fi', + weekdays: 'söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag'.split('_'), + weekdaysShort: 'sön_mån_tis_ons_tor_fre_lör'.split('_'), + weekdaysMin: 'sö_må_ti_on_to_fr_lö'.split('_'), + months: 'januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december'.split('_'), + monthsShort: 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split('_'), + weekStart: 1, + yearStart: 4, + ordinal: function ordinal(n) { + var b = n % 10; + var o = b === 1 || b === 2 ? 'a' : 'e'; + return "[" + n + o + "]"; + }, + formats: { + LT: 'HH.mm', + LTS: 'HH.mm.ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY, [kl.] HH.mm', + LLLL: 'dddd, D. MMMM YYYY, [kl.] HH.mm', + l: 'D.M.YYYY', + ll: 'D. MMM YYYY', + lll: 'D. MMM YYYY, [kl.] HH.mm', + llll: 'ddd, D. MMM YYYY, [kl.] HH.mm' + }, + relativeTime: { + future: 'om %s', + past: 'för %s sedan', + s: 'några sekunder', + m: 'en minut', + mm: '%d minuter', + h: 'en timme', + hh: '%d timmar', + d: 'en dag', + dd: '%d dagar', + M: 'en månad', + MM: '%d månader', + y: 'ett år', + yy: '%d år' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/sv.js b/node_modules/dayjs/esm/locale/sv.js new file mode 100644 index 0000000..2563ee7 --- /dev/null +++ b/node_modules/dayjs/esm/locale/sv.js @@ -0,0 +1,44 @@ +// Swedish [sv] +import dayjs from '../index'; +var locale = { + name: 'sv', + weekdays: 'söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag'.split('_'), + weekdaysShort: 'sön_mån_tis_ons_tor_fre_lör'.split('_'), + weekdaysMin: 'sö_må_ti_on_to_fr_lö'.split('_'), + months: 'januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december'.split('_'), + monthsShort: 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split('_'), + weekStart: 1, + yearStart: 4, + ordinal: function ordinal(n) { + var b = n % 10; + var o = b === 1 || b === 2 ? 'a' : 'e'; + return "[" + n + o + "]"; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY-MM-DD', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY [kl.] HH:mm', + LLLL: 'dddd D MMMM YYYY [kl.] HH:mm', + lll: 'D MMM YYYY HH:mm', + llll: 'ddd D MMM YYYY HH:mm' + }, + relativeTime: { + future: 'om %s', + past: 'för %s sedan', + s: 'några sekunder', + m: 'en minut', + mm: '%d minuter', + h: 'en timme', + hh: '%d timmar', + d: 'en dag', + dd: '%d dagar', + M: 'en månad', + MM: '%d månader', + y: 'ett år', + yy: '%d år' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/sw.js b/node_modules/dayjs/esm/locale/sw.js new file mode 100644 index 0000000..287bf33 --- /dev/null +++ b/node_modules/dayjs/esm/locale/sw.js @@ -0,0 +1,39 @@ +// Swahili [sw] +import dayjs from '../index'; +var locale = { + name: 'sw', + weekdays: 'Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi'.split('_'), + weekdaysShort: 'Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos'.split('_'), + weekdaysMin: 'J2_J3_J4_J5_Al_Ij_J1'.split('_'), + months: 'Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba'.split('_'), + monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des'.split('_'), + weekStart: 1, + ordinal: function ordinal(n) { + return n; + }, + relativeTime: { + future: '%s baadaye', + past: 'tokea %s', + s: 'hivi punde', + m: 'dakika moja', + mm: 'dakika %d', + h: 'saa limoja', + hh: 'masaa %d', + d: 'siku moja', + dd: 'masiku %d', + M: 'mwezi mmoja', + MM: 'miezi %d', + y: 'mwaka mmoja', + yy: 'miaka %d' + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/ta.js b/node_modules/dayjs/esm/locale/ta.js new file mode 100644 index 0000000..6df25f8 --- /dev/null +++ b/node_modules/dayjs/esm/locale/ta.js @@ -0,0 +1,38 @@ +// Tamil [ta] +import dayjs from '../index'; +var locale = { + name: 'ta', + weekdays: 'ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை'.split('_'), + months: 'ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்'.split('_'), + weekdaysShort: 'ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி'.split('_'), + monthsShort: 'ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்'.split('_'), + weekdaysMin: 'ஞா_தி_செ_பு_வி_வெ_ச'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, HH:mm', + LLLL: 'dddd, D MMMM YYYY, HH:mm' + }, + relativeTime: { + future: '%s இல்', + past: '%s முன்', + s: 'ஒரு சில விநாடிகள்', + m: 'ஒரு நிமிடம்', + mm: '%d நிமிடங்கள்', + h: 'ஒரு மணி நேரம்', + hh: '%d மணி நேரம்', + d: 'ஒரு நாள்', + dd: '%d நாட்கள்', + M: 'ஒரு மாதம்', + MM: '%d மாதங்கள்', + y: 'ஒரு வருடம்', + yy: '%d ஆண்டுகள்' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/te.js b/node_modules/dayjs/esm/locale/te.js new file mode 100644 index 0000000..392a247 --- /dev/null +++ b/node_modules/dayjs/esm/locale/te.js @@ -0,0 +1,38 @@ +// Telugu [te] +import dayjs from '../index'; +var locale = { + name: 'te', + weekdays: 'ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం'.split('_'), + months: 'జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్'.split('_'), + weekdaysShort: 'ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని'.split('_'), + monthsShort: 'జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.'.split('_'), + weekdaysMin: 'ఆ_సో_మం_బు_గు_శు_శ'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'A h:mm', + LTS: 'A h:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, A h:mm', + LLLL: 'dddd, D MMMM YYYY, A h:mm' + }, + relativeTime: { + future: '%s లో', + past: '%s క్రితం', + s: 'కొన్ని క్షణాలు', + m: 'ఒక నిమిషం', + mm: '%d నిమిషాలు', + h: 'ఒక గంట', + hh: '%d గంటలు', + d: 'ఒక రోజు', + dd: '%d రోజులు', + M: 'ఒక నెల', + MM: '%d నెలలు', + y: 'ఒక సంవత్సరం', + yy: '%d సంవత్సరాలు' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/tet.js b/node_modules/dayjs/esm/locale/tet.js new file mode 100644 index 0000000..ff83eea --- /dev/null +++ b/node_modules/dayjs/esm/locale/tet.js @@ -0,0 +1,39 @@ +// Tetun Dili (East Timor) [tet] +import dayjs from '../index'; +var locale = { + name: 'tet', + weekdays: 'Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu'.split('_'), + months: 'Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru'.split('_'), + weekStart: 1, + weekdaysShort: 'Dom_Seg_Ters_Kua_Kint_Sest_Sab'.split('_'), + monthsShort: 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split('_'), + weekdaysMin: 'Do_Seg_Te_Ku_Ki_Ses_Sa'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm' + }, + relativeTime: { + future: 'iha %s', + past: '%s liuba', + s: 'minutu balun', + m: 'minutu ida', + mm: 'minutu %d', + h: 'oras ida', + hh: 'oras %d', + d: 'loron ida', + dd: 'loron %d', + M: 'fulan ida', + MM: 'fulan %d', + y: 'tinan ida', + yy: 'tinan %d' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/tg.js b/node_modules/dayjs/esm/locale/tg.js new file mode 100644 index 0000000..536df0b --- /dev/null +++ b/node_modules/dayjs/esm/locale/tg.js @@ -0,0 +1,39 @@ +// Tajik [tg] +import dayjs from '../index'; +var locale = { + name: 'tg', + weekdays: 'якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе'.split('_'), + months: 'январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр'.split('_'), + weekStart: 1, + weekdaysShort: 'яшб_дшб_сшб_чшб_пшб_ҷум_шнб'.split('_'), + monthsShort: 'янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек'.split('_'), + weekdaysMin: 'яш_дш_сш_чш_пш_ҷм_шб'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm' + }, + relativeTime: { + future: 'баъди %s', + past: '%s пеш', + s: 'якчанд сония', + m: 'як дақиқа', + mm: '%d дақиқа', + h: 'як соат', + hh: '%d соат', + d: 'як рӯз', + dd: '%d рӯз', + M: 'як моҳ', + MM: '%d моҳ', + y: 'як сол', + yy: '%d сол' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/th.js b/node_modules/dayjs/esm/locale/th.js new file mode 100644 index 0000000..5cbcdf2 --- /dev/null +++ b/node_modules/dayjs/esm/locale/th.js @@ -0,0 +1,38 @@ +// Thai [th] +import dayjs from '../index'; +var locale = { + name: 'th', + weekdays: 'อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์'.split('_'), + weekdaysShort: 'อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์'.split('_'), + weekdaysMin: 'อา._จ._อ._พ._พฤ._ศ._ส.'.split('_'), + months: 'มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม'.split('_'), + monthsShort: 'ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.'.split('_'), + formats: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY เวลา H:mm', + LLLL: 'วันddddที่ D MMMM YYYY เวลา H:mm' + }, + relativeTime: { + future: 'อีก %s', + past: '%sที่แล้ว', + s: 'ไม่กี่วินาที', + m: '1 นาที', + mm: '%d นาที', + h: '1 ชั่วโมง', + hh: '%d ชั่วโมง', + d: '1 วัน', + dd: '%d วัน', + M: '1 เดือน', + MM: '%d เดือน', + y: '1 ปี', + yy: '%d ปี' + }, + ordinal: function ordinal(n) { + return n + "."; + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/tk.js b/node_modules/dayjs/esm/locale/tk.js new file mode 100644 index 0000000..93390f1 --- /dev/null +++ b/node_modules/dayjs/esm/locale/tk.js @@ -0,0 +1,39 @@ +// Turkmen [tk] +import dayjs from '../index'; +var locale = { + name: 'tk', + weekdays: 'Ýekşenbe_Duşenbe_Sişenbe_Çarşenbe_Penşenbe_Anna_Şenbe'.split('_'), + weekdaysShort: 'Ýek_Duş_Siş_Çar_Pen_Ann_Şen'.split('_'), + weekdaysMin: 'Ýk_Dş_Sş_Çr_Pn_An_Şn'.split('_'), + months: 'Ýanwar_Fewral_Mart_Aprel_Maý_Iýun_Iýul_Awgust_Sentýabr_Oktýabr_Noýabr_Dekabr'.split('_'), + monthsShort: 'Ýan_Few_Mar_Apr_Maý_Iýn_Iýl_Awg_Sen_Okt_Noý_Dek'.split('_'), + weekStart: 1, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm' + }, + relativeTime: { + future: '%s soň', + past: '%s öň', + s: 'birnäçe sekunt', + m: 'bir minut', + mm: '%d minut', + h: 'bir sagat', + hh: '%d sagat', + d: 'bir gün', + dd: '%d gün', + M: 'bir aý', + MM: '%d aý', + y: 'bir ýyl', + yy: '%d ýyl' + }, + ordinal: function ordinal(n) { + return n + "."; + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/tl-ph.js b/node_modules/dayjs/esm/locale/tl-ph.js new file mode 100644 index 0000000..0fa84f3 --- /dev/null +++ b/node_modules/dayjs/esm/locale/tl-ph.js @@ -0,0 +1,39 @@ +// Tagalog (Philippines) [tl-ph] +import dayjs from '../index'; +var locale = { + name: 'tl-ph', + weekdays: 'Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado'.split('_'), + months: 'Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre'.split('_'), + weekStart: 1, + weekdaysShort: 'Lin_Lun_Mar_Miy_Huw_Biy_Sab'.split('_'), + monthsShort: 'Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis'.split('_'), + weekdaysMin: 'Li_Lu_Ma_Mi_Hu_Bi_Sab'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'MM/D/YYYY', + LL: 'MMMM D, YYYY', + LLL: 'MMMM D, YYYY HH:mm', + LLLL: 'dddd, MMMM DD, YYYY HH:mm' + }, + relativeTime: { + future: 'sa loob ng %s', + past: '%s ang nakalipas', + s: 'ilang segundo', + m: 'isang minuto', + mm: '%d minuto', + h: 'isang oras', + hh: '%d oras', + d: 'isang araw', + dd: '%d araw', + M: 'isang buwan', + MM: '%d buwan', + y: 'isang taon', + yy: '%d taon' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/tlh.js b/node_modules/dayjs/esm/locale/tlh.js new file mode 100644 index 0000000..30f52fe --- /dev/null +++ b/node_modules/dayjs/esm/locale/tlh.js @@ -0,0 +1,24 @@ +// Klingon [tlh] +import dayjs from '../index'; +var locale = { + name: 'tlh', + weekdays: 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'), + months: 'tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’'.split('_'), + weekStart: 1, + weekdaysShort: 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'), + monthsShort: 'jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’'.split('_'), + weekdaysMin: 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/tr.js b/node_modules/dayjs/esm/locale/tr.js new file mode 100644 index 0000000..e7fe24f --- /dev/null +++ b/node_modules/dayjs/esm/locale/tr.js @@ -0,0 +1,39 @@ +// Turkish [tr] +import dayjs from '../index'; +var locale = { + name: 'tr', + weekdays: 'Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi'.split('_'), + weekdaysShort: 'Paz_Pts_Sal_Çar_Per_Cum_Cts'.split('_'), + weekdaysMin: 'Pz_Pt_Sa_Ça_Pe_Cu_Ct'.split('_'), + months: 'Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık'.split('_'), + monthsShort: 'Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara'.split('_'), + weekStart: 1, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm' + }, + relativeTime: { + future: '%s sonra', + past: '%s önce', + s: 'birkaç saniye', + m: 'bir dakika', + mm: '%d dakika', + h: 'bir saat', + hh: '%d saat', + d: 'bir gün', + dd: '%d gün', + M: 'bir ay', + MM: '%d ay', + y: 'bir yıl', + yy: '%d yıl' + }, + ordinal: function ordinal(n) { + return n + "."; + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/types.d.ts b/node_modules/dayjs/esm/locale/types.d.ts new file mode 100644 index 0000000..2c24a64 --- /dev/null +++ b/node_modules/dayjs/esm/locale/types.d.ts @@ -0,0 +1,33 @@ +declare interface ILocale { + name: string + weekdays?: string[] + months?: string[] + weekStart?: number + weekdaysShort?: string[] + monthsShort?: string[] + weekdaysMin?: string[] + ordinal?: (n: number) => number | string + formats: Partial<{ + LT: string + LTS: string + L: string + LL: string + LLL: string + LLLL: string + }> + relativeTime: Partial<{ + future: string + past: string + s: string + m: string + mm: string + h: string + hh: string + d: string + dd: string + M: string + MM: string + y: string + yy: string + }> +} diff --git a/node_modules/dayjs/esm/locale/tzl.js b/node_modules/dayjs/esm/locale/tzl.js new file mode 100644 index 0000000..9fa0cd2 --- /dev/null +++ b/node_modules/dayjs/esm/locale/tzl.js @@ -0,0 +1,24 @@ +// Talossan [tzl] +import dayjs from '../index'; +var locale = { + name: 'tzl', + weekdays: 'Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi'.split('_'), + months: 'Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar'.split('_'), + weekStart: 1, + weekdaysShort: 'Súl_Lún_Mai_Már_Xhú_Vié_Sát'.split('_'), + monthsShort: 'Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec'.split('_'), + weekdaysMin: 'Sú_Lú_Ma_Má_Xh_Vi_Sá'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH.mm', + LTS: 'HH.mm.ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM [dallas] YYYY', + LLL: 'D. MMMM [dallas] YYYY HH.mm', + LLLL: 'dddd, [li] D. MMMM [dallas] YYYY HH.mm' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/tzm-latn.js b/node_modules/dayjs/esm/locale/tzm-latn.js new file mode 100644 index 0000000..e5ac6af --- /dev/null +++ b/node_modules/dayjs/esm/locale/tzm-latn.js @@ -0,0 +1,39 @@ +// Central Atlas Tamazight Latin [tzm-latn] +import dayjs from '../index'; +var locale = { + name: 'tzm-latn', + weekdays: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'), + months: 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split('_'), + weekStart: 6, + weekdaysShort: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'), + monthsShort: 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split('_'), + weekdaysMin: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm' + }, + relativeTime: { + future: 'dadkh s yan %s', + past: 'yan %s', + s: 'imik', + m: 'minuḍ', + mm: '%d minuḍ', + h: 'saɛa', + hh: '%d tassaɛin', + d: 'ass', + dd: '%d ossan', + M: 'ayowr', + MM: '%d iyyirn', + y: 'asgas', + yy: '%d isgasn' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/tzm.js b/node_modules/dayjs/esm/locale/tzm.js new file mode 100644 index 0000000..d94a6c0 --- /dev/null +++ b/node_modules/dayjs/esm/locale/tzm.js @@ -0,0 +1,39 @@ +// Central Atlas Tamazight [tzm] +import dayjs from '../index'; +var locale = { + name: 'tzm', + weekdays: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'), + months: 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split('_'), + weekStart: 6, + weekdaysShort: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'), + monthsShort: 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split('_'), + weekdaysMin: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm' + }, + relativeTime: { + future: 'ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s', + past: 'ⵢⴰⵏ %s', + s: 'ⵉⵎⵉⴽ', + m: 'ⵎⵉⵏⵓⴺ', + mm: '%d ⵎⵉⵏⵓⴺ', + h: 'ⵙⴰⵄⴰ', + hh: '%d ⵜⴰⵙⵙⴰⵄⵉⵏ', + d: 'ⴰⵙⵙ', + dd: '%d oⵙⵙⴰⵏ', + M: 'ⴰⵢoⵓⵔ', + MM: '%d ⵉⵢⵢⵉⵔⵏ', + y: 'ⴰⵙⴳⴰⵙ', + yy: '%d ⵉⵙⴳⴰⵙⵏ' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/ug-cn.js b/node_modules/dayjs/esm/locale/ug-cn.js new file mode 100644 index 0000000..d3d6392 --- /dev/null +++ b/node_modules/dayjs/esm/locale/ug-cn.js @@ -0,0 +1,39 @@ +// Uyghur (China) [ug-cn] +import dayjs from '../index'; +var locale = { + name: 'ug-cn', + weekdays: 'يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە'.split('_'), + months: 'يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر'.split('_'), + weekStart: 1, + weekdaysShort: 'يە_دۈ_سە_چا_پە_جۈ_شە'.split('_'), + monthsShort: 'يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر'.split('_'), + weekdaysMin: 'يە_دۈ_سە_چا_پە_جۈ_شە'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY-MM-DD', + LL: 'YYYY-يىلىM-ئاينىڭD-كۈنى', + LLL: 'YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm', + LLLL: 'dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm' + }, + relativeTime: { + future: '%s كېيىن', + past: '%s بۇرۇن', + s: 'نەچچە سېكونت', + m: 'بىر مىنۇت', + mm: '%d مىنۇت', + h: 'بىر سائەت', + hh: '%d سائەت', + d: 'بىر كۈن', + dd: '%d كۈن', + M: 'بىر ئاي', + MM: '%d ئاي', + y: 'بىر يىل', + yy: '%d يىل' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/uk.js b/node_modules/dayjs/esm/locale/uk.js new file mode 100644 index 0000000..3c70b13 --- /dev/null +++ b/node_modules/dayjs/esm/locale/uk.js @@ -0,0 +1,77 @@ +// Ukrainian [uk] +import dayjs from '../index'; +var monthFormat = 'січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня'.split('_'); +var monthStandalone = 'січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень'.split('_'); +var MONTHS_IN_FORMAT = /D[oD]?(\[[^[\]]*\]|\s)+MMMM?/; + +function plural(word, num) { + var forms = word.split('_'); + return num % 10 === 1 && num % 100 !== 11 ? forms[0] : num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20) ? forms[1] : forms[2]; // eslint-disable-line +} + +function relativeTimeWithPlural(number, withoutSuffix, key) { + var format = { + ss: withoutSuffix ? 'секунда_секунди_секунд' : 'секунду_секунди_секунд', + mm: withoutSuffix ? 'хвилина_хвилини_хвилин' : 'хвилину_хвилини_хвилин', + hh: withoutSuffix ? 'година_години_годин' : 'годину_години_годин', + dd: 'день_дні_днів', + MM: 'місяць_місяці_місяців', + yy: 'рік_роки_років' + }; + + if (key === 'm') { + return withoutSuffix ? 'хвилина' : 'хвилину'; + } else if (key === 'h') { + return withoutSuffix ? 'година' : 'годину'; + } + + return number + " " + plural(format[key], +number); +} + +var months = function months(dayjsInstance, format) { + if (MONTHS_IN_FORMAT.test(format)) { + return monthFormat[dayjsInstance.month()]; + } + + return monthStandalone[dayjsInstance.month()]; +}; + +months.s = monthStandalone; +months.f = monthFormat; +var locale = { + name: 'uk', + weekdays: 'неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота'.split('_'), + weekdaysShort: 'ндл_пнд_втр_срд_чтв_птн_сбт'.split('_'), + weekdaysMin: 'нд_пн_вт_ср_чт_пт_сб'.split('_'), + months: months, + monthsShort: 'січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд'.split('_'), + weekStart: 1, + relativeTime: { + future: 'за %s', + past: '%s тому', + s: 'декілька секунд', + m: relativeTimeWithPlural, + mm: relativeTimeWithPlural, + h: relativeTimeWithPlural, + hh: relativeTimeWithPlural, + d: 'день', + dd: relativeTimeWithPlural, + M: 'місяць', + MM: relativeTimeWithPlural, + y: 'рік', + yy: relativeTimeWithPlural + }, + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D MMMM YYYY р.', + LLL: 'D MMMM YYYY р., HH:mm', + LLLL: 'dddd, D MMMM YYYY р., HH:mm' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/ur.js b/node_modules/dayjs/esm/locale/ur.js new file mode 100644 index 0000000..7464c1e --- /dev/null +++ b/node_modules/dayjs/esm/locale/ur.js @@ -0,0 +1,39 @@ +// Urdu [ur] +import dayjs from '../index'; +var locale = { + name: 'ur', + weekdays: 'اتوار_پیر_منگل_بدھ_جمعرات_جمعہ_ہفتہ'.split('_'), + months: 'جنوری_فروری_مارچ_اپریل_مئی_جون_جولائی_اگست_ستمبر_اکتوبر_نومبر_دسمبر'.split('_'), + weekStart: 1, + weekdaysShort: 'اتوار_پیر_منگل_بدھ_جمعرات_جمعہ_ہفتہ'.split('_'), + monthsShort: 'جنوری_فروری_مارچ_اپریل_مئی_جون_جولائی_اگست_ستمبر_اکتوبر_نومبر_دسمبر'.split('_'), + weekdaysMin: 'اتوار_پیر_منگل_بدھ_جمعرات_جمعہ_ہفتہ'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd، D MMMM YYYY HH:mm' + }, + relativeTime: { + future: '%s بعد', + past: '%s قبل', + s: 'چند سیکنڈ', + m: 'ایک منٹ', + mm: '%d منٹ', + h: 'ایک گھنٹہ', + hh: '%d گھنٹے', + d: 'ایک دن', + dd: '%d دن', + M: 'ایک ماہ', + MM: '%d ماہ', + y: 'ایک سال', + yy: '%d سال' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/uz-latn.js b/node_modules/dayjs/esm/locale/uz-latn.js new file mode 100644 index 0000000..befdfee --- /dev/null +++ b/node_modules/dayjs/esm/locale/uz-latn.js @@ -0,0 +1,39 @@ +// Uzbek Latin [uz-latn] +import dayjs from '../index'; +var locale = { + name: 'uz-latn', + weekdays: 'Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba'.split('_'), + months: 'Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr'.split('_'), + weekStart: 1, + weekdaysShort: 'Yak_Dush_Sesh_Chor_Pay_Jum_Shan'.split('_'), + monthsShort: 'Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek'.split('_'), + weekdaysMin: 'Ya_Du_Se_Cho_Pa_Ju_Sha'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'D MMMM YYYY, dddd HH:mm' + }, + relativeTime: { + future: 'Yaqin %s ichida', + past: '%s oldin', + s: 'soniya', + m: 'bir daqiqa', + mm: '%d daqiqa', + h: 'bir soat', + hh: '%d soat', + d: 'bir kun', + dd: '%d kun', + M: 'bir oy', + MM: '%d oy', + y: 'bir yil', + yy: '%d yil' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/uz.js b/node_modules/dayjs/esm/locale/uz.js new file mode 100644 index 0000000..4433263 --- /dev/null +++ b/node_modules/dayjs/esm/locale/uz.js @@ -0,0 +1,39 @@ +// Uzbek [uz] +import dayjs from '../index'; +var locale = { + name: 'uz', + weekdays: 'Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба'.split('_'), + months: 'январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр'.split('_'), + weekStart: 1, + weekdaysShort: 'Якш_Душ_Сеш_Чор_Пай_Жум_Шан'.split('_'), + monthsShort: 'янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек'.split('_'), + weekdaysMin: 'Як_Ду_Се_Чо_Па_Жу_Ша'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'D MMMM YYYY, dddd HH:mm' + }, + relativeTime: { + future: 'Якин %s ичида', + past: '%s олдин', + s: 'фурсат', + m: 'бир дакика', + mm: '%d дакика', + h: 'бир соат', + hh: '%d соат', + d: 'бир кун', + dd: '%d кун', + M: 'бир ой', + MM: '%d ой', + y: 'бир йил', + yy: '%d йил' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/vi.js b/node_modules/dayjs/esm/locale/vi.js new file mode 100644 index 0000000..f55cc73 --- /dev/null +++ b/node_modules/dayjs/esm/locale/vi.js @@ -0,0 +1,43 @@ +// Vietnamese [vi] +import dayjs from '../index'; +var locale = { + name: 'vi', + weekdays: 'chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy'.split('_'), + months: 'tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12'.split('_'), + weekStart: 1, + weekdaysShort: 'CN_T2_T3_T4_T5_T6_T7'.split('_'), + monthsShort: 'Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12'.split('_'), + weekdaysMin: 'CN_T2_T3_T4_T5_T6_T7'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM [năm] YYYY', + LLL: 'D MMMM [năm] YYYY HH:mm', + LLLL: 'dddd, D MMMM [năm] YYYY HH:mm', + l: 'DD/M/YYYY', + ll: 'D MMM YYYY', + lll: 'D MMM YYYY HH:mm', + llll: 'ddd, D MMM YYYY HH:mm' + }, + relativeTime: { + future: '%s tới', + past: '%s trước', + s: 'vài giây', + m: 'một phút', + mm: '%d phút', + h: 'một giờ', + hh: '%d giờ', + d: 'một ngày', + dd: '%d ngày', + M: 'một tháng', + MM: '%d tháng', + y: 'một năm', + yy: '%d năm' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/x-pseudo.js b/node_modules/dayjs/esm/locale/x-pseudo.js new file mode 100644 index 0000000..ceb6782 --- /dev/null +++ b/node_modules/dayjs/esm/locale/x-pseudo.js @@ -0,0 +1,39 @@ +// Pseudo [x-pseudo] +import dayjs from '../index'; +var locale = { + name: 'x-pseudo', + weekdays: 'S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý'.split('_'), + months: 'J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér'.split('_'), + weekStart: 1, + weekdaysShort: 'S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát'.split('_'), + monthsShort: 'J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc'.split('_'), + weekdaysMin: 'S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm' + }, + relativeTime: { + future: 'í~ñ %s', + past: '%s á~gó', + s: 'á ~féw ~sécó~ñds', + m: 'á ~míñ~úté', + mm: '%d m~íñú~tés', + h: 'á~ñ hó~úr', + hh: '%d h~óúrs', + d: 'á ~dáý', + dd: '%d d~áýs', + M: 'á ~móñ~th', + MM: '%d m~óñt~hs', + y: 'á ~ýéár', + yy: '%d ý~éárs' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/yo.js b/node_modules/dayjs/esm/locale/yo.js new file mode 100644 index 0000000..1f79468 --- /dev/null +++ b/node_modules/dayjs/esm/locale/yo.js @@ -0,0 +1,39 @@ +// Yoruba Nigeria [yo] +import dayjs from '../index'; +var locale = { + name: 'yo', + weekdays: 'Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta'.split('_'), + months: 'Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀'.split('_'), + weekStart: 1, + weekdaysShort: 'Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá'.split('_'), + monthsShort: 'Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀'.split('_'), + weekdaysMin: 'Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb'.split('_'), + ordinal: function ordinal(n) { + return n; + }, + formats: { + LT: 'h:mm A', + LTS: 'h:mm:ss A', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY h:mm A', + LLLL: 'dddd, D MMMM YYYY h:mm A' + }, + relativeTime: { + future: 'ní %s', + past: '%s kọjá', + s: 'ìsẹjú aayá die', + m: 'ìsẹjú kan', + mm: 'ìsẹjú %d', + h: 'wákati kan', + hh: 'wákati %d', + d: 'ọjọ́ kan', + dd: 'ọjọ́ %d', + M: 'osù kan', + MM: 'osù %d', + y: 'ọdún kan', + yy: 'ọdún %d' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/zh-cn.js b/node_modules/dayjs/esm/locale/zh-cn.js new file mode 100644 index 0000000..1a7ebf4 --- /dev/null +++ b/node_modules/dayjs/esm/locale/zh-cn.js @@ -0,0 +1,67 @@ +// Chinese (China) [zh-cn] +import dayjs from '../index'; +var locale = { + name: 'zh-cn', + weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'), + weekdaysShort: '周日_周一_周二_周三_周四_周五_周六'.split('_'), + weekdaysMin: '日_一_二_三_四_五_六'.split('_'), + months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split('_'), + monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'), + ordinal: function ordinal(number, period) { + switch (period) { + case 'W': + return number + "\u5468"; + + default: + return number + "\u65E5"; + } + }, + weekStart: 1, + yearStart: 4, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY/MM/DD', + LL: 'YYYY年M月D日', + LLL: 'YYYY年M月D日Ah点mm分', + LLLL: 'YYYY年M月D日ddddAh点mm分', + l: 'YYYY/M/D', + ll: 'YYYY年M月D日', + lll: 'YYYY年M月D日 HH:mm', + llll: 'YYYY年M月D日dddd HH:mm' + }, + relativeTime: { + future: '%s内', + past: '%s前', + s: '几秒', + m: '1 分钟', + mm: '%d 分钟', + h: '1 小时', + hh: '%d 小时', + d: '1 天', + dd: '%d 天', + M: '1 个月', + MM: '%d 个月', + y: '1 年', + yy: '%d 年' + }, + meridiem: function meridiem(hour, minute) { + var hm = hour * 100 + minute; + + if (hm < 600) { + return '凌晨'; + } else if (hm < 900) { + return '早上'; + } else if (hm < 1100) { + return '上午'; + } else if (hm < 1300) { + return '中午'; + } else if (hm < 1800) { + return '下午'; + } + + return '晚上'; + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/zh-hk.js b/node_modules/dayjs/esm/locale/zh-hk.js new file mode 100644 index 0000000..3896747 --- /dev/null +++ b/node_modules/dayjs/esm/locale/zh-hk.js @@ -0,0 +1,44 @@ +// Chinese (Hong Kong) [zh-hk] +import dayjs from '../index'; +var locale = { + name: 'zh-hk', + months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split('_'), + monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'), + weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'), + weekdaysShort: '週日_週一_週二_週三_週四_週五_週六'.split('_'), + weekdaysMin: '日_一_二_三_四_五_六'.split('_'), + ordinal: function ordinal(number, period) { + switch (period) { + case 'W': + return number + "\u9031"; + + default: + return number + "\u65E5"; + } + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY/MM/DD', + LL: 'YYYY年M月D日', + LLL: 'YYYY年M月D日 HH:mm', + LLLL: 'YYYY年M月D日dddd HH:mm' + }, + relativeTime: { + future: '%s內', + past: '%s前', + s: '幾秒', + m: '一分鐘', + mm: '%d 分鐘', + h: '一小時', + hh: '%d 小時', + d: '一天', + dd: '%d 天', + M: '一個月', + MM: '%d 個月', + y: '一年', + yy: '%d 年' + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/zh-tw.js b/node_modules/dayjs/esm/locale/zh-tw.js new file mode 100644 index 0000000..ada89ee --- /dev/null +++ b/node_modules/dayjs/esm/locale/zh-tw.js @@ -0,0 +1,65 @@ +// Chinese (Taiwan) [zh-tw] +import dayjs from '../index'; +var locale = { + name: 'zh-tw', + weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'), + weekdaysShort: '週日_週一_週二_週三_週四_週五_週六'.split('_'), + weekdaysMin: '日_一_二_三_四_五_六'.split('_'), + months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split('_'), + monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'), + ordinal: function ordinal(number, period) { + switch (period) { + case 'W': + return number + "\u9031"; + + default: + return number + "\u65E5"; + } + }, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY/MM/DD', + LL: 'YYYY年M月D日', + LLL: 'YYYY年M月D日 HH:mm', + LLLL: 'YYYY年M月D日dddd HH:mm', + l: 'YYYY/M/D', + ll: 'YYYY年M月D日', + lll: 'YYYY年M月D日 HH:mm', + llll: 'YYYY年M月D日dddd HH:mm' + }, + relativeTime: { + future: '%s內', + past: '%s前', + s: '幾秒', + m: '1 分鐘', + mm: '%d 分鐘', + h: '1 小時', + hh: '%d 小時', + d: '1 天', + dd: '%d 天', + M: '1 個月', + MM: '%d 個月', + y: '1 年', + yy: '%d 年' + }, + meridiem: function meridiem(hour, minute) { + var hm = hour * 100 + minute; + + if (hm < 600) { + return '凌晨'; + } else if (hm < 900) { + return '早上'; + } else if (hm < 1100) { + return '上午'; + } else if (hm < 1300) { + return '中午'; + } else if (hm < 1800) { + return '下午'; + } + + return '晚上'; + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/locale/zh.js b/node_modules/dayjs/esm/locale/zh.js new file mode 100644 index 0000000..b98ab70 --- /dev/null +++ b/node_modules/dayjs/esm/locale/zh.js @@ -0,0 +1,67 @@ +// Chinese [zh] +import dayjs from '../index'; +var locale = { + name: 'zh', + weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'), + weekdaysShort: '周日_周一_周二_周三_周四_周五_周六'.split('_'), + weekdaysMin: '日_一_二_三_四_五_六'.split('_'), + months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split('_'), + monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'), + ordinal: function ordinal(number, period) { + switch (period) { + case 'W': + return number + "\u5468"; + + default: + return number + "\u65E5"; + } + }, + weekStart: 1, + yearStart: 4, + formats: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'YYYY/MM/DD', + LL: 'YYYY年M月D日', + LLL: 'YYYY年M月D日Ah点mm分', + LLLL: 'YYYY年M月D日ddddAh点mm分', + l: 'YYYY/M/D', + ll: 'YYYY年M月D日', + lll: 'YYYY年M月D日 HH:mm', + llll: 'YYYY年M月D日dddd HH:mm' + }, + relativeTime: { + future: '%s后', + past: '%s前', + s: '几秒', + m: '1 分钟', + mm: '%d 分钟', + h: '1 小时', + hh: '%d 小时', + d: '1 天', + dd: '%d 天', + M: '1 个月', + MM: '%d 个月', + y: '1 年', + yy: '%d 年' + }, + meridiem: function meridiem(hour, minute) { + var hm = hour * 100 + minute; + + if (hm < 600) { + return '凌晨'; + } else if (hm < 900) { + return '早上'; + } else if (hm < 1100) { + return '上午'; + } else if (hm < 1300) { + return '中午'; + } else if (hm < 1800) { + return '下午'; + } + + return '晚上'; + } +}; +dayjs.locale(locale, null, true); +export default locale; \ No newline at end of file diff --git a/node_modules/dayjs/esm/plugin/advancedFormat/index.d.ts b/node_modules/dayjs/esm/plugin/advancedFormat/index.d.ts new file mode 100644 index 0000000..a17c896 --- /dev/null +++ b/node_modules/dayjs/esm/plugin/advancedFormat/index.d.ts @@ -0,0 +1,4 @@ +import { PluginFunc } from 'dayjs/esm' + +declare const plugin: PluginFunc +export = plugin diff --git a/node_modules/dayjs/esm/plugin/advancedFormat/index.js b/node_modules/dayjs/esm/plugin/advancedFormat/index.js new file mode 100644 index 0000000..f45e4e0 --- /dev/null +++ b/node_modules/dayjs/esm/plugin/advancedFormat/index.js @@ -0,0 +1,66 @@ +import { FORMAT_DEFAULT } from '../../constant'; +export default (function (o, c) { + // locale needed later + var proto = c.prototype; + var oldFormat = proto.format; + + proto.format = function (formatStr) { + var _this = this; + + var locale = this.$locale(); + + if (!this.isValid()) { + return oldFormat.bind(this)(formatStr); + } + + var utils = this.$utils(); + var str = formatStr || FORMAT_DEFAULT; + var result = str.replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g, function (match) { + switch (match) { + case 'Q': + return Math.ceil((_this.$M + 1) / 3); + + case 'Do': + return locale.ordinal(_this.$D); + + case 'gggg': + return _this.weekYear(); + + case 'GGGG': + return _this.isoWeekYear(); + + case 'wo': + return locale.ordinal(_this.week(), 'W'); + // W for week + + case 'w': + case 'ww': + return utils.s(_this.week(), match === 'w' ? 1 : 2, '0'); + + case 'W': + case 'WW': + return utils.s(_this.isoWeek(), match === 'W' ? 1 : 2, '0'); + + case 'k': + case 'kk': + return utils.s(String(_this.$H === 0 ? 24 : _this.$H), match === 'k' ? 1 : 2, '0'); + + case 'X': + return Math.floor(_this.$d.getTime() / 1000); + + case 'x': + return _this.$d.getTime(); + + case 'z': + return "[" + _this.offsetName() + "]"; + + case 'zzz': + return "[" + _this.offsetName('long') + "]"; + + default: + return match; + } + }); + return oldFormat.bind(this)(result); + }; +}); \ No newline at end of file diff --git a/node_modules/dayjs/esm/plugin/arraySupport/index.d.ts b/node_modules/dayjs/esm/plugin/arraySupport/index.d.ts new file mode 100644 index 0000000..30f8d9c --- /dev/null +++ b/node_modules/dayjs/esm/plugin/arraySupport/index.d.ts @@ -0,0 +1,10 @@ +import { PluginFunc } from 'dayjs/esm' + +declare module 'dayjs/esm' { + interface ConfigTypeMap { + arraySupport: [number?, number?, number?, number?, number?, number?, number?] + } +} + +declare const plugin: PluginFunc +export = plugin diff --git a/node_modules/dayjs/esm/plugin/arraySupport/index.js b/node_modules/dayjs/esm/plugin/arraySupport/index.js new file mode 100644 index 0000000..c7edc79 --- /dev/null +++ b/node_modules/dayjs/esm/plugin/arraySupport/index.js @@ -0,0 +1,33 @@ +export default (function (o, c, dayjs) { + var proto = c.prototype; + + var parseDate = function parseDate(cfg) { + var date = cfg.date, + utc = cfg.utc; + + if (Array.isArray(date)) { + if (utc) { + if (!date.length) { + return new Date(); + } + + return new Date(Date.UTC.apply(null, date)); + } + + if (date.length === 1) { + return dayjs(String(date[0])).toDate(); + } + + return new (Function.prototype.bind.apply(Date, [null].concat(date)))(); + } + + return date; + }; + + var oldParse = proto.parse; + + proto.parse = function (cfg) { + cfg.date = parseDate.bind(this)(cfg); + oldParse.bind(this)(cfg); + }; +}); \ No newline at end of file diff --git a/node_modules/dayjs/esm/plugin/badMutable/index.d.ts b/node_modules/dayjs/esm/plugin/badMutable/index.d.ts new file mode 100644 index 0000000..a17c896 --- /dev/null +++ b/node_modules/dayjs/esm/plugin/badMutable/index.d.ts @@ -0,0 +1,4 @@ +import { PluginFunc } from 'dayjs/esm' + +declare const plugin: PluginFunc +export = plugin diff --git a/node_modules/dayjs/esm/plugin/badMutable/index.js b/node_modules/dayjs/esm/plugin/badMutable/index.js new file mode 100644 index 0000000..679edee --- /dev/null +++ b/node_modules/dayjs/esm/plugin/badMutable/index.js @@ -0,0 +1,61 @@ +export default (function (o, c) { + // locale needed later + var proto = c.prototype; + + proto.$g = function (input, get, set) { + if (this.$utils().u(input)) return this[get]; + return this.$set(set, input); + }; + + proto.set = function (string, _int) { + return this.$set(string, _int); + }; + + var oldStartOf = proto.startOf; + + proto.startOf = function (units, startOf) { + this.$d = oldStartOf.bind(this)(units, startOf).toDate(); + this.init(); + return this; + }; + + var oldAdd = proto.add; + + proto.add = function (number, units) { + this.$d = oldAdd.bind(this)(number, units).toDate(); + this.init(); + return this; + }; + + var oldLocale = proto.locale; + + proto.locale = function (preset, object) { + if (!preset) return this.$L; + this.$L = oldLocale.bind(this)(preset, object).$L; + return this; + }; + + var oldDaysInMonth = proto.daysInMonth; + + proto.daysInMonth = function () { + return oldDaysInMonth.bind(this.clone())(); + }; + + var oldIsSame = proto.isSame; + + proto.isSame = function (that, units) { + return oldIsSame.bind(this.clone())(that, units); + }; + + var oldIsBefore = proto.isBefore; + + proto.isBefore = function (that, units) { + return oldIsBefore.bind(this.clone())(that, units); + }; + + var oldIsAfter = proto.isAfter; + + proto.isAfter = function (that, units) { + return oldIsAfter.bind(this.clone())(that, units); + }; +}); \ No newline at end of file diff --git a/node_modules/dayjs/esm/plugin/bigIntSupport/index.d.ts b/node_modules/dayjs/esm/plugin/bigIntSupport/index.d.ts new file mode 100644 index 0000000..0829ead --- /dev/null +++ b/node_modules/dayjs/esm/plugin/bigIntSupport/index.d.ts @@ -0,0 +1,11 @@ +import { PluginFunc } from 'dayjs/esm' + +declare module 'dayjs/esm' { + interface ConfigTypeMap { + bigIntSupport: BigInt + } + export function unix(t: BigInt): Dayjs +} + +declare const plugin: PluginFunc +export = plugin diff --git a/node_modules/dayjs/esm/plugin/bigIntSupport/index.js b/node_modules/dayjs/esm/plugin/bigIntSupport/index.js new file mode 100644 index 0000000..fa93982 --- /dev/null +++ b/node_modules/dayjs/esm/plugin/bigIntSupport/index.js @@ -0,0 +1,32 @@ +// eslint-disable-next-line valid-typeof +var isBigInt = function isBigInt(num) { + return typeof num === 'bigint'; +}; + +export default (function (o, c, dayjs) { + var proto = c.prototype; + + var parseDate = function parseDate(cfg) { + var date = cfg.date; + + if (isBigInt(date)) { + return Number(date); + } + + return date; + }; + + var oldParse = proto.parse; + + proto.parse = function (cfg) { + cfg.date = parseDate.bind(this)(cfg); + oldParse.bind(this)(cfg); + }; + + var oldUnix = dayjs.unix; + + dayjs.unix = function (timestamp) { + var ts = isBigInt(timestamp) ? Number(timestamp) : timestamp; + return oldUnix(ts); + }; +}); \ No newline at end of file diff --git a/node_modules/dayjs/esm/plugin/buddhistEra/index.d.ts b/node_modules/dayjs/esm/plugin/buddhistEra/index.d.ts new file mode 100644 index 0000000..a17c896 --- /dev/null +++ b/node_modules/dayjs/esm/plugin/buddhistEra/index.d.ts @@ -0,0 +1,4 @@ +import { PluginFunc } from 'dayjs/esm' + +declare const plugin: PluginFunc +export = plugin diff --git a/node_modules/dayjs/esm/plugin/buddhistEra/index.js b/node_modules/dayjs/esm/plugin/buddhistEra/index.js new file mode 100644 index 0000000..76ce44c --- /dev/null +++ b/node_modules/dayjs/esm/plugin/buddhistEra/index.js @@ -0,0 +1,21 @@ +import { FORMAT_DEFAULT } from '../../constant'; +export default (function (o, c) { + // locale needed later + var proto = c.prototype; + var oldFormat = proto.format; // extend en locale here + + proto.format = function (formatStr) { + var _this = this; + + var yearBias = 543; + var str = formatStr || FORMAT_DEFAULT; + var result = str.replace(/(\[[^\]]+])|BBBB|BB/g, function (match, a) { + var _this$$utils; + + var year = String(_this.$y + yearBias); + var args = match === 'BB' ? [year.slice(-2), 2] : [year, 4]; + return a || (_this$$utils = _this.$utils()).s.apply(_this$$utils, args.concat(['0'])); + }); + return oldFormat.bind(this)(result); + }; +}); \ No newline at end of file diff --git a/node_modules/dayjs/esm/plugin/calendar/index.d.ts b/node_modules/dayjs/esm/plugin/calendar/index.d.ts new file mode 100644 index 0000000..42bff4b --- /dev/null +++ b/node_modules/dayjs/esm/plugin/calendar/index.d.ts @@ -0,0 +1,10 @@ +import { PluginFunc, ConfigType } from 'dayjs/esm' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs/esm' { + interface Dayjs { + calendar(referenceTime?: ConfigType, formats?: object): string + } +} diff --git a/node_modules/dayjs/esm/plugin/calendar/index.js b/node_modules/dayjs/esm/plugin/calendar/index.js new file mode 100644 index 0000000..9abf1e9 --- /dev/null +++ b/node_modules/dayjs/esm/plugin/calendar/index.js @@ -0,0 +1,32 @@ +export default (function (o, c, d) { + var LT = 'h:mm A'; + var L = 'MM/DD/YYYY'; + var calendarFormat = { + lastDay: "[Yesterday at] " + LT, + sameDay: "[Today at] " + LT, + nextDay: "[Tomorrow at] " + LT, + nextWeek: "dddd [at] " + LT, + lastWeek: "[Last] dddd [at] " + LT, + sameElse: L + }; + var proto = c.prototype; + + proto.calendar = function (referenceTime, formats) { + var format = formats || this.$locale().calendar || calendarFormat; + var referenceStartOfDay = d(referenceTime || undefined).startOf('d'); + var diff = this.diff(referenceStartOfDay, 'd', true); + var sameElse = 'sameElse'; + /* eslint-disable no-nested-ternary */ + + var retVal = diff < -6 ? sameElse : diff < -1 ? 'lastWeek' : diff < 0 ? 'lastDay' : diff < 1 ? 'sameDay' : diff < 2 ? 'nextDay' : diff < 7 ? 'nextWeek' : sameElse; + /* eslint-enable no-nested-ternary */ + + var currentFormat = format[retVal] || calendarFormat[retVal]; + + if (typeof currentFormat === 'function') { + return currentFormat.call(this, d()); + } + + return this.format(currentFormat); + }; +}); \ No newline at end of file diff --git a/node_modules/dayjs/esm/plugin/customParseFormat/index.d.ts b/node_modules/dayjs/esm/plugin/customParseFormat/index.d.ts new file mode 100644 index 0000000..7da585e --- /dev/null +++ b/node_modules/dayjs/esm/plugin/customParseFormat/index.d.ts @@ -0,0 +1,8 @@ +import { PluginFunc } from 'dayjs/esm' + +declare interface PluginOptions { + parseTwoDigitYear?: (yearString: string) => number +} + +declare const plugin: PluginFunc +export = plugin diff --git a/node_modules/dayjs/esm/plugin/customParseFormat/index.js b/node_modules/dayjs/esm/plugin/customParseFormat/index.js new file mode 100644 index 0000000..1fd5936 --- /dev/null +++ b/node_modules/dayjs/esm/plugin/customParseFormat/index.js @@ -0,0 +1,320 @@ +import { u } from '../localizedFormat/utils'; +var formattingTokens = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g; +var match1 = /\d/; // 0 - 9 + +var match2 = /\d\d/; // 00 - 99 + +var match3 = /\d{3}/; // 000 - 999 + +var match4 = /\d{4}/; // 0000 - 9999 + +var match1to2 = /\d\d?/; // 0 - 99 + +var matchSigned = /[+-]?\d+/; // -inf - inf + +var matchOffset = /[+-]\d\d:?(\d\d)?|Z/; // +00:00 -00:00 +0000 or -0000 +00 or Z + +var matchWord = /\d*[^-_:/,()\s\d]+/; // Word + +var locale = {}; + +var parseTwoDigitYear = function parseTwoDigitYear(input) { + input = +input; + return input + (input > 68 ? 1900 : 2000); +}; + +function offsetFromString(string) { + if (!string) return 0; + if (string === 'Z') return 0; + var parts = string.match(/([+-]|\d\d)/g); + var minutes = +(parts[1] * 60) + (+parts[2] || 0); + return minutes === 0 ? 0 : parts[0] === '+' ? -minutes : minutes; // eslint-disable-line no-nested-ternary +} + +var addInput = function addInput(property) { + return function (input) { + this[property] = +input; + }; +}; + +var zoneExpressions = [matchOffset, function (input) { + var zone = this.zone || (this.zone = {}); + zone.offset = offsetFromString(input); +}]; + +var getLocalePart = function getLocalePart(name) { + var part = locale[name]; + return part && (part.indexOf ? part : part.s.concat(part.f)); +}; + +var meridiemMatch = function meridiemMatch(input, isLowerCase) { + var isAfternoon; + var _locale = locale, + meridiem = _locale.meridiem; + + if (!meridiem) { + isAfternoon = input === (isLowerCase ? 'pm' : 'PM'); + } else { + for (var i = 1; i <= 24; i += 1) { + // todo: fix input === meridiem(i, 0, isLowerCase) + if (input.indexOf(meridiem(i, 0, isLowerCase)) > -1) { + isAfternoon = i > 12; + break; + } + } + } + + return isAfternoon; +}; + +var expressions = { + A: [matchWord, function (input) { + this.afternoon = meridiemMatch(input, false); + }], + a: [matchWord, function (input) { + this.afternoon = meridiemMatch(input, true); + }], + S: [match1, function (input) { + this.milliseconds = +input * 100; + }], + SS: [match2, function (input) { + this.milliseconds = +input * 10; + }], + SSS: [match3, function (input) { + this.milliseconds = +input; + }], + s: [match1to2, addInput('seconds')], + ss: [match1to2, addInput('seconds')], + m: [match1to2, addInput('minutes')], + mm: [match1to2, addInput('minutes')], + H: [match1to2, addInput('hours')], + h: [match1to2, addInput('hours')], + HH: [match1to2, addInput('hours')], + hh: [match1to2, addInput('hours')], + D: [match1to2, addInput('day')], + DD: [match2, addInput('day')], + Do: [matchWord, function (input) { + var _locale2 = locale, + ordinal = _locale2.ordinal; + + var _input$match = input.match(/\d+/); + + this.day = _input$match[0]; + if (!ordinal) return; + + for (var i = 1; i <= 31; i += 1) { + if (ordinal(i).replace(/\[|\]/g, '') === input) { + this.day = i; + } + } + }], + M: [match1to2, addInput('month')], + MM: [match2, addInput('month')], + MMM: [matchWord, function (input) { + var months = getLocalePart('months'); + var monthsShort = getLocalePart('monthsShort'); + var matchIndex = (monthsShort || months.map(function (_) { + return _.slice(0, 3); + })).indexOf(input) + 1; + + if (matchIndex < 1) { + throw new Error(); + } + + this.month = matchIndex % 12 || matchIndex; + }], + MMMM: [matchWord, function (input) { + var months = getLocalePart('months'); + var matchIndex = months.indexOf(input) + 1; + + if (matchIndex < 1) { + throw new Error(); + } + + this.month = matchIndex % 12 || matchIndex; + }], + Y: [matchSigned, addInput('year')], + YY: [match2, function (input) { + this.year = parseTwoDigitYear(input); + }], + YYYY: [match4, addInput('year')], + Z: zoneExpressions, + ZZ: zoneExpressions +}; + +function correctHours(time) { + var afternoon = time.afternoon; + + if (afternoon !== undefined) { + var hours = time.hours; + + if (afternoon) { + if (hours < 12) { + time.hours += 12; + } + } else if (hours === 12) { + time.hours = 0; + } + + delete time.afternoon; + } +} + +function makeParser(format) { + format = u(format, locale && locale.formats); + var array = format.match(formattingTokens); + var length = array.length; + + for (var i = 0; i < length; i += 1) { + var token = array[i]; + var parseTo = expressions[token]; + var regex = parseTo && parseTo[0]; + var parser = parseTo && parseTo[1]; + + if (parser) { + array[i] = { + regex: regex, + parser: parser + }; + } else { + array[i] = token.replace(/^\[|\]$/g, ''); + } + } + + return function (input) { + var time = {}; + + for (var _i = 0, start = 0; _i < length; _i += 1) { + var _token = array[_i]; + + if (typeof _token === 'string') { + start += _token.length; + } else { + var _regex = _token.regex, + _parser = _token.parser; + var part = input.slice(start); + + var match = _regex.exec(part); + + var value = match[0]; + + _parser.call(time, value); + + input = input.replace(value, ''); + } + } + + correctHours(time); + return time; + }; +} + +var parseFormattedInput = function parseFormattedInput(input, format, utc) { + try { + if (['x', 'X'].indexOf(format) > -1) return new Date((format === 'X' ? 1000 : 1) * input); + var parser = makeParser(format); + + var _parser2 = parser(input), + year = _parser2.year, + month = _parser2.month, + day = _parser2.day, + hours = _parser2.hours, + minutes = _parser2.minutes, + seconds = _parser2.seconds, + milliseconds = _parser2.milliseconds, + zone = _parser2.zone; + + var now = new Date(); + var d = day || (!year && !month ? now.getDate() : 1); + var y = year || now.getFullYear(); + var M = 0; + + if (!(year && !month)) { + M = month > 0 ? month - 1 : now.getMonth(); + } + + var h = hours || 0; + var m = minutes || 0; + var s = seconds || 0; + var ms = milliseconds || 0; + + if (zone) { + return new Date(Date.UTC(y, M, d, h, m, s, ms + zone.offset * 60 * 1000)); + } + + if (utc) { + return new Date(Date.UTC(y, M, d, h, m, s, ms)); + } + + return new Date(y, M, d, h, m, s, ms); + } catch (e) { + return new Date(''); // Invalid Date + } +}; + +export default (function (o, C, d) { + d.p.customParseFormat = true; + + if (o && o.parseTwoDigitYear) { + parseTwoDigitYear = o.parseTwoDigitYear; + } + + var proto = C.prototype; + var oldParse = proto.parse; + + proto.parse = function (cfg) { + var date = cfg.date, + utc = cfg.utc, + args = cfg.args; + this.$u = utc; + var format = args[1]; + + if (typeof format === 'string') { + var isStrictWithoutLocale = args[2] === true; + var isStrictWithLocale = args[3] === true; + var isStrict = isStrictWithoutLocale || isStrictWithLocale; + var pl = args[2]; + + if (isStrictWithLocale) { + pl = args[2]; + } + + locale = this.$locale(); + + if (!isStrictWithoutLocale && pl) { + locale = d.Ls[pl]; + } + + this.$d = parseFormattedInput(date, format, utc); + this.init(); + if (pl && pl !== true) this.$L = this.locale(pl).$L; // use != to treat + // input number 1410715640579 and format string '1410715640579' equal + // eslint-disable-next-line eqeqeq + + if (isStrict && date != this.format(format)) { + this.$d = new Date(''); + } // reset global locale to make parallel unit test + + + locale = {}; + } else if (format instanceof Array) { + var len = format.length; + + for (var i = 1; i <= len; i += 1) { + args[1] = format[i - 1]; + var result = d.apply(this, args); + + if (result.isValid()) { + this.$d = result.$d; + this.$L = result.$L; + this.init(); + break; + } + + if (i === len) this.$d = new Date(''); + } + } else { + oldParse.call(this, cfg); + } + }; +}); \ No newline at end of file diff --git a/node_modules/dayjs/esm/plugin/dayOfYear/index.d.ts b/node_modules/dayjs/esm/plugin/dayOfYear/index.d.ts new file mode 100644 index 0000000..4b9601e --- /dev/null +++ b/node_modules/dayjs/esm/plugin/dayOfYear/index.d.ts @@ -0,0 +1,11 @@ +import { PluginFunc } from 'dayjs/esm' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs/esm' { + interface Dayjs { + dayOfYear(): number + dayOfYear(value: number): Dayjs + } +} diff --git a/node_modules/dayjs/esm/plugin/dayOfYear/index.js b/node_modules/dayjs/esm/plugin/dayOfYear/index.js new file mode 100644 index 0000000..0cb1158 --- /dev/null +++ b/node_modules/dayjs/esm/plugin/dayOfYear/index.js @@ -0,0 +1,9 @@ +export default (function (o, c, d) { + var proto = c.prototype; + + proto.dayOfYear = function (input) { + // d(this) is for badMutable + var dayOfYear = Math.round((d(this).startOf('day') - d(this).startOf('year')) / 864e5) + 1; + return input == null ? dayOfYear : this.add(input - dayOfYear, 'day'); + }; +}); \ No newline at end of file diff --git a/node_modules/dayjs/esm/plugin/devHelper/index.d.ts b/node_modules/dayjs/esm/plugin/devHelper/index.d.ts new file mode 100644 index 0000000..a17c896 --- /dev/null +++ b/node_modules/dayjs/esm/plugin/devHelper/index.d.ts @@ -0,0 +1,4 @@ +import { PluginFunc } from 'dayjs/esm' + +declare const plugin: PluginFunc +export = plugin diff --git a/node_modules/dayjs/esm/plugin/devHelper/index.js b/node_modules/dayjs/esm/plugin/devHelper/index.js new file mode 100644 index 0000000..9e2af82 --- /dev/null +++ b/node_modules/dayjs/esm/plugin/devHelper/index.js @@ -0,0 +1,38 @@ +/* eslint-disable no-console */ +export default (function (o, c, d) { + /* istanbul ignore next line */ + if (!process || process.env.NODE_ENV !== 'production') { + var proto = c.prototype; + var oldParse = proto.parse; + + proto.parse = function (cfg) { + var date = cfg.date; + + if (typeof date === 'string' && date.length === 13) { + console.warn("To parse a Unix timestamp like " + date + ", you should pass it as a Number. https://day.js.org/docs/en/parse/unix-timestamp-milliseconds"); + } + + if (typeof date === 'number' && String(date).length === 4) { + console.warn("Guessing you may want to parse the Year " + date + ", you should pass it as a String " + date + ", not a Number. Otherwise, " + date + " will be treated as a Unix timestamp"); + } + + if (cfg.args.length >= 2 && !d.p.customParseFormat) { + console.warn("To parse a date-time string like " + date + " using the given format, you should enable customParseFormat plugin first. https://day.js.org/docs/en/parse/string-format"); + } + + return oldParse.bind(this)(cfg); + }; + + var oldLocale = d.locale; + + d.locale = function (preset, object, isLocal) { + if (typeof object === 'undefined' && typeof preset === 'string') { + if (!d.Ls[preset]) { + console.warn("Guessing you may want to use locale " + preset + ", you have to load it before using it. https://day.js.org/docs/en/i18n/loading-into-nodejs"); + } + } + + return oldLocale(preset, object, isLocal); + }; + } +}); \ No newline at end of file diff --git a/node_modules/dayjs/esm/plugin/duration/index.d.ts b/node_modules/dayjs/esm/plugin/duration/index.d.ts new file mode 100644 index 0000000..dc974a5 --- /dev/null +++ b/node_modules/dayjs/esm/plugin/duration/index.d.ts @@ -0,0 +1,88 @@ +import { PluginFunc } from 'dayjs/esm' +import { OpUnitType, UnitTypeLongPlural } from 'dayjs/esm'; + +declare const plugin: PluginFunc +export as namespace plugin; +export = plugin + +declare namespace plugin { + /** + * @deprecated Please use more strict types + */ + type DurationInputType = string | number | object + /** + * @deprecated Please use more strict types + */ + type DurationAddType = number | object | Duration + + type DurationUnitsObjectType = Partial<{ + [unit in Exclude | "weeks"]: number + }>; + type DurationUnitType = Exclude + type CreateDurationType = + ((units: DurationUnitsObjectType) => Duration) + & ((time: number, unit?: DurationUnitType) => Duration) + & ((ISO_8601: string) => Duration) + type AddDurationType = CreateDurationType & ((duration: Duration) => Duration) + + interface Duration { + new (input: string | number | object, unit?: string, locale?: string): Duration + + clone(): Duration + + humanize(withSuffix?: boolean): string + + milliseconds(): number + asMilliseconds(): number + + seconds(): number + asSeconds(): number + + minutes(): number + asMinutes(): number + + hours(): number + asHours(): number + + days(): number + asDays(): number + + weeks(): number + asWeeks(): number + + months(): number + asMonths(): number + + years(): number + asYears(): number + + as(unit: DurationUnitType): number + + get(unit: DurationUnitType): number + + add: AddDurationType + + subtract: AddDurationType + + toJSON(): string + + toISOString(): string + + format(formatStr?: string): string + + locale(locale: string): Duration + } +} + +declare module 'dayjs/esm' { + interface Dayjs { + add(duration: plugin.Duration): Dayjs + subtract(duration: plugin.Duration): Dayjs + } + + /** + * @param time If unit is not present, time treated as number of milliseconds + */ + export const duration: plugin.CreateDurationType; + export function isDuration(d: any): d is plugin.Duration +} \ No newline at end of file diff --git a/node_modules/dayjs/esm/plugin/duration/index.js b/node_modules/dayjs/esm/plugin/duration/index.js new file mode 100644 index 0000000..a241d4b --- /dev/null +++ b/node_modules/dayjs/esm/plugin/duration/index.js @@ -0,0 +1,356 @@ +import { MILLISECONDS_A_DAY, MILLISECONDS_A_HOUR, MILLISECONDS_A_MINUTE, MILLISECONDS_A_SECOND, MILLISECONDS_A_WEEK, REGEX_FORMAT } from '../../constant'; +var MILLISECONDS_A_YEAR = MILLISECONDS_A_DAY * 365; +var MILLISECONDS_A_MONTH = MILLISECONDS_A_YEAR / 12; +var durationRegex = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/; +var unitToMS = { + years: MILLISECONDS_A_YEAR, + months: MILLISECONDS_A_MONTH, + days: MILLISECONDS_A_DAY, + hours: MILLISECONDS_A_HOUR, + minutes: MILLISECONDS_A_MINUTE, + seconds: MILLISECONDS_A_SECOND, + milliseconds: 1, + weeks: MILLISECONDS_A_WEEK +}; + +var isDuration = function isDuration(d) { + return d instanceof Duration; +}; // eslint-disable-line no-use-before-define + + +var $d; +var $u; + +var wrapper = function wrapper(input, instance, unit) { + return new Duration(input, unit, instance.$l); +}; // eslint-disable-line no-use-before-define + + +var prettyUnit = function prettyUnit(unit) { + return $u.p(unit) + "s"; +}; + +var isNegative = function isNegative(number) { + return number < 0; +}; + +var roundNumber = function roundNumber(number) { + return isNegative(number) ? Math.ceil(number) : Math.floor(number); +}; + +var absolute = function absolute(number) { + return Math.abs(number); +}; + +var getNumberUnitFormat = function getNumberUnitFormat(number, unit) { + if (!number) { + return { + negative: false, + format: '' + }; + } + + if (isNegative(number)) { + return { + negative: true, + format: "" + absolute(number) + unit + }; + } + + return { + negative: false, + format: "" + number + unit + }; +}; + +var Duration = /*#__PURE__*/function () { + function Duration(input, unit, locale) { + var _this = this; + + this.$d = {}; + this.$l = locale; + + if (input === undefined) { + this.$ms = 0; + this.parseFromMilliseconds(); + } + + if (unit) { + return wrapper(input * unitToMS[prettyUnit(unit)], this); + } + + if (typeof input === 'number') { + this.$ms = input; + this.parseFromMilliseconds(); + return this; + } + + if (typeof input === 'object') { + Object.keys(input).forEach(function (k) { + _this.$d[prettyUnit(k)] = input[k]; + }); + this.calMilliseconds(); + return this; + } + + if (typeof input === 'string') { + var d = input.match(durationRegex); + + if (d) { + var properties = d.slice(2); + var numberD = properties.map(function (value) { + return value != null ? Number(value) : 0; + }); + this.$d.years = numberD[0]; + this.$d.months = numberD[1]; + this.$d.weeks = numberD[2]; + this.$d.days = numberD[3]; + this.$d.hours = numberD[4]; + this.$d.minutes = numberD[5]; + this.$d.seconds = numberD[6]; + this.calMilliseconds(); + return this; + } + } + + return this; + } + + var _proto = Duration.prototype; + + _proto.calMilliseconds = function calMilliseconds() { + var _this2 = this; + + this.$ms = Object.keys(this.$d).reduce(function (total, unit) { + return total + (_this2.$d[unit] || 0) * unitToMS[unit]; + }, 0); + }; + + _proto.parseFromMilliseconds = function parseFromMilliseconds() { + var $ms = this.$ms; + this.$d.years = roundNumber($ms / MILLISECONDS_A_YEAR); + $ms %= MILLISECONDS_A_YEAR; + this.$d.months = roundNumber($ms / MILLISECONDS_A_MONTH); + $ms %= MILLISECONDS_A_MONTH; + this.$d.days = roundNumber($ms / MILLISECONDS_A_DAY); + $ms %= MILLISECONDS_A_DAY; + this.$d.hours = roundNumber($ms / MILLISECONDS_A_HOUR); + $ms %= MILLISECONDS_A_HOUR; + this.$d.minutes = roundNumber($ms / MILLISECONDS_A_MINUTE); + $ms %= MILLISECONDS_A_MINUTE; + this.$d.seconds = roundNumber($ms / MILLISECONDS_A_SECOND); + $ms %= MILLISECONDS_A_SECOND; + this.$d.milliseconds = $ms; + }; + + _proto.toISOString = function toISOString() { + var Y = getNumberUnitFormat(this.$d.years, 'Y'); + var M = getNumberUnitFormat(this.$d.months, 'M'); + var days = +this.$d.days || 0; + + if (this.$d.weeks) { + days += this.$d.weeks * 7; + } + + var D = getNumberUnitFormat(days, 'D'); + var H = getNumberUnitFormat(this.$d.hours, 'H'); + var m = getNumberUnitFormat(this.$d.minutes, 'M'); + var seconds = this.$d.seconds || 0; + + if (this.$d.milliseconds) { + seconds += this.$d.milliseconds / 1000; + seconds = Math.round(seconds * 1000) / 1000; + } + + var S = getNumberUnitFormat(seconds, 'S'); + var negativeMode = Y.negative || M.negative || D.negative || H.negative || m.negative || S.negative; + var T = H.format || m.format || S.format ? 'T' : ''; + var P = negativeMode ? '-' : ''; + var result = P + "P" + Y.format + M.format + D.format + T + H.format + m.format + S.format; + return result === 'P' || result === '-P' ? 'P0D' : result; + }; + + _proto.toJSON = function toJSON() { + return this.toISOString(); + }; + + _proto.format = function format(formatStr) { + var str = formatStr || 'YYYY-MM-DDTHH:mm:ss'; + var matches = { + Y: this.$d.years, + YY: $u.s(this.$d.years, 2, '0'), + YYYY: $u.s(this.$d.years, 4, '0'), + M: this.$d.months, + MM: $u.s(this.$d.months, 2, '0'), + D: this.$d.days, + DD: $u.s(this.$d.days, 2, '0'), + H: this.$d.hours, + HH: $u.s(this.$d.hours, 2, '0'), + m: this.$d.minutes, + mm: $u.s(this.$d.minutes, 2, '0'), + s: this.$d.seconds, + ss: $u.s(this.$d.seconds, 2, '0'), + SSS: $u.s(this.$d.milliseconds, 3, '0') + }; + return str.replace(REGEX_FORMAT, function (match, $1) { + return $1 || String(matches[match]); + }); + }; + + _proto.as = function as(unit) { + return this.$ms / unitToMS[prettyUnit(unit)]; + }; + + _proto.get = function get(unit) { + var base = this.$ms; + var pUnit = prettyUnit(unit); + + if (pUnit === 'milliseconds') { + base %= 1000; + } else if (pUnit === 'weeks') { + base = roundNumber(base / unitToMS[pUnit]); + } else { + base = this.$d[pUnit]; + } + + return base || 0; // a === 0 will be true on both 0 and -0 + }; + + _proto.add = function add(input, unit, isSubtract) { + var another; + + if (unit) { + another = input * unitToMS[prettyUnit(unit)]; + } else if (isDuration(input)) { + another = input.$ms; + } else { + another = wrapper(input, this).$ms; + } + + return wrapper(this.$ms + another * (isSubtract ? -1 : 1), this); + }; + + _proto.subtract = function subtract(input, unit) { + return this.add(input, unit, true); + }; + + _proto.locale = function locale(l) { + var that = this.clone(); + that.$l = l; + return that; + }; + + _proto.clone = function clone() { + return wrapper(this.$ms, this); + }; + + _proto.humanize = function humanize(withSuffix) { + return $d().add(this.$ms, 'ms').locale(this.$l).fromNow(!withSuffix); + }; + + _proto.valueOf = function valueOf() { + return this.asMilliseconds(); + }; + + _proto.milliseconds = function milliseconds() { + return this.get('milliseconds'); + }; + + _proto.asMilliseconds = function asMilliseconds() { + return this.as('milliseconds'); + }; + + _proto.seconds = function seconds() { + return this.get('seconds'); + }; + + _proto.asSeconds = function asSeconds() { + return this.as('seconds'); + }; + + _proto.minutes = function minutes() { + return this.get('minutes'); + }; + + _proto.asMinutes = function asMinutes() { + return this.as('minutes'); + }; + + _proto.hours = function hours() { + return this.get('hours'); + }; + + _proto.asHours = function asHours() { + return this.as('hours'); + }; + + _proto.days = function days() { + return this.get('days'); + }; + + _proto.asDays = function asDays() { + return this.as('days'); + }; + + _proto.weeks = function weeks() { + return this.get('weeks'); + }; + + _proto.asWeeks = function asWeeks() { + return this.as('weeks'); + }; + + _proto.months = function months() { + return this.get('months'); + }; + + _proto.asMonths = function asMonths() { + return this.as('months'); + }; + + _proto.years = function years() { + return this.get('years'); + }; + + _proto.asYears = function asYears() { + return this.as('years'); + }; + + return Duration; +}(); + +var manipulateDuration = function manipulateDuration(date, duration, k) { + return date.add(duration.years() * k, 'y').add(duration.months() * k, 'M').add(duration.days() * k, 'd').add(duration.hours() * k, 'h').add(duration.minutes() * k, 'm').add(duration.seconds() * k, 's').add(duration.milliseconds() * k, 'ms'); +}; + +export default (function (option, Dayjs, dayjs) { + $d = dayjs; + $u = dayjs().$utils(); + + dayjs.duration = function (input, unit) { + var $l = dayjs.locale(); + return wrapper(input, { + $l: $l + }, unit); + }; + + dayjs.isDuration = isDuration; + var oldAdd = Dayjs.prototype.add; + var oldSubtract = Dayjs.prototype.subtract; + + Dayjs.prototype.add = function (value, unit) { + if (isDuration(value)) { + return manipulateDuration(this, value, 1); + } + + return oldAdd.bind(this)(value, unit); + }; + + Dayjs.prototype.subtract = function (value, unit) { + if (isDuration(value)) { + return manipulateDuration(this, value, -1); + } + + return oldSubtract.bind(this)(value, unit); + }; +}); \ No newline at end of file diff --git a/node_modules/dayjs/esm/plugin/isBetween/index.d.ts b/node_modules/dayjs/esm/plugin/isBetween/index.d.ts new file mode 100644 index 0000000..1c62711 --- /dev/null +++ b/node_modules/dayjs/esm/plugin/isBetween/index.d.ts @@ -0,0 +1,10 @@ +import { PluginFunc, ConfigType, OpUnitType } from 'dayjs/esm' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs/esm' { + interface Dayjs { + isBetween(a: ConfigType, b: ConfigType, c?: OpUnitType | null, d?: '()' | '[]' | '[)' | '(]'): boolean + } +} diff --git a/node_modules/dayjs/esm/plugin/isBetween/index.js b/node_modules/dayjs/esm/plugin/isBetween/index.js new file mode 100644 index 0000000..2182a89 --- /dev/null +++ b/node_modules/dayjs/esm/plugin/isBetween/index.js @@ -0,0 +1,10 @@ +export default (function (o, c, d) { + c.prototype.isBetween = function (a, b, u, i) { + var dA = d(a); + var dB = d(b); + i = i || '()'; + var dAi = i[0] === '('; + var dBi = i[1] === ')'; + return (dAi ? this.isAfter(dA, u) : !this.isBefore(dA, u)) && (dBi ? this.isBefore(dB, u) : !this.isAfter(dB, u)) || (dAi ? this.isBefore(dA, u) : !this.isAfter(dA, u)) && (dBi ? this.isAfter(dB, u) : !this.isBefore(dB, u)); + }; +}); \ No newline at end of file diff --git a/node_modules/dayjs/esm/plugin/isLeapYear/index.d.ts b/node_modules/dayjs/esm/plugin/isLeapYear/index.d.ts new file mode 100644 index 0000000..627ec5a --- /dev/null +++ b/node_modules/dayjs/esm/plugin/isLeapYear/index.d.ts @@ -0,0 +1,10 @@ +import { PluginFunc } from 'dayjs/esm' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs/esm' { + interface Dayjs { + isLeapYear(): boolean + } +} diff --git a/node_modules/dayjs/esm/plugin/isLeapYear/index.js b/node_modules/dayjs/esm/plugin/isLeapYear/index.js new file mode 100644 index 0000000..bf1309d --- /dev/null +++ b/node_modules/dayjs/esm/plugin/isLeapYear/index.js @@ -0,0 +1,7 @@ +export default (function (o, c) { + var proto = c.prototype; + + proto.isLeapYear = function () { + return this.$y % 4 === 0 && this.$y % 100 !== 0 || this.$y % 400 === 0; + }; +}); \ No newline at end of file diff --git a/node_modules/dayjs/esm/plugin/isMoment/index.d.ts b/node_modules/dayjs/esm/plugin/isMoment/index.d.ts new file mode 100644 index 0000000..6e3a69f --- /dev/null +++ b/node_modules/dayjs/esm/plugin/isMoment/index.d.ts @@ -0,0 +1,10 @@ +import { PluginFunc } from 'dayjs/esm' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs/esm' { + + export function isMoment(input: any): boolean + +} diff --git a/node_modules/dayjs/esm/plugin/isMoment/index.js b/node_modules/dayjs/esm/plugin/isMoment/index.js new file mode 100644 index 0000000..48c8a89 --- /dev/null +++ b/node_modules/dayjs/esm/plugin/isMoment/index.js @@ -0,0 +1,5 @@ +export default (function (o, c, f) { + f.isMoment = function (input) { + return f.isDayjs(input); + }; +}); \ No newline at end of file diff --git a/node_modules/dayjs/esm/plugin/isSameOrAfter/index.d.ts b/node_modules/dayjs/esm/plugin/isSameOrAfter/index.d.ts new file mode 100644 index 0000000..7b6d239 --- /dev/null +++ b/node_modules/dayjs/esm/plugin/isSameOrAfter/index.d.ts @@ -0,0 +1,10 @@ +import { PluginFunc, ConfigType, OpUnitType } from 'dayjs/esm' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs/esm' { + interface Dayjs { + isSameOrAfter(date?: ConfigType, unit?: OpUnitType): boolean + } +} diff --git a/node_modules/dayjs/esm/plugin/isSameOrAfter/index.js b/node_modules/dayjs/esm/plugin/isSameOrAfter/index.js new file mode 100644 index 0000000..6a5c56f --- /dev/null +++ b/node_modules/dayjs/esm/plugin/isSameOrAfter/index.js @@ -0,0 +1,5 @@ +export default (function (o, c) { + c.prototype.isSameOrAfter = function (that, units) { + return this.isSame(that, units) || this.isAfter(that, units); + }; +}); \ No newline at end of file diff --git a/node_modules/dayjs/esm/plugin/isSameOrBefore/index.d.ts b/node_modules/dayjs/esm/plugin/isSameOrBefore/index.d.ts new file mode 100644 index 0000000..7ec009f --- /dev/null +++ b/node_modules/dayjs/esm/plugin/isSameOrBefore/index.d.ts @@ -0,0 +1,10 @@ +import { PluginFunc, ConfigType, OpUnitType } from 'dayjs/esm' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs/esm' { + interface Dayjs { + isSameOrBefore(date?: ConfigType, unit?: OpUnitType): boolean + } +} diff --git a/node_modules/dayjs/esm/plugin/isSameOrBefore/index.js b/node_modules/dayjs/esm/plugin/isSameOrBefore/index.js new file mode 100644 index 0000000..18d526a --- /dev/null +++ b/node_modules/dayjs/esm/plugin/isSameOrBefore/index.js @@ -0,0 +1,5 @@ +export default (function (o, c) { + c.prototype.isSameOrBefore = function (that, units) { + return this.isSame(that, units) || this.isBefore(that, units); + }; +}); \ No newline at end of file diff --git a/node_modules/dayjs/esm/plugin/isToday/index.d.ts b/node_modules/dayjs/esm/plugin/isToday/index.d.ts new file mode 100644 index 0000000..8d55da8 --- /dev/null +++ b/node_modules/dayjs/esm/plugin/isToday/index.d.ts @@ -0,0 +1,10 @@ +import { PluginFunc } from 'dayjs/esm' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs/esm' { + interface Dayjs { + isToday(): boolean + } +} diff --git a/node_modules/dayjs/esm/plugin/isToday/index.js b/node_modules/dayjs/esm/plugin/isToday/index.js new file mode 100644 index 0000000..93b36c8 --- /dev/null +++ b/node_modules/dayjs/esm/plugin/isToday/index.js @@ -0,0 +1,9 @@ +export default (function (o, c, d) { + var proto = c.prototype; + + proto.isToday = function () { + var comparisonTemplate = 'YYYY-MM-DD'; + var now = d(); + return this.format(comparisonTemplate) === now.format(comparisonTemplate); + }; +}); \ No newline at end of file diff --git a/node_modules/dayjs/esm/plugin/isTomorrow/index.d.ts b/node_modules/dayjs/esm/plugin/isTomorrow/index.d.ts new file mode 100644 index 0000000..7652237 --- /dev/null +++ b/node_modules/dayjs/esm/plugin/isTomorrow/index.d.ts @@ -0,0 +1,10 @@ +import { PluginFunc } from 'dayjs/esm' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs/esm' { + interface Dayjs { + isTomorrow(): boolean + } +} diff --git a/node_modules/dayjs/esm/plugin/isTomorrow/index.js b/node_modules/dayjs/esm/plugin/isTomorrow/index.js new file mode 100644 index 0000000..8cc7238 --- /dev/null +++ b/node_modules/dayjs/esm/plugin/isTomorrow/index.js @@ -0,0 +1,9 @@ +export default (function (o, c, d) { + var proto = c.prototype; + + proto.isTomorrow = function () { + var comparisonTemplate = 'YYYY-MM-DD'; + var tomorrow = d().add(1, 'day'); + return this.format(comparisonTemplate) === tomorrow.format(comparisonTemplate); + }; +}); \ No newline at end of file diff --git a/node_modules/dayjs/esm/plugin/isYesterday/index.d.ts b/node_modules/dayjs/esm/plugin/isYesterday/index.d.ts new file mode 100644 index 0000000..f4370dc --- /dev/null +++ b/node_modules/dayjs/esm/plugin/isYesterday/index.d.ts @@ -0,0 +1,10 @@ +import { PluginFunc } from 'dayjs/esm' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs/esm' { + interface Dayjs { + isYesterday(): boolean + } +} diff --git a/node_modules/dayjs/esm/plugin/isYesterday/index.js b/node_modules/dayjs/esm/plugin/isYesterday/index.js new file mode 100644 index 0000000..fa55373 --- /dev/null +++ b/node_modules/dayjs/esm/plugin/isYesterday/index.js @@ -0,0 +1,9 @@ +export default (function (o, c, d) { + var proto = c.prototype; + + proto.isYesterday = function () { + var comparisonTemplate = 'YYYY-MM-DD'; + var yesterday = d().subtract(1, 'day'); + return this.format(comparisonTemplate) === yesterday.format(comparisonTemplate); + }; +}); \ No newline at end of file diff --git a/node_modules/dayjs/esm/plugin/isoWeek/index.d.ts b/node_modules/dayjs/esm/plugin/isoWeek/index.d.ts new file mode 100644 index 0000000..6e6a75a --- /dev/null +++ b/node_modules/dayjs/esm/plugin/isoWeek/index.d.ts @@ -0,0 +1,27 @@ +import { PluginFunc, OpUnitType, ConfigType } from 'dayjs/esm' + +declare const plugin: PluginFunc +export = plugin + +type ISOUnitType = OpUnitType | 'isoWeek'; + +declare module 'dayjs/esm' { + interface Dayjs { + isoWeekYear(): number + isoWeek(): number + isoWeek(value: number): Dayjs + + isoWeekday(): number + isoWeekday(value: number): Dayjs + + startOf(unit: ISOUnitType): Dayjs + + endOf(unit: ISOUnitType): Dayjs + + isSame(date?: ConfigType, unit?: ISOUnitType): boolean + + isBefore(date?: ConfigType, unit?: ISOUnitType): boolean + + isAfter(date?: ConfigType, unit?: ISOUnitType): boolean + } +} diff --git a/node_modules/dayjs/esm/plugin/isoWeek/index.js b/node_modules/dayjs/esm/plugin/isoWeek/index.js new file mode 100644 index 0000000..289ea7c --- /dev/null +++ b/node_modules/dayjs/esm/plugin/isoWeek/index.js @@ -0,0 +1,57 @@ +import { D, W, Y } from '../../constant'; +var isoWeekPrettyUnit = 'isoweek'; +export default (function (o, c, d) { + var getYearFirstThursday = function getYearFirstThursday(year, isUtc) { + var yearFirstDay = (isUtc ? d.utc : d)().year(year).startOf(Y); + var addDiffDays = 4 - yearFirstDay.isoWeekday(); + + if (yearFirstDay.isoWeekday() > 4) { + addDiffDays += 7; + } + + return yearFirstDay.add(addDiffDays, D); + }; + + var getCurrentWeekThursday = function getCurrentWeekThursday(ins) { + return ins.add(4 - ins.isoWeekday(), D); + }; + + var proto = c.prototype; + + proto.isoWeekYear = function () { + var nowWeekThursday = getCurrentWeekThursday(this); + return nowWeekThursday.year(); + }; + + proto.isoWeek = function (week) { + if (!this.$utils().u(week)) { + return this.add((week - this.isoWeek()) * 7, D); + } + + var nowWeekThursday = getCurrentWeekThursday(this); + var diffWeekThursday = getYearFirstThursday(this.isoWeekYear(), this.$u); + return nowWeekThursday.diff(diffWeekThursday, W) + 1; + }; + + proto.isoWeekday = function (week) { + if (!this.$utils().u(week)) { + return this.day(this.day() % 7 ? week : week - 7); + } + + return this.day() || 7; + }; + + var oldStartOf = proto.startOf; + + proto.startOf = function (units, startOf) { + var utils = this.$utils(); + var isStartOf = !utils.u(startOf) ? startOf : true; + var unit = utils.p(units); + + if (unit === isoWeekPrettyUnit) { + return isStartOf ? this.date(this.date() - (this.isoWeekday() - 1)).startOf('day') : this.date(this.date() - 1 - (this.isoWeekday() - 1) + 7).endOf('day'); + } + + return oldStartOf.bind(this)(units, startOf); + }; +}); \ No newline at end of file diff --git a/node_modules/dayjs/esm/plugin/isoWeeksInYear/index.d.ts b/node_modules/dayjs/esm/plugin/isoWeeksInYear/index.d.ts new file mode 100644 index 0000000..986360f --- /dev/null +++ b/node_modules/dayjs/esm/plugin/isoWeeksInYear/index.d.ts @@ -0,0 +1,10 @@ +import { PluginFunc } from 'dayjs/esm' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs/esm' { + interface Dayjs { + isoWeeksInYear(): number + } +} diff --git a/node_modules/dayjs/esm/plugin/isoWeeksInYear/index.js b/node_modules/dayjs/esm/plugin/isoWeeksInYear/index.js new file mode 100644 index 0000000..7161894 --- /dev/null +++ b/node_modules/dayjs/esm/plugin/isoWeeksInYear/index.js @@ -0,0 +1,15 @@ +export default (function (o, c) { + var proto = c.prototype; + + proto.isoWeeksInYear = function () { + var isLeapYear = this.isLeapYear(); + var last = this.endOf('y'); + var day = last.day(); + + if (day === 4 || isLeapYear && day === 5) { + return 53; + } + + return 52; + }; +}); \ No newline at end of file diff --git a/node_modules/dayjs/esm/plugin/localeData/index.d.ts b/node_modules/dayjs/esm/plugin/localeData/index.d.ts new file mode 100644 index 0000000..9f8762e --- /dev/null +++ b/node_modules/dayjs/esm/plugin/localeData/index.d.ts @@ -0,0 +1,44 @@ +import { PluginFunc } from 'dayjs/esm' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs/esm' { + type WeekdayNames = [string, string, string, string, string, string, string]; + type MonthNames = [string, string, string, string, string, string, string, string, string, string, string, string]; + + interface InstanceLocaleDataReturn { + firstDayOfWeek(): number; + weekdays(instance?: Dayjs): WeekdayNames; + weekdaysShort(instance?: Dayjs): WeekdayNames; + weekdaysMin(instance?: Dayjs): WeekdayNames; + months(instance?: Dayjs): MonthNames; + monthsShort(instance?: Dayjs): MonthNames; + longDateFormat(format: string): string; + meridiem(hour?: number, minute?: number, isLower?: boolean): string; + ordinal(n: number): string + } + + interface GlobalLocaleDataReturn { + firstDayOfWeek(): number; + weekdays(): WeekdayNames; + weekdaysShort(): WeekdayNames; + weekdaysMin(): WeekdayNames; + months(): MonthNames; + monthsShort(): MonthNames; + longDateFormat(format: string): string; + meridiem(hour?: number, minute?: number, isLower?: boolean): string; + ordinal(n: number): string + } + + interface Dayjs { + localeData(): InstanceLocaleDataReturn; + } + + export function weekdays(localOrder?: boolean): WeekdayNames; + export function weekdaysShort(localOrder?: boolean): WeekdayNames; + export function weekdaysMin(localOrder?: boolean): WeekdayNames; + export function monthsShort(): MonthNames; + export function months(): MonthNames; + export function localeData(): GlobalLocaleDataReturn; +} diff --git a/node_modules/dayjs/esm/plugin/localeData/index.js b/node_modules/dayjs/esm/plugin/localeData/index.js new file mode 100644 index 0000000..c48d92c --- /dev/null +++ b/node_modules/dayjs/esm/plugin/localeData/index.js @@ -0,0 +1,114 @@ +import { t } from '../localizedFormat/utils'; +export default (function (o, c, dayjs) { + // locale needed later + var proto = c.prototype; + + var getLocalePart = function getLocalePart(part) { + return part && (part.indexOf ? part : part.s); + }; + + var getShort = function getShort(ins, target, full, num, localeOrder) { + var locale = ins.name ? ins : ins.$locale(); + var targetLocale = getLocalePart(locale[target]); + var fullLocale = getLocalePart(locale[full]); + var result = targetLocale || fullLocale.map(function (f) { + return f.slice(0, num); + }); + if (!localeOrder) return result; + var weekStart = locale.weekStart; + return result.map(function (_, index) { + return result[(index + (weekStart || 0)) % 7]; + }); + }; + + var getDayjsLocaleObject = function getDayjsLocaleObject() { + return dayjs.Ls[dayjs.locale()]; + }; + + var getLongDateFormat = function getLongDateFormat(l, format) { + return l.formats[format] || t(l.formats[format.toUpperCase()]); + }; + + var localeData = function localeData() { + var _this = this; + + return { + months: function months(instance) { + return instance ? instance.format('MMMM') : getShort(_this, 'months'); + }, + monthsShort: function monthsShort(instance) { + return instance ? instance.format('MMM') : getShort(_this, 'monthsShort', 'months', 3); + }, + firstDayOfWeek: function firstDayOfWeek() { + return _this.$locale().weekStart || 0; + }, + weekdays: function weekdays(instance) { + return instance ? instance.format('dddd') : getShort(_this, 'weekdays'); + }, + weekdaysMin: function weekdaysMin(instance) { + return instance ? instance.format('dd') : getShort(_this, 'weekdaysMin', 'weekdays', 2); + }, + weekdaysShort: function weekdaysShort(instance) { + return instance ? instance.format('ddd') : getShort(_this, 'weekdaysShort', 'weekdays', 3); + }, + longDateFormat: function longDateFormat(format) { + return getLongDateFormat(_this.$locale(), format); + }, + meridiem: this.$locale().meridiem, + ordinal: this.$locale().ordinal + }; + }; + + proto.localeData = function () { + return localeData.bind(this)(); + }; + + dayjs.localeData = function () { + var localeObject = getDayjsLocaleObject(); + return { + firstDayOfWeek: function firstDayOfWeek() { + return localeObject.weekStart || 0; + }, + weekdays: function weekdays() { + return dayjs.weekdays(); + }, + weekdaysShort: function weekdaysShort() { + return dayjs.weekdaysShort(); + }, + weekdaysMin: function weekdaysMin() { + return dayjs.weekdaysMin(); + }, + months: function months() { + return dayjs.months(); + }, + monthsShort: function monthsShort() { + return dayjs.monthsShort(); + }, + longDateFormat: function longDateFormat(format) { + return getLongDateFormat(localeObject, format); + }, + meridiem: localeObject.meridiem, + ordinal: localeObject.ordinal + }; + }; + + dayjs.months = function () { + return getShort(getDayjsLocaleObject(), 'months'); + }; + + dayjs.monthsShort = function () { + return getShort(getDayjsLocaleObject(), 'monthsShort', 'months', 3); + }; + + dayjs.weekdays = function (localeOrder) { + return getShort(getDayjsLocaleObject(), 'weekdays', null, null, localeOrder); + }; + + dayjs.weekdaysShort = function (localeOrder) { + return getShort(getDayjsLocaleObject(), 'weekdaysShort', 'weekdays', 3, localeOrder); + }; + + dayjs.weekdaysMin = function (localeOrder) { + return getShort(getDayjsLocaleObject(), 'weekdaysMin', 'weekdays', 2, localeOrder); + }; +}); \ No newline at end of file diff --git a/node_modules/dayjs/esm/plugin/localizedFormat/index.d.ts b/node_modules/dayjs/esm/plugin/localizedFormat/index.d.ts new file mode 100644 index 0000000..a17c896 --- /dev/null +++ b/node_modules/dayjs/esm/plugin/localizedFormat/index.d.ts @@ -0,0 +1,4 @@ +import { PluginFunc } from 'dayjs/esm' + +declare const plugin: PluginFunc +export = plugin diff --git a/node_modules/dayjs/esm/plugin/localizedFormat/index.js b/node_modules/dayjs/esm/plugin/localizedFormat/index.js new file mode 100644 index 0000000..9defb1f --- /dev/null +++ b/node_modules/dayjs/esm/plugin/localizedFormat/index.js @@ -0,0 +1,20 @@ +import { FORMAT_DEFAULT } from '../../constant'; +import { u, englishFormats } from './utils'; +export default (function (o, c, d) { + var proto = c.prototype; + var oldFormat = proto.format; + d.en.formats = englishFormats; + + proto.format = function (formatStr) { + if (formatStr === void 0) { + formatStr = FORMAT_DEFAULT; + } + + var _this$$locale = this.$locale(), + _this$$locale$formats = _this$$locale.formats, + formats = _this$$locale$formats === void 0 ? {} : _this$$locale$formats; + + var result = u(formatStr, formats); + return oldFormat.call(this, result); + }; +}); \ No newline at end of file diff --git a/node_modules/dayjs/esm/plugin/localizedFormat/utils.js b/node_modules/dayjs/esm/plugin/localizedFormat/utils.js new file mode 100644 index 0000000..1f48eff --- /dev/null +++ b/node_modules/dayjs/esm/plugin/localizedFormat/utils.js @@ -0,0 +1,20 @@ +// eslint-disable-next-line import/prefer-default-export +export var t = function t(format) { + return format.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function (_, a, b) { + return a || b.slice(1); + }); +}; +export var englishFormats = { + LTS: 'h:mm:ss A', + LT: 'h:mm A', + L: 'MM/DD/YYYY', + LL: 'MMMM D, YYYY', + LLL: 'MMMM D, YYYY h:mm A', + LLLL: 'dddd, MMMM D, YYYY h:mm A' +}; +export var u = function u(formatStr, formats) { + return formatStr.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function (_, a, b) { + var B = b && b.toUpperCase(); + return a || formats[b] || englishFormats[b] || t(formats[B]); + }); +}; \ No newline at end of file diff --git a/node_modules/dayjs/esm/plugin/minMax/index.d.ts b/node_modules/dayjs/esm/plugin/minMax/index.d.ts new file mode 100644 index 0000000..143370c --- /dev/null +++ b/node_modules/dayjs/esm/plugin/minMax/index.d.ts @@ -0,0 +1,11 @@ +import { PluginFunc } from 'dayjs/esm' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs/esm' { + export function max(dayjs: Dayjs[]): Dayjs | null + export function max(...dayjs: Dayjs[]): Dayjs | null + export function min(dayjs: Dayjs[]): Dayjs | null + export function min(...dayjs: Dayjs[]): Dayjs | null +} diff --git a/node_modules/dayjs/esm/plugin/minMax/index.js b/node_modules/dayjs/esm/plugin/minMax/index.js new file mode 100644 index 0000000..0fd68e9 --- /dev/null +++ b/node_modules/dayjs/esm/plugin/minMax/index.js @@ -0,0 +1,39 @@ +export default (function (o, c, d) { + var sortBy = function sortBy(method, dates) { + if (!dates || !dates.length || dates.length === 1 && !dates[0] || dates.length === 1 && Array.isArray(dates[0]) && !dates[0].length) { + return null; + } + + if (dates.length === 1 && dates[0].length > 0) { + var _dates = dates; + dates = _dates[0]; + } + + dates = dates.filter(function (date) { + return date; + }); + var result; + var _dates2 = dates; + result = _dates2[0]; + + for (var i = 1; i < dates.length; i += 1) { + if (!dates[i].isValid() || dates[i][method](result)) { + result = dates[i]; + } + } + + return result; + }; + + d.max = function () { + var args = [].slice.call(arguments, 0); // eslint-disable-line prefer-rest-params + + return sortBy('isAfter', args); + }; + + d.min = function () { + var args = [].slice.call(arguments, 0); // eslint-disable-line prefer-rest-params + + return sortBy('isBefore', args); + }; +}); \ No newline at end of file diff --git a/node_modules/dayjs/esm/plugin/objectSupport/index.d.ts b/node_modules/dayjs/esm/plugin/objectSupport/index.d.ts new file mode 100644 index 0000000..03b8b7c --- /dev/null +++ b/node_modules/dayjs/esm/plugin/objectSupport/index.d.ts @@ -0,0 +1,48 @@ +import { PluginFunc } from 'dayjs/esm' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs/esm' { + interface Dayjs { + set(argument: object): Dayjs + add(argument: object): Dayjs + subtract(argument: object): Dayjs + } + + interface ConfigTypeMap { + objectSupport: { + years?: number | string; + year?: number | string; + y?: number | string; + + months?: number | string; + month?: number | string; + M?: number | string; + + days?: number | string; + day?: number | string; + d?: number | string; + + dates?: number | string; + date?: number | string; + D?: number | string; + + hours?: number | string; + hour?: number | string; + h?: number | string; + + minutes?: number | string; + minute?: number | string; + m?: number | string; + + seconds?: number | string; + second?: number | string; + s?: number | string; + + milliseconds?: number | string; + millisecond?: number | string; + ms?: number | string; + } + } +} diff --git a/node_modules/dayjs/esm/plugin/objectSupport/index.js b/node_modules/dayjs/esm/plugin/objectSupport/index.js new file mode 100644 index 0000000..61636e7 --- /dev/null +++ b/node_modules/dayjs/esm/plugin/objectSupport/index.js @@ -0,0 +1,97 @@ +export default (function (o, c, dayjs) { + var proto = c.prototype; + + var isObject = function isObject(obj) { + return obj !== null && !(obj instanceof Date) && !(obj instanceof Array) && !proto.$utils().u(obj) && obj.constructor.name === 'Object'; + }; + + var prettyUnit = function prettyUnit(u) { + var unit = proto.$utils().p(u); + return unit === 'date' ? 'day' : unit; + }; + + var parseDate = function parseDate(cfg) { + var date = cfg.date, + utc = cfg.utc; + var $d = {}; + + if (isObject(date)) { + if (!Object.keys(date).length) { + return new Date(); + } + + var now = utc ? dayjs.utc() : dayjs(); + Object.keys(date).forEach(function (k) { + $d[prettyUnit(k)] = date[k]; + }); + var d = $d.day || (!$d.year && !($d.month >= 0) ? now.date() : 1); + var y = $d.year || now.year(); + var M = $d.month >= 0 ? $d.month : !$d.year && !$d.day ? now.month() : 0; // eslint-disable-line no-nested-ternary,max-len + + var h = $d.hour || 0; + var m = $d.minute || 0; + var s = $d.second || 0; + var ms = $d.millisecond || 0; + + if (utc) { + return new Date(Date.UTC(y, M, d, h, m, s, ms)); + } + + return new Date(y, M, d, h, m, s, ms); + } + + return date; + }; + + var oldParse = proto.parse; + + proto.parse = function (cfg) { + cfg.date = parseDate.bind(this)(cfg); + oldParse.bind(this)(cfg); + }; + + var oldSet = proto.set; + var oldAdd = proto.add; + var oldSubtract = proto.subtract; + + var callObject = function callObject(call, argument, string, offset) { + if (offset === void 0) { + offset = 1; + } + + var keys = Object.keys(argument); + var chain = this; + keys.forEach(function (key) { + chain = call.bind(chain)(argument[key] * offset, key); + }); + return chain; + }; + + proto.set = function (unit, value) { + value = value === undefined ? unit : value; + + if (unit.constructor.name === 'Object') { + return callObject.bind(this)(function (i, s) { + return oldSet.bind(this)(s, i); + }, value, unit); + } + + return oldSet.bind(this)(unit, value); + }; + + proto.add = function (value, unit) { + if (value.constructor.name === 'Object') { + return callObject.bind(this)(oldAdd, value, unit); + } + + return oldAdd.bind(this)(value, unit); + }; + + proto.subtract = function (value, unit) { + if (value.constructor.name === 'Object') { + return callObject.bind(this)(oldAdd, value, unit, -1); + } + + return oldSubtract.bind(this)(value, unit); + }; +}); \ No newline at end of file diff --git a/node_modules/dayjs/esm/plugin/pluralGetSet/index.d.ts b/node_modules/dayjs/esm/plugin/pluralGetSet/index.d.ts new file mode 100644 index 0000000..7ef7167 --- /dev/null +++ b/node_modules/dayjs/esm/plugin/pluralGetSet/index.d.ts @@ -0,0 +1,44 @@ +import { PluginFunc, UnitType, ConfigType } from 'dayjs/esm' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs/esm' { + interface Dayjs { + years(): number + + years(value: number): Dayjs + + months(): number + + months(value: number): Dayjs + + dates(): number + + dates(value: number): Dayjs + + weeks(): number + + weeks(value: number): Dayjs + + days(): number + + days(value: number): Dayjs + + hours(): number + + hours(value: number): Dayjs + + minutes(): number + + minutes(value: number): Dayjs + + seconds(): number + + seconds(value: number): Dayjs + + milliseconds(): number + + milliseconds(value: number): Dayjs + } +} diff --git a/node_modules/dayjs/esm/plugin/pluralGetSet/index.js b/node_modules/dayjs/esm/plugin/pluralGetSet/index.js new file mode 100644 index 0000000..d8214d6 --- /dev/null +++ b/node_modules/dayjs/esm/plugin/pluralGetSet/index.js @@ -0,0 +1,7 @@ +export default (function (o, c) { + var proto = c.prototype; + var pluralAliases = ['milliseconds', 'seconds', 'minutes', 'hours', 'days', 'weeks', 'isoWeeks', 'months', 'quarters', 'years', 'dates']; + pluralAliases.forEach(function (alias) { + proto[alias] = proto[alias.replace(/s$/, '')]; + }); +}); \ No newline at end of file diff --git a/node_modules/dayjs/esm/plugin/preParsePostFormat/index.d.ts b/node_modules/dayjs/esm/plugin/preParsePostFormat/index.d.ts new file mode 100644 index 0000000..a17c896 --- /dev/null +++ b/node_modules/dayjs/esm/plugin/preParsePostFormat/index.d.ts @@ -0,0 +1,4 @@ +import { PluginFunc } from 'dayjs/esm' + +declare const plugin: PluginFunc +export = plugin diff --git a/node_modules/dayjs/esm/plugin/preParsePostFormat/index.js b/node_modules/dayjs/esm/plugin/preParsePostFormat/index.js new file mode 100644 index 0000000..7654ccb --- /dev/null +++ b/node_modules/dayjs/esm/plugin/preParsePostFormat/index.js @@ -0,0 +1,40 @@ +// Plugin template from https://day.js.org/docs/en/plugin/plugin +export default (function (option, dayjsClass) { + var oldParse = dayjsClass.prototype.parse; + + dayjsClass.prototype.parse = function (cfg) { + if (typeof cfg.date === 'string') { + var locale = this.$locale(); + cfg.date = locale && locale.preparse ? locale.preparse(cfg.date) : cfg.date; + } // original parse result + + + return oldParse.bind(this)(cfg); + }; // // overriding existing API + // // e.g. extend dayjs().format() + + + var oldFormat = dayjsClass.prototype.format; + + dayjsClass.prototype.format = function () { + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + + // original format result + var result = oldFormat.call.apply(oldFormat, [this].concat(args)); // return modified result + + var locale = this.$locale(); + return locale && locale.postformat ? locale.postformat(result) : result; + }; + + var oldFromTo = dayjsClass.prototype.fromToBase; + + if (oldFromTo) { + dayjsClass.prototype.fromToBase = function (input, withoutSuffix, instance, isFrom) { + var locale = this.$locale() || instance.$locale(); // original format result + + return oldFromTo.call(this, input, withoutSuffix, instance, isFrom, locale && locale.postformat); + }; + } +}); \ No newline at end of file diff --git a/node_modules/dayjs/esm/plugin/quarterOfYear/index.d.ts b/node_modules/dayjs/esm/plugin/quarterOfYear/index.d.ts new file mode 100644 index 0000000..37691c1 --- /dev/null +++ b/node_modules/dayjs/esm/plugin/quarterOfYear/index.d.ts @@ -0,0 +1,26 @@ +import { PluginFunc, ConfigType, QUnitType, OpUnitType } from 'dayjs/esm' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs/esm' { + interface Dayjs { + quarter(): number + + quarter(quarter: number): Dayjs + + add(value: number, unit: QUnitType): Dayjs + + subtract(value: number, unit: QUnitType): Dayjs + + startOf(unit: QUnitType | OpUnitType): Dayjs + + endOf(unit: QUnitType | OpUnitType): Dayjs + + isSame(date?: ConfigType, unit?: QUnitType): boolean + + isBefore(date?: ConfigType, unit?: QUnitType): boolean + + isAfter(date?: ConfigType, unit?: QUnitType): boolean + } +} diff --git a/node_modules/dayjs/esm/plugin/quarterOfYear/index.js b/node_modules/dayjs/esm/plugin/quarterOfYear/index.js new file mode 100644 index 0000000..e376889 --- /dev/null +++ b/node_modules/dayjs/esm/plugin/quarterOfYear/index.js @@ -0,0 +1,41 @@ +import { Q, M, D } from '../../constant'; +export default (function (o, c) { + var proto = c.prototype; + + proto.quarter = function (quarter) { + if (!this.$utils().u(quarter)) { + return this.month(this.month() % 3 + (quarter - 1) * 3); + } + + return Math.ceil((this.month() + 1) / 3); + }; + + var oldAdd = proto.add; + + proto.add = function (number, units) { + number = Number(number); // eslint-disable-line no-param-reassign + + var unit = this.$utils().p(units); + + if (unit === Q) { + return this.add(number * 3, M); + } + + return oldAdd.bind(this)(number, units); + }; + + var oldStartOf = proto.startOf; + + proto.startOf = function (units, startOf) { + var utils = this.$utils(); + var isStartOf = !utils.u(startOf) ? startOf : true; + var unit = utils.p(units); + + if (unit === Q) { + var quarter = this.quarter() - 1; + return isStartOf ? this.month(quarter * 3).startOf(M).startOf(D) : this.month(quarter * 3 + 2).endOf(M).endOf(D); + } + + return oldStartOf.bind(this)(units, startOf); + }; +}); \ No newline at end of file diff --git a/node_modules/dayjs/esm/plugin/relativeTime/index.d.ts b/node_modules/dayjs/esm/plugin/relativeTime/index.d.ts new file mode 100644 index 0000000..e1b17cf --- /dev/null +++ b/node_modules/dayjs/esm/plugin/relativeTime/index.d.ts @@ -0,0 +1,24 @@ +import { PluginFunc, ConfigType } from 'dayjs/esm' + +declare interface RelativeTimeThreshold { + l: string + r?: number + d?: string +} + +declare interface RelativeTimeOptions { + rounding?: (num: number) => number + thresholds?: RelativeTimeThreshold[] +} + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs/esm' { + interface Dayjs { + fromNow(withoutSuffix?: boolean): string + from(compared: ConfigType, withoutSuffix?: boolean): string + toNow(withoutSuffix?: boolean): string + to(compared: ConfigType, withoutSuffix?: boolean): string + } +} diff --git a/node_modules/dayjs/esm/plugin/relativeTime/index.js b/node_modules/dayjs/esm/plugin/relativeTime/index.js new file mode 100644 index 0000000..88fdbbe --- /dev/null +++ b/node_modules/dayjs/esm/plugin/relativeTime/index.js @@ -0,0 +1,130 @@ +import * as C from '../../constant'; +export default (function (o, c, d) { + o = o || {}; + var proto = c.prototype; + var relObj = { + future: 'in %s', + past: '%s ago', + s: 'a few seconds', + m: 'a minute', + mm: '%d minutes', + h: 'an hour', + hh: '%d hours', + d: 'a day', + dd: '%d days', + M: 'a month', + MM: '%d months', + y: 'a year', + yy: '%d years' + }; + d.en.relativeTime = relObj; + + proto.fromToBase = function (input, withoutSuffix, instance, isFrom, postFormat) { + var loc = instance.$locale().relativeTime || relObj; + var T = o.thresholds || [{ + l: 's', + r: 44, + d: C.S + }, { + l: 'm', + r: 89 + }, { + l: 'mm', + r: 44, + d: C.MIN + }, { + l: 'h', + r: 89 + }, { + l: 'hh', + r: 21, + d: C.H + }, { + l: 'd', + r: 35 + }, { + l: 'dd', + r: 25, + d: C.D + }, { + l: 'M', + r: 45 + }, { + l: 'MM', + r: 10, + d: C.M + }, { + l: 'y', + r: 17 + }, { + l: 'yy', + d: C.Y + }]; + var Tl = T.length; + var result; + var out; + var isFuture; + + for (var i = 0; i < Tl; i += 1) { + var t = T[i]; + + if (t.d) { + result = isFrom ? d(input).diff(instance, t.d, true) : instance.diff(input, t.d, true); + } + + var abs = (o.rounding || Math.round)(Math.abs(result)); + isFuture = result > 0; + + if (abs <= t.r || !t.r) { + if (abs <= 1 && i > 0) t = T[i - 1]; // 1 minutes -> a minute, 0 seconds -> 0 second + + var format = loc[t.l]; + + if (postFormat) { + abs = postFormat("" + abs); + } + + if (typeof format === 'string') { + out = format.replace('%d', abs); + } else { + out = format(abs, withoutSuffix, t.l, isFuture); + } + + break; + } + } + + if (withoutSuffix) return out; + var pastOrFuture = isFuture ? loc.future : loc.past; + + if (typeof pastOrFuture === 'function') { + return pastOrFuture(out); + } + + return pastOrFuture.replace('%s', out); + }; + + function fromTo(input, withoutSuffix, instance, isFrom) { + return proto.fromToBase(input, withoutSuffix, instance, isFrom); + } + + proto.to = function (input, withoutSuffix) { + return fromTo(input, withoutSuffix, this, true); + }; + + proto.from = function (input, withoutSuffix) { + return fromTo(input, withoutSuffix, this); + }; + + var makeNow = function makeNow(thisDay) { + return thisDay.$u ? d.utc() : d(); + }; + + proto.toNow = function (withoutSuffix) { + return this.to(makeNow(this), withoutSuffix); + }; + + proto.fromNow = function (withoutSuffix) { + return this.from(makeNow(this), withoutSuffix); + }; +}); \ No newline at end of file diff --git a/node_modules/dayjs/esm/plugin/timezone/index.d.ts b/node_modules/dayjs/esm/plugin/timezone/index.d.ts new file mode 100644 index 0000000..5a2d9f2 --- /dev/null +++ b/node_modules/dayjs/esm/plugin/timezone/index.d.ts @@ -0,0 +1,20 @@ +import { PluginFunc, ConfigType } from 'dayjs/esm' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs/esm' { + interface Dayjs { + tz(timezone?: string, keepLocalTime?: boolean): Dayjs + offsetName(type?: 'short' | 'long'): string | undefined + } + + interface DayjsTimezone { + (date?: ConfigType, timezone?: string): Dayjs + (date: ConfigType, format: string, timezone?: string): Dayjs + guess(): string + setDefault(timezone?: string): void + } + + const tz: DayjsTimezone +} diff --git a/node_modules/dayjs/esm/plugin/timezone/index.js b/node_modules/dayjs/esm/plugin/timezone/index.js new file mode 100644 index 0000000..490aff2 --- /dev/null +++ b/node_modules/dayjs/esm/plugin/timezone/index.js @@ -0,0 +1,189 @@ +import { MIN, MS } from '../../constant'; +var typeToPos = { + year: 0, + month: 1, + day: 2, + hour: 3, + minute: 4, + second: 5 +}; // Cache time-zone lookups from Intl.DateTimeFormat, +// as it is a *very* slow method. + +var dtfCache = {}; + +var getDateTimeFormat = function getDateTimeFormat(timezone, options) { + if (options === void 0) { + options = {}; + } + + var timeZoneName = options.timeZoneName || 'short'; + var key = timezone + "|" + timeZoneName; + var dtf = dtfCache[key]; + + if (!dtf) { + dtf = new Intl.DateTimeFormat('en-US', { + hour12: false, + timeZone: timezone, + year: 'numeric', + month: '2-digit', + day: '2-digit', + hour: '2-digit', + minute: '2-digit', + second: '2-digit', + timeZoneName: timeZoneName + }); + dtfCache[key] = dtf; + } + + return dtf; +}; + +export default (function (o, c, d) { + var defaultTimezone; + + var makeFormatParts = function makeFormatParts(timestamp, timezone, options) { + if (options === void 0) { + options = {}; + } + + var date = new Date(timestamp); + var dtf = getDateTimeFormat(timezone, options); + return dtf.formatToParts(date); + }; + + var tzOffset = function tzOffset(timestamp, timezone) { + var formatResult = makeFormatParts(timestamp, timezone); + var filled = []; + + for (var i = 0; i < formatResult.length; i += 1) { + var _formatResult$i = formatResult[i], + type = _formatResult$i.type, + value = _formatResult$i.value; + var pos = typeToPos[type]; + + if (pos >= 0) { + filled[pos] = parseInt(value, 10); + } + } + + var hour = filled[3]; // Workaround for the same behavior in different node version + // https://github.com/nodejs/node/issues/33027 + + /* istanbul ignore next */ + + var fixedHour = hour === 24 ? 0 : hour; + var utcString = filled[0] + "-" + filled[1] + "-" + filled[2] + " " + fixedHour + ":" + filled[4] + ":" + filled[5] + ":000"; + var utcTs = d.utc(utcString).valueOf(); + var asTS = +timestamp; + var over = asTS % 1000; + asTS -= over; + return (utcTs - asTS) / (60 * 1000); + }; // find the right offset a given local time. The o input is our guess, which determines which + // offset we'll pick in ambiguous cases (e.g. there are two 3 AMs b/c Fallback DST) + // https://github.com/moment/luxon/blob/master/src/datetime.js#L76 + + + var fixOffset = function fixOffset(localTS, o0, tz) { + // Our UTC time is just a guess because our offset is just a guess + var utcGuess = localTS - o0 * 60 * 1000; // Test whether the zone matches the offset for this ts + + var o2 = tzOffset(utcGuess, tz); // If so, offset didn't change and we're done + + if (o0 === o2) { + return [utcGuess, o0]; + } // If not, change the ts by the difference in the offset + + + utcGuess -= (o2 - o0) * 60 * 1000; // If that gives us the local time we want, we're done + + var o3 = tzOffset(utcGuess, tz); + + if (o2 === o3) { + return [utcGuess, o2]; + } // If it's different, we're in a hole time. + // The offset has changed, but the we don't adjust the time + + + return [localTS - Math.min(o2, o3) * 60 * 1000, Math.max(o2, o3)]; + }; + + var proto = c.prototype; + + proto.tz = function (timezone, keepLocalTime) { + if (timezone === void 0) { + timezone = defaultTimezone; + } + + var oldOffset = this.utcOffset(); + var date = this.toDate(); + var target = date.toLocaleString('en-US', { + timeZone: timezone + }); + var diff = Math.round((date - new Date(target)) / 1000 / 60); + var ins = d(target, { + locale: this.$L + }).$set(MS, this.$ms).utcOffset(-Math.round(date.getTimezoneOffset() / 15) * 15 - diff, true); + + if (keepLocalTime) { + var newOffset = ins.utcOffset(); + ins = ins.add(oldOffset - newOffset, MIN); + } + + ins.$x.$timezone = timezone; + return ins; + }; + + proto.offsetName = function (type) { + // type: short(default) / long + var zone = this.$x.$timezone || d.tz.guess(); + var result = makeFormatParts(this.valueOf(), zone, { + timeZoneName: type + }).find(function (m) { + return m.type.toLowerCase() === 'timezonename'; + }); + return result && result.value; + }; + + var oldStartOf = proto.startOf; + + proto.startOf = function (units, startOf) { + if (!this.$x || !this.$x.$timezone) { + return oldStartOf.call(this, units, startOf); + } + + var withoutTz = d(this.format('YYYY-MM-DD HH:mm:ss:SSS'), { + locale: this.$L + }); + var startOfWithoutTz = oldStartOf.call(withoutTz, units, startOf); + return startOfWithoutTz.tz(this.$x.$timezone, true); + }; + + d.tz = function (input, arg1, arg2) { + var parseFormat = arg2 && arg1; + var timezone = arg2 || arg1 || defaultTimezone; + var previousOffset = tzOffset(+d(), timezone); + + if (typeof input !== 'string') { + // timestamp number || js Date || Day.js + return d(input).tz(timezone); + } + + var localTs = d.utc(input, parseFormat).valueOf(); + + var _fixOffset = fixOffset(localTs, previousOffset, timezone), + targetTs = _fixOffset[0], + targetOffset = _fixOffset[1]; + + var ins = d(targetTs).utcOffset(targetOffset); + ins.$x.$timezone = timezone; + return ins; + }; + + d.tz.guess = function () { + return Intl.DateTimeFormat().resolvedOptions().timeZone; + }; + + d.tz.setDefault = function (timezone) { + defaultTimezone = timezone; + }; +}); \ No newline at end of file diff --git a/node_modules/dayjs/esm/plugin/toArray/index.d.ts b/node_modules/dayjs/esm/plugin/toArray/index.d.ts new file mode 100644 index 0000000..5033831 --- /dev/null +++ b/node_modules/dayjs/esm/plugin/toArray/index.d.ts @@ -0,0 +1,10 @@ +import { PluginFunc } from 'dayjs/esm' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs/esm' { + interface Dayjs { + toArray(): number[] + } +} diff --git a/node_modules/dayjs/esm/plugin/toArray/index.js b/node_modules/dayjs/esm/plugin/toArray/index.js new file mode 100644 index 0000000..2b795f4 --- /dev/null +++ b/node_modules/dayjs/esm/plugin/toArray/index.js @@ -0,0 +1,7 @@ +export default (function (o, c) { + var proto = c.prototype; + + proto.toArray = function () { + return [this.$y, this.$M, this.$D, this.$H, this.$m, this.$s, this.$ms]; + }; +}); \ No newline at end of file diff --git a/node_modules/dayjs/esm/plugin/toObject/index.d.ts b/node_modules/dayjs/esm/plugin/toObject/index.d.ts new file mode 100644 index 0000000..ad21520 --- /dev/null +++ b/node_modules/dayjs/esm/plugin/toObject/index.d.ts @@ -0,0 +1,20 @@ +import { PluginFunc } from 'dayjs/esm' + +declare const plugin: PluginFunc +export = plugin + +interface DayjsObject { + years: number + months: number + date: number + hours: number + minutes: number + seconds: number + milliseconds: number +} + +declare module 'dayjs/esm' { + interface Dayjs { + toObject(): DayjsObject + } +} diff --git a/node_modules/dayjs/esm/plugin/toObject/index.js b/node_modules/dayjs/esm/plugin/toObject/index.js new file mode 100644 index 0000000..e35d93f --- /dev/null +++ b/node_modules/dayjs/esm/plugin/toObject/index.js @@ -0,0 +1,15 @@ +export default (function (o, c) { + var proto = c.prototype; + + proto.toObject = function () { + return { + years: this.$y, + months: this.$M, + date: this.$D, + hours: this.$H, + minutes: this.$m, + seconds: this.$s, + milliseconds: this.$ms + }; + }; +}); \ No newline at end of file diff --git a/node_modules/dayjs/esm/plugin/updateLocale/index.d.ts b/node_modules/dayjs/esm/plugin/updateLocale/index.d.ts new file mode 100644 index 0000000..994a884 --- /dev/null +++ b/node_modules/dayjs/esm/plugin/updateLocale/index.d.ts @@ -0,0 +1,8 @@ +import { PluginFunc } from 'dayjs/esm' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs/esm' { + export function updateLocale(localeName: string, customConfig: Record): Record +} diff --git a/node_modules/dayjs/esm/plugin/updateLocale/index.js b/node_modules/dayjs/esm/plugin/updateLocale/index.js new file mode 100644 index 0000000..1b9965c --- /dev/null +++ b/node_modules/dayjs/esm/plugin/updateLocale/index.js @@ -0,0 +1,12 @@ +export default (function (option, Dayjs, dayjs) { + dayjs.updateLocale = function (locale, customConfig) { + var localeList = dayjs.Ls; + var localeConfig = localeList[locale]; + if (!localeConfig) return; + var customConfigKeys = customConfig ? Object.keys(customConfig) : []; + customConfigKeys.forEach(function (c) { + localeConfig[c] = customConfig[c]; + }); + return localeConfig; // eslint-disable-line consistent-return + }; +}); \ No newline at end of file diff --git a/node_modules/dayjs/esm/plugin/utc/index.d.ts b/node_modules/dayjs/esm/plugin/utc/index.d.ts new file mode 100644 index 0000000..15c61fe --- /dev/null +++ b/node_modules/dayjs/esm/plugin/utc/index.d.ts @@ -0,0 +1,19 @@ +import { PluginFunc, ConfigType } from 'dayjs/esm' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs/esm' { + interface Dayjs { + + utc(keepLocalTime?: boolean): Dayjs + + local(): Dayjs + + isUTC(): boolean + + utcOffset(offset: number | string, keepLocalTime?: boolean): Dayjs + } + + export function utc(config?: ConfigType, format?: string, strict?: boolean): Dayjs +} diff --git a/node_modules/dayjs/esm/plugin/utc/index.js b/node_modules/dayjs/esm/plugin/utc/index.js new file mode 100644 index 0000000..a8a05f5 --- /dev/null +++ b/node_modules/dayjs/esm/plugin/utc/index.js @@ -0,0 +1,188 @@ +import { MILLISECONDS_A_MINUTE, MIN } from '../../constant'; +var REGEX_VALID_OFFSET_FORMAT = /[+-]\d\d(?::?\d\d)?/g; +var REGEX_OFFSET_HOURS_MINUTES_FORMAT = /([+-]|\d\d)/g; + +function offsetFromString(value) { + if (value === void 0) { + value = ''; + } + + var offset = value.match(REGEX_VALID_OFFSET_FORMAT); + + if (!offset) { + return null; + } + + var _ref = ("" + offset[0]).match(REGEX_OFFSET_HOURS_MINUTES_FORMAT) || ['-', 0, 0], + indicator = _ref[0], + hoursOffset = _ref[1], + minutesOffset = _ref[2]; + + var totalOffsetInMinutes = +hoursOffset * 60 + +minutesOffset; + + if (totalOffsetInMinutes === 0) { + return 0; + } + + return indicator === '+' ? totalOffsetInMinutes : -totalOffsetInMinutes; +} + +export default (function (option, Dayjs, dayjs) { + var proto = Dayjs.prototype; + + dayjs.utc = function (date) { + var cfg = { + date: date, + utc: true, + args: arguments + }; // eslint-disable-line prefer-rest-params + + return new Dayjs(cfg); // eslint-disable-line no-use-before-define + }; + + proto.utc = function (keepLocalTime) { + var ins = dayjs(this.toDate(), { + locale: this.$L, + utc: true + }); + + if (keepLocalTime) { + return ins.add(this.utcOffset(), MIN); + } + + return ins; + }; + + proto.local = function () { + return dayjs(this.toDate(), { + locale: this.$L, + utc: false + }); + }; + + var oldParse = proto.parse; + + proto.parse = function (cfg) { + if (cfg.utc) { + this.$u = true; + } + + if (!this.$utils().u(cfg.$offset)) { + this.$offset = cfg.$offset; + } + + oldParse.call(this, cfg); + }; + + var oldInit = proto.init; + + proto.init = function () { + if (this.$u) { + var $d = this.$d; + this.$y = $d.getUTCFullYear(); + this.$M = $d.getUTCMonth(); + this.$D = $d.getUTCDate(); + this.$W = $d.getUTCDay(); + this.$H = $d.getUTCHours(); + this.$m = $d.getUTCMinutes(); + this.$s = $d.getUTCSeconds(); + this.$ms = $d.getUTCMilliseconds(); + } else { + oldInit.call(this); + } + }; + + var oldUtcOffset = proto.utcOffset; + + proto.utcOffset = function (input, keepLocalTime) { + var _this$$utils = this.$utils(), + u = _this$$utils.u; + + if (u(input)) { + if (this.$u) { + return 0; + } + + if (!u(this.$offset)) { + return this.$offset; + } + + return oldUtcOffset.call(this); + } + + if (typeof input === 'string') { + input = offsetFromString(input); + + if (input === null) { + return this; + } + } + + var offset = Math.abs(input) <= 16 ? input * 60 : input; + var ins = this; + + if (keepLocalTime) { + ins.$offset = offset; + ins.$u = input === 0; + return ins; + } + + if (input !== 0) { + var localTimezoneOffset = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset(); + ins = this.local().add(offset + localTimezoneOffset, MIN); + ins.$offset = offset; + ins.$x.$localOffset = localTimezoneOffset; + } else { + ins = this.utc(); + } + + return ins; + }; + + var oldFormat = proto.format; + var UTC_FORMAT_DEFAULT = 'YYYY-MM-DDTHH:mm:ss[Z]'; + + proto.format = function (formatStr) { + var str = formatStr || (this.$u ? UTC_FORMAT_DEFAULT : ''); + return oldFormat.call(this, str); + }; + + proto.valueOf = function () { + var addedOffset = !this.$utils().u(this.$offset) ? this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset()) : 0; + return this.$d.valueOf() - addedOffset * MILLISECONDS_A_MINUTE; + }; + + proto.isUTC = function () { + return !!this.$u; + }; + + proto.toISOString = function () { + return this.toDate().toISOString(); + }; + + proto.toString = function () { + return this.toDate().toUTCString(); + }; + + var oldToDate = proto.toDate; + + proto.toDate = function (type) { + if (type === 's' && this.$offset) { + return dayjs(this.format('YYYY-MM-DD HH:mm:ss:SSS')).toDate(); + } + + return oldToDate.call(this); + }; + + var oldDiff = proto.diff; + + proto.diff = function (input, units, _float) { + if (input && this.$u === input.$u) { + return oldDiff.call(this, input, units, _float); + } + + var localThis = this.local(); + var localInput = dayjs(input).local(); + return oldDiff.call(localThis, localInput, units, _float); + }; +}); \ No newline at end of file diff --git a/node_modules/dayjs/esm/plugin/weekOfYear/index.d.ts b/node_modules/dayjs/esm/plugin/weekOfYear/index.d.ts new file mode 100644 index 0000000..340051b --- /dev/null +++ b/node_modules/dayjs/esm/plugin/weekOfYear/index.d.ts @@ -0,0 +1,12 @@ +import { PluginFunc } from 'dayjs/esm' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs/esm' { + interface Dayjs { + week(): number + + week(value : number): Dayjs + } +} diff --git a/node_modules/dayjs/esm/plugin/weekOfYear/index.js b/node_modules/dayjs/esm/plugin/weekOfYear/index.js new file mode 100644 index 0000000..c92406e --- /dev/null +++ b/node_modules/dayjs/esm/plugin/weekOfYear/index.js @@ -0,0 +1,44 @@ +import { MS, Y, D, W } from '../../constant'; +export default (function (o, c, d) { + var proto = c.prototype; + + proto.week = function (week) { + if (week === void 0) { + week = null; + } + + if (week !== null) { + return this.add((week - this.week()) * 7, D); + } + + var yearStart = this.$locale().yearStart || 1; + + if (this.month() === 11 && this.date() > 25) { + // d(this) is for badMutable + var nextYearStartDay = d(this).startOf(Y).add(1, Y).date(yearStart); + var thisEndOfWeek = d(this).endOf(W); + + if (nextYearStartDay.isBefore(thisEndOfWeek)) { + return 1; + } + } + + var yearStartDay = d(this).startOf(Y).date(yearStart); + var yearStartWeek = yearStartDay.startOf(W).subtract(1, MS); + var diffInWeek = this.diff(yearStartWeek, W, true); + + if (diffInWeek < 0) { + return d(this).startOf('week').week(); + } + + return Math.ceil(diffInWeek); + }; + + proto.weeks = function (week) { + if (week === void 0) { + week = null; + } + + return this.week(week); + }; +}); \ No newline at end of file diff --git a/node_modules/dayjs/esm/plugin/weekYear/index.d.ts b/node_modules/dayjs/esm/plugin/weekYear/index.d.ts new file mode 100644 index 0000000..5b713e5 --- /dev/null +++ b/node_modules/dayjs/esm/plugin/weekYear/index.d.ts @@ -0,0 +1,10 @@ +import { PluginFunc } from 'dayjs/esm' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs/esm' { + interface Dayjs { + weekYear(): number + } +} diff --git a/node_modules/dayjs/esm/plugin/weekYear/index.js b/node_modules/dayjs/esm/plugin/weekYear/index.js new file mode 100644 index 0000000..140dcd4 --- /dev/null +++ b/node_modules/dayjs/esm/plugin/weekYear/index.js @@ -0,0 +1,19 @@ +export default (function (o, c) { + var proto = c.prototype; + + proto.weekYear = function () { + var month = this.month(); + var weekOfYear = this.week(); + var year = this.year(); + + if (weekOfYear === 1 && month === 11) { + return year + 1; + } + + if (month === 0 && weekOfYear >= 52) { + return year - 1; + } + + return year; + }; +}); \ No newline at end of file diff --git a/node_modules/dayjs/esm/plugin/weekday/index.d.ts b/node_modules/dayjs/esm/plugin/weekday/index.d.ts new file mode 100644 index 0000000..41945e7 --- /dev/null +++ b/node_modules/dayjs/esm/plugin/weekday/index.d.ts @@ -0,0 +1,12 @@ +import { PluginFunc } from 'dayjs/esm' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs/esm' { + interface Dayjs { + weekday(): number + + weekday(value: number): Dayjs + } +} diff --git a/node_modules/dayjs/esm/plugin/weekday/index.js b/node_modules/dayjs/esm/plugin/weekday/index.js new file mode 100644 index 0000000..18032b3 --- /dev/null +++ b/node_modules/dayjs/esm/plugin/weekday/index.js @@ -0,0 +1,15 @@ +export default (function (o, c) { + var proto = c.prototype; + + proto.weekday = function (input) { + var weekStart = this.$locale().weekStart || 0; + var $W = this.$W; + var weekday = ($W < weekStart ? $W + 7 : $W) - weekStart; + + if (this.$utils().u(input)) { + return weekday; + } + + return this.subtract(weekday, 'day').add(input, 'day'); + }; +}); \ No newline at end of file diff --git a/node_modules/dayjs/esm/utils.js b/node_modules/dayjs/esm/utils.js new file mode 100644 index 0000000..b5a8131 --- /dev/null +++ b/node_modules/dayjs/esm/utils.js @@ -0,0 +1,58 @@ +import * as C from './constant'; + +var padStart = function padStart(string, length, pad) { + var s = String(string); + if (!s || s.length >= length) return string; + return "" + Array(length + 1 - s.length).join(pad) + string; +}; + +var padZoneStr = function padZoneStr(instance) { + var negMinutes = -instance.utcOffset(); + var minutes = Math.abs(negMinutes); + var hourOffset = Math.floor(minutes / 60); + var minuteOffset = minutes % 60; + return "" + (negMinutes <= 0 ? '+' : '-') + padStart(hourOffset, 2, '0') + ":" + padStart(minuteOffset, 2, '0'); +}; + +var monthDiff = function monthDiff(a, b) { + // function from moment.js in order to keep the same result + if (a.date() < b.date()) return -monthDiff(b, a); + var wholeMonthDiff = (b.year() - a.year()) * 12 + (b.month() - a.month()); + var anchor = a.clone().add(wholeMonthDiff, C.M); + var c = b - anchor < 0; + var anchor2 = a.clone().add(wholeMonthDiff + (c ? -1 : 1), C.M); + return +(-(wholeMonthDiff + (b - anchor) / (c ? anchor - anchor2 : anchor2 - anchor)) || 0); +}; + +var absFloor = function absFloor(n) { + return n < 0 ? Math.ceil(n) || 0 : Math.floor(n); +}; + +var prettyUnit = function prettyUnit(u) { + var special = { + M: C.M, + y: C.Y, + w: C.W, + d: C.D, + D: C.DATE, + h: C.H, + m: C.MIN, + s: C.S, + ms: C.MS, + Q: C.Q + }; + return special[u] || String(u || '').toLowerCase().replace(/s$/, ''); +}; + +var isUndefined = function isUndefined(s) { + return s === undefined; +}; + +export default { + s: padStart, + z: padZoneStr, + m: monthDiff, + a: absFloor, + p: prettyUnit, + u: isUndefined +}; \ No newline at end of file diff --git a/node_modules/dayjs/index.d.ts b/node_modules/dayjs/index.d.ts new file mode 100644 index 0000000..766bd79 --- /dev/null +++ b/node_modules/dayjs/index.d.ts @@ -0,0 +1,429 @@ +/// + +export = dayjs; + +declare function dayjs (date?: dayjs.ConfigType): dayjs.Dayjs + +declare function dayjs (date?: dayjs.ConfigType, format?: dayjs.OptionType, strict?: boolean): dayjs.Dayjs + +declare function dayjs (date?: dayjs.ConfigType, format?: dayjs.OptionType, locale?: string, strict?: boolean): dayjs.Dayjs + +declare namespace dayjs { + interface ConfigTypeMap { + default: string | number | Date | Dayjs | null | undefined + } + + export type ConfigType = ConfigTypeMap[keyof ConfigTypeMap] + + export interface FormatObject { locale?: string, format?: string, utc?: boolean } + + export type OptionType = FormatObject | string | string[] + + export type UnitTypeShort = 'd' | 'D' | 'M' | 'y' | 'h' | 'm' | 's' | 'ms' + + export type UnitTypeLong = 'millisecond' | 'second' | 'minute' | 'hour' | 'day' | 'month' | 'year' | 'date' + + export type UnitTypeLongPlural = 'milliseconds' | 'seconds' | 'minutes' | 'hours' | 'days' | 'months' | 'years' | 'dates' + + export type UnitType = UnitTypeLong | UnitTypeLongPlural | UnitTypeShort; + + export type OpUnitType = UnitType | "week" | "weeks" | 'w'; + export type QUnitType = UnitType | "quarter" | "quarters" | 'Q'; + export type ManipulateType = Exclude; + class Dayjs { + constructor (config?: ConfigType) + /** + * All Day.js objects are immutable. Still, `dayjs#clone` can create a clone of the current object if you need one. + * ``` + * dayjs().clone()// => Dayjs + * dayjs(dayjs('2019-01-25')) // passing a Dayjs object to a constructor will also clone it + * ``` + * Docs: https://day.js.org/docs/en/parse/dayjs-clone + */ + clone(): Dayjs + /** + * This returns a `boolean` indicating whether the Day.js object contains a valid date or not. + * ``` + * dayjs().isValid()// => boolean + * ``` + * Docs: https://day.js.org/docs/en/parse/is-valid + */ + isValid(): boolean + /** + * Get the year. + * ``` + * dayjs().year()// => 2020 + * ``` + * Docs: https://day.js.org/docs/en/get-set/year + */ + year(): number + /** + * Set the year. + * ``` + * dayjs().year(2000)// => Dayjs + * ``` + * Docs: https://day.js.org/docs/en/get-set/year + */ + year(value: number): Dayjs + /** + * Get the month. + * + * Months are zero indexed, so January is month 0. + * ``` + * dayjs().month()// => 0-11 + * ``` + * Docs: https://day.js.org/docs/en/get-set/month + */ + month(): number + /** + * Set the month. + * + * Months are zero indexed, so January is month 0. + * + * Accepts numbers from 0 to 11. If the range is exceeded, it will bubble up to the next year. + * ``` + * dayjs().month(0)// => Dayjs + * ``` + * Docs: https://day.js.org/docs/en/get-set/month + */ + month(value: number): Dayjs + /** + * Get the date of the month. + * ``` + * dayjs().date()// => 1-31 + * ``` + * Docs: https://day.js.org/docs/en/get-set/date + */ + date(): number + /** + * Set the date of the month. + * + * Accepts numbers from 1 to 31. If the range is exceeded, it will bubble up to the next months. + * ``` + * dayjs().date(1)// => Dayjs + * ``` + * Docs: https://day.js.org/docs/en/get-set/date + */ + date(value: number): Dayjs + /** + * Get the day of the week. + * + * Returns numbers from 0 (Sunday) to 6 (Saturday). + * ``` + * dayjs().day()// 0-6 + * ``` + * Docs: https://day.js.org/docs/en/get-set/day + */ + day(): number + /** + * Set the day of the week. + * + * Accepts numbers from 0 (Sunday) to 6 (Saturday). If the range is exceeded, it will bubble up to next weeks. + * ``` + * dayjs().day(0)// => Dayjs + * ``` + * Docs: https://day.js.org/docs/en/get-set/day + */ + day(value: number): Dayjs + /** + * Get the hour. + * ``` + * dayjs().hour()// => 0-23 + * ``` + * Docs: https://day.js.org/docs/en/get-set/hour + */ + hour(): number + /** + * Set the hour. + * + * Accepts numbers from 0 to 23. If the range is exceeded, it will bubble up to the next day. + * ``` + * dayjs().hour(12)// => Dayjs + * ``` + * Docs: https://day.js.org/docs/en/get-set/hour + */ + hour(value: number): Dayjs + /** + * Get the minutes. + * ``` + * dayjs().minute()// => 0-59 + * ``` + * Docs: https://day.js.org/docs/en/get-set/minute + */ + minute(): number + /** + * Set the minutes. + * + * Accepts numbers from 0 to 59. If the range is exceeded, it will bubble up to the next hour. + * ``` + * dayjs().minute(59)// => Dayjs + * ``` + * Docs: https://day.js.org/docs/en/get-set/minute + */ + minute(value: number): Dayjs + /** + * Get the seconds. + * ``` + * dayjs().second()// => 0-59 + * ``` + * Docs: https://day.js.org/docs/en/get-set/second + */ + second(): number + /** + * Set the seconds. + * + * Accepts numbers from 0 to 59. If the range is exceeded, it will bubble up to the next minutes. + * ``` + * dayjs().second(1)// Dayjs + * ``` + */ + second(value: number): Dayjs + /** + * Get the milliseconds. + * ``` + * dayjs().millisecond()// => 0-999 + * ``` + * Docs: https://day.js.org/docs/en/get-set/millisecond + */ + millisecond(): number + /** + * Set the milliseconds. + * + * Accepts numbers from 0 to 999. If the range is exceeded, it will bubble up to the next seconds. + * ``` + * dayjs().millisecond(1)// => Dayjs + * ``` + * Docs: https://day.js.org/docs/en/get-set/millisecond + */ + millisecond(value: number): Dayjs + /** + * Generic setter, accepting unit as first argument, and value as second, returns a new instance with the applied changes. + * + * In general: + * ``` + * dayjs().set(unit, value) === dayjs()[unit](value) + * ``` + * Units are case insensitive, and support plural and short forms. + * ``` + * dayjs().set('date', 1) + * dayjs().set('month', 3) // April + * dayjs().set('second', 30) + * ``` + * Docs: https://day.js.org/docs/en/get-set/set + */ + set(unit: UnitType, value: number): Dayjs + /** + * String getter, returns the corresponding information getting from Day.js object. + * + * In general: + * ``` + * dayjs().get(unit) === dayjs()[unit]() + * ``` + * Units are case insensitive, and support plural and short forms. + * ``` + * dayjs().get('year') + * dayjs().get('month') // start 0 + * dayjs().get('date') + * ``` + * Docs: https://day.js.org/docs/en/get-set/get + */ + get(unit: UnitType): number + /** + * Returns a cloned Day.js object with a specified amount of time added. + * ``` + * dayjs().add(7, 'day')// => Dayjs + * ``` + * Units are case insensitive, and support plural and short forms. + * + * Docs: https://day.js.org/docs/en/manipulate/add + */ + add(value: number, unit?: ManipulateType): Dayjs + /** + * Returns a cloned Day.js object with a specified amount of time subtracted. + * ``` + * dayjs().subtract(7, 'year')// => Dayjs + * ``` + * Units are case insensitive, and support plural and short forms. + * + * Docs: https://day.js.org/docs/en/manipulate/subtract + */ + subtract(value: number, unit?: ManipulateType): Dayjs + /** + * Returns a cloned Day.js object and set it to the start of a unit of time. + * ``` + * dayjs().startOf('year')// => Dayjs + * ``` + * Units are case insensitive, and support plural and short forms. + * + * Docs: https://day.js.org/docs/en/manipulate/start-of + */ + startOf(unit: OpUnitType): Dayjs + /** + * Returns a cloned Day.js object and set it to the end of a unit of time. + * ``` + * dayjs().endOf('month')// => Dayjs + * ``` + * Units are case insensitive, and support plural and short forms. + * + * Docs: https://day.js.org/docs/en/manipulate/end-of + */ + endOf(unit: OpUnitType): Dayjs + /** + * Get the formatted date according to the string of tokens passed in. + * + * To escape characters, wrap them in square brackets (e.g. [MM]). + * ``` + * dayjs().format()// => current date in ISO8601, without fraction seconds e.g. '2020-04-02T08:02:17-05:00' + * dayjs('2019-01-25').format('[YYYYescape] YYYY-MM-DDTHH:mm:ssZ[Z]')// 'YYYYescape 2019-01-25T00:00:00-02:00Z' + * dayjs('2019-01-25').format('DD/MM/YYYY') // '25/01/2019' + * ``` + * Docs: https://day.js.org/docs/en/display/format + */ + format(template?: string): string + /** + * This indicates the difference between two date-time in the specified unit. + * + * To get the difference in milliseconds, use `dayjs#diff` + * ``` + * const date1 = dayjs('2019-01-25') + * const date2 = dayjs('2018-06-05') + * date1.diff(date2) // 20214000000 default milliseconds + * date1.diff() // milliseconds to current time + * ``` + * + * To get the difference in another unit of measurement, pass that measurement as the second argument. + * ``` + * const date1 = dayjs('2019-01-25') + * date1.diff('2018-06-05', 'month') // 7 + * ``` + * Units are case insensitive, and support plural and short forms. + * + * Docs: https://day.js.org/docs/en/display/difference + */ + diff(date?: ConfigType, unit?: QUnitType | OpUnitType, float?: boolean): number + /** + * This returns the number of **milliseconds** since the Unix Epoch of the Day.js object. + * ``` + * dayjs('2019-01-25').valueOf() // 1548381600000 + * +dayjs(1548381600000) // 1548381600000 + * ``` + * To get a Unix timestamp (the number of seconds since the epoch) from a Day.js object, you should use Unix Timestamp `dayjs#unix()`. + * + * Docs: https://day.js.org/docs/en/display/unix-timestamp-milliseconds + */ + valueOf(): number + /** + * This returns the Unix timestamp (the number of **seconds** since the Unix Epoch) of the Day.js object. + * ``` + * dayjs('2019-01-25').unix() // 1548381600 + * ``` + * This value is floored to the nearest second, and does not include a milliseconds component. + * + * Docs: https://day.js.org/docs/en/display/unix-timestamp + */ + unix(): number + /** + * Get the number of days in the current month. + * ``` + * dayjs('2019-01-25').daysInMonth() // 31 + * ``` + * Docs: https://day.js.org/docs/en/display/days-in-month + */ + daysInMonth(): number + /** + * To get a copy of the native `Date` object parsed from the Day.js object use `dayjs#toDate`. + * ``` + * dayjs('2019-01-25').toDate()// => Date + * ``` + */ + toDate(): Date + /** + * To serialize as an ISO 8601 string. + * ``` + * dayjs('2019-01-25').toJSON() // '2019-01-25T02:00:00.000Z' + * ``` + * Docs: https://day.js.org/docs/en/display/as-json + */ + toJSON(): string + /** + * To format as an ISO 8601 string. + * ``` + * dayjs('2019-01-25').toISOString() // '2019-01-25T02:00:00.000Z' + * ``` + * Docs: https://day.js.org/docs/en/display/as-iso-string + */ + toISOString(): string + /** + * Returns a string representation of the date. + * ``` + * dayjs('2019-01-25').toString() // 'Fri, 25 Jan 2019 02:00:00 GMT' + * ``` + * Docs: https://day.js.org/docs/en/display/as-string + */ + toString(): string + /** + * Get the UTC offset in minutes. + * ``` + * dayjs().utcOffset() + * ``` + * Docs: https://day.js.org/docs/en/manipulate/utc-offset + */ + utcOffset(): number + /** + * This indicates whether the Day.js object is before the other supplied date-time. + * ``` + * dayjs().isBefore(dayjs('2011-01-01')) // default milliseconds + * ``` + * If you want to limit the granularity to a unit other than milliseconds, pass it as the second parameter. + * ``` + * dayjs().isBefore('2011-01-01', 'year')// => boolean + * ``` + * Units are case insensitive, and support plural and short forms. + * + * Docs: https://day.js.org/docs/en/query/is-before + */ + isBefore(date?: ConfigType, unit?: OpUnitType): boolean + /** + * This indicates whether the Day.js object is the same as the other supplied date-time. + * ``` + * dayjs().isSame(dayjs('2011-01-01')) // default milliseconds + * ``` + * If you want to limit the granularity to a unit other than milliseconds, pass it as the second parameter. + * ``` + * dayjs().isSame('2011-01-01', 'year')// => boolean + * ``` + * Docs: https://day.js.org/docs/en/query/is-same + */ + isSame(date?: ConfigType, unit?: OpUnitType): boolean + /** + * This indicates whether the Day.js object is after the other supplied date-time. + * ``` + * dayjs().isAfter(dayjs('2011-01-01')) // default milliseconds + * ``` + * If you want to limit the granularity to a unit other than milliseconds, pass it as the second parameter. + * ``` + * dayjs().isAfter('2011-01-01', 'year')// => boolean + * ``` + * Units are case insensitive, and support plural and short forms. + * + * Docs: https://day.js.org/docs/en/query/is-after + */ + isAfter(date?: ConfigType, unit?: OpUnitType): boolean + + locale(): string + + locale(preset: string | ILocale, object?: Partial): Dayjs + } + + export type PluginFunc = (option: T, c: typeof Dayjs, d: typeof dayjs) => void + + export function extend(plugin: PluginFunc, option?: T): Dayjs + + export function locale(preset?: string | ILocale, object?: Partial, isLocal?: boolean): string + + export function isDayjs(d: any): d is Dayjs + + export function unix(t: number): Dayjs + + const Ls : { [key: string] : ILocale } +} diff --git a/node_modules/dayjs/locale.json b/node_modules/dayjs/locale.json new file mode 100644 index 0000000..45a01c4 --- /dev/null +++ b/node_modules/dayjs/locale.json @@ -0,0 +1 @@ +[{"key":"af","name":"Afrikaans"},{"key":"am","name":"Amharic"},{"key":"ar-dz","name":"Arabic (Algeria)"},{"key":"ar-iq","name":" Arabic (Iraq)"},{"key":"ar-kw","name":"Arabic (Kuwait)"},{"key":"ar-ly","name":"Arabic (Lybia)"},{"key":"ar-ma","name":"Arabic (Morocco)"},{"key":"ar-sa","name":"Arabic (Saudi Arabia)"},{"key":"ar-tn","name":" Arabic (Tunisia)"},{"key":"ar","name":"Arabic"},{"key":"az","name":"Azerbaijani"},{"key":"be","name":"Belarusian"},{"key":"bg","name":"Bulgarian"},{"key":"bi","name":"Bislama"},{"key":"bm","name":"Bambara"},{"key":"bn-bd","name":"Bengali (Bangladesh)"},{"key":"bn","name":"Bengali"},{"key":"bo","name":"Tibetan"},{"key":"br","name":"Breton"},{"key":"bs","name":"Bosnian"},{"key":"ca","name":"Catalan"},{"key":"cs","name":"Czech"},{"key":"cv","name":"Chuvash"},{"key":"cy","name":"Welsh"},{"key":"da","name":"Danish"},{"key":"de-at","name":"German (Austria)"},{"key":"de-ch","name":"German (Switzerland)"},{"key":"de","name":"German"},{"key":"dv","name":"Maldivian"},{"key":"el","name":"Greek"},{"key":"en-au","name":"English (Australia)"},{"key":"en-ca","name":"English (Canada)"},{"key":"en-gb","name":"English (United Kingdom)"},{"key":"en-ie","name":"English (Ireland)"},{"key":"en-il","name":"English (Israel)"},{"key":"en-in","name":"English (India)"},{"key":"en-nz","name":"English (New Zealand)"},{"key":"en-sg","name":"English (Singapore)"},{"key":"en-tt","name":"English (Trinidad & Tobago)"},{"key":"en","name":"English"},{"key":"eo","name":"Esperanto"},{"key":"es-do","name":"Spanish (Dominican Republic)"},{"key":"es-mx","name":"Spanish (Mexico)"},{"key":"es-pr","name":"Spanish (Puerto Rico)"},{"key":"es-us","name":"Spanish (United States)"},{"key":"es","name":"Spanish"},{"key":"et","name":"Estonian"},{"key":"eu","name":"Basque"},{"key":"fa","name":"Persian"},{"key":"fi","name":"Finnish"},{"key":"fo","name":"Faroese"},{"key":"fr-ca","name":"French (Canada)"},{"key":"fr-ch","name":"French (Switzerland)"},{"key":"fr","name":"French"},{"key":"fy","name":"Frisian"},{"key":"ga","name":"Irish or Irish Gaelic"},{"key":"gd","name":"Scottish Gaelic"},{"key":"gl","name":"Galician"},{"key":"gom-latn","name":"Konkani Latin script"},{"key":"gu","name":"Gujarati"},{"key":"hi","name":"Hindi"},{"key":"he","name":"Hebrew"},{"key":"hr","name":"Croatian"},{"key":"ht","name":"Haitian Creole (Haiti)"},{"key":"hu","name":"Hungarian"},{"key":"hy-am","name":"Armenian"},{"key":"id","name":"Indonesian"},{"key":"is","name":"Icelandic"},{"key":"it-ch","name":"Italian (Switzerland)"},{"key":"it","name":"Italian"},{"key":"ja","name":"Japanese"},{"key":"jv","name":"Javanese"},{"key":"ka","name":"Georgian"},{"key":"kk","name":"Kazakh"},{"key":"km","name":"Cambodian"},{"key":"kn","name":"Kannada"},{"key":"ko","name":"Korean"},{"key":"ku","name":"Kurdish"},{"key":"ky","name":"Kyrgyz"},{"key":"lb","name":"Luxembourgish"},{"key":"lo","name":"Lao"},{"key":"lt","name":"Lithuanian"},{"key":"lv","name":"Latvian"},{"key":"me","name":"Montenegrin"},{"key":"mi","name":"Maori"},{"key":"mk","name":"Macedonian"},{"key":"ml","name":"Malayalam"},{"key":"mn","name":"Mongolian"},{"key":"mr","name":"Marathi"},{"key":"ms-my","name":"Malay"},{"key":"ms","name":"Malay"},{"key":"mt","name":"Maltese (Malta)"},{"key":"my","name":"Burmese"},{"key":"nb","name":"Norwegian Bokmål"},{"key":"ne","name":"Nepalese"},{"key":"nl-be","name":"Dutch (Belgium)"},{"key":"nl","name":"Dutch"},{"key":"nn","name":"Nynorsk"},{"key":"oc-lnc","name":"Occitan, lengadocian dialecte"},{"key":"pa-in","name":"Punjabi (India)"},{"key":"pl","name":"Polish"},{"key":"pt-br","name":"Portuguese (Brazil)"},{"key":"pt","name":"Portuguese"},{"key":"rn","name":"Kirundi"},{"key":"ro","name":"Romanian"},{"key":"sd","name":"Sindhi"},{"key":"si","name":"Sinhalese"},{"key":"se","name":"Northern Sami"},{"key":"sk","name":"Slovak"},{"key":"sl","name":"Slovenian"},{"key":"sq","name":"Albanian"},{"key":"sr-cyrl","name":"Serbian Cyrillic"},{"key":"sr","name":"Serbian"},{"key":"ss","name":"siSwati"},{"key":"sv-fi","name":"Finland Swedish"},{"key":"sv","name":"Swedish"},{"key":"sw","name":"Swahili"},{"key":"ta","name":"Tamil"},{"key":"te","name":"Telugu"},{"key":"tg","name":"Tajik"},{"key":"tet","name":"Tetun Dili (East Timor)"},{"key":"th","name":"Thai"},{"key":"tk","name":"Turkmen"},{"key":"tl-ph","name":"Tagalog (Philippines)"},{"key":"tlh","name":"Klingon"},{"key":"tr","name":"Turkish"},{"key":"tzl","name":"Talossan"},{"key":"tzm-latn","name":"Central Atlas Tamazight Latin"},{"key":"ug-cn","name":"Uyghur (China)"},{"key":"tzm","name":"Central Atlas Tamazight"},{"key":"uk","name":"Ukrainian"},{"key":"ur","name":"Urdu"},{"key":"uz-latn","name":"Uzbek Latin"},{"key":"vi","name":"Vietnamese"},{"key":"uz","name":"Uzbek"},{"key":"yo","name":"Yoruba Nigeria"},{"key":"x-pseudo","name":"Pseudo"},{"key":"zh-cn","name":"Chinese (China)"},{"key":"zh-hk","name":"Chinese (Hong Kong)"},{"key":"zh-tw","name":"Chinese (Taiwan)"},{"key":"zh","name":"Chinese"},{"key":"rw","name":"Kinyarwanda (Rwanda)"},{"key":"ru","name":"Russian"}] \ No newline at end of file diff --git a/node_modules/dayjs/locale/af.js b/node_modules/dayjs/locale/af.js new file mode 100644 index 0000000..62c75e4 --- /dev/null +++ b/node_modules/dayjs/locale/af.js @@ -0,0 +1 @@ +!function(e,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],a):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_af=a(e.dayjs)}(this,(function(e){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=a(e),t={name:"af",weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),weekStart:1,weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"}};return n.default.locale(t,null,!0),t})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/am.js b/node_modules/dayjs/locale/am.js new file mode 100644 index 0000000..7b588a8 --- /dev/null +++ b/node_modules/dayjs/locale/am.js @@ -0,0 +1 @@ +!function(e,_){"object"==typeof exports&&"undefined"!=typeof module?module.exports=_(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],_):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_am=_(e.dayjs)}(this,(function(e){"use strict";function _(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=_(e),d={name:"am",weekdays:"እሑድ_ሰኞ_ማክሰኞ_ረቡዕ_ሐሙስ_አርብ_ቅዳሜ".split("_"),weekdaysShort:"እሑድ_ሰኞ_ማክሰ_ረቡዕ_ሐሙስ_አርብ_ቅዳሜ".split("_"),weekdaysMin:"እሑ_ሰኞ_ማክ_ረቡ_ሐሙ_አር_ቅዳ".split("_"),months:"ጃንዋሪ_ፌብሯሪ_ማርች_ኤፕሪል_ሜይ_ጁን_ጁላይ_ኦገስት_ሴፕቴምበር_ኦክቶበር_ኖቬምበር_ዲሴምበር".split("_"),monthsShort:"ጃንዋ_ፌብሯ_ማርች_ኤፕሪ_ሜይ_ጁን_ጁላይ_ኦገስ_ሴፕቴ_ኦክቶ_ኖቬም_ዲሴም".split("_"),weekStart:1,yearStart:4,relativeTime:{future:"በ%s",past:"%s በፊት",s:"ጥቂት ሰከንዶች",m:"አንድ ደቂቃ",mm:"%d ደቂቃዎች",h:"አንድ ሰዓት",hh:"%d ሰዓታት",d:"አንድ ቀን",dd:"%d ቀናት",M:"አንድ ወር",MM:"%d ወራት",y:"አንድ ዓመት",yy:"%d ዓመታት"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM D ፣ YYYY",LLL:"MMMM D ፣ YYYY HH:mm",LLLL:"dddd ፣ MMMM D ፣ YYYY HH:mm"},ordinal:function(e){return e+"ኛ"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/ar-dz.js b/node_modules/dayjs/locale/ar-dz.js new file mode 100644 index 0000000..5522790 --- /dev/null +++ b/node_modules/dayjs/locale/ar-dz.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_ar_dz=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"ar-dz",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdaysMin:"أح_إث_ثلا_أر_خم_جم_سب".split("_"),ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiem:function(_){return _>12?"م":"ص"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/ar-iq.js b/node_modules/dayjs/locale/ar-iq.js new file mode 100644 index 0000000..07e8c71 --- /dev/null +++ b/node_modules/dayjs/locale/ar-iq.js @@ -0,0 +1 @@ +!function(e,_){"object"==typeof exports&&"undefined"!=typeof module?module.exports=_(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],_):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_ar_iq=_(e.dayjs)}(this,(function(e){"use strict";function _(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=_(e),d={name:"ar-iq",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),months:"كانون الثاني_شباط_آذار_نيسان_أيار_حزيران_تموز_آب_أيلول_تشرين الأول_ تشرين الثاني_كانون الأول".split("_"),weekStart:1,weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),monthsShort:"كانون الثاني_شباط_آذار_نيسان_أيار_حزيران_تموز_آب_أيلول_تشرين الأول_ تشرين الثاني_كانون الأول".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiem:function(e){return e>12?"م":"ص"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/ar-kw.js b/node_modules/dayjs/locale/ar-kw.js new file mode 100644 index 0000000..a876ca0 --- /dev/null +++ b/node_modules/dayjs/locale/ar-kw.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_ar_kw=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"ar-kw",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiem:function(_){return _>12?"م":"ص"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/ar-ly.js b/node_modules/dayjs/locale/ar-ly.js new file mode 100644 index 0000000..9dbe09b --- /dev/null +++ b/node_modules/dayjs/locale/ar-ly.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_ar_ly=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),n={name:"ar-ly",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekStart:6,weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),ordinal:function(_){return _},meridiem:function(_){return _>12?"م":"ص"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"}};return t.default.locale(n,null,!0),n})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/ar-ma.js b/node_modules/dayjs/locale/ar-ma.js new file mode 100644 index 0000000..dbb77cc --- /dev/null +++ b/node_modules/dayjs/locale/ar-ma.js @@ -0,0 +1 @@ +!function(e,_){"object"==typeof exports&&"undefined"!=typeof module?module.exports=_(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],_):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_ar_ma=_(e.dayjs)}(this,(function(e){"use strict";function _(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=_(e),d={name:"ar-ma",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekStart:6,weekdaysShort:"احد_إثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiem:function(e){return e>12?"م":"ص"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/ar-sa.js b/node_modules/dayjs/locale/ar-sa.js new file mode 100644 index 0000000..9c2c0d4 --- /dev/null +++ b/node_modules/dayjs/locale/ar-sa.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_ar_sa=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"ar-sa",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiem:function(_){return _>12?"م":"ص"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/ar-tn.js b/node_modules/dayjs/locale/ar-tn.js new file mode 100644 index 0000000..944b46d --- /dev/null +++ b/node_modules/dayjs/locale/ar-tn.js @@ -0,0 +1 @@ +!function(e,_){"object"==typeof exports&&"undefined"!=typeof module?module.exports=_(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],_):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_ar_tn=_(e.dayjs)}(this,(function(e){"use strict";function _(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=_(e),d={name:"ar-tn",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekStart:1,weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiem:function(e){return e>12?"م":"ص"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/ar.js b/node_modules/dayjs/locale/ar.js new file mode 100644 index 0000000..517c49e --- /dev/null +++ b/node_modules/dayjs/locale/ar.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_ar=t(e.dayjs)}(this,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e),r="يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),d={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},_={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},o={name:"ar",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),months:r,monthsShort:r,weekStart:6,meridiem:function(e){return e>12?"م":"ص"},relativeTime:{future:"بعد %s",past:"منذ %s",s:"ثانية واحدة",m:"دقيقة واحدة",mm:"%d دقائق",h:"ساعة واحدة",hh:"%d ساعات",d:"يوم واحد",dd:"%d أيام",M:"شهر واحد",MM:"%d أشهر",y:"عام واحد",yy:"%d أعوام"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return _[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return d[e]})).replace(/,/g,"،")},ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"}};return n.default.locale(o,null,!0),o})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/az.js b/node_modules/dayjs/locale/az.js new file mode 100644 index 0000000..d63ed1f --- /dev/null +++ b/node_modules/dayjs/locale/az.js @@ -0,0 +1 @@ +!function(a,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(a="undefined"!=typeof globalThis?globalThis:a||self).dayjs_locale_az=e(a.dayjs)}(this,(function(a){"use strict";function e(a){return a&&"object"==typeof a&&"default"in a?a:{default:a}}var _=e(a),t={name:"az",weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"bir neçə saniyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},ordinal:function(a){return a}};return _.default.locale(t,null,!0),t})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/be.js b/node_modules/dayjs/locale/be.js new file mode 100644 index 0000000..704a87d --- /dev/null +++ b/node_modules/dayjs/locale/be.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_be=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),n={name:"be",weekdays:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_"),months:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_"),weekStart:1,weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".split("_"),ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"}};return t.default.locale(n,null,!0),n})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/bg.js b/node_modules/dayjs/locale/bg.js new file mode 100644 index 0000000..4a3d316 --- /dev/null +++ b/node_modules/dayjs/locale/bg.js @@ -0,0 +1 @@ +!function(e,_){"object"==typeof exports&&"undefined"!=typeof module?module.exports=_(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],_):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_bg=_(e.dayjs)}(this,(function(e){"use strict";function _(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=_(e),d={name:"bg",weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"янр_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekStart:1,ordinal:function(e){var _=e%100;if(_>10&&_<20)return e+"-ти";var t=e%10;return 1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/bi.js b/node_modules/dayjs/locale/bi.js new file mode 100644 index 0000000..e457dff --- /dev/null +++ b/node_modules/dayjs/locale/bi.js @@ -0,0 +1 @@ +!function(e,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],a):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_bi=a(e.dayjs)}(this,(function(e){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=a(e),_={name:"bi",weekdays:"Sande_Mande_Tusde_Wenesde_Tosde_Fraede_Sarade".split("_"),months:"Januari_Februari_Maj_Eprel_Mei_Jun_Julae_Okis_Septemba_Oktoba_Novemba_Disemba".split("_"),weekStart:1,weekdaysShort:"San_Man_Tus_Wen_Tos_Frae_Sar".split("_"),monthsShort:"Jan_Feb_Maj_Epr_Mai_Jun_Jul_Oki_Sep_Okt_Nov_Dis".split("_"),weekdaysMin:"San_Ma_Tu_We_To_Fr_Sar".split("_"),ordinal:function(e){return e},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},relativeTime:{future:"lo %s",past:"%s bifo",s:"sam seken",m:"wan minit",mm:"%d minit",h:"wan haoa",hh:"%d haoa",d:"wan dei",dd:"%d dei",M:"wan manis",MM:"%d manis",y:"wan yia",yy:"%d yia"}};return n.default.locale(_,null,!0),_})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/bm.js b/node_modules/dayjs/locale/bm.js new file mode 100644 index 0000000..3c4fbdd --- /dev/null +++ b/node_modules/dayjs/locale/bm.js @@ -0,0 +1 @@ +!function(a,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(a="undefined"!=typeof globalThis?globalThis:a||self).dayjs_locale_bm=e(a.dayjs)}(this,(function(a){"use strict";function e(a){return a&&"object"==typeof a&&"default"in a?a:{default:a}}var l=e(a),t={name:"bm",weekdays:"Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo".split("_"),weekStart:1,weekdaysShort:"Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib".split("_"),monthsShort:"Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),ordinal:function(a){return a},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm"},relativeTime:{future:"%s kɔnɔ",past:"a bɛ %s bɔ",s:"sanga dama dama",m:"miniti kelen",mm:"miniti %d",h:"lɛrɛ kelen",hh:"lɛrɛ %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"}};return l.default.locale(t,null,!0),t})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/bn-bd.js b/node_modules/dayjs/locale/bn-bd.js new file mode 100644 index 0000000..ae76f9f --- /dev/null +++ b/node_modules/dayjs/locale/bn-bd.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_bn_bd=t(e.dayjs)}(this,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var _=t(e),n={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},d={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"},r={name:"bn-bd",weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdaysMin:"রবি_সোম_মঙ্গ_বুধ_বৃহঃ_শুক্র_শনি".split("_"),weekStart:0,preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,(function(e){return d[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return n[e]}))},ordinal:function(e){var t=["ই","লা","রা","ঠা","শে"],_=e%100;return"["+e+(t[(_-20)%10]||t[_]||t[0])+"]"},formats:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY খ্রিস্টাব্দ",LL:"D MMMM YYYY খ্রিস্টাব্দ",LLL:"D MMMM YYYY খ্রিস্টাব্দ, A h:mm সময়",LLLL:"dddd, D MMMM YYYY খ্রিস্টাব্দ, A h:mm সময়"},meridiem:function(e){return e<4?"রাত":e<6?"ভোর":e<12?"সকাল":e<15?"দুপুর":e<18?"বিকাল":e<20?"সন্ধ্যা":"রাত"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"}};return _.default.locale(r,null,!0),r})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/bn.js b/node_modules/dayjs/locale/bn.js new file mode 100644 index 0000000..30ffa02 --- /dev/null +++ b/node_modules/dayjs/locale/bn.js @@ -0,0 +1 @@ +!function(e,_){"object"==typeof exports&&"undefined"!=typeof module?module.exports=_(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],_):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_bn=_(e.dayjs)}(this,(function(e){"use strict";function _(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=_(e),n={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},d={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"},o={name:"bn",weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdaysMin:"রবি_সোম_মঙ্গ_বুধ_বৃহঃ_শুক্র_শনি".split("_"),preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,(function(e){return d[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return n[e]}))},ordinal:function(e){return e},formats:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"}};return t.default.locale(o,null,!0),o})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/bo.js b/node_modules/dayjs/locale/bo.js new file mode 100644 index 0000000..92bb7cc --- /dev/null +++ b/node_modules/dayjs/locale/bo.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_bo=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"bo",weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་དང་པོ_ཟླ་གཉིས་པ_ཟླ་གསུམ་པ_ཟླ་བཞི་པ_ཟླ་ལྔ་པ_ཟླ་དྲུག་པ_ཟླ་བདུན་པ_ཟླ་བརྒྱད་པ_ཟླ་དགུ་པ_ཟླ་བཅུ་པ_ཟླ་བཅུ་གཅིག་པ_ཟླ་བཅུ་གཉིས་པ".split("_"),ordinal:function(_){return _},formats:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},relativeTime:{future:"%s ལ་",past:"%s སྔོན་ལ་",s:"ཏོག་ཙམ་",m:"སྐར་མ་གཅིག་",mm:"སྐར་མ་ %d",h:"ཆུ་ཚོད་གཅིག་",hh:"ཆུ་ཚོད་ %d",d:"ཉིན་གཅིག་",dd:"ཉིན་ %d",M:"ཟླ་བ་གཅིག་",MM:"ཟླ་བ་ %d",y:"ལོ་གཅིག་",yy:"ལོ་ %d"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/br.js b/node_modules/dayjs/locale/br.js new file mode 100644 index 0000000..0b2317f --- /dev/null +++ b/node_modules/dayjs/locale/br.js @@ -0,0 +1 @@ +!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],n):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_br=n(e.dayjs)}(this,(function(e){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=n(e);function r(e){return e>9?r(e%10):e}function t(e,n,u){return e+" "+function(e,n){return 2===n?function(e){return{m:"v",b:"v",d:"z"}[e.charAt(0)]+e.substring(1)}(e):e}({mm:"munutenn",MM:"miz",dd:"devezh"}[u],e)}var o={name:"br",weekdays:"Sul_Lun_Meurzh_Mercʼher_Yaou_Gwener_Sadorn".split("_"),months:"Genver_Cʼhwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),weekStart:1,weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),monthsShort:"Gen_Cʼhwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"h[e]mm A",LTS:"h[e]mm:ss A",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY h[e]mm A",LLLL:"dddd, D [a viz] MMMM YYYY h[e]mm A"},relativeTime:{future:"a-benn %s",past:"%s ʼzo",s:"un nebeud segondennoù",m:"ur vunutenn",mm:t,h:"un eur",hh:"%d eur",d:"un devezh",dd:t,M:"ur miz",MM:t,y:"ur bloaz",yy:function(e){switch(r(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}},meridiem:function(e){return e<12?"a.m.":"g.m."}};return u.default.locale(o,null,!0),o})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/bs.js b/node_modules/dayjs/locale/bs.js new file mode 100644 index 0000000..25dcd6d --- /dev/null +++ b/node_modules/dayjs/locale/bs.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_bs=t(e.dayjs)}(this,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var _=t(e),a={name:"bs",weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),weekStart:1,weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),ordinal:function(e){return e},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"}};return _.default.locale(a,null,!0),a})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/ca.js b/node_modules/dayjs/locale/ca.js new file mode 100644 index 0000000..1614cc2 --- /dev/null +++ b/node_modules/dayjs/locale/ca.js @@ -0,0 +1 @@ +!function(e,s){"object"==typeof exports&&"undefined"!=typeof module?module.exports=s(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],s):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_ca=s(e.dayjs)}(this,(function(e){"use strict";function s(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=s(e),_={name:"ca",weekdays:"Diumenge_Dilluns_Dimarts_Dimecres_Dijous_Divendres_Dissabte".split("_"),weekdaysShort:"Dg._Dl._Dt._Dc._Dj._Dv._Ds.".split("_"),weekdaysMin:"Dg_Dl_Dt_Dc_Dj_Dv_Ds".split("_"),months:"Gener_Febrer_Març_Abril_Maig_Juny_Juliol_Agost_Setembre_Octubre_Novembre_Desembre".split("_"),monthsShort:"Gen._Febr._Març_Abr._Maig_Juny_Jul._Ag._Set._Oct._Nov._Des.".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",ll:"D MMM YYYY",lll:"D MMM YYYY, H:mm",llll:"ddd D MMM YYYY, H:mm"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},ordinal:function(e){return""+e+(1===e||3===e?"r":2===e?"n":4===e?"t":"è")}};return t.default.locale(_,null,!0),_})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/cs.js b/node_modules/dayjs/locale/cs.js new file mode 100644 index 0000000..43bddb9 --- /dev/null +++ b/node_modules/dayjs/locale/cs.js @@ -0,0 +1 @@ +!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],n):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_cs=n(e.dayjs)}(this,(function(e){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=n(e);function s(e){return e>1&&e<5&&1!=~~(e/10)}function r(e,n,t,r){var d=e+" ";switch(t){case"s":return n||r?"pár sekund":"pár sekundami";case"m":return n?"minuta":r?"minutu":"minutou";case"mm":return n||r?d+(s(e)?"minuty":"minut"):d+"minutami";case"h":return n?"hodina":r?"hodinu":"hodinou";case"hh":return n||r?d+(s(e)?"hodiny":"hodin"):d+"hodinami";case"d":return n||r?"den":"dnem";case"dd":return n||r?d+(s(e)?"dny":"dní"):d+"dny";case"M":return n||r?"měsíc":"měsícem";case"MM":return n||r?d+(s(e)?"měsíce":"měsíců"):d+"měsíci";case"y":return n||r?"rok":"rokem";case"yy":return n||r?d+(s(e)?"roky":"let"):d+"lety"}}var d={name:"cs",weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),months:"leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),monthsShort:"led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),weekStart:1,yearStart:4,ordinal:function(e){return e+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},relativeTime:{future:"za %s",past:"před %s",s:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/cv.js b/node_modules/dayjs/locale/cv.js new file mode 100644 index 0000000..a30efe0 --- /dev/null +++ b/node_modules/dayjs/locale/cv.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_cv=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),n={name:"cv",weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун".split("_"),months:"кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав".split("_"),weekStart:1,weekdaysShort:"выр_тун_ытл_юн_кӗҫ_эрн_шӑм".split("_"),monthsShort:"кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш".split("_"),weekdaysMin:"вр_тн_ыт_юн_кҫ_эр_шм".split("_"),ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"}};return t.default.locale(n,null,!0),n})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/cy.js b/node_modules/dayjs/locale/cy.js new file mode 100644 index 0000000..ee1910f --- /dev/null +++ b/node_modules/dayjs/locale/cy.js @@ -0,0 +1 @@ +!function(d,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(d="undefined"!=typeof globalThis?globalThis:d||self).dayjs_locale_cy=e(d.dayjs)}(this,(function(d){"use strict";function e(d){return d&&"object"==typeof d&&"default"in d?d:{default:d}}var _=e(d),a={name:"cy",weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),weekStart:1,weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),ordinal:function(d){return d},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"}};return _.default.locale(a,null,!0),a})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/da.js b/node_modules/dayjs/locale/da.js new file mode 100644 index 0000000..fd45a45 --- /dev/null +++ b/node_modules/dayjs/locale/da.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_da=t(e.dayjs)}(this,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var d=t(e),n={name:"da",weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn._man._tirs._ons._tors._fre._lør.".split("_"),weekdaysMin:"sø._ma._ti._on._to._fr._lø.".split("_"),months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj_juni_juli_aug._sept._okt._nov._dec.".split("_"),weekStart:1,ordinal:function(e){return e+"."},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"}};return d.default.locale(n,null,!0),n})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/de-at.js b/node_modules/dayjs/locale/de-at.js new file mode 100644 index 0000000..ca51ef5 --- /dev/null +++ b/node_modules/dayjs/locale/de-at.js @@ -0,0 +1 @@ +!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],n):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_de_at=n(e.dayjs)}(this,(function(e){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=n(e),i={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function a(e,n,t){var a=i[t];return Array.isArray(a)&&(a=a[n?0:1]),a.replace("%d",e)}var r={name:"de-at",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),ordinal:function(e){return e+"."},weekStart:1,formats:{LTS:"HH:mm:ss",LT:"HH:mm",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a}};return t.default.locale(r,null,!0),r})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/de-ch.js b/node_modules/dayjs/locale/de-ch.js new file mode 100644 index 0000000..3fef218 --- /dev/null +++ b/node_modules/dayjs/locale/de-ch.js @@ -0,0 +1 @@ +!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],n):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_de_ch=n(e.dayjs)}(this,(function(e){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=n(e),a={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function i(e,n,t){var i=a[t];return Array.isArray(i)&&(i=i[n?0:1]),i.replace("%d",e)}var r={name:"de-ch",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),ordinal:function(e){return e+"."},weekStart:1,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i}};return t.default.locale(r,null,!0),r})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/de.js b/node_modules/dayjs/locale/de.js new file mode 100644 index 0000000..35f05ec --- /dev/null +++ b/node_modules/dayjs/locale/de.js @@ -0,0 +1 @@ +!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],n):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_de=n(e.dayjs)}(this,(function(e){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=n(e),a={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function i(e,n,t){var i=a[t];return Array.isArray(i)&&(i=i[n?0:1]),i.replace("%d",e)}var r={name:"de",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sept._Okt._Nov._Dez.".split("_"),ordinal:function(e){return e+"."},weekStart:1,yearStart:4,formats:{LTS:"HH:mm:ss",LT:"HH:mm",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i}};return t.default.locale(r,null,!0),r})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/dv.js b/node_modules/dayjs/locale/dv.js new file mode 100644 index 0000000..b0bd8f9 --- /dev/null +++ b/node_modules/dayjs/locale/dv.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_dv=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"dv",weekdays:"އާދިއްތަ_ހޯމަ_އަންގާރަ_ބުދަ_ބުރާސްފަތި_ހުކުރު_ހޮނިހިރު".split("_"),months:"ޖެނުއަރީ_ފެބްރުއަރީ_މާރިޗު_އޭޕްރީލު_މޭ_ޖޫން_ޖުލައި_އޯގަސްޓު_ސެޕްޓެމްބަރު_އޮކްޓޯބަރު_ނޮވެމްބަރު_ޑިސެމްބަރު".split("_"),weekStart:7,weekdaysShort:"އާދިއްތަ_ހޯމަ_އަންގާރަ_ބުދަ_ބުރާސްފަތި_ހުކުރު_ހޮނިހިރު".split("_"),monthsShort:"ޖެނުއަރީ_ފެބްރުއަރީ_މާރިޗު_އޭޕްރީލު_މޭ_ޖޫން_ޖުލައި_އޯގަސްޓު_ސެޕްޓެމްބަރު_އޮކްޓޯބަރު_ނޮވެމްބަރު_ޑިސެމްބަރު".split("_"),weekdaysMin:"އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި".split("_"),ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"ތެރޭގައި %s",past:"ކުރިން %s",s:"ސިކުންތުކޮޅެއް",m:"މިނިޓެއް",mm:"މިނިޓު %d",h:"ގަޑިއިރެއް",hh:"ގަޑިއިރު %d",d:"ދުވަހެއް",dd:"ދުވަސް %d",M:"މަހެއް",MM:"މަސް %d",y:"އަހަރެއް",yy:"އަހަރު %d"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/el.js b/node_modules/dayjs/locale/el.js new file mode 100644 index 0000000..1488034 --- /dev/null +++ b/node_modules/dayjs/locale/el.js @@ -0,0 +1 @@ +!function(e,_){"object"==typeof exports&&"undefined"!=typeof module?module.exports=_(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],_):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_el=_(e.dayjs)}(this,(function(e){"use strict";function _(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=_(e),d={name:"el",weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),months:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαι_Ιουν_Ιουλ_Αυγ_Σεπτ_Οκτ_Νοε_Δεκ".split("_"),ordinal:function(e){return e},weekStart:1,relativeTime:{future:"σε %s",past:"πριν %s",s:"μερικά δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένα μήνα",MM:"%d μήνες",y:"ένα χρόνο",yy:"%d χρόνια"},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/en-au.js b/node_modules/dayjs/locale/en-au.js new file mode 100644 index 0000000..b952cdb --- /dev/null +++ b/node_modules/dayjs/locale/en-au.js @@ -0,0 +1 @@ +!function(e,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],a):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_en_au=a(e.dayjs)}(this,(function(e){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=a(e),_={name:"en-au",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekStart:1,weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};return t.default.locale(_,null,!0),_})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/en-ca.js b/node_modules/dayjs/locale/en-ca.js new file mode 100644 index 0000000..bf76621 --- /dev/null +++ b/node_modules/dayjs/locale/en-ca.js @@ -0,0 +1 @@ +!function(e,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],a):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_en_ca=a(e.dayjs)}(this,(function(e){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var _=a(e),t={name:"en-ca",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};return _.default.locale(t,null,!0),t})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/en-gb.js b/node_modules/dayjs/locale/en-gb.js new file mode 100644 index 0000000..7fc7c3f --- /dev/null +++ b/node_modules/dayjs/locale/en-gb.js @@ -0,0 +1 @@ +!function(e,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],a):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_en_gb=a(e.dayjs)}(this,(function(e){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=a(e),_={name:"en-gb",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekStart:1,yearStart:4,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},ordinal:function(e){var a=["th","st","nd","rd"],t=e%100;return"["+e+(a[(t-20)%10]||a[t]||a[0])+"]"}};return t.default.locale(_,null,!0),_})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/en-ie.js b/node_modules/dayjs/locale/en-ie.js new file mode 100644 index 0000000..b0ad3f9 --- /dev/null +++ b/node_modules/dayjs/locale/en-ie.js @@ -0,0 +1 @@ +!function(e,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],a):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_en_ie=a(e.dayjs)}(this,(function(e){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=a(e),_={name:"en-ie",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekStart:1,weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};return t.default.locale(_,null,!0),_})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/en-il.js b/node_modules/dayjs/locale/en-il.js new file mode 100644 index 0000000..d8bea62 --- /dev/null +++ b/node_modules/dayjs/locale/en-il.js @@ -0,0 +1 @@ +!function(e,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],a):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_en_il=a(e.dayjs)}(this,(function(e){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var _=a(e),t={name:"en-il",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};return _.default.locale(t,null,!0),t})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/en-in.js b/node_modules/dayjs/locale/en-in.js new file mode 100644 index 0000000..af8cff3 --- /dev/null +++ b/node_modules/dayjs/locale/en-in.js @@ -0,0 +1 @@ +!function(e,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],a):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_en_in=a(e.dayjs)}(this,(function(e){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=a(e),n={name:"en-in",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekStart:1,yearStart:4,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},ordinal:function(e){var a=["th","st","nd","rd"],t=e%100;return"["+e+(a[(t-20)%10]||a[t]||a[0])+"]"}};return t.default.locale(n,null,!0),n})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/en-nz.js b/node_modules/dayjs/locale/en-nz.js new file mode 100644 index 0000000..058abbe --- /dev/null +++ b/node_modules/dayjs/locale/en-nz.js @@ -0,0 +1 @@ +!function(e,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],a):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_en_nz=a(e.dayjs)}(this,(function(e){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=a(e),n={name:"en-nz",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekStart:1,weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(e){var a=["th","st","nd","rd"],t=e%100;return"["+e+(a[(t-20)%10]||a[t]||a[0])+"]"},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};return t.default.locale(n,null,!0),n})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/en-sg.js b/node_modules/dayjs/locale/en-sg.js new file mode 100644 index 0000000..787fa84 --- /dev/null +++ b/node_modules/dayjs/locale/en-sg.js @@ -0,0 +1 @@ +!function(e,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],a):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_en_sg=a(e.dayjs)}(this,(function(e){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=a(e),_={name:"en-sg",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekStart:1,weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};return t.default.locale(_,null,!0),_})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/en-tt.js b/node_modules/dayjs/locale/en-tt.js new file mode 100644 index 0000000..afc4d36 --- /dev/null +++ b/node_modules/dayjs/locale/en-tt.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_en_tt=t(e.dayjs)}(this,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=t(e),_={name:"en-tt",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekStart:1,yearStart:4,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},ordinal:function(e){var t=["th","st","nd","rd"],a=e%100;return"["+e+(t[(a-20)%10]||t[a]||t[0])+"]"}};return a.default.locale(_,null,!0),_})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/en.js b/node_modules/dayjs/locale/en.js new file mode 100644 index 0000000..847cbfd --- /dev/null +++ b/node_modules/dayjs/locale/en.js @@ -0,0 +1 @@ +!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n():"function"==typeof define&&define.amd?define(n):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_en=n()}(this,(function(){"use strict";return{name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var n=["th","st","nd","rd"],t=e%100;return"["+e+(n[(t-20)%10]||n[t]||n[0])+"]"}}})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/eo.js b/node_modules/dayjs/locale/eo.js new file mode 100644 index 0000000..2dcbe01 --- /dev/null +++ b/node_modules/dayjs/locale/eo.js @@ -0,0 +1 @@ +!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?module.exports=o(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],o):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_eo=o(e.dayjs)}(this,(function(e){"use strict";function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=o(e),t={name:"eo",weekdays:"dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato".split("_"),months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),weekStart:1,weekdaysShort:"dim_lun_mard_merk_ĵaŭ_ven_sab".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aŭg_sep_okt_nov_dec".split("_"),weekdaysMin:"di_lu_ma_me_ĵa_ve_sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D[-a de] MMMM, YYYY",LLL:"D[-a de] MMMM, YYYY HH:mm",LLLL:"dddd, [la] D[-a de] MMMM, YYYY HH:mm"},relativeTime:{future:"post %s",past:"antaŭ %s",s:"sekundoj",m:"minuto",mm:"%d minutoj",h:"horo",hh:"%d horoj",d:"tago",dd:"%d tagoj",M:"monato",MM:"%d monatoj",y:"jaro",yy:"%d jaroj"}};return a.default.locale(t,null,!0),t})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/es-do.js b/node_modules/dayjs/locale/es-do.js new file mode 100644 index 0000000..07907ad --- /dev/null +++ b/node_modules/dayjs/locale/es-do.js @@ -0,0 +1 @@ +!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?module.exports=o(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],o):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_es_do=o(e.dayjs)}(this,(function(e){"use strict";function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=o(e),d={name:"es-do",weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekStart:1,relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:function(e){return e+"º"},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"}};return s.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/es-mx.js b/node_modules/dayjs/locale/es-mx.js new file mode 100644 index 0000000..f865a2d --- /dev/null +++ b/node_modules/dayjs/locale/es-mx.js @@ -0,0 +1 @@ +!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?module.exports=o(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],o):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_es_mx=o(e.dayjs)}(this,(function(e){"use strict";function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=o(e),d={name:"es-mx",weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:function(e){return e+"º"},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"}};return s.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/es-pr.js b/node_modules/dayjs/locale/es-pr.js new file mode 100644 index 0000000..56fdeb4 --- /dev/null +++ b/node_modules/dayjs/locale/es-pr.js @@ -0,0 +1 @@ +!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?module.exports=o(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],o):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_es_pr=o(e.dayjs)}(this,(function(e){"use strict";function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=o(e),d={name:"es-pr",monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),weekStart:1,formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:function(e){return e+"º"}};return s.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/es-us.js b/node_modules/dayjs/locale/es-us.js new file mode 100644 index 0000000..35f5535 --- /dev/null +++ b/node_modules/dayjs/locale/es-us.js @@ -0,0 +1 @@ +!function(e,s){"object"==typeof exports&&"undefined"!=typeof module?module.exports=s(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],s):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_es_us=s(e.dayjs)}(this,(function(e){"use strict";function s(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=s(e),d={name:"es-us",weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:function(e){return e+"º"},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"}};return o.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/es.js b/node_modules/dayjs/locale/es.js new file mode 100644 index 0000000..eb33b81 --- /dev/null +++ b/node_modules/dayjs/locale/es.js @@ -0,0 +1 @@ +!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?module.exports=o(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],o):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_es=o(e.dayjs)}(this,(function(e){"use strict";function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=o(e),d={name:"es",monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:function(e){return e+"º"}};return s.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/et.js b/node_modules/dayjs/locale/et.js new file mode 100644 index 0000000..4158d13 --- /dev/null +++ b/node_modules/dayjs/locale/et.js @@ -0,0 +1 @@ +!function(e,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],a):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_et=a(e.dayjs)}(this,(function(e){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=a(e);function u(e,a,t,u){var s={s:["mõne sekundi","mõni sekund","paar sekundit"],m:["ühe minuti","üks minut"],mm:["%d minuti","%d minutit"],h:["ühe tunni","tund aega","üks tund"],hh:["%d tunni","%d tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:["%d kuu","%d kuud"],y:["ühe aasta","aasta","üks aasta"],yy:["%d aasta","%d aastat"]};return a?(s[t][2]?s[t][2]:s[t][1]).replace("%d",e):(u?s[t][0]:s[t][1]).replace("%d",e)}var s={name:"et",weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),ordinal:function(e){return e+"."},weekStart:1,relativeTime:{future:"%s pärast",past:"%s tagasi",s:u,m:u,mm:u,h:u,hh:u,d:u,dd:"%d päeva",M:u,MM:u,y:u,yy:u},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"}};return t.default.locale(s,null,!0),s})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/eu.js b/node_modules/dayjs/locale/eu.js new file mode 100644 index 0000000..ed8e228 --- /dev/null +++ b/node_modules/dayjs/locale/eu.js @@ -0,0 +1 @@ +!function(a,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(a="undefined"!=typeof globalThis?globalThis:a||self).dayjs_locale_eu=e(a.dayjs)}(this,(function(a){"use strict";function e(a){return a&&"object"==typeof a&&"default"in a?a:{default:a}}var t=e(a),l={name:"eu",weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),weekStart:1,weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),ordinal:function(a){return a},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"}};return t.default.locale(l,null,!0),l})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/fa.js b/node_modules/dayjs/locale/fa.js new file mode 100644 index 0000000..648bb4e --- /dev/null +++ b/node_modules/dayjs/locale/fa.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_fa=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"fa",weekdays:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysShort:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),weekStart:6,months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"در %s",past:"%s پیش",s:"چند ثانیه",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/fi.js b/node_modules/dayjs/locale/fi.js new file mode 100644 index 0000000..2681ebd --- /dev/null +++ b/node_modules/dayjs/locale/fi.js @@ -0,0 +1 @@ +!function(u,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(u="undefined"!=typeof globalThis?globalThis:u||self).dayjs_locale_fi=e(u.dayjs)}(this,(function(u){"use strict";function e(u){return u&&"object"==typeof u&&"default"in u?u:{default:u}}var t=e(u);function n(u,e,t,n){var i={s:"muutama sekunti",m:"minuutti",mm:"%d minuuttia",h:"tunti",hh:"%d tuntia",d:"päivä",dd:"%d päivää",M:"kuukausi",MM:"%d kuukautta",y:"vuosi",yy:"%d vuotta",numbers:"nolla_yksi_kaksi_kolme_neljä_viisi_kuusi_seitsemän_kahdeksan_yhdeksän".split("_")},a={s:"muutaman sekunnin",m:"minuutin",mm:"%d minuutin",h:"tunnin",hh:"%d tunnin",d:"päivän",dd:"%d päivän",M:"kuukauden",MM:"%d kuukauden",y:"vuoden",yy:"%d vuoden",numbers:"nollan_yhden_kahden_kolmen_neljän_viiden_kuuden_seitsemän_kahdeksan_yhdeksän".split("_")},s=n&&!e?a:i,_=s[t];return u<10?_.replace("%d",s.numbers[u]):_.replace("%d",u)}var i={name:"fi",weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),ordinal:function(u){return u+"."},weekStart:1,yearStart:4,relativeTime:{future:"%s päästä",past:"%s sitten",s:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM[ta] YYYY",LLL:"D. MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, D. MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"D. MMM YYYY",lll:"D. MMM YYYY, [klo] HH.mm",llll:"ddd, D. MMM YYYY, [klo] HH.mm"}};return t.default.locale(i,null,!0),i})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/fo.js b/node_modules/dayjs/locale/fo.js new file mode 100644 index 0000000..ff6f8d8 --- /dev/null +++ b/node_modules/dayjs/locale/fo.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_fo=t(e.dayjs)}(this,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=t(e),r={name:"fo",weekdays:"sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur".split("_"),months:"januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember".split("_"),weekStart:1,weekdaysShort:"sun_mán_týs_mik_hós_frí_ley".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdaysMin:"su_má_tý_mi_hó_fr_le".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},relativeTime:{future:"um %s",past:"%s síðani",s:"fá sekund",m:"ein minuttur",mm:"%d minuttir",h:"ein tími",hh:"%d tímar",d:"ein dagur",dd:"%d dagar",M:"ein mánaður",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"}};return a.default.locale(r,null,!0),r})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/fr-ca.js b/node_modules/dayjs/locale/fr-ca.js new file mode 100644 index 0000000..9cc0d03 --- /dev/null +++ b/node_modules/dayjs/locale/fr-ca.js @@ -0,0 +1 @@ +!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],n):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_fr_ca=n(e.dayjs)}(this,(function(e){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=n(e),_={name:"fr-ca",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"}};return i.default.locale(_,null,!0),_})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/fr-ch.js b/node_modules/dayjs/locale/fr-ch.js new file mode 100644 index 0000000..1308de9 --- /dev/null +++ b/node_modules/dayjs/locale/fr-ch.js @@ -0,0 +1 @@ +!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],n):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_fr_ch=n(e.dayjs)}(this,(function(e){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=n(e),_={name:"fr-ch",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),weekStart:1,weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"}};return i.default.locale(_,null,!0),_})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/fr.js b/node_modules/dayjs/locale/fr.js new file mode 100644 index 0000000..8c42be4 --- /dev/null +++ b/node_modules/dayjs/locale/fr.js @@ -0,0 +1 @@ +!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],n):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_fr=n(e.dayjs)}(this,(function(e){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=n(e),i={name:"fr",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinal:function(e){return""+e+(1===e?"er":"")}};return t.default.locale(i,null,!0),i})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/fy.js b/node_modules/dayjs/locale/fy.js new file mode 100644 index 0000000..291dd5f --- /dev/null +++ b/node_modules/dayjs/locale/fy.js @@ -0,0 +1 @@ +!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],n):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_fy=n(e.dayjs)}(this,(function(e){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=n(e),t={name:"fy",weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:"jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),weekStart:1,weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"}};return i.default.locale(t,null,!0),t})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/ga.js b/node_modules/dayjs/locale/ga.js new file mode 100644 index 0000000..0b2489f --- /dev/null +++ b/node_modules/dayjs/locale/ga.js @@ -0,0 +1 @@ +!function(a,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(a="undefined"!=typeof globalThis?globalThis:a||self).dayjs_locale_ga=e(a.dayjs)}(this,(function(a){"use strict";function e(a){return a&&"object"==typeof a&&"default"in a?a:{default:a}}var i=e(a),n={name:"ga",weekdays:"Dé Domhnaigh_Dé Luain_Dé Máirt_Dé Céadaoin_Déardaoin_Dé hAoine_Dé Satharn".split("_"),months:"Eanáir_Feabhra_Márta_Aibreán_Bealtaine_Méitheamh_Iúil_Lúnasa_Meán Fómhair_Deaireadh Fómhair_Samhain_Nollaig".split("_"),weekStart:1,weekdaysShort:"Dom_Lua_Mái_Céa_Déa_hAo_Sat".split("_"),monthsShort:"Eaná_Feab_Márt_Aibr_Beal_Méit_Iúil_Lúna_Meán_Deai_Samh_Noll".split("_"),weekdaysMin:"Do_Lu_Má_Ce_Dé_hA_Sa".split("_"),ordinal:function(a){return a},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"i %s",past:"%s ó shin",s:"cúpla soicind",m:"nóiméad",mm:"%d nóiméad",h:"uair an chloig",hh:"%d uair an chloig",d:"lá",dd:"%d lá",M:"mí",MM:"%d mí",y:"bliain",yy:"%d bliain"}};return i.default.locale(n,null,!0),n})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/gd.js b/node_modules/dayjs/locale/gd.js new file mode 100644 index 0000000..c7e47ab --- /dev/null +++ b/node_modules/dayjs/locale/gd.js @@ -0,0 +1 @@ +!function(a,i){"object"==typeof exports&&"undefined"!=typeof module?module.exports=i(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],i):(a="undefined"!=typeof globalThis?globalThis:a||self).dayjs_locale_gd=i(a.dayjs)}(this,(function(a){"use strict";function i(a){return a&&"object"==typeof a&&"default"in a?a:{default:a}}var n=i(a),e={name:"gd",weekdays:"Didòmhnaich_Diluain_Dimàirt_Diciadain_Diardaoin_Dihaoine_Disathairne".split("_"),months:"Am Faoilleach_An Gearran_Am Màrt_An Giblean_An Cèitean_An t-Ògmhios_An t-Iuchar_An Lùnastal_An t-Sultain_An Dàmhair_An t-Samhain_An Dùbhlachd".split("_"),weekStart:1,weekdaysShort:"Did_Dil_Dim_Dic_Dia_Dih_Dis".split("_"),monthsShort:"Faoi_Gear_Màrt_Gibl_Cèit_Ògmh_Iuch_Lùn_Sult_Dàmh_Samh_Dùbh".split("_"),weekdaysMin:"Dò_Lu_Mà_Ci_Ar_Ha_Sa".split("_"),ordinal:function(a){return a},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"mìos",MM:"%d mìosan",y:"bliadhna",yy:"%d bliadhna"}};return n.default.locale(e,null,!0),e})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/gl.js b/node_modules/dayjs/locale/gl.js new file mode 100644 index 0000000..f5cf483 --- /dev/null +++ b/node_modules/dayjs/locale/gl.js @@ -0,0 +1 @@ +!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?module.exports=o(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],o):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_gl=o(e.dayjs)}(this,(function(e){"use strict";function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=o(e),d={name:"gl",weekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),weekStart:1,weekdaysShort:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),monthsShort:"xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_ve_sá".split("_"),ordinal:function(e){return e+"º"},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},relativeTime:{future:"en %s",past:"fai %s",s:"uns segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"}};return s.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/gom-latn.js b/node_modules/dayjs/locale/gom-latn.js new file mode 100644 index 0000000..1596618 --- /dev/null +++ b/node_modules/dayjs/locale/gom-latn.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_gom_latn=t(e.dayjs)}(this,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=t(e),_={name:"gom-latn",weekdays:"Aitar_Somar_Mongllar_Budvar_Brestar_Sukrar_Son'var".split("_"),months:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),weekStart:1,weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),ordinal:function(e){return e},formats:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM[achea] Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"}};return a.default.locale(_,null,!0),_})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/gu.js b/node_modules/dayjs/locale/gu.js new file mode 100644 index 0000000..f42a17c --- /dev/null +++ b/node_modules/dayjs/locale/gu.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_gu=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"gu",weekdays:"રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર".split("_"),months:"જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર".split("_"),weekdaysShort:"રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ".split("_"),monthsShort:"જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.".split("_"),weekdaysMin:"ર_સો_મં_બુ_ગુ_શુ_શ".split("_"),ordinal:function(_){return _},formats:{LT:"A h:mm વાગ્યે",LTS:"A h:mm:ss વાગ્યે",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm વાગ્યે",LLLL:"dddd, D MMMM YYYY, A h:mm વાગ્યે"},relativeTime:{future:"%s મા",past:"%s પેહલા",s:"અમુક પળો",m:"એક મિનિટ",mm:"%d મિનિટ",h:"એક કલાક",hh:"%d કલાક",d:"એક દિવસ",dd:"%d દિવસ",M:"એક મહિનો",MM:"%d મહિનો",y:"એક વર્ષ",yy:"%d વર્ષ"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/he.js b/node_modules/dayjs/locale/he.js new file mode 100644 index 0000000..3e4062e --- /dev/null +++ b/node_modules/dayjs/locale/he.js @@ -0,0 +1 @@ +!function(Y,M){"object"==typeof exports&&"undefined"!=typeof module?module.exports=M(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],M):(Y="undefined"!=typeof globalThis?globalThis:Y||self).dayjs_locale_he=M(Y.dayjs)}(this,(function(Y){"use strict";function M(Y){return Y&&"object"==typeof Y&&"default"in Y?Y:{default:Y}}var d=M(Y),e={s:"מספר שניות",ss:"%d שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:"%d שעות",hh2:"שעתיים",d:"יום",dd:"%d ימים",dd2:"יומיים",M:"חודש",MM:"%d חודשים",MM2:"חודשיים",y:"שנה",yy:"%d שנים",yy2:"שנתיים"};function _(Y,M,d){return(e[d+(2===Y?"2":"")]||e[d]).replace("%d",Y)}var l={name:"he",weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א׳_ב׳_ג׳_ד׳_ה׳_ו_ש׳".split("_"),months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו_פבר_מרץ_אפר_מאי_יונ_יול_אוג_ספט_אוק_נוב_דצמ".split("_"),relativeTime:{future:"בעוד %s",past:"לפני %s",s:_,m:_,mm:_,h:_,hh:_,d:_,dd:_,M:_,MM:_,y:_,yy:_},ordinal:function(Y){return Y},format:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"}};return d.default.locale(l,null,!0),l})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/hi.js b/node_modules/dayjs/locale/hi.js new file mode 100644 index 0000000..9dca3cf --- /dev/null +++ b/node_modules/dayjs/locale/hi.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_hi=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"hi",weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),months:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),ordinal:function(_){return _},formats:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/hr.js b/node_modules/dayjs/locale/hr.js new file mode 100644 index 0000000..12e8387 --- /dev/null +++ b/node_modules/dayjs/locale/hr.js @@ -0,0 +1 @@ +!function(e,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],a):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_hr=a(e.dayjs)}(this,(function(e){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=a(e),s="siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),n="siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_"),_=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/,o=function(e,a){return _.test(a)?s[e.month()]:n[e.month()]};o.s=n,o.f=s;var i={name:"hr",weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),months:o,monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},relativeTime:{future:"za %s",past:"prije %s",s:"sekunda",m:"minuta",mm:"%d minuta",h:"sat",hh:"%d sati",d:"dan",dd:"%d dana",M:"mjesec",MM:"%d mjeseci",y:"godina",yy:"%d godine"},ordinal:function(e){return e+"."}};return t.default.locale(i,null,!0),i})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/ht.js b/node_modules/dayjs/locale/ht.js new file mode 100644 index 0000000..3b2d9a3 --- /dev/null +++ b/node_modules/dayjs/locale/ht.js @@ -0,0 +1 @@ +!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],n):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_ht=n(e.dayjs)}(this,(function(e){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var d=n(e),a={name:"ht",weekdays:"dimanch_lendi_madi_mèkredi_jedi_vandredi_samdi".split("_"),months:"janvye_fevriye_mas_avril_me_jen_jiyè_out_septanm_oktòb_novanm_desanm".split("_"),weekdaysShort:"dim._len._mad._mèk._jed._van._sam.".split("_"),monthsShort:"jan._fev._mas_avr._me_jen_jiyè._out_sept._okt._nov._des.".split("_"),weekdaysMin:"di_le_ma_mè_je_va_sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"nan %s",past:"sa gen %s",s:"kèk segond",m:"yon minit",mm:"%d minit",h:"inèdtan",hh:"%d zè",d:"yon jou",dd:"%d jou",M:"yon mwa",MM:"%d mwa",y:"yon ane",yy:"%d ane"}};return d.default.locale(a,null,!0),a})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/hu.js b/node_modules/dayjs/locale/hu.js new file mode 100644 index 0000000..e2aff04 --- /dev/null +++ b/node_modules/dayjs/locale/hu.js @@ -0,0 +1 @@ +!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],n):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_hu=n(e.dayjs)}(this,(function(e){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=n(e),r={name:"hu",weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),ordinal:function(e){return e+"."},weekStart:1,relativeTime:{future:"%s múlva",past:"%s",s:function(e,n,t,r){return"néhány másodperc"+(r||n?"":"e")},m:function(e,n,t,r){return"egy perc"+(r||n?"":"e")},mm:function(e,n,t,r){return e+" perc"+(r||n?"":"e")},h:function(e,n,t,r){return"egy "+(r||n?"óra":"órája")},hh:function(e,n,t,r){return e+" "+(r||n?"óra":"órája")},d:function(e,n,t,r){return"egy "+(r||n?"nap":"napja")},dd:function(e,n,t,r){return e+" "+(r||n?"nap":"napja")},M:function(e,n,t,r){return"egy "+(r||n?"hónap":"hónapja")},MM:function(e,n,t,r){return e+" "+(r||n?"hónap":"hónapja")},y:function(e,n,t,r){return"egy "+(r||n?"év":"éve")},yy:function(e,n,t,r){return e+" "+(r||n?"év":"éve")}},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"}};return t.default.locale(r,null,!0),r})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/hy-am.js b/node_modules/dayjs/locale/hy-am.js new file mode 100644 index 0000000..44daa15 --- /dev/null +++ b/node_modules/dayjs/locale/hy-am.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_hy_am=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"hy-am",weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),months:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),weekStart:1,weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"dddd, D MMMM YYYY թ., HH:mm"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/id.js b/node_modules/dayjs/locale/id.js new file mode 100644 index 0000000..0637a65 --- /dev/null +++ b/node_modules/dayjs/locale/id.js @@ -0,0 +1 @@ +!function(e,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],a):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_id=a(e.dayjs)}(this,(function(e){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=a(e),_={name:"id",weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),weekStart:1,formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},ordinal:function(e){return e+"."}};return t.default.locale(_,null,!0),_})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/index.d.ts b/node_modules/dayjs/locale/index.d.ts new file mode 100644 index 0000000..bd2dca2 --- /dev/null +++ b/node_modules/dayjs/locale/index.d.ts @@ -0,0 +1,11 @@ +/// + +declare module 'dayjs/locale/*' { + namespace locale { + interface Locale extends ILocale {} + } + + const locale: locale.Locale + + export = locale +} diff --git a/node_modules/dayjs/locale/is.js b/node_modules/dayjs/locale/is.js new file mode 100644 index 0000000..de6799b --- /dev/null +++ b/node_modules/dayjs/locale/is.js @@ -0,0 +1 @@ +!function(u,r){"object"==typeof exports&&"undefined"!=typeof module?module.exports=r(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],r):(u="undefined"!=typeof globalThis?globalThis:u||self).dayjs_locale_is=r(u.dayjs)}(this,(function(u){"use strict";function r(u){return u&&"object"==typeof u&&"default"in u?u:{default:u}}var n=r(u),e={s:["nokkrar sekúndur","nokkrar sekúndur","nokkrum sekúndum"],m:["mínúta","mínútu","mínútu"],mm:["mínútur","mínútur","mínútum"],h:["klukkustund","klukkustund","klukkustund"],hh:["klukkustundir","klukkustundir","klukkustundum"],d:["dagur","dag","degi"],dd:["dagar","daga","dögum"],M:["mánuður","mánuð","mánuði"],MM:["mánuðir","mánuði","mánuðum"],y:["ár","ár","ári"],yy:["ár","ár","árum"]};function t(u,r,n,t){var a=function(u,r,n,t){var a=t?0:n?1:2,d=2===u.length&&r%10==1?u[0]:u,m=e[d][a];return 1===u.length?m:"%d "+m}(n,u,t,r);return a.replace("%d",u)}var a={name:"is",weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),weekStart:1,weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),ordinal:function(u){return u},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t}};return n.default.locale(a,null,!0),a})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/it-ch.js b/node_modules/dayjs/locale/it-ch.js new file mode 100644 index 0000000..7e1c92f --- /dev/null +++ b/node_modules/dayjs/locale/it-ch.js @@ -0,0 +1 @@ +!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?module.exports=o(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],o):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_it_ch=o(e.dayjs)}(this,(function(e){"use strict";function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=o(e),t={name:"it-ch",weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),weekStart:1,weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"}};return n.default.locale(t,null,!0),t})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/it.js b/node_modules/dayjs/locale/it.js new file mode 100644 index 0000000..2ddf44b --- /dev/null +++ b/node_modules/dayjs/locale/it.js @@ -0,0 +1 @@ +!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?module.exports=o(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],o):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_it=o(e.dayjs)}(this,(function(e){"use strict";function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=o(e),n={name:"it",weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),weekStart:1,monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"tra %s",past:"%s fa",s:"qualche secondo",m:"un minuto",mm:"%d minuti",h:"un' ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},ordinal:function(e){return e+"º"}};return t.default.locale(n,null,!0),n})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/ja.js b/node_modules/dayjs/locale/ja.js new file mode 100644 index 0000000..cd52f36 --- /dev/null +++ b/node_modules/dayjs/locale/ja.js @@ -0,0 +1 @@ +!function(e,_){"object"==typeof exports&&"undefined"!=typeof module?module.exports=_(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],_):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_ja=_(e.dayjs)}(this,(function(e){"use strict";function _(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=_(e),d={name:"ja",weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(e){return e+"日"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiem:function(e){return e<12?"午前":"午後"},relativeTime:{future:"%s後",past:"%s前",s:"数秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/jv.js b/node_modules/dayjs/locale/jv.js new file mode 100644 index 0000000..7566308 --- /dev/null +++ b/node_modules/dayjs/locale/jv.js @@ -0,0 +1 @@ +!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],n):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_jv=n(e.dayjs)}(this,(function(e){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=n(e),_={name:"jv",weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),weekStart:1,weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),ordinal:function(e){return e},formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"}};return t.default.locale(_,null,!0),_})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/ka.js b/node_modules/dayjs/locale/ka.js new file mode 100644 index 0000000..7b2ce53 --- /dev/null +++ b/node_modules/dayjs/locale/ka.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_ka=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"ka",weekdays:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),months:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekStart:1,formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},relativeTime:{future:"%s შემდეგ",past:"%s წინ",s:"წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათის",d:"დღეს",dd:"%d დღის განმავლობაში",M:"თვის",MM:"%d თვის",y:"წელი",yy:"%d წლის"},ordinal:function(_){return _}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/kk.js b/node_modules/dayjs/locale/kk.js new file mode 100644 index 0000000..a2f17a3 --- /dev/null +++ b/node_modules/dayjs/locale/kk.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_kk=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"kk",weekdays:"жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі".split("_"),weekdaysShort:"жек_дүй_сей_сәр_бей_жұм_сен".split("_"),weekdaysMin:"жк_дй_сй_ср_бй_жм_сн".split("_"),months:"қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан".split("_"),monthsShort:"қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел".split("_"),weekStart:1,relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"бірнеше секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%d сағат",d:"бір күн",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/km.js b/node_modules/dayjs/locale/km.js new file mode 100644 index 0000000..528923e --- /dev/null +++ b/node_modules/dayjs/locale/km.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_km=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"km",weekdays:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),months:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekStart:1,weekdaysShort:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),monthsShort:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekdaysMin:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"%sទៀត",past:"%sមុន",s:"ប៉ុន្មានវិនាទី",m:"មួយនាទី",mm:"%d នាទី",h:"មួយម៉ោង",hh:"%d ម៉ោង",d:"មួយថ្ងៃ",dd:"%d ថ្ងៃ",M:"មួយខែ",MM:"%d ខែ",y:"មួយឆ្នាំ",yy:"%d ឆ្នាំ"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/kn.js b/node_modules/dayjs/locale/kn.js new file mode 100644 index 0000000..e040eba --- /dev/null +++ b/node_modules/dayjs/locale/kn.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_kn=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"kn",weekdays:"ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ".split("_"),months:"ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್".split("_"),weekdaysShort:"ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ".split("_"),monthsShort:"ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ".split("_"),weekdaysMin:"ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ".split("_"),ordinal:function(_){return _},formats:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},relativeTime:{future:"%s ನಂತರ",past:"%s ಹಿಂದೆ",s:"ಕೆಲವು ಕ್ಷಣಗಳು",m:"ಒಂದು ನಿಮಿಷ",mm:"%d ನಿಮಿಷ",h:"ಒಂದು ಗಂಟೆ",hh:"%d ಗಂಟೆ",d:"ಒಂದು ದಿನ",dd:"%d ದಿನ",M:"ಒಂದು ತಿಂಗಳು",MM:"%d ತಿಂಗಳು",y:"ಒಂದು ವರ್ಷ",yy:"%d ವರ್ಷ"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/ko.js b/node_modules/dayjs/locale/ko.js new file mode 100644 index 0000000..cfe8b37 --- /dev/null +++ b/node_modules/dayjs/locale/ko.js @@ -0,0 +1 @@ +!function(e,_){"object"==typeof exports&&"undefined"!=typeof module?module.exports=_(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],_):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_ko=_(e.dayjs)}(this,(function(e){"use strict";function _(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var d=_(e),t={name:"ko",weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),ordinal:function(e){return e+"일"},formats:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},meridiem:function(e){return e<12?"오전":"오후"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"}};return d.default.locale(t,null,!0),t})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/ku.js b/node_modules/dayjs/locale/ku.js new file mode 100644 index 0000000..cd98fc2 --- /dev/null +++ b/node_modules/dayjs/locale/ku.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("dayjs")):"function"==typeof define&&define.amd?define(["exports","dayjs"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_ku={},e.dayjs)}(this,(function(e,t){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=n(t),d={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},o={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},u=["کانوونی دووەم","شوبات","ئادار","نیسان","ئایار","حوزەیران","تەممووز","ئاب","ئەیلوول","تشرینی یەکەم","تشرینی دووەم","کانوونی یەکەم"],i={name:"ku",months:u,monthsShort:u,weekdays:"یەکشەممە_دووشەممە_سێشەممە_چوارشەممە_پێنجشەممە_هەینی_شەممە".split("_"),weekdaysShort:"یەکشەم_دووشەم_سێشەم_چوارشەم_پێنجشەم_هەینی_شەممە".split("_"),weekStart:6,weekdaysMin:"ی_د_س_چ_پ_هـ_ش".split("_"),preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return o[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return d[e]})).replace(/,/g,"،")},ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiem:function(e){return e<12?"پ.ن":"د.ن"},relativeTime:{future:"لە %s",past:"لەمەوپێش %s",s:"چەند چرکەیەک",m:"یەک خولەک",mm:"%d خولەک",h:"یەک کاتژمێر",hh:"%d کاتژمێر",d:"یەک ڕۆژ",dd:"%d ڕۆژ",M:"یەک مانگ",MM:"%d مانگ",y:"یەک ساڵ",yy:"%d ساڵ"}};r.default.locale(i,null,!0),e.default=i,e.englishToArabicNumbersMap=d,Object.defineProperty(e,"__esModule",{value:!0})})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/ky.js b/node_modules/dayjs/locale/ky.js new file mode 100644 index 0000000..1fdc40e --- /dev/null +++ b/node_modules/dayjs/locale/ky.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_ky=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"ky",weekdays:"Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),weekStart:1,weekdaysShort:"Жек_Дүй_Шей_Шар_Бей_Жум_Ише".split("_"),monthsShort:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),weekdaysMin:"Жк_Дй_Шй_Шр_Бй_Жм_Иш".split("_"),ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"%s ичинде",past:"%s мурун",s:"бирнече секунд",m:"бир мүнөт",mm:"%d мүнөт",h:"бир саат",hh:"%d саат",d:"бир күн",dd:"%d күн",M:"бир ай",MM:"%d ай",y:"бир жыл",yy:"%d жыл"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/lb.js b/node_modules/dayjs/locale/lb.js new file mode 100644 index 0000000..b6895f2 --- /dev/null +++ b/node_modules/dayjs/locale/lb.js @@ -0,0 +1 @@ +!function(e,_){"object"==typeof exports&&"undefined"!=typeof module?module.exports=_(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],_):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_lb=_(e.dayjs)}(this,(function(e){"use strict";function _(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=_(e),n={name:"lb",weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),weekStart:1,weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"}};return t.default.locale(n,null,!0),n})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/lo.js b/node_modules/dayjs/locale/lo.js new file mode 100644 index 0000000..1bf09d1 --- /dev/null +++ b/node_modules/dayjs/locale/lo.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_lo=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"lo",weekdays:"ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),months:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdaysShort:"ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),monthsShort:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdaysMin:"ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ".split("_"),ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັນdddd D MMMM YYYY HH:mm"},relativeTime:{future:"ອີກ %s",past:"%sຜ່ານມາ",s:"ບໍ່ເທົ່າໃດວິນາທີ",m:"1 ນາທີ",mm:"%d ນາທີ",h:"1 ຊົ່ວໂມງ",hh:"%d ຊົ່ວໂມງ",d:"1 ມື້",dd:"%d ມື້",M:"1 ເດືອນ",MM:"%d ເດືອນ",y:"1 ປີ",yy:"%d ປີ"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/lt.js b/node_modules/dayjs/locale/lt.js new file mode 100644 index 0000000..52f2225 --- /dev/null +++ b/node_modules/dayjs/locale/lt.js @@ -0,0 +1 @@ +!function(e,s){"object"==typeof exports&&"undefined"!=typeof module?module.exports=s(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],s):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_lt=s(e.dayjs)}(this,(function(e){"use strict";function s(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=s(e),d="sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),a="sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),l=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/,M=function(e,s){return l.test(s)?d[e.month()]:a[e.month()]};M.s=a,M.f=d;var t={name:"lt",weekdays:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),weekdaysShort:"sek_pir_ant_tre_ket_pen_šeš".split("_"),weekdaysMin:"s_p_a_t_k_pn_š".split("_"),months:M,monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),ordinal:function(e){return e+"."},weekStart:1,relativeTime:{future:"už %s",past:"prieš %s",s:"kelias sekundes",m:"minutę",mm:"%d minutes",h:"valandą",hh:"%d valandas",d:"dieną",dd:"%d dienas",M:"mėnesį",MM:"%d mėnesius",y:"metus",yy:"%d metus"},format:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"}};return i.default.locale(t,null,!0),t})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/lv.js b/node_modules/dayjs/locale/lv.js new file mode 100644 index 0000000..98fc126 --- /dev/null +++ b/node_modules/dayjs/locale/lv.js @@ -0,0 +1 @@ +!function(e,s){"object"==typeof exports&&"undefined"!=typeof module?module.exports=s(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],s):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_lv=s(e.dayjs)}(this,(function(e){"use strict";function s(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=s(e),d={name:"lv",weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),weekStart:1,weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},relativeTime:{future:"pēc %s",past:"pirms %s",s:"dažām sekundēm",m:"minūtes",mm:"%d minūtēm",h:"stundas",hh:"%d stundām",d:"dienas",dd:"%d dienām",M:"mēneša",MM:"%d mēnešiem",y:"gada",yy:"%d gadiem"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/me.js b/node_modules/dayjs/locale/me.js new file mode 100644 index 0000000..ecb22ae --- /dev/null +++ b/node_modules/dayjs/locale/me.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_me=t(e.dayjs)}(this,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var _=t(e),a={name:"me",weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),weekStart:1,weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),ordinal:function(e){return e},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"}};return _.default.locale(a,null,!0),a})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/mi.js b/node_modules/dayjs/locale/mi.js new file mode 100644 index 0000000..1b328f0 --- /dev/null +++ b/node_modules/dayjs/locale/mi.js @@ -0,0 +1 @@ +!function(e,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],a):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_mi=a(e.dayjs)}(this,(function(e){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=a(e),t={name:"mi",weekdays:"Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei".split("_"),months:"Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea".split("_"),weekStart:1,weekdaysShort:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),weekdaysMin:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te hēkona ruarua",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"}};return i.default.locale(t,null,!0),t})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/mk.js b/node_modules/dayjs/locale/mk.js new file mode 100644 index 0000000..0f2ece1 --- /dev/null +++ b/node_modules/dayjs/locale/mk.js @@ -0,0 +1 @@ +!function(e,_){"object"==typeof exports&&"undefined"!=typeof module?module.exports=_(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],_):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_mk=_(e.dayjs)}(this,(function(e){"use strict";function _(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=_(e),d={name:"mk",weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),weekStart:1,weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),ordinal:function(e){return e},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},relativeTime:{future:"после %s",past:"пред %s",s:"неколку секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",M:"месец",MM:"%d месеци",y:"година",yy:"%d години"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/ml.js b/node_modules/dayjs/locale/ml.js new file mode 100644 index 0000000..8e7db4f --- /dev/null +++ b/node_modules/dayjs/locale/ml.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_ml=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"ml",weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),ordinal:function(_){return _},formats:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -നു",LLLL:"dddd, D MMMM YYYY, A h:mm -നു"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/mn.js b/node_modules/dayjs/locale/mn.js new file mode 100644 index 0000000..4de299b --- /dev/null +++ b/node_modules/dayjs/locale/mn.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_mn=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"mn",weekdays:"Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба".split("_"),months:"Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар".split("_"),weekdaysShort:"Ням_Дав_Мяг_Лха_Пүр_Баа_Бям".split("_"),monthsShort:"1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар".split("_"),weekdaysMin:"Ня_Да_Мя_Лх_Пү_Ба_Бя".split("_"),ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY оны MMMMын D",LLL:"YYYY оны MMMMын D HH:mm",LLLL:"dddd, YYYY оны MMMMын D HH:mm"},relativeTime:{future:"%s",past:"%s",s:"саяхан",m:"м",mm:"%dм",h:"1ц",hh:"%dц",d:"1ө",dd:"%dө",M:"1с",MM:"%dс",y:"1ж",yy:"%dж"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/mr.js b/node_modules/dayjs/locale/mr.js new file mode 100644 index 0000000..af6bb3a --- /dev/null +++ b/node_modules/dayjs/locale/mr.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_mr=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),n={name:"mr",weekdays:"रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),months:"जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),weekdaysShort:"रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".split("_"),monthsShort:"जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),ordinal:function(_){return _},formats:{LT:"A h:mm वाजता",LTS:"A h:mm:ss वाजता",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm वाजता",LLLL:"dddd, D MMMM YYYY, A h:mm वाजता"}};return t.default.locale(n,null,!0),n})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/ms-my.js b/node_modules/dayjs/locale/ms-my.js new file mode 100644 index 0000000..1917d7a --- /dev/null +++ b/node_modules/dayjs/locale/ms-my.js @@ -0,0 +1 @@ +!function(e,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],a):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_ms_my=a(e.dayjs)}(this,(function(e){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=a(e),_={name:"ms-my",weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),weekStart:1,weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),ordinal:function(e){return e},formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"}};return t.default.locale(_,null,!0),_})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/ms.js b/node_modules/dayjs/locale/ms.js new file mode 100644 index 0000000..be4f88e --- /dev/null +++ b/node_modules/dayjs/locale/ms.js @@ -0,0 +1 @@ +!function(e,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],a):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_ms=a(e.dayjs)}(this,(function(e){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=a(e),s={name:"ms",weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekStart:1,formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH.mm",LLLL:"dddd, D MMMM YYYY HH.mm"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},ordinal:function(e){return e+"."}};return t.default.locale(s,null,!0),s})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/mt.js b/node_modules/dayjs/locale/mt.js new file mode 100644 index 0000000..43d481a --- /dev/null +++ b/node_modules/dayjs/locale/mt.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_mt=t(e.dayjs)}(this,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=t(e),i={name:"mt",weekdays:"Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt".split("_"),months:"Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru".split("_"),weekStart:1,weekdaysShort:"Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ".split("_"),weekdaysMin:"Ħa_Tn_Tl_Er_Ħa_Ġi_Si".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"f’ %s",past:"%s ilu",s:"ftit sekondi",m:"minuta",mm:"%d minuti",h:"siegħa",hh:"%d siegħat",d:"ġurnata",dd:"%d ġranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"}};return a.default.locale(i,null,!0),i})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/my.js b/node_modules/dayjs/locale/my.js new file mode 100644 index 0000000..95adead --- /dev/null +++ b/node_modules/dayjs/locale/my.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_my=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"my",weekdays:"တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),months:"ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ".split("_"),weekStart:1,weekdaysShort:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),monthsShort:"ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),weekdaysMin:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"လာမည့် %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနည်းငယ်",m:"တစ်မိနစ်",mm:"%d မိနစ်",h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",yy:"%d နှစ်"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/nb.js b/node_modules/dayjs/locale/nb.js new file mode 100644 index 0000000..ece1f31 --- /dev/null +++ b/node_modules/dayjs/locale/nb.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_nb=t(e.dayjs)}(this,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e),a={name:"nb",weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),ordinal:function(e){return e+"."},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",M:"en måned",MM:"%d måneder",y:"ett år",yy:"%d år"}};return n.default.locale(a,null,!0),a})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/ne.js b/node_modules/dayjs/locale/ne.js new file mode 100644 index 0000000..3d166bc --- /dev/null +++ b/node_modules/dayjs/locale/ne.js @@ -0,0 +1 @@ +!function(e,_){"object"==typeof exports&&"undefined"!=typeof module?module.exports=_(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],_):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_ne=_(e.dayjs)}(this,(function(e){"use strict";function _(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=_(e),d={name:"ne",weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मे_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),relativeTime:{future:"%s पछि",past:"%s अघि",s:"सेकेन्ड",m:"एक मिनेट",mm:"%d मिनेट",h:"घन्टा",hh:"%d घन्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक वर्ष",yy:"%d वर्ष"},ordinal:function(e){return(""+e).replace(/\d/g,(function(e){return"०१२३४५६७८९"[e]}))},formats:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/nl-be.js b/node_modules/dayjs/locale/nl-be.js new file mode 100644 index 0000000..7a2f60f --- /dev/null +++ b/node_modules/dayjs/locale/nl-be.js @@ -0,0 +1 @@ +!function(e,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],a):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_nl_be=a(e.dayjs)}(this,(function(e){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=a(e),d={name:"nl-be",weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),weekStart:1,weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"}};return n.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/nl.js b/node_modules/dayjs/locale/nl.js new file mode 100644 index 0000000..47e789f --- /dev/null +++ b/node_modules/dayjs/locale/nl.js @@ -0,0 +1 @@ +!function(e,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],a):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_nl=a(e.dayjs)}(this,(function(e){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var d=a(e),n={name:"nl",weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),ordinal:function(e){return"["+e+(1===e||8===e||e>=20?"ste":"de")+"]"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"een minuut",mm:"%d minuten",h:"een uur",hh:"%d uur",d:"een dag",dd:"%d dagen",M:"een maand",MM:"%d maanden",y:"een jaar",yy:"%d jaar"}};return d.default.locale(n,null,!0),n})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/nn.js b/node_modules/dayjs/locale/nn.js new file mode 100644 index 0000000..eba3c24 --- /dev/null +++ b/node_modules/dayjs/locale/nn.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_nn=t(e.dayjs)}(this,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e),a={name:"nn",weekdays:"sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"sun_mån_tys_ons_tor_fre_lau".split("_"),weekdaysMin:"su_må_ty_on_to_fr_la".split("_"),months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),ordinal:function(e){return e+"."},weekStart:1,relativeTime:{future:"om %s",past:"for %s sidan",s:"nokre sekund",m:"eitt minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",M:"ein månad",MM:"%d månadar",y:"eitt år",yy:"%d år"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"}};return n.default.locale(a,null,!0),a})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/oc-lnc.js b/node_modules/dayjs/locale/oc-lnc.js new file mode 100644 index 0000000..12e162c --- /dev/null +++ b/node_modules/dayjs/locale/oc-lnc.js @@ -0,0 +1 @@ +!function(e,d){"object"==typeof exports&&"undefined"!=typeof module?module.exports=d(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],d):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_oc_lnc=d(e.dayjs)}(this,(function(e){"use strict";function d(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=d(e),s={name:"oc-lnc",weekdays:"dimenge_diluns_dimars_dimècres_dijòus_divendres_dissabte".split("_"),weekdaysShort:"Dg_Dl_Dm_Dc_Dj_Dv_Ds".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),months:"genièr_febrièr_març_abrial_mai_junh_julhet_agost_setembre_octòbre_novembre_decembre".split("_"),monthsShort:"gen_feb_març_abr_mai_junh_julh_ago_set_oct_nov_dec".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"unas segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},ordinal:function(e){return e+"º"}};return n.default.locale(s,null,!0),s})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/pa-in.js b/node_modules/dayjs/locale/pa-in.js new file mode 100644 index 0000000..4ee3884 --- /dev/null +++ b/node_modules/dayjs/locale/pa-in.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_pa_in=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"pa-in",weekdays:"ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ".split("_"),months:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdaysShort:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),monthsShort:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdaysMin:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),ordinal:function(_){return _},formats:{LT:"A h:mm ਵਜੇ",LTS:"A h:mm:ss ਵਜੇ",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm ਵਜੇ",LLLL:"dddd, D MMMM YYYY, A h:mm ਵਜੇ"},relativeTime:{future:"%s ਵਿੱਚ",past:"%s ਪਿਛਲੇ",s:"ਕੁਝ ਸਕਿੰਟ",m:"ਇਕ ਮਿੰਟ",mm:"%d ਮਿੰਟ",h:"ਇੱਕ ਘੰਟਾ",hh:"%d ਘੰਟੇ",d:"ਇੱਕ ਦਿਨ",dd:"%d ਦਿਨ",M:"ਇੱਕ ਮਹੀਨਾ",MM:"%d ਮਹੀਨੇ",y:"ਇੱਕ ਸਾਲ",yy:"%d ਸਾਲ"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/pl.js b/node_modules/dayjs/locale/pl.js new file mode 100644 index 0000000..3f5148c --- /dev/null +++ b/node_modules/dayjs/locale/pl.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_pl=t(e.dayjs)}(this,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=t(e);function a(e){return e%10<5&&e%10>1&&~~(e/10)%10!=1}function n(e,t,i){var n=e+" ";switch(i){case"m":return t?"minuta":"minutę";case"mm":return n+(a(e)?"minuty":"minut");case"h":return t?"godzina":"godzinę";case"hh":return n+(a(e)?"godziny":"godzin");case"MM":return n+(a(e)?"miesiące":"miesięcy");case"yy":return n+(a(e)?"lata":"lat")}}var r="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),_="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),s=/D MMMM/,d=function(e,t){return s.test(t)?r[e.month()]:_[e.month()]};d.s=_,d.f=r;var o={name:"pl",weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),months:d,monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),ordinal:function(e){return e+"."},weekStart:1,yearStart:4,relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",m:n,mm:n,h:n,hh:n,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:n,y:"rok",yy:n},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"}};return i.default.locale(o,null,!0),o})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/pt-br.js b/node_modules/dayjs/locale/pt-br.js new file mode 100644 index 0000000..629c2f1 --- /dev/null +++ b/node_modules/dayjs/locale/pt-br.js @@ -0,0 +1 @@ +!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?module.exports=o(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],o):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_pt_br=o(e.dayjs)}(this,(function(e){"use strict";function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=o(e),s={name:"pt-br",weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),ordinal:function(e){return e+"º"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"}};return a.default.locale(s,null,!0),s})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/pt.js b/node_modules/dayjs/locale/pt.js new file mode 100644 index 0000000..91652e8 --- /dev/null +++ b/node_modules/dayjs/locale/pt.js @@ -0,0 +1 @@ +!function(e,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],a):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_pt=a(e.dayjs)}(this,(function(e){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=a(e),t={name:"pt",weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sab".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sa".split("_"),months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),ordinal:function(e){return e+"º"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},relativeTime:{future:"em %s",past:"há %s",s:"alguns segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"}};return o.default.locale(t,null,!0),t})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/rn.js b/node_modules/dayjs/locale/rn.js new file mode 100644 index 0000000..a093364 --- /dev/null +++ b/node_modules/dayjs/locale/rn.js @@ -0,0 +1 @@ +!function(a,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(a="undefined"!=typeof globalThis?globalThis:a||self).dayjs_locale_rn=e(a.dayjs)}(this,(function(a){"use strict";function e(a){return a&&"object"==typeof a&&"default"in a?a:{default:a}}var t=e(a),u={name:"rn",weekdays:"Ku wa Mungu_Ku wa Mbere_Ku wa Kabiri_Ku wa Gatatu_Ku wa Kane_Ku wa Gatanu_Ku wa Gatandatu".split("_"),weekdaysShort:"Kngu_Kmbr_Kbri_Ktat_Kkan_Ktan_Kdat".split("_"),weekdaysMin:"K7_K1_K2_K3_K4_K5_K6".split("_"),months:"Nzero_Ruhuhuma_Ntwarante_Ndamukiza_Rusama_Ruhenshi_Mukakaro_Myandagaro_Nyakanga_Gitugutu_Munyonyo_Kigarama".split("_"),monthsShort:"Nzer_Ruhuh_Ntwar_Ndam_Rus_Ruhen_Muk_Myand_Nyak_Git_Muny_Kig".split("_"),weekStart:1,ordinal:function(a){return a},relativeTime:{future:"mu %s",past:"%s",s:"amasegonda",m:"Umunota",mm:"%d iminota",h:"isaha",hh:"%d amasaha",d:"Umunsi",dd:"%d iminsi",M:"ukwezi",MM:"%d amezi",y:"umwaka",yy:"%d imyaka"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"}};return t.default.locale(u,null,!0),u})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/ro.js b/node_modules/dayjs/locale/ro.js new file mode 100644 index 0000000..445af3d --- /dev/null +++ b/node_modules/dayjs/locale/ro.js @@ -0,0 +1 @@ +!function(e,i){"object"==typeof exports&&"undefined"!=typeof module?module.exports=i(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],i):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_ro=i(e.dayjs)}(this,(function(e){"use strict";function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=i(e),_={name:"ro",weekdays:"Duminică_Luni_Marți_Miercuri_Joi_Vineri_Sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),months:"Ianuarie_Februarie_Martie_Aprilie_Mai_Iunie_Iulie_August_Septembrie_Octombrie_Noiembrie_Decembrie".split("_"),monthsShort:"Ian._Febr._Mart._Apr._Mai_Iun._Iul._Aug._Sept._Oct._Nov._Dec.".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},relativeTime:{future:"peste %s",past:"acum %s",s:"câteva secunde",m:"un minut",mm:"%d minute",h:"o oră",hh:"%d ore",d:"o zi",dd:"%d zile",M:"o lună",MM:"%d luni",y:"un an",yy:"%d ani"},ordinal:function(e){return e}};return t.default.locale(_,null,!0),_})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/ru.js b/node_modules/dayjs/locale/ru.js new file mode 100644 index 0000000..f896790 --- /dev/null +++ b/node_modules/dayjs/locale/ru.js @@ -0,0 +1 @@ +!function(_,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],t):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_ru=t(_.dayjs)}(this,(function(_){"use strict";function t(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var e=t(_),n="января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),s="январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),r="янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),o="янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_"),i=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;function d(_,t,e){var n,s;return"m"===e?t?"минута":"минуту":_+" "+(n=+_,s={mm:t?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"}[e].split("_"),n%10==1&&n%100!=11?s[0]:n%10>=2&&n%10<=4&&(n%100<10||n%100>=20)?s[1]:s[2])}var u=function(_,t){return i.test(t)?n[_.month()]:s[_.month()]};u.s=s,u.f=n;var a=function(_,t){return i.test(t)?r[_.month()]:o[_.month()]};a.s=o,a.f=r;var m={name:"ru",weekdays:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),weekdaysShort:"вск_пнд_втр_срд_чтв_птн_сбт".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),months:u,monthsShort:a,weekStart:1,yearStart:4,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",m:d,mm:d,h:"час",hh:d,d:"день",dd:d,M:"месяц",MM:d,y:"год",yy:d},ordinal:function(_){return _},meridiem:function(_){return _<4?"ночи":_<12?"утра":_<17?"дня":"вечера"}};return e.default.locale(m,null,!0),m})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/rw.js b/node_modules/dayjs/locale/rw.js new file mode 100644 index 0000000..bf4c280 --- /dev/null +++ b/node_modules/dayjs/locale/rw.js @@ -0,0 +1 @@ +!function(a,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(a="undefined"!=typeof globalThis?globalThis:a||self).dayjs_locale_rw=e(a.dayjs)}(this,(function(a){"use strict";function e(a){return a&&"object"==typeof a&&"default"in a?a:{default:a}}var u=e(a),t={name:"rw",weekdays:"Ku Cyumweru_Kuwa Mbere_Kuwa Kabiri_Kuwa Gatatu_Kuwa Kane_Kuwa Gatanu_Kuwa Gatandatu".split("_"),months:"Mutarama_Gashyantare_Werurwe_Mata_Gicurasi_Kamena_Nyakanga_Kanama_Nzeri_Ukwakira_Ugushyingo_Ukuboza".split("_"),relativeTime:{future:"mu %s",past:"%s",s:"amasegonda",m:"Umunota",mm:"%d iminota",h:"isaha",hh:"%d amasaha",d:"Umunsi",dd:"%d iminsi",M:"ukwezi",MM:"%d amezi",y:"umwaka",yy:"%d imyaka"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},ordinal:function(a){return a}};return u.default.locale(t,null,!0),t})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/sd.js b/node_modules/dayjs/locale/sd.js new file mode 100644 index 0000000..b1e1ee4 --- /dev/null +++ b/node_modules/dayjs/locale/sd.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_sd=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"sd",weekdays:"آچر_سومر_اڱارو_اربع_خميس_جمع_ڇنڇر".split("_"),months:"جنوري_فيبروري_مارچ_اپريل_مئي_جون_جولاءِ_آگسٽ_سيپٽمبر_آڪٽوبر_نومبر_ڊسمبر".split("_"),weekStart:1,weekdaysShort:"آچر_سومر_اڱارو_اربع_خميس_جمع_ڇنڇر".split("_"),monthsShort:"جنوري_فيبروري_مارچ_اپريل_مئي_جون_جولاءِ_آگسٽ_سيپٽمبر_آڪٽوبر_نومبر_ڊسمبر".split("_"),weekdaysMin:"آچر_سومر_اڱارو_اربع_خميس_جمع_ڇنڇر".split("_"),ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},relativeTime:{future:"%s پوء",past:"%s اڳ",s:"چند سيڪنڊ",m:"هڪ منٽ",mm:"%d منٽ",h:"هڪ ڪلاڪ",hh:"%d ڪلاڪ",d:"هڪ ڏينهن",dd:"%d ڏينهن",M:"هڪ مهينو",MM:"%d مهينا",y:"هڪ سال",yy:"%d سال"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/se.js b/node_modules/dayjs/locale/se.js new file mode 100644 index 0000000..2cbb224 --- /dev/null +++ b/node_modules/dayjs/locale/se.js @@ -0,0 +1 @@ +!function(e,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],a):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_se=a(e.dayjs)}(this,(function(e){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=a(e),t={name:"se",weekdays:"sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat".split("_"),months:"ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu".split("_"),weekStart:1,weekdaysShort:"sotn_vuos_maŋ_gask_duor_bear_láv".split("_"),monthsShort:"ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},relativeTime:{future:"%s geažes",past:"maŋit %s",s:"moadde sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta mánnu",MM:"%d mánut",y:"okta jahki",yy:"%d jagit"}};return n.default.locale(t,null,!0),t})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/si.js b/node_modules/dayjs/locale/si.js new file mode 100644 index 0000000..216ae8a --- /dev/null +++ b/node_modules/dayjs/locale/si.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_si=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"si",weekdays:"ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),months:"දුරුතු_නවම්_මැදින්_බක්_වෙසක්_පොසොන්_ඇසළ_නිකිණි_බිනර_වප්_ඉල්_උඳුවප්".split("_"),weekdaysShort:"ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන".split("_"),monthsShort:"දුරු_නව_මැදි_බක්_වෙස_පොසො_ඇස_නිකි_බින_වප්_ඉල්_උඳු".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්‍ර_සි_සෙ".split("_"),ordinal:function(_){return _},formats:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [වැනි] dddd, a h:mm:ss"},relativeTime:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",m:"විනාඩිය",mm:"විනාඩි %d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/sk.js b/node_modules/dayjs/locale/sk.js new file mode 100644 index 0000000..b2707e3 --- /dev/null +++ b/node_modules/dayjs/locale/sk.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_sk=t(e.dayjs)}(this,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e);function r(e){return e>1&&e<5&&1!=~~(e/10)}function o(e,t,n,o){var a=e+" ";switch(n){case"s":return t||o?"pár sekúnd":"pár sekundami";case"m":return t?"minúta":o?"minútu":"minútou";case"mm":return t||o?a+(r(e)?"minúty":"minút"):a+"minútami";case"h":return t?"hodina":o?"hodinu":"hodinou";case"hh":return t||o?a+(r(e)?"hodiny":"hodín"):a+"hodinami";case"d":return t||o?"deň":"dňom";case"dd":return t||o?a+(r(e)?"dni":"dní"):a+"dňami";case"M":return t||o?"mesiac":"mesiacom";case"MM":return t||o?a+(r(e)?"mesiace":"mesiacov"):a+"mesiacmi";case"y":return t||o?"rok":"rokom";case"yy":return t||o?a+(r(e)?"roky":"rokov"):a+"rokmi"}}var a={name:"sk",weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),months:"január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),monthsShort:"jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_"),weekStart:1,yearStart:4,ordinal:function(e){return e+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},relativeTime:{future:"za %s",past:"pred %s",s:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o}};return n.default.locale(a,null,!0),a})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/sl.js b/node_modules/dayjs/locale/sl.js new file mode 100644 index 0000000..162d2ec --- /dev/null +++ b/node_modules/dayjs/locale/sl.js @@ -0,0 +1 @@ +!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],n):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_sl=n(e.dayjs)}(this,(function(e){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=n(e);function r(e){return e%100==2}function a(e){return e%100==3||e%100==4}function s(e,n,t,s){var m=e+" ";switch(t){case"s":return n||s?"nekaj sekund":"nekaj sekundami";case"m":return n?"ena minuta":"eno minuto";case"mm":return r(e)?m+(n||s?"minuti":"minutama"):a(e)?m+(n||s?"minute":"minutami"):m+(n||s?"minut":"minutami");case"h":return n?"ena ura":"eno uro";case"hh":return r(e)?m+(n||s?"uri":"urama"):a(e)?m+(n||s?"ure":"urami"):m+(n||s?"ur":"urami");case"d":return n||s?"en dan":"enim dnem";case"dd":return r(e)?m+(n||s?"dneva":"dnevoma"):m+(n||s?"dni":"dnevi");case"M":return n||s?"en mesec":"enim mesecem";case"MM":return r(e)?m+(n||s?"meseca":"mesecema"):a(e)?m+(n||s?"mesece":"meseci"):m+(n||s?"mesecev":"meseci");case"y":return n||s?"eno leto":"enim letom";case"yy":return r(e)?m+(n||s?"leti":"letoma"):a(e)?m+(n||s?"leta":"leti"):m+(n||s?"let":"leti")}}var m={name:"sl",weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),weekStart:1,weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),ordinal:function(e){return e+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm",l:"D. M. YYYY"},relativeTime:{future:"čez %s",past:"pred %s",s:s,m:s,mm:s,h:s,hh:s,d:s,dd:s,M:s,MM:s,y:s,yy:s}};return t.default.locale(m,null,!0),m})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/sq.js b/node_modules/dayjs/locale/sq.js new file mode 100644 index 0000000..99bca9a --- /dev/null +++ b/node_modules/dayjs/locale/sq.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_sq=t(e.dayjs)}(this,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var _=t(e),n={name:"sq",weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),weekStart:1,weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"}};return _.default.locale(n,null,!0),n})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/sr-cyrl.js b/node_modules/dayjs/locale/sr-cyrl.js new file mode 100644 index 0000000..90daeeb --- /dev/null +++ b/node_modules/dayjs/locale/sr-cyrl.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_sr_cyrl=t(e.dayjs)}(this,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=t(e),a={words:{m:["један минут","једног минута"],mm:["%d минут","%d минута","%d минута"],h:["један сат","једног сата"],hh:["%d сат","%d сата","%d сати"],d:["један дан","једног дана"],dd:["%d дан","%d дана","%d дана"],M:["један месец","једног месеца"],MM:["%d месец","%d месеца","%d месеци"],y:["једну годину","једне године"],yy:["%d годину","%d године","%d година"]},correctGrammarCase:function(e,t){return e%10>=1&&e%10<=4&&(e%100<10||e%100>=20)?e%10==1?t[0]:t[1]:t[2]},relativeTimeFormatter:function(e,t,r,d){var i=a.words[r];if(1===r.length)return"y"===r&&t?"једна година":d||t?i[0]:i[1];var m=a.correctGrammarCase(e,i);return"yy"===r&&t&&"%d годину"===m?e+" година":m.replace("%d",e)}},d={name:"sr-cyrl",weekdays:"Недеља_Понедељак_Уторак_Среда_Четвртак_Петак_Субота".split("_"),weekdaysShort:"Нед._Пон._Уто._Сре._Чет._Пет._Суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),months:"Јануар_Фебруар_Март_Април_Мај_Јун_Јул_Август_Септембар_Октобар_Новембар_Децембар".split("_"),monthsShort:"Јан._Феб._Мар._Апр._Мај_Јун_Јул_Авг._Сеп._Окт._Нов._Дец.".split("_"),weekStart:1,relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",m:a.relativeTimeFormatter,mm:a.relativeTimeFormatter,h:a.relativeTimeFormatter,hh:a.relativeTimeFormatter,d:a.relativeTimeFormatter,dd:a.relativeTimeFormatter,M:a.relativeTimeFormatter,MM:a.relativeTimeFormatter,y:a.relativeTimeFormatter,yy:a.relativeTimeFormatter},ordinal:function(e){return e+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"}};return r.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/sr.js b/node_modules/dayjs/locale/sr.js new file mode 100644 index 0000000..35a5b55 --- /dev/null +++ b/node_modules/dayjs/locale/sr.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_sr=t(e.dayjs)}(this,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=t(e),r={words:{m:["jedan minut","jednog minuta"],mm:["%d minut","%d minuta","%d minuta"],h:["jedan sat","jednog sata"],hh:["%d sat","%d sata","%d sati"],d:["jedan dan","jednog dana"],dd:["%d dan","%d dana","%d dana"],M:["jedan mesec","jednog meseca"],MM:["%d mesec","%d meseca","%d meseci"],y:["jednu godinu","jedne godine"],yy:["%d godinu","%d godine","%d godina"]},correctGrammarCase:function(e,t){return e%10>=1&&e%10<=4&&(e%100<10||e%100>=20)?e%10==1?t[0]:t[1]:t[2]},relativeTimeFormatter:function(e,t,a,d){var n=r.words[a];if(1===a.length)return"y"===a&&t?"jedna godina":d||t?n[0]:n[1];var i=r.correctGrammarCase(e,n);return"yy"===a&&t&&"%d godinu"===i?e+" godina":i.replace("%d",e)}},d={name:"sr",weekdays:"Nedelja_Ponedeljak_Utorak_Sreda_Četvrtak_Petak_Subota".split("_"),weekdaysShort:"Ned._Pon._Uto._Sre._Čet._Pet._Sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),months:"Januar_Februar_Mart_April_Maj_Jun_Jul_Avgust_Septembar_Oktobar_Novembar_Decembar".split("_"),monthsShort:"Jan._Feb._Mar._Apr._Maj_Jun_Jul_Avg._Sep._Okt._Nov._Dec.".split("_"),weekStart:1,relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",m:r.relativeTimeFormatter,mm:r.relativeTimeFormatter,h:r.relativeTimeFormatter,hh:r.relativeTimeFormatter,d:r.relativeTimeFormatter,dd:r.relativeTimeFormatter,M:r.relativeTimeFormatter,MM:r.relativeTimeFormatter,y:r.relativeTimeFormatter,yy:r.relativeTimeFormatter},ordinal:function(e){return e+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"}};return a.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/ss.js b/node_modules/dayjs/locale/ss.js new file mode 100644 index 0000000..4df16a5 --- /dev/null +++ b/node_modules/dayjs/locale/ss.js @@ -0,0 +1 @@ +!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],n):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_ss=n(e.dayjs)}(this,(function(e){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=n(e),i={name:"ss",weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),weekStart:1,weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),ordinal:function(e){return e},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"}};return a.default.locale(i,null,!0),i})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/sv-fi.js b/node_modules/dayjs/locale/sv-fi.js new file mode 100644 index 0000000..5b2f8af --- /dev/null +++ b/node_modules/dayjs/locale/sv-fi.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_sv_fi=t(e.dayjs)}(this,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=t(e),d={name:"sv-fi",weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekStart:1,yearStart:4,ordinal:function(e){var t=e%10;return"["+e+(1===t||2===t?"a":"e")+"]"},formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY, [kl.] HH.mm",LLLL:"dddd, D. MMMM YYYY, [kl.] HH.mm",l:"D.M.YYYY",ll:"D. MMM YYYY",lll:"D. MMM YYYY, [kl.] HH.mm",llll:"ddd, D. MMM YYYY, [kl.] HH.mm"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"}};return a.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/sv.js b/node_modules/dayjs/locale/sv.js new file mode 100644 index 0000000..16e6d37 --- /dev/null +++ b/node_modules/dayjs/locale/sv.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_sv=t(e.dayjs)}(this,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=t(e),d={name:"sv",weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekStart:1,yearStart:4,ordinal:function(e){var t=e%10;return"["+e+(1===t||2===t?"a":"e")+"]"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"}};return a.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/sw.js b/node_modules/dayjs/locale/sw.js new file mode 100644 index 0000000..a13bd44 --- /dev/null +++ b/node_modules/dayjs/locale/sw.js @@ -0,0 +1 @@ +!function(a,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(a="undefined"!=typeof globalThis?globalThis:a||self).dayjs_locale_sw=e(a.dayjs)}(this,(function(a){"use strict";function e(a){return a&&"object"==typeof a&&"default"in a?a:{default:a}}var i=e(a),t={name:"sw",weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekStart:1,ordinal:function(a){return a},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"masiku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"}};return i.default.locale(t,null,!0),t})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/ta.js b/node_modules/dayjs/locale/ta.js new file mode 100644 index 0000000..406cf13 --- /dev/null +++ b/node_modules/dayjs/locale/ta.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_ta=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"ta",weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/te.js b/node_modules/dayjs/locale/te.js new file mode 100644 index 0000000..c7593db --- /dev/null +++ b/node_modules/dayjs/locale/te.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_te=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"te",weekdays:"ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం".split("_"),months:"జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్".split("_"),weekdaysShort:"ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని".split("_"),monthsShort:"జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.".split("_"),weekdaysMin:"ఆ_సో_మం_బు_గు_శు_శ".split("_"),ordinal:function(_){return _},formats:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},relativeTime:{future:"%s లో",past:"%s క్రితం",s:"కొన్ని క్షణాలు",m:"ఒక నిమిషం",mm:"%d నిమిషాలు",h:"ఒక గంట",hh:"%d గంటలు",d:"ఒక రోజు",dd:"%d రోజులు",M:"ఒక నెల",MM:"%d నెలలు",y:"ఒక సంవత్సరం",yy:"%d సంవత్సరాలు"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/tet.js b/node_modules/dayjs/locale/tet.js new file mode 100644 index 0000000..aec6f68 --- /dev/null +++ b/node_modules/dayjs/locale/tet.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_tet=t(e.dayjs)}(this,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=t(e),a={name:"tet",weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),weekStart:1,weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"iha %s",past:"%s liuba",s:"minutu balun",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"}};return u.default.locale(a,null,!0),a})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/tg.js b/node_modules/dayjs/locale/tg.js new file mode 100644 index 0000000..7643103 --- /dev/null +++ b/node_modules/dayjs/locale/tg.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_tg=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"tg",weekdays:"якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе".split("_"),months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),weekStart:1,weekdaysShort:"яшб_дшб_сшб_чшб_пшб_ҷум_шнб".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdaysMin:"яш_дш_сш_чш_пш_ҷм_шб".split("_"),ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"баъди %s",past:"%s пеш",s:"якчанд сония",m:"як дақиқа",mm:"%d дақиқа",h:"як соат",hh:"%d соат",d:"як рӯз",dd:"%d рӯз",M:"як моҳ",MM:"%d моҳ",y:"як сол",yy:"%d сол"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/th.js b/node_modules/dayjs/locale/th.js new file mode 100644 index 0000000..185d4eb --- /dev/null +++ b/node_modules/dayjs/locale/th.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_th=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"th",weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"},ordinal:function(_){return _+"."}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/tk.js b/node_modules/dayjs/locale/tk.js new file mode 100644 index 0000000..1e737b5 --- /dev/null +++ b/node_modules/dayjs/locale/tk.js @@ -0,0 +1 @@ +!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],n):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_tk=n(e.dayjs)}(this,(function(e){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=n(e),_={name:"tk",weekdays:"Ýekşenbe_Duşenbe_Sişenbe_Çarşenbe_Penşenbe_Anna_Şenbe".split("_"),weekdaysShort:"Ýek_Duş_Siş_Çar_Pen_Ann_Şen".split("_"),weekdaysMin:"Ýk_Dş_Sş_Çr_Pn_An_Şn".split("_"),months:"Ýanwar_Fewral_Mart_Aprel_Maý_Iýun_Iýul_Awgust_Sentýabr_Oktýabr_Noýabr_Dekabr".split("_"),monthsShort:"Ýan_Few_Mar_Apr_Maý_Iýn_Iýl_Awg_Sen_Okt_Noý_Dek".split("_"),weekStart:1,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"%s soň",past:"%s öň",s:"birnäçe sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir gün",dd:"%d gün",M:"bir aý",MM:"%d aý",y:"bir ýyl",yy:"%d ýyl"},ordinal:function(e){return e+"."}};return t.default.locale(_,null,!0),_})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/tl-ph.js b/node_modules/dayjs/locale/tl-ph.js new file mode 100644 index 0000000..885f8a9 --- /dev/null +++ b/node_modules/dayjs/locale/tl-ph.js @@ -0,0 +1 @@ +!function(e,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],a):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_tl_ph=a(e.dayjs)}(this,(function(e){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=a(e),t={name:"tl-ph",weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),weekStart:1,weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"}};return n.default.locale(t,null,!0),t})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/tlh.js b/node_modules/dayjs/locale/tlh.js new file mode 100644 index 0000000..03d8996 --- /dev/null +++ b/node_modules/dayjs/locale/tlh.js @@ -0,0 +1 @@ +!function(a,j){"object"==typeof exports&&"undefined"!=typeof module?module.exports=j(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],j):(a="undefined"!=typeof globalThis?globalThis:a||self).dayjs_locale_tlh=j(a.dayjs)}(this,(function(a){"use strict";function j(a){return a&&"object"==typeof a&&"default"in a?a:{default:a}}var t=j(a),e={name:"tlh",weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),months:"tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’".split("_"),weekStart:1,weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),monthsShort:"jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),ordinal:function(a){return a},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"}};return t.default.locale(e,null,!0),e})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/tr.js b/node_modules/dayjs/locale/tr.js new file mode 100644 index 0000000..9c7844a --- /dev/null +++ b/node_modules/dayjs/locale/tr.js @@ -0,0 +1 @@ +!function(a,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(a="undefined"!=typeof globalThis?globalThis:a||self).dayjs_locale_tr=e(a.dayjs)}(this,(function(a){"use strict";function e(a){return a&&"object"==typeof a&&"default"in a?a:{default:a}}var t=e(a),_={name:"tr",weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekStart:1,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(a){return a+"."}};return t.default.locale(_,null,!0),_})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/types.d.ts b/node_modules/dayjs/locale/types.d.ts new file mode 100644 index 0000000..2c24a64 --- /dev/null +++ b/node_modules/dayjs/locale/types.d.ts @@ -0,0 +1,33 @@ +declare interface ILocale { + name: string + weekdays?: string[] + months?: string[] + weekStart?: number + weekdaysShort?: string[] + monthsShort?: string[] + weekdaysMin?: string[] + ordinal?: (n: number) => number | string + formats: Partial<{ + LT: string + LTS: string + L: string + LL: string + LLL: string + LLLL: string + }> + relativeTime: Partial<{ + future: string + past: string + s: string + m: string + mm: string + h: string + hh: string + d: string + dd: string + M: string + MM: string + y: string + yy: string + }> +} diff --git a/node_modules/dayjs/locale/tzl.js b/node_modules/dayjs/locale/tzl.js new file mode 100644 index 0000000..2b1d598 --- /dev/null +++ b/node_modules/dayjs/locale/tzl.js @@ -0,0 +1 @@ +!function(e,_){"object"==typeof exports&&"undefined"!=typeof module?module.exports=_(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],_):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_tzl=_(e.dayjs)}(this,(function(e){"use strict";function _(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=_(e),a={name:"tzl",weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),weekStart:1,weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),ordinal:function(e){return e},formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"}};return t.default.locale(a,null,!0),a})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/tzm-latn.js b/node_modules/dayjs/locale/tzm-latn.js new file mode 100644 index 0000000..3f7cdd4 --- /dev/null +++ b/node_modules/dayjs/locale/tzm-latn.js @@ -0,0 +1 @@ +!function(a,s){"object"==typeof exports&&"undefined"!=typeof module?module.exports=s(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],s):(a="undefined"!=typeof globalThis?globalThis:a||self).dayjs_locale_tzm_latn=s(a.dayjs)}(this,(function(a){"use strict";function s(a){return a&&"object"==typeof a&&"default"in a?a:{default:a}}var n=s(a),i={name:"tzm-latn",weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),months:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekStart:6,weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),monthsShort:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),ordinal:function(a){return a},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",m:"minuḍ",mm:"%d minuḍ",h:"saɛa",hh:"%d tassaɛin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"}};return n.default.locale(i,null,!0),i})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/tzm.js b/node_modules/dayjs/locale/tzm.js new file mode 100644 index 0000000..e4c4031 --- /dev/null +++ b/node_modules/dayjs/locale/tzm.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_tzm=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"tzm",weekdays:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),months:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekStart:6,weekdaysShort:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),monthsShort:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",past:"ⵢⴰⵏ %s",s:"ⵉⵎⵉⴽ",m:"ⵎⵉⵏⵓⴺ",mm:"%d ⵎⵉⵏⵓⴺ",h:"ⵙⴰⵄⴰ",hh:"%d ⵜⴰⵙⵙⴰⵄⵉⵏ",d:"ⴰⵙⵙ",dd:"%d oⵙⵙⴰⵏ",M:"ⴰⵢoⵓⵔ",MM:"%d ⵉⵢⵢⵉⵔⵏ",y:"ⴰⵙⴳⴰⵙ",yy:"%d ⵉⵙⴳⴰⵙⵏ"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/ug-cn.js b/node_modules/dayjs/locale/ug-cn.js new file mode 100644 index 0000000..995c3b3 --- /dev/null +++ b/node_modules/dayjs/locale/ug-cn.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_ug_cn=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"ug-cn",weekdays:"يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە".split("_"),months:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),weekStart:1,weekdaysShort:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),monthsShort:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),weekdaysMin:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-يىلىM-ئاينىڭD-كۈنى",LLL:"YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm",LLLL:"dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm"},relativeTime:{future:"%s كېيىن",past:"%s بۇرۇن",s:"نەچچە سېكونت",m:"بىر مىنۇت",mm:"%d مىنۇت",h:"بىر سائەت",hh:"%d سائەت",d:"بىر كۈن",dd:"%d كۈن",M:"بىر ئاي",MM:"%d ئاي",y:"بىر يىل",yy:"%d يىل"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/uk.js b/node_modules/dayjs/locale/uk.js new file mode 100644 index 0000000..537afb1 --- /dev/null +++ b/node_modules/dayjs/locale/uk.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_uk=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),s="січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),n="січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_"),o=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;function d(_,e,t){var s,n;return"m"===t?e?"хвилина":"хвилину":"h"===t?e?"година":"годину":_+" "+(s=+_,n={ss:e?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:e?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:e?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"}[t].split("_"),s%10==1&&s%100!=11?n[0]:s%10>=2&&s%10<=4&&(s%100<10||s%100>=20)?n[1]:n[2])}var i=function(_,e){return o.test(e)?s[_.month()]:n[_.month()]};i.s=n,i.f=s;var r={name:"uk",weekdays:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),weekdaysShort:"ндл_пнд_втр_срд_чтв_птн_сбт".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),months:i,monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekStart:1,relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",m:d,mm:d,h:d,hh:d,d:"день",dd:d,M:"місяць",MM:d,y:"рік",yy:d},ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"}};return t.default.locale(r,null,!0),r})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/ur.js b/node_modules/dayjs/locale/ur.js new file mode 100644 index 0000000..4f83c8b --- /dev/null +++ b/node_modules/dayjs/locale/ur.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_ur=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"ur",weekdays:"اتوار_پیر_منگل_بدھ_جمعرات_جمعہ_ہفتہ".split("_"),months:"جنوری_فروری_مارچ_اپریل_مئی_جون_جولائی_اگست_ستمبر_اکتوبر_نومبر_دسمبر".split("_"),weekStart:1,weekdaysShort:"اتوار_پیر_منگل_بدھ_جمعرات_جمعہ_ہفتہ".split("_"),monthsShort:"جنوری_فروری_مارچ_اپریل_مئی_جون_جولائی_اگست_ستمبر_اکتوبر_نومبر_دسمبر".split("_"),weekdaysMin:"اتوار_پیر_منگل_بدھ_جمعرات_جمعہ_ہفتہ".split("_"),ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},relativeTime:{future:"%s بعد",past:"%s قبل",s:"چند سیکنڈ",m:"ایک منٹ",mm:"%d منٹ",h:"ایک گھنٹہ",hh:"%d گھنٹے",d:"ایک دن",dd:"%d دن",M:"ایک ماہ",MM:"%d ماہ",y:"ایک سال",yy:"%d سال"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/uz-latn.js b/node_modules/dayjs/locale/uz-latn.js new file mode 100644 index 0000000..a8ebab4 --- /dev/null +++ b/node_modules/dayjs/locale/uz-latn.js @@ -0,0 +1 @@ +!function(a,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(a="undefined"!=typeof globalThis?globalThis:a||self).dayjs_locale_uz_latn=e(a.dayjs)}(this,(function(a){"use strict";function e(a){return a&&"object"==typeof a&&"default"in a?a:{default:a}}var _=e(a),n={name:"uz-latn",weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),weekStart:1,weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),ordinal:function(a){return a},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},relativeTime:{future:"Yaqin %s ichida",past:"%s oldin",s:"soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"}};return _.default.locale(n,null,!0),n})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/uz.js b/node_modules/dayjs/locale/uz.js new file mode 100644 index 0000000..f6992b1 --- /dev/null +++ b/node_modules/dayjs/locale/uz.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_uz=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"uz",weekdays:"Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба".split("_"),months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),weekStart:1,weekdaysShort:"Якш_Душ_Сеш_Чор_Пай_Жум_Шан".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdaysMin:"Як_Ду_Се_Чо_Па_Жу_Ша".split("_"),ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},relativeTime:{future:"Якин %s ичида",past:"%s олдин",s:"фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой",y:"бир йил",yy:"%d йил"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/vi.js b/node_modules/dayjs/locale/vi.js new file mode 100644 index 0000000..ee33954 --- /dev/null +++ b/node_modules/dayjs/locale/vi.js @@ -0,0 +1 @@ +!function(t,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],n):(t="undefined"!=typeof globalThis?globalThis:t||self).dayjs_locale_vi=n(t.dayjs)}(this,(function(t){"use strict";function n(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var h=n(t),_={name:"vi",weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),weekStart:1,weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),ordinal:function(t){return t},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"}};return h.default.locale(_,null,!0),_})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/x-pseudo.js b/node_modules/dayjs/locale/x-pseudo.js new file mode 100644 index 0000000..c1215d6 --- /dev/null +++ b/node_modules/dayjs/locale/x-pseudo.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_x_pseudo=t(e.dayjs)}(this,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var _=t(e),d={name:"x-pseudo",weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý".split("_"),months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér".split("_"),weekStart:1,weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"í~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",m:"á ~míñ~úté",mm:"%d m~íñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"}};return _.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/yo.js b/node_modules/dayjs/locale/yo.js new file mode 100644 index 0000000..b12b37b --- /dev/null +++ b/node_modules/dayjs/locale/yo.js @@ -0,0 +1 @@ +!function(e,_){"object"==typeof exports&&"undefined"!=typeof module?module.exports=_(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],_):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_yo=_(e.dayjs)}(this,(function(e){"use strict";function _(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=_(e),a={name:"yo",weekdays:"Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta".split("_"),months:"Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀".split("_"),weekStart:1,weekdaysShort:"Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá".split("_"),monthsShort:"Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀".split("_"),weekdaysMin:"Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb".split("_"),ordinal:function(e){return e},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},relativeTime:{future:"ní %s",past:"%s kọjá",s:"ìsẹjú aayá die",m:"ìsẹjú kan",mm:"ìsẹjú %d",h:"wákati kan",hh:"wákati %d",d:"ọjọ́ kan",dd:"ọjọ́ %d",M:"osù kan",MM:"osù %d",y:"ọdún kan",yy:"ọdún %d"}};return t.default.locale(a,null,!0),a})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/zh-cn.js b/node_modules/dayjs/locale/zh-cn.js new file mode 100644 index 0000000..21cf228 --- /dev/null +++ b/node_modules/dayjs/locale/zh-cn.js @@ -0,0 +1 @@ +!function(e,_){"object"==typeof exports&&"undefined"!=typeof module?module.exports=_(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],_):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_zh_cn=_(e.dayjs)}(this,(function(e){"use strict";function _(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=_(e),d={name:"zh-cn",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(e,_){return"W"===_?e+"周":e+"日"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},meridiem:function(e,_){var t=100*e+_;return t<600?"凌晨":t<900?"早上":t<1100?"上午":t<1300?"中午":t<1800?"下午":"晚上"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/zh-hk.js b/node_modules/dayjs/locale/zh-hk.js new file mode 100644 index 0000000..f4b220d --- /dev/null +++ b/node_modules/dayjs/locale/zh-hk.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_zh_hk=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"zh-hk",months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),ordinal:function(_,e){return"W"===e?_+"週":_+"日"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",m:"一分鐘",mm:"%d 分鐘",h:"一小時",hh:"%d 小時",d:"一天",dd:"%d 天",M:"一個月",MM:"%d 個月",y:"一年",yy:"%d 年"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/zh-tw.js b/node_modules/dayjs/locale/zh-tw.js new file mode 100644 index 0000000..5970f17 --- /dev/null +++ b/node_modules/dayjs/locale/zh-tw.js @@ -0,0 +1 @@ +!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],e):(_="undefined"!=typeof globalThis?globalThis:_||self).dayjs_locale_zh_tw=e(_.dayjs)}(this,(function(_){"use strict";function e(_){return _&&"object"==typeof _&&"default"in _?_:{default:_}}var t=e(_),d={name:"zh-tw",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(_,e){return"W"===e?_+"週":_+"日"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"},meridiem:function(_,e){var t=100*_+e;return t<600?"凌晨":t<900?"早上":t<1100?"上午":t<1300?"中午":t<1800?"下午":"晚上"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/node_modules/dayjs/locale/zh.js b/node_modules/dayjs/locale/zh.js new file mode 100644 index 0000000..2e80015 --- /dev/null +++ b/node_modules/dayjs/locale/zh.js @@ -0,0 +1 @@ +!function(e,_){"object"==typeof exports&&"undefined"!=typeof module?module.exports=_(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],_):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_locale_zh=_(e.dayjs)}(this,(function(e){"use strict";function _(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=_(e),d={name:"zh",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(e,_){return"W"===_?e+"周":e+"日"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s后",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},meridiem:function(e,_){var t=100*e+_;return t<600?"凌晨":t<900?"早上":t<1100?"上午":t<1300?"中午":t<1800?"下午":"晚上"}};return t.default.locale(d,null,!0),d})); \ No newline at end of file diff --git a/node_modules/dayjs/package.json b/node_modules/dayjs/package.json new file mode 100644 index 0000000..0fb7526 --- /dev/null +++ b/node_modules/dayjs/package.json @@ -0,0 +1,115 @@ +{ + "_from": "dayjs", + "_id": "dayjs@1.11.10", + "_inBundle": false, + "_integrity": "sha512-vjAczensTgRcqDERK0SR2XMwsF/tSvnvlv6VcF2GIhg6Sx4yOIt/irsr1RDJsKiIyBzJDpCoXiWWq28MqH2cnQ==", + "_location": "/dayjs", + "_phantomChildren": {}, + "_requested": { + "type": "tag", + "registry": true, + "raw": "dayjs", + "name": "dayjs", + "escapedName": "dayjs", + "rawSpec": "", + "saveSpec": null, + "fetchSpec": "latest" + }, + "_requiredBy": [ + "#USER", + "/" + ], + "_resolved": "https://registry.npmmirror.com/dayjs/-/dayjs-1.11.10.tgz", + "_shasum": "68acea85317a6e164457d6d6947564029a6a16a0", + "_spec": "dayjs", + "_where": "C:\\Users\\Administrator\\Desktop\\jundaosuzhou_wechatxcx", + "author": { + "name": "iamkun" + }, + "bugs": { + "url": "https://github.com/iamkun/dayjs/issues" + }, + "bundleDependencies": false, + "deprecated": false, + "description": "2KB immutable date time library alternative to Moment.js with the same modern API ", + "devDependencies": { + "@babel/cli": "^7.0.0-beta.44", + "@babel/core": "^7.0.0-beta.44", + "@babel/node": "^7.0.0-beta.44", + "@babel/preset-env": "^7.0.0-beta.44", + "babel-core": "^7.0.0-bridge.0", + "babel-jest": "^22.4.3", + "babel-plugin-external-helpers": "^6.22.0", + "cross-env": "^5.1.6", + "eslint": "^4.19.1", + "eslint-config-airbnb-base": "^12.1.0", + "eslint-plugin-import": "^2.10.0", + "eslint-plugin-jest": "^21.15.0", + "gzip-size-cli": "^2.1.0", + "jasmine-core": "^2.99.1", + "jest": "^22.4.3", + "karma": "^2.0.2", + "karma-jasmine": "^1.1.2", + "karma-sauce-launcher": "^1.1.0", + "mockdate": "^2.0.2", + "moment": "2.29.2", + "moment-timezone": "0.5.31", + "ncp": "^2.0.0", + "pre-commit": "^1.2.2", + "prettier": "^1.16.1", + "rollup": "^2.45.1", + "rollup-plugin-babel": "^4.4.0", + "rollup-plugin-terser": "^7.0.2", + "size-limit": "^0.18.0", + "typescript": "^2.8.3" + }, + "homepage": "https://day.js.org", + "jest": { + "roots": [ + "test" + ], + "testRegex": "test/(.*?/)?.*test.js$", + "testURL": "http://localhost", + "coverageDirectory": "./coverage/", + "collectCoverage": true, + "collectCoverageFrom": [ + "src/**/*" + ] + }, + "keywords": [ + "dayjs", + "date", + "time", + "immutable", + "moment" + ], + "license": "MIT", + "main": "dayjs.min.js", + "name": "dayjs", + "pre-commit": [ + "lint" + ], + "repository": { + "type": "git", + "url": "git+https://github.com/iamkun/dayjs.git" + }, + "scripts": { + "babel": "cross-env BABEL_ENV=build babel src --out-dir esm --copy-files && node build/esm", + "build": "cross-env BABEL_ENV=build node build && npm run size", + "lint": "eslint src/* test/* build/*", + "prettier": "prettier --write \"docs/**/*.md\"", + "sauce": "npx karma start karma.sauce.conf.js", + "size": "size-limit && gzip-size dayjs.min.js", + "test": "TZ=Pacific/Auckland npm run test-tz && TZ=Europe/London npm run test-tz && TZ=America/Whitehorse npm run test-tz && npm run test-tz && jest", + "test-tz": "date && jest test/timezone.test --coverage=false", + "test:sauce": "npm run sauce -- 0 && npm run sauce -- 1 && npm run sauce -- 2 && npm run sauce -- 3" + }, + "size-limit": [ + { + "limit": "2.99 KB", + "path": "dayjs.min.js" + } + ], + "types": "index.d.ts", + "version": "1.11.10" +} diff --git a/node_modules/dayjs/plugin/advancedFormat.d.ts b/node_modules/dayjs/plugin/advancedFormat.d.ts new file mode 100644 index 0000000..30ec75e --- /dev/null +++ b/node_modules/dayjs/plugin/advancedFormat.d.ts @@ -0,0 +1,4 @@ +import { PluginFunc } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin diff --git a/node_modules/dayjs/plugin/advancedFormat.js b/node_modules/dayjs/plugin/advancedFormat.js new file mode 100644 index 0000000..88d62e7 --- /dev/null +++ b/node_modules/dayjs/plugin/advancedFormat.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_plugin_advancedFormat=t()}(this,(function(){"use strict";return function(e,t){var r=t.prototype,n=r.format;r.format=function(e){var t=this,r=this.$locale();if(!this.isValid())return n.bind(this)(e);var s=this.$utils(),a=(e||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(e){switch(e){case"Q":return Math.ceil((t.$M+1)/3);case"Do":return r.ordinal(t.$D);case"gggg":return t.weekYear();case"GGGG":return t.isoWeekYear();case"wo":return r.ordinal(t.week(),"W");case"w":case"ww":return s.s(t.week(),"w"===e?1:2,"0");case"W":case"WW":return s.s(t.isoWeek(),"W"===e?1:2,"0");case"k":case"kk":return s.s(String(0===t.$H?24:t.$H),"k"===e?1:2,"0");case"X":return Math.floor(t.$d.getTime()/1e3);case"x":return t.$d.getTime();case"z":return"["+t.offsetName()+"]";case"zzz":return"["+t.offsetName("long")+"]";default:return e}}));return n.bind(this)(a)}}})); \ No newline at end of file diff --git a/node_modules/dayjs/plugin/arraySupport.d.ts b/node_modules/dayjs/plugin/arraySupport.d.ts new file mode 100644 index 0000000..e4e44b2 --- /dev/null +++ b/node_modules/dayjs/plugin/arraySupport.d.ts @@ -0,0 +1,10 @@ +import { PluginFunc } from 'dayjs' + +declare module 'dayjs' { + interface ConfigTypeMap { + arraySupport: [number?, number?, number?, number?, number?, number?, number?] + } +} + +declare const plugin: PluginFunc +export = plugin diff --git a/node_modules/dayjs/plugin/arraySupport.js b/node_modules/dayjs/plugin/arraySupport.js new file mode 100644 index 0000000..b16675f --- /dev/null +++ b/node_modules/dayjs/plugin/arraySupport.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_plugin_arraySupport=t()}(this,(function(){"use strict";return function(e,t,n){var o=t.prototype,i=function(e){var t=e.date,o=e.utc;return Array.isArray(t)?o?t.length?new Date(Date.UTC.apply(null,t)):new Date:1===t.length?n(String(t[0])).toDate():new(Function.prototype.bind.apply(Date,[null].concat(t))):t},a=o.parse;o.parse=function(e){e.date=i.bind(this)(e),a.bind(this)(e)}}})); \ No newline at end of file diff --git a/node_modules/dayjs/plugin/badMutable.d.ts b/node_modules/dayjs/plugin/badMutable.d.ts new file mode 100644 index 0000000..30ec75e --- /dev/null +++ b/node_modules/dayjs/plugin/badMutable.d.ts @@ -0,0 +1,4 @@ +import { PluginFunc } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin diff --git a/node_modules/dayjs/plugin/badMutable.js b/node_modules/dayjs/plugin/badMutable.js new file mode 100644 index 0000000..68270cc --- /dev/null +++ b/node_modules/dayjs/plugin/badMutable.js @@ -0,0 +1 @@ +!function(t,i){"object"==typeof exports&&"undefined"!=typeof module?module.exports=i():"function"==typeof define&&define.amd?define(i):(t="undefined"!=typeof globalThis?globalThis:t||self).dayjs_plugin_badMutable=i()}(this,(function(){"use strict";return function(t,i){var n=i.prototype;n.$g=function(t,i,n){return this.$utils().u(t)?this[i]:this.$set(n,t)},n.set=function(t,i){return this.$set(t,i)};var e=n.startOf;n.startOf=function(t,i){return this.$d=e.bind(this)(t,i).toDate(),this.init(),this};var s=n.add;n.add=function(t,i){return this.$d=s.bind(this)(t,i).toDate(),this.init(),this};var o=n.locale;n.locale=function(t,i){return t?(this.$L=o.bind(this)(t,i).$L,this):this.$L};var r=n.daysInMonth;n.daysInMonth=function(){return r.bind(this.clone())()};var u=n.isSame;n.isSame=function(t,i){return u.bind(this.clone())(t,i)};var f=n.isBefore;n.isBefore=function(t,i){return f.bind(this.clone())(t,i)};var d=n.isAfter;n.isAfter=function(t,i){return d.bind(this.clone())(t,i)}}})); \ No newline at end of file diff --git a/node_modules/dayjs/plugin/bigIntSupport.d.ts b/node_modules/dayjs/plugin/bigIntSupport.d.ts new file mode 100644 index 0000000..d9f2f39 --- /dev/null +++ b/node_modules/dayjs/plugin/bigIntSupport.d.ts @@ -0,0 +1,11 @@ +import { PluginFunc } from 'dayjs' + +declare module 'dayjs' { + interface ConfigTypeMap { + bigIntSupport: BigInt + } + export function unix(t: BigInt): Dayjs +} + +declare const plugin: PluginFunc +export = plugin diff --git a/node_modules/dayjs/plugin/bigIntSupport.js b/node_modules/dayjs/plugin/bigIntSupport.js new file mode 100644 index 0000000..0c7efac --- /dev/null +++ b/node_modules/dayjs/plugin/bigIntSupport.js @@ -0,0 +1 @@ +!function(n,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(n="undefined"!=typeof globalThis?globalThis:n||self).dayjs_plugin_bigIntSupport=e()}(this,(function(){"use strict";var n=function(n){return"bigint"==typeof n};return function(e,t,i){var o=t.prototype,u=function(e){var t=e.date;return n(t)?Number(t):t},r=o.parse;o.parse=function(n){n.date=u.bind(this)(n),r.bind(this)(n)};var f=i.unix;i.unix=function(e){var t=n(e)?Number(e):e;return f(t)}}})); \ No newline at end of file diff --git a/node_modules/dayjs/plugin/buddhistEra.d.ts b/node_modules/dayjs/plugin/buddhistEra.d.ts new file mode 100644 index 0000000..30ec75e --- /dev/null +++ b/node_modules/dayjs/plugin/buddhistEra.d.ts @@ -0,0 +1,4 @@ +import { PluginFunc } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin diff --git a/node_modules/dayjs/plugin/buddhistEra.js b/node_modules/dayjs/plugin/buddhistEra.js new file mode 100644 index 0000000..58b137c --- /dev/null +++ b/node_modules/dayjs/plugin/buddhistEra.js @@ -0,0 +1 @@ +!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).dayjs_plugin_buddhistEra=e()}(this,(function(){"use strict";return function(t,e){var n=e.prototype,i=n.format;n.format=function(t){var e=this,n=(t||"YYYY-MM-DDTHH:mm:ssZ").replace(/(\[[^\]]+])|BBBB|BB/g,(function(t,n){var i,o=String(e.$y+543),f="BB"===t?[o.slice(-2),2]:[o,4];return n||(i=e.$utils()).s.apply(i,f.concat(["0"]))}));return i.bind(this)(n)}}})); \ No newline at end of file diff --git a/node_modules/dayjs/plugin/calendar.d.ts b/node_modules/dayjs/plugin/calendar.d.ts new file mode 100644 index 0000000..a8d064f --- /dev/null +++ b/node_modules/dayjs/plugin/calendar.d.ts @@ -0,0 +1,10 @@ +import { PluginFunc, ConfigType } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs' { + interface Dayjs { + calendar(referenceTime?: ConfigType, formats?: object): string + } +} diff --git a/node_modules/dayjs/plugin/calendar.js b/node_modules/dayjs/plugin/calendar.js new file mode 100644 index 0000000..c577098 --- /dev/null +++ b/node_modules/dayjs/plugin/calendar.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_plugin_calendar=t()}(this,(function(){"use strict";return function(e,t,a){var n="h:mm A",d={lastDay:"[Yesterday at] "+n,sameDay:"[Today at] "+n,nextDay:"[Tomorrow at] "+n,nextWeek:"dddd [at] "+n,lastWeek:"[Last] dddd [at] "+n,sameElse:"MM/DD/YYYY"};t.prototype.calendar=function(e,t){var n=t||this.$locale().calendar||d,o=a(e||void 0).startOf("d"),s=this.diff(o,"d",!0),i="sameElse",f=s<-6?i:s<-1?"lastWeek":s<0?"lastDay":s<1?"sameDay":s<2?"nextDay":s<7?"nextWeek":i,l=n[f]||d[f];return"function"==typeof l?l.call(this,a()):this.format(l)}}})); \ No newline at end of file diff --git a/node_modules/dayjs/plugin/customParseFormat.d.ts b/node_modules/dayjs/plugin/customParseFormat.d.ts new file mode 100644 index 0000000..1b41c0d --- /dev/null +++ b/node_modules/dayjs/plugin/customParseFormat.d.ts @@ -0,0 +1,8 @@ +import { PluginFunc } from 'dayjs' + +declare interface PluginOptions { + parseTwoDigitYear?: (yearString: string) => number +} + +declare const plugin: PluginFunc +export = plugin diff --git a/node_modules/dayjs/plugin/customParseFormat.js b/node_modules/dayjs/plugin/customParseFormat.js new file mode 100644 index 0000000..66d6089 --- /dev/null +++ b/node_modules/dayjs/plugin/customParseFormat.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_plugin_customParseFormat=t()}(this,(function(){"use strict";var e={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},t=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,n=/\d\d/,r=/\d\d?/,i=/\d*[^-_:/,()\s\d]+/,o={},s=function(e){return(e=+e)+(e>68?1900:2e3)};var a=function(e){return function(t){this[e]=+t}},f=[/[+-]\d\d:?(\d\d)?|Z/,function(e){(this.zone||(this.zone={})).offset=function(e){if(!e)return 0;if("Z"===e)return 0;var t=e.match(/([+-]|\d\d)/g),n=60*t[1]+(+t[2]||0);return 0===n?0:"+"===t[0]?-n:n}(e)}],h=function(e){var t=o[e];return t&&(t.indexOf?t:t.s.concat(t.f))},u=function(e,t){var n,r=o.meridiem;if(r){for(var i=1;i<=24;i+=1)if(e.indexOf(r(i,0,t))>-1){n=i>12;break}}else n=e===(t?"pm":"PM");return n},d={A:[i,function(e){this.afternoon=u(e,!1)}],a:[i,function(e){this.afternoon=u(e,!0)}],S:[/\d/,function(e){this.milliseconds=100*+e}],SS:[n,function(e){this.milliseconds=10*+e}],SSS:[/\d{3}/,function(e){this.milliseconds=+e}],s:[r,a("seconds")],ss:[r,a("seconds")],m:[r,a("minutes")],mm:[r,a("minutes")],H:[r,a("hours")],h:[r,a("hours")],HH:[r,a("hours")],hh:[r,a("hours")],D:[r,a("day")],DD:[n,a("day")],Do:[i,function(e){var t=o.ordinal,n=e.match(/\d+/);if(this.day=n[0],t)for(var r=1;r<=31;r+=1)t(r).replace(/\[|\]/g,"")===e&&(this.day=r)}],M:[r,a("month")],MM:[n,a("month")],MMM:[i,function(e){var t=h("months"),n=(h("monthsShort")||t.map((function(e){return e.slice(0,3)}))).indexOf(e)+1;if(n<1)throw new Error;this.month=n%12||n}],MMMM:[i,function(e){var t=h("months").indexOf(e)+1;if(t<1)throw new Error;this.month=t%12||t}],Y:[/[+-]?\d+/,a("year")],YY:[n,function(e){this.year=s(e)}],YYYY:[/\d{4}/,a("year")],Z:f,ZZ:f};function c(n){var r,i;r=n,i=o&&o.formats;for(var s=(n=r.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,n,r){var o=r&&r.toUpperCase();return n||i[r]||e[r]||i[o].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,n){return t||n.slice(1)}))}))).match(t),a=s.length,f=0;f-1)return new Date(("X"===t?1e3:1)*e);var r=c(t)(e),i=r.year,o=r.month,s=r.day,a=r.hours,f=r.minutes,h=r.seconds,u=r.milliseconds,d=r.zone,l=new Date,m=s||(i||o?1:l.getDate()),M=i||l.getFullYear(),Y=0;i&&!o||(Y=o>0?o-1:l.getMonth());var p=a||0,v=f||0,D=h||0,g=u||0;return d?new Date(Date.UTC(M,Y,m,p,v,D,g+60*d.offset*1e3)):n?new Date(Date.UTC(M,Y,m,p,v,D,g)):new Date(M,Y,m,p,v,D,g)}catch(e){return new Date("")}}(t,a,r),this.init(),d&&!0!==d&&(this.$L=this.locale(d).$L),u&&t!=this.format(a)&&(this.$d=new Date("")),o={}}else if(a instanceof Array)for(var l=a.length,m=1;m<=l;m+=1){s[1]=a[m-1];var M=n.apply(this,s);if(M.isValid()){this.$d=M.$d,this.$L=M.$L,this.init();break}m===l&&(this.$d=new Date(""))}else i.call(this,e)}}})); \ No newline at end of file diff --git a/node_modules/dayjs/plugin/dayOfYear.d.ts b/node_modules/dayjs/plugin/dayOfYear.d.ts new file mode 100644 index 0000000..4fd6601 --- /dev/null +++ b/node_modules/dayjs/plugin/dayOfYear.d.ts @@ -0,0 +1,11 @@ +import { PluginFunc } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs' { + interface Dayjs { + dayOfYear(): number + dayOfYear(value: number): Dayjs + } +} diff --git a/node_modules/dayjs/plugin/dayOfYear.js b/node_modules/dayjs/plugin/dayOfYear.js new file mode 100644 index 0000000..4a57000 --- /dev/null +++ b/node_modules/dayjs/plugin/dayOfYear.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_plugin_dayOfYear=t()}(this,(function(){"use strict";return function(e,t,n){t.prototype.dayOfYear=function(e){var t=Math.round((n(this).startOf("day")-n(this).startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"day")}}})); \ No newline at end of file diff --git a/node_modules/dayjs/plugin/devHelper.d.ts b/node_modules/dayjs/plugin/devHelper.d.ts new file mode 100644 index 0000000..30ec75e --- /dev/null +++ b/node_modules/dayjs/plugin/devHelper.d.ts @@ -0,0 +1,4 @@ +import { PluginFunc } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin diff --git a/node_modules/dayjs/plugin/devHelper.js b/node_modules/dayjs/plugin/devHelper.js new file mode 100644 index 0000000..a3f6daf --- /dev/null +++ b/node_modules/dayjs/plugin/devHelper.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_plugin_devHelper=t()}(this,(function(){"use strict";return function(e,t,o){if(!process||"production"!==process.env.NODE_ENV){var s=t.prototype,n=s.parse;s.parse=function(e){var t=e.date;return"string"==typeof t&&13===t.length&&console.warn("To parse a Unix timestamp like "+t+", you should pass it as a Number. https://day.js.org/docs/en/parse/unix-timestamp-milliseconds"),"number"==typeof t&&4===String(t).length&&console.warn("Guessing you may want to parse the Year "+t+", you should pass it as a String "+t+", not a Number. Otherwise, "+t+" will be treated as a Unix timestamp"),e.args.length>=2&&!o.p.customParseFormat&&console.warn("To parse a date-time string like "+t+" using the given format, you should enable customParseFormat plugin first. https://day.js.org/docs/en/parse/string-format"),n.bind(this)(e)};var a=o.locale;o.locale=function(e,t,s){return void 0===t&&"string"==typeof e&&(o.Ls[e]||console.warn("Guessing you may want to use locale "+e+", you have to load it before using it. https://day.js.org/docs/en/i18n/loading-into-nodejs")),a(e,t,s)}}}})); \ No newline at end of file diff --git a/node_modules/dayjs/plugin/duration.d.ts b/node_modules/dayjs/plugin/duration.d.ts new file mode 100644 index 0000000..9675a80 --- /dev/null +++ b/node_modules/dayjs/plugin/duration.d.ts @@ -0,0 +1,88 @@ +import { PluginFunc } from 'dayjs' +import { OpUnitType, UnitTypeLongPlural } from 'dayjs'; + +declare const plugin: PluginFunc +export as namespace plugin; +export = plugin + +declare namespace plugin { + /** + * @deprecated Please use more strict types + */ + type DurationInputType = string | number | object + /** + * @deprecated Please use more strict types + */ + type DurationAddType = number | object | Duration + + type DurationUnitsObjectType = Partial<{ + [unit in Exclude | "weeks"]: number + }>; + type DurationUnitType = Exclude + type CreateDurationType = + ((units: DurationUnitsObjectType) => Duration) + & ((time: number, unit?: DurationUnitType) => Duration) + & ((ISO_8601: string) => Duration) + type AddDurationType = CreateDurationType & ((duration: Duration) => Duration) + + interface Duration { + new (input: string | number | object, unit?: string, locale?: string): Duration + + clone(): Duration + + humanize(withSuffix?: boolean): string + + milliseconds(): number + asMilliseconds(): number + + seconds(): number + asSeconds(): number + + minutes(): number + asMinutes(): number + + hours(): number + asHours(): number + + days(): number + asDays(): number + + weeks(): number + asWeeks(): number + + months(): number + asMonths(): number + + years(): number + asYears(): number + + as(unit: DurationUnitType): number + + get(unit: DurationUnitType): number + + add: AddDurationType + + subtract: AddDurationType + + toJSON(): string + + toISOString(): string + + format(formatStr?: string): string + + locale(locale: string): Duration + } +} + +declare module 'dayjs' { + interface Dayjs { + add(duration: plugin.Duration): Dayjs + subtract(duration: plugin.Duration): Dayjs + } + + /** + * @param time If unit is not present, time treated as number of milliseconds + */ + export const duration: plugin.CreateDurationType; + export function isDuration(d: any): d is plugin.Duration +} \ No newline at end of file diff --git a/node_modules/dayjs/plugin/duration.js b/node_modules/dayjs/plugin/duration.js new file mode 100644 index 0000000..4578f06 --- /dev/null +++ b/node_modules/dayjs/plugin/duration.js @@ -0,0 +1 @@ +!function(t,s){"object"==typeof exports&&"undefined"!=typeof module?module.exports=s():"function"==typeof define&&define.amd?define(s):(t="undefined"!=typeof globalThis?globalThis:t||self).dayjs_plugin_duration=s()}(this,(function(){"use strict";var t,s,n=1e3,i=6e4,e=36e5,r=864e5,o=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,u=31536e6,d=2628e6,a=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,h={years:u,months:d,days:r,hours:e,minutes:i,seconds:n,milliseconds:1,weeks:6048e5},c=function(t){return t instanceof g},f=function(t,s,n){return new g(t,n,s.$l)},m=function(t){return s.p(t)+"s"},l=function(t){return t<0},$=function(t){return l(t)?Math.ceil(t):Math.floor(t)},y=function(t){return Math.abs(t)},v=function(t,s){return t?l(t)?{negative:!0,format:""+y(t)+s}:{negative:!1,format:""+t+s}:{negative:!1,format:""}},g=function(){function l(t,s,n){var i=this;if(this.$d={},this.$l=n,void 0===t&&(this.$ms=0,this.parseFromMilliseconds()),s)return f(t*h[m(s)],this);if("number"==typeof t)return this.$ms=t,this.parseFromMilliseconds(),this;if("object"==typeof t)return Object.keys(t).forEach((function(s){i.$d[m(s)]=t[s]})),this.calMilliseconds(),this;if("string"==typeof t){var e=t.match(a);if(e){var r=e.slice(2).map((function(t){return null!=t?Number(t):0}));return this.$d.years=r[0],this.$d.months=r[1],this.$d.weeks=r[2],this.$d.days=r[3],this.$d.hours=r[4],this.$d.minutes=r[5],this.$d.seconds=r[6],this.calMilliseconds(),this}}return this}var y=l.prototype;return y.calMilliseconds=function(){var t=this;this.$ms=Object.keys(this.$d).reduce((function(s,n){return s+(t.$d[n]||0)*h[n]}),0)},y.parseFromMilliseconds=function(){var t=this.$ms;this.$d.years=$(t/u),t%=u,this.$d.months=$(t/d),t%=d,this.$d.days=$(t/r),t%=r,this.$d.hours=$(t/e),t%=e,this.$d.minutes=$(t/i),t%=i,this.$d.seconds=$(t/n),t%=n,this.$d.milliseconds=t},y.toISOString=function(){var t=v(this.$d.years,"Y"),s=v(this.$d.months,"M"),n=+this.$d.days||0;this.$d.weeks&&(n+=7*this.$d.weeks);var i=v(n,"D"),e=v(this.$d.hours,"H"),r=v(this.$d.minutes,"M"),o=this.$d.seconds||0;this.$d.milliseconds&&(o+=this.$d.milliseconds/1e3,o=Math.round(1e3*o)/1e3);var u=v(o,"S"),d=t.negative||s.negative||i.negative||e.negative||r.negative||u.negative,a=e.format||r.format||u.format?"T":"",h=(d?"-":"")+"P"+t.format+s.format+i.format+a+e.format+r.format+u.format;return"P"===h||"-P"===h?"P0D":h},y.toJSON=function(){return this.toISOString()},y.format=function(t){var n=t||"YYYY-MM-DDTHH:mm:ss",i={Y:this.$d.years,YY:s.s(this.$d.years,2,"0"),YYYY:s.s(this.$d.years,4,"0"),M:this.$d.months,MM:s.s(this.$d.months,2,"0"),D:this.$d.days,DD:s.s(this.$d.days,2,"0"),H:this.$d.hours,HH:s.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:s.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:s.s(this.$d.seconds,2,"0"),SSS:s.s(this.$d.milliseconds,3,"0")};return n.replace(o,(function(t,s){return s||String(i[t])}))},y.as=function(t){return this.$ms/h[m(t)]},y.get=function(t){var s=this.$ms,n=m(t);return"milliseconds"===n?s%=1e3:s="weeks"===n?$(s/h[n]):this.$d[n],s||0},y.add=function(t,s,n){var i;return i=s?t*h[m(s)]:c(t)?t.$ms:f(t,this).$ms,f(this.$ms+i*(n?-1:1),this)},y.subtract=function(t,s){return this.add(t,s,!0)},y.locale=function(t){var s=this.clone();return s.$l=t,s},y.clone=function(){return f(this.$ms,this)},y.humanize=function(s){return t().add(this.$ms,"ms").locale(this.$l).fromNow(!s)},y.valueOf=function(){return this.asMilliseconds()},y.milliseconds=function(){return this.get("milliseconds")},y.asMilliseconds=function(){return this.as("milliseconds")},y.seconds=function(){return this.get("seconds")},y.asSeconds=function(){return this.as("seconds")},y.minutes=function(){return this.get("minutes")},y.asMinutes=function(){return this.as("minutes")},y.hours=function(){return this.get("hours")},y.asHours=function(){return this.as("hours")},y.days=function(){return this.get("days")},y.asDays=function(){return this.as("days")},y.weeks=function(){return this.get("weeks")},y.asWeeks=function(){return this.as("weeks")},y.months=function(){return this.get("months")},y.asMonths=function(){return this.as("months")},y.years=function(){return this.get("years")},y.asYears=function(){return this.as("years")},l}(),p=function(t,s,n){return t.add(s.years()*n,"y").add(s.months()*n,"M").add(s.days()*n,"d").add(s.hours()*n,"h").add(s.minutes()*n,"m").add(s.seconds()*n,"s").add(s.milliseconds()*n,"ms")};return function(n,i,e){t=e,s=e().$utils(),e.duration=function(t,s){var n=e.locale();return f(t,{$l:n},s)},e.isDuration=c;var r=i.prototype.add,o=i.prototype.subtract;i.prototype.add=function(t,s){return c(t)?p(this,t,1):r.bind(this)(t,s)},i.prototype.subtract=function(t,s){return c(t)?p(this,t,-1):o.bind(this)(t,s)}}})); \ No newline at end of file diff --git a/node_modules/dayjs/plugin/isBetween.d.ts b/node_modules/dayjs/plugin/isBetween.d.ts new file mode 100644 index 0000000..431fff8 --- /dev/null +++ b/node_modules/dayjs/plugin/isBetween.d.ts @@ -0,0 +1,10 @@ +import { PluginFunc, ConfigType, OpUnitType } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs' { + interface Dayjs { + isBetween(a: ConfigType, b: ConfigType, c?: OpUnitType | null, d?: '()' | '[]' | '[)' | '(]'): boolean + } +} diff --git a/node_modules/dayjs/plugin/isBetween.js b/node_modules/dayjs/plugin/isBetween.js new file mode 100644 index 0000000..68046cb --- /dev/null +++ b/node_modules/dayjs/plugin/isBetween.js @@ -0,0 +1 @@ +!function(e,i){"object"==typeof exports&&"undefined"!=typeof module?module.exports=i():"function"==typeof define&&define.amd?define(i):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_plugin_isBetween=i()}(this,(function(){"use strict";return function(e,i,t){i.prototype.isBetween=function(e,i,s,f){var n=t(e),o=t(i),r="("===(f=f||"()")[0],u=")"===f[1];return(r?this.isAfter(n,s):!this.isBefore(n,s))&&(u?this.isBefore(o,s):!this.isAfter(o,s))||(r?this.isBefore(n,s):!this.isAfter(n,s))&&(u?this.isAfter(o,s):!this.isBefore(o,s))}}})); \ No newline at end of file diff --git a/node_modules/dayjs/plugin/isLeapYear.d.ts b/node_modules/dayjs/plugin/isLeapYear.d.ts new file mode 100644 index 0000000..5be7409 --- /dev/null +++ b/node_modules/dayjs/plugin/isLeapYear.d.ts @@ -0,0 +1,10 @@ +import { PluginFunc } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs' { + interface Dayjs { + isLeapYear(): boolean + } +} diff --git a/node_modules/dayjs/plugin/isLeapYear.js b/node_modules/dayjs/plugin/isLeapYear.js new file mode 100644 index 0000000..030bd46 --- /dev/null +++ b/node_modules/dayjs/plugin/isLeapYear.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_plugin_isLeapYear=t()}(this,(function(){"use strict";return function(e,t){t.prototype.isLeapYear=function(){return this.$y%4==0&&this.$y%100!=0||this.$y%400==0}}})); \ No newline at end of file diff --git a/node_modules/dayjs/plugin/isMoment.d.ts b/node_modules/dayjs/plugin/isMoment.d.ts new file mode 100644 index 0000000..dac24f6 --- /dev/null +++ b/node_modules/dayjs/plugin/isMoment.d.ts @@ -0,0 +1,10 @@ +import { PluginFunc } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs' { + + export function isMoment(input: any): boolean + +} diff --git a/node_modules/dayjs/plugin/isMoment.js b/node_modules/dayjs/plugin/isMoment.js new file mode 100644 index 0000000..be26412 --- /dev/null +++ b/node_modules/dayjs/plugin/isMoment.js @@ -0,0 +1 @@ +!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n():"function"==typeof define&&define.amd?define(n):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_plugin_isMoment=n()}(this,(function(){"use strict";return function(e,n,t){t.isMoment=function(e){return t.isDayjs(e)}}})); \ No newline at end of file diff --git a/node_modules/dayjs/plugin/isSameOrAfter.d.ts b/node_modules/dayjs/plugin/isSameOrAfter.d.ts new file mode 100644 index 0000000..916bc80 --- /dev/null +++ b/node_modules/dayjs/plugin/isSameOrAfter.d.ts @@ -0,0 +1,10 @@ +import { PluginFunc, ConfigType, OpUnitType } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs' { + interface Dayjs { + isSameOrAfter(date?: ConfigType, unit?: OpUnitType): boolean + } +} diff --git a/node_modules/dayjs/plugin/isSameOrAfter.js b/node_modules/dayjs/plugin/isSameOrAfter.js new file mode 100644 index 0000000..76f8a33 --- /dev/null +++ b/node_modules/dayjs/plugin/isSameOrAfter.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_plugin_isSameOrAfter=t()}(this,(function(){"use strict";return function(e,t){t.prototype.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)}}})); \ No newline at end of file diff --git a/node_modules/dayjs/plugin/isSameOrBefore.d.ts b/node_modules/dayjs/plugin/isSameOrBefore.d.ts new file mode 100644 index 0000000..d52b095 --- /dev/null +++ b/node_modules/dayjs/plugin/isSameOrBefore.d.ts @@ -0,0 +1,10 @@ +import { PluginFunc, ConfigType, OpUnitType } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs' { + interface Dayjs { + isSameOrBefore(date?: ConfigType, unit?: OpUnitType): boolean + } +} diff --git a/node_modules/dayjs/plugin/isSameOrBefore.js b/node_modules/dayjs/plugin/isSameOrBefore.js new file mode 100644 index 0000000..57a767e --- /dev/null +++ b/node_modules/dayjs/plugin/isSameOrBefore.js @@ -0,0 +1 @@ +!function(e,i){"object"==typeof exports&&"undefined"!=typeof module?module.exports=i():"function"==typeof define&&define.amd?define(i):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_plugin_isSameOrBefore=i()}(this,(function(){"use strict";return function(e,i){i.prototype.isSameOrBefore=function(e,i){return this.isSame(e,i)||this.isBefore(e,i)}}})); \ No newline at end of file diff --git a/node_modules/dayjs/plugin/isToday.d.ts b/node_modules/dayjs/plugin/isToday.d.ts new file mode 100644 index 0000000..04ac581 --- /dev/null +++ b/node_modules/dayjs/plugin/isToday.d.ts @@ -0,0 +1,10 @@ +import { PluginFunc } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs' { + interface Dayjs { + isToday(): boolean + } +} diff --git a/node_modules/dayjs/plugin/isToday.js b/node_modules/dayjs/plugin/isToday.js new file mode 100644 index 0000000..ee9f9cd --- /dev/null +++ b/node_modules/dayjs/plugin/isToday.js @@ -0,0 +1 @@ +!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?module.exports=o():"function"==typeof define&&define.amd?define(o):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_plugin_isToday=o()}(this,(function(){"use strict";return function(e,o,t){o.prototype.isToday=function(){var e="YYYY-MM-DD",o=t();return this.format(e)===o.format(e)}}})); \ No newline at end of file diff --git a/node_modules/dayjs/plugin/isTomorrow.d.ts b/node_modules/dayjs/plugin/isTomorrow.d.ts new file mode 100644 index 0000000..08110b6 --- /dev/null +++ b/node_modules/dayjs/plugin/isTomorrow.d.ts @@ -0,0 +1,10 @@ +import { PluginFunc } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs' { + interface Dayjs { + isTomorrow(): boolean + } +} diff --git a/node_modules/dayjs/plugin/isTomorrow.js b/node_modules/dayjs/plugin/isTomorrow.js new file mode 100644 index 0000000..ca85044 --- /dev/null +++ b/node_modules/dayjs/plugin/isTomorrow.js @@ -0,0 +1 @@ +!function(o,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(o="undefined"!=typeof globalThis?globalThis:o||self).dayjs_plugin_isTomorrow=e()}(this,(function(){"use strict";return function(o,e,t){e.prototype.isTomorrow=function(){var o="YYYY-MM-DD",e=t().add(1,"day");return this.format(o)===e.format(o)}}})); \ No newline at end of file diff --git a/node_modules/dayjs/plugin/isYesterday.d.ts b/node_modules/dayjs/plugin/isYesterday.d.ts new file mode 100644 index 0000000..2d8ae9e --- /dev/null +++ b/node_modules/dayjs/plugin/isYesterday.d.ts @@ -0,0 +1,10 @@ +import { PluginFunc } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs' { + interface Dayjs { + isYesterday(): boolean + } +} diff --git a/node_modules/dayjs/plugin/isYesterday.js b/node_modules/dayjs/plugin/isYesterday.js new file mode 100644 index 0000000..b63b68a --- /dev/null +++ b/node_modules/dayjs/plugin/isYesterday.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_plugin_isYesterday=t()}(this,(function(){"use strict";return function(e,t,n){t.prototype.isYesterday=function(){var e="YYYY-MM-DD",t=n().subtract(1,"day");return this.format(e)===t.format(e)}}})); \ No newline at end of file diff --git a/node_modules/dayjs/plugin/isoWeek.d.ts b/node_modules/dayjs/plugin/isoWeek.d.ts new file mode 100644 index 0000000..3f4d88f --- /dev/null +++ b/node_modules/dayjs/plugin/isoWeek.d.ts @@ -0,0 +1,27 @@ +import { PluginFunc, OpUnitType, ConfigType } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin + +type ISOUnitType = OpUnitType | 'isoWeek'; + +declare module 'dayjs' { + interface Dayjs { + isoWeekYear(): number + isoWeek(): number + isoWeek(value: number): Dayjs + + isoWeekday(): number + isoWeekday(value: number): Dayjs + + startOf(unit: ISOUnitType): Dayjs + + endOf(unit: ISOUnitType): Dayjs + + isSame(date?: ConfigType, unit?: ISOUnitType): boolean + + isBefore(date?: ConfigType, unit?: ISOUnitType): boolean + + isAfter(date?: ConfigType, unit?: ISOUnitType): boolean + } +} diff --git a/node_modules/dayjs/plugin/isoWeek.js b/node_modules/dayjs/plugin/isoWeek.js new file mode 100644 index 0000000..202ade7 --- /dev/null +++ b/node_modules/dayjs/plugin/isoWeek.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_plugin_isoWeek=t()}(this,(function(){"use strict";var e="day";return function(t,i,s){var a=function(t){return t.add(4-t.isoWeekday(),e)},d=i.prototype;d.isoWeekYear=function(){return a(this).year()},d.isoWeek=function(t){if(!this.$utils().u(t))return this.add(7*(t-this.isoWeek()),e);var i,d,n,o,r=a(this),u=(i=this.isoWeekYear(),d=this.$u,n=(d?s.utc:s)().year(i).startOf("year"),o=4-n.isoWeekday(),n.isoWeekday()>4&&(o+=7),n.add(o,e));return r.diff(u,"week")+1},d.isoWeekday=function(e){return this.$utils().u(e)?this.day()||7:this.day(this.day()%7?e:e-7)};var n=d.startOf;d.startOf=function(e,t){var i=this.$utils(),s=!!i.u(t)||t;return"isoweek"===i.p(e)?s?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):n.bind(this)(e,t)}}})); \ No newline at end of file diff --git a/node_modules/dayjs/plugin/isoWeeksInYear.d.ts b/node_modules/dayjs/plugin/isoWeeksInYear.d.ts new file mode 100644 index 0000000..2bc02cd --- /dev/null +++ b/node_modules/dayjs/plugin/isoWeeksInYear.d.ts @@ -0,0 +1,10 @@ +import { PluginFunc } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs' { + interface Dayjs { + isoWeeksInYear(): number + } +} diff --git a/node_modules/dayjs/plugin/isoWeeksInYear.js b/node_modules/dayjs/plugin/isoWeeksInYear.js new file mode 100644 index 0000000..2bd20cd --- /dev/null +++ b/node_modules/dayjs/plugin/isoWeeksInYear.js @@ -0,0 +1 @@ +!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n():"function"==typeof define&&define.amd?define(n):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_plugin_isoWeeksInYear=n()}(this,(function(){"use strict";return function(e,n){n.prototype.isoWeeksInYear=function(){var e=this.isLeapYear(),n=this.endOf("y").day();return 4===n||e&&5===n?53:52}}})); \ No newline at end of file diff --git a/node_modules/dayjs/plugin/localeData.d.ts b/node_modules/dayjs/plugin/localeData.d.ts new file mode 100644 index 0000000..ae9e557 --- /dev/null +++ b/node_modules/dayjs/plugin/localeData.d.ts @@ -0,0 +1,44 @@ +import { PluginFunc } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs' { + type WeekdayNames = [string, string, string, string, string, string, string]; + type MonthNames = [string, string, string, string, string, string, string, string, string, string, string, string]; + + interface InstanceLocaleDataReturn { + firstDayOfWeek(): number; + weekdays(instance?: Dayjs): WeekdayNames; + weekdaysShort(instance?: Dayjs): WeekdayNames; + weekdaysMin(instance?: Dayjs): WeekdayNames; + months(instance?: Dayjs): MonthNames; + monthsShort(instance?: Dayjs): MonthNames; + longDateFormat(format: string): string; + meridiem(hour?: number, minute?: number, isLower?: boolean): string; + ordinal(n: number): string + } + + interface GlobalLocaleDataReturn { + firstDayOfWeek(): number; + weekdays(): WeekdayNames; + weekdaysShort(): WeekdayNames; + weekdaysMin(): WeekdayNames; + months(): MonthNames; + monthsShort(): MonthNames; + longDateFormat(format: string): string; + meridiem(hour?: number, minute?: number, isLower?: boolean): string; + ordinal(n: number): string + } + + interface Dayjs { + localeData(): InstanceLocaleDataReturn; + } + + export function weekdays(localOrder?: boolean): WeekdayNames; + export function weekdaysShort(localOrder?: boolean): WeekdayNames; + export function weekdaysMin(localOrder?: boolean): WeekdayNames; + export function monthsShort(): MonthNames; + export function months(): MonthNames; + export function localeData(): GlobalLocaleDataReturn; +} diff --git a/node_modules/dayjs/plugin/localeData.js b/node_modules/dayjs/plugin/localeData.js new file mode 100644 index 0000000..55e01ee --- /dev/null +++ b/node_modules/dayjs/plugin/localeData.js @@ -0,0 +1 @@ +!function(n,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(n="undefined"!=typeof globalThis?globalThis:n||self).dayjs_plugin_localeData=e()}(this,(function(){"use strict";return function(n,e,t){var r=e.prototype,o=function(n){return n&&(n.indexOf?n:n.s)},u=function(n,e,t,r,u){var i=n.name?n:n.$locale(),a=o(i[e]),s=o(i[t]),f=a||s.map((function(n){return n.slice(0,r)}));if(!u)return f;var d=i.weekStart;return f.map((function(n,e){return f[(e+(d||0))%7]}))},i=function(){return t.Ls[t.locale()]},a=function(n,e){return n.formats[e]||function(n){return n.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(n,e,t){return e||t.slice(1)}))}(n.formats[e.toUpperCase()])},s=function(){var n=this;return{months:function(e){return e?e.format("MMMM"):u(n,"months")},monthsShort:function(e){return e?e.format("MMM"):u(n,"monthsShort","months",3)},firstDayOfWeek:function(){return n.$locale().weekStart||0},weekdays:function(e){return e?e.format("dddd"):u(n,"weekdays")},weekdaysMin:function(e){return e?e.format("dd"):u(n,"weekdaysMin","weekdays",2)},weekdaysShort:function(e){return e?e.format("ddd"):u(n,"weekdaysShort","weekdays",3)},longDateFormat:function(e){return a(n.$locale(),e)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};r.localeData=function(){return s.bind(this)()},t.localeData=function(){var n=i();return{firstDayOfWeek:function(){return n.weekStart||0},weekdays:function(){return t.weekdays()},weekdaysShort:function(){return t.weekdaysShort()},weekdaysMin:function(){return t.weekdaysMin()},months:function(){return t.months()},monthsShort:function(){return t.monthsShort()},longDateFormat:function(e){return a(n,e)},meridiem:n.meridiem,ordinal:n.ordinal}},t.months=function(){return u(i(),"months")},t.monthsShort=function(){return u(i(),"monthsShort","months",3)},t.weekdays=function(n){return u(i(),"weekdays",null,null,n)},t.weekdaysShort=function(n){return u(i(),"weekdaysShort","weekdays",3,n)},t.weekdaysMin=function(n){return u(i(),"weekdaysMin","weekdays",2,n)}}})); \ No newline at end of file diff --git a/node_modules/dayjs/plugin/localizedFormat.d.ts b/node_modules/dayjs/plugin/localizedFormat.d.ts new file mode 100644 index 0000000..30ec75e --- /dev/null +++ b/node_modules/dayjs/plugin/localizedFormat.d.ts @@ -0,0 +1,4 @@ +import { PluginFunc } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin diff --git a/node_modules/dayjs/plugin/localizedFormat.js b/node_modules/dayjs/plugin/localizedFormat.js new file mode 100644 index 0000000..2aa4665 --- /dev/null +++ b/node_modules/dayjs/plugin/localizedFormat.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_plugin_localizedFormat=t()}(this,(function(){"use strict";var e={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};return function(t,o,n){var r=o.prototype,i=r.format;n.en.formats=e,r.format=function(t){void 0===t&&(t="YYYY-MM-DDTHH:mm:ssZ");var o=this.$locale().formats,n=function(t,o){return t.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,n,r){var i=r&&r.toUpperCase();return n||o[r]||e[r]||o[i].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,o){return t||o.slice(1)}))}))}(t,void 0===o?{}:o);return i.call(this,n)}}})); \ No newline at end of file diff --git a/node_modules/dayjs/plugin/minMax.d.ts b/node_modules/dayjs/plugin/minMax.d.ts new file mode 100644 index 0000000..4c5f6dc --- /dev/null +++ b/node_modules/dayjs/plugin/minMax.d.ts @@ -0,0 +1,11 @@ +import { PluginFunc } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs' { + export function max(dayjs: Dayjs[]): Dayjs | null + export function max(...dayjs: Dayjs[]): Dayjs | null + export function min(dayjs: Dayjs[]): Dayjs | null + export function min(...dayjs: Dayjs[]): Dayjs | null +} diff --git a/node_modules/dayjs/plugin/minMax.js b/node_modules/dayjs/plugin/minMax.js new file mode 100644 index 0000000..ce06314 --- /dev/null +++ b/node_modules/dayjs/plugin/minMax.js @@ -0,0 +1 @@ +!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n():"function"==typeof define&&define.amd?define(n):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_plugin_minMax=n()}(this,(function(){"use strict";return function(e,n,t){var i=function(e,n){if(!n||!n.length||1===n.length&&!n[0]||1===n.length&&Array.isArray(n[0])&&!n[0].length)return null;var t;1===n.length&&n[0].length>0&&(n=n[0]);t=(n=n.filter((function(e){return e})))[0];for(var i=1;i=0?1:a.date()),s=u.year||a.year(),d=u.month>=0?u.month:u.year||u.day?0:a.month(),f=u.hour||0,b=u.minute||0,h=u.second||0,y=u.millisecond||0;return o?new Date(Date.UTC(s,d,c,f,b,h,y)):new Date(s,d,c,f,b,h,y)}return r},o=i.parse;i.parse=function(t){t.date=r.bind(this)(t),o.bind(this)(t)};var u=i.set,a=i.add,c=i.subtract,s=function(t,n,e,i){void 0===i&&(i=1);var r=Object.keys(n),o=this;return r.forEach((function(e){o=t.bind(o)(n[e]*i,e)})),o};i.set=function(t,n){return n=void 0===n?t:n,"Object"===t.constructor.name?s.bind(this)((function(t,n){return u.bind(this)(n,t)}),n,t):u.bind(this)(t,n)},i.add=function(t,n){return"Object"===t.constructor.name?s.bind(this)(a,t,n):a.bind(this)(t,n)},i.subtract=function(t,n){return"Object"===t.constructor.name?s.bind(this)(a,t,n,-1):c.bind(this)(t,n)}}})); \ No newline at end of file diff --git a/node_modules/dayjs/plugin/pluralGetSet.d.ts b/node_modules/dayjs/plugin/pluralGetSet.d.ts new file mode 100644 index 0000000..ab2d89a --- /dev/null +++ b/node_modules/dayjs/plugin/pluralGetSet.d.ts @@ -0,0 +1,44 @@ +import { PluginFunc, UnitType, ConfigType } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs' { + interface Dayjs { + years(): number + + years(value: number): Dayjs + + months(): number + + months(value: number): Dayjs + + dates(): number + + dates(value: number): Dayjs + + weeks(): number + + weeks(value: number): Dayjs + + days(): number + + days(value: number): Dayjs + + hours(): number + + hours(value: number): Dayjs + + minutes(): number + + minutes(value: number): Dayjs + + seconds(): number + + seconds(value: number): Dayjs + + milliseconds(): number + + milliseconds(value: number): Dayjs + } +} diff --git a/node_modules/dayjs/plugin/pluralGetSet.js b/node_modules/dayjs/plugin/pluralGetSet.js new file mode 100644 index 0000000..d758494 --- /dev/null +++ b/node_modules/dayjs/plugin/pluralGetSet.js @@ -0,0 +1 @@ +!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?module.exports=o():"function"==typeof define&&define.amd?define(o):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_plugin_pluralGetSet=o()}(this,(function(){"use strict";return function(e,o){var s=o.prototype;["milliseconds","seconds","minutes","hours","days","weeks","isoWeeks","months","quarters","years","dates"].forEach((function(e){s[e]=s[e.replace(/s$/,"")]}))}})); \ No newline at end of file diff --git a/node_modules/dayjs/plugin/preParsePostFormat.d.ts b/node_modules/dayjs/plugin/preParsePostFormat.d.ts new file mode 100644 index 0000000..30ec75e --- /dev/null +++ b/node_modules/dayjs/plugin/preParsePostFormat.d.ts @@ -0,0 +1,4 @@ +import { PluginFunc } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin diff --git a/node_modules/dayjs/plugin/preParsePostFormat.js b/node_modules/dayjs/plugin/preParsePostFormat.js new file mode 100644 index 0000000..5611d10 --- /dev/null +++ b/node_modules/dayjs/plugin/preParsePostFormat.js @@ -0,0 +1 @@ +!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).dayjs_plugin_preParsePostFormat=e()}(this,(function(){"use strict";return function(t,e){var o=e.prototype.parse;e.prototype.parse=function(t){if("string"==typeof t.date){var e=this.$locale();t.date=e&&e.preparse?e.preparse(t.date):t.date}return o.bind(this)(t)};var r=e.prototype.format;e.prototype.format=function(){for(var t=arguments.length,e=new Array(t),o=0;o number + thresholds?: RelativeTimeThreshold[] +} + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs' { + interface Dayjs { + fromNow(withoutSuffix?: boolean): string + from(compared: ConfigType, withoutSuffix?: boolean): string + toNow(withoutSuffix?: boolean): string + to(compared: ConfigType, withoutSuffix?: boolean): string + } +} diff --git a/node_modules/dayjs/plugin/relativeTime.js b/node_modules/dayjs/plugin/relativeTime.js new file mode 100644 index 0000000..898eee6 --- /dev/null +++ b/node_modules/dayjs/plugin/relativeTime.js @@ -0,0 +1 @@ +!function(r,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(r="undefined"!=typeof globalThis?globalThis:r||self).dayjs_plugin_relativeTime=e()}(this,(function(){"use strict";return function(r,e,t){r=r||{};var n=e.prototype,o={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function i(r,e,t,o){return n.fromToBase(r,e,t,o)}t.en.relativeTime=o,n.fromToBase=function(e,n,i,d,u){for(var f,a,s,l=i.$locale().relativeTime||o,h=r.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],m=h.length,c=0;c0,p<=y.r||!y.r){p<=1&&c>0&&(y=h[c-1]);var v=l[y.l];u&&(p=u(""+p)),a="string"==typeof v?v.replace("%d",p):v(p,n,y.l,s);break}}if(n)return a;var M=s?l.future:l.past;return"function"==typeof M?M(a):M.replace("%s",a)},n.to=function(r,e){return i(r,e,this,!0)},n.from=function(r,e){return i(r,e,this)};var d=function(r){return r.$u?t.utc():t()};n.toNow=function(r){return this.to(d(this),r)},n.fromNow=function(r){return this.from(d(this),r)}}})); \ No newline at end of file diff --git a/node_modules/dayjs/plugin/timezone.d.ts b/node_modules/dayjs/plugin/timezone.d.ts new file mode 100644 index 0000000..049bb08 --- /dev/null +++ b/node_modules/dayjs/plugin/timezone.d.ts @@ -0,0 +1,20 @@ +import { PluginFunc, ConfigType } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs' { + interface Dayjs { + tz(timezone?: string, keepLocalTime?: boolean): Dayjs + offsetName(type?: 'short' | 'long'): string | undefined + } + + interface DayjsTimezone { + (date?: ConfigType, timezone?: string): Dayjs + (date: ConfigType, format: string, timezone?: string): Dayjs + guess(): string + setDefault(timezone?: string): void + } + + const tz: DayjsTimezone +} diff --git a/node_modules/dayjs/plugin/timezone.js b/node_modules/dayjs/plugin/timezone.js new file mode 100644 index 0000000..b778bef --- /dev/null +++ b/node_modules/dayjs/plugin/timezone.js @@ -0,0 +1 @@ +!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).dayjs_plugin_timezone=e()}(this,(function(){"use strict";var t={year:0,month:1,day:2,hour:3,minute:4,second:5},e={};return function(n,i,o){var r,a=function(t,n,i){void 0===i&&(i={});var o=new Date(t),r=function(t,n){void 0===n&&(n={});var i=n.timeZoneName||"short",o=t+"|"+i,r=e[o];return r||(r=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:i}),e[o]=r),r}(n,i);return r.formatToParts(o)},u=function(e,n){for(var i=a(e,n),r=[],u=0;u=0&&(r[c]=parseInt(m,10))}var d=r[3],l=24===d?0:d,h=r[0]+"-"+r[1]+"-"+r[2]+" "+l+":"+r[4]+":"+r[5]+":000",v=+e;return(o.utc(h).valueOf()-(v-=v%1e3))/6e4},f=i.prototype;f.tz=function(t,e){void 0===t&&(t=r);var n=this.utcOffset(),i=this.toDate(),a=i.toLocaleString("en-US",{timeZone:t}),u=Math.round((i-new Date(a))/1e3/60),f=o(a,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(15*-Math.round(i.getTimezoneOffset()/15)-u,!0);if(e){var s=f.utcOffset();f=f.add(n-s,"minute")}return f.$x.$timezone=t,f},f.offsetName=function(t){var e=this.$x.$timezone||o.tz.guess(),n=a(this.valueOf(),e,{timeZoneName:t}).find((function(t){return"timezonename"===t.type.toLowerCase()}));return n&&n.value};var s=f.startOf;f.startOf=function(t,e){if(!this.$x||!this.$x.$timezone)return s.call(this,t,e);var n=o(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return s.call(n,t,e).tz(this.$x.$timezone,!0)},o.tz=function(t,e,n){var i=n&&e,a=n||e||r,f=u(+o(),a);if("string"!=typeof t)return o(t).tz(a);var s=function(t,e,n){var i=t-60*e*1e3,o=u(i,n);if(e===o)return[i,e];var r=u(i-=60*(o-e)*1e3,n);return o===r?[i,o]:[t-60*Math.min(o,r)*1e3,Math.max(o,r)]}(o.utc(t,i).valueOf(),f,a),m=s[0],c=s[1],d=o(m).utcOffset(c);return d.$x.$timezone=a,d},o.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},o.tz.setDefault=function(t){r=t}}})); \ No newline at end of file diff --git a/node_modules/dayjs/plugin/toArray.d.ts b/node_modules/dayjs/plugin/toArray.d.ts new file mode 100644 index 0000000..45f1f0c --- /dev/null +++ b/node_modules/dayjs/plugin/toArray.d.ts @@ -0,0 +1,10 @@ +import { PluginFunc } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs' { + interface Dayjs { + toArray(): number[] + } +} diff --git a/node_modules/dayjs/plugin/toArray.js b/node_modules/dayjs/plugin/toArray.js new file mode 100644 index 0000000..ac06750 --- /dev/null +++ b/node_modules/dayjs/plugin/toArray.js @@ -0,0 +1 @@ +!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).dayjs_plugin_toArray=e()}(this,(function(){"use strict";return function(t,e){e.prototype.toArray=function(){return[this.$y,this.$M,this.$D,this.$H,this.$m,this.$s,this.$ms]}}})); \ No newline at end of file diff --git a/node_modules/dayjs/plugin/toObject.d.ts b/node_modules/dayjs/plugin/toObject.d.ts new file mode 100644 index 0000000..ca12aaf --- /dev/null +++ b/node_modules/dayjs/plugin/toObject.d.ts @@ -0,0 +1,20 @@ +import { PluginFunc } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin + +interface DayjsObject { + years: number + months: number + date: number + hours: number + minutes: number + seconds: number + milliseconds: number +} + +declare module 'dayjs' { + interface Dayjs { + toObject(): DayjsObject + } +} diff --git a/node_modules/dayjs/plugin/toObject.js b/node_modules/dayjs/plugin/toObject.js new file mode 100644 index 0000000..573b49e --- /dev/null +++ b/node_modules/dayjs/plugin/toObject.js @@ -0,0 +1 @@ +!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).dayjs_plugin_toObject=e()}(this,(function(){"use strict";return function(t,e){e.prototype.toObject=function(){return{years:this.$y,months:this.$M,date:this.$D,hours:this.$H,minutes:this.$m,seconds:this.$s,milliseconds:this.$ms}}}})); \ No newline at end of file diff --git a/node_modules/dayjs/plugin/updateLocale.d.ts b/node_modules/dayjs/plugin/updateLocale.d.ts new file mode 100644 index 0000000..ef1c01d --- /dev/null +++ b/node_modules/dayjs/plugin/updateLocale.d.ts @@ -0,0 +1,8 @@ +import { PluginFunc } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs' { + export function updateLocale(localeName: string, customConfig: Record): Record +} diff --git a/node_modules/dayjs/plugin/updateLocale.js b/node_modules/dayjs/plugin/updateLocale.js new file mode 100644 index 0000000..811d9e9 --- /dev/null +++ b/node_modules/dayjs/plugin/updateLocale.js @@ -0,0 +1 @@ +!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n():"function"==typeof define&&define.amd?define(n):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_plugin_updateLocale=n()}(this,(function(){"use strict";return function(e,n,t){t.updateLocale=function(e,n){var o=t.Ls[e];if(o)return(n?Object.keys(n):[]).forEach((function(e){o[e]=n[e]})),o}}})); \ No newline at end of file diff --git a/node_modules/dayjs/plugin/utc.d.ts b/node_modules/dayjs/plugin/utc.d.ts new file mode 100644 index 0000000..544ea4e --- /dev/null +++ b/node_modules/dayjs/plugin/utc.d.ts @@ -0,0 +1,19 @@ +import { PluginFunc, ConfigType } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs' { + interface Dayjs { + + utc(keepLocalTime?: boolean): Dayjs + + local(): Dayjs + + isUTC(): boolean + + utcOffset(offset: number | string, keepLocalTime?: boolean): Dayjs + } + + export function utc(config?: ConfigType, format?: string, strict?: boolean): Dayjs +} diff --git a/node_modules/dayjs/plugin/utc.js b/node_modules/dayjs/plugin/utc.js new file mode 100644 index 0000000..af07564 --- /dev/null +++ b/node_modules/dayjs/plugin/utc.js @@ -0,0 +1 @@ +!function(t,i){"object"==typeof exports&&"undefined"!=typeof module?module.exports=i():"function"==typeof define&&define.amd?define(i):(t="undefined"!=typeof globalThis?globalThis:t||self).dayjs_plugin_utc=i()}(this,(function(){"use strict";var t="minute",i=/[+-]\d\d(?::?\d\d)?/g,e=/([+-]|\d\d)/g;return function(s,f,n){var u=f.prototype;n.utc=function(t){var i={date:t,utc:!0,args:arguments};return new f(i)},u.utc=function(i){var e=n(this.toDate(),{locale:this.$L,utc:!0});return i?e.add(this.utcOffset(),t):e},u.local=function(){return n(this.toDate(),{locale:this.$L,utc:!1})};var o=u.parse;u.parse=function(t){t.utc&&(this.$u=!0),this.$utils().u(t.$offset)||(this.$offset=t.$offset),o.call(this,t)};var r=u.init;u.init=function(){if(this.$u){var t=this.$d;this.$y=t.getUTCFullYear(),this.$M=t.getUTCMonth(),this.$D=t.getUTCDate(),this.$W=t.getUTCDay(),this.$H=t.getUTCHours(),this.$m=t.getUTCMinutes(),this.$s=t.getUTCSeconds(),this.$ms=t.getUTCMilliseconds()}else r.call(this)};var a=u.utcOffset;u.utcOffset=function(s,f){var n=this.$utils().u;if(n(s))return this.$u?0:n(this.$offset)?a.call(this):this.$offset;if("string"==typeof s&&(s=function(t){void 0===t&&(t="");var s=t.match(i);if(!s)return null;var f=(""+s[0]).match(e)||["-",0,0],n=f[0],u=60*+f[1]+ +f[2];return 0===u?0:"+"===n?u:-u}(s),null===s))return this;var u=Math.abs(s)<=16?60*s:s,o=this;if(f)return o.$offset=u,o.$u=0===s,o;if(0!==s){var r=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(o=this.local().add(u+r,t)).$offset=u,o.$x.$localOffset=r}else o=this.utc();return o};var h=u.format;u.format=function(t){var i=t||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return h.call(this,i)},u.valueOf=function(){var t=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*t},u.isUTC=function(){return!!this.$u},u.toISOString=function(){return this.toDate().toISOString()},u.toString=function(){return this.toDate().toUTCString()};var l=u.toDate;u.toDate=function(t){return"s"===t&&this.$offset?n(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():l.call(this)};var c=u.diff;u.diff=function(t,i,e){if(t&&this.$u===t.$u)return c.call(this,t,i,e);var s=this.local(),f=n(t).local();return c.call(s,f,i,e)}}})); \ No newline at end of file diff --git a/node_modules/dayjs/plugin/weekOfYear.d.ts b/node_modules/dayjs/plugin/weekOfYear.d.ts new file mode 100644 index 0000000..d988014 --- /dev/null +++ b/node_modules/dayjs/plugin/weekOfYear.d.ts @@ -0,0 +1,12 @@ +import { PluginFunc } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs' { + interface Dayjs { + week(): number + + week(value : number): Dayjs + } +} diff --git a/node_modules/dayjs/plugin/weekOfYear.js b/node_modules/dayjs/plugin/weekOfYear.js new file mode 100644 index 0000000..7e234c4 --- /dev/null +++ b/node_modules/dayjs/plugin/weekOfYear.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_plugin_weekOfYear=t()}(this,(function(){"use strict";var e="week",t="year";return function(i,n,r){var f=n.prototype;f.week=function(i){if(void 0===i&&(i=null),null!==i)return this.add(7*(i-this.week()),"day");var n=this.$locale().yearStart||1;if(11===this.month()&&this.date()>25){var f=r(this).startOf(t).add(1,t).date(n),s=r(this).endOf(e);if(f.isBefore(s))return 1}var a=r(this).startOf(t).date(n).startOf(e).subtract(1,"millisecond"),o=this.diff(a,e,!0);return o<0?r(this).startOf("week").week():Math.ceil(o)},f.weeks=function(e){return void 0===e&&(e=null),this.week(e)}}})); \ No newline at end of file diff --git a/node_modules/dayjs/plugin/weekYear.d.ts b/node_modules/dayjs/plugin/weekYear.d.ts new file mode 100644 index 0000000..df25331 --- /dev/null +++ b/node_modules/dayjs/plugin/weekYear.d.ts @@ -0,0 +1,10 @@ +import { PluginFunc } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs' { + interface Dayjs { + weekYear(): number + } +} diff --git a/node_modules/dayjs/plugin/weekYear.js b/node_modules/dayjs/plugin/weekYear.js new file mode 100644 index 0000000..d90d137 --- /dev/null +++ b/node_modules/dayjs/plugin/weekYear.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_plugin_weekYear=t()}(this,(function(){"use strict";return function(e,t){t.prototype.weekYear=function(){var e=this.month(),t=this.week(),n=this.year();return 1===t&&11===e?n+1:0===e&&t>=52?n-1:n}}})); \ No newline at end of file diff --git a/node_modules/dayjs/plugin/weekday.d.ts b/node_modules/dayjs/plugin/weekday.d.ts new file mode 100644 index 0000000..87a8025 --- /dev/null +++ b/node_modules/dayjs/plugin/weekday.d.ts @@ -0,0 +1,12 @@ +import { PluginFunc } from 'dayjs' + +declare const plugin: PluginFunc +export = plugin + +declare module 'dayjs' { + interface Dayjs { + weekday(): number + + weekday(value: number): Dayjs + } +} diff --git a/node_modules/dayjs/plugin/weekday.js b/node_modules/dayjs/plugin/weekday.js new file mode 100644 index 0000000..ae2276b --- /dev/null +++ b/node_modules/dayjs/plugin/weekday.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).dayjs_plugin_weekday=t()}(this,(function(){"use strict";return function(e,t){t.prototype.weekday=function(e){var t=this.$locale().weekStart||0,i=this.$W,n=(i -1 ? newdate : festival, + // day: ['工作日', '周末'].includes(festival) || festival.indexOf('补') > -1 || [如果有不想展示的日期,放这里].includes(timer) ? newdate : festival, + + isNowMonthDay: (month == nowMonth && i == nowDay) ? "isNowMonthDay" : "", + isHoliday: calendarFormatter.isHoliday(timer), // 判断是否是休息日 是的话返回true, 不是的话返回false + + }); + } + this.data.use_date_arr.forEach(ele => { + ele = ele.replace(/\-/g, "/") + nowMonthDays.forEach(item => { + if (ele == item.time) { + console.log(item); + item.color = true + } + }) + }) + this.setData({ + nowMonthDays + }) + }, + /** 获取下个月日期 */ + getNextMonthDays(year, month) { + let { + lastMonthDays, + nowMonthDays, + } = this.data + let nextMonthDays = [] + let nextMonthNums = (lastMonthDays.length + nowMonthDays.length) > 35 ? 42 - (lastMonthDays.length + nowMonthDays.length) : 35 - (lastMonthDays.length + nowMonthDays.length) //下个月显示多少天 + let nowYear = (parseInt(month) + 1) > 12 ? year + 1 : year //下一个月的年份 + let nowMonth = (parseInt(month) + 1) > 12 ? 1 : parseInt(month) + 1 //下一个月的月份 + if (nextMonthNums) { //判断当前天数是否大于零 + for (let i = 1; i <= nextMonthNums; i++) { + let time = new Date(year, month - 1, i).toLocaleDateString() + nextMonthDays.push({ + date: i, //几号 + week: this.data.weeksArr[new Date(nowYear, nowMonth - 1, i).getDay()], //星期几 + time, + isNowMonthDay: '' + }); + } + } + this.setData({ + nextMonthDays + }) + console.log(nextMonthDays) + }, + /** 切换月份 */ + changeMonthFun(e){ + if (this.data.currentViewType === "month") { + let { + year, + month, + nowDay + } = this.data + let type = e.currentTarget.dataset.type //类型 + if (type == 'prev') { //上一个月 + year = month - 1 > 0 ? year : year - 1 + month = month - 1 > 0 ? month - 1 : 12 + } else { //next 下个月 + year = (parseInt(month) + 1) > 12 ? year + 1 : year + month = (parseInt(month) + 1) > 12 ? 1 : parseInt(month) + 1 + } + this.setData({ + year, + month, + nowMonth: month, + activeDateStr: `${year}/${month}/${nowDay}` + }) + this.createDays(year, month) + } else { + let type = e.currentTarget.dataset.type //类型 + let newActiveDateStr = this.getActiveDateStrByWeek(this.data.activeDateStr, type) + this.getWeekData(newActiveDateStr) + this.setData({ + activeDateStr: newActiveDateStr, + }) + } + + }, + + /** 获取周视图数据 */ + getWeekData(defaultDate) { + /** 是否是从周一开始 */ + const isStartFromMonday = this.properties.startDay === "monday" + if (!defaultDate) { + defaultDate = this.data.activeDateStr + } + const YEAR = new Date(defaultDate).getFullYear() + const MONTH = new Date(defaultDate).getMonth() + 1 + const DATE = new Date(defaultDate).getDate() + const WEEK = isStartFromMonday + ? new Date(defaultDate).getDay() || 7 + : new Date(defaultDate).getDay() + /** 上月最后一天 */ + let lastDayOfLastMonth = new Date(YEAR, MONTH - 1, 0) + /** 上月最后一天是周几 */ + let lastDateOfLastMonth = lastDayOfLastMonth.getDate() + /** 当月最后一天 */ + let lastDay = new Date(YEAR, MONTH, 0) + /** 当月最后一天是几号 */ + let lastDate = lastDay.getDate() + + var ret = [] + /** 前面有几天 */ + let preCount = isStartFromMonday ? WEEK - 1 : WEEK + for (let i = 0; i < 7; i++) { + /** 用于计算的日期,可能为负数,可能大于当月最后一天 */ + let date = i + (DATE - preCount) + /** 真实的日期 */ + let showDate = date + /** 真实的月 */ + let showMonth = MONTH + /** 真实的年 */ + let showYear = YEAR + if (date <= 0) { + // 上个月 + showMonth = MONTH - 1 + showDate = lastDateOfLastMonth + date + } else if (date > lastDate) { + // 下个月 + showMonth = MONTH + 1 + showDate = showDate - lastDate + } + if (showMonth === 0) { + showMonth = 12 + showYear = YEAR - 1 + } + if (showMonth === 13) { + showMonth = 1 + showYear = YEAR + 1 + } + var day = calendarFormatter.solar2lunar(showYear,showMonth, showDate); + let newdate + if (day.IDayCn == '初一') { + newdate = day.IMonthCn + } else { + newdate = day.IDayCn + } + let { + month, + nowDay + } = this.data + // 当前周数据 + let festival = calendarFormatter.getFestival(`${showYear}-${showMonth}-${showDate}`) // 返回当前节假日名称, 不是节日返回 '工作日' + ret.push({ + year: showYear, + month: showMonth, + date: showDate, + calDate: date, + day: ['工作日', '周末'].includes(festival) || festival.indexOf('补') > -1 ? newdate : festival, + dateStr: `${showYear}/${showMonth}/${showDate}`, + isNowMonthDay: (month == showMonth && nowDay == showDate) ? "isNowMonthDay" : "", + isHoliday: calendarFormatter.isHoliday(`${showYear}-${showMonth}-${showDate}`), // 判断是否是休息日 是的话返回true, 不是的话返回false + }) + } + this.setData({ + weekDay: ret, + year: YEAR, + month: MONTH, + }) + }, + + /** + * 周视图下,左右切换时,获取新的高亮日期 + * @param {string} curActiveDateStr 当前高亮的日期 + * @param {string} type "prev" or "next" + */ + getActiveDateStrByWeek(curActiveDateStr, type) { + const arr = curActiveDateStr.split("/") + const year = +arr[0] + const month = +arr[1] + const date = +arr[2] + + let newYear = year, newMonth = month, newDate = date; + /** 上月最后一天 */ + const lastMonthLastDate = new Date(year, month - 1, 0).getDate() + /** 本月最后一天 */ + const curMonthLastDate = new Date(year, month, 0).getDate() + if (type === "prev") { + // 如果减7小于0, 说明跳月了 + if (date - 7 <= 0) { + newYear = month === 1 ? year - 1 : year + newMonth = month === 1 ? 12 : month - 1 + newDate = lastMonthLastDate + date - 7 + } else { + newDate = date - 7 + } + } else if (type == "next") { + // 如果加7大于本月最后一天,说明跳月了 + if (date + 7 > curMonthLastDate) { + newYear = month === 12 ? year + 1 : year + newMonth = month === 12 ? 1 : month + 1 + newDate = (date + 7) - curMonthLastDate + } else { + newDate = date + 7 + } + } + return `${newYear}/${newMonth}/${newDate}` + }, + + + /** 选择日期触发 */ + selectDate(e){ + let type = e.currentTarget.dataset.type //选择的时间类型 + let index = e.currentTarget.dataset.index //选择的下标 + // let date = e.currentTarget.dataset.item.time //选择的下标 + let date = e.currentTarget.dataset.item.dateStr //选择的下标 + let selectDate = date.replace(/\//g, "-") + console.log("选择的时间", selectDate) + // 自定义事件,父组件调用,回调 选择的时间selectDate + this.triggerEvent('selectDate', selectDate) + //将选择的时间类型的 isNowMonthDay 全改为'' + this.data[type]?.forEach(item => { + item.isNowMonthDay = '' + }) + this.data[type]?.forEach((item, idx) => { + if (index == idx) { + item.isNowMonthDay = (item.time == new Date().toLocaleDateString() ? "isNowMonthDay" : "isNotNowMonthDay"); //判断当前选中的日期是否是当前时间 + } else { + item.isNowMonthDay = '' + } + }) + const dateArr = date.split('/') + this.setData({ + [type]: this.data[type], + activeDateStr: date, + year: dateArr[0], + month:dateArr[1], + nowMonth: dateArr[1], + nowDay: dateArr[2], + }) + }, + }, + ready() { + let { + year, + month, + nowDay + } = this.data + this.setData({ + activeDateStr: `${year}/${month}/${nowDay}` + }) + this.createDays(year, month, nowDay) + + } +}) \ No newline at end of file diff --git a/pages/component/newCalendar/index.json b/pages/component/newCalendar/index.json new file mode 100644 index 0000000..7e37c03 --- /dev/null +++ b/pages/component/newCalendar/index.json @@ -0,0 +1,4 @@ +{ + "component": true, + "usingComponents": {} +} \ No newline at end of file diff --git a/pages/component/newCalendar/index.wxml b/pages/component/newCalendar/index.wxml new file mode 100644 index 0000000..0f8b87b --- /dev/null +++ b/pages/component/newCalendar/index.wxml @@ -0,0 +1,61 @@ + + + + + + + 上一月 + 上一周 + + + {{year}}年 {{month}}月 + + + 下一月 + 下一周 + + + + + + + + {{item}} + + + + {{item.date}} + + + + + + + + + {{item.date}} + + + + {{item.day}} + + + + + + + + {{item.date}} + + + + + + + + + + \ No newline at end of file diff --git a/pages/component/newCalendar/index.wxss b/pages/component/newCalendar/index.wxss new file mode 100644 index 0000000..c1fabb5 --- /dev/null +++ b/pages/component/newCalendar/index.wxss @@ -0,0 +1,168 @@ +/* components/xx-calendar/xx-calendar.wxss */ +/* 头部样式start */ +.title-wrap{ + background-color: #F2F2F2; + /* padding-top: 20rpx; */ + /* border-bottom: 1px solid #D4DBDC; */ + /* padding-bottom: 10rpx; */ + /* width: 697rpx; */ + margin: 0 auto; + padding: 37rpx 22rpx 40rpx; +} +.change-date{ + display: flex; + justify-content: space-between; + align-items: center; +} +.change-date image{ + width: 50rpx; + height: 50rpx; + transform: scale(1.5); + display: flex; +} +.year-mouth{ + margin: 0 60rpx; + font-weight: bold; + font-size: 35rpx; + color: #000; +} +.week{ + width: 100%; + display: flex; + justify-content: space-between; + font-size: 24rpx; + margin-top: 30rpx; + color: #1F1F1F; +} +.week text{ + flex: 1; + text-align: center; +} +/* 头部样式end */ +/* 日期区域样式start */ +.date-wrap{ + /* height: 500rpx; */ + width: 697rpx; + margin: 0 auto; + background-color: #fff; + display: flex; + flex-wrap: wrap; + border-radius: 20rpx; +} +.mouth-date{ + display: flex; + font-size: 24rpx; + flex-direction: column; + align-items: center; + width: calc(100% / 7); + /* border-bottom: 1rpx solid rgb(229, 234, 235); */ + padding-top: 10rpx; +} +.last-mouth text,.next-mouth text{ + opacity: 0; +} +.mouth-date .day{ + display: flex; + flex-direction: column; + align-items: center; + color: #1F1F1F; + +} +.mouth-date .day-nongli{ + font-size: 18rpx; + color: #888888; + margin-bottom: 6rpx; +} +.mouth-date .color{ + color: #8096F0; +} +.mouth-date .day-dot{ + width: 8rpx; + height: 8rpx; + border-radius: 50%; + background-color: #8096F0; +} +.mouth-date .day-box{ + border-radius: 27rpx; + width: 86rpx; + padding-top: 10rpx; + display: flex; + flex-direction: column; + align-items: center; + margin-bottom: 10rpx; + padding-bottom: 8rpx; +} +.mouth-date .active{ + background-color: #0B898E; +} +.mouth-date .active text{ + color: #fff; +} +.mouth-date .active .day-text{ + font-weight: 600; +} +.not-dot{ + width: 8rpx; + height: 8rpx; +} +.holiday-box{ + background-color: #ffecda; + border-radius: 10px; +} +.holiday { + /* background-color: #ffecda; */ + position: relative; + /* color: #e1856e; */ +} +.holiday .xiu { + font-size: 6px; + position: absolute; + right: 5px; + top: 5px; +} +.holiday .day-nongli { + /* color: #e1856e; */ +} + + .footer{ + display: flex; + justify-content: center; + width: 100%; + height: 54rpx; + color:#adb1b3; + font-size:24rpx; +} + .footer .arrow{ + width:22rpx; + height: 34rpx; +} + +.footer image { + width: 20rpx; + height: 20rpx; + margin: 12rpx auto 20rpx; +} + +.arrow-left{ + transform-origin:50% 50%; + transform: rotate(180deg) +} +.arrow-down{ + transform-origin:50% 50%; + transform: rotate(90deg) +} +.arrow-up{ + transform-origin:50% 50%; + transform: rotate(-90deg) +} +.next, .prev { + display: flex; + align-items: baseline; + font-size: 27rpx; + font-weight: 500; + color: #000; +} +.next image, .prev image { + width: 20rpx; + height: 20rpx; +} diff --git a/pages/component/newCalendar/xx_calendar.js b/pages/component/newCalendar/xx_calendar.js new file mode 100644 index 0000000..3e6774f --- /dev/null +++ b/pages/component/newCalendar/xx_calendar.js @@ -0,0 +1,986 @@ +const dayjs = require('dayjs') +const ww = require('chinese-workday'); +/** + +* @1900-2100区间内的公历、农历互转 + +* @charset UTF-8 + +* @Author jiangjiazhi + +* @公历转农历:calendar.solar2lunar(1987,11,01); //[you can ignore params of prefix 0] + +* @农历转公历:calendar.lunar2solar(1987,09,10); //[you can ignore params of prefix 0] + +*/ + + + +/** + +* 农历1900-2100的润大小信息表 + +* @Array Of Property + +* @return Hex + +*/ + +var lunarInfo = [0x04bd8, 0x04ae0, 0x0a570, 0x054d5, 0x0d260, 0x0d950, 0x16554, 0x056a0, 0x09ad0, 0x055d2, // 1900-1909 + + 0x04ae0, 0x0a5b6, 0x0a4d0, 0x0d250, 0x1d255, 0x0b540, 0x0d6a0, 0x0ada2, 0x095b0, 0x14977, // 1910-1919 + + 0x04970, 0x0a4b0, 0x0b4b5, 0x06a50, 0x06d40, 0x1ab54, 0x02b60, 0x09570, 0x052f2, 0x04970, // 1920-1929 + + 0x06566, 0x0d4a0, 0x0ea50, 0x06e95, 0x05ad0, 0x02b60, 0x186e3, 0x092e0, 0x1c8d7, 0x0c950, // 1930-1939 + + 0x0d4a0, 0x1d8a6, 0x0b550, 0x056a0, 0x1a5b4, 0x025d0, 0x092d0, 0x0d2b2, 0x0a950, 0x0b557, // 1940-1949 + + 0x06ca0, 0x0b550, 0x15355, 0x04da0, 0x0a5b0, 0x14573, 0x052b0, 0x0a9a8, 0x0e950, 0x06aa0, // 1950-1959 + + 0x0aea6, 0x0ab50, 0x04b60, 0x0aae4, 0x0a570, 0x05260, 0x0f263, 0x0d950, 0x05b57, 0x056a0, // 1960-1969 + + 0x096d0, 0x04dd5, 0x04ad0, 0x0a4d0, 0x0d4d4, 0x0d250, 0x0d558, 0x0b540, 0x0b6a0, 0x195a6, // 1970-1979 + + 0x095b0, 0x049b0, 0x0a974, 0x0a4b0, 0x0b27a, 0x06a50, 0x06d40, 0x0af46, 0x0ab60, 0x09570, // 1980-1989 + + 0x04af5, 0x04970, 0x064b0, 0x074a3, 0x0ea50, 0x06b58, 0x05ac0, 0x0ab60, 0x096d5, 0x092e0, // 1990-1999 + + 0x0c960, 0x0d954, 0x0d4a0, 0x0da50, 0x07552, 0x056a0, 0x0abb7, 0x025d0, 0x092d0, 0x0cab5, // 2000-2009 + + 0x0a950, 0x0b4a0, 0x0baa4, 0x0ad50, 0x055d9, 0x04ba0, 0x0a5b0, 0x15176, 0x052b0, 0x0a930, // 2010-2019 + + 0x07954, 0x06aa0, 0x0ad50, 0x05b52, 0x04b60, 0x0a6e6, 0x0a4e0, 0x0d260, 0x0ea65, 0x0d530, // 2020-2029 + + 0x05aa0, 0x076a3, 0x096d0, 0x04afb, 0x04ad0, 0x0a4d0, 0x1d0b6, 0x0d250, 0x0d520, 0x0dd45, // 2030-2039 + + 0x0b5a0, 0x056d0, 0x055b2, 0x049b0, 0x0a577, 0x0a4b0, 0x0aa50, 0x1b255, 0x06d20, 0x0ada0, // 2040-2049 + + 0x14b63, 0x09370, 0x049f8, 0x04970, 0x064b0, 0x168a6, 0x0ea50, 0x06b20, 0x1a6c4, 0x0aae0, // 2050-2059 + + 0x0a2e0, 0x0d2e3, 0x0c960, 0x0d557, 0x0d4a0, 0x0da50, 0x05d55, 0x056a0, 0x0a6d0, 0x055d4, // 2060-2069 + + 0x052d0, 0x0a9b8, 0x0a950, 0x0b4a0, 0x0b6a6, 0x0ad50, 0x055a0, 0x0aba4, 0x0a5b0, 0x052b0, // 2070-2079 + + 0x0b273, 0x06930, 0x07337, 0x06aa0, 0x0ad50, 0x14b55, 0x04b60, 0x0a570, 0x054e4, 0x0d160, // 2080-2089 + + 0x0e968, 0x0d520, 0x0daa0, 0x16aa6, 0x056d0, 0x04ae0, 0x0a9d4, 0x0a2d0, 0x0d150, 0x0f252, // 2090-2099 + + 0x0d520 +] // 2100 + + + +var solarMonth = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31] + + + +/** + + * 天干地支之天干速查表 + * @Array Of Property trans['甲','乙','丙','丁','戊','己','庚','辛','壬','癸'] + * @return Cn string + */ +var Gan = ['\u7532', '\u4e59', '\u4e19', '\u4e01', '\u620a', '\u5df1', '\u5e9a', '\u8f9b', '\u58ec', '\u7678'] + + + +/** + + * 天干地支之地支速查表 + * @Array Of Property + * @trans['子','丑','寅','卯','辰','巳','午','未','申','酉','戌','亥'] + * @return Cn string + */ +var Zhi = ['\u5b50', '\u4e11', '\u5bc5', '\u536f', '\u8fb0', '\u5df3', '\u5348', '\u672a', '\u7533', '\u9149', '\u620c', '\u4ea5'] + + + +/** + + * 天干地支之地支速查表<=>生肖 + * @Array Of Property + * @trans['鼠','牛','虎','兔','龙','蛇','马','羊','猴','鸡','狗','猪'] + * @return Cn string + */ +var Animals = ['\u9f20', '\u725b', '\u864e', '\u5154', '\u9f99', '\u86c7', '\u9a6c', '\u7f8a', '\u7334', '\u9e21', '\u72d7', '\u732a'] + + + +/** + + * 24节气速查表 + * @Array Of Property + * @trans['小寒','大寒','立春','雨水','惊蛰','春分','清明','谷雨','立夏','小满','芒种','夏至','小暑','大暑','立秋','处暑','白露','秋分','寒露','霜降','立冬','小雪','大雪','冬至'] + * @return Cn string + */ +var solarTerm = ['\u5c0f\u5bd2', '\u5927\u5bd2', '\u7acb\u6625', '\u96e8\u6c34', '\u60ca\u86f0', '\u6625\u5206', '\u6e05\u660e', '\u8c37\u96e8', '\u7acb\u590f', '\u5c0f\u6ee1', '\u8292\u79cd', '\u590f\u81f3', '\u5c0f\u6691', '\u5927\u6691', '\u7acb\u79cb', '\u5904\u6691', '\u767d\u9732', '\u79cb\u5206', '\u5bd2\u9732', '\u971c\u964d', '\u7acb\u51ac', '\u5c0f\u96ea', '\u5927\u96ea', '\u51ac\u81f3'] + + + +/** + + * 1900-2100各年的24节气日期速查表 + * @Array Of Property + * @return 0x string For splice + */ +var sTermInfo = ['9778397bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bcf97c3598082c95f8c965cc920f', + + '97bd0b06bdb0722c965ce1cfcc920f', 'b027097bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e', + + '97bcf97c359801ec95f8c965cc920f', '97bd0b06bdb0722c965ce1cfcc920f', 'b027097bd097c36b0b6fc9274c91aa', + + '97b6b97bd19801ec9210c965cc920e', '97bcf97c359801ec95f8c965cc920f', '97bd0b06bdb0722c965ce1cfcc920f', + + 'b027097bd097c36b0b6fc9274c91aa', '9778397bd19801ec9210c965cc920e', '97b6b97bd19801ec95f8c965cc920f', + + '97bd09801d98082c95f8e1cfcc920f', '97bd097bd097c36b0b6fc9210c8dc2', '9778397bd197c36c9210c9274c91aa', + + '97b6b97bd19801ec95f8c965cc920e', '97bd09801d98082c95f8e1cfcc920f', '97bd097bd097c36b0b6fc9210c8dc2', + + '9778397bd097c36c9210c9274c91aa', '97b6b97bd19801ec95f8c965cc920e', '97bcf97c3598082c95f8e1cfcc920f', + + '97bd097bd097c36b0b6fc9210c8dc2', '9778397bd097c36c9210c9274c91aa', '97b6b97bd19801ec9210c965cc920e', + + '97bcf97c3598082c95f8c965cc920f', '97bd097bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa', + + '97b6b97bd19801ec9210c965cc920e', '97bcf97c3598082c95f8c965cc920f', '97bd097bd097c35b0b6fc920fb0722', + + '9778397bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bcf97c359801ec95f8c965cc920f', + + '97bd097bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e', + + '97bcf97c359801ec95f8c965cc920f', '97bd097bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa', + + '97b6b97bd19801ec9210c965cc920e', '97bcf97c359801ec95f8c965cc920f', '97bd097bd07f595b0b6fc920fb0722', + + '9778397bd097c36b0b6fc9210c8dc2', '9778397bd19801ec9210c9274c920e', '97b6b97bd19801ec95f8c965cc920f', + + '97bd07f5307f595b0b0bc920fb0722', '7f0e397bd097c36b0b6fc9210c8dc2', '9778397bd097c36c9210c9274c920e', + + '97b6b97bd19801ec95f8c965cc920f', '97bd07f5307f595b0b0bc920fb0722', '7f0e397bd097c36b0b6fc9210c8dc2', + + '9778397bd097c36c9210c9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bd07f1487f595b0b0bc920fb0722', + + '7f0e397bd097c36b0b6fc9210c8dc2', '9778397bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e', + + '97bcf7f1487f595b0b0bb0b6fb0722', '7f0e397bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa', + + '97b6b97bd19801ec9210c965cc920e', '97bcf7f1487f595b0b0bb0b6fb0722', '7f0e397bd097c35b0b6fc920fb0722', + + '9778397bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bcf7f1487f531b0b0bb0b6fb0722', + + '7f0e397bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e', + + '97bcf7f1487f531b0b0bb0b6fb0722', '7f0e397bd07f595b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa', + + '97b6b97bd19801ec9210c9274c920e', '97bcf7f0e47f531b0b0bb0b6fb0722', '7f0e397bd07f595b0b0bc920fb0722', + + '9778397bd097c36b0b6fc9210c91aa', '97b6b97bd197c36c9210c9274c920e', '97bcf7f0e47f531b0b0bb0b6fb0722', + + '7f0e397bd07f595b0b0bc920fb0722', '9778397bd097c36b0b6fc9210c8dc2', '9778397bd097c36c9210c9274c920e', + + '97b6b7f0e47f531b0723b0b6fb0722', '7f0e37f5307f595b0b0bc920fb0722', '7f0e397bd097c36b0b6fc9210c8dc2', + + '9778397bd097c36b0b70c9274c91aa', '97b6b7f0e47f531b0723b0b6fb0721', '7f0e37f1487f595b0b0bb0b6fb0722', + + '7f0e397bd097c35b0b6fc9210c8dc2', '9778397bd097c36b0b6fc9274c91aa', '97b6b7f0e47f531b0723b0b6fb0721', + + '7f0e27f1487f595b0b0bb0b6fb0722', '7f0e397bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa', + + '97b6b7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e397bd097c35b0b6fc920fb0722', + + '9778397bd097c36b0b6fc9274c91aa', '97b6b7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722', + + '7f0e397bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa', '97b6b7f0e47f531b0723b0b6fb0721', + + '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e397bd07f595b0b0bc920fb0722', '9778397bd097c36b0b6fc9274c91aa', + + '97b6b7f0e47f531b0723b0787b0721', '7f0e27f0e47f531b0b0bb0b6fb0722', '7f0e397bd07f595b0b0bc920fb0722', + + '9778397bd097c36b0b6fc9210c91aa', '97b6b7f0e47f149b0723b0787b0721', '7f0e27f0e47f531b0723b0b6fb0722', + + '7f0e397bd07f595b0b0bc920fb0722', '9778397bd097c36b0b6fc9210c8dc2', '977837f0e37f149b0723b0787b0721', + + '7f07e7f0e47f531b0723b0b6fb0722', '7f0e37f5307f595b0b0bc920fb0722', '7f0e397bd097c35b0b6fc9210c8dc2', + + '977837f0e37f14998082b0787b0721', '7f07e7f0e47f531b0723b0b6fb0721', '7f0e37f1487f595b0b0bb0b6fb0722', + + '7f0e397bd097c35b0b6fc9210c8dc2', '977837f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721', + + '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e397bd097c35b0b6fc920fb0722', '977837f0e37f14998082b0787b06bd', + + '7f07e7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e397bd097c35b0b6fc920fb0722', + + '977837f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722', + + '7f0e397bd07f595b0b0bc920fb0722', '977837f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721', + + '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e397bd07f595b0b0bc920fb0722', '977837f0e37f14998082b0787b06bd', + + '7f07e7f0e47f149b0723b0787b0721', '7f0e27f0e47f531b0b0bb0b6fb0722', '7f0e397bd07f595b0b0bc920fb0722', + + '977837f0e37f14998082b0723b06bd', '7f07e7f0e37f149b0723b0787b0721', '7f0e27f0e47f531b0723b0b6fb0722', + + '7f0e397bd07f595b0b0bc920fb0722', '977837f0e37f14898082b0723b02d5', '7ec967f0e37f14998082b0787b0721', + + '7f07e7f0e47f531b0723b0b6fb0722', '7f0e37f1487f595b0b0bb0b6fb0722', '7f0e37f0e37f14898082b0723b02d5', + + '7ec967f0e37f14998082b0787b0721', '7f07e7f0e47f531b0723b0b6fb0722', '7f0e37f1487f531b0b0bb0b6fb0722', + + '7f0e37f0e37f14898082b0723b02d5', '7ec967f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721', + + '7f0e37f1487f531b0b0bb0b6fb0722', '7f0e37f0e37f14898082b072297c35', '7ec967f0e37f14998082b0787b06bd', + + '7f07e7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e37f0e37f14898082b072297c35', + + '7ec967f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722', + + '7f0e37f0e366aa89801eb072297c35', '7ec967f0e37f14998082b0787b06bd', '7f07e7f0e47f149b0723b0787b0721', + + '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e37f0e366aa89801eb072297c35', '7ec967f0e37f14998082b0723b06bd', + + '7f07e7f0e47f149b0723b0787b0721', '7f0e27f0e47f531b0723b0b6fb0722', '7f0e37f0e366aa89801eb072297c35', + + '7ec967f0e37f14998082b0723b06bd', '7f07e7f0e37f14998083b0787b0721', '7f0e27f0e47f531b0723b0b6fb0722', + + '7f0e37f0e366aa89801eb072297c35', '7ec967f0e37f14898082b0723b02d5', '7f07e7f0e37f14998082b0787b0721', + + '7f07e7f0e47f531b0723b0b6fb0722', '7f0e36665b66aa89801e9808297c35', '665f67f0e37f14898082b0723b02d5', + + '7ec967f0e37f14998082b0787b0721', '7f07e7f0e47f531b0723b0b6fb0722', '7f0e36665b66a449801e9808297c35', + + '665f67f0e37f14898082b0723b02d5', '7ec967f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721', + + '7f0e36665b66a449801e9808297c35', '665f67f0e37f14898082b072297c35', '7ec967f0e37f14998082b0787b06bd', + + '7f07e7f0e47f531b0723b0b6fb0721', '7f0e26665b66a449801e9808297c35', '665f67f0e37f1489801eb072297c35', + + '7ec967f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722' +] + + + +/** + + * 数字转中文速查表 + * @Array Of Property + * @trans ['日','一','二','三','四','五','六','七','八','九','十'] + * @return Cn string + */ +var nStr1 = ['\u65e5', '\u4e00', '\u4e8c', '\u4e09', '\u56db', '\u4e94', '\u516d', '\u4e03', '\u516b', '\u4e5d', '\u5341'] + + + +/** + + * 日期转农历称呼速查表 + * @Array Of Property + * @trans ['初','十','廿','卅'] + * @return Cn string + */ +var nStr2 = ['\u521d', '\u5341', '\u5eff', '\u5345'] + + + +/** + + * 月份转农历称呼速查表 + * @Array Of Property + * @trans ['正','一','二','三','四','五','六','七','八','九','十','冬','腊'] + * @return Cn string + */ +var nStr3 = ['\u6b63', '\u4e8c', '\u4e09', '\u56db', '\u4e94', '\u516d', '\u4e03', '\u516b', '\u4e5d', '\u5341', '\u51ac', '\u814a'] + + + +/** + + * 返回农历y年一整年的总天数 + * @param lunar Year + * @return Number + * @eg:var count = calendar.lYearDays(1987) ;//count=387 + */ +function lYearDays(y) { + var i + + var sum = 348 + + for (i = 0x8000; i > 0x8; i >>= 1) { + sum += (lunarInfo[y - 1900] & i) ? 1 : 0 + } + return (sum + leapDays(y)) + +} + + + +/** + + * 返回农历y年闰月是哪个月;若y年没有闰月 则返回0 + * @param lunar Year + * @return Number (0-12) + * @eg:var leapMonth = calendar.leapMonth(1987) ;//leapMonth=6 + */ +function leapMonth(y) { // 闰字编码 \u95f0 + + return (lunarInfo[y - 1900] & 0xf) + +} + + + +/** + + * 返回农历y年闰月的天数 若该年没有闰月则返回0 + * @param lunar Year + * @return Number (0、29、30) + * @eg:var leapMonthDay = calendar.leapDays(1987) ;//leapMonthDay=29 + */ +function leapDays(y) { + if (leapMonth(y)) { + return ((lunarInfo[y - 1900] & 0x10000) ? 30 : 29) + + } + + return (0) + +} + + + +/** + + * 返回农历y年m月(非闰月)的总天数,计算m为闰月时的天数请使用leapDays方法 + * @param lunar Year + * @return Number (-1、29、30) + * @eg:var MonthDay = calendar.monthDays(1987,9) ;//MonthDay=29 + */ +function monthDays(y, m) { + if (m > 12 || m < 1) { + return -1 + } // 月份参数从1至12,参数错误返回-1 + + return ((lunarInfo[y - 1900] & (0x10000 >> m)) ? 30 : 29) +} + + + +/** + + * 返回公历(!)y年m月的天数 + * @param solar Year + * @return Number (-1、28、29、30、31) + * @eg:var solarMonthDay = calendar.leapDays(1987) ;//solarMonthDay=30 + */ +function solarDays(y, m) { + if (m > 12 || m < 1) { + return -1 + } // 若参数错误 返回-1 + + var ms = m - 1 + + if (ms === 1) { // 2月份的闰平规律测算后确认返回28或29 + + return (((y % 4 === 0) && (y % 100 !== 0) || (y % 400 === 0)) ? 29 : 28) + + } else { + return (solarMonth[ms]) + + } + +} + + + +/** + + * 农历年份转换为干支纪年 + * @param lYear 农历年的年份数 + * @return Cn string + */ +function toGanZhiYear(lYear) { + var ganKey = (lYear - 3) % 10 + + var zhiKey = (lYear - 3) % 12 + + if (ganKey === 0) ganKey = 10 // 如果余数为0则为最后一个天干 + + if (zhiKey === 0) zhiKey = 12 // 如果余数为0则为最后一个地支 + + return Gan[ganKey - 1] + Zhi[zhiKey - 1] + +} + + + +/** + + * 公历月、日判断所属星座 + * @param cMonth [description] + * @param cDay [description] + * @return Cn string + */ +function toAstro(cMonth, cDay) { + var s = '\u9b54\u7faf\u6c34\u74f6\u53cc\u9c7c\u767d\u7f8a\u91d1\u725b\u53cc\u5b50\u5de8\u87f9\u72ee\u5b50\u5904\u5973\u5929\u79e4\u5929\u874e\u5c04\u624b\u9b54\u7faf' + + var arr = [20, 19, 21, 21, 21, 22, 23, 23, 23, 23, 22, 22] + + return s.substr(cMonth * 2 - (cDay < arr[cMonth - 1] ? 2 : 0), 2) + '\u5ea7' // 座 + +} + + + +/** + + * 传入offset偏移量返回干支 + * @param offset 相对甲子的偏移量 + * @return Cn string + */ +function toGanZhi(offset) { + return Gan[offset % 10] + Zhi[offset % 12] + +} + + + +/** + + * 传入公历(!)y年获得该年第n个节气的公历日期 + * @param y公历年(1900-2100);n二十四节气中的第几个节气(1~24);从n=1(小寒)算起 + * @return day Number + * @eg:var _24 = calendar.getTerm(1987,3) ;//_24=4;意即1987年2月4日立春 + */ +function getTerm(y, n) { + if (y < 1900 || y > 2100) { + return -1 + } + + if (n < 1 || n > 24) { + return -1 + } + + var _table = sTermInfo[y - 1900] + + var _info = [ + + parseInt('0x' + _table.substr(0, 5)).toString(), + + parseInt('0x' + _table.substr(5, 5)).toString(), + + parseInt('0x' + _table.substr(10, 5)).toString(), + + parseInt('0x' + _table.substr(15, 5)).toString(), + + parseInt('0x' + _table.substr(20, 5)).toString(), + + parseInt('0x' + _table.substr(25, 5)).toString() + + ] + + var _calday = [ + + _info[0].substr(0, 1), + + _info[0].substr(1, 2), + + _info[0].substr(3, 1), + + _info[0].substr(4, 2), + + + + _info[1].substr(0, 1), + + _info[1].substr(1, 2), + + _info[1].substr(3, 1), + + _info[1].substr(4, 2), + + + + _info[2].substr(0, 1), + + _info[2].substr(1, 2), + + _info[2].substr(3, 1), + + _info[2].substr(4, 2), + + + + _info[3].substr(0, 1), + + _info[3].substr(1, 2), + + _info[3].substr(3, 1), + + _info[3].substr(4, 2), + + + + _info[4].substr(0, 1), + + _info[4].substr(1, 2), + + _info[4].substr(3, 1), + + _info[4].substr(4, 2), + + + + _info[5].substr(0, 1), + + _info[5].substr(1, 2), + + _info[5].substr(3, 1), + + _info[5].substr(4, 2) + + ] + + return parseInt(_calday[n - 1]) + +} + + + +/** + + * 传入农历数字月份返回汉语通俗表示法 + * @param lunar month + * @return Cn string + * @eg:var cnMonth = calendar.toChinaMonth(12) ;//cnMonth='腊月' + */ +function toChinaMonth(m) { // 月 => \u6708 + + if (m > 12 || m < 1) { + return -1 + } // 若参数错误 返回-1 + + var s = nStr3[m - 1] + + s += '\u6708' // 加上月字 + + return s + +} + + + +/** + + * 传入农历日期数字返回汉字表示法 + * @param lunar day + * @return Cn string + * @eg:var cnDay = calendar.toChinaDay(21) ;//cnMonth='廿一' + */ +function toChinaDay(d) { // 日 => \u65e5 + + var s + + switch (d) { + case 10: + + s = '\u521d\u5341' + + break + + case 20: + + s = '\u4e8c\u5341' + + break + + case 30: + + s = '\u4e09\u5341' + + break + + default: + + s = nStr2[Math.floor(d / 10)] + + s += nStr1[d % 10] + + } + + return (s) + +} + + + +/** + + * 年份转生肖[!仅能大致转换] => 精确划分生肖分界线是“立春” + * @param y year + * @return Cn string + * @eg:var animal = calendar.getAnimal(1987) ;//animal='兔' + */ +function getAnimal(y) { + return Animals[(y - 4) % 12] + +} + + + +/** + + * 传入阳历年月日获得详细的公历、农历object信息 <=>JSON + * @param y solar year + * @param m solar month + * @param d solar day + * @return JSON object + * @eg:console.log(calendar.solar2lunar(1987,11,01)); + */ +function solar2lunar(y, m, d) { // 参数区间1900.1.31~2100.12.31 + + // 年份限定、上限 + + if (y < 1900 || y > 2100) { + return -1 // undefined转换为数字变为NaN + + } + + // 公历传参最下限 + + if (y === 1900 && m === 1 && d < 31) { + return -1 + + } + + // 未传参 获得当天 + + var objDate = null + + if (!y) { + objDate = new Date() + + } else { + objDate = new Date(y, parseInt(m) - 1, d) + + } + + var i + + var leap = 0 + + var temp = 0 + + // 修正ymd参数 + + y = objDate.getFullYear() + + m = objDate.getMonth() + 1 + + d = objDate.getDate() + + var offset = (Date.UTC(objDate.getFullYear(), objDate.getMonth(), objDate.getDate()) - Date.UTC(1900, 0, 31)) / 86400000 + + for (i = 1900; i < 2101 && offset > 0; i++) { + temp = lYearDays(i) + + offset -= temp + + } + + if (offset < 0) { + offset += temp; + i-- + + } + + + + // 是否今天 + + var isTodayObj = new Date() + + var isToday = false + + if (isTodayObj.getFullYear() === y && isTodayObj.getMonth() + 1 === m && isTodayObj.getDate() === d) { + isToday = true + + } + + // 星期几 + + var nWeek = objDate.getDay() + + var cWeek = nStr1[nWeek] + + // 数字表示周几顺应天朝周一开始的惯例 + + if (nWeek === 0) { + nWeek = 7 + + } + + // 农历年 + + var year = i + + leap = leapMonth(i) // 闰哪个月 + + var isLeap = false + + + + // 效验闰月 + + for (i = 1; i < 13 && offset > 0; i++) { + // 闰月 + + if (leap > 0 && i === (leap + 1) && isLeap === false) { + --i + + isLeap = true; + temp = leapDays(year) // 计算农历闰月天数 + + } else { + temp = monthDays(year, i) // 计算农历普通月天数 + + } + + // 解除闰月 + + if (isLeap === true && i === (leap + 1)) { + isLeap = false + } + + offset -= temp + + } + + // 闰月导致数组下标重叠取反 + + if (offset === 0 && leap > 0 && i === leap + 1) { + if (isLeap) { + isLeap = false + + } else { + isLeap = true; + --i + + } + + } + + if (offset < 0) { + offset += temp; + --i + + } + + // 农历月 + + var month = i + + // 农历日 + + var day = offset + 1 + + // 天干地支处理 + + var sm = m - 1 + + var gzY = toGanZhiYear(year) + + + + // 当月的两个节气 + + // bugfix-2017-7-24 11:03:38 use lunar Year Param `y` Not `year` + + var firstNode = getTerm(y, (m * 2 - 1)) // 返回当月「节」为几日开始 + + var secondNode = getTerm(y, (m * 2)) // 返回当月「节」为几日开始 + + + + // 依据12节气修正干支月 + + var gzM = toGanZhi((y - 1900) * 12 + m + 11) + + if (d >= firstNode) { + gzM = toGanZhi((y - 1900) * 12 + m + 12) + + } + + // 传入的日期的节气与否 + + var isTerm = false + + var Term = null + + if (firstNode === d) { + isTerm = true + + Term = solarTerm[m * 2 - 2] + + } + + if (secondNode === d) { + isTerm = true + + Term = solarTerm[m * 2 - 1] + + } + + // 日柱 当月一日与 1900/1/1 相差天数 + + var dayCyclical = Date.UTC(y, sm, 1, 0, 0, 0, 0) / 86400000 + 25567 + 10 + + var gzD = toGanZhi(dayCyclical + d - 1) + + // 该日期所属的星座 + + var astro = toAstro(m, d) + + return { + 'lYear': year, + 'lMonth': month, + 'lDay': day, + 'Animal': getAnimal(year), + 'IMonthCn': (isLeap ? '\u95f0' : '') + toChinaMonth(month), + 'IDayCn': toChinaDay(day), + 'cYear': y, + 'cMonth': m, + 'cDay': d, + 'gzYear': gzY, + 'gzMonth': gzM, + 'gzDay': gzD, + 'isToday': isToday, + 'isLeap': isLeap, + 'nWeek': nWeek, + 'ncWeek': '\u661f\u671f' + cWeek, + 'isTerm': isTerm, + 'Term': Term, + 'astro': astro + } + +} + + + + +var calendarFormatter = { + // 传入阳历年月日获得详细的公历、农历object信息 <=>JSON + + solar2lunar: function (y, m, d) { // 参数区间1900.1.31~2100.12.31 + + return solar2lunar(y, m, d) + + }, + + isHoliday: function(day) { + const isHoliday = ww.isHoliday; //是否是休息日 + return isHoliday(day) + }, + + getFestival: function(day) { + const getFestival = ww.getFestival; // 获取今天是什么节日 + let festival = getFestival(day) + return festival + }, + + /** + + * 传入农历年月日以及传入的月份是否闰月获得详细的公历、农历object信息 <=>JSON + * @param y lunar year + * @param m lunar month + * @param d lunar day + * @param isLeapMonth lunar month is leap or not.[如果是农历闰月第四个参数赋值true即可] + * @return JSON object + * @eg:console.log(calendar.lunar2solar(1987,9,10)); + */ + lunar2solar: function (y, m, d, isLeapMonth) { // 参数区间1900.1.31~2100.12.1 + + isLeapMonth = !!isLeapMonth + + if (isLeapMonth && (leapMonth !== m)) { + return -1 + } // 传参要求计算该闰月公历 但该年得出的闰月与传参的月份并不同 + + if (y === 2100 && m === 12 && d > 1 || y === 1900 && m === 1 && d < 31) { + return -1 + } // 超出了最大极限值 + + var day = monthDays(y, m) + + var _day = day + + // bugFix 2016-9-25 + + // if month is leap, _day use leapDays method + + if (isLeapMonth) { + _day = leapDays(y, m) + + } + + if (y < 1900 || y > 2100 || d > _day) { + return -1 + } // 参数合法性效验 + + + + // 计算农历的时间差 + + var offset = 0 + + for (var i = 1900; i < y; i++) { + offset += lYearDays(i) + + } + + var leap = 0 + + var isAdd = false + + for (i = 1; i < m; i++) { + leap = leapMonth(y) + + if (!isAdd) { // 处理闰月 + + if (leap <= i && leap > 0) { + offset += leapDays(y); + isAdd = true + + } + + } + + offset += monthDays(y, i) + + } + + // 转换闰月农历 需补充该年闰月的前一个月的时差 + + if (isLeapMonth) { + offset += day + } + + // 1900年农历正月一日的公历时间为1900年1月30日0时0分0秒(该时间也是本农历的最开始起始点) + + var stmap = Date.UTC(1900, 1, 30, 0, 0, 0) + + var calObj = new Date((offset + d - 31) * 86400000 + stmap) + + var cY = calObj.getUTCFullYear() + + var cM = calObj.getUTCMonth() + 1 + + var cD = calObj.getUTCDate() + + return solar2lunar(cY, cM, cD) + + } + +} + +export default calendarFormatter \ No newline at end of file diff --git a/pages/list/activitynew/index.js b/pages/list/activitynew/index.js index 0fe9198..e70edcf 100644 --- a/pages/list/activitynew/index.js +++ b/pages/list/activitynew/index.js @@ -28,8 +28,9 @@ Page({ keywords: "", realKeywords: "", movieAreas:[], - movieArea:0 - + movieArea:0, + defaultDate: "2020-3-31", + startDay: "sunday" }, /** diff --git a/pages/list/activitynew/index.json b/pages/list/activitynew/index.json index 721f32c..1825d8d 100644 --- a/pages/list/activitynew/index.json +++ b/pages/list/activitynew/index.json @@ -1,6 +1,7 @@ { "usingComponents": { "title-header": "/pages/component/TitleHeader", - "common-image":"/pages/component/commonImage/index" + "common-image":"/pages/component/commonImage/index", + "new-calendar":"/pages/component/newCalendar" } } \ No newline at end of file diff --git a/pages/list/museum/index.js b/pages/list/museum/index.js index 1de8b0c..be9df22 100644 --- a/pages/list/museum/index.js +++ b/pages/list/museum/index.js @@ -26,20 +26,22 @@ Page({ let item = e.currentTarget.dataset.item; console.log(item); if (item.id==5461) { - wx.navigateToMiniProgram({ - appId: 'wxfef80ee1ab7e58a2', - path: 'pages/inners/main' - }) + // wx.navigateToMiniProgram({ + // appId: 'wxfef80ee1ab7e58a2', + // path: 'pages/inners/main' + // }) return; } util.gotoDetail(item,1); }, gotoDetailOther: function(e) { - wx.navigateToMiniProgram({ - appId: 'wxfef80ee1ab7e58a2', - path: 'pages/index/index' - }) + // 全都到其他小程序预约--新跳转地址 + // wx.navigateToMiniProgram({ + // appId: 'wxfef80ee1ab7e58a2', + // path: 'pages/index/index' + // }) + //西馆单独预约 // if (e.currentTarget.dataset.id==44703) { // wx.navigateToMiniProgram({ // appId: 'wxfef80ee1ab7e58a2', @@ -47,9 +49,10 @@ Page({ // }) // return; // } - // wx.navigateTo({ - // url: '/pages/info/museumInfo/index?id='+e.currentTarget.dataset.id - // }) + //本平台预约 + wx.navigateTo({ + url: '/pages/info/museumInfo/index?id='+e.currentTarget.dataset.id + }) }, search:function(e){ this.setData(e.detail); diff --git a/pages/list/museum/index.wxml b/pages/list/museum/index.wxml index 9ce66e8..c52327f 100644 --- a/pages/list/museum/index.wxml +++ b/pages/list/museum/index.wxml @@ -14,7 +14,7 @@ {{item.title}} - + 博物馆本馆 预约 diff --git a/project.config.json b/project.config.json index 97cb0a5..fab7ecc 100644 --- a/project.config.json +++ b/project.config.json @@ -16,6 +16,12 @@ "nodeModules": false, "autoAudits": false, "showShadowRootInWxmlPanel": true, + "packNpmRelationList": [ + { + "packageJsonPath": "./package.json", + "miniprogramNpmDistDir": "./miniprogram/" + } + ], "scopeDataCheck": false, "uglifyFileName": false, "checkInvalidKey": true, @@ -37,7 +43,6 @@ "userConfirmedUseCompilerModuleSwitch": false, "userConfirmedBundleSwitch": false, "packNpmManually": false, - "packNpmRelationList": [], "minifyWXSS": true, "lazyloadPlaceholderEnable": false, "useStaticServer": true, From ad6420f3adec04b612de6baa609677e379725f84 Mon Sep 17 00:00:00 2001 From: shaojing <2901156235@qq.com> Date: Tue, 16 Apr 2024 09:04:57 +0800 Subject: [PATCH 136/471] =?UTF-8?q?=E5=90=AF=E5=8A=A8=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 2 +- pages/index/index.js | 47 ++++++++++++++++++++++++++++++------------ pages/index/index.wxml | 19 ++++++++++++++--- pages/index/index.wxss | 46 +++++++++++++++++++++++++++++++++++++---- 4 files changed, 93 insertions(+), 21 deletions(-) diff --git a/app.js b/app.js index 5e58be0..eab8757 100644 --- a/app.js +++ b/app.js @@ -21,7 +21,7 @@ App({ unique_key: "wechatxcx" }).then(res => { let data = JSON.parse(res.data); - data.isTest = data.isTest107? true : false; + data.isTest = data.isTest108? true : false; this.globalData.configJson = data }).then(() => { // 获取ui配置文件 diff --git a/pages/index/index.js b/pages/index/index.js index c6f3103..c1c7e0d 100644 --- a/pages/index/index.js +++ b/pages/index/index.js @@ -34,11 +34,12 @@ Page({ activeBannerIndex: 0, smBannerIndex: 0, indexSeason: {}, - startList: [], // 启动页广告 + // startList: [], // 启动页广告 + startList: {head_img:''}, // 启动页广告 alertSwipeList: [], //弹窗广告 showAdv: false, //弹窗开关 showFullAdv: true, //全屏广告开关 - time: 5, //全屏广告剩余时间 + time: 3, //全屏广告剩余时间 showTime:false, xpth:{}, // 元旦新增 新品特惠和sqjNew djs:null, // 元旦新增 新品特惠倒计时 @@ -54,9 +55,11 @@ Page({ 'https://static.ticket.sz-trip.com/uploads/20240228/c7de980e14c66a39215e7bf5f66ba218.png', 'https://static.ticket.sz-trip.com/uploads/20240228/24010b7a7a88b91c0ea75cf3f073702e.png', 'https://static.ticket.sz-trip.com/uploads/20240228/59e199b98bfb9fbe4fd996503d5f5698.png', - ] + ], + // viewHeight:"0px", }, onLoad: function (options) { + // this.getHeight() //全屏广告 wx.hideTabBar() //这里隐藏了底部导航栏 commonApi._post("adv/getAdv", { @@ -72,20 +75,26 @@ Page({ time: this.data.time - 1 }) if (this.data.time == 0) { - timer = null + clearInterval(timer) + wx.showTabBar() //倒计时结束清除定时器显示导航栏 this.setData({ showFullAdv: false }) - if (this.data.alertSwipeList.length==0) { - wx.showTabBar() //倒计时结束清楚定时器显示导航栏 - } - } - }, 1000) - this.setData({ - startList: res.data || [] - }) + let length = res.data.length + if (res.data.length > 1) { + let num = Math.round(Math.random()*length); + console.log('num',num); + this.setData({ + startList:res.data[num] + }) + console.log(this.data.startList.head_img); + } else { + this.setData({ + startList:res.data[0] + }) + } }else{ this.setData({ showFullAdv: false @@ -137,6 +146,18 @@ Page({ this.getVideoPrize() this.getXpthList() }, + // getHeight() { + // let that = this + // wx.getSystemInfo({ + // success(res) { + // console.log(res) + // that.setData({ + // viewHeight:res.windowHeight+'px' + // }) + // console.log(that.data.viewHeight) + // } + // }) + // }, getXpthList:function () { // 元旦新增 新品特惠 commonApi._post("product/get_product_indulgence", { @@ -863,7 +884,7 @@ Page({ this.pagePoint({ event: 'home_view' }, 1) - this.data.time!=5?wx.showTabBar():1 + // this.data.time!=5?wx.showTabBar():1 }, /** diff --git a/pages/index/index.wxml b/pages/index/index.wxml index 817be63..9de722f 100644 --- a/pages/index/index.wxml +++ b/pages/index/index.wxml @@ -632,12 +632,25 @@ -跳过 {{time}} - + {{time}}s跳过 + + + + + + diff --git a/pages/index/index.wxss b/pages/index/index.wxss index c058797..e8175c6 100644 --- a/pages/index/index.wxss +++ b/pages/index/index.wxss @@ -790,11 +790,11 @@ page { .time{ width: 150rpx; height: 60rpx; - background-color: #999999; - color: #fff; + background-color: #fff; + color: #000; position: absolute; - right: 20rpx; - top: 200rpx; + left: 20rpx; + top: 120rpx; border-radius:6rpx ; text-align: center; line-height: 60rpx; @@ -1034,4 +1034,42 @@ page { right: -22rpx; z-index: 2; /* top: -20rpx; */ +} + +.Qtop{ + width: 100%; +} +.Qtop img{ + width: 100%; +} +.miao{ + position: fixed; + top: 100rpx; + background: antiquewhite; + margin: 18rpx; + width: 129rpx; + height: 63rpx; + background: rgba(17, 17, 17, 0.1); + text-align: center; + border-radius: 13rpx; + line-height: 63rpx; +} +.topBox { + /* display: flex; + padding-top: 120rpx; + padding-left: 20rpx; */ +} +.jumpBox { + color: #000; + background: rgba(255,255,255, 0.911); + display: flex; + align-items: center; + border-radius: 10rpx; + padding: 10rpx 20rpx; + position: fixed; + top: 150rpx; + left: 20rpx; +} +.time{ + padding-right: 10rpx; } \ No newline at end of file From 75f457a97c2fd1d14a0f76c19db8bc1844090dcd Mon Sep 17 00:00:00 2001 From: shaojing <2901156235@qq.com> Date: Tue, 16 Apr 2024 10:11:17 +0800 Subject: [PATCH 137/471] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/index/index.js b/pages/index/index.js index c1c7e0d..307d89f 100644 --- a/pages/index/index.js +++ b/pages/index/index.js @@ -84,7 +84,7 @@ Page({ }, 1000) let length = res.data.length if (res.data.length > 1) { - let num = Math.round(Math.random()*length); + let num = Math.round(Math.random()*length)-1; console.log('num',num); this.setData({ startList:res.data[num] From 50d2e32e9819d598e511dcc20e061a4f28129001 Mon Sep 17 00:00:00 2001 From: shaojing <2901156235@qq.com> Date: Tue, 16 Apr 2024 10:19:20 +0800 Subject: [PATCH 138/471] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index eab8757..3d3d370 100644 --- a/app.js +++ b/app.js @@ -21,7 +21,7 @@ App({ unique_key: "wechatxcx" }).then(res => { let data = JSON.parse(res.data); - data.isTest = data.isTest108? true : false; + data.isTest = data.isTest109? true : false; this.globalData.configJson = data }).then(() => { // 获取ui配置文件 From f159e97a15a5c29475a936a03c581663e32bb84b Mon Sep 17 00:00:00 2001 From: shaojing <2901156235@qq.com> Date: Tue, 16 Apr 2024 10:37:41 +0800 Subject: [PATCH 139/471] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/index.js | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/pages/index/index.js b/pages/index/index.js index 307d89f..03a741e 100644 --- a/pages/index/index.js +++ b/pages/index/index.js @@ -56,10 +56,10 @@ Page({ 'https://static.ticket.sz-trip.com/uploads/20240228/24010b7a7a88b91c0ea75cf3f073702e.png', 'https://static.ticket.sz-trip.com/uploads/20240228/59e199b98bfb9fbe4fd996503d5f5698.png', ], - // viewHeight:"0px", + viewHeight:"0px", }, onLoad: function (options) { - // this.getHeight() + this.getHeight() //全屏广告 wx.hideTabBar() //这里隐藏了底部导航栏 commonApi._post("adv/getAdv", { @@ -84,7 +84,7 @@ Page({ }, 1000) let length = res.data.length if (res.data.length > 1) { - let num = Math.round(Math.random()*length)-1; + let num = Math.floor(Math.random()*length); console.log('num',num); this.setData({ startList:res.data[num] @@ -146,18 +146,18 @@ Page({ this.getVideoPrize() this.getXpthList() }, - // getHeight() { - // let that = this - // wx.getSystemInfo({ - // success(res) { - // console.log(res) - // that.setData({ - // viewHeight:res.windowHeight+'px' - // }) - // console.log(that.data.viewHeight) - // } - // }) - // }, + getHeight() { + let that = this + wx.getSystemInfo({ + success(res) { + console.log(res) + that.setData({ + viewHeight:res.windowHeight+'px' + }) + console.log(that.data.viewHeight) + } + }) + }, getXpthList:function () { // 元旦新增 新品特惠 commonApi._post("product/get_product_indulgence", { From 98515ab8fffcf7d3d6ba01063856c1374383e6ef Mon Sep 17 00:00:00 2001 From: shaojing <2901156235@qq.com> Date: Wed, 17 Apr 2024 14:38:17 +0800 Subject: [PATCH 140/471] =?UTF-8?q?2024=E4=B9=A6=E5=88=B8=E9=99=90?= =?UTF-8?q?=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 2 +- pages/order/pay/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app.js b/app.js index 3d3d370..e0fd14a 100644 --- a/app.js +++ b/app.js @@ -21,7 +21,7 @@ App({ unique_key: "wechatxcx" }).then(res => { let data = JSON.parse(res.data); - data.isTest = data.isTest109? true : false; + data.isTest = data.isTest110? true : false; this.globalData.configJson = data }).then(() => { // 获取ui配置文件 diff --git a/pages/order/pay/index.js b/pages/order/pay/index.js index 461a0ae..c1e6dd1 100644 --- a/pages/order/pay/index.js +++ b/pages/order/pay/index.js @@ -84,7 +84,7 @@ Page({ order_id:this.data.id }).then(res=>{ // 书券产品 - if(res.data.order_product_list[0].product_id == 75012 || res.data.order_product_list[0].product_id == 75013){ + if(res.data.order_product_list[0].product_id == 75012 || res.data.order_product_list[0].product_id == 75013 || res.data.order_product_list[0].product_id == 420265){ this.setData({ isBook:true }) From 3875ea632e588e615bd54c2003aa78dd0d4a19f0 Mon Sep 17 00:00:00 2001 From: shaojing <2901156235@qq.com> Date: Thu, 18 Apr 2024 10:10:25 +0800 Subject: [PATCH 141/471] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E4=B8=8B=E5=8D=95?= =?UTF-8?q?=E4=B8=8D=E5=AE=9E=E5=90=8D=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 2 +- pages/order/scene/index.js | 20 ++++++++++++-------- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/app.js b/app.js index e0fd14a..845ff83 100644 --- a/app.js +++ b/app.js @@ -21,7 +21,7 @@ App({ unique_key: "wechatxcx" }).then(res => { let data = JSON.parse(res.data); - data.isTest = data.isTest110? true : false; + data.isTest = data.isTest111? true : false; this.globalData.configJson = data }).then(() => { // 获取ui配置文件 diff --git a/pages/order/scene/index.js b/pages/order/scene/index.js index 6990497..366ba51 100644 --- a/pages/order/scene/index.js +++ b/pages/order/scene/index.js @@ -32,6 +32,7 @@ Page({ isCar:'single', showMask: false, price:0, + is_need_idcard:1, }, /** @@ -48,9 +49,10 @@ Page({ flag:options.flag, date:null, ticket_type:app.globalData.product.sku.ticket_type || 1, - isCar:options.isCar + isCar:options.isCar, + is_need_idcard:app.globalData.product.sku.sku_model.is_need_idcard }) - console.log('-------',app.globalData.product); + console.log('-------',app.globalData.product.sku.sku_model.is_need_idcard); if (!app.globalData.product) { util.back(); @@ -370,12 +372,14 @@ Page({ console.log(this.data) let linkmanList = this.data.linkmanList, productNum = this.data.productNum, date = this.data.date, time = this.data.time, remark = this.data.remark, product = this.data.product; let linkmanIds = []; - if (linkmanList.length < productNum && app.globalData.product.isGroup != 1) { - wx.showToast({ - title: '请添加出行人', - icon: "none" - }) - return; + if (this.data.is_need_idcard == 1) { + if (linkmanList.length < productNum && app.globalData.product.isGroup != 1) { + wx.showToast({ + title: '请添加出行人', + icon: "none" + }) + return; + } } if (!date && this.data.ticket_type == 1) { wx.showToast({ From 4c50efb6dd65f24697e8a0feeddef91fb6bc866d Mon Sep 17 00:00:00 2001 From: shaojing <2901156235@qq.com> Date: Wed, 24 Apr 2024 16:51:23 +0800 Subject: [PATCH 142/471] =?UTF-8?q?=E6=B4=BB=E5=8A=A8=E6=97=A5=E5=8E=86?= =?UTF-8?q?=EF=BC=8C=E6=96=87=E6=97=85=E9=89=B4=E8=B5=8F=EF=BC=8C=E5=85=AC?= =?UTF-8?q?=E5=85=B1=E6=9C=8D=E5=8A=A1=EF=BC=8C=E4=BA=BA=E5=B7=A5=E5=AE=A2?= =?UTF-8?q?=E6=9C=8D=E6=8F=90=E7=A4=BA=EF=BC=8C=E7=B2=BE=E5=BD=A9=E5=9B=9E?= =?UTF-8?q?=E9=A1=BE=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 2 +- pages/component/newCalendar/index.js | 164 ++++++++++++++++++++----- pages/component/newCalendar/index.wxml | 17 +-- pages/component/newCalendar/index.wxss | 19 ++- pages/index/index.wxml | 146 +++++++++++----------- pages/list/activitynew/index.js | 11 ++ pages/list/activitynew/index.wxml | 45 ++++--- pages/list/activitynew/index.wxss | 66 ++++++++-- pages/pbService/activity/index.js | 19 ++- pages/pbService/activity/index.wxml | 3 + pages/pbService/activity/index.wxss | 2 +- pages/pbService/index.wxml | 26 ++-- pages/user/service/list/index.wxml | 3 +- pages/user/user.wxml | 3 +- 14 files changed, 361 insertions(+), 165 deletions(-) diff --git a/app.js b/app.js index 845ff83..3c1f567 100644 --- a/app.js +++ b/app.js @@ -21,7 +21,7 @@ App({ unique_key: "wechatxcx" }).then(res => { let data = JSON.parse(res.data); - data.isTest = data.isTest111? true : false; + data.isTest = data.isTest112? true : false; this.globalData.configJson = data }).then(() => { // 获取ui配置文件 diff --git a/pages/component/newCalendar/index.js b/pages/component/newCalendar/index.js index 7473118..5bc7fe1 100644 --- a/pages/component/newCalendar/index.js +++ b/pages/component/newCalendar/index.js @@ -1,5 +1,6 @@ // components/xx-calendar/xx-calendar.js import calendarFormatter from "./xx_calendar"; +import commonApi from "../../../utils/https/common" Component({ /** * 组件的属性列表 @@ -26,7 +27,10 @@ Component({ nextMonthDays: [], //下一个月 weekDay:[], //周 日期list activeDateStr:'', // 当前日期, - currentViewType: 'week' //当前选中的是周还是月 + currentViewType: 'week', //当前选中的是周还是月 + holidayList:[], //节假日 + holidayList2:['2024/01/01','2024/02/10','2024/04/04', '2024/05/01', '2024/06/10','2024/09/17','2024/10/01'], // 节假日() + // lisClickNext: true, // 是否可以点下一周 }, /** @@ -40,7 +44,6 @@ Component({ /** 总方法 */ //创建日期 createDays(year, month) { - if( this.data.currentViewType === "month" ) { this.getLastMonthDays(year, month) this.getNowMonthDays(year, month) @@ -53,6 +56,9 @@ Component({ /** 视图收起/展开 */ toggleMode() { + if ((this.data.currentViewType === 'week' && this.data.weekDay.some(s => s.year === 2025)) || (this.data.currentViewType === 'week' && this.data.weekDay.some(s => s.year === 2023))) { + return + } this.setData({ currentViewType: this.data.currentViewType === "month" ? "week" : "month", }) @@ -124,18 +130,22 @@ Component({ } // 当前月数据 let festival = calendarFormatter.getFestival(timer) // 返回当前节假日名称, 不是节日返回 '工作日' + let realDate = new Date()  +                let realMonth = realDate.getMonth() + 1 + let _time = `${years}/${+months < 10 ? '0'+months : months}/${+day2 < 10 ? '0'+day2 :day2}` + console.log(this.data.holidayList2.includes(_time)) nowMonthDays.push({ date: i, //几号 week: this.data.weeksArr[new Date(year, month - 1, i).getDay()], //星期几 time, + _time, color: false, - day: ['工作日', '周末'].includes(festival) || festival.indexOf('补') > -1 ? newdate : festival, + day: newdate, // day: ['工作日', '周末'].includes(festival) || festival.indexOf('补') > -1 || [如果有不想展示的日期,放这里].includes(timer) ? newdate : festival, - - isNowMonthDay: (month == nowMonth && i == nowDay) ? "isNowMonthDay" : "", - isHoliday: calendarFormatter.isHoliday(timer), // 判断是否是休息日 是的话返回true, 不是的话返回false - - }); + isNowMonthDay: (month == realMonth && i == nowDay) ? "isNowMonthDay" : "", + isHoliday: this.data.holidayList.find(s => s.date == _time ), // 判断是否是休息日 是的话返回true, 不是的话返回false + holidayList2: this.data.holidayList2.includes(_time) + }); } this.data.use_date_arr.forEach(ele => { ele = ele.replace(/\-/g, "/") @@ -192,6 +202,9 @@ Component({ year = (parseInt(month) + 1) > 12 ? year + 1 : year month = (parseInt(month) + 1) > 12 ? 1 : parseInt(month) + 1 } + if (year != this.data.year) { + return + } this.setData({ year, month, @@ -200,23 +213,106 @@ Component({ }) this.createDays(year, month) } else { - let type = e.currentTarget.dataset.type //类型 - let newActiveDateStr = this.getActiveDateStrByWeek(this.data.activeDateStr, type) + let { + year, + month, + nowDay + } = this.data + let type = e.currentTarget.dataset.type //类型 + if ((type == 'next' && this.data.weekDay[0].year === 2025) || (type == 'prev' && this.data.weekDay[0].year === 2023)) { + return + } + // if (type == 'next' && this.data.weekDay[0].year === 2025) { + // // debugger + // return + // } + // let newActiveDateStr = this.getActiveDateStrByWeek(this.data.activeDateStr, type) + let newActiveDateStr = this.getActiveDateStrByWeek(this.data.weekDay[6].dateStr, type) + // debugger this.getWeekData(newActiveDateStr) - this.setData({ - activeDateStr: newActiveDateStr, - }) + console.log(this.data.weekDay); + // this.data.lisClickNext = this.data.weekDay.every(s => s.year == 2024) } }, - + + // 获取节假日 + getHoliday(){ + commonApi._post("pbservice/Actcalendar/getHoliday",{year:this.data.year}).then(res => { + // console.log(res); + this.setData({ + holidayList: res.data + }) +  this.data.holidayList = this.data.holidayList.map(item=> { + if (item.name == '清明节') { + return { +   ...item, + color:'#009EA3', +   background:'#DAF0EE' + } + }else if (item.name == '劳动节') { + return { +   ...item, + color:'#DE4126', +   background:'#FFECDB' + } + }else if (item.name == '春节') { + return { +   ...item, + color:'#D10000', +   background:'#FAE3E3' + } + }else if (item.name == '元旦') { + return { +   ...item, + color:'#EB3300', +   background:'#FFDED9' + } + }else if (item.name == '端午节') { + return { +   ...item, + color:'#0B8E3F', +   background:'#CEEDDB' + } + }else if (item.name == '国庆节') { + return { +   ...item, + color:'#D41E1E', +   background:'#FFE8E8' + } + }else if (item.name == '中秋节') { + return { +   ...item, + color:'#FF8E24', +   background:'#FFF3DB' + } + } else { + return { +   ...item, + color:'#fff', +   background:'#fff' + } + } + }) + console.log('------------------------------',this.data.holidayList); + let { + year, + month, + nowDay + } = this.data + this.setData({ + activeDateStr: `${year}/${month}/${nowDay}` + }) + this.createDays(year, month, nowDay) + }) + }, /** 获取周视图数据 */ getWeekData(defaultDate) { /** 是否是从周一开始 */ const isStartFromMonday = this.properties.startDay === "monday" if (!defaultDate) { defaultDate = this.data.activeDateStr - } + } const YEAR = new Date(defaultDate).getFullYear() const MONTH = new Date(defaultDate).getMonth() + 1 const DATE = new Date(defaultDate).getDate() @@ -231,7 +327,7 @@ Component({ let lastDay = new Date(YEAR, MONTH, 0) /** 当月最后一天是几号 */ let lastDate = lastDay.getDate() - +// debugger var ret = [] /** 前面有几天 */ let preCount = isStartFromMonday ? WEEK - 1 : WEEK @@ -272,19 +368,26 @@ Component({ month, nowDay } = this.data +  let realMonth =new Date().getMonth() + 1 // 当前周数据 let festival = calendarFormatter.getFestival(`${showYear}-${showMonth}-${showDate}`) // 返回当前节假日名称, 不是节日返回 '工作日' + // debugger ret.push({ year: showYear, month: showMonth, date: showDate, calDate: date, - day: ['工作日', '周末'].includes(festival) || festival.indexOf('补') > -1 ? newdate : festival, + day: newdate, dateStr: `${showYear}/${showMonth}/${showDate}`, - isNowMonthDay: (month == showMonth && nowDay == showDate) ? "isNowMonthDay" : "", - isHoliday: calendarFormatter.isHoliday(`${showYear}-${showMonth}-${showDate}`), // 判断是否是休息日 是的话返回true, 不是的话返回false + isNowMonthDay: ( realMonth  == showMonth && nowDay == showDate) ? "isNowMonthDay" : "", + isHoliday: this.data.holidayList.find(s => s.date === `${showYear}/${+showMonth < 10 ? '0'+showMonth : showMonth}/${+showDate < 10 ? '0'+showDate :showDate}` ), + holidayList2: this.data.holidayList2.includes(`${showYear}/${+showMonth < 10 ? '0'+showMonth : showMonth}/${+showDate < 10 ? '0'+showDate :showDate}` ) + // `${showYear}/${showMonth}/${showDate}` + // isHoliday: calendarFormatter.isHoliday(`${showYear}-${showMonth}-${showDate}`), // 判断是否是休息日 是的话返回true, 不是的话返回false }) - } + } + console.log(ret); + // debugger this.setData({ weekDay: ret, year: YEAR, @@ -335,8 +438,13 @@ Component({ selectDate(e){ let type = e.currentTarget.dataset.type //选择的时间类型 let index = e.currentTarget.dataset.index //选择的下标 - // let date = e.currentTarget.dataset.item.time //选择的下标 - let date = e.currentTarget.dataset.item.dateStr //选择的下标 + let date + if (this.data.currentViewType == 'week') { + date = e.currentTarget.dataset.item.dateStr //选择的下标 + type = 'weekDay' + } else { + date = e.currentTarget.dataset.item.time //选择的下标 + } let selectDate = date.replace(/\//g, "-") console.log("选择的时间", selectDate) // 自定义事件,父组件调用,回调 选择的时间selectDate @@ -345,6 +453,7 @@ Component({ this.data[type]?.forEach(item => { item.isNowMonthDay = '' }) + console.log(index,this.data,[type]); this.data[type]?.forEach((item, idx) => { if (index == idx) { item.isNowMonthDay = (item.time == new Date().toLocaleDateString() ? "isNowMonthDay" : "isNotNowMonthDay"); //判断当前选中的日期是否是当前时间 @@ -364,15 +473,8 @@ Component({ }, }, ready() { - let { - year, - month, - nowDay - } = this.data - this.setData({ - activeDateStr: `${year}/${month}/${nowDay}` - }) - this.createDays(year, month, nowDay) + this.getHoliday() + } }) \ No newline at end of file diff --git a/pages/component/newCalendar/index.wxml b/pages/component/newCalendar/index.wxml index 0f8b87b..4ee36f8 100644 --- a/pages/component/newCalendar/index.wxml +++ b/pages/component/newCalendar/index.wxml @@ -10,9 +10,9 @@ {{year}}年 {{month}}月 - + 下一月 - 下一周 + 下一周 @@ -32,14 +32,15 @@ - - - - {{item.date}} + + + + {{item.date}} - - {{item.day}} + + {{ item.isHoliday.name}} + {{ item.day}} diff --git a/pages/component/newCalendar/index.wxss b/pages/component/newCalendar/index.wxss index c1fabb5..4c61809 100644 --- a/pages/component/newCalendar/index.wxss +++ b/pages/component/newCalendar/index.wxss @@ -70,7 +70,7 @@ } .mouth-date .day-nongli{ font-size: 18rpx; - color: #888888; + /* color: #888888; */ margin-bottom: 6rpx; } .mouth-date .color{ @@ -93,11 +93,15 @@ padding-bottom: 8rpx; } .mouth-date .active{ - background-color: #0B898E; + background-color: #0B898E !important; } + + .mouth-date .active text{ - color: #fff; + color: #fff !important; } + + .mouth-date .active .day-text{ font-weight: 600; } @@ -114,6 +118,15 @@ position: relative; /* color: #e1856e; */ } +.holidayactive { + position: relative; +} +.day-text .xiu { + font-size: 6px; + position: absolute; + right: 5px; + top: 5px; +} .holiday .xiu { font-size: 6px; position: absolute; diff --git a/pages/index/index.wxml b/pages/index/index.wxml index 9de722f..d96ad95 100644 --- a/pages/index/index.wxml +++ b/pages/index/index.wxml @@ -230,13 +230,85 @@ - + 非遗鉴赏 + + + + + 数字博物馆 + + + + + + 公共文化资源库 + + + + + + 云上文博会 + + + + + + 云上观展 + + + + + + 精彩回顾 + + + + + + 文旅单位 + + + + + + 书仓 + + + + + + 苏影通 + + + + + + 视觉中心 + - - - - - 数字博物馆 - - - - - - 云上文博会 - - - - - - 文旅单位 - - - - - - 书香借阅 - - - - - - 公共文化资源库 - - - - - - 苏影通 - - - - - - 云上观展 - - - - - - 精彩回顾 - - - - - - 视觉中心 - diff --git a/pages/list/activitynew/index.js b/pages/list/activitynew/index.js index e70edcf..381f693 100644 --- a/pages/list/activitynew/index.js +++ b/pages/list/activitynew/index.js @@ -82,6 +82,17 @@ Page({ }) }) }, + selectDate: function (e) { + console.log(e.detail); + this.setData({ + date: e.detail, + pageNo: 1, + list: [], + total: 1, + moreFlag: true + }) + this.getList() + }, changeType: function (e) { this.setData({ type: e.currentTarget.dataset.type, diff --git a/pages/list/activitynew/index.wxml b/pages/list/activitynew/index.wxml index 19edc3b..a32bb9e 100644 --- a/pages/list/activitynew/index.wxml +++ b/pages/list/activitynew/index.wxml @@ -1,20 +1,30 @@ + - - + 搜索 - + + 全部 + 景区活动 + 演出 + 展览 + 电影 + 文化惠民 + 其他 + + - + + @@ -89,22 +99,23 @@ 离我最近 价格最低 - - - + + + + {{item.name || item.title}} {{item.begin_date}}—{{item.end_date}} - {{item.detail_address?item.detail_address:""}} + {{item.from_platform}} + - 已结束 - {{item.from_platform}} + - + @@ -131,7 +142,7 @@ - + 暂无内容 diff --git a/pages/list/activitynew/index.wxss b/pages/list/activitynew/index.wxss index e2f4f27..1a91b9b 100644 --- a/pages/list/activitynew/index.wxss +++ b/pages/list/activitynew/index.wxss @@ -1,14 +1,14 @@ /* pages/activity/index.wxss */ page { - background: #fff; + background: #F2F2F2; } .types { /* justify-content: space-between; */ background: #fff; display: flex; color: #666; - width: 750rpx; + width: 697rpx; overflow-x: scroll; border-bottom: 1rpx solid #d8d8d8; font-size: 0; @@ -121,11 +121,18 @@ background: rgba(11, 137, 142, .1); } .top-fixed-box { background: #FFF; + width: 697rpx; + margin: 0 auto; + border-radius: 20rpx; + margin-top: 20rpx; } .activity-list { - padding: 0 24rpx; - background: #0B898E; + width: 697rpx; + /* padding: 0 24rpx; */ + /* background: #0B898E; */ + background: #FFFFFF; min-height:1300rpx; + margin: 0 auto; } .acitivity-search-box { display: flex; @@ -133,6 +140,7 @@ background: rgba(11, 137, 142, .1); margin-bottom: 0; justify-content: space-between; align-items: center; + padding-top: 30rpx; } .acitivity-search-box .picker { margin-right: 30rpx; @@ -188,13 +196,14 @@ background: rgba(11, 137, 142, .1); display: flex; align-items: center; justify-content: space-between; - padding: 27rpx 22rpx; + padding: 10rpx 22rpx; + /* padding: 27rpx 22rpx; */ position: relative; } .end-mask { position: absolute; right: 22rpx; - top: 27rpx; + /* top: 27rpx; */ text-align: center; width: 320rpx; height: 220rpx; @@ -228,17 +237,20 @@ background: rgba(11, 137, 142, .1); display: flex; flex-direction: column; justify-content: space-between; - font-size: 23rpx; - color: #999; + /* font-size: 23rpx; + color: #999; */ flex: 1; min-height: 220rpx; - margin-right: 28rpx; + /* margin-right: 28rpx; */ + font-size: 24rpx; + color: #666; } .activity-title { font-weight: 500; font-size: 31rpx; line-height: 45rpx; - color: #333; + color: #000; + /* color: #333; */ } .movie-types { @@ -318,4 +330,38 @@ flex-shrink: 0; padding: 6rpx 20rpx; border-radius: 40rpx; margin-left: 10rpx; +} +.types-box { + /* margin-top: 31rpx; */ + font-size: 28rpx; + color: #000; + font-weight: 500; + display: flex; + overflow-x: scroll; + padding: 31rpx 30rpx 30rpx; +} +.types-item { + border: 1px solid #999999; + border-radius: 27rpx; + height: 53rpx; + padding: 0 25rpx; + display: inline-block; + line-height: 53rpx; + margin-right: 13rpx; + flex-shrink: 0; +} +.types-item-active { + padding: 0 25rpx; + height: 57rpx; + line-height: 57rpx; + display: inline-block; + background: #0B898E; + color: #FFFFFF; + border-radius: 27rpx; + margin-right: 13rpx; + flex-shrink: 0; +} +/* 不显示滚动条 */ +.types-box::-webkit-scrollbar { + display: none; } \ No newline at end of file diff --git a/pages/pbService/activity/index.js b/pages/pbService/activity/index.js index ff44eab..9c9d916 100644 --- a/pages/pbService/activity/index.js +++ b/pages/pbService/activity/index.js @@ -10,10 +10,12 @@ Page({ list:[], page:1, total:1, - navList: [{title: '精彩2023', year: 2023}, {title: '往期回顾', year: 2022}], + navList: [{title: '精彩2024', year: 2024}, {title: '往期回顾', year: 2023}], navIndex: 0, sNavIndex:0, - sNavList:[{title: '回顾2022', year: 2022}, {title: '回顾2021', year: 2021}] + sNavList:[{title: '回顾2023', year: 2023},{title: '回顾2022', year: 2022}, {title: '回顾2021', year: 2021}], + last_page:0, + current_page:1 }, /** @@ -26,7 +28,8 @@ Page({ this.setData({ page:0, list:[], - navIndex:e.currentTarget.dataset.index + navIndex:e.currentTarget.dataset.index, + last_page:0 }) this.getList() }, @@ -34,12 +37,14 @@ Page({ this.setData({ page:0, list:[], - sNavIndex:e.currentTarget.dataset.index + sNavIndex:e.currentTarget.dataset.index, + last_page:0 }) this.getList() }, getList:function(){ - if(this.data.list.length>=this.data.total) return; + // if(this.data.list.length>=this.data.total) return; + if(this.data.current_page == this.data.last_page) return; https._post("review/getList",{ limit:10, page:this.data.page, @@ -48,7 +53,9 @@ Page({ this.setData({ total:res.data.total, list:this.data.list.concat(res.data.data), - page:this.data.page+1 + page:this.data.page+1, + last_page:res.data.last_page, + current_page: res.data.current_page }) }) }, diff --git a/pages/pbService/activity/index.wxml b/pages/pbService/activity/index.wxml index 13cb93c..74bb0a7 100644 --- a/pages/pbService/activity/index.wxml +++ b/pages/pbService/activity/index.wxml @@ -19,3 +19,6 @@ + + 没有更多了 + diff --git a/pages/pbService/activity/index.wxss b/pages/pbService/activity/index.wxss index 55e544c..00f42f3 100644 --- a/pages/pbService/activity/index.wxss +++ b/pages/pbService/activity/index.wxss @@ -73,7 +73,7 @@ page { display: flex; align-items: center; justify-content: space-between; - padding: 0 122rpx; + padding: 0 42rpx; margin-top: 45rpx; } .s_item{ diff --git a/pages/pbService/index.wxml b/pages/pbService/index.wxml index d92ec0e..78cdec0 100644 --- a/pages/pbService/index.wxml +++ b/pages/pbService/index.wxml @@ -9,10 +9,10 @@ 苏康码 --> - - - 安全服务 + + + 景区舒适度 @@ -24,10 +24,10 @@ 找厕所 - - - 景区舒适度 + + + 安全服务 即将跳转人工在线客服 - 客服服务时间:08:30-17:30 + 客服服务时间:8:30-11:30, + 13:00-17:30 如遇紧急情况可拨打 0512-66555111 即将跳转人工客服 - 客服服务时间:08:30-17:30 + 客服服务时间:08:30-17:30, + 13:00-17:30