Browse Source

2.0

pull/64/head
Mathias Markl 7 years ago
parent
commit
16ad656072
  1. 22
      muk_web_preview_msoffice/README.md
  2. 2
      muk_web_preview_msoffice/__init__.py
  3. 22
      muk_web_preview_msoffice/__manifest__.py
  4. 2
      muk_web_preview_msoffice/controllers/__init__.py
  5. 109
      muk_web_preview_msoffice/controllers/main.py
  6. 29
      muk_web_preview_msoffice/demo/demo.xml
  7. 13
      muk_web_preview_msoffice/demo/preview_office_demo.xml
  8. 6
      muk_web_preview_msoffice/doc/changelog.rst
  9. 51
      muk_web_preview_msoffice/doc/index.rst
  10. 38
      muk_web_preview_msoffice/static/description/index.html
  11. 19
      muk_web_preview_msoffice/static/lib/SheetJS/xlsx.js
  12. 1491
      muk_web_preview_msoffice/static/lib/handsontable/handsontable.css
  13. 48095
      muk_web_preview_msoffice/static/lib/handsontable/handsontable.js
  14. 52
      muk_web_preview_msoffice/static/lib/jQueryBinaryTransport/jquery-binarytransport.js
  15. 22
      muk_web_preview_msoffice/static/lib/numbro/LICENSE
  16. 2937
      muk_web_preview_msoffice/static/lib/numbro/languages.js
  17. 10
      muk_web_preview_msoffice/static/lib/numbro/languages/bg.min.js
  18. 11
      muk_web_preview_msoffice/static/lib/numbro/languages/cs-CZ.min.js
  19. 11
      muk_web_preview_msoffice/static/lib/numbro/languages/da-DK.min.js
  20. 11
      muk_web_preview_msoffice/static/lib/numbro/languages/de-AT.min.js
  21. 11
      muk_web_preview_msoffice/static/lib/numbro/languages/de-CH.min.js
  22. 13
      muk_web_preview_msoffice/static/lib/numbro/languages/de-DE.min.js
  23. 11
      muk_web_preview_msoffice/static/lib/numbro/languages/de-LI.min.js
  24. 10
      muk_web_preview_msoffice/static/lib/numbro/languages/el.min.js
  25. 11
      muk_web_preview_msoffice/static/lib/numbro/languages/en-AU.min.js
  26. 11
      muk_web_preview_msoffice/static/lib/numbro/languages/en-GB.min.js
  27. 11
      muk_web_preview_msoffice/static/lib/numbro/languages/en-IE.min.js
  28. 11
      muk_web_preview_msoffice/static/lib/numbro/languages/en-NZ.min.js
  29. 11
      muk_web_preview_msoffice/static/lib/numbro/languages/en-ZA.min.js
  30. 11
      muk_web_preview_msoffice/static/lib/numbro/languages/es-AR.min.js
  31. 11
      muk_web_preview_msoffice/static/lib/numbro/languages/es-CL.min.js
  32. 11
      muk_web_preview_msoffice/static/lib/numbro/languages/es-CO.min.js
  33. 11
      muk_web_preview_msoffice/static/lib/numbro/languages/es-CR.min.js
  34. 11
      muk_web_preview_msoffice/static/lib/numbro/languages/es-ES.min.js
  35. 11
      muk_web_preview_msoffice/static/lib/numbro/languages/es-NI.min.js
  36. 11
      muk_web_preview_msoffice/static/lib/numbro/languages/es-PE.min.js
  37. 11
      muk_web_preview_msoffice/static/lib/numbro/languages/es-PR.min.js
  38. 11
      muk_web_preview_msoffice/static/lib/numbro/languages/es-SV.min.js
  39. 14
      muk_web_preview_msoffice/static/lib/numbro/languages/et-EE.min.js
  40. 11
      muk_web_preview_msoffice/static/lib/numbro/languages/fa-IR.min.js
  41. 11
      muk_web_preview_msoffice/static/lib/numbro/languages/fi-FI.min.js
  42. 11
      muk_web_preview_msoffice/static/lib/numbro/languages/fil-PH.min.js
  43. 11
      muk_web_preview_msoffice/static/lib/numbro/languages/fr-CA.min.js
  44. 11
      muk_web_preview_msoffice/static/lib/numbro/languages/fr-CH.min.js
  45. 11
      muk_web_preview_msoffice/static/lib/numbro/languages/fr-FR.min.js
  46. 11
      muk_web_preview_msoffice/static/lib/numbro/languages/he-IL.min.js
  47. 14
      muk_web_preview_msoffice/static/lib/numbro/languages/hu-HU.min.js
  48. 10
      muk_web_preview_msoffice/static/lib/numbro/languages/id.min.js
  49. 2
      muk_web_preview_msoffice/static/lib/numbro/languages/index.min.js
  50. 11
      muk_web_preview_msoffice/static/lib/numbro/languages/it-CH.min.js
  51. 11
      muk_web_preview_msoffice/static/lib/numbro/languages/it-IT.min.js
  52. 11
      muk_web_preview_msoffice/static/lib/numbro/languages/ja-JP.min.js
  53. 11
      muk_web_preview_msoffice/static/lib/numbro/languages/ko-KR.min.js
  54. 11
      muk_web_preview_msoffice/static/lib/numbro/languages/lv-LV.min.js
  55. 11
      muk_web_preview_msoffice/static/lib/numbro/languages/nb-NO.min.js
  56. 10
      muk_web_preview_msoffice/static/lib/numbro/languages/nb.min.js
  57. 11
      muk_web_preview_msoffice/static/lib/numbro/languages/nl-BE.min.js
  58. 11
      muk_web_preview_msoffice/static/lib/numbro/languages/nl-NL.min.js
  59. 10
      muk_web_preview_msoffice/static/lib/numbro/languages/nn.min.js
  60. 11
      muk_web_preview_msoffice/static/lib/numbro/languages/pl-PL.min.js
  61. 11
      muk_web_preview_msoffice/static/lib/numbro/languages/pt-BR.min.js
  62. 11
      muk_web_preview_msoffice/static/lib/numbro/languages/pt-PT.min.js
  63. 10
      muk_web_preview_msoffice/static/lib/numbro/languages/ro-RO.min.js
  64. 10
      muk_web_preview_msoffice/static/lib/numbro/languages/ro.min.js
  65. 15
      muk_web_preview_msoffice/static/lib/numbro/languages/ru-RU.min.js
  66. 15
      muk_web_preview_msoffice/static/lib/numbro/languages/ru-UA.min.js
  67. 11
      muk_web_preview_msoffice/static/lib/numbro/languages/sk-SK.min.js
  68. 11
      muk_web_preview_msoffice/static/lib/numbro/languages/sl.min.js
  69. 11
      muk_web_preview_msoffice/static/lib/numbro/languages/sr-Cyrl-RS.min.js
  70. 11
      muk_web_preview_msoffice/static/lib/numbro/languages/sv-SE.min.js
  71. 11
      muk_web_preview_msoffice/static/lib/numbro/languages/th-TH.min.js
  72. 14
      muk_web_preview_msoffice/static/lib/numbro/languages/tr-TR.min.js
  73. 15
      muk_web_preview_msoffice/static/lib/numbro/languages/uk-UA.min.js
  74. 11
      muk_web_preview_msoffice/static/lib/numbro/languages/zh-CN.min.js
  75. 10
      muk_web_preview_msoffice/static/lib/numbro/languages/zh-HANS.min.js
  76. 10
      muk_web_preview_msoffice/static/lib/numbro/languages/zh-HANT.min.js
  77. 11
      muk_web_preview_msoffice/static/lib/numbro/languages/zh-MO.min.js
  78. 11
      muk_web_preview_msoffice/static/lib/numbro/languages/zh-SG.min.js
  79. 11
      muk_web_preview_msoffice/static/lib/numbro/languages/zh-TW.min.js
  80. 1293
      muk_web_preview_msoffice/static/lib/numbro/numbro.js
  81. 36
      muk_web_preview_msoffice/static/lib/pikaday/LICENSE
  82. 222
      muk_web_preview_msoffice/static/lib/pikaday/pikaday.css
  83. 1193
      muk_web_preview_msoffice/static/lib/pikaday/pikaday.js
  84. 14
      muk_web_preview_msoffice/static/src/js/preview_handler.js
  85. 3
      muk_web_preview_msoffice/tests/__init__.py
  86. 16
      muk_web_preview_msoffice/tests/test_msoffice_parse.py

22
muk_web_preview_msoffice/README.md

@ -1,22 +0,0 @@
# MuK Preview MS Office
Extendes the Preview Dialog to support MS Office files. Currently the following file extensions are supported:
* Word (*.doc | *.docx, application/msword)
* Excel (*.xls | *.xlsx, application/msexcel)
* PowerPoint (*.ppt | *.pptx, application/mspowerpoint)
## Dependencies
### PDF Converter ([pdfconv](https://github.com/keshrath/pdfconv))
The Python library pdfconv can be used to convert a variety of different file types to PDF. It can be used on Windows as well as Linux.
### Windows
* MS Office [comtypes](http://starship.python.net/crew/theller/comtypes/)
* LibreOffice [unoconv](https://github.com/dagwieers/unoconv)
### Linux
* LibreOffice [unoconv](https://github.com/dagwieers/unoconv)

2
muk_web_preview_msoffice/__init__.py

@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
################################################################################### ###################################################################################
# #
# Copyright (C) 2017 MuK IT GmbH # Copyright (C) 2017 MuK IT GmbH

22
muk_web_preview_msoffice/__manifest__.py

@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
################################################################################### ###################################################################################
# #
# Copyright (C) 2017 MuK IT GmbH # Copyright (C) 2017 MuK IT GmbH
@ -22,29 +20,25 @@
{ {
"name": "MuK Preview MS Office", "name": "MuK Preview MS Office",
"summary": """MS Office Preview""", "summary": """MS Office Preview""",
"description": """
Extendes the Preview Dialog to support MS Office files.
Currently the following file extensions are supported:
- Word (*.doc | *.docx, application/msword)
- Excel (*.xls | *.xlsx, application/msexcel)
- PowerPoint (*.ppt | *.pptx, application/mspowerpoint)
""",
"version": "11.0.1.1.0",
"version": "11.0.2.0.0",
"category": "Extra Tools", "category": "Extra Tools",
"license": "AGPL-3", "license": "AGPL-3",
"website": "http://www.mukit.at", "website": "http://www.mukit.at",
"live_test_url": "https://demo.mukit.at/web/login",
"author": "MuK IT", "author": "MuK IT",
"contributors": [ "contributors": [
"Mathias Markl <mathias.markl@mukit.at>", "Mathias Markl <mathias.markl@mukit.at>",
], ],
"depends": [ "depends": [
"muk_utils",
"muk_converter",
"muk_web_preview", "muk_web_preview",
], ],
"data": [ "data": [
"template/assets.xml", "template/assets.xml",
], ],
"demo": [ "demo": [
"demo/preview_office_demo.xml",
"demo/demo.xml",
], ],
"qweb": [ "qweb": [
"static/src/xml/*.xml", "static/src/xml/*.xml",
@ -53,11 +47,7 @@
'static/description/banner.png' 'static/description/banner.png'
], ],
"external_dependencies": { "external_dependencies": {
"python": [
'requests',
'cachetools',
'pdfconv'
],
"python": [],
"bin": [], "bin": [],
}, },
"application": False, "application": False,

2
muk_web_preview_msoffice/controllers/__init__.py

@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
################################################################################### ###################################################################################
# #
# Copyright (C) 2017 MuK IT GmbH # Copyright (C) 2017 MuK IT GmbH

109
muk_web_preview_msoffice/controllers/main.py

@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
################################################################################### ###################################################################################
# #
# Copyright (C) 2017 MuK IT GmbH # Copyright (C) 2017 MuK IT GmbH
@ -19,104 +17,47 @@
# #
################################################################################### ###################################################################################
import os
import sys
import json
import uuid import uuid
import base64
import urllib
import logging import logging
import tempfile
import mimetypes import mimetypes
import collections
import werkzeug.exceptions
from contextlib import closing
from urllib.parse import urlparse
from urllib.parse import parse_qsl
import werkzeug
from odoo import _
from odoo import tools
from odoo import http
from odoo import _, http
from odoo.http import request from odoo.http import request
from odoo.http import Response
_logger = logging.getLogger(__name__)
try:
import requests
except ImportError:
_logger.warn('Cannot `import requests`.')
from odoo.addons.muk_utils.http import get_response
from odoo.addons.muk_utils.http import make_error_response
try:
from cachetools import TTLCache
pdf_cache = TTLCache(maxsize=25, ttl=1200)
except ImportError:
_logger.warn('Cannot `import cachetools`.')
_logger = logging.getLogger(__name__)
try:
import pdfconv
except ImportError:
_logger.warn('Cannot `import pdfconv`.')
MIMETPYES = [
'application/msword', 'application/ms-word', 'application/vnd.ms-word.document.macroEnabled.12',
'application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'application/vnd.mspowerpoint',
'application/vnd.ms-powerpoint', 'application/vnd.openxmlformats-officedocument.presentationml.presentation',
'application/vnd.ms-powerpoint.presentation.macroEnabled.12'
]
class MSOfficeParserController(http.Controller): class MSOfficeParserController(http.Controller):
@http.route('/web/preview/converter/msoffice', auth="user", type='http')
def convert_msoffice(self, url, export_filename=None, force_compute=False, **kw):
try:
response = pdf_cache[url] if pdf_cache and not force_compute else None
except KeyError:
response = None
if not response:
return self._get_response(url, export_filename)
return response
def _get_response(self, url, export_filename):
if not bool(urlparse(url).netloc):
method, params = self._get_route(url)
response = method(**params)
if not response.status_code == 200:
return self._make_error_response(response.status_code,response.description if hasattr(response, 'description') else _("Unknown Error"))
else:
content_type = response.headers['content-type']
data = response.data
@http.route('/web/preview/msoffice', auth="user", type='http')
def preview_msoffice(self, url, **kw):
status, headers, content = get_response(url)
if status != 200:
return make_error_response(status, content or _("Unknown Error"))
elif headers['content-type'] not in MIMETPYES:
return werkzeug.exceptions.UnsupportedMediaType()
else: else:
try: try:
response = requests.get(url)
content_type = response.headers['content-type']
data = response.content
except requests.exceptions.RequestException as exception:
return self._make_error_response(exception.response.status_code, exception.response.reason or _("Unknown Error"))
try:
response = self._make_pdf_response(pdfconv.converter.convert_binary2pdf(data, content_type, None, format='binary'), export_filename or uuid.uuid4())
pdf_cache[url] = response
return response
except KeyError:
return werkzeug.exceptions.UnsupportedMediaType(_("The file couldn't be converted. Unsupported mine type."))
except (ImportError, IOError, OSError) as error:
_logger.error(error)
return werkzeug.exceptions.InternalServerError(_("An error occurred during the process. Please contact your system administrator."))
def _get_route(self, url):
url_parts = url.split('?')
path = url_parts[0]
query_string = url_parts[1] if len(url_parts) > 1 else None
router = request.httprequest.app.get_db_router(request.db).bind('')
match = router.match(path, query_args=query_string)
method = router.match(path, query_args=query_string)[0]
params = dict(parse_qsl(query_string))
if len(match) > 1:
params.update(match[1])
return method, params
def _make_error_response(self, status, message):
exception = werkzeug.exceptions.HTTPException()
exception.code = status
exception.description = message
return exception
filename = "%s%s" % (uuid.uuid4(), mimetypes.guess_extension(headers['content-type']))
output = request.env['muk_converter.converter'].convert(filename, content)
return self._make_pdf_response(output, "%s.pdf" % filename)
except Exception:
_logger.exception("Error while convert the file.")
return werkzeug.exceptions.InternalServerError()
def _make_pdf_response(self, file, filename): def _make_pdf_response(self, file, filename):
headers = [('Content-Type', 'application/pdf'), headers = [('Content-Type', 'application/pdf'),
('Content-Disposition', 'attachment;filename="{}";'.format(filename)),
('Content-Disposition', 'attachment; filename="{}";'.format(filename)),
('Content-Length', len(file))] ('Content-Length', len(file))]
return request.make_response(file, headers) return request.make_response(file, headers)

29
muk_web_preview_msoffice/demo/demo.xml

@ -0,0 +1,29 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2017 MuK IT GmbH
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<odoo noupdate="1">
<record id="msoffice_attachment_demo" model="ir.attachment">
<field name="name">sample.doc</field>
<field name="datas_fname">sample.doc</field>
<field name="mimetype">application/msword</field>
<field name="datas" type="base64" file="muk_web_preview_msoffice/demo/data/sample.doc"/>
</record>
</odoo>

13
muk_web_preview_msoffice/demo/preview_office_demo.xml

@ -1,13 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data noupdate="1">
<record id="msoffice_attachment_demo" model="ir.attachment">
<field name="name">sample.doc</field>
<field name="datas_fname">sample.doc</field>
<field name="mimetype">application/msword</field>
<field name="datas" type="base64" file="muk_web_preview_msoffice/demo/data/sample.doc"/>
</record>
</data>
</odoo>

6
muk_web_preview_msoffice/doc/changelog.rst

@ -1,3 +1,9 @@
`2.0.0`
-------
- Migrated to Python 3
- Removed support for comtypes
`1.1.0` `1.1.0`
------- -------

51
muk_web_preview_msoffice/doc/index.rst

@ -0,0 +1,51 @@
=====================
MuK Preview MS Office
=====================
Extendes the Preview Dialog to support MS Office files. Currently the following
file extensions are supported:
* Word (\*.doc | \*.docx, application/msword)
* Excel (\*.xls | \*.xlsx, application/msexcel)
* PowerPoint (\*.ppt | \*.pptx, application/mspowerpoint)
Installation
============
To install this module, you need to:
Download the module and add it to your Odoo addons folder. Afterward, log on to
your Odoo server and go to the Apps menu. Trigger the debug modus and update the
list by clicking on the "Update Apps List" link. Now install the module by
clicking on the install button.
Configuration
=============
No additional configuration is needed to use this module.
Usage
=============
Go to a binary that contains a office document and open the preview dialog
to view the preview.
Credits
=======
Contributors
------------
* Mathias Markl <mathias.markl@mukit.at>
Author & Maintainer
-------------------
This module is maintained by the `MuK IT GmbH <https://www.mukit.at/>`_.
MuK IT is an Austrian company specialized in customizing and extending Odoo.
We develop custom solutions for your individual needs to help you focus on
your strength and expertise to grow your business.
If you want to get in touch please contact us via mail
(sale@mukit.at) or visit our website (https://mukit.at).

38
muk_web_preview_msoffice/static/description/index.html

@ -5,15 +5,15 @@
Odoo.</h3> Odoo.</h3>
<h4 class="oe_slogan" style="font-size: 23px;">MuK IT GmbH - <h4 class="oe_slogan" style="font-size: 23px;">MuK IT GmbH -
www.mukit.at</h4> www.mukit.at</h4>
<div class="oe_demo oe_screenshot">
<div class="oe_demo oe_screenshot" style="max-width: 84%; margin: 16px 8%;">
<img src="screenshot.png"> <img src="screenshot.png">
</div> </div>
</div> </div>
</section> </section>
<section class="oe_container" style="padding-top: 25px;">
<section class="oe_container">
<div class="oe_row oe_spaced"> <div class="oe_row oe_spaced">
<div class="oe_picture">
<div style="max-width: 84%; margin: 16px 8%;">
<h3 class="oe_slogan">Overview</h3> <h3 class="oe_slogan">Overview</h3>
<p class="oe_mt32">Extendes the Preview Dialog to support MS <p class="oe_mt32">Extendes the Preview Dialog to support MS
Office files. Currently the following file extensions are supported:</p> Office files. Currently the following file extensions are supported:</p>
@ -26,14 +26,46 @@
</div> </div>
</section> </section>
<section class="oe_container oe_dark"
style="margin-bottom: 20px; border-top: 5px solid #797979; border-bottom: 5px solid #797979;">
<h3 class="oe_slogan" style="margin-bottom: 10px;">Demo</h3>
<div class="row" style="margin: auto; max-width: 200px;">
<div class="col-xs-6">
<h5 class="oe_slogan" style="font-size: 20px; margin: 2px;">User:</h5>
</div>
<div class="col-xs-6">
<h5 class="oe_slogan" style="font-size: 20px; margin: 2px;">apps</h5>
</div>
<div class="col-xs-6">
<h5 class="oe_slogan" style="font-size: 20px; margin: 2px;">Password:</h5>
</div>
<div class="col-xs-6">
<h5 class="oe_slogan" style="font-size: 20px; margin: 2px;">demo</h5>
</div>
</div>
<div class="oe_slogan" style="margin-top: 5px;">
<a class="btn btn-primary btn-lg mt8"
href="https://demo.mukit.at/web/login"
style="position: relative; overflow: hidden;"><span
class="o_ripple"
style="height: 138px; width: 138px; top: -35.2969px; left: -8.17188px;"></span>
<i class="fa fa-video-camera"></i> Live Preview </a>
</div>
</section>
<section class="oe_container oe_dark"> <section class="oe_container oe_dark">
<h3 class="oe_slogan">Help and Support</h3> <h3 class="oe_slogan">Help and Support</h3>
<h5 class="oe_slogan" style="font-size: 20px;">Feel free to
contact us, if you need any help with your Odoo integration or
addiontal features.</h5>
<div class="oe_slogan"> <div class="oe_slogan">
<a class="btn btn-primary btn-lg mt8" href="mailto:sale@mukit.at"> <a class="btn btn-primary btn-lg mt8" href="mailto:sale@mukit.at">
<i class="fa fa-envelope"></i> Email <i class="fa fa-envelope"></i> Email
</a> <a class="btn btn-primary btn-lg mt8" </a> <a class="btn btn-primary btn-lg mt8"
href="https://mukit.at/page/contactus"> <i class="fa fa-phone"></i> href="https://mukit.at/page/contactus"> <i class="fa fa-phone"></i>
Contact Contact
</a> <a class="btn btn-primary btn-lg mt8" href="mailto:support@mukit.at">
<i class="fa fa-life-ring"></i> Support
</a> </a>
</div> </div>
<img src="logo.png" style="width: 200px; margin-bottom: 20px;" <img src="logo.png" style="width: 200px; margin-bottom: 20px;"

19
muk_web_preview_msoffice/static/lib/SheetJS/xlsx.js
File diff suppressed because it is too large
View File

1491
muk_web_preview_msoffice/static/lib/handsontable/handsontable.css
File diff suppressed because it is too large
View File

48095
muk_web_preview_msoffice/static/lib/handsontable/handsontable.js
File diff suppressed because it is too large
View File

52
muk_web_preview_msoffice/static/lib/jQueryBinaryTransport/jquery-binarytransport.js

@ -1,52 +0,0 @@
/**
*
* jquery.binarytransport.js
*
* @description. jQuery ajax transport for making binary data type requests.
* @version 1.0
* @author Henry Algus <henryalgus@gmail.com>
*
*/
// use this transport for "binary" data type
$.ajaxTransport("+binary", function(options, originalOptions, jqXHR){
// check for conditions and support for blob / arraybuffer response type
if (window.FormData && ((options.dataType && (options.dataType == 'binary')) || (options.data && ((window.ArrayBuffer && options.data instanceof ArrayBuffer) || (window.Blob && options.data instanceof Blob)))))
{
return {
// create new XMLHttpRequest
send: function(headers, callback){
// setup all variables
var xhr = new XMLHttpRequest(),
url = options.url,
type = options.type,
async = options.async || true,
// blob or arraybuffer. Default is blob
dataType = options.responseType || "blob",
data = options.data || null,
username = options.username || null,
password = options.password || null;
xhr.addEventListener('load', function(){
var data = {};
data[options.dataType] = xhr.response;
// make callback and send data
callback(xhr.status, xhr.statusText, data, xhr.getAllResponseHeaders());
});
xhr.open(type, url, async, username, password);
// setup custom headers
for (var i in headers ) {
xhr.setRequestHeader(i, headers[i] );
}
xhr.responseType = dataType;
xhr.send(data);
},
abort: function(){
jqXHR.abort();
}
};
}
});

22
muk_web_preview_msoffice/static/lib/numbro/LICENSE

@ -1,22 +0,0 @@
Copyright (c) 2015 Företagsplatsen
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following
conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.

2937
muk_web_preview_msoffice/static/lib/numbro/languages.js
File diff suppressed because it is too large
View File

10
muk_web_preview_msoffice/static/lib/numbro/languages/bg.min.js

@ -1,10 +0,0 @@
/*!
* numbro.js language configuration
* language : Bulgarian
* author : Tim McIntosh (StayinFront NZ)
*/
(function(){"use strict";var a={langLocaleCode:"bg",cultureCode:"bg",delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"И",million:"А",billion:"M",trillion:"T"},ordinal:function(){return"."},currency:{symbol:"лв."}};
// Node
"undefined"!=typeof module&&module.exports&&(module.exports=a),
// Browser
"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&this.numbro.culture("bg",a)}).call("undefined"==typeof window?this:window);

11
muk_web_preview_msoffice/static/lib/numbro/languages/cs-CZ.min.js

@ -1,11 +0,0 @@
/*!
* numbro.js language configuration
* language : Czech
* locale: Czech Republic
* author : Jan Pesa : https://github.com/smajl (based on work from Anatoli Papirovski : https://github.com/apapirovski)
*/
(function(){"use strict";var a={langLocaleCode:"cs-CZ",cultureCode:"cs-CZ",delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"tis.",million:"mil.",billion:"mld.",trillion:"bil."},ordinal:function(){return"."},currency:{symbol:"Kč",position:"postfix",spaceSeparated:!0},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};
// CommonJS
"undefined"!=typeof module&&module.exports&&(module.exports=a),
// Browser
"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(a.cultureCode,a)}).call("undefined"==typeof window?this:window);

11
muk_web_preview_msoffice/static/lib/numbro/languages/da-DK.min.js

@ -1,11 +0,0 @@
/*!
* numbro.js language configuration
* language : Danish
* locale: Denmark
* author : Michael Storgaard : https://github.com/mstorgaard
*/
(function(){"use strict";var a={langLocaleCode:"da-DK",cultureCode:"da-DK",delimiters:{thousands:".",decimal:","},abbreviations:{thousand:"k",million:"mio",billion:"mia",trillion:"b"},ordinal:function(){return"."},currency:{symbol:"kr",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};
// CommonJS
"undefined"!=typeof module&&module.exports&&(module.exports=a),
// Browser
"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(a.cultureCode,a)}).call("undefined"==typeof window?this:window);

11
muk_web_preview_msoffice/static/lib/numbro/languages/de-AT.min.js

@ -1,11 +0,0 @@
/*!
* numbro.js language configuration
* language : German
* locale: Austria
* author : Tim McIntosh (StayinFront NZ)
*/
(function(){"use strict";var a={langLocaleCode:"de-AT",cultureCode:"de-AT",delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(){return"."},currency:{symbol:"€"}};
// Node
"undefined"!=typeof module&&module.exports&&(module.exports=a),
// Browser
"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(a.cultureCode,a)}).call("undefined"==typeof window?this:window);

11
muk_web_preview_msoffice/static/lib/numbro/languages/de-CH.min.js

@ -1,11 +0,0 @@
/*!
* numbro.js language configuration
* language : German
* locale: Switzerland
* author : Michael Piefel : https://github.com/piefel (based on work from Marco Krage : https://github.com/sinky)
*/
(function(){"use strict";var a={langLocaleCode:"de-CH",cultureCode:"de-CH",delimiters:{thousands:"'",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(){return"."},currency:{symbol:"CHF",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};
// CommonJS
"undefined"!=typeof module&&module.exports&&(module.exports=a),
// Browser
"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(a.cultureCode,a)}).call("undefined"==typeof window?this:window);

13
muk_web_preview_msoffice/static/lib/numbro/languages/de-DE.min.js

@ -1,13 +0,0 @@
/*!
* numbro.js language configuration
* language : German
* locale: Germany
* author : Marco Krage : https://github.com/sinky
*
* Generally useful in Germany, Austria, Luxembourg, Belgium
*/
(function(){"use strict";var a={langLocaleCode:"de-DE",cultureCode:"de-DE",delimiters:{thousands:".",decimal:","},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(){return"."},currency:{symbol:"€",position:"postfix",spaceSeparated:!0},defaults:{currencyFormat:",4"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};
// CommonJS
"undefined"!=typeof module&&module.exports&&(module.exports=a),
// Browser
"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(a.cultureCode,a)}).call("undefined"==typeof window?this:window);

11
muk_web_preview_msoffice/static/lib/numbro/languages/de-LI.min.js

@ -1,11 +0,0 @@
/*!
* numbro.js language configuration
* language : German
* locale: Liechtenstein
* author : Michael Piefel : https://github.com/piefel (based on work from Marco Krage : https://github.com/sinky)
*/
(function(){"use strict";var a={langLocaleCode:"de-LI",cultureCode:"de-LI",delimiters:{thousands:"'",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(){return"."},currency:{symbol:"CHF",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};
// CommonJS
"undefined"!=typeof module&&module.exports&&(module.exports=a),
// Browser
"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(a.cultureCode,a)}).call("undefined"==typeof window?this:window);

10
muk_web_preview_msoffice/static/lib/numbro/languages/el.min.js

@ -1,10 +0,0 @@
/*!
* numbro.js language configuration
* language : Greek (el)
* author : Tim McIntosh (StayinFront NZ)
*/
(function(){"use strict";var a={langLocaleCode:"el",cultureCode:"el",delimiters:{thousands:".",decimal:","},abbreviations:{thousand:"χ",million:"ε",billion:"δ",trillion:"τ"},ordinal:function(){return"."},currency:{symbol:"€"}};
// Node
"undefined"!=typeof module&&module.exports&&(module.exports=a),
// Browser
"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture("el",a)}).call("undefined"==typeof window?this:window);

11
muk_web_preview_msoffice/static/lib/numbro/languages/en-AU.min.js

@ -1,11 +0,0 @@
/*!
* numbro.js language configuration
* language : English
* locale: Australia
* author : Benedikt Huss : https://github.com/ben305
*/
(function(){"use strict";var a={langLocaleCode:"en-AU",cultureCode:"en-AU",delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(a){var b=a%10;return 1===~~(a%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th"},currency:{symbol:"$",position:"prefix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:"$ ,0.00",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:"$ ,0"}};
// CommonJS
"undefined"!=typeof module&&module.exports&&(module.exports=a),
// Browser
"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(a.cultureCode,a)}).call("undefined"==typeof window?this:window);

11
muk_web_preview_msoffice/static/lib/numbro/languages/en-GB.min.js

@ -1,11 +0,0 @@
/*!
* numbro.js language configuration
* language : English
* locale: United Kingdom of Great Britain and Northern Ireland
* author : Dan Ristic : https://github.com/dristic
*/
(function(){"use strict";var a={langLocaleCode:"en-GB",cultureCode:"en-GB",delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(a){var b=a%10;return 1===~~(a%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th"},currency:{symbol:"£",position:"prefix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:"$ ,0.00",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:"$ ,0"}};
// CommonJS
"undefined"!=typeof module&&module.exports&&(module.exports=a),
// Browser
"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(a.cultureCode,a)}).call("undefined"==typeof window?this:window);

11
muk_web_preview_msoffice/static/lib/numbro/languages/en-IE.min.js

@ -1,11 +0,0 @@
/*!
+ * numbro.js language configuration
* language : English
* locale: Ireland
* author : Tim McIntosh (StayinFront NZ)
*/
(function(){"use strict";var a={langLocaleCode:"en-IE",cultureCode:"en-IE",delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(a){var b=a%10;return 1===~~(a%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th"},currency:{symbol:"€"}};
// Node
"undefined"!=typeof module&&module.exports&&(module.exports=a),
// Browser
"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture("en-gb",a)}).call("undefined"==typeof window?this:window);

11
muk_web_preview_msoffice/static/lib/numbro/languages/en-NZ.min.js

@ -1,11 +0,0 @@
/*!
* numbro.js language configuration
* language : English
* locale: New Zealand
* author : Benedikt Huss : https://github.com/ben305
*/
(function(){"use strict";var a={langLocaleCode:"en-NZ",cultureCode:"en-NZ",delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(a){var b=a%10;return 1===~~(a%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th"},currency:{symbol:"$",position:"prefix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:"$ ,0.00",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:"$ ,0"}};
// CommonJS
"undefined"!=typeof module&&module.exports&&(module.exports=a),
// Browser
"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(a.cultureCode,a)}).call("undefined"==typeof window?this:window);

11
muk_web_preview_msoffice/static/lib/numbro/languages/en-ZA.min.js

@ -1,11 +0,0 @@
/*!
* numbro.js language configuration
* language : English
* locale: South Africa
* author : Stewart Scott https://github.com/stewart42
*/
(function(){"use strict";var a={langLocaleCode:"en-ZA",cultureCode:"en-ZA",delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(a){var b=a%10;return 1===~~(a%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th"},currency:{symbol:"R",position:"prefix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:"$ ,0.00",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:"$ ,0"}};
// CommonJS
"undefined"!=typeof module&&module.exports&&(module.exports=a),
// Browser
"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(a.cultureCode,a)}).call("undefined"==typeof window?this:window);

11
muk_web_preview_msoffice/static/lib/numbro/languages/es-AR.min.js

@ -1,11 +0,0 @@
/*!
* numbro.js language configuration
* language : Spanish
* locale: Argentina
* author : Hernan Garcia : https://github.com/hgarcia
*/
(function(){"use strict";var a={langLocaleCode:"es-AR",cultureCode:"es-AR",delimiters:{thousands:".",decimal:","},abbreviations:{thousand:"k",million:"mm",billion:"b",trillion:"t"},ordinal:function(a){var b=a%10;return 1===b||3===b?"er":2===b?"do":7===b||0===b?"mo":8===b?"vo":9===b?"no":"to"},currency:{symbol:"$",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};
// CommonJS
"undefined"!=typeof module&&module.exports&&(module.exports=a),
// Browser
"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(a.cultureCode,a)}).call("undefined"==typeof window?this:window);

11
muk_web_preview_msoffice/static/lib/numbro/languages/es-CL.min.js

@ -1,11 +0,0 @@
/*!
* numbro.js language configuration
* language : Spanish
* locale: Chile
* author : Gwyn Judd : https://github.com/gwynjudd
*/
(function(){"use strict";var a={langLocaleCode:"es-CL",cultureCode:"es-CL",delimiters:{thousands:".",decimal:","},abbreviations:{thousand:"k",million:"mm",billion:"b",trillion:"t"},ordinal:function(a){var b=a%10;return 1===b||3===b?"er":2===b?"do":7===b||0===b?"mo":8===b?"vo":9===b?"no":"to"},currency:{symbol:"$",position:"prefix"},defaults:{currencyFormat:"$0,0"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};
// CommonJS
"undefined"!=typeof module&&module.exports&&(module.exports=a),
// Browser
"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(a.cultureCode,a)}).call("undefined"==typeof window?this:window);

11
muk_web_preview_msoffice/static/lib/numbro/languages/es-CO.min.js

@ -1,11 +0,0 @@
/*!
* numbro.js language configuration
* language : Spanish
* locale: Colombia
* author : Gwyn Judd : https://github.com/gwynjudd
*/
(function(){"use strict";var a={langLocaleCode:"es-CO",cultureCode:"es-CO",delimiters:{thousands:".",decimal:","},abbreviations:{thousand:"k",million:"mm",billion:"b",trillion:"t"},ordinal:function(a){var b=a%10;return 1===b||3===b?"er":2===b?"do":7===b||0===b?"mo":8===b?"vo":9===b?"no":"to"},currency:{symbol:"€",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};
// CommonJS
"undefined"!=typeof module&&module.exports&&(module.exports=a),
// Browser
"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(a.cultureCode,a)}).call("undefined"==typeof window?this:window);

11
muk_web_preview_msoffice/static/lib/numbro/languages/es-CR.min.js

@ -1,11 +0,0 @@
/*!
* numbro.js language configuration
* language : Spanish
* locale: Costa Rica
* author : Gwyn Judd : https://github.com/gwynjudd
*/
(function(){"use strict";var a={langLocaleCode:"es-CR",cultureCode:"es-CR",delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"k",million:"mm",billion:"b",trillion:"t"},ordinal:function(a){var b=a%10;return 1===b||3===b?"er":2===b?"do":7===b||0===b?"mo":8===b?"vo":9===b?"no":"to"},currency:{symbol:"₡",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};
// CommonJS
"undefined"!=typeof module&&module.exports&&(module.exports=a),
// Browser
"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(a.cultureCode,a)}).call("undefined"==typeof window?this:window);

11
muk_web_preview_msoffice/static/lib/numbro/languages/es-ES.min.js

@ -1,11 +0,0 @@
/*!
* numbro.js language configuration
* language : Spanish
* locale: Spain
* author : Hernan Garcia : https://github.com/hgarcia
*/
(function(){"use strict";var a={langLocaleCode:"es-ES",cultureCode:"es-ES",delimiters:{thousands:".",decimal:","},abbreviations:{thousand:"k",million:"mm",billion:"b",trillion:"t"},ordinal:function(a){var b=a%10;return 1===b||3===b?"er":2===b?"do":7===b||0===b?"mo":8===b?"vo":9===b?"no":"to"},currency:{symbol:"€",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};
// CommonJS
"undefined"!=typeof module&&module.exports&&(module.exports=a),
// Browser
"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(a.cultureCode,a)}).call("undefined"==typeof window?this:window);

11
muk_web_preview_msoffice/static/lib/numbro/languages/es-NI.min.js

@ -1,11 +0,0 @@
/*!
* numbro.js language configuration
* language : Spanish
* locale: Nicaragua
* author : Gwyn Judd : https://github.com/gwynjudd
*/
(function(){"use strict";var a={langLocaleCode:"es-NI",cultureCode:"es-NI",delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"mm",billion:"b",trillion:"t"},ordinal:function(a){var b=a%10;return 1===b||3===b?"er":2===b?"do":7===b||0===b?"mo":8===b?"vo":9===b?"no":"to"},currency:{symbol:"C$",position:"prefix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};
// CommonJS
"undefined"!=typeof module&&module.exports&&(module.exports=a),
// Browser
"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(a.cultureCode,a)}).call("undefined"==typeof window?this:window);

11
muk_web_preview_msoffice/static/lib/numbro/languages/es-PE.min.js

@ -1,11 +0,0 @@
/*!
* numbro.js language configuration
* language : Spanish
* locale: Peru
* author : Gwyn Judd : https://github.com/gwynjudd
*/
(function(){"use strict";var a={langLocaleCode:"es-PE",cultureCode:"es-PE",delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"mm",billion:"b",trillion:"t"},ordinal:function(a){var b=a%10;return 1===b||3===b?"er":2===b?"do":7===b||0===b?"mo":8===b?"vo":9===b?"no":"to"},currency:{symbol:"S/.",position:"prefix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};
// CommonJS
"undefined"!=typeof module&&module.exports&&(module.exports=a),
// Browser
"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(a.cultureCode,a)}).call("undefined"==typeof window?this:window);

11
muk_web_preview_msoffice/static/lib/numbro/languages/es-PR.min.js

@ -1,11 +0,0 @@
/*!
* numbro.js language configuration
* language : Spanish
* locale: Puerto Rico
* author : Gwyn Judd : https://github.com/gwynjudd
*/
(function(){"use strict";var a={langLocaleCode:"es-PR",cultureCode:"es-PR",delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"mm",billion:"b",trillion:"t"},ordinal:function(a){var b=a%10;return 1===b||3===b?"er":2===b?"do":7===b||0===b?"mo":8===b?"vo":9===b?"no":"to"},currency:{symbol:"$",position:"prefix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};
// CommonJS
"undefined"!=typeof module&&module.exports&&(module.exports=a),
// Browser
"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(a.cultureCode,a)}).call("undefined"==typeof window?this:window);

11
muk_web_preview_msoffice/static/lib/numbro/languages/es-SV.min.js

@ -1,11 +0,0 @@
/*!
* numbro.js language configuration
* language : Spanish
* locale: El Salvador
* author : Gwyn Judd : https://github.com/gwynjudd
*/
(function(){"use strict";var a={langLocaleCode:"es-SV",cultureCode:"es-SV",delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"mm",billion:"b",trillion:"t"},ordinal:function(a){var b=a%10;return 1===b||3===b?"er":2===b?"do":7===b||0===b?"mo":8===b?"vo":9===b?"no":"to"},currency:{symbol:"$",position:"prefix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};
// CommonJS
"undefined"!=typeof module&&module.exports&&(module.exports=a),
// Browser
"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(a.cultureCode,a)}).call("undefined"==typeof window?this:window);

14
muk_web_preview_msoffice/static/lib/numbro/languages/et-EE.min.js

@ -1,14 +0,0 @@
/*!
* numbro.js language configuration
* language : Estonian
* locale: Estonia
* author : Illimar Tambek : https://github.com/ragulka
*
* Note: in Estonian, abbreviations are always separated
* from numbers with a space
*/
(function(){"use strict";var a={langLocaleCode:"et-EE",cultureCode:"et-EE",delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:" tuh",million:" mln",billion:" mld",trillion:" trl"},ordinal:function(){return"."},currency:{symbol:"€",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};
// CommonJS
"undefined"!=typeof module&&module.exports&&(module.exports=a),
// Browser
"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(a.cultureCode,a)}).call("undefined"==typeof window?this:window);

11
muk_web_preview_msoffice/static/lib/numbro/languages/fa-IR.min.js

@ -1,11 +0,0 @@
/*!
* numbro.js language configuration
* language : Farsi
* locale: Iran
* author : neo13 : https://github.com/neo13
*/
(function(){"use strict";var a={langLocaleCode:"fa-IR",cultureCode:"fa-IR",delimiters:{thousands:"،",decimal:"."},abbreviations:{thousand:"هزار",million:"میلیون",billion:"میلیارد",trillion:"تریلیون"},ordinal:function(){return"ام"},currency:{symbol:"﷼"}};
// CommonJS
"undefined"!=typeof module&&module.exports&&(module.exports=a),
// Browser
"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(a.cultureCode,a)}).call("undefined"==typeof window?this:window);

11
muk_web_preview_msoffice/static/lib/numbro/languages/fi-FI.min.js

@ -1,11 +0,0 @@
/*!
* numbro.js language configuration
* language : Finnish
* locale: Finland
* author : Sami Saada : https://github.com/samitheberber
*/
(function(){"use strict";var a={langLocaleCode:"fi-FI",cultureCode:"fi-FI",delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"k",million:"M",billion:"G",trillion:"T"},ordinal:function(){return"."},currency:{symbol:"€",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};
// CommonJS
"undefined"!=typeof module&&module.exports&&(module.exports=a),
// Browser
"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(a.cultureCode,a)}).call("undefined"==typeof window?this:window);

11
muk_web_preview_msoffice/static/lib/numbro/languages/fil-PH.min.js

@ -1,11 +0,0 @@
/*!
* numbro.js language configuration
* language : Filipino (Pilipino)
* locale: Philippines
* author : Michael Abadilla : https://github.com/mjmaix
*/
(function(){"use strict";var a={langLocaleCode:"fil-PH",cultureCode:"fil-PH",delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(a){var b=a%10;return 1===~~(a%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th"},currency:{symbol:"₱"}};
// CommonJS
"undefined"!=typeof module&&module.exports&&(module.exports=a),
// Browser
"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(a.cultureCode,a)}).call("undefined"==typeof window?this:window);

11
muk_web_preview_msoffice/static/lib/numbro/languages/fr-CA.min.js

@ -1,11 +0,0 @@
/*!
* numbro.js language configuration
* language : French
* locale: Canada
* author : Léo Renaud-Allaire : https://github.com/renaudleo
*/
(function(){"use strict";var a={langLocaleCode:"fr-CA",cultureCode:"fr-CA",delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"k",million:"M",billion:"G",trillion:"T"},ordinal:function(a){return 1===a?"er":"ème"},currency:{symbol:"$",position:"postfix",spaceSeparated:!0},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:"$ ,0.00",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:"$ ,0"}};
// CommonJS
"undefined"!=typeof module&&module.exports&&(module.exports=a),
// Browser
"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(a.cultureCode,a)}).call("undefined"==typeof window?this:window);

11
muk_web_preview_msoffice/static/lib/numbro/languages/fr-CH.min.js

@ -1,11 +0,0 @@
/*!
* numbro.js language configuration
* language : French
* locale: Switzerland
* author : Adam Draper : https://github.com/adamwdraper
*/
(function(){"use strict";var a={langLocaleCode:"fr-CH",cultureCode:"fr-CH",delimiters:{thousands:" ",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(a){return 1===a?"er":"ème"},currency:{symbol:"CHF",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};
// CommonJS
"undefined"!=typeof module&&module.exports&&(module.exports=a),
// Browser
"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(a.cultureCode,a)}).call("undefined"==typeof window?this:window);

11
muk_web_preview_msoffice/static/lib/numbro/languages/fr-FR.min.js

@ -1,11 +0,0 @@
/*!
* numbro.js language configuration
* language : French
* locale: France
* author : Adam Draper : https://github.com/adamwdraper
*/
(function(){"use strict";var a={langLocaleCode:"fr-FR",cultureCode:"fr-FR",delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(a){return 1===a?"er":"ème"},currency:{symbol:"€",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};
// CommonJS
"undefined"!=typeof module&&module.exports&&(module.exports=a),
// Browser
"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(a.cultureCode,a)}).call("undefined"==typeof window?this:window);

11
muk_web_preview_msoffice/static/lib/numbro/languages/he-IL.min.js

@ -1,11 +0,0 @@
/*!
* numbro.js language configuration
* language : Hebrew
* locale : IL
* author : Eli Zehavi : https://github.com/eli-zehavi
*/
(function(){"use strict";var a={langLocaleCode:"he-IL",cultureCode:"he-IL",delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"אלף",million:"מליון",billion:"בליון",trillion:"טריליון"},currency:{symbol:"₪",position:"prefix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:"₪ ,0.00",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:"₪ ,0"}};
// CommonJS
"undefined"!=typeof module&&module.exports&&(module.exports=a),
// Browser
"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(a.cultureCode,a)}).call("undefined"==typeof window?this:window);

14
muk_web_preview_msoffice/static/lib/numbro/languages/hu-HU.min.js

@ -1,14 +0,0 @@
/*!
* numbro.js language configuration
* language : Hungarian
* locale: Hungary
* author : Peter Bakondy : https://github.com/pbakondy
*/
(function(){"use strict";var a={langLocaleCode:"hu-HU",cultureCode:"hu-HU",delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"E",// ezer
million:"M",// millió
billion:"Mrd",// milliárd
trillion:"T"},ordinal:function(){return"."},currency:{symbol:" Ft",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};
// CommonJS
"undefined"!=typeof module&&module.exports&&(module.exports=a),
// Browser
"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(a.cultureCode,a)}).call("undefined"==typeof window?this:window);

10
muk_web_preview_msoffice/static/lib/numbro/languages/id.min.js

@ -1,10 +0,0 @@
/*!
* numbro.js language configuration
* language : Indonesian
* author : Tim McIntosh (StayinFront NZ)
*/
(function(){"use strict";var a={langLocaleCode:"id",cultureCode:"id",delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"r",million:"j",billion:"m",trillion:"t"},ordinal:function(){return"."},currency:{symbol:"Rp"}};
// Node
"undefined"!=typeof module&&module.exports&&(module.exports=a),
// Browser
"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture("id",a)}).call("undefined"==typeof window?this:window);

2
muk_web_preview_msoffice/static/lib/numbro/languages/index.min.js

@ -1,2 +0,0 @@
/* jshint sub: true */
exports.bg=require("./bg.js"),exports["cs-CZ"]=require("./cs-CZ.js"),exports["da-DK"]=require("./da-DK.js"),exports["de-AT"]=require("./de-AT.js"),exports["de-CH"]=require("./de-CH.js"),exports["de-DE"]=require("./de-DE.js"),exports["de-LI"]=require("./de-LI.js"),exports.el=require("./el.js"),exports["en-AU"]=require("./en-AU.js"),exports["en-GB"]=require("./en-GB.js"),exports["en-IE"]=require("./en-IE.js"),exports["en-NZ"]=require("./en-NZ.js"),exports["en-ZA"]=require("./en-ZA.js"),exports["es-AR"]=require("./es-AR.js"),exports["es-CL"]=require("./es-CL.js"),exports["es-CO"]=require("./es-CO.js"),exports["es-CR"]=require("./es-CR.js"),exports["es-ES"]=require("./es-ES.js"),exports["es-NI"]=require("./es-NI.js"),exports["es-PE"]=require("./es-PE.js"),exports["es-PR"]=require("./es-PR.js"),exports["es-SV"]=require("./es-SV.js"),exports["et-EE"]=require("./et-EE.js"),exports["fa-IR"]=require("./fa-IR.js"),exports["fi-FI"]=require("./fi-FI.js"),exports["fil-PH"]=require("./fil-PH.js"),exports["fr-CA"]=require("./fr-CA.js"),exports["fr-CH"]=require("./fr-CH.js"),exports["fr-FR"]=require("./fr-FR.js"),exports["he-IL"]=require("./he-IL.js"),exports["hu-HU"]=require("./hu-HU.js"),exports.id=require("./id.js"),exports["it-CH"]=require("./it-CH.js"),exports["it-IT"]=require("./it-IT.js"),exports["ja-JP"]=require("./ja-JP.js"),exports["ko-KR"]=require("./ko-KR.js"),exports["lv-LV"]=require("./lv-LV.js"),exports["nb-NO"]=require("./nb-NO.js"),exports.nb=require("./nb.js"),exports["nl-BE"]=require("./nl-BE.js"),exports["nl-NL"]=require("./nl-NL.js"),exports.nn=require("./nn.js"),exports["pl-PL"]=require("./pl-PL.js"),exports["pt-BR"]=require("./pt-BR.js"),exports["pt-PT"]=require("./pt-PT.js"),exports["ro-RO"]=require("./ro-RO.js"),exports.ro=require("./ro.js"),exports["ru-RU"]=require("./ru-RU.js"),exports["ru-UA"]=require("./ru-UA.js"),exports["sk-SK"]=require("./sk-SK.js"),exports.sl=require("./sl.js"),exports["sr-Cyrl-RS"]=require("./sr-Cyrl-RS.js"),exports["sv-SE"]=require("./sv-SE.js"),exports["th-TH"]=require("./th-TH.js"),exports["tr-TR"]=require("./tr-TR.js"),exports["uk-UA"]=require("./uk-UA.js"),exports["zh-CN"]=require("./zh-CN.js"),exports["zh-MO"]=require("./zh-MO.js"),exports["zh-SG"]=require("./zh-SG.js"),exports["zh-TW"]=require("./zh-TW.js");

11
muk_web_preview_msoffice/static/lib/numbro/languages/it-CH.min.js

@ -1,11 +0,0 @@
/*!
* numbro.js language configuration
* language : Italian
* locale: Switzerland
* author : Tim McIntosh (StayinFront NZ)
*/
(function(){"use strict";var a={langLocaleCode:"it-CH",cultureCode:"it-CH",delimiters:{thousands:"'",decimal:"."},abbreviations:{thousand:"mila",million:"mil",billion:"b",trillion:"t"},ordinal:function(){return"°"},currency:{symbol:"CHF"}};
// Node
"undefined"!=typeof module&&module.exports&&(module.exports=a),
// Browser
"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture("it-CH",a)}).call("undefined"==typeof window?this:window);

11
muk_web_preview_msoffice/static/lib/numbro/languages/it-IT.min.js

@ -1,11 +0,0 @@
/*!
* numbro.js language configuration
* language : Italian
* locale: Italy
* author : Giacomo Trombi : http://cinquepunti.it
*/
(function(){"use strict";var a={langLocaleCode:"it-IT",cultureCode:"it-IT",delimiters:{thousands:".",decimal:","},abbreviations:{thousand:"mila",million:"mil",billion:"b",trillion:"t"},ordinal:function(){return"º"},currency:{symbol:"€",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};
// CommonJS
"undefined"!=typeof module&&module.exports&&(module.exports=a),
// Browser
"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(a.cultureCode,a)}).call("undefined"==typeof window?this:window);

11
muk_web_preview_msoffice/static/lib/numbro/languages/ja-JP.min.js

@ -1,11 +0,0 @@
/*!
* numbro.js language configuration
* language : Japanese
* locale: Japan
* author : teppeis : https://github.com/teppeis
*/
(function(){"use strict";var a={langLocaleCode:"ja-JP",cultureCode:"ja-JP",delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"千",million:"百万",billion:"十億",trillion:"兆"},ordinal:function(){return"."},currency:{symbol:"¥",position:"prefix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:"$ ,0.00",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:"$ ,0"}};
// CommonJS
"undefined"!=typeof module&&module.exports&&(module.exports=a),
// Browser
"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(a.cultureCode,a)}).call("undefined"==typeof window?this:window);

11
muk_web_preview_msoffice/static/lib/numbro/languages/ko-KR.min.js

@ -1,11 +0,0 @@
/*!
* numbro.js language configuration
* language : Korean
* author (numbro.js Version): Randy Wilander : https://github.com/rocketedaway
* author (numeral.js Version) : Rich Daley : https://github.com/pedantic-git
*/
(function(){"use strict";var a={langLocaleCode:"ko-KR",cultureCode:"ko-KR",delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"천",million:"백만",billion:"십억",trillion:"일조"},ordinal:function(){return"."},currency:{symbol:"₩"}};
// CommonJS
"undefined"!=typeof module&&module.exports&&(module.exports=a),
// Browser
"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(a.cultureCode,a)}).call("undefined"==typeof window?this:window);

11
muk_web_preview_msoffice/static/lib/numbro/languages/lv-LV.min.js

@ -1,11 +0,0 @@
/*!
* numbro.js language configuration
* language : Latvian
* locale: Latvia
* author : Lauris Bukšis-Haberkorns : https://github.com/Lafriks
*/
(function(){"use strict";var a={langLocaleCode:"lv-LV",cultureCode:"lv-LV",delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:" tūkst.",million:" milj.",billion:" mljrd.",trillion:" trilj."},ordinal:function(){return"."},currency:{symbol:"€",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};
// CommonJS
"undefined"!=typeof module&&module.exports&&(module.exports=a),
// Browser
"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(a.cultureCode,a)}).call("undefined"==typeof window?this:window);

11
muk_web_preview_msoffice/static/lib/numbro/languages/nb-NO.min.js

@ -1,11 +0,0 @@
/*!
* numbro.js language configuration
* language: Norwegian Bokmål
* locale: Norway
* author : Benjamin Van Ryseghem
*/
(function(){"use strict";var a={langLocaleCode:"nb-NO",cultureCode:"nb-NO",delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"t",million:"M",billion:"md",trillion:"t"},currency:{symbol:"kr",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};
// CommonJS
"undefined"!=typeof module&&module.exports&&(module.exports=a),
// Browser
"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(a.cultureCode,a)}).call("undefined"==typeof window?this:window);

10
muk_web_preview_msoffice/static/lib/numbro/languages/nb.min.js

@ -1,10 +0,0 @@
/*!
* numbro.js language configuration
* language : Norwegian Bokmål (nb)
* author : Tim McIntosh (StayinFront NZ)
*/
(function(){"use strict";var a={langLocaleCode:"nb",cultureCode:"nb",delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"t",million:"mil",billion:"mia",trillion:"b"},ordinal:function(){return"."},currency:{symbol:"kr"}};
// Node
"undefined"!=typeof module&&module.exports&&(module.exports=a),
// Browser
"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture("nb",a)}).call("undefined"==typeof window?this:window);

11
muk_web_preview_msoffice/static/lib/numbro/languages/nl-BE.min.js

@ -1,11 +0,0 @@
/*!
* numbro.js language configuration
* language : Dutch
* locale: Belgium
* author : Dieter Luypaert : https://github.com/moeriki
*/
(function(){"use strict";var a={langLocaleCode:"nl-BE",cultureCode:"nl-BE",delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"k",million:"mln",billion:"mld",trillion:"bln"},ordinal:function(a){var b=a%100;return 0!==a&&1>=b||8===b||b>=20?"ste":"de"},currency:{symbol:"€",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};
// CommonJS
"undefined"!=typeof module&&module.exports&&(module.exports=a),
// Browser
"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(a.cultureCode,a)}).call("undefined"==typeof window?this:window);

11
muk_web_preview_msoffice/static/lib/numbro/languages/nl-NL.min.js

@ -1,11 +0,0 @@
/*!
* numbro.js language configuration
* language : Dutch
* locale: Netherlands
* author : Dave Clayton : https://github.com/davedx
*/
(function(){"use strict";var a={langLocaleCode:"nl-NL",cultureCode:"nl-NL",delimiters:{thousands:".",decimal:","},abbreviations:{thousand:"k",million:"mln",billion:"mrd",trillion:"bln"},ordinal:function(a){var b=a%100;return 0!==a&&1>=b||8===b||b>=20?"ste":"de"},currency:{symbol:"€",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};
// CommonJS
"undefined"!=typeof module&&module.exports&&(module.exports=a),
// Browser
"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(a.cultureCode,a)}).call("undefined"==typeof window?this:window);

10
muk_web_preview_msoffice/static/lib/numbro/languages/nn.min.js

@ -1,10 +0,0 @@
/*!
* numbro.js language configuration
* language : Norwegian Nynorsk (nn)
* author : Tim McIntosh (StayinFront NZ)
*/
!function(){"use strict";var a={langLocaleCode:"nn",cultureCode:"nn",delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"t",million:"mil",billion:"mia",trillion:"b"},ordinal:function(){return"."},currency:{symbol:"kr"}};
// Node
"undefined"!=typeof module&&module.exports&&(module.exports=a),
// Browser
"undefined"!=typeof window&&window.numbro&&window.numbro.language&&window.numbro.language("nn",a)}();

11
muk_web_preview_msoffice/static/lib/numbro/languages/pl-PL.min.js

@ -1,11 +0,0 @@
/*!
* numbro.js language configuration
* language : Polish
* locale : Poland
* author : Dominik Bulaj : https://github.com/dominikbulaj
*/
(function(){"use strict";var a={langLocaleCode:"pl-PL",cultureCode:"pl-PL",delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"tys.",million:"mln",billion:"mld",trillion:"bln"},ordinal:function(){return"."},currency:{symbol:" zł",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};
// CommonJS
"undefined"!=typeof module&&module.exports&&(module.exports=a),
// Browser
"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(a.cultureCode,a)}).call("undefined"==typeof window?this:window);

11
muk_web_preview_msoffice/static/lib/numbro/languages/pt-BR.min.js

@ -1,11 +0,0 @@
/*!
* numbro.js language configuration
* language : Portuguese
* locale : Brazil
* author : Ramiro Varandas Jr : https://github.com/ramirovjr
*/
(function(){"use strict";var a={langLocaleCode:"pt-BR",cultureCode:"pt-BR",delimiters:{thousands:".",decimal:","},abbreviations:{thousand:"mil",million:"milhões",billion:"b",trillion:"t"},ordinal:function(){return"º"},currency:{symbol:"R$",position:"prefix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};
// CommonJS
"undefined"!=typeof module&&module.exports&&(module.exports=a),
// Browser
"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(a.cultureCode,a)}).call("undefined"==typeof window?this:window);

11
muk_web_preview_msoffice/static/lib/numbro/languages/pt-PT.min.js

@ -1,11 +0,0 @@
/*!
* numbro.js language configuration
* language : Portuguese
* locale : Portugal
* author : Diogo Resende : https://github.com/dresende
*/
(function(){"use strict";var a={langLocaleCode:"pt-PT",cultureCode:"pt-PT",delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(){return"º"},currency:{symbol:"€",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};
// CommonJS
"undefined"!=typeof module&&module.exports&&(module.exports=a),
// Browser
"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(a.cultureCode,a)}).call("undefined"==typeof window?this:window);

10
muk_web_preview_msoffice/static/lib/numbro/languages/ro-RO.min.js

@ -1,10 +0,0 @@
/*!
* numeral.js language configuration
* language : Romanian
* author : Andrei Alecu https://github.com/andreialecu
*/
(function(){"use strict";var a={langLocaleCode:"ro-RO",cultureCode:"ro-RO",delimiters:{thousands:".",decimal:","},abbreviations:{thousand:"mii",million:"mil",billion:"mld",trillion:"bln"},ordinal:function(){return"."},currency:{symbol:" lei",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};
// CommonJS
"undefined"!=typeof module&&module.exports&&(module.exports=a),
// Browser
"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(a.cultureCode,a)}).call("undefined"==typeof window?this:window);

10
muk_web_preview_msoffice/static/lib/numbro/languages/ro.min.js

@ -1,10 +0,0 @@
/*!
* numbro.js language configuration
* language : Romanian (ro)
* author : Tim McIntosh (StayinFront NZ)
*/
(function(){"use strict";var a={langLocaleCode:"ro",cultureCode:"ro",delimiters:{thousands:".",decimal:","},abbreviations:{thousand:"mie",million:"mln",billion:"mld",trillion:"t"},ordinal:function(){return"."},currency:{symbol:"RON"}};
// Node
"undefined"!=typeof module&&module.exports&&(module.exports=a),
// Browser
"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture("ro",a)}).call("undefined"==typeof window?this:window);

15
muk_web_preview_msoffice/static/lib/numbro/languages/ru-RU.min.js

@ -1,15 +0,0 @@
/*!
* numbro.js language configuration
* language : Russian
* locale : Russsia
* author : Anatoli Papirovski : https://github.com/apapirovski
*/
(function(){"use strict";var a={langLocaleCode:"ru-RU",cultureCode:"ru-RU",delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"тыс.",million:"млн",billion:"b",trillion:"t"},ordinal:function(){
// not ideal, but since in Russian it can taken on
// different forms (masculine, feminine, neuter)
// this is all we can do
return"."},currency:{symbol:"руб.",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};
// CommonJS
"undefined"!=typeof module&&module.exports&&(module.exports=a),
// Browser
"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(a.cultureCode,a)}).call("undefined"==typeof window?this:window);

15
muk_web_preview_msoffice/static/lib/numbro/languages/ru-UA.min.js

@ -1,15 +0,0 @@
/*!
* numbro.js language configuration
* language : Russian
* locale : Ukraine
* author : Anatoli Papirovski : https://github.com/apapirovski
*/
(function(){"use strict";var a={langLocaleCode:"ru-UA",cultureCode:"ru-UA",delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"тыс.",million:"млн",billion:"b",trillion:"t"},ordinal:function(){
// not ideal, but since in Russian it can taken on
// different forms (masculine, feminine, neuter)
// this is all we can do
return"."},currency:{symbol:"₴",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};
// CommonJS
"undefined"!=typeof module&&module.exports&&(module.exports=a),
// Browser
"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(a.cultureCode,a)}).call("undefined"==typeof window?this:window);

11
muk_web_preview_msoffice/static/lib/numbro/languages/sk-SK.min.js

@ -1,11 +0,0 @@
/*!
* numbro.js language configuration
* language : Slovak
* locale : Slovakia
* author : Jan Pesa : https://github.com/smajl (based on work from Ahmed Al Hafoudh : http://www.freevision.sk)
*/
(function(){"use strict";var a={langLocaleCode:"sk-SK",cultureCode:"sk-SK",delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"tis.",million:"mil.",billion:"mld.",trillion:"bil."},ordinal:function(){return"."},currency:{symbol:"€",position:"postfix",spaceSeparated:!0},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};
// CommonJS
"undefined"!=typeof module&&module.exports&&(module.exports=a),
// Browser
"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(a.cultureCode,a)}).call("undefined"==typeof window?this:window);

11
muk_web_preview_msoffice/static/lib/numbro/languages/sl.min.js

@ -1,11 +0,0 @@
/*!
* numbro.js language configuration
* language : Slovene
* locale: Slovenia
* author : Tim McIntosh (StayinFront NZ)
*/
!function(){"use strict";var a={langLocaleCode:"sl",cultureCode:"sl",delimiters:{thousands:".",decimal:","},abbreviations:{thousand:"tis.",million:"mil.",billion:"b",trillion:"t"},ordinal:function(){return"."},currency:{symbol:"€"}};
// Node
"undefined"!=typeof module&&module.exports&&(module.exports=a),
// Browser
"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture("sl",a)}();

11
muk_web_preview_msoffice/static/lib/numbro/languages/sr-Cyrl-RS.min.js

@ -1,11 +0,0 @@
/*!
* numbro.js language configuration
* language : Serbian (sr)
* country : Serbia (Cyrillic)
* author : Tim McIntosh (StayinFront NZ)
*/
!function(){"use strict";var a={langLocaleCode:"sr-Cyrl-RS",cultureCode:"sr-Cyrl-RS",delimiters:{thousands:".",decimal:","},abbreviations:{thousand:"тыс.",million:"млн",billion:"b",trillion:"t"},ordinal:function(){return"."},currency:{symbol:"RSD"}};
// Node
"undefined"!=typeof module&&module.exports&&(module.exports=a),
// Browser
"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture("sr-Cyrl-RS",a)}();

11
muk_web_preview_msoffice/static/lib/numbro/languages/sv-SE.min.js

@ -1,11 +0,0 @@
/*!
* numbro.js language configuration
* language : Swedish
* locale : Sweden
* author : Benjamin Van Ryseghem (benjamin.vanryseghem.com)
*/
(function(){"use strict";var a={langLocaleCode:"sv-SE",cultureCode:"sv-SE",delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"t",million:"M",billion:"md",trillion:"tmd"},currency:{symbol:"kr",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};
// CommonJS
"undefined"!=typeof module&&module.exports&&(module.exports=a),
// Browser
"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(a.cultureCode,a)}).call("undefined"==typeof window?this:window);

11
muk_web_preview_msoffice/static/lib/numbro/languages/th-TH.min.js

@ -1,11 +0,0 @@
/*!
* numbro.js language configuration
* language : Thai
* locale : Thailand
* author : Sathit Jittanupat : https://github.com/jojosati
*/
(function(){"use strict";var a={langLocaleCode:"th-TH",cultureCode:"th-TH",delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"พัน",million:"ล้าน",billion:"พันล้าน",trillion:"ล้านล้าน"},ordinal:function(){return"."},currency:{symbol:"฿",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};
// CommonJS
"undefined"!=typeof module&&module.exports&&(module.exports=a),
// Browser
"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(a.cultureCode,a)}).call("undefined"==typeof window?this:window);

14
muk_web_preview_msoffice/static/lib/numbro/languages/tr-TR.min.js

@ -1,14 +0,0 @@
/*!
* numbro.js language configuration
* language : Turkish
* locale : Turkey
* author : Ecmel Ercan : https://github.com/ecmel,
* Erhan Gundogan : https://github.com/erhangundogan,
* Burak Yiğit Kaya: https://github.com/BYK
*/
(function(){"use strict";var a={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"},b={langLocaleCode:"tr-TR",cultureCode:"tr-TR",delimiters:{thousands:".",decimal:","},abbreviations:{thousand:"bin",million:"milyon",billion:"milyar",trillion:"trilyon"},ordinal:function(b){if(0===b)// special case for zero
return"'ıncı";var c=b%10,d=b%100-c,e=b>=100?100:null;return a[c]||a[d]||a[e]},currency:{symbol:"₺",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};
// CommonJS
"undefined"!=typeof module&&module.exports&&(module.exports=b),
// Browser
"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(b.cultureCode,b)}).call("undefined"==typeof window?this:window);

15
muk_web_preview_msoffice/static/lib/numbro/languages/uk-UA.min.js

@ -1,15 +0,0 @@
/*!
* numbro.js language configuration
* language : Ukrainian
* locale : Ukraine
* author : Michael Piefel : https://github.com/piefel (with help from Tetyana Kuzmenko)
*/
(function(){"use strict";var a={langLocaleCode:"uk-UA",cultureCode:"uk-UA",delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"тис.",million:"млн",billion:"млрд",trillion:"блн"},ordinal:function(){
// not ideal, but since in Ukrainian it can taken on
// different forms (masculine, feminine, neuter)
// this is all we can do
return""},currency:{symbol:"₴",position:"postfix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:",0.00 $",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:",0 $"}};
// CommonJS
"undefined"!=typeof module&&module.exports&&(module.exports=a),
// Browser
"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(a.cultureCode,a)}).call("undefined"==typeof window?this:window);

11
muk_web_preview_msoffice/static/lib/numbro/languages/zh-CN.min.js

@ -1,11 +0,0 @@
/*!
* numbro.js language configuration
* language : simplified chinese
* locale : China
* author : badplum : https://github.com/badplum
*/
(function(){"use strict";var a={langLocaleCode:"zh-CN",cultureCode:"zh-CN",delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"千",million:"百万",billion:"十亿",trillion:"兆"},ordinal:function(){return"."},currency:{symbol:"¥",position:"prefix"},defaults:{currencyFormat:",4 a"},formats:{fourDigits:"4 a",fullWithTwoDecimals:"$ ,0.00",fullWithTwoDecimalsNoCurrency:",0.00",fullWithNoDecimals:"$ ,0"}};
// CommonJS
"undefined"!=typeof module&&module.exports&&(module.exports=a),
// Browser
"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(a.cultureCode,a)}).call("undefined"==typeof window?this:window);

10
muk_web_preview_msoffice/static/lib/numbro/languages/zh-HANS.min.js

@ -1,10 +0,0 @@
/*!
* numbro.js language configuration
* language : Chinese simplified (zh-HANS)
* author : Tim McIntosh (StayinFront NZ)
*/
!function(){"use strict";var a={langLocaleCode:"zh-HANS",cultureCode:"zh-HANS",delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"千",million:"百万",billion:"十亿",trillion:"兆"},ordinal:function(){return"."},currency:{symbol:"¥"}};
// Node
"undefined"!=typeof module&&module.exports&&(module.exports=a),
// Browser
"undefined"!=typeof window&&this.numbro&&this.numbro.culture&&this.numbro.culture("zh-HANS",a)}();

10
muk_web_preview_msoffice/static/lib/numbro/languages/zh-HANT.min.js

@ -1,10 +0,0 @@
/*!
* numbro.js language configuration
* language : Chinese traditional (zh-HANT)
* author : Tim McIntosh (StayinFront NZ)
*/
!function(){"use strict";var a={langLocaleCode:"zh-HANT",cultureCode:"zh-HANT",delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"千",million:"百萬",billion:"十億",trillion:"兆"},ordinal:function(){return"."},currency:{symbol:"$"}};
// Node
"undefined"!=typeof module&&module.exports&&(module.exports=a),
// Browser
"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture("zh-HANT",a)}();

11
muk_web_preview_msoffice/static/lib/numbro/languages/zh-MO.min.js

@ -1,11 +0,0 @@
/*!
* numbro.js language configuration
* language : Chinese traditional
* locale: Macau
* author : Tim McIntosh (StayinFront NZ)
*/
!function(){"use strict";var a={langLocaleCode:"zh-MO",cultureCode:"zh-MO",delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"千",million:"百萬",billion:"十億",trillion:"兆"},ordinal:function(){return"."},currency:{symbol:"MOP"}};
// Node
"undefined"!=typeof module&&module.exports&&(module.exports=a),
// Browser
"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture("zh-MO",a)}();

11
muk_web_preview_msoffice/static/lib/numbro/languages/zh-SG.min.js

@ -1,11 +0,0 @@
/*!
* numbro.js language configuration
* language : Chinese simplified
* locale: Singapore
* author : Tim McIntosh (StayinFront NZ)
*/
(function(){"use strict";var a={langLocaleCode:"zh-SG",cultureCode:"zh-SG",delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"千",million:"百万",billion:"十亿",trillion:"兆"},ordinal:function(){return"."},currency:{symbol:"$"}};
// Node
"undefined"!=typeof module&&module.exports&&(module.exports=a),
// Browser
"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture("zh-SG",a)}).call("undefined"==typeof window?this:window);

11
muk_web_preview_msoffice/static/lib/numbro/languages/zh-TW.min.js

@ -1,11 +0,0 @@
/*!
* numbro.js language configuration
* language : Chinese (Taiwan)
* author (numbro.js Version): Randy Wilander : https://github.com/rocketedaway
* author (numeral.js Version) : Rich Daley : https://github.com/pedantic-git
*/
(function(){"use strict";var a={langLocaleCode:"zh-TW",cultureCode:"zh-TW",delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"千",million:"百萬",billion:"十億",trillion:"兆"},ordinal:function(){return"第"},currency:{symbol:"NT$"}};
// CommonJS
"undefined"!=typeof module&&module.exports&&(module.exports=a),
// Browser
"undefined"!=typeof window&&window.numbro&&window.numbro.culture&&window.numbro.culture(a.cultureCode,a)}).call("undefined"==typeof window?this:window);

1293
muk_web_preview_msoffice/static/lib/numbro/numbro.js
File diff suppressed because it is too large
View File

36
muk_web_preview_msoffice/static/lib/pikaday/LICENSE

@ -1,36 +0,0 @@
Copyright (c) 2014 David Bushell BSD & MIT license
The MIT License (MIT)
Copyright (c) 2014 David Bushell
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
The BSD License
Copyright (c) 2014 David Bushell
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

222
muk_web_preview_msoffice/static/lib/pikaday/pikaday.css

@ -1,222 +0,0 @@
@charset "UTF-8";
/*!
* Pikaday
* Copyright © 2014 David Bushell | BSD & MIT license | http://dbushell.com/
*/
.pika-single {
z-index: 9999;
display: block;
position: relative;
color: #333;
background: #fff;
border: 1px solid #ccc;
border-bottom-color: #bbb;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
/*
clear child float (pika-lendar), using the famous micro clearfix hack
http://nicolasgallagher.com/micro-clearfix-hack/
*/
.pika-single:before,
.pika-single:after {
content: " ";
display: table;
}
.pika-single:after { clear: both }
.pika-single { *zoom: 1 }
.pika-single.is-hidden {
display: none;
}
.pika-single.is-bound {
position: absolute;
box-shadow: 0 5px 15px -5px rgba(0,0,0,.5);
}
.pika-lendar {
float: left;
width: 240px;
margin: 8px;
}
.pika-title {
position: relative;
text-align: center;
}
.pika-label {
display: inline-block;
*display: inline;
position: relative;
z-index: 9999;
overflow: hidden;
margin: 0;
padding: 5px 3px;
font-size: 14px;
line-height: 20px;
font-weight: bold;
background-color: #fff;
}
.pika-title select {
cursor: pointer;
position: absolute;
z-index: 9998;
margin: 0;
left: 0;
top: 5px;
filter: alpha(opacity=0);
opacity: 0;
}
.pika-prev,
.pika-next {
display: block;
cursor: pointer;
position: relative;
outline: none;
border: 0;
padding: 0;
width: 20px;
height: 30px;
/* hide text using text-indent trick, using width value (it's enough) */
text-indent: 20px;
white-space: nowrap;
overflow: hidden;
background-color: transparent;
background-position: center center;
background-repeat: no-repeat;
background-size: 75% 75%;
opacity: .5;
*position: absolute;
*top: 0;
}
.pika-prev:hover,
.pika-next:hover {
opacity: 1;
}
.pika-prev,
.is-rtl .pika-next {
float: left;
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAeCAYAAAAsEj5rAAAAUklEQVR42u3VMQoAIBADQf8Pgj+OD9hG2CtONJB2ymQkKe0HbwAP0xucDiQWARITIDEBEnMgMQ8S8+AqBIl6kKgHiXqQqAeJepBo/z38J/U0uAHlaBkBl9I4GwAAAABJRU5ErkJggg==');
*left: 0;
}
.pika-next,
.is-rtl .pika-prev {
float: right;
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAeCAYAAAAsEj5rAAAAU0lEQVR42u3VOwoAMAgE0dwfAnNjU26bYkBCFGwfiL9VVWoO+BJ4Gf3gtsEKKoFBNTCoCAYVwaAiGNQGMUHMkjGbgjk2mIONuXo0nC8XnCf1JXgArVIZAQh5TKYAAAAASUVORK5CYII=');
*right: 0;
}
.pika-prev.is-disabled,
.pika-next.is-disabled {
cursor: default;
opacity: .2;
}
.pika-select {
display: inline-block;
*display: inline;
}
.pika-table {
width: 100%;
border-collapse: collapse;
border-spacing: 0;
border: 0;
}
.pika-table th,
.pika-table td {
width: 14.285714285714286%;
padding: 0;
}
.pika-table th {
color: #999;
font-size: 12px;
line-height: 25px;
font-weight: bold;
text-align: center;
}
.pika-button {
cursor: pointer;
display: block;
box-sizing: border-box;
-moz-box-sizing: border-box;
outline: none;
border: 0;
margin: 0;
width: 100%;
padding: 5px;
color: #666;
font-size: 12px;
line-height: 15px;
text-align: right;
background: #f5f5f5;
}
.pika-week {
font-size: 11px;
color: #999;
}
.is-today .pika-button {
color: #33aaff;
font-weight: bold;
}
.is-selected .pika-button {
color: #fff;
font-weight: bold;
background: #33aaff;
box-shadow: inset 0 1px 3px #178fe5;
border-radius: 3px;
}
.is-inrange .pika-button {
background: #D5E9F7;
}
.is-startrange .pika-button {
color: #fff;
background: #6CB31D;
box-shadow: none;
border-radius: 3px;
}
.is-endrange .pika-button {
color: #fff;
background: #33aaff;
box-shadow: none;
border-radius: 3px;
}
.is-disabled .pika-button,
.is-outside-current-month .pika-button {
pointer-events: none;
cursor: default;
color: #999;
opacity: .3;
}
.pika-button:hover {
color: #fff;
background: #ff8000;
box-shadow: none;
border-radius: 3px;
}
/* styling for abbr */
.pika-table abbr {
border-bottom: none;
cursor: help;
}

1193
muk_web_preview_msoffice/static/lib/pikaday/pikaday.js
File diff suppressed because it is too large
View File

14
muk_web_preview_msoffice/static/src/js/preview_handler.js

@ -37,7 +37,7 @@ var WordHandler = PreviewHandler.PDFHandler.extend({
'application/vnd.openxmlformats-officedocument.wordprocessingml.document'].includes(mimetype); 'application/vnd.openxmlformats-officedocument.wordprocessingml.document'].includes(mimetype);
}, },
createHtml: function(url, mimetype, extension, title) { createHtml: function(url, mimetype, extension, title) {
var convertUrlTempalte = _.template('/web/preview/converter/msoffice?url=<%= url %>');
var convertUrlTempalte = _.template('/web/preview/msoffice?url=<%= url %>');
return this._super(convertUrlTempalte({url: encodeURIComponent(url)})); return this._super(convertUrlTempalte({url: encodeURIComponent(url)}));
}, },
}); });
@ -52,19 +52,19 @@ var PowerPointHandler = PreviewHandler.PDFHandler.extend({
'application/vnd.ms-powerpoint.presentation.macroEnabled.12'].includes(mimetype); 'application/vnd.ms-powerpoint.presentation.macroEnabled.12'].includes(mimetype);
}, },
createHtml: function(url, mimetype, extension, title) { createHtml: function(url, mimetype, extension, title) {
var convertUrlTempalte = _.template('/web/preview/converter/msoffice?url=<%= url %>');
var convertUrlTempalte = _.template('/web/preview/msoffice?url=<%= url %>');
return this._super(convertUrlTempalte({url: encodeURIComponent(url)})); return this._super(convertUrlTempalte({url: encodeURIComponent(url)}));
}, },
}); });
var ExcelHandler = PreviewHandler.BaseHandler.extend({ var ExcelHandler = PreviewHandler.BaseHandler.extend({
cssLibs: [ cssLibs: [
'/muk_web_preview_msoffice/static/lib/handsontable/handsontable.css',
'/muk_web_utils/static/lib/handsontable/handsontable.css',
], ],
jsLibs: [ jsLibs: [
'/muk_web_preview_msoffice/static/lib/jQueryBinaryTransport/jquery-binarytransport.js',
'/muk_web_preview_msoffice/static/lib/SheetJS/xlsx.js',
'/muk_web_preview_msoffice/static/lib/handsontable/handsontable.js'
'/muk_web_utils/static/lib/jQueryBinaryTransport/jquery-binarytransport.js',
'/muk_web_utils/static/lib/SheetJS/xlsx.js',
'/muk_web_utils/static/lib/handsontable/handsontable.js'
], ],
checkExtension: function(extension) { checkExtension: function(extension) {
return ['.xls', '.xlsx', '.xlsm', '.xlsb', 'xls', 'xlsx', 'xlsm', 'xlsb'].includes(extension); return ['.xls', '.xlsx', '.xlsm', '.xlsb', 'xls', 'xlsx', 'xlsm', 'xlsb'].includes(extension);
@ -147,6 +147,6 @@ return {
ExcelHandler: ExcelHandler, ExcelHandler: ExcelHandler,
WordHandler: WordHandler, WordHandler: WordHandler,
PowerPointHandler: PowerPointHandler, PowerPointHandler: PowerPointHandler,
}
};
}); });

3
muk_web_preview_msoffice/tests/__init__.py

@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
################################################################################### ###################################################################################
# #
# Copyright (C) 2017 MuK IT GmbH # Copyright (C) 2017 MuK IT GmbH
@ -20,4 +18,3 @@
################################################################################### ###################################################################################
from . import test_msoffice_parse from . import test_msoffice_parse

16
muk_web_preview_msoffice/tests/test_msoffice_parse.py

@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
################################################################################### ###################################################################################
# #
# Copyright (C) 2017 MuK IT GmbH # Copyright (C) 2017 MuK IT GmbH
@ -20,21 +18,15 @@
################################################################################### ###################################################################################
import os import os
import base64
import logging import logging
import unittest
from urllib.parse import urlunparse from urllib.parse import urlunparse
from urllib.parse import urlparse from urllib.parse import urlparse
from urllib.parse import parse_qsl from urllib.parse import parse_qsl
from urllib.parse import urlencode from urllib.parse import urlencode
from contextlib import closing
from odoo import _
from odoo.tests import common from odoo.tests import common
from odoo.addons.muk_web_preview_mail.controllers import main
_path = os.path.dirname(os.path.dirname(__file__)) _path = os.path.dirname(os.path.dirname(__file__))
_logger = logging.getLogger(__name__) _logger = logging.getLogger(__name__)
@ -52,13 +44,11 @@ class MSOfficeParseTestCase(common.HttpCase):
def test_parse_msoffice(self): def test_parse_msoffice(self):
self.authenticate('admin', 'admin') self.authenticate('admin', 'admin')
url = "/web/preview/converter/msoffice"
params = {'url': "/web/content?id={}".format(
self.sample_msoffice_attachment.id
)}
url = "/web/preview/msoffice"
params = {'url': "/web/content?id={}".format(self.sample_msoffice_attachment.id)}
url_parts = list(urlparse(url)) url_parts = list(urlparse(url))
query = dict(parse_qsl(url_parts[4])) query = dict(parse_qsl(url_parts[4]))
query.update(params) query.update(params)
url_parts[4] = urlencode(query) url_parts[4] = urlencode(query)
url = urlunparse(url_parts) url = urlunparse(url_parts)
self.url_open(url)
self.assertTrue(self.url_open(url))
Loading…
Cancel
Save