@itfin/components 1.3.38 → 1.3.40

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.
@@ -0,0 +1,261 @@
1
+ .itf-table2 {
2
+ --itf-table-border-color: #dbddd1;
3
+ --itf-table-header-bg: #f9faf5;
4
+ --itf-table-hover-bg: #f2f2f2;
5
+ --itf-table-bg: var(--bs-body-bg);
6
+ --itf-table-min-width: 45px;
7
+ --itf-table-input-border-color: #aaaba6;
8
+ --itf-table-input-focus-border-color: #0028aa;
9
+ --itf-table-selected-bg: #cbd6f4;
10
+ --itf-table-header-subtitle-color: #aeafaa;
11
+
12
+ // dark
13
+ body[data-theme="dark"] & {
14
+ --itf-table-hover-bg: #393b41;
15
+ }
16
+
17
+ &.scrollable {
18
+ -webkit-overflow-scrolling: touch;
19
+ overflow: hidden scroll;
20
+ }
21
+ &.scrollable-x {
22
+ overflow-x: scroll;
23
+ padding-right: 4px;
24
+ }
25
+
26
+ &__header {
27
+ background-color: var(--itf-table-header-bg);
28
+ position: sticky;
29
+ top: 0;
30
+ z-index: calc(var(--row-count) + 1);
31
+
32
+ &.no-header {
33
+ --table-row-height: 0px;
34
+ --table-small-row-size: 0px;
35
+
36
+ .table-view-header-value {
37
+ border-top: 0 none;
38
+ border-bottom: 0 none;
39
+ }
40
+ }
41
+ .table-header.draggable-mirror{
42
+ z-index: 100000001;
43
+ background: rgba(235,237,239,0.75);
44
+ }
45
+ .table-row-template {
46
+ display: flex;
47
+ align-items: stretch;
48
+ height: auto;
49
+ user-select: none;
50
+ }
51
+ .table-view-header-value {
52
+ cursor: pointer;
53
+ align-items: center;
54
+ justify-content: center;
55
+ height: auto;
56
+ white-space: nowrap;
57
+ //border-top: 0;
58
+ border-top: 1px solid var(--itf-table-border-color);
59
+ border-left: 0;
60
+ border-right: 1px solid var(--itf-table-border-color);
61
+ border-bottom: 1px solid var(--itf-table-border-color);
62
+ position: relative;
63
+ display: flex;
64
+ min-width: var(--itf-table-min-width);
65
+ //background-color: var(--bs-body-bg);
66
+ //background-color: rgb(238 238 238 / 1);
67
+ //font-weight: 500;
68
+
69
+ &.last-sticky-column {
70
+ border-right-color: var(--bs-border-color);
71
+ }
72
+ &.reserved {
73
+ border-left: 1px solid var(--itf-table-border-color);
74
+ left: var(--shadow-area-width);
75
+ width: var(--indicator-area-width);
76
+ }
77
+ &.sticky {
78
+ position: sticky;
79
+ position: -webkit-sticky;
80
+ z-index: calc(var(--row-count) + 4);
81
+ }
82
+ }
83
+ .table-header {
84
+ flex: 0 0 auto;
85
+ overflow: hidden;
86
+ width: 100%;
87
+ text-overflow: ellipsis;
88
+ padding-left: 0.75rem;
89
+ padding-right: 0.5rem;
90
+ gap: 0.25rem;
91
+ align-items: center;
92
+ & > div {
93
+ min-height: var(--table-row-height);
94
+ align-items: center;
95
+ justify-content: space-between;
96
+ display: flex;
97
+ }
98
+
99
+ &.table-header-add-column {
100
+ text-overflow: clip;
101
+ }
102
+ }
103
+ .resize-handle {
104
+ width: 4px;
105
+ bottom: 0;
106
+ position: absolute;
107
+ right: -2px;
108
+ top: 0;
109
+ background: #29ACE1;
110
+ border-radius: 2px;
111
+ z-index: 100;
112
+ opacity: 0;
113
+ cursor: ew-resize;
114
+ transition: .2s;
115
+
116
+ &:hover {
117
+ opacity: 1;
118
+ }
119
+ }
120
+ .context-menu-toggle {
121
+ flex: 1 1 auto;
122
+ text-overflow: ellipsis;
123
+ white-space: nowrap;
124
+ overflow: hidden;
125
+
126
+ span {
127
+ font-size: 12px;
128
+ line-height: 36px;
129
+ }
130
+ }
131
+ .itf-sortable-list {
132
+ display: flex;
133
+ }
134
+ .table-view-header-space {
135
+ height: 100%;
136
+ position: absolute;
137
+ left: 0;
138
+ display: none;
139
+ background: transparent;
140
+ z-index: 100;
141
+ width: 2px;
142
+ margin-left: -1px;
143
+
144
+ &.right {
145
+ left: auto;
146
+ right: 0;
147
+ top: 0;
148
+ }
149
+ &.active {
150
+ display: block;
151
+ &.over {
152
+ background: #47BEFF;
153
+ }
154
+ }
155
+ }
156
+ .draggable-mirror {
157
+ opacity: .5;
158
+ }
159
+ .draggable-container--over .table-view-header-space {
160
+ display: block;
161
+ }
162
+ .draggable-container--over .draggable--over .table-view-header-space {
163
+ background: #47BEFF;
164
+ }
165
+ .table-view-header-space > .table-view-header-dropzone {
166
+ position: absolute;
167
+ top: 0;
168
+ right: -50px;
169
+ bottom: 0;
170
+ left: -50px;
171
+ }
172
+ .table-view-header-value:not(.reserved):hover {
173
+ background-color: var(--bs-tertiary-bg);
174
+ }
175
+ .draggable-source--is-dragging {
176
+ z-index: 100;
177
+ }
178
+ }
179
+
180
+ &__subtitle {
181
+ color: var(--itf-table-header-subtitle-color);
182
+ }
183
+
184
+ .table-view-item {
185
+ --itf-table2-row-bg: var(--itf-table-bg);
186
+
187
+ background-color: var(--itf-table2-row-bg);
188
+
189
+ &.selected {
190
+ --itf-table2-row-bg: var(--itf-table-selected-bg);
191
+ }
192
+ &:hover {
193
+ --itf-table2-row-bg: var(--itf-table-selected-bg);
194
+ }
195
+
196
+ .indicator {
197
+ border-left: 1px solid var(--itf-table-border-color);
198
+ }
199
+ }
200
+
201
+
202
+ &:hover {
203
+ .table-view-item-value.editable {
204
+ .form-control {
205
+ border: 1px solid var(--itf-table-input-border-color);
206
+ }
207
+ }
208
+ }
209
+ .table-view-item-value {
210
+ text-overflow: ellipsis;
211
+ align-items: stretch;
212
+ display: flex;
213
+ position: relative;
214
+ min-width: var(--itf-table-min-width);
215
+
216
+ .itf-table2__striped & {
217
+ border-right: 1px solid var(--bs-border-color);
218
+ border-bottom: 1px solid var(--bs-border-color);
219
+ }
220
+
221
+ &.editable {
222
+ padding: 2px;
223
+
224
+ .form-control {
225
+ border-radius: 0;
226
+ border: 1px solid transparent;
227
+ background-color: transparent;
228
+ box-shadow: none;
229
+
230
+ &:focus {
231
+ border-color: var(--itf-table-input-focus-border-color);
232
+ }
233
+ }
234
+ }
235
+
236
+ &.highlight-drop-column {
237
+ position: relative;
238
+
239
+ &:after {
240
+ content: "";
241
+ height: 100%;
242
+ z-index: 100;
243
+ width: 2px;
244
+ background: #47beff;
245
+ margin-left: -1px;
246
+ position: absolute;
247
+ left: 0;
248
+ }
249
+ &.right:after {
250
+ left: auto;
251
+ right: 0;
252
+ }
253
+ }
254
+
255
+ &.sticky {
256
+ z-index: 4;
257
+ position: -webkit-sticky;
258
+ position: sticky;
259
+ }
260
+ }
261
+ }
@@ -15,9 +15,9 @@
15
15
  </div>
16
16
 
17
17
  <div v-if="currencySelect" class="itf-money-field__currency">
18
- <span>{{ selectedCurrencyCode }}<itf-icon v-if="!currencyDisabled" name="chevron_down" /></span>
18
+ <span>{{ selectedCurrencyCode }}<itf-icon v-if="!currencyDisabled && currenciesList.length > 1" name="chevron_down" /></span>
19
19
  <select v-if="!disabled && !currencyDisabled" :value="currencyId" @input="onCurrencyChanged">
20
- <option v-for="currency in currencies" :key="currency.Id" :value="currency.Id" :selected="currencyId === currency.Id">
20
+ <option v-for="currency in currenciesList" :key="currency.Id" :value="currency.Id" :selected="currencyId === currency.Id">
21
21
  {{ currency.Symbol }}, {{ currency.Code }} - {{ currency.Title }}
22
22
  </option>
23
23
  </select>
@@ -77,6 +77,7 @@ import itfSelect from '../select/Select';
77
77
  import itfLabel from '../form/Label';
78
78
  import itfIcon from '../icon/Icon';
79
79
  import {stringToNumber} from '../../helpers/formatters';
80
+ import ITFSettings from '../../ITFSettings';
80
81
 
81
82
  export default @Component({
82
83
  name: 'itfMoneyField',
@@ -101,6 +102,10 @@ class itfMoneyField extends Vue {
101
102
  @Prop({ type: Number, default: -1000000000}) minValue;
102
103
  @Prop({ type: Number, default: 1000000000}) maxValue;
103
104
 
105
+ get currenciesList() {
106
+ return this.currencies?.length ? this.currencies : ITFSettings.currencies;
107
+ }
108
+
104
109
  get mask() {
105
110
  return {
106
111
  mask: Number,
@@ -128,11 +133,11 @@ class itfMoneyField extends Vue {
128
133
  }
129
134
 
130
135
  onCurrencyChanged(e) {
131
- const currency = this.currencies.find((c) => c.Id === parseInt(e.target.value));
136
+ const currency = this.currenciesList.find((c) => c.Id === parseInt(e.target.value));
132
137
  this.$emit('update:currency', currency)
133
138
  }
134
139
 
135
- get precition() {
140
+ get precition() {
136
141
  return this.selectedCurrency ? this.selectedCurrency.Precision : 2;
137
142
  }
138
143
 
@@ -149,10 +154,10 @@ class itfMoneyField extends Vue {
149
154
  }
150
155
 
151
156
  get selectedCurrency() {
152
- if (!this.currency || !this.currencies) {
153
- return null;
157
+ if (!this.currency || !this.currenciesList) {
158
+ return this.currenciesList.find(({ IsDefault }) => IsDefault) || null;
154
159
  }
155
- return this.currencies.find(({ Id }) => this.currency.Id === Id);
160
+ return this.currenciesList.find(({ Id }) => this.currency.Id === Id);
156
161
  }
157
162
 
158
163
  setValue (val) {
@@ -1,11 +1,11 @@
1
1
  <template>
2
2
 
3
3
  <div class="itf-text-field input-group" :class="{ 'with-addon addon-start': prependIcon, 'with-addon addon-end': clearable }">
4
- <div class="addon" v-if="prependIcon || $slots.addon">
5
- <slot name="addon">
4
+ <slot name="addon">
5
+ <div class="addon" v-if="prependIcon">
6
6
  <itf-icon :name="prependIcon"/>
7
- </slot>
8
- </div>
7
+ </div>
8
+ </slot>
9
9
 
10
10
  <input
11
11
  ref="input"
@@ -5,7 +5,7 @@
5
5
  <slot></slot>
6
6
  </div>
7
7
 
8
- <div class="position-relative input-group">
8
+ <div class="position-relative" :class="{'input-group': prependIcon}">
9
9
  <div class="addon" v-if="prependIcon">
10
10
  <slot name="addon">
11
11
  <itf-icon :name="prependIcon"/>
@@ -1,6 +1,4 @@
1
- import 'intersection-observer'
2
- import debug from 'debug'
3
- const log = debug("app:directives/visible")
1
+ import 'intersection-observer';
4
2
 
5
3
  const instances = new WeakMap();
6
4
 
@@ -21,17 +19,17 @@ function createObserver(el, vnode, modifiers, callback) {
21
19
  return observer;
22
20
  }
23
21
  function disconnectObserver(observer, el) {
24
- log('Disconnecting observer', el);
22
+ console.log('Disconnecting observer', el);
25
23
  if (observer) observer.disconnect();
26
24
  }
27
25
 
28
26
  function bind(el, { value, modifiers }, vnode) {
29
- log("Binding element", el);
27
+ console.log("Binding element", el);
30
28
  if (typeof window.IntersectionObserver === 'undefined') {
31
- log('IntersectionObserver API is not available in your browser.')
29
+ console.log('IntersectionObserver API is not available in your browser.')
32
30
  } else {
33
31
  const observer = createObserver(el, vnode, modifiers, () => {
34
- log("Element is visible", el)
32
+ console.log("Element is visible", el)
35
33
  const callback = value;
36
34
  if (typeof callback === "function") callback();
37
35
  })
@@ -1,133 +0,0 @@
1
- module.exports =
2
- /******/ (function(modules) { // webpackBootstrap
3
- /******/ // The module cache
4
- /******/ var installedModules = {};
5
- /******/
6
- /******/ // The require function
7
- /******/ function __webpack_require__(moduleId) {
8
- /******/
9
- /******/ // Check if module is in cache
10
- /******/ if(installedModules[moduleId]) {
11
- /******/ return installedModules[moduleId].exports;
12
- /******/ }
13
- /******/ // Create a new module (and put it into the cache)
14
- /******/ var module = installedModules[moduleId] = {
15
- /******/ i: moduleId,
16
- /******/ l: false,
17
- /******/ exports: {}
18
- /******/ };
19
- /******/
20
- /******/ // Execute the module function
21
- /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
22
- /******/
23
- /******/ // Flag the module as loaded
24
- /******/ module.l = true;
25
- /******/
26
- /******/ // Return the exports of the module
27
- /******/ return module.exports;
28
- /******/ }
29
- /******/
30
- /******/
31
- /******/ // expose the modules object (__webpack_modules__)
32
- /******/ __webpack_require__.m = modules;
33
- /******/
34
- /******/ // expose the module cache
35
- /******/ __webpack_require__.c = installedModules;
36
- /******/
37
- /******/ // define getter function for harmony exports
38
- /******/ __webpack_require__.d = function(exports, name, getter) {
39
- /******/ if(!__webpack_require__.o(exports, name)) {
40
- /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
41
- /******/ }
42
- /******/ };
43
- /******/
44
- /******/ // define __esModule on exports
45
- /******/ __webpack_require__.r = function(exports) {
46
- /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
47
- /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
48
- /******/ }
49
- /******/ Object.defineProperty(exports, '__esModule', { value: true });
50
- /******/ };
51
- /******/
52
- /******/ // create a fake namespace object
53
- /******/ // mode & 1: value is a module id, require it
54
- /******/ // mode & 2: merge all properties of value into the ns
55
- /******/ // mode & 4: return value when already ns object
56
- /******/ // mode & 8|1: behave like require
57
- /******/ __webpack_require__.t = function(value, mode) {
58
- /******/ if(mode & 1) value = __webpack_require__(value);
59
- /******/ if(mode & 8) return value;
60
- /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
61
- /******/ var ns = Object.create(null);
62
- /******/ __webpack_require__.r(ns);
63
- /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
64
- /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
65
- /******/ return ns;
66
- /******/ };
67
- /******/
68
- /******/ // getDefaultExport function for compatibility with non-harmony modules
69
- /******/ __webpack_require__.n = function(module) {
70
- /******/ var getter = module && module.__esModule ?
71
- /******/ function getDefault() { return module['default']; } :
72
- /******/ function getModuleExports() { return module; };
73
- /******/ __webpack_require__.d(getter, 'a', getter);
74
- /******/ return getter;
75
- /******/ };
76
- /******/
77
- /******/ // Object.prototype.hasOwnProperty.call
78
- /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
79
- /******/
80
- /******/ // __webpack_public_path__
81
- /******/ __webpack_require__.p = "";
82
- /******/
83
- /******/
84
- /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = "fb15");
86
- /******/ })
87
- /************************************************************************/
88
- /******/ ({
89
-
90
- /***/ "fb15":
91
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
92
-
93
- "use strict";
94
- // ESM COMPAT FLAG
95
- __webpack_require__.r(__webpack_exports__);
96
-
97
- // CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js
98
- // This file is imported into lib/wc client bundles.
99
-
100
- if (typeof window !== 'undefined') {
101
- var currentScript = window.document.currentScript
102
- if (false) { var getCurrentScript; }
103
-
104
- var src = currentScript && currentScript.src.match(/(.+\/)[^/]+\.js(\?.*)?$/)
105
- if (src) {
106
- __webpack_require__.p = src[1] // eslint-disable-line
107
- }
108
- }
109
-
110
- // Indicate to webpack that this file can be concatenated
111
- /* harmony default export */ var setPublicPath = (null);
112
-
113
- // CONCATENATED MODULE: ./src/main.js
114
- function install(Vue) {}
115
- install.version = '__VERSION__';
116
- if (typeof window !== 'undefined') {
117
- window.Vue && window.Vue.use(install);
118
- window['ITFComponents'] = install;
119
- if (install.installed) {
120
- install.installed = false;
121
- }
122
- }
123
- // CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js
124
-
125
-
126
- /* harmony default export */ var entry_lib = __webpack_exports__["default"] = (install);
127
-
128
-
129
-
130
- /***/ })
131
-
132
- /******/ });
133
- //# sourceMappingURL=ITFComponents.common.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["webpack://ITFComponents/webpack/bootstrap","webpack://ITFComponents/./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js","webpack://ITFComponents/./src/main.js","webpack://ITFComponents/./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js"],"names":["install","Vue","version","window","use","installed"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;;;AClFA;;AAEA;AACA;AACA,MAAM,KAAuC,EAAE,yBAQ5C;;AAEH;AACA;AACA,IAAI,qBAAuB;AAC3B;AACA;;AAEA;AACe,sDAAI;;;ACrBJ,SAASA,OAAO,CAACC,GAAG,EAAE,CACrC;AACAD,OAAO,CAACE,OAAO,GAAG,aAAa;AAE/B,IAAI,OAAOC,MAAM,KAAK,WAAW,EAAE;EACjCA,MAAM,CAACF,GAAG,IAAIE,MAAM,CAACF,GAAG,CAACG,GAAG,CAACJ,OAAO,CAAC;EACrCG,MAAM,CAAC,eAAe,CAAC,GAAGH,OAAO;EAEjC,IAAIA,OAAO,CAACK,SAAS,EAAE;IACrBL,OAAO,CAACK,SAAS,GAAG,KAAK;EAC3B;AACF,C;;ACXwB;AACA;AACT,sFAAG;AACI","file":"ITFComponents.common.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"fb15\");\n","// This file is imported into lib/wc client bundles.\n\nif (typeof window !== 'undefined') {\n var currentScript = window.document.currentScript\n if (process.env.NEED_CURRENTSCRIPT_POLYFILL) {\n var getCurrentScript = require('@soda/get-current-script')\n currentScript = getCurrentScript()\n\n // for backward compatibility, because previously we directly included the polyfill\n if (!('currentScript' in document)) {\n Object.defineProperty(document, 'currentScript', { get: getCurrentScript })\n }\n }\n\n var src = currentScript && currentScript.src.match(/(.+\\/)[^/]+\\.js(\\?.*)?$/)\n if (src) {\n __webpack_public_path__ = src[1] // eslint-disable-line\n }\n}\n\n// Indicate to webpack that this file can be concatenated\nexport default null\n","export default function install(Vue) {\n}\ninstall.version = '__VERSION__';\n\nif (typeof window !== 'undefined') {\n window.Vue && window.Vue.use(install);\n window['ITFComponents'] = install;\n\n if (install.installed) {\n install.installed = false;\n }\n}\n","import './setPublicPath'\nimport mod from '~entry'\nexport default mod\nexport * from '~entry'\n"],"sourceRoot":""}
@@ -1,143 +0,0 @@
1
- (function webpackUniversalModuleDefinition(root, factory) {
2
- if(typeof exports === 'object' && typeof module === 'object')
3
- module.exports = factory();
4
- else if(typeof define === 'function' && define.amd)
5
- define([], factory);
6
- else if(typeof exports === 'object')
7
- exports["ITFComponents"] = factory();
8
- else
9
- root["ITFComponents"] = factory();
10
- })((typeof self !== 'undefined' ? self : this), function() {
11
- return /******/ (function(modules) { // webpackBootstrap
12
- /******/ // The module cache
13
- /******/ var installedModules = {};
14
- /******/
15
- /******/ // The require function
16
- /******/ function __webpack_require__(moduleId) {
17
- /******/
18
- /******/ // Check if module is in cache
19
- /******/ if(installedModules[moduleId]) {
20
- /******/ return installedModules[moduleId].exports;
21
- /******/ }
22
- /******/ // Create a new module (and put it into the cache)
23
- /******/ var module = installedModules[moduleId] = {
24
- /******/ i: moduleId,
25
- /******/ l: false,
26
- /******/ exports: {}
27
- /******/ };
28
- /******/
29
- /******/ // Execute the module function
30
- /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
31
- /******/
32
- /******/ // Flag the module as loaded
33
- /******/ module.l = true;
34
- /******/
35
- /******/ // Return the exports of the module
36
- /******/ return module.exports;
37
- /******/ }
38
- /******/
39
- /******/
40
- /******/ // expose the modules object (__webpack_modules__)
41
- /******/ __webpack_require__.m = modules;
42
- /******/
43
- /******/ // expose the module cache
44
- /******/ __webpack_require__.c = installedModules;
45
- /******/
46
- /******/ // define getter function for harmony exports
47
- /******/ __webpack_require__.d = function(exports, name, getter) {
48
- /******/ if(!__webpack_require__.o(exports, name)) {
49
- /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
50
- /******/ }
51
- /******/ };
52
- /******/
53
- /******/ // define __esModule on exports
54
- /******/ __webpack_require__.r = function(exports) {
55
- /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
56
- /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
57
- /******/ }
58
- /******/ Object.defineProperty(exports, '__esModule', { value: true });
59
- /******/ };
60
- /******/
61
- /******/ // create a fake namespace object
62
- /******/ // mode & 1: value is a module id, require it
63
- /******/ // mode & 2: merge all properties of value into the ns
64
- /******/ // mode & 4: return value when already ns object
65
- /******/ // mode & 8|1: behave like require
66
- /******/ __webpack_require__.t = function(value, mode) {
67
- /******/ if(mode & 1) value = __webpack_require__(value);
68
- /******/ if(mode & 8) return value;
69
- /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
70
- /******/ var ns = Object.create(null);
71
- /******/ __webpack_require__.r(ns);
72
- /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
73
- /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
74
- /******/ return ns;
75
- /******/ };
76
- /******/
77
- /******/ // getDefaultExport function for compatibility with non-harmony modules
78
- /******/ __webpack_require__.n = function(module) {
79
- /******/ var getter = module && module.__esModule ?
80
- /******/ function getDefault() { return module['default']; } :
81
- /******/ function getModuleExports() { return module; };
82
- /******/ __webpack_require__.d(getter, 'a', getter);
83
- /******/ return getter;
84
- /******/ };
85
- /******/
86
- /******/ // Object.prototype.hasOwnProperty.call
87
- /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
88
- /******/
89
- /******/ // __webpack_public_path__
90
- /******/ __webpack_require__.p = "";
91
- /******/
92
- /******/
93
- /******/ // Load entry module and return exports
94
- /******/ return __webpack_require__(__webpack_require__.s = "fb15");
95
- /******/ })
96
- /************************************************************************/
97
- /******/ ({
98
-
99
- /***/ "fb15":
100
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
101
-
102
- "use strict";
103
- // ESM COMPAT FLAG
104
- __webpack_require__.r(__webpack_exports__);
105
-
106
- // CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js
107
- // This file is imported into lib/wc client bundles.
108
-
109
- if (typeof window !== 'undefined') {
110
- var currentScript = window.document.currentScript
111
- if (false) { var getCurrentScript; }
112
-
113
- var src = currentScript && currentScript.src.match(/(.+\/)[^/]+\.js(\?.*)?$/)
114
- if (src) {
115
- __webpack_require__.p = src[1] // eslint-disable-line
116
- }
117
- }
118
-
119
- // Indicate to webpack that this file can be concatenated
120
- /* harmony default export */ var setPublicPath = (null);
121
-
122
- // CONCATENATED MODULE: ./src/main.js
123
- function install(Vue) {}
124
- install.version = '__VERSION__';
125
- if (typeof window !== 'undefined') {
126
- window.Vue && window.Vue.use(install);
127
- window['ITFComponents'] = install;
128
- if (install.installed) {
129
- install.installed = false;
130
- }
131
- }
132
- // CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js
133
-
134
-
135
- /* harmony default export */ var entry_lib = __webpack_exports__["default"] = (install);
136
-
137
-
138
-
139
- /***/ })
140
-
141
- /******/ });
142
- });
143
- //# sourceMappingURL=ITFComponents.umd.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["webpack://ITFComponents/webpack/universalModuleDefinition","webpack://ITFComponents/webpack/bootstrap","webpack://ITFComponents/./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js","webpack://ITFComponents/./src/main.js","webpack://ITFComponents/./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js"],"names":["install","Vue","version","window","use","installed"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,O;QCVA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;;;AClFA;;AAEA;AACA;AACA,MAAM,KAAuC,EAAE,yBAQ5C;;AAEH;AACA;AACA,IAAI,qBAAuB;AAC3B;AACA;;AAEA;AACe,sDAAI;;;ACrBJ,SAASA,OAAO,CAACC,GAAG,EAAE,CACrC;AACAD,OAAO,CAACE,OAAO,GAAG,aAAa;AAE/B,IAAI,OAAOC,MAAM,KAAK,WAAW,EAAE;EACjCA,MAAM,CAACF,GAAG,IAAIE,MAAM,CAACF,GAAG,CAACG,GAAG,CAACJ,OAAO,CAAC;EACrCG,MAAM,CAAC,eAAe,CAAC,GAAGH,OAAO;EAEjC,IAAIA,OAAO,CAACK,SAAS,EAAE;IACrBL,OAAO,CAACK,SAAS,GAAG,KAAK;EAC3B;AACF,C;;ACXwB;AACA;AACT,sFAAG;AACI","file":"ITFComponents.umd.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"ITFComponents\"] = factory();\n\telse\n\t\troot[\"ITFComponents\"] = factory();\n})((typeof self !== 'undefined' ? self : this), function() {\nreturn "," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"fb15\");\n","// This file is imported into lib/wc client bundles.\n\nif (typeof window !== 'undefined') {\n var currentScript = window.document.currentScript\n if (process.env.NEED_CURRENTSCRIPT_POLYFILL) {\n var getCurrentScript = require('@soda/get-current-script')\n currentScript = getCurrentScript()\n\n // for backward compatibility, because previously we directly included the polyfill\n if (!('currentScript' in document)) {\n Object.defineProperty(document, 'currentScript', { get: getCurrentScript })\n }\n }\n\n var src = currentScript && currentScript.src.match(/(.+\\/)[^/]+\\.js(\\?.*)?$/)\n if (src) {\n __webpack_public_path__ = src[1] // eslint-disable-line\n }\n}\n\n// Indicate to webpack that this file can be concatenated\nexport default null\n","export default function install(Vue) {\n}\ninstall.version = '__VERSION__';\n\nif (typeof window !== 'undefined') {\n window.Vue && window.Vue.use(install);\n window['ITFComponents'] = install;\n\n if (install.installed) {\n install.installed = false;\n }\n}\n","import './setPublicPath'\nimport mod from '~entry'\nexport default mod\nexport * from '~entry'\n"],"sourceRoot":""}