@verdocs/web-sdk 1.0.18 → 1.0.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{Content-58669c78.js → Content-1d98b2f3.js} +225 -0
- package/dist/cjs/app-globals-3a1e7e63.js +5 -0
- package/dist/cjs/css-shim-88cc6900.js +6 -0
- package/dist/cjs/document-status-indicator.cjs.entry.js +1 -1
- package/dist/cjs/dom-95afd968.js +75 -0
- package/dist/cjs/dropdown-menu.cjs.entry.js +191 -4
- package/dist/cjs/index-0b9c3c7d.js +3064 -0
- package/dist/cjs/loader.cjs.js +19 -3
- package/dist/cjs/org-popup.cjs.entry.js +1 -1
- package/dist/cjs/pdf-viewer.cjs.entry.js +87 -6
- package/dist/cjs/search-box.cjs.entry.js +19 -7
- package/dist/cjs/search-embed.cjs.entry.js +1 -1
- package/dist/cjs/search-quick-functions.cjs.entry.js +1 -1
- package/dist/cjs/search-recent.cjs.entry.js +2 -2
- package/dist/cjs/search-saved.cjs.entry.js +2 -2
- package/dist/cjs/search-starred.cjs.entry.js +1 -1
- package/dist/cjs/search-tabs.cjs.entry.js +1 -1
- package/dist/cjs/shadow-css-71d0f821.js +391 -0
- package/dist/cjs/tags-indicator.cjs.entry.js +1 -1
- package/dist/cjs/template-card.cjs.entry.js +1 -1
- package/dist/cjs/toggle-icon-buttons.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-web-sdk.cjs.js +113 -5
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/elements/search-box/search-box.css +4 -0
- package/dist/collection/components/elements/search-box/search-box.js +73 -14
- package/dist/collection/components/elements/search-box/search-box.stories.js +3 -1
- package/dist/custom-elements/index.js +525 -17
- package/dist/docs.json +40 -5
- package/dist/esm/{Content-89af44fd.js → Content-0d614ff3.js} +225 -0
- package/dist/esm/app-globals-0f993ce5.js +3 -0
- package/dist/esm/css-shim-c64026cd.js +4 -0
- package/dist/esm/document-status-indicator.entry.js +1 -1
- package/dist/esm/dom-a712b575.js +73 -0
- package/dist/esm/dropdown-menu.entry.js +191 -4
- package/dist/esm/index-81ec66c1.js +3027 -0
- package/dist/esm/loader.js +19 -3
- package/dist/esm/org-popup.entry.js +1 -1
- package/dist/esm/pdf-viewer.entry.js +87 -6
- package/dist/esm/search-box.entry.js +19 -7
- package/dist/esm/search-embed.entry.js +1 -1
- package/dist/esm/search-quick-functions.entry.js +1 -1
- package/dist/esm/search-recent.entry.js +2 -2
- package/dist/esm/search-saved.entry.js +2 -2
- package/dist/esm/search-starred.entry.js +1 -1
- package/dist/esm/search-tabs.entry.js +1 -1
- package/dist/esm/shadow-css-1e16431b.js +389 -0
- package/dist/esm/tags-indicator.entry.js +1 -1
- package/dist/esm/template-card.entry.js +1 -1
- package/dist/esm/toggle-icon-buttons.entry.js +1 -1
- package/dist/esm/verdocs-web-sdk.js +113 -5
- package/dist/esm-es5/Content-0d614ff3.js +1 -0
- package/dist/esm-es5/app-globals-0f993ce5.js +1 -0
- package/dist/esm-es5/css-shim-c64026cd.js +1 -0
- package/dist/esm-es5/document-status-indicator.entry.js +1 -1
- package/dist/esm-es5/dom-a712b575.js +21 -0
- package/dist/esm-es5/dropdown-menu.entry.js +1 -1
- package/dist/esm-es5/index-81ec66c1.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/org-popup.entry.js +1 -1
- package/dist/esm-es5/pdf-viewer.entry.js +2 -2
- package/dist/esm-es5/search-box.entry.js +1 -1
- package/dist/esm-es5/search-embed.entry.js +1 -1
- package/dist/esm-es5/search-quick-functions.entry.js +1 -1
- package/dist/esm-es5/search-recent.entry.js +1 -1
- package/dist/esm-es5/search-saved.entry.js +1 -1
- package/dist/esm-es5/search-starred.entry.js +1 -1
- package/dist/esm-es5/search-tabs.entry.js +1 -1
- package/dist/esm-es5/shadow-css-1e16431b.js +12 -0
- package/dist/esm-es5/tags-indicator.entry.js +1 -1
- package/dist/esm-es5/template-card.entry.js +1 -1
- package/dist/esm-es5/toggle-icon-buttons.entry.js +1 -1
- package/dist/esm-es5/verdocs-web-sdk.js +1 -1
- package/dist/types/components/elements/search-box/search-box.d.ts +20 -5
- package/dist/types/components/elements/search-box/search-box.stories.d.ts +3 -1
- package/dist/types/components.d.ts +23 -1
- package/dist/verdocs-web-sdk/Content-0d614ff3.js +2175 -0
- package/dist/verdocs-web-sdk/Content-42ddf5ec.system.js +1 -0
- package/dist/verdocs-web-sdk/app-globals-0f993ce5.js +3 -0
- package/dist/verdocs-web-sdk/app-globals-497eb362.system.js +1 -0
- package/dist/verdocs-web-sdk/css-shim-0e9af51a.system.js +1 -0
- package/dist/verdocs-web-sdk/css-shim-c64026cd.js +4 -0
- package/dist/verdocs-web-sdk/document-status-indicator.entry.js +55 -0
- package/dist/verdocs-web-sdk/document-status-indicator.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/dom-a712b575.js +73 -0
- package/dist/verdocs-web-sdk/dom-f6327147.system.js +21 -0
- package/dist/verdocs-web-sdk/dropdown-menu.entry.js +1990 -0
- package/dist/verdocs-web-sdk/dropdown-menu.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/index-46cb292b.system.js +1 -0
- package/dist/verdocs-web-sdk/index-81ec66c1.js +3027 -0
- package/dist/verdocs-web-sdk/index.esm.js +1 -0
- package/dist/verdocs-web-sdk/{p-50ea2036.system.js → index.system.js} +0 -0
- package/dist/verdocs-web-sdk/org-popup.entry.js +21 -0
- package/dist/verdocs-web-sdk/org-popup.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/pdf-viewer.entry.js +13754 -0
- package/dist/verdocs-web-sdk/pdf-viewer.system.entry.js +23 -0
- package/dist/verdocs-web-sdk/search-box.entry.js +46 -0
- package/dist/verdocs-web-sdk/search-box.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/search-embed.entry.js +15 -0
- package/dist/verdocs-web-sdk/search-embed.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/search-quick-functions.entry.js +27 -0
- package/dist/verdocs-web-sdk/search-quick-functions.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/search-recent.entry.js +35 -0
- package/dist/verdocs-web-sdk/search-recent.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/search-saved.entry.js +35 -0
- package/dist/verdocs-web-sdk/search-saved.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/search-starred.entry.js +42 -0
- package/dist/verdocs-web-sdk/search-starred.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/search-tabs.entry.js +16 -0
- package/dist/verdocs-web-sdk/search-tabs.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/shadow-css-1e16431b.js +389 -0
- package/dist/verdocs-web-sdk/shadow-css-ef154fe4.system.js +13 -0
- package/dist/verdocs-web-sdk/tags-indicator.entry.js +16 -0
- package/dist/verdocs-web-sdk/tags-indicator.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/template-card.entry.js +24 -0
- package/dist/verdocs-web-sdk/template-card.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/toggle-icon-buttons.entry.js +28 -0
- package/dist/verdocs-web-sdk/toggle-icon-buttons.system.entry.js +1 -0
- package/dist/verdocs-web-sdk/verdocs-web-sdk.css +12 -1
- package/dist/verdocs-web-sdk/verdocs-web-sdk.esm.js +125 -1
- package/dist/verdocs-web-sdk/verdocs-web-sdk.js +1 -1
- package/dist/verdocs-web-sdk/verdocs-web-sdk.system.js +1 -0
- package/package.json +4 -4
- package/dist/cjs/index-e2fb537e.js +0 -1631
- package/dist/esm/index-183a8995.js +0 -1602
- package/dist/esm-es5/Content-89af44fd.js +0 -1
- package/dist/esm-es5/index-183a8995.js +0 -1
- package/dist/verdocs-web-sdk/p-12d12411.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-1d1bc463.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-29cb7cbc.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-2cec77cf.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-32a5788a.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-33111d7b.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-349248f0.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-36082c90.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-365a4de4.js +0 -1
- package/dist/verdocs-web-sdk/p-3a032151.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-3cc8281f.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-440d8a73.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-4d4e090f.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-55660c24.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-66af7432.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-6b569aa1.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-6e033b90.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-6ee008ff.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-755c0154.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-7d10b067.system.entry.js +0 -23
- package/dist/verdocs-web-sdk/p-89be87e5.js +0 -1
- package/dist/verdocs-web-sdk/p-92e7863c.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-99ebfee7.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-9af63b8a.system.js +0 -1
- package/dist/verdocs-web-sdk/p-9da35744.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-9e71faa0.system.js +0 -1
- package/dist/verdocs-web-sdk/p-b3d5601a.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-bb99a203.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-cbc784a6.system.js +0 -1
- package/dist/verdocs-web-sdk/p-d73f486f.entry.js +0 -23
- package/dist/verdocs-web-sdk/p-dea09611.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-e34538bd.system.entry.js +0 -1
- package/dist/verdocs-web-sdk/p-e59eda0c.system.entry.js +0 -1
|
@@ -0,0 +1,391 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
/*
|
|
4
|
+
Stencil Client Platform v2.10.0 | MIT Licensed | https://stenciljs.com
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* @license
|
|
8
|
+
* Copyright Google Inc. All Rights Reserved.
|
|
9
|
+
*
|
|
10
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
11
|
+
* found in the LICENSE file at https://angular.io/license
|
|
12
|
+
*
|
|
13
|
+
* This file is a port of shadowCSS from webcomponents.js to TypeScript.
|
|
14
|
+
* https://github.com/webcomponents/webcomponentsjs/blob/4efecd7e0e/src/ShadowCSS/ShadowCSS.js
|
|
15
|
+
* https://github.com/angular/angular/blob/master/packages/compiler/src/shadow_css.ts
|
|
16
|
+
*/
|
|
17
|
+
const safeSelector = (selector) => {
|
|
18
|
+
const placeholders = [];
|
|
19
|
+
let index = 0;
|
|
20
|
+
let content;
|
|
21
|
+
// Replaces attribute selectors with placeholders.
|
|
22
|
+
// The WS in [attr="va lue"] would otherwise be interpreted as a selector separator.
|
|
23
|
+
selector = selector.replace(/(\[[^\]]*\])/g, (_, keep) => {
|
|
24
|
+
const replaceBy = `__ph-${index}__`;
|
|
25
|
+
placeholders.push(keep);
|
|
26
|
+
index++;
|
|
27
|
+
return replaceBy;
|
|
28
|
+
});
|
|
29
|
+
// Replaces the expression in `:nth-child(2n + 1)` with a placeholder.
|
|
30
|
+
// WS and "+" would otherwise be interpreted as selector separators.
|
|
31
|
+
content = selector.replace(/(:nth-[-\w]+)(\([^)]+\))/g, (_, pseudo, exp) => {
|
|
32
|
+
const replaceBy = `__ph-${index}__`;
|
|
33
|
+
placeholders.push(exp);
|
|
34
|
+
index++;
|
|
35
|
+
return pseudo + replaceBy;
|
|
36
|
+
});
|
|
37
|
+
const ss = {
|
|
38
|
+
content,
|
|
39
|
+
placeholders,
|
|
40
|
+
};
|
|
41
|
+
return ss;
|
|
42
|
+
};
|
|
43
|
+
const restoreSafeSelector = (placeholders, content) => {
|
|
44
|
+
return content.replace(/__ph-(\d+)__/g, (_, index) => placeholders[+index]);
|
|
45
|
+
};
|
|
46
|
+
const _polyfillHost = '-shadowcsshost';
|
|
47
|
+
const _polyfillSlotted = '-shadowcssslotted';
|
|
48
|
+
// note: :host-context pre-processed to -shadowcsshostcontext.
|
|
49
|
+
const _polyfillHostContext = '-shadowcsscontext';
|
|
50
|
+
const _parenSuffix = ')(?:\\((' + '(?:\\([^)(]*\\)|[^)(]*)+?' + ')\\))?([^,{]*)';
|
|
51
|
+
const _cssColonHostRe = new RegExp('(' + _polyfillHost + _parenSuffix, 'gim');
|
|
52
|
+
const _cssColonHostContextRe = new RegExp('(' + _polyfillHostContext + _parenSuffix, 'gim');
|
|
53
|
+
const _cssColonSlottedRe = new RegExp('(' + _polyfillSlotted + _parenSuffix, 'gim');
|
|
54
|
+
const _polyfillHostNoCombinator = _polyfillHost + '-no-combinator';
|
|
55
|
+
const _polyfillHostNoCombinatorRe = /-shadowcsshost-no-combinator([^\s]*)/;
|
|
56
|
+
const _shadowDOMSelectorsRe = [/::shadow/g, /::content/g];
|
|
57
|
+
const _selectorReSuffix = '([>\\s~+[.,{:][\\s\\S]*)?$';
|
|
58
|
+
const _polyfillHostRe = /-shadowcsshost/gim;
|
|
59
|
+
const _colonHostRe = /:host/gim;
|
|
60
|
+
const _colonSlottedRe = /::slotted/gim;
|
|
61
|
+
const _colonHostContextRe = /:host-context/gim;
|
|
62
|
+
const _commentRe = /\/\*\s*[\s\S]*?\*\//g;
|
|
63
|
+
const stripComments = (input) => {
|
|
64
|
+
return input.replace(_commentRe, '');
|
|
65
|
+
};
|
|
66
|
+
const _commentWithHashRe = /\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g;
|
|
67
|
+
const extractCommentsWithHash = (input) => {
|
|
68
|
+
return input.match(_commentWithHashRe) || [];
|
|
69
|
+
};
|
|
70
|
+
const _ruleRe = /(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g;
|
|
71
|
+
const _curlyRe = /([{}])/g;
|
|
72
|
+
const OPEN_CURLY = '{';
|
|
73
|
+
const CLOSE_CURLY = '}';
|
|
74
|
+
const BLOCK_PLACEHOLDER = '%BLOCK%';
|
|
75
|
+
const processRules = (input, ruleCallback) => {
|
|
76
|
+
const inputWithEscapedBlocks = escapeBlocks(input);
|
|
77
|
+
let nextBlockIndex = 0;
|
|
78
|
+
return inputWithEscapedBlocks.escapedString.replace(_ruleRe, (...m) => {
|
|
79
|
+
const selector = m[2];
|
|
80
|
+
let content = '';
|
|
81
|
+
let suffix = m[4];
|
|
82
|
+
let contentPrefix = '';
|
|
83
|
+
if (suffix && suffix.startsWith('{' + BLOCK_PLACEHOLDER)) {
|
|
84
|
+
content = inputWithEscapedBlocks.blocks[nextBlockIndex++];
|
|
85
|
+
suffix = suffix.substring(BLOCK_PLACEHOLDER.length + 1);
|
|
86
|
+
contentPrefix = '{';
|
|
87
|
+
}
|
|
88
|
+
const cssRule = {
|
|
89
|
+
selector,
|
|
90
|
+
content,
|
|
91
|
+
};
|
|
92
|
+
const rule = ruleCallback(cssRule);
|
|
93
|
+
return `${m[1]}${rule.selector}${m[3]}${contentPrefix}${rule.content}${suffix}`;
|
|
94
|
+
});
|
|
95
|
+
};
|
|
96
|
+
const escapeBlocks = (input) => {
|
|
97
|
+
const inputParts = input.split(_curlyRe);
|
|
98
|
+
const resultParts = [];
|
|
99
|
+
const escapedBlocks = [];
|
|
100
|
+
let bracketCount = 0;
|
|
101
|
+
let currentBlockParts = [];
|
|
102
|
+
for (let partIndex = 0; partIndex < inputParts.length; partIndex++) {
|
|
103
|
+
const part = inputParts[partIndex];
|
|
104
|
+
if (part === CLOSE_CURLY) {
|
|
105
|
+
bracketCount--;
|
|
106
|
+
}
|
|
107
|
+
if (bracketCount > 0) {
|
|
108
|
+
currentBlockParts.push(part);
|
|
109
|
+
}
|
|
110
|
+
else {
|
|
111
|
+
if (currentBlockParts.length > 0) {
|
|
112
|
+
escapedBlocks.push(currentBlockParts.join(''));
|
|
113
|
+
resultParts.push(BLOCK_PLACEHOLDER);
|
|
114
|
+
currentBlockParts = [];
|
|
115
|
+
}
|
|
116
|
+
resultParts.push(part);
|
|
117
|
+
}
|
|
118
|
+
if (part === OPEN_CURLY) {
|
|
119
|
+
bracketCount++;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
if (currentBlockParts.length > 0) {
|
|
123
|
+
escapedBlocks.push(currentBlockParts.join(''));
|
|
124
|
+
resultParts.push(BLOCK_PLACEHOLDER);
|
|
125
|
+
}
|
|
126
|
+
const strEscapedBlocks = {
|
|
127
|
+
escapedString: resultParts.join(''),
|
|
128
|
+
blocks: escapedBlocks,
|
|
129
|
+
};
|
|
130
|
+
return strEscapedBlocks;
|
|
131
|
+
};
|
|
132
|
+
const insertPolyfillHostInCssText = (selector) => {
|
|
133
|
+
selector = selector
|
|
134
|
+
.replace(_colonHostContextRe, _polyfillHostContext)
|
|
135
|
+
.replace(_colonHostRe, _polyfillHost)
|
|
136
|
+
.replace(_colonSlottedRe, _polyfillSlotted);
|
|
137
|
+
return selector;
|
|
138
|
+
};
|
|
139
|
+
const convertColonRule = (cssText, regExp, partReplacer) => {
|
|
140
|
+
// m[1] = :host(-context), m[2] = contents of (), m[3] rest of rule
|
|
141
|
+
return cssText.replace(regExp, (...m) => {
|
|
142
|
+
if (m[2]) {
|
|
143
|
+
const parts = m[2].split(',');
|
|
144
|
+
const r = [];
|
|
145
|
+
for (let i = 0; i < parts.length; i++) {
|
|
146
|
+
const p = parts[i].trim();
|
|
147
|
+
if (!p)
|
|
148
|
+
break;
|
|
149
|
+
r.push(partReplacer(_polyfillHostNoCombinator, p, m[3]));
|
|
150
|
+
}
|
|
151
|
+
return r.join(',');
|
|
152
|
+
}
|
|
153
|
+
else {
|
|
154
|
+
return _polyfillHostNoCombinator + m[3];
|
|
155
|
+
}
|
|
156
|
+
});
|
|
157
|
+
};
|
|
158
|
+
const colonHostPartReplacer = (host, part, suffix) => {
|
|
159
|
+
return host + part.replace(_polyfillHost, '') + suffix;
|
|
160
|
+
};
|
|
161
|
+
const convertColonHost = (cssText) => {
|
|
162
|
+
return convertColonRule(cssText, _cssColonHostRe, colonHostPartReplacer);
|
|
163
|
+
};
|
|
164
|
+
const colonHostContextPartReplacer = (host, part, suffix) => {
|
|
165
|
+
if (part.indexOf(_polyfillHost) > -1) {
|
|
166
|
+
return colonHostPartReplacer(host, part, suffix);
|
|
167
|
+
}
|
|
168
|
+
else {
|
|
169
|
+
return host + part + suffix + ', ' + part + ' ' + host + suffix;
|
|
170
|
+
}
|
|
171
|
+
};
|
|
172
|
+
const convertColonSlotted = (cssText, slotScopeId) => {
|
|
173
|
+
const slotClass = '.' + slotScopeId + ' > ';
|
|
174
|
+
const selectors = [];
|
|
175
|
+
cssText = cssText.replace(_cssColonSlottedRe, (...m) => {
|
|
176
|
+
if (m[2]) {
|
|
177
|
+
const compound = m[2].trim();
|
|
178
|
+
const suffix = m[3];
|
|
179
|
+
const slottedSelector = slotClass + compound + suffix;
|
|
180
|
+
let prefixSelector = '';
|
|
181
|
+
for (let i = m[4] - 1; i >= 0; i--) {
|
|
182
|
+
const char = m[5][i];
|
|
183
|
+
if (char === '}' || char === ',') {
|
|
184
|
+
break;
|
|
185
|
+
}
|
|
186
|
+
prefixSelector = char + prefixSelector;
|
|
187
|
+
}
|
|
188
|
+
const orgSelector = prefixSelector + slottedSelector;
|
|
189
|
+
const addedSelector = `${prefixSelector.trimRight()}${slottedSelector.trim()}`;
|
|
190
|
+
if (orgSelector.trim() !== addedSelector.trim()) {
|
|
191
|
+
const updatedSelector = `${addedSelector}, ${orgSelector}`;
|
|
192
|
+
selectors.push({
|
|
193
|
+
orgSelector,
|
|
194
|
+
updatedSelector,
|
|
195
|
+
});
|
|
196
|
+
}
|
|
197
|
+
return slottedSelector;
|
|
198
|
+
}
|
|
199
|
+
else {
|
|
200
|
+
return _polyfillHostNoCombinator + m[3];
|
|
201
|
+
}
|
|
202
|
+
});
|
|
203
|
+
return {
|
|
204
|
+
selectors,
|
|
205
|
+
cssText,
|
|
206
|
+
};
|
|
207
|
+
};
|
|
208
|
+
const convertColonHostContext = (cssText) => {
|
|
209
|
+
return convertColonRule(cssText, _cssColonHostContextRe, colonHostContextPartReplacer);
|
|
210
|
+
};
|
|
211
|
+
const convertShadowDOMSelectors = (cssText) => {
|
|
212
|
+
return _shadowDOMSelectorsRe.reduce((result, pattern) => result.replace(pattern, ' '), cssText);
|
|
213
|
+
};
|
|
214
|
+
const makeScopeMatcher = (scopeSelector) => {
|
|
215
|
+
const lre = /\[/g;
|
|
216
|
+
const rre = /\]/g;
|
|
217
|
+
scopeSelector = scopeSelector.replace(lre, '\\[').replace(rre, '\\]');
|
|
218
|
+
return new RegExp('^(' + scopeSelector + ')' + _selectorReSuffix, 'm');
|
|
219
|
+
};
|
|
220
|
+
const selectorNeedsScoping = (selector, scopeSelector) => {
|
|
221
|
+
const re = makeScopeMatcher(scopeSelector);
|
|
222
|
+
return !re.test(selector);
|
|
223
|
+
};
|
|
224
|
+
const applySimpleSelectorScope = (selector, scopeSelector, hostSelector) => {
|
|
225
|
+
// In Android browser, the lastIndex is not reset when the regex is used in String.replace()
|
|
226
|
+
_polyfillHostRe.lastIndex = 0;
|
|
227
|
+
if (_polyfillHostRe.test(selector)) {
|
|
228
|
+
const replaceBy = `.${hostSelector}`;
|
|
229
|
+
return selector
|
|
230
|
+
.replace(_polyfillHostNoCombinatorRe, (_, selector) => {
|
|
231
|
+
return selector.replace(/([^:]*)(:*)(.*)/, (_, before, colon, after) => {
|
|
232
|
+
return before + replaceBy + colon + after;
|
|
233
|
+
});
|
|
234
|
+
})
|
|
235
|
+
.replace(_polyfillHostRe, replaceBy + ' ');
|
|
236
|
+
}
|
|
237
|
+
return scopeSelector + ' ' + selector;
|
|
238
|
+
};
|
|
239
|
+
const applyStrictSelectorScope = (selector, scopeSelector, hostSelector) => {
|
|
240
|
+
const isRe = /\[is=([^\]]*)\]/g;
|
|
241
|
+
scopeSelector = scopeSelector.replace(isRe, (_, ...parts) => parts[0]);
|
|
242
|
+
const className = '.' + scopeSelector;
|
|
243
|
+
const _scopeSelectorPart = (p) => {
|
|
244
|
+
let scopedP = p.trim();
|
|
245
|
+
if (!scopedP) {
|
|
246
|
+
return '';
|
|
247
|
+
}
|
|
248
|
+
if (p.indexOf(_polyfillHostNoCombinator) > -1) {
|
|
249
|
+
scopedP = applySimpleSelectorScope(p, scopeSelector, hostSelector);
|
|
250
|
+
}
|
|
251
|
+
else {
|
|
252
|
+
// remove :host since it should be unnecessary
|
|
253
|
+
const t = p.replace(_polyfillHostRe, '');
|
|
254
|
+
if (t.length > 0) {
|
|
255
|
+
const matches = t.match(/([^:]*)(:*)(.*)/);
|
|
256
|
+
if (matches) {
|
|
257
|
+
scopedP = matches[1] + className + matches[2] + matches[3];
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
return scopedP;
|
|
262
|
+
};
|
|
263
|
+
const safeContent = safeSelector(selector);
|
|
264
|
+
selector = safeContent.content;
|
|
265
|
+
let scopedSelector = '';
|
|
266
|
+
let startIndex = 0;
|
|
267
|
+
let res;
|
|
268
|
+
const sep = /( |>|\+|~(?!=))\s*/g;
|
|
269
|
+
// If a selector appears before :host it should not be shimmed as it
|
|
270
|
+
// matches on ancestor elements and not on elements in the host's shadow
|
|
271
|
+
// `:host-context(div)` is transformed to
|
|
272
|
+
// `-shadowcsshost-no-combinatordiv, div -shadowcsshost-no-combinator`
|
|
273
|
+
// the `div` is not part of the component in the 2nd selectors and should not be scoped.
|
|
274
|
+
// Historically `component-tag:host` was matching the component so we also want to preserve
|
|
275
|
+
// this behavior to avoid breaking legacy apps (it should not match).
|
|
276
|
+
// The behavior should be:
|
|
277
|
+
// - `tag:host` -> `tag[h]` (this is to avoid breaking legacy apps, should not match anything)
|
|
278
|
+
// - `tag :host` -> `tag [h]` (`tag` is not scoped because it's considered part of a
|
|
279
|
+
// `:host-context(tag)`)
|
|
280
|
+
const hasHost = selector.indexOf(_polyfillHostNoCombinator) > -1;
|
|
281
|
+
// Only scope parts after the first `-shadowcsshost-no-combinator` when it is present
|
|
282
|
+
let shouldScope = !hasHost;
|
|
283
|
+
while ((res = sep.exec(selector)) !== null) {
|
|
284
|
+
const separator = res[1];
|
|
285
|
+
const part = selector.slice(startIndex, res.index).trim();
|
|
286
|
+
shouldScope = shouldScope || part.indexOf(_polyfillHostNoCombinator) > -1;
|
|
287
|
+
const scopedPart = shouldScope ? _scopeSelectorPart(part) : part;
|
|
288
|
+
scopedSelector += `${scopedPart} ${separator} `;
|
|
289
|
+
startIndex = sep.lastIndex;
|
|
290
|
+
}
|
|
291
|
+
const part = selector.substring(startIndex);
|
|
292
|
+
shouldScope = shouldScope || part.indexOf(_polyfillHostNoCombinator) > -1;
|
|
293
|
+
scopedSelector += shouldScope ? _scopeSelectorPart(part) : part;
|
|
294
|
+
// replace the placeholders with their original values
|
|
295
|
+
return restoreSafeSelector(safeContent.placeholders, scopedSelector);
|
|
296
|
+
};
|
|
297
|
+
const scopeSelector = (selector, scopeSelectorText, hostSelector, slotSelector) => {
|
|
298
|
+
return selector
|
|
299
|
+
.split(',')
|
|
300
|
+
.map((shallowPart) => {
|
|
301
|
+
if (slotSelector && shallowPart.indexOf('.' + slotSelector) > -1) {
|
|
302
|
+
return shallowPart.trim();
|
|
303
|
+
}
|
|
304
|
+
if (selectorNeedsScoping(shallowPart, scopeSelectorText)) {
|
|
305
|
+
return applyStrictSelectorScope(shallowPart, scopeSelectorText, hostSelector).trim();
|
|
306
|
+
}
|
|
307
|
+
else {
|
|
308
|
+
return shallowPart.trim();
|
|
309
|
+
}
|
|
310
|
+
})
|
|
311
|
+
.join(', ');
|
|
312
|
+
};
|
|
313
|
+
const scopeSelectors = (cssText, scopeSelectorText, hostSelector, slotSelector, commentOriginalSelector) => {
|
|
314
|
+
return processRules(cssText, (rule) => {
|
|
315
|
+
let selector = rule.selector;
|
|
316
|
+
let content = rule.content;
|
|
317
|
+
if (rule.selector[0] !== '@') {
|
|
318
|
+
selector = scopeSelector(rule.selector, scopeSelectorText, hostSelector, slotSelector);
|
|
319
|
+
}
|
|
320
|
+
else if (rule.selector.startsWith('@media') ||
|
|
321
|
+
rule.selector.startsWith('@supports') ||
|
|
322
|
+
rule.selector.startsWith('@page') ||
|
|
323
|
+
rule.selector.startsWith('@document')) {
|
|
324
|
+
content = scopeSelectors(rule.content, scopeSelectorText, hostSelector, slotSelector);
|
|
325
|
+
}
|
|
326
|
+
const cssRule = {
|
|
327
|
+
selector: selector.replace(/\s{2,}/g, ' ').trim(),
|
|
328
|
+
content,
|
|
329
|
+
};
|
|
330
|
+
return cssRule;
|
|
331
|
+
});
|
|
332
|
+
};
|
|
333
|
+
const scopeCssText = (cssText, scopeId, hostScopeId, slotScopeId, commentOriginalSelector) => {
|
|
334
|
+
cssText = insertPolyfillHostInCssText(cssText);
|
|
335
|
+
cssText = convertColonHost(cssText);
|
|
336
|
+
cssText = convertColonHostContext(cssText);
|
|
337
|
+
const slotted = convertColonSlotted(cssText, slotScopeId);
|
|
338
|
+
cssText = slotted.cssText;
|
|
339
|
+
cssText = convertShadowDOMSelectors(cssText);
|
|
340
|
+
if (scopeId) {
|
|
341
|
+
cssText = scopeSelectors(cssText, scopeId, hostScopeId, slotScopeId);
|
|
342
|
+
}
|
|
343
|
+
cssText = cssText.replace(/-shadowcsshost-no-combinator/g, `.${hostScopeId}`);
|
|
344
|
+
cssText = cssText.replace(/>\s*\*\s+([^{, ]+)/gm, ' $1 ');
|
|
345
|
+
return {
|
|
346
|
+
cssText: cssText.trim(),
|
|
347
|
+
slottedSelectors: slotted.selectors,
|
|
348
|
+
};
|
|
349
|
+
};
|
|
350
|
+
const scopeCss = (cssText, scopeId, commentOriginalSelector) => {
|
|
351
|
+
const hostScopeId = scopeId + '-h';
|
|
352
|
+
const slotScopeId = scopeId + '-s';
|
|
353
|
+
const commentsWithHash = extractCommentsWithHash(cssText);
|
|
354
|
+
cssText = stripComments(cssText);
|
|
355
|
+
const orgSelectors = [];
|
|
356
|
+
if (commentOriginalSelector) {
|
|
357
|
+
const processCommentedSelector = (rule) => {
|
|
358
|
+
const placeholder = `/*!@___${orgSelectors.length}___*/`;
|
|
359
|
+
const comment = `/*!@${rule.selector}*/`;
|
|
360
|
+
orgSelectors.push({ placeholder, comment });
|
|
361
|
+
rule.selector = placeholder + rule.selector;
|
|
362
|
+
return rule;
|
|
363
|
+
};
|
|
364
|
+
cssText = processRules(cssText, (rule) => {
|
|
365
|
+
if (rule.selector[0] !== '@') {
|
|
366
|
+
return processCommentedSelector(rule);
|
|
367
|
+
}
|
|
368
|
+
else if (rule.selector.startsWith('@media') ||
|
|
369
|
+
rule.selector.startsWith('@supports') ||
|
|
370
|
+
rule.selector.startsWith('@page') ||
|
|
371
|
+
rule.selector.startsWith('@document')) {
|
|
372
|
+
rule.content = processRules(rule.content, processCommentedSelector);
|
|
373
|
+
return rule;
|
|
374
|
+
}
|
|
375
|
+
return rule;
|
|
376
|
+
});
|
|
377
|
+
}
|
|
378
|
+
const scoped = scopeCssText(cssText, scopeId, hostScopeId, slotScopeId);
|
|
379
|
+
cssText = [scoped.cssText, ...commentsWithHash].join('\n');
|
|
380
|
+
if (commentOriginalSelector) {
|
|
381
|
+
orgSelectors.forEach(({ placeholder, comment }) => {
|
|
382
|
+
cssText = cssText.replace(placeholder, comment);
|
|
383
|
+
});
|
|
384
|
+
}
|
|
385
|
+
scoped.slottedSelectors.forEach((slottedSelector) => {
|
|
386
|
+
cssText = cssText.replace(slottedSelector.orgSelector, slottedSelector.updatedSelector);
|
|
387
|
+
});
|
|
388
|
+
return cssText;
|
|
389
|
+
};
|
|
390
|
+
|
|
391
|
+
exports.scopeCss = scopeCss;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-0b9c3c7d.js');
|
|
6
6
|
|
|
7
7
|
const tagsIndicatorCss = "tags-indicator{font-family:sans-serif;font-family:var(--verdocs-font)}tags-indicator .container{width:270px;height:35px;background-color:#33364b;font-family:sans-serif;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:center;align-items:center;-ms-flex-pack:start;justify-content:flex-start}tags-indicator .tags{display:-ms-inline-flexbox;display:inline-flex;-webkit-box-sizing:border-box;box-sizing:border-box;-ms-flex-preferred-size:content;flex-basis:content;padding:7px 12px;margin:0 5px;height:28px;background-color:#f4f4f9;text-transform:uppercase;font-size:12px;font-weight:700;color:#33374a;border-radius:5px;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}";
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-0b9c3c7d.js');
|
|
6
6
|
|
|
7
7
|
const EmailIcon = `<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6zm-2 0l-8 5-8-5h16zm0 12H4V8l8 5 8-5v10z"/></svg>`;
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-0b9c3c7d.js');
|
|
6
6
|
|
|
7
7
|
const toggleIconButtonsCss = "toggle-icon-buttons{font-family:sans-serif;font-family:var(--verdocs-font)}toggle-icon-buttons .container{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;background-color:#f2f5fa}toggle-icon-buttons .label{font-size:24px;font-weight:700;color:#33364b;-ms-flex-item-align:center;align-self:center;margin-right:27px;font-family:sans-serif}toggle-icon-buttons .buttons{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap}toggle-icon-buttons .buttons button{width:60px;height:60px;border:2px solid #654dcb;border-radius:5px;cursor:pointer}toggle-icon-buttons .buttons button:not(:last-child){margin-right:11px}toggle-icon-buttons .buttons svg{width:30px;height:30px}toggle-icon-buttons .buttons button:hover{background-color:#654dcb;-webkit-transition:0.25s;transition:0.25s}toggle-icon-buttons .buttons button:hover svg{fill:#f2f5fa;-webkit-transition:0.25s;transition:0.25s}toggle-icon-buttons .selected{background-color:#707ae5;-webkit-transition:0.25s;transition:0.25s}toggle-icon-buttons .selected svg{fill:#ffffff;-webkit-transition:0.25s;transition:0.25s}";
|
|
8
8
|
|
|
@@ -1,19 +1,127 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('./index-
|
|
3
|
+
const index = require('./index-0b9c3c7d.js');
|
|
4
|
+
const appGlobals = require('./app-globals-3a1e7e63.js');
|
|
4
5
|
|
|
5
6
|
/*
|
|
6
|
-
Stencil Client Patch Browser v2.
|
|
7
|
+
Stencil Client Patch Browser v2.10.0 | MIT Licensed | https://stenciljs.com
|
|
7
8
|
*/
|
|
9
|
+
const getDynamicImportFunction = (namespace) => `__sc_import_${namespace.replace(/\s|-/g, '_')}`;
|
|
8
10
|
const patchBrowser = () => {
|
|
11
|
+
// NOTE!! This fn cannot use async/await!
|
|
12
|
+
if (index.BUILD.isDev && !index.BUILD.isTesting) {
|
|
13
|
+
index.consoleDevInfo('Running in development mode.');
|
|
14
|
+
}
|
|
15
|
+
if (index.BUILD.cssVarShim) {
|
|
16
|
+
// shim css vars
|
|
17
|
+
index.plt.$cssShim$ = index.win.__cssshim;
|
|
18
|
+
}
|
|
19
|
+
if (index.BUILD.cloneNodeFix) {
|
|
20
|
+
// opted-in to polyfill cloneNode() for slot polyfilled components
|
|
21
|
+
patchCloneNodeFix(index.H.prototype);
|
|
22
|
+
}
|
|
23
|
+
if (index.BUILD.profile && !performance.mark) {
|
|
24
|
+
// not all browsers support performance.mark/measure (Safari 10)
|
|
25
|
+
performance.mark = performance.measure = () => {
|
|
26
|
+
/*noop*/
|
|
27
|
+
};
|
|
28
|
+
performance.getEntriesByName = () => [];
|
|
29
|
+
}
|
|
30
|
+
// @ts-ignore
|
|
31
|
+
const scriptElm = index.BUILD.scriptDataOpts || index.BUILD.safari10 || index.BUILD.dynamicImportShim
|
|
32
|
+
? Array.from(index.doc.querySelectorAll('script')).find((s) => new RegExp(`\/${index.NAMESPACE}(\\.esm)?\\.js($|\\?|#)`).test(s.src) ||
|
|
33
|
+
s.getAttribute('data-stencil-namespace') === index.NAMESPACE)
|
|
34
|
+
: null;
|
|
9
35
|
const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('verdocs-web-sdk.cjs.js', document.baseURI).href));
|
|
10
|
-
const opts = {};
|
|
11
|
-
if (
|
|
36
|
+
const opts = index.BUILD.scriptDataOpts ? scriptElm['data-opts'] || {} : {};
|
|
37
|
+
if (index.BUILD.safari10 && 'onbeforeload' in scriptElm && !history.scrollRestoration /* IS_ESM_BUILD */) {
|
|
38
|
+
// Safari < v11 support: This IF is true if it's Safari below v11.
|
|
39
|
+
// This fn cannot use async/await since Safari didn't support it until v11,
|
|
40
|
+
// however, Safari 10 did support modules. Safari 10 also didn't support "nomodule",
|
|
41
|
+
// so both the ESM file and nomodule file would get downloaded. Only Safari
|
|
42
|
+
// has 'onbeforeload' in the script, and "history.scrollRestoration" was added
|
|
43
|
+
// to Safari in v11. Return a noop then() so the async/await ESM code doesn't continue.
|
|
44
|
+
// IS_ESM_BUILD is replaced at build time so this check doesn't happen in systemjs builds.
|
|
45
|
+
return {
|
|
46
|
+
then() {
|
|
47
|
+
/* promise noop */
|
|
48
|
+
},
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
if (!index.BUILD.safari10 && importMeta !== '') {
|
|
12
52
|
opts.resourcesUrl = new URL('.', importMeta).href;
|
|
13
53
|
}
|
|
54
|
+
else if (index.BUILD.dynamicImportShim || index.BUILD.safari10) {
|
|
55
|
+
opts.resourcesUrl = new URL('.', new URL(scriptElm.getAttribute('data-resources-url') || scriptElm.src, index.win.location.href)).href;
|
|
56
|
+
if (index.BUILD.dynamicImportShim) {
|
|
57
|
+
patchDynamicImport(opts.resourcesUrl, scriptElm);
|
|
58
|
+
}
|
|
59
|
+
if (index.BUILD.dynamicImportShim && !index.win.customElements) {
|
|
60
|
+
// module support, but no custom elements support (Old Edge)
|
|
61
|
+
// @ts-ignore
|
|
62
|
+
return Promise.resolve().then(function () { return require(/* webpackChunkName: "polyfills-dom" */ './dom-95afd968.js'); }).then(() => opts);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
14
65
|
return index.promiseResolve(opts);
|
|
15
66
|
};
|
|
67
|
+
const patchDynamicImport = (base, orgScriptElm) => {
|
|
68
|
+
const importFunctionName = getDynamicImportFunction(index.NAMESPACE);
|
|
69
|
+
try {
|
|
70
|
+
// test if this browser supports dynamic imports
|
|
71
|
+
// There is a caching issue in V8, that breaks using import() in Function
|
|
72
|
+
// By generating a random string, we can workaround it
|
|
73
|
+
// Check https://bugs.chromium.org/p/chromium/issues/detail?id=990810 for more info
|
|
74
|
+
index.win[importFunctionName] = new Function('w', `return import(w);//${Math.random()}`);
|
|
75
|
+
}
|
|
76
|
+
catch (e) {
|
|
77
|
+
// this shim is specifically for browsers that do support "esm" imports
|
|
78
|
+
// however, they do NOT support "dynamic" imports
|
|
79
|
+
// basically this code is for old Edge, v18 and below
|
|
80
|
+
const moduleMap = new Map();
|
|
81
|
+
index.win[importFunctionName] = (src) => {
|
|
82
|
+
const url = new URL(src, base).href;
|
|
83
|
+
let mod = moduleMap.get(url);
|
|
84
|
+
if (!mod) {
|
|
85
|
+
const script = index.doc.createElement('script');
|
|
86
|
+
script.type = 'module';
|
|
87
|
+
script.crossOrigin = orgScriptElm.crossOrigin;
|
|
88
|
+
script.src = URL.createObjectURL(new Blob([`import * as m from '${url}'; window.${importFunctionName}.m = m;`], {
|
|
89
|
+
type: 'application/javascript',
|
|
90
|
+
}));
|
|
91
|
+
mod = new Promise((resolve) => {
|
|
92
|
+
script.onload = () => {
|
|
93
|
+
resolve(index.win[importFunctionName].m);
|
|
94
|
+
script.remove();
|
|
95
|
+
};
|
|
96
|
+
});
|
|
97
|
+
moduleMap.set(url, mod);
|
|
98
|
+
index.doc.head.appendChild(script);
|
|
99
|
+
}
|
|
100
|
+
return mod;
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
};
|
|
104
|
+
const patchCloneNodeFix = (HTMLElementPrototype) => {
|
|
105
|
+
const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;
|
|
106
|
+
HTMLElementPrototype.cloneNode = function (deep) {
|
|
107
|
+
if (this.nodeName === 'TEMPLATE') {
|
|
108
|
+
return nativeCloneNodeFn.call(this, deep);
|
|
109
|
+
}
|
|
110
|
+
const clonedNode = nativeCloneNodeFn.call(this, false);
|
|
111
|
+
const srcChildNodes = this.childNodes;
|
|
112
|
+
if (deep) {
|
|
113
|
+
for (let i = 0; i < srcChildNodes.length; i++) {
|
|
114
|
+
// Node.ATTRIBUTE_NODE === 2, and checking because IE11
|
|
115
|
+
if (srcChildNodes[i].nodeType !== 2) {
|
|
116
|
+
clonedNode.appendChild(srcChildNodes[i].cloneNode(true));
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
return clonedNode;
|
|
121
|
+
};
|
|
122
|
+
};
|
|
16
123
|
|
|
17
124
|
patchBrowser().then(options => {
|
|
18
|
-
|
|
125
|
+
appGlobals.globalScripts();
|
|
126
|
+
return index.bootstrapLazy([["document-status-indicator.cjs",[[0,"document-status-indicator",{"status":[1],"theme":[1]}]]],["dropdown-menu.cjs",[[0,"dropdown-menu",{"options":[16],"open":[4],"tall":[4],"isOpen":[32]}]]],["org-popup.cjs",[[0,"org-popup",{"organization":[8],"theme":[1]}]]],["pdf-viewer.cjs",[[0,"pdf-viewer",{"rotation":[2],"src":[1]}]]],["search-box.cjs",[[0,"search-box",{"type":[1],"query":[1]}]]],["search-embed.cjs",[[1,"search-embed"]]],["search-quick-functions.cjs",[[0,"search-quick-functions"]]],["search-recent.cjs",[[0,"search-recent",{"limit":[2],"recent":[32]}]]],["search-saved.cjs",[[0,"search-saved",{"limit":[2],"saved":[32]}]]],["search-starred.cjs",[[0,"search-starred",{"options":[8]}]]],["search-tabs.cjs",[[4,"search-tabs",{"selected":[32]}]]],["tags-indicator.cjs",[[0,"tags-indicator",{"tags":[16],"theme":[1]}]]],["template-card.cjs",[[0,"template-card",{"template":[8],"theme":[1]}]]],["toggle-icon-buttons.cjs",[[0,"toggle-icon-buttons",{"options":[16],"theme":[1]},[[6,"click","handleClick"]]]]]], options);
|
|
19
127
|
});
|
|
@@ -24,7 +24,11 @@ search-box form input {
|
|
|
24
24
|
font-size: 18px;
|
|
25
25
|
border: none;
|
|
26
26
|
}
|
|
27
|
+
search-box form input:focus {
|
|
28
|
+
outline: none;
|
|
29
|
+
}
|
|
27
30
|
search-box form button.search {
|
|
31
|
+
cursor: pointer;
|
|
28
32
|
display: inline-flex;
|
|
29
33
|
align-items: center;
|
|
30
34
|
justify-content: center;
|