index
int64
0
0
repo_id
stringlengths
16
181
file_path
stringlengths
28
270
content
stringlengths
1
11.6M
__index_level_0__
int64
0
10k
0
petrpan-code/gridstack/gridstack.js/angular/projects
petrpan-code/gridstack/gridstack.js/angular/projects/lib/karma.conf.js
// Karma configuration file, see link for more information // https://karma-runner.github.io/1.0/config/configuration-file.html module.exports = function (config) { config.set({ basePath: '', frameworks: ['jasmine', '@angular-devkit/build-angular'], plugins: [ require('karma-jasmine'), requir...
3,800
0
petrpan-code/gridstack/gridstack.js/angular/projects
petrpan-code/gridstack/gridstack.js/angular/projects/lib/ng-package.json
{ "$schema": "../../node_modules/ng-packagr/ng-package.schema.json", "dest": "../../../dist/angular", "lib": { "entryFile": "src/public-api.ts" } }
3,801
0
petrpan-code/gridstack/gridstack.js/angular/projects
petrpan-code/gridstack/gridstack.js/angular/projects/lib/package.json
{ "name": "gridstack-angular", "version": "10.0.0-dev", "peerDependencies": { "@angular/common": "^14.2.0", "@angular/core": "^14.2.0" }, "dependencies": { "tslib": "^2.3.0" } }
3,802
0
petrpan-code/gridstack/gridstack.js/angular/projects
petrpan-code/gridstack/gridstack.js/angular/projects/lib/tsconfig.lib.json
/* To learn more about this file see: https://angular.io/config/tsconfig. */ { "extends": "../../tsconfig.json", "compilerOptions": { "outDir": "../../out-tsc/lib", "declaration": true, "declarationMap": true, "inlineSources": true, "types": [] }, "exclude": [ "src/test.ts", "**/*.sp...
3,803
0
petrpan-code/gridstack/gridstack.js/angular/projects
petrpan-code/gridstack/gridstack.js/angular/projects/lib/tsconfig.lib.prod.json
/* To learn more about this file see: https://angular.io/config/tsconfig. */ { "extends": "./tsconfig.lib.json", "compilerOptions": { "declarationMap": false }, "angularCompilerOptions": { "compilationMode": "partial" } }
3,804
0
petrpan-code/gridstack/gridstack.js/angular/projects
petrpan-code/gridstack/gridstack.js/angular/projects/lib/tsconfig.spec.json
/* To learn more about this file see: https://angular.io/config/tsconfig. */ { "extends": "../../tsconfig.json", "compilerOptions": { "outDir": "../../out-tsc/spec", "types": [ "jasmine" ] }, "files": [ "src/test.ts" ], "include": [ "**/*.spec.ts", "**/*.d.ts" ] }
3,805
0
petrpan-code/gridstack/gridstack.js/angular/projects/lib
petrpan-code/gridstack/gridstack.js/angular/projects/lib/src/public-api.ts
/* * Public API Surface of gridstack-angular */ export * from './lib/gridstack-item.component'; export * from './lib/gridstack.component'; export * from './lib/base-widget'; export * from './lib/gridstack.module';
3,806
0
petrpan-code/gridstack/gridstack.js/angular/projects/lib
petrpan-code/gridstack/gridstack.js/angular/projects/lib/src/test.ts
// This file is required by karma.conf.js and loads recursively all the .spec and framework files import 'zone.js'; import 'zone.js/testing'; import { getTestBed } from '@angular/core/testing'; import { BrowserDynamicTestingModule, platformBrowserDynamicTesting } from '@angular/platform-browser-dynamic/testing'; ...
3,807
0
petrpan-code/gridstack/gridstack.js/angular/projects/lib/src
petrpan-code/gridstack/gridstack.js/angular/projects/lib/src/lib/base-widget.ts
/** * gridstack-item.component.ts 10.0.0-dev * Copyright (c) 2022 Alain Dumesny - see GridStack root license */ /** * Base interface that all widgets need to implement in order for GridstackItemComponent to correctly save/load/delete/.. */ import { Injectable } from '@angular/core'; import { NgCompInputs, NgGrid...
3,808
0
petrpan-code/gridstack/gridstack.js/angular/projects/lib/src
petrpan-code/gridstack/gridstack.js/angular/projects/lib/src/lib/gridstack-item.component.ts
/** * gridstack-item.component.ts 10.0.0-dev * Copyright (c) 2022 Alain Dumesny - see GridStack root license */ import { Component, ElementRef, Input, ViewChild, ViewContainerRef, OnDestroy, ComponentRef } from '@angular/core'; import { GridItemHTMLElement, GridStackNode } from 'gridstack'; import { BaseWidget } fr...
3,809
0
petrpan-code/gridstack/gridstack.js/angular/projects/lib/src
petrpan-code/gridstack/gridstack.js/angular/projects/lib/src/lib/gridstack.component.ts
/** * gridstack.component.ts 10.0.0-dev * Copyright (c) 2022 Alain Dumesny - see GridStack root license */ import { AfterContentInit, Component, ContentChildren, ElementRef, EventEmitter, Input, OnDestroy, OnInit, Output, QueryList, Type, ViewChild, ViewContainerRef, reflectComponentType, ComponentRef } from '@an...
3,810
0
petrpan-code/gridstack/gridstack.js/angular/projects/lib/src
petrpan-code/gridstack/gridstack.js/angular/projects/lib/src/lib/gridstack.module.ts
/** * gridstack.component.ts 10.0.0-dev * Copyright (c) 2022 Alain Dumesny - see GridStack root license */ import { NgModule } from "@angular/core"; import { CommonModule } from '@angular/common'; import { GridStack } from "gridstack"; import { GridstackComponent, gsCreateNgComponents, gsSaveAdditionalNgInfo } fro...
3,811
0
petrpan-code/gridstack/gridstack.js
petrpan-code/gridstack/gridstack.js/demo/anijs.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <title>AniJS demo</title> <link rel="stylesheet" href="https://anijs.github.io/lib/anicollection/anicollection.css" /...
3,812
0
petrpan-code/gridstack/gridstack.js
petrpan-code/gridstack/gridstack.js/demo/canvasJS.html
<!DOCTYPE html> <html lang="en"> <head> <title>CanvasJS grid demo</title> <link rel="stylesheet" href="demo.css"/> <script src="https://cdn.jsdelivr.net/npm/gridstack@5.1.1/dist/gridstack-jq.js"></script> <script src="https://canvasjs.com/assets/script/canvasjs.min.js"></script> <style type="text/css"> ...
3,813
0
petrpan-code/gridstack/gridstack.js
petrpan-code/gridstack/gridstack.js/demo/cell-height.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>cell height demo</title> <link rel="stylesheet" href="demo.css"/> <script src="../dist/gridstack-all.js"></script>...
3,814
0
petrpan-code/gridstack/gridstack.js
petrpan-code/gridstack/gridstack.js/demo/column.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Column grid demo</title> <link rel="stylesheet" href="demo.css"/> <link rel="stylesheet" href="../dist/gridstack-e...
3,815
0
petrpan-code/gridstack/gridstack.js
petrpan-code/gridstack/gridstack.js/demo/custom-engine.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Custom Engine</title> <link rel="stylesheet" href="demo.css"/> <!-- <script src="../dist/gridstack-all.js"></scrip...
3,816
0
petrpan-code/gridstack/gridstack.js
petrpan-code/gridstack/gridstack.js/demo/demo.css
/* required file for gridstack to work */ @import "../dist/gridstack.css"; /* Optional styles for demos */ .btn-primary { color: #fff; background-color: #007bff; } .btn { display: inline-block; padding: .375rem .75rem; line-height: 1.5; border-radius: .25rem; } a { text-decoration: none; } h1 { font...
3,817
0
petrpan-code/gridstack/gridstack.js
petrpan-code/gridstack/gridstack.js/demo/drag-and-drop-dataTransfer-angular.ts
/** * Simple Angular Example using GridStack API with event.dataTransfer */ import { Component, ElementRef, OnInit, ViewChild } from '@angular/core'; import { GridStack, GridStackWidget, GridStackNode } from 'gridstack'; import { DDElement } from "gridstack/dist/h5/dd-element"; @Component({ selector: 'grid...
3,818
0
petrpan-code/gridstack/gridstack.js
petrpan-code/gridstack/gridstack.js/demo/drag-and-drop-dataTransfer.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Event DataTransfer Demo</title> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4....
3,819
0
petrpan-code/gridstack/gridstack.js
petrpan-code/gridstack/gridstack.js/demo/esmodule.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>ES Module demo</title> <link rel="stylesheet" href="demo.css"/> </head> <body> <h1>ES Module loading demo</h1> ...
3,820
0
petrpan-code/gridstack/gridstack.js
petrpan-code/gridstack/gridstack.js/demo/events.js
function addEvents(grid, id) { let g = (id !== undefined ? 'grid' + id + ' ' : ''); grid.on('added removed change', function(event, items) { let str = ''; items.forEach(function(item) { str += ' (' + item.x + ',' + item.y + ' ' + item.w + 'x' + item.h + ')'; }); console.log(g + event.type + ' ' + items...
3,821
0
petrpan-code/gridstack/gridstack.js
petrpan-code/gridstack/gridstack.js/demo/float.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Float grid demo</title> <link rel="stylesheet" href="demo.css"/> <script src="../dist/gridstack-all.js"></script> ...
3,822
0
petrpan-code/gridstack/gridstack.js
petrpan-code/gridstack/gridstack.js/demo/index.html
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Demo</title> </head> <body> <h1>Demos</h1> <ul> <li><a href="anijs.html">AniJS</a></li> <li><a href="cell-height.html">Cell Height</a></li> <li><a href="column.html">Column</a></li> <!-- <li><a href="esmodule.html">ES Module test</a><...
3,823
0
petrpan-code/gridstack/gridstack.js
petrpan-code/gridstack/gridstack.js/demo/knockout.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Knockout.js demo</title> <link rel="stylesheet" href="demo.css"/> <script src="https://cdnjs.cloudflare.com/ajax/...
3,824
0
petrpan-code/gridstack/gridstack.js
petrpan-code/gridstack/gridstack.js/demo/locked.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Locked demo</title> <link rel="stylesheet" href="demo.css"/> <script src="../dist/gridstack-all.js"></script> </...
3,825
0
petrpan-code/gridstack/gridstack.js
petrpan-code/gridstack/gridstack.js/demo/mobile.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Simple mobile demo</title> <link rel="stylesheet" href="demo.css"/> <link rel="stylesheet" href="../dist/gridstack...
3,826
0
petrpan-code/gridstack/gridstack.js
petrpan-code/gridstack/gridstack.js/demo/nested.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Nested grids demo</title> <link rel="stylesheet" href="demo.css"/> <link rel="stylesheet" href="../dist/gridstack-e...
3,827
0
petrpan-code/gridstack/gridstack.js
petrpan-code/gridstack/gridstack.js/demo/nested_advanced.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Advance Nested grids demo</title> <link rel="stylesheet" href="demo.css"/> <link rel="stylesheet" href="../dist/gri...
3,828
0
petrpan-code/gridstack/gridstack.js
petrpan-code/gridstack/gridstack.js/demo/nested_constraint.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Constraint nested grids demo</title> <link rel="stylesheet" href="demo.css"/> <link rel="stylesheet" href="../dist/...
3,829
0
petrpan-code/gridstack/gridstack.js
petrpan-code/gridstack/gridstack.js/demo/old_nested-jq.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Nested JQuery grids demo (old v5.1.1) which never worked fully</title> <link rel="stylesheet" href="demo.css"/> <li...
3,830
0
petrpan-code/gridstack/gridstack.js
petrpan-code/gridstack/gridstack.js/demo/old_two-jq.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Two grids JQ demo</title> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap...
3,831
0
petrpan-code/gridstack/gridstack.js
petrpan-code/gridstack/gridstack.js/demo/react-hooks-controlled-multiple.html
<!DOCTYPE html> <html> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>Gridstack.js React integration example</title> <link rel="stylesheet" href="demo.css" /> <link rel="stylesheet" href="../dist/gridstack-extra.css"/> <script src="../dist/gr...
3,832
0
petrpan-code/gridstack/gridstack.js
petrpan-code/gridstack/gridstack.js/demo/react-hooks.html
<!DOCTYPE html> <html> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>Gridstack.js React integration example</title> <link rel="stylesheet" href="demo.css" /> <script src="../dist/gridstack-all.js"></script> <!-- Scripts to use react inside ...
3,833
0
petrpan-code/gridstack/gridstack.js
petrpan-code/gridstack/gridstack.js/demo/react.html
<!DOCTYPE html> <html> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>Gridstack.js React integration example</title> <link rel="stylesheet" href="demo.css" /> <script src="../dist/gridstack-all.js"></script> <!-- Scripts to use ...
3,834
0
petrpan-code/gridstack/gridstack.js
petrpan-code/gridstack/gridstack.js/demo/responsive.html
<!DOCTYPE html> <html lang="en"> <head> <title>Responsive column</title> <link rel="stylesheet" href="demo.css"/> <link rel="stylesheet" href="../dist/gridstack-extra.css"/> <script src="../dist/gridstack-all.js"></script> </head> <body> <div> <h1>Responsive: by column size</h1> <p>Using new v10 <cod...
3,835
0
petrpan-code/gridstack/gridstack.js
petrpan-code/gridstack/gridstack.js/demo/responsive_break.html
<!DOCTYPE html> <html lang="en"> <head> <title>Responsive breakpoint</title> <link rel="stylesheet" href="demo.css"/> <link rel="stylesheet" href="../dist/gridstack-extra.css"/> <script src="../dist/gridstack-all.js"></script> </head> <body> <div> <h1>Responsive: using breakpoint</h1> <p>Using new v1...
3,836
0
petrpan-code/gridstack/gridstack.js
petrpan-code/gridstack/gridstack.js/demo/right-to-left(rtl).html
<!DOCTYPE html> <html lang="en" dir="rtl"> <!-- set text reading direction --> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Right-To-Left (RTL) demo</title> <link rel="stylesheet" href="demo.css...
3,837
0
petrpan-code/gridstack/gridstack.js
petrpan-code/gridstack/gridstack.js/demo/serialization.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Serialization demo</title> <link rel="stylesheet" href="demo.css"/> <script src="../dist/gridstack-all.js"></scrip...
3,838
0
petrpan-code/gridstack/gridstack.js
petrpan-code/gridstack/gridstack.js/demo/sizeToContent.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>sizeToContent demo</title> <link rel="stylesheet" href="demo.css"/> <link rel="stylesheet" href="../dist/gridstack...
3,839
0
petrpan-code/gridstack/gridstack.js
petrpan-code/gridstack/gridstack.js/demo/static.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Static Grid</title> <link rel="stylesheet" href="demo.css"/> <script src="../dist/gridstack-all.js"></script> </h...
3,840
0
petrpan-code/gridstack/gridstack.js
petrpan-code/gridstack/gridstack.js/demo/title_drag.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Title area drag</title> <link rel="stylesheet" href="demo.css"/> <script src="../dist/gridstack-all.js"></script> ...
3,841
0
petrpan-code/gridstack/gridstack.js
petrpan-code/gridstack/gridstack.js/demo/transform.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Transform Parent demo</title> <link rel="stylesheet" href="demo.css"/> <script src="../dist/gridstack-all.js"></sc...
3,842
0
petrpan-code/gridstack/gridstack.js
petrpan-code/gridstack/gridstack.js/demo/two.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Two grids demo</title> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.mi...
3,843
0
petrpan-code/gridstack/gridstack.js
petrpan-code/gridstack/gridstack.js/demo/two_vertical.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Two vertical grids demo</title> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/css/boot...
3,844
0
petrpan-code/gridstack/gridstack.js
petrpan-code/gridstack/gridstack.js/demo/vue2js.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>Vue2 Gridstack</title> <link rel="stylesheet" href="demo.css"/> <script src="../dist/gridstack-all.js"></script> </head> <body> <main id="app"> ...
3,845
0
petrpan-code/gridstack/gridstack.js
petrpan-code/gridstack/gridstack.js/demo/vue3js.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>Vue3 Gridstack</title> <link rel="stylesheet" href="demo.css"/> <script src="../dist/gridstack-all.js"></script> </head> <body> <main id="app"> ...
3,846
0
petrpan-code/gridstack/gridstack.js
petrpan-code/gridstack/gridstack.js/demo/vue3js_dynamic-render_grid-item-content.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>Vue3 Gridstack: Gridstack DOM with Vue Rendering</title> <link rel="stylesheet" href="demo.css"/> <script src="../dist/gridstack-all.js"></script> </he...
3,847
0
petrpan-code/gridstack/gridstack.js
petrpan-code/gridstack/gridstack.js/demo/vue3js_dynamic-render_grid-item.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>Vue3 Gridstack: Gridstack DOM with Vue Rendering</title> <link rel="stylesheet" href="demo.css"/> <script src="../dist/gridstack-all.js"></script> </he...
3,848
0
petrpan-code/gridstack/gridstack.js
petrpan-code/gridstack/gridstack.js/demo/vue3js_v-for.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>Vue3 v-for Gridstack</title> <link rel="stylesheet" href="demo.css" /> <script src="../dist/gridstack-all.js"></script> </head> <body> <main id="app"> <h1>Ho...
3,849
0
petrpan-code/gridstack/gridstack.js
petrpan-code/gridstack/gridstack.js/demo/web-comp.html
<html> <head> <title>Web Component demo</title> <!-- Polyfills only needed for Firefox and Edge. --> <script src="https://unpkg.com/@webcomponents/webcomponentsjs@latest/webcomponents-loader.js"></script> <link rel="stylesheet" href="demo.css"/> <script src="../dist/gridstack-all.js"></script> </head> <body> ...
3,850
0
petrpan-code/gridstack/gridstack.js
petrpan-code/gridstack/gridstack.js/demo/web1.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>demo1</title> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"> ...
3,851
0
petrpan-code/gridstack/gridstack.js
petrpan-code/gridstack/gridstack.js/demo/web2.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Advanced grid demo</title> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/css/bootstr...
3,852
0
petrpan-code/gridstack/gridstack.js
petrpan-code/gridstack/gridstack.js/demo/website.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" /> <meta name="description" content="gridstack.js Build interactive dashboards in minutes." /> <meta name="keywords" content="gridstack, typescript, jquery,...
3,853
0
petrpan-code/gridstack/gridstack.js
petrpan-code/gridstack/gridstack.js/doc/CHANGES.md
Change log ========================== <!-- START doctoc generated TOC please keep comment here to allow auto update --> <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --> **Table of Contents** *generated with [DocToc](http://doctoc.herokuapp.com/)* - [10.0.0 (2023-11-20)](#1000-2023-11-20) - [9.5.1 (2...
3,854
0
petrpan-code/gridstack/gridstack.js
petrpan-code/gridstack/gridstack.js/doc/README.md
gridstack.js API ================ <!-- START doctoc generated TOC please keep comment here to allow auto update --> <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --> **Table of Contents** *generated with [DocToc](http://doctoc.herokuapp.com/)* - [Grid Options](#grid-options) - [Responsive](#respons...
3,855
0
petrpan-code/gridstack/gridstack.js
petrpan-code/gridstack/gridstack.js/es5/tsconfig.json
{ "compilerOptions": { /* "allowJs": true, "esModuleInterop": true, "allowSyntheticDefaultImports": true */ "declaration": true, "emitDecoratorMetadata": true, "experimentalDecorators": true, "inlineSources": true, "lib": [ "es6", "es2015", "dom" ], "module": "CommonJS", ...
3,856
0
petrpan-code/gridstack/gridstack.js
petrpan-code/gridstack/gridstack.js/es5/webpack.config.js
const path = require('path'); const webpackConfig = require('../webpack.config.js'); const config = {...webpackConfig, target: ['web', 'es5'], module: { rules: [ { test: /\.ts$/, use: { loader: 'ts-loader', options: { configFile: 'es5/tsconfig.json' ...
3,857
0
petrpan-code/gridstack/gridstack.js
petrpan-code/gridstack/gridstack.js/spec/gridstack-engine-spec.ts
import { GridStackEngine } from '../src/gridstack-engine'; import { GridStackNode } from '../src/types'; describe('gridstack engine', function() { 'use strict'; let engine: GridStackEngine; // old hacky JS code that's not happy in TS. just cast to `any` and skip warnings let e: any = GridStackEngine; let w: ...
3,858
0
petrpan-code/gridstack/gridstack.js
petrpan-code/gridstack/gridstack.js/spec/gridstack-spec.ts
import { GridItemHTMLElement, GridStack, GridStackNode, GridStackWidget } from '../src/gridstack'; import { Utils } from '../src/utils'; import '../dist/gridstack.css'; describe('gridstack', function() { 'use strict'; // grid has 4x2 and 4x4 top-left aligned - used on most test cases let gridHTML = '<div clas...
3,859
0
petrpan-code/gridstack/gridstack.js
petrpan-code/gridstack/gridstack.js/spec/utils-spec.ts
import { Utils } from '../src/utils'; describe('gridstack utils', function() { 'use strict'; describe('setup of utils', function() { it('should set gridstack Utils.', function() { let utils = Utils; expect(utils).not.toBeNull(); expect(typeof utils).toBe('function'); }); }); describ...
3,860
0
petrpan-code/gridstack/gridstack.js/spec
petrpan-code/gridstack/gridstack.js/spec/e2e/gridstack-html-spec.js
describe('gridstack.js with height', function() { beforeAll(function() { browser.ignoreSynchronization = true; }); beforeEach(function() { browser.get('http://localhost:8080/spec/e2e/html/gridstack-with-height.html'); }); it('shouldn\'t throw exception when dragging widget outside the grid', functio...
3,861
0
petrpan-code/gridstack/gridstack.js/spec/e2e
petrpan-code/gridstack/gridstack.js/spec/e2e/html/1017-items-no-x-y-for-autoPosition.html
<!-- grid items have no x,y position, just size. Used to come up with wrong size and overlap. https://github.com/gridstack/gridstack.js/issues/1017 Now, will have element 5 (position first with small x,y), 1,2,4, then 3 (too big to fit) --> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta ...
3,862
0
petrpan-code/gridstack/gridstack.js/spec/e2e
petrpan-code/gridstack/gridstack.js/spec/e2e/html/1102-button-between-grids.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>lose functionality</title> <link rel="stylesheet" href="../../../demo/demo.css"/> <script src="../../../dist/gridst...
3,863
0
petrpan-code/gridstack/gridstack.js/spec/e2e
petrpan-code/gridstack/gridstack.js/spec/e2e/html/1142_change_event_missing.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>1142 demo</title> <link rel="stylesheet" href="../../../demo/demo.css"/> <script src="https://cdn.jsdelivr.net/npm/...
3,864
0
petrpan-code/gridstack/gridstack.js/spec/e2e
petrpan-code/gridstack/gridstack.js/spec/e2e/html/1143_nested_acceptWidget_types.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>#1143 test</title> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.cs...
3,865
0
petrpan-code/gridstack/gridstack.js/spec/e2e
petrpan-code/gridstack/gridstack.js/spec/e2e/html/1155-max-row.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>maxRow Test</title> <link rel="stylesheet" href="../../../demo/demo.css"/> <script src="../../../dist/gridstack-all...
3,866
0
petrpan-code/gridstack/gridstack.js/spec/e2e
petrpan-code/gridstack/gridstack.js/spec/e2e/html/1286-load.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>load() Test</title> <link rel="stylesheet" href="../../../demo/demo.css"/> <script src="../../../demo/events.js"></...
3,867
0
petrpan-code/gridstack/gridstack.js/spec/e2e
petrpan-code/gridstack/gridstack.js/spec/e2e/html/1330-1559-left-resize-maxW-and-others.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>resize maxW</title> <link rel="stylesheet" href="../../../demo/demo.css"/> <script src="../../../dist/gridstack-all.js"></script> </head> <body> <div class="container-fluid"> <p>resize to left with maxW set</p> <div class="grid-stac...
3,868
0
petrpan-code/gridstack/gridstack.js/spec/e2e
petrpan-code/gridstack/gridstack.js/spec/e2e/html/1419-maxrow1-cant-insert.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>1 row max</title> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css...
3,869
0
petrpan-code/gridstack/gridstack.js/spec/e2e
petrpan-code/gridstack/gridstack.js/spec/e2e/html/141_1534_swap.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>swap demo</title> <link rel="stylesheet" href="../../../demo/demo.css"/> <script src="../../../dist/gridstack-all....
3,870
0
petrpan-code/gridstack/gridstack.js/spec/e2e
petrpan-code/gridstack/gridstack.js/spec/e2e/html/141_swap_old.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>old swap</title> <link rel="stylesheet" href="../../../demo/demo.css"/> <link rel="stylesheet" href="https://cdn.j...
3,871
0
petrpan-code/gridstack/gridstack.js/spec/e2e
petrpan-code/gridstack/gridstack.js/spec/e2e/html/1471-load-column1.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>load() 1 column</title> <link rel="stylesheet" href="../../../demo/demo.css"/> <script src="../../../dist/gridstac...
3,872
0
petrpan-code/gridstack/gridstack.js/spec/e2e
petrpan-code/gridstack/gridstack.js/spec/e2e/html/1511-drag-any-content.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Float grid demo</title> <link rel="stylesheet" href="../../../demo/demo.css"/> <script src="../../../dist/gridstack...
3,873
0
petrpan-code/gridstack/gridstack.js/spec/e2e
petrpan-code/gridstack/gridstack.js/spec/e2e/html/1535-out-of-order.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Out of order</title> <link rel="stylesheet" href="../../../demo/demo.css"/> <script src="../../../dist/gridstack-a...
3,874
0
petrpan-code/gridstack/gridstack.js/spec/e2e
petrpan-code/gridstack/gridstack.js/spec/e2e/html/1545_disable_move_after.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>disable move after</title> <link rel="stylesheet" href="../../../demo/demo.css"/> <script src="../../../dist/grids...
3,875
0
petrpan-code/gridstack/gridstack.js/spec/e2e
petrpan-code/gridstack/gridstack.js/spec/e2e/html/1558-vertical-grids-scroll-too-much.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>disable move after</title> <link rel="stylesheet" href="../../../demo/demo.css"/> <script src="../../../dist/grids...
3,876
0
petrpan-code/gridstack/gridstack.js/spec/e2e
petrpan-code/gridstack/gridstack.js/spec/e2e/html/1570_drag_bottom_max_row.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>drop onto full</title> <link rel="stylesheet" href="../../../dist/gridstack.min.css"/> <script src="../../../dist/...
3,877
0
petrpan-code/gridstack/gridstack.js/spec/e2e
petrpan-code/gridstack/gridstack.js/spec/e2e/html/1571_drop_onto_full.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>drop onto full</title> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.mi...
3,878
0
petrpan-code/gridstack/gridstack.js/spec/e2e
petrpan-code/gridstack/gridstack.js/spec/e2e/html/1572_one_column.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>1 column demo</title> <link rel="stylesheet" href="../../../demo/demo.css"/> <script src="../../../dist/gridstack-...
3,879
0
petrpan-code/gridstack/gridstack.js/spec/e2e
petrpan-code/gridstack/gridstack.js/spec/e2e/html/1581_drag_by_header_h5.html
<!DOCTYPE html> <html lang="en"> <head> <title>drag by header</title> <link rel="stylesheet" href="../../../demo/demo.css"/> <script src="../../../dist/gridstack-all.js"></script> <script src="https://raw.githack.com/SortableJS/Sortable/master/Sortable.js"></script> </head> <body> <div class="container-fluid"...
3,880
0
petrpan-code/gridstack/gridstack.js/spec/e2e
petrpan-code/gridstack/gridstack.js/spec/e2e/html/1658_enableMove.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>enableMove demo</title> <link rel="stylesheet" href="../../../demo/demo.css"/> <script src="../../../dist/gridstac...
3,881
0
petrpan-code/gridstack/gridstack.js/spec/e2e
petrpan-code/gridstack/gridstack.js/spec/e2e/html/1693_load_after.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>load after init</title> <link rel="stylesheet" href="../../../demo/demo.css"/> <script src="../../../dist/gridstac...
3,882
0
petrpan-code/gridstack/gridstack.js/spec/e2e
petrpan-code/gridstack/gridstack.js/spec/e2e/html/1704_scroll_bar.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="../../../demo/demo.css"/> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/t...
3,883
0
petrpan-code/gridstack/gridstack.js/spec/e2e
petrpan-code/gridstack/gridstack.js/spec/e2e/html/1727_resize_scroll_top.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="../../../demo/demo.css"/> <script src="../../../dist/gridstack-all.js"></script> <style> ...
3,884
0
petrpan-code/gridstack/gridstack.js/spec/e2e
petrpan-code/gridstack/gridstack.js/spec/e2e/html/1785_column_many_switch.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Changing Column a lot</title> <link rel="stylesheet" href="../../../demo/demo.css"/> <link rel="stylesheet" href="...
3,885
0
petrpan-code/gridstack/gridstack.js/spec/e2e
petrpan-code/gridstack/gridstack.js/spec/e2e/html/1858_full_grid_overlap.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>1858</title> <link rel="stylesheet" href="../../../demo/demo.css"/> <script src="../../../dist/gridstack-all.js"><...
3,886
0
petrpan-code/gridstack/gridstack.js/spec/e2e
petrpan-code/gridstack/gridstack.js/spec/e2e/html/1924-many.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Many items</title> <link rel="stylesheet" href="../../../demo/demo.css"/> <script src="../../../dist/gridstack-all...
3,887
0
petrpan-code/gridstack/gridstack.js/spec/e2e
petrpan-code/gridstack/gridstack.js/spec/e2e/html/1985_read_1_column_wrong_12.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>read 1 column</title> <link rel="stylesheet" href="../../../demo/demo.css"/> <script src="../../../dist/gridstack-...
3,888
0
petrpan-code/gridstack/gridstack.js/spec/e2e
petrpan-code/gridstack/gridstack.js/spec/e2e/html/2206_load_collision.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Float grid demo</title> <link rel="stylesheet" href="../../../demo/demo.css"/> <script src="../../../dist/gridstac...
3,889
0
petrpan-code/gridstack/gridstack.js/spec/e2e
petrpan-code/gridstack/gridstack.js/spec/e2e/html/2232_dom_auto_placement_mix.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>DOM reading</title> <link rel="stylesheet" href="../../../demo.css"/> <script src="../../../dist/gridstack-all.js"...
3,890
0
petrpan-code/gridstack/gridstack.js/spec/e2e
petrpan-code/gridstack/gridstack.js/spec/e2e/html/2357_rem.html
<!DOCTYPE html> <head> <title>REM demo</title> <link rel="stylesheet" href="../../../demo/demo.css"/> <script src="../../../dist/gridstack-all.js"></script> </head> <body> <div class="grid-stack"></div> <script type="text/javascript"> let items = [ {x: 0, y: 0}, {x: 1, y: 0}, ]; let co...
3,891
0
petrpan-code/gridstack/gridstack.js/spec/e2e
petrpan-code/gridstack/gridstack.js/spec/e2e/html/2384_update_content.html
<!DOCTYPE html> <head> <title>Nested grid update content</title> <link rel="stylesheet" href="../../../demo/demo.css"/> <link rel="stylesheet" href="../../../dist/gridstack-extra.min.css"/> <style type="text/css"> .grid-stack { background: lightgoldenrodyellow; } .grid-stack-item-content { ...
3,892
0
petrpan-code/gridstack/gridstack.js/spec/e2e
petrpan-code/gridstack/gridstack.js/spec/e2e/html/2394_save_sub_item_moved.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>#2394 Save sub item moved</title> <link rel="stylesheet" href="../../../demo/demo.css" /> <link rel="stylesheet" h...
3,893
0
petrpan-code/gridstack/gridstack.js/spec/e2e
petrpan-code/gridstack/gridstack.js/spec/e2e/html/2406_inf_loop_autoPosition_column1.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Float grid demo</title> <link rel="stylesheet" href="../../../demo/demo.css" /> <link rel="stylesheet" href="../....
3,894
0
petrpan-code/gridstack/gridstack.js/spec/e2e
petrpan-code/gridstack/gridstack.js/spec/e2e/html/2469_min-height.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Flex display test #2469</title> <link rel="stylesheet" href="../../../demo/demo.css" /> <script src="../../../dist...
3,895
0
petrpan-code/gridstack/gridstack.js/spec/e2e
petrpan-code/gridstack/gridstack.js/spec/e2e/html/2492_load_twice.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>load() twice bug</title> <link rel="stylesheet" href="../../../demo/demo.css" /> <script src="../../../dist/gridst...
3,896
0
petrpan-code/gridstack/gridstack.js/spec/e2e
petrpan-code/gridstack/gridstack.js/spec/e2e/html/810-many-columns.css
/* SASS code using https://www.sassmeister.com/ $columns: 60; @function fixed($float) { @return calc(round($float * 1000) / 1000); // total 4-5 digits being % } .gs-#{$columns} > .grid-stack-item { width: fixed(calc(100% / $columns)); @for $i from 1 through $columns - 1 { &[gs-x='#{$i}'] { left: fixed(calc(...
3,897
0
petrpan-code/gridstack/gridstack.js/spec/e2e
petrpan-code/gridstack/gridstack.js/spec/e2e/html/810-many-columns.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Many columns demo</title> <link rel="stylesheet" href="../../../demo/demo.css"/> <link rel="stylesheet" href="810-...
3,898
0
petrpan-code/gridstack/gridstack.js
petrpan-code/gridstack/gridstack.js/src/dd-base-impl.ts
/** * dd-base-impl.ts 10.0.0-dev * Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license */ export type EventCallback = (event: Event) => boolean|void; export abstract class DDBaseImplement { /** returns the enable state, but you have to call enable()/disable() to change (as other things need to happ...
3,899