├── LICENSE ├── README.md ├── plugin └── woocommerce-to-wechatapp-mini │ ├── LICENSE.txt │ ├── assets │ ├── css │ │ └── menu.css │ └── fonts │ │ ├── W2W.eot │ │ ├── W2W.svg │ │ ├── W2W.ttf │ │ └── W2W.woff │ ├── includes │ ├── abstract │ │ ├── abstract-wc-rest-posts-controller.php │ │ └── abstract-wc-rest-terms-controller.php │ ├── api │ │ ├── class-w2w-rest-cart-controller.php │ │ ├── class-w2w-rest-customers-controller.php │ │ ├── class-w2w-rest-orders-controller.php │ │ ├── class-w2w-rest-payment-controller.php │ │ ├── class-w2w-rest-product-categories-controller.php │ │ ├── class-w2w-rest-products-controller.php │ │ └── class-w2w-rest-store-controller.php │ ├── class-w2w-template-message.php │ ├── class-w2w-util.php │ ├── class-w2w-wc-api.php │ ├── class-w2w-wc-gateway-wechatpay.php │ ├── class-w2w-weixin-api.php │ └── wxpay │ │ ├── class.WxPay.Api.php │ │ ├── class.WxPay.Config.php │ │ ├── class.WxPay.Data.php │ │ ├── class.WxPay.Exception.php │ │ ├── class.WxPay.JsApiPay.php │ │ └── class.WxPay.Notify.php │ ├── templates │ └── settings.php │ ├── vendor │ ├── html2wxml │ │ ├── class.ToWXML.php │ │ └── vendor │ │ │ ├── Highlight │ │ │ ├── Autoloader.php │ │ │ ├── Highlighter.php │ │ │ ├── JsonRef.php │ │ │ ├── Language.php │ │ │ └── languages │ │ │ │ ├── 1c.json │ │ │ │ ├── abnf.json │ │ │ │ ├── accesslog.json │ │ │ │ ├── actionscript.json │ │ │ │ ├── ada.json │ │ │ │ ├── apache.json │ │ │ │ ├── applescript.json │ │ │ │ ├── arduino.json │ │ │ │ ├── armasm.json │ │ │ │ ├── asciidoc.json │ │ │ │ ├── aspectj.json │ │ │ │ ├── autohotkey.json │ │ │ │ ├── autoit.json │ │ │ │ ├── avrasm.json │ │ │ │ ├── awk.json │ │ │ │ ├── axapta.json │ │ │ │ ├── bash.json │ │ │ │ ├── basic.json │ │ │ │ ├── bnf.json │ │ │ │ ├── brainfuck.json │ │ │ │ ├── cal.json │ │ │ │ ├── capnproto.json │ │ │ │ ├── ceylon.json │ │ │ │ ├── clean.json │ │ │ │ ├── clojure-repl.json │ │ │ │ ├── clojure.json │ │ │ │ ├── cmake.json │ │ │ │ ├── coffeescript.json │ │ │ │ ├── coq.json │ │ │ │ ├── cos.json │ │ │ │ ├── cpp.json │ │ │ │ ├── crmsh.json │ │ │ │ ├── crystal.json │ │ │ │ ├── cs.json │ │ │ │ ├── csp.json │ │ │ │ ├── css.json │ │ │ │ ├── d.json │ │ │ │ ├── dart.json │ │ │ │ ├── delphi.json │ │ │ │ ├── diff.json │ │ │ │ ├── django.json │ │ │ │ ├── dns.json │ │ │ │ ├── dockerfile.json │ │ │ │ ├── dos.json │ │ │ │ ├── dsconfig.json │ │ │ │ ├── dts.json │ │ │ │ ├── dust.json │ │ │ │ ├── ebnf.json │ │ │ │ ├── elixir.json │ │ │ │ ├── elm.json │ │ │ │ ├── erb.json │ │ │ │ ├── erlang-repl.json │ │ │ │ ├── erlang.json │ │ │ │ ├── excel.json │ │ │ │ ├── fix.json │ │ │ │ ├── flix.json │ │ │ │ ├── fortran.json │ │ │ │ ├── fsharp.json │ │ │ │ ├── gams.json │ │ │ │ ├── gauss.json │ │ │ │ ├── gcode.json │ │ │ │ ├── gherkin.json │ │ │ │ ├── glsl.json │ │ │ │ ├── go.json │ │ │ │ ├── golo.json │ │ │ │ ├── gradle.json │ │ │ │ ├── groovy.json │ │ │ │ ├── haml.json │ │ │ │ ├── handlebars.json │ │ │ │ ├── haskell.json │ │ │ │ ├── haxe.json │ │ │ │ ├── hsp.json │ │ │ │ ├── htmlbars.json │ │ │ │ ├── http.json │ │ │ │ ├── hy.json │ │ │ │ ├── inform7.json │ │ │ │ ├── ini.json │ │ │ │ ├── irpf90.json │ │ │ │ ├── java.json │ │ │ │ ├── javascript.json │ │ │ │ ├── jboss-cli.json │ │ │ │ ├── json.json │ │ │ │ ├── julia-repl.json │ │ │ │ ├── julia.json │ │ │ │ ├── kotlin.json │ │ │ │ ├── lasso.json │ │ │ │ ├── ldif.json │ │ │ │ ├── leaf.json │ │ │ │ ├── less.json │ │ │ │ ├── lisp.json │ │ │ │ ├── livecodeserver.json │ │ │ │ ├── livescript.json │ │ │ │ ├── llvm.json │ │ │ │ ├── lsl.json │ │ │ │ ├── lua.json │ │ │ │ ├── makefile.json │ │ │ │ ├── markdown.json │ │ │ │ ├── mathematica.json │ │ │ │ ├── matlab.json │ │ │ │ ├── maxima.json │ │ │ │ ├── mel.json │ │ │ │ ├── mercury.json │ │ │ │ ├── mipsasm.json │ │ │ │ ├── mizar.json │ │ │ │ ├── mojolicious.json │ │ │ │ ├── monkey.json │ │ │ │ ├── moonscript.json │ │ │ │ ├── n1ql.json │ │ │ │ ├── nginx.json │ │ │ │ ├── nimrod.json │ │ │ │ ├── nix.json │ │ │ │ ├── nsis.json │ │ │ │ ├── objectivec.json │ │ │ │ ├── ocaml.json │ │ │ │ ├── openscad.json │ │ │ │ ├── oxygene.json │ │ │ │ ├── parser3.json │ │ │ │ ├── perl.json │ │ │ │ ├── pf.json │ │ │ │ ├── php.json │ │ │ │ ├── pony.json │ │ │ │ ├── powershell.json │ │ │ │ ├── processing.json │ │ │ │ ├── profile.json │ │ │ │ ├── prolog.json │ │ │ │ ├── protobuf.json │ │ │ │ ├── puppet.json │ │ │ │ ├── purebasic.json │ │ │ │ ├── python.json │ │ │ │ ├── q.json │ │ │ │ ├── qml.json │ │ │ │ ├── r.json │ │ │ │ ├── rib.json │ │ │ │ ├── roboconf.json │ │ │ │ ├── routeros.json │ │ │ │ ├── rsl.json │ │ │ │ ├── ruby.json │ │ │ │ ├── ruleslanguage.json │ │ │ │ ├── rust.json │ │ │ │ ├── scala.json │ │ │ │ ├── scheme.json │ │ │ │ ├── scilab.json │ │ │ │ ├── scss.json │ │ │ │ ├── shell.json │ │ │ │ ├── smali.json │ │ │ │ ├── smalltalk.json │ │ │ │ ├── sml.json │ │ │ │ ├── sqf.json │ │ │ │ ├── sql.json │ │ │ │ ├── stan.json │ │ │ │ ├── stata.json │ │ │ │ ├── step21.json │ │ │ │ ├── stylus.json │ │ │ │ ├── subunit.json │ │ │ │ ├── swift.json │ │ │ │ ├── taggerscript.json │ │ │ │ ├── tap.json │ │ │ │ ├── tcl.json │ │ │ │ ├── tex.json │ │ │ │ ├── thrift.json │ │ │ │ ├── tp.json │ │ │ │ ├── twig.json │ │ │ │ ├── typescript.json │ │ │ │ ├── vala.json │ │ │ │ ├── vbnet.json │ │ │ │ ├── vbscript-html.json │ │ │ │ ├── vbscript.json │ │ │ │ ├── verilog.json │ │ │ │ ├── vhdl.json │ │ │ │ ├── vim.json │ │ │ │ ├── x86asm.json │ │ │ │ ├── xl.json │ │ │ │ ├── xml.json │ │ │ │ ├── xquery.json │ │ │ │ ├── yaml.json │ │ │ │ └── zephir.json │ │ │ └── Parsedown │ │ │ └── Parsedown.php │ └── plugin-update-checker-4.6 │ │ ├── .editorconfig │ │ ├── Puc │ │ ├── v4 │ │ │ └── Factory.php │ │ └── v4p6 │ │ │ ├── Autoloader.php │ │ │ ├── DebugBar │ │ │ ├── Extension.php │ │ │ ├── Panel.php │ │ │ ├── PluginExtension.php │ │ │ ├── PluginPanel.php │ │ │ └── ThemePanel.php │ │ │ ├── Factory.php │ │ │ ├── InstalledPackage.php │ │ │ ├── Metadata.php │ │ │ ├── OAuthSignature.php │ │ │ ├── Plugin │ │ │ ├── Info.php │ │ │ ├── Package.php │ │ │ ├── Ui.php │ │ │ ├── Update.php │ │ │ └── UpdateChecker.php │ │ │ ├── Scheduler.php │ │ │ ├── StateStore.php │ │ │ ├── Theme │ │ │ ├── Package.php │ │ │ ├── Update.php │ │ │ └── UpdateChecker.php │ │ │ ├── Update.php │ │ │ ├── UpdateChecker.php │ │ │ ├── UpgraderStatus.php │ │ │ ├── Utils.php │ │ │ └── Vcs │ │ │ ├── Api.php │ │ │ ├── BaseChecker.php │ │ │ ├── BitBucketApi.php │ │ │ ├── GitHubApi.php │ │ │ ├── GitLabApi.php │ │ │ ├── PluginUpdateChecker.php │ │ │ ├── Reference.php │ │ │ └── ThemeUpdateChecker.php │ │ ├── README.md │ │ ├── composer.json │ │ ├── css │ │ └── puc-debug-bar.css │ │ ├── examples │ │ ├── plugin.json │ │ └── theme.json │ │ ├── js │ │ └── debug-bar.js │ │ ├── languages │ │ ├── plugin-update-checker-cs_CZ.mo │ │ ├── plugin-update-checker-cs_CZ.po │ │ ├── plugin-update-checker-da_DK.mo │ │ ├── plugin-update-checker-da_DK.po │ │ ├── plugin-update-checker-de_DE.mo │ │ ├── plugin-update-checker-de_DE.po │ │ ├── plugin-update-checker-fa_IR.mo │ │ ├── plugin-update-checker-fa_IR.po │ │ ├── plugin-update-checker-fr_CA.mo │ │ ├── plugin-update-checker-fr_CA.po │ │ ├── plugin-update-checker-fr_FR.mo │ │ ├── plugin-update-checker-fr_FR.po │ │ ├── plugin-update-checker-hu_HU.mo │ │ ├── plugin-update-checker-hu_HU.po │ │ ├── plugin-update-checker-it_IT.mo │ │ ├── plugin-update-checker-it_IT.po │ │ ├── plugin-update-checker-ja.mo │ │ ├── plugin-update-checker-ja.po │ │ ├── plugin-update-checker-nl_BE.mo │ │ ├── plugin-update-checker-nl_BE.po │ │ ├── plugin-update-checker-nl_NL.mo │ │ ├── plugin-update-checker-nl_NL.po │ │ ├── plugin-update-checker-pt_BR.mo │ │ ├── plugin-update-checker-pt_BR.po │ │ ├── plugin-update-checker-sv_SE.mo │ │ ├── plugin-update-checker-sv_SE.po │ │ └── plugin-update-checker.pot │ │ ├── license.txt │ │ ├── plugin-update-checker.php │ │ └── vendor │ │ ├── Parsedown.php │ │ ├── ParsedownLegacy.php │ │ └── readme-parser.php │ └── woocommerce-to-wechatapp-mini.php └── wechatapp ├── LICENSE.txt ├── app.js ├── app.json ├── app.wxss ├── components ├── nav-bar │ └── dist │ │ ├── index.js │ │ ├── index.json │ │ ├── index.wxml │ │ └── index.wxss └── slider │ ├── dist │ ├── index.js │ ├── index.json │ ├── index.wxml │ └── index.wxss │ └── src │ ├── objectToStyle.js │ ├── props.js │ ├── sliderBar.js │ ├── sliderBar1.js │ ├── sliderBar2.js │ └── sliderLine.js ├── images ├── about.svg ├── add_light.svg ├── back_white_light.svg ├── cart_fill_light.png ├── cart_fill_light.svg ├── cart_light.png ├── cart_light.svg ├── cart_light_main_color.svg ├── category.png ├── category_fill.png ├── category_fill.svg ├── check.svg ├── check_white.svg ├── close.svg ├── close_white.svg ├── comment_light.svg ├── completed.svg ├── delete_light.svg ├── edit_light.svg ├── empty_avatar.png ├── favor_fill.svg ├── form_fill_light.png ├── form_fill_light.svg ├── form_light.png ├── form_light.svg ├── go_light.svg ├── home_fill_light.png ├── home_fill_light.svg ├── home_light.png ├── home_light.svg ├── location_light.svg ├── my_fill_light.png ├── my_fill_light.svg ├── my_light.png ├── my_light.svg ├── not-logged-background.png ├── payment-bacs.svg ├── payment-bacs_china.svg ├── payment-cod.svg ├── payment-wxapay.svg ├── pending.svg ├── placeholder.png ├── processing.svg ├── sale_fill.svg ├── search.svg ├── service_light.svg ├── share-friend.svg ├── share-timeline.svg ├── share_light.svg ├── sorry.svg ├── top_left_arrow.svg ├── top_light.svg ├── warn.svg └── woo-logo.png ├── pages ├── about │ ├── about.js │ ├── about.json │ ├── about.wxml │ └── about.wxss ├── cart │ ├── cart.js │ ├── cart.json │ ├── cart.wxml │ └── cart.wxss ├── category │ ├── category.js │ ├── category.json │ ├── category.wxml │ └── category.wxss ├── checkout │ ├── checkout.js │ ├── checkout.json │ ├── checkout.wxml │ └── checkout.wxss ├── index │ ├── index.js │ ├── index.json │ ├── index.wxml │ └── index.wxss ├── my │ ├── my.js │ ├── my.json │ ├── my.wxml │ └── my.wxss ├── order-detail │ ├── order-detail.js │ ├── order-detail.json │ ├── order-detail.wxml │ └── order-detail.wxss ├── order-list │ ├── order-list.js │ ├── order-list.json │ ├── order-list.wxml │ └── order-list.wxss ├── product-detail │ ├── product-detail.js │ ├── product-detail.json │ ├── product-detail.wxml │ └── product-detail.wxss ├── product-list │ ├── product-list.js │ ├── product-list.json │ ├── product-list.wxml │ └── product-list.wxss ├── search │ ├── search.js │ ├── search.json │ ├── search.wxml │ └── search.wxss └── web-view │ ├── web-view.js │ ├── web-view.json │ ├── web-view.wxml │ └── web-view.wxss ├── sitemap.json ├── templates ├── login-popup.wxml ├── login.wxml ├── nav-bar.wxml ├── order-cart-list.wxml ├── product-gird.wxml ├── product-list.wxml ├── product-price.wxml └── product-selected-attributes.wxml ├── utils ├── methods.js ├── system.js ├── util.js └── variables.js └── vendor ├── ZanUI ├── actionsheet │ ├── index.js │ ├── index.wxml │ └── index.wxss ├── badge │ └── index.wxss ├── btn │ └── index.wxss ├── capsule │ ├── index.wxml │ └── index.wxss ├── card │ └── index.wxss ├── cell │ └── index.wxss ├── col │ └── index.wxss ├── color │ └── index.wxss ├── common │ └── helper.js ├── dialog │ ├── index.js │ ├── index.wxml │ └── index.wxss ├── field │ ├── index.js │ ├── index.wxml │ └── index.wxss ├── helper │ └── index.wxss ├── icon │ └── index.wxss ├── index.js ├── index.wxss ├── loadmore │ ├── index.wxml │ └── index.wxss ├── noticebar │ ├── index.js │ ├── index.wxml │ └── index.wxss ├── panel │ └── index.wxss ├── popup │ └── index.wxss ├── row │ └── index.wxss ├── select │ ├── index.js │ ├── index.wxml │ └── index.wxss ├── stepper │ ├── index.js │ ├── index.wxml │ └── index.wxss ├── steps │ ├── index.wxml │ ├── index.wxss │ └── wxss │ │ ├── step.wxss │ │ └── vstep.wxss ├── switch │ ├── index.js │ ├── index.wxml │ └── index.wxss ├── tab │ ├── index.js │ ├── index.wxml │ └── index.wxss ├── tag │ └── index.wxss ├── toast │ ├── index.js │ ├── index.wxml │ └── index.wxss └── toptips │ ├── index.js │ ├── index.wxml │ └── index.wxss └── html2wxml ├── highlight-styles ├── darcula.wxss ├── default.wxss ├── dracula.wxss └── tomorrow.wxss ├── html2wxml-main.js ├── html2wxml.js ├── html2wxml.json ├── html2wxml.wxml ├── html2wxml.wxss └── images └── loading.png /LICENSE: -------------------------------------------------------------------------------- 1 | 插件和小程序由广州米点网络科技有限公司开发并享有著作权,仅可用作搭建自营商城小程序线上销售商品,除此之外的任何其它用途并未在授权使用范围内,包括但不限于转售、出租、复制或再分发,或将源码部分或全部用于其它产品中。 2 | 对于违反上述协议、或未经书面许可的使用行为,均保留追究法律责任的权利。 3 | -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/LICENSE.txt: -------------------------------------------------------------------------------- 1 | 插件和小程序由广州米点网络科技有限公司开发并享有著作权,仅可用作搭建自营商城小程序线上销售商品,除此之外的任何其它用途并未在授权使用范围内,包括但不限于转售、出租、复制或再分发,或将源码部分或全部用于其它产品中。 2 | 对于违反上述协议、或未经书面许可的使用行为,均保留追究法律责任的权利。 3 | -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/assets/css/menu.css: -------------------------------------------------------------------------------- 1 | @charset "UTF-8"; 2 | @font-face { 3 | font-family: W2W; 4 | src: url(../fonts/W2W.eot?wrbsg0); 5 | src: url(../fonts/W2W.eot?wrbsg0#iefix) format("embedded-opentype"), url(../fonts/W2W.ttf?wrbsg0) format("truetype"), url(../fonts/W2W.woff?wrbsg0) format("woff"), url(../fonts/W2W.svg?wrbsg0#W2W) format("svg"); 6 | font-weight: 40.; 7 | font-style: normal; 8 | } 9 | 10 | #adminmenu #toplevel_page_w2w-settings .dashicons-before::before { 11 | font-family: W2W !important; 12 | content: '\e901' 13 | } -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/assets/fonts/W2W.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qwqoffice/woocommerce-to-wechatapp-mini/78e1bca0f93af4c0d57312104bc6368a521774e4/plugin/woocommerce-to-wechatapp-mini/assets/fonts/W2W.eot -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/assets/fonts/W2W.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qwqoffice/woocommerce-to-wechatapp-mini/78e1bca0f93af4c0d57312104bc6368a521774e4/plugin/woocommerce-to-wechatapp-mini/assets/fonts/W2W.ttf -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/assets/fonts/W2W.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qwqoffice/woocommerce-to-wechatapp-mini/78e1bca0f93af4c0d57312104bc6368a521774e4/plugin/woocommerce-to-wechatapp-mini/assets/fonts/W2W.woff -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/includes/wxpay/class.WxPay.Exception.php: -------------------------------------------------------------------------------- 1 | getMessage(); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/html2wxml/vendor/Highlight/languages/abnf.json: -------------------------------------------------------------------------------- 1 | {"illegal":"[!@#$^&',?+~`|:]","keywords":"ALPHA BIT CHAR CR CRLF CTL DIGIT DQUOTE HEXDIG HTAB LF LWSP OCTET SP VCHAR WSP","contains":[{"begin":"^[a-zA-Z][a-zA-Z0-9-]*\\s*=","returnBegin":true,"end":"=","relevance":0,"contains":[{"className":"attribute","begin":"^[a-zA-Z][a-zA-Z0-9-]*"}]},{"className":"comment","begin":";","end":"$","contains":[{"begin":"\\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\\b"},{"className":"doctag","begin":"(?:TODO|FIXME|NOTE|BUG|XXX):","relevance":0}]},{"className":"symbol","begin":"%b[0-1]+(-[0-1]+|(\\.[0-1]+)+){0,1}"},{"className":"symbol","begin":"%d[0-9]+(-[0-9]+|(\\.[0-9]+)+){0,1}"},{"className":"symbol","begin":"%x[0-9A-F]+(-[0-9A-F]+|(\\.[0-9A-F]+)+){0,1}"},{"className":"symbol","begin":"%[si]"},{"className":"string","begin":"\"","end":"\"","illegal":"\\n","contains":[{"begin":"\\\\[\\s\\S]","relevance":0}]},{"className":"number","begin":"\\b\\d+(\\.\\d+)?","relevance":0}]} 2 | -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/html2wxml/vendor/Highlight/languages/accesslog.json: -------------------------------------------------------------------------------- 1 | {"contains":[{"className":"number","begin":"\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?\\b"},{"className":"number","begin":"\\b\\d+\\b","relevance":0},{"className":"string","begin":"\"(GET|POST|HEAD|PUT|DELETE|CONNECT|OPTIONS|PATCH|TRACE)","end":"\"","keywords":"GET POST HEAD PUT DELETE CONNECT OPTIONS PATCH TRACE","illegal":"\\n","relevance":10},{"className":"string","begin":"\\[","end":"\\]","illegal":"\\n"},{"className":"string","begin":"\"","end":"\"","illegal":"\\n"}]} 2 | -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/html2wxml/vendor/Highlight/languages/apache.json: -------------------------------------------------------------------------------- 1 | {"aliases":["apacheconf"],"case_insensitive":true,"contains":[{"className":"comment","begin":"#","end":"$","contains":[{"begin":"\\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\\b"},{"className":"doctag","begin":"(?:TODO|FIXME|NOTE|BUG|XXX):","relevance":0}]},{"className":"section","begin":""},{"className":"attribute","begin":"\\w+","relevance":0,"keywords":{"nomarkup":"order deny allow setenv rewriterule rewriteengine rewritecond documentroot sethandler errordocument loadmodule options header listen serverroot servername"},"starts":{"end":"$","relevance":0,"keywords":{"literal":"on off all"},"contains":[{"className":"meta","begin":"\\s\\[","end":"\\]$"},{"className":"variable","begin":"[\\$%]\\{","end":"\\}","contains":["self",{"className":"number","begin":"[\\$%]\\d+"}]},{"$ref":"#contains.2.starts.contains.1.contains.1"},{"className":"string","begin":"\"","end":"\"","illegal":"\\n","contains":[{"begin":"\\\\[\\s\\S]","relevance":0}]}]}}],"illegal":"\\S"} 2 | -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/html2wxml/vendor/Highlight/languages/autohotkey.json: -------------------------------------------------------------------------------- 1 | {"case_insensitive":true,"aliases":["ahk"],"keywords":{"keyword":"Break Continue Critical Exit ExitApp Gosub Goto New OnExit Pause return SetBatchLines SetTimer Suspend Thread Throw Until ahk_id ahk_class ahk_pid ahk_exe ahk_group","literal":"A|0 true false NOT AND OR","built_in":"ComSpec Clipboard ClipboardAll ErrorLevel"},"contains":[{"className":"built_in","begin":"A_[a-zA-Z0-9]+"},{"begin":"`[\\s\\S]"},{"className":"string","begin":"\"","end":"\"","illegal":"\\n","contains":[{"$ref":"#contains.1"}]},{"className":"comment","begin":";","end":"$","contains":[{"begin":"\\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\\b"},{"className":"doctag","begin":"(?:TODO|FIXME|NOTE|BUG|XXX):","relevance":0}],"relevance":0},{"className":"comment","begin":"/\\*","end":"\\*/","contains":[{"$ref":"#contains.3.contains.0"},{"className":"doctag","begin":"(?:TODO|FIXME|NOTE|BUG|XXX):","relevance":0}]},{"className":"number","begin":"\\b\\d+(\\.\\d+)?","relevance":0},{"className":"subst","begin":"%(?=[a-zA-Z0-9#_$@])","end":"%","illegal":"[^a-zA-Z0-9#_$@]"},{"className":"built_in","begin":"^\\s*\\w+\\s*,"},{"className":"meta","begin":"^\\s*#w+","end":"$","relevance":0},{"className":"symbol","contains":[{"$ref":"#contains.1"}],"variants":[{"begin":"^[^\\n\";]+::(?!=)"},{"begin":"^[^\\n\";]+:(?!=)","relevance":0}]},{"begin":",\\s*,"}]} 2 | -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/html2wxml/vendor/Highlight/languages/awk.json: -------------------------------------------------------------------------------- 1 | {"keywords":{"keyword":"BEGIN END if else while do for in break continue delete next nextfile function func exit|10"},"contains":[{"className":"variable","variants":[{"begin":"\\$[\\w\\d#@][\\w\\d_]*"},{"begin":"\\$\\{(.*?)}"}]},{"className":"string","contains":[{"begin":"\\\\[\\s\\S]","relevance":0}],"variants":[{"begin":"(u|b)?r?'''","end":"'''","relevance":10},{"begin":"(u|b)?r?\"\"\"","end":"\"\"\"","relevance":10},{"begin":"(u|r|ur)'","end":"'","relevance":10},{"begin":"(u|r|ur)\"","end":"\"","relevance":10},{"begin":"(b|br)'","end":"'"},{"begin":"(b|br)\"","end":"\""},{"className":"string","begin":"'","end":"'","illegal":"\\n","contains":[{"$ref":"#contains.1.contains.0"}]},{"className":"string","begin":"\"","end":"\"","illegal":"\\n","contains":[{"$ref":"#contains.1.contains.0"}]}]},{"className":"regexp","begin":"\\/","end":"\\/[gimuy]*","illegal":"\\n","contains":[{"$ref":"#contains.1.contains.0"},{"begin":"\\[","end":"\\]","relevance":0,"contains":[{"$ref":"#contains.1.contains.0"}]}]},{"className":"comment","begin":"#","end":"$","contains":[{"begin":"\\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\\b"},{"className":"doctag","begin":"(?:TODO|FIXME|NOTE|BUG|XXX):","relevance":0}]},{"className":"number","begin":"\\b\\d+(\\.\\d+)?","relevance":0}]} 2 | -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/html2wxml/vendor/Highlight/languages/axapta.json: -------------------------------------------------------------------------------- 1 | {"keywords":"false int abstract private char boolean static null if for true while long throw finally protected final return void enum else break new catch byte super case short default double public try this switch continue reverse firstfast firstonly forupdate nofetch sum avg minof maxof count order group by asc desc index hint like dispaly edit client server ttsbegin ttscommit str real date container anytype common div mod","contains":[{"className":"comment","begin":"//","end":"$","contains":[{"begin":"\\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\\b"},{"className":"doctag","begin":"(?:TODO|FIXME|NOTE|BUG|XXX):","relevance":0}]},{"className":"comment","begin":"/\\*","end":"\\*/","contains":[{"$ref":"#contains.0.contains.0"},{"className":"doctag","begin":"(?:TODO|FIXME|NOTE|BUG|XXX):","relevance":0}]},{"className":"string","begin":"'","end":"'","illegal":"\\n","contains":[{"begin":"\\\\[\\s\\S]","relevance":0}]},{"className":"string","begin":"\"","end":"\"","illegal":"\\n","contains":[{"$ref":"#contains.2.contains.0"}]},{"className":"number","begin":"(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)","relevance":0},{"className":"meta","begin":"#","end":"$"},{"className":"class","beginKeywords":"class interface","end":"{","excludeEnd":true,"illegal":":","contains":[{"beginKeywords":"extends implements"},{"className":"title","begin":"[a-zA-Z_]\\w*","relevance":0}]}]} 2 | -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/html2wxml/vendor/Highlight/languages/bnf.json: -------------------------------------------------------------------------------- 1 | {"contains":[{"className":"attribute","begin":"<","end":">"},{"begin":"::=","starts":{"end":"$","contains":[{"begin":"<","end":">"},{"className":"comment","begin":"//","end":"$","contains":[{"begin":"\\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\\b"},{"className":"doctag","begin":"(?:TODO|FIXME|NOTE|BUG|XXX):","relevance":0}]},{"className":"comment","begin":"/\\*","end":"\\*/","contains":[{"$ref":"#contains.1.starts.contains.1.contains.0"},{"className":"doctag","begin":"(?:TODO|FIXME|NOTE|BUG|XXX):","relevance":0}]},{"className":"string","begin":"'","end":"'","illegal":"\\n","contains":[{"begin":"\\\\[\\s\\S]","relevance":0}]},{"className":"string","begin":"\"","end":"\"","illegal":"\\n","contains":[{"$ref":"#contains.1.starts.contains.3.contains.0"}]}]}}]} 2 | -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/html2wxml/vendor/Highlight/languages/brainfuck.json: -------------------------------------------------------------------------------- 1 | {"aliases":["bf"],"contains":[{"className":"comment","begin":"[^\\[\\]\\.,\\+\\-<> \r\n]","end":"[\\[\\]\\.,\\+\\-<> \r\n]","contains":[{"begin":"\\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\\b"},{"className":"doctag","begin":"(?:TODO|FIXME|NOTE|BUG|XXX):","relevance":0}],"returnEnd":true,"relevance":0},{"className":"title","begin":"[\\[\\]]","relevance":0},{"className":"string","begin":"[\\.,]","relevance":0},{"begin":"\\+\\+|\\-\\-","returnBegin":true,"contains":[{"className":"literal","begin":"[\\+\\-]","relevance":0}]},{"$ref":"#contains.3.contains.0"}]} 2 | -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/html2wxml/vendor/Highlight/languages/capnproto.json: -------------------------------------------------------------------------------- 1 | {"aliases":["capnp"],"keywords":{"keyword":"struct enum interface union group import using const annotation extends in of on as with from fixed","built_in":"Void Bool Int8 Int16 Int32 Int64 UInt8 UInt16 UInt32 UInt64 Float32 Float64 Text Data AnyPointer AnyStruct Capability List","literal":"true false"},"contains":[{"className":"string","begin":"\"","end":"\"","illegal":"\\n","contains":[{"begin":"\\\\[\\s\\S]","relevance":0}]},{"className":"number","begin":"\\b\\d+(\\.\\d+)?","relevance":0},{"className":"comment","begin":"#","end":"$","contains":[{"begin":"\\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\\b"},{"className":"doctag","begin":"(?:TODO|FIXME|NOTE|BUG|XXX):","relevance":0}]},{"className":"meta","begin":"@0x[\\w\\d]{16};","illegal":"\\n"},{"className":"symbol","begin":"@\\d+\\b"},{"className":"class","beginKeywords":"struct enum","end":"\\{","illegal":"\\n","contains":[{"className":"title","begin":"[a-zA-Z]\\w*","relevance":0,"starts":{"endsWithParent":true,"excludeEnd":true}}]},{"className":"class","beginKeywords":"interface","end":"\\{","illegal":"\\n","contains":[{"className":"title","begin":"[a-zA-Z]\\w*","relevance":0,"starts":{"endsWithParent":true,"excludeEnd":true}}]}]} 2 | -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/html2wxml/vendor/Highlight/languages/clean.json: -------------------------------------------------------------------------------- 1 | {"aliases":["clean","icl","dcl"],"keywords":{"keyword":"if let in with where case of class instance otherwise implementation definition system module from import qualified as special code inline foreign export ccall stdcall generic derive infix infixl infixr","literal":"True False"},"contains":[{"className":"comment","begin":"//","end":"$","contains":[{"begin":"\\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\\b"},{"className":"doctag","begin":"(?:TODO|FIXME|NOTE|BUG|XXX):","relevance":0}]},{"className":"comment","begin":"/\\*","end":"\\*/","contains":[{"$ref":"#contains.0.contains.0"},{"className":"doctag","begin":"(?:TODO|FIXME|NOTE|BUG|XXX):","relevance":0}]},{"className":"string","begin":"'","end":"'","illegal":"\\n","contains":[{"begin":"\\\\[\\s\\S]","relevance":0}]},{"className":"string","begin":"\"","end":"\"","illegal":"\\n","contains":[{"$ref":"#contains.2.contains.0"}]},{"className":"number","begin":"(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)","relevance":0},{"begin":"->|<-[|:]?|::|#!?|>>=|\\{\\||\\|\\}|:==|=:|\\.\\.|<>|`"}]} 2 | -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/html2wxml/vendor/Highlight/languages/clojure-repl.json: -------------------------------------------------------------------------------- 1 | {"contains":[{"className":"meta","begin":"^([\\w.-]+|\\s*#_)=>","starts":{"end":"$","subLanguage":"clojure"}}]} 2 | -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/html2wxml/vendor/Highlight/languages/csp.json: -------------------------------------------------------------------------------- 1 | {"case_insensitive":false,"lexemes":"[a-zA-Z][a-zA-Z0-9_-]*","keywords":{"keyword":"base-uri child-src connect-src default-src font-src form-action frame-ancestors frame-src img-src media-src object-src plugin-types report-uri sandbox script-src style-src"},"contains":[{"className":"string","begin":"'","end":"'"},{"className":"attribute","begin":"^Content","end":":","excludeEnd":true}]} 2 | -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/html2wxml/vendor/Highlight/languages/diff.json: -------------------------------------------------------------------------------- 1 | {"aliases":["patch"],"contains":[{"className":"meta","relevance":10,"variants":[{"begin":"^@@ +\\-\\d+,\\d+ +\\+\\d+,\\d+ +@@$"},{"begin":"^\\*\\*\\* +\\d+,\\d+ +\\*\\*\\*\\*$"},{"begin":"^\\-\\-\\- +\\d+,\\d+ +\\-\\-\\-\\-$"}]},{"className":"comment","variants":[{"begin":"Index: ","end":"$"},{"begin":"={3,}","end":"$"},{"begin":"^\\-{3}","end":"$"},{"begin":"^\\*{3} ","end":"$"},{"begin":"^\\+{3}","end":"$"},{"begin":"\\*{5}","end":"\\*{5}$"}]},{"className":"addition","begin":"^\\+","end":"$"},{"className":"deletion","begin":"^\\-","end":"$"},{"className":"addition","begin":"^\\!","end":"$"}]} 2 | -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/html2wxml/vendor/Highlight/languages/dockerfile.json: -------------------------------------------------------------------------------- 1 | {"aliases":["docker"],"case_insensitive":true,"keywords":"from maintainer expose env arg user onbuild stopsignal","contains":[{"className":"comment","begin":"#","end":"$","contains":[{"begin":"\\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\\b"},{"className":"doctag","begin":"(?:TODO|FIXME|NOTE|BUG|XXX):","relevance":0}]},{"className":"string","begin":"'","end":"'","illegal":"\\n","contains":[{"begin":"\\\\[\\s\\S]","relevance":0}]},{"className":"string","begin":"\"","end":"\"","illegal":"\\n","contains":[{"$ref":"#contains.1.contains.0"}]},{"className":"number","begin":"\\b\\d+(\\.\\d+)?","relevance":0},{"beginKeywords":"run cmd entrypoint volume add copy workdir label healthcheck shell","starts":{"end":"[^\\\\]\\n","subLanguage":"bash"}}],"illegal":"","contains":[{"begin":"\\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\\b"},{"className":"doctag","begin":"(?:TODO|FIXME|NOTE|BUG|XXX):","relevance":0}]},{"begin":"<%[%=-]?","end":"[%-]?%>","subLanguage":"ruby","excludeBegin":true,"excludeEnd":true}]} 2 | -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/html2wxml/vendor/Highlight/languages/erlang-repl.json: -------------------------------------------------------------------------------- 1 | {"keywords":{"built_in":"spawn spawn_link self","keyword":"after and andalso|10 band begin bnot bor bsl bsr bxor case catch cond div end fun if let not of or orelse|10 query receive rem try when xor"},"contains":[{"className":"meta","begin":"^[0-9]+> ","relevance":10},{"className":"comment","begin":"%","end":"$","contains":[{"begin":"\\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\\b"},{"className":"doctag","begin":"(?:TODO|FIXME|NOTE|BUG|XXX):","relevance":0}]},{"className":"number","begin":"\\b(\\d+#[a-fA-F0-9]+|\\d+(\\.\\d+)?([eE][-+]?\\d+)?)","relevance":0},{"className":"string","begin":"'","end":"'","illegal":"\\n","contains":[{"begin":"\\\\[\\s\\S]","relevance":0}]},{"className":"string","begin":"\"","end":"\"","illegal":"\\n","contains":[{"$ref":"#contains.3.contains.0"}]},{"begin":"\\?(::)?([A-Z]\\w*(::)?)+"},{"begin":"->"},{"begin":"ok"},{"begin":"!"},{"begin":"(\\b[a-z'][a-zA-Z0-9_']*:[a-z'][a-zA-Z0-9_']*)|(\\b[a-z'][a-zA-Z0-9_']*)","relevance":0},{"begin":"[A-Z][a-zA-Z0-9_']*","relevance":0}]} 2 | -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/html2wxml/vendor/Highlight/languages/fix.json: -------------------------------------------------------------------------------- 1 | {"contains":[{"begin":"[^\\x{2401}\\x{0001}]+","end":"[\\x{2401}\\x{0001}]","excludeEnd":true,"returnBegin":true,"returnEnd":false,"contains":[{"begin":"([^\\x{2401}\\x{0001}=]+)","end":"=([^\\x{2401}\\x{0001}=]+)","returnEnd":true,"returnBegin":false,"className":"attr"},{"begin":"=","end":"([\\x{2401}\\x{0001}])","excludeEnd":true,"excludeBegin":true,"className":"string"}]}],"case_insensitive":true} 2 | -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/html2wxml/vendor/Highlight/languages/flix.json: -------------------------------------------------------------------------------- 1 | {"keywords":{"literal":"true false","keyword":"case class def else enum if impl import in lat rel index let match namespace switch type yield with"},"contains":[{"className":"comment","begin":"//","end":"$","contains":[{"begin":"\\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\\b"},{"className":"doctag","begin":"(?:TODO|FIXME|NOTE|BUG|XXX):","relevance":0}]},{"className":"comment","begin":"/\\*","end":"\\*/","contains":[{"$ref":"#contains.0.contains.0"},{"className":"doctag","begin":"(?:TODO|FIXME|NOTE|BUG|XXX):","relevance":0}]},{"className":"string","begin":"'(.|\\\\[xXuU][a-zA-Z0-9]+)'"},{"className":"string","variants":[{"begin":"\"","end":"\""}]},{"className":"function","beginKeywords":"def","end":"[:={\\[(\\n;]","excludeEnd":true,"contains":[{"className":"title","begin":"[^0-9\\n\\t \"'(),.`{}\\[\\]:;][^\\n\\t \"'(),.`{}\\[\\]:;]+|[^0-9\\n\\t \"'(),.`{}\\[\\]:;=]"}]},{"className":"number","begin":"(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)","relevance":0}]} 2 | -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/html2wxml/vendor/Highlight/languages/fsharp.json: -------------------------------------------------------------------------------- 1 | {"aliases":["fs"],"keywords":"abstract and as assert base begin class default delegate do done downcast downto elif else end exception extern false finally for fun function global if in inherit inline interface internal lazy let match member module mutable namespace new null of open or override private public rec return sig static struct then to true try type upcast use val void when while with yield","illegal":"\\/\\*","contains":[{"className":"keyword","begin":"\\b(yield|return|let|do)!"},{"className":"string","begin":"@\"","end":"\"","contains":[{"begin":"\"\""}]},{"className":"string","begin":"\"\"\"","end":"\"\"\""},{"className":"comment","begin":"\\(\\*","end":"\\*\\)","contains":[{"begin":"\\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\\b"},{"className":"doctag","begin":"(?:TODO|FIXME|NOTE|BUG|XXX):","relevance":0}]},{"className":"class","beginKeywords":"type","end":"\\(|=|$","excludeEnd":true,"contains":[{"className":"title","begin":"[a-zA-Z_]\\w*","relevance":0},{"begin":"<","end":">","contains":[{"className":"title","begin":"'[a-zA-Z0-9_]+","relevance":0}]}]},{"className":"meta","begin":"\\[<","end":">\\]","relevance":10},{"className":"symbol","begin":"\\B('[A-Za-z])\\b","contains":[{"begin":"\\\\[\\s\\S]","relevance":0}]},{"className":"comment","begin":"//","end":"$","contains":[{"$ref":"#contains.3.contains.0"},{"className":"doctag","begin":"(?:TODO|FIXME|NOTE|BUG|XXX):","relevance":0}]},{"className":"string","begin":"\"","end":"\"","illegal":null,"contains":[{"$ref":"#contains.6.contains.0"}]},{"className":"number","begin":"(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)","relevance":0}]} 2 | -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/html2wxml/vendor/Highlight/languages/gcode.json: -------------------------------------------------------------------------------- 1 | {"aliases":["nc"],"case_insensitive":true,"lexemes":"[A-Z_][A-Z0-9_.]*","keywords":"IF DO WHILE ENDWHILE CALL ENDIF SUB ENDSUB GOTO REPEAT ENDREPEAT EQ LT GT NE GE LE OR XOR","contains":[{"className":"meta","begin":"\\%"},{"className":"meta","begin":"([O])([0-9]+)"},{"className":"comment","begin":"//","end":"$","contains":[{"begin":"\\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\\b"},{"className":"doctag","begin":"(?:TODO|FIXME|NOTE|BUG|XXX):","relevance":0}]},{"className":"comment","begin":"/\\*","end":"\\*/","contains":[{"$ref":"#contains.2.contains.0"},{"className":"doctag","begin":"(?:TODO|FIXME|NOTE|BUG|XXX):","relevance":0}]},{"className":"comment","begin":"\\(","end":"\\)","contains":[{"$ref":"#contains.2.contains.0"},{"className":"doctag","begin":"(?:TODO|FIXME|NOTE|BUG|XXX):","relevance":0}]},{"className":"number","begin":"([-+]?([0-9]*\\.?[0-9]+\\.?))|(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)","relevance":0},{"className":"string","begin":"'","end":"'","illegal":null,"contains":[{"begin":"\\\\[\\s\\S]","relevance":0}]},{"className":"string","begin":"\"","end":"\"","illegal":null,"contains":[{"$ref":"#contains.6.contains.0"}]},{"className":"name","begin":"([G])([0-9]+\\.?[0-9]?)"},{"className":"name","begin":"([M])([0-9]+\\.?[0-9]?)"},{"className":"attr","begin":"(VC|VS|#)","end":"(\\d+)"},{"className":"attr","begin":"(VZOFX|VZOFY|VZOFZ)"},{"className":"built_in","begin":"(ATAN|ABS|ACOS|ASIN|SIN|COS|EXP|FIX|FUP|ROUND|LN|TAN)(\\[)","end":"([-+]?([0-9]*\\.?[0-9]+\\.?))(\\])"},{"className":"symbol","variants":[{"begin":"N","end":"\\d+","illegal":"\\W"}]}]} 2 | -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/html2wxml/vendor/Highlight/languages/gherkin.json: -------------------------------------------------------------------------------- 1 | {"aliases":["feature"],"keywords":"Feature Background Ability Business Need Scenario Scenarios Scenario Outline Scenario Template Examples Given And Then But When","contains":[{"className":"symbol","begin":"\\*","relevance":0},{"className":"meta","begin":"@[^@\\s]+"},{"begin":"\\|","end":"\\|\\w*$","contains":[{"className":"string","begin":"[^|]+"}]},{"className":"variable","begin":"<","end":">"},{"className":"comment","begin":"#","end":"$","contains":[{"begin":"\\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\\b"},{"className":"doctag","begin":"(?:TODO|FIXME|NOTE|BUG|XXX):","relevance":0}]},{"className":"string","begin":"\"\"\"","end":"\"\"\""},{"className":"string","begin":"\"","end":"\"","illegal":"\\n","contains":[{"begin":"\\\\[\\s\\S]","relevance":0}]}]} 2 | -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/html2wxml/vendor/Highlight/languages/go.json: -------------------------------------------------------------------------------- 1 | {"aliases":["golang"],"keywords":{"keyword":"break default func interface select case map struct chan else goto package switch const fallthrough if range type continue for import return var go defer bool byte complex64 complex128 float32 float64 int8 int16 int32 int64 string uint8 uint16 uint32 uint64 int uint uintptr rune","literal":"true false iota nil","built_in":"append cap close complex copy imag len make new panic print println real recover delete"},"illegal":"","end":",\\s+","returnBegin":true,"endsWithParent":true,"contains":[{"className":"attr","begin":":\\w+"},{"className":"string","begin":"'","end":"'","illegal":"\\n","contains":[{"begin":"\\\\[\\s\\S]","relevance":0}]},{"className":"string","begin":"\"","end":"\"","illegal":"\\n","contains":[{"$ref":"#contains.3.contains.3.contains.0.contains.1.contains.0"}]},{"begin":"\\w+","relevance":0}]}]},{"begin":"\\(\\s*","end":"\\s*\\)","excludeEnd":true,"contains":[{"begin":"\\w+\\s*=","end":"\\s+","returnBegin":true,"endsWithParent":true,"contains":[{"className":"attr","begin":"\\w+","relevance":0},{"$ref":"#contains.3.contains.3.contains.0.contains.1"},{"$ref":"#contains.3.contains.3.contains.0.contains.2"},{"begin":"\\w+","relevance":0}]}]}]},{"begin":"^\\s*[=~]\\s*"},{"begin":"#{","starts":{"end":"}","subLanguage":"ruby"}}]} 2 | -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/html2wxml/vendor/Highlight/languages/handlebars.json: -------------------------------------------------------------------------------- 1 | {"aliases":["hbs","html.hbs","html.handlebars"],"case_insensitive":true,"subLanguage":"xml","contains":[{"className":"comment","begin":"{{!(--)?","end":"(--)?}}","contains":[{"begin":"\\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\\b"},{"className":"doctag","begin":"(?:TODO|FIXME|NOTE|BUG|XXX):","relevance":0}]},{"className":"template-tag","begin":"\\{\\{[#\\/]","end":"\\}\\}","contains":[{"className":"name","begin":"[a-zA-Z\\.-]+","keywords":{"builtin-name":"each in with if else unless bindattr action collection debugger log outlet template unbound view yield"},"starts":{"endsWithParent":true,"relevance":0,"contains":[{"className":"string","begin":"\"","end":"\"","illegal":"\\n","contains":[{"begin":"\\\\[\\s\\S]","relevance":0}]}]}}]},{"className":"template-variable","begin":"\\{\\{","end":"\\}\\}","keywords":{"$ref":"#contains.1.contains.0.keywords"}}]} 2 | -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/html2wxml/vendor/Highlight/languages/htmlbars.json: -------------------------------------------------------------------------------- 1 | {"case_insensitive":true,"subLanguage":"xml","contains":[{"className":"comment","begin":"{{!(--)?","end":"(--)?}}","contains":[{"begin":"\\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\\b"},{"className":"doctag","begin":"(?:TODO|FIXME|NOTE|BUG|XXX):","relevance":0}]},{"className":"template-tag","begin":"\\{\\{[#\\/]","end":"\\}\\}","contains":[{"className":"name","begin":"[a-zA-Z\\.\\-]+","keywords":{"builtin-name":"action collection component concat debugger each each-in else get hash if input link-to loc log mut outlet partial query-params render textarea unbound unless with yield view"},"starts":{"endsWithParent":true,"relevance":0,"keywords":{"keyword":"as","built_in":"action collection component concat debugger each each-in else get hash if input link-to loc log mut outlet partial query-params render textarea unbound unless with yield view"},"contains":[{"className":"string","begin":"\"","end":"\"","illegal":"\\n","contains":[{"begin":"\\\\[\\s\\S]","relevance":0}]},{"illegal":"\\}\\}","begin":"[a-zA-Z0-9_]+=","returnBegin":true,"relevance":0,"contains":[{"className":"attr","begin":"[a-zA-Z0-9_]+"}]},{"className":"number","begin":"\\b\\d+(\\.\\d+)?","relevance":0}]}}]},{"className":"template-variable","begin":"\\{\\{[a-zA-Z][a-zA-Z\\-]+","end":"\\}\\}","keywords":{"keyword":"as","built_in":"action collection component concat debugger each each-in else get hash if input link-to loc log mut outlet partial query-params render textarea unbound unless with yield view"},"contains":[{"$ref":"#contains.1.contains.0.starts.contains.0"}]}]} 2 | -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/html2wxml/vendor/Highlight/languages/http.json: -------------------------------------------------------------------------------- 1 | {"aliases":["https"],"illegal":"\\S","contains":[{"begin":"^HTTP/[0-9\\.]+","end":"$","contains":[{"className":"number","begin":"\\b\\d{3}\\b"}]},{"begin":"^[A-Z]+ (.*?) HTTP/[0-9\\.]+$","returnBegin":true,"end":"$","contains":[{"className":"string","begin":" ","end":" ","excludeBegin":true,"excludeEnd":true},{"begin":"HTTP/[0-9\\.]+"},{"className":"keyword","begin":"[A-Z]+"}]},{"className":"attribute","begin":"^\\w","end":": ","excludeEnd":true,"illegal":"\\n|\\s|=","starts":{"end":"$","relevance":0}},{"begin":"\\n\\n","starts":{"subLanguage":[],"endsWithParent":true}}]} 2 | -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/html2wxml/vendor/Highlight/languages/inform7.json: -------------------------------------------------------------------------------- 1 | {"aliases":["i7"],"case_insensitive":true,"keywords":{"keyword":"thing room person man woman animal container supporter backdrop door scenery open closed locked inside gender is are say understand kind of rule"},"contains":[{"className":"string","begin":"\"","end":"\"","relevance":0,"contains":[{"className":"subst","begin":"\\[","end":"\\]"}]},{"className":"section","begin":"^(Volume|Book|Part|Chapter|Section|Table)\\b","end":"$"},{"begin":"^(Check|Carry out|Report|Instead of|To|Rule|When|Before|After)\\b","end":":","contains":[{"begin":"\\(This","end":"\\)"}]},{"className":"comment","begin":"\\[","end":"\\]","contains":["self"]}]} 2 | -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/html2wxml/vendor/Highlight/languages/ini.json: -------------------------------------------------------------------------------- 1 | {"aliases":["toml"],"case_insensitive":true,"illegal":"\\S","contains":[{"className":"comment","begin":";","end":"$","contains":[{"begin":"\\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\\b"},{"className":"doctag","begin":"(?:TODO|FIXME|NOTE|BUG|XXX):","relevance":0}]},{"className":"comment","begin":"#","end":"$","contains":[{"$ref":"#contains.0.contains.0"},{"className":"doctag","begin":"(?:TODO|FIXME|NOTE|BUG|XXX):","relevance":0}]},{"className":"section","begin":"^\\s*\\[+","end":"\\]+"},{"begin":"^[a-z0-9\\[\\]_-]+\\s*=\\s*","end":"$","returnBegin":true,"contains":[{"className":"attr","begin":"[a-z0-9\\[\\]_-]+"},{"begin":"=","endsWithParent":true,"relevance":0,"contains":[{"className":"literal","begin":"\\bon|off|true|false|yes|no\\b"},{"className":"variable","variants":[{"begin":"\\$[\\w\\d\"][\\w\\d_]*"},{"begin":"\\$\\{(.*?)}"}]},{"className":"string","contains":[{"begin":"\\\\[\\s\\S]","relevance":0}],"variants":[{"begin":"'''","end":"'''","relevance":10},{"begin":"\"\"\"","end":"\"\"\"","relevance":10},{"begin":"\"","end":"\""},{"begin":"'","end":"'"}]},{"className":"number","begin":"([\\+\\-]+)?[\\d]+_[\\d_]+"},{"className":"number","begin":"\\b\\d+(\\.\\d+)?","relevance":0}]}]}]} 2 | -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/html2wxml/vendor/Highlight/languages/jboss-cli.json: -------------------------------------------------------------------------------- 1 | {"aliases":["wildfly-cli"],"lexemes":"[a-z-]+","keywords":{"keyword":"alias batch cd clear command connect connection-factory connection-info data-source deploy deployment-info deployment-overlay echo echo-dmr help history if jdbc-driver-info jms-queue|20 jms-topic|20 ls patch pwd quit read-attribute read-operation reload rollout-plan run-batch set shutdown try unalias undeploy unset version xa-data-source","literal":"true false"},"contains":[{"className":"comment","begin":"#","end":"$","contains":[{"begin":"\\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\\b"},{"className":"doctag","begin":"(?:TODO|FIXME|NOTE|BUG|XXX):","relevance":0}]},{"className":"string","begin":"\"","end":"\"","illegal":"\\n","contains":[{"begin":"\\\\[\\s\\S]","relevance":0}]},{"className":"params","begin":"--[\\w\\-=\\/]+"},{"className":"function","begin":":[\\w\\-.]+","relevance":0},{"className":"string","begin":"\\B(([\\/.])[\\w\\-.\\/=]+)+"},{"className":"params","begin":"\\(","end":"\\)","contains":[{"begin":"[\\w-]+ *=","returnBegin":true,"relevance":0,"contains":[{"className":"attr","begin":"[\\w-]+"}]}],"relevance":0}]} 2 | -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/html2wxml/vendor/Highlight/languages/json.json: -------------------------------------------------------------------------------- 1 | {"contains":[{"className":"string","begin":"\"","end":"\"","illegal":"\\n","contains":[{"begin":"\\\\[\\s\\S]","relevance":0}]},{"className":"number","begin":"(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)","relevance":0},{"begin":"{","end":"}","contains":[{"className":"attr","begin":"\"","end":"\"","contains":[{"$ref":"#contains.0.contains.0"}],"illegal":"\\n"},{"end":",","endsWithParent":true,"excludeEnd":true,"contains":{"$ref":"#contains"},"keywords":{"literal":"true false null"},"begin":":"}],"illegal":"\\S"},{"begin":"\\[","end":"\\]","contains":[{"end":",","endsWithParent":true,"excludeEnd":true,"contains":{"$ref":"#contains"},"keywords":{"$ref":"#contains.2.contains.1.keywords"}}],"illegal":"\\S"}],"keywords":{"$ref":"#contains.2.contains.1.keywords"},"illegal":"\\S"} 2 | -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/html2wxml/vendor/Highlight/languages/julia-repl.json: -------------------------------------------------------------------------------- 1 | {"contains":[{"className":"meta","begin":"^julia>","relevance":10,"starts":{"end":"^(?![ ]{6})","subLanguage":"julia"},"aliases":["jldoctest"]}]} 2 | -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/html2wxml/vendor/Highlight/languages/ldif.json: -------------------------------------------------------------------------------- 1 | {"contains":[{"className":"attribute","begin":"^dn","end":": ","excludeEnd":true,"starts":{"end":"$","relevance":0},"relevance":10},{"className":"attribute","begin":"^\\w","end":": ","excludeEnd":true,"starts":{"end":"$","relevance":0}},{"className":"literal","begin":"^-","end":"$"},{"className":"comment","begin":"#","end":"$","contains":[{"begin":"\\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\\b"},{"className":"doctag","begin":"(?:TODO|FIXME|NOTE|BUG|XXX):","relevance":0}]}]} 2 | -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/html2wxml/vendor/Highlight/languages/leaf.json: -------------------------------------------------------------------------------- 1 | {"contains":[{"className":"function","begin":"#+[A-Za-z_0-9]*\\(","end":" {","returnBegin":true,"excludeEnd":true,"contains":[{"className":"keyword","begin":"#+"},{"className":"title","begin":"[A-Za-z_][A-Za-z_0-9]*"},{"className":"params","begin":"\\(","end":"\\)","endsParent":true,"contains":[{"className":"string","begin":"\"","end":"\""},{"className":"variable","begin":"[A-Za-z_][A-Za-z_0-9]*"}]}]}]} 2 | -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/html2wxml/vendor/Highlight/languages/makefile.json: -------------------------------------------------------------------------------- 1 | {"aliases":["mk","mak"],"keywords":"define endef undefine ifdef ifndef ifeq ifneq else endif include -include sinclude override export unexport private vpath","lexemes":"[\\w-]+","contains":[{"className":"comment","begin":"#","end":"$","contains":[{"begin":"\\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\\b"},{"className":"doctag","begin":"(?:TODO|FIXME|NOTE|BUG|XXX):","relevance":0}]},{"className":"variable","variants":[{"begin":"\\$\\([a-zA-Z_]\\w*\\)","contains":[{"begin":"\\\\[\\s\\S]","relevance":0}]},{"begin":"\\$[@%","subLanguage":"xml","relevance":0},{"className":"bullet","begin":"^([*+-]|(\\d+\\.))\\s+"},{"className":"strong","begin":"[*_]{2}.+?[*_]{2}"},{"className":"emphasis","variants":[{"begin":"\\*.+?\\*"},{"begin":"_.+?_","relevance":0}]},{"className":"quote","begin":"^>\\s+","end":"$"},{"className":"code","variants":[{"begin":"^```w*s*$","end":"^```s*$"},{"begin":"`.+?`"},{"begin":"^( {4}|\t)","end":"$","relevance":0}]},{"begin":"^[-\\*]{3,}","end":"$"},{"begin":"\\[.+?\\][\\(\\[].*?[\\)\\]]","returnBegin":true,"contains":[{"className":"string","begin":"\\[","end":"\\]","excludeBegin":true,"returnEnd":true,"relevance":0},{"className":"link","begin":"\\]\\(","end":"\\)","excludeBegin":true,"excludeEnd":true},{"className":"symbol","begin":"\\]\\[","end":"\\]","excludeBegin":true,"excludeEnd":true}],"relevance":10},{"begin":"^\\[[^\\n]+\\]:","returnBegin":true,"contains":[{"className":"symbol","begin":"\\[","end":"\\]","excludeBegin":true,"excludeEnd":true},{"className":"link","begin":":\\s*","end":"$","excludeBegin":true}]}]} 2 | -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/html2wxml/vendor/Highlight/languages/mizar.json: -------------------------------------------------------------------------------- 1 | {"keywords":"environ vocabularies notations constructors definitions registrations theorems schemes requirements begin end definition registration cluster existence pred func defpred deffunc theorem proof let take assume then thus hence ex for st holds consider reconsider such that and in provided of as from be being by means equals implies iff redefine define now not or attr is mode suppose per cases set thesis contradiction scheme reserve struct correctness compatibility coherence symmetry assymetry reflexivity irreflexivity connectedness uniqueness commutativity idempotence involutiveness projectivity","contains":[{"className":"comment","begin":"::","end":"$","contains":[{"begin":"\\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\\b"},{"className":"doctag","begin":"(?:TODO|FIXME|NOTE|BUG|XXX):","relevance":0}]}]} 2 | -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/html2wxml/vendor/Highlight/languages/mojolicious.json: -------------------------------------------------------------------------------- 1 | {"subLanguage":"xml","contains":[{"className":"meta","begin":"^__(END|DATA)__$"},{"begin":"^\\s*%{1,2}={0,2}","end":"$","subLanguage":"perl"},{"begin":"<%{1,2}={0,2}","end":"={0,1}%>","subLanguage":"perl","excludeBegin":true,"excludeEnd":true}]} 2 | -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/html2wxml/vendor/Highlight/languages/nix.json: -------------------------------------------------------------------------------- 1 | {"aliases":["nixos"],"keywords":{"keyword":"rec with let in inherit assert if else then","literal":"true false or and null","built_in":"import abort baseNameOf dirOf isNull builtins map removeAttrs throw toString derivation"},"contains":[{"className":"number","begin":"\\b\\d+(\\.\\d+)?","relevance":0},{"className":"comment","begin":"#","end":"$","contains":[{"begin":"\\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\\b"},{"className":"doctag","begin":"(?:TODO|FIXME|NOTE|BUG|XXX):","relevance":0}]},{"className":"comment","begin":"/\\*","end":"\\*/","contains":[{"$ref":"#contains.1.contains.0"},{"className":"doctag","begin":"(?:TODO|FIXME|NOTE|BUG|XXX):","relevance":0}]},{"className":"string","contains":[{"className":"subst","begin":"\\$\\{","end":"}","keywords":{"$ref":"#keywords"},"contains":{"$ref":"#contains"}}],"variants":[{"begin":"''","end":"''"},{"begin":"\"","end":"\""}]},{"begin":"[a-zA-Z0-9-_]+(\\s*=)","returnBegin":true,"relevance":0,"contains":[{"className":"attr","begin":"\\S+"}]}]} 2 | -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/html2wxml/vendor/Highlight/languages/parser3.json: -------------------------------------------------------------------------------- 1 | {"subLanguage":"xml","relevance":0,"contains":[{"className":"comment","begin":"^#","end":"$","contains":[{"begin":"\\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\\b"},{"className":"doctag","begin":"(?:TODO|FIXME|NOTE|BUG|XXX):","relevance":0}]},{"className":"comment","begin":"\\^rem{","end":"}","contains":[{"className":"comment","begin":"{","end":"}","contains":["self",{"$ref":"#contains.0.contains.0"},{"className":"doctag","begin":"(?:TODO|FIXME|NOTE|BUG|XXX):","relevance":0}]},{"$ref":"#contains.0.contains.0"},{"className":"doctag","begin":"(?:TODO|FIXME|NOTE|BUG|XXX):","relevance":0}],"relevance":10},{"className":"meta","begin":"^@(?:BASE|USE|CLASS|OPTIONS)$","relevance":10},{"className":"title","begin":"@[\\w\\-]+\\[[\\w^;\\-]*\\](?:\\[[\\w^;\\-]*\\])?(?:.*)$"},{"className":"variable","begin":"\\$\\{?[\\w\\-\\.\\:]+\\}?"},{"className":"keyword","begin":"\\^[\\w\\-\\.\\:]+"},{"className":"number","begin":"\\^#[0-9a-fA-F]+"},{"className":"number","begin":"(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)","relevance":0}]} 2 | -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/html2wxml/vendor/Highlight/languages/profile.json: -------------------------------------------------------------------------------- 1 | {"contains":[{"className":"number","begin":"(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)","relevance":0},{"begin":"[a-zA-Z_][\\da-zA-Z_]+\\.[\\da-zA-Z_]{1,3}","end":":","excludeEnd":true},{"begin":"(ncalls|tottime|cumtime)","end":"$","keywords":"ncalls tottime|10 cumtime|10 filename","relevance":10},{"begin":"function calls","end":"$","contains":[{"$ref":"#contains.0"}],"relevance":10},{"className":"string","begin":"'","end":"'","illegal":"\\n","contains":[{"begin":"\\\\[\\s\\S]","relevance":0}]},{"className":"string","begin":"\"","end":"\"","illegal":"\\n","contains":[{"$ref":"#contains.4.contains.0"},{"className":"subst","begin":"\\\\[abfnrtv]\\|\\\\x[0-9a-fA-F]*\\\\\\|%[-+# *.0-9]*[dioxXucsfeEgGp]","relevance":0},{"className":"subst","begin":"\\\\[abfnrtv]\\|\\\\x[0-9a-fA-F]*\\\\\\|%[-+# *.0-9]*[dioxXucsfeEgGp]","relevance":0}]},{"className":"string","begin":"\\(","end":"\\)$","excludeBegin":true,"excludeEnd":true,"relevance":0}]} 2 | -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/html2wxml/vendor/Highlight/languages/protobuf.json: -------------------------------------------------------------------------------- 1 | {"keywords":{"keyword":"package import option optional required repeated group","built_in":"double float int32 int64 uint32 uint64 sint32 sint64 fixed32 fixed64 sfixed32 sfixed64 bool string bytes","literal":"true false"},"contains":[{"className":"string","begin":"\"","end":"\"","illegal":"\\n","contains":[{"begin":"\\\\[\\s\\S]","relevance":0},{"className":"subst","begin":"\\\\[abfnrtv]\\|\\\\x[0-9a-fA-F]*\\\\\\|%[-+# *.0-9]*[dioxXucsfeEgGp]","relevance":0},{"className":"subst","begin":"\\\\[abfnrtv]\\|\\\\x[0-9a-fA-F]*\\\\\\|%[-+# *.0-9]*[dioxXucsfeEgGp]","relevance":0}]},{"className":"number","begin":"\\b\\d+(\\.\\d+)?","relevance":0},{"className":"comment","begin":"//","end":"$","contains":[{"begin":"\\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\\b"},{"className":"doctag","begin":"(?:TODO|FIXME|NOTE|BUG|XXX):","relevance":0}]},{"className":"class","beginKeywords":"message enum service","end":"\\{","illegal":"\\n","contains":[{"className":"title","begin":"[a-zA-Z]\\w*","relevance":0,"starts":{"endsWithParent":true,"excludeEnd":true}}]},{"className":"function","beginKeywords":"rpc","end":";","excludeEnd":true,"keywords":"rpc returns"},{"begin":"^\\s*[A-Z_]+","end":"\\s*=","excludeEnd":true}]} 2 | -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/html2wxml/vendor/Highlight/languages/purebasic.json: -------------------------------------------------------------------------------- 1 | {"aliases":["pb","pbi"],"keywords":"And As Break CallDebugger Case CompilerCase CompilerDefault CompilerElse CompilerEndIf CompilerEndSelect CompilerError CompilerIf CompilerSelect Continue Data DataSection EndDataSection Debug DebugLevel Default Define Dim DisableASM DisableDebugger DisableExplicit Else ElseIf EnableASM EnableDebugger EnableExplicit End EndEnumeration EndIf EndImport EndInterface EndMacro EndProcedure EndSelect EndStructure EndStructureUnion EndWith Enumeration Extends FakeReturn For Next ForEach ForEver Global Gosub Goto If Import ImportC IncludeBinary IncludeFile IncludePath Interface Macro NewList Not Or ProcedureReturn Protected Prototype PrototypeC Read ReDim Repeat Until Restore Return Select Shared Static Step Structure StructureUnion Swap To Wend While With XIncludeFile XOr Procedure ProcedureC ProcedureCDLL ProcedureDLL Declare DeclareC DeclareCDLL DeclareDLL","contains":[{"className":"comment","begin":";","end":"$","contains":[{"begin":"\\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\\b"},{"className":"doctag","begin":"(?:TODO|FIXME|NOTE|BUG|XXX):","relevance":0}],"relevance":0},{"className":"function","begin":"\\b(Procedure|Declare)(C|CDLL|DLL)?\\b","end":"\\(","excludeEnd":true,"returnBegin":true,"contains":[{"className":"keyword","begin":"(Procedure|Declare)(C|CDLL|DLL)?","excludeEnd":true},{"className":"type","begin":"\\.\\w*"},{"className":"title","begin":"[a-zA-Z_]\\w*","relevance":0}]},{"className":"string","begin":"(~)?\"","end":"\"","illegal":"\\n"},{"className":"symbol","begin":"#[a-zA-Z_]\\w*\\$?"}]} 2 | -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/html2wxml/vendor/Highlight/languages/r.json: -------------------------------------------------------------------------------- 1 | {"contains":[{"className":"comment","begin":"#","end":"$","contains":[{"begin":"\\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\\b"},{"className":"doctag","begin":"(?:TODO|FIXME|NOTE|BUG|XXX):","relevance":0}]},{"begin":"([a-zA-Z]|\\.[a-zA-Z.])[a-zA-Z0-9._]*","lexemes":"([a-zA-Z]|\\.[a-zA-Z.])[a-zA-Z0-9._]*","keywords":{"keyword":"function if in break next repeat else for return switch while try tryCatch stop warning require library attach detach source setMethod setGeneric setGroupGeneric setClass ...","literal":"NULL NA TRUE FALSE T F Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10"},"relevance":0},{"className":"number","begin":"0[xX][0-9a-fA-F]+[Li]?\\b","relevance":0},{"className":"number","begin":"\\d+(?:[eE][+\\-]?\\d*)?L\\b","relevance":0},{"className":"number","begin":"\\d+\\.(?!\\d)(?:i\\b)?","relevance":0},{"className":"number","begin":"\\d+(?:\\.\\d*)?(?:[eE][+\\-]?\\d*)?i?\\b","relevance":0},{"className":"number","begin":"\\.\\d+(?:[eE][+\\-]?\\d*)?i?\\b","relevance":0},{"begin":"`","end":"`","relevance":0},{"className":"string","contains":[{"begin":"\\\\[\\s\\S]","relevance":0}],"variants":[{"begin":"\"","end":"\""},{"begin":"'","end":"'"}]}]} 2 | -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/html2wxml/vendor/Highlight/languages/roboconf.json: -------------------------------------------------------------------------------- 1 | {"aliases":["graph","instances"],"case_insensitive":true,"keywords":"import","contains":[{"begin":"^facet [a-zA-Z-_][^\\n{]+\\{","end":"}","keywords":"facet","contains":[{"className":"attribute","begin":"[a-zA-Z-_]+","end":"\\s*:","excludeEnd":true,"starts":{"end":";","relevance":0,"contains":[{"className":"variable","begin":"\\.[a-zA-Z-_]+"},{"className":"keyword","begin":"\\(optional\\)"}]}},{"className":"comment","begin":"#","end":"$","contains":[{"begin":"\\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\\b"},{"className":"doctag","begin":"(?:TODO|FIXME|NOTE|BUG|XXX):","relevance":0}]}]},{"begin":"^\\s*instance of [a-zA-Z-_][^\\n{]+\\{","end":"}","keywords":"name count channels instance-data instance-state instance of","illegal":"\\S","contains":["self",{"$ref":"#contains.0.contains.0"},{"$ref":"#contains.0.contains.1"}]},{"begin":"^[a-zA-Z-_][^\\n{]+\\{","end":"}","contains":[{"$ref":"#contains.0.contains.0"},{"$ref":"#contains.0.contains.1"}]},{"$ref":"#contains.0.contains.1"}]} 2 | -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/html2wxml/vendor/Highlight/languages/scilab.json: -------------------------------------------------------------------------------- 1 | {"aliases":["sci"],"lexemes":"%?\\w+","keywords":{"keyword":"abort break case clear catch continue do elseif else endfunction end for function global if pause return resume select try then while","literal":"%f %F %t %T %pi %eps %inf %nan %e %i %z %s","built_in":"abs and acos asin atan ceil cd chdir clearglobal cosh cos cumprod deff disp error exec execstr exists exp eye gettext floor fprintf fread fsolve imag isdef isempty isinfisnan isvector lasterror length load linspace list listfiles log10 log2 log max min msprintf mclose mopen ones or pathconvert poly printf prod pwd rand real round sinh sin size gsort sprintf sqrt strcat strcmps tring sum system tanh tan type typename warning zeros matrix"},"illegal":"(\"|#|/\\*|\\s+/\\w+)","contains":[{"className":"function","beginKeywords":"function","end":"$","contains":[{"className":"title","begin":"[a-zA-Z_]\\w*","relevance":0},{"className":"params","begin":"\\(","end":"\\)"}]},{"begin":"[a-zA-Z_][a-zA-Z_0-9]*('+[\\.']*|[\\.']+)","end":"","relevance":0},{"begin":"\\[","end":"\\]'*[\\.']*","relevance":0,"contains":[{"className":"number","begin":"(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)","relevance":0},{"className":"string","begin":"'|\"","end":"'|\"","contains":[{"begin":"\\\\[\\s\\S]","relevance":0},{"begin":"''"}]}]},{"className":"comment","begin":"//","end":"$","contains":[{"begin":"\\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\\b"},{"className":"doctag","begin":"(?:TODO|FIXME|NOTE|BUG|XXX):","relevance":0}]},{"$ref":"#contains.2.contains.0"},{"$ref":"#contains.2.contains.1"}]} 2 | -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/html2wxml/vendor/Highlight/languages/shell.json: -------------------------------------------------------------------------------- 1 | {"aliases":["console"],"contains":[{"className":"meta","begin":"^\\s{0,3}[\\w\\d\\[\\]()@-]*[>%$#]","starts":{"end":"$","subLanguage":"bash"}}]} 2 | -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/html2wxml/vendor/Highlight/languages/smali.json: -------------------------------------------------------------------------------- 1 | {"aliases":["smali"],"contains":[{"className":"string","begin":"\"","end":"\"","relevance":0},{"className":"comment","begin":"#","end":"$","contains":[{"begin":"\\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\\b"},{"className":"doctag","begin":"(?:TODO|FIXME|NOTE|BUG|XXX):","relevance":0}],"relevance":0},{"className":"keyword","variants":[{"begin":"\\s*\\.end\\s[a-zA-Z0-9]*"},{"begin":"^[ ]*\\.[a-zA-Z]*","relevance":0},{"begin":"\\s:[a-zA-Z_0-9]*","relevance":0},{"begin":"\\s(transient|constructor|abstract|final|synthetic|public|private|protected|static|bridge|system)"}]},{"className":"built_in","variants":[{"begin":"\\s(add|and|cmp|cmpg|cmpl|const|div|double|float|goto|if|int|long|move|mul|neg|new|nop|not|or|rem|return|shl|shr|sput|sub|throw|ushr|xor)\\s"},{"begin":"\\s(add|and|cmp|cmpg|cmpl|const|div|double|float|goto|if|int|long|move|mul|neg|new|nop|not|or|rem|return|shl|shr|sput|sub|throw|ushr|xor)((\\-|/)[a-zA-Z0-9]+)+\\s","relevance":10},{"begin":"\\s(aget|aput|array|check|execute|fill|filled|goto/16|goto/32|iget|instance|invoke|iput|monitor|packed|sget|sparse)((\\-|/)[a-zA-Z0-9]+)*\\s","relevance":10}]},{"className":"class","begin":"L[^(;:\n]*;","relevance":0},{"begin":"[vp][0-9]+"}]} 2 | -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/html2wxml/vendor/Highlight/languages/smalltalk.json: -------------------------------------------------------------------------------- 1 | {"aliases":["st"],"keywords":"self super nil true false thisContext","contains":[{"className":"comment","begin":"\"","end":"\"","contains":[{"begin":"\\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\\b"},{"className":"doctag","begin":"(?:TODO|FIXME|NOTE|BUG|XXX):","relevance":0}]},{"className":"string","begin":"'","end":"'","illegal":"\\n","contains":[{"begin":"\\\\[\\s\\S]","relevance":0}]},{"className":"type","begin":"\\b[A-Z][A-Za-z0-9_]*","relevance":0},{"begin":"[a-z][a-zA-Z0-9_]*:","relevance":0},{"className":"number","begin":"(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)","relevance":0},{"className":"symbol","begin":"#[a-zA-Z_]\\w*"},{"className":"string","begin":"\\$.{1}"},{"begin":"\\|[ ]*[a-z][a-zA-Z0-9_]*([ ]+[a-z][a-zA-Z0-9_]*)*[ ]*\\|","returnBegin":true,"end":"\\|","illegal":"\\S","contains":[{"begin":"(\\|[ ]*)?[a-z][a-zA-Z0-9_]*"}]},{"begin":"\\#\\(","end":"\\)","contains":[{"$ref":"#contains.1"},{"$ref":"#contains.6"},{"$ref":"#contains.4"},{"$ref":"#contains.5"}]}]} 2 | -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/html2wxml/vendor/Highlight/languages/sml.json: -------------------------------------------------------------------------------- 1 | {"aliases":["ml"],"keywords":{"keyword":"abstype and andalso as case datatype do else end eqtype exception fn fun functor handle if in include infix infixr let local nonfix of op open orelse raise rec sharing sig signature struct structure then type val with withtype where while","built_in":"array bool char exn int list option order real ref string substring vector unit word","literal":"true false NONE SOME LESS EQUAL GREATER nil"},"illegal":"\\/\\/|>>","lexemes":"[a-z_]\\w*!?","contains":[{"className":"literal","begin":"\\[(\\|\\|)?\\]|\\(\\)","relevance":0},{"className":"comment","begin":"\\(\\*","end":"\\*\\)","contains":["self",{"begin":"\\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\\b"},{"className":"doctag","begin":"(?:TODO|FIXME|NOTE|BUG|XXX):","relevance":0}]},{"className":"symbol","begin":"'[A-Za-z_](?!')[\\w']*"},{"className":"type","begin":"`[A-Z][\\w']*"},{"className":"type","begin":"\\b[A-Z][\\w']*","relevance":0},{"begin":"[a-z_]\\w*'[\\w']*"},{"className":"string","begin":"'","end":"'","illegal":"\\n","contains":[{"begin":"\\\\[\\s\\S]","relevance":0}],"relevance":0},{"className":"string","begin":"\"","end":"\"","illegal":null,"contains":[{"$ref":"#contains.6.contains.0"},{"className":"subst","begin":"\\\\[abfnrtv]\\|\\\\x[0-9a-fA-F]*\\\\\\|%[-+# *.0-9]*[dioxXucsfeEgGp]","relevance":0},{"className":"subst","begin":"\\\\[abfnrtv]\\|\\\\x[0-9a-fA-F]*\\\\\\|%[-+# *.0-9]*[dioxXucsfeEgGp]","relevance":0}]},{"className":"number","begin":"\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)","relevance":0},{"begin":"[-=]>"}]} 2 | -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/html2wxml/vendor/Highlight/languages/step21.json: -------------------------------------------------------------------------------- 1 | {"aliases":["p21","step","stp"],"case_insensitive":true,"lexemes":"[A-Z_][A-Z0-9_.]*","keywords":{"keyword":"HEADER ENDSEC DATA"},"contains":[{"className":"meta","begin":"ISO-10303-21;","relevance":10},{"className":"meta","begin":"END-ISO-10303-21;","relevance":10},{"className":"comment","begin":"//","end":"$","contains":[{"begin":"\\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\\b"},{"className":"doctag","begin":"(?:TODO|FIXME|NOTE|BUG|XXX):","relevance":0}]},{"className":"comment","begin":"/\\*","end":"\\*/","contains":[{"$ref":"#contains.2.contains.0"},{"className":"doctag","begin":"(?:TODO|FIXME|NOTE|BUG|XXX):","relevance":0}]},{"className":"comment","begin":"/\\*\\*!","end":"\\*/","contains":[{"$ref":"#contains.2.contains.0"},{"className":"doctag","begin":"(?:TODO|FIXME|NOTE|BUG|XXX):","relevance":0}]},{"className":"number","begin":"(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)","relevance":0},{"className":"string","begin":"'","end":"'","illegal":null,"contains":[{"begin":"\\\\[\\s\\S]","relevance":0}]},{"className":"string","begin":"\"","end":"\"","illegal":null,"contains":[{"$ref":"#contains.6.contains.0"},{"className":"subst","begin":"\\\\[abfnrtv]\\|\\\\x[0-9a-fA-F]*\\\\\\|%[-+# *.0-9]*[dioxXucsfeEgGp]","relevance":0},{"className":"subst","begin":"\\\\[abfnrtv]\\|\\\\x[0-9a-fA-F]*\\\\\\|%[-+# *.0-9]*[dioxXucsfeEgGp]","relevance":0}]},{"className":"string","begin":"'","end":"'"},{"className":"symbol","variants":[{"begin":"#","end":"\\d+","illegal":"\\W"}]}]} 2 | -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/html2wxml/vendor/Highlight/languages/subunit.json: -------------------------------------------------------------------------------- 1 | {"case_insensitive":true,"contains":[{"className":"string","begin":"\\[\n(multipart)?","end":"\\]\n"},{"className":"string","begin":"\\d{4}-\\d{2}-\\d{2}(\\s+)\\d{2}:\\d{2}:\\d{2}.\\d+Z"},{"className":"string","begin":"(\\+|-)\\d+"},{"className":"keyword","relevance":10,"variants":[{"begin":"^(test|testing|success|successful|failure|error|skip|xfail|uxsuccess)(:?)\\s+(test)?"},{"begin":"^progress(:?)(\\s+)?(pop|push)?"},{"begin":"^tags:"},{"begin":"^time:"}]}]} 2 | -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/html2wxml/vendor/Highlight/languages/taggerscript.json: -------------------------------------------------------------------------------- 1 | {"contains":[{"className":"comment","begin":"\\$noop\\(","end":"\\)","contains":[{"begin":"\\(","end":"\\)","contains":["self",{"begin":"\\\\."}]}],"relevance":10},{"className":"keyword","begin":"\\$(?!noop)[a-zA-Z][_a-zA-Z0-9]*","end":"\\(","excludeEnd":true},{"className":"variable","begin":"%[_a-zA-Z0-9:]*","end":"%"},{"className":"symbol","begin":"\\\\."}]} 2 | -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/html2wxml/vendor/Highlight/languages/tap.json: -------------------------------------------------------------------------------- 1 | {"case_insensitive":true,"contains":[{"className":"comment","begin":"#","end":"$","contains":[{"begin":"\\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\\b"},{"className":"doctag","begin":"(?:TODO|FIXME|NOTE|BUG|XXX):","relevance":0}]},{"className":"meta","variants":[{"begin":"^TAP version (\\d+)$"},{"begin":"^1\\.\\.(\\d+)$"}]},{"begin":"(s+)?---$","end":"\\.\\.\\.$","subLanguage":"yaml","relevance":0},{"className":"number","begin":" (\\d+) "},{"className":"symbol","variants":[{"begin":"^ok"},{"begin":"^not ok"}]}]} 2 | -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/html2wxml/vendor/Highlight/languages/tex.json: -------------------------------------------------------------------------------- 1 | {"contains":[{"className":"tag","begin":"\\\\","relevance":0,"contains":[{"className":"name","variants":[{"begin":"[a-zA-Zа-яА-я]+[*]?"},{"begin":"[^a-zA-Zа-яА-я0-9]"}],"starts":{"endsWithParent":true,"relevance":0,"contains":[{"className":"string","variants":[{"begin":"\\[","end":"\\]"},{"begin":"\\{","end":"\\}"}]},{"begin":"\\s*=\\s*","endsWithParent":true,"relevance":0,"contains":[{"className":"number","begin":"-?\\d*\\.?\\d+(pt|pc|mm|cm|in|dd|cc|ex|em)?"}]}]}}]},{"className":"formula","contains":[{"$ref":"#contains.0"}],"relevance":0,"variants":[{"begin":"\\$\\$","end":"\\$\\$"},{"begin":"\\$","end":"\\$"}]},{"className":"comment","begin":"%","end":"$","contains":[{"begin":"\\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\\b"},{"className":"doctag","begin":"(?:TODO|FIXME|NOTE|BUG|XXX):","relevance":0}],"relevance":0}]} 2 | -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/html2wxml/vendor/Highlight/languages/thrift.json: -------------------------------------------------------------------------------- 1 | {"keywords":{"keyword":"namespace const typedef struct enum service exception void oneway set list map required optional","built_in":"bool byte i16 i32 i64 double string binary","literal":"true false"},"contains":[{"className":"string","begin":"\"","end":"\"","illegal":"\\n","contains":[{"begin":"\\\\[\\s\\S]","relevance":0},{"className":"subst","begin":"\\\\[abfnrtv]\\|\\\\x[0-9a-fA-F]*\\\\\\|%[-+# *.0-9]*[dioxXucsfeEgGp]","relevance":0},{"className":"subst","begin":"\\\\[abfnrtv]\\|\\\\x[0-9a-fA-F]*\\\\\\|%[-+# *.0-9]*[dioxXucsfeEgGp]","relevance":0}]},{"className":"number","begin":"\\b\\d+(\\.\\d+)?","relevance":0},{"className":"comment","begin":"//","end":"$","contains":[{"begin":"\\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\\b"},{"className":"doctag","begin":"(?:TODO|FIXME|NOTE|BUG|XXX):","relevance":0}]},{"className":"comment","begin":"/\\*","end":"\\*/","contains":[{"$ref":"#contains.2.contains.0"},{"className":"doctag","begin":"(?:TODO|FIXME|NOTE|BUG|XXX):","relevance":0}]},{"className":"class","beginKeywords":"struct enum service exception","end":"\\{","illegal":"\\n","contains":[{"className":"title","begin":"[a-zA-Z]\\w*","relevance":0,"starts":{"endsWithParent":true,"excludeEnd":true}}]},{"begin":"\\b(set|list|map)\\s*<","end":">","keywords":"bool byte i16 i32 i64 double string binary","contains":["self"]}]} 2 | -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/html2wxml/vendor/Highlight/languages/twig.json: -------------------------------------------------------------------------------- 1 | {"aliases":["craftcms"],"case_insensitive":true,"subLanguage":"xml","contains":[{"className":"comment","begin":"\\{#","end":"#}","contains":[{"begin":"\\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\\b"},{"className":"doctag","begin":"(?:TODO|FIXME|NOTE|BUG|XXX):","relevance":0}]},{"className":"template-tag","begin":"\\{%","end":"%}","contains":[{"className":"name","begin":"\\w+","keywords":"autoescape block do embed extends filter flush for if import include macro sandbox set spaceless use verbatim endautoescape endblock enddo endembed endextends endfilter endflush endfor endif endimport endinclude endmacro endsandbox endset endspaceless enduse endverbatim","starts":{"endsWithParent":true,"contains":[{"begin":"\\|[A-Za-z_]+:?","keywords":"abs batch capitalize convert_encoding date date_modify default escape first format join json_encode keys last length lower merge nl2br number_format raw replace reverse round slice sort split striptags title trim upper url_encode","contains":[{"beginKeywords":"attribute block constant cycle date dump include max min parent random range source template_from_string","keywords":{"name":"attribute block constant cycle date dump include max min parent random range source template_from_string"},"relevance":0,"contains":[{"className":"params","begin":"\\(","end":"\\)"}]}]},{"$ref":"#contains.1.contains.0.starts.contains.0.contains.0"}],"relevance":0}}]},{"className":"template-variable","begin":"\\{\\{","end":"}}","contains":["self",{"$ref":"#contains.1.contains.0.starts.contains.0"},{"$ref":"#contains.1.contains.0.starts.contains.0.contains.0"}]}]} 2 | -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/html2wxml/vendor/Highlight/languages/vbscript-html.json: -------------------------------------------------------------------------------- 1 | {"subLanguage":"xml","contains":[{"begin":"<%","end":"%>","subLanguage":"vbscript"}]} 2 | -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/html2wxml/vendor/Highlight/languages/xml.json: -------------------------------------------------------------------------------- 1 | {"aliases":["html","xhtml","rss","atom","xjb","xsd","xsl","plist"],"case_insensitive":true,"contains":[{"className":"meta","begin":"","relevance":10,"contains":[{"begin":"\\[","end":"\\]"}]},{"className":"comment","begin":"","contains":[{"begin":"\\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\\b"},{"className":"doctag","begin":"(?:TODO|FIXME|NOTE|BUG|XXX):","relevance":0}],"relevance":10},{"begin":"<\\!\\[CDATA\\[","end":"\\]\\]>","relevance":10},{"begin":"<\\?(php)?","end":"\\?>","subLanguage":"php","contains":[{"begin":"/\\*","end":"\\*/","skip":true}]},{"className":"tag","begin":"|$)","end":">","keywords":{"name":"style"},"contains":[{"endsWithParent":true,"illegal":"<","relevance":0,"contains":[{"className":"attr","begin":"[A-Za-z0-9\\._:-]+","relevance":0},{"begin":"=\\s*","relevance":0,"contains":[{"className":"string","endsParent":true,"variants":[{"begin":"\"","end":"\""},{"begin":"'","end":"'"},{"begin":"[^\\s\"'=<>`]+"}]}]}]}],"starts":{"end":"","returnEnd":true,"subLanguage":["css","xml"]}},{"className":"tag","begin":"|$)","end":">","keywords":{"name":"script"},"contains":[{"$ref":"#contains.4.contains.0"}],"starts":{"end":"","returnEnd":true,"subLanguage":["actionscript","javascript","handlebars","xml"]}},{"className":"meta","variants":[{"begin":"<\\?xml","end":"\\?>","relevance":10},{"begin":"<\\?\\w+","end":"\\?>"}]},{"className":"tag","begin":"","contains":[{"className":"name","begin":"[^\\/><\\s]+","relevance":0},{"$ref":"#contains.4.contains.0"}]}]} 2 | -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/html2wxml/vendor/Highlight/languages/xquery.json: -------------------------------------------------------------------------------- 1 | {"aliases":["xpath","xq"],"case_insensitive":false,"lexemes":"[a-zA-Z\\$][a-zA-Z0-9_:\\-]*","illegal":"(proc)|(abstract)|(extends)|(until)|(#)","keywords":{"keyword":"for let if while then else return where group by xquery encoding versionmodule namespace boundary-space preserve strip default collation base-uri orderingcopy-namespaces order declare import schema namespace function option in allowing emptyat tumbling window sliding window start when only end when previous next stable ascendingdescending empty greatest least some every satisfies switch case typeswitch try catch andor to union intersect instance of treat as castable cast map array delete insert intoreplace value rename copy modify update","literal":"false true xs:string xs:integer element item xs:date xs:datetime xs:float xs:double xs:decimal QName xs:anyURI xs:long xs:int xs:short xs:byte attribute"},"contains":[{"begin":"\\$[a-zA-Z0-9\\-]+"},{"className":"string","variants":[{"begin":"\"","end":"\"","contains":[{"begin":"\"\"","relevance":0}]},{"begin":"'","end":"'","contains":[{"begin":"''","relevance":0}]}]},{"className":"number","begin":"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b","relevance":0},{"className":"comment","begin":"\\(:","end":":\\)","relevance":10,"contains":[{"className":"doctag","begin":"@\\w+"}]},{"className":"meta","begin":"%\\w+"},{"begin":"{","end":"}","contains":{"$ref":"#contains"}}]} 2 | -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/html2wxml/vendor/Highlight/languages/yaml.json: -------------------------------------------------------------------------------- 1 | {"case_insensitive":true,"aliases":["yml","YAML","yaml"],"contains":[{"className":"attr","variants":[{"begin":"^[ \\-]*[a-zA-Z_][\\w\\-]*:"},{"begin":"^[ \\-]*\"[a-zA-Z_][\\w\\-]*\":"},{"begin":"^[ \\-]*'[a-zA-Z_][\\w\\-]*':"}]},{"className":"meta","begin":"^---s*$","relevance":10},{"className":"string","begin":"[\\|>] *$","returnEnd":true,"contains":[{"begin":"\\\\[\\s\\S]","relevance":0},{"className":"template-variable","variants":[{"begin":"{{","end":"}}"},{"begin":"%{","end":"}"}]}],"end":"^[ \\-]*[a-zA-Z_][\\w\\-]*:"},{"begin":"<%[%=-]?","end":"[%-]?%>","subLanguage":"ruby","excludeBegin":true,"excludeEnd":true,"relevance":0},{"className":"type","begin":"!![a-zA-Z_]\\w*"},{"className":"meta","begin":"&[a-zA-Z_]\\w*$"},{"className":"meta","begin":"\\*[a-zA-Z_]\\w*$"},{"className":"bullet","begin":"^ *-","relevance":0},{"className":"comment","begin":"#","end":"$","contains":[{"begin":"\\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\\b"},{"className":"doctag","begin":"(?:TODO|FIXME|NOTE|BUG|XXX):","relevance":0}]},{"beginKeywords":"true false yes no null","keywords":{"literal":"true false yes no null"}},{"className":"number","begin":"(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)","relevance":0},{"className":"string","relevance":0,"variants":[{"begin":"'","end":"'"},{"begin":"\"","end":"\""},{"begin":"\\S+"}],"contains":{"$ref":"#contains.2.contains"}}]} 2 | -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/plugin-update-checker-4.6/.editorconfig: -------------------------------------------------------------------------------- 1 | [*] 2 | charset=utf-8 3 | end_of_line=lf 4 | insert_final_newline=false 5 | indent_style=tab 6 | tab_width=4 7 | 8 | [{phpunit.xml.dist,*.jhm,*.xslt,*.xul,*.rng,*.xsl,*.xsd,*.ant,*.tld,*.fxml,*.jrxml,*.xml,*.jnlp,*.wsdl}] 9 | indent_style=space 10 | indent_size=4 11 | 12 | [*.svg] 13 | indent_style=space 14 | indent_size=4 15 | 16 | -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/plugin-update-checker-4.6/Puc/v4/Factory.php: -------------------------------------------------------------------------------- 1 | rootDir = dirname(__FILE__) . '/'; 14 | $nameParts = explode('_', __CLASS__, 3); 15 | $this->prefix = $nameParts[0] . '_' . $nameParts[1] . '_'; 16 | 17 | $this->libraryDir = realpath($this->rootDir . '../..') . '/'; 18 | $this->staticMap = array( 19 | 'PucReadmeParser' => 'vendor/readme-parser.php', 20 | 'Parsedown' => 'vendor/ParsedownLegacy.php', 21 | ); 22 | if ( version_compare(PHP_VERSION, '5.3.0', '>=') ) { 23 | $this->staticMap['Parsedown'] = 'vendor/Parsedown.php'; 24 | } 25 | 26 | spl_autoload_register(array($this, 'autoload')); 27 | } 28 | 29 | public function autoload($className) { 30 | if ( isset($this->staticMap[$className]) && file_exists($this->libraryDir . $this->staticMap[$className]) ) { 31 | /** @noinspection PhpIncludeInspection */ 32 | include ($this->libraryDir . $this->staticMap[$className]); 33 | return; 34 | } 35 | 36 | if (strpos($className, $this->prefix) === 0) { 37 | $path = substr($className, strlen($this->prefix)); 38 | $path = str_replace('_', '/', $path); 39 | $path = $this->rootDir . $path . '.php'; 40 | 41 | if (file_exists($path)) { 42 | /** @noinspection PhpIncludeInspection */ 43 | include $path; 44 | } 45 | } 46 | } 47 | } 48 | 49 | endif; -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/plugin-update-checker-4.6/Puc/v4p6/DebugBar/PluginExtension.php: -------------------------------------------------------------------------------- 1 | updateChecker->getUniqueName('uid') ) { 19 | return; 20 | } 21 | $this->preAjaxRequest(); 22 | $info = $this->updateChecker->requestInfo(); 23 | if ( $info !== null ) { 24 | echo 'Successfully retrieved plugin info from the metadata URL:'; 25 | echo '
', htmlentities(print_r($info, true)), '
'; 26 | } else { 27 | echo 'Failed to retrieve plugin info from the metadata URL.'; 28 | } 29 | exit; 30 | } 31 | } 32 | 33 | endif; -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/plugin-update-checker-4.6/Puc/v4p6/DebugBar/PluginPanel.php: -------------------------------------------------------------------------------- 1 | row('Plugin file', htmlentities($this->updateChecker->pluginFile)); 13 | parent::displayConfigHeader(); 14 | } 15 | 16 | protected function getMetadataButton() { 17 | $requestInfoButton = ''; 18 | if ( function_exists('get_submit_button') ) { 19 | $requestInfoButton = get_submit_button( 20 | 'Request Info', 21 | 'secondary', 22 | 'puc-request-info-button', 23 | false, 24 | array('id' => $this->updateChecker->getUniqueName('request-info-button')) 25 | ); 26 | } 27 | return $requestInfoButton; 28 | } 29 | 30 | protected function getUpdateFields() { 31 | return array_merge( 32 | parent::getUpdateFields(), 33 | array('homepage', 'upgrade_notice', 'tested',) 34 | ); 35 | } 36 | } 37 | 38 | endif; -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/plugin-update-checker-4.6/Puc/v4p6/DebugBar/ThemePanel.php: -------------------------------------------------------------------------------- 1 | row('Theme directory', htmlentities($this->updateChecker->directoryName)); 13 | parent::displayConfigHeader(); 14 | } 15 | 16 | protected function getUpdateFields() { 17 | return array_merge(parent::getUpdateFields(), array('details_url')); 18 | } 19 | } 20 | 21 | endif; -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/plugin-update-checker-4.6/Puc/v4p6/Update.php: -------------------------------------------------------------------------------- 1 | slug = $this->slug; 27 | $update->new_version = $this->version; 28 | $update->package = $this->download_url; 29 | 30 | return $update; 31 | } 32 | } 33 | 34 | endif; -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/plugin-update-checker-4.6/Puc/v4p6/Vcs/BaseChecker.php: -------------------------------------------------------------------------------- 1 | properties = $properties; 21 | } 22 | 23 | /** 24 | * @param string $name 25 | * @return mixed|null 26 | */ 27 | public function __get($name) { 28 | return array_key_exists($name, $this->properties) ? $this->properties[$name] : null; 29 | } 30 | 31 | /** 32 | * @param string $name 33 | * @param mixed $value 34 | */ 35 | public function __set($name, $value) { 36 | $this->properties[$name] = $value; 37 | } 38 | 39 | /** 40 | * @param string $name 41 | * @return bool 42 | */ 43 | public function __isset($name) { 44 | return isset($this->properties[$name]); 45 | } 46 | 47 | } 48 | 49 | endif; -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/plugin-update-checker-4.6/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "yahnis-elsts/plugin-update-checker", 3 | "type": "library", 4 | "description": "A custom update checker for WordPress plugins and themes. Useful if you can't host your plugin in the official WP repository but still want it to support automatic updates.", 5 | "keywords": ["wordpress", "plugin updates", "automatic updates", "theme updates"], 6 | "homepage": "https://github.com/YahnisElsts/plugin-update-checker/", 7 | "license": "MIT", 8 | "authors": [ 9 | { 10 | "name": "Yahnis Elsts", 11 | "email": "whiteshadow@w-shadow.com", 12 | "homepage": "http://w-shadow.com/", 13 | "role": "Developer" 14 | } 15 | ], 16 | "require": { 17 | "php": ">=5.2.0" 18 | }, 19 | "autoload": { 20 | "files": ["plugin-update-checker.php"] 21 | } 22 | } -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/plugin-update-checker-4.6/css/puc-debug-bar.css: -------------------------------------------------------------------------------- 1 | .puc-debug-bar-panel-v4 pre { 2 | margin-top: 0; 3 | } 4 | 5 | /* Style the debug data table to match "widefat" table style used by WordPress. */ 6 | table.puc-debug-data { 7 | width: 100%; 8 | clear: both; 9 | margin: 0; 10 | 11 | border-spacing: 0; 12 | background-color: #f9f9f9; 13 | 14 | border-radius: 3px; 15 | border: 1px solid #dfdfdf; 16 | border-collapse: separate; 17 | } 18 | 19 | table.puc-debug-data * { 20 | word-wrap: break-word; 21 | } 22 | 23 | table.puc-debug-data th { 24 | width: 11em; 25 | padding: 7px 7px 8px; 26 | text-align: left; 27 | 28 | font-family: "Georgia", "Times New Roman", "Bitstream Charter", "Times", serif; 29 | font-weight: 400; 30 | font-size: 14px; 31 | line-height: 1.3em; 32 | text-shadow: rgba(255, 255, 255, 0.804) 0 1px 0; 33 | } 34 | 35 | table.puc-debug-data td, table.puc-debug-data th { 36 | border-width: 1px 0; 37 | border-style: solid; 38 | 39 | border-top-color: #fff; 40 | border-bottom-color: #dfdfdf; 41 | 42 | text-transform: none; 43 | } 44 | 45 | table.puc-debug-data td { 46 | color: #555; 47 | font-size: 12px; 48 | padding: 4px 7px 2px; 49 | vertical-align: top; 50 | } 51 | 52 | .puc-ajax-response { 53 | border: 1px solid #dfdfdf; 54 | border-radius: 3px; 55 | padding: 0.5em; 56 | margin: 5px 0; 57 | background-color: white; 58 | } 59 | 60 | .puc-ajax-nonce { 61 | display: none; 62 | } 63 | 64 | .puc-ajax-response dt { 65 | margin: 0; 66 | } 67 | 68 | .puc-ajax-response dd { 69 | margin: 0 0 1em; 70 | } 71 | -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/plugin-update-checker-4.6/examples/theme.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "2.0", 3 | "details_url": "http://example.com/version-2.0-details.html", 4 | "download_url": "http://example.com/example-theme-2.0.zip" 5 | } -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/plugin-update-checker-4.6/languages/plugin-update-checker-cs_CZ.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qwqoffice/woocommerce-to-wechatapp-mini/78e1bca0f93af4c0d57312104bc6368a521774e4/plugin/woocommerce-to-wechatapp-mini/vendor/plugin-update-checker-4.6/languages/plugin-update-checker-cs_CZ.mo -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/plugin-update-checker-4.6/languages/plugin-update-checker-cs_CZ.po: -------------------------------------------------------------------------------- 1 | msgid "" 2 | msgstr "" 3 | "Project-Id-Version: plugin-update-checker\n" 4 | "Report-Msgid-Bugs-To: \n" 5 | "POT-Creation-Date: 2017-05-20 10:53+0300\n" 6 | "PO-Revision-Date: 2017-07-05 15:39+0000\n" 7 | "Last-Translator: Vojtěch Sajdl \n" 8 | "Language-Team: Czech (Czech Republic)\n" 9 | "Language: cs-CZ\n" 10 | "Plural-Forms: nplurals=2; plural=(n != 1)\n" 11 | "MIME-Version: 1.0\n" 12 | "Content-Type: text/plain; charset=UTF-8\n" 13 | "Content-Transfer-Encoding: 8bit\n" 14 | "X-Loco-Source-Locale: cs_CZ\n" 15 | "X-Generator: Loco - https://localise.biz/\n" 16 | "X-Poedit-Basepath: ..\n" 17 | "X-Poedit-SourceCharset: UTF-8\n" 18 | "X-Poedit-KeywordsList: __;_e;_x:1,2c;_x\n" 19 | "X-Poedit-SearchPath-0: .\n" 20 | "X-Loco-Parser: loco_parse_po" 21 | 22 | #: Puc/v4p1/Plugin/UpdateChecker.php:358 23 | msgid "Check for updates" 24 | msgstr "Zkontrolovat aktualizace" 25 | 26 | #: Puc/v4p1/Plugin/UpdateChecker.php:405 27 | #, php-format 28 | msgctxt "the plugin title" 29 | msgid "The %s plugin is up to date." 30 | msgstr "Plugin %s je aktuální." 31 | 32 | #: Puc/v4p1/Plugin/UpdateChecker.php:407 33 | #, php-format 34 | msgctxt "the plugin title" 35 | msgid "A new version of the %s plugin is available." 36 | msgstr "Nová verze pluginu %s je dostupná." 37 | 38 | #: Puc/v4p1/Plugin/UpdateChecker.php:409 39 | #, php-format 40 | msgid "Unknown update checker status \"%s\"" 41 | msgstr "Neznámý status kontroly aktualizací \"%s\"" 42 | 43 | #: Puc/v4p1/Vcs/PluginUpdateChecker.php:83 44 | msgid "There is no changelog available." 45 | msgstr "Changelog není dostupný." 46 | -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/plugin-update-checker-4.6/languages/plugin-update-checker-da_DK.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qwqoffice/woocommerce-to-wechatapp-mini/78e1bca0f93af4c0d57312104bc6368a521774e4/plugin/woocommerce-to-wechatapp-mini/vendor/plugin-update-checker-4.6/languages/plugin-update-checker-da_DK.mo -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/plugin-update-checker-4.6/languages/plugin-update-checker-da_DK.po: -------------------------------------------------------------------------------- 1 | msgid "" 2 | msgstr "" 3 | "Project-Id-Version: plugin-update-checker\n" 4 | "POT-Creation-Date: 2017-05-20 10:53+0300\n" 5 | "PO-Revision-Date: 2017-10-17 11:07+0200\n" 6 | "Last-Translator: Mikk3lRo\n" 7 | "Language-Team: Mikk3lRo\n" 8 | "MIME-Version: 1.0\n" 9 | "Content-Type: text/plain; charset=UTF-8\n" 10 | "Content-Transfer-Encoding: 8bit\n" 11 | "X-Generator: Poedit 2.0.4\n" 12 | "X-Poedit-Basepath: ..\n" 13 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 14 | "X-Poedit-SourceCharset: UTF-8\n" 15 | "X-Poedit-KeywordsList: __;_e;_x:1,2c;_x\n" 16 | "Language: da_DK\n" 17 | "X-Poedit-SearchPath-0: .\n" 18 | 19 | #: Puc/v4p1/Plugin/UpdateChecker.php:358 20 | msgid "Check for updates" 21 | msgstr "Undersøg for opdateringer" 22 | 23 | #: Puc/v4p1/Plugin/UpdateChecker.php:405 24 | #, php-format 25 | msgctxt "the plugin title" 26 | msgid "The %s plugin is up to date." 27 | msgstr "Plugin'et %s er allerede opdateret." 28 | 29 | #: Puc/v4p1/Plugin/UpdateChecker.php:407 30 | #, php-format 31 | msgctxt "the plugin title" 32 | msgid "A new version of the %s plugin is available." 33 | msgstr "En ny version af plugin'et %s er tilgængelig." 34 | 35 | #: Puc/v4p1/Plugin/UpdateChecker.php:409 36 | #, php-format 37 | msgid "Unknown update checker status \"%s\"" 38 | msgstr "Ukendt opdateringsstatus: \"%s\"" 39 | 40 | #: Puc/v4p1/Vcs/PluginUpdateChecker.php:83 41 | msgid "There is no changelog available." 42 | msgstr "Der er ingen ændringslog tilgængelig." 43 | -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/plugin-update-checker-4.6/languages/plugin-update-checker-de_DE.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qwqoffice/woocommerce-to-wechatapp-mini/78e1bca0f93af4c0d57312104bc6368a521774e4/plugin/woocommerce-to-wechatapp-mini/vendor/plugin-update-checker-4.6/languages/plugin-update-checker-de_DE.mo -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/plugin-update-checker-4.6/languages/plugin-update-checker-de_DE.po: -------------------------------------------------------------------------------- 1 | msgid "" 2 | msgstr "" 3 | "Project-Id-Version: plugin-update-checker\n" 4 | "POT-Creation-Date: 2016-06-29 20:21+0100\n" 5 | "PO-Revision-Date: 2016-06-29 20:23+0100\n" 6 | "Last-Translator: Igor Lückel \n" 7 | "Language-Team: \n" 8 | "MIME-Version: 1.0\n" 9 | "Content-Type: text/plain; charset=UTF-8\n" 10 | "Content-Transfer-Encoding: 8bit\n" 11 | "X-Generator: Poedit 1.8.1\n" 12 | "X-Poedit-Basepath: ..\n" 13 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 14 | "X-Poedit-SourceCharset: UTF-8\n" 15 | "X-Poedit-KeywordsList: __;_e\n" 16 | "Language: de_DE\n" 17 | "X-Poedit-SearchPath-0: .\n" 18 | 19 | #: github-checker.php:137 20 | msgid "There is no changelog available." 21 | msgstr "Es ist keine Liste von Programmänderungen verfügbar." 22 | 23 | #: plugin-update-checker.php:852 24 | msgid "Check for updates" 25 | msgstr "Nach Update suchen" 26 | 27 | #: plugin-update-checker.php:896 28 | msgid "This plugin is up to date." 29 | msgstr "Das Plugin ist aktuell." 30 | 31 | #: plugin-update-checker.php:898 32 | msgid "A new version of this plugin is available." 33 | msgstr "Es ist eine neue Version für das Plugin verfügbar." 34 | 35 | #: plugin-update-checker.php:900 36 | #, php-format 37 | msgid "Unknown update checker status \"%s\"" 38 | msgstr "Unbekannter Update Status \"%s\"" 39 | -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/plugin-update-checker-4.6/languages/plugin-update-checker-fa_IR.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qwqoffice/woocommerce-to-wechatapp-mini/78e1bca0f93af4c0d57312104bc6368a521774e4/plugin/woocommerce-to-wechatapp-mini/vendor/plugin-update-checker-4.6/languages/plugin-update-checker-fa_IR.mo -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/plugin-update-checker-4.6/languages/plugin-update-checker-fa_IR.po: -------------------------------------------------------------------------------- 1 | msgid "" 2 | msgstr "" 3 | "Project-Id-Version: plugin-update-checker\n" 4 | "POT-Creation-Date: 2016-02-17 14:21+0100\n" 5 | "PO-Revision-Date: 2016-10-28 14:30+0330\n" 6 | "Last-Translator: studio RVOLA \n" 7 | "Language-Team: Pro Style \n" 8 | "Language: fa_IR\n" 9 | "MIME-Version: 1.0\n" 10 | "Content-Type: text/plain; charset=UTF-8\n" 11 | "Content-Transfer-Encoding: 8bit\n" 12 | "X-Generator: Poedit 1.8.8\n" 13 | "X-Poedit-Basepath: ..\n" 14 | "Plural-Forms: nplurals=2; plural=(n > 1);\n" 15 | "X-Poedit-SourceCharset: UTF-8\n" 16 | "X-Poedit-KeywordsList: __;_e\n" 17 | "X-Poedit-SearchPath-0: .\n" 18 | 19 | #: github-checker.php:120 20 | msgid "There is no changelog available." 21 | msgstr "شرحی برای تغییرات یافت نشد" 22 | 23 | #: plugin-update-checker.php:637 24 | msgid "Check for updates" 25 | msgstr "بررسی برای بروزرسانی " 26 | 27 | #: plugin-update-checker.php:681 28 | msgid "This plugin is up to date." 29 | msgstr "شما از آخرین نسخه استفاده میکنید . به‌روز باشید" 30 | 31 | #: plugin-update-checker.php:683 32 | msgid "A new version of this plugin is available." 33 | msgstr "نسخه جدیدی برای افزونه ارائه شده است ." 34 | 35 | #: plugin-update-checker.php:685 36 | #, php-format 37 | msgid "Unknown update checker status \"%s\"" 38 | msgstr "وضعیت ناشناخته برای بروزرسانی \"%s\"" 39 | -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/plugin-update-checker-4.6/languages/plugin-update-checker-fr_CA.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qwqoffice/woocommerce-to-wechatapp-mini/78e1bca0f93af4c0d57312104bc6368a521774e4/plugin/woocommerce-to-wechatapp-mini/vendor/plugin-update-checker-4.6/languages/plugin-update-checker-fr_CA.mo -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/plugin-update-checker-4.6/languages/plugin-update-checker-fr_FR.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qwqoffice/woocommerce-to-wechatapp-mini/78e1bca0f93af4c0d57312104bc6368a521774e4/plugin/woocommerce-to-wechatapp-mini/vendor/plugin-update-checker-4.6/languages/plugin-update-checker-fr_FR.mo -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/plugin-update-checker-4.6/languages/plugin-update-checker-fr_FR.po: -------------------------------------------------------------------------------- 1 | msgid "" 2 | msgstr "" 3 | "Project-Id-Version: plugin-update-checker\n" 4 | "POT-Creation-Date: 2017-07-07 14:53+0200\n" 5 | "PO-Revision-Date: 2017-07-07 14:54+0200\n" 6 | "Language-Team: studio RVOLA \n" 7 | "Language: fr_FR\n" 8 | "MIME-Version: 1.0\n" 9 | "Content-Type: text/plain; charset=UTF-8\n" 10 | "Content-Transfer-Encoding: 8bit\n" 11 | "X-Generator: Poedit 2.0.2\n" 12 | "X-Poedit-Basepath: ..\n" 13 | "Plural-Forms: nplurals=2; plural=(n > 1);\n" 14 | "X-Poedit-SourceCharset: UTF-8\n" 15 | "X-Poedit-KeywordsList: __;_e;_x:1,2c;_x\n" 16 | "Last-Translator: Nicolas GEHIN\n" 17 | "X-Poedit-SearchPath-0: .\n" 18 | 19 | #: Puc/v4p1/Plugin/UpdateChecker.php:358 20 | msgid "Check for updates" 21 | msgstr "Vérifier les mises à jour" 22 | 23 | #: Puc/v4p1/Plugin/UpdateChecker.php:405 24 | #, php-format 25 | msgctxt "the plugin title" 26 | msgid "The %s plugin is up to date." 27 | msgstr "L’extension %s est à jour." 28 | 29 | #: Puc/v4p1/Plugin/UpdateChecker.php:407 30 | #, php-format 31 | msgctxt "the plugin title" 32 | msgid "A new version of the %s plugin is available." 33 | msgstr "Une nouvelle version de l’extension %s est disponible." 34 | 35 | #: Puc/v4p1/Plugin/UpdateChecker.php:409 36 | #, php-format 37 | msgid "Unknown update checker status \"%s\"" 38 | msgstr "Un problème inconnu est survenu \"%s\"" 39 | 40 | #: Puc/v4p1/Vcs/PluginUpdateChecker.php:85 41 | msgid "There is no changelog available." 42 | msgstr "Il n’y a aucun journal de mise à jour disponible." 43 | -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/plugin-update-checker-4.6/languages/plugin-update-checker-hu_HU.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qwqoffice/woocommerce-to-wechatapp-mini/78e1bca0f93af4c0d57312104bc6368a521774e4/plugin/woocommerce-to-wechatapp-mini/vendor/plugin-update-checker-4.6/languages/plugin-update-checker-hu_HU.mo -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/plugin-update-checker-4.6/languages/plugin-update-checker-hu_HU.po: -------------------------------------------------------------------------------- 1 | msgid "" 2 | msgstr "" 3 | "Project-Id-Version: plugin-update-checker\n" 4 | "POT-Creation-Date: 2016-01-11 21:23+0100\n" 5 | "PO-Revision-Date: 2016-01-11 21:25+0100\n" 6 | "Last-Translator: Tamás András Horváth \n" 7 | "Language-Team: \n" 8 | "Language: hu_HU\n" 9 | "MIME-Version: 1.0\n" 10 | "Content-Type: text/plain; charset=UTF-8\n" 11 | "Content-Transfer-Encoding: 8bit\n" 12 | "X-Generator: Poedit 1.8.6\n" 13 | "X-Poedit-Basepath: ..\n" 14 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 15 | "X-Poedit-SourceCharset: UTF-8\n" 16 | "X-Poedit-KeywordsList: __;_e\n" 17 | "X-Poedit-SearchPath-0: .\n" 18 | 19 | #: github-checker.php:137 20 | msgid "There is no changelog available." 21 | msgstr "Nem érhető el a changelog." 22 | 23 | #: plugin-update-checker.php:852 24 | msgid "Check for updates" 25 | msgstr "Frissítés ellenőrzése" 26 | 27 | #: plugin-update-checker.php:896 28 | msgid "This plugin is up to date." 29 | msgstr "Ez a plugin naprakész." 30 | 31 | #: plugin-update-checker.php:898 32 | msgid "A new version of this plugin is available." 33 | msgstr "Új verzió érhető el a kiegészítőhöz" 34 | 35 | #: plugin-update-checker.php:900 36 | #, php-format 37 | msgid "Unknown update checker status \"%s\"" 38 | msgstr "Ismeretlen a frissítés ellenőrző státusza \"%s\"" 39 | 40 | #~ msgid "Every %d hours" 41 | #~ msgstr "Minden %d órában" 42 | -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/plugin-update-checker-4.6/languages/plugin-update-checker-it_IT.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qwqoffice/woocommerce-to-wechatapp-mini/78e1bca0f93af4c0d57312104bc6368a521774e4/plugin/woocommerce-to-wechatapp-mini/vendor/plugin-update-checker-4.6/languages/plugin-update-checker-it_IT.mo -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/plugin-update-checker-4.6/languages/plugin-update-checker-it_IT.po: -------------------------------------------------------------------------------- 1 | msgid "" 2 | msgstr "" 3 | "Project-Id-Version: plugin-update-checker\n" 4 | "POT-Creation-Date: 2016-06-29 20:21+0100\n" 5 | "PO-Revision-Date: 2017-01-15 12:24+0100\n" 6 | "Last-Translator: Igor Lückel \n" 7 | "Language-Team: \n" 8 | "MIME-Version: 1.0\n" 9 | "Content-Type: text/plain; charset=UTF-8\n" 10 | "Content-Transfer-Encoding: 8bit\n" 11 | "X-Generator: Poedit 1.5.5\n" 12 | "X-Poedit-Basepath: ..\n" 13 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 14 | "X-Poedit-SourceCharset: UTF-8\n" 15 | "X-Poedit-KeywordsList: __;_e\n" 16 | "Language: de_DE\n" 17 | "X-Poedit-SearchPath-0: .\n" 18 | 19 | #: github-checker.php:137 20 | msgid "There is no changelog available." 21 | msgstr "Non c'è alcuna sezione di aggiornamento disponibile" 22 | 23 | #: plugin-update-checker.php:852 24 | msgid "Check for updates" 25 | msgstr "Verifica aggiornamenti" 26 | 27 | #: plugin-update-checker.php:896 28 | msgid "This plugin is up to date." 29 | msgstr "Il plugin è aggiornato" 30 | 31 | #: plugin-update-checker.php:898 32 | msgid "A new version of this plugin is available." 33 | msgstr "Una nuova versione del plugin è disponibile" 34 | 35 | #: plugin-update-checker.php:900 36 | #, php-format 37 | msgid "Unknown update checker status \"%s\"" 38 | msgstr "Si è verificato un problema sconosciuto \"%s\"" 39 | -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/plugin-update-checker-4.6/languages/plugin-update-checker-ja.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qwqoffice/woocommerce-to-wechatapp-mini/78e1bca0f93af4c0d57312104bc6368a521774e4/plugin/woocommerce-to-wechatapp-mini/vendor/plugin-update-checker-4.6/languages/plugin-update-checker-ja.mo -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/plugin-update-checker-4.6/languages/plugin-update-checker-ja.po: -------------------------------------------------------------------------------- 1 | msgid "" 2 | msgstr "" 3 | "Project-Id-Version: plugin-update-checker\n" 4 | "POT-Creation-Date: 2017-06-02 18:31+0900\n" 5 | "PO-Revision-Date: 2017-06-02 18:32+0900\n" 6 | "Last-Translator: tak \n" 7 | "Language-Team: \n" 8 | "Language: ja_JP\n" 9 | "MIME-Version: 1.0\n" 10 | "Content-Type: text/plain; charset=UTF-8\n" 11 | "Content-Transfer-Encoding: 8bit\n" 12 | "X-Generator: Poedit 2.0.2\n" 13 | "X-Poedit-Basepath: ..\n" 14 | "Plural-Forms: nplurals=1; plural=0;\n" 15 | "X-Poedit-SourceCharset: UTF-8\n" 16 | "X-Poedit-KeywordsList: __;_e;_x;_x:1,2c\n" 17 | "X-Poedit-SearchPath-0: .\n" 18 | 19 | #: Puc/v4p1/Plugin/UpdateChecker.php:362 20 | msgid "Check for updates" 21 | msgstr "アップデートを確認" 22 | 23 | #: Puc/v4p1/Plugin/UpdateChecker.php:409 24 | #, php-format 25 | msgctxt "the plugin title" 26 | msgid "The %s plugin is up to date." 27 | msgstr "%s プラグインは、最新バージョンです。" 28 | 29 | #: Puc/v4p1/Plugin/UpdateChecker.php:411 30 | #, php-format 31 | msgctxt "the plugin title" 32 | msgid "A new version of the %s plugin is available." 33 | msgstr "%s プラグインの最新バージョンがあります。" 34 | 35 | #: Puc/v4p1/Plugin/UpdateChecker.php:413 36 | #, php-format 37 | msgid "Unknown update checker status \"%s\"" 38 | msgstr "バージョンアップの確認で想定外の状態になりました。ステータス:\"%s\"" 39 | 40 | #: Puc/v4p1/Vcs/PluginUpdateChecker.php:83 41 | msgid "There is no changelog available." 42 | msgstr "更新履歴はありません。" 43 | -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/plugin-update-checker-4.6/languages/plugin-update-checker-nl_BE.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qwqoffice/woocommerce-to-wechatapp-mini/78e1bca0f93af4c0d57312104bc6368a521774e4/plugin/woocommerce-to-wechatapp-mini/vendor/plugin-update-checker-4.6/languages/plugin-update-checker-nl_BE.mo -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/plugin-update-checker-4.6/languages/plugin-update-checker-nl_NL.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qwqoffice/woocommerce-to-wechatapp-mini/78e1bca0f93af4c0d57312104bc6368a521774e4/plugin/woocommerce-to-wechatapp-mini/vendor/plugin-update-checker-4.6/languages/plugin-update-checker-nl_NL.mo -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/plugin-update-checker-4.6/languages/plugin-update-checker-pt_BR.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qwqoffice/woocommerce-to-wechatapp-mini/78e1bca0f93af4c0d57312104bc6368a521774e4/plugin/woocommerce-to-wechatapp-mini/vendor/plugin-update-checker-4.6/languages/plugin-update-checker-pt_BR.mo -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/plugin-update-checker-4.6/languages/plugin-update-checker-sv_SE.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qwqoffice/woocommerce-to-wechatapp-mini/78e1bca0f93af4c0d57312104bc6368a521774e4/plugin/woocommerce-to-wechatapp-mini/vendor/plugin-update-checker-4.6/languages/plugin-update-checker-sv_SE.mo -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/plugin-update-checker-4.6/languages/plugin-update-checker-sv_SE.po: -------------------------------------------------------------------------------- 1 | msgid "" 2 | msgstr "" 3 | "Project-Id-Version: plugin-update-checker\n" 4 | "POT-Creation-Date: 2017-05-20 10:53+0300\n" 5 | "PO-Revision-Date: 2017-10-16 15:02+0200\n" 6 | "Language-Team: \n" 7 | "MIME-Version: 1.0\n" 8 | "Content-Type: text/plain; charset=UTF-8\n" 9 | "Content-Transfer-Encoding: 8bit\n" 10 | "X-Generator: Poedit 2.0.4\n" 11 | "X-Poedit-Basepath: ..\n" 12 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 13 | "X-Poedit-SourceCharset: UTF-8\n" 14 | "X-Poedit-KeywordsList: __;_e;_x:1,2c;_x\n" 15 | "Last-Translator: \n" 16 | "Language: sv_SE\n" 17 | "X-Poedit-SearchPath-0: .\n" 18 | 19 | #: Puc/v4p1/Plugin/UpdateChecker.php:358 20 | msgid "Check for updates" 21 | msgstr "Sök efter uppdateringar" 22 | 23 | #: Puc/v4p1/Plugin/UpdateChecker.php:405 24 | #, php-format 25 | msgctxt "the plugin title" 26 | msgid "The %s plugin is up to date." 27 | msgstr "Tillägget %s är uppdaterat." 28 | 29 | #: Puc/v4p1/Plugin/UpdateChecker.php:407 30 | #, php-format 31 | msgctxt "the plugin title" 32 | msgid "A new version of the %s plugin is available." 33 | msgstr "Det finns en ny version av tillägget %s." 34 | 35 | #: Puc/v4p1/Plugin/UpdateChecker.php:409 36 | #, php-format 37 | msgid "Unknown update checker status \"%s\"" 38 | msgstr "Okänd status för kontroll av uppdatering “%s”" 39 | 40 | #: Puc/v4p1/Vcs/PluginUpdateChecker.php:83 41 | msgid "There is no changelog available." 42 | msgstr "Det finns ingen ändringslogg tillgänglig." 43 | -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/plugin-update-checker-4.6/languages/plugin-update-checker.pot: -------------------------------------------------------------------------------- 1 | #, fuzzy 2 | msgid "" 3 | msgstr "" 4 | "Project-Id-Version: plugin-update-checker\n" 5 | "POT-Creation-Date: 2017-11-24 17:02+0200\n" 6 | "PO-Revision-Date: 2016-01-10 20:59+0100\n" 7 | "Last-Translator: Tamás András Horváth \n" 8 | "Language-Team: \n" 9 | "Language: en_US\n" 10 | "MIME-Version: 1.0\n" 11 | "Content-Type: text/plain; charset=UTF-8\n" 12 | "Content-Transfer-Encoding: 8bit\n" 13 | "X-Generator: Poedit 2.0.4\n" 14 | "X-Poedit-Basepath: ..\n" 15 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 16 | "X-Poedit-SourceCharset: UTF-8\n" 17 | "X-Poedit-KeywordsList: __;_e;_x:1,2c;_x\n" 18 | "X-Poedit-SearchPath-0: .\n" 19 | 20 | #: Puc/v4p3/Plugin/UpdateChecker.php:395 21 | msgid "Check for updates" 22 | msgstr "" 23 | 24 | #: Puc/v4p3/Plugin/UpdateChecker.php:548 25 | #, php-format 26 | msgctxt "the plugin title" 27 | msgid "The %s plugin is up to date." 28 | msgstr "" 29 | 30 | #: Puc/v4p3/Plugin/UpdateChecker.php:550 31 | #, php-format 32 | msgctxt "the plugin title" 33 | msgid "A new version of the %s plugin is available." 34 | msgstr "" 35 | 36 | #: Puc/v4p3/Plugin/UpdateChecker.php:552 37 | #, php-format 38 | msgctxt "the plugin title" 39 | msgid "Could not determine if updates are available for %s." 40 | msgstr "" 41 | 42 | #: Puc/v4p3/Plugin/UpdateChecker.php:558 43 | #, php-format 44 | msgid "Unknown update checker status \"%s\"" 45 | msgstr "" 46 | 47 | #: Puc/v4p3/Vcs/PluginUpdateChecker.php:95 48 | msgid "There is no changelog available." 49 | msgstr "" 50 | -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/plugin-update-checker-4.6/license.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 2017 Jānis Elsts 2 | 3 | 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: 4 | 5 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 6 | 7 | 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. 8 | -------------------------------------------------------------------------------- /plugin/woocommerce-to-wechatapp-mini/vendor/plugin-update-checker-4.6/plugin-update-checker.php: -------------------------------------------------------------------------------- 1 | 'Puc_v4p6_Plugin_UpdateChecker', 19 | 'Theme_UpdateChecker' => 'Puc_v4p6_Theme_UpdateChecker', 20 | 21 | 'Vcs_PluginUpdateChecker' => 'Puc_v4p6_Vcs_PluginUpdateChecker', 22 | 'Vcs_ThemeUpdateChecker' => 'Puc_v4p6_Vcs_ThemeUpdateChecker', 23 | 24 | 'GitHubApi' => 'Puc_v4p6_Vcs_GitHubApi', 25 | 'BitBucketApi' => 'Puc_v4p6_Vcs_BitBucketApi', 26 | 'GitLabApi' => 'Puc_v4p6_Vcs_GitLabApi', 27 | ) 28 | as $pucGeneralClass => $pucVersionedClass 29 | ) { 30 | Puc_v4_Factory::addVersion($pucGeneralClass, $pucVersionedClass, '4.6'); 31 | //Also add it to the minor-version factory in case the major-version factory 32 | //was already defined by another, older version of the update checker. 33 | Puc_v4p6_Factory::addVersion($pucGeneralClass, $pucVersionedClass, '4.6'); 34 | } -------------------------------------------------------------------------------- /wechatapp/LICENSE.txt: -------------------------------------------------------------------------------- 1 | 插件和小程序由广州米点网络科技有限公司开发并享有著作权,仅可用作搭建自营商城小程序线上销售商品,除此之外的任何其它用途并未在授权使用范围内,包括但不限于转售、出租、复制或再分发,或将源码部分或全部用于其它产品中。 2 | 对于违反上述协议、或未经书面许可的使用行为,均保留追究法律责任的权利。 3 | -------------------------------------------------------------------------------- /wechatapp/app.json: -------------------------------------------------------------------------------- 1 | { 2 | "pages": [ 3 | "pages/index/index", 4 | "pages/category/category", 5 | "pages/cart/cart", 6 | "pages/my/my", 7 | "pages/product-detail/product-detail", 8 | "pages/checkout/checkout", 9 | "pages/order-detail/order-detail", 10 | "pages/order-list/order-list", 11 | "pages/about/about", 12 | "pages/product-list/product-list", 13 | "pages/web-view/web-view", 14 | "pages/search/search" 15 | ], 16 | "window": { 17 | "backgroundTextStyle": "light", 18 | "backgroundColor": "#96588a", 19 | "navigationBarBackgroundColor": "#96588a", 20 | "navigationBarTitleText": "WooCommerce微信小程序", 21 | "navigationBarTextStyle": "white", 22 | "navigationStyle": "custom", 23 | "enablePullDownRefresh": true, 24 | "onReachBottomDistance": 40 25 | }, 26 | "tabBar": { 27 | "color": "#707070", 28 | "selectedColor": "#96588a", 29 | "borderStyle": "black", 30 | "list": [ 31 | { 32 | "selectedIconPath": "images/home_fill_light.png", 33 | "iconPath": "images/home_light.png", 34 | "pagePath": "pages/index/index", 35 | "text": "首页" 36 | }, 37 | { 38 | "selectedIconPath": "images/category_fill.png", 39 | "iconPath": "images/category.png", 40 | "pagePath": "pages/category/category", 41 | "text": "分类" 42 | }, 43 | { 44 | "selectedIconPath": "images/cart_fill_light.png", 45 | "iconPath": "images/cart_light.png", 46 | "pagePath": "pages/cart/cart", 47 | "text": "购物车" 48 | }, 49 | { 50 | "selectedIconPath": "images/my_fill_light.png", 51 | "iconPath": "images/my_light.png", 52 | "pagePath": "pages/my/my", 53 | "text": "我的" 54 | } 55 | ] 56 | }, 57 | "debug": false, 58 | "sitemapLocation": "sitemap.json" 59 | } -------------------------------------------------------------------------------- /wechatapp/components/nav-bar/dist/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": {}, 3 | "component": true 4 | } -------------------------------------------------------------------------------- /wechatapp/components/nav-bar/dist/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /wechatapp/components/nav-bar/dist/index.wxss: -------------------------------------------------------------------------------- 1 | .ui-nav-bar { 2 | position: fixed; 3 | top: 0; 4 | left: 0; 5 | width: 100%; 6 | font-size: 14px; 7 | z-index: 490; 8 | user-select: none; 9 | box-sizing: border-box; 10 | } 11 | 12 | .ui-nav-bar-content { 13 | display: flex; 14 | } 15 | 16 | .ui-nav-bar-content .nav-bar-left { 17 | position: relative; 18 | padding: 0 30px; 19 | } 20 | 21 | .ui-nav-bar-content .nav-bar-center { 22 | position: relative; 23 | flex: 1; 24 | text-align: center; 25 | overflow: hidden; 26 | text-overflow: ellipsis; 27 | white-space: nowrap; 28 | box-sizing: border-box; 29 | } 30 | 31 | .ui-nav-bar-content .nav-bar-right { 32 | text-align: right; 33 | } 34 | 35 | .ui-nav-bar-more:after { 36 | content: "\2022\0020\2022\0020\2022\0020"; 37 | font-size: 16px; 38 | } 39 | -------------------------------------------------------------------------------- /wechatapp/components/slider/dist/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": {}, 3 | "component": true 4 | } -------------------------------------------------------------------------------- /wechatapp/components/slider/dist/index.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | {{unlimited ? value[0] > max - step ? '不限' : value[0] : value[0]}} 11 | 12 | 13 | 14 | 15 | 16 | {{unlimited ? value[1] > max - step ? '不限' : value[1] : value[1]}} 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /wechatapp/components/slider/src/objectToStyle.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | Object.defineProperty(exports, "__esModule", { 4 | value: true 5 | }); 6 | 7 | exports.default = function(obj) { 8 | var rstr = '@_@_@_@_@_@_@_'; 9 | var str = JSON.stringify(obj); 10 | if (str) { 11 | var arr = str.match(/\(.*?\)/g); 12 | var newStr = str.replace(/\(.*?\)/g, '@_@_@_@_@_@_@_').replace(/"|{|}/g, '').replace(/,/g, ';'); 13 | if (arr && arr.length) { 14 | arr.forEach(function(item, index) { 15 | newStr = newStr.replace('@_@_@_@_@_@_@_', item); 16 | }); 17 | } 18 | return newStr; 19 | } else { 20 | return ''; 21 | } 22 | }; -------------------------------------------------------------------------------- /wechatapp/components/slider/src/sliderBar.js: -------------------------------------------------------------------------------- 1 | module.exports = Behavior({ 2 | 3 | data: {}, 4 | methods: { 5 | sliderBarAnimateStyleObj: function sliderBarAnimateStyleObj() { 6 | var style = {}; 7 | style['transition'] = this.data.animate; 8 | return style; 9 | }, 10 | sliderBarWrapStyleObj: function sliderBarWrapStyleObj() { 11 | var style = {}; 12 | style.top = this.data.height / 2 - this.data.thumbSize / 2 + 'px'; 13 | style.left = this.data.valueAlignLeft - this.data.thumbSize / 2 + 'px'; 14 | return style; 15 | }, 16 | sliderBarStyleObj: function sliderBarStyleObj() { 17 | var style = {}; 18 | style.height = this.data.thumbSize + 'px'; 19 | style.width = this.data.thumbSize + 'px'; 20 | style['background-color'] = this.data.activeColor; 21 | return style; 22 | } 23 | } 24 | }); -------------------------------------------------------------------------------- /wechatapp/components/slider/src/sliderBar1.js: -------------------------------------------------------------------------------- 1 | module.exports = Behavior({ 2 | 3 | data: { 4 | sliderBarWrapStyle: '' 5 | }, 6 | methods: { 7 | sliderBarWrapDynamicStyleObj: function sliderBarWrapDynamicStyleObj() { 8 | var style = {}; 9 | style['z-index'] = this.data.zIndex; 10 | style['transform'] = 'translate3d(' + this.data.offsetX + 'px, 0, 0)'; 11 | style.height = this.data.thumbSize + 'px'; 12 | style.width = this.data.thumbSize + 'px'; 13 | return style; 14 | } 15 | } 16 | }); -------------------------------------------------------------------------------- /wechatapp/components/slider/src/sliderBar2.js: -------------------------------------------------------------------------------- 1 | module.exports = Behavior({ 2 | 3 | data: { 4 | sliderBarWrapStyle: '' 5 | }, 6 | methods: { 7 | sliderBarWrap2DynamicStyleObj: function sliderBarWrap2DynamicStyleObj() { 8 | var style = {}; 9 | style['z-index'] = this.data.zIndex2; 10 | style['transform'] = 'translate3d(' + this.data.offset2X + 'px, 0, 0)'; 11 | style.height = this.data.thumbSize + 'px'; 12 | style.width = this.data.thumbSize + 'px'; 13 | return style; 14 | } 15 | } 16 | }); -------------------------------------------------------------------------------- /wechatapp/images/about.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /wechatapp/images/add_light.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /wechatapp/images/back_white_light.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 7 | 8 | -------------------------------------------------------------------------------- /wechatapp/images/cart_fill_light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qwqoffice/woocommerce-to-wechatapp-mini/78e1bca0f93af4c0d57312104bc6368a521774e4/wechatapp/images/cart_fill_light.png -------------------------------------------------------------------------------- /wechatapp/images/cart_fill_light.svg: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 8 | 11 | 12 | -------------------------------------------------------------------------------- /wechatapp/images/cart_light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qwqoffice/woocommerce-to-wechatapp-mini/78e1bca0f93af4c0d57312104bc6368a521774e4/wechatapp/images/cart_light.png -------------------------------------------------------------------------------- /wechatapp/images/cart_light.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /wechatapp/images/cart_light_main_color.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /wechatapp/images/category.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qwqoffice/woocommerce-to-wechatapp-mini/78e1bca0f93af4c0d57312104bc6368a521774e4/wechatapp/images/category.png -------------------------------------------------------------------------------- /wechatapp/images/category_fill.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qwqoffice/woocommerce-to-wechatapp-mini/78e1bca0f93af4c0d57312104bc6368a521774e4/wechatapp/images/category_fill.png -------------------------------------------------------------------------------- /wechatapp/images/category_fill.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /wechatapp/images/check.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /wechatapp/images/check_white.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /wechatapp/images/close.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /wechatapp/images/close_white.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /wechatapp/images/comment_light.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /wechatapp/images/completed.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 8 | 12 | 14 | 15 | -------------------------------------------------------------------------------- /wechatapp/images/empty_avatar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qwqoffice/woocommerce-to-wechatapp-mini/78e1bca0f93af4c0d57312104bc6368a521774e4/wechatapp/images/empty_avatar.png -------------------------------------------------------------------------------- /wechatapp/images/favor_fill.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /wechatapp/images/form_fill_light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qwqoffice/woocommerce-to-wechatapp-mini/78e1bca0f93af4c0d57312104bc6368a521774e4/wechatapp/images/form_fill_light.png -------------------------------------------------------------------------------- /wechatapp/images/form_fill_light.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /wechatapp/images/form_light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qwqoffice/woocommerce-to-wechatapp-mini/78e1bca0f93af4c0d57312104bc6368a521774e4/wechatapp/images/form_light.png -------------------------------------------------------------------------------- /wechatapp/images/form_light.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /wechatapp/images/go_light.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 8 | 10 | 11 | -------------------------------------------------------------------------------- /wechatapp/images/home_fill_light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qwqoffice/woocommerce-to-wechatapp-mini/78e1bca0f93af4c0d57312104bc6368a521774e4/wechatapp/images/home_fill_light.png -------------------------------------------------------------------------------- /wechatapp/images/home_fill_light.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /wechatapp/images/home_light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qwqoffice/woocommerce-to-wechatapp-mini/78e1bca0f93af4c0d57312104bc6368a521774e4/wechatapp/images/home_light.png -------------------------------------------------------------------------------- /wechatapp/images/home_light.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /wechatapp/images/location_light.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /wechatapp/images/my_fill_light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qwqoffice/woocommerce-to-wechatapp-mini/78e1bca0f93af4c0d57312104bc6368a521774e4/wechatapp/images/my_fill_light.png -------------------------------------------------------------------------------- /wechatapp/images/my_fill_light.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /wechatapp/images/my_light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qwqoffice/woocommerce-to-wechatapp-mini/78e1bca0f93af4c0d57312104bc6368a521774e4/wechatapp/images/my_light.png -------------------------------------------------------------------------------- /wechatapp/images/my_light.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /wechatapp/images/not-logged-background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qwqoffice/woocommerce-to-wechatapp-mini/78e1bca0f93af4c0d57312104bc6368a521774e4/wechatapp/images/not-logged-background.png -------------------------------------------------------------------------------- /wechatapp/images/payment-wxapay.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /wechatapp/images/pending.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 8 | 11 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /wechatapp/images/placeholder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qwqoffice/woocommerce-to-wechatapp-mini/78e1bca0f93af4c0d57312104bc6368a521774e4/wechatapp/images/placeholder.png -------------------------------------------------------------------------------- /wechatapp/images/processing.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 8 | 9 | 14 | 15 | -------------------------------------------------------------------------------- /wechatapp/images/sale_fill.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /wechatapp/images/search.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /wechatapp/images/sorry.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /wechatapp/images/top_left_arrow.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 8 | 11 | 12 | -------------------------------------------------------------------------------- /wechatapp/images/top_light.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 8 | 11 | 12 | -------------------------------------------------------------------------------- /wechatapp/images/warn.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 8 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /wechatapp/images/woo-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qwqoffice/woocommerce-to-wechatapp-mini/78e1bca0f93af4c0d57312104bc6368a521774e4/wechatapp/images/woo-logo.png -------------------------------------------------------------------------------- /wechatapp/pages/about/about.js: -------------------------------------------------------------------------------- 1 | // pages/about/about.js 2 | 3 | /** 4 | * Project: WooCommerce微信小程序 5 | * Description: 将WooCommerce商城接入微信小程序 6 | * Author: 幻想小籽 7 | * Organization: QwqOffice (https://www.qwqoffice.com) 8 | */ 9 | 10 | const app = getApp(); 11 | 12 | Page(Object.assign({}, app.Methods, { 13 | data: Object.assign({}, app.Variables, { 14 | NAV_HEIGHT: wx.STATUS_BAR_HEIGHT + wx.DEFAULT_HEADER_HEIGHT + 'px', 15 | NAV_BAR_HEIGHT: wx.DEFAULT_HEADER_HEIGHT + 'px', 16 | pageTitle: '关于 ' + app.data.name, 17 | padding: 40 18 | }), 19 | tagATap(e) { 20 | var src = e.detail.src; 21 | if (/^http/.test(src)) { 22 | app.openWebView(src); 23 | } else { 24 | wx.navigateTo({ 25 | url: src 26 | }) 27 | } 28 | }, 29 | onLoad(options) { 30 | this.setData({ 31 | currentPages: getCurrentPages().length 32 | }); 33 | }, 34 | onShow() { 35 | app.Util.network.GET({ 36 | url: app.API('about'), 37 | success: data => { 38 | this.setData({ 39 | custom: data.length > 0, 40 | content: data, 41 | version: app.data.version 42 | }); 43 | } 44 | }); 45 | }, 46 | onPullDownRefresh() { 47 | this.onShow(); 48 | }, 49 | onReachBottom() { 50 | 51 | }, 52 | onShareAppMessage() { 53 | var path = '/pages/about/about'; 54 | if (app.isLoggedIn()) { 55 | path = path + '?uid=' + app.data.user_id; 56 | } 57 | return { 58 | path: path 59 | } 60 | } 61 | })) -------------------------------------------------------------------------------- /wechatapp/pages/about/about.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "关于 WooCommerce微信小程序", 3 | "usingComponents": { 4 | "htmltowxml": "/vendor/html2wxml/html2wxml", 5 | "nav-bar": "/components/nav-bar/dist/index" 6 | } 7 | } -------------------------------------------------------------------------------- /wechatapp/pages/about/about.wxss: -------------------------------------------------------------------------------- 1 | /* pages/about/about.wxss */ 2 | 3 | /** 4 | * Project: WooCommerce微信小程序 5 | * Description: 将WooCommerce商城接入微信小程序 6 | * Author: 幻想小籽 7 | * Organization: QwqOffice (https://www.qwqoffice.com) 8 | */ 9 | 10 | .default-content { 11 | display: flex; 12 | flex-direction: column; 13 | } 14 | 15 | .logo { 16 | padding: 30px 0; 17 | display: flex; 18 | justify-content: center; 19 | align-items: center; 20 | flex-direction: column; 21 | } 22 | 23 | .logo image { 24 | width: 80px; 25 | height: 80px; 26 | border-radius: 50%; 27 | } 28 | 29 | .logo .version { 30 | margin-top: 10px; 31 | } 32 | 33 | .logo .version text { 34 | font-size: 16px; 35 | } 36 | 37 | .intro, .copyright { 38 | padding: 0 40px; 39 | display: flex; 40 | flex-direction: column; 41 | } 42 | 43 | .intro text { 44 | padding: 5px 0; 45 | word-break: initial; 46 | } 47 | 48 | .copyright { 49 | color: #999; 50 | align-items: center; 51 | font-size: 12px; 52 | margin-top: 100px; 53 | padding: 30px 0; 54 | } 55 | -------------------------------------------------------------------------------- /wechatapp/pages/cart/cart.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "购物车", 3 | "usingComponents": { 4 | "nav-bar": "/components/nav-bar/dist/index" 5 | } 6 | } -------------------------------------------------------------------------------- /wechatapp/pages/category/category.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "分类", 3 | "usingComponents": { 4 | "nav-bar": "/components/nav-bar/dist/index" 5 | } 6 | } -------------------------------------------------------------------------------- /wechatapp/pages/checkout/checkout.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "结算", 3 | "usingComponents": { 4 | "nav-bar": "/components/nav-bar/dist/index" 5 | } 6 | } -------------------------------------------------------------------------------- /wechatapp/pages/index/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "nav-bar": "/components/nav-bar/dist/index" 4 | } 5 | } -------------------------------------------------------------------------------- /wechatapp/pages/my/my.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "我的", 3 | "enablePullDownRefresh": false 4 | } -------------------------------------------------------------------------------- /wechatapp/pages/order-detail/order-detail.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "订单详情", 3 | "usingComponents": { 4 | "nav-bar": "/components/nav-bar/dist/index" 5 | } 6 | } -------------------------------------------------------------------------------- /wechatapp/pages/order-list/order-list.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "订单列表", 3 | "usingComponents": { 4 | "nav-bar": "/components/nav-bar/dist/index" 5 | } 6 | } -------------------------------------------------------------------------------- /wechatapp/pages/product-detail/product-detail.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "htmltowxml": "/vendor/html2wxml/html2wxml", 4 | "nav-bar": "/components/nav-bar/dist/index" 5 | }, 6 | "navigationBarTitleText": "" 7 | } -------------------------------------------------------------------------------- /wechatapp/pages/product-list/product-list.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "ui-slider": "/components/slider/dist/index", 4 | "nav-bar": "/components/nav-bar/dist/index" 5 | }, 6 | "navigationBarTitleText": "" 7 | } -------------------------------------------------------------------------------- /wechatapp/pages/product-list/product-list.wxss: -------------------------------------------------------------------------------- 1 | /* pages/product-list/product-list.wxss */ 2 | 3 | /** 4 | * Project: WooCommerce微信小程序 5 | * Description: 将WooCommerce商城接入微信小程序 6 | * Author: 幻想小籽 7 | * Organization: QwqOffice (https://www.qwqoffice.com) 8 | */ 9 | 10 | page { 11 | background-color: #f5f5f5; 12 | } 13 | 14 | .container { 15 | padding: 10px 0; 16 | } 17 | 18 | .empty-product.center text { 19 | margin-top: -100px; 20 | } 21 | 22 | .zan-loadmore.zan-loadmore--nomore { 23 | overflow: visible; 24 | margin: auto; 25 | margin-top: 15px; 26 | margin-bottom: -2px; 27 | line-height: 10px; 28 | } 29 | 30 | .zan-loadmore.zan-loadmore--nomore .zan-loadmore__tips { 31 | /*background-color: #fff;*/ 32 | top: -10px; 33 | } 34 | 35 | /* 购物车按钮 */ 36 | 37 | .side-btn { 38 | position: fixed; 39 | right: 15px; 40 | display: flex; 41 | width: 40px; 42 | height: 40px; 43 | padding: 7px; 44 | border: 1px solid #ddd; 45 | border-radius: 50%; 46 | overflow: visible; 47 | z-index: 12; 48 | } 49 | 50 | .side-btn image { 51 | width: 100%; 52 | height: auto; 53 | } 54 | 55 | .go-top-btn { 56 | bottom: 20px; 57 | } 58 | 59 | .cart-btn { 60 | bottom: 65px; 61 | } 62 | 63 | .edit-favor-btn { 64 | bottom: 110px; 65 | } 66 | 67 | .edit-favor-btn.in-edit { 68 | background-color: #96588a; 69 | } 70 | 71 | .delete-favor-btn { 72 | bottom: 155px; 73 | } 74 | 75 | /* W2W Extension, Name: w2w-products-filter-and-orderby, Code: filterStyle */ 76 | 77 | /* W2W Extension, Name: w2w-products-filter-and-orderby, Code: filterStyle */ 78 | -------------------------------------------------------------------------------- /wechatapp/pages/search/search.json: -------------------------------------------------------------------------------- 1 | { 2 | "navigationBarTitleText": "搜索", 3 | "usingComponents": { 4 | "nav-bar": "/components/nav-bar/dist/index" 5 | } 6 | } -------------------------------------------------------------------------------- /wechatapp/pages/web-view/web-view.js: -------------------------------------------------------------------------------- 1 | // pages/web-view/web-view.js 2 | 3 | /** 4 | * Project: WooCommerce微信小程序 5 | * Description: 将WooCommerce商城接入微信小程序 6 | * Author: 幻想小籽 7 | * Organization: QwqOffice (https://www.qwqoffice.com) 8 | */ 9 | 10 | const app = getApp(); 11 | 12 | Page(Object.assign({}, app.Methods, { 13 | data: Object.assign({}, app.Variables, { 14 | NAV_HEIGHT: wx.STATUS_BAR_HEIGHT + wx.DEFAULT_HEADER_HEIGHT + 'px', 15 | NAV_BAR_HEIGHT: wx.DEFAULT_HEADER_HEIGHT + 'px', 16 | pageTitle: app.data.name, 17 | }), 18 | onLoad(options) { 19 | this.setData({ 20 | src: decodeURIComponent(options.src), 21 | currentPages: getCurrentPages().length 22 | }); 23 | } 24 | })) -------------------------------------------------------------------------------- /wechatapp/pages/web-view/web-view.json: -------------------------------------------------------------------------------- 1 | { 2 | "usingComponents": { 3 | "nav-bar": "/components/nav-bar/dist/index" 4 | } 5 | } -------------------------------------------------------------------------------- /wechatapp/pages/web-view/web-view.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /wechatapp/pages/web-view/web-view.wxss: -------------------------------------------------------------------------------- 1 | /* pages/web-view/web-view.wxss */ 2 | 3 | /** 4 | * Project: WooCommerce微信小程序 5 | * Description: 将WooCommerce商城接入微信小程序 6 | * Author: 幻想小籽 7 | * Organization: QwqOffice (https://www.qwqoffice.com) 8 | */ -------------------------------------------------------------------------------- /wechatapp/sitemap.json: -------------------------------------------------------------------------------- 1 | { 2 | "desc": "关于本文件的更多信息,请参考文档 https://developers.weixin.qq.com/miniprogram/dev/framework/sitemap.html", 3 | "rules": [{ 4 | "action": "allow", 5 | "page": "*" 6 | }] 7 | } -------------------------------------------------------------------------------- /wechatapp/templates/login-popup.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /wechatapp/templates/login.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | 10 | -------------------------------------------------------------------------------- /wechatapp/templates/nav-bar.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | 10 | -------------------------------------------------------------------------------- /wechatapp/templates/product-list.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /wechatapp/utils/system.js: -------------------------------------------------------------------------------- 1 | export default { 2 | attachInfo () { 3 | let res = wx.getSystemInfoSync() 4 | 5 | wx.WIN_WIDTH = res.screenWidth 6 | wx.WIN_HEIGHT = res.screenHeight 7 | wx.IS_IOS = /ios/i.test(res.system) 8 | wx.IS_ANDROID = /android/i.test(res.system) 9 | wx.STATUS_BAR_HEIGHT = res.statusBarHeight 10 | wx.DEFAULT_HEADER_HEIGHT = 46 // res.screenHeight - res.windowHeight - res.statusBarHeight 11 | wx.DEFAULT_CONTENT_HEIGHT = res.screenHeight - res.statusBarHeight - wx.DEFAULT_HEADER_HEIGHT 12 | wx.IS_APP = true 13 | 14 | wx.showAlert = (options) => { 15 | options.showCancel = false 16 | wx.showModal(options) 17 | } 18 | 19 | wx.showConfirm = (options) => { 20 | wx.showModal(options) 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /wechatapp/utils/variables.js: -------------------------------------------------------------------------------- 1 | // pages/utils/variables.js 2 | 3 | /** 4 | * Project: WooCommerce微信小程序 5 | * Description: 将WooCommerce商城接入微信小程序 6 | * Author: 幻想小籽 7 | * Organization: QwqOffice (https://www.qwqoffice.com) 8 | */ 9 | 10 | var Variables = { 11 | isLoginPopup: false 12 | } 13 | 14 | module.exports = Variables; -------------------------------------------------------------------------------- /wechatapp/vendor/ZanUI/actionsheet/index.js: -------------------------------------------------------------------------------- 1 | const { extractComponentId } = require('../common/helper'); 2 | 3 | module.exports = { 4 | _handleZanActionsheetMaskClick({ currentTarget = {} }) { 5 | const dataset = currentTarget.dataset || {}; 6 | const { componentId, closeOnClickOverlay } = dataset; 7 | 8 | // 判断是否在点击背景时需要关闭弹层 9 | if (!closeOnClickOverlay) { 10 | return; 11 | } 12 | 13 | resolveCancelClick.call(this, { componentId }); 14 | }, 15 | 16 | _handleZanActionsheetCancelBtnClick(e) { 17 | const componentId = extractComponentId(e); 18 | 19 | resolveCancelClick.call(this, { componentId }); 20 | }, 21 | 22 | _handleZanActionsheetBtnClick({ currentTarget = {} }) { 23 | const dataset = currentTarget.dataset || {}; 24 | const { componentId, index } = dataset; 25 | 26 | if (this.handleZanActionsheetClick) { 27 | this.handleZanActionsheetClick({ componentId, index }); 28 | } else { 29 | console.warn('页面缺少 handleZanActionsheetClick 回调函数'); 30 | } 31 | } 32 | }; 33 | 34 | function resolveCancelClick({ componentId }) { 35 | console.info('[zan:actionsheet:cancel]'); 36 | if (this.handleZanActionsheetCancel) { 37 | this.handleZanActionsheetCancel({ componentId }); 38 | } else { 39 | console.warn('页面缺少 handleZanActionsheetCancel 回调函数'); 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /wechatapp/vendor/ZanUI/actionsheet/index.wxml: -------------------------------------------------------------------------------- 1 | 41 | -------------------------------------------------------------------------------- /wechatapp/vendor/ZanUI/actionsheet/index.wxss: -------------------------------------------------------------------------------- 1 | .zan-actionsheet{background-color:#f8f8f8}.zan-actionsheet__mask{position:fixed;top:0;left:0;right:0;bottom:0;z-index:10;background:rgba(0,0,0,.7);display:none}.zan-actionsheet__container{position:fixed;left:0;right:0;bottom:0;background:#f8f8f8;transform:translate3d(0,50%,0);transform-origin:center;transition:all .2s ease;z-index:11;opacity:0;visibility:hidden}.zan-actionsheet__btn.zan-btn{height:50px;line-height:50px;margin-bottom:0}.zan-actionsheet__btn.zan-btn::after{border-width:0;border-bottom-width:1px}.zan-actionsheet__btn.zan-btn:last-child::after{border-bottom-width:0}.zan-actionsheet__subname{margin-left:2px;font-size:12px;color:#666}.zan-actionsheet__footer{margin-top:10px}.zan-actionsheet__btn.zan-btn--loading .zan-actionsheet__subname{color:transparent}.zan-actionsheet--show .zan-actionsheet__container{opacity:1;transform:translate3d(0,0,0);visibility:visible}.zan-actionsheet--show .zan-actionsheet__mask{display:block} -------------------------------------------------------------------------------- /wechatapp/vendor/ZanUI/badge/index.wxss: -------------------------------------------------------------------------------- 1 | .zan-badge{position:relative}.zan-badge__count{position:absolute;top:-16px;right:0;height:1.6em;min-width:1.6em;line-height:1.6;padding:0 .4em;font-size:20px;border-radius:.8em;background:#f44;color:#fff;text-align:center;white-space:nowrap;transform:translateX(50%) scale(.5);transform-origin:center;z-index:10;box-shadow:0 0 0 2px #fff;box-sizing:border-box} -------------------------------------------------------------------------------- /wechatapp/vendor/ZanUI/capsule/index.wxml: -------------------------------------------------------------------------------- 1 | 13 | -------------------------------------------------------------------------------- /wechatapp/vendor/ZanUI/capsule/index.wxss: -------------------------------------------------------------------------------- 1 | .zan-capsule{display:inline-block;font-size:12px;vertical-align:middle;line-height:19px;transform:scale(.83)}.zan-capsule__left,.zan-capsule__right{display:inline-block;line-height:17px;height:19px;vertical-align:middle;box-sizing:border-box}.zan-capsule__left{padding:0 2px;color:#fff;background:#999;border-radius:2px 0 0 2px;border:1rpx solid #999}.zan-capsule__right{padding:0 5px;color:#999;border-radius:0 2px 2px 0;border:1rpx solid #999}.zan-capsule--danger .zan-capsule__left{color:#fff;background:#f24544;border-color:#f24544}.zan-capsule--danger .zan-capsule__right{color:#f24544;border-color:#f24544} -------------------------------------------------------------------------------- /wechatapp/vendor/ZanUI/card/index.wxss: -------------------------------------------------------------------------------- 1 | .zan-card{margin-left:0;width:auto;padding:5px 15px;overflow:hidden;position:relative;font-size:14px}.zan-card__thumb{width:90px;height:90px;float:left;position:relative;margin-left:auto;margin-right:auto;overflow:hidden;background-size:cover}.zan-card__img{position:absolute;top:0;left:0;right:0;bottom:0;width:auto;height:auto;max-width:100%;max-height:100%}.zan-card__detail{margin-left:100px;width:auto;position:relative}.zan-card__detail-row{overflow:hidden;line-height:20px;min-height:20px;margin-bottom:3px}.zan-card__right-col{float:right}.zan-card__left-col{margin-right:80px} -------------------------------------------------------------------------------- /wechatapp/vendor/ZanUI/cell/index.wxss: -------------------------------------------------------------------------------- 1 | .zan-cell{position:relative;padding:12px 15px;display:flex;align-items:center;line-height:1.4;font-size:14px}.zan-cell::after{content:'';position:absolute;top:0;left:0;width:200%;height:200%;transform:scale(.5);transform-origin:0 0;pointer-events:none;box-sizing:border-box;border:0 solid #e5e5e5;border-bottom-width:1px;left:15px;right:0}.zan-cell__icon{margin-right:5px}.zan-cell__bd{flex:1}.zan-cell__text{line-height:24px;font-size:14px}.zan-cell__desc{line-height:1.2;font-size:12px;color:#666}.zan-cell__ft{position:relative;text-align:right;color:#666}.zan-cell__no-pading{padding:0}.zan-cell__no-pading .zan-cell__bd_padding{padding:12px 0 12px 15px}.zan-cell__no-pading .zan-cell__bd_padding .zan-form__input{height:26px}.zan-cell__no-pading .zan-cell__ft_padding{padding:12px 15px 12px 0}.zan-cell--last-child::after,.zan-cell:last-child::after{display:none}.zan-cell--access .zan-cell__ft{padding-right:13px}.zan-cell--access .zan-cell__ft::after{position:absolute;top:50%;right:2px;content:" ";display:inline-block;height:6px;width:6px;border-width:2px 2px 0 0;border-color:#c8c8c8;border-style:solid;transform:translateY(-50%) matrix(.71,.71,-.71,.71,0,0)}.zan-cell--switch{padding-top:6px;padding-bottom:6px} -------------------------------------------------------------------------------- /wechatapp/vendor/ZanUI/col/index.wxss: -------------------------------------------------------------------------------- 1 | .zan-col{float:left;box-sizing:border-box;width:0}.zan-col-1{width:4.16667%}.zan-col-offset-1{margin-left:4.16667%}.zan-col-2{width:8.33333%}.zan-col-offset-2{margin-left:8.33333%}.zan-col-3{width:12.5%}.zan-col-offset-3{margin-left:12.5%}.zan-col-4{width:16.66667%}.zan-col-offset-4{margin-left:16.66667%}.zan-col-5{width:20.83333%}.zan-col-offset-5{margin-left:20.83333%}.zan-col-6{width:25%}.zan-col-offset-6{margin-left:25%}.zan-col-7{width:29.16667%}.zan-col-offset-7{margin-left:29.16667%}.zan-col-8{width:33.33333%}.zan-col-offset-8{margin-left:33.33333%}.zan-col-9{width:37.5%}.zan-col-offset-9{margin-left:37.5%}.zan-col-10{width:41.66667%}.zan-col-offset-10{margin-left:41.66667%}.zan-col-11{width:45.83333%}.zan-col-offset-11{margin-left:45.83333%}.zan-col-12{width:50%}.zan-col-offset-12{margin-left:50%}.zan-col-13{width:54.16667%}.zan-col-offset-13{margin-left:54.16667%}.zan-col-14{width:58.33333%}.zan-col-offset-14{margin-left:58.33333%}.zan-col-15{width:62.5%}.zan-col-offset-15{margin-left:62.5%}.zan-col-16{width:66.66667%}.zan-col-offset-16{margin-left:66.66667%}.zan-col-17{width:70.83333%}.zan-col-offset-17{margin-left:70.83333%}.zan-col-18{width:75%}.zan-col-offset-18{margin-left:75%}.zan-col-19{width:79.16667%}.zan-col-offset-19{margin-left:79.16667%}.zan-col-20{width:83.33333%}.zan-col-offset-20{margin-left:83.33333%}.zan-col-21{width:87.5%}.zan-col-offset-21{margin-left:87.5%}.zan-col-22{width:91.66667%}.zan-col-offset-22{margin-left:91.66667%}.zan-col-23{width:95.83333%}.zan-col-offset-23{margin-left:95.83333%}.zan-col-24{width:100%}.zan-col-offset-24{margin-left:100%} -------------------------------------------------------------------------------- /wechatapp/vendor/ZanUI/color/index.wxss: -------------------------------------------------------------------------------- 1 | .zan-c-red{color:#f44!important}.zan-c-gray{color:#c9c9c9!important}.zan-c-gray-dark{color:#999!important}.zan-c-gray-darker{color:#666!important}.zan-c-black{color:#333!important}.zan-c-blue{color:#38f!important}.zan-c-green{color:#06bf04!important} -------------------------------------------------------------------------------- /wechatapp/vendor/ZanUI/dialog/index.wxml: -------------------------------------------------------------------------------- 1 | 23 | -------------------------------------------------------------------------------- /wechatapp/vendor/ZanUI/dialog/index.wxss: -------------------------------------------------------------------------------- 1 | .zan-dialog--container{position:fixed;top:45%;left:50%;width:80%;height:0;font-size:16px;overflow:hidden;transition:all .2s linear;border-radius:4px;background-color:#fff;transform:translate3d(-50%,-50%,0);color:#333;opacity:0}.zan-dialog--mask{position:fixed;width:100%;height:100%;top:0;left:0;background-color:rgba(0,0,0,.6);transition:.3s;display:none}.zan-dialog__header{padding:15px 0 0;text-align:center}.zan-dialog__content{position:relative;padding:15px 20px;line-height:1.5;min-height:40px}.zan-dialog__content::after{content:'';position:absolute;top:0;left:0;width:200%;height:200%;transform:scale(.5);transform-origin:0 0;pointer-events:none;box-sizing:border-box;border:0 solid #e5e5e5;border-bottom-width:1px}.zan-dialog__content--title{color:#999;font-size:14px}.zan-dialog__footer{overflow:hidden}.zan-dialog__button{line-height:50px;height:50px;padding:0 5px;border-radius:0;margin-bottom:0}.zan-dialog__button::after{border-width:0;border-radius:0}.zan-dialog--show .zan-dialog--container{opacity:1;height:auto}.zan-dialog--show .zan-dialog--mask{display:block}.zan-dialog__footer--horizon{display:flex}.zan-dialog__footer--horizon .zan-dialog__button{flex:1}.zan-dialog__footer--horizon .zan-dialog__button::after{border-right-width:1px}.zan-dialog__footer--horizon .zan-dialog__button:last-child::after{border-right-width:0}.zan-dialog__footer--vertical .zan-dialog__button{flex:1}.zan-dialog__footer--vertical .zan-dialog__button::after{border-bottom-width:1px}.zan-dialog__footer--vertical .zan-dialog__button:last-child::after{border-bottom-width:0} -------------------------------------------------------------------------------- /wechatapp/vendor/ZanUI/field/index.js: -------------------------------------------------------------------------------- 1 | const { extractComponentId } = require('../common/helper'); 2 | 3 | module.exports = { 4 | _handleZanFieldChange(event) { 5 | const componentId = extractComponentId(event); 6 | event.componentId = componentId; 7 | 8 | console.info('[zan:field:change]', event); 9 | 10 | if (this.handleZanFieldChange) { 11 | return this.handleZanFieldChange(event); 12 | } 13 | 14 | console.warn('页面缺少 handleZanFieldChange 回调函数'); 15 | }, 16 | 17 | _handleZanFieldFocus(event) { 18 | const componentId = extractComponentId(event); 19 | event.componentId = componentId; 20 | 21 | console.info('[zan:field:focus]', event); 22 | 23 | if (this.handleZanFieldFocus) { 24 | return this.handleZanFieldFocus(event); 25 | } 26 | 27 | console.warn('页面缺少 handleZanFieldFocus 回调函数'); 28 | }, 29 | 30 | _handleZanFieldBlur(event) { 31 | const componentId = extractComponentId(event); 32 | event.componentId = componentId; 33 | 34 | console.info('[zan:field:blur]', event); 35 | 36 | if (this.handleZanFieldBlur) { 37 | return this.handleZanFieldBlur(event); 38 | } 39 | 40 | console.warn('页面缺少 handleZanFieldBlur 回调函数'); 41 | } 42 | }; 43 | -------------------------------------------------------------------------------- /wechatapp/vendor/ZanUI/field/index.wxml: -------------------------------------------------------------------------------- 1 | 32 | -------------------------------------------------------------------------------- /wechatapp/vendor/ZanUI/field/index.wxss: -------------------------------------------------------------------------------- 1 | .zan-cell{position:relative;padding:12px 15px;display:flex;align-items:center;line-height:1.4;font-size:14px}.zan-cell::after{content:'';position:absolute;top:0;left:0;width:200%;height:200%;transform:scale(.5);transform-origin:0 0;pointer-events:none;box-sizing:border-box;border:0 solid #e5e5e5;border-bottom-width:1px;left:15px;right:0}.zan-cell__icon{margin-right:5px}.zan-cell__bd{flex:1}.zan-cell__text{line-height:24px;font-size:14px}.zan-cell__desc{line-height:1.2;font-size:12px;color:#666}.zan-cell__ft{position:relative;text-align:right;color:#666}.zan-cell__no-pading{padding:0}.zan-cell__no-pading .zan-cell__bd_padding{padding:12px 0 12px 15px}.zan-cell__no-pading .zan-cell__bd_padding .zan-form__input{height:26px}.zan-cell__no-pading .zan-cell__ft_padding{padding:12px 15px 12px 0}.zan-cell--last-child::after,.zan-cell:last-child::after{display:none}.zan-cell--access .zan-cell__ft{padding-right:13px}.zan-cell--access .zan-cell__ft::after{position:absolute;top:50%;right:2px;content:" ";display:inline-block;height:6px;width:6px;border-width:2px 2px 0 0;border-color:#c8c8c8;border-style:solid;transform:translateY(-50%) matrix(.71,.71,-.71,.71,0,0)}.zan-cell--switch{padding-top:6px;padding-bottom:6px}.zan-field{padding:7px 15px;color:#333}.zan-field--wrapped{margin:0 15px;background-color:#fff}.zan-field--wrapped::after{left:0;border-width:1px;border-radius:4px}.zan-field--wrapped+.zan-field--wrapped{margin-top:10px}.zan-field--error{color:#f40}.zan-field--wrapped.zan-field--error::after{border-color:#f40}.zan-field__title{color:#333;min-width:65px;padding-right:10px}.zan-field__input{flex:1;line-height:1.6;padding:4px 0;min-height:22px;height:auto;font-size:14px}.zan-field__placeholder{font-size:14px}.zan-field__input--right{text-align:right} -------------------------------------------------------------------------------- /wechatapp/vendor/ZanUI/index.js: -------------------------------------------------------------------------------- 1 | exports.Actionsheet = require('./actionsheet/index'); 2 | exports.Dialog = require('./dialog/index'); 3 | exports.Field = require('./field/index'); 4 | exports.NoticeBar = require('./noticebar/index'); 5 | exports.Select = require('./select/index'); 6 | exports.Stepper = require('./stepper/index'); 7 | exports.Switch = require('./switch/index'); 8 | exports.Tab = require('./tab/index'); 9 | exports.Toast = require('./toast/index'); 10 | exports.TopTips = require('./toptips/index'); 11 | 12 | // 兼容老版本,在下次大版本发布时会被移除 13 | exports.CheckLabel = require('./select/index'); 14 | 15 | const { extend } = require('./common/helper'); 16 | exports.extend = extend; 17 | -------------------------------------------------------------------------------- /wechatapp/vendor/ZanUI/loadmore/index.wxml: -------------------------------------------------------------------------------- 1 | 25 | -------------------------------------------------------------------------------- /wechatapp/vendor/ZanUI/noticebar/index.wxml: -------------------------------------------------------------------------------- 1 | 17 | -------------------------------------------------------------------------------- /wechatapp/vendor/ZanUI/noticebar/index.wxss: -------------------------------------------------------------------------------- 1 | .zan-noticebar{color:#f60;padding:9px 10px;font-size:12px;line-height:1.5;background-color:#fff7cc} -------------------------------------------------------------------------------- /wechatapp/vendor/ZanUI/panel/index.wxss: -------------------------------------------------------------------------------- 1 | .zan-panel{position:relative;background:#fff;margin-top:10px;overflow:hidden}.zan-panel::after{content:'';position:absolute;top:0;left:0;width:200%;height:200%;transform:scale(.5);transform-origin:0 0;pointer-events:none;box-sizing:border-box;border:0 solid #e5e5e5;border-top-width:1px;border-bottom-width:1px}.zan-panel-title{font-size:14px;line-height:1;color:#999;padding:20px 15px 0 15px}.zan-panel--without-margin-top{margin-top:0}.zan-panel--without-border::after{border:0 none} -------------------------------------------------------------------------------- /wechatapp/vendor/ZanUI/popup/index.wxss: -------------------------------------------------------------------------------- 1 | .zan-popup{visibility:hidden}.zan-popup--show{visibility:visible}.zan-popup__mask{position:fixed;top:0;left:0;right:0;bottom:0;z-index:10;background:rgba(0,0,0,.7);display:none}.zan-popup__container{position:fixed;left:50%;top:50%;background:#fff;transform:translate3d(-50%,-50%,0);transform-origin:center;transition:all .4s ease;z-index:11;opacity:0}.zan-popup--show .zan-popup__container{opacity:1}.zan-popup--show .zan-popup__mask{display:block}.zan-popup--left .zan-popup__container{left:0;top:auto;transform:translate3d(-100%,0,0)}.zan-popup--show.zan-popup--left .zan-popup__container{transform:translate3d(0,0,0)}.zan-popup--right .zan-popup__container{right:0;top:auto;left:auto;transform:translate3d(100%,0,0)}.zan-popup--show.zan-popup--right .zan-popup__container{transform:translate3d(0,0,0)}.zan-popup--bottom .zan-popup__container{top:auto;left:auto;bottom:0;transform:translate3d(0,100%,0)}.zan-popup--show.zan-popup--bottom .zan-popup__container{transform:translate3d(0,0,0)}.zan-popup--top .zan-popup__container{top:0;left:auto;transform:translate3d(0,-100%,0)}.zan-popup--show.zan-popup--top .zan-popup__container{transform:translate3d(0,0,0)} -------------------------------------------------------------------------------- /wechatapp/vendor/ZanUI/row/index.wxss: -------------------------------------------------------------------------------- 1 | .zan-row:after{content:"";display:table;clear:both} -------------------------------------------------------------------------------- /wechatapp/vendor/ZanUI/select/index.js: -------------------------------------------------------------------------------- 1 | const { extractComponentId } = require('../common/helper'); 2 | 3 | function handle(e) { 4 | const componentId = extractComponentId(e); 5 | const value = e.detail.value; 6 | 7 | callback.call(this, componentId, value); 8 | } 9 | 10 | function callback(componentId, value) { 11 | const e = { componentId, value }; 12 | console.info('[zan:Select:change]', e); 13 | 14 | if (this.handleZanSelectChange) { 15 | this.handleZanSelectChange(e); 16 | } else { 17 | console.warn('页面缺少 handleZanSelectChange 回调函数'); 18 | } 19 | } 20 | 21 | module.exports = { 22 | _handleZanSelectChange(e) { 23 | handle.call(this, e); 24 | } 25 | }; 26 | -------------------------------------------------------------------------------- /wechatapp/vendor/ZanUI/select/index.wxml: -------------------------------------------------------------------------------- 1 | 22 | 23 | 24 | function getColor(color) { 25 | color = color || '#ff4444' 26 | return color; 27 | } 28 | 29 | module.exports = { 30 | getColor: getColor, 31 | getItemStyle: function(item, checkedValue, activeColor) { 32 | var padding = item.padding * 10; 33 | var style = 'padding-left: ' + padding + 'px;'; 34 | 35 | // 如果为选中状态,则高亮 36 | if (item.value === checkedValue) { 37 | style += 'color: ' + getColor(activeColor); 38 | } 39 | 40 | return style; 41 | } 42 | }; 43 | 44 | -------------------------------------------------------------------------------- /wechatapp/vendor/ZanUI/select/index.wxss: -------------------------------------------------------------------------------- 1 | .zan-select__list .zan-select__radio{display:none} -------------------------------------------------------------------------------- /wechatapp/vendor/ZanUI/stepper/index.js: -------------------------------------------------------------------------------- 1 | function handle(e, num) { 2 | var dataset = e.currentTarget.dataset; 3 | var componentId = dataset.componentId; 4 | var disabled = dataset.disabled; 5 | var stepper = +dataset.stepper; 6 | 7 | if (disabled) return null; 8 | 9 | callback.call(this, componentId, stepper + num); 10 | } 11 | 12 | function callback(componentId, stepper) { 13 | stepper = +stepper; 14 | var e = { componentId, stepper }; 15 | console.info('[zan:stepper:change]', e); 16 | 17 | if (this.handleZanStepperChange) { 18 | this.handleZanStepperChange(e); 19 | } else { 20 | console.warn('页面缺少 handleZanStepperChange 回调函数'); 21 | } 22 | } 23 | 24 | var Stepper = { 25 | _handleZanStepperMinus(e) { 26 | handle.call(this, e, -1); 27 | }, 28 | 29 | _handleZanStepperPlus(e) { 30 | handle.call(this, e, +1); 31 | }, 32 | 33 | _handleZanStepperBlur(e) { 34 | var dataset = e.currentTarget.dataset; 35 | var componentId = dataset.componentId; 36 | var max = +dataset.max; 37 | var min = +dataset.min; 38 | var value = e.detail.value; 39 | 40 | if (!value) { 41 | setTimeout(() => { 42 | callback.call(this, componentId, min); 43 | }, 16); 44 | callback.call(this, componentId, value); 45 | return '' + value; 46 | } 47 | 48 | value = +value; 49 | if (value > max) { 50 | value = max; 51 | } else if (value < min) { 52 | value = min; 53 | } 54 | 55 | callback.call(this, componentId, value); 56 | 57 | return '' + value; 58 | } 59 | }; 60 | 61 | module.exports = Stepper; 62 | -------------------------------------------------------------------------------- /wechatapp/vendor/ZanUI/stepper/index.wxml: -------------------------------------------------------------------------------- 1 | 29 | -------------------------------------------------------------------------------- /wechatapp/vendor/ZanUI/stepper/index.wxss: -------------------------------------------------------------------------------- 1 | .zan-stepper{color:#666}.zan-stepper view{display:inline-block;line-height:20px;padding:5px 0;text-align:center;min-width:40px;box-sizing:border-box;vertical-align:middle;font-size:12px;border:1rpx solid #999}.zan-stepper .zan-stepper__minus{border-right:none;border-radius:2px 0 0 2px}.zan-stepper .zan-stepper__text{border:1rpx solid #999;display:inline-block;text-align:center;vertical-align:middle;height:30px;width:40px;min-height:auto;font-size:12px;line-height:30px}.zan-stepper .zan-stepper__plus{border-left:none;border-radius:0 2px 2px 0}.zan-stepper .zan-stepper--disabled{background:#f8f8f8;color:#bbb;border-color:#e8e8e8}.zan-stepper--small view{min-width:36px;line-height:18px}.zan-stepper--small .zan-stepper__text{width:36px;line-height:28px;height:28px} -------------------------------------------------------------------------------- /wechatapp/vendor/ZanUI/steps/index.wxml: -------------------------------------------------------------------------------- 1 | 16 | -------------------------------------------------------------------------------- /wechatapp/vendor/ZanUI/steps/wxss/vstep.wxss: -------------------------------------------------------------------------------- 1 | .zan-steps--vsteps{color:#999;font-size:14px}.zan-steps--vsteps .zan-steps__step{position:relative;padding:15px 0}.zan-steps--vsteps .zan-steps__step--done{color:#4b0}.zan-steps--vsteps .zan-steps__line{position:absolute;top:0;bottom:0;left:7px;width:1px;background-color:#e5e5e5}.zan-steps--vsteps .zan-steps__title{display:inline-block;line-height:20px;padding-left:27px}.zan-steps--vsteps .zan-steps__title--desc{padding-left:3px}.zan-steps--vsteps .zan-steps__icons{position:absolute;left:7px;top:50%;transform:translate(-50%,-50%);z-index:2;padding:3px 0;background-color:#fff}.zan-steps--vsteps .zan-steps__circle{width:5px;height:5px;background-color:#cacaca;border-radius:10px}.zan-steps--vsteps .zan-steps__step--done .zan-steps__circle{width:5px;height:5px;background-color:#09bb07}.zan-steps--vsteps .zan-steps__step--cur .zan-steps__circle{width:13px;height:13px;background:transparent url(https://b.yzcdn.cn/v2/image/wap/success_small@2x.png);background-size:13px 13px;border-radius:0}.zan-steps--vsteps .zan-steps__icon--active{width:13px;height:13px}.zan-steps--vsteps .zan-steps__step--first-child .zan-steps__title::before{content:'';position:absolute;top:0;bottom:50%;left:7px;width:1px;background-color:#fff;z-index:1}.zan-steps--vsteps .zan-steps__step--last-child .zan-steps__title::after{content:'';position:absolute;top:50%;bottom:0;left:7px;width:1px;background-color:#fff;z-index:1} -------------------------------------------------------------------------------- /wechatapp/vendor/ZanUI/switch/index.js: -------------------------------------------------------------------------------- 1 | var Switch = { 2 | _handleZanSwitchChange(e) { 3 | var dataset = e.currentTarget.dataset; 4 | 5 | var checked = !dataset.checked; 6 | var loading = dataset.loading; 7 | var disabled = dataset.disabled; 8 | var componentId = dataset.componentId; 9 | 10 | if (loading || disabled) return; 11 | 12 | console.info('[zan:switch:change]', { checked, componentId }); 13 | 14 | if (this.handleZanSwitchChange) { 15 | this.handleZanSwitchChange({ 16 | checked, 17 | componentId 18 | }); 19 | } else { 20 | console.warn('页面缺少 handleZanSwitchChange 回调函数'); 21 | } 22 | } 23 | }; 24 | 25 | module.exports = Switch; 26 | -------------------------------------------------------------------------------- /wechatapp/vendor/ZanUI/switch/index.wxml: -------------------------------------------------------------------------------- 1 | 16 | -------------------------------------------------------------------------------- /wechatapp/vendor/ZanUI/switch/index.wxss: -------------------------------------------------------------------------------- 1 | .zan-switch{position:relative;display:inline-block;width:52px;height:32px;vertical-align:middle;box-sizing:border-box;border-radius:16px;background:#44db5e;border:1px solid #44db5e}.zan-switch__circle{position:absolute;top:0;left:0;width:30px;height:30px;display:inline-block;background:#fff;border-radius:15px;box-sizing:border-box;box-shadow:0 0 0 1px rgba(0,0,0,.1),0 3px 1px 0 rgba(0,0,0,.05),0 2px 2px 0 rgba(0,0,0,.1),0 3px 3px 0 rgba(0,0,0,.05);transition:transform .35s cubic-bezier(.45,1,.4,1);z-index:2}.zan-switch__bg{position:absolute;top:-1px;left:-1px;width:52px;height:32px;background:#fff;border-radius:26px;display:inline-block;border:1px solid #e5e5e5;box-sizing:border-box;transition:transform .35s cubic-bezier(.45,1,.4,1);transform:scale(0);transform-origin:36px 16px}.zan-switch--on .zan-switch__circle{transform:translateX(20px)}.zan-switch--off .zan-switch__bg{transform:scale(1)}.zan-swtich--disabled{opacity:.4}.zan-switch__loading{position:absolute;left:7px;top:7px;width:16px;height:16px;background:url(https://img.yzcdn.cn/public_files/2017/02/24/9acec77d91106cd15b8107c4633d9155.png) no-repeat;background-size:16px 16px;animation:zan-switch-loading .8s infinite linear}@keyframes zan-switch-loading{from{transform:rotate(0)}to{transform:rotate(360deg)}} -------------------------------------------------------------------------------- /wechatapp/vendor/ZanUI/tab/index.js: -------------------------------------------------------------------------------- 1 | const { extractComponentId } = require('../common/helper'); 2 | 3 | var Tab = { 4 | _handleZanTabChange(e) { 5 | const componentId = extractComponentId(e); 6 | const dataset = e.currentTarget.dataset; 7 | const selectedId = dataset.itemId; 8 | const data = { componentId, selectedId }; 9 | 10 | console.info('[zan:tab:change]', data); 11 | if (this.handleZanTabChange) { 12 | this.handleZanTabChange(data); 13 | } else { 14 | console.warn('页面缺少 handleZanTabChange 回调函数'); 15 | } 16 | } 17 | }; 18 | 19 | module.exports = Tab; 20 | -------------------------------------------------------------------------------- /wechatapp/vendor/ZanUI/tab/index.wxml: -------------------------------------------------------------------------------- 1 | 25 | 26 | 38 | -------------------------------------------------------------------------------- /wechatapp/vendor/ZanUI/tab/index.wxss: -------------------------------------------------------------------------------- 1 | .zan-tab{height:45px}.zan-tab__bd{width:750rpx;display:flex;flex-direction:row;border-bottom:1rpx solid #e5e5e5;background:#fff}.zan-tab__bd--fixed{position:fixed;top:0;z-index:2}.zan-tab__item{flex:1;display:inline-block;padding:0 10px;line-height:0;box-sizing:border-box;overflow:hidden;text-align:center}.zan-tab__title{display:inline-block;max-width:100%;height:44px;line-height:44px;overflow:hidden;text-overflow:ellipsis;box-sizing:border-box;word-break:keep-all;font-size:14px;color:#666}.zan-tab__item--selected .zan-tab__title{color:#f44;border-bottom:2px solid #f44}.zan-tab__bd--scroll{display:block;white-space:nowrap}.zan-tab__bd--scroll .zan-tab__item{min-width:80px} -------------------------------------------------------------------------------- /wechatapp/vendor/ZanUI/tag/index.wxss: -------------------------------------------------------------------------------- 1 | .zan-tag{display:inline-block;position:relative;box-sizing:border-box;line-height:16px;padding:0 5px;border-radius:2px;font-size:11px;background:#c9c9c9;text-align:center;color:#fff}.zan-tag::after{content:'';position:absolute;top:0;left:0;width:200%;height:200%;transform:scale(.5);transform-origin:0 0;pointer-events:none;box-sizing:border-box;border:0 solid #e5e5e5;border-width:1px;border-radius:4px}.zan-tag--plain{color:#c9c9c9;background:#fff}.zan-tag--primary{color:#fff;background-color:#4b0}.zan-tag--primary::after{border-color:#4b0}.zan-tag--primary.zan-tag--plain{color:#4b0;background:#fff}.zan-tag--danger{color:#fff;background:#f44}.zan-tag--danger::after{border-color:#f44}.zan-tag--danger.zan-tag--plain{color:#f44;background:#fff}.zan-tag--warn{color:#fff;background:#f85}.zan-tag--warn::after{border-color:#f85}.zan-tag--warn.zan-tag--plain{color:#f85;background:#fff}.zan-tag--disabled{color:#999!important;background:#e5e5e5}.zan-tag--disabled::after{border-color:#ccc} -------------------------------------------------------------------------------- /wechatapp/vendor/ZanUI/toast/index.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | showZanToast(title, timeout) { 3 | var zanToast = this.data.zanToast || {}; 4 | clearTimeout(zanToast.timer); 5 | 6 | // 弹层设置~ 7 | zanToast = { 8 | show: true, 9 | title 10 | }; 11 | this.setData({ 12 | zanToast 13 | }); 14 | 15 | var timer = setTimeout(() => { 16 | this.clearZanToast(); 17 | }, timeout || 3000); 18 | 19 | this.setData({ 20 | 'zanToast.timer': timer 21 | }); 22 | }, 23 | 24 | clearZanToast() { 25 | var zanToast = this.data.zanToast || {}; 26 | clearTimeout(zanToast.timer); 27 | 28 | this.setData({ 29 | 'zanToast.show': false 30 | }); 31 | } 32 | }; 33 | -------------------------------------------------------------------------------- /wechatapp/vendor/ZanUI/toast/index.wxml: -------------------------------------------------------------------------------- 1 | 4 | -------------------------------------------------------------------------------- /wechatapp/vendor/ZanUI/toast/index.wxss: -------------------------------------------------------------------------------- 1 | .zan-toast{position:fixed;top:35%;left:20%;transform:translateZ(0) translateY(-100%);background:rgba(0,0,0,.7);color:#fff;font-size:14px;width:60%;line-height:1.5em;margin:0 auto;box-sizing:border-box;padding:10px;text-align:center;border-radius:4px;z-index:100} -------------------------------------------------------------------------------- /wechatapp/vendor/ZanUI/toptips/index.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | showZanTopTips(content = '', options = {}) { 3 | let zanTopTips = this.data.zanTopTips || {}; 4 | // 如果已经有一个计时器在了,就清理掉先 5 | if (zanTopTips.timer) { 6 | clearTimeout(zanTopTips.timer); 7 | zanTopTips.timer = undefined; 8 | } 9 | 10 | if (typeof options === 'number') { 11 | options = { 12 | duration: options 13 | }; 14 | } 15 | 16 | // options参数默认参数扩展 17 | options = Object.assign({ 18 | duration: 3000 19 | }, options); 20 | 21 | // 设置定时器,定时关闭topTips 22 | let timer = setTimeout(() => { 23 | this.setData({ 24 | 'zanTopTips.show': false, 25 | 'zanTopTips.timer': null 26 | }); 27 | }, options.duration); 28 | 29 | // 展示出topTips 30 | this.setData({ 31 | zanTopTips: { 32 | show: true, 33 | content, 34 | options, 35 | timer 36 | } 37 | }); 38 | } 39 | }; 40 | -------------------------------------------------------------------------------- /wechatapp/vendor/ZanUI/toptips/index.wxml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /wechatapp/vendor/ZanUI/toptips/index.wxss: -------------------------------------------------------------------------------- 1 | .zan-toptips{display:block;position:fixed;-webkit-transform:translateZ(0) translateY(-100%);width:100%;min-height:32px;top:0;line-height:2.3;font-size:14px;text-align:center;color:#fff;background-color:#e64340;z-index:110;transition:all .4s ease}.zan-toptips--show{-webkit-transform:translateZ(0) translateY(0)} -------------------------------------------------------------------------------- /wechatapp/vendor/html2wxml/html2wxml.json: -------------------------------------------------------------------------------- 1 | { 2 | "component": true 3 | } -------------------------------------------------------------------------------- /wechatapp/vendor/html2wxml/images/loading.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qwqoffice/woocommerce-to-wechatapp-mini/78e1bca0f93af4c0d57312104bc6368a521774e4/wechatapp/vendor/html2wxml/images/loading.png --------------------------------------------------------------------------------