@eturnity/eturnity_reusable_components 8.26.11-EPDM-11600.15 → 8.26.11-EPDM-16030.0

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/main.es12.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import "./main.es3.js";
2
- import { setupDevtoolsPlugin } from "./main.es16.js";
3
- import { shallowRef, unref, reactive, ref } from "./main.es17.js";
2
+ import { setupDevtoolsPlugin } from "./main.es18.js";
3
+ import { shallowRef, unref, reactive, ref } from "./main.es19.js";
4
4
  import { computed, nextTick, defineComponent, watch, inject, h, provide, watchEffect, getCurrentInstance } from "./main.es6.js";
5
5
  /*!
6
6
  * vue-router v4.2.2
package/dist/main.es13.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import styled from "./main.es7.js";
2
- import PanelRangeInfo from "./main.es18.js";
3
- import IconCollection from "./main.es19.js";
2
+ import PanelRangeInfo from "./main.es20.js";
3
+ import IconCollection from "./main.es21.js";
4
4
  import "./main.es3.js";
5
- import "./main.es20.js";
5
+ import "./main.es22.js";
6
6
  import _export_sfc from "./main.es11.js";
7
7
  import { resolveComponent, openBlock, createElementBlock, createVNode, withCtx, createTextVNode, withDirectives, createElementVNode as createBaseVNode, Fragment } from "./main.es6.js";
8
8
  import { vModelText } from "./main.es5.js";
package/dist/main.es14.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import styled from "./main.es7.js";
2
- import InfoText from "./main.es21.js";
2
+ import InfoText from "./main.es23.js";
3
3
  import "./main.es3.js";
4
4
  import _export_sfc from "./main.es11.js";
5
5
  import { withKeys, withModifiers } from "./main.es5.js";
6
6
  import { resolveComponent, openBlock, createBlock, withCtx, createVNode, createTextVNode, createCommentVNode } from "./main.es6.js";
7
- import { toDisplayString } from "./main.es22.js";
7
+ import { toDisplayString } from "./main.es17.js";
8
8
  const Container = styled.div`
9
9
  display: inline-block;
10
10
  `;
package/dist/main.es15.js CHANGED
@@ -4,7 +4,7 @@ import theme from "./main.es8.js";
4
4
  import "./main.es3.js";
5
5
  import _export_sfc from "./main.es11.js";
6
6
  import { resolveComponent, openBlock, createBlock, withCtx, createVNode, createCommentVNode, createTextVNode } from "./main.es6.js";
7
- import { toDisplayString } from "./main.es22.js";
7
+ import { toDisplayString } from "./main.es17.js";
8
8
  const PageContainer = styled.div``;
9
9
  const ButtonAttrs = {
10
10
  type: String,
@@ -165,6 +165,10 @@ const _sfc_main = {
165
165
  type: String,
166
166
  default: "medium",
167
167
  required: false
168
+ },
169
+ isFirstLetterCapitalized: {
170
+ type: Boolean,
171
+ default: false
168
172
  }
169
173
  },
170
174
  computed: {
@@ -174,6 +178,11 @@ const _sfc_main = {
174
178
  getIconColor() {
175
179
  return this.isDisabled ? this.theme.mainButton[this.appTheme][this.type][this.variant].disabled.textColor : this.iconColor ? this.iconColor : this.theme.mainButton[this.appTheme][this.type][this.variant].default.textColor;
176
180
  }
181
+ },
182
+ methods: {
183
+ capitalizeFirstLetter(word) {
184
+ return word.charAt(0).toUpperCase() + word.slice(1);
185
+ }
177
186
  }
178
187
  };
179
188
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
@@ -204,7 +213,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
204
213
  "hovered-color": $options.getIconColor,
205
214
  name: $props.icon,
206
215
  size: "14px"
207
- }, null, 8, ["color", "hovered-color", "name"])) : createCommentVNode("", true), createTextVNode(" " + toDisplayString($props.text), 1)]),
216
+ }, null, 8, ["color", "hovered-color", "name"])) : createCommentVNode("", true), createTextVNode(" " + toDisplayString($props.isFirstLetterCapitalized ? $options.capitalizeFirstLetter($props.text) : $props.text), 1)]),
208
217
  _: 1
209
218
  }, 8, ["has-icon"])]),
210
219
  _: 1
package/dist/main.es16.js CHANGED
@@ -1,26 +1,66 @@
1
- import { isProxyAvailable, getTarget, getDevtoolsGlobalHook } from "./main.es375.js";
2
- import { HOOK_SETUP } from "./main.es376.js";
3
- import { ApiProxy } from "./main.es377.js";
4
- function setupDevtoolsPlugin(pluginDescriptor, setupFn) {
5
- const descriptor = pluginDescriptor;
6
- const target = getTarget();
7
- const hook = getDevtoolsGlobalHook();
8
- const enableProxy = isProxyAvailable && descriptor.enableEarlyProxy;
9
- if (hook && (target.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__ || !enableProxy)) {
10
- hook.emit(HOOK_SETUP, pluginDescriptor, setupFn);
11
- } else {
12
- const proxy = enableProxy ? new ApiProxy(descriptor, hook) : null;
13
- const list = target.__VUE_DEVTOOLS_PLUGINS__ = target.__VUE_DEVTOOLS_PLUGINS__ || [];
14
- list.push({
15
- pluginDescriptor: descriptor,
16
- setupFn,
17
- proxy
18
- });
19
- if (proxy) {
20
- setupFn(proxy.proxiedTarget);
21
- }
1
+ function makeMap(str, expectsLowerCase) {
2
+ const map = /* @__PURE__ */ Object.create(null);
3
+ const list = str.split(",");
4
+ for (let i = 0; i < list.length; i++) {
5
+ map[list[i]] = true;
22
6
  }
7
+ return expectsLowerCase ? (val) => !!map[val.toLowerCase()] : (val) => !!map[val];
8
+ }
9
+ !!(process.env.NODE_ENV !== "production") ? Object.freeze({}) : {};
10
+ !!(process.env.NODE_ENV !== "production") ? Object.freeze([]) : [];
11
+ const onRE = /^on[^a-z]/;
12
+ const isOn = (key) => onRE.test(key);
13
+ const isModelListener = (key) => key.startsWith("onUpdate:");
14
+ const extend = Object.assign;
15
+ const isArray = Array.isArray;
16
+ const isFunction = (val) => typeof val === "function";
17
+ const isString = (val) => typeof val === "string";
18
+ const cacheStringFunction = (fn) => {
19
+ const cache = /* @__PURE__ */ Object.create(null);
20
+ return (str) => {
21
+ const hit = cache[str];
22
+ return hit || (cache[str] = fn(str));
23
+ };
24
+ };
25
+ const hyphenateRE = /\B([A-Z])/g;
26
+ const hyphenate = cacheStringFunction(
27
+ (str) => str.replace(hyphenateRE, "-$1").toLowerCase()
28
+ );
29
+ const capitalize = cacheStringFunction(
30
+ (str) => str.charAt(0).toUpperCase() + str.slice(1)
31
+ );
32
+ const invokeArrayFns = (fns, arg) => {
33
+ for (let i = 0; i < fns.length; i++) {
34
+ fns[i](arg);
35
+ }
36
+ };
37
+ const looseToNumber = (val) => {
38
+ const n = parseFloat(val);
39
+ return isNaN(n) ? val : n;
40
+ };
41
+ const HTML_TAGS = "html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot";
42
+ const SVG_TAGS = "svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view";
43
+ const isHTMLTag = /* @__PURE__ */ makeMap(HTML_TAGS);
44
+ const isSVGTag = /* @__PURE__ */ makeMap(SVG_TAGS);
45
+ const specialBooleanAttrs = `itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly`;
46
+ const isSpecialBooleanAttr = /* @__PURE__ */ makeMap(specialBooleanAttrs);
47
+ function includeBooleanAttr(value) {
48
+ return !!value || value === "";
23
49
  }
24
50
  export {
25
- setupDevtoolsPlugin
51
+ capitalize,
52
+ extend,
53
+ hyphenate,
54
+ includeBooleanAttr,
55
+ invokeArrayFns,
56
+ isArray,
57
+ isFunction,
58
+ isHTMLTag,
59
+ isModelListener,
60
+ isOn,
61
+ isSVGTag,
62
+ isSpecialBooleanAttr,
63
+ isString,
64
+ looseToNumber,
65
+ makeMap
26
66
  };