isobit-ui 0.2.109 → 0.2.110

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.
Files changed (3) hide show
  1. package/README.txt +39 -39
  2. package/dist/index.js +88 -88
  3. package/package.json +35 -35
package/README.txt CHANGED
@@ -1,40 +1,40 @@
1
- https://snyk.io/advisor/npm-package/cili
2
-
3
- Install
4
-
5
- # Globally
6
- yarn global add bili
7
- # Locally
8
- yarn add bili --dev
9
- If you prefer npm:
10
-
11
- # Globally
12
- npm i -g bili
13
- # Locally
14
- npm i -D bili
15
- Usage
16
- Bundle src/index.js with a single command:
17
-
18
- bili
19
- Then you will get ./dist/index.cjs.js. To generate in more formats, try:
20
-
21
- bili --format cjs,es,umd,umd-min
22
- Then you will get:
23
-
24
- index.js # UMD format
25
- index.min.js # Minified UMD format
26
- index.min.js.map # Sourcemaps for minified UMD format
27
- index.cjs.js # CommonJS format
28
- index.es.js # ES module format
29
-
30
- https://developpaper.com/vue-js-build-your-first-package-and-publish-it-on-npm/
31
- https://byegoist.medium.com/bundle-vue-library-with-bili-65de446365a8
32
- https://www.telerik.com/blogs/vuejs-how-to-build-your-first-package-publish-it-on-npm
33
-
34
-
35
- jorik2021A1_npm_pinedo@
36
-
37
- javascript
38
- https://livecodestream.dev/post/publish-your-first-node-library-using-npm/
39
-
1
+ https://snyk.io/advisor/npm-package/cili
2
+
3
+ Install
4
+
5
+ # Globally
6
+ yarn global add bili
7
+ # Locally
8
+ yarn add bili --dev
9
+ If you prefer npm:
10
+
11
+ # Globally
12
+ npm i -g bili
13
+ # Locally
14
+ npm i -D bili
15
+ Usage
16
+ Bundle src/index.js with a single command:
17
+
18
+ bili
19
+ Then you will get ./dist/index.cjs.js. To generate in more formats, try:
20
+
21
+ bili --format cjs,es,umd,umd-min
22
+ Then you will get:
23
+
24
+ index.js # UMD format
25
+ index.min.js # Minified UMD format
26
+ index.min.js.map # Sourcemaps for minified UMD format
27
+ index.cjs.js # CommonJS format
28
+ index.es.js # ES module format
29
+
30
+ https://developpaper.com/vue-js-build-your-first-package-and-publish-it-on-npm/
31
+ https://byegoist.medium.com/bundle-vue-library-with-bili-65de446365a8
32
+ https://www.telerik.com/blogs/vuejs-how-to-build-your-first-package-publish-it-on-npm
33
+
34
+
35
+ jorik2021A1_npm_pinedo@
36
+
37
+ javascript
38
+ https://livecodestream.dev/post/publish-your-first-node-library-using-npm/
39
+
40
40
  npm install --save ku-button
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * isobit-ui v0.2.108
2
+ * isobit-ui v0.2.109
3
3
  * (c) Erik Alarcon Pinedo
4
4
  * Released under the MIT License.
5
5
  */
@@ -586,7 +586,7 @@ var script$n = {
586
586
  });
587
587
  if (me.$attrs.icon) {
588
588
  if (!me.$attrs.value) me.$el.classList.add("v-button-icon-only");else me.$el.classList.add("v-button-text-icon-left");
589
- /*span = document.createElement("span");
589
+ /*span = document.createElement("span");
590
590
  span.className = "ui-button-icon-left ui-icon ui-c " + me.$attrs.icon;*/
591
591
  fa.dataset.icon = me.$attrs.icon;
592
592
  fa.className = "fa " + me.$attrs.icon;
@@ -851,11 +851,11 @@ var script$l = {
851
851
  },
852
852
  mounted: function mounted() {
853
853
  var me = this;
854
- /*if(me.$parent.$el.classList.contains('v-datatable')){
855
- if(me.$options.propsData.readonly+''== 'undefined'){
856
- me.readonly=true;
857
- console.log(me.$el.parentNode.tagName);
858
- }
854
+ /*if(me.$parent.$el.classList.contains('v-datatable')){
855
+ if(me.$options.propsData.readonly+''== 'undefined'){
856
+ me.readonly=true;
857
+ console.log(me.$el.parentNode.tagName);
858
+ }
859
859
  }*/
860
860
  var c = me.$el.querySelector('input');
861
861
  if (me.$parent && me.$parent.nam) c.name = me.$parent.nam;
@@ -1318,7 +1318,7 @@ var __vue_render__$h = function __vue_render__() {
1318
1318
  "font-weight": "normal !important",
1319
1319
  "display": "block"
1320
1320
  }
1321
- }, [_vm._v(" " + _vm._s(_vm.label ? _vm.label : _vm.value) + "\n "), _c('input', {
1321
+ }, [_vm._v(" " + _vm._s(_vm.label ? _vm.label : _vm.value) + "\r\n "), _c('input', {
1322
1322
  attrs: {
1323
1323
  "type": "radio"
1324
1324
  },
@@ -1754,7 +1754,7 @@ var __vue_staticRenderFns__$e = [];
1754
1754
  /* style */
1755
1755
  var __vue_inject_styles__$f = function __vue_inject_styles__(inject) {
1756
1756
  if (!inject) return;
1757
- inject("data-v-27307484_0", {
1757
+ inject("data-v-e7c66bd2_0", {
1758
1758
  source: ".v-dataview>.v-no-results{padding:15px;color:rgb(255 193 7);background:#ffffff45;padding-bottom:7px;padding-top:7px;border-radius:10px;border-style:solid;border-width:1px}.v-dataview>.v-more-results{cursor:pointer;padding:15px;color:#106e8a;background:#ffffff45;padding-bottom:7px;padding-top:7px;border-radius:10px;border-style:solid;border-width:1px}",
1759
1759
  map: undefined,
1760
1760
  media: undefined
@@ -2376,8 +2376,8 @@ var script$d = {
2376
2376
  }
2377
2377
  },
2378
2378
  rowCreated: function rowCreated() {
2379
- /*this.$parent.$parent.row=r;
2380
- console.log(this.$parent.$parent.row);
2379
+ /*this.$parent.$parent.row=r;
2380
+ console.log(this.$parent.$parent.row);
2381
2381
  this.$emit('row',r);*/
2382
2382
  } /*r*/,
2383
2383
  hasSlot: function hasSlot(s) {
@@ -2820,7 +2820,7 @@ var __vue_staticRenderFns__$b = [];
2820
2820
  /* style */
2821
2821
  var __vue_inject_styles__$b = function __vue_inject_styles__(inject) {
2822
2822
  if (!inject) return;
2823
- inject("data-v-907ea46a_0", {
2823
+ inject("data-v-d80fde5c_0", {
2824
2824
  source: "textarea{box-sizing:border-box;resize:none}",
2825
2825
  map: undefined,
2826
2826
  media: undefined
@@ -2989,12 +2989,12 @@ var script$a = {
2989
2989
  } else {
2990
2990
  ffound = me.$children[j].filterList[select.selectedIndex - 1];
2991
2991
  }
2992
- /*if(me.$el.id){
2993
- for(k=0;k<select.length;k++){
2994
- console.log(k+'--'+select[k].value);
2995
- }
2996
- console.log('select.length.'+me.$el.id+'='+select.length);
2997
- console.log('select.selectedIndex .'+me.$el.id+'='+select.selectedIndex);
2992
+ /*if(me.$el.id){
2993
+ for(k=0;k<select.length;k++){
2994
+ console.log(k+'--'+select[k].value);
2995
+ }
2996
+ console.log('select.length.'+me.$el.id+'='+select.length);
2997
+ console.log('select.selectedIndex .'+me.$el.id+'='+select.selectedIndex);
2998
2998
  }*/
2999
2999
  var a = Number(oldv);
3000
3000
  if (!isNaN(a)) {
@@ -3333,12 +3333,12 @@ var script$8 = {
3333
3333
  props: {
3334
3334
  delay: null
3335
3335
  },
3336
- /*watch:{
3337
- value(v){
3338
- var me=this;
3339
- me.$el.value=v;
3340
- me.$emit('input', v);
3341
- }
3336
+ /*watch:{
3337
+ value(v){
3338
+ var me=this;
3339
+ me.$el.value=v;
3340
+ me.$emit('input', v);
3341
+ }
3342
3342
  },*/
3343
3343
  data: function data() {
3344
3344
  return {
@@ -4135,9 +4135,9 @@ var script$4 = {
4135
4135
  }
4136
4136
  }
4137
4137
  },
4138
- /*created(){
4139
- alert('layrControl.created'+this.$parent);
4140
-
4138
+ /*created(){
4139
+ alert('layrControl.created'+this.$parent);
4140
+
4141
4141
  },*/
4142
4142
  //render() {
4143
4143
  created: function created() {
@@ -4318,26 +4318,26 @@ var script$4 = {
4318
4318
  color: 'rgba(255, 150, 150, 0.0)'
4319
4319
  })
4320
4320
  });
4321
- /*map.addInteraction(new ol.interaction.Select({
4322
- condition: ol.events.condition.pointerMove,
4323
- style: function (f) {
4324
- if(f.getId()&&(selection.getLength()==1&&selection.item(0).getId() === f.getId()||
4325
- selection.getLength()==2&&selection.item(1).getId() === f.getId())){
4326
- //if(selection.getLength()==2)
4327
- emptyStyle.setText(selection.getLength()==2?new ol.style.Text({
4328
- text: f.values_.name?f.values_.name.toUpperCase():'ooo',
4329
- fill: new ol.style.Fill({color: '#000000'}),
4330
- stroke: new ol.style.Stroke({color: '#4073CE', width: 1})
4331
- }):null);
4332
- return emptyStyle;
4333
- }
4334
- hoverStyle.setText(new ol.style.Text({
4335
- text: f.values_.name?f.values_.name.toUpperCase():'',
4336
- fill: new ol.style.Fill({color: '#FFFFFF'}),
4337
- stroke: new ol.style.Stroke({color: '#4073CE', width: 1})
4338
- }));
4339
- return hoverStyle;
4340
- }
4321
+ /*map.addInteraction(new ol.interaction.Select({
4322
+ condition: ol.events.condition.pointerMove,
4323
+ style: function (f) {
4324
+ if(f.getId()&&(selection.getLength()==1&&selection.item(0).getId() === f.getId()||
4325
+ selection.getLength()==2&&selection.item(1).getId() === f.getId())){
4326
+ //if(selection.getLength()==2)
4327
+ emptyStyle.setText(selection.getLength()==2?new ol.style.Text({
4328
+ text: f.values_.name?f.values_.name.toUpperCase():'ooo',
4329
+ fill: new ol.style.Fill({color: '#000000'}),
4330
+ stroke: new ol.style.Stroke({color: '#4073CE', width: 1})
4331
+ }):null);
4332
+ return emptyStyle;
4333
+ }
4334
+ hoverStyle.setText(new ol.style.Text({
4335
+ text: f.values_.name?f.values_.name.toUpperCase():'',
4336
+ fill: new ol.style.Fill({color: '#FFFFFF'}),
4337
+ stroke: new ol.style.Stroke({color: '#4073CE', width: 1})
4338
+ }));
4339
+ return hoverStyle;
4340
+ }
4341
4341
  }));*/
4342
4342
  dl.onChange = function (event) {
4343
4343
  var f = event.feature;
@@ -4550,38 +4550,38 @@ var script$3 = {
4550
4550
  target: m.$el,
4551
4551
  layers: [
4552
4552
  //new ol.layer.VectorTile({
4553
- /*source: new ol.source.VectorTile({
4554
- format: new ol.format.MVT(),
4555
- url:
4556
- 'https://basemaps.arcgis.com/arcgis/rest/services/World_Basemap_v2/VectorTileServer/tile/{z}/{y}/{x}.pbf'
4557
- // 'https://basemaps.arcgis.com/v1/arcgis/rest/services/World_Basemap/VectorTileServer/tile/{z}/{y}/{x}.pbf',
4558
- }),
4553
+ /*source: new ol.source.VectorTile({
4554
+ format: new ol.format.MVT(),
4555
+ url:
4556
+ 'https://basemaps.arcgis.com/arcgis/rest/services/World_Basemap_v2/VectorTileServer/tile/{z}/{y}/{x}.pbf'
4557
+ // 'https://basemaps.arcgis.com/v1/arcgis/rest/services/World_Basemap/VectorTileServer/tile/{z}/{y}/{x}.pbf',
4558
+ }),
4559
4559
  }) */
4560
4560
 
4561
- /* new ol.layer.Tile({
4562
- source: new ol.source.XYZ({
4563
- attributions:
4564
- 'Tiles © <a href="https://services.arcgisonline.com/ArcGIS/' +
4565
- 'rest/services/World_Topo_Map/MapServer">ArcGIS</a>',
4566
- url:
4567
- 'https://basemaps.arcgis.com/arcgis/rest/services/World_Basemap_v2/VectorTileServer/tile/{z}/{y}/{x}.pbf'
4568
- //'https://services.arcgisonline.com/arcgis/rest/services/Elevation/World_Hillshade/MapServer/tile/{z}/{y}/{x}'
4569
- // 'https://server.arcgisonline.com/arcgis/rest/services/Elevation/World_Hillshade/MapServer/tile/{z}/{y}/{x}'
4570
- //'https://server.arcgisonline.com/ArcGIS/rest/services/' +
4571
- //'World_Topo_Map/MapServer/tile/{z}/{y}/{x}',
4561
+ /* new ol.layer.Tile({
4562
+ source: new ol.source.XYZ({
4563
+ attributions:
4564
+ 'Tiles © <a href="https://services.arcgisonline.com/ArcGIS/' +
4565
+ 'rest/services/World_Topo_Map/MapServer">ArcGIS</a>',
4566
+ url:
4567
+ 'https://basemaps.arcgis.com/arcgis/rest/services/World_Basemap_v2/VectorTileServer/tile/{z}/{y}/{x}.pbf'
4568
+ //'https://services.arcgisonline.com/arcgis/rest/services/Elevation/World_Hillshade/MapServer/tile/{z}/{y}/{x}'
4569
+ // 'https://server.arcgisonline.com/arcgis/rest/services/Elevation/World_Hillshade/MapServer/tile/{z}/{y}/{x}'
4570
+ //'https://server.arcgisonline.com/ArcGIS/rest/services/' +
4571
+ //'World_Topo_Map/MapServer/tile/{z}/{y}/{x}',
4572
4572
  }),*/
4573
4573
 
4574
- /*
4575
- source: new ol.source.XYZ({
4576
- attributions: 'Copyright:© 2013 ESRI, i-cubed, GeoEye',
4577
- url:
4578
- 'https://services.arcgisonline.com/arcgis/rest/services/' +
4579
- 'ESRI_Imagery_World_2D/MapServer/tile/{z}/{y}/{x}',
4580
- maxZoom: 15,
4581
- projection: 'EPSG:4326',
4582
- tileSize: 512, // the tile size supported by the ArcGIS tile service
4583
- maxResolution: 180 / 512, // Esri's tile grid fits 180 degrees on one 512 px tile
4584
- wrapX: true,
4574
+ /*
4575
+ source: new ol.source.XYZ({
4576
+ attributions: 'Copyright:© 2013 ESRI, i-cubed, GeoEye',
4577
+ url:
4578
+ 'https://services.arcgisonline.com/arcgis/rest/services/' +
4579
+ 'ESRI_Imagery_World_2D/MapServer/tile/{z}/{y}/{x}',
4580
+ maxZoom: 15,
4581
+ projection: 'EPSG:4326',
4582
+ tileSize: 512, // the tile size supported by the ArcGIS tile service
4583
+ maxResolution: 180 / 512, // Esri's tile grid fits 180 degrees on one 512 px tile
4584
+ wrapX: true,
4585
4585
  })*/
4586
4586
 
4587
4587
  new ol.layer.Tile({
@@ -4650,11 +4650,11 @@ var script$3 = {
4650
4650
  if (e.$vnode.tag.endsWith('v-overlay')) e.$emit("zoom", newZoom);
4651
4651
  });
4652
4652
  }
4653
- /*console.log('vue.map-moveend '+map.getView().getCenter());
4654
- if (!m.moved) {
4655
- var center = map.getView().getCenter();
4656
- history.replaceState({id: 'homepage'}, '', document.location.pathname + '?' + _.param('location', center[0] + '/' + center[1] + '/' + map.getView().getZoom()));
4657
- }
4653
+ /*console.log('vue.map-moveend '+map.getView().getCenter());
4654
+ if (!m.moved) {
4655
+ var center = map.getView().getCenter();
4656
+ history.replaceState({id: 'homepage'}, '', document.location.pathname + '?' + _.param('location', center[0] + '/' + center[1] + '/' + map.getView().getZoom()));
4657
+ }
4658
4658
  m.moved = false;*/
4659
4659
  });
4660
4660
 
@@ -4807,13 +4807,13 @@ var script$2 = {
4807
4807
  }));
4808
4808
  me.ready = true;
4809
4809
  });
4810
- /*
4811
- var me = this;
4812
- this.svg=!(this.icon&&this.icon.startsWith('fa-'));
4813
- me.$parent.$on('build', function (m) {
4814
- m.addControl(new ol.control.Control({element:me.$el}));
4815
- me.ready=true;
4816
- });
4810
+ /*
4811
+ var me = this;
4812
+ this.svg=!(this.icon&&this.icon.startsWith('fa-'));
4813
+ me.$parent.$on('build', function (m) {
4814
+ m.addControl(new ol.control.Control({element:me.$el}));
4815
+ me.ready=true;
4816
+ });
4817
4817
  */
4818
4818
  },
4819
4819
 
@@ -5131,7 +5131,7 @@ var __vue_staticRenderFns__$1 = [];
5131
5131
  /* style */
5132
5132
  var __vue_inject_styles__$1 = function __vue_inject_styles__(inject) {
5133
5133
  if (!inject) return;
5134
- inject("data-v-42b68c91_0", {
5134
+ inject("data-v-c6660d46_0", {
5135
5135
  source: ".v-ol-overlay>.v-panel-titlebar{padding:10px}.v-icon-close{cursor:pointer}",
5136
5136
  map: undefined,
5137
5137
  media: undefined
package/package.json CHANGED
@@ -1,35 +1,35 @@
1
- {
2
- "name": "isobit-ui",
3
- "version": "0.2.109",
4
- "type": "module",
5
- "description": "Vue component to play videos",
6
- "keywords": [
7
- "ui",
8
- "table",
9
- "autocomplete",
10
- "vue"
11
- ],
12
- "author": "Erik Alarcon Pinedo",
13
- "license": "MIT",
14
- "private": false,
15
- "main": "./dist/index.js",
16
- "scripts": {
17
- "dev": "vue serve v-video-player.vue",
18
- "bili": "bili",
19
- "eslint": "eslint",
20
- "build": "bili --name index --plugin vue --vue.css false",
21
- "patch": "bili & npm version patch & npm publish"
22
- },
23
- "files": [
24
- "dist/*"
25
- ],
26
- "devDependencies": {
27
- "bili": "^5.0.5",
28
- "eslint": "^8.36.0",
29
- "rollup-plugin-vue": "^5.1.9",
30
- "vue-template-compiler": "^2.6.12"
31
- },
32
- "dependencies": {
33
- "vue": "^2.6.12"
34
- }
35
- }
1
+ {
2
+ "name": "isobit-ui",
3
+ "version": "0.2.110",
4
+ "type": "module",
5
+ "description": "Vue component to play videos",
6
+ "keywords": [
7
+ "ui",
8
+ "table",
9
+ "autocomplete",
10
+ "vue"
11
+ ],
12
+ "author": "Erik Alarcon Pinedo",
13
+ "license": "MIT",
14
+ "private": false,
15
+ "main": "./dist/index.js",
16
+ "scripts": {
17
+ "dev": "vue serve v-video-player.vue",
18
+ "bili": "bili",
19
+ "eslint": "eslint",
20
+ "build": "bili --name index --plugin vue --vue.css false",
21
+ "patch": "git add . & git commit -m \"x\" & git push & bili & npm version patch & npm publish"
22
+ },
23
+ "files": [
24
+ "dist/*"
25
+ ],
26
+ "devDependencies": {
27
+ "bili": "^5.0.5",
28
+ "eslint": "^8.36.0",
29
+ "rollup-plugin-vue": "^5.1.9",
30
+ "vue-template-compiler": "^2.6.12"
31
+ },
32
+ "dependencies": {
33
+ "vue": "^2.6.12"
34
+ }
35
+ }