Skip to content

Commit

Permalink
jbaysolutions#785 Update branch vue3
Browse files Browse the repository at this point in the history
  • Loading branch information
ultravires committed Nov 30, 2023
0 parents commit 8fdb9b7
Show file tree
Hide file tree
Showing 57 changed files with 25,286 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .browserslistrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
> 1%
last 2 versions
not ie <= 8
17 changes: 17 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
module.exports = {
root: true,
env: {
node: true
},
'extends': [
'plugin:vue/essential',
'eslint:recommended'
],
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
},
parserOptions: {
parser: 'babel-eslint'
}
}
35 changes: 35 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

**Software version (please complete the following information):**
- Browser [e.g. chrome, safari]
- Vue Version [e.g. 2.5.7]
- vue-grid-layout Version: [e.g. 2.3.3]

**Describe the bug**
A clear and concise description of what the bug is.

Please use the [CodeSandbox Template](https://codesandbox.io/s/5wy3rz5z1x?module=%2Fsrc%2FShowcaseLayout.js) to demonstrate your bug. It is much easier for us to help you if you do.


**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Additional context**
Add any other context about the problem here.
22 changes: 22 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---

## If you have a feature request, please try to implement it before requesting it. <br/>This is free software and the author is busy with other projects.

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
25 changes: 25 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
.DS_Store
node_modules
#/dist
dist/demo.html

# local env files
.env.local
.env.*.local

# Log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw*

yarn.lock
yarn-error.log
144 changes: 144 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,144 @@
# Changelog

## 2.3.9 (September 28, 2020)

* Fix plugin installation (fixes #311) (thanks [yfwz100](https://github.com/yfwz100))
* Bumped interact.js to 1.9.22

## 2.3.8 (July 31, 2020)

* Make margins reactive (thanks [yfwz100](https://github.com/yfwz100))
* Added missing 'layout-updated' events (thanks [ben-lau](https://github.com/ben-lau))
* Support for initial responsive layouts and breakpoint change event (thanks [ftylitak](https://github.com/ftylitak))
* Bugfix for possible error when layout items get removed and interactObj is not set (thanks [Tofandel](https://github.com/Tofandel))
* Fix wrong grid item sorting in responsive mode (thanks [pieterbeulque](https://github.com/pieterbeulque))

## 2.3.7 (Oct 31, 2019)

* renamed 'resized' event emitted when the container changes size (browser window or other), introduced in #337, fixes #358
* bugfix on layout-ready event

## 2.3.6 (Sep 11, 2019)

* reverted grid item w and h previous rounding change, fixes #355

## 2.3.5 (Sep 7, 2019)

* Fix: no-touch on mobile and only if item is draggable or resizable (thanks [DGoms](https://github.com/DGoms)).
* Prevent collision feature (thanks [SheanDe](https://github.com/SheanDe)).
* Simplified Chinese README (thanks [harrywangchina](https://github.com/harrywangchina)).
* 'resized' event now emitted if grid item is resized due to changes other than a manual resize (e.g. browser window resize) (thanks [pmorch](https://github.com/pmorch)).
* Improvement on 'layout-ready' event emit (thanks [pmorch](https://github.com/pmorch)).
* Added watchers for min/max height and width (thanks [grinat](https://github.com/grinat)).
* Improvement: make sure the size of grid-item is bigger than the slot-item (thanks [ywmail](https://github.com/ywmail)).

## 2.3.4 (Mar 5, 2019)

* Support for static items (thanks [panjiangyi](https://github.com/panjiangyi)).
* RTL bugfix (thanks [irvingwa](https://github.com/irvingwa)).
* Memory leak fixes (thanks [aiankile](https://github.com/aiankile)).
* Fixed exception on grid layout mount (thanks [BenoitZugmeyer](https://github.com/BenoitZugmeyer)).
* Fixed overlapping and resizing bugs on responsive mode (thanks [shpfive](https://github.com/shpfive)).
* Added new events emited by GridLayout (layout-created, layout-before-mount, layout-mounted, layout-ready) (thanks [samuelmolinski](https://github.com/samuelmolinski)).

## 2.3.3 (Dec 26, 2018)

* Reverted adding vue as external, which caused problems loading umd.

## 2.3.2 (Dec 13, 2018)

* Added vue as externals webpack config to fix startup problems (thanks [Micene9](https://github.com/Micene09))

## 2.3.1 (Nov 6, 2018)

* Previous fix for touch dragging on Android broke dragging on other mobile browsers (thanks [onx2](https://github.com/onx2))


## 2.3.0 (Oct 26, 2018)

* Responsive layout support (thanks [shpfive](https://github.com/shpfive))
* Fix for touch dragging on Android (thanks [pbabey](https://github.com/pbabey))

## 2.2.0 (Sep 10, 2018)

* changed project structure and build using Vue CLI
* GridItem new autosize method. For now, need to be called from child component with this.$parent.autoSize() (thanks[mech01nc01](https://github.com/mech01nc01))
* Abstract DOM related calls for initial SSR Support (thanks[Kukks](https://github.com/Kukks))
* GridItem.i can now be a number or a string (thanks[xch1029](https://github.com/xch1029))
* Use interactjs size restrictions to limit resizing (thanks[LuisCarreras](https://github.com/LuisCarreras))
* Fixed interactjs instance leak on instance release (thanks[zzuligy](https://github.com/zzuligy))

## 2.1.13 (May 2, 2018)

* Resize event now also emits dimensions in pixels (thanks [buremba](https://github.com/buremba))
* Support for dynamic col-num (#121) (thanks [ittus](https://github.com/ittus))

## 2.1.12 (Fev 27, 2018)

* Updated interact.js to 1.3.3 (#144)

## 2.1.11 (Jan 5, 2018)

* Fixed issue with multiple grids on same vm (#134) (thanks [Suen](https://github.com/sunzongzheng))
* Fixed issue with layout update on reassignment (#130) (thanks [daizengyu](https://github.com/daizengyu123))

## 2.1.10 (Dec 15, 2017)

* Fixed possible bug related with #119
* Changed css translate to translate3d (#96)
* Added is-mirrored config, allowing the grid items to be rendered from right to left (horizontal flip) (thanks [kweij](https://github.com/kweij))
* Added grid updated event for easier integration with vuex (thanks [SergeyKhval](https://github.com/SergeyKhval))

## 2.1.9 (Aug 17, 2017)

* Fixed local module reference to interact.js

## 2.1.8 (Aug 17, 2017)

* Fixed #61 and #37
* Fixed #82
* Fixed #87

## 2.1.7 (Aug 17, 2017)

* Fixed #59
* Fixed #83
* Implemented support for dragAllowFrom and dragIgnoreFrom props on GridItem (thanks [ThePlastic](https://github.com/ThePlastic))

## 2.1.6 (Apr 6, 2017)

* Fixed #43, configurable drag elements ignore on grid item contents (thanks [neithere](https://github.com/neithere))
* Fix for getLayoutItem, sometimes returns null elements (thanks [pbabey](https://github.com/pbabey))

## 2.1.5 (Mar 24, 2017)

* Really fixed #22 #32, multiple grid instances were not working properly in 2.1.4
* resizedEvent now also returns item width and height in pixels (implements #34)


## 2.1.4 (Mar 20, 2017)

* Implemented #32, support for multiple grid instances on the same page

## 2.1.3 (Mar 9, 2017)

* Fixed #27, props mutation warnings


## 2.1.2 (Fev 16, 2017)

* Implemented #12, buttons on GridItems would trigger drag on mobile
* Implemented #24, listeners removal beforeDestroy (thanks [pbabey](https://github.com/pbabey))


## 2.1.1 (Fev 9, 2017)

* Implemented #13, dynamic row height update support
* Implemented #23, dynamic enable/disable dragging and resizing support
* Implemented #21, moved and resized events


## 2.1.0 (Fev 6, 2017)

* RTL support (thanks [easteregg](https://github.com/easteregg))
* Move and resize events (thanks [ThePlastic](https://github.com/ThePlastic))
22 changes: 22 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
The MIT License (MIT)

Copyright (c) 2015 greyby

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Loading

0 comments on commit 8fdb9b7

Please sign in to comment.