├── .gitignore ├── LICENSE ├── README.md ├── app.go ├── build ├── README.md ├── appicon.png ├── darwin │ ├── Info.dev.plist │ └── Info.plist ├── debian │ ├── amd64 │ │ ├── DEBIAN │ │ │ ├── control │ │ │ ├── postinst │ │ │ ├── postrm │ │ │ └── preinst │ │ └── usr │ │ │ └── share │ │ │ ├── applications │ │ │ └── hiposter.desktop │ │ │ └── icons │ │ │ └── hiposter.png │ └── arm64 │ │ ├── DEBIAN │ │ ├── control │ │ ├── postinst │ │ ├── postrm │ │ └── preinst │ │ └── usr │ │ └── share │ │ ├── applications │ │ └── hiposter.desktop │ │ └── icons │ │ └── hiposter.png ├── pack │ ├── pack_cross_darwin_amd64.sh │ ├── pack_cross_darwin_arm64.sh │ ├── pack_cross_debian_amd64.sh │ ├── pack_cross_debian_arm64.sh │ ├── pack_cross_windows10_amd64.sh │ ├── pack_cross_windows10_arm64.sh │ ├── pack_darwin.sh │ └── pack_debian.sh └── windows │ ├── icon.ico │ ├── info.json │ ├── installer │ ├── project.nsi │ └── wails_tools.nsh │ └── wails.exe.manifest ├── docs ├── get.jpg └── hiposter1.jpg ├── frontend ├── .vscode │ └── extensions.json ├── README.md ├── dist │ ├── assets │ │ ├── index.56cc9ed1.css │ │ ├── index.7b5f10c7.js │ │ └── nunito-v16-latin-regular.06f3af3f.woff2 │ └── index.html ├── index.html ├── jsconfig.json ├── package-lock.json ├── package.json ├── package.json.md5 ├── src │ ├── App.svelte │ ├── Head.svelte │ ├── Request.svelte │ ├── Response.svelte │ ├── assets │ │ ├── fonts │ │ │ ├── OFL.txt │ │ │ └── nunito-v16-latin-regular.woff2 │ │ └── images │ │ │ └── logo-universal.png │ ├── components │ │ ├── CodeEditor.svelte │ │ ├── HtmlEditor.svelte │ │ ├── JavaScriptEditor.svelte │ │ ├── JsonEditor.svelte │ │ ├── SplitPane.svelte │ │ └── XmlEditor.svelte │ ├── main.js │ ├── requests │ │ ├── Body.svelte │ │ ├── Headers.svelte │ │ ├── Params.svelte │ │ ├── binaryInput.svelte │ │ ├── otherInput.svelte │ │ └── urlencodedInput.svelte │ ├── responses │ │ ├── bodyOutput.svelte │ │ └── headersOutput.svelte │ ├── style.css │ └── vite-env.d.ts ├── vite.config.js └── wailsjs │ ├── go │ ├── main │ │ ├── App.d.ts │ │ └── App.js │ └── models.ts │ └── runtime │ ├── package.json │ ├── runtime.d.ts │ └── runtime.js ├── go.mod ├── go.sum ├── main.go └── wails.json /.gitignore: -------------------------------------------------------------------------------- 1 | # Binaries for programs and plugins 2 | *.exe 3 | *.exe~ 4 | *.dll 5 | *.so 6 | *.dylib 7 | *.dmg 8 | *.deb 9 | *.md5 10 | 11 | # Test binary, built with `go test -c` 12 | *.test 13 | 14 | # Output of the go coverage tool, specifically when used with LiteIDE 15 | *.out 16 | build/bin 17 | node_modules 18 | frontend/dist% 19 | 20 | # Dependency directories (remove the comment below to include it) 21 | # vendor/ 22 | .DS_Store 23 | build/pack/macos 24 | macos/Applications 25 | build/windows/installer/wails_tools.nsh 26 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | GNU GENERAL PUBLIC LICENSE 2 | Version 3, 29 June 2007 3 | 4 | Copyright (C) 2007 Free Software Foundation, Inc. 5 | Everyone is permitted to copy and distribute verbatim copies 6 | of this license document, but changing it is not allowed. 7 | 8 | Preamble 9 | 10 | The GNU General Public License is a free, copyleft license for 11 | software and other kinds of works. 12 | 13 | The licenses for most software and other practical works are designed 14 | to take away your freedom to share and change the works. By contrast, 15 | the GNU General Public License is intended to guarantee your freedom to 16 | share and change all versions of a program--to make sure it remains free 17 | software for all its users. We, the Free Software Foundation, use the 18 | GNU General Public License for most of our software; it applies also to 19 | any other work released this way by its authors. You can apply it to 20 | your programs, too. 21 | 22 | When we speak of free software, we are referring to freedom, not 23 | price. Our General Public Licenses are designed to make sure that you 24 | have the freedom to distribute copies of free software (and charge for 25 | them if you wish), that you receive source code or can get it if you 26 | want it, that you can change the software or use pieces of it in new 27 | free programs, and that you know you can do these things. 28 | 29 | To protect your rights, we need to prevent others from denying you 30 | these rights or asking you to surrender the rights. Therefore, you have 31 | certain responsibilities if you distribute copies of the software, or if 32 | you modify it: responsibilities to respect the freedom of others. 33 | 34 | For example, if you distribute copies of such a program, whether 35 | gratis or for a fee, you must pass on to the recipients the same 36 | freedoms that you received. You must make sure that they, too, receive 37 | or can get the source code. And you must show them these terms so they 38 | know their rights. 39 | 40 | Developers that use the GNU GPL protect your rights with two steps: 41 | (1) assert copyright on the software, and (2) offer you this License 42 | giving you legal permission to copy, distribute and/or modify it. 43 | 44 | For the developers' and authors' protection, the GPL clearly explains 45 | that there is no warranty for this free software. For both users' and 46 | authors' sake, the GPL requires that modified versions be marked as 47 | changed, so that their problems will not be attributed erroneously to 48 | authors of previous versions. 49 | 50 | Some devices are designed to deny users access to install or run 51 | modified versions of the software inside them, although the manufacturer 52 | can do so. This is fundamentally incompatible with the aim of 53 | protecting users' freedom to change the software. The systematic 54 | pattern of such abuse occurs in the area of products for individuals to 55 | use, which is precisely where it is most unacceptable. Therefore, we 56 | have designed this version of the GPL to prohibit the practice for those 57 | products. If such problems arise substantially in other domains, we 58 | stand ready to extend this provision to those domains in future versions 59 | of the GPL, as needed to protect the freedom of users. 60 | 61 | Finally, every program is threatened constantly by software patents. 62 | States should not allow patents to restrict development and use of 63 | software on general-purpose computers, but in those that do, we wish to 64 | avoid the special danger that patents applied to a free program could 65 | make it effectively proprietary. To prevent this, the GPL assures that 66 | patents cannot be used to render the program non-free. 67 | 68 | The precise terms and conditions for copying, distribution and 69 | modification follow. 70 | 71 | TERMS AND CONDITIONS 72 | 73 | 0. Definitions. 74 | 75 | "This License" refers to version 3 of the GNU General Public License. 76 | 77 | "Copyright" also means copyright-like laws that apply to other kinds of 78 | works, such as semiconductor masks. 79 | 80 | "The Program" refers to any copyrightable work licensed under this 81 | License. Each licensee is addressed as "you". "Licensees" and 82 | "recipients" may be individuals or organizations. 83 | 84 | To "modify" a work means to copy from or adapt all or part of the work 85 | in a fashion requiring copyright permission, other than the making of an 86 | exact copy. The resulting work is called a "modified version" of the 87 | earlier work or a work "based on" the earlier work. 88 | 89 | A "covered work" means either the unmodified Program or a work based 90 | on the Program. 91 | 92 | To "propagate" a work means to do anything with it that, without 93 | permission, would make you directly or secondarily liable for 94 | infringement under applicable copyright law, except executing it on a 95 | computer or modifying a private copy. Propagation includes copying, 96 | distribution (with or without modification), making available to the 97 | public, and in some countries other activities as well. 98 | 99 | To "convey" a work means any kind of propagation that enables other 100 | parties to make or receive copies. Mere interaction with a user through 101 | a computer network, with no transfer of a copy, is not conveying. 102 | 103 | An interactive user interface displays "Appropriate Legal Notices" 104 | to the extent that it includes a convenient and prominently visible 105 | feature that (1) displays an appropriate copyright notice, and (2) 106 | tells the user that there is no warranty for the work (except to the 107 | extent that warranties are provided), that licensees may convey the 108 | work under this License, and how to view a copy of this License. If 109 | the interface presents a list of user commands or options, such as a 110 | menu, a prominent item in the list meets this criterion. 111 | 112 | 1. Source Code. 113 | 114 | The "source code" for a work means the preferred form of the work 115 | for making modifications to it. "Object code" means any non-source 116 | form of a work. 117 | 118 | A "Standard Interface" means an interface that either is an official 119 | standard defined by a recognized standards body, or, in the case of 120 | interfaces specified for a particular programming language, one that 121 | is widely used among developers working in that language. 122 | 123 | The "System Libraries" of an executable work include anything, other 124 | than the work as a whole, that (a) is included in the normal form of 125 | packaging a Major Component, but which is not part of that Major 126 | Component, and (b) serves only to enable use of the work with that 127 | Major Component, or to implement a Standard Interface for which an 128 | implementation is available to the public in source code form. A 129 | "Major Component", in this context, means a major essential component 130 | (kernel, window system, and so on) of the specific operating system 131 | (if any) on which the executable work runs, or a compiler used to 132 | produce the work, or an object code interpreter used to run it. 133 | 134 | The "Corresponding Source" for a work in object code form means all 135 | the source code needed to generate, install, and (for an executable 136 | work) run the object code and to modify the work, including scripts to 137 | control those activities. However, it does not include the work's 138 | System Libraries, or general-purpose tools or generally available free 139 | programs which are used unmodified in performing those activities but 140 | which are not part of the work. For example, Corresponding Source 141 | includes interface definition files associated with source files for 142 | the work, and the source code for shared libraries and dynamically 143 | linked subprograms that the work is specifically designed to require, 144 | such as by intimate data communication or control flow between those 145 | subprograms and other parts of the work. 146 | 147 | The Corresponding Source need not include anything that users 148 | can regenerate automatically from other parts of the Corresponding 149 | Source. 150 | 151 | The Corresponding Source for a work in source code form is that 152 | same work. 153 | 154 | 2. Basic Permissions. 155 | 156 | All rights granted under this License are granted for the term of 157 | copyright on the Program, and are irrevocable provided the stated 158 | conditions are met. This License explicitly affirms your unlimited 159 | permission to run the unmodified Program. The output from running a 160 | covered work is covered by this License only if the output, given its 161 | content, constitutes a covered work. This License acknowledges your 162 | rights of fair use or other equivalent, as provided by copyright law. 163 | 164 | You may make, run and propagate covered works that you do not 165 | convey, without conditions so long as your license otherwise remains 166 | in force. You may convey covered works to others for the sole purpose 167 | of having them make modifications exclusively for you, or provide you 168 | with facilities for running those works, provided that you comply with 169 | the terms of this License in conveying all material for which you do 170 | not control copyright. Those thus making or running the covered works 171 | for you must do so exclusively on your behalf, under your direction 172 | and control, on terms that prohibit them from making any copies of 173 | your copyrighted material outside their relationship with you. 174 | 175 | Conveying under any other circumstances is permitted solely under 176 | the conditions stated below. Sublicensing is not allowed; section 10 177 | makes it unnecessary. 178 | 179 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 180 | 181 | No covered work shall be deemed part of an effective technological 182 | measure under any applicable law fulfilling obligations under article 183 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or 184 | similar laws prohibiting or restricting circumvention of such 185 | measures. 186 | 187 | When you convey a covered work, you waive any legal power to forbid 188 | circumvention of technological measures to the extent such circumvention 189 | is effected by exercising rights under this License with respect to 190 | the covered work, and you disclaim any intention to limit operation or 191 | modification of the work as a means of enforcing, against the work's 192 | users, your or third parties' legal rights to forbid circumvention of 193 | technological measures. 194 | 195 | 4. Conveying Verbatim Copies. 196 | 197 | You may convey verbatim copies of the Program's source code as you 198 | receive it, in any medium, provided that you conspicuously and 199 | appropriately publish on each copy an appropriate copyright notice; 200 | keep intact all notices stating that this License and any 201 | non-permissive terms added in accord with section 7 apply to the code; 202 | keep intact all notices of the absence of any warranty; and give all 203 | recipients a copy of this License along with the Program. 204 | 205 | You may charge any price or no price for each copy that you convey, 206 | and you may offer support or warranty protection for a fee. 207 | 208 | 5. Conveying Modified Source Versions. 209 | 210 | You may convey a work based on the Program, or the modifications to 211 | produce it from the Program, in the form of source code under the 212 | terms of section 4, provided that you also meet all of these conditions: 213 | 214 | a) The work must carry prominent notices stating that you modified 215 | it, and giving a relevant date. 216 | 217 | b) The work must carry prominent notices stating that it is 218 | released under this License and any conditions added under section 219 | 7. This requirement modifies the requirement in section 4 to 220 | "keep intact all notices". 221 | 222 | c) You must license the entire work, as a whole, under this 223 | License to anyone who comes into possession of a copy. This 224 | License will therefore apply, along with any applicable section 7 225 | additional terms, to the whole of the work, and all its parts, 226 | regardless of how they are packaged. This License gives no 227 | permission to license the work in any other way, but it does not 228 | invalidate such permission if you have separately received it. 229 | 230 | d) If the work has interactive user interfaces, each must display 231 | Appropriate Legal Notices; however, if the Program has interactive 232 | interfaces that do not display Appropriate Legal Notices, your 233 | work need not make them do so. 234 | 235 | A compilation of a covered work with other separate and independent 236 | works, which are not by their nature extensions of the covered work, 237 | and which are not combined with it such as to form a larger program, 238 | in or on a volume of a storage or distribution medium, is called an 239 | "aggregate" if the compilation and its resulting copyright are not 240 | used to limit the access or legal rights of the compilation's users 241 | beyond what the individual works permit. Inclusion of a covered work 242 | in an aggregate does not cause this License to apply to the other 243 | parts of the aggregate. 244 | 245 | 6. Conveying Non-Source Forms. 246 | 247 | You may convey a covered work in object code form under the terms 248 | of sections 4 and 5, provided that you also convey the 249 | machine-readable Corresponding Source under the terms of this License, 250 | in one of these ways: 251 | 252 | a) Convey the object code in, or embodied in, a physical product 253 | (including a physical distribution medium), accompanied by the 254 | Corresponding Source fixed on a durable physical medium 255 | customarily used for software interchange. 256 | 257 | b) Convey the object code in, or embodied in, a physical product 258 | (including a physical distribution medium), accompanied by a 259 | written offer, valid for at least three years and valid for as 260 | long as you offer spare parts or customer support for that product 261 | model, to give anyone who possesses the object code either (1) a 262 | copy of the Corresponding Source for all the software in the 263 | product that is covered by this License, on a durable physical 264 | medium customarily used for software interchange, for a price no 265 | more than your reasonable cost of physically performing this 266 | conveying of source, or (2) access to copy the 267 | Corresponding Source from a network server at no charge. 268 | 269 | c) Convey individual copies of the object code with a copy of the 270 | written offer to provide the Corresponding Source. This 271 | alternative is allowed only occasionally and noncommercially, and 272 | only if you received the object code with such an offer, in accord 273 | with subsection 6b. 274 | 275 | d) Convey the object code by offering access from a designated 276 | place (gratis or for a charge), and offer equivalent access to the 277 | Corresponding Source in the same way through the same place at no 278 | further charge. You need not require recipients to copy the 279 | Corresponding Source along with the object code. If the place to 280 | copy the object code is a network server, the Corresponding Source 281 | may be on a different server (operated by you or a third party) 282 | that supports equivalent copying facilities, provided you maintain 283 | clear directions next to the object code saying where to find the 284 | Corresponding Source. Regardless of what server hosts the 285 | Corresponding Source, you remain obligated to ensure that it is 286 | available for as long as needed to satisfy these requirements. 287 | 288 | e) Convey the object code using peer-to-peer transmission, provided 289 | you inform other peers where the object code and Corresponding 290 | Source of the work are being offered to the general public at no 291 | charge under subsection 6d. 292 | 293 | A separable portion of the object code, whose source code is excluded 294 | from the Corresponding Source as a System Library, need not be 295 | included in conveying the object code work. 296 | 297 | A "User Product" is either (1) a "consumer product", which means any 298 | tangible personal property which is normally used for personal, family, 299 | or household purposes, or (2) anything designed or sold for incorporation 300 | into a dwelling. In determining whether a product is a consumer product, 301 | doubtful cases shall be resolved in favor of coverage. For a particular 302 | product received by a particular user, "normally used" refers to a 303 | typical or common use of that class of product, regardless of the status 304 | of the particular user or of the way in which the particular user 305 | actually uses, or expects or is expected to use, the product. A product 306 | is a consumer product regardless of whether the product has substantial 307 | commercial, industrial or non-consumer uses, unless such uses represent 308 | the only significant mode of use of the product. 309 | 310 | "Installation Information" for a User Product means any methods, 311 | procedures, authorization keys, or other information required to install 312 | and execute modified versions of a covered work in that User Product from 313 | a modified version of its Corresponding Source. The information must 314 | suffice to ensure that the continued functioning of the modified object 315 | code is in no case prevented or interfered with solely because 316 | modification has been made. 317 | 318 | If you convey an object code work under this section in, or with, or 319 | specifically for use in, a User Product, and the conveying occurs as 320 | part of a transaction in which the right of possession and use of the 321 | User Product is transferred to the recipient in perpetuity or for a 322 | fixed term (regardless of how the transaction is characterized), the 323 | Corresponding Source conveyed under this section must be accompanied 324 | by the Installation Information. But this requirement does not apply 325 | if neither you nor any third party retains the ability to install 326 | modified object code on the User Product (for example, the work has 327 | been installed in ROM). 328 | 329 | The requirement to provide Installation Information does not include a 330 | requirement to continue to provide support service, warranty, or updates 331 | for a work that has been modified or installed by the recipient, or for 332 | the User Product in which it has been modified or installed. Access to a 333 | network may be denied when the modification itself materially and 334 | adversely affects the operation of the network or violates the rules and 335 | protocols for communication across the network. 336 | 337 | Corresponding Source conveyed, and Installation Information provided, 338 | in accord with this section must be in a format that is publicly 339 | documented (and with an implementation available to the public in 340 | source code form), and must require no special password or key for 341 | unpacking, reading or copying. 342 | 343 | 7. Additional Terms. 344 | 345 | "Additional permissions" are terms that supplement the terms of this 346 | License by making exceptions from one or more of its conditions. 347 | Additional permissions that are applicable to the entire Program shall 348 | be treated as though they were included in this License, to the extent 349 | that they are valid under applicable law. If additional permissions 350 | apply only to part of the Program, that part may be used separately 351 | under those permissions, but the entire Program remains governed by 352 | this License without regard to the additional permissions. 353 | 354 | When you convey a copy of a covered work, you may at your option 355 | remove any additional permissions from that copy, or from any part of 356 | it. (Additional permissions may be written to require their own 357 | removal in certain cases when you modify the work.) You may place 358 | additional permissions on material, added by you to a covered work, 359 | for which you have or can give appropriate copyright permission. 360 | 361 | Notwithstanding any other provision of this License, for material you 362 | add to a covered work, you may (if authorized by the copyright holders of 363 | that material) supplement the terms of this License with terms: 364 | 365 | a) Disclaiming warranty or limiting liability differently from the 366 | terms of sections 15 and 16 of this License; or 367 | 368 | b) Requiring preservation of specified reasonable legal notices or 369 | author attributions in that material or in the Appropriate Legal 370 | Notices displayed by works containing it; or 371 | 372 | c) Prohibiting misrepresentation of the origin of that material, or 373 | requiring that modified versions of such material be marked in 374 | reasonable ways as different from the original version; or 375 | 376 | d) Limiting the use for publicity purposes of names of licensors or 377 | authors of the material; or 378 | 379 | e) Declining to grant rights under trademark law for use of some 380 | trade names, trademarks, or service marks; or 381 | 382 | f) Requiring indemnification of licensors and authors of that 383 | material by anyone who conveys the material (or modified versions of 384 | it) with contractual assumptions of liability to the recipient, for 385 | any liability that these contractual assumptions directly impose on 386 | those licensors and authors. 387 | 388 | All other non-permissive additional terms are considered "further 389 | restrictions" within the meaning of section 10. If the Program as you 390 | received it, or any part of it, contains a notice stating that it is 391 | governed by this License along with a term that is a further 392 | restriction, you may remove that term. If a license document contains 393 | a further restriction but permits relicensing or conveying under this 394 | License, you may add to a covered work material governed by the terms 395 | of that license document, provided that the further restriction does 396 | not survive such relicensing or conveying. 397 | 398 | If you add terms to a covered work in accord with this section, you 399 | must place, in the relevant source files, a statement of the 400 | additional terms that apply to those files, or a notice indicating 401 | where to find the applicable terms. 402 | 403 | Additional terms, permissive or non-permissive, may be stated in the 404 | form of a separately written license, or stated as exceptions; 405 | the above requirements apply either way. 406 | 407 | 8. Termination. 408 | 409 | You may not propagate or modify a covered work except as expressly 410 | provided under this License. Any attempt otherwise to propagate or 411 | modify it is void, and will automatically terminate your rights under 412 | this License (including any patent licenses granted under the third 413 | paragraph of section 11). 414 | 415 | However, if you cease all violation of this License, then your 416 | license from a particular copyright holder is reinstated (a) 417 | provisionally, unless and until the copyright holder explicitly and 418 | finally terminates your license, and (b) permanently, if the copyright 419 | holder fails to notify you of the violation by some reasonable means 420 | prior to 60 days after the cessation. 421 | 422 | Moreover, your license from a particular copyright holder is 423 | reinstated permanently if the copyright holder notifies you of the 424 | violation by some reasonable means, this is the first time you have 425 | received notice of violation of this License (for any work) from that 426 | copyright holder, and you cure the violation prior to 30 days after 427 | your receipt of the notice. 428 | 429 | Termination of your rights under this section does not terminate the 430 | licenses of parties who have received copies or rights from you under 431 | this License. If your rights have been terminated and not permanently 432 | reinstated, you do not qualify to receive new licenses for the same 433 | material under section 10. 434 | 435 | 9. Acceptance Not Required for Having Copies. 436 | 437 | You are not required to accept this License in order to receive or 438 | run a copy of the Program. Ancillary propagation of a covered work 439 | occurring solely as a consequence of using peer-to-peer transmission 440 | to receive a copy likewise does not require acceptance. However, 441 | nothing other than this License grants you permission to propagate or 442 | modify any covered work. These actions infringe copyright if you do 443 | not accept this License. Therefore, by modifying or propagating a 444 | covered work, you indicate your acceptance of this License to do so. 445 | 446 | 10. Automatic Licensing of Downstream Recipients. 447 | 448 | Each time you convey a covered work, the recipient automatically 449 | receives a license from the original licensors, to run, modify and 450 | propagate that work, subject to this License. You are not responsible 451 | for enforcing compliance by third parties with this License. 452 | 453 | An "entity transaction" is a transaction transferring control of an 454 | organization, or substantially all assets of one, or subdividing an 455 | organization, or merging organizations. If propagation of a covered 456 | work results from an entity transaction, each party to that 457 | transaction who receives a copy of the work also receives whatever 458 | licenses to the work the party's predecessor in interest had or could 459 | give under the previous paragraph, plus a right to possession of the 460 | Corresponding Source of the work from the predecessor in interest, if 461 | the predecessor has it or can get it with reasonable efforts. 462 | 463 | You may not impose any further restrictions on the exercise of the 464 | rights granted or affirmed under this License. For example, you may 465 | not impose a license fee, royalty, or other charge for exercise of 466 | rights granted under this License, and you may not initiate litigation 467 | (including a cross-claim or counterclaim in a lawsuit) alleging that 468 | any patent claim is infringed by making, using, selling, offering for 469 | sale, or importing the Program or any portion of it. 470 | 471 | 11. Patents. 472 | 473 | A "contributor" is a copyright holder who authorizes use under this 474 | License of the Program or a work on which the Program is based. The 475 | work thus licensed is called the contributor's "contributor version". 476 | 477 | A contributor's "essential patent claims" are all patent claims 478 | owned or controlled by the contributor, whether already acquired or 479 | hereafter acquired, that would be infringed by some manner, permitted 480 | by this License, of making, using, or selling its contributor version, 481 | but do not include claims that would be infringed only as a 482 | consequence of further modification of the contributor version. For 483 | purposes of this definition, "control" includes the right to grant 484 | patent sublicenses in a manner consistent with the requirements of 485 | this License. 486 | 487 | Each contributor grants you a non-exclusive, worldwide, royalty-free 488 | patent license under the contributor's essential patent claims, to 489 | make, use, sell, offer for sale, import and otherwise run, modify and 490 | propagate the contents of its contributor version. 491 | 492 | In the following three paragraphs, a "patent license" is any express 493 | agreement or commitment, however denominated, not to enforce a patent 494 | (such as an express permission to practice a patent or covenant not to 495 | sue for patent infringement). To "grant" such a patent license to a 496 | party means to make such an agreement or commitment not to enforce a 497 | patent against the party. 498 | 499 | If you convey a covered work, knowingly relying on a patent license, 500 | and the Corresponding Source of the work is not available for anyone 501 | to copy, free of charge and under the terms of this License, through a 502 | publicly available network server or other readily accessible means, 503 | then you must either (1) cause the Corresponding Source to be so 504 | available, or (2) arrange to deprive yourself of the benefit of the 505 | patent license for this particular work, or (3) arrange, in a manner 506 | consistent with the requirements of this License, to extend the patent 507 | license to downstream recipients. "Knowingly relying" means you have 508 | actual knowledge that, but for the patent license, your conveying the 509 | covered work in a country, or your recipient's use of the covered work 510 | in a country, would infringe one or more identifiable patents in that 511 | country that you have reason to believe are valid. 512 | 513 | If, pursuant to or in connection with a single transaction or 514 | arrangement, you convey, or propagate by procuring conveyance of, a 515 | covered work, and grant a patent license to some of the parties 516 | receiving the covered work authorizing them to use, propagate, modify 517 | or convey a specific copy of the covered work, then the patent license 518 | you grant is automatically extended to all recipients of the covered 519 | work and works based on it. 520 | 521 | A patent license is "discriminatory" if it does not include within 522 | the scope of its coverage, prohibits the exercise of, or is 523 | conditioned on the non-exercise of one or more of the rights that are 524 | specifically granted under this License. You may not convey a covered 525 | work if you are a party to an arrangement with a third party that is 526 | in the business of distributing software, under which you make payment 527 | to the third party based on the extent of your activity of conveying 528 | the work, and under which the third party grants, to any of the 529 | parties who would receive the covered work from you, a discriminatory 530 | patent license (a) in connection with copies of the covered work 531 | conveyed by you (or copies made from those copies), or (b) primarily 532 | for and in connection with specific products or compilations that 533 | contain the covered work, unless you entered into that arrangement, 534 | or that patent license was granted, prior to 28 March 2007. 535 | 536 | Nothing in this License shall be construed as excluding or limiting 537 | any implied license or other defenses to infringement that may 538 | otherwise be available to you under applicable patent law. 539 | 540 | 12. No Surrender of Others' Freedom. 541 | 542 | If conditions are imposed on you (whether by court order, agreement or 543 | otherwise) that contradict the conditions of this License, they do not 544 | excuse you from the conditions of this License. If you cannot convey a 545 | covered work so as to satisfy simultaneously your obligations under this 546 | License and any other pertinent obligations, then as a consequence you may 547 | not convey it at all. For example, if you agree to terms that obligate you 548 | to collect a royalty for further conveying from those to whom you convey 549 | the Program, the only way you could satisfy both those terms and this 550 | License would be to refrain entirely from conveying the Program. 551 | 552 | 13. Use with the GNU Affero General Public License. 553 | 554 | Notwithstanding any other provision of this License, you have 555 | permission to link or combine any covered work with a work licensed 556 | under version 3 of the GNU Affero General Public License into a single 557 | combined work, and to convey the resulting work. The terms of this 558 | License will continue to apply to the part which is the covered work, 559 | but the special requirements of the GNU Affero General Public License, 560 | section 13, concerning interaction through a network will apply to the 561 | combination as such. 562 | 563 | 14. Revised Versions of this License. 564 | 565 | The Free Software Foundation may publish revised and/or new versions of 566 | the GNU General Public License from time to time. Such new versions will 567 | be similar in spirit to the present version, but may differ in detail to 568 | address new problems or concerns. 569 | 570 | Each version is given a distinguishing version number. If the 571 | Program specifies that a certain numbered version of the GNU General 572 | Public License "or any later version" applies to it, you have the 573 | option of following the terms and conditions either of that numbered 574 | version or of any later version published by the Free Software 575 | Foundation. If the Program does not specify a version number of the 576 | GNU General Public License, you may choose any version ever published 577 | by the Free Software Foundation. 578 | 579 | If the Program specifies that a proxy can decide which future 580 | versions of the GNU General Public License can be used, that proxy's 581 | public statement of acceptance of a version permanently authorizes you 582 | to choose that version for the Program. 583 | 584 | Later license versions may give you additional or different 585 | permissions. However, no additional obligations are imposed on any 586 | author or copyright holder as a result of your choosing to follow a 587 | later version. 588 | 589 | 15. Disclaimer of Warranty. 590 | 591 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 592 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 593 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 594 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 595 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 596 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 597 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 598 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 599 | 600 | 16. Limitation of Liability. 601 | 602 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 603 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 604 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 605 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 606 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 607 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 608 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 609 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 610 | SUCH DAMAGES. 611 | 612 | 17. Interpretation of Sections 15 and 16. 613 | 614 | If the disclaimer of warranty and limitation of liability provided 615 | above cannot be given local legal effect according to their terms, 616 | reviewing courts shall apply local law that most closely approximates 617 | an absolute waiver of all civil liability in connection with the 618 | Program, unless a warranty or assumption of liability accompanies a 619 | copy of the Program in return for a fee. 620 | 621 | END OF TERMS AND CONDITIONS 622 | 623 | How to Apply These Terms to Your New Programs 624 | 625 | If you develop a new program, and you want it to be of the greatest 626 | possible use to the public, the best way to achieve this is to make it 627 | free software which everyone can redistribute and change under these terms. 628 | 629 | To do so, attach the following notices to the program. It is safest 630 | to attach them to the start of each source file to most effectively 631 | state the exclusion of warranty; and each file should have at least 632 | the "copyright" line and a pointer to where the full notice is found. 633 | 634 | 635 | Copyright (C) 636 | 637 | This program is free software: you can redistribute it and/or modify 638 | it under the terms of the GNU General Public License as published by 639 | the Free Software Foundation, either version 3 of the License, or 640 | (at your option) any later version. 641 | 642 | This program is distributed in the hope that it will be useful, 643 | but WITHOUT ANY WARRANTY; without even the implied warranty of 644 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 645 | GNU General Public License for more details. 646 | 647 | You should have received a copy of the GNU General Public License 648 | along with this program. If not, see . 649 | 650 | Also add information on how to contact you by electronic and paper mail. 651 | 652 | If the program does terminal interaction, make it output a short 653 | notice like this when it starts in an interactive mode: 654 | 655 | Copyright (C) 656 | This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 657 | This is free software, and you are welcome to redistribute it 658 | under certain conditions; type `show c' for details. 659 | 660 | The hypothetical commands `show w' and `show c' should show the appropriate 661 | parts of the General Public License. Of course, your program's commands 662 | might be different; for a GUI interface, you would use an "about box". 663 | 664 | You should also get your employer (if you work as a programmer) or school, 665 | if any, to sign a "copyright disclaimer" for the program, if necessary. 666 | For more information on this, and how to apply and follow the GNU GPL, see 667 | . 668 | 669 | The GNU General Public License does not permit incorporating your program 670 | into proprietary programs. If your program is a subroutine library, you 671 | may consider it more useful to permit linking proprietary applications with 672 | the library. If this is what you want to do, use the GNU Lesser General 673 | Public License instead of this License. But first, please read 674 | . 675 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # HiPoster 2 | 3 | 4 | [![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/obity/hiposter?color=peru)](https://github.com/obity/hiposter/releases/latest) 5 | [![Lines of code](https://img.shields.io/tokei/lines/github/obity/hiposter.svg?color=beige)](#) 6 | [![Downloads of releases](https://img.shields.io/github/downloads/obity/hiposter/total.svg?color=lavender)](https://github.com/obity/hiposter/releases/latest) 7 | [![GPL3 licensed](https://img.shields.io/github/license/obity/hiposter.svg)](./LICENSE) 8 | 9 | 10 | 11 | 12 | HiPoster is a simple and efficient http API testing client tool. Based on Wails, Go and sveltejs. 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | HiPoster 21 | 22 | 23 | ## Live Development 24 | 25 | 26 | To run in live development mode, run `wails dev` in the project directory. This will run a Vite development 27 | server that will provide very fast hot reload of your frontend changes. If you want to develop in a browser 28 | and have access to your Go methods, there is also a dev server that runs on http://localhost:34115. Connect 29 | to this in your browser, and you can call your Go code from devtools. 30 | 31 | ## Building 32 | 33 | To build a redistributable, production mode package, use `wails build`. 34 | 35 | ```shell 36 | # Building target: darwin/arm64 37 | 38 | • Generating bindings: Done. 39 | • Installing frontend dependencies: Done. 40 | • Compiling frontend: Done. 41 | • Compiling application: Done. 42 | • Packaging application: Done. 43 | Built '/Users/lsmiao/workspace/src/github.com/obity/hiposter/build/bin/hiposter.app/Contents/MacOS/hiposter' in 6.339s. 44 | ``` 45 | 46 | # FAQ 47 | 48 | 1. macOS系统限制,提示”提示文件已损坏”,处理方法。 49 | 50 | sudo xattr -d com.apple.quarantine /Applications/xxxx.app,注意:/Applications/xxxx.app 换成你的App路径。指定放行,删除com.apple.quarantine元数据文件,使您可以执行可执行文件。 51 | 52 | 2. Install on Debian/Ubuntu x86_64 53 | 54 | ``` 55 | dpkg -i ./hiposter_linux_amd64_v0.0.8.deb 56 | ``` 57 | or 58 | ``` 59 | apt install ./hiposter_linux_amd64_v0.0.8.deb 60 | ``` 61 | 62 | 3. Install on Debian/Ubuntu ARM64 63 | 64 | ``` 65 | dpkg -i ./hiposter_linux_arm64_v0.0.8.deb 66 | ``` 67 | or 68 | ``` 69 | apt install ./hiposter_linux_arm64_v0.0.8.deb 70 | ``` 71 | 72 | # Screen 73 | 74 | ![](docs/get.jpg) -------------------------------------------------------------------------------- /app.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "bytes" 5 | "context" 6 | "fmt" 7 | "io" 8 | "net/http" 9 | "strings" 10 | ) 11 | 12 | // App struct 13 | type App struct { 14 | ctx context.Context 15 | } 16 | 17 | // NewApp creates a new App application struct 18 | func NewApp() *App { 19 | return &App{} 20 | } 21 | 22 | // startup is called when the app starts. The context is saved 23 | // so we can call the runtime methods 24 | func (a *App) startup(ctx context.Context) { 25 | a.ctx = ctx 26 | 27 | } 28 | 29 | type Result struct { 30 | StatusCode int `json:"statusCode"` 31 | HttpStatus string `json:"httpStatus"` 32 | BodyContent string `json:"bodyContent"` 33 | ErrorContent string `json:"errorContent"` 34 | ContentType string `json:"contentType"` 35 | Headers []Header `json:"headers"` 36 | } 37 | type Header struct { 38 | Key string `json:"key"` 39 | Value string `json:"value"` 40 | } 41 | 42 | func (a *App) Run(method string, url string, body string, contentType string, headers []Header) (Result, error) { 43 | var err error 44 | var result Result 45 | req, err := http.NewRequest(method, url, bytes.NewReader([]byte(body))) 46 | if err != nil { 47 | return result, fmt.Errorf("NewRequest failed: %v", err) 48 | } 49 | req.Header.Set("Content-Type", contentType) 50 | req.Header.Set("User-Agent", "hiposter/0.0.9") 51 | req.Header.Set("Accept", "*/*") 52 | req.Header.Set("Connection", "keep-alive") 53 | for _, h := range headers { 54 | if strings.TrimSpace(h.Key) != "" { 55 | req.Header.Set(h.Key, h.Value) 56 | } 57 | } 58 | cli := http.Client{} 59 | response, err := cli.Do(req) 60 | if err != nil { 61 | return result, fmt.Errorf("hiposter: %v", err) 62 | } 63 | defer response.Body.Close() 64 | 65 | result.StatusCode = response.StatusCode 66 | result.HttpStatus = response.Status 67 | result.ContentType = response.Header.Get("Content-Type") 68 | result.Headers = parseResponseHeaders(&response.Header) 69 | buf, err := io.ReadAll(response.Body) 70 | if err != nil { 71 | return result, fmt.Errorf("read body error: %v", err) 72 | } 73 | result.BodyContent = string(buf) 74 | return result, nil 75 | 76 | } 77 | 78 | func parseResponseHeaders(data *http.Header) []Header { 79 | var result []Header 80 | for k, v := range *data { 81 | h := Header{} 82 | h.Key = k 83 | h.Value = strings.Join(v, "") 84 | result = append(result, h) 85 | } 86 | return result 87 | 88 | } 89 | -------------------------------------------------------------------------------- /build/README.md: -------------------------------------------------------------------------------- 1 | # Build Directory 2 | 3 | The build directory is used to house all the build files and assets for your application. 4 | 5 | The structure is: 6 | 7 | * bin - Output directory 8 | * darwin - macOS specific files 9 | * windows - Windows specific files 10 | 11 | ## Mac 12 | 13 | The `darwin` directory holds files specific to Mac builds. 14 | These may be customised and used as part of the build. To return these files to the default state, simply delete them 15 | and 16 | build with `wails build`. 17 | 18 | The directory contains the following files: 19 | 20 | - `Info.plist` - the main plist file used for Mac builds. It is used when building using `wails build`. 21 | - `Info.dev.plist` - same as the main plist file but used when building using `wails dev`. 22 | 23 | ## Windows 24 | 25 | The `windows` directory contains the manifest and rc files used when building with `wails build`. 26 | These may be customised for your application. To return these files to the default state, simply delete them and 27 | build with `wails build`. 28 | 29 | - `icon.ico` - The icon used for the application. This is used when building using `wails build`. If you wish to 30 | use a different icon, simply replace this file with your own. If it is missing, a new `icon.ico` file 31 | will be created using the `appicon.png` file in the build directory. 32 | - `installer/*` - The files used to create the Windows installer. These are used when building using `wails build`. 33 | - `info.json` - Application details used for Windows builds. The data here will be used by the Windows installer, 34 | as well as the application itself (right click the exe -> properties -> details) 35 | - `wails.exe.manifest` - The main application manifest file. -------------------------------------------------------------------------------- /build/appicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/obity/hiposter/13a750436fdfc774c2c3a824512d9ce6e5702d8e/build/appicon.png -------------------------------------------------------------------------------- /build/darwin/Info.dev.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | CFBundlePackageType 5 | APPL 6 | CFBundleName 7 | {{.Info.ProductName}} 8 | CFBundleExecutable 9 | {{.Name}} 10 | CFBundleIdentifier 11 | com.wails.{{.Name}} 12 | CFBundleVersion 13 | {{.Info.ProductVersion}} 14 | CFBundleGetInfoString 15 | {{.Info.Comments}} 16 | CFBundleShortVersionString 17 | {{.Info.ProductVersion}} 18 | CFBundleIconFile 19 | iconfile 20 | LSMinimumSystemVersion 21 | 10.13.0 22 | NSHighResolutionCapable 23 | true 24 | NSHumanReadableCopyright 25 | {{.Info.Copyright}} 26 | NSAppTransportSecurity 27 | 28 | NSAllowsLocalNetworking 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /build/darwin/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | CFBundlePackageType 5 | APPL 6 | CFBundleName 7 | {{.Info.ProductName}} 8 | CFBundleExecutable 9 | {{.Name}} 10 | CFBundleIdentifier 11 | com.wails.{{.Name}} 12 | CFBundleVersion 13 | {{.Info.ProductVersion}} 14 | CFBundleGetInfoString 15 | {{.Info.Comments}} 16 | CFBundleShortVersionString 17 | {{.Info.ProductVersion}} 18 | CFBundleIconFile 19 | iconfile 20 | LSMinimumSystemVersion 21 | 10.13.0 22 | NSHighResolutionCapable 23 | true 24 | NSHumanReadableCopyright 25 | {{.Info.Copyright}} 26 | 27 | -------------------------------------------------------------------------------- /build/debian/amd64/DEBIAN/control: -------------------------------------------------------------------------------- 1 | Package: hiposter 2 | Version: 0.0.9 3 | License: GPL-3.0 4 | Vendor: wander 5 | Architecture: amd64 6 | Maintainer: wander 7 | Installed-Size: 8328 8 | Pre-Depends: 9 | Depends: libwebkit2gtk-4.0-37 10 | Section: default 11 | Priority: extra 12 | Homepage: https://github.com/obity/hiposter 13 | Description: 14 | hiposter is a simple and efficient http API testing client tool. Based on Wails, Go and sveltejs. 15 | -------------------------------------------------------------------------------- /build/debian/amd64/DEBIAN/postinst: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Link to the binary 4 | -------------------------------------------------------------------------------- /build/debian/amd64/DEBIAN/postrm: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Delete the link to the binary 4 | -------------------------------------------------------------------------------- /build/debian/amd64/DEBIAN/preinst: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | -------------------------------------------------------------------------------- /build/debian/amd64/usr/share/applications/hiposter.desktop: -------------------------------------------------------------------------------- 1 | [Desktop Entry] 2 | Name=hiposter 3 | Exec="/usr/bin/hiposter" %U 4 | Terminal=false 5 | Type=Application 6 | Icon=/usr/share/icons/hiposter.png 7 | StartupWMClass=hiposter 8 | Comment= hiposter is a simple and efficient http API testing client tool. Based on Wails, Go and sveltejs. 9 | Categories=Application;Development;Network 10 | -------------------------------------------------------------------------------- /build/debian/amd64/usr/share/icons/hiposter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/obity/hiposter/13a750436fdfc774c2c3a824512d9ce6e5702d8e/build/debian/amd64/usr/share/icons/hiposter.png -------------------------------------------------------------------------------- /build/debian/arm64/DEBIAN/control: -------------------------------------------------------------------------------- 1 | Package: hiposter 2 | Version: 0.0.9 3 | License: GPL-3.0 4 | Vendor: wander 5 | Architecture: arm64 6 | Maintainer: wander 7 | Installed-Size: 8328 8 | Pre-Depends: 9 | Depends: libwebkit2gtk-4.0-37 10 | Section: default 11 | Priority: extra 12 | Homepage: https://github.com/obity/hiposter 13 | Description: 14 | hiposter is a simple and efficient http API testing client tool. Based on Wails, Go and sveltejs. 15 | -------------------------------------------------------------------------------- /build/debian/arm64/DEBIAN/postinst: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Link to the binary 4 | -------------------------------------------------------------------------------- /build/debian/arm64/DEBIAN/postrm: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Delete the link to the binary 4 | -------------------------------------------------------------------------------- /build/debian/arm64/DEBIAN/preinst: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | -------------------------------------------------------------------------------- /build/debian/arm64/usr/share/applications/hiposter.desktop: -------------------------------------------------------------------------------- 1 | [Desktop Entry] 2 | Name=hiposter 3 | Exec="/usr/bin/hiposter" %U 4 | Terminal=false 5 | Type=Application 6 | Icon=/usr/share/icons/hiposter.png 7 | StartupWMClass=hiposter 8 | Comment= hiposter is a simple and efficient http API testing client tool. Based on Wails, Go and sveltejs. 9 | Categories=Application;Development;Network 10 | -------------------------------------------------------------------------------- /build/debian/arm64/usr/share/icons/hiposter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/obity/hiposter/13a750436fdfc774c2c3a824512d9ce6e5702d8e/build/debian/arm64/usr/share/icons/hiposter.png -------------------------------------------------------------------------------- /build/pack/pack_cross_darwin_amd64.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | help() 3 | { 4 | echo "Help:" 5 | echo "pack_xxxx.sh v0.0.x -- must have version!" 6 | } 7 | if [ "$1" = "" ] 8 | then 9 | help 10 | else 11 | cd ../../ 12 | echo "cd $PWD" 13 | wails build -clean -platform darwin/amd64 14 | 15 | cd build/pack/ 16 | TempDir="macos" 17 | AppName="hiposter" 18 | Version=$1 19 | Machine="amd64" 20 | OutFile=${AppName}_macos_${Machine}_${Version}.dmg 21 | rm -rf $TempDir 22 | mkdir $TempDir 23 | cp -r ../bin/${AppName}.app ./${TempDir} 24 | ln -sf /Applications macos/Applications 25 | hdiutil create ./$OutFile -volname "$AppName" -fs HFS+ -srcfolder $TempDir -ov -format UDZO 26 | md5 $OutFile> $OutFile.md5 27 | fi 28 | -------------------------------------------------------------------------------- /build/pack/pack_cross_darwin_arm64.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | help() 3 | { 4 | echo "Help:" 5 | echo "pack_xxxx.sh v0.0.x -- must have version!" 6 | } 7 | if [ "$1" = "" ] 8 | then 9 | help 10 | else 11 | cd ../../ 12 | wails build -clean -platform darwin/arm64 13 | echo "cd $PWD" 14 | cd build/pack/ 15 | TempDir="macos" 16 | AppName="hiposter" 17 | Version=$1 18 | Machine="arm64" 19 | OutFile=${AppName}_macos_${Machine}_${Version}.dmg 20 | rm -rf $TempDir 21 | mkdir $TempDir 22 | cp -r ../bin/${AppName}.app ./${TempDir} 23 | ln -sf /Applications macos/Applications 24 | hdiutil create ./$OutFile -volname "$AppName" -fs HFS+ -srcfolder $TempDir -ov -format UDZO 25 | md5 $OutFile> $OutFile.md5 26 | fi -------------------------------------------------------------------------------- /build/pack/pack_cross_debian_amd64.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | help() 3 | { 4 | echo "Help:" 5 | echo "pack_xxxx.sh v0.0.x -- must have version!" 6 | } 7 | if [ "$1" = "" ] 8 | then 9 | help 10 | else 11 | cd ../../ 12 | echo "cd $PWD" 13 | wails build -clean -platform linux/amd64 14 | 15 | cd build/pack/ 16 | echo $PWD 17 | TempDir="debian" 18 | AppName="hiposter" 19 | Version=$1 20 | Machine="amd64" 21 | OutFile=${AppName}_linux_${Machine}_${Version}.deb 22 | rm -rf $TempDir 23 | mkdir $TempDir 24 | cp -r ../debian/amd64/* ./${TempDir} 25 | mkdir -p ${TempDir}/usr/bin 26 | cp ../bin/${AppName} ${TempDir}/usr/bin 27 | dpkg -b ${TempDir} $OutFile && \ 28 | echo "created: $PWD/$OutFile" 29 | md5sum $OutFile > $OutFile.md5 30 | fi 31 | -------------------------------------------------------------------------------- /build/pack/pack_cross_debian_arm64.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | help() 3 | { 4 | echo "Help:" 5 | echo "pack_xxxx.sh v0.0.x -- must have version!" 6 | } 7 | if [ "$1" = "" ] 8 | then 9 | help 10 | else 11 | cd ../../ 12 | echo "cd $PWD" 13 | wails build -clean -platform linux/arm64 14 | 15 | cd build/pack/ 16 | echo $PWD 17 | TempDir="debian" 18 | AppName="hiposter" 19 | Version=$1 20 | Machine="arm64" 21 | OutFile=${AppName}_linux_${Machine}_${Version}.deb 22 | rm -rf $TempDir 23 | mkdir $TempDir 24 | cp -r ../debian/arm64/* ./${TempDir} 25 | mkdir -p ${TempDir}/usr/bin 26 | cp ../bin/${AppName} ${TempDir}/usr/bin 27 | dpkg -b ${TempDir} $OutFile && \ 28 | echo "created: $PWD/$OutFile" 29 | md5sum $OutFile > $OutFile.md5 30 | fi 31 | -------------------------------------------------------------------------------- /build/pack/pack_cross_windows10_amd64.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | help() 3 | { 4 | echo "Help:" 5 | echo "pack_xxxx.sh v0.0.x -- must have version!" 6 | } 7 | if [ "$1" = "" ] 8 | then 9 | help 10 | else 11 | cd ../../ 12 | wails build -clean -platform windows/amd64 -nsis 13 | echo "cd $PWD" 14 | cd build/pack/ 15 | TempDir="windows10" 16 | AppName="hiposter" 17 | Version=$1 18 | Machine="amd64" 19 | OutFile=${TempDir}/${AppName}_windows10+_${Machine}_${Version}.exe 20 | rm -rf $TempDir 21 | mkdir $TempDir 22 | cp -r ../bin/${AppName}*installer.exe ./${TempDir} 23 | mv ./${TempDir}/*installer.exe $OutFile 24 | echo "created: $PWD/$OutFile" 25 | md5 $OutFile > $OutFile.md5 26 | fi -------------------------------------------------------------------------------- /build/pack/pack_cross_windows10_arm64.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | help() 3 | { 4 | echo "Help:" 5 | echo "pack_xxxx.sh v0.0.x -- must have version!" 6 | } 7 | if [ "$1" = "" ] 8 | then 9 | help 10 | else 11 | cd ../../ 12 | wails build -clean -platform windows/arm64 -nsis 13 | echo "cd $PWD" 14 | cd build/pack/ 15 | TempDir="windows10" 16 | AppName="hiposter" 17 | Version=$1 18 | Machine="arm64" 19 | OutFile=${TempDir}/${AppName}_windows10+_${Machine}_${Version}.exe 20 | rm -rf $TempDir 21 | mkdir $TempDir 22 | cp -r ../bin/${AppName}*installer.exe ./${TempDir} 23 | mv ./${TempDir}/*installer.exe $OutFile 24 | echo "created: $PWD/$OutFile" 25 | md5 $OutFile > $OutFile.md5 26 | fi -------------------------------------------------------------------------------- /build/pack/pack_darwin.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | help() 3 | { 4 | echo "Help:" 5 | echo "pack_xxxx.sh v0.0.x -- must have version!" 6 | } 7 | if [ "$1" = "" ] 8 | then 9 | help 10 | else 11 | cd ../../ 12 | wails build -clean 13 | echo "cd $PWD" 14 | cd build/pack/ 15 | TempDir="macos" 16 | AppName="hiposter" 17 | Version=$1 18 | Machine=$(uname -m) 19 | OutFile=${AppName}_macos_${Machine}_${Version}.dmg 20 | rm -rf $TempDir 21 | mkdir $TempDir 22 | cp -r ../bin/${AppName}.app ./${TempDir} 23 | ln -sf /Applications macos/Applications 24 | hdiutil create ./$OutFile -volname "$AppName" -fs HFS+ -srcfolder $TempDir -ov -format UDZO 25 | md5 $OutFile> $OutFile.md5 26 | fi -------------------------------------------------------------------------------- /build/pack/pack_debian.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | help() 3 | { 4 | echo "Help:" 5 | echo "pack_xxxx.sh v0.0.x -- must have version!" 6 | } 7 | if [ "$1" = "" ] 8 | then 9 | help 10 | else 11 | cd ../../ 12 | echo "cd $PWD" 13 | wails build -clean 14 | 15 | cd build/pack/ 16 | echo $PWD 17 | TempDir="debian" 18 | AppName="hiposter" 19 | Version=$1 20 | Machine=$(uname -r|cut -d '-' -f3) 21 | OutFile=${AppName}_linux_${Machine}_${Version}.deb 22 | rm -rf $TempDir 23 | mkdir $TempDir 24 | cp -r ../debian/arm64/* ./${TempDir} 25 | mkdir -p ${TempDir}/usr/bin 26 | cp ../bin/${AppName} ${TempDir}/usr/bin 27 | dpkg -b ${TempDir} $OutFile && \ 28 | echo "created: $PWD/$OutFile" 29 | md5sum $OutFile > $OutFile.md5 30 | fi 31 | -------------------------------------------------------------------------------- /build/windows/icon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/obity/hiposter/13a750436fdfc774c2c3a824512d9ce6e5702d8e/build/windows/icon.ico -------------------------------------------------------------------------------- /build/windows/info.json: -------------------------------------------------------------------------------- 1 | { 2 | "fixed": { 3 | "file_version": "{{.Info.ProductVersion}}" 4 | }, 5 | "info": { 6 | "0000": { 7 | "ProductVersion": "{{.Info.ProductVersion}}", 8 | "CompanyName": "{{.Info.CompanyName}}", 9 | "FileDescription": "{{.Info.ProductName}}", 10 | "LegalCopyright": "{{.Info.Copyright}}", 11 | "ProductName": "{{.Info.ProductName}}", 12 | "Comments": "{{.Info.Comments}}" 13 | } 14 | } 15 | } -------------------------------------------------------------------------------- /build/windows/installer/project.nsi: -------------------------------------------------------------------------------- 1 | Unicode true 2 | 3 | #### 4 | ## Please note: Template replacements don't work in this file. They are provided with default defines like 5 | ## mentioned underneath. 6 | ## If the keyword is not defined, "wails_tools.nsh" will populate them with the values from ProjectInfo. 7 | ## If they are defined here, "wails_tools.nsh" will not touch them. This allows to use this project.nsi manually 8 | ## from outside of Wails for debugging and development of the installer. 9 | ## 10 | ## For development first make a wails nsis build to populate the "wails_tools.nsh": 11 | ## > wails build --target windows/amd64 --nsis 12 | ## Then you can call makensis on this file with specifying the path to your binary: 13 | ## For a AMD64 only installer: 14 | ## > makensis -DARG_WAILS_AMD64_BINARY=..\..\bin\app.exe 15 | ## For a ARM64 only installer: 16 | ## > makensis -DARG_WAILS_ARM64_BINARY=..\..\bin\app.exe 17 | ## For a installer with both architectures: 18 | ## > makensis -DARG_WAILS_AMD64_BINARY=..\..\bin\app-amd64.exe -DARG_WAILS_ARM64_BINARY=..\..\bin\app-arm64.exe 19 | #### 20 | ## The following information is taken from the ProjectInfo file, but they can be overwritten here. 21 | #### 22 | ## !define INFO_PROJECTNAME "MyProject" # Default "{{.Name}}" 23 | ## !define INFO_COMPANYNAME "MyCompany" # Default "{{.Info.CompanyName}}" 24 | ## !define INFO_PRODUCTNAME "MyProduct" # Default "{{.Info.ProductName}}" 25 | ## !define INFO_PRODUCTVERSION "1.0.0" # Default "{{.Info.ProductVersion}}" 26 | ## !define INFO_COPYRIGHT "Copyright" # Default "{{.Info.Copyright}}" 27 | ### 28 | ## !define PRODUCT_EXECUTABLE "Application.exe" # Default "${INFO_PROJECTNAME}.exe" 29 | ## !define UNINST_KEY_NAME "UninstKeyInRegistry" # Default "${INFO_COMPANYNAME}${INFO_PRODUCTNAME}" 30 | #### 31 | ## !define REQUEST_EXECUTION_LEVEL "admin" # Default "admin" see also https://nsis.sourceforge.io/Docs/Chapter4.html 32 | #### 33 | ## Include the wails tools 34 | #### 35 | !include "wails_tools.nsh" 36 | 37 | # The version information for this two must consist of 4 parts 38 | VIProductVersion "${INFO_PRODUCTVERSION}.0" 39 | VIFileVersion "${INFO_PRODUCTVERSION}.0" 40 | 41 | VIAddVersionKey "CompanyName" "${INFO_COMPANYNAME}" 42 | VIAddVersionKey "FileDescription" "${INFO_PRODUCTNAME} Installer" 43 | VIAddVersionKey "ProductVersion" "${INFO_PRODUCTVERSION}" 44 | VIAddVersionKey "FileVersion" "${INFO_PRODUCTVERSION}" 45 | VIAddVersionKey "LegalCopyright" "${INFO_COPYRIGHT}" 46 | VIAddVersionKey "ProductName" "${INFO_PRODUCTNAME}" 47 | 48 | !include "MUI.nsh" 49 | 50 | !define MUI_ICON "..\icon.ico" 51 | !define MUI_UNICON "..\icon.ico" 52 | # !define MUI_WELCOMEFINISHPAGE_BITMAP "resources\leftimage.bmp" #Include this to add a bitmap on the left side of the Welcome Page. Must be a size of 164x314 53 | !define MUI_FINISHPAGE_NOAUTOCLOSE # Wait on the INSTFILES page so the user can take a look into the details of the installation steps 54 | !define MUI_ABORTWARNING # This will warn the user if they exit from the installer. 55 | 56 | !insertmacro MUI_PAGE_WELCOME # Welcome to the installer page. 57 | # !insertmacro MUI_PAGE_LICENSE "resources\eula.txt" # Adds a EULA page to the installer 58 | !insertmacro MUI_PAGE_DIRECTORY # In which folder install page. 59 | !insertmacro MUI_PAGE_INSTFILES # Installing page. 60 | !insertmacro MUI_PAGE_FINISH # Finished installation page. 61 | 62 | !insertmacro MUI_UNPAGE_INSTFILES # Uinstalling page 63 | 64 | !insertmacro MUI_LANGUAGE "English" # Set the Language of the installer 65 | 66 | ## The following two statements can be used to sign the installer and the uninstaller. The path to the binaries are provided in %1 67 | #!uninstfinalize 'signtool --file "%1"' 68 | #!finalize 'signtool --file "%1"' 69 | 70 | Name "${INFO_PRODUCTNAME}" 71 | OutFile "..\..\bin\${INFO_PROJECTNAME}-${ARCH}-installer.exe" # Name of the installer's file. 72 | InstallDir "$PROGRAMFILES64\${INFO_COMPANYNAME}\${INFO_PRODUCTNAME}" # Default installing folder ($PROGRAMFILES is Program Files folder). 73 | ShowInstDetails show # This will always show the installation details. 74 | 75 | Function .onInit 76 | !insertmacro wails.checkArchitecture 77 | FunctionEnd 78 | 79 | Section 80 | !insertmacro wails.webview2runtime 81 | 82 | SetOutPath $INSTDIR 83 | 84 | !insertmacro wails.files 85 | 86 | CreateShortcut "$SMPROGRAMS\${INFO_PRODUCTNAME}.lnk" "$INSTDIR\${PRODUCT_EXECUTABLE}" 87 | CreateShortCut "$DESKTOP\${INFO_PRODUCTNAME}.lnk" "$INSTDIR\${PRODUCT_EXECUTABLE}" 88 | 89 | !insertmacro wails.writeUninstaller 90 | SectionEnd 91 | 92 | Section "uninstall" 93 | RMDir /r "$AppData\${PRODUCT_EXECUTABLE}" # Remove the WebView2 DataPath 94 | 95 | RMDir /r $INSTDIR 96 | 97 | Delete "$SMPROGRAMS\${INFO_PRODUCTNAME}.lnk" 98 | Delete "$DESKTOP\${INFO_PRODUCTNAME}.lnk" 99 | 100 | !insertmacro wails.deleteUninstaller 101 | SectionEnd 102 | -------------------------------------------------------------------------------- /build/windows/installer/wails_tools.nsh: -------------------------------------------------------------------------------- 1 | # DO NOT EDIT - Generated automatically by `wails build` 2 | 3 | !include "x64.nsh" 4 | !include "WinVer.nsh" 5 | !include "FileFunc.nsh" 6 | 7 | !ifndef INFO_PROJECTNAME 8 | !define INFO_PROJECTNAME "hiposter" 9 | !endif 10 | !ifndef INFO_COMPANYNAME 11 | !define INFO_COMPANYNAME "ffactory.org" 12 | !endif 13 | !ifndef INFO_PRODUCTNAME 14 | !define INFO_PRODUCTNAME "hiposter" 15 | !endif 16 | !ifndef INFO_PRODUCTVERSION 17 | !define INFO_PRODUCTVERSION "0.0.9" 18 | !endif 19 | !ifndef INFO_COPYRIGHT 20 | !define INFO_COPYRIGHT "Copyright © 2023-present wander@ffactory.org , hiposter is under GPL-3.0 license" 21 | !endif 22 | !ifndef PRODUCT_EXECUTABLE 23 | !define PRODUCT_EXECUTABLE "${INFO_PROJECTNAME}.exe" 24 | !endif 25 | !ifndef UNINST_KEY_NAME 26 | !define UNINST_KEY_NAME "${INFO_COMPANYNAME}${INFO_PRODUCTNAME}" 27 | !endif 28 | !define UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${UNINST_KEY_NAME}" 29 | 30 | !ifndef REQUEST_EXECUTION_LEVEL 31 | !define REQUEST_EXECUTION_LEVEL "admin" 32 | !endif 33 | 34 | RequestExecutionLevel "${REQUEST_EXECUTION_LEVEL}" 35 | 36 | !ifdef ARG_WAILS_AMD64_BINARY 37 | !define SUPPORTS_AMD64 38 | !endif 39 | 40 | !ifdef ARG_WAILS_ARM64_BINARY 41 | !define SUPPORTS_ARM64 42 | !endif 43 | 44 | !ifdef SUPPORTS_AMD64 45 | !ifdef SUPPORTS_ARM64 46 | !define ARCH "amd64_arm64" 47 | !else 48 | !define ARCH "amd64" 49 | !endif 50 | !else 51 | !ifdef SUPPORTS_ARM64 52 | !define ARCH "arm64" 53 | !else 54 | !error "Wails: Undefined ARCH, please provide at least one of ARG_WAILS_AMD64_BINARY or ARG_WAILS_ARM64_BINARY" 55 | !endif 56 | !endif 57 | 58 | !macro wails.checkArchitecture 59 | !ifndef WAILS_WIN10_REQUIRED 60 | !define WAILS_WIN10_REQUIRED "This product is only supported on Windows 10 (Server 2016) and later." 61 | !endif 62 | 63 | !ifndef WAILS_ARCHITECTURE_NOT_SUPPORTED 64 | !define WAILS_ARCHITECTURE_NOT_SUPPORTED "This product can't be installed on the current Windows architecture. Supports: ${ARCH}" 65 | !endif 66 | 67 | ${If} ${AtLeastWin10} 68 | !ifdef SUPPORTS_AMD64 69 | ${if} ${IsNativeAMD64} 70 | Goto ok 71 | ${EndIf} 72 | !endif 73 | 74 | !ifdef SUPPORTS_ARM64 75 | ${if} ${IsNativeARM64} 76 | Goto ok 77 | ${EndIf} 78 | !endif 79 | 80 | IfSilent silentArch notSilentArch 81 | silentArch: 82 | SetErrorLevel 65 83 | Abort 84 | notSilentArch: 85 | MessageBox MB_OK "${WAILS_ARCHITECTURE_NOT_SUPPORTED}" 86 | Quit 87 | ${else} 88 | IfSilent silentWin notSilentWin 89 | silentWin: 90 | SetErrorLevel 64 91 | Abort 92 | notSilentWin: 93 | MessageBox MB_OK "${WAILS_WIN10_REQUIRED}" 94 | Quit 95 | ${EndIf} 96 | 97 | ok: 98 | !macroend 99 | 100 | !macro wails.files 101 | !ifdef SUPPORTS_AMD64 102 | ${if} ${IsNativeAMD64} 103 | File "/oname=${PRODUCT_EXECUTABLE}" "${ARG_WAILS_AMD64_BINARY}" 104 | ${EndIf} 105 | !endif 106 | 107 | !ifdef SUPPORTS_ARM64 108 | ${if} ${IsNativeARM64} 109 | File "/oname=${PRODUCT_EXECUTABLE}" "${ARG_WAILS_ARM64_BINARY}" 110 | ${EndIf} 111 | !endif 112 | !macroend 113 | 114 | !macro wails.writeUninstaller 115 | WriteUninstaller "$INSTDIR\uninstall.exe" 116 | 117 | SetRegView 64 118 | WriteRegStr HKLM "${UNINST_KEY}" "Publisher" "${INFO_COMPANYNAME}" 119 | WriteRegStr HKLM "${UNINST_KEY}" "DisplayName" "${INFO_PRODUCTNAME}" 120 | WriteRegStr HKLM "${UNINST_KEY}" "DisplayVersion" "${INFO_PRODUCTVERSION}" 121 | WriteRegStr HKLM "${UNINST_KEY}" "DisplayIcon" "$INSTDIR\${PRODUCT_EXECUTABLE}" 122 | WriteRegStr HKLM "${UNINST_KEY}" "UninstallString" "$\"$INSTDIR\uninstall.exe$\"" 123 | WriteRegStr HKLM "${UNINST_KEY}" "QuietUninstallString" "$\"$INSTDIR\uninstall.exe$\" /S" 124 | 125 | ${GetSize} "$INSTDIR" "/S=0K" $0 $1 $2 126 | IntFmt $0 "0x%08X" $0 127 | WriteRegDWORD HKLM "${UNINST_KEY}" "EstimatedSize" "$0" 128 | !macroend 129 | 130 | !macro wails.deleteUninstaller 131 | Delete "$INSTDIR\uninstall.exe" 132 | 133 | SetRegView 64 134 | DeleteRegKey HKLM "${UNINST_KEY}" 135 | !macroend 136 | 137 | !macro wails.setShellContext 138 | ${If} ${REQUEST_EXECUTION_LEVEL} == "admin" 139 | SetShellVarContext all 140 | ${else} 141 | SetShellVarContext current 142 | ${EndIf} 143 | !macroend 144 | 145 | # Install webview2 by launching the bootstrapper 146 | # See https://docs.microsoft.com/en-us/microsoft-edge/webview2/concepts/distribution#online-only-deployment 147 | !macro wails.webview2runtime 148 | !ifndef WAILS_INSTALL_WEBVIEW_DETAILPRINT 149 | !define WAILS_INSTALL_WEBVIEW_DETAILPRINT "Installing: WebView2 Runtime" 150 | !endif 151 | 152 | SetRegView 64 153 | # If the admin key exists and is not empty then webview2 is already installed 154 | ReadRegStr $0 HKLM "SOFTWARE\WOW6432Node\Microsoft\EdgeUpdate\Clients\{F3017226-FE2A-4295-8BDF-00C3A9A7E4C5}" "pv" 155 | ${If} $0 != "" 156 | Goto ok 157 | ${EndIf} 158 | 159 | ${If} ${REQUEST_EXECUTION_LEVEL} == "user" 160 | # If the installer is run in user level, check the user specific key exists and is not empty then webview2 is already installed 161 | ReadRegStr $0 HKCU "Software\Microsoft\EdgeUpdate\Clients{F3017226-FE2A-4295-8BDF-00C3A9A7E4C5}" "pv" 162 | ${If} $0 != "" 163 | Goto ok 164 | ${EndIf} 165 | ${EndIf} 166 | 167 | SetDetailsPrint both 168 | DetailPrint "${WAILS_INSTALL_WEBVIEW_DETAILPRINT}" 169 | SetDetailsPrint listonly 170 | 171 | InitPluginsDir 172 | CreateDirectory "$pluginsdir\webview2bootstrapper" 173 | SetOutPath "$pluginsdir\webview2bootstrapper" 174 | File "tmp\MicrosoftEdgeWebview2Setup.exe" 175 | ExecWait '"$pluginsdir\webview2bootstrapper\MicrosoftEdgeWebview2Setup.exe" /silent /install' 176 | 177 | SetDetailsPrint both 178 | ok: 179 | !macroend -------------------------------------------------------------------------------- /build/windows/wails.exe.manifest: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | true/pm 12 | permonitorv2,permonitor 13 | 14 | 15 | -------------------------------------------------------------------------------- /docs/get.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/obity/hiposter/13a750436fdfc774c2c3a824512d9ce6e5702d8e/docs/get.jpg -------------------------------------------------------------------------------- /docs/hiposter1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/obity/hiposter/13a750436fdfc774c2c3a824512d9ce6e5702d8e/docs/hiposter1.jpg -------------------------------------------------------------------------------- /frontend/.vscode/extensions.json: -------------------------------------------------------------------------------- 1 | { 2 | "recommendations": [ 3 | "svelte.svelte-vscode" 4 | ] 5 | } 6 | -------------------------------------------------------------------------------- /frontend/README.md: -------------------------------------------------------------------------------- 1 | # Svelte + Vite 2 | 3 | This template should help get you started developing with Svelte in Vite. 4 | 5 | ## Recommended IDE Setup 6 | 7 | [VS Code](https://code.visualstudio.com/) 8 | 9 | + [Svelte](https://marketplace.visualstudio.com/items?itemName=svelte.svelte-vscode). 10 | 11 | ## Need an official Svelte framework? 12 | 13 | Check out [SvelteKit](https://github.com/sveltejs/kit#readme), which is also powered by Vite. Deploy anywhere with its 14 | serverless-first approach and adapt to various platforms, with out of the box support for TypeScript, SCSS, and Less, 15 | and easily-added support for mdsvex, GraphQL, PostCSS, Tailwind CSS, and more. 16 | 17 | ## Technical considerations 18 | 19 | **Why use this over SvelteKit?** 20 | 21 | - It brings its own routing solution which might not be preferable for some users. 22 | - It is first and foremost a framework that just happens to use Vite under the hood, not a Vite app. 23 | `vite dev` and `vite build` wouldn't work in a SvelteKit environment, for example. 24 | 25 | This template contains as little as possible to get started with Vite + Svelte, while taking into account the developer 26 | experience with regards to HMR and intellisense. It demonstrates capabilities on par with the other `create-vite` 27 | templates and is a good starting point for beginners dipping their toes into a Vite + Svelte project. 28 | 29 | Should you later need the extended capabilities and extensibility provided by SvelteKit, the template has been 30 | structured similarly to SvelteKit so that it is easy to migrate. 31 | 32 | **Why `global.d.ts` instead of `compilerOptions.types` inside `jsconfig.json` or `tsconfig.json`?** 33 | 34 | Setting `compilerOptions.types` shuts out all other types not explicitly listed in the configuration. Using triple-slash 35 | references keeps the default TypeScript setting of accepting type information from the entire workspace, while also 36 | adding `svelte` and `vite/client` type information. 37 | 38 | **Why include `.vscode/extensions.json`?** 39 | 40 | Other templates indirectly recommend extensions via the README, but this file allows VS Code to prompt the user to 41 | install the recommended extension upon opening the project. 42 | 43 | **Why enable `checkJs` in the JS template?** 44 | 45 | It is likely that most cases of changing variable types in runtime are likely to be accidental, rather than deliberate. 46 | This provides advanced typechecking out of the box. Should you like to take advantage of the dynamically-typed nature of 47 | JavaScript, it is trivial to change the configuration. 48 | 49 | **Why is HMR not preserving my local component state?** 50 | 51 | HMR state preservation comes with a number of gotchas! It has been disabled by default in both `svelte-hmr` 52 | and `@sveltejs/vite-plugin-svelte` due to its often surprising behavior. You can read the 53 | details [here](https://github.com/rixo/svelte-hmr#svelte-hmr). 54 | 55 | If you have state that's important to retain within a component, consider creating an external store which would not be 56 | replaced by HMR. 57 | 58 | ```js 59 | // store.js 60 | // An extremely simple external store 61 | import { writable } from 'svelte/store' 62 | export default writable(0) 63 | ``` 64 | -------------------------------------------------------------------------------- /frontend/dist/assets/nunito-v16-latin-regular.06f3af3f.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/obity/hiposter/13a750436fdfc774c2c3a824512d9ce6e5702d8e/frontend/dist/assets/nunito-v16-latin-regular.06f3af3f.woff2 -------------------------------------------------------------------------------- /frontend/dist/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | hiposter 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /frontend/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | hiposter 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /frontend/jsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "moduleResolution": "Node", 4 | "target": "ESNext", 5 | "module": "ESNext", 6 | /** 7 | * svelte-preprocess cannot figure out whether you have 8 | * a value or a type, so tell TypeScript to enforce using 9 | * `import type` instead of `import` for Types. 10 | */ 11 | "importsNotUsedAsValues": "error", 12 | "isolatedModules": true, 13 | "resolveJsonModule": true, 14 | /** 15 | * To have warnings / errors of the Svelte compiler at the 16 | * correct position, enable source maps by default. 17 | */ 18 | "sourceMap": true, 19 | "esModuleInterop": true, 20 | "skipLibCheck": true, 21 | "forceConsistentCasingInFileNames": true, 22 | "baseUrl": ".", 23 | /** 24 | * Typecheck JS in `.svelte` and `.js` files by default. 25 | * Disable this if you'd like to use dynamic types. 26 | */ 27 | "checkJs": true 28 | }, 29 | /** 30 | * Use global.d.ts instead of compilerOptions.types 31 | * to avoid limiting type declarations. 32 | */ 33 | "include": [ 34 | "src/**/*.d.ts", 35 | "src/**/*.js", 36 | "src/**/*.svelte" 37 | ] 38 | } 39 | -------------------------------------------------------------------------------- /frontend/package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "frontend", 3 | "version": "0.0.0", 4 | "lockfileVersion": 2, 5 | "requires": true, 6 | "packages": { 7 | "": { 8 | "name": "frontend", 9 | "version": "0.0.0", 10 | "devDependencies": { 11 | "@codemirror/lang-html": "^6.4.2", 12 | "@codemirror/lang-javascript": "^6.1.4", 13 | "@codemirror/lang-json": "^6.0.1", 14 | "@codemirror/lang-xml": "^6.0.2", 15 | "@sveltejs/vite-plugin-svelte": "^1.0.1", 16 | "carbon-components-svelte": "^0.72.3", 17 | "carbon-icons-svelte": "^11.4.0", 18 | "svelte": "^3.49.0", 19 | "svelte-codemirror-editor": "^1.1.0", 20 | "vite": "^3.0.0", 21 | "yootils": "^0.3.1" 22 | } 23 | }, 24 | "node_modules/@codemirror/autocomplete": { 25 | "version": "6.4.2", 26 | "resolved": "https://repo.huaweicloud.com/repository/npm/@codemirror/autocomplete/-/autocomplete-6.4.2.tgz", 27 | "integrity": "sha512-8WE2xp+D0MpWEv5lZ6zPW1/tf4AGb358T5GWYiKEuCP8MvFfT3tH2mIF9Y2yr2e3KbHuSvsVhosiEyqCpiJhZQ==", 28 | "dev": true, 29 | "license": "MIT", 30 | "dependencies": { 31 | "@codemirror/language": "^6.0.0", 32 | "@codemirror/state": "^6.0.0", 33 | "@codemirror/view": "^6.6.0", 34 | "@lezer/common": "^1.0.0" 35 | }, 36 | "peerDependencies": { 37 | "@codemirror/language": "^6.0.0", 38 | "@codemirror/state": "^6.0.0", 39 | "@codemirror/view": "^6.0.0", 40 | "@lezer/common": "^1.0.0" 41 | } 42 | }, 43 | "node_modules/@codemirror/commands": { 44 | "version": "6.2.1", 45 | "resolved": "https://repo.huaweicloud.com/repository/npm/@codemirror/commands/-/commands-6.2.1.tgz", 46 | "integrity": "sha512-FFiNKGuHA5O8uC6IJE5apI5rT9gyjlw4whqy4vlcX0wE/myxL6P1s0upwDhY4HtMWLOwzwsp0ap3bjdQhvfDOA==", 47 | "dev": true, 48 | "license": "MIT", 49 | "peer": true, 50 | "dependencies": { 51 | "@codemirror/language": "^6.0.0", 52 | "@codemirror/state": "^6.2.0", 53 | "@codemirror/view": "^6.0.0", 54 | "@lezer/common": "^1.0.0" 55 | } 56 | }, 57 | "node_modules/@codemirror/lang-css": { 58 | "version": "6.1.1", 59 | "resolved": "https://repo.huaweicloud.com/repository/npm/@codemirror/lang-css/-/lang-css-6.1.1.tgz", 60 | "integrity": "sha512-P6jdNEHyRcqqDgbvHYyC9Wxkek0rnG3a9aVSRi4a7WrjPbQtBTaOmvYpXmm13zZMAatO4Oqpac+0QZs7sy+LnQ==", 61 | "dev": true, 62 | "license": "MIT", 63 | "dependencies": { 64 | "@codemirror/autocomplete": "^6.0.0", 65 | "@codemirror/language": "^6.0.0", 66 | "@codemirror/state": "^6.0.0", 67 | "@lezer/css": "^1.0.0" 68 | } 69 | }, 70 | "node_modules/@codemirror/lang-html": { 71 | "version": "6.4.2", 72 | "resolved": "https://repo.huaweicloud.com/repository/npm/@codemirror/lang-html/-/lang-html-6.4.2.tgz", 73 | "integrity": "sha512-bqCBASkteKySwtIbiV/WCtGnn/khLRbbiV5TE+d9S9eQJD7BA4c5dTRm2b3bVmSpilff5EYxvB4PQaZzM/7cNw==", 74 | "dev": true, 75 | "license": "MIT", 76 | "dependencies": { 77 | "@codemirror/autocomplete": "^6.0.0", 78 | "@codemirror/lang-css": "^6.0.0", 79 | "@codemirror/lang-javascript": "^6.0.0", 80 | "@codemirror/language": "^6.4.0", 81 | "@codemirror/state": "^6.0.0", 82 | "@codemirror/view": "^6.2.2", 83 | "@lezer/common": "^1.0.0", 84 | "@lezer/css": "^1.1.0", 85 | "@lezer/html": "^1.3.0" 86 | } 87 | }, 88 | "node_modules/@codemirror/lang-javascript": { 89 | "version": "6.1.4", 90 | "resolved": "https://repo.huaweicloud.com/repository/npm/@codemirror/lang-javascript/-/lang-javascript-6.1.4.tgz", 91 | "integrity": "sha512-OxLf7OfOZBTMRMi6BO/F72MNGmgOd9B0vetOLvHsDACFXayBzW8fm8aWnDM0yuy68wTK03MBf4HbjSBNRG5q7A==", 92 | "dev": true, 93 | "license": "MIT", 94 | "dependencies": { 95 | "@codemirror/autocomplete": "^6.0.0", 96 | "@codemirror/language": "^6.6.0", 97 | "@codemirror/lint": "^6.0.0", 98 | "@codemirror/state": "^6.0.0", 99 | "@codemirror/view": "^6.0.0", 100 | "@lezer/common": "^1.0.0", 101 | "@lezer/javascript": "^1.0.0" 102 | } 103 | }, 104 | "node_modules/@codemirror/lang-json": { 105 | "version": "6.0.1", 106 | "resolved": "https://repo.huaweicloud.com/repository/npm/@codemirror/lang-json/-/lang-json-6.0.1.tgz", 107 | "integrity": "sha512-+T1flHdgpqDDlJZ2Lkil/rLiRy684WMLc74xUnjJH48GQdfJo/pudlTRreZmKwzP8/tGdKf83wlbAdOCzlJOGQ==", 108 | "dev": true, 109 | "license": "MIT", 110 | "dependencies": { 111 | "@codemirror/language": "^6.0.0", 112 | "@lezer/json": "^1.0.0" 113 | } 114 | }, 115 | "node_modules/@codemirror/lang-xml": { 116 | "version": "6.0.2", 117 | "resolved": "https://repo.huaweicloud.com/repository/npm/@codemirror/lang-xml/-/lang-xml-6.0.2.tgz", 118 | "integrity": "sha512-JQYZjHL2LAfpiZI2/qZ/qzDuSqmGKMwyApYmEUUCTxLM4MWS7sATUEfIguZQr9Zjx/7gcdnewb039smF6nC2zw==", 119 | "dev": true, 120 | "license": "MIT", 121 | "dependencies": { 122 | "@codemirror/autocomplete": "^6.0.0", 123 | "@codemirror/language": "^6.4.0", 124 | "@codemirror/state": "^6.0.0", 125 | "@lezer/common": "^1.0.0", 126 | "@lezer/xml": "^1.0.0" 127 | } 128 | }, 129 | "node_modules/@codemirror/language": { 130 | "version": "6.6.0", 131 | "resolved": "https://repo.huaweicloud.com/repository/npm/@codemirror/language/-/language-6.6.0.tgz", 132 | "integrity": "sha512-cwUd6lzt3MfNYOobdjf14ZkLbJcnv4WtndYaoBkbor/vF+rCNguMPK0IRtvZJG4dsWiaWPcK8x1VijhvSxnstg==", 133 | "dev": true, 134 | "license": "MIT", 135 | "dependencies": { 136 | "@codemirror/state": "^6.0.0", 137 | "@codemirror/view": "^6.0.0", 138 | "@lezer/common": "^1.0.0", 139 | "@lezer/highlight": "^1.0.0", 140 | "@lezer/lr": "^1.0.0", 141 | "style-mod": "^4.0.0" 142 | } 143 | }, 144 | "node_modules/@codemirror/lint": { 145 | "version": "6.1.1", 146 | "resolved": "https://repo.huaweicloud.com/repository/npm/@codemirror/lint/-/lint-6.1.1.tgz", 147 | "integrity": "sha512-e+M543x0NVHGayNHQzLP4XByJsvbu/ojY6+0VF2Y4Uu66Rt1nADuxNflZwECLf7gS009smIsptSUa6bUj/U/rw==", 148 | "dev": true, 149 | "license": "MIT", 150 | "dependencies": { 151 | "@codemirror/state": "^6.0.0", 152 | "@codemirror/view": "^6.0.0", 153 | "crelt": "^1.0.5" 154 | } 155 | }, 156 | "node_modules/@codemirror/search": { 157 | "version": "6.2.3", 158 | "resolved": "https://repo.huaweicloud.com/repository/npm/@codemirror/search/-/search-6.2.3.tgz", 159 | "integrity": "sha512-V9n9233lopQhB1dyjsBK2Wc1i+8hcCqxl1wQ46c5HWWLePoe4FluV3TGHoZ04rBRlGjNyz9DTmpJErig8UE4jw==", 160 | "dev": true, 161 | "license": "MIT", 162 | "peer": true, 163 | "dependencies": { 164 | "@codemirror/state": "^6.0.0", 165 | "@codemirror/view": "^6.0.0", 166 | "crelt": "^1.0.5" 167 | } 168 | }, 169 | "node_modules/@codemirror/state": { 170 | "version": "6.2.0", 171 | "resolved": "https://repo.huaweicloud.com/repository/npm/@codemirror/state/-/state-6.2.0.tgz", 172 | "integrity": "sha512-69QXtcrsc3RYtOtd+GsvczJ319udtBf1PTrr2KbLWM/e2CXUPnh0Nz9AUo8WfhSQ7GeL8dPVNUmhQVgpmuaNGA==", 173 | "dev": true, 174 | "license": "MIT" 175 | }, 176 | "node_modules/@codemirror/view": { 177 | "version": "6.9.1", 178 | "resolved": "https://repo.huaweicloud.com/repository/npm/@codemirror/view/-/view-6.9.1.tgz", 179 | "integrity": "sha512-bzfSjJn9dAADVpabLKWKNmMG4ibyTV2e3eOGowjElNPTdTkSbi6ixPYHm2u0ADcETfKsi2/R84Rkmi91dH9yEg==", 180 | "dev": true, 181 | "license": "MIT", 182 | "dependencies": { 183 | "@codemirror/state": "^6.1.4", 184 | "style-mod": "^4.0.0", 185 | "w3c-keyname": "^2.2.4" 186 | } 187 | }, 188 | "node_modules/@esbuild/android-arm": { 189 | "version": "0.15.18", 190 | "resolved": "https://repo.huaweicloud.com/repository/npm/@esbuild/android-arm/-/android-arm-0.15.18.tgz", 191 | "integrity": "sha512-5GT+kcs2WVGjVs7+boataCkO5Fg0y4kCjzkB5bAip7H4jfnOS3dA6KPiww9W1OEKTKeAcUVhdZGvgI65OXmUnw==", 192 | "cpu": [ 193 | "arm" 194 | ], 195 | "dev": true, 196 | "license": "MIT", 197 | "optional": true, 198 | "os": [ 199 | "android" 200 | ], 201 | "engines": { 202 | "node": ">=12" 203 | } 204 | }, 205 | "node_modules/@esbuild/linux-loong64": { 206 | "version": "0.15.18", 207 | "resolved": "https://repo.huaweicloud.com/repository/npm/@esbuild/linux-loong64/-/linux-loong64-0.15.18.tgz", 208 | "integrity": "sha512-L4jVKS82XVhw2nvzLg/19ClLWg0y27ulRwuP7lcyL6AbUWB5aPglXY3M21mauDQMDfRLs8cQmeT03r/+X3cZYQ==", 209 | "cpu": [ 210 | "loong64" 211 | ], 212 | "dev": true, 213 | "license": "MIT", 214 | "optional": true, 215 | "os": [ 216 | "linux" 217 | ], 218 | "engines": { 219 | "node": ">=12" 220 | } 221 | }, 222 | "node_modules/@lezer/common": { 223 | "version": "1.0.2", 224 | "resolved": "https://repo.huaweicloud.com/repository/npm/@lezer/common/-/common-1.0.2.tgz", 225 | "integrity": "sha512-SVgiGtMnMnW3ActR8SXgsDhw7a0w0ChHSYAyAUxxrOiJ1OqYWEKk/xJd84tTSPo1mo6DXLObAJALNnd0Hrv7Ng==", 226 | "dev": true, 227 | "license": "MIT" 228 | }, 229 | "node_modules/@lezer/css": { 230 | "version": "1.1.1", 231 | "resolved": "https://repo.huaweicloud.com/repository/npm/@lezer/css/-/css-1.1.1.tgz", 232 | "integrity": "sha512-mSjx+unLLapEqdOYDejnGBokB5+AiJKZVclmud0MKQOKx3DLJ5b5VTCstgDDknR6iIV4gVrN6euzsCnj0A2gQA==", 233 | "dev": true, 234 | "license": "MIT", 235 | "dependencies": { 236 | "@lezer/highlight": "^1.0.0", 237 | "@lezer/lr": "^1.0.0" 238 | } 239 | }, 240 | "node_modules/@lezer/highlight": { 241 | "version": "1.1.3", 242 | "resolved": "https://repo.huaweicloud.com/repository/npm/@lezer/highlight/-/highlight-1.1.3.tgz", 243 | "integrity": "sha512-3vLKLPThO4td43lYRBygmMY18JN3CPh9w+XS2j8WC30vR4yZeFG4z1iFe4jXE43NtGqe//zHW5q8ENLlHvz9gw==", 244 | "dev": true, 245 | "license": "MIT", 246 | "dependencies": { 247 | "@lezer/common": "^1.0.0" 248 | } 249 | }, 250 | "node_modules/@lezer/html": { 251 | "version": "1.3.2", 252 | "resolved": "https://repo.huaweicloud.com/repository/npm/@lezer/html/-/html-1.3.2.tgz", 253 | "integrity": "sha512-LKGyDdqqDugXR/lKM9FwaKEfMerbZ/aqvhLf0P1FLLK/pVP7wKHXGcg6g3cJ7ckvFidn0tXA8jioG0irVsCBAQ==", 254 | "dev": true, 255 | "license": "MIT", 256 | "dependencies": { 257 | "@lezer/common": "^1.0.0", 258 | "@lezer/highlight": "^1.0.0", 259 | "@lezer/lr": "^1.0.0" 260 | } 261 | }, 262 | "node_modules/@lezer/javascript": { 263 | "version": "1.4.1", 264 | "resolved": "https://repo.huaweicloud.com/repository/npm/@lezer/javascript/-/javascript-1.4.1.tgz", 265 | "integrity": "sha512-Hqx36DJeYhKtdpc7wBYPR0XF56ZzIp0IkMO/zNNj80xcaFOV4Oj/P7TQc/8k2TxNhzl7tV5tXS8ZOCPbT4L3nA==", 266 | "dev": true, 267 | "license": "MIT", 268 | "dependencies": { 269 | "@lezer/highlight": "^1.1.3", 270 | "@lezer/lr": "^1.3.0" 271 | } 272 | }, 273 | "node_modules/@lezer/json": { 274 | "version": "1.0.0", 275 | "resolved": "https://repo.huaweicloud.com/repository/npm/@lezer/json/-/json-1.0.0.tgz", 276 | "integrity": "sha512-zbAuUY09RBzCoCA3lJ1+ypKw5WSNvLqGMtasdW6HvVOqZoCpPr8eWrsGnOVWGKGn8Rh21FnrKRVlJXrGAVUqRw==", 277 | "dev": true, 278 | "license": "MIT", 279 | "dependencies": { 280 | "@lezer/highlight": "^1.0.0", 281 | "@lezer/lr": "^1.0.0" 282 | } 283 | }, 284 | "node_modules/@lezer/lr": { 285 | "version": "1.3.3", 286 | "resolved": "https://repo.huaweicloud.com/repository/npm/@lezer/lr/-/lr-1.3.3.tgz", 287 | "integrity": "sha512-JPQe3mwJlzEVqy67iQiiGozhcngbO8QBgpqZM6oL1Wj/dXckrEexpBLeFkq0edtW5IqnPRFxA24BHJni8Js69w==", 288 | "dev": true, 289 | "license": "MIT", 290 | "dependencies": { 291 | "@lezer/common": "^1.0.0" 292 | } 293 | }, 294 | "node_modules/@lezer/xml": { 295 | "version": "1.0.1", 296 | "resolved": "https://repo.huaweicloud.com/repository/npm/@lezer/xml/-/xml-1.0.1.tgz", 297 | "integrity": "sha512-jMDXrV953sDAUEMI25VNrI9dz94Ai96FfeglytFINhhwQ867HKlCE2jt3AwZTCT7M528WxdDWv/Ty8e9wizwmQ==", 298 | "dev": true, 299 | "license": "MIT", 300 | "dependencies": { 301 | "@lezer/highlight": "^1.0.0", 302 | "@lezer/lr": "^1.0.0" 303 | } 304 | }, 305 | "node_modules/@sveltejs/vite-plugin-svelte": { 306 | "version": "1.4.0", 307 | "resolved": "https://repo.huaweicloud.com/repository/npm/@sveltejs/vite-plugin-svelte/-/vite-plugin-svelte-1.4.0.tgz", 308 | "integrity": "sha512-6QupI/jemMfK+yI2pMtJcu5iO2gtgTfcBdGwMZZt+lgbFELhszbDl6Qjh000HgAV8+XUA+8EY8DusOFk8WhOIg==", 309 | "dev": true, 310 | "license": "MIT", 311 | "dependencies": { 312 | "debug": "^4.3.4", 313 | "deepmerge": "^4.2.2", 314 | "kleur": "^4.1.5", 315 | "magic-string": "^0.26.7", 316 | "svelte-hmr": "^0.15.1", 317 | "vitefu": "^0.2.2" 318 | }, 319 | "engines": { 320 | "node": "^14.18.0 || >= 16" 321 | }, 322 | "peerDependencies": { 323 | "svelte": "^3.44.0", 324 | "vite": "^3.0.0" 325 | } 326 | }, 327 | "node_modules/carbon-components-svelte": { 328 | "version": "0.72.3", 329 | "resolved": "https://repo.huaweicloud.com/repository/npm/carbon-components-svelte/-/carbon-components-svelte-0.72.3.tgz", 330 | "integrity": "sha512-ill4KeWH7THXDLRfuxg0panknTvl75U54+6366yNmtkPbzmCqp/gw5aW3JPlJcOyYny1F9X+fTYY3kQkEigORA==", 331 | "dev": true, 332 | "license": "Apache-2.0", 333 | "dependencies": { 334 | "flatpickr": "4.6.9" 335 | } 336 | }, 337 | "node_modules/carbon-icons-svelte": { 338 | "version": "11.4.0", 339 | "resolved": "https://repo.huaweicloud.com/repository/npm/carbon-icons-svelte/-/carbon-icons-svelte-11.4.0.tgz", 340 | "integrity": "sha512-p/llZde2kP2BI9SOqM+QFKGfQnYrW+4dVxF1rAYriEADXDsjt9EYlh+KpQ5qf4JpXAq+e2+TB/r/lIG1xdUbAQ==", 341 | "dev": true, 342 | "license": "Apache-2.0" 343 | }, 344 | "node_modules/codemirror": { 345 | "version": "6.0.1", 346 | "resolved": "https://repo.huaweicloud.com/repository/npm/codemirror/-/codemirror-6.0.1.tgz", 347 | "integrity": "sha512-J8j+nZ+CdWmIeFIGXEFbFPtpiYacFMDR8GlHK3IyHQJMCaVRfGx9NT+Hxivv1ckLWPvNdZqndbr/7lVhrf/Svg==", 348 | "dev": true, 349 | "license": "MIT", 350 | "peer": true, 351 | "dependencies": { 352 | "@codemirror/autocomplete": "^6.0.0", 353 | "@codemirror/commands": "^6.0.0", 354 | "@codemirror/language": "^6.0.0", 355 | "@codemirror/lint": "^6.0.0", 356 | "@codemirror/search": "^6.0.0", 357 | "@codemirror/state": "^6.0.0", 358 | "@codemirror/view": "^6.0.0" 359 | } 360 | }, 361 | "node_modules/crelt": { 362 | "version": "1.0.5", 363 | "resolved": "https://repo.huaweicloud.com/repository/npm/crelt/-/crelt-1.0.5.tgz", 364 | "integrity": "sha512-+BO9wPPi+DWTDcNYhr/W90myha8ptzftZT+LwcmUbbok0rcP/fequmFYCw8NMoH7pkAZQzU78b3kYrlua5a9eA==", 365 | "dev": true, 366 | "license": "MIT" 367 | }, 368 | "node_modules/debug": { 369 | "version": "4.3.4", 370 | "resolved": "https://repo.huaweicloud.com/repository/npm/debug/-/debug-4.3.4.tgz", 371 | "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", 372 | "dev": true, 373 | "license": "MIT", 374 | "dependencies": { 375 | "ms": "2.1.2" 376 | }, 377 | "engines": { 378 | "node": ">=6.0" 379 | }, 380 | "peerDependenciesMeta": { 381 | "supports-color": { 382 | "optional": true 383 | } 384 | } 385 | }, 386 | "node_modules/deepmerge": { 387 | "version": "4.3.0", 388 | "resolved": "https://repo.huaweicloud.com/repository/npm/deepmerge/-/deepmerge-4.3.0.tgz", 389 | "integrity": "sha512-z2wJZXrmeHdvYJp/Ux55wIjqo81G5Bp4c+oELTW+7ar6SogWHajt5a9gO3s3IDaGSAXjDk0vlQKN3rms8ab3og==", 390 | "dev": true, 391 | "license": "MIT", 392 | "engines": { 393 | "node": ">=0.10.0" 394 | } 395 | }, 396 | "node_modules/esbuild": { 397 | "version": "0.15.18", 398 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild/-/esbuild-0.15.18.tgz", 399 | "integrity": "sha512-x/R72SmW3sSFRm5zrrIjAhCeQSAWoni3CmHEqfQrZIQTM3lVCdehdwuIqaOtfC2slvpdlLa62GYoN8SxT23m6Q==", 400 | "dev": true, 401 | "hasInstallScript": true, 402 | "license": "MIT", 403 | "bin": { 404 | "esbuild": "bin/esbuild" 405 | }, 406 | "engines": { 407 | "node": ">=12" 408 | }, 409 | "optionalDependencies": { 410 | "@esbuild/android-arm": "0.15.18", 411 | "@esbuild/linux-loong64": "0.15.18", 412 | "esbuild-android-64": "0.15.18", 413 | "esbuild-android-arm64": "0.15.18", 414 | "esbuild-darwin-64": "0.15.18", 415 | "esbuild-darwin-arm64": "0.15.18", 416 | "esbuild-freebsd-64": "0.15.18", 417 | "esbuild-freebsd-arm64": "0.15.18", 418 | "esbuild-linux-32": "0.15.18", 419 | "esbuild-linux-64": "0.15.18", 420 | "esbuild-linux-arm": "0.15.18", 421 | "esbuild-linux-arm64": "0.15.18", 422 | "esbuild-linux-mips64le": "0.15.18", 423 | "esbuild-linux-ppc64le": "0.15.18", 424 | "esbuild-linux-riscv64": "0.15.18", 425 | "esbuild-linux-s390x": "0.15.18", 426 | "esbuild-netbsd-64": "0.15.18", 427 | "esbuild-openbsd-64": "0.15.18", 428 | "esbuild-sunos-64": "0.15.18", 429 | "esbuild-windows-32": "0.15.18", 430 | "esbuild-windows-64": "0.15.18", 431 | "esbuild-windows-arm64": "0.15.18" 432 | } 433 | }, 434 | "node_modules/esbuild-android-64": { 435 | "version": "0.15.18", 436 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-android-64/-/esbuild-android-64-0.15.18.tgz", 437 | "integrity": "sha512-wnpt3OXRhcjfIDSZu9bnzT4/TNTDsOUvip0foZOUBG7QbSt//w3QV4FInVJxNhKc/ErhUxc5z4QjHtMi7/TbgA==", 438 | "cpu": [ 439 | "x64" 440 | ], 441 | "dev": true, 442 | "license": "MIT", 443 | "optional": true, 444 | "os": [ 445 | "android" 446 | ], 447 | "engines": { 448 | "node": ">=12" 449 | } 450 | }, 451 | "node_modules/esbuild-android-arm64": { 452 | "version": "0.15.18", 453 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-android-arm64/-/esbuild-android-arm64-0.15.18.tgz", 454 | "integrity": "sha512-G4xu89B8FCzav9XU8EjsXacCKSG2FT7wW9J6hOc18soEHJdtWu03L3TQDGf0geNxfLTtxENKBzMSq9LlbjS8OQ==", 455 | "cpu": [ 456 | "arm64" 457 | ], 458 | "dev": true, 459 | "license": "MIT", 460 | "optional": true, 461 | "os": [ 462 | "android" 463 | ], 464 | "engines": { 465 | "node": ">=12" 466 | } 467 | }, 468 | "node_modules/esbuild-darwin-64": { 469 | "version": "0.15.18", 470 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-darwin-64/-/esbuild-darwin-64-0.15.18.tgz", 471 | "integrity": "sha512-2WAvs95uPnVJPuYKP0Eqx+Dl/jaYseZEUUT1sjg97TJa4oBtbAKnPnl3b5M9l51/nbx7+QAEtuummJZW0sBEmg==", 472 | "cpu": [ 473 | "x64" 474 | ], 475 | "dev": true, 476 | "license": "MIT", 477 | "optional": true, 478 | "os": [ 479 | "darwin" 480 | ], 481 | "engines": { 482 | "node": ">=12" 483 | } 484 | }, 485 | "node_modules/esbuild-darwin-arm64": { 486 | "version": "0.15.18", 487 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-darwin-arm64/-/esbuild-darwin-arm64-0.15.18.tgz", 488 | "integrity": "sha512-tKPSxcTJ5OmNb1btVikATJ8NftlyNlc8BVNtyT/UAr62JFOhwHlnoPrhYWz09akBLHI9nElFVfWSTSRsrZiDUA==", 489 | "cpu": [ 490 | "arm64" 491 | ], 492 | "dev": true, 493 | "license": "MIT", 494 | "optional": true, 495 | "os": [ 496 | "darwin" 497 | ], 498 | "engines": { 499 | "node": ">=12" 500 | } 501 | }, 502 | "node_modules/esbuild-freebsd-64": { 503 | "version": "0.15.18", 504 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-freebsd-64/-/esbuild-freebsd-64-0.15.18.tgz", 505 | "integrity": "sha512-TT3uBUxkteAjR1QbsmvSsjpKjOX6UkCstr8nMr+q7zi3NuZ1oIpa8U41Y8I8dJH2fJgdC3Dj3CXO5biLQpfdZA==", 506 | "cpu": [ 507 | "x64" 508 | ], 509 | "dev": true, 510 | "license": "MIT", 511 | "optional": true, 512 | "os": [ 513 | "freebsd" 514 | ], 515 | "engines": { 516 | "node": ">=12" 517 | } 518 | }, 519 | "node_modules/esbuild-freebsd-arm64": { 520 | "version": "0.15.18", 521 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-freebsd-arm64/-/esbuild-freebsd-arm64-0.15.18.tgz", 522 | "integrity": "sha512-R/oVr+X3Tkh+S0+tL41wRMbdWtpWB8hEAMsOXDumSSa6qJR89U0S/PpLXrGF7Wk/JykfpWNokERUpCeHDl47wA==", 523 | "cpu": [ 524 | "arm64" 525 | ], 526 | "dev": true, 527 | "license": "MIT", 528 | "optional": true, 529 | "os": [ 530 | "freebsd" 531 | ], 532 | "engines": { 533 | "node": ">=12" 534 | } 535 | }, 536 | "node_modules/esbuild-linux-32": { 537 | "version": "0.15.18", 538 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-linux-32/-/esbuild-linux-32-0.15.18.tgz", 539 | "integrity": "sha512-lphF3HiCSYtaa9p1DtXndiQEeQDKPl9eN/XNoBf2amEghugNuqXNZA/ZovthNE2aa4EN43WroO0B85xVSjYkbg==", 540 | "cpu": [ 541 | "ia32" 542 | ], 543 | "dev": true, 544 | "license": "MIT", 545 | "optional": true, 546 | "os": [ 547 | "linux" 548 | ], 549 | "engines": { 550 | "node": ">=12" 551 | } 552 | }, 553 | "node_modules/esbuild-linux-64": { 554 | "version": "0.15.18", 555 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-linux-64/-/esbuild-linux-64-0.15.18.tgz", 556 | "integrity": "sha512-hNSeP97IviD7oxLKFuii5sDPJ+QHeiFTFLoLm7NZQligur8poNOWGIgpQ7Qf8Balb69hptMZzyOBIPtY09GZYw==", 557 | "cpu": [ 558 | "x64" 559 | ], 560 | "dev": true, 561 | "license": "MIT", 562 | "optional": true, 563 | "os": [ 564 | "linux" 565 | ], 566 | "engines": { 567 | "node": ">=12" 568 | } 569 | }, 570 | "node_modules/esbuild-linux-arm": { 571 | "version": "0.15.18", 572 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-linux-arm/-/esbuild-linux-arm-0.15.18.tgz", 573 | "integrity": "sha512-UH779gstRblS4aoS2qpMl3wjg7U0j+ygu3GjIeTonCcN79ZvpPee12Qun3vcdxX+37O5LFxz39XeW2I9bybMVA==", 574 | "cpu": [ 575 | "arm" 576 | ], 577 | "dev": true, 578 | "license": "MIT", 579 | "optional": true, 580 | "os": [ 581 | "linux" 582 | ], 583 | "engines": { 584 | "node": ">=12" 585 | } 586 | }, 587 | "node_modules/esbuild-linux-arm64": { 588 | "version": "0.15.18", 589 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-linux-arm64/-/esbuild-linux-arm64-0.15.18.tgz", 590 | "integrity": "sha512-54qr8kg/6ilcxd+0V3h9rjT4qmjc0CccMVWrjOEM/pEcUzt8X62HfBSeZfT2ECpM7104mk4yfQXkosY8Quptug==", 591 | "cpu": [ 592 | "arm64" 593 | ], 594 | "dev": true, 595 | "license": "MIT", 596 | "optional": true, 597 | "os": [ 598 | "linux" 599 | ], 600 | "engines": { 601 | "node": ">=12" 602 | } 603 | }, 604 | "node_modules/esbuild-linux-mips64le": { 605 | "version": "0.15.18", 606 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-linux-mips64le/-/esbuild-linux-mips64le-0.15.18.tgz", 607 | "integrity": "sha512-Mk6Ppwzzz3YbMl/ZZL2P0q1tnYqh/trYZ1VfNP47C31yT0K8t9s7Z077QrDA/guU60tGNp2GOwCQnp+DYv7bxQ==", 608 | "cpu": [ 609 | "mips64el" 610 | ], 611 | "dev": true, 612 | "license": "MIT", 613 | "optional": true, 614 | "os": [ 615 | "linux" 616 | ], 617 | "engines": { 618 | "node": ">=12" 619 | } 620 | }, 621 | "node_modules/esbuild-linux-ppc64le": { 622 | "version": "0.15.18", 623 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-linux-ppc64le/-/esbuild-linux-ppc64le-0.15.18.tgz", 624 | "integrity": "sha512-b0XkN4pL9WUulPTa/VKHx2wLCgvIAbgwABGnKMY19WhKZPT+8BxhZdqz6EgkqCLld7X5qiCY2F/bfpUUlnFZ9w==", 625 | "cpu": [ 626 | "ppc64" 627 | ], 628 | "dev": true, 629 | "license": "MIT", 630 | "optional": true, 631 | "os": [ 632 | "linux" 633 | ], 634 | "engines": { 635 | "node": ">=12" 636 | } 637 | }, 638 | "node_modules/esbuild-linux-riscv64": { 639 | "version": "0.15.18", 640 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-linux-riscv64/-/esbuild-linux-riscv64-0.15.18.tgz", 641 | "integrity": "sha512-ba2COaoF5wL6VLZWn04k+ACZjZ6NYniMSQStodFKH/Pu6RxzQqzsmjR1t9QC89VYJxBeyVPTaHuBMCejl3O/xg==", 642 | "cpu": [ 643 | "riscv64" 644 | ], 645 | "dev": true, 646 | "license": "MIT", 647 | "optional": true, 648 | "os": [ 649 | "linux" 650 | ], 651 | "engines": { 652 | "node": ">=12" 653 | } 654 | }, 655 | "node_modules/esbuild-linux-s390x": { 656 | "version": "0.15.18", 657 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-linux-s390x/-/esbuild-linux-s390x-0.15.18.tgz", 658 | "integrity": "sha512-VbpGuXEl5FCs1wDVp93O8UIzl3ZrglgnSQ+Hu79g7hZu6te6/YHgVJxCM2SqfIila0J3k0csfnf8VD2W7u2kzQ==", 659 | "cpu": [ 660 | "s390x" 661 | ], 662 | "dev": true, 663 | "license": "MIT", 664 | "optional": true, 665 | "os": [ 666 | "linux" 667 | ], 668 | "engines": { 669 | "node": ">=12" 670 | } 671 | }, 672 | "node_modules/esbuild-netbsd-64": { 673 | "version": "0.15.18", 674 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-netbsd-64/-/esbuild-netbsd-64-0.15.18.tgz", 675 | "integrity": "sha512-98ukeCdvdX7wr1vUYQzKo4kQ0N2p27H7I11maINv73fVEXt2kyh4K4m9f35U1K43Xc2QGXlzAw0K9yoU7JUjOg==", 676 | "cpu": [ 677 | "x64" 678 | ], 679 | "dev": true, 680 | "license": "MIT", 681 | "optional": true, 682 | "os": [ 683 | "netbsd" 684 | ], 685 | "engines": { 686 | "node": ">=12" 687 | } 688 | }, 689 | "node_modules/esbuild-openbsd-64": { 690 | "version": "0.15.18", 691 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-openbsd-64/-/esbuild-openbsd-64-0.15.18.tgz", 692 | "integrity": "sha512-yK5NCcH31Uae076AyQAXeJzt/vxIo9+omZRKj1pauhk3ITuADzuOx5N2fdHrAKPxN+zH3w96uFKlY7yIn490xQ==", 693 | "cpu": [ 694 | "x64" 695 | ], 696 | "dev": true, 697 | "license": "MIT", 698 | "optional": true, 699 | "os": [ 700 | "openbsd" 701 | ], 702 | "engines": { 703 | "node": ">=12" 704 | } 705 | }, 706 | "node_modules/esbuild-sunos-64": { 707 | "version": "0.15.18", 708 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-sunos-64/-/esbuild-sunos-64-0.15.18.tgz", 709 | "integrity": "sha512-On22LLFlBeLNj/YF3FT+cXcyKPEI263nflYlAhz5crxtp3yRG1Ugfr7ITyxmCmjm4vbN/dGrb/B7w7U8yJR9yw==", 710 | "cpu": [ 711 | "x64" 712 | ], 713 | "dev": true, 714 | "license": "MIT", 715 | "optional": true, 716 | "os": [ 717 | "sunos" 718 | ], 719 | "engines": { 720 | "node": ">=12" 721 | } 722 | }, 723 | "node_modules/esbuild-windows-32": { 724 | "version": "0.15.18", 725 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-windows-32/-/esbuild-windows-32-0.15.18.tgz", 726 | "integrity": "sha512-o+eyLu2MjVny/nt+E0uPnBxYuJHBvho8vWsC2lV61A7wwTWC3jkN2w36jtA+yv1UgYkHRihPuQsL23hsCYGcOQ==", 727 | "cpu": [ 728 | "ia32" 729 | ], 730 | "dev": true, 731 | "license": "MIT", 732 | "optional": true, 733 | "os": [ 734 | "win32" 735 | ], 736 | "engines": { 737 | "node": ">=12" 738 | } 739 | }, 740 | "node_modules/esbuild-windows-64": { 741 | "version": "0.15.18", 742 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-windows-64/-/esbuild-windows-64-0.15.18.tgz", 743 | "integrity": "sha512-qinug1iTTaIIrCorAUjR0fcBk24fjzEedFYhhispP8Oc7SFvs+XeW3YpAKiKp8dRpizl4YYAhxMjlftAMJiaUw==", 744 | "cpu": [ 745 | "x64" 746 | ], 747 | "dev": true, 748 | "license": "MIT", 749 | "optional": true, 750 | "os": [ 751 | "win32" 752 | ], 753 | "engines": { 754 | "node": ">=12" 755 | } 756 | }, 757 | "node_modules/esbuild-windows-arm64": { 758 | "version": "0.15.18", 759 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-windows-arm64/-/esbuild-windows-arm64-0.15.18.tgz", 760 | "integrity": "sha512-q9bsYzegpZcLziq0zgUi5KqGVtfhjxGbnksaBFYmWLxeV/S1fK4OLdq2DFYnXcLMjlZw2L0jLsk1eGoB522WXQ==", 761 | "cpu": [ 762 | "arm64" 763 | ], 764 | "dev": true, 765 | "license": "MIT", 766 | "optional": true, 767 | "os": [ 768 | "win32" 769 | ], 770 | "engines": { 771 | "node": ">=12" 772 | } 773 | }, 774 | "node_modules/flatpickr": { 775 | "version": "4.6.9", 776 | "resolved": "https://repo.huaweicloud.com/repository/npm/flatpickr/-/flatpickr-4.6.9.tgz", 777 | "integrity": "sha512-F0azNNi8foVWKSF+8X+ZJzz8r9sE1G4hl06RyceIaLvyltKvDl6vqk9Lm/6AUUCi5HWaIjiUbk7UpeE/fOXOpw==", 778 | "dev": true, 779 | "license": "MIT" 780 | }, 781 | "node_modules/fsevents": { 782 | "version": "2.3.2", 783 | "resolved": "https://repo.huaweicloud.com/repository/npm/fsevents/-/fsevents-2.3.2.tgz", 784 | "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", 785 | "dev": true, 786 | "hasInstallScript": true, 787 | "license": "MIT", 788 | "optional": true, 789 | "os": [ 790 | "darwin" 791 | ], 792 | "engines": { 793 | "node": "^8.16.0 || ^10.6.0 || >=11.0.0" 794 | } 795 | }, 796 | "node_modules/function-bind": { 797 | "version": "1.1.1", 798 | "resolved": "https://repo.huaweicloud.com/repository/npm/function-bind/-/function-bind-1.1.1.tgz", 799 | "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", 800 | "dev": true, 801 | "license": "MIT" 802 | }, 803 | "node_modules/has": { 804 | "version": "1.0.3", 805 | "resolved": "https://repo.huaweicloud.com/repository/npm/has/-/has-1.0.3.tgz", 806 | "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", 807 | "dev": true, 808 | "license": "MIT", 809 | "dependencies": { 810 | "function-bind": "^1.1.1" 811 | }, 812 | "engines": { 813 | "node": ">= 0.4.0" 814 | } 815 | }, 816 | "node_modules/is-core-module": { 817 | "version": "2.11.0", 818 | "resolved": "https://repo.huaweicloud.com/repository/npm/is-core-module/-/is-core-module-2.11.0.tgz", 819 | "integrity": "sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw==", 820 | "dev": true, 821 | "license": "MIT", 822 | "dependencies": { 823 | "has": "^1.0.3" 824 | }, 825 | "funding": { 826 | "url": "https://github.com/sponsors/ljharb" 827 | } 828 | }, 829 | "node_modules/kleur": { 830 | "version": "4.1.5", 831 | "resolved": "https://repo.huaweicloud.com/repository/npm/kleur/-/kleur-4.1.5.tgz", 832 | "integrity": "sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ==", 833 | "dev": true, 834 | "license": "MIT", 835 | "engines": { 836 | "node": ">=6" 837 | } 838 | }, 839 | "node_modules/magic-string": { 840 | "version": "0.26.7", 841 | "resolved": "https://repo.huaweicloud.com/repository/npm/magic-string/-/magic-string-0.26.7.tgz", 842 | "integrity": "sha512-hX9XH3ziStPoPhJxLq1syWuZMxbDvGNbVchfrdCtanC7D13888bMFow61x8axrx+GfHLtVeAx2kxL7tTGRl+Ow==", 843 | "dev": true, 844 | "license": "MIT", 845 | "dependencies": { 846 | "sourcemap-codec": "^1.4.8" 847 | }, 848 | "engines": { 849 | "node": ">=12" 850 | } 851 | }, 852 | "node_modules/ms": { 853 | "version": "2.1.2", 854 | "resolved": "https://repo.huaweicloud.com/repository/npm/ms/-/ms-2.1.2.tgz", 855 | "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", 856 | "dev": true, 857 | "license": "MIT" 858 | }, 859 | "node_modules/nanoid": { 860 | "version": "3.3.4", 861 | "resolved": "https://repo.huaweicloud.com/repository/npm/nanoid/-/nanoid-3.3.4.tgz", 862 | "integrity": "sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==", 863 | "dev": true, 864 | "license": "MIT", 865 | "bin": { 866 | "nanoid": "bin/nanoid.cjs" 867 | }, 868 | "engines": { 869 | "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" 870 | } 871 | }, 872 | "node_modules/path-parse": { 873 | "version": "1.0.7", 874 | "resolved": "https://repo.huaweicloud.com/repository/npm/path-parse/-/path-parse-1.0.7.tgz", 875 | "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", 876 | "dev": true, 877 | "license": "MIT" 878 | }, 879 | "node_modules/picocolors": { 880 | "version": "1.0.0", 881 | "resolved": "https://repo.huaweicloud.com/repository/npm/picocolors/-/picocolors-1.0.0.tgz", 882 | "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", 883 | "dev": true, 884 | "license": "ISC" 885 | }, 886 | "node_modules/postcss": { 887 | "version": "8.4.21", 888 | "resolved": "https://repo.huaweicloud.com/repository/npm/postcss/-/postcss-8.4.21.tgz", 889 | "integrity": "sha512-tP7u/Sn/dVxK2NnruI4H9BG+x+Wxz6oeZ1cJ8P6G/PZY0IKk4k/63TDsQf2kQq3+qoJeLm2kIBUNlZe3zgb4Zg==", 890 | "dev": true, 891 | "funding": [ 892 | { 893 | "type": "opencollective", 894 | "url": "https://opencollective.com/postcss/" 895 | }, 896 | { 897 | "type": "tidelift", 898 | "url": "https://tidelift.com/funding/github/npm/postcss" 899 | } 900 | ], 901 | "license": "MIT", 902 | "dependencies": { 903 | "nanoid": "^3.3.4", 904 | "picocolors": "^1.0.0", 905 | "source-map-js": "^1.0.2" 906 | }, 907 | "engines": { 908 | "node": "^10 || ^12 || >=14" 909 | } 910 | }, 911 | "node_modules/resolve": { 912 | "version": "1.22.1", 913 | "resolved": "https://repo.huaweicloud.com/repository/npm/resolve/-/resolve-1.22.1.tgz", 914 | "integrity": "sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==", 915 | "dev": true, 916 | "license": "MIT", 917 | "dependencies": { 918 | "is-core-module": "^2.9.0", 919 | "path-parse": "^1.0.7", 920 | "supports-preserve-symlinks-flag": "^1.0.0" 921 | }, 922 | "bin": { 923 | "resolve": "bin/resolve" 924 | }, 925 | "funding": { 926 | "url": "https://github.com/sponsors/ljharb" 927 | } 928 | }, 929 | "node_modules/rollup": { 930 | "version": "2.79.1", 931 | "resolved": "https://repo.huaweicloud.com/repository/npm/rollup/-/rollup-2.79.1.tgz", 932 | "integrity": "sha512-uKxbd0IhMZOhjAiD5oAFp7BqvkA4Dv47qpOCtaNvng4HBwdbWtdOh8f5nZNuk2rp51PMGk3bzfWu5oayNEuYnw==", 933 | "dev": true, 934 | "license": "MIT", 935 | "bin": { 936 | "rollup": "dist/bin/rollup" 937 | }, 938 | "engines": { 939 | "node": ">=10.0.0" 940 | }, 941 | "optionalDependencies": { 942 | "fsevents": "~2.3.2" 943 | } 944 | }, 945 | "node_modules/source-map-js": { 946 | "version": "1.0.2", 947 | "resolved": "https://repo.huaweicloud.com/repository/npm/source-map-js/-/source-map-js-1.0.2.tgz", 948 | "integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==", 949 | "dev": true, 950 | "license": "BSD-3-Clause", 951 | "engines": { 952 | "node": ">=0.10.0" 953 | } 954 | }, 955 | "node_modules/sourcemap-codec": { 956 | "version": "1.4.8", 957 | "resolved": "https://repo.huaweicloud.com/repository/npm/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz", 958 | "integrity": "sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==", 959 | "deprecated": "Please use @jridgewell/sourcemap-codec instead", 960 | "dev": true, 961 | "license": "MIT" 962 | }, 963 | "node_modules/style-mod": { 964 | "version": "4.0.0", 965 | "resolved": "https://repo.huaweicloud.com/repository/npm/style-mod/-/style-mod-4.0.0.tgz", 966 | "integrity": "sha512-OPhtyEjyyN9x3nhPsu76f52yUGXiZcgvsrFVtvTkyGRQJ0XK+GPc6ov1z+lRpbeabka+MYEQxOYRnt5nF30aMw==", 967 | "dev": true, 968 | "license": "MIT" 969 | }, 970 | "node_modules/supports-preserve-symlinks-flag": { 971 | "version": "1.0.0", 972 | "resolved": "https://repo.huaweicloud.com/repository/npm/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", 973 | "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", 974 | "dev": true, 975 | "license": "MIT", 976 | "engines": { 977 | "node": ">= 0.4" 978 | }, 979 | "funding": { 980 | "url": "https://github.com/sponsors/ljharb" 981 | } 982 | }, 983 | "node_modules/svelte": { 984 | "version": "3.55.1", 985 | "resolved": "https://repo.huaweicloud.com/repository/npm/svelte/-/svelte-3.55.1.tgz", 986 | "integrity": "sha512-S+87/P0Ve67HxKkEV23iCdAh/SX1xiSfjF1HOglno/YTbSTW7RniICMCofWGdJJbdjw3S+0PfFb1JtGfTXE0oQ==", 987 | "dev": true, 988 | "license": "MIT", 989 | "engines": { 990 | "node": ">= 8" 991 | } 992 | }, 993 | "node_modules/svelte-codemirror-editor": { 994 | "version": "1.1.0", 995 | "resolved": "https://repo.huaweicloud.com/repository/npm/svelte-codemirror-editor/-/svelte-codemirror-editor-1.1.0.tgz", 996 | "integrity": "sha512-wFdMIsZds5qzn3x2NbFUxDVU6Cn3rwFdq0035ypaFVgzTjJ90bnPm6IbrFA4OJz1ngIyfbIuPAPDjm7rJIr0gg==", 997 | "dev": true, 998 | "license": "MIT", 999 | "peerDependencies": { 1000 | "codemirror": "^6.0.0" 1001 | } 1002 | }, 1003 | "node_modules/svelte-hmr": { 1004 | "version": "0.15.1", 1005 | "resolved": "https://repo.huaweicloud.com/repository/npm/svelte-hmr/-/svelte-hmr-0.15.1.tgz", 1006 | "integrity": "sha512-BiKB4RZ8YSwRKCNVdNxK/GfY+r4Kjgp9jCLEy0DuqAKfmQtpL38cQK3afdpjw4sqSs4PLi3jIPJIFp259NkZtA==", 1007 | "dev": true, 1008 | "license": "ISC", 1009 | "engines": { 1010 | "node": "^12.20 || ^14.13.1 || >= 16" 1011 | }, 1012 | "peerDependencies": { 1013 | "svelte": ">=3.19.0" 1014 | } 1015 | }, 1016 | "node_modules/vite": { 1017 | "version": "3.2.5", 1018 | "resolved": "https://repo.huaweicloud.com/repository/npm/vite/-/vite-3.2.5.tgz", 1019 | "integrity": "sha512-4mVEpXpSOgrssFZAOmGIr85wPHKvaDAcXqxVxVRZhljkJOMZi1ibLibzjLHzJvcok8BMguLc7g1W6W/GqZbLdQ==", 1020 | "dev": true, 1021 | "license": "MIT", 1022 | "dependencies": { 1023 | "esbuild": "^0.15.9", 1024 | "postcss": "^8.4.18", 1025 | "resolve": "^1.22.1", 1026 | "rollup": "^2.79.1" 1027 | }, 1028 | "bin": { 1029 | "vite": "bin/vite.js" 1030 | }, 1031 | "engines": { 1032 | "node": "^14.18.0 || >=16.0.0" 1033 | }, 1034 | "optionalDependencies": { 1035 | "fsevents": "~2.3.2" 1036 | }, 1037 | "peerDependencies": { 1038 | "@types/node": ">= 14", 1039 | "less": "*", 1040 | "sass": "*", 1041 | "stylus": "*", 1042 | "sugarss": "*", 1043 | "terser": "^5.4.0" 1044 | }, 1045 | "peerDependenciesMeta": { 1046 | "@types/node": { 1047 | "optional": true 1048 | }, 1049 | "less": { 1050 | "optional": true 1051 | }, 1052 | "sass": { 1053 | "optional": true 1054 | }, 1055 | "stylus": { 1056 | "optional": true 1057 | }, 1058 | "sugarss": { 1059 | "optional": true 1060 | }, 1061 | "terser": { 1062 | "optional": true 1063 | } 1064 | } 1065 | }, 1066 | "node_modules/vitefu": { 1067 | "version": "0.2.4", 1068 | "resolved": "https://repo.huaweicloud.com/repository/npm/vitefu/-/vitefu-0.2.4.tgz", 1069 | "integrity": "sha512-fanAXjSaf9xXtOOeno8wZXIhgia+CZury481LsDaV++lSvcU2R9Ch2bPh3PYFyoHW+w9LqAeYRISVQjUIew14g==", 1070 | "dev": true, 1071 | "license": "MIT", 1072 | "peerDependencies": { 1073 | "vite": "^3.0.0 || ^4.0.0" 1074 | }, 1075 | "peerDependenciesMeta": { 1076 | "vite": { 1077 | "optional": true 1078 | } 1079 | } 1080 | }, 1081 | "node_modules/w3c-keyname": { 1082 | "version": "2.2.6", 1083 | "resolved": "https://repo.huaweicloud.com/repository/npm/w3c-keyname/-/w3c-keyname-2.2.6.tgz", 1084 | "integrity": "sha512-f+fciywl1SJEniZHD6H+kUO8gOnwIr7f4ijKA6+ZvJFjeGi1r4PDLl53Ayud9O/rk64RqgoQine0feoeOU0kXg==", 1085 | "dev": true, 1086 | "license": "MIT" 1087 | }, 1088 | "node_modules/yootils": { 1089 | "version": "0.3.1", 1090 | "resolved": "https://mirrors.cloud.tencent.com/npm/yootils/-/yootils-0.3.1.tgz", 1091 | "integrity": "sha512-A7AMeJfGefk317I/3tBoUYRcDcNavKEkpiPN/nQsBz/viI2GvT7BtrqdPD6rGqBFN8Ax7v4obf+Cl32JF9DDVw==", 1092 | "dev": true 1093 | } 1094 | }, 1095 | "dependencies": { 1096 | "@codemirror/autocomplete": { 1097 | "version": "6.4.2", 1098 | "resolved": "https://repo.huaweicloud.com/repository/npm/@codemirror/autocomplete/-/autocomplete-6.4.2.tgz", 1099 | "integrity": "sha512-8WE2xp+D0MpWEv5lZ6zPW1/tf4AGb358T5GWYiKEuCP8MvFfT3tH2mIF9Y2yr2e3KbHuSvsVhosiEyqCpiJhZQ==", 1100 | "dev": true, 1101 | "requires": { 1102 | "@codemirror/language": "^6.0.0", 1103 | "@codemirror/state": "^6.0.0", 1104 | "@codemirror/view": "^6.6.0", 1105 | "@lezer/common": "^1.0.0" 1106 | } 1107 | }, 1108 | "@codemirror/commands": { 1109 | "version": "6.2.1", 1110 | "resolved": "https://repo.huaweicloud.com/repository/npm/@codemirror/commands/-/commands-6.2.1.tgz", 1111 | "integrity": "sha512-FFiNKGuHA5O8uC6IJE5apI5rT9gyjlw4whqy4vlcX0wE/myxL6P1s0upwDhY4HtMWLOwzwsp0ap3bjdQhvfDOA==", 1112 | "dev": true, 1113 | "peer": true, 1114 | "requires": { 1115 | "@codemirror/language": "^6.0.0", 1116 | "@codemirror/state": "^6.2.0", 1117 | "@codemirror/view": "^6.0.0", 1118 | "@lezer/common": "^1.0.0" 1119 | } 1120 | }, 1121 | "@codemirror/lang-css": { 1122 | "version": "6.1.1", 1123 | "resolved": "https://repo.huaweicloud.com/repository/npm/@codemirror/lang-css/-/lang-css-6.1.1.tgz", 1124 | "integrity": "sha512-P6jdNEHyRcqqDgbvHYyC9Wxkek0rnG3a9aVSRi4a7WrjPbQtBTaOmvYpXmm13zZMAatO4Oqpac+0QZs7sy+LnQ==", 1125 | "dev": true, 1126 | "requires": { 1127 | "@codemirror/autocomplete": "^6.0.0", 1128 | "@codemirror/language": "^6.0.0", 1129 | "@codemirror/state": "^6.0.0", 1130 | "@lezer/css": "^1.0.0" 1131 | } 1132 | }, 1133 | "@codemirror/lang-html": { 1134 | "version": "6.4.2", 1135 | "resolved": "https://repo.huaweicloud.com/repository/npm/@codemirror/lang-html/-/lang-html-6.4.2.tgz", 1136 | "integrity": "sha512-bqCBASkteKySwtIbiV/WCtGnn/khLRbbiV5TE+d9S9eQJD7BA4c5dTRm2b3bVmSpilff5EYxvB4PQaZzM/7cNw==", 1137 | "dev": true, 1138 | "requires": { 1139 | "@codemirror/autocomplete": "^6.0.0", 1140 | "@codemirror/lang-css": "^6.0.0", 1141 | "@codemirror/lang-javascript": "^6.0.0", 1142 | "@codemirror/language": "^6.4.0", 1143 | "@codemirror/state": "^6.0.0", 1144 | "@codemirror/view": "^6.2.2", 1145 | "@lezer/common": "^1.0.0", 1146 | "@lezer/css": "^1.1.0", 1147 | "@lezer/html": "^1.3.0" 1148 | } 1149 | }, 1150 | "@codemirror/lang-javascript": { 1151 | "version": "6.1.4", 1152 | "resolved": "https://repo.huaweicloud.com/repository/npm/@codemirror/lang-javascript/-/lang-javascript-6.1.4.tgz", 1153 | "integrity": "sha512-OxLf7OfOZBTMRMi6BO/F72MNGmgOd9B0vetOLvHsDACFXayBzW8fm8aWnDM0yuy68wTK03MBf4HbjSBNRG5q7A==", 1154 | "dev": true, 1155 | "requires": { 1156 | "@codemirror/autocomplete": "^6.0.0", 1157 | "@codemirror/language": "^6.6.0", 1158 | "@codemirror/lint": "^6.0.0", 1159 | "@codemirror/state": "^6.0.0", 1160 | "@codemirror/view": "^6.0.0", 1161 | "@lezer/common": "^1.0.0", 1162 | "@lezer/javascript": "^1.0.0" 1163 | } 1164 | }, 1165 | "@codemirror/lang-json": { 1166 | "version": "6.0.1", 1167 | "resolved": "https://repo.huaweicloud.com/repository/npm/@codemirror/lang-json/-/lang-json-6.0.1.tgz", 1168 | "integrity": "sha512-+T1flHdgpqDDlJZ2Lkil/rLiRy684WMLc74xUnjJH48GQdfJo/pudlTRreZmKwzP8/tGdKf83wlbAdOCzlJOGQ==", 1169 | "dev": true, 1170 | "requires": { 1171 | "@codemirror/language": "^6.0.0", 1172 | "@lezer/json": "^1.0.0" 1173 | } 1174 | }, 1175 | "@codemirror/lang-xml": { 1176 | "version": "6.0.2", 1177 | "resolved": "https://repo.huaweicloud.com/repository/npm/@codemirror/lang-xml/-/lang-xml-6.0.2.tgz", 1178 | "integrity": "sha512-JQYZjHL2LAfpiZI2/qZ/qzDuSqmGKMwyApYmEUUCTxLM4MWS7sATUEfIguZQr9Zjx/7gcdnewb039smF6nC2zw==", 1179 | "dev": true, 1180 | "requires": { 1181 | "@codemirror/autocomplete": "^6.0.0", 1182 | "@codemirror/language": "^6.4.0", 1183 | "@codemirror/state": "^6.0.0", 1184 | "@lezer/common": "^1.0.0", 1185 | "@lezer/xml": "^1.0.0" 1186 | } 1187 | }, 1188 | "@codemirror/language": { 1189 | "version": "6.6.0", 1190 | "resolved": "https://repo.huaweicloud.com/repository/npm/@codemirror/language/-/language-6.6.0.tgz", 1191 | "integrity": "sha512-cwUd6lzt3MfNYOobdjf14ZkLbJcnv4WtndYaoBkbor/vF+rCNguMPK0IRtvZJG4dsWiaWPcK8x1VijhvSxnstg==", 1192 | "dev": true, 1193 | "requires": { 1194 | "@codemirror/state": "^6.0.0", 1195 | "@codemirror/view": "^6.0.0", 1196 | "@lezer/common": "^1.0.0", 1197 | "@lezer/highlight": "^1.0.0", 1198 | "@lezer/lr": "^1.0.0", 1199 | "style-mod": "^4.0.0" 1200 | } 1201 | }, 1202 | "@codemirror/lint": { 1203 | "version": "6.1.1", 1204 | "resolved": "https://repo.huaweicloud.com/repository/npm/@codemirror/lint/-/lint-6.1.1.tgz", 1205 | "integrity": "sha512-e+M543x0NVHGayNHQzLP4XByJsvbu/ojY6+0VF2Y4Uu66Rt1nADuxNflZwECLf7gS009smIsptSUa6bUj/U/rw==", 1206 | "dev": true, 1207 | "requires": { 1208 | "@codemirror/state": "^6.0.0", 1209 | "@codemirror/view": "^6.0.0", 1210 | "crelt": "^1.0.5" 1211 | } 1212 | }, 1213 | "@codemirror/search": { 1214 | "version": "6.2.3", 1215 | "resolved": "https://repo.huaweicloud.com/repository/npm/@codemirror/search/-/search-6.2.3.tgz", 1216 | "integrity": "sha512-V9n9233lopQhB1dyjsBK2Wc1i+8hcCqxl1wQ46c5HWWLePoe4FluV3TGHoZ04rBRlGjNyz9DTmpJErig8UE4jw==", 1217 | "dev": true, 1218 | "peer": true, 1219 | "requires": { 1220 | "@codemirror/state": "^6.0.0", 1221 | "@codemirror/view": "^6.0.0", 1222 | "crelt": "^1.0.5" 1223 | } 1224 | }, 1225 | "@codemirror/state": { 1226 | "version": "6.2.0", 1227 | "resolved": "https://repo.huaweicloud.com/repository/npm/@codemirror/state/-/state-6.2.0.tgz", 1228 | "integrity": "sha512-69QXtcrsc3RYtOtd+GsvczJ319udtBf1PTrr2KbLWM/e2CXUPnh0Nz9AUo8WfhSQ7GeL8dPVNUmhQVgpmuaNGA==", 1229 | "dev": true 1230 | }, 1231 | "@codemirror/view": { 1232 | "version": "6.9.1", 1233 | "resolved": "https://repo.huaweicloud.com/repository/npm/@codemirror/view/-/view-6.9.1.tgz", 1234 | "integrity": "sha512-bzfSjJn9dAADVpabLKWKNmMG4ibyTV2e3eOGowjElNPTdTkSbi6ixPYHm2u0ADcETfKsi2/R84Rkmi91dH9yEg==", 1235 | "dev": true, 1236 | "requires": { 1237 | "@codemirror/state": "^6.1.4", 1238 | "style-mod": "^4.0.0", 1239 | "w3c-keyname": "^2.2.4" 1240 | } 1241 | }, 1242 | "@esbuild/android-arm": { 1243 | "version": "0.15.18", 1244 | "resolved": "https://repo.huaweicloud.com/repository/npm/@esbuild/android-arm/-/android-arm-0.15.18.tgz", 1245 | "integrity": "sha512-5GT+kcs2WVGjVs7+boataCkO5Fg0y4kCjzkB5bAip7H4jfnOS3dA6KPiww9W1OEKTKeAcUVhdZGvgI65OXmUnw==", 1246 | "dev": true, 1247 | "optional": true 1248 | }, 1249 | "@esbuild/linux-loong64": { 1250 | "version": "0.15.18", 1251 | "resolved": "https://repo.huaweicloud.com/repository/npm/@esbuild/linux-loong64/-/linux-loong64-0.15.18.tgz", 1252 | "integrity": "sha512-L4jVKS82XVhw2nvzLg/19ClLWg0y27ulRwuP7lcyL6AbUWB5aPglXY3M21mauDQMDfRLs8cQmeT03r/+X3cZYQ==", 1253 | "dev": true, 1254 | "optional": true 1255 | }, 1256 | "@lezer/common": { 1257 | "version": "1.0.2", 1258 | "resolved": "https://repo.huaweicloud.com/repository/npm/@lezer/common/-/common-1.0.2.tgz", 1259 | "integrity": "sha512-SVgiGtMnMnW3ActR8SXgsDhw7a0w0ChHSYAyAUxxrOiJ1OqYWEKk/xJd84tTSPo1mo6DXLObAJALNnd0Hrv7Ng==", 1260 | "dev": true 1261 | }, 1262 | "@lezer/css": { 1263 | "version": "1.1.1", 1264 | "resolved": "https://repo.huaweicloud.com/repository/npm/@lezer/css/-/css-1.1.1.tgz", 1265 | "integrity": "sha512-mSjx+unLLapEqdOYDejnGBokB5+AiJKZVclmud0MKQOKx3DLJ5b5VTCstgDDknR6iIV4gVrN6euzsCnj0A2gQA==", 1266 | "dev": true, 1267 | "requires": { 1268 | "@lezer/highlight": "^1.0.0", 1269 | "@lezer/lr": "^1.0.0" 1270 | } 1271 | }, 1272 | "@lezer/highlight": { 1273 | "version": "1.1.3", 1274 | "resolved": "https://repo.huaweicloud.com/repository/npm/@lezer/highlight/-/highlight-1.1.3.tgz", 1275 | "integrity": "sha512-3vLKLPThO4td43lYRBygmMY18JN3CPh9w+XS2j8WC30vR4yZeFG4z1iFe4jXE43NtGqe//zHW5q8ENLlHvz9gw==", 1276 | "dev": true, 1277 | "requires": { 1278 | "@lezer/common": "^1.0.0" 1279 | } 1280 | }, 1281 | "@lezer/html": { 1282 | "version": "1.3.2", 1283 | "resolved": "https://repo.huaweicloud.com/repository/npm/@lezer/html/-/html-1.3.2.tgz", 1284 | "integrity": "sha512-LKGyDdqqDugXR/lKM9FwaKEfMerbZ/aqvhLf0P1FLLK/pVP7wKHXGcg6g3cJ7ckvFidn0tXA8jioG0irVsCBAQ==", 1285 | "dev": true, 1286 | "requires": { 1287 | "@lezer/common": "^1.0.0", 1288 | "@lezer/highlight": "^1.0.0", 1289 | "@lezer/lr": "^1.0.0" 1290 | } 1291 | }, 1292 | "@lezer/javascript": { 1293 | "version": "1.4.1", 1294 | "resolved": "https://repo.huaweicloud.com/repository/npm/@lezer/javascript/-/javascript-1.4.1.tgz", 1295 | "integrity": "sha512-Hqx36DJeYhKtdpc7wBYPR0XF56ZzIp0IkMO/zNNj80xcaFOV4Oj/P7TQc/8k2TxNhzl7tV5tXS8ZOCPbT4L3nA==", 1296 | "dev": true, 1297 | "requires": { 1298 | "@lezer/highlight": "^1.1.3", 1299 | "@lezer/lr": "^1.3.0" 1300 | } 1301 | }, 1302 | "@lezer/json": { 1303 | "version": "1.0.0", 1304 | "resolved": "https://repo.huaweicloud.com/repository/npm/@lezer/json/-/json-1.0.0.tgz", 1305 | "integrity": "sha512-zbAuUY09RBzCoCA3lJ1+ypKw5WSNvLqGMtasdW6HvVOqZoCpPr8eWrsGnOVWGKGn8Rh21FnrKRVlJXrGAVUqRw==", 1306 | "dev": true, 1307 | "requires": { 1308 | "@lezer/highlight": "^1.0.0", 1309 | "@lezer/lr": "^1.0.0" 1310 | } 1311 | }, 1312 | "@lezer/lr": { 1313 | "version": "1.3.3", 1314 | "resolved": "https://repo.huaweicloud.com/repository/npm/@lezer/lr/-/lr-1.3.3.tgz", 1315 | "integrity": "sha512-JPQe3mwJlzEVqy67iQiiGozhcngbO8QBgpqZM6oL1Wj/dXckrEexpBLeFkq0edtW5IqnPRFxA24BHJni8Js69w==", 1316 | "dev": true, 1317 | "requires": { 1318 | "@lezer/common": "^1.0.0" 1319 | } 1320 | }, 1321 | "@lezer/xml": { 1322 | "version": "1.0.1", 1323 | "resolved": "https://repo.huaweicloud.com/repository/npm/@lezer/xml/-/xml-1.0.1.tgz", 1324 | "integrity": "sha512-jMDXrV953sDAUEMI25VNrI9dz94Ai96FfeglytFINhhwQ867HKlCE2jt3AwZTCT7M528WxdDWv/Ty8e9wizwmQ==", 1325 | "dev": true, 1326 | "requires": { 1327 | "@lezer/highlight": "^1.0.0", 1328 | "@lezer/lr": "^1.0.0" 1329 | } 1330 | }, 1331 | "@sveltejs/vite-plugin-svelte": { 1332 | "version": "1.4.0", 1333 | "resolved": "https://repo.huaweicloud.com/repository/npm/@sveltejs/vite-plugin-svelte/-/vite-plugin-svelte-1.4.0.tgz", 1334 | "integrity": "sha512-6QupI/jemMfK+yI2pMtJcu5iO2gtgTfcBdGwMZZt+lgbFELhszbDl6Qjh000HgAV8+XUA+8EY8DusOFk8WhOIg==", 1335 | "dev": true, 1336 | "requires": { 1337 | "debug": "^4.3.4", 1338 | "deepmerge": "^4.2.2", 1339 | "kleur": "^4.1.5", 1340 | "magic-string": "^0.26.7", 1341 | "svelte-hmr": "^0.15.1", 1342 | "vitefu": "^0.2.2" 1343 | } 1344 | }, 1345 | "carbon-components-svelte": { 1346 | "version": "0.72.3", 1347 | "resolved": "https://repo.huaweicloud.com/repository/npm/carbon-components-svelte/-/carbon-components-svelte-0.72.3.tgz", 1348 | "integrity": "sha512-ill4KeWH7THXDLRfuxg0panknTvl75U54+6366yNmtkPbzmCqp/gw5aW3JPlJcOyYny1F9X+fTYY3kQkEigORA==", 1349 | "dev": true, 1350 | "requires": { 1351 | "flatpickr": "4.6.9" 1352 | } 1353 | }, 1354 | "carbon-icons-svelte": { 1355 | "version": "11.4.0", 1356 | "resolved": "https://repo.huaweicloud.com/repository/npm/carbon-icons-svelte/-/carbon-icons-svelte-11.4.0.tgz", 1357 | "integrity": "sha512-p/llZde2kP2BI9SOqM+QFKGfQnYrW+4dVxF1rAYriEADXDsjt9EYlh+KpQ5qf4JpXAq+e2+TB/r/lIG1xdUbAQ==", 1358 | "dev": true 1359 | }, 1360 | "codemirror": { 1361 | "version": "6.0.1", 1362 | "resolved": "https://repo.huaweicloud.com/repository/npm/codemirror/-/codemirror-6.0.1.tgz", 1363 | "integrity": "sha512-J8j+nZ+CdWmIeFIGXEFbFPtpiYacFMDR8GlHK3IyHQJMCaVRfGx9NT+Hxivv1ckLWPvNdZqndbr/7lVhrf/Svg==", 1364 | "dev": true, 1365 | "peer": true, 1366 | "requires": { 1367 | "@codemirror/autocomplete": "^6.0.0", 1368 | "@codemirror/commands": "^6.0.0", 1369 | "@codemirror/language": "^6.0.0", 1370 | "@codemirror/lint": "^6.0.0", 1371 | "@codemirror/search": "^6.0.0", 1372 | "@codemirror/state": "^6.0.0", 1373 | "@codemirror/view": "^6.0.0" 1374 | } 1375 | }, 1376 | "crelt": { 1377 | "version": "1.0.5", 1378 | "resolved": "https://repo.huaweicloud.com/repository/npm/crelt/-/crelt-1.0.5.tgz", 1379 | "integrity": "sha512-+BO9wPPi+DWTDcNYhr/W90myha8ptzftZT+LwcmUbbok0rcP/fequmFYCw8NMoH7pkAZQzU78b3kYrlua5a9eA==", 1380 | "dev": true 1381 | }, 1382 | "debug": { 1383 | "version": "4.3.4", 1384 | "resolved": "https://repo.huaweicloud.com/repository/npm/debug/-/debug-4.3.4.tgz", 1385 | "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", 1386 | "dev": true, 1387 | "requires": { 1388 | "ms": "2.1.2" 1389 | } 1390 | }, 1391 | "deepmerge": { 1392 | "version": "4.3.0", 1393 | "resolved": "https://repo.huaweicloud.com/repository/npm/deepmerge/-/deepmerge-4.3.0.tgz", 1394 | "integrity": "sha512-z2wJZXrmeHdvYJp/Ux55wIjqo81G5Bp4c+oELTW+7ar6SogWHajt5a9gO3s3IDaGSAXjDk0vlQKN3rms8ab3og==", 1395 | "dev": true 1396 | }, 1397 | "esbuild": { 1398 | "version": "0.15.18", 1399 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild/-/esbuild-0.15.18.tgz", 1400 | "integrity": "sha512-x/R72SmW3sSFRm5zrrIjAhCeQSAWoni3CmHEqfQrZIQTM3lVCdehdwuIqaOtfC2slvpdlLa62GYoN8SxT23m6Q==", 1401 | "dev": true, 1402 | "requires": { 1403 | "@esbuild/android-arm": "0.15.18", 1404 | "@esbuild/linux-loong64": "0.15.18", 1405 | "esbuild-android-64": "0.15.18", 1406 | "esbuild-android-arm64": "0.15.18", 1407 | "esbuild-darwin-64": "0.15.18", 1408 | "esbuild-darwin-arm64": "0.15.18", 1409 | "esbuild-freebsd-64": "0.15.18", 1410 | "esbuild-freebsd-arm64": "0.15.18", 1411 | "esbuild-linux-32": "0.15.18", 1412 | "esbuild-linux-64": "0.15.18", 1413 | "esbuild-linux-arm": "0.15.18", 1414 | "esbuild-linux-arm64": "0.15.18", 1415 | "esbuild-linux-mips64le": "0.15.18", 1416 | "esbuild-linux-ppc64le": "0.15.18", 1417 | "esbuild-linux-riscv64": "0.15.18", 1418 | "esbuild-linux-s390x": "0.15.18", 1419 | "esbuild-netbsd-64": "0.15.18", 1420 | "esbuild-openbsd-64": "0.15.18", 1421 | "esbuild-sunos-64": "0.15.18", 1422 | "esbuild-windows-32": "0.15.18", 1423 | "esbuild-windows-64": "0.15.18", 1424 | "esbuild-windows-arm64": "0.15.18" 1425 | } 1426 | }, 1427 | "esbuild-android-64": { 1428 | "version": "0.15.18", 1429 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-android-64/-/esbuild-android-64-0.15.18.tgz", 1430 | "integrity": "sha512-wnpt3OXRhcjfIDSZu9bnzT4/TNTDsOUvip0foZOUBG7QbSt//w3QV4FInVJxNhKc/ErhUxc5z4QjHtMi7/TbgA==", 1431 | "dev": true, 1432 | "optional": true 1433 | }, 1434 | "esbuild-android-arm64": { 1435 | "version": "0.15.18", 1436 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-android-arm64/-/esbuild-android-arm64-0.15.18.tgz", 1437 | "integrity": "sha512-G4xu89B8FCzav9XU8EjsXacCKSG2FT7wW9J6hOc18soEHJdtWu03L3TQDGf0geNxfLTtxENKBzMSq9LlbjS8OQ==", 1438 | "dev": true, 1439 | "optional": true 1440 | }, 1441 | "esbuild-darwin-64": { 1442 | "version": "0.15.18", 1443 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-darwin-64/-/esbuild-darwin-64-0.15.18.tgz", 1444 | "integrity": "sha512-2WAvs95uPnVJPuYKP0Eqx+Dl/jaYseZEUUT1sjg97TJa4oBtbAKnPnl3b5M9l51/nbx7+QAEtuummJZW0sBEmg==", 1445 | "dev": true, 1446 | "optional": true 1447 | }, 1448 | "esbuild-darwin-arm64": { 1449 | "version": "0.15.18", 1450 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-darwin-arm64/-/esbuild-darwin-arm64-0.15.18.tgz", 1451 | "integrity": "sha512-tKPSxcTJ5OmNb1btVikATJ8NftlyNlc8BVNtyT/UAr62JFOhwHlnoPrhYWz09akBLHI9nElFVfWSTSRsrZiDUA==", 1452 | "dev": true, 1453 | "optional": true 1454 | }, 1455 | "esbuild-freebsd-64": { 1456 | "version": "0.15.18", 1457 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-freebsd-64/-/esbuild-freebsd-64-0.15.18.tgz", 1458 | "integrity": "sha512-TT3uBUxkteAjR1QbsmvSsjpKjOX6UkCstr8nMr+q7zi3NuZ1oIpa8U41Y8I8dJH2fJgdC3Dj3CXO5biLQpfdZA==", 1459 | "dev": true, 1460 | "optional": true 1461 | }, 1462 | "esbuild-freebsd-arm64": { 1463 | "version": "0.15.18", 1464 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-freebsd-arm64/-/esbuild-freebsd-arm64-0.15.18.tgz", 1465 | "integrity": "sha512-R/oVr+X3Tkh+S0+tL41wRMbdWtpWB8hEAMsOXDumSSa6qJR89U0S/PpLXrGF7Wk/JykfpWNokERUpCeHDl47wA==", 1466 | "dev": true, 1467 | "optional": true 1468 | }, 1469 | "esbuild-linux-32": { 1470 | "version": "0.15.18", 1471 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-linux-32/-/esbuild-linux-32-0.15.18.tgz", 1472 | "integrity": "sha512-lphF3HiCSYtaa9p1DtXndiQEeQDKPl9eN/XNoBf2amEghugNuqXNZA/ZovthNE2aa4EN43WroO0B85xVSjYkbg==", 1473 | "dev": true, 1474 | "optional": true 1475 | }, 1476 | "esbuild-linux-64": { 1477 | "version": "0.15.18", 1478 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-linux-64/-/esbuild-linux-64-0.15.18.tgz", 1479 | "integrity": "sha512-hNSeP97IviD7oxLKFuii5sDPJ+QHeiFTFLoLm7NZQligur8poNOWGIgpQ7Qf8Balb69hptMZzyOBIPtY09GZYw==", 1480 | "dev": true, 1481 | "optional": true 1482 | }, 1483 | "esbuild-linux-arm": { 1484 | "version": "0.15.18", 1485 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-linux-arm/-/esbuild-linux-arm-0.15.18.tgz", 1486 | "integrity": "sha512-UH779gstRblS4aoS2qpMl3wjg7U0j+ygu3GjIeTonCcN79ZvpPee12Qun3vcdxX+37O5LFxz39XeW2I9bybMVA==", 1487 | "dev": true, 1488 | "optional": true 1489 | }, 1490 | "esbuild-linux-arm64": { 1491 | "version": "0.15.18", 1492 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-linux-arm64/-/esbuild-linux-arm64-0.15.18.tgz", 1493 | "integrity": "sha512-54qr8kg/6ilcxd+0V3h9rjT4qmjc0CccMVWrjOEM/pEcUzt8X62HfBSeZfT2ECpM7104mk4yfQXkosY8Quptug==", 1494 | "dev": true, 1495 | "optional": true 1496 | }, 1497 | "esbuild-linux-mips64le": { 1498 | "version": "0.15.18", 1499 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-linux-mips64le/-/esbuild-linux-mips64le-0.15.18.tgz", 1500 | "integrity": "sha512-Mk6Ppwzzz3YbMl/ZZL2P0q1tnYqh/trYZ1VfNP47C31yT0K8t9s7Z077QrDA/guU60tGNp2GOwCQnp+DYv7bxQ==", 1501 | "dev": true, 1502 | "optional": true 1503 | }, 1504 | "esbuild-linux-ppc64le": { 1505 | "version": "0.15.18", 1506 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-linux-ppc64le/-/esbuild-linux-ppc64le-0.15.18.tgz", 1507 | "integrity": "sha512-b0XkN4pL9WUulPTa/VKHx2wLCgvIAbgwABGnKMY19WhKZPT+8BxhZdqz6EgkqCLld7X5qiCY2F/bfpUUlnFZ9w==", 1508 | "dev": true, 1509 | "optional": true 1510 | }, 1511 | "esbuild-linux-riscv64": { 1512 | "version": "0.15.18", 1513 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-linux-riscv64/-/esbuild-linux-riscv64-0.15.18.tgz", 1514 | "integrity": "sha512-ba2COaoF5wL6VLZWn04k+ACZjZ6NYniMSQStodFKH/Pu6RxzQqzsmjR1t9QC89VYJxBeyVPTaHuBMCejl3O/xg==", 1515 | "dev": true, 1516 | "optional": true 1517 | }, 1518 | "esbuild-linux-s390x": { 1519 | "version": "0.15.18", 1520 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-linux-s390x/-/esbuild-linux-s390x-0.15.18.tgz", 1521 | "integrity": "sha512-VbpGuXEl5FCs1wDVp93O8UIzl3ZrglgnSQ+Hu79g7hZu6te6/YHgVJxCM2SqfIila0J3k0csfnf8VD2W7u2kzQ==", 1522 | "dev": true, 1523 | "optional": true 1524 | }, 1525 | "esbuild-netbsd-64": { 1526 | "version": "0.15.18", 1527 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-netbsd-64/-/esbuild-netbsd-64-0.15.18.tgz", 1528 | "integrity": "sha512-98ukeCdvdX7wr1vUYQzKo4kQ0N2p27H7I11maINv73fVEXt2kyh4K4m9f35U1K43Xc2QGXlzAw0K9yoU7JUjOg==", 1529 | "dev": true, 1530 | "optional": true 1531 | }, 1532 | "esbuild-openbsd-64": { 1533 | "version": "0.15.18", 1534 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-openbsd-64/-/esbuild-openbsd-64-0.15.18.tgz", 1535 | "integrity": "sha512-yK5NCcH31Uae076AyQAXeJzt/vxIo9+omZRKj1pauhk3ITuADzuOx5N2fdHrAKPxN+zH3w96uFKlY7yIn490xQ==", 1536 | "dev": true, 1537 | "optional": true 1538 | }, 1539 | "esbuild-sunos-64": { 1540 | "version": "0.15.18", 1541 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-sunos-64/-/esbuild-sunos-64-0.15.18.tgz", 1542 | "integrity": "sha512-On22LLFlBeLNj/YF3FT+cXcyKPEI263nflYlAhz5crxtp3yRG1Ugfr7ITyxmCmjm4vbN/dGrb/B7w7U8yJR9yw==", 1543 | "dev": true, 1544 | "optional": true 1545 | }, 1546 | "esbuild-windows-32": { 1547 | "version": "0.15.18", 1548 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-windows-32/-/esbuild-windows-32-0.15.18.tgz", 1549 | "integrity": "sha512-o+eyLu2MjVny/nt+E0uPnBxYuJHBvho8vWsC2lV61A7wwTWC3jkN2w36jtA+yv1UgYkHRihPuQsL23hsCYGcOQ==", 1550 | "dev": true, 1551 | "optional": true 1552 | }, 1553 | "esbuild-windows-64": { 1554 | "version": "0.15.18", 1555 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-windows-64/-/esbuild-windows-64-0.15.18.tgz", 1556 | "integrity": "sha512-qinug1iTTaIIrCorAUjR0fcBk24fjzEedFYhhispP8Oc7SFvs+XeW3YpAKiKp8dRpizl4YYAhxMjlftAMJiaUw==", 1557 | "dev": true, 1558 | "optional": true 1559 | }, 1560 | "esbuild-windows-arm64": { 1561 | "version": "0.15.18", 1562 | "resolved": "https://repo.huaweicloud.com/repository/npm/esbuild-windows-arm64/-/esbuild-windows-arm64-0.15.18.tgz", 1563 | "integrity": "sha512-q9bsYzegpZcLziq0zgUi5KqGVtfhjxGbnksaBFYmWLxeV/S1fK4OLdq2DFYnXcLMjlZw2L0jLsk1eGoB522WXQ==", 1564 | "dev": true, 1565 | "optional": true 1566 | }, 1567 | "flatpickr": { 1568 | "version": "4.6.9", 1569 | "resolved": "https://repo.huaweicloud.com/repository/npm/flatpickr/-/flatpickr-4.6.9.tgz", 1570 | "integrity": "sha512-F0azNNi8foVWKSF+8X+ZJzz8r9sE1G4hl06RyceIaLvyltKvDl6vqk9Lm/6AUUCi5HWaIjiUbk7UpeE/fOXOpw==", 1571 | "dev": true 1572 | }, 1573 | "fsevents": { 1574 | "version": "2.3.2", 1575 | "resolved": "https://repo.huaweicloud.com/repository/npm/fsevents/-/fsevents-2.3.2.tgz", 1576 | "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", 1577 | "dev": true, 1578 | "optional": true 1579 | }, 1580 | "function-bind": { 1581 | "version": "1.1.1", 1582 | "resolved": "https://repo.huaweicloud.com/repository/npm/function-bind/-/function-bind-1.1.1.tgz", 1583 | "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", 1584 | "dev": true 1585 | }, 1586 | "has": { 1587 | "version": "1.0.3", 1588 | "resolved": "https://repo.huaweicloud.com/repository/npm/has/-/has-1.0.3.tgz", 1589 | "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", 1590 | "dev": true, 1591 | "requires": { 1592 | "function-bind": "^1.1.1" 1593 | } 1594 | }, 1595 | "is-core-module": { 1596 | "version": "2.11.0", 1597 | "resolved": "https://repo.huaweicloud.com/repository/npm/is-core-module/-/is-core-module-2.11.0.tgz", 1598 | "integrity": "sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw==", 1599 | "dev": true, 1600 | "requires": { 1601 | "has": "^1.0.3" 1602 | } 1603 | }, 1604 | "kleur": { 1605 | "version": "4.1.5", 1606 | "resolved": "https://repo.huaweicloud.com/repository/npm/kleur/-/kleur-4.1.5.tgz", 1607 | "integrity": "sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ==", 1608 | "dev": true 1609 | }, 1610 | "magic-string": { 1611 | "version": "0.26.7", 1612 | "resolved": "https://repo.huaweicloud.com/repository/npm/magic-string/-/magic-string-0.26.7.tgz", 1613 | "integrity": "sha512-hX9XH3ziStPoPhJxLq1syWuZMxbDvGNbVchfrdCtanC7D13888bMFow61x8axrx+GfHLtVeAx2kxL7tTGRl+Ow==", 1614 | "dev": true, 1615 | "requires": { 1616 | "sourcemap-codec": "^1.4.8" 1617 | } 1618 | }, 1619 | "ms": { 1620 | "version": "2.1.2", 1621 | "resolved": "https://repo.huaweicloud.com/repository/npm/ms/-/ms-2.1.2.tgz", 1622 | "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", 1623 | "dev": true 1624 | }, 1625 | "nanoid": { 1626 | "version": "3.3.4", 1627 | "resolved": "https://repo.huaweicloud.com/repository/npm/nanoid/-/nanoid-3.3.4.tgz", 1628 | "integrity": "sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==", 1629 | "dev": true 1630 | }, 1631 | "path-parse": { 1632 | "version": "1.0.7", 1633 | "resolved": "https://repo.huaweicloud.com/repository/npm/path-parse/-/path-parse-1.0.7.tgz", 1634 | "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", 1635 | "dev": true 1636 | }, 1637 | "picocolors": { 1638 | "version": "1.0.0", 1639 | "resolved": "https://repo.huaweicloud.com/repository/npm/picocolors/-/picocolors-1.0.0.tgz", 1640 | "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", 1641 | "dev": true 1642 | }, 1643 | "postcss": { 1644 | "version": "8.4.21", 1645 | "resolved": "https://repo.huaweicloud.com/repository/npm/postcss/-/postcss-8.4.21.tgz", 1646 | "integrity": "sha512-tP7u/Sn/dVxK2NnruI4H9BG+x+Wxz6oeZ1cJ8P6G/PZY0IKk4k/63TDsQf2kQq3+qoJeLm2kIBUNlZe3zgb4Zg==", 1647 | "dev": true, 1648 | "requires": { 1649 | "nanoid": "^3.3.4", 1650 | "picocolors": "^1.0.0", 1651 | "source-map-js": "^1.0.2" 1652 | } 1653 | }, 1654 | "resolve": { 1655 | "version": "1.22.1", 1656 | "resolved": "https://repo.huaweicloud.com/repository/npm/resolve/-/resolve-1.22.1.tgz", 1657 | "integrity": "sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==", 1658 | "dev": true, 1659 | "requires": { 1660 | "is-core-module": "^2.9.0", 1661 | "path-parse": "^1.0.7", 1662 | "supports-preserve-symlinks-flag": "^1.0.0" 1663 | } 1664 | }, 1665 | "rollup": { 1666 | "version": "2.79.1", 1667 | "resolved": "https://repo.huaweicloud.com/repository/npm/rollup/-/rollup-2.79.1.tgz", 1668 | "integrity": "sha512-uKxbd0IhMZOhjAiD5oAFp7BqvkA4Dv47qpOCtaNvng4HBwdbWtdOh8f5nZNuk2rp51PMGk3bzfWu5oayNEuYnw==", 1669 | "dev": true, 1670 | "requires": { 1671 | "fsevents": "~2.3.2" 1672 | } 1673 | }, 1674 | "source-map-js": { 1675 | "version": "1.0.2", 1676 | "resolved": "https://repo.huaweicloud.com/repository/npm/source-map-js/-/source-map-js-1.0.2.tgz", 1677 | "integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==", 1678 | "dev": true 1679 | }, 1680 | "sourcemap-codec": { 1681 | "version": "1.4.8", 1682 | "resolved": "https://repo.huaweicloud.com/repository/npm/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz", 1683 | "integrity": "sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==", 1684 | "dev": true 1685 | }, 1686 | "style-mod": { 1687 | "version": "4.0.0", 1688 | "resolved": "https://repo.huaweicloud.com/repository/npm/style-mod/-/style-mod-4.0.0.tgz", 1689 | "integrity": "sha512-OPhtyEjyyN9x3nhPsu76f52yUGXiZcgvsrFVtvTkyGRQJ0XK+GPc6ov1z+lRpbeabka+MYEQxOYRnt5nF30aMw==", 1690 | "dev": true 1691 | }, 1692 | "supports-preserve-symlinks-flag": { 1693 | "version": "1.0.0", 1694 | "resolved": "https://repo.huaweicloud.com/repository/npm/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", 1695 | "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", 1696 | "dev": true 1697 | }, 1698 | "svelte": { 1699 | "version": "3.55.1", 1700 | "resolved": "https://repo.huaweicloud.com/repository/npm/svelte/-/svelte-3.55.1.tgz", 1701 | "integrity": "sha512-S+87/P0Ve67HxKkEV23iCdAh/SX1xiSfjF1HOglno/YTbSTW7RniICMCofWGdJJbdjw3S+0PfFb1JtGfTXE0oQ==", 1702 | "dev": true 1703 | }, 1704 | "svelte-codemirror-editor": { 1705 | "version": "1.1.0", 1706 | "resolved": "https://repo.huaweicloud.com/repository/npm/svelte-codemirror-editor/-/svelte-codemirror-editor-1.1.0.tgz", 1707 | "integrity": "sha512-wFdMIsZds5qzn3x2NbFUxDVU6Cn3rwFdq0035ypaFVgzTjJ90bnPm6IbrFA4OJz1ngIyfbIuPAPDjm7rJIr0gg==", 1708 | "dev": true, 1709 | "requires": {} 1710 | }, 1711 | "svelte-hmr": { 1712 | "version": "0.15.1", 1713 | "resolved": "https://repo.huaweicloud.com/repository/npm/svelte-hmr/-/svelte-hmr-0.15.1.tgz", 1714 | "integrity": "sha512-BiKB4RZ8YSwRKCNVdNxK/GfY+r4Kjgp9jCLEy0DuqAKfmQtpL38cQK3afdpjw4sqSs4PLi3jIPJIFp259NkZtA==", 1715 | "dev": true, 1716 | "requires": {} 1717 | }, 1718 | "vite": { 1719 | "version": "3.2.5", 1720 | "resolved": "https://repo.huaweicloud.com/repository/npm/vite/-/vite-3.2.5.tgz", 1721 | "integrity": "sha512-4mVEpXpSOgrssFZAOmGIr85wPHKvaDAcXqxVxVRZhljkJOMZi1ibLibzjLHzJvcok8BMguLc7g1W6W/GqZbLdQ==", 1722 | "dev": true, 1723 | "requires": { 1724 | "esbuild": "^0.15.9", 1725 | "fsevents": "~2.3.2", 1726 | "postcss": "^8.4.18", 1727 | "resolve": "^1.22.1", 1728 | "rollup": "^2.79.1" 1729 | } 1730 | }, 1731 | "vitefu": { 1732 | "version": "0.2.4", 1733 | "resolved": "https://repo.huaweicloud.com/repository/npm/vitefu/-/vitefu-0.2.4.tgz", 1734 | "integrity": "sha512-fanAXjSaf9xXtOOeno8wZXIhgia+CZury481LsDaV++lSvcU2R9Ch2bPh3PYFyoHW+w9LqAeYRISVQjUIew14g==", 1735 | "dev": true, 1736 | "requires": {} 1737 | }, 1738 | "w3c-keyname": { 1739 | "version": "2.2.6", 1740 | "resolved": "https://repo.huaweicloud.com/repository/npm/w3c-keyname/-/w3c-keyname-2.2.6.tgz", 1741 | "integrity": "sha512-f+fciywl1SJEniZHD6H+kUO8gOnwIr7f4ijKA6+ZvJFjeGi1r4PDLl53Ayud9O/rk64RqgoQine0feoeOU0kXg==", 1742 | "dev": true 1743 | }, 1744 | "yootils": { 1745 | "version": "0.3.1", 1746 | "resolved": "https://mirrors.cloud.tencent.com/npm/yootils/-/yootils-0.3.1.tgz", 1747 | "integrity": "sha512-A7AMeJfGefk317I/3tBoUYRcDcNavKEkpiPN/nQsBz/viI2GvT7BtrqdPD6rGqBFN8Ax7v4obf+Cl32JF9DDVw==", 1748 | "dev": true 1749 | } 1750 | } 1751 | } 1752 | -------------------------------------------------------------------------------- /frontend/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "frontend", 3 | "private": true, 4 | "version": "0.0.0", 5 | "type": "module", 6 | "scripts": { 7 | "dev": "vite", 8 | "build": "vite build", 9 | "preview": "vite preview" 10 | }, 11 | "devDependencies": { 12 | "@codemirror/lang-html": "^6.4.2", 13 | "@codemirror/lang-javascript": "^6.1.4", 14 | "@codemirror/lang-json": "^6.0.1", 15 | "@codemirror/lang-xml": "^6.0.2", 16 | "@sveltejs/vite-plugin-svelte": "^1.0.1", 17 | "carbon-components-svelte": "^0.72.3", 18 | "carbon-icons-svelte": "^11.4.0", 19 | "svelte": "^3.49.0", 20 | "svelte-codemirror-editor": "^1.1.0", 21 | "vite": "^3.0.0", 22 | "yootils": "^0.3.1" 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /frontend/package.json.md5: -------------------------------------------------------------------------------- 1 | b2f00d2f5c2b4a7722bd7bf3bd2fecff -------------------------------------------------------------------------------- /frontend/src/App.svelte: -------------------------------------------------------------------------------- 1 | 84 | 85 |
88 | 89 | 94 | {#each options as op} 95 | 96 | {/each} 97 | 98 | 99 | 100 | 109 | 120 | 121 |
122 | 123 | 125 | -------------------------------------------------------------------------------- /frontend/src/Head.svelte: -------------------------------------------------------------------------------- 1 | 15 | 16 |
{url}
17 |
18 | 28 |
29 | 36 |
37 | 38 |
39 | 40 | 66 | -------------------------------------------------------------------------------- /frontend/src/Request.svelte: -------------------------------------------------------------------------------- 1 | 17 | 18 |
19 | {#if selectOption == "Body"} 20 | 21 | {/if} 22 | 23 | {#if selectOption == "Headers"} 24 | Headers 25 | 26 | {/if} 27 | {#if selectOption == "Params"} 28 | Query Params 29 | 30 | {/if} 31 |
32 | 33 | 48 | -------------------------------------------------------------------------------- /frontend/src/Response.svelte: -------------------------------------------------------------------------------- 1 | 25 | 26 |
27 | {#if result} 28 |
29 | Status:{responseStatus} 31 | Time: {time} 32 |
33 | 34 |
35 | 36 | 37 | 38 | 39 | 40 | 41 | 48 | 55 |
56 | {#if outputType == "pretty" && responseContentType.startsWith("application/json")} 57 | 64 | {:else} 65 | 66 | {/if} 67 |
68 |
69 | 74 |
75 |
76 |
77 | {:else if isLoading} 78 | 79 | {:else}
80 | Response 81 | {#if isError} 82 | 89 | {/if} 90 |
91 | {/if} 92 |
93 | 94 | 110 | -------------------------------------------------------------------------------- /frontend/src/assets/fonts/OFL.txt: -------------------------------------------------------------------------------- 1 | Copyright 2016 The Nunito Project Authors (contact@sansoxygen.com), 2 | 3 | This Font Software is licensed under the SIL Open Font License, Version 1.1. 4 | This license is copied below, and is also available with a FAQ at: 5 | http://scripts.sil.org/OFL 6 | 7 | 8 | ----------------------------------------------------------- 9 | SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 10 | ----------------------------------------------------------- 11 | 12 | PREAMBLE 13 | The goals of the Open Font License (OFL) are to stimulate worldwide 14 | development of collaborative font projects, to support the font creation 15 | efforts of academic and linguistic communities, and to provide a free and 16 | open framework in which fonts may be shared and improved in partnership 17 | with others. 18 | 19 | The OFL allows the licensed fonts to be used, studied, modified and 20 | redistributed freely as long as they are not sold by themselves. The 21 | fonts, including any derivative works, can be bundled, embedded, 22 | redistributed and/or sold with any software provided that any reserved 23 | names are not used by derivative works. The fonts and derivatives, 24 | however, cannot be released under any other type of license. The 25 | requirement for fonts to remain under this license does not apply 26 | to any document created using the fonts or their derivatives. 27 | 28 | DEFINITIONS 29 | "Font Software" refers to the set of files released by the Copyright 30 | Holder(s) under this license and clearly marked as such. This may 31 | include source files, build scripts and documentation. 32 | 33 | "Reserved Font Name" refers to any names specified as such after the 34 | copyright statement(s). 35 | 36 | "Original Version" refers to the collection of Font Software components as 37 | distributed by the Copyright Holder(s). 38 | 39 | "Modified Version" refers to any derivative made by adding to, deleting, 40 | or substituting -- in part or in whole -- any of the components of the 41 | Original Version, by changing formats or by porting the Font Software to a 42 | new environment. 43 | 44 | "Author" refers to any designer, engineer, programmer, technical 45 | writer or other person who contributed to the Font Software. 46 | 47 | PERMISSION & CONDITIONS 48 | Permission is hereby granted, free of charge, to any person obtaining 49 | a copy of the Font Software, to use, study, copy, merge, embed, modify, 50 | redistribute, and sell modified and unmodified copies of the Font 51 | Software, subject to the following conditions: 52 | 53 | 1) Neither the Font Software nor any of its individual components, 54 | in Original or Modified Versions, may be sold by itself. 55 | 56 | 2) Original or Modified Versions of the Font Software may be bundled, 57 | redistributed and/or sold with any software, provided that each copy 58 | contains the above copyright notice and this license. These can be 59 | included either as stand-alone text files, human-readable headers or 60 | in the appropriate machine-readable metadata fields within text or 61 | binary files as long as those fields can be easily viewed by the user. 62 | 63 | 3) No Modified Version of the Font Software may use the Reserved Font 64 | Name(s) unless explicit written permission is granted by the corresponding 65 | Copyright Holder. This restriction only applies to the primary font name as 66 | presented to the users. 67 | 68 | 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font 69 | Software shall not be used to promote, endorse or advertise any 70 | Modified Version, except to acknowledge the contribution(s) of the 71 | Copyright Holder(s) and the Author(s) or with their explicit written 72 | permission. 73 | 74 | 5) The Font Software, modified or unmodified, in part or in whole, 75 | must be distributed entirely under this license, and must not be 76 | distributed under any other license. The requirement for fonts to 77 | remain under this license does not apply to any document created 78 | using the Font Software. 79 | 80 | TERMINATION 81 | This license becomes null and void if any of the above conditions are 82 | not met. 83 | 84 | DISCLAIMER 85 | THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 86 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF 87 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT 88 | OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE 89 | COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 90 | INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL 91 | DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 92 | FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM 93 | OTHER DEALINGS IN THE FONT SOFTWARE. 94 | -------------------------------------------------------------------------------- /frontend/src/assets/fonts/nunito-v16-latin-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/obity/hiposter/13a750436fdfc774c2c3a824512d9ce6e5702d8e/frontend/src/assets/fonts/nunito-v16-latin-regular.woff2 -------------------------------------------------------------------------------- /frontend/src/assets/images/logo-universal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/obity/hiposter/13a750436fdfc774c2c3a824512d9ce6e5702d8e/frontend/src/assets/images/logo-universal.png -------------------------------------------------------------------------------- /frontend/src/components/CodeEditor.svelte: -------------------------------------------------------------------------------- 1 | 31 | 32 |
33 | 48 |
49 | 50 | 58 | -------------------------------------------------------------------------------- /frontend/src/components/HtmlEditor.svelte: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /frontend/src/components/JavaScriptEditor.svelte: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /frontend/src/components/JsonEditor.svelte: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /frontend/src/components/SplitPane.svelte: -------------------------------------------------------------------------------- 1 | 111 | 112 |
118 |
119 | 120 |
121 | 122 |
123 | 124 |
125 | 126 | {#if !fixed} 127 |
133 | {/if} 134 | 135 | {#if dragging} 136 |
137 | {/if} 138 |
139 | 140 | 236 | -------------------------------------------------------------------------------- /frontend/src/components/XmlEditor.svelte: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /frontend/src/main.js: -------------------------------------------------------------------------------- 1 | import './style.css' 2 | import App from './App.svelte' 3 | 4 | const app = new App({ 5 | target: document.getElementById('app') 6 | }) 7 | 8 | export default app 9 | -------------------------------------------------------------------------------- /frontend/src/requests/Body.svelte: -------------------------------------------------------------------------------- 1 | 25 | 26 | (value = "")} 28 | bind:selected={contentType} 29 | style="position:absolute;height:30px;" 30 | > 31 | {#each contentTypes as { k, v }} 32 | 33 | {/each} 34 | 35 |
36 | {#if contentType == "application/json"} 37 | 38 | {:else if contentType == "application/xml"} 39 | 40 | {:else if contentType == "application/html"} 41 | 42 | {:else if contentType == "application/javascript"} 43 | 44 | {:else if contentType == "application/binary"} 45 | 46 | {:else if contentType == "application/none"} 47 |
{:else if contentType == "application/x-www-from-urlencoded"} 48 | 49 | {:else} 50 | 51 | {/if} 52 |
53 | 54 | 62 | -------------------------------------------------------------------------------- /frontend/src/requests/Headers.svelte: -------------------------------------------------------------------------------- 1 | 27 | 28 |
29 |
30 |
KEY
31 |
32 | VALUE 33 |
34 |
35 | {#each headers as { id, key, value } (id)} 36 |
37 | 45 | 46 | 54 |
55 | {/each} 56 | 57 |
74 | 75 | 106 | -------------------------------------------------------------------------------- /frontend/src/requests/Params.svelte: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /frontend/src/requests/binaryInput.svelte: -------------------------------------------------------------------------------- 1 | 15 | 16 |
17 | 26 | 27 |
37 | 38 | 40 | -------------------------------------------------------------------------------- /frontend/src/requests/otherInput.svelte: -------------------------------------------------------------------------------- 1 | 4 | 5 |